Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

Name the channel command in the remaining hints (PRD-9400) (#6405)

Andrew Mikofalvyadeb8b50bf82
diff --git a/.changeset/beta-names-its-command-everywhere.md b/.changeset/beta-names-its-command-everywhere.md
new file mode 100644
index 000000000..59758f4e0
--- /dev/null
+++ b/.changeset/beta-names-its-command-everywhere.md
@@ -0,0 +1,5 @@
+---
+"@inkeep/open-knowledge": patch
+---
+
+OpenKnowledge Beta now names `ok-beta` and `~/.ok-beta` in its remaining setup, diagnostics, sign-in, embeddings and connection messages, and the bundled skills note the Beta command alongside Stable's.
diff --git a/packages/app/src/components/ConnectingBanner.dom.test.tsx b/packages/app/src/components/ConnectingBanner.dom.test.tsx
new file mode 100644
index 000000000..01f9a2499
--- /dev/null
+++ b/packages/app/src/components/ConnectingBanner.dom.test.tsx
@@ -0,0 +1,54 @@
+import * as actualLinguiMacro from '@lingui/react/macro';
+import { cleanup, render, screen } from '@testing-library/react';
+import type { ReactNode } from 'react';
+import { afterEach, describe, expect, test, vi } from 'vitest';
+
+let collabLastError: unknown = null;
+
+vi.doMock('@lingui/react/macro', () => ({
+ ...actualLinguiMacro,
+ Trans: ({ children }: { children: ReactNode }) => <>{children}</>,
+}));
+
+vi.doMock('@/editor/DocumentContext', () => ({
+ useDocumentContext: () => ({
+ collabUrl: null,
+ collabTerminal: true,
+ collabLastError,
+ retryCollab: () => {},
+ }),
+ useOpenBlobRunner: () => null,
+}));
+
+const { ConnectingBanner } = await import('./ConnectingBanner');
+
+describe('ConnectingBanner terminal copy names the running channel CLI', () => {
+ afterEach(() => {
+ cleanup();
+ (window as unknown as { okDesktop?: unknown }).okDesktop = undefined;
+ });
+
+ test.each([
+ [undefined, 'ok'],
+ ['ok-beta', 'ok-beta'],
+ ])('no collab server names %s start', (cliCommandName, command) => {
+ (window as unknown as { okDesktop?: unknown }).okDesktop = { cliCommandName };
+ collabLastError = { kind: 'null-collab' };
+ render(<ConnectingBanner />);
+ expect(screen.getByRole('alert').textContent).toContain(
+ `No collab server for this worktree — run ${command} start here, or reopen the project.`,
+ );
+ });
+
+ test.each([
+ [undefined, 'ok'],
+ ['ok-beta', 'ok-beta'],
+ ])('an unreachable server names %s status and start', (cliCommandName, command) => {
+ (window as unknown as { okDesktop?: unknown }).okDesktop = { cliCommandName };
+ collabLastError = { kind: 'error', code: 'network' };
+ render(<ConnectingBanner />);
+ expect(screen.getByRole('alert').textContent).toContain(
+ `Couldn't reach collab server — network error (is \`${command} start\` running?). Try ${command} status or check .ok/local/last-spawn-error.log.`,
+ );
+ });
+});
diff --git a/packages/app/src/components/ConnectingBanner.test.ts b/packages/app/src/components/ConnectingBanner.test.ts
index 787d34b97..b67756042 100644
--- a/packages/app/src/components/ConnectingBanner.test.ts
+++ b/packages/app/src/components/ConnectingBanner.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, test } from 'vitest';
+import { afterEach, describe, expect, test, vi } from 'vitest';
import { computeBannerMode, describeError, isNoCollabServerError } from './ConnectingBanner';
describe('computeBannerMode', () => {
@@ -83,3 +83,14 @@ describe('isNoCollabServerError (D4 — worktree-no-collab-server message branch
expect(isNoCollabServerError({ kind: 'error', code: 503 })).toBe(false);
});
});
+
+describe('describeError names the running channel CLI', () => {
+ afterEach(() => vi.unstubAllGlobals());
+
+ test('Beta asks whether ok-beta start is running', () => {
+ vi.stubGlobal('window', { okDesktop: { cliCommandName: 'ok-beta' } });
+ expect(describeError({ kind: 'error', code: 'network' })).toBe(
+ 'network error (is `ok-beta start` running?)',
+ );
+ });
+});
diff --git a/packages/app/src/components/ConnectingBanner.tsx b/packages/app/src/components/ConnectingBanner.tsx
index 032ad6472..6411c500d 100644
--- a/packages/app/src/components/ConnectingBanner.tsx
+++ b/packages/app/src/components/ConnectingBanner.tsx
@@ -6,6 +6,7 @@ import { Trans } from '@lingui/react/macro';
import { useEffect, useState } from 'react';
import { OkBlob } from '@/components/OkBlob';
import { useDocumentContext, useOpenBlobRunner } from '@/editor/DocumentContext';
+import { okCliCommandName } from '@/lib/channel-cli-copy';
const GRACE_PERIOD_MS = 500;
@@ -33,7 +34,10 @@ export function isNoCollabServerError(err: CollabError): boolean {
export function describeError(err: CollabError): string {
if (err === null) return t`no response`;
if (err.kind === 'null-collab') return t`the server responded but server.lock has no port yet`;
- if (err.code === 'network') return t`network error (is \`ok start\` running?)`;
+ if (err.code === 'network') {
+ const cliCommand = okCliCommandName();
+ return t`network error (is \`${cliCommand} start\` running?)`;
+ }
if (err.code === 'invalid-body') return t`/api/config returned a malformed body`;
const code = err.code;
return t`/api/config returned HTTP ${code}`;
@@ -60,6 +64,7 @@ export function ConnectingBanner() {
if (mode === 'terminal') {
const isNoCollabServer = isNoCollabServerError(collabLastError);
const errorDetail = describeError(collabLastError);
+ const cliCommand = okCliCommandName();
return (
<div
role="alert"
@@ -70,13 +75,13 @@ export function ConnectingBanner() {
{isNoCollabServer ? (
<Trans>
No collab server for this worktree — run{' '}
- <code className="bg-red-100/60 px-1 rounded">ok start</code> here, or reopen the
- project.
+ <code className="bg-red-100/60 px-1 rounded">{cliCommand} start</code> here, or reopen
+ the project.
</Trans>
) : (
<Trans>
Couldn't reach collab server — {errorDetail}. Try{' '}
- <code className="bg-red-100/60 px-1 rounded">ok status</code> or check{' '}
+ <code className="bg-red-100/60 px-1 rounded">{cliCommand} status</code> or check{' '}
<code className="bg-red-100/60 px-1 rounded">.ok/local/last-spawn-error.log</code>.
</Trans>
)}
diff --git a/packages/app/src/components/ReportBugDialog.dom.test.tsx b/packages/app/src/components/ReportBugDialog.dom.test.tsx
index daea8c5af..534d46e75 100644
--- a/packages/app/src/components/ReportBugDialog.dom.test.tsx
+++ b/packages/app/src/components/ReportBugDialog.dom.test.tsx
@@ -97,6 +97,7 @@ function installBridge(
captureScreenshot?: () => Promise<OkBugReportScreenshot | null>;
crashDumpAvailability?: () => Promise<{ available: boolean }>;
platform?: string;
+ cliCommandName?: string;
} = {},
): BridgeLog {
const log: BridgeLog = {
@@ -110,6 +111,7 @@ function installBridge(
};
const bridge = {
platform: handlers.platform ?? 'darwin',
+ cliCommandName: handlers.cliCommandName,
bugReport: {
create: (request: CreateRequest) => {
log.createCalls.push(request);
@@ -618,10 +620,27 @@ describe('ReportBugDialog', () => {
const alert = await screen.findByRole('alert');
expect(alert.textContent).toContain("Couldn't create the report");
expect(alert.textContent).toContain('zip destination not writable');
- expect(alert.textContent).toContain('ok bug-report');
+ expect(alert.textContent).toContain(
+ 'You can also create one from a terminal with ok bug-report.',
+ );
expect(screen.getByRole('heading', { name: 'Report a bug' })).not.toBeNull();
});
+ test('the CLI fallback names ok-beta bug-report on Beta', async () => {
+ installBridge({
+ create: () => Promise.resolve({ ok: false, error: 'zip destination not writable' }),
+ cliCommandName: 'ok-beta',
+ });
+ await renderDialog();
+
+ await userEvent.click(screen.getByRole('button', { name: 'Create report' }));
+
+ const alert = await screen.findByRole('alert');
+ expect(alert.textContent).toContain(
+ 'You can also create one from a terminal with ok-beta bug-report.',
+ );
+ });
+
const BOOT_INVITE: OkBugReportCrashDetectedEvent = {
eventId: 'boot:1751871600000',
kind: 'boot',
diff --git a/packages/app/src/components/ReportBugDialogBody.tsx b/packages/app/src/components/ReportBugDialogBody.tsx
index 756cc0b0a..fd4d8f50f 100644
--- a/packages/app/src/components/ReportBugDialogBody.tsx
+++ b/packages/app/src/components/ReportBugDialogBody.tsx
@@ -41,6 +41,7 @@ import { Spinner } from '@/components/ui/spinner';
import { useContactEmail } from '@/hooks/use-contact-email';
import { bugReportSendManager } from '@/lib/bug-report-send-manager';
import { formatBundleSize, zipBasename } from '@/lib/bug-report-support';
+import { okCliCommandName } from '@/lib/channel-cli-copy';
import { commitContactEmail } from '@/lib/contact-email-store';
import { isImageAttachmentType } from '@/lib/image-attachments';
import { revealInFileManagerLabel } from '@/lib/platform-labels';
@@ -171,6 +172,7 @@ function ReportBugDialog({
agentChat,
}: ReportBugDialogProps) {
const { t } = useLingui();
+ const cliCommand = okCliCommandName();
const desktopPlatform = typeof window !== 'undefined' ? window.okDesktop?.platform : undefined;
const isMacOS = desktopPlatform === 'darwin';
const [phase, setPhase] = useState<Phase>(COMPOSE_IDLE);
@@ -359,7 +361,7 @@ function ReportBugDialog({
<p className="mt-0.5 text-xs text-muted-foreground">
<Trans>
You can also create one from a terminal with{' '}
- <code className="font-mono">ok bug-report</code>.
+ <code className="font-mono">{cliCommand} bug-report</code>.
</Trans>
</p>
</div>
diff --git a/packages/app/src/components/settings/AccountSection.dom.test.tsx b/packages/app/src/components/settings/AccountSection.dom.test.tsx
index ba1f81f5a..8888a681e 100644
--- a/packages/app/src/components/settings/AccountSection.dom.test.tsx
+++ b/packages/app/src/components/settings/AccountSection.dom.test.tsx
@@ -577,6 +577,26 @@ describe('AccountSection host-token form', () => {
expect((submit as HTMLButtonElement).disabled).toBe(false);
});
+ test('the confirmation names ok-beta auth signout on Beta', async () => {
+ const user = userEvent.setup();
+ (window as unknown as { okDesktop?: unknown }).okDesktop = { cliCommandName: 'ok-beta' };
+ try {
+ renderSection(
+ makeQueryTransport({ status: async () => CONNECTED }),
+ makeAuthTransport(async () => ({ ok: true, login: 'oauth2' })),
+ );
+ await user.type(await screen.findByLabelText('Host'), 'gitea.internal');
+ await user.type(screen.getByLabelText('Username'), 'oauth2');
+ await user.type(screen.getByLabelText('Access token'), 'glpat_secret');
+ await user.click(screen.getByTestId('settings-account-host-token-submit'));
+ expect((await screen.findByTestId('settings-account-host-token-success')).textContent).toBe(
+ 'Token stored for oauth2 on gitea.internal. To remove it, run ok-beta auth signout --host gitea.internal.',
+ );
+ } finally {
+ (window as unknown as { okDesktop?: unknown }).okDesktop = undefined;
+ }
+ });
+
test('a successful submit sends trimmed values, confirms, and clears only the token', async () => {
const user = userEvent.setup();
const calls: Array<[string, string, string]> = [];
diff --git a/packages/app/src/components/settings/AccountSection.tsx b/packages/app/src/components/settings/AccountSection.tsx
index a48822565..cabe6d90b 100644
--- a/packages/app/src/components/settings/AccountSection.tsx
+++ b/packages/app/src/components/settings/AccountSection.tsx
@@ -10,6 +10,7 @@ import { Label } from '@/components/ui/label';
import { Skeleton } from '@/components/ui/skeleton';
import { type GitSyncStatus, useGitSyncStatus } from '@/hooks/use-git-sync-status';
import { recordAuthStatus } from '@/lib/auth-state-cache';
+import { okCliCommandName } from '@/lib/channel-cli-copy';
import {
type AuthQueryStatus,
type AuthQueryTransport,
@@ -203,6 +204,7 @@ export function hostFromRemoteLabel(label: string): string {
}
function HostTokenSuccess({ login, host }: { login: string; host: string }) {
+ const cliCommand = okCliCommandName();
return (
<p
role="status"
@@ -211,7 +213,10 @@ function HostTokenSuccess({ login, host }: { login: string; host: string }) {
>
<Trans>
Token stored for {login} on {host}. To remove it, run{' '}
- <code translate="no">ok auth signout --host {host}</code>.
+ <code translate="no">
+ {cliCommand} auth signout --host {host}
+ </code>
+ .
</Trans>
</p>
);
diff --git a/packages/app/src/components/settings/NetworkAccessSection.dom.test.tsx b/packages/app/src/components/settings/NetworkAccessSection.dom.test.tsx
index 7883a4318..d2b5a9c36 100644
--- a/packages/app/src/components/settings/NetworkAccessSection.dom.test.tsx
+++ b/packages/app/src/components/settings/NetworkAccessSection.dom.test.tsx
@@ -386,6 +386,30 @@ describe('NetworkAccessSection', () => {
expect(applyButton().disabled).toBe(false);
});
+ test.each([
+ [undefined, 'ok'],
+ ['ok-beta', 'ok-beta'],
+ ])(
+ 'the restart IPC failure toast names the running channel CLI (%s)',
+ async (cliCommandName, command) => {
+ (globalThis as unknown as { window: { okDesktop?: unknown } }).window.okDesktop = {
+ cliCommandName,
+ };
+ restartImpl = () => Promise.reject(new Error('unexpected main-side error'));
+ projectLocalConfig = { server: { allowExternal: true } };
+ projectConfig = { server: { externalUrl: 'https://box.example.com', port: 24550 } };
+ render(<NetworkAccessSection />);
+ await userEvent.clear(screen.getByTestId('settings-network-port-input'));
+ await userEvent.type(screen.getByTestId('settings-network-port-input'), '24551');
+ await userEvent.click(applyButton());
+ await waitFor(() =>
+ expect(toastErrors).toContain(
+ `Couldn't restart the server. Run ${command} start in this folder to retry.`,
+ ),
+ );
+ },
+ );
+
test('a valid URL with a non-http(s) scheme is rejected without writing', async () => {
render(<NetworkAccessSection />);
await userEvent.click(exposeToggle());
diff --git a/packages/app/src/components/settings/NetworkAccessSection.tsx b/packages/app/src/components/settings/NetworkAccessSection.tsx
index 0db196f91..0a38fb26e 100644
--- a/packages/app/src/components/settings/NetworkAccessSection.tsx
+++ b/packages/app/src/components/settings/NetworkAccessSection.tsx
@@ -18,6 +18,7 @@ import { Input } from '@/components/ui/input';
import { Label } from '@/components/ui/label';
import { RadioGroup, RadioGroupItem } from '@/components/ui/radio-group';
import { Switch } from '@/components/ui/switch';
+import { okCliCommandName } from '@/lib/channel-cli-copy';
import { useConfigContext } from '@/lib/config-provider';
import { restartCollabServer } from '@/lib/restart-collab-server';
import { SettingsSectionHeader } from './SettingsSectionHeader';
@@ -228,7 +229,10 @@ export function NetworkAccessSection() {
'[remote-access] restart IPC failed (config committed, server not restarted):',
err,
);
- toast.error(t`Couldn't restart the server. Run ok start in this folder to retry.`);
+ const cliCommand = okCliCommandName();
+ toast.error(
+ t`Couldn't restart the server. Run ${cliCommand} start in this folder to retry.`,
+ );
}
}
}
diff --git a/packages/app/src/components/settings/SharingSection.dom.test.tsx b/packages/app/src/components/settings/SharingSection.dom.test.tsx
index 28d41df67..5ba6fb304 100644
--- a/packages/app/src/components/settings/SharingSection.dom.test.tsx
+++ b/packages/app/src/components/settings/SharingSection.dom.test.tsx
@@ -90,3 +90,21 @@ describe('SharingSection', () => {
expect(setModeCalls).toEqual([]);
});
});
+
+describe('SharingSection without the sharing bridge', () => {
+ afterEach(() => {
+ cleanup();
+ (window as unknown as { okDesktop?: unknown }).okDesktop = undefined;
+ });
+
+ test('Stable and plain browsers name ok config-sharing', () => {
+ render(<SharingSection />);
+ expect(screen.getByText('ok config-sharing status', { exact: false })).toBeTruthy();
+ });
+
+ test('Beta names ok-beta config-sharing', () => {
+ (window as unknown as { okDesktop?: unknown }).okDesktop = { cliCommandName: 'ok-beta' };
+ render(<SharingSection />);
+ expect(screen.getByText('ok-beta config-sharing status', { exact: false })).toBeTruthy();
+ });
+});
diff --git a/packages/app/src/components/settings/SharingSection.tsx b/packages/app/src/components/settings/SharingSection.tsx
index bd4d87daa..cb522a2b2 100644
--- a/packages/app/src/components/settings/SharingSection.tsx
+++ b/packages/app/src/components/settings/SharingSection.tsx
@@ -7,6 +7,7 @@ import { ConfigSharingInfoTooltip } from '@/components/ConfigSharingInfoTooltip'
import { Button } from '@/components/ui/button';
import { RadioGroup, RadioGroupItem } from '@/components/ui/radio-group';
import { Skeleton } from '@/components/ui/skeleton';
+import { okCliCommandName } from '@/lib/channel-cli-copy';
import type { OkSharingStatusResult } from '@/lib/desktop-bridge-types';
import { SettingsSectionHeader } from './SettingsSectionHeader';
@@ -19,6 +20,7 @@ export function SharingSection() {
}
function SharingSectionUnsupported() {
+ const cliCommand = okCliCommandName();
return (
<section aria-labelledby={TITLE_ID} className="space-y-3" data-field="section:sharing">
<SettingsSectionHeader
@@ -29,7 +31,8 @@ function SharingSectionUnsupported() {
>
<Trans>
Available in the OpenKnowledge desktop app. From a terminal, use
- <code> ok config-sharing status</code> / <code>share</code> / <code>unshare</code>.
+ <code> {cliCommand} config-sharing status</code> / <code>share</code> /{' '}
+ <code>unshare</code>.
</Trans>
</SettingsSectionHeader>
</section>
diff --git a/packages/app/src/components/settings/TerminalSection.dom.test.tsx b/packages/app/src/components/settings/TerminalSection.dom.test.tsx
index b77607f04..25192eba1 100644
--- a/packages/app/src/components/settings/TerminalSection.dom.test.tsx
+++ b/packages/app/src/components/settings/TerminalSection.dom.test.tsx
@@ -157,8 +157,9 @@ describe('TerminalSection (auto-approve OpenKnowledge tools toggle)', () => {
type CodexReadiness = { onPath: string; okServerConfigured?: boolean };
-function stubDesktopBridge(readiness: CodexReadiness | Error): void {
+function stubDesktopBridge(readiness: CodexReadiness | Error, cliCommandName?: string): void {
(globalThis as unknown as { window: { okDesktop?: unknown } }).window.okDesktop = {
+ cliCommandName,
terminal: {
cliPreflight: async () =>
readiness instanceof Error ? Promise.reject(readiness) : readiness,
@@ -232,3 +233,41 @@ describe("TerminalSection (codex-can't-honor note)", () => {
expect(screen.getByTestId('settings-scope-badge-user')).not.toBeNull();
});
});
+
+describe('TerminalSection names the running channel CLI', () => {
+ beforeEach(() => {
+ consentState = { enabled: true, synced: true };
+ writerImpl = () => ({ ok: true });
+ userConfig = { agents: { autoApproveOkTools: true } };
+ userSynced = true;
+ userBinding = { patch: () => ({ ok: true }) };
+ });
+ afterEach(() => {
+ cleanup();
+ (globalThis as unknown as { window: { okDesktop?: unknown } }).window.okDesktop = undefined;
+ });
+
+ test('Stable keeps ok open and ok init', async () => {
+ stubDesktopBridge({ onPath: 'present', okServerConfigured: false });
+ render(<TerminalSection />);
+ await waitFor(() => expect(codexNote()).not.toBeNull());
+ expect(screen.getByTestId('settings-terminal-autoapprove-body').textContent).toContain(
+ '(Claude also auto-runs "ok open")',
+ );
+ expect(codexNote()?.textContent).toBe(
+ 'Codex will still ask until you run "ok init" in a terminal for this project.',
+ );
+ });
+
+ test('Beta names ok-beta open and ok-beta init', async () => {
+ stubDesktopBridge({ onPath: 'present', okServerConfigured: false }, 'ok-beta');
+ render(<TerminalSection />);
+ await waitFor(() => expect(codexNote()).not.toBeNull());
+ expect(screen.getByTestId('settings-terminal-autoapprove-body').textContent).toContain(
+ '(Claude also auto-runs "ok-beta open")',
+ );
+ expect(codexNote()?.textContent).toBe(
+ 'Codex will still ask until you run "ok-beta init" in a terminal for this project.',
+ );
+ });
+});
diff --git a/packages/app/src/components/settings/TerminalSection.tsx b/packages/app/src/components/settings/TerminalSection.tsx
index 0b92ad1c5..2a3fa858a 100644
--- a/packages/app/src/components/settings/TerminalSection.tsx
+++ b/packages/app/src/components/settings/TerminalSection.tsx
@@ -4,12 +4,14 @@ import { useEffect, useState } from 'react';
import { toast } from 'sonner';
import { Switch } from '@/components/ui/switch';
import { useTerminalConsentState, useTerminalEnabledWriter } from '@/hooks/use-terminal-enabled';
+import { okCliCommandName } from '@/lib/channel-cli-copy';
import { useConfigContext } from '@/lib/config-provider';
import { ScopeBadge } from './ScopeBadge';
import { SettingsSectionHeader } from './SettingsSectionHeader';
export function TerminalSection() {
const { t } = useLingui();
+ const cliCommand = okCliCommandName();
const { enabled, synced } = useTerminalConsentState();
const writer = useTerminalEnabledWriter();
const isOn = enabled !== false;
@@ -112,14 +114,14 @@ export function TerminalSection() {
className="text-1sm text-muted-foreground"
data-testid="settings-terminal-autoapprove-body"
>
- {t`Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs "ok open"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent.`}
+ {t`Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs "${cliCommand} open"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent.`}
</p>
{autoApproveOn && codexNeedsInit ? (
<p
className="text-1sm text-muted-foreground"
data-testid="settings-terminal-autoapprove-codex-note"
>
- {t`Codex will still ask until you run "ok init" in a terminal for this project.`}
+ {t`Codex will still ask until you run "${cliCommand} init" in a terminal for this project.`}
</p>
) : null}
</div>
diff --git a/packages/app/src/locales/ar/messages.json b/packages/app/src/locales/ar/messages.json
index c709e85e4..8f22bb467 100644
--- a/packages/app/src/locales/ar/messages.json
+++ b/packages/app/src/locales/ar/messages.json
@@ -324,7 +324,6 @@
"2GT3Hf": ["عام"],
"2H5Zhu": ["لا يغادر أي شيء جهازك حتى تراجع التقرير وترسله."],
"2IYGkU": ["يحتوي هذا المستند على تغييرات غير مدفوعة. سيرى المستلمون آخر نسخة مدفوعة."],
- "2L8aeZ": ["خطأ في الشبكة (هل `ok start` يعمل؟)"],
"2M0JF6": ["التحديث التلقائي"],
"2O5Z0r": ["إخفاء ", ["appName"]],
"2QM24L": ["كل الوسوم"],
@@ -556,15 +555,6 @@
"4mp6Tv": ["عرض OpenKnowledge المهارات المثبّتة"],
"4niEzY": ["تضمين HTML معزول — اكتب HTML وشاهد المعاينة المعروضة مباشرةً."],
"4nj6n8": ["أعاد /api/config الرمز ", ["code"]],
- "4p8Baj": [
- "تم تخزين الرمز لـ ",
- ["login"],
- " على ",
- ["host"],
- ". لإزالته، شغّل <0>ok auth signout --host ",
- ["host"],
- "</0>."
- ],
"4pDZ2N": ["أُزيلت «", ["0"], "» من كل موقع آخر — ولا يزال مجلدها المصدر يُحمَّل"],
"4r6p_B": [
"يحتوي هذا الأمر على أحرف مخفية قد تجعله يبدو مختلفًا عمّا يُنفَّذ فعلًا. تظهر هنا بصيغة ⟨U+…⟩."
@@ -612,7 +602,6 @@
],
"5OTgC7": ["افتح مؤلف موجّه «اسأل الذكاء الاصطناعي» السفلي وركّز عليه."],
"5OqaJi": ["أدخل اسم مشروع"],
- "5PHgV2": ["يمكنك أيضًا إنشاء واحد من طرفية بالأمر <0>ok bug-report</0>."],
"5QGTaA": ["تعذّر نسخ المسار النسبي"],
"5RiC8D": [
"تُدار مهارات الاكتشاف لجميع أدوات الذكاء الاصطناعي معًا. ثبّت هذه المهارة من استوديو المهارات ضمن الإعدادات."
@@ -651,7 +640,6 @@
],
"5UccRr": ["آخر نشاط: ", ["lastActivity"]],
"5WDhAk": ["اربط بصفحة أو رابط خارجي."],
- "5W_u0E": ["تعذّر إعادة تشغيل الخادم. شغّل ok start في هذا المجلد لإعادة المحاولة."],
"5Y17qa": ["ينطبق على (أنماط — البادئة ! تستثني؛ والفارغ يعني كل مستند)"],
"5YWCV_": ["استجابة الخطة مشوّهة"],
"5ZB7XC": ["منطقة إفلات الملفات"],
@@ -891,9 +879,6 @@
"7WnfoD": ["هذا التقرير في طريقه بالفعل. ستظهر نتيجته في سجل تقارير العلل."],
"7Y9yTo": ["تم إنشاء ", ["owner"], "/", ["name"], "، لكن فشل الدفع."],
"7YJr6i": ["لم تبدأ الصدفة الخاصة بهذه الجلسة مطلقًا."],
- "7YRrJ9": [
- "متاح في تطبيق OpenKnowledge لسطح المكتب. من الطرفية، استخدم<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
- ],
"7ZpNC-": ["gh"],
"7_bFEL": ["اسحب ", ["patternText"], " لإعادة الترتيب"],
"7a0YcF": ["اضغط <0>مسافة</0> أو انقر على الـ blob للبدء"],
@@ -1143,7 +1128,6 @@
"A5hiCy": ["إنشاء قالب"],
"A67Uwj": ["لا يزال قيد التحميل"],
"A6h5b-": ["تم تكرار الملف"],
- "AAlr5Y": ["لا يوجد خادم تعاون لشجرة العمل هذه — شغّل <0>ok start</0> هنا، أو أعد فتح المشروع."],
"AB4qw9": ["طرفية جديدة"],
"ABq-cq": ["أنشأ OpenKnowledge رابط مشاركة"],
"ACKMCN": ["فشل تحميل إعدادات المهارة: ", ["0"]],
@@ -2076,6 +2060,11 @@
"JlFcis": ["إرسال"],
"JmfgFc": ["(شجرة عمل لـ ", ["0"], ")"],
"Jnz9AY": [["0"], " فوق ", ["destination"], "."],
+ "JpDb1D": [
+ "تعذّر إعادة تشغيل الخادم. شغّل ",
+ ["cliCommand"],
+ " start في هذا المجلد لإعادة المحاولة."
+ ],
"Jqqevv": ["خطأ في النظام"],
"JrqL_z": ["إدراج صف أعلاه"],
"Jrwm42": ["تعذّر تحميل وكلائك."],
@@ -2167,7 +2156,6 @@
],
"KmydK6": ["عريض"],
"KnoB--": ["سيُحفظ باسم <0>", ["sanitized"], "</0>."],
- "Kr3VPS": ["سيظل Codex يسأل حتى تشغّل «ok init» في طرفية لهذا المشروع."],
"KsAPaB": ["هذا الفرع مسحوب في:"],
"KtACeE": ["الافتراضي: <0>", ["0"], "</0>"],
"KujtjC": ["بحث"],
@@ -2535,6 +2523,11 @@
"NeY1Np": ["انتهت مهلة بدء تشغيل Slidev. حاول مرة أخرى."],
"NfraGd": ["طرق أخرى لتثبيت Slidev"],
"NgZwB0": [["enabledCount"], "/", ["0"], " مفعَّل"],
+ "NgqxB9": [
+ "لا يوجد خادم تعاون لشجرة العمل هذه — شغّل <0>",
+ ["cliCommand"],
+ " start</0> هنا، أو أعد فتح المشروع."
+ ],
"Ni4b7h": [
"إضافات المشروع هي معيار التأليف لمشروعك — شغّلها أو أوقفها هنا. تحصل كل إضافة مفعّلة على صفحتها الخاصة تحت «الإضافات» في الشريط الجانبي للإعدادات."
],
@@ -3215,6 +3208,11 @@
["shareBranch"],
"</0> مؤخرًا. بدّل وحدّث لفتحه."
],
+ "UbQzWP": [
+ "متاح في تطبيق OpenKnowledge لسطح المكتب. من الطرفية، استخدم<0> ",
+ ["cliCommand"],
+ " config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+ ],
"UcTm1A": [
"توفّره واجهة GitHub CLI (<0>gh</0>) على هذا الجهاز. لتبديل الحساب أو تسجيل الخروج، شغّل <1>gh auth</1> في الطرفية."
],
@@ -3757,6 +3755,11 @@
"ZjtgI-": ["لوحة الأوامر"],
"ZkY0ic": ["في انتظار المراجعة"],
"ZlCe_H": ["لا تتوفر أي لغة للتدقيق الإملائي."],
+ "Zmg5Ge": [
+ "ينطبق على كل المشاريع على هذا الجهاز. Claude وCodex اللذان يُشغَّلان من الطرفية المدمجة، وأي وكيل في محادثة لوحة الوكلاء داخل التطبيق، يوافقون تلقائيًا على أدوات القراءة والكتابة في OpenKnowledge (ويشغّل Claude أيضًا \"",
+ ["cliCommand"],
+ " open\" تلقائيًا). الحذف والنقل والمشاركة واستيراد المهارات أو تثبيتها، والأوامر الأخرى، وتعديل الملفات خارج OpenKnowledge تظل تطلب الإذن. في الطرفية، لا يتأثر Cursor وOpenCode وPi. بأفضل جهد لكل وكيل."
+ ],
"Zon_qG": ["مصدر المرآة <0>", ["label"], "</0>"],
"ZptNUh": ["إظهار ", ["hidden"], " إضافية"],
"Zs3d0w": [
@@ -4127,9 +4130,6 @@
"cOX1Cj": ["مضيف git"],
"cOrTMo": ["رابط المشاركة الخاص بك جاهز أدناه."],
"cPAWbl": ["أُرسل بالبريد"],
- "cPgQ_i": [
- "ينطبق على كل المشاريع على هذا الجهاز. Claude وCodex اللذان يُشغَّلان من الطرفية المدمجة، وأي وكيل في محادثة لوحة الوكلاء داخل التطبيق، يوافقون تلقائيًا على أدوات القراءة والكتابة في OpenKnowledge (ويشغّل Claude أيضًا \"ok open\" تلقائيًا). الحذف والنقل والمشاركة واستيراد المهارات أو تثبيتها، والأوامر الأخرى، وتعديل الملفات خارج OpenKnowledge تظل تطلب الإذن. في الطرفية، لا يتأثر Cursor وOpenCode وPi. بأفضل جهد لكل وكيل."
- ],
"cQlPDN": ["قراءة"],
"cRHuuI": ["تعذّر نسخ المسار"],
"cRm498": ["لا توجد ملفات مخططات في هذا المشروع بعد — أنشئ واحدًا لبدء التحقق."],
@@ -4255,6 +4255,7 @@
"</1>، في شجرة عمل خاصة به تحت <2>.ok/worktrees/</2>."
],
"dGcsnU": ["إزالة لكليهما"],
+ "dHaD0-": ["خطأ في الشبكة (هل `", ["cliCommand"], " start` يعمل؟)"],
"dIYSqk": ["بعيد"],
"dJw2_7": ["يُحفظ مع المشروع لفريقك."],
"dMsx3p": ["الصفحة الرئيسية ومحور التنقل."],
@@ -5121,6 +5122,7 @@
],
"k4CuuV": ["مجلدات وقوالب جاهزة لتبدأ بسرعة. اختر حزمة لمعاينة ما سيُنشأ، ثم أضفها إلى مشروعك."],
"k5rKNs": ["frontmatter"],
+ "k6Gfom": ["يمكنك أيضًا إنشاء واحد من طرفية بالأمر <0>", ["cliCommand"], " bug-report</0>."],
"k7Hoig": ["لا تغييرات في المحتوى في هذه النسخة."],
"kBNHN1": ["سجل التنقل"],
"kCjkGY": ["قد يستغرق هذا لحظة. يُحتفظ بمحتوى Markdown لديك."],
@@ -5545,11 +5547,6 @@
"nnhrHd": [
"استبعد الروابط المعطلة المكتوبة داخل log.md أو log.mdx على أي عمق للمجلد من «المشكلات» ومؤشرات مستكشف الملفات وتشخيصات المحرر وعمليات التدقيق وتنبيهات كتابة الوكيل. المهم هو الملف الذي كُتب فيه الرابط، وليس الملف الذي يشير إليه، وLOG.md مستند عادي. تظل لوحة «الروابط» والمحرر تعرضانها."
],
- "noH1JX": [
- "تعذّر الوصول إلى خادم التعاون — ",
- ["errorDetail"],
- ". جرّب <0>ok status</0> أو راجع <1>.ok/local/last-spawn-error.log</1>."
- ],
"np2zZM": ["سجّل الدخول إلى ", ["agentName"], " للمتابعة."],
"npcziF": ["التثبيت على"],
"nqV0Kk": ["لم يُزامَن هذا المجلد مع GitHub بعد. سيعمل الرابط بعد المزامنة التالية."],
@@ -5571,6 +5568,17 @@
"o1veZ6": ["تعذر فتح هذا المستند في نافذة جديدة."],
"o49mDZ": ["يجري تحميل سجل الخط الزمني"],
"o7AkQ0": ["إظهار المحلولة"],
+ "o8OY2K": [
+ "تم تخزين الرمز لـ ",
+ ["login"],
+ " على ",
+ ["host"],
+ ". لإزالته، شغّل <0>",
+ ["cliCommand"],
+ " auth signout --host ",
+ ["host"],
+ "</0>."
+ ],
"o9CrsQ": ["research-note"],
"o9fPtM": ["التحديث التلقائي من المصدر"],
"o9yN4T": ["النقل إلى سلة المحذوفات"],
@@ -6030,6 +6038,7 @@
"sQoLn0": ["إنهاء"],
"sR0I-f": ["طيّ كل الملفات"],
"sSRndh": ["ابدأ في صيانة index.md"],
+ "sTQjgr": ["سيظل Codex يسأل حتى تشغّل «", ["cliCommand"], " init» في طرفية لهذا المشروع."],
"sW5OjU": ["مطلوب"],
"sZ2IOu": [
"شُورك هذا ",
@@ -6428,6 +6437,13 @@
"vGeNNQ": ["انسخ موجّهًا والصقه في وكيلك لإعداد مشروعك."],
"vGjmyl": ["محذوف"],
"vHlhDc": ["انقر نقرًا مزدوجًا للتحرير"],
+ "vHw_jF": [
+ "تعذّر الوصول إلى خادم التعاون — ",
+ ["errorDetail"],
+ ". جرّب <0>",
+ ["cliCommand"],
+ " status</0> أو راجع <1>.ok/local/last-spawn-error.log</1>."
+ ],
"vIxrEk": ["ملاءمة العرض"],
"vLyv1R": ["إخفاء"],
"vO2v-0": ["إخفاء الآخرين"],
diff --git a/packages/app/src/locales/ar/messages.po b/packages/app/src/locales/ar/messages.po
index 616f7a46d..b6315e863 100644
--- a/packages/app/src/locales/ar/messages.po
+++ b/packages/app/src/locales/ar/messages.po
@@ -2200,8 +2200,8 @@ msgid "Applies to all projects on this machine, in Claude Code and Codex chats i
msgstr "ينطبق على كل المشاريع على هذا الجهاز، في محادثات Claude Code وCodex في لوحة الوكلاء التي تبدأ بعد تشغيله. يستطيع الوكيل فتح الصفحات والنقر والكتابة والتقاط لقطات الشاشة في نافذة Google Chrome خاصة به بملف تعريف جديد. يتطلب تثبيت Google Chrome وNode.js. يطلب كل إجراء في المتصفح موافقتك، دون خيار للسماح به دائمًا، ما لم يتخطَّ وضع الوكيل نفسه أو إعدادات الأذونات الخاصة به طلبات الموافقة."
#: src/components/settings/TerminalSection.tsx
-msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"ok open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
-msgstr "ينطبق على كل المشاريع على هذا الجهاز. Claude وCodex اللذان يُشغَّلان من الطرفية المدمجة، وأي وكيل في محادثة لوحة الوكلاء داخل التطبيق، يوافقون تلقائيًا على أدوات القراءة والكتابة في OpenKnowledge (ويشغّل Claude أيضًا \"ok open\" تلقائيًا). الحذف والنقل والمشاركة واستيراد المهارات أو تثبيتها، والأوامر الأخرى، وتعديل الملفات خارج OpenKnowledge تظل تطلب الإذن. في الطرفية، لا يتأثر Cursor وOpenCode وPi. بأفضل جهد لكل وكيل."
+msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"{cliCommand} open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
+msgstr "ينطبق على كل المشاريع على هذا الجهاز. Claude وCodex اللذان يُشغَّلان من الطرفية المدمجة، وأي وكيل في محادثة لوحة الوكلاء داخل التطبيق، يوافقون تلقائيًا على أدوات القراءة والكتابة في OpenKnowledge (ويشغّل Claude أيضًا \"{cliCommand} open\" تلقائيًا). الحذف والنقل والمشاركة واستيراد المهارات أو تثبيتها، والأوامر الأخرى، وتعديل الملفات خارج OpenKnowledge تظل تطلب الإذن. في الطرفية، لا يتأثر Cursor وOpenCode وPi. بأفضل جهد لكل وكيل."
#: src/components/settings/ScopeBadge.tsx
msgid "Applies to this project on this computer only. Stored in .ok/local, not shared via git."
@@ -2529,8 +2529,8 @@ msgid "Available in every project on this machine. Not shared through git."
msgstr "متاح في كل مشروع على هذا الجهاز. غير مشترك عبر git."
#: src/components/settings/SharingSection.tsx
-msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
-msgstr "متاح في تطبيق OpenKnowledge لسطح المكتب. من الطرفية، استخدم<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgstr "متاح في تطبيق OpenKnowledge لسطح المكتب. من الطرفية، استخدم<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
#: src/components/acp/ThreadHistoryPanel.tsx
#: src/components/AppMenubar.tsx
@@ -3450,8 +3450,8 @@ msgid "Code field undo or redo"
msgstr "تراجع أو إعادة في حقل الكود"
#: src/components/settings/TerminalSection.tsx
-msgid "Codex will still ask until you run \"ok init\" in a terminal for this project."
-msgstr "سيظل Codex يسأل حتى تشغّل «ok init» في طرفية لهذا المشروع."
+msgid "Codex will still ask until you run \"{cliCommand} init\" in a terminal for this project."
+msgstr "سيظل Codex يسأل حتى تشغّل «{cliCommand} init» في طرفية لهذا المشروع."
#: src/components/AutoSyncEnableWarning.tsx
msgid "Collaborators see your in-progress edits as soon as they sync."
@@ -4476,8 +4476,8 @@ msgid "Couldn't reach {displayName} — try again?"
msgstr "تعذّر الوصول إلى {displayName}. هل تريد المحاولة مرة أخرى؟"
#: src/components/ConnectingBanner.tsx
-msgid "Couldn't reach collab server — {errorDetail}. Try <0>ok status</0> or check <1>.ok/local/last-spawn-error.log</1>."
-msgstr "تعذّر الوصول إلى خادم التعاون — {errorDetail}. جرّب <0>ok status</0> أو راجع <1>.ok/local/last-spawn-error.log</1>."
+msgid "Couldn't reach collab server — {errorDetail}. Try <0>{cliCommand} status</0> or check <1>.ok/local/last-spawn-error.log</1>."
+msgstr "تعذّر الوصول إلى خادم التعاون — {errorDetail}. جرّب <0>{cliCommand} status</0> أو راجع <1>.ok/local/last-spawn-error.log</1>."
#: src/components/PublishToGitHubDialog.tsx
#: src/lib/share/publish-wizard.ts
@@ -4604,8 +4604,8 @@ msgid "Couldn't restart the server automatically. Try running `{cliCommand} stop
msgstr "تعذّرت إعادة تشغيل الخادم تلقائيًا. جرّب تشغيل `{cliCommand} stop all` في طرفية، ثم أعد فتح هذا المشروع — أو أعد تشغيل جهازك إن استمرت المشكلة."
#: src/components/settings/NetworkAccessSection.tsx
-msgid "Couldn't restart the server. Run ok start in this folder to retry."
-msgstr "تعذّر إعادة تشغيل الخادم. شغّل ok start في هذا المجلد لإعادة المحاولة."
+msgid "Couldn't restart the server. Run {cliCommand} start in this folder to retry."
+msgstr "تعذّر إعادة تشغيل الخادم. شغّل {cliCommand} start في هذا المجلد لإعادة المحاولة."
#: src/lib/restart-collab-server.ts
msgid "Couldn't restart the server. Try `{cliCommand} start` in this folder."
@@ -9319,8 +9319,8 @@ msgid "Network error — please try again"
msgstr "خطأ في الشبكة — يرجى المحاولة مرة أخرى"
#: src/components/ConnectingBanner.tsx
-msgid "network error (is `ok start` running?)"
-msgstr "خطأ في الشبكة (هل `ok start` يعمل؟)"
+msgid "network error (is `{cliCommand} start` running?)"
+msgstr "خطأ في الشبكة (هل `{cliCommand} start` يعمل؟)"
#: src/components/FileTree.tsx
msgid "Network error during cleanup"
@@ -9608,8 +9608,8 @@ msgid "No chats yet."
msgstr "لا توجد دردشات بعد."
#: src/components/ConnectingBanner.tsx
-msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
-msgstr "لا يوجد خادم تعاون لشجرة العمل هذه — شغّل <0>ok start</0> هنا، أو أعد فتح المشروع."
+msgid "No collab server for this worktree — run <0>{cliCommand} start</0> here, or reopen the project."
+msgstr "لا يوجد خادم تعاون لشجرة العمل هذه — شغّل <0>{cliCommand} start</0> هنا، أو أعد فتح المشروع."
#: src/comments/CommentProjectPanel.tsx
msgid "No comments in this project yet. Comment on a passage to start one."
@@ -15986,8 +15986,8 @@ msgid "token"
msgstr "رمز"
#: src/components/settings/AccountSection.tsx
-msgid "Token stored for {login} on {host}. To remove it, run <0>ok auth signout --host {host}</0>."
-msgstr "تم تخزين الرمز لـ {login} على {host}. لإزالته، شغّل <0>ok auth signout --host {host}</0>."
+msgid "Token stored for {login} on {host}. To remove it, run <0>{cliCommand} auth signout --host {host}</0>."
+msgstr "تم تخزين الرمز لـ {login} على {host}. لإزالته، شغّل <0>{cliCommand} auth signout --host {host}</0>."
#: src/components/SkillBundlePreview.tsx
#: src/components/SkillProperties.tsx
@@ -17050,8 +17050,8 @@ msgid "You can add"
msgstr "يمكنك إضافة"
#: src/components/ReportBugDialogBody.tsx
-msgid "You can also create one from a terminal with <0>ok bug-report</0>."
-msgstr "يمكنك أيضًا إنشاء واحد من طرفية بالأمر <0>ok bug-report</0>."
+msgid "You can also create one from a terminal with <0>{cliCommand} bug-report</0>."
+msgstr "يمكنك أيضًا إنشاء واحد من طرفية بالأمر <0>{cliCommand} bug-report</0>."
#: src/components/TerminalGate.tsx
msgid "You can also manage this in Settings."
diff --git a/packages/app/src/locales/bn/messages.json b/packages/app/src/locales/bn/messages.json
index e88ddcea4..fda86be29 100644
--- a/packages/app/src/locales/bn/messages.json
+++ b/packages/app/src/locales/bn/messages.json
@@ -267,7 +267,6 @@
"2GT3Hf": ["বৈশ্বিক"],
"2H5Zhu": ["রিপোর্ট পরীক্ষা করে না পাঠানো পর্যন্ত কম্পিউটার থেকে কিছুই বাইরে যায় না।"],
"2IYGkU": ["এই নথিতে না-পাঠানো পরিবর্তন আছে। প্রাপকরা সর্বশেষ পাঠানো সংস্করণটি দেখবেন।"],
- "2L8aeZ": ["নেটওয়ার্ক ত্রুটি (`ok start` কি চলছে?)"],
"2M0JF6": ["স্বয়ংক্রিয় হালনাগাদ"],
"2O5Z0r": [["appName"], " লুকান"],
"2QM24L": ["সব ট্যাগ"],
@@ -470,14 +469,6 @@
"4mp6Tv": ["OpenKnowledge ইনস্টল করা স্কিলগুলির তালিকা দেখিয়েছে"],
"4niEzY": ["স্যান্ডবক্স করা HTML এমবেড — HTML লিখুন, রেন্ডার করা প্রাকদর্শন সঙ্গে সঙ্গে দেখুন।"],
"4nj6n8": ["/api/config HTTP ", ["code"], " ফিরিয়েছে"],
- "4p8Baj": [
- ["host"],
- "-এ ",
- ["login"],
- "-এর জন্য টোকেন সংরক্ষিত হয়েছে। এটি সরাতে <0>ok auth signout --host ",
- ["host"],
- "</0> চালান।"
- ],
"4pDZ2N": ["\"", ["0"], "\"-কে অন্য প্রতিটি জায়গা থেকে সরানো হয়েছে — এর উৎস ফোল্ডার এখনও লোড হয়"],
"4r6p_B": [
"এই কমান্ডে লুকানো অক্ষর আছে, যার ফলে এটি আসলে যা চলে তার থেকে আলাদা দেখাতে পারে। এগুলো এখানে ⟨U+…⟩ হিসেবে দেখানো হয়েছে।"
@@ -525,7 +516,6 @@
],
"5OTgC7": ["নিচের Ask AI প্রম্পট রচনাপট খুলুন ও তাতে ফোকাস করুন।"],
"5OqaJi": ["একটি প্রকল্পের নাম দিন"],
- "5PHgV2": ["আপনি টার্মিনাল থেকে <0>ok bug-report</0> দিয়েও একটি তৈরি করতে পারেন।"],
"5QGTaA": ["আপেক্ষিক পথ কপি করা যায়নি"],
"5RiC8D": [
"ডিসকভারি স্কিলগুলো সব AI টুলের জন্য একসঙ্গে পরিচালিত হয়। সেটিং → স্কিল স্টুডিও থেকে এটি ইনস্টল করুন।"
@@ -542,7 +532,6 @@
],
"5UccRr": ["শেষ কার্যকলাপ: ", ["lastActivity"]],
"5WDhAk": ["একটি পাতা বা বাইরের URL-এ লিংক করুন।"],
- "5W_u0E": ["সার্ভার পুনরায় চালু করা যায়নি। আবার চেষ্টা করতে এই ফোল্ডারে ok start চালান।"],
"5Y17qa": ["যার ক্ষেত্রে প্রযোজ্য (গ্লোব — শুরুতে ! থাকলে বাদ দেয়; খালি মানে প্রতিটি নথি)"],
"5YWCV_": ["প্ল্যান প্রতিক্রিয়ার গঠন ত্রুটিপূর্ণ"],
"5ZB7XC": ["ফাইল ফেলার জায়গা"],
@@ -729,9 +718,6 @@
"7WnfoD": ["এই রিপোর্ট ইতিমধ্যেই পথে আছে। এর ফলাফল বাগ রিপোর্টের ইতিহাসে দেখা যাবে।"],
"7Y9yTo": [["owner"], "/", ["name"], " তৈরি হয়েছে, তবে পুশ ব্যর্থ হয়েছে।"],
"7YJr6i": ["এই সেশনের শেল কখনও চালু করা হয়নি।"],
- "7YRrJ9": [
- "OpenKnowledge ডেস্কটপ অ্যাপে পাওয়া যায়। টার্মিনাল থেকে <0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2> ব্যবহার করুন।"
- ],
"7ZpNC-": ["gh"],
"7_bFEL": ["ক্রম বদলাতে ", ["patternText"], " টেনে আনুন"],
"7a0YcF": ["শুরু করতে <0>স্পেস</0> চাপুন বা blob-এ ট্যাপ করুন"],
@@ -956,9 +942,6 @@
"A5hiCy": ["টেমপ্লেট তৈরি করুন"],
"A67Uwj": ["এখনও লোড হচ্ছে"],
"A6h5b-": ["ফাইলের প্রতিলিপি হয়েছে"],
- "AAlr5Y": [
- "এই ওয়ার্কট্রির জন্য কোনো সহযোগিতা সার্ভার নেই — এখানে <0>ok start</0> চালান, নয়তো প্রকল্পটি আবার খুলুন।"
- ],
"AB4qw9": ["নতুন টার্মিনাল"],
"ABq-cq": ["OpenKnowledge একটি শেয়ার লিংক তৈরি করেছে"],
"ACKMCN": ["স্কিলের সেটিং লোড করতে ব্যর্থ: ", ["0"]],
@@ -1764,6 +1747,7 @@
"JlFcis": ["পাঠান"],
"JmfgFc": ["(", ["0"], "-এর একটি ওয়ার্কট্রি)"],
"Jnz9AY": [["0"], " ", ["destination"], "-এর উপরে রয়েছে।"],
+ "JpDb1D": ["সার্ভার পুনরায় চালু করা যায়নি। আবার চেষ্টা করতে এই ফোল্ডারে ", ["cliCommand"], " start চালান।"],
"Jqqevv": ["সিস্টেম ত্রুটি"],
"JrqL_z": ["উপরে সারি যোগ করুন"],
"Jrwm42": ["আপনার এজেন্ট লোড করা যায়নি।"],
@@ -1855,7 +1839,6 @@
],
"KmydK6": ["গাঢ়"],
"KnoB--": ["<0>", ["sanitized"], "</0> হিসেবে সংরক্ষিত হবে।"],
- "Kr3VPS": ["এই প্রকল্পের জন্য টার্মিনালে \"ok init\" না চালানো পর্যন্ত Codex জিজ্ঞেস করতেই থাকবে।"],
"KsAPaB": ["এই ব্রাঞ্চটি এখানে চেক আউট করা আছে:"],
"KtACeE": ["ডিফল্ট: <0>", ["0"], "</0>"],
"KujtjC": ["খুঁজুন"],
@@ -2128,6 +2111,11 @@
"NeY1Np": ["Slidev চালু হতে সময় শেষ হয়ে গেছে। আবার চেষ্টা করুন।"],
"NfraGd": ["Slidev ইনস্টল করার অন্যান্য উপায়"],
"NgZwB0": [["0"], "টির মধ্যে ", ["enabledCount"], "টি চালু"],
+ "NgqxB9": [
+ "এই ওয়ার্কট্রির জন্য কোনো সহযোগিতা সার্ভার নেই — এখানে <0>",
+ ["cliCommand"],
+ " start</0> চালান, নয়তো প্রকল্পটি আবার খুলুন।"
+ ],
"Ni4b7h": [
"প্রকল্প প্লাগইন হলো আপনার প্রকল্পের রচনা-মান — সেগুলো এখানে চালু বা বন্ধ করুন। চালু করা প্রতিটি প্লাগইন সেটিং সাইডবারে Plugins-এর নিচে নিজের পাতা পায়।"
],
@@ -2721,6 +2709,11 @@
["shareBranch"],
"</0>-এ যোগ করা হয়েছে। এটি খুলতে ব্রাঞ্চ বদলে হালনাগাদ করুন।"
],
+ "UbQzWP": [
+ "OpenKnowledge ডেস্কটপ অ্যাপে পাওয়া যায়। টার্মিনাল থেকে <0> ",
+ ["cliCommand"],
+ " config-sharing status</0> / <1>share</1> / <2>unshare</2> ব্যবহার করুন।"
+ ],
"UcTm1A": [
"এই কম্পিউটারের GitHub CLI (<0>gh</0>) এটি দিচ্ছে। অ্যাকাউন্ট বদলাতে বা সাইন আউট করতে টার্মিনালে <1>gh auth</1> চালান।"
],
@@ -3172,6 +3165,11 @@
"ZjtgI-": ["কমান্ড প্যালেট"],
"ZkY0ic": ["পর্যালোচনার অপেক্ষায়"],
"ZlCe_H": ["বানান পরীক্ষার জন্য কোনো ভাষা উপলব্ধ নেই।"],
+ "Zmg5Ge": [
+ "এই মেশিনের সব প্রজেক্টে প্রযোজ্য। বিল্ট-ইন টার্মিনাল থেকে শুরু করা Claude ও Codex, এবং অ্যাপের এজেন্ট প্যানেল চ্যাটের যেকোনো এজেন্ট, OpenKnowledge-এর পড়া ও লেখার টুল স্বয়ংক্রিয়ভাবে অনুমোদন করে (Claude \"",
+ ["cliCommand"],
+ " open\"-ও স্বয়ংক্রিয়ভাবে চালায়)। স্কিল মোছা, সরানো, শেয়ার করা, ইমপোর্ট বা ইনস্টল করা, অন্যান্য কমান্ড এবং OpenKnowledge-বহির্ভূত ফাইল সম্পাদনা এখনও জিজ্ঞাসা করে। টার্মিনালে Cursor, OpenCode ও Pi প্রভাবিত হয় না। প্রতিটি এজেন্টের জন্য যথাসাধ্য।"
+ ],
"Zon_qG": ["মিরর উৎস <0>", ["label"], "</0>"],
"ZptNUh": ["আরও ", ["hidden"], "টি দেখান"],
"Zs3d0w": [
@@ -3505,9 +3503,6 @@
"cOX1Cj": ["git হোস্ট"],
"cOrTMo": ["আপনার শেয়ার লিংক নিচে প্রস্তুত।"],
"cPAWbl": ["ইমেইল করা হয়েছে"],
- "cPgQ_i": [
- "এই মেশিনের সব প্রজেক্টে প্রযোজ্য। বিল্ট-ইন টার্মিনাল থেকে শুরু করা Claude ও Codex, এবং অ্যাপের এজেন্ট প্যানেল চ্যাটের যেকোনো এজেন্ট, OpenKnowledge-এর পড়া ও লেখার টুল স্বয়ংক্রিয়ভাবে অনুমোদন করে (Claude \"ok open\"-ও স্বয়ংক্রিয়ভাবে চালায়)। স্কিল মোছা, সরানো, শেয়ার করা, ইমপোর্ট বা ইনস্টল করা, অন্যান্য কমান্ড এবং OpenKnowledge-বহির্ভূত ফাইল সম্পাদনা এখনও জিজ্ঞাসা করে। টার্মিনালে Cursor, OpenCode ও Pi প্রভাবিত হয় না। প্রতিটি এজেন্টের জন্য যথাসাধ্য।"
- ],
"cQlPDN": ["পড়া"],
"cRHuuI": ["পথ কপি করা যায়নি"],
"cRm498": ["এই প্রকল্পে এখনও কোনো স্কিমা ফাইল নেই — যাচাই শুরু করতে একটি তৈরি করুন।"],
@@ -3596,6 +3591,7 @@
"</1> থেকে তৈরি হবে, <2>.ok/worktrees/</2>-এর নিচে নিজের ওয়ার্কট্রিতে।"
],
"dGcsnU": ["উভয়ের জন্য সরান"],
+ "dHaD0-": ["নেটওয়ার্ক ত্রুটি (`", ["cliCommand"], " start` কি চলছে?)"],
"dIYSqk": ["রিমোট"],
"dJw2_7": ["আপনার দলের জন্য প্রকল্পের সঙ্গে সংরক্ষিত।"],
"dMsx3p": ["মূল পাতা ও নেভিগেশন কেন্দ্র।"],
@@ -4321,6 +4317,11 @@
"দ্রুত শুরু করার জন্য তৈরি ফোল্ডার ও টেমপ্লেট। কী তৈরি হবে তার প্রাকদর্শন দেখতে একটি প্যাক নির্বাচন করুন, তারপর সেটি আপনার প্রকল্পে যোগ করুন।"
],
"k5rKNs": ["frontmatter"],
+ "k6Gfom": [
+ "আপনি টার্মিনাল থেকে <0>",
+ ["cliCommand"],
+ " bug-report</0> দিয়েও একটি তৈরি করতে পারেন।"
+ ],
"k7Hoig": ["এই সংস্করণে বিষয়বস্তুর কোনো পরিবর্তন নেই।"],
"kBNHN1": ["নেভিগেশনের ইতিহাস"],
"kCjkGY": ["এতে একটু সময় লাগতে পারে। আপনার markdown বিষয়বস্তু রক্ষা করা হয়।"],
@@ -4686,11 +4687,6 @@
"nnhrHd": [
"ফোল্ডারের যেকোনো গভীরতায় থাকা log.md বা log.mdx-এর ভেতরে লেখা ভাঙা লিংকগুলোকে সমস্যা, ফাইল এক্সপ্লোরারের সূচক, এডিটরের ডায়াগনস্টিক, অডিট এবং এজেন্ট লেখার পরামর্শ থেকে বাদ দিন। লিংকটি কোন ফাইলে লেখা হয়েছে সেটিই বিবেচ্য, এটি যে ফাইলকে নির্দেশ করে সেটি নয়; আর LOG.md একটি সাধারণ ডকুমেন্ট। লিংক প্যানেল ও এডিটরে এগুলো তবু দেখা যায়।"
],
- "noH1JX": [
- "সহযোগিতা সার্ভারের নাগাল পাওয়া যায়নি — ",
- ["errorDetail"],
- "। <0>ok status</0> চেষ্টা করুন বা <1>.ok/local/last-spawn-error.log</1> দেখুন।"
- ],
"np2zZM": ["চালিয়ে যেতে ", ["agentName"], "-এ সাইন ইন করুন।"],
"npcziF": ["এতে ইনস্টল করুন"],
"nqV0Kk": ["এই ফোল্ডারটি এখনও GitHub-এ সিঙ্ক হয়নি। পরের সিঙ্কের পর লিংকটি কাজ করবে।"],
@@ -4712,6 +4708,16 @@
"o1veZ6": ["এই নথিটি নতুন উইন্ডোতে খোলা যায়নি।"],
"o49mDZ": ["কালানুক্রমের ইতিহাস লোড হচ্ছে"],
"o7AkQ0": ["সমাধান হওয়াগুলি দেখান"],
+ "o8OY2K": [
+ ["host"],
+ "-এ ",
+ ["login"],
+ "-এর জন্য টোকেন সংরক্ষিত হয়েছে। এটি সরাতে <0>",
+ ["cliCommand"],
+ " auth signout --host ",
+ ["host"],
+ "</0> চালান।"
+ ],
"o9CrsQ": ["research-note"],
"o9fPtM": ["উৎস থেকে স্বয়ংক্রিয় হালনাগাদ"],
"o9yN4T": ["রিসাইকেল বিনে পাঠান"],
@@ -5092,6 +5098,11 @@
"sQoLn0": ["প্রস্থান"],
"sR0I-f": ["সব ফাইল গুটিয়ে নিন"],
"sSRndh": ["index.md বজায় রাখা শুরু করুন"],
+ "sTQjgr": [
+ "এই প্রকল্পের জন্য টার্মিনালে \"",
+ ["cliCommand"],
+ " init\" না চালানো পর্যন্ত Codex জিজ্ঞেস করতেই থাকবে।"
+ ],
"sW5OjU": ["আবশ্যক"],
"sZ2IOu": [
"এই ",
@@ -5409,6 +5420,13 @@
"vGeNNQ": ["আপনার প্রকল্প সেট আপ করতে একটি প্রম্পট কপি করে আপনার এজেন্টে পেস্ট করুন।"],
"vGjmyl": ["মোছা হয়েছে"],
"vHlhDc": ["সম্পাদনা করতে ডাবল-ক্লিক করুন"],
+ "vHw_jF": [
+ "সহযোগিতা সার্ভারের নাগাল পাওয়া যায়নি — ",
+ ["errorDetail"],
+ "। <0>",
+ ["cliCommand"],
+ " status</0> চেষ্টা করুন বা <1>.ok/local/last-spawn-error.log</1> দেখুন।"
+ ],
"vIxrEk": ["প্রস্থ অনুযায়ী"],
"vLyv1R": ["লুকান"],
"vO2v-0": ["অন্যগুলি লুকান"],
diff --git a/packages/app/src/locales/bn/messages.po b/packages/app/src/locales/bn/messages.po
index c57b2b950..de20047da 100644
--- a/packages/app/src/locales/bn/messages.po
+++ b/packages/app/src/locales/bn/messages.po
@@ -2196,8 +2196,8 @@ msgid "Applies to all projects on this machine, in Claude Code and Codex chats i
msgstr "এই মেশিনের সব প্রজেক্টে প্রযোজ্য, চালু করার পরে শুরু হওয়া এজেন্ট প্যানেলের Claude Code ও Codex চ্যাটে। এজেন্ট নতুন প্রোফাইলসহ নিজের Google Chrome উইন্ডোতে পেজ খুলতে, ক্লিক করতে, টাইপ করতে ও স্ক্রিনশট নিতে পারে। Google Chrome ও Node.js ইনস্টল থাকা দরকার। ব্রাউজারের প্রতিটি কাজ আপনার অনুমোদন চায়, সবসময় অনুমতি দেওয়ার কোনো বিকল্প ছাড়াই, যদি না এজেন্টের নিজের মোড বা অনুমতি সেটিংস অনুমোদন এড়িয়ে যায়।"
#: src/components/settings/TerminalSection.tsx
-msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"ok open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
-msgstr "এই মেশিনের সব প্রজেক্টে প্রযোজ্য। বিল্ট-ইন টার্মিনাল থেকে শুরু করা Claude ও Codex, এবং অ্যাপের এজেন্ট প্যানেল চ্যাটের যেকোনো এজেন্ট, OpenKnowledge-এর পড়া ও লেখার টুল স্বয়ংক্রিয়ভাবে অনুমোদন করে (Claude \"ok open\"-ও স্বয়ংক্রিয়ভাবে চালায়)। স্কিল মোছা, সরানো, শেয়ার করা, ইমপোর্ট বা ইনস্টল করা, অন্যান্য কমান্ড এবং OpenKnowledge-বহির্ভূত ফাইল সম্পাদনা এখনও জিজ্ঞাসা করে। টার্মিনালে Cursor, OpenCode ও Pi প্রভাবিত হয় না। প্রতিটি এজেন্টের জন্য যথাসাধ্য।"
+msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"{cliCommand} open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
+msgstr "এই মেশিনের সব প্রজেক্টে প্রযোজ্য। বিল্ট-ইন টার্মিনাল থেকে শুরু করা Claude ও Codex, এবং অ্যাপের এজেন্ট প্যানেল চ্যাটের যেকোনো এজেন্ট, OpenKnowledge-এর পড়া ও লেখার টুল স্বয়ংক্রিয়ভাবে অনুমোদন করে (Claude \"{cliCommand} open\"-ও স্বয়ংক্রিয়ভাবে চালায়)। স্কিল মোছা, সরানো, শেয়ার করা, ইমপোর্ট বা ইনস্টল করা, অন্যান্য কমান্ড এবং OpenKnowledge-বহির্ভূত ফাইল সম্পাদনা এখনও জিজ্ঞাসা করে। টার্মিনালে Cursor, OpenCode ও Pi প্রভাবিত হয় না। প্রতিটি এজেন্টের জন্য যথাসাধ্য।"
#: src/components/settings/ScopeBadge.tsx
msgid "Applies to this project on this computer only. Stored in .ok/local, not shared via git."
@@ -2525,8 +2525,8 @@ msgid "Available in every project on this machine. Not shared through git."
msgstr "এই মেশিনের প্রতিটি প্রকল্পে পাওয়া যায়। git-এর মাধ্যমে ভাগ করা হয় না।"
#: src/components/settings/SharingSection.tsx
-msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
-msgstr "OpenKnowledge ডেস্কটপ অ্যাপে পাওয়া যায়। টার্মিনাল থেকে <0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2> ব্যবহার করুন।"
+msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgstr "OpenKnowledge ডেস্কটপ অ্যাপে পাওয়া যায়। টার্মিনাল থেকে <0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2> ব্যবহার করুন।"
#: src/components/acp/ThreadHistoryPanel.tsx
#: src/components/AppMenubar.tsx
@@ -3446,8 +3446,8 @@ msgid "Code field undo or redo"
msgstr "কোড ফিল্ডে পূর্বাবস্থা বা পুনরায়"
#: src/components/settings/TerminalSection.tsx
-msgid "Codex will still ask until you run \"ok init\" in a terminal for this project."
-msgstr "এই প্রকল্পের জন্য টার্মিনালে \"ok init\" না চালানো পর্যন্ত Codex জিজ্ঞেস করতেই থাকবে।"
+msgid "Codex will still ask until you run \"{cliCommand} init\" in a terminal for this project."
+msgstr "এই প্রকল্পের জন্য টার্মিনালে \"{cliCommand} init\" না চালানো পর্যন্ত Codex জিজ্ঞেস করতেই থাকবে।"
#: src/components/AutoSyncEnableWarning.tsx
msgid "Collaborators see your in-progress edits as soon as they sync."
@@ -4472,8 +4472,8 @@ msgid "Couldn't reach {displayName} — try again?"
msgstr "{displayName}-এ পৌঁছানো যায়নি। আবার চেষ্টা করবেন?"
#: src/components/ConnectingBanner.tsx
-msgid "Couldn't reach collab server — {errorDetail}. Try <0>ok status</0> or check <1>.ok/local/last-spawn-error.log</1>."
-msgstr "সহযোগিতা সার্ভারের নাগাল পাওয়া যায়নি — {errorDetail}। <0>ok status</0> চেষ্টা করুন বা <1>.ok/local/last-spawn-error.log</1> দেখুন।"
+msgid "Couldn't reach collab server — {errorDetail}. Try <0>{cliCommand} status</0> or check <1>.ok/local/last-spawn-error.log</1>."
+msgstr "সহযোগিতা সার্ভারের নাগাল পাওয়া যায়নি — {errorDetail}। <0>{cliCommand} status</0> চেষ্টা করুন বা <1>.ok/local/last-spawn-error.log</1> দেখুন।"
#: src/components/PublishToGitHubDialog.tsx
#: src/lib/share/publish-wizard.ts
@@ -4600,8 +4600,8 @@ msgid "Couldn't restart the server automatically. Try running `{cliCommand} stop
msgstr "সার্ভার নিজে থেকে পুনরায় চালু করা যায়নি। টার্মিনালে `{cliCommand} stop all` চালিয়ে দেখুন, তারপর এই প্রকল্পটি আবার খুলুন — সমস্যা থাকলে কম্পিউটার পুনরায় চালু করুন।"
#: src/components/settings/NetworkAccessSection.tsx
-msgid "Couldn't restart the server. Run ok start in this folder to retry."
-msgstr "সার্ভার পুনরায় চালু করা যায়নি। আবার চেষ্টা করতে এই ফোল্ডারে ok start চালান।"
+msgid "Couldn't restart the server. Run {cliCommand} start in this folder to retry."
+msgstr "সার্ভার পুনরায় চালু করা যায়নি। আবার চেষ্টা করতে এই ফোল্ডারে {cliCommand} start চালান।"
#: src/lib/restart-collab-server.ts
msgid "Couldn't restart the server. Try `{cliCommand} start` in this folder."
@@ -9315,8 +9315,8 @@ msgid "Network error — please try again"
msgstr "নেটওয়ার্ক ত্রুটি — অনুগ্রহ করে আবার চেষ্টা করুন"
#: src/components/ConnectingBanner.tsx
-msgid "network error (is `ok start` running?)"
-msgstr "নেটওয়ার্ক ত্রুটি (`ok start` কি চলছে?)"
+msgid "network error (is `{cliCommand} start` running?)"
+msgstr "নেটওয়ার্ক ত্রুটি (`{cliCommand} start` কি চলছে?)"
#: src/components/FileTree.tsx
msgid "Network error during cleanup"
@@ -9604,8 +9604,8 @@ msgid "No chats yet."
msgstr "এখনও কোনো চ্যাট নেই।"
#: src/components/ConnectingBanner.tsx
-msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
-msgstr "এই ওয়ার্কট্রির জন্য কোনো সহযোগিতা সার্ভার নেই — এখানে <0>ok start</0> চালান, নয়তো প্রকল্পটি আবার খুলুন।"
+msgid "No collab server for this worktree — run <0>{cliCommand} start</0> here, or reopen the project."
+msgstr "এই ওয়ার্কট্রির জন্য কোনো সহযোগিতা সার্ভার নেই — এখানে <0>{cliCommand} start</0> চালান, নয়তো প্রকল্পটি আবার খুলুন।"
#: src/comments/CommentProjectPanel.tsx
msgid "No comments in this project yet. Comment on a passage to start one."
@@ -15982,8 +15982,8 @@ msgid "token"
msgstr "টোকেন"
#: src/components/settings/AccountSection.tsx
-msgid "Token stored for {login} on {host}. To remove it, run <0>ok auth signout --host {host}</0>."
-msgstr "{host}-এ {login}-এর জন্য টোকেন সংরক্ষিত হয়েছে। এটি সরাতে <0>ok auth signout --host {host}</0> চালান।"
+msgid "Token stored for {login} on {host}. To remove it, run <0>{cliCommand} auth signout --host {host}</0>."
+msgstr "{host}-এ {login}-এর জন্য টোকেন সংরক্ষিত হয়েছে। এটি সরাতে <0>{cliCommand} auth signout --host {host}</0> চালান।"
#: src/components/SkillBundlePreview.tsx
#: src/components/SkillProperties.tsx
@@ -17046,8 +17046,8 @@ msgid "You can add"
msgstr "আপনি যোগ করতে পারেন"
#: src/components/ReportBugDialogBody.tsx
-msgid "You can also create one from a terminal with <0>ok bug-report</0>."
-msgstr "আপনি টার্মিনাল থেকে <0>ok bug-report</0> দিয়েও একটি তৈরি করতে পারেন।"
+msgid "You can also create one from a terminal with <0>{cliCommand} bug-report</0>."
+msgstr "আপনি টার্মিনাল থেকে <0>{cliCommand} bug-report</0> দিয়েও একটি তৈরি করতে পারেন।"
#: src/components/TerminalGate.tsx
msgid "You can also manage this in Settings."
diff --git a/packages/app/src/locales/en/messages.json b/packages/app/src/locales/en/messages.json
index f97f279f2..2482c58cb 100644
--- a/packages/app/src/locales/en/messages.json
+++ b/packages/app/src/locales/en/messages.json
@@ -279,7 +279,6 @@
"2GT3Hf": ["Global"],
"2H5Zhu": ["Nothing leaves your computer until you review and send the report."],
"2IYGkU": ["This doc has unpushed changes. Recipients will see the last pushed version."],
- "2L8aeZ": ["network error (is `ok start` running?)"],
"2M0JF6": ["Auto-update"],
"2O5Z0r": ["Hide ", ["appName"]],
"2QM24L": ["All tags"],
@@ -487,15 +486,6 @@
"4mp6Tv": ["OpenKnowledge listed the installed skills"],
"4niEzY": ["Sandboxed HTML embed — write HTML, see the rendered preview live."],
"4nj6n8": ["/api/config returned HTTP ", ["code"]],
- "4p8Baj": [
- "Token stored for ",
- ["login"],
- " on ",
- ["host"],
- ". To remove it, run <0>ok auth signout --host ",
- ["host"],
- "</0>."
- ],
"4pDZ2N": ["Removed \"", ["0"], "\" from every other location — its source folder still loads"],
"4r6p_B": [
"This command contains hidden characters that can make it look different from what runs. They are shown here as ⟨U+…⟩."
@@ -543,7 +533,6 @@
],
"5OTgC7": ["Open and focus the bottom Ask AI prompt composer."],
"5OqaJi": ["Enter a project name"],
- "5PHgV2": ["You can also create one from a terminal with <0>ok bug-report</0>."],
"5QGTaA": ["Could not copy relative path"],
"5RiC8D": [
"Discovery skills are managed for all AI tools together. Install this one from Settings → Skills Studio."
@@ -560,7 +549,6 @@
],
"5UccRr": ["Last activity ", ["lastActivity"]],
"5WDhAk": ["Link to a page or external URL."],
- "5W_u0E": ["Couldn't restart the server. Run ok start in this folder to retry."],
"5Y17qa": ["Applies to (globs — leading ! excludes; empty means every doc)"],
"5YWCV_": ["Malformed plan response"],
"5ZB7XC": ["File drop zone"],
@@ -750,9 +738,6 @@
],
"7Y9yTo": ["Created ", ["owner"], "/", ["name"], ", push failed."],
"7YJr6i": ["The shell for this session was never started."],
- "7YRrJ9": [
- "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
- ],
"7ZpNC-": ["gh"],
"7_bFEL": ["Drag ", ["patternText"], " to reorder"],
"7a0YcF": ["Press <0>Space</0> or tap the blob to start"],
@@ -988,9 +973,6 @@
"A5hiCy": ["Create template"],
"A67Uwj": ["Still loading"],
"A6h5b-": ["File duplicated"],
- "AAlr5Y": [
- "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
- ],
"AB4qw9": ["New terminal"],
"ABq-cq": ["OpenKnowledge created a share link"],
"ACKMCN": ["Failed to load skill settings: ", ["0"]],
@@ -1828,6 +1810,11 @@
"JlFcis": ["Send"],
"JmfgFc": ["(a worktree of ", ["0"], ")"],
"Jnz9AY": [["0"], " is over ", ["destination"], "."],
+ "JpDb1D": [
+ "Couldn't restart the server. Run ",
+ ["cliCommand"],
+ " start in this folder to retry."
+ ],
"Jqqevv": ["System error"],
"JrqL_z": ["Insert row above"],
"Jrwm42": ["Couldn't load your agents."],
@@ -1920,7 +1907,6 @@
],
"KmydK6": ["Bold"],
"KnoB--": ["Will be saved as <0>", ["sanitized"], "</0>."],
- "Kr3VPS": ["Codex will still ask until you run \"ok init\" in a terminal for this project."],
"KsAPaB": ["This branch is checked out in:"],
"KtACeE": ["Default: <0>", ["0"], "</0>"],
"KujtjC": ["Find"],
@@ -2202,6 +2188,11 @@
"NeY1Np": ["Slidev timed out while starting. Try again."],
"NfraGd": ["Other ways to install Slidev"],
"NgZwB0": [["enabledCount"], "/", ["0"], " on"],
+ "NgqxB9": [
+ "No collab server for this worktree — run <0>",
+ ["cliCommand"],
+ " start</0> here, or reopen the project."
+ ],
"Ni4b7h": [
"Project plugins are your project's authoring standard — turn them on or off here. Each enabled plugin gets its own page under Plugins in the settings sidebar."
],
@@ -2808,6 +2799,11 @@
["shareBranch"],
"</0> recently. Switch and update to open it."
],
+ "UbQzWP": [
+ "Available in the OpenKnowledge desktop app. From a terminal, use<0> ",
+ ["cliCommand"],
+ " config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+ ],
"UcTm1A": [
"Provided by the GitHub CLI (<0>gh</0>) on this computer. To switch accounts or sign out, run <1>gh auth</1> in a terminal."
],
@@ -3262,6 +3258,11 @@
"ZjtgI-": ["Command palette"],
"ZkY0ic": ["Waiting for review"],
"ZlCe_H": ["No spelling languages are available."],
+ "Zmg5Ge": [
+ "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"",
+ ["cliCommand"],
+ " open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
+ ],
"Zon_qG": ["Mirror source <0>", ["label"], "</0>"],
"ZptNUh": ["Show ", ["hidden"], " more"],
"Zs3d0w": [
@@ -3603,9 +3604,6 @@
"cOX1Cj": ["git host"],
"cOrTMo": ["Your share link is ready below."],
"cPAWbl": ["Emailed"],
- "cPgQ_i": [
- "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"ok open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
- ],
"cQlPDN": ["Read"],
"cRHuuI": ["Couldn't copy path"],
"cRm498": ["No schema files in this project yet — create one to start validating."],
@@ -3705,6 +3703,7 @@
"</1>, in its own worktree under <2>.ok/worktrees/</2>."
],
"dGcsnU": ["Remove for both"],
+ "dHaD0-": ["network error (is `", ["cliCommand"], " start` running?)"],
"dIYSqk": ["remote"],
"dJw2_7": ["Saved with the project for your team."],
"dMsx3p": ["Home page and navigation hub."],
@@ -4468,6 +4467,11 @@
"Ready-made folders and templates to get you started quickly. Select a pack to preview what gets created, then add it to your project."
],
"k5rKNs": ["Frontmatter"],
+ "k6Gfom": [
+ "You can also create one from a terminal with <0>",
+ ["cliCommand"],
+ " bug-report</0>."
+ ],
"k7Hoig": ["No content changes at this version."],
"kBNHN1": ["Navigation history"],
"kCjkGY": ["This may take a moment. Your markdown content is kept."],
@@ -4850,11 +4854,6 @@
"nnhrHd": [
"Leave the broken links written inside a log.md or log.mdx at any folder depth out of Problems, file explorer indicators, editor diagnostics, audits, and agent write advisories. What counts is the file a link is written in, not the file it points at, and LOG.md is an ordinary document. The Links panel and the editor still show them."
],
- "noH1JX": [
- "Couldn't reach collab server — ",
- ["errorDetail"],
- ". Try <0>ok status</0> or check <1>.ok/local/last-spawn-error.log</1>."
- ],
"np2zZM": ["Sign in to ", ["agentName"], " to continue."],
"npcziF": ["Install on"],
"nqV0Kk": ["This folder hasn't synced to GitHub yet. The link will work after the next sync."],
@@ -4878,6 +4877,17 @@
"o1veZ6": ["Could not open this document in a new window."],
"o49mDZ": ["Loading timeline history"],
"o7AkQ0": ["Show resolved"],
+ "o8OY2K": [
+ "Token stored for ",
+ ["login"],
+ " on ",
+ ["host"],
+ ". To remove it, run <0>",
+ ["cliCommand"],
+ " auth signout --host ",
+ ["host"],
+ "</0>."
+ ],
"o9CrsQ": ["research-note"],
"o9fPtM": ["Auto-update from source"],
"o9yN4T": ["Move to Recycle Bin"],
@@ -5276,6 +5286,11 @@
"sQoLn0": ["Quit"],
"sR0I-f": ["Collapse all files"],
"sSRndh": ["Start maintaining index.md"],
+ "sTQjgr": [
+ "Codex will still ask until you run \"",
+ ["cliCommand"],
+ " init\" in a terminal for this project."
+ ],
"sW5OjU": ["required"],
"sZ2IOu": [
"This ",
@@ -5606,6 +5621,13 @@
"vGeNNQ": ["Copy a prompt and paste it into your agent to set up your project."],
"vGjmyl": ["Deleted"],
"vHlhDc": ["Double-click to edit"],
+ "vHw_jF": [
+ "Couldn't reach collab server — ",
+ ["errorDetail"],
+ ". Try <0>",
+ ["cliCommand"],
+ " status</0> or check <1>.ok/local/last-spawn-error.log</1>."
+ ],
"vIxrEk": ["Fit width"],
"vLyv1R": ["Hide"],
"vO2v-0": ["Hide Others"],
diff --git a/packages/app/src/locales/en/messages.po b/packages/app/src/locales/en/messages.po
index 19170d221..1ca361a4d 100644
--- a/packages/app/src/locales/en/messages.po
+++ b/packages/app/src/locales/en/messages.po
@@ -2200,8 +2200,8 @@ msgid "Applies to all projects on this machine, in Claude Code and Codex chats i
msgstr "Applies to all projects on this machine, in Claude Code and Codex chats in the Agents panel started after you turn it on. The agent can open pages, click, type, and take screenshots in its own Google Chrome window with a fresh profile. Needs Google Chrome and Node.js installed. Every browser action asks for your approval, with no option to always allow it, unless the agent's own mode or permission settings skip approvals."
#: src/components/settings/TerminalSection.tsx
-msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"ok open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
-msgstr "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"ok open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
+msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"{cliCommand} open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
+msgstr "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"{cliCommand} open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
#: src/components/settings/ScopeBadge.tsx
msgid "Applies to this project on this computer only. Stored in .ok/local, not shared via git."
@@ -2529,8 +2529,8 @@ msgid "Available in every project on this machine. Not shared through git."
msgstr "Available in every project on this machine. Not shared through git."
#: src/components/settings/SharingSection.tsx
-msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
-msgstr "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgstr "Available in the OpenKnowledge desktop app. From a terminal, use<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
#: src/components/acp/ThreadHistoryPanel.tsx
#: src/components/AppMenubar.tsx
@@ -3450,8 +3450,8 @@ msgid "Code field undo or redo"
msgstr "Code field undo or redo"
#: src/components/settings/TerminalSection.tsx
-msgid "Codex will still ask until you run \"ok init\" in a terminal for this project."
-msgstr "Codex will still ask until you run \"ok init\" in a terminal for this project."
+msgid "Codex will still ask until you run \"{cliCommand} init\" in a terminal for this project."
+msgstr "Codex will still ask until you run \"{cliCommand} init\" in a terminal for this project."
#: src/components/AutoSyncEnableWarning.tsx
msgid "Collaborators see your in-progress edits as soon as they sync."
@@ -4476,8 +4476,8 @@ msgid "Couldn't reach {displayName} — try again?"
msgstr "Couldn't reach {displayName} — try again?"
#: src/components/ConnectingBanner.tsx
-msgid "Couldn't reach collab server — {errorDetail}. Try <0>ok status</0> or check <1>.ok/local/last-spawn-error.log</1>."
-msgstr "Couldn't reach collab server — {errorDetail}. Try <0>ok status</0> or check <1>.ok/local/last-spawn-error.log</1>."
+msgid "Couldn't reach collab server — {errorDetail}. Try <0>{cliCommand} status</0> or check <1>.ok/local/last-spawn-error.log</1>."
+msgstr "Couldn't reach collab server — {errorDetail}. Try <0>{cliCommand} status</0> or check <1>.ok/local/last-spawn-error.log</1>."
#: src/components/PublishToGitHubDialog.tsx
#: src/lib/share/publish-wizard.ts
@@ -4604,8 +4604,8 @@ msgid "Couldn't restart the server automatically. Try running `{cliCommand} stop
msgstr "Couldn't restart the server automatically. Try running `{cliCommand} stop all` in a terminal, then reopen this project — or restart your computer if it persists."
#: src/components/settings/NetworkAccessSection.tsx
-msgid "Couldn't restart the server. Run ok start in this folder to retry."
-msgstr "Couldn't restart the server. Run ok start in this folder to retry."
+msgid "Couldn't restart the server. Run {cliCommand} start in this folder to retry."
+msgstr "Couldn't restart the server. Run {cliCommand} start in this folder to retry."
#: src/lib/restart-collab-server.ts
msgid "Couldn't restart the server. Try `{cliCommand} start` in this folder."
@@ -9319,8 +9319,8 @@ msgid "Network error — please try again"
msgstr "Network error — please try again"
#: src/components/ConnectingBanner.tsx
-msgid "network error (is `ok start` running?)"
-msgstr "network error (is `ok start` running?)"
+msgid "network error (is `{cliCommand} start` running?)"
+msgstr "network error (is `{cliCommand} start` running?)"
#: src/components/FileTree.tsx
msgid "Network error during cleanup"
@@ -9608,8 +9608,8 @@ msgid "No chats yet."
msgstr "No chats yet."
#: src/components/ConnectingBanner.tsx
-msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
-msgstr "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
+msgid "No collab server for this worktree — run <0>{cliCommand} start</0> here, or reopen the project."
+msgstr "No collab server for this worktree — run <0>{cliCommand} start</0> here, or reopen the project."
#: src/comments/CommentProjectPanel.tsx
msgid "No comments in this project yet. Comment on a passage to start one."
@@ -15986,8 +15986,8 @@ msgid "token"
msgstr "token"
#: src/components/settings/AccountSection.tsx
-msgid "Token stored for {login} on {host}. To remove it, run <0>ok auth signout --host {host}</0>."
-msgstr "Token stored for {login} on {host}. To remove it, run <0>ok auth signout --host {host}</0>."
+msgid "Token stored for {login} on {host}. To remove it, run <0>{cliCommand} auth signout --host {host}</0>."
+msgstr "Token stored for {login} on {host}. To remove it, run <0>{cliCommand} auth signout --host {host}</0>."
#: src/components/SkillBundlePreview.tsx
#: src/components/SkillProperties.tsx
@@ -17050,8 +17050,8 @@ msgid "You can add"
msgstr "You can add"
#: src/components/ReportBugDialogBody.tsx
-msgid "You can also create one from a terminal with <0>ok bug-report</0>."
-msgstr "You can also create one from a terminal with <0>ok bug-report</0>."
+msgid "You can also create one from a terminal with <0>{cliCommand} bug-report</0>."
+msgstr "You can also create one from a terminal with <0>{cliCommand} bug-report</0>."
#: src/components/TerminalGate.tsx
msgid "You can also manage this in Settings."
diff --git a/packages/app/src/locales/es/messages.json b/packages/app/src/locales/es/messages.json
index 9baee1057..5f0b463bd 100644
--- a/packages/app/src/locales/es/messages.json
+++ b/packages/app/src/locales/es/messages.json
@@ -317,7 +317,6 @@
"2IYGkU": [
"Este documento tiene cambios sin subir. Quien lo reciba verá la última versión subida."
],
- "2L8aeZ": ["error de red (¿está `ok start` en ejecución?)"],
"2M0JF6": ["Actualización automática"],
"2O5Z0r": ["Ocultar ", ["appName"]],
"2QM24L": ["Todas las etiquetas"],
@@ -560,15 +559,6 @@
"Incrustación de HTML aislada: escribe HTML y ve la vista previa renderizada en vivo."
],
"4nj6n8": ["/api/config devolvió HTTP ", ["code"]],
- "4p8Baj": [
- "Token guardado para ",
- ["login"],
- " en ",
- ["host"],
- ". Para quitarlo, ejecuta <0>ok auth signout --host ",
- ["host"],
- "</0>."
- ],
"4pDZ2N": [
"Se quitó \"",
["0"],
@@ -628,7 +618,6 @@
],
"5OTgC7": ["Abre y enfoca el compositor de prompts de Preguntar a la IA de abajo."],
"5OqaJi": ["Escribe un nombre de proyecto"],
- "5PHgV2": ["También puedes crear uno desde una terminal con <0>ok bug-report</0>."],
"5QGTaA": ["No se pudo copiar la ruta relativa"],
"5RiC8D": [
"Las habilidades de descubrimiento se administran juntas para todas las herramientas de IA. Instala esta desde Ajustes → Estudio de habilidades."
@@ -657,9 +646,6 @@
],
"5UccRr": ["Última actividad: ", ["lastActivity"]],
"5WDhAk": ["Enlaza a una página o a una URL externa."],
- "5W_u0E": [
- "No se pudo reiniciar el servidor. Ejecuta ok start en esta carpeta para reintentar."
- ],
"5Y17qa": ["Se aplica a (globs; un ! inicial excluye; vacío significa todos los documentos)"],
"5YWCV_": ["Respuesta de plan con formato incorrecto"],
"5ZB7XC": ["Zona para soltar archivos"],
@@ -880,9 +866,6 @@
],
"7Y9yTo": ["Se creó ", ["owner"], "/", ["name"], ", pero falló el envío."],
"7YJr6i": ["El shell de esta sesión nunca se inició."],
- "7YRrJ9": [
- "Disponible en la aplicación de escritorio de OpenKnowledge. Desde una terminal, usa<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
- ],
"7ZpNC-": ["gh"],
"7_bFEL": ["Arrastra ", ["patternText"], " para reordenar"],
"7a0YcF": ["Pulsa <0>Espacio</0> o toca el blob para empezar"],
@@ -1151,9 +1134,6 @@
"A5hiCy": ["Crear plantilla"],
"A67Uwj": ["Todavía cargando"],
"A6h5b-": ["Archivo duplicado"],
- "AAlr5Y": [
- "No hay servidor de colaboración para este worktree: ejecuta <0>ok start</0> aquí o vuelve a abrir el proyecto."
- ],
"AB4qw9": ["Terminal nueva"],
"ABq-cq": ["OpenKnowledge creó un enlace para compartir"],
"ACKMCN": ["No se pudieron cargar los ajustes de la habilidad: ", ["0"]],
@@ -2122,6 +2102,11 @@
"JlFcis": ["Enviar"],
"JmfgFc": ["(un worktree de ", ["0"], ")"],
"Jnz9AY": [["0"], " está sobre ", ["destination"], "."],
+ "JpDb1D": [
+ "No se pudo reiniciar el servidor. Ejecuta ",
+ ["cliCommand"],
+ " start en esta carpeta para reintentar."
+ ],
"Jqqevv": ["Error del sistema"],
"JrqL_z": ["Insertar fila encima"],
"Jrwm42": ["No se pudieron cargar tus agentes."],
@@ -2220,9 +2205,6 @@
],
"KmydK6": ["Negrita"],
"KnoB--": ["Se guardará como <0>", ["sanitized"], "</0>."],
- "Kr3VPS": [
- "Codex seguirá preguntando hasta que ejecutes \"ok init\" en una terminal para este proyecto."
- ],
"KsAPaB": ["Esta rama está extraída en:"],
"KtACeE": ["Por defecto: <0>", ["0"], "</0>"],
"KujtjC": ["Buscar"],
@@ -2553,6 +2535,11 @@
"NeY1Np": ["Slidev tardó demasiado en iniciarse. Inténtalo de nuevo."],
"NfraGd": ["Otras formas de instalar Slidev"],
"NgZwB0": [["enabledCount"], "/", ["0"], " activos"],
+ "NgqxB9": [
+ "No hay servidor de colaboración para este worktree: ejecuta <0>",
+ ["cliCommand"],
+ " start</0> aquí o vuelve a abrir el proyecto."
+ ],
"Ni4b7h": [
"Los complementos de proyecto son el estándar de autoría de tu proyecto: actívalos o desactívalos aquí. Cada complemento activado tiene su propia página bajo Complementos en la barra lateral de ajustes."
],
@@ -3224,6 +3211,11 @@
["shareBranch"],
"</0>. Cambia y actualiza para abrirlo."
],
+ "UbQzWP": [
+ "Disponible en la aplicación de escritorio de OpenKnowledge. Desde una terminal, usa<0> ",
+ ["cliCommand"],
+ " config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+ ],
"UcTm1A": [
"Lo proporciona la CLI de GitHub (<0>gh</0>) en este equipo. Para cambiar de cuenta o cerrar sesión, ejecuta <1>gh auth</1> en una terminal."
],
@@ -3769,6 +3761,11 @@
"ZjtgI-": ["Paleta de comandos"],
"ZkY0ic": ["Esperando revisión"],
"ZlCe_H": ["No hay idiomas disponibles para la corrección ortográfica."],
+ "Zmg5Ge": [
+ "Se aplica a todos los proyectos de esta máquina. Claude y Codex iniciados desde la terminal integrada, y cualquier agente en un chat del panel de agentes de la app, aprueban automáticamente las herramientas de lectura y escritura de OpenKnowledge (Claude también ejecuta \"",
+ ["cliCommand"],
+ " open\" automáticamente). Eliminar, mover, compartir, importar o instalar skills, otros comandos y las ediciones de archivos ajenos a OpenKnowledge siguen preguntando. En la terminal, Cursor, OpenCode y Pi no se ven afectados. Según lo permita cada agente."
+ ],
"Zon_qG": ["Origen del espejo <0>", ["label"], "</0>"],
"ZptNUh": ["Mostrar ", ["hidden"], " más"],
"Zs3d0w": [
@@ -4166,9 +4163,6 @@
"cOX1Cj": ["host de git"],
"cOrTMo": ["Tu enlace para compartir está listo abajo."],
"cPAWbl": ["Enviado por correo"],
- "cPgQ_i": [
- "Se aplica a todos los proyectos de esta máquina. Claude y Codex iniciados desde la terminal integrada, y cualquier agente en un chat del panel de agentes de la app, aprueban automáticamente las herramientas de lectura y escritura de OpenKnowledge (Claude también ejecuta \"ok open\" automáticamente). Eliminar, mover, compartir, importar o instalar skills, otros comandos y las ediciones de archivos ajenos a OpenKnowledge siguen preguntando. En la terminal, Cursor, OpenCode y Pi no se ven afectados. Según lo permita cada agente."
- ],
"cQlPDN": ["Leer"],
"cRHuuI": ["No se pudo copiar la ruta"],
"cRm498": [
@@ -4278,6 +4272,7 @@
"</1>, en su propio worktree dentro de <2>.ok/worktrees/</2>."
],
"dGcsnU": ["Quitar para ambos"],
+ "dHaD0-": ["error de red (¿está `", ["cliCommand"], " start` en ejecución?)"],
"dIYSqk": ["remoto"],
"dJw2_7": ["Guardado con el proyecto para tu equipo."],
"dMsx3p": ["Página de inicio y centro de navegación."],
@@ -5164,6 +5159,11 @@
"Carpetas y plantillas ya hechas para empezar rápido. Selecciona un paquete para ver qué se crea y añádelo después a tu proyecto."
],
"k5rKNs": ["frontmatter"],
+ "k6Gfom": [
+ "También puedes crear uno desde una terminal con <0>",
+ ["cliCommand"],
+ " bug-report</0>."
+ ],
"k7Hoig": ["No hay cambios de contenido en esta versión."],
"kBNHN1": ["Historial de navegación"],
"kCjkGY": ["Esto puede tardar un momento. Tu contenido markdown se conserva."],
@@ -5589,11 +5589,6 @@
"nnhrHd": [
"Deja fuera de Problemas, de los indicadores del explorador de archivos, de los diagnósticos del editor, de las auditorías y de los avisos de escritura para agentes los enlaces rotos escritos dentro de un log.md o log.mdx en cualquier nivel de carpeta. Lo que cuenta es el archivo donde está escrito el enlace, no el archivo al que apunta, y LOG.md es un documento normal. El panel Enlaces y el editor siguen mostrándolos."
],
- "noH1JX": [
- "No se pudo contactar con el servidor de colaboración: ",
- ["errorDetail"],
- ". Prueba <0>ok status</0> o revisa <1>.ok/local/last-spawn-error.log</1>."
- ],
"np2zZM": ["Inicia sesión en ", ["agentName"], " para continuar."],
"npcziF": ["Instalar en"],
"nqV0Kk": [
@@ -5619,6 +5614,17 @@
"o1veZ6": ["No se pudo abrir este documento en una ventana nueva."],
"o49mDZ": ["Cargando el historial de la cronología"],
"o7AkQ0": ["Mostrar resueltos"],
+ "o8OY2K": [
+ "Token guardado para ",
+ ["login"],
+ " en ",
+ ["host"],
+ ". Para quitarlo, ejecuta <0>",
+ ["cliCommand"],
+ " auth signout --host ",
+ ["host"],
+ "</0>."
+ ],
"o9CrsQ": ["nota-de-investigacion"],
"o9fPtM": ["Actualizar automáticamente desde el origen"],
"o9yN4T": ["Mover a la Papelera de reciclaje"],
@@ -6072,6 +6078,11 @@
"sQoLn0": ["Salir"],
"sR0I-f": ["Contraer todos los archivos"],
"sSRndh": ["Comience a mantener index.md"],
+ "sTQjgr": [
+ "Codex seguirá preguntando hasta que ejecutes \"",
+ ["cliCommand"],
+ " init\" en una terminal para este proyecto."
+ ],
"sW5OjU": ["obligatorio"],
"sZ2IOu": [
"Este ",
@@ -6437,6 +6448,13 @@
"vGeNNQ": ["Copia un prompt y pégalo en tu agente para configurar tu proyecto."],
"vGjmyl": ["Eliminado"],
"vHlhDc": ["Haz doble clic para editar"],
+ "vHw_jF": [
+ "No se pudo contactar con el servidor de colaboración: ",
+ ["errorDetail"],
+ ". Prueba <0>",
+ ["cliCommand"],
+ " status</0> o revisa <1>.ok/local/last-spawn-error.log</1>."
+ ],
"vIxrEk": ["Ajustar al ancho"],
"vLyv1R": ["Ocultar"],
"vO2v-0": ["Ocultar los demás"],
diff --git a/packages/app/src/locales/es/messages.po b/packages/app/src/locales/es/messages.po
index fc9aa69ee..964aebc8f 100644
--- a/packages/app/src/locales/es/messages.po
+++ b/packages/app/src/locales/es/messages.po
@@ -2200,8 +2200,8 @@ msgid "Applies to all projects on this machine, in Claude Code and Codex chats i
msgstr "Se aplica a todos los proyectos de esta máquina, en los chats de Claude Code y Codex del panel de agentes que se inicien después de activarlo. El agente puede abrir páginas, hacer clic, escribir y tomar capturas de pantalla en su propia ventana de Google Chrome con un perfil nuevo. Requiere tener Google Chrome y Node.js instalados. Cada acción del navegador pide tu aprobación, sin opción de permitirla siempre, salvo que el propio modo del agente o su configuración de permisos omitan las aprobaciones."
#: src/components/settings/TerminalSection.tsx
-msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"ok open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
-msgstr "Se aplica a todos los proyectos de esta máquina. Claude y Codex iniciados desde la terminal integrada, y cualquier agente en un chat del panel de agentes de la app, aprueban automáticamente las herramientas de lectura y escritura de OpenKnowledge (Claude también ejecuta \"ok open\" automáticamente). Eliminar, mover, compartir, importar o instalar skills, otros comandos y las ediciones de archivos ajenos a OpenKnowledge siguen preguntando. En la terminal, Cursor, OpenCode y Pi no se ven afectados. Según lo permita cada agente."
+msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"{cliCommand} open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
+msgstr "Se aplica a todos los proyectos de esta máquina. Claude y Codex iniciados desde la terminal integrada, y cualquier agente en un chat del panel de agentes de la app, aprueban automáticamente las herramientas de lectura y escritura de OpenKnowledge (Claude también ejecuta \"{cliCommand} open\" automáticamente). Eliminar, mover, compartir, importar o instalar skills, otros comandos y las ediciones de archivos ajenos a OpenKnowledge siguen preguntando. En la terminal, Cursor, OpenCode y Pi no se ven afectados. Según lo permita cada agente."
#: src/components/settings/ScopeBadge.tsx
msgid "Applies to this project on this computer only. Stored in .ok/local, not shared via git."
@@ -2529,8 +2529,8 @@ msgid "Available in every project on this machine. Not shared through git."
msgstr "Disponible en todos los proyectos de este equipo. No se comparte por git."
#: src/components/settings/SharingSection.tsx
-msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
-msgstr "Disponible en la aplicación de escritorio de OpenKnowledge. Desde una terminal, usa<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgstr "Disponible en la aplicación de escritorio de OpenKnowledge. Desde una terminal, usa<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
#: src/components/acp/ThreadHistoryPanel.tsx
#: src/components/AppMenubar.tsx
@@ -3450,8 +3450,8 @@ msgid "Code field undo or redo"
msgstr "Deshacer o rehacer en el campo de código"
#: src/components/settings/TerminalSection.tsx
-msgid "Codex will still ask until you run \"ok init\" in a terminal for this project."
-msgstr "Codex seguirá preguntando hasta que ejecutes \"ok init\" en una terminal para este proyecto."
+msgid "Codex will still ask until you run \"{cliCommand} init\" in a terminal for this project."
+msgstr "Codex seguirá preguntando hasta que ejecutes \"{cliCommand} init\" en una terminal para este proyecto."
#: src/components/AutoSyncEnableWarning.tsx
msgid "Collaborators see your in-progress edits as soon as they sync."
@@ -4476,8 +4476,8 @@ msgid "Couldn't reach {displayName} — try again?"
msgstr "No se pudo conectar con {displayName}. ¿Reintentar?"
#: src/components/ConnectingBanner.tsx
-msgid "Couldn't reach collab server — {errorDetail}. Try <0>ok status</0> or check <1>.ok/local/last-spawn-error.log</1>."
-msgstr "No se pudo contactar con el servidor de colaboración: {errorDetail}. Prueba <0>ok status</0> o revisa <1>.ok/local/last-spawn-error.log</1>."
+msgid "Couldn't reach collab server — {errorDetail}. Try <0>{cliCommand} status</0> or check <1>.ok/local/last-spawn-error.log</1>."
+msgstr "No se pudo contactar con el servidor de colaboración: {errorDetail}. Prueba <0>{cliCommand} status</0> o revisa <1>.ok/local/last-spawn-error.log</1>."
#: src/components/PublishToGitHubDialog.tsx
#: src/lib/share/publish-wizard.ts
@@ -4604,8 +4604,8 @@ msgid "Couldn't restart the server automatically. Try running `{cliCommand} stop
msgstr "No se pudo reiniciar el servidor automáticamente. Prueba a ejecutar `{cliCommand} stop all` en una terminal y vuelve a abrir este proyecto; si sigue igual, reinicia el equipo."
#: src/components/settings/NetworkAccessSection.tsx
-msgid "Couldn't restart the server. Run ok start in this folder to retry."
-msgstr "No se pudo reiniciar el servidor. Ejecuta ok start en esta carpeta para reintentar."
+msgid "Couldn't restart the server. Run {cliCommand} start in this folder to retry."
+msgstr "No se pudo reiniciar el servidor. Ejecuta {cliCommand} start en esta carpeta para reintentar."
#: src/lib/restart-collab-server.ts
msgid "Couldn't restart the server. Try `{cliCommand} start` in this folder."
@@ -9319,8 +9319,8 @@ msgid "Network error — please try again"
msgstr "Error de red: inténtalo de nuevo"
#: src/components/ConnectingBanner.tsx
-msgid "network error (is `ok start` running?)"
-msgstr "error de red (¿está `ok start` en ejecución?)"
+msgid "network error (is `{cliCommand} start` running?)"
+msgstr "error de red (¿está `{cliCommand} start` en ejecución?)"
#: src/components/FileTree.tsx
msgid "Network error during cleanup"
@@ -9608,8 +9608,8 @@ msgid "No chats yet."
msgstr "Aún no hay chats."
#: src/components/ConnectingBanner.tsx
-msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
-msgstr "No hay servidor de colaboración para este worktree: ejecuta <0>ok start</0> aquí o vuelve a abrir el proyecto."
+msgid "No collab server for this worktree — run <0>{cliCommand} start</0> here, or reopen the project."
+msgstr "No hay servidor de colaboración para este worktree: ejecuta <0>{cliCommand} start</0> aquí o vuelve a abrir el proyecto."
#: src/comments/CommentProjectPanel.tsx
msgid "No comments in this project yet. Comment on a passage to start one."
@@ -15986,8 +15986,8 @@ msgid "token"
msgstr "token"
#: src/components/settings/AccountSection.tsx
-msgid "Token stored for {login} on {host}. To remove it, run <0>ok auth signout --host {host}</0>."
-msgstr "Token guardado para {login} en {host}. Para quitarlo, ejecuta <0>ok auth signout --host {host}</0>."
+msgid "Token stored for {login} on {host}. To remove it, run <0>{cliCommand} auth signout --host {host}</0>."
+msgstr "Token guardado para {login} en {host}. Para quitarlo, ejecuta <0>{cliCommand} auth signout --host {host}</0>."
#: src/components/SkillBundlePreview.tsx
#: src/components/SkillProperties.tsx
@@ -17050,8 +17050,8 @@ msgid "You can add"
msgstr "Puedes añadir"
#: src/components/ReportBugDialogBody.tsx
-msgid "You can also create one from a terminal with <0>ok bug-report</0>."
-msgstr "También puedes crear uno desde una terminal con <0>ok bug-report</0>."
+msgid "You can also create one from a terminal with <0>{cliCommand} bug-report</0>."
+msgstr "También puedes crear uno desde una terminal con <0>{cliCommand} bug-report</0>."
#: src/components/TerminalGate.tsx
msgid "You can also manage this in Settings."
diff --git a/packages/app/src/locales/fr/messages.json b/packages/app/src/locales/fr/messages.json
index d9946bcee..47aaa090c 100644
--- a/packages/app/src/locales/fr/messages.json
+++ b/packages/app/src/locales/fr/messages.json
@@ -335,7 +335,6 @@
"2IYGkU": [
"Ce document a des modifications non poussées. Les destinataires verront la dernière version poussée."
],
- "2L8aeZ": ["erreur réseau (`ok start` est-il en cours d'exécution ?)"],
"2M0JF6": ["Mise à jour automatique"],
"2O5Z0r": ["Masquer ", ["appName"]],
"2QM24L": ["Toutes les étiquettes"],
@@ -580,15 +579,6 @@
"Intégration HTML en bac à sable — écrivez du HTML, voyez l'aperçu se rendre en direct."
],
"4nj6n8": ["/api/config a renvoyé HTTP ", ["code"]],
- "4p8Baj": [
- "Jeton enregistré pour ",
- ["login"],
- " sur ",
- ["host"],
- ". Pour le supprimer, exécutez <0>ok auth signout --host ",
- ["host"],
- "</0>."
- ],
"4pDZ2N": [
"« ",
["0"],
@@ -655,7 +645,6 @@
],
"5OTgC7": ["Ouvre et met le focus sur la zone d'invite Demander à l'IA en bas."],
"5OqaJi": ["Saisissez un nom de projet"],
- "5PHgV2": ["Vous pouvez aussi en créer un depuis un terminal avec <0>ok bug-report</0>."],
"5QGTaA": ["Impossible de copier le chemin relatif"],
"5RiC8D": [
"Les compétences de découverte sont gérées ensemble pour tous les outils d’IA. Installez celle-ci depuis Paramètres → Studio de compétences."
@@ -684,9 +673,6 @@
],
"5UccRr": ["Dernière activité : ", ["lastActivity"]],
"5WDhAk": ["Lien vers une page ou une URL externe."],
- "5W_u0E": [
- "Impossible de redémarrer le serveur. Exécutez ok start dans ce dossier pour réessayer."
- ],
"5Y17qa": ["S'applique à (globs — un ! initial exclut ; vide signifie tous les documents)"],
"5YWCV_": ["Réponse de plan mal formée"],
"5ZB7XC": ["Zone de dépôt de fichiers"],
@@ -913,9 +899,6 @@
],
"7Y9yTo": [["owner"], "/", ["name"], " a été créé, mais l'envoi a échoué."],
"7YJr6i": ["Le shell de cette session n'a jamais démarré."],
- "7YRrJ9": [
- "Disponible dans l'application de bureau OpenKnowledge. Depuis un terminal, utilisez<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
- ],
"7ZpNC-": ["gh"],
"7_bFEL": ["Faites glisser ", ["patternText"], " pour réorganiser"],
"7a0YcF": ["Appuyez sur <0>Espace</0> ou touchez le blob pour commencer"],
@@ -1184,9 +1167,6 @@
"A5hiCy": ["Créer un modèle"],
"A67Uwj": ["Chargement en cours"],
"A6h5b-": ["Fichier dupliqué"],
- "AAlr5Y": [
- "Aucun serveur de collaboration pour ce worktree — exécutez <0>ok start</0> ici, ou rouvrez le projet."
- ],
"AB4qw9": ["Nouveau terminal"],
"ABq-cq": ["OpenKnowledge a créé un lien de partage"],
"ACKMCN": ["Échec du chargement des paramètres de la compétence : ", ["0"]],
@@ -2160,6 +2140,11 @@
"JlFcis": ["Envoyer"],
"JmfgFc": ["(un worktree de ", ["0"], ")"],
"Jnz9AY": [["0"], " est au-dessus de ", ["destination"], "."],
+ "JpDb1D": [
+ "Impossible de redémarrer le serveur. Exécutez ",
+ ["cliCommand"],
+ " start dans ce dossier pour réessayer."
+ ],
"Jqqevv": ["Erreur système"],
"JrqL_z": ["Insérer une ligne au-dessus"],
"Jrwm42": ["Impossible de charger vos agents."],
@@ -2262,9 +2247,6 @@
],
"KmydK6": ["Gras"],
"KnoB--": ["Sera enregistré sous <0>", ["sanitized"], "</0>."],
- "Kr3VPS": [
- "Codex continuera de demander tant que vous n'aurez pas exécuté « ok init » dans un terminal pour ce projet."
- ],
"KsAPaB": ["Cette branche est extraite dans :"],
"KtACeE": ["Par défaut : <0>", ["0"], "</0>"],
"KujtjC": ["Rechercher"],
@@ -2599,6 +2581,11 @@
"NeY1Np": ["Slidev a mis trop de temps à démarrer. Réessayez."],
"NfraGd": ["Autres méthodes d'installation de Slidev"],
"NgZwB0": [["enabledCount"], "/", ["0"], " activés"],
+ "NgqxB9": [
+ "Aucun serveur de collaboration pour ce worktree — exécutez <0>",
+ ["cliCommand"],
+ " start</0> ici, ou rouvrez le projet."
+ ],
"Ni4b7h": [
"Les plugins de projet constituent la norme de rédaction de votre projet — activez-les ou désactivez-les ici. Chaque plugin activé obtient sa propre page sous Plugins dans la barre latérale des paramètres."
],
@@ -3274,6 +3261,11 @@
["shareBranch"],
"</0>. Changez de branche et mettez à jour pour l'ouvrir."
],
+ "UbQzWP": [
+ "Disponible dans l'application de bureau OpenKnowledge. Depuis un terminal, utilisez<0> ",
+ ["cliCommand"],
+ " config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+ ],
"UcTm1A": [
"Fourni par la CLI GitHub (<0>gh</0>) sur cet ordinateur. Pour changer de compte ou vous déconnecter, exécutez <1>gh auth</1> dans un terminal."
],
@@ -3824,6 +3816,11 @@
"ZjtgI-": ["Palette de commandes"],
"ZkY0ic": ["En attente de revue"],
"ZlCe_H": ["Aucune langue n'est disponible pour la correction orthographique."],
+ "Zmg5Ge": [
+ "S'applique à tous les projets de cette machine. Claude et Codex lancés depuis le terminal intégré, ainsi que tout agent dans un chat du panneau Agents de l'app, approuvent automatiquement les outils de lecture et d'écriture d'OpenKnowledge (Claude exécute aussi \"",
+ ["cliCommand"],
+ " open\" automatiquement). Supprimer, déplacer, partager, importer ou installer des skills, les autres commandes et les modifications de fichiers hors OpenKnowledge demandent toujours confirmation. Dans le terminal, Cursor, OpenCode et Pi ne sont pas concernés. Au mieux, selon l'agent."
+ ],
"Zon_qG": ["Source du miroir <0>", ["label"], "</0>"],
"ZptNUh": ["Afficher ", ["hidden"], " de plus"],
"Zs3d0w": [
@@ -4220,9 +4217,6 @@
"cOX1Cj": ["hôte git"],
"cOrTMo": ["Votre lien de partage est prêt ci-dessous."],
"cPAWbl": ["Envoyé par e-mail"],
- "cPgQ_i": [
- "S'applique à tous les projets de cette machine. Claude et Codex lancés depuis le terminal intégré, ainsi que tout agent dans un chat du panneau Agents de l'app, approuvent automatiquement les outils de lecture et d'écriture d'OpenKnowledge (Claude exécute aussi \"ok open\" automatiquement). Supprimer, déplacer, partager, importer ou installer des skills, les autres commandes et les modifications de fichiers hors OpenKnowledge demandent toujours confirmation. Dans le terminal, Cursor, OpenCode et Pi ne sont pas concernés. Au mieux, selon l'agent."
- ],
"cQlPDN": ["Lire"],
"cRHuuI": ["Impossible de copier le chemin"],
"cRm498": [
@@ -4338,6 +4332,7 @@
"</1>, dans son propre worktree sous <2>.ok/worktrees/</2>."
],
"dGcsnU": ["Retirer pour les deux"],
+ "dHaD0-": ["erreur réseau (`", ["cliCommand"], " start` est-il en cours d'exécution ?)"],
"dIYSqk": ["distant"],
"dJw2_7": ["Enregistré avec le projet pour votre équipe."],
"dMsx3p": ["Page d'accueil et pivot de navigation."],
@@ -5209,6 +5204,11 @@
"Des dossiers et des modèles prêts à l'emploi pour démarrer rapidement. Sélectionnez un pack pour prévisualiser ce qui sera créé, puis ajoutez-le à votre projet."
],
"k5rKNs": ["frontmatter"],
+ "k6Gfom": [
+ "Vous pouvez aussi en créer un depuis un terminal avec <0>",
+ ["cliCommand"],
+ " bug-report</0>."
+ ],
"k7Hoig": ["Aucune modification de contenu dans cette version."],
"kBNHN1": ["Historique de navigation"],
"kCjkGY": ["Cela peut prendre un moment. Votre contenu markdown est conservé."],
@@ -5640,11 +5640,6 @@
"nnhrHd": [
"Excluez des Problèmes, des indicateurs de l’explorateur de fichiers, des diagnostics de l’éditeur, des audits et des avis d’écriture des agents les liens rompus écrits dans un fichier log.md ou log.mdx, quelle que soit la profondeur du dossier. C’est le fichier dans lequel le lien est écrit qui compte, et non celui qu’il cible, et LOG.md reste un document ordinaire. Le panneau Liens et l’éditeur continuent de les afficher."
],
- "noH1JX": [
- "Impossible de joindre le serveur de collaboration — ",
- ["errorDetail"],
- ". Essayez <0>ok status</0> ou consultez <1>.ok/local/last-spawn-error.log</1>."
- ],
"np2zZM": ["Connectez-vous à ", ["agentName"], " pour continuer."],
"npcziF": ["Installer sur"],
"nqV0Kk": [
@@ -5670,6 +5665,17 @@
"o1veZ6": ["Impossible d'ouvrir ce document dans une nouvelle fenêtre."],
"o49mDZ": ["Chargement de l'historique de la chronologie"],
"o7AkQ0": ["Afficher les résolus"],
+ "o8OY2K": [
+ "Jeton enregistré pour ",
+ ["login"],
+ " sur ",
+ ["host"],
+ ". Pour le supprimer, exécutez <0>",
+ ["cliCommand"],
+ " auth signout --host ",
+ ["host"],
+ "</0>."
+ ],
"o9CrsQ": ["research-note"],
"o9fPtM": ["Mise à jour automatique depuis la source"],
"o9yN4T": ["Mettre à la Corbeille"],
@@ -6145,6 +6151,11 @@
"sQoLn0": ["Quitter"],
"sR0I-f": ["Réduire tous les fichiers"],
"sSRndh": ["Commencez à maintenir index.md"],
+ "sTQjgr": [
+ "Codex continuera de demander tant que vous n'aurez pas exécuté « ",
+ ["cliCommand"],
+ " init » dans un terminal pour ce projet."
+ ],
"sW5OjU": ["obligatoire"],
"sZ2IOu": [
"Ce ",
@@ -6517,6 +6528,13 @@
"vGeNNQ": ["Copiez une invite et collez-la dans votre agent pour configurer votre projet."],
"vGjmyl": ["Supprimé"],
"vHlhDc": ["Double-cliquez pour modifier"],
+ "vHw_jF": [
+ "Impossible de joindre le serveur de collaboration — ",
+ ["errorDetail"],
+ ". Essayez <0>",
+ ["cliCommand"],
+ " status</0> ou consultez <1>.ok/local/last-spawn-error.log</1>."
+ ],
"vIxrEk": ["Ajuster à la largeur"],
"vLyv1R": ["Masquer"],
"vO2v-0": ["Masquer les autres"],
diff --git a/packages/app/src/locales/fr/messages.po b/packages/app/src/locales/fr/messages.po
index cd63c87e9..340ccbe77 100644
--- a/packages/app/src/locales/fr/messages.po
+++ b/packages/app/src/locales/fr/messages.po
@@ -2200,8 +2200,8 @@ msgid "Applies to all projects on this machine, in Claude Code and Codex chats i
msgstr "S'applique à tous les projets de cette machine, dans les chats Claude Code et Codex du panneau Agents démarrés après l'activation. L'agent peut ouvrir des pages, cliquer, saisir du texte et prendre des captures d'écran dans sa propre fenêtre Google Chrome avec un profil vierge. Nécessite que Google Chrome et Node.js soient installés. Chaque action du navigateur demande votre approbation, sans option pour toujours l'autoriser, sauf si le mode de l'agent lui-même ou ses paramètres d'autorisation ignorent les approbations."
#: src/components/settings/TerminalSection.tsx
-msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"ok open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
-msgstr "S'applique à tous les projets de cette machine. Claude et Codex lancés depuis le terminal intégré, ainsi que tout agent dans un chat du panneau Agents de l'app, approuvent automatiquement les outils de lecture et d'écriture d'OpenKnowledge (Claude exécute aussi \"ok open\" automatiquement). Supprimer, déplacer, partager, importer ou installer des skills, les autres commandes et les modifications de fichiers hors OpenKnowledge demandent toujours confirmation. Dans le terminal, Cursor, OpenCode et Pi ne sont pas concernés. Au mieux, selon l'agent."
+msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"{cliCommand} open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
+msgstr "S'applique à tous les projets de cette machine. Claude et Codex lancés depuis le terminal intégré, ainsi que tout agent dans un chat du panneau Agents de l'app, approuvent automatiquement les outils de lecture et d'écriture d'OpenKnowledge (Claude exécute aussi \"{cliCommand} open\" automatiquement). Supprimer, déplacer, partager, importer ou installer des skills, les autres commandes et les modifications de fichiers hors OpenKnowledge demandent toujours confirmation. Dans le terminal, Cursor, OpenCode et Pi ne sont pas concernés. Au mieux, selon l'agent."
#: src/components/settings/ScopeBadge.tsx
msgid "Applies to this project on this computer only. Stored in .ok/local, not shared via git."
@@ -2529,8 +2529,8 @@ msgid "Available in every project on this machine. Not shared through git."
msgstr "Disponible dans tous les projets de cette machine. Non partagé via git."
#: src/components/settings/SharingSection.tsx
-msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
-msgstr "Disponible dans l'application de bureau OpenKnowledge. Depuis un terminal, utilisez<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgstr "Disponible dans l'application de bureau OpenKnowledge. Depuis un terminal, utilisez<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
#: src/components/acp/ThreadHistoryPanel.tsx
#: src/components/AppMenubar.tsx
@@ -3450,8 +3450,8 @@ msgid "Code field undo or redo"
msgstr "Annuler ou rétablir dans un champ de code"
#: src/components/settings/TerminalSection.tsx
-msgid "Codex will still ask until you run \"ok init\" in a terminal for this project."
-msgstr "Codex continuera de demander tant que vous n'aurez pas exécuté « ok init » dans un terminal pour ce projet."
+msgid "Codex will still ask until you run \"{cliCommand} init\" in a terminal for this project."
+msgstr "Codex continuera de demander tant que vous n'aurez pas exécuté « {cliCommand} init » dans un terminal pour ce projet."
#: src/components/AutoSyncEnableWarning.tsx
msgid "Collaborators see your in-progress edits as soon as they sync."
@@ -4476,8 +4476,8 @@ msgid "Couldn't reach {displayName} — try again?"
msgstr "Impossible de joindre {displayName}. Réessayer ?"
#: src/components/ConnectingBanner.tsx
-msgid "Couldn't reach collab server — {errorDetail}. Try <0>ok status</0> or check <1>.ok/local/last-spawn-error.log</1>."
-msgstr "Impossible de joindre le serveur de collaboration — {errorDetail}. Essayez <0>ok status</0> ou consultez <1>.ok/local/last-spawn-error.log</1>."
+msgid "Couldn't reach collab server — {errorDetail}. Try <0>{cliCommand} status</0> or check <1>.ok/local/last-spawn-error.log</1>."
+msgstr "Impossible de joindre le serveur de collaboration — {errorDetail}. Essayez <0>{cliCommand} status</0> ou consultez <1>.ok/local/last-spawn-error.log</1>."
#: src/components/PublishToGitHubDialog.tsx
#: src/lib/share/publish-wizard.ts
@@ -4604,8 +4604,8 @@ msgid "Couldn't restart the server automatically. Try running `{cliCommand} stop
msgstr "Impossible de redémarrer automatiquement le serveur. Essayez d'exécuter `{cliCommand} stop all` dans un terminal, puis rouvrez ce projet — ou redémarrez votre ordinateur si le problème persiste."
#: src/components/settings/NetworkAccessSection.tsx
-msgid "Couldn't restart the server. Run ok start in this folder to retry."
-msgstr "Impossible de redémarrer le serveur. Exécutez ok start dans ce dossier pour réessayer."
+msgid "Couldn't restart the server. Run {cliCommand} start in this folder to retry."
+msgstr "Impossible de redémarrer le serveur. Exécutez {cliCommand} start dans ce dossier pour réessayer."
#: src/lib/restart-collab-server.ts
msgid "Couldn't restart the server. Try `{cliCommand} start` in this folder."
@@ -9319,8 +9319,8 @@ msgid "Network error — please try again"
msgstr "Erreur réseau — veuillez réessayer"
#: src/components/ConnectingBanner.tsx
-msgid "network error (is `ok start` running?)"
-msgstr "erreur réseau (`ok start` est-il en cours d'exécution ?)"
+msgid "network error (is `{cliCommand} start` running?)"
+msgstr "erreur réseau (`{cliCommand} start` est-il en cours d'exécution ?)"
#: src/components/FileTree.tsx
msgid "Network error during cleanup"
@@ -9608,8 +9608,8 @@ msgid "No chats yet."
msgstr "Aucune discussion pour le moment."
#: src/components/ConnectingBanner.tsx
-msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
-msgstr "Aucun serveur de collaboration pour ce worktree — exécutez <0>ok start</0> ici, ou rouvrez le projet."
+msgid "No collab server for this worktree — run <0>{cliCommand} start</0> here, or reopen the project."
+msgstr "Aucun serveur de collaboration pour ce worktree — exécutez <0>{cliCommand} start</0> ici, ou rouvrez le projet."
#: src/comments/CommentProjectPanel.tsx
msgid "No comments in this project yet. Comment on a passage to start one."
@@ -15986,8 +15986,8 @@ msgid "token"
msgstr "jeton"
#: src/components/settings/AccountSection.tsx
-msgid "Token stored for {login} on {host}. To remove it, run <0>ok auth signout --host {host}</0>."
-msgstr "Jeton enregistré pour {login} sur {host}. Pour le supprimer, exécutez <0>ok auth signout --host {host}</0>."
+msgid "Token stored for {login} on {host}. To remove it, run <0>{cliCommand} auth signout --host {host}</0>."
+msgstr "Jeton enregistré pour {login} sur {host}. Pour le supprimer, exécutez <0>{cliCommand} auth signout --host {host}</0>."
#: src/components/SkillBundlePreview.tsx
#: src/components/SkillProperties.tsx
@@ -17050,8 +17050,8 @@ msgid "You can add"
msgstr "Vous pouvez ajouter"
#: src/components/ReportBugDialogBody.tsx
-msgid "You can also create one from a terminal with <0>ok bug-report</0>."
-msgstr "Vous pouvez aussi en créer un depuis un terminal avec <0>ok bug-report</0>."
+msgid "You can also create one from a terminal with <0>{cliCommand} bug-report</0>."
+msgstr "Vous pouvez aussi en créer un depuis un terminal avec <0>{cliCommand} bug-report</0>."
#: src/components/TerminalGate.tsx
msgid "You can also manage this in Settings."
diff --git a/packages/app/src/locales/hi/messages.json b/packages/app/src/locales/hi/messages.json
index 01d6c9ebd..76a3b642c 100644
--- a/packages/app/src/locales/hi/messages.json
+++ b/packages/app/src/locales/hi/messages.json
@@ -269,7 +269,6 @@
"2GT3Hf": ["वैश्विक"],
"2H5Zhu": ["रिपोर्ट की जाँच करके भेजने तक आपके कंप्यूटर से कुछ भी बाहर नहीं जाता।"],
"2IYGkU": ["इस दस्तावेज़ में बिना भेजे बदलाव हैं। पाने वालों को आख़िरी बार भेजा गया संस्करण दिखेगा।"],
- "2L8aeZ": ["नेटवर्क त्रुटि (क्या `ok start` चल रहा है?)"],
"2M0JF6": ["स्वत: अपडेट"],
"2O5Z0r": [["appName"], " छिपाएँ"],
"2QM24L": ["सभी टैग"],
@@ -472,14 +471,6 @@
"4mp6Tv": ["OpenKnowledge ने इंस्टॉल की गई स्किल सूचीबद्ध कीं"],
"4niEzY": ["सैंडबॉक्स किया गया HTML एम्बेड — HTML लिखें, रेंडर किया गया पूर्वावलोकन तुरंत देखें।"],
"4nj6n8": ["/api/config ने HTTP ", ["code"], " लौटाया"],
- "4p8Baj": [
- ["host"],
- " पर ",
- ["login"],
- " के लिए टोकन सहेजा गया। इसे हटाने के लिए <0>ok auth signout --host ",
- ["host"],
- "</0> चलाएँ।"
- ],
"4pDZ2N": ["\"", ["0"], "\" को बाकी हर स्थान से हटा दिया गया — इसका स्रोत फ़ोल्डर अब भी लोड होता है"],
"4r6p_B": [
"इस कमांड में छिपे हुए वर्ण हैं, जिनके कारण यह जो असल में चलता है उससे अलग दिख सकता है। इन्हें यहाँ ⟨U+…⟩ के रूप में दिखाया गया है।"
@@ -527,7 +518,6 @@
],
"5OTgC7": ["नीचे वाली Ask AI प्रॉम्प्ट लेखन-पट्टी खोलें और उस पर फ़ोकस करें।"],
"5OqaJi": ["एक प्रोजेक्ट नाम डालें"],
- "5PHgV2": ["आप इसे टर्मिनल से <0>ok bug-report</0> के ज़रिए भी बना सकते हैं।"],
"5QGTaA": ["सापेक्ष पथ कॉपी नहीं किया जा सका"],
"5RiC8D": [
"डिस्कवरी स्किल सभी AI टूल के लिए एक साथ प्रबंधित किए जाते हैं। इसे सेटिंग → स्किल स्टूडियो से इंस्टॉल करें।"
@@ -545,7 +535,6 @@
],
"5UccRr": ["पिछली गतिविधि: ", ["lastActivity"]],
"5WDhAk": ["किसी पेज या बाहरी URL से लिंक करें।"],
- "5W_u0E": ["सर्वर पुनः आरंभ नहीं किया जा सका। पुनः प्रयास करने के लिए इस फ़ोल्डर में ok start चलाएँ।"],
"5Y17qa": ["किस पर लागू (ग्लोब — शुरू में ! बाहर रखता है; खाली का अर्थ हर दस्तावेज़)"],
"5YWCV_": ["प्लान प्रतिक्रिया का प्रारूप गलत है"],
"5ZB7XC": ["फ़ाइल छोड़ने का क्षेत्र"],
@@ -734,9 +723,6 @@
"7WnfoD": ["यह रिपोर्ट पहले ही रास्ते में है। इसका नतीजा बग रिपोर्ट इतिहास में दिखेगा।"],
"7Y9yTo": [["owner"], "/", ["name"], " बन गया, लेकिन पुश विफल रहा।"],
"7YJr6i": ["इस सत्र का शेल कभी शुरू नहीं हुआ।"],
- "7YRrJ9": [
- "OpenKnowledge डेस्कटॉप ऐप में उपलब्ध। टर्मिनल से <0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2> का उपयोग करें।"
- ],
"7ZpNC-": ["gh"],
"7_bFEL": ["क्रम बदलने के लिए ", ["patternText"], " खींचें"],
"7a0YcF": ["शुरू करने के लिए <0>स्पेस</0> दबाएँ या blob पर टैप करें"],
@@ -960,9 +946,6 @@
"A5hiCy": ["टेम्पलेट बनाएँ"],
"A67Uwj": ["अब भी लोड हो रहा है"],
"A6h5b-": ["फ़ाइल की नकल बनाई गई"],
- "AAlr5Y": [
- "इस वर्कट्री के लिए कोई सहयोग सर्वर नहीं — यहाँ <0>ok start</0> चलाएँ, या प्रोजेक्ट दोबारा खोलें।"
- ],
"AB4qw9": ["नया टर्मिनल"],
"ABq-cq": ["OpenKnowledge ने साझा लिंक बनाया"],
"ACKMCN": ["स्किल सेटिंग लोड करने में विफल: ", ["0"]],
@@ -1767,6 +1750,11 @@
"JlFcis": ["भेजें"],
"JmfgFc": ["(", ["0"], " का एक वर्कट्री)"],
"Jnz9AY": [["0"], " ", ["destination"], " के ऊपर है।"],
+ "JpDb1D": [
+ "सर्वर पुनः आरंभ नहीं किया जा सका। पुनः प्रयास करने के लिए इस फ़ोल्डर में ",
+ ["cliCommand"],
+ " start चलाएँ।"
+ ],
"Jqqevv": ["सिस्टम त्रुटि"],
"JrqL_z": ["ऊपर पंक्ति जोड़ें"],
"Jrwm42": ["आपके एजेंट लोड नहीं हो सके।"],
@@ -1860,7 +1848,6 @@
],
"KmydK6": ["गाढ़ा"],
"KnoB--": ["<0>", ["sanitized"], "</0> के रूप में सहेजा जाएगा।"],
- "Kr3VPS": ["जब तक आप इस प्रोजेक्ट के लिए टर्मिनल में \"ok init\" नहीं चलाते, Codex पूछता रहेगा।"],
"KsAPaB": ["यह ब्रांच यहाँ चेक आउट है:"],
"KtACeE": ["डिफ़ॉल्ट: <0>", ["0"], "</0>"],
"KujtjC": ["खोजें"],
@@ -2134,6 +2121,11 @@
"NeY1Np": ["Slidev शुरू होने में बहुत समय लगा। फिर से कोशिश करें।"],
"NfraGd": ["Slidev इंस्टॉल करने के अन्य तरीके"],
"NgZwB0": [["0"], " में से ", ["enabledCount"], " चालू"],
+ "NgqxB9": [
+ "इस वर्कट्री के लिए कोई सहयोग सर्वर नहीं — यहाँ <0>",
+ ["cliCommand"],
+ " start</0> चलाएँ, या प्रोजेक्ट दोबारा खोलें।"
+ ],
"Ni4b7h": [
"प्रोजेक्ट प्लगइन आपके प्रोजेक्ट का लेखन मानक हैं — उन्हें यहाँ चालू या बंद करें। हर सक्षम प्लगइन को सेटिंग साइडबार में Plugins के अंतर्गत अपना पेज मिलता है।"
],
@@ -2721,6 +2713,11 @@
["shareBranch"],
"</0> में जोड़ा गया था। इसे खोलने के लिए ब्रांच बदलें और अपडेट करें।"
],
+ "UbQzWP": [
+ "OpenKnowledge डेस्कटॉप ऐप में उपलब्ध। टर्मिनल से <0> ",
+ ["cliCommand"],
+ " config-sharing status</0> / <1>share</1> / <2>unshare</2> का उपयोग करें।"
+ ],
"UcTm1A": [
"इस कंप्यूटर पर GitHub CLI (<0>gh</0>) द्वारा दिया गया। खाता बदलने या साइन आउट करने के लिए टर्मिनल में <1>gh auth</1> चलाएँ।"
],
@@ -3169,6 +3166,11 @@
"ZjtgI-": ["कमांड पैलेट"],
"ZkY0ic": ["समीक्षा की प्रतीक्षा में"],
"ZlCe_H": ["वर्तनी जाँच के लिए कोई भाषा उपलब्ध नहीं है।"],
+ "Zmg5Ge": [
+ "इस मशीन के सभी प्रोजेक्ट पर लागू होता है। बिल्ट-इन टर्मिनल से शुरू किए गए Claude और Codex, और ऐप के एजेंट पैनल चैट में कोई भी एजेंट, OpenKnowledge के पढ़ने और लिखने वाले टूल स्वतः स्वीकृत करते हैं (Claude \"",
+ ["cliCommand"],
+ " open\" भी स्वतः चलाता है)। स्किल हटाना, ले जाना, साझा करना, आयात या इंस्टॉल करना, अन्य कमांड और गैर-OpenKnowledge फ़ाइल संपादन अब भी पूछते हैं। टर्मिनल में Cursor, OpenCode और Pi पर असर नहीं पड़ता। हर एजेंट के लिए यथासंभव।"
+ ],
"Zon_qG": ["मिरर स्रोत <0>", ["label"], "</0>"],
"ZptNUh": [["hidden"], " और दिखाएँ"],
"Zs3d0w": [
@@ -3503,9 +3505,6 @@
"cOX1Cj": ["git होस्ट"],
"cOrTMo": ["आपका साझा लिंक नीचे तैयार है।"],
"cPAWbl": ["ईमेल भेजा गया"],
- "cPgQ_i": [
- "इस मशीन के सभी प्रोजेक्ट पर लागू होता है। बिल्ट-इन टर्मिनल से शुरू किए गए Claude और Codex, और ऐप के एजेंट पैनल चैट में कोई भी एजेंट, OpenKnowledge के पढ़ने और लिखने वाले टूल स्वतः स्वीकृत करते हैं (Claude \"ok open\" भी स्वतः चलाता है)। स्किल हटाना, ले जाना, साझा करना, आयात या इंस्टॉल करना, अन्य कमांड और गैर-OpenKnowledge फ़ाइल संपादन अब भी पूछते हैं। टर्मिनल में Cursor, OpenCode और Pi पर असर नहीं पड़ता। हर एजेंट के लिए यथासंभव।"
- ],
"cQlPDN": ["पढ़ना"],
"cRHuuI": ["पथ कॉपी नहीं किया जा सका"],
"cRm498": ["इस प्रोजेक्ट में अभी कोई स्कीमा फ़ाइल नहीं — सत्यापन शुरू करने के लिए एक बनाएँ।"],
@@ -3594,6 +3593,7 @@
"</1> से बनाई जाएगी, <2>.ok/worktrees/</2> के अंतर्गत उसके अपने वर्कट्री में।"
],
"dGcsnU": ["दोनों के लिए हटाएँ"],
+ "dHaD0-": ["नेटवर्क त्रुटि (क्या `", ["cliCommand"], " start` चल रहा है?)"],
"dIYSqk": ["रिमोट"],
"dJw2_7": ["आपकी टीम के लिए प्रोजेक्ट के साथ सहेजा गया।"],
"dMsx3p": ["मुख्य पेज और नेविगेशन केंद्र।"],
@@ -4317,6 +4317,7 @@
"जल्दी शुरू करने के लिए तैयार फ़ोल्डर और टेम्पलेट। क्या बनेगा इसका पूर्वावलोकन देखने के लिए कोई पैक चुनें, फिर उसे अपने प्रोजेक्ट में जोड़ें।"
],
"k5rKNs": ["frontmatter"],
+ "k6Gfom": ["आप इसे टर्मिनल से <0>", ["cliCommand"], " bug-report</0> के ज़रिए भी बना सकते हैं।"],
"k7Hoig": ["इस संस्करण में सामग्री का कोई बदलाव नहीं।"],
"kBNHN1": ["नेविगेशन इतिहास"],
"kCjkGY": ["इसमें कुछ समय लग सकता है। आपकी markdown सामग्री सुरक्षित रहती है।"],
@@ -4682,11 +4683,6 @@
"nnhrHd": [
"किसी भी फ़ोल्डर की गहराई पर log.md या log.mdx के अंदर लिखी टूटी लिंक को समस्याओं, फ़ाइल एक्सप्लोरर संकेतकों, एडिटर निदान, ऑडिट और एजेंट लेखन सलाह से बाहर रखें। मायने उस फ़ाइल के हैं जिसमें लिंक लिखी गई है, न कि उस फ़ाइल के जिस पर वह जाती है, और LOG.md एक सामान्य दस्तावेज़ है। लिंक पैनल और एडिटर में वे फिर भी दिखाई देती हैं।"
],
- "noH1JX": [
- "सहयोग सर्वर तक नहीं पहुँचा जा सका — ",
- ["errorDetail"],
- ". <0>ok status</0> आज़माएँ या <1>.ok/local/last-spawn-error.log</1> देखें।"
- ],
"np2zZM": ["जारी रखने के लिए ", ["agentName"], " में साइन इन करें।"],
"npcziF": ["इस पर इंस्टॉल करें"],
"nqV0Kk": ["यह फ़ोल्डर अभी GitHub पर सिंक नहीं हुआ है। अगले सिंक के बाद लिंक काम करेगा।"],
@@ -4708,6 +4704,16 @@
"o1veZ6": ["इस दस्तावेज़ को नई विंडो में नहीं खोला जा सका।"],
"o49mDZ": ["समयरेखा का इतिहास लोड हो रहा है"],
"o7AkQ0": ["हल की गई दिखाएँ"],
+ "o8OY2K": [
+ ["host"],
+ " पर ",
+ ["login"],
+ " के लिए टोकन सहेजा गया। इसे हटाने के लिए <0>",
+ ["cliCommand"],
+ " auth signout --host ",
+ ["host"],
+ "</0> चलाएँ।"
+ ],
"o9CrsQ": ["research-note"],
"o9fPtM": ["स्रोत से स्वत: अपडेट"],
"o9yN4T": ["रीसायकल बिन में ले जाएँ"],
@@ -5070,6 +5076,11 @@
"sQoLn0": ["बाहर निकलें"],
"sR0I-f": ["सभी फ़ाइलें समेटें"],
"sSRndh": ["index.md बनाए रखना प्रारंभ करें"],
+ "sTQjgr": [
+ "जब तक आप इस प्रोजेक्ट के लिए टर्मिनल में \"",
+ ["cliCommand"],
+ " init\" नहीं चलाते, Codex पूछता रहेगा।"
+ ],
"sW5OjU": ["आवश्यक"],
"sZ2IOu": [
"यह ",
@@ -5391,6 +5402,13 @@
"vGeNNQ": ["अपना प्रोजेक्ट सेट अप करने के लिए एक प्रॉम्प्ट कॉपी करके अपने एजेंट में चिपकाएँ।"],
"vGjmyl": ["हटाया गया"],
"vHlhDc": ["संपादित करने के लिए डबल-क्लिक करें"],
+ "vHw_jF": [
+ "सहयोग सर्वर तक नहीं पहुँचा जा सका — ",
+ ["errorDetail"],
+ ". <0>",
+ ["cliCommand"],
+ " status</0> आज़माएँ या <1>.ok/local/last-spawn-error.log</1> देखें।"
+ ],
"vIxrEk": ["चौड़ाई के अनुसार"],
"vLyv1R": ["छिपाएँ"],
"vO2v-0": ["अन्य छिपाएँ"],
diff --git a/packages/app/src/locales/hi/messages.po b/packages/app/src/locales/hi/messages.po
index fbaa0c890..dc2669039 100644
--- a/packages/app/src/locales/hi/messages.po
+++ b/packages/app/src/locales/hi/messages.po
@@ -2196,8 +2196,8 @@ msgid "Applies to all projects on this machine, in Claude Code and Codex chats i
msgstr "इस मशीन के सभी प्रोजेक्ट पर लागू होता है, एजेंट पैनल की उन Claude Code और Codex चैट में जो इसे चालू करने के बाद शुरू हों। एजेंट नई प्रोफ़ाइल वाली अपनी Google Chrome विंडो में पेज खोल सकता है, क्लिक कर सकता है, टाइप कर सकता है और स्क्रीनशॉट ले सकता है। Google Chrome और Node.js इंस्टॉल होना ज़रूरी है। ब्राउज़र की हर कार्रवाई आपकी स्वीकृति माँगती है, हमेशा अनुमति देने के किसी विकल्प के बिना, जब तक कि एजेंट का अपना मोड या उसकी अनुमति सेटिंग स्वीकृति को छोड़ न दें।"
#: src/components/settings/TerminalSection.tsx
-msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"ok open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
-msgstr "इस मशीन के सभी प्रोजेक्ट पर लागू होता है। बिल्ट-इन टर्मिनल से शुरू किए गए Claude और Codex, और ऐप के एजेंट पैनल चैट में कोई भी एजेंट, OpenKnowledge के पढ़ने और लिखने वाले टूल स्वतः स्वीकृत करते हैं (Claude \"ok open\" भी स्वतः चलाता है)। स्किल हटाना, ले जाना, साझा करना, आयात या इंस्टॉल करना, अन्य कमांड और गैर-OpenKnowledge फ़ाइल संपादन अब भी पूछते हैं। टर्मिनल में Cursor, OpenCode और Pi पर असर नहीं पड़ता। हर एजेंट के लिए यथासंभव।"
+msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"{cliCommand} open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
+msgstr "इस मशीन के सभी प्रोजेक्ट पर लागू होता है। बिल्ट-इन टर्मिनल से शुरू किए गए Claude और Codex, और ऐप के एजेंट पैनल चैट में कोई भी एजेंट, OpenKnowledge के पढ़ने और लिखने वाले टूल स्वतः स्वीकृत करते हैं (Claude \"{cliCommand} open\" भी स्वतः चलाता है)। स्किल हटाना, ले जाना, साझा करना, आयात या इंस्टॉल करना, अन्य कमांड और गैर-OpenKnowledge फ़ाइल संपादन अब भी पूछते हैं। टर्मिनल में Cursor, OpenCode और Pi पर असर नहीं पड़ता। हर एजेंट के लिए यथासंभव।"
#: src/components/settings/ScopeBadge.tsx
msgid "Applies to this project on this computer only. Stored in .ok/local, not shared via git."
@@ -2525,8 +2525,8 @@ msgid "Available in every project on this machine. Not shared through git."
msgstr "इस मशीन के हर प्रोजेक्ट में उपलब्ध। git के ज़रिए साझा नहीं।"
#: src/components/settings/SharingSection.tsx
-msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
-msgstr "OpenKnowledge डेस्कटॉप ऐप में उपलब्ध। टर्मिनल से <0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2> का उपयोग करें।"
+msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgstr "OpenKnowledge डेस्कटॉप ऐप में उपलब्ध। टर्मिनल से <0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2> का उपयोग करें।"
#: src/components/acp/ThreadHistoryPanel.tsx
#: src/components/AppMenubar.tsx
@@ -3446,8 +3446,8 @@ msgid "Code field undo or redo"
msgstr "कोड फ़ील्ड में पूर्ववत या पुनः करें"
#: src/components/settings/TerminalSection.tsx
-msgid "Codex will still ask until you run \"ok init\" in a terminal for this project."
-msgstr "जब तक आप इस प्रोजेक्ट के लिए टर्मिनल में \"ok init\" नहीं चलाते, Codex पूछता रहेगा।"
+msgid "Codex will still ask until you run \"{cliCommand} init\" in a terminal for this project."
+msgstr "जब तक आप इस प्रोजेक्ट के लिए टर्मिनल में \"{cliCommand} init\" नहीं चलाते, Codex पूछता रहेगा।"
#: src/components/AutoSyncEnableWarning.tsx
msgid "Collaborators see your in-progress edits as soon as they sync."
@@ -4472,8 +4472,8 @@ msgid "Couldn't reach {displayName} — try again?"
msgstr "{displayName} तक नहीं पहुँचा जा सका। फिर कोशिश करें?"
#: src/components/ConnectingBanner.tsx
-msgid "Couldn't reach collab server — {errorDetail}. Try <0>ok status</0> or check <1>.ok/local/last-spawn-error.log</1>."
-msgstr "सहयोग सर्वर तक नहीं पहुँचा जा सका — {errorDetail}. <0>ok status</0> आज़माएँ या <1>.ok/local/last-spawn-error.log</1> देखें।"
+msgid "Couldn't reach collab server — {errorDetail}. Try <0>{cliCommand} status</0> or check <1>.ok/local/last-spawn-error.log</1>."
+msgstr "सहयोग सर्वर तक नहीं पहुँचा जा सका — {errorDetail}. <0>{cliCommand} status</0> आज़माएँ या <1>.ok/local/last-spawn-error.log</1> देखें।"
#: src/components/PublishToGitHubDialog.tsx
#: src/lib/share/publish-wizard.ts
@@ -4600,8 +4600,8 @@ msgid "Couldn't restart the server automatically. Try running `{cliCommand} stop
msgstr "सर्वर अपने आप पुनः आरंभ नहीं किया जा सका। टर्मिनल में `{cliCommand} stop all` चलाकर देखें, फिर यह प्रोजेक्ट दोबारा खोलें — या समस्या बनी रहे तो अपना कंप्यूटर पुनः आरंभ करें।"
#: src/components/settings/NetworkAccessSection.tsx
-msgid "Couldn't restart the server. Run ok start in this folder to retry."
-msgstr "सर्वर पुनः आरंभ नहीं किया जा सका। पुनः प्रयास करने के लिए इस फ़ोल्डर में ok start चलाएँ।"
+msgid "Couldn't restart the server. Run {cliCommand} start in this folder to retry."
+msgstr "सर्वर पुनः आरंभ नहीं किया जा सका। पुनः प्रयास करने के लिए इस फ़ोल्डर में {cliCommand} start चलाएँ।"
#: src/lib/restart-collab-server.ts
msgid "Couldn't restart the server. Try `{cliCommand} start` in this folder."
@@ -9315,8 +9315,8 @@ msgid "Network error — please try again"
msgstr "नेटवर्क त्रुटि — कृपया फिर कोशिश करें"
#: src/components/ConnectingBanner.tsx
-msgid "network error (is `ok start` running?)"
-msgstr "नेटवर्क त्रुटि (क्या `ok start` चल रहा है?)"
+msgid "network error (is `{cliCommand} start` running?)"
+msgstr "नेटवर्क त्रुटि (क्या `{cliCommand} start` चल रहा है?)"
#: src/components/FileTree.tsx
msgid "Network error during cleanup"
@@ -9604,8 +9604,8 @@ msgid "No chats yet."
msgstr "अभी तक कोई चैट नहीं है।"
#: src/components/ConnectingBanner.tsx
-msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
-msgstr "इस वर्कट्री के लिए कोई सहयोग सर्वर नहीं — यहाँ <0>ok start</0> चलाएँ, या प्रोजेक्ट दोबारा खोलें।"
+msgid "No collab server for this worktree — run <0>{cliCommand} start</0> here, or reopen the project."
+msgstr "इस वर्कट्री के लिए कोई सहयोग सर्वर नहीं — यहाँ <0>{cliCommand} start</0> चलाएँ, या प्रोजेक्ट दोबारा खोलें।"
#: src/comments/CommentProjectPanel.tsx
msgid "No comments in this project yet. Comment on a passage to start one."
@@ -15982,8 +15982,8 @@ msgid "token"
msgstr "टोकन"
#: src/components/settings/AccountSection.tsx
-msgid "Token stored for {login} on {host}. To remove it, run <0>ok auth signout --host {host}</0>."
-msgstr "{host} पर {login} के लिए टोकन सहेजा गया। इसे हटाने के लिए <0>ok auth signout --host {host}</0> चलाएँ।"
+msgid "Token stored for {login} on {host}. To remove it, run <0>{cliCommand} auth signout --host {host}</0>."
+msgstr "{host} पर {login} के लिए टोकन सहेजा गया। इसे हटाने के लिए <0>{cliCommand} auth signout --host {host}</0> चलाएँ।"
#: src/components/SkillBundlePreview.tsx
#: src/components/SkillProperties.tsx
@@ -17046,8 +17046,8 @@ msgid "You can add"
msgstr "आप जोड़ सकते हैं"
#: src/components/ReportBugDialogBody.tsx
-msgid "You can also create one from a terminal with <0>ok bug-report</0>."
-msgstr "आप इसे टर्मिनल से <0>ok bug-report</0> के ज़रिए भी बना सकते हैं।"
+msgid "You can also create one from a terminal with <0>{cliCommand} bug-report</0>."
+msgstr "आप इसे टर्मिनल से <0>{cliCommand} bug-report</0> के ज़रिए भी बना सकते हैं।"
#: src/components/TerminalGate.tsx
msgid "You can also manage this in Settings."
diff --git a/packages/app/src/locales/id/messages.json b/packages/app/src/locales/id/messages.json
index 2cfb336ab..b1cd52b81 100644
--- a/packages/app/src/locales/id/messages.json
+++ b/packages/app/src/locales/id/messages.json
@@ -273,7 +273,6 @@
"2IYGkU": [
"Dokumen ini punya perubahan yang belum dikirim. Penerima akan melihat versi terakhir yang dikirim."
],
- "2L8aeZ": ["kesalahan jaringan (apakah `ok start` sedang berjalan?)"],
"2M0JF6": ["Pembaruan otomatis"],
"2O5Z0r": ["Sembunyikan ", ["appName"]],
"2QM24L": ["Semua tag"],
@@ -484,15 +483,6 @@
"4mp6Tv": ["OpenKnowledge menampilkan daftar keterampilan yang terpasang"],
"4niEzY": ["Sematan HTML tersekat — tulis HTML, lihat pratinjau terendernya secara langsung."],
"4nj6n8": ["/api/config mengembalikan HTTP ", ["code"]],
- "4p8Baj": [
- "Token disimpan untuk ",
- ["login"],
- " di ",
- ["host"],
- ". Untuk menghapusnya, jalankan <0>ok auth signout --host ",
- ["host"],
- "</0>."
- ],
"4pDZ2N": ["\"", ["0"], "\" dihapus dari semua lokasi lain — folder sumbernya tetap dimuat"],
"4r6p_B": [
"Perintah ini berisi karakter tersembunyi yang dapat membuatnya terlihat berbeda dari yang dijalankan. Karakter tersebut ditampilkan di sini sebagai ⟨U+…⟩."
@@ -553,7 +543,6 @@
],
"5OTgC7": ["Membuka dan memfokuskan penyusun prompt Tanya AI di bawah."],
"5OqaJi": ["Masukkan nama proyek"],
- "5PHgV2": ["Anda juga bisa membuatnya dari terminal dengan <0>ok bug-report</0>."],
"5QGTaA": ["Jalur relatif tidak dapat disalin"],
"5RiC8D": [
"Skill penemuan dikelola bersama untuk semua alat AI. Instal skill ini dari Pengaturan → Studio Keterampilan."
@@ -570,9 +559,6 @@
],
"5UccRr": ["Aktivitas terakhir: ", ["lastActivity"]],
"5WDhAk": ["Menaut ke sebuah halaman atau URL eksternal."],
- "5W_u0E": [
- "Tidak dapat memulai ulang server. Jalankan ok start di folder ini untuk mencoba lagi."
- ],
"5Y17qa": ["Berlaku untuk (glob — awalan ! mengecualikan; kosong berarti semua dokumen)"],
"5YWCV_": ["Respons plan salah bentuk"],
"5ZB7XC": ["Area jatuhkan berkas"],
@@ -759,9 +745,6 @@
"7WnfoD": ["Laporan ini sudah dalam perjalanan. Hasilnya akan muncul di riwayat laporan bug."],
"7Y9yTo": [["owner"], "/", ["name"], " dibuat, tetapi push gagal."],
"7YJr6i": ["Shell untuk sesi ini tidak pernah dimulai."],
- "7YRrJ9": [
- "Tersedia di aplikasi desktop OpenKnowledge. Dari terminal, gunakan<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
- ],
"7ZpNC-": ["gh"],
"7_bFEL": ["Seret ", ["patternText"], " untuk menata ulang"],
"7a0YcF": ["Tekan <0>Spasi</0> atau ketuk blob untuk mulai"],
@@ -996,9 +979,6 @@
"A5hiCy": ["Buat templat"],
"A67Uwj": ["Masih memuat"],
"A6h5b-": ["Berkas digandakan"],
- "AAlr5Y": [
- "Tidak ada server kolaborasi untuk worktree ini — jalankan <0>ok start</0> di sini, atau buka lagi proyeknya."
- ],
"AB4qw9": ["Terminal baru"],
"ABq-cq": ["OpenKnowledge membuat tautan berbagi"],
"ACKMCN": ["Gagal memuat pengaturan keterampilan: ", ["0"]],
@@ -1857,6 +1837,11 @@
"JlFcis": ["Kirim"],
"JmfgFc": ["(sebuah worktree dari ", ["0"], ")"],
"Jnz9AY": [["0"], " berada di atas ", ["destination"], "."],
+ "JpDb1D": [
+ "Tidak dapat memulai ulang server. Jalankan ",
+ ["cliCommand"],
+ " start di folder ini untuk mencoba lagi."
+ ],
"Jqqevv": ["Galat sistem"],
"JrqL_z": ["Sisipkan baris di atas"],
"Jrwm42": ["Agen Anda tidak bisa dimuat."],
@@ -1953,9 +1938,6 @@
],
"KmydK6": ["Tebal"],
"KnoB--": ["Akan disimpan sebagai <0>", ["sanitized"], "</0>."],
- "Kr3VPS": [
- "Codex akan tetap bertanya sampai Anda menjalankan \"ok init\" di terminal untuk proyek ini."
- ],
"KsAPaB": ["Cabang ini sedang dipakai di:"],
"KtACeE": ["Bawaan: <0>", ["0"], "</0>"],
"KujtjC": ["Cari"],
@@ -2212,6 +2194,11 @@
"NeY1Np": ["Slidev terlalu lama saat memulai. Coba lagi."],
"NfraGd": ["Cara lain untuk memasang Slidev"],
"NgZwB0": [["enabledCount"], "/", ["0"], " aktif"],
+ "NgqxB9": [
+ "Tidak ada server kolaborasi untuk worktree ini — jalankan <0>",
+ ["cliCommand"],
+ " start</0> di sini, atau buka lagi proyeknya."
+ ],
"Ni4b7h": [
"Plugin proyek adalah standar penulisan proyek Anda — nyalakan atau matikan di sini. Setiap plugin yang aktif mendapat halamannya sendiri di bawah Plugin pada bilah sisi pengaturan."
],
@@ -2814,6 +2801,11 @@
["shareBranch"],
"</0>. Ganti cabang dan perbarui untuk membukanya."
],
+ "UbQzWP": [
+ "Tersedia di aplikasi desktop OpenKnowledge. Dari terminal, gunakan<0> ",
+ ["cliCommand"],
+ " config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+ ],
"UcTm1A": [
"Disediakan oleh GitHub CLI (<0>gh</0>) di komputer ini. Untuk berganti akun atau keluar, jalankan <1>gh auth</1> di terminal."
],
@@ -3285,6 +3277,11 @@
"ZjtgI-": ["Palet perintah"],
"ZkY0ic": ["Menunggu tinjauan"],
"ZlCe_H": ["Tidak ada bahasa yang tersedia untuk pemeriksaan ejaan."],
+ "Zmg5Ge": [
+ "Berlaku untuk semua proyek di mesin ini. Claude dan Codex yang dimulai dari terminal bawaan, serta agen apa pun dalam obrolan panel Agen di aplikasi, otomatis menyetujui alat baca dan tulis OpenKnowledge (Claude juga otomatis menjalankan \"",
+ ["cliCommand"],
+ " open\"). Menghapus, memindahkan, membagikan, mengimpor atau memasang skill, perintah lain, dan pengeditan berkas non-OpenKnowledge tetap bertanya. Di terminal, Cursor, OpenCode, dan Pi tidak terpengaruh. Upaya terbaik per agen."
+ ],
"Zon_qG": ["Sumber cermin <0>", ["label"], "</0>"],
"ZptNUh": ["Tampilkan ", ["hidden"], " lagi"],
"Zs3d0w": [
@@ -3634,9 +3631,6 @@
"cOX1Cj": ["host git"],
"cOrTMo": ["Tautan berbagi Anda sudah siap di bawah."],
"cPAWbl": ["Dikirim lewat surel"],
- "cPgQ_i": [
- "Berlaku untuk semua proyek di mesin ini. Claude dan Codex yang dimulai dari terminal bawaan, serta agen apa pun dalam obrolan panel Agen di aplikasi, otomatis menyetujui alat baca dan tulis OpenKnowledge (Claude juga otomatis menjalankan \"ok open\"). Menghapus, memindahkan, membagikan, mengimpor atau memasang skill, perintah lain, dan pengeditan berkas non-OpenKnowledge tetap bertanya. Di terminal, Cursor, OpenCode, dan Pi tidak terpengaruh. Upaya terbaik per agen."
- ],
"cQlPDN": ["Baca"],
"cRHuuI": ["Jalurnya tidak bisa disalin"],
"cRm498": ["Belum ada berkas skema di proyek ini — buat satu untuk mulai memvalidasi."],
@@ -3724,6 +3718,7 @@
"</1>, di worktree tersendiri di bawah <2>.ok/worktrees/</2>."
],
"dGcsnU": ["Hapus untuk keduanya"],
+ "dHaD0-": ["kesalahan jaringan (apakah `", ["cliCommand"], " start` sedang berjalan?)"],
"dIYSqk": ["remote"],
"dJw2_7": ["Disimpan bersama proyek untuk tim Anda."],
"dMsx3p": ["Halaman utama dan pusat navigasi."],
@@ -4472,6 +4467,11 @@
"Folder dan templat siap pakai agar Anda cepat memulai. Pilih sebuah paket untuk melihat apa yang akan dibuat, lalu tambahkan ke proyek Anda."
],
"k5rKNs": ["frontmatter"],
+ "k6Gfom": [
+ "Anda juga bisa membuatnya dari terminal dengan <0>",
+ ["cliCommand"],
+ " bug-report</0>."
+ ],
"k7Hoig": ["Tidak ada perubahan isi pada versi ini."],
"kBNHN1": ["Riwayat navigasi"],
"kCjkGY": ["Ini mungkin makan waktu sebentar. Konten markdown Anda dipertahankan."],
@@ -4850,11 +4850,6 @@
"nnhrHd": [
"Kecualikan tautan rusak yang ditulis di dalam log.md atau log.mdx pada kedalaman folder mana pun dari Masalah, indikator penjelajah file, diagnostik editor, audit, dan saran penulisan agen. Yang menentukan adalah file tempat tautan ditulis, bukan file yang dituju, dan LOG.md adalah dokumen biasa. Panel Tautan dan editor tetap menampilkannya."
],
- "noH1JX": [
- "Server kolaborasi tidak bisa dihubungi — ",
- ["errorDetail"],
- ". Coba <0>ok status</0> atau periksa <1>.ok/local/last-spawn-error.log</1>."
- ],
"np2zZM": ["Masuk ke ", ["agentName"], " untuk melanjutkan."],
"npcziF": ["Pasang di"],
"nqV0Kk": [
@@ -4880,6 +4875,17 @@
"o1veZ6": ["Tidak dapat membuka dokumen ini di jendela baru."],
"o49mDZ": ["Memuat riwayat lini masa"],
"o7AkQ0": ["Tampilkan yang selesai"],
+ "o8OY2K": [
+ "Token disimpan untuk ",
+ ["login"],
+ " di ",
+ ["host"],
+ ". Untuk menghapusnya, jalankan <0>",
+ ["cliCommand"],
+ " auth signout --host ",
+ ["host"],
+ "</0>."
+ ],
"o9CrsQ": ["catatan-riset"],
"o9fPtM": ["Perbarui otomatis dari sumber"],
"o9yN4T": ["Pindahkan ke Recycle Bin"],
@@ -5273,6 +5279,11 @@
"sQoLn0": ["Keluar"],
"sR0I-f": ["Ciutkan semua berkas"],
"sSRndh": ["Mulai pertahankan index.md"],
+ "sTQjgr": [
+ "Codex akan tetap bertanya sampai Anda menjalankan \"",
+ ["cliCommand"],
+ " init\" di terminal untuk proyek ini."
+ ],
"sW5OjU": ["wajib"],
"sZ2IOu": [
["targetNoun"],
@@ -5591,6 +5602,13 @@
"vGeNNQ": ["Salin sebuah prompt dan tempelkan ke agen Anda untuk menyiapkan proyek Anda."],
"vGjmyl": ["Dihapus"],
"vHlhDc": ["Klik dua kali untuk menyunting"],
+ "vHw_jF": [
+ "Server kolaborasi tidak bisa dihubungi — ",
+ ["errorDetail"],
+ ". Coba <0>",
+ ["cliCommand"],
+ " status</0> atau periksa <1>.ok/local/last-spawn-error.log</1>."
+ ],
"vIxrEk": ["Sesuaikan lebar"],
"vLyv1R": ["Sembunyikan"],
"vO2v-0": ["Sembunyikan lainnya"],
diff --git a/packages/app/src/locales/id/messages.po b/packages/app/src/locales/id/messages.po
index 046fee67f..5b7a9884e 100644
--- a/packages/app/src/locales/id/messages.po
+++ b/packages/app/src/locales/id/messages.po
@@ -2196,8 +2196,8 @@ msgid "Applies to all projects on this machine, in Claude Code and Codex chats i
msgstr "Berlaku untuk semua proyek di mesin ini, pada obrolan Claude Code dan Codex di panel Agen yang dimulai setelah Anda mengaktifkannya. Agen dapat membuka halaman, mengeklik, mengetik, dan mengambil tangkapan layar di jendela Google Chrome miliknya dengan profil baru. Memerlukan Google Chrome dan Node.js yang terpasang. Setiap tindakan browser meminta persetujuan Anda, tanpa opsi untuk selalu mengizinkannya, kecuali mode agen itu sendiri atau pengaturan izinnya melewati persetujuan."
#: src/components/settings/TerminalSection.tsx
-msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"ok open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
-msgstr "Berlaku untuk semua proyek di mesin ini. Claude dan Codex yang dimulai dari terminal bawaan, serta agen apa pun dalam obrolan panel Agen di aplikasi, otomatis menyetujui alat baca dan tulis OpenKnowledge (Claude juga otomatis menjalankan \"ok open\"). Menghapus, memindahkan, membagikan, mengimpor atau memasang skill, perintah lain, dan pengeditan berkas non-OpenKnowledge tetap bertanya. Di terminal, Cursor, OpenCode, dan Pi tidak terpengaruh. Upaya terbaik per agen."
+msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"{cliCommand} open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
+msgstr "Berlaku untuk semua proyek di mesin ini. Claude dan Codex yang dimulai dari terminal bawaan, serta agen apa pun dalam obrolan panel Agen di aplikasi, otomatis menyetujui alat baca dan tulis OpenKnowledge (Claude juga otomatis menjalankan \"{cliCommand} open\"). Menghapus, memindahkan, membagikan, mengimpor atau memasang skill, perintah lain, dan pengeditan berkas non-OpenKnowledge tetap bertanya. Di terminal, Cursor, OpenCode, dan Pi tidak terpengaruh. Upaya terbaik per agen."
#: src/components/settings/ScopeBadge.tsx
msgid "Applies to this project on this computer only. Stored in .ok/local, not shared via git."
@@ -2525,8 +2525,8 @@ msgid "Available in every project on this machine. Not shared through git."
msgstr "Tersedia di setiap proyek pada komputer ini. Tidak dibagikan lewat git."
#: src/components/settings/SharingSection.tsx
-msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
-msgstr "Tersedia di aplikasi desktop OpenKnowledge. Dari terminal, gunakan<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgstr "Tersedia di aplikasi desktop OpenKnowledge. Dari terminal, gunakan<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
#: src/components/acp/ThreadHistoryPanel.tsx
#: src/components/AppMenubar.tsx
@@ -3446,8 +3446,8 @@ msgid "Code field undo or redo"
msgstr "Batalkan atau ulangi di bidang kode"
#: src/components/settings/TerminalSection.tsx
-msgid "Codex will still ask until you run \"ok init\" in a terminal for this project."
-msgstr "Codex akan tetap bertanya sampai Anda menjalankan \"ok init\" di terminal untuk proyek ini."
+msgid "Codex will still ask until you run \"{cliCommand} init\" in a terminal for this project."
+msgstr "Codex akan tetap bertanya sampai Anda menjalankan \"{cliCommand} init\" di terminal untuk proyek ini."
#: src/components/AutoSyncEnableWarning.tsx
msgid "Collaborators see your in-progress edits as soon as they sync."
@@ -4472,8 +4472,8 @@ msgid "Couldn't reach {displayName} — try again?"
msgstr "Tidak dapat menghubungi {displayName}. Coba lagi?"
#: src/components/ConnectingBanner.tsx
-msgid "Couldn't reach collab server — {errorDetail}. Try <0>ok status</0> or check <1>.ok/local/last-spawn-error.log</1>."
-msgstr "Server kolaborasi tidak bisa dihubungi — {errorDetail}. Coba <0>ok status</0> atau periksa <1>.ok/local/last-spawn-error.log</1>."
+msgid "Couldn't reach collab server — {errorDetail}. Try <0>{cliCommand} status</0> or check <1>.ok/local/last-spawn-error.log</1>."
+msgstr "Server kolaborasi tidak bisa dihubungi — {errorDetail}. Coba <0>{cliCommand} status</0> atau periksa <1>.ok/local/last-spawn-error.log</1>."
#: src/components/PublishToGitHubDialog.tsx
#: src/lib/share/publish-wizard.ts
@@ -4600,8 +4600,8 @@ msgid "Couldn't restart the server automatically. Try running `{cliCommand} stop
msgstr "Server tidak bisa dimulai ulang secara otomatis. Coba jalankan `{cliCommand} stop all` di terminal, lalu buka lagi proyek ini — atau mulai ulang komputer Anda jika masih berlanjut."
#: src/components/settings/NetworkAccessSection.tsx
-msgid "Couldn't restart the server. Run ok start in this folder to retry."
-msgstr "Tidak dapat memulai ulang server. Jalankan ok start di folder ini untuk mencoba lagi."
+msgid "Couldn't restart the server. Run {cliCommand} start in this folder to retry."
+msgstr "Tidak dapat memulai ulang server. Jalankan {cliCommand} start di folder ini untuk mencoba lagi."
#: src/lib/restart-collab-server.ts
msgid "Couldn't restart the server. Try `{cliCommand} start` in this folder."
@@ -9315,8 +9315,8 @@ msgid "Network error — please try again"
msgstr "Galat jaringan — silakan coba lagi"
#: src/components/ConnectingBanner.tsx
-msgid "network error (is `ok start` running?)"
-msgstr "kesalahan jaringan (apakah `ok start` sedang berjalan?)"
+msgid "network error (is `{cliCommand} start` running?)"
+msgstr "kesalahan jaringan (apakah `{cliCommand} start` sedang berjalan?)"
#: src/components/FileTree.tsx
msgid "Network error during cleanup"
@@ -9604,8 +9604,8 @@ msgid "No chats yet."
msgstr "Belum ada chat."
#: src/components/ConnectingBanner.tsx
-msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
-msgstr "Tidak ada server kolaborasi untuk worktree ini — jalankan <0>ok start</0> di sini, atau buka lagi proyeknya."
+msgid "No collab server for this worktree — run <0>{cliCommand} start</0> here, or reopen the project."
+msgstr "Tidak ada server kolaborasi untuk worktree ini — jalankan <0>{cliCommand} start</0> di sini, atau buka lagi proyeknya."
#: src/comments/CommentProjectPanel.tsx
msgid "No comments in this project yet. Comment on a passage to start one."
@@ -15982,8 +15982,8 @@ msgid "token"
msgstr "token"
#: src/components/settings/AccountSection.tsx
-msgid "Token stored for {login} on {host}. To remove it, run <0>ok auth signout --host {host}</0>."
-msgstr "Token disimpan untuk {login} di {host}. Untuk menghapusnya, jalankan <0>ok auth signout --host {host}</0>."
+msgid "Token stored for {login} on {host}. To remove it, run <0>{cliCommand} auth signout --host {host}</0>."
+msgstr "Token disimpan untuk {login} di {host}. Untuk menghapusnya, jalankan <0>{cliCommand} auth signout --host {host}</0>."
#: src/components/SkillBundlePreview.tsx
#: src/components/SkillProperties.tsx
@@ -17046,8 +17046,8 @@ msgid "You can add"
msgstr "Anda dapat menambahkan"
#: src/components/ReportBugDialogBody.tsx
-msgid "You can also create one from a terminal with <0>ok bug-report</0>."
-msgstr "Anda juga bisa membuatnya dari terminal dengan <0>ok bug-report</0>."
+msgid "You can also create one from a terminal with <0>{cliCommand} bug-report</0>."
+msgstr "Anda juga bisa membuatnya dari terminal dengan <0>{cliCommand} bug-report</0>."
#: src/components/TerminalGate.tsx
msgid "You can also manage this in Settings."
diff --git a/packages/app/src/locales/ko/messages.json b/packages/app/src/locales/ko/messages.json
index dbb166288..865d65970 100644
--- a/packages/app/src/locales/ko/messages.json
+++ b/packages/app/src/locales/ko/messages.json
@@ -264,7 +264,6 @@
"2IYGkU": [
"이 문서에는 푸시되지 않은 변경 사항이 있습니다. 수신자는 마지막으로 푸시된 버전을 보게 됩니다."
],
- "2L8aeZ": ["네트워크 오류 (`ok start` 실행 중인가요?)"],
"2M0JF6": ["자동 업데이트"],
"2O5Z0r": [["appName"], " 가리기"],
"2QM24L": ["모든 태그"],
@@ -467,14 +466,6 @@
"샌드박스 처리된 HTML 삽입입니다. HTML을 작성하면 렌더링된 미리보기가 실시간으로 표시됩니다."
],
"4nj6n8": ["/api/config HTTP ", ["code"], " 반환"],
- "4p8Baj": [
- ["host"],
- "의 ",
- ["login"],
- "에 대한 토큰이 저장되었습니다. 제거하려면 <0>ok auth signout --host ",
- ["host"],
- "</0>을(를) 실행하세요."
- ],
"4pDZ2N": ["다른 모든 위치에서 \"", ["0"], "\"을 제거했습니다. 소스 폴더는 계속 불러옵니다"],
"4r6p_B": [
"이 명령에는 실제로 실행되는 내용과 다르게 보이게 할 수 있는 숨겨진 문자가 있습니다. 여기서는 ⟨U+…⟩ 형식으로 표시됩니다."
@@ -525,7 +516,6 @@
],
"5OTgC7": ["하단의 AI에게 묻기 프롬프트 작성기를 열고 포커스를 둡니다."],
"5OqaJi": ["프로젝트 이름 입력"],
- "5PHgV2": ["<0>ok bug-report</0>를 사용해 터미널에서 만들 수도 있습니다."],
"5QGTaA": ["상대 경로를 복사하지 못했습니다"],
"5RiC8D": [
"검색 스킬은 모든 AI 도구에서 함께 관리됩니다. 설정 → 스킬 스튜디오에서 이 스킬을 설치하세요."
@@ -544,9 +534,6 @@
],
"5UccRr": ["마지막 활동: ", ["lastActivity"]],
"5WDhAk": ["페이지 또는 외부 URL로 연결합니다."],
- "5W_u0E": [
- "서버를 다시 시작할 수 없습니다. 다시 시도하려면 이 폴더에서 ok start를 실행하세요."
- ],
"5Y17qa": ["적용 대상 (glob, 앞의 !는 제외, 비워 두면 모든 문서)"],
"5YWCV_": ["잘못된 plan 응답"],
"5ZB7XC": ["파일 놓기 영역"],
@@ -730,9 +717,6 @@
"7WnfoD": ["이 보고서는 이미 전송 중입니다. 결과는 버그 신고 기록에 표시됩니다."],
"7Y9yTo": [["owner"], "/", ["name"], " 생성 완료. 푸시에 실패했습니다."],
"7YJr6i": ["이 세션의 셸이 시작된 적이 없습니다."],
- "7YRrJ9": [
- "OpenKnowledge 데스크톱 앱에서 사용할 수 있습니다. 터미널에서 <0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>를 사용합니다."
- ],
"7ZpNC-": ["gh"],
"7_bFEL": [["patternText"], " 드래그로 순서를 변경합니다."],
"7a0YcF": ["<0>스페이스</0>를 누르거나 블롭을 탭하여 시작"],
@@ -958,9 +942,6 @@
"A5hiCy": ["템플릿 만들기"],
"A67Uwj": ["아직 로드 중"],
"A6h5b-": ["파일을 복제했습니다"],
- "AAlr5Y": [
- "이 워크스페이스에 협업 서버 없음. 여기서 <0>ok start</0> 실행하거나 프로젝트 다시 열기."
- ],
"AB4qw9": ["새 터미널"],
"ABq-cq": ["OpenKnowledge에서 공유 링크 생성"],
"ACKMCN": ["스킬 설정을 불러오지 못했습니다: ", ["0"]],
@@ -1775,6 +1756,11 @@
"JlFcis": ["전송"],
"JmfgFc": ["(", ["0"], "의 워크트리)"],
"Jnz9AY": [["0"], "이 ", ["destination"], " 위에 있습니다."],
+ "JpDb1D": [
+ "서버를 다시 시작할 수 없습니다. 다시 시도하려면 이 폴더에서 ",
+ ["cliCommand"],
+ " start를 실행하세요."
+ ],
"Jqqevv": ["시스템 오류"],
"JrqL_z": ["위에 행 삽입"],
"Jrwm42": ["에이전트를 불러오지 못했습니다."],
@@ -1866,9 +1852,6 @@
],
"KmydK6": ["굵게"],
"KnoB--": ["<0>", ["sanitized"], "</0>으로 저장됩니다."],
- "Kr3VPS": [
- "이 프로젝트의 터미널에서 \"ok init\"을 실행할 때까지 Codex가 계속 확인을 요청합니다."
- ],
"KsAPaB": ["이 브랜치의 체크아웃 위치:"],
"KtACeE": ["기본값: <0>", ["0"], "</0>"],
"KujtjC": ["찾기"],
@@ -2120,6 +2103,11 @@
"NeY1Np": ["Slidev 시작 시간이 초과되었습니다. 다시 시도하세요."],
"NfraGd": ["Slidev를 설치하는 다른 방법"],
"NgZwB0": [["enabledCount"], "/", ["0"], "개 켜짐"],
+ "NgqxB9": [
+ "이 워크스페이스에 협업 서버 없음. 여기서 <0>",
+ ["cliCommand"],
+ " start</0> 실행하거나 프로젝트 다시 열기."
+ ],
"Ni4b7h": [
"프로젝트 플러그인은 이 프로젝트의 작성 표준입니다. 여기에서 켜거나 끌 수 있습니다. 활성화된 각 플러그인은 설정 사이드바의 플러그인 아래에 전용 페이지가 생깁니다."
],
@@ -2692,6 +2680,11 @@
["targetNoun"],
"입니다. 열려면 전환 후 업데이트하세요."
],
+ "UbQzWP": [
+ "OpenKnowledge 데스크톱 앱에서 사용할 수 있습니다. 터미널에서 <0> ",
+ ["cliCommand"],
+ " config-sharing status</0> / <1>share</1> / <2>unshare</2>를 사용합니다."
+ ],
"UcTm1A": [
"이 컴퓨터의 GitHub CLI(<0>gh</0>)가 제공합니다. 계정을 전환하거나 로그아웃하려면 터미널에서 <1>gh auth</1>를 실행하세요."
],
@@ -3142,6 +3135,11 @@
"ZjtgI-": ["명령 팔레트"],
"ZkY0ic": ["리뷰 대기 중"],
"ZlCe_H": ["맞춤법 검사에 사용할 수 있는 언어가 없습니다."],
+ "Zmg5Ge": [
+ "이 컴퓨터의 모든 프로젝트에 적용됩니다. 내장 터미널에서 시작한 Claude와 Codex, 그리고 앱 내 에이전트 패널 채팅의 모든 에이전트는 OpenKnowledge의 읽기 및 쓰기 도구를 자동으로 승인합니다(Claude는 \"",
+ ["cliCommand"],
+ " open\"도 자동 실행). 스킬 삭제·이동·공유·가져오기·설치, 기타 명령, OpenKnowledge 외 파일 편집은 여전히 확인을 요청합니다. 터미널에서는 Cursor, OpenCode, Pi에 영향이 없습니다. 에이전트별 최선 노력."
+ ],
"Zon_qG": ["미러 소스 <0>", ["label"], "</0>"],
"ZptNUh": [["hidden"], "개 더 보기"],
"Zs3d0w": [["0", "plural", { "other": ["현재 ", ["3"], "/", ["4"], "개 문서가 일치합니다."] }]],
@@ -3472,9 +3470,6 @@
"cOX1Cj": ["git 호스트"],
"cOrTMo": ["공유 링크가 아래에 준비되어 있습니다."],
"cPAWbl": ["이메일로 보냄"],
- "cPgQ_i": [
- "이 컴퓨터의 모든 프로젝트에 적용됩니다. 내장 터미널에서 시작한 Claude와 Codex, 그리고 앱 내 에이전트 패널 채팅의 모든 에이전트는 OpenKnowledge의 읽기 및 쓰기 도구를 자동으로 승인합니다(Claude는 \"ok open\"도 자동 실행). 스킬 삭제·이동·공유·가져오기·설치, 기타 명령, OpenKnowledge 외 파일 편집은 여전히 확인을 요청합니다. 터미널에서는 Cursor, OpenCode, Pi에 영향이 없습니다. 에이전트별 최선 노력."
- ],
"cQlPDN": ["읽기"],
"cRHuuI": ["경로를 복사하지 못했습니다"],
"cRm498": ["이 프로젝트에 스키마 파일이 아직 없습니다. 하나를 만들면 검증을 시작합니다."],
@@ -3562,6 +3557,7 @@
"</1>에서 생성되며 <2>.ok/worktrees/</2> 아래 자체 워크트리에 배치됩니다."
],
"dGcsnU": ["둘 다 제거"],
+ "dHaD0-": ["네트워크 오류 (`", ["cliCommand"], " start` 실행 중인가요?)"],
"dIYSqk": ["원격"],
"dJw2_7": ["팀을 위해 프로젝트와 함께 저장됨."],
"dMsx3p": ["홈 페이지 및 탐색 허브입니다."],
@@ -4282,6 +4278,7 @@
"바로 사용할 수 있는 폴더와 템플릿으로 빠르게 시작합니다. 팩을 선택해 무엇이 생성되는지 미리 본 다음 프로젝트에 추가하세요."
],
"k5rKNs": ["Frontmatter"],
+ "k6Gfom": ["<0>", ["cliCommand"], " bug-report</0>를 사용해 터미널에서 만들 수도 있습니다."],
"k7Hoig": ["이 버전에서 내용 변경 없음."],
"kBNHN1": ["탐색 기록"],
"kCjkGY": ["잠시 시간이 걸릴 수 있습니다. markdown 콘텐츠는 유지됩니다."],
@@ -4644,11 +4641,6 @@
"nnhrHd": [
"어떤 폴더 깊이에 있든 log.md 또는 log.mdx 안에 작성된 깨진 링크를 문제, 파일 탐색기 표시, 편집기 진단, 감사 및 에이전트 쓰기 알림에서 제외합니다. 링크가 가리키는 파일이 아니라 링크가 작성된 파일을 기준으로 하며, LOG.md는 일반 문서입니다. 링크 패널과 편집기에는 계속 표시됩니다."
],
- "noH1JX": [
- "협업 서버 연결 실패: ",
- ["errorDetail"],
- ". <0>ok status</0> 실행 또는 <1>.ok/local/last-spawn-error.log</1> 확인."
- ],
"np2zZM": ["계속하려면 ", ["agentName"], " 로그인."],
"npcziF": ["설치 대상"],
"nqV0Kk": ["이 폴더는 아직 GitHub와 동기화되지 않았습니다. 다음 동기화 후 링크가 작동합니다."],
@@ -4672,6 +4664,16 @@
"o1veZ6": ["이 문서를 새 창에서 열지 못했습니다."],
"o49mDZ": ["타임라인 기록 불러오는 중"],
"o7AkQ0": ["해결됨 보기"],
+ "o8OY2K": [
+ ["host"],
+ "의 ",
+ ["login"],
+ "에 대한 토큰이 저장되었습니다. 제거하려면 <0>",
+ ["cliCommand"],
+ " auth signout --host ",
+ ["host"],
+ "</0>을(를) 실행하세요."
+ ],
"o9CrsQ": ["research-note"],
"o9fPtM": ["소스에서 자동 업데이트"],
"o9yN4T": ["휴지통으로 이동"],
@@ -5043,6 +5045,11 @@
"sQoLn0": ["종료"],
"sR0I-f": ["모든 파일 접기"],
"sSRndh": ["index.md 유지 관리 시작"],
+ "sTQjgr": [
+ "이 프로젝트의 터미널에서 \"",
+ ["cliCommand"],
+ " init\"을 실행할 때까지 Codex가 계속 확인을 요청합니다."
+ ],
"sW5OjU": ["필수"],
"sZ2IOu": [
"<0>",
@@ -5344,6 +5351,13 @@
"vGeNNQ": ["프롬프트를 복사해 에이전트에 붙여넣으면 프로젝트를 설정합니다."],
"vGjmyl": ["삭제됨"],
"vHlhDc": ["편집하려면 두 번 클릭"],
+ "vHw_jF": [
+ "협업 서버 연결 실패: ",
+ ["errorDetail"],
+ ". <0>",
+ ["cliCommand"],
+ " status</0> 실행 또는 <1>.ok/local/last-spawn-error.log</1> 확인."
+ ],
"vIxrEk": ["너비에 맞추기"],
"vLyv1R": ["숨기기"],
"vO2v-0": ["다른 앱 가리기"],
diff --git a/packages/app/src/locales/ko/messages.po b/packages/app/src/locales/ko/messages.po
index 6947436ae..84c98a485 100644
--- a/packages/app/src/locales/ko/messages.po
+++ b/packages/app/src/locales/ko/messages.po
@@ -2200,8 +2200,8 @@ msgid "Applies to all projects on this machine, in Claude Code and Codex chats i
msgstr "이 컴퓨터의 모든 프로젝트에 적용되며, 켠 뒤에 시작한 에이전트 패널의 Claude Code 및 Codex 채팅에 적용됩니다. 에이전트는 새 프로필을 쓰는 자체 Google Chrome 창에서 페이지를 열고, 클릭하고, 입력하고, 스크린샷을 찍을 수 있습니다. Google Chrome과 Node.js가 설치되어 있어야 합니다. 에이전트 자체 모드나 권한 설정이 승인을 건너뛰지 않는 한, 모든 브라우저 작업은 승인을 요청하며 항상 허용하는 선택지는 없습니다."
#: src/components/settings/TerminalSection.tsx
-msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"ok open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
-msgstr "이 컴퓨터의 모든 프로젝트에 적용됩니다. 내장 터미널에서 시작한 Claude와 Codex, 그리고 앱 내 에이전트 패널 채팅의 모든 에이전트는 OpenKnowledge의 읽기 및 쓰기 도구를 자동으로 승인합니다(Claude는 \"ok open\"도 자동 실행). 스킬 삭제·이동·공유·가져오기·설치, 기타 명령, OpenKnowledge 외 파일 편집은 여전히 확인을 요청합니다. 터미널에서는 Cursor, OpenCode, Pi에 영향이 없습니다. 에이전트별 최선 노력."
+msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"{cliCommand} open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
+msgstr "이 컴퓨터의 모든 프로젝트에 적용됩니다. 내장 터미널에서 시작한 Claude와 Codex, 그리고 앱 내 에이전트 패널 채팅의 모든 에이전트는 OpenKnowledge의 읽기 및 쓰기 도구를 자동으로 승인합니다(Claude는 \"{cliCommand} open\"도 자동 실행). 스킬 삭제·이동·공유·가져오기·설치, 기타 명령, OpenKnowledge 외 파일 편집은 여전히 확인을 요청합니다. 터미널에서는 Cursor, OpenCode, Pi에 영향이 없습니다. 에이전트별 최선 노력."
#: src/components/settings/ScopeBadge.tsx
msgid "Applies to this project on this computer only. Stored in .ok/local, not shared via git."
@@ -2529,8 +2529,8 @@ msgid "Available in every project on this machine. Not shared through git."
msgstr "이 컴퓨터의 모든 프로젝트에서 사용할 수 있습니다. git으로 공유되지 않습니다."
#: src/components/settings/SharingSection.tsx
-msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
-msgstr "OpenKnowledge 데스크톱 앱에서 사용할 수 있습니다. 터미널에서 <0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>를 사용합니다."
+msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgstr "OpenKnowledge 데스크톱 앱에서 사용할 수 있습니다. 터미널에서 <0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>를 사용합니다."
#: src/components/acp/ThreadHistoryPanel.tsx
#: src/components/AppMenubar.tsx
@@ -3450,8 +3450,8 @@ msgid "Code field undo or redo"
msgstr "코드 필드 실행 취소 또는 다시 실행"
#: src/components/settings/TerminalSection.tsx
-msgid "Codex will still ask until you run \"ok init\" in a terminal for this project."
-msgstr "이 프로젝트의 터미널에서 \"ok init\"을 실행할 때까지 Codex가 계속 확인을 요청합니다."
+msgid "Codex will still ask until you run \"{cliCommand} init\" in a terminal for this project."
+msgstr "이 프로젝트의 터미널에서 \"{cliCommand} init\"을 실행할 때까지 Codex가 계속 확인을 요청합니다."
#: src/components/AutoSyncEnableWarning.tsx
msgid "Collaborators see your in-progress edits as soon as they sync."
@@ -4476,8 +4476,8 @@ msgid "Couldn't reach {displayName} — try again?"
msgstr "{displayName} 연결 실패. 다시 시도할까요?"
#: src/components/ConnectingBanner.tsx
-msgid "Couldn't reach collab server — {errorDetail}. Try <0>ok status</0> or check <1>.ok/local/last-spawn-error.log</1>."
-msgstr "협업 서버 연결 실패: {errorDetail}. <0>ok status</0> 실행 또는 <1>.ok/local/last-spawn-error.log</1> 확인."
+msgid "Couldn't reach collab server — {errorDetail}. Try <0>{cliCommand} status</0> or check <1>.ok/local/last-spawn-error.log</1>."
+msgstr "협업 서버 연결 실패: {errorDetail}. <0>{cliCommand} status</0> 실행 또는 <1>.ok/local/last-spawn-error.log</1> 확인."
#: src/components/PublishToGitHubDialog.tsx
#: src/lib/share/publish-wizard.ts
@@ -4604,8 +4604,8 @@ msgid "Couldn't restart the server automatically. Try running `{cliCommand} stop
msgstr "서버를 자동으로 다시 시작하지 못했습니다. 터미널에서 `{cliCommand} stop all`을 실행한 다음 이 프로젝트를 다시 여세요. 문제가 계속되면 컴퓨터를 다시 시작하세요."
#: src/components/settings/NetworkAccessSection.tsx
-msgid "Couldn't restart the server. Run ok start in this folder to retry."
-msgstr "서버를 다시 시작할 수 없습니다. 다시 시도하려면 이 폴더에서 ok start를 실행하세요."
+msgid "Couldn't restart the server. Run {cliCommand} start in this folder to retry."
+msgstr "서버를 다시 시작할 수 없습니다. 다시 시도하려면 이 폴더에서 {cliCommand} start를 실행하세요."
#: src/lib/restart-collab-server.ts
msgid "Couldn't restart the server. Try `{cliCommand} start` in this folder."
@@ -9319,8 +9319,8 @@ msgid "Network error — please try again"
msgstr "네트워크 오류입니다. 다시 시도하세요."
#: src/components/ConnectingBanner.tsx
-msgid "network error (is `ok start` running?)"
-msgstr "네트워크 오류 (`ok start` 실행 중인가요?)"
+msgid "network error (is `{cliCommand} start` running?)"
+msgstr "네트워크 오류 (`{cliCommand} start` 실행 중인가요?)"
#: src/components/FileTree.tsx
msgid "Network error during cleanup"
@@ -9608,8 +9608,8 @@ msgid "No chats yet."
msgstr "아직 채팅이 없습니다."
#: src/components/ConnectingBanner.tsx
-msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
-msgstr "이 워크스페이스에 협업 서버 없음. 여기서 <0>ok start</0> 실행하거나 프로젝트 다시 열기."
+msgid "No collab server for this worktree — run <0>{cliCommand} start</0> here, or reopen the project."
+msgstr "이 워크스페이스에 협업 서버 없음. 여기서 <0>{cliCommand} start</0> 실행하거나 프로젝트 다시 열기."
#: src/comments/CommentProjectPanel.tsx
msgid "No comments in this project yet. Comment on a passage to start one."
@@ -15986,8 +15986,8 @@ msgid "token"
msgstr "토큰"
#: src/components/settings/AccountSection.tsx
-msgid "Token stored for {login} on {host}. To remove it, run <0>ok auth signout --host {host}</0>."
-msgstr "{host}의 {login}에 대한 토큰이 저장되었습니다. 제거하려면 <0>ok auth signout --host {host}</0>을(를) 실행하세요."
+msgid "Token stored for {login} on {host}. To remove it, run <0>{cliCommand} auth signout --host {host}</0>."
+msgstr "{host}의 {login}에 대한 토큰이 저장되었습니다. 제거하려면 <0>{cliCommand} auth signout --host {host}</0>을(를) 실행하세요."
#: src/components/SkillBundlePreview.tsx
#: src/components/SkillProperties.tsx
@@ -17050,8 +17050,8 @@ msgid "You can add"
msgstr "추가할 수 있는 항목"
#: src/components/ReportBugDialogBody.tsx
-msgid "You can also create one from a terminal with <0>ok bug-report</0>."
-msgstr "<0>ok bug-report</0>를 사용해 터미널에서 만들 수도 있습니다."
+msgid "You can also create one from a terminal with <0>{cliCommand} bug-report</0>."
+msgstr "<0>{cliCommand} bug-report</0>를 사용해 터미널에서 만들 수도 있습니다."
#: src/components/TerminalGate.tsx
msgid "You can also manage this in Settings."
diff --git a/packages/app/src/locales/pl/messages.json b/packages/app/src/locales/pl/messages.json
index 034d37318..2515f737b 100644
--- a/packages/app/src/locales/pl/messages.json
+++ b/packages/app/src/locales/pl/messages.json
@@ -336,7 +336,6 @@
"2IYGkU": [
"Ten dokument ma niewypchnięte zmiany. Odbiorcy zobaczą ostatnią wypchniętą wersję."
],
- "2L8aeZ": ["błąd sieci (czy `ok start` działa?)"],
"2M0JF6": ["Automatyczna aktualizacja"],
"2O5Z0r": ["Ukryj ", ["appName"]],
"2QM24L": ["Wszystkie tagi"],
@@ -576,15 +575,6 @@
"4mp6Tv": ["OpenKnowledge wypisało zainstalowane umiejętności"],
"4niEzY": ["Osadzenie HTML w piaskownicy — wpisz HTML i zobacz renderowany podgląd na żywo."],
"4nj6n8": ["/api/config zwrócił HTTP ", ["code"]],
- "4p8Baj": [
- "Zapisano token dla ",
- ["login"],
- " na ",
- ["host"],
- ". Aby go usunąć, uruchom <0>ok auth signout --host ",
- ["host"],
- "</0>."
- ],
"4pDZ2N": [
"Usunięto \"",
["0"],
@@ -640,7 +630,6 @@
],
"5OTgC7": ["Otwórz i ustaw fokus na dolnym polu wpisywania Zapytaj AI."],
"5OqaJi": ["Wpisz nazwę projektu"],
- "5PHgV2": ["Możesz też utworzyć je w terminalu poleceniem <0>ok bug-report</0>."],
"5QGTaA": ["Nie udało się skopiować ścieżki względnej"],
"5RiC8D": [
"Umiejętności discovery są zarządzane wspólnie dla wszystkich narzędzi AI. Zainstaluj tę z Ustawienia → Studio umiejętności."
@@ -675,9 +664,6 @@
],
"5UccRr": ["Ostatnia aktywność ", ["lastActivity"]],
"5WDhAk": ["Link do strony lub zewnętrznego adresu URL."],
- "5W_u0E": [
- "Nie udało się zrestartować serwera. Uruchom ok start w tym folderze, aby spróbować ponownie."
- ],
"5Y17qa": [
"Dotyczy (wzorce glob — wyróżnik ! na początku wyklucza; pusty oznacza każdy dokument)"
],
@@ -919,9 +905,6 @@
],
"7Y9yTo": ["Utworzono ", ["owner"], "/", ["name"], ", push nie powiódł się."],
"7YJr6i": ["Powłoka tej sesji nigdy się nie uruchomiła."],
- "7YRrJ9": [
- "Dostępne w aplikacji desktopowej OpenKnowledge. W terminalu użyj<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
- ],
"7ZpNC-": ["gh"],
"7_bFEL": ["Przeciągnij ", ["patternText"], ", aby zmienić kolejność"],
"7a0YcF": ["Naciśnij <0>Spację</0> lub dotknij bloba, aby rozpocząć"],
@@ -1188,9 +1171,6 @@
"A5hiCy": ["Utwórz szablon"],
"A67Uwj": ["Nadal się wczytuje"],
"A6h5b-": ["Plik zduplikowany"],
- "AAlr5Y": [
- "Brak serwera współpracy dla tego worktree — uruchom <0>ok start</0> tutaj albo otwórz projekt ponownie."
- ],
"AB4qw9": ["Nowy terminal"],
"ABq-cq": ["OpenKnowledge utworzyło link udostępniania"],
"ACKMCN": ["Nie udało się wczytać ustawień umiejętności: ", ["0"]],
@@ -2155,6 +2135,11 @@
"JlFcis": ["Wyślij"],
"JmfgFc": ["(worktree projektu ", ["0"], ")"],
"Jnz9AY": [["0"], " przekracza ", ["destination"], "."],
+ "JpDb1D": [
+ "Nie udało się zrestartować serwera. Uruchom ",
+ ["cliCommand"],
+ " start w tym folderze, aby spróbować ponownie."
+ ],
"Jqqevv": ["Błąd systemu"],
"JrqL_z": ["Wstaw wiersz powyżej"],
"Jrwm42": ["Nie udało się wczytać Twoich agentów."],
@@ -2255,9 +2240,6 @@
],
"KmydK6": ["Pogrubienie"],
"KnoB--": ["Zostanie zapisane jako <0>", ["sanitized"], "</0>."],
- "Kr3VPS": [
- "Codex będzie nadal pytał, dopóki nie uruchomisz „ok init” w terminalu dla tego projektu."
- ],
"KsAPaB": ["Ta gałąź jest aktualnie otwarta w:"],
"KtACeE": ["Domyślnie: <0>", ["0"], "</0>"],
"KujtjC": ["Znajdź"],
@@ -2605,6 +2587,11 @@
"NeY1Np": ["Upłynął limit czasu podczas uruchamiania Slidev. Spróbuj ponownie."],
"NfraGd": ["Inne sposoby instalacji Slidev"],
"NgZwB0": [["enabledCount"], "/", ["0"], " włączone"],
+ "NgqxB9": [
+ "Brak serwera współpracy dla tego worktree — uruchom <0>",
+ ["cliCommand"],
+ " start</0> tutaj albo otwórz projekt ponownie."
+ ],
"Ni4b7h": [
"Wtyczki projektu to standard tworzenia w Twoim projekcie — włączaj je i wyłączaj tutaj. Każda włączona wtyczka ma własną stronę pod Wtyczkami na pasku bocznym ustawień."
],
@@ -3295,6 +3282,11 @@
["shareBranch"],
"</0>. Przełącz się i zaktualizuj, aby go otworzyć."
],
+ "UbQzWP": [
+ "Dostępne w aplikacji desktopowej OpenKnowledge. W terminalu użyj<0> ",
+ ["cliCommand"],
+ " config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+ ],
"UcTm1A": [
"Udostępnione przez GitHub CLI (<0>gh</0>) na tym komputerze. Aby przełączyć konto lub się wylogować, uruchom <1>gh auth</1> w terminalu."
],
@@ -3854,6 +3846,11 @@
"ZjtgI-": ["Paleta poleceń"],
"ZkY0ic": ["Oczekiwanie na przegląd"],
"ZlCe_H": ["Brak dostępnych języków do sprawdzania pisowni."],
+ "Zmg5Ge": [
+ "Dotyczy wszystkich projektów na tym komputerze. Claude i Codex uruchomione z wbudowanego terminala oraz każdy agent w czacie panelu Agentów w aplikacji automatycznie zatwierdzają narzędzia odczytu i zapisu OpenKnowledge (Claude uruchamia też automatycznie \"",
+ ["cliCommand"],
+ " open\"). Usuwanie, przenoszenie, udostępnianie, importowanie i instalowanie umiejętności, inne polecenia oraz edycje plików spoza OpenKnowledge nadal pytają o zgodę. W terminalu Cursor, OpenCode i Pi nie są objęte tą zmianą. W miarę możliwości, osobno dla każdego agenta."
+ ],
"Zon_qG": ["Źródło lustra <0>", ["label"], "</0>"],
"ZptNUh": ["Pokaż jeszcze ", ["hidden"]],
"Zs3d0w": [
@@ -4239,9 +4236,6 @@
"cOX1Cj": ["host gita"],
"cOrTMo": ["Twój link do udostępnienia jest gotowy poniżej."],
"cPAWbl": ["Wysłano e-mailem"],
- "cPgQ_i": [
- "Dotyczy wszystkich projektów na tym komputerze. Claude i Codex uruchomione z wbudowanego terminala oraz każdy agent w czacie panelu Agentów w aplikacji automatycznie zatwierdzają narzędzia odczytu i zapisu OpenKnowledge (Claude uruchamia też automatycznie \"ok open\"). Usuwanie, przenoszenie, udostępnianie, importowanie i instalowanie umiejętności, inne polecenia oraz edycje plików spoza OpenKnowledge nadal pytają o zgodę. W terminalu Cursor, OpenCode i Pi nie są objęte tą zmianą. W miarę możliwości, osobno dla każdego agenta."
- ],
"cQlPDN": ["Odczyt"],
"cRHuuI": ["Nie udało się skopiować ścieżki"],
"cRm498": [
@@ -4366,6 +4360,7 @@
"</1>, we własnym worktree w <2>.ok/worktrees/</2>."
],
"dGcsnU": ["Usuń dla obu"],
+ "dHaD0-": ["błąd sieci (czy `", ["cliCommand"], " start` działa?)"],
"dIYSqk": ["zdalny"],
"dJw2_7": ["Zapisano w projekcie dla Twojego zespołu."],
"dMsx3p": ["Strona główna i centrum nawigacji."],
@@ -5278,6 +5273,11 @@
"Gotowe foldery i szablony, dzięki którym szybko zaczniesz. Wybierz pakiet, aby zobaczyć, co zostanie utworzone, a następnie dodaj go do projektu."
],
"k5rKNs": ["Frontmatter"],
+ "k6Gfom": [
+ "Możesz też utworzyć je w terminalu poleceniem <0>",
+ ["cliCommand"],
+ " bug-report</0>."
+ ],
"k7Hoig": ["Brak zmian zawartości w tej wersji."],
"kBNHN1": ["Historia nawigacji"],
"kCjkGY": ["To może chwilę potrwać. Twoja zawartość markdown zostanie zachowana."],
@@ -5707,11 +5707,6 @@
"nnhrHd": [
"Nie uwzględniaj uszkodzonych linków zapisanych w pliku log.md lub log.mdx na dowolnej głębokości folderu w panelu Problemy, wskaźnikach eksploratora plików, diagnostyce edytora, audytach i zaleceniach zapisu agenta. Liczy się plik, w którym link jest zapisany, nie plik, na który wskazuje, a LOG.md jest zwykłym dokumentem. Panel Linki i edytor nadal je pokazują."
],
- "noH1JX": [
- "Nie udało się połączyć z serwerem współpracy — ",
- ["errorDetail"],
- ". Spróbuj <0>ok status</0> lub sprawdź <1>.ok/local/last-spawn-error.log</1>."
- ],
"np2zZM": ["Zaloguj się do ", ["agentName"], ", aby kontynuować."],
"npcziF": ["Instaluj na"],
"nqV0Kk": [
@@ -5737,6 +5732,17 @@
"o1veZ6": ["Nie udało się otworzyć tego dokumentu w nowym oknie."],
"o49mDZ": ["Ładowanie historii osi czasu"],
"o7AkQ0": ["Pokazuj rozwiązane"],
+ "o8OY2K": [
+ "Zapisano token dla ",
+ ["login"],
+ " na ",
+ ["host"],
+ ". Aby go usunąć, uruchom <0>",
+ ["cliCommand"],
+ " auth signout --host ",
+ ["host"],
+ "</0>."
+ ],
"o9CrsQ": ["research-note"],
"o9fPtM": ["Automatyczna aktualizacja ze źródła"],
"o9yN4T": ["Przenieś do Kosza"],
@@ -6222,6 +6228,11 @@
"sQoLn0": ["Zakończ"],
"sR0I-f": ["Zwiń wszystkie pliki"],
"sSRndh": ["Zacznij utrzymywać index.md"],
+ "sTQjgr": [
+ "Codex będzie nadal pytał, dopóki nie uruchomisz „",
+ ["cliCommand"],
+ " init” w terminalu dla tego projektu."
+ ],
"sW5OjU": ["wymagane"],
"sZ2IOu": [
"Ten ",
@@ -6604,6 +6615,13 @@
"vGeNNQ": ["Skopiuj prompt i wklej go do agenta, aby skonfigurować swój projekt."],
"vGjmyl": ["Usunięto"],
"vHlhDc": ["Kliknij dwukrotnie, aby edytować"],
+ "vHw_jF": [
+ "Nie udało się połączyć z serwerem współpracy — ",
+ ["errorDetail"],
+ ". Spróbuj <0>",
+ ["cliCommand"],
+ " status</0> lub sprawdź <1>.ok/local/last-spawn-error.log</1>."
+ ],
"vIxrEk": ["Dopasuj do szerokości"],
"vLyv1R": ["Ukryj"],
"vO2v-0": ["Ukryj pozostałe"],
diff --git a/packages/app/src/locales/pl/messages.po b/packages/app/src/locales/pl/messages.po
index 2d7f85865..405034dc1 100644
--- a/packages/app/src/locales/pl/messages.po
+++ b/packages/app/src/locales/pl/messages.po
@@ -2200,8 +2200,8 @@ msgid "Applies to all projects on this machine, in Claude Code and Codex chats i
msgstr "Dotyczy wszystkich projektów na tym komputerze, w czatach Claude Code i Codex w panelu Agentów uruchomionych po włączeniu tej opcji. Agent może otwierać strony, klikać, pisać i robić zrzuty ekranu w własnym oknie Google Chrome z świeżym profilem. Wymaga zainstalowanych Google Chrome i Node.js. Każde działanie w przeglądarce pyta o Twoją zgodę, bez opcji „zawsze zezwalaj”, chyba że tryb agenta lub ustawienia uprawnień pomijają pytania."
#: src/components/settings/TerminalSection.tsx
-msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"ok open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
-msgstr "Dotyczy wszystkich projektów na tym komputerze. Claude i Codex uruchomione z wbudowanego terminala oraz każdy agent w czacie panelu Agentów w aplikacji automatycznie zatwierdzają narzędzia odczytu i zapisu OpenKnowledge (Claude uruchamia też automatycznie \"ok open\"). Usuwanie, przenoszenie, udostępnianie, importowanie i instalowanie umiejętności, inne polecenia oraz edycje plików spoza OpenKnowledge nadal pytają o zgodę. W terminalu Cursor, OpenCode i Pi nie są objęte tą zmianą. W miarę możliwości, osobno dla każdego agenta."
+msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"{cliCommand} open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
+msgstr "Dotyczy wszystkich projektów na tym komputerze. Claude i Codex uruchomione z wbudowanego terminala oraz każdy agent w czacie panelu Agentów w aplikacji automatycznie zatwierdzają narzędzia odczytu i zapisu OpenKnowledge (Claude uruchamia też automatycznie \"{cliCommand} open\"). Usuwanie, przenoszenie, udostępnianie, importowanie i instalowanie umiejętności, inne polecenia oraz edycje plików spoza OpenKnowledge nadal pytają o zgodę. W terminalu Cursor, OpenCode i Pi nie są objęte tą zmianą. W miarę możliwości, osobno dla każdego agenta."
#: src/components/settings/ScopeBadge.tsx
msgid "Applies to this project on this computer only. Stored in .ok/local, not shared via git."
@@ -2529,8 +2529,8 @@ msgid "Available in every project on this machine. Not shared through git."
msgstr "Dostępne w każdym projekcie na tym komputerze. Nieudostępniane przez git."
#: src/components/settings/SharingSection.tsx
-msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
-msgstr "Dostępne w aplikacji desktopowej OpenKnowledge. W terminalu użyj<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgstr "Dostępne w aplikacji desktopowej OpenKnowledge. W terminalu użyj<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
#: src/components/acp/ThreadHistoryPanel.tsx
#: src/components/AppMenubar.tsx
@@ -3450,8 +3450,8 @@ msgid "Code field undo or redo"
msgstr "Cofanie lub ponawianie w polu kodu"
#: src/components/settings/TerminalSection.tsx
-msgid "Codex will still ask until you run \"ok init\" in a terminal for this project."
-msgstr "Codex będzie nadal pytał, dopóki nie uruchomisz „ok init” w terminalu dla tego projektu."
+msgid "Codex will still ask until you run \"{cliCommand} init\" in a terminal for this project."
+msgstr "Codex będzie nadal pytał, dopóki nie uruchomisz „{cliCommand} init” w terminalu dla tego projektu."
#: src/components/AutoSyncEnableWarning.tsx
msgid "Collaborators see your in-progress edits as soon as they sync."
@@ -4476,8 +4476,8 @@ msgid "Couldn't reach {displayName} — try again?"
msgstr "Nie udało się połączyć z {displayName} — spróbować ponownie?"
#: src/components/ConnectingBanner.tsx
-msgid "Couldn't reach collab server — {errorDetail}. Try <0>ok status</0> or check <1>.ok/local/last-spawn-error.log</1>."
-msgstr "Nie udało się połączyć z serwerem współpracy — {errorDetail}. Spróbuj <0>ok status</0> lub sprawdź <1>.ok/local/last-spawn-error.log</1>."
+msgid "Couldn't reach collab server — {errorDetail}. Try <0>{cliCommand} status</0> or check <1>.ok/local/last-spawn-error.log</1>."
+msgstr "Nie udało się połączyć z serwerem współpracy — {errorDetail}. Spróbuj <0>{cliCommand} status</0> lub sprawdź <1>.ok/local/last-spawn-error.log</1>."
#: src/components/PublishToGitHubDialog.tsx
#: src/lib/share/publish-wizard.ts
@@ -4604,8 +4604,8 @@ msgid "Couldn't restart the server automatically. Try running `{cliCommand} stop
msgstr "Nie udało się automatycznie zrestartować serwera. Spróbuj uruchomić `{cliCommand} stop all` w terminalu, potem otwórz ten projekt ponownie — albo zrestartuj komputer, jeśli problem się utrzymuje."
#: src/components/settings/NetworkAccessSection.tsx
-msgid "Couldn't restart the server. Run ok start in this folder to retry."
-msgstr "Nie udało się zrestartować serwera. Uruchom ok start w tym folderze, aby spróbować ponownie."
+msgid "Couldn't restart the server. Run {cliCommand} start in this folder to retry."
+msgstr "Nie udało się zrestartować serwera. Uruchom {cliCommand} start w tym folderze, aby spróbować ponownie."
#: src/lib/restart-collab-server.ts
msgid "Couldn't restart the server. Try `{cliCommand} start` in this folder."
@@ -9319,8 +9319,8 @@ msgid "Network error — please try again"
msgstr "Błąd sieci — spróbuj ponownie"
#: src/components/ConnectingBanner.tsx
-msgid "network error (is `ok start` running?)"
-msgstr "błąd sieci (czy `ok start` działa?)"
+msgid "network error (is `{cliCommand} start` running?)"
+msgstr "błąd sieci (czy `{cliCommand} start` działa?)"
#: src/components/FileTree.tsx
msgid "Network error during cleanup"
@@ -9608,8 +9608,8 @@ msgid "No chats yet."
msgstr "Brak czatów."
#: src/components/ConnectingBanner.tsx
-msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
-msgstr "Brak serwera współpracy dla tego worktree — uruchom <0>ok start</0> tutaj albo otwórz projekt ponownie."
+msgid "No collab server for this worktree — run <0>{cliCommand} start</0> here, or reopen the project."
+msgstr "Brak serwera współpracy dla tego worktree — uruchom <0>{cliCommand} start</0> tutaj albo otwórz projekt ponownie."
#: src/comments/CommentProjectPanel.tsx
msgid "No comments in this project yet. Comment on a passage to start one."
@@ -15986,8 +15986,8 @@ msgid "token"
msgstr "token"
#: src/components/settings/AccountSection.tsx
-msgid "Token stored for {login} on {host}. To remove it, run <0>ok auth signout --host {host}</0>."
-msgstr "Zapisano token dla {login} na {host}. Aby go usunąć, uruchom <0>ok auth signout --host {host}</0>."
+msgid "Token stored for {login} on {host}. To remove it, run <0>{cliCommand} auth signout --host {host}</0>."
+msgstr "Zapisano token dla {login} na {host}. Aby go usunąć, uruchom <0>{cliCommand} auth signout --host {host}</0>."
#: src/components/SkillBundlePreview.tsx
#: src/components/SkillProperties.tsx
@@ -17050,8 +17050,8 @@ msgid "You can add"
msgstr "Możesz dodać"
#: src/components/ReportBugDialogBody.tsx
-msgid "You can also create one from a terminal with <0>ok bug-report</0>."
-msgstr "Możesz też utworzyć je w terminalu poleceniem <0>ok bug-report</0>."
+msgid "You can also create one from a terminal with <0>{cliCommand} bug-report</0>."
+msgstr "Możesz też utworzyć je w terminalu poleceniem <0>{cliCommand} bug-report</0>."
#: src/components/TerminalGate.tsx
msgid "You can also manage this in Settings."
diff --git a/packages/app/src/locales/pseudo/messages.json b/packages/app/src/locales/pseudo/messages.json
index f40ece02f..6cd32d6e5 100644
--- a/packages/app/src/locales/pseudo/messages.json
+++ b/packages/app/src/locales/pseudo/messages.json
@@ -279,7 +279,6 @@
"2GT3Hf": ["Ĝĺōƀàĺ"],
"2H5Zhu": ["Ńōţĥĩńĝ ĺēàvēś ŷōũŕ ćōḿƥũţēŕ ũńţĩĺ ŷōũ ŕēvĩēŵ àńď śēńď ţĥē ŕēƥōŕţ."],
"2IYGkU": ["Ţĥĩś ďōć ĥàś ũńƥũśĥēď ćĥàńĝēś. Ŕēćĩƥĩēńţś ŵĩĺĺ śēē ţĥē ĺàśţ ƥũśĥēď vēŕśĩōń."],
- "2L8aeZ": ["ńēţŵōŕķ ēŕŕōŕ (ĩś `ōķ śţàŕţ` ŕũńńĩńĝ?)"],
"2M0JF6": ["Àũţō-ũƥďàţē"],
"2O5Z0r": ["Ĥĩďē ", ["appName"]],
"2QM24L": ["Àĺĺ ţàĝś"],
@@ -487,15 +486,6 @@
"4mp6Tv": ["ŌƥēńĶńōŵĺēďĝē ĺĩśţēď ţĥē ĩńśţàĺĺēď śķĩĺĺś"],
"4niEzY": ["Śàńďƀōxēď ĤŢḾĹ ēḿƀēď — ŵŕĩţē ĤŢḾĹ, śēē ţĥē ŕēńďēŕēď ƥŕēvĩēŵ ĺĩvē."],
"4nj6n8": ["/àƥĩ/ćōńƒĩĝ ŕēţũŕńēď ĤŢŢƤ ", ["code"]],
- "4p8Baj": [
- "Ţōķēń śţōŕēď ƒōŕ ",
- ["login"],
- " ōń ",
- ["host"],
- ". Ţō ŕēḿōvē ĩţ, ŕũń <0>ōķ àũţĥ śĩĝńōũţ --ĥōśţ ",
- ["host"],
- "</0>."
- ],
"4pDZ2N": ["Ŕēḿōvēď \"", ["0"], "\" ƒŕōḿ ēvēŕŷ ōţĥēŕ ĺōćàţĩōń — ĩţś śōũŕćē ƒōĺďēŕ śţĩĺĺ ĺōàďś"],
"4r6p_B": [
"Ţĥĩś ćōḿḿàńď ćōńţàĩńś ĥĩďďēń ćĥàŕàćţēŕś ţĥàţ ćàń ḿàķē ĩţ ĺōōķ ďĩƒƒēŕēńţ ƒŕōḿ ŵĥàţ ŕũńś. Ţĥēŷ àŕē śĥōŵń ĥēŕē àś ⟨Ũ+…⟩."
@@ -543,7 +533,6 @@
],
"5OTgC7": ["Ōƥēń àńď ƒōćũś ţĥē ƀōţţōḿ Àśķ ÀĨ ƥŕōḿƥţ ćōḿƥōśēŕ."],
"5OqaJi": ["Ēńţēŕ à ƥŕōĴēćţ ńàḿē"],
- "5PHgV2": ["Ŷōũ ćàń àĺśō ćŕēàţē ōńē ƒŕōḿ à ţēŕḿĩńàĺ ŵĩţĥ <0>ōķ ƀũĝ-ŕēƥōŕţ</0>."],
"5QGTaA": ["Ćōũĺď ńōţ ćōƥŷ ŕēĺàţĩvē ƥàţĥ"],
"5RiC8D": [
"Ďĩśćōvēŕŷ śķĩĺĺś àŕē ḿàńàĝēď ƒōŕ àĺĺ ÀĨ ţōōĺś ţōĝēţĥēŕ. Ĩńśţàĺĺ ţĥĩś ōńē ƒŕōḿ Śēţţĩńĝś → Śķĩĺĺś Śţũďĩō."
@@ -560,7 +549,6 @@
],
"5UccRr": ["Ĺàśţ àćţĩvĩţŷ ", ["lastActivity"]],
"5WDhAk": ["Ĺĩńķ ţō à ƥàĝē ōŕ ēxţēŕńàĺ ŨŔĹ."],
- "5W_u0E": ["Ćōũĺďń'ţ ŕēśţàŕţ ţĥē śēŕvēŕ. Ŕũń ōķ śţàŕţ ĩń ţĥĩś ƒōĺďēŕ ţō ŕēţŕŷ."],
"5Y17qa": ["Àƥƥĺĩēś ţō (ĝĺōƀś — ĺēàďĩńĝ ! ēxćĺũďēś; ēḿƥţŷ ḿēàńś ēvēŕŷ ďōć)"],
"5YWCV_": ["Ḿàĺƒōŕḿēď ƥĺàń ŕēśƥōńśē"],
"5ZB7XC": ["Ƒĩĺē ďŕōƥ źōńē"],
@@ -750,9 +738,6 @@
],
"7Y9yTo": ["Ćŕēàţēď ", ["owner"], "/", ["name"], ", ƥũśĥ ƒàĩĺēď."],
"7YJr6i": ["Ţĥē śĥēĺĺ ƒōŕ ţĥĩś śēśśĩōń ŵàś ńēvēŕ śţàŕţēď."],
- "7YRrJ9": [
- "Àvàĩĺàƀĺē ĩń ţĥē ŌƥēńĶńōŵĺēďĝē ďēśķţōƥ àƥƥ. Ƒŕōḿ à ţēŕḿĩńàĺ, ũśē<0> ōķ ćōńƒĩĝ-śĥàŕĩńĝ śţàţũś</0> / <1>śĥàŕē</1> / <2>ũńśĥàŕē</2>."
- ],
"7ZpNC-": ["ĝĥ"],
"7_bFEL": ["Ďŕàĝ ", ["patternText"], " ţō ŕēōŕďēŕ"],
"7a0YcF": ["Ƥŕēśś <0>Śƥàćē</0> ōŕ ţàƥ ţĥē ƀĺōƀ ţō śţàŕţ"],
@@ -988,9 +973,6 @@
"A5hiCy": ["Ćŕēàţē ţēḿƥĺàţē"],
"A67Uwj": ["Śţĩĺĺ ĺōàďĩńĝ"],
"A6h5b-": ["Ƒĩĺē ďũƥĺĩćàţēď"],
- "AAlr5Y": [
- "Ńō ćōĺĺàƀ śēŕvēŕ ƒōŕ ţĥĩś ŵōŕķţŕēē — ŕũń <0>ōķ śţàŕţ</0> ĥēŕē, ōŕ ŕēōƥēń ţĥē ƥŕōĴēćţ."
- ],
"AB4qw9": ["Ńēŵ ţēŕḿĩńàĺ"],
"ABq-cq": ["ŌƥēńĶńōŵĺēďĝē ćŕēàţēď à śĥàŕē ĺĩńķ"],
"ACKMCN": ["Ƒàĩĺēď ţō ĺōàď śķĩĺĺ śēţţĩńĝś: ", ["0"]],
@@ -1828,6 +1810,11 @@
"JlFcis": ["Śēńď"],
"JmfgFc": ["(à ŵōŕķţŕēē ōƒ ", ["0"], ")"],
"Jnz9AY": [["0"], " ĩś ōvēŕ ", ["destination"], "."],
+ "JpDb1D": [
+ "Ćōũĺďń'ţ ŕēśţàŕţ ţĥē śēŕvēŕ. Ŕũń ",
+ ["cliCommand"],
+ " śţàŕţ ĩń ţĥĩś ƒōĺďēŕ ţō ŕēţŕŷ."
+ ],
"Jqqevv": ["Śŷśţēḿ ēŕŕōŕ"],
"JrqL_z": ["Ĩńśēŕţ ŕōŵ àƀōvē"],
"Jrwm42": ["Ćōũĺďń'ţ ĺōàď ŷōũŕ àĝēńţś."],
@@ -1920,7 +1907,6 @@
],
"KmydK6": ["ßōĺď"],
"KnoB--": ["Ŵĩĺĺ ƀē śàvēď àś <0>", ["sanitized"], "</0>."],
- "Kr3VPS": ["Ćōďēx ŵĩĺĺ śţĩĺĺ àśķ ũńţĩĺ ŷōũ ŕũń \"ōķ ĩńĩţ\" ĩń à ţēŕḿĩńàĺ ƒōŕ ţĥĩś ƥŕōĴēćţ."],
"KsAPaB": ["Ţĥĩś ƀŕàńćĥ ĩś ćĥēćķēď ōũţ ĩń:"],
"KtACeE": ["Ďēƒàũĺţ: <0>", ["0"], "</0>"],
"KujtjC": ["Ƒĩńď"],
@@ -2202,6 +2188,11 @@
"NeY1Np": ["Śĺĩďēv ţĩḿēď ōũţ ŵĥĩĺē śţàŕţĩńĝ. Ţŕŷ àĝàĩń."],
"NfraGd": ["Ōţĥēŕ ŵàŷś ţō ĩńśţàĺĺ Śĺĩďēv"],
"NgZwB0": [["enabledCount"], "/", ["0"], " ōń"],
+ "NgqxB9": [
+ "Ńō ćōĺĺàƀ śēŕvēŕ ƒōŕ ţĥĩś ŵōŕķţŕēē — ŕũń <0>",
+ ["cliCommand"],
+ " śţàŕţ</0> ĥēŕē, ōŕ ŕēōƥēń ţĥē ƥŕōĴēćţ."
+ ],
"Ni4b7h": [
"ƤŕōĴēćţ ƥĺũĝĩńś àŕē ŷōũŕ ƥŕōĴēćţ'ś àũţĥōŕĩńĝ śţàńďàŕď — ţũŕń ţĥēḿ ōń ōŕ ōƒƒ ĥēŕē. Ēàćĥ ēńàƀĺēď ƥĺũĝĩń ĝēţś ĩţś ōŵń ƥàĝē ũńďēŕ Ƥĺũĝĩńś ĩń ţĥē śēţţĩńĝś śĩďēƀàŕ."
],
@@ -2808,6 +2799,11 @@
["shareBranch"],
"</0> ŕēćēńţĺŷ. Śŵĩţćĥ àńď ũƥďàţē ţō ōƥēń ĩţ."
],
+ "UbQzWP": [
+ "Àvàĩĺàƀĺē ĩń ţĥē ŌƥēńĶńōŵĺēďĝē ďēśķţōƥ àƥƥ. Ƒŕōḿ à ţēŕḿĩńàĺ, ũśē<0> ",
+ ["cliCommand"],
+ " ćōńƒĩĝ-śĥàŕĩńĝ śţàţũś</0> / <1>śĥàŕē</1> / <2>ũńśĥàŕē</2>."
+ ],
"UcTm1A": [
"Ƥŕōvĩďēď ƀŷ ţĥē ĜĩţĤũƀ ĆĹĨ (<0>ĝĥ</0>) ōń ţĥĩś ćōḿƥũţēŕ. Ţō śŵĩţćĥ àććōũńţś ōŕ śĩĝń ōũţ, ŕũń <1>ĝĥ àũţĥ</1> ĩń à ţēŕḿĩńàĺ."
],
@@ -3262,6 +3258,11 @@
"ZjtgI-": ["Ćōḿḿàńď ƥàĺēţţē"],
"ZkY0ic": ["Ŵàĩţĩńĝ ƒōŕ ŕēvĩēŵ"],
"ZlCe_H": ["Ńō śƥēĺĺĩńĝ ĺàńĝũàĝēś àŕē àvàĩĺàƀĺē."],
+ "Zmg5Ge": [
+ "Àƥƥĺĩēś ţō àĺĺ ƥŕōĴēćţś ōń ţĥĩś ḿàćĥĩńē. Ćĺàũďē àńď Ćōďēx śţàŕţēď ƒŕōḿ ţĥē ƀũĩĺţ-ĩń ţēŕḿĩńàĺ, àńď àńŷ àĝēńţ ĩń àń ĩń-àƥƥ Àĝēńţś ƥàńēĺ ćĥàţ, àũţō-àƥƥŕōvē ŌƥēńĶńōŵĺēďĝē'ś ŕēàď àńď ŵŕĩţē ţōōĺś (Ćĺàũďē àĺśō àũţō-ŕũńś \"",
+ ["cliCommand"],
+ " ōƥēń\"). Ďēĺēţĩńĝ, ḿōvĩńĝ, śĥàŕĩńĝ, ĩḿƥōŕţĩńĝ ōŕ ĩńśţàĺĺĩńĝ śķĩĺĺś, ōţĥēŕ ćōḿḿàńďś, àńď ńōń-ŌƥēńĶńōŵĺēďĝē ƒĩĺē ēďĩţś śţĩĺĺ àśķ. Ĩń ţĥē ţēŕḿĩńàĺ, Ćũŕśōŕ, ŌƥēńĆōďē, àńď Ƥĩ àŕē ũńàƒƒēćţēď. ßēśţ-ēƒƒōŕţ ƥēŕ àĝēńţ."
+ ],
"Zon_qG": ["Ḿĩŕŕōŕ śōũŕćē <0>", ["label"], "</0>"],
"ZptNUh": ["Śĥōŵ ", ["hidden"], " ḿōŕē"],
"Zs3d0w": [
@@ -3603,9 +3604,6 @@
"cOX1Cj": ["ĝĩţ ĥōśţ"],
"cOrTMo": ["Ŷōũŕ śĥàŕē ĺĩńķ ĩś ŕēàďŷ ƀēĺōŵ."],
"cPAWbl": ["Ēḿàĩĺēď"],
- "cPgQ_i": [
- "Àƥƥĺĩēś ţō àĺĺ ƥŕōĴēćţś ōń ţĥĩś ḿàćĥĩńē. Ćĺàũďē àńď Ćōďēx śţàŕţēď ƒŕōḿ ţĥē ƀũĩĺţ-ĩń ţēŕḿĩńàĺ, àńď àńŷ àĝēńţ ĩń àń ĩń-àƥƥ Àĝēńţś ƥàńēĺ ćĥàţ, àũţō-àƥƥŕōvē ŌƥēńĶńōŵĺēďĝē'ś ŕēàď àńď ŵŕĩţē ţōōĺś (Ćĺàũďē àĺśō àũţō-ŕũńś \"ōķ ōƥēń\"). Ďēĺēţĩńĝ, ḿōvĩńĝ, śĥàŕĩńĝ, ĩḿƥōŕţĩńĝ ōŕ ĩńśţàĺĺĩńĝ śķĩĺĺś, ōţĥēŕ ćōḿḿàńďś, àńď ńōń-ŌƥēńĶńōŵĺēďĝē ƒĩĺē ēďĩţś śţĩĺĺ àśķ. Ĩń ţĥē ţēŕḿĩńàĺ, Ćũŕśōŕ, ŌƥēńĆōďē, àńď Ƥĩ àŕē ũńàƒƒēćţēď. ßēśţ-ēƒƒōŕţ ƥēŕ àĝēńţ."
- ],
"cQlPDN": ["Ŕēàď"],
"cRHuuI": ["Ćōũĺďń'ţ ćōƥŷ ƥàţĥ"],
"cRm498": ["Ńō śćĥēḿà ƒĩĺēś ĩń ţĥĩś ƥŕōĴēćţ ŷēţ — ćŕēàţē ōńē ţō śţàŕţ vàĺĩďàţĩńĝ."],
@@ -3705,6 +3703,7 @@
"</1>, ĩń ĩţś ōŵń ŵōŕķţŕēē ũńďēŕ <2>.ōķ/ŵōŕķţŕēēś/</2>."
],
"dGcsnU": ["Ŕēḿōvē ƒōŕ ƀōţĥ"],
+ "dHaD0-": ["ńēţŵōŕķ ēŕŕōŕ (ĩś `", ["cliCommand"], " śţàŕţ` ŕũńńĩńĝ?)"],
"dIYSqk": ["ŕēḿōţē"],
"dJw2_7": ["Śàvēď ŵĩţĥ ţĥē ƥŕōĴēćţ ƒōŕ ŷōũŕ ţēàḿ."],
"dMsx3p": ["Ĥōḿē ƥàĝē àńď ńàvĩĝàţĩōń ĥũƀ."],
@@ -4468,6 +4467,11 @@
"Ŕēàďŷ-ḿàďē ƒōĺďēŕś àńď ţēḿƥĺàţēś ţō ĝēţ ŷōũ śţàŕţēď ǫũĩćķĺŷ. Śēĺēćţ à ƥàćķ ţō ƥŕēvĩēŵ ŵĥàţ ĝēţś ćŕēàţēď, ţĥēń àďď ĩţ ţō ŷōũŕ ƥŕōĴēćţ."
],
"k5rKNs": ["Ƒŕōńţḿàţţēŕ"],
+ "k6Gfom": [
+ "Ŷōũ ćàń àĺśō ćŕēàţē ōńē ƒŕōḿ à ţēŕḿĩńàĺ ŵĩţĥ <0>",
+ ["cliCommand"],
+ " ƀũĝ-ŕēƥōŕţ</0>."
+ ],
"k7Hoig": ["Ńō ćōńţēńţ ćĥàńĝēś àţ ţĥĩś vēŕśĩōń."],
"kBNHN1": ["Ńàvĩĝàţĩōń ĥĩśţōŕŷ"],
"kCjkGY": ["Ţĥĩś ḿàŷ ţàķē à ḿōḿēńţ. Ŷōũŕ ḿàŕķďōŵń ćōńţēńţ ĩś ķēƥţ."],
@@ -4850,11 +4854,6 @@
"nnhrHd": [
"Ĺēàvē ţĥē ƀŕōķēń ĺĩńķś ŵŕĩţţēń ĩńśĩďē à ĺōĝ.ḿď ōŕ ĺōĝ.ḿďx àţ àńŷ ƒōĺďēŕ ďēƥţĥ ōũţ ōƒ Ƥŕōƀĺēḿś, ƒĩĺē ēxƥĺōŕēŕ ĩńďĩćàţōŕś, ēďĩţōŕ ďĩàĝńōśţĩćś, àũďĩţś, àńď àĝēńţ ŵŕĩţē àďvĩśōŕĩēś. Ŵĥàţ ćōũńţś ĩś ţĥē ƒĩĺē à ĺĩńķ ĩś ŵŕĩţţēń ĩń, ńōţ ţĥē ƒĩĺē ĩţ ƥōĩńţś àţ, àńď ĹŌĜ.ḿď ĩś àń ōŕďĩńàŕŷ ďōćũḿēńţ. Ţĥē Ĺĩńķś ƥàńēĺ àńď ţĥē ēďĩţōŕ śţĩĺĺ śĥōŵ ţĥēḿ."
],
- "noH1JX": [
- "Ćōũĺďń'ţ ŕēàćĥ ćōĺĺàƀ śēŕvēŕ — ",
- ["errorDetail"],
- ". Ţŕŷ <0>ōķ śţàţũś</0> ōŕ ćĥēćķ <1>.ōķ/ĺōćàĺ/ĺàśţ-śƥàŵń-ēŕŕōŕ.ĺōĝ</1>."
- ],
"np2zZM": ["Śĩĝń ĩń ţō ", ["agentName"], " ţō ćōńţĩńũē."],
"npcziF": ["Ĩńśţàĺĺ ōń"],
"nqV0Kk": ["Ţĥĩś ƒōĺďēŕ ĥàśń'ţ śŷńćēď ţō ĜĩţĤũƀ ŷēţ. Ţĥē ĺĩńķ ŵĩĺĺ ŵōŕķ àƒţēŕ ţĥē ńēxţ śŷńć."],
@@ -4878,6 +4877,17 @@
"o1veZ6": ["Ćōũĺď ńōţ ōƥēń ţĥĩś ďōćũḿēńţ ĩń à ńēŵ ŵĩńďōŵ."],
"o49mDZ": ["Ĺōàďĩńĝ ţĩḿēĺĩńē ĥĩśţōŕŷ"],
"o7AkQ0": ["Śĥōŵ ŕēśōĺvēď"],
+ "o8OY2K": [
+ "Ţōķēń śţōŕēď ƒōŕ ",
+ ["login"],
+ " ōń ",
+ ["host"],
+ ". Ţō ŕēḿōvē ĩţ, ŕũń <0>",
+ ["cliCommand"],
+ " àũţĥ śĩĝńōũţ --ĥōśţ ",
+ ["host"],
+ "</0>."
+ ],
"o9CrsQ": ["ŕēśēàŕćĥ-ńōţē"],
"o9fPtM": ["Àũţō-ũƥďàţē ƒŕōḿ śōũŕćē"],
"o9yN4T": ["Ḿōvē ţō Ŕēćŷćĺē ßĩń"],
@@ -5276,6 +5286,11 @@
"sQoLn0": ["Ǫũĩţ"],
"sR0I-f": ["Ćōĺĺàƥśē àĺĺ ƒĩĺēś"],
"sSRndh": ["Śţàŕţ ḿàĩńţàĩńĩńĝ ĩńďēx.ḿď"],
+ "sTQjgr": [
+ "Ćōďēx ŵĩĺĺ śţĩĺĺ àśķ ũńţĩĺ ŷōũ ŕũń \"",
+ ["cliCommand"],
+ " ĩńĩţ\" ĩń à ţēŕḿĩńàĺ ƒōŕ ţĥĩś ƥŕōĴēćţ."
+ ],
"sW5OjU": ["ŕēǫũĩŕēď"],
"sZ2IOu": [
"Ţĥĩś ",
@@ -5606,6 +5621,13 @@
"vGeNNQ": ["Ćōƥŷ à ƥŕōḿƥţ àńď ƥàśţē ĩţ ĩńţō ŷōũŕ àĝēńţ ţō śēţ ũƥ ŷōũŕ ƥŕōĴēćţ."],
"vGjmyl": ["Ďēĺēţēď"],
"vHlhDc": ["Ďōũƀĺē-ćĺĩćķ ţō ēďĩţ"],
+ "vHw_jF": [
+ "Ćōũĺďń'ţ ŕēàćĥ ćōĺĺàƀ śēŕvēŕ — ",
+ ["errorDetail"],
+ ". Ţŕŷ <0>",
+ ["cliCommand"],
+ " śţàţũś</0> ōŕ ćĥēćķ <1>.ōķ/ĺōćàĺ/ĺàśţ-śƥàŵń-ēŕŕōŕ.ĺōĝ</1>."
+ ],
"vIxrEk": ["Ƒĩţ ŵĩďţĥ"],
"vLyv1R": ["Ĥĩďē"],
"vO2v-0": ["Ĥĩďē Ōţĥēŕś"],
diff --git a/packages/app/src/locales/pseudo/messages.po b/packages/app/src/locales/pseudo/messages.po
index 9a7d05c8f..3fc4d1115 100644
--- a/packages/app/src/locales/pseudo/messages.po
+++ b/packages/app/src/locales/pseudo/messages.po
@@ -2196,7 +2196,7 @@ msgid "Applies to all projects on this machine, in Claude Code and Codex chats i
msgstr ""
#: src/components/settings/TerminalSection.tsx
-msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"ok open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
+msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"{cliCommand} open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
msgstr ""
#: src/components/settings/ScopeBadge.tsx
@@ -2525,7 +2525,7 @@ msgid "Available in every project on this machine. Not shared through git."
msgstr ""
#: src/components/settings/SharingSection.tsx
-msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
msgstr ""
#: src/components/acp/ThreadHistoryPanel.tsx
@@ -3446,7 +3446,7 @@ msgid "Code field undo or redo"
msgstr ""
#: src/components/settings/TerminalSection.tsx
-msgid "Codex will still ask until you run \"ok init\" in a terminal for this project."
+msgid "Codex will still ask until you run \"{cliCommand} init\" in a terminal for this project."
msgstr ""
#: src/components/AutoSyncEnableWarning.tsx
@@ -4472,7 +4472,7 @@ msgid "Couldn't reach {displayName} — try again?"
msgstr ""
#: src/components/ConnectingBanner.tsx
-msgid "Couldn't reach collab server — {errorDetail}. Try <0>ok status</0> or check <1>.ok/local/last-spawn-error.log</1>."
+msgid "Couldn't reach collab server — {errorDetail}. Try <0>{cliCommand} status</0> or check <1>.ok/local/last-spawn-error.log</1>."
msgstr ""
#: src/components/PublishToGitHubDialog.tsx
@@ -4600,7 +4600,7 @@ msgid "Couldn't restart the server automatically. Try running `{cliCommand} stop
msgstr ""
#: src/components/settings/NetworkAccessSection.tsx
-msgid "Couldn't restart the server. Run ok start in this folder to retry."
+msgid "Couldn't restart the server. Run {cliCommand} start in this folder to retry."
msgstr ""
#: src/lib/restart-collab-server.ts
@@ -9315,7 +9315,7 @@ msgid "Network error — please try again"
msgstr ""
#: src/components/ConnectingBanner.tsx
-msgid "network error (is `ok start` running?)"
+msgid "network error (is `{cliCommand} start` running?)"
msgstr ""
#: src/components/FileTree.tsx
@@ -9604,7 +9604,7 @@ msgid "No chats yet."
msgstr ""
#: src/components/ConnectingBanner.tsx
-msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
+msgid "No collab server for this worktree — run <0>{cliCommand} start</0> here, or reopen the project."
msgstr ""
#: src/comments/CommentProjectPanel.tsx
@@ -15982,7 +15982,7 @@ msgid "token"
msgstr ""
#: src/components/settings/AccountSection.tsx
-msgid "Token stored for {login} on {host}. To remove it, run <0>ok auth signout --host {host}</0>."
+msgid "Token stored for {login} on {host}. To remove it, run <0>{cliCommand} auth signout --host {host}</0>."
msgstr ""
#: src/components/SkillBundlePreview.tsx
@@ -17046,7 +17046,7 @@ msgid "You can add"
msgstr ""
#: src/components/ReportBugDialogBody.tsx
-msgid "You can also create one from a terminal with <0>ok bug-report</0>."
+msgid "You can also create one from a terminal with <0>{cliCommand} bug-report</0>."
msgstr ""
#: src/components/TerminalGate.tsx
diff --git a/packages/app/src/locales/pt-BR/messages.json b/packages/app/src/locales/pt-BR/messages.json
index 20e8613f5..63e779ad6 100644
--- a/packages/app/src/locales/pt-BR/messages.json
+++ b/packages/app/src/locales/pt-BR/messages.json
@@ -313,7 +313,6 @@
"2IYGkU": [
"Este documento tem alterações não enviadas. Quem receber vai ver a última versão enviada."
],
- "2L8aeZ": ["erro de rede (o `ok start` está em execução?)"],
"2M0JF6": ["Atualização automática"],
"2O5Z0r": ["Ocultar ", ["appName"]],
"2QM24L": ["Todas as tags"],
@@ -556,15 +555,6 @@
"HTML incorporado em modo isolado — escreva HTML e veja a pré-visualização renderizada ao vivo."
],
"4nj6n8": ["/api/config devolveu HTTP ", ["code"]],
- "4p8Baj": [
- "Token guardado para ",
- ["login"],
- " em ",
- ["host"],
- ". Para removê-lo, execute <0>ok auth signout --host ",
- ["host"],
- "</0>."
- ],
"4pDZ2N": [
"\"",
["0"],
@@ -622,7 +612,6 @@
],
"5OTgC7": ["Abre e foca o compositor de prompts de Perguntar à IA na parte de baixo."],
"5OqaJi": ["Digite um nome de projeto"],
- "5PHgV2": ["Você também pode criar um por um terminal com <0>ok bug-report</0>."],
"5QGTaA": ["Não foi possível copiar o caminho relativo"],
"5RiC8D": [
"As habilidades de descoberta são gerenciadas em conjunto para todas as ferramentas de IA. Instale esta em Configurações → Estúdio de habilidades."
@@ -651,9 +640,6 @@
],
"5UccRr": ["Última atividade: ", ["lastActivity"]],
"5WDhAk": ["Aponta para uma página ou uma URL externa."],
- "5W_u0E": [
- "Não foi possível reiniciar o servidor. Execute ok start nesta pasta para tentar novamente."
- ],
"5Y17qa": ["Aplica-se a (globs — um ! inicial exclui; vazio significa todos os documentos)"],
"5YWCV_": ["Resposta de plano malformada"],
"5ZB7XC": ["Área para soltar arquivos"],
@@ -876,9 +862,6 @@
],
"7Y9yTo": [["owner"], "/", ["name"], " foi criado, mas o envio falhou."],
"7YJr6i": ["O shell desta sessão nunca foi iniciado."],
- "7YRrJ9": [
- "Disponível no app de desktop do OpenKnowledge. Em um terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
- ],
"7ZpNC-": ["gh"],
"7_bFEL": ["Arraste ", ["patternText"], " para reordenar"],
"7a0YcF": ["Pressione <0>Espaço</0> ou toque no blob para começar"],
@@ -1137,9 +1120,6 @@
"A5hiCy": ["Criar modelo"],
"A67Uwj": ["Ainda carregando"],
"A6h5b-": ["Arquivo duplicado"],
- "AAlr5Y": [
- "Não há servidor de colaboração para este worktree — rode <0>ok start</0> aqui ou abra o projeto de novo."
- ],
"AB4qw9": ["Novo terminal"],
"ABq-cq": ["OpenKnowledge criou um link de compartilhamento"],
"ACKMCN": ["Falha ao carregar as configurações da habilidade: ", ["0"]],
@@ -2097,6 +2077,11 @@
"JlFcis": ["Enviar"],
"JmfgFc": ["(um worktree de ", ["0"], ")"],
"Jnz9AY": [["0"], " está sobre ", ["destination"], "."],
+ "JpDb1D": [
+ "Não foi possível reiniciar o servidor. Execute ",
+ ["cliCommand"],
+ " start nesta pasta para tentar novamente."
+ ],
"Jqqevv": ["Erro do sistema"],
"JrqL_z": ["Inserir linha acima"],
"Jrwm42": ["Não foi possível carregar seus agentes."],
@@ -2193,9 +2178,6 @@
],
"KmydK6": ["Negrito"],
"KnoB--": ["Será salvo como <0>", ["sanitized"], "</0>."],
- "Kr3VPS": [
- "O Codex vai continuar perguntando até você rodar \"ok init\" em um terminal para este projeto."
- ],
"KsAPaB": ["Este ramo está extraído em:"],
"KtACeE": ["Padrão: <0>", ["0"], "</0>"],
"KujtjC": ["Buscar"],
@@ -2520,6 +2502,11 @@
"NeY1Np": ["O Slidev demorou demais para iniciar. Tente novamente."],
"NfraGd": ["Outras formas de instalar o Slidev"],
"NgZwB0": [["enabledCount"], "/", ["0"], " ativos"],
+ "NgqxB9": [
+ "Não há servidor de colaboração para este worktree — rode <0>",
+ ["cliCommand"],
+ " start</0> aqui ou abra o projeto de novo."
+ ],
"Ni4b7h": [
"Os plugins de projeto são o padrão de autoria do seu projeto — ligue ou desligue aqui. Cada plugin ativado ganha uma página própria em Plugins, na barra lateral de configurações."
],
@@ -3185,6 +3172,11 @@
["shareBranch"],
"</0> há pouco. Troque e atualize para abrir."
],
+ "UbQzWP": [
+ "Disponível no app de desktop do OpenKnowledge. Em um terminal, use<0> ",
+ ["cliCommand"],
+ " config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+ ],
"UcTm1A": [
"Fornecido pela CLI do GitHub (<0>gh</0>) neste computador. Para trocar de conta ou sair, execute <1>gh auth</1> em um terminal."
],
@@ -3707,6 +3699,11 @@
"ZjtgI-": ["Paleta de comandos"],
"ZkY0ic": ["Aguardando revisão"],
"ZlCe_H": ["Nenhum idioma está disponível para a verificação ortográfica."],
+ "Zmg5Ge": [
+ "Vale para todos os projetos desta máquina. Claude e Codex iniciados pelo terminal integrado, e qualquer agente em um chat do painel de agentes do app, aprovam automaticamente as ferramentas de leitura e escrita do OpenKnowledge (o Claude também executa \"",
+ ["cliCommand"],
+ " open\" automaticamente). Excluir, mover, compartilhar, importar ou instalar skills, outros comandos e edições de arquivos fora do OpenKnowledge continuam perguntando. No terminal, Cursor, OpenCode e Pi não são afetados. Melhor esforço por agente."
+ ],
"Zon_qG": ["Fonte do espelho <0>", ["label"], "</0>"],
"ZptNUh": ["Mostrar mais ", ["hidden"]],
"Zs3d0w": [
@@ -4080,9 +4077,6 @@
"cOX1Cj": ["host git"],
"cOrTMo": ["Seu link de compartilhamento está pronto abaixo."],
"cPAWbl": ["Enviado por e-mail"],
- "cPgQ_i": [
- "Vale para todos os projetos desta máquina. Claude e Codex iniciados pelo terminal integrado, e qualquer agente em um chat do painel de agentes do app, aprovam automaticamente as ferramentas de leitura e escrita do OpenKnowledge (o Claude também executa \"ok open\" automaticamente). Excluir, mover, compartilhar, importar ou instalar skills, outros comandos e edições de arquivos fora do OpenKnowledge continuam perguntando. No terminal, Cursor, OpenCode e Pi não são afetados. Melhor esforço por agente."
- ],
"cQlPDN": ["Ler"],
"cRHuuI": ["Não deu para copiar o caminho"],
"cRm498": ["Ainda não há arquivos de esquema neste projeto — crie um para começar a validar."],
@@ -4196,6 +4190,7 @@
"</1>, em um worktree próprio dentro de <2>.ok/worktrees/</2>."
],
"dGcsnU": ["Remover para ambos"],
+ "dHaD0-": ["erro de rede (o `", ["cliCommand"], " start` está em execução?)"],
"dIYSqk": ["remoto"],
"dJw2_7": ["Salvo com o projeto para sua equipe."],
"dMsx3p": ["Página inicial e central de navegação."],
@@ -5065,6 +5060,11 @@
"Pastas e modelos prontos para você começar rápido. Selecione um pacote para ver o que será criado e depois acrescente-o ao seu projeto."
],
"k5rKNs": ["frontmatter"],
+ "k6Gfom": [
+ "Você também pode criar um por um terminal com <0>",
+ ["cliCommand"],
+ " bug-report</0>."
+ ],
"k7Hoig": ["Nenhuma alteração de conteúdo nesta versão."],
"kBNHN1": ["Histórico de navegação"],
"kCjkGY": ["Isto pode demorar um pouco. Seu conteúdo markdown é preservado."],
@@ -5482,11 +5482,6 @@
"nnhrHd": [
"Deixe os links quebrados escritos em um log.md ou log.mdx, em qualquer profundidade de pasta, fora de Problemas, dos indicadores do explorador de arquivos, dos diagnósticos do editor, das auditorias e dos avisos de escrita do agente. O que conta é o arquivo em que o link foi escrito, não o arquivo para o qual ele aponta, e LOG.md é um documento comum. O painel Links e o editor continuam exibindo esses links."
],
- "noH1JX": [
- "Não deu para contatar o servidor de colaboração — ",
- ["errorDetail"],
- ". Tente <0>ok status</0> ou verifique <1>.ok/local/last-spawn-error.log</1>."
- ],
"np2zZM": ["Faça login em ", ["agentName"], " para continuar."],
"npcziF": ["Instalar em"],
"nqV0Kk": [
@@ -5512,6 +5507,17 @@
"o1veZ6": ["Não foi possível abrir este documento em uma nova janela."],
"o49mDZ": ["Carregando o histórico da linha do tempo"],
"o7AkQ0": ["Mostrar resolvidos"],
+ "o8OY2K": [
+ "Token guardado para ",
+ ["login"],
+ " em ",
+ ["host"],
+ ". Para removê-lo, execute <0>",
+ ["cliCommand"],
+ " auth signout --host ",
+ ["host"],
+ "</0>."
+ ],
"o9CrsQ": ["nota-de-pesquisa"],
"o9fPtM": ["Atualizar automaticamente pela fonte"],
"o9yN4T": ["Mover para a Lixeira"],
@@ -5957,6 +5963,11 @@
"sQoLn0": ["Sair"],
"sR0I-f": ["Recolher todos os arquivos"],
"sSRndh": ["Comece a manter index.md"],
+ "sTQjgr": [
+ "O Codex vai continuar perguntando até você rodar \"",
+ ["cliCommand"],
+ " init\" em um terminal para este projeto."
+ ],
"sW5OjU": ["obrigatório"],
"sZ2IOu": [
"Este ",
@@ -6326,6 +6337,13 @@
"vGeNNQ": ["Copie um prompt e cole no seu agente para configurar seu projeto."],
"vGjmyl": ["Excluído"],
"vHlhDc": ["Clique duas vezes para editar"],
+ "vHw_jF": [
+ "Não deu para contatar o servidor de colaboração — ",
+ ["errorDetail"],
+ ". Tente <0>",
+ ["cliCommand"],
+ " status</0> ou verifique <1>.ok/local/last-spawn-error.log</1>."
+ ],
"vIxrEk": ["Ajustar à largura"],
"vLyv1R": ["Ocultar"],
"vO2v-0": ["Ocultar os outros"],
diff --git a/packages/app/src/locales/pt-BR/messages.po b/packages/app/src/locales/pt-BR/messages.po
index 55a4fecf5..896d5efa8 100644
--- a/packages/app/src/locales/pt-BR/messages.po
+++ b/packages/app/src/locales/pt-BR/messages.po
@@ -2196,8 +2196,8 @@ msgid "Applies to all projects on this machine, in Claude Code and Codex chats i
msgstr "Vale para todos os projetos desta máquina, nos chats do Claude Code e do Codex no painel de agentes iniciados depois que você ativar. O agente pode abrir páginas, clicar, digitar e fazer capturas de tela na própria janela do Google Chrome, com um perfil novo. Requer o Google Chrome e o Node.js instalados. Cada ação do navegador pede sua aprovação, sem opção de permitir sempre, a menos que o próprio modo do agente ou as configurações de permissão dele pulem as aprovações."
#: src/components/settings/TerminalSection.tsx
-msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"ok open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
-msgstr "Vale para todos os projetos desta máquina. Claude e Codex iniciados pelo terminal integrado, e qualquer agente em um chat do painel de agentes do app, aprovam automaticamente as ferramentas de leitura e escrita do OpenKnowledge (o Claude também executa \"ok open\" automaticamente). Excluir, mover, compartilhar, importar ou instalar skills, outros comandos e edições de arquivos fora do OpenKnowledge continuam perguntando. No terminal, Cursor, OpenCode e Pi não são afetados. Melhor esforço por agente."
+msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"{cliCommand} open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
+msgstr "Vale para todos os projetos desta máquina. Claude e Codex iniciados pelo terminal integrado, e qualquer agente em um chat do painel de agentes do app, aprovam automaticamente as ferramentas de leitura e escrita do OpenKnowledge (o Claude também executa \"{cliCommand} open\" automaticamente). Excluir, mover, compartilhar, importar ou instalar skills, outros comandos e edições de arquivos fora do OpenKnowledge continuam perguntando. No terminal, Cursor, OpenCode e Pi não são afetados. Melhor esforço por agente."
#: src/components/settings/ScopeBadge.tsx
msgid "Applies to this project on this computer only. Stored in .ok/local, not shared via git."
@@ -2525,8 +2525,8 @@ msgid "Available in every project on this machine. Not shared through git."
msgstr "Disponível em todos os projetos deste computador. Não é compartilhado por git."
#: src/components/settings/SharingSection.tsx
-msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
-msgstr "Disponível no app de desktop do OpenKnowledge. Em um terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgstr "Disponível no app de desktop do OpenKnowledge. Em um terminal, use<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
#: src/components/acp/ThreadHistoryPanel.tsx
#: src/components/AppMenubar.tsx
@@ -3446,8 +3446,8 @@ msgid "Code field undo or redo"
msgstr "Desfazer ou refazer no campo de código"
#: src/components/settings/TerminalSection.tsx
-msgid "Codex will still ask until you run \"ok init\" in a terminal for this project."
-msgstr "O Codex vai continuar perguntando até você rodar \"ok init\" em um terminal para este projeto."
+msgid "Codex will still ask until you run \"{cliCommand} init\" in a terminal for this project."
+msgstr "O Codex vai continuar perguntando até você rodar \"{cliCommand} init\" em um terminal para este projeto."
#: src/components/AutoSyncEnableWarning.tsx
msgid "Collaborators see your in-progress edits as soon as they sync."
@@ -4472,8 +4472,8 @@ msgid "Couldn't reach {displayName} — try again?"
msgstr "Não foi possível acessar {displayName}. Tentar de novo?"
#: src/components/ConnectingBanner.tsx
-msgid "Couldn't reach collab server — {errorDetail}. Try <0>ok status</0> or check <1>.ok/local/last-spawn-error.log</1>."
-msgstr "Não deu para contatar o servidor de colaboração — {errorDetail}. Tente <0>ok status</0> ou verifique <1>.ok/local/last-spawn-error.log</1>."
+msgid "Couldn't reach collab server — {errorDetail}. Try <0>{cliCommand} status</0> or check <1>.ok/local/last-spawn-error.log</1>."
+msgstr "Não deu para contatar o servidor de colaboração — {errorDetail}. Tente <0>{cliCommand} status</0> ou verifique <1>.ok/local/last-spawn-error.log</1>."
#: src/components/PublishToGitHubDialog.tsx
#: src/lib/share/publish-wizard.ts
@@ -4600,8 +4600,8 @@ msgid "Couldn't restart the server automatically. Try running `{cliCommand} stop
msgstr "Não deu para reiniciar o servidor automaticamente. Tente rodar `{cliCommand} stop all` em um terminal e abra este projeto de novo — ou reinicie o computador se persistir."
#: src/components/settings/NetworkAccessSection.tsx
-msgid "Couldn't restart the server. Run ok start in this folder to retry."
-msgstr "Não foi possível reiniciar o servidor. Execute ok start nesta pasta para tentar novamente."
+msgid "Couldn't restart the server. Run {cliCommand} start in this folder to retry."
+msgstr "Não foi possível reiniciar o servidor. Execute {cliCommand} start nesta pasta para tentar novamente."
#: src/lib/restart-collab-server.ts
msgid "Couldn't restart the server. Try `{cliCommand} start` in this folder."
@@ -9315,8 +9315,8 @@ msgid "Network error — please try again"
msgstr "Erro de rede — tente de novo"
#: src/components/ConnectingBanner.tsx
-msgid "network error (is `ok start` running?)"
-msgstr "erro de rede (o `ok start` está em execução?)"
+msgid "network error (is `{cliCommand} start` running?)"
+msgstr "erro de rede (o `{cliCommand} start` está em execução?)"
#: src/components/FileTree.tsx
msgid "Network error during cleanup"
@@ -9604,8 +9604,8 @@ msgid "No chats yet."
msgstr "Ainda não há chats."
#: src/components/ConnectingBanner.tsx
-msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
-msgstr "Não há servidor de colaboração para este worktree — rode <0>ok start</0> aqui ou abra o projeto de novo."
+msgid "No collab server for this worktree — run <0>{cliCommand} start</0> here, or reopen the project."
+msgstr "Não há servidor de colaboração para este worktree — rode <0>{cliCommand} start</0> aqui ou abra o projeto de novo."
#: src/comments/CommentProjectPanel.tsx
msgid "No comments in this project yet. Comment on a passage to start one."
@@ -15982,8 +15982,8 @@ msgid "token"
msgstr "token"
#: src/components/settings/AccountSection.tsx
-msgid "Token stored for {login} on {host}. To remove it, run <0>ok auth signout --host {host}</0>."
-msgstr "Token guardado para {login} em {host}. Para removê-lo, execute <0>ok auth signout --host {host}</0>."
+msgid "Token stored for {login} on {host}. To remove it, run <0>{cliCommand} auth signout --host {host}</0>."
+msgstr "Token guardado para {login} em {host}. Para removê-lo, execute <0>{cliCommand} auth signout --host {host}</0>."
#: src/components/SkillBundlePreview.tsx
#: src/components/SkillProperties.tsx
@@ -17046,8 +17046,8 @@ msgid "You can add"
msgstr "Você pode adicionar"
#: src/components/ReportBugDialogBody.tsx
-msgid "You can also create one from a terminal with <0>ok bug-report</0>."
-msgstr "Você também pode criar um por um terminal com <0>ok bug-report</0>."
+msgid "You can also create one from a terminal with <0>{cliCommand} bug-report</0>."
+msgstr "Você também pode criar um por um terminal com <0>{cliCommand} bug-report</0>."
#: src/components/TerminalGate.tsx
msgid "You can also manage this in Settings."
diff --git a/packages/app/src/locales/ur/messages.json b/packages/app/src/locales/ur/messages.json
index 8306df2f6..14676839e 100644
--- a/packages/app/src/locales/ur/messages.json
+++ b/packages/app/src/locales/ur/messages.json
@@ -274,7 +274,6 @@
"2GT3Hf": ["عالمی"],
"2H5Zhu": ["رپورٹ کا جائزہ لے کر بھیجنے تک کمپیوٹر سے کچھ بھی باہر نہیں جاتا۔"],
"2IYGkU": ["اس دستاویز میں غیر پُش شدہ تبدیلیاں ہیں۔ وصول کنندگان آخری پُش شدہ ورژن دیکھیں گے۔"],
- "2L8aeZ": ["نیٹ ورک کی خرابی (کیا `ok start` چل رہا ہے؟)"],
"2M0JF6": ["خودکار اپ ڈیٹ"],
"2O5Z0r": [["appName"], " چھپائیں"],
"2QM24L": ["تمام ٹیگز"],
@@ -483,14 +482,6 @@
"4mp6Tv": ["OpenKnowledge نے انسٹال شدہ اسکلز کی فہرست دی"],
"4niEzY": ["سینڈ باکسڈ HTML ایمبیڈ — HTML لکھیں، رینڈر شدہ پیش منظر براہِ راست دیکھیں۔"],
"4nj6n8": ["/api/config نے HTTP ", ["code"], " لوٹایا"],
- "4p8Baj": [
- ["host"],
- " پر ",
- ["login"],
- " کے لیے ٹوکن محفوظ کر لیا گیا۔ اسے ہٹانے کے لیے <0>ok auth signout --host ",
- ["host"],
- "</0> چلائیں۔"
- ],
"4pDZ2N": [
"«",
["0"],
@@ -550,7 +541,6 @@
],
"5OTgC7": ["نیچے کا «AI سے پوچھیں» پرامپٹ کمپوزر کھولیں اور اس پر فوکس کریں۔"],
"5OqaJi": ["پروجیکٹ کا نام درج کریں"],
- "5PHgV2": ["آپ ٹرمینل سے <0>ok bug-report</0> کے ذریعے بھی ایک بنا سکتے ہیں۔"],
"5QGTaA": ["نسبتی راستہ نقل نہیں ہو سکا"],
"5RiC8D": [
"دریافتی اسکلز کا انتظام تمام AI ٹولز کے لیے ایک ساتھ کیا جاتا ہے۔ اسے ترتیبات میں مہارت اسٹوڈیو سے انسٹال کریں۔"
@@ -568,9 +558,6 @@
],
"5UccRr": ["آخری سرگرمی: ", ["lastActivity"]],
"5WDhAk": ["کسی صفحے یا بیرونی URL سے لنک کریں۔"],
- "5W_u0E": [
- "سرور دوبارہ شروع نہیں ہو سکا۔ دوبارہ کوشش کرنے کے لیے اس فولڈر میں ok start چلائیں۔"
- ],
"5Y17qa": ["لاگو ہوتا ہے (گلوبز — شروع میں ! خارج کرتا ہے؛ خالی کا مطلب ہر دستاویز)"],
"5YWCV_": ["پلان کا جواب بگڑا ہوا ہے"],
"5ZB7XC": ["فائل ڈراپ زون"],
@@ -761,9 +748,6 @@
"7WnfoD": ["یہ رپورٹ پہلے ہی راستے میں ہے۔ اس کا نتیجہ بگ رپورٹ کی تاریخ میں نظر آئے گا۔"],
"7Y9yTo": [["owner"], "/", ["name"], " بن گیا، لیکن پش ناکام رہا۔"],
"7YJr6i": ["اس سیشن کا شیل کبھی شروع نہیں ہوا۔"],
- "7YRrJ9": [
- "OpenKnowledge ڈیسک ٹاپ ایپ میں دستیاب۔ ٹرمینل سے<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2> استعمال کریں۔"
- ],
"7ZpNC-": ["gh"],
"7_bFEL": ["ترتیب بدلنے کے لیے ", ["patternText"], " کھینچیں"],
"7a0YcF": ["شروع کرنے کے لیے <0>اسپیس</0> دبائیں یا blob پر ٹیپ کریں"],
@@ -1001,9 +985,6 @@
"A5hiCy": ["ٹیمپلیٹ بنائیں"],
"A67Uwj": ["ابھی بھی لوڈ ہو رہا ہے"],
"A6h5b-": ["فائل کی نقل بن گئی"],
- "AAlr5Y": [
- "اس ورک ٹری کے لیے کوئی اشتراکی سرور نہیں — یہاں <0>ok start</0> چلائیں، یا پروجیکٹ دوبارہ کھولیں۔"
- ],
"AB4qw9": ["نیا ٹرمینل"],
"ABq-cq": ["OpenKnowledge نے شیئر لنک بنایا"],
"ACKMCN": ["مہارت کی ترتیبات لوڈ نہیں ہو سکیں: ", ["0"]],
@@ -1855,6 +1836,11 @@
"JlFcis": ["بھیجیں"],
"JmfgFc": ["(", ["0"], " کا ورک ٹری)"],
"Jnz9AY": [["0"], " ", ["destination"], " کے اوپر ہے۔"],
+ "JpDb1D": [
+ "سرور دوبارہ شروع نہیں ہو سکا۔ دوبارہ کوشش کرنے کے لیے اس فولڈر میں ",
+ ["cliCommand"],
+ " start چلائیں۔"
+ ],
"Jqqevv": ["سسٹم کی خرابی"],
"JrqL_z": ["اوپر قطار داخل کریں"],
"Jrwm42": ["آپ کے ایجنٹس لوڈ نہیں ہو سکے۔"],
@@ -1952,9 +1938,6 @@
],
"KmydK6": ["جلی"],
"KnoB--": ["<0>", ["sanitized"], "</0> کے نام سے محفوظ ہو گا۔"],
- "Kr3VPS": [
- "Codex اس وقت تک پوچھتا رہے گا جب تک آپ اس پروجیکٹ کے لیے ٹرمینل میں «ok init» نہ چلائیں۔"
- ],
"KsAPaB": ["یہ برانچ یہاں چیک آؤٹ ہے:"],
"KtACeE": ["طے شدہ: <0>", ["0"], "</0>"],
"KujtjC": ["تلاش"],
@@ -2242,6 +2225,11 @@
"NeY1Np": ["Slidev شروع ہوتے ہوئے وقت ختم ہو گیا۔ دوبارہ کوشش کریں۔"],
"NfraGd": ["Slidev انسٹال کرنے کے دیگر طریقے"],
"NgZwB0": [["enabledCount"], "/", ["0"], " فعال"],
+ "NgqxB9": [
+ "اس ورک ٹری کے لیے کوئی اشتراکی سرور نہیں — یہاں <0>",
+ ["cliCommand"],
+ " start</0> چلائیں، یا پروجیکٹ دوبارہ کھولیں۔"
+ ],
"Ni4b7h": [
"پروجیکٹ کے پلگ اِنز آپ کے پروجیکٹ کا تصنیفی معیار ہیں — انہیں یہاں فعال یا بند کریں۔ ہر فعال پلگ اِن کو ترتیبات کے سائیڈ بار میں پلگ اِنز کے تحت اپنا صفحہ ملتا ہے۔"
],
@@ -2859,6 +2847,11 @@
["shareBranch"],
"</0> میں شامل ہوا۔ اسے کھولنے کے لیے برانچ بدلیں اور تازہ کریں۔"
],
+ "UbQzWP": [
+ "OpenKnowledge ڈیسک ٹاپ ایپ میں دستیاب۔ ٹرمینل سے<0> ",
+ ["cliCommand"],
+ " config-sharing status</0> / <1>share</1> / <2>unshare</2> استعمال کریں۔"
+ ],
"UcTm1A": [
"اس کمپیوٹر پر GitHub CLI (<0>gh</0>) کی طرف سے فراہم کردہ۔ اکاؤنٹ بدلنے یا سائن آؤٹ کرنے کے لیے ٹرمینل میں <1>gh auth</1> چلائیں۔"
],
@@ -3329,6 +3322,11 @@
"ZjtgI-": ["کمانڈ پیلیٹ"],
"ZkY0ic": ["جائزے کا انتظار"],
"ZlCe_H": ["املا کی جانچ کے لیے کوئی زبان دستیاب نہیں۔"],
+ "Zmg5Ge": [
+ "اس مشین کے تمام پروجیکٹس پر لاگو ہوتا ہے۔ بلٹ اِن ٹرمینل سے شروع کیے گئے Claude اور Codex، اور ایپ کے ایجنٹ پینل چیٹ میں کوئی بھی ایجنٹ، OpenKnowledge کے پڑھنے اور لکھنے کے ٹولز خود بخود منظور کرتے ہیں (Claude \"",
+ ["cliCommand"],
+ " open\" بھی خود چلاتا ہے)۔ اسکلز حذف کرنا، منتقل کرنا، شیئر کرنا، درآمد یا انسٹال کرنا، دیگر کمانڈز اور غیر OpenKnowledge فائل ترامیم اب بھی پوچھتی ہیں۔ ٹرمینل میں Cursor، OpenCode اور Pi متاثر نہیں ہوتے۔ ہر ایجنٹ کے لیے حتی الامکان۔"
+ ],
"Zon_qG": ["مرر کا ماخذ <0>", ["label"], "</0>"],
"ZptNUh": [["hidden"], " مزید دکھائیں"],
"Zs3d0w": [
@@ -3686,9 +3684,6 @@
"cOX1Cj": ["git ہوسٹ"],
"cOrTMo": ["آپ کا شیئر لنک نیچے تیار ہے۔"],
"cPAWbl": ["ای میل کیا گیا"],
- "cPgQ_i": [
- "اس مشین کے تمام پروجیکٹس پر لاگو ہوتا ہے۔ بلٹ اِن ٹرمینل سے شروع کیے گئے Claude اور Codex، اور ایپ کے ایجنٹ پینل چیٹ میں کوئی بھی ایجنٹ، OpenKnowledge کے پڑھنے اور لکھنے کے ٹولز خود بخود منظور کرتے ہیں (Claude \"ok open\" بھی خود چلاتا ہے)۔ اسکلز حذف کرنا، منتقل کرنا، شیئر کرنا، درآمد یا انسٹال کرنا، دیگر کمانڈز اور غیر OpenKnowledge فائل ترامیم اب بھی پوچھتی ہیں۔ ٹرمینل میں Cursor، OpenCode اور Pi متاثر نہیں ہوتے۔ ہر ایجنٹ کے لیے حتی الامکان۔"
- ],
"cQlPDN": ["پڑھنا"],
"cRHuuI": ["راستہ نقل نہیں ہو سکا"],
"cRm498": ["اس پروجیکٹ میں ابھی کوئی اسکیما فائل نہیں — توثیق شروع کرنے کے لیے ایک بنائیں۔"],
@@ -3784,6 +3779,7 @@
"</1> سے بنے گی، <2>.ok/worktrees/</2> کے تحت اپنے الگ ورک ٹری میں۔"
],
"dGcsnU": ["دونوں کے لیے ہٹائیں"],
+ "dHaD0-": ["نیٹ ورک کی خرابی (کیا `", ["cliCommand"], " start` چل رہا ہے؟)"],
"dIYSqk": ["ریموٹ"],
"dJw2_7": ["آپ کی ٹیم کے لیے پروجیکٹ کے ساتھ محفوظ۔"],
"dMsx3p": ["ہوم پیج اور نیویگیشن کا مرکز۔"],
@@ -4546,6 +4542,11 @@
"جلد شروع کرنے کے لیے تیار شدہ فولڈرز اور ٹیمپلیٹس۔ کیا بنے گا اس کا پیش منظر دیکھنے کے لیے کوئی پیک منتخب کریں، پھر اسے اپنے پروجیکٹ میں شامل کریں۔"
],
"k5rKNs": ["frontmatter"],
+ "k6Gfom": [
+ "آپ ٹرمینل سے <0>",
+ ["cliCommand"],
+ " bug-report</0> کے ذریعے بھی ایک بنا سکتے ہیں۔"
+ ],
"k7Hoig": ["اس ورژن میں مواد کی کوئی تبدیلی نہیں۔"],
"kBNHN1": ["نیویگیشن کی تاریخ"],
"kCjkGY": ["اس میں تھوڑا وقت لگ سکتا ہے۔ آپ کا Markdown مواد محفوظ رہتا ہے۔"],
@@ -4939,11 +4940,6 @@
"nnhrHd": [
"کسی بھی فولڈر کی گہرائی میں log.md یا log.mdx کے اندر لکھے خراب لنکس کو مسائل، فائل ایکسپلورر کے اشاروں، ایڈیٹر کی تشخیص، آڈٹس اور ایجنٹ تحریری مشوروں سے باہر رکھیں۔ اہم وہ فائل ہے جس میں لنک لکھا گیا ہے، نہ کہ وہ فائل جس کی طرف لنک اشارہ کرتا ہے، اور LOG.md ایک عام دستاویز ہے۔ لنکس پینل اور ایڈیٹر میں یہ لنکس پھر بھی دکھائی دیتے ہیں۔"
],
- "noH1JX": [
- "اشتراکی سرور تک رسائی نہیں ہو سکی — ",
- ["errorDetail"],
- "۔ <0>ok status</0> آزمائیں یا <1>.ok/local/last-spawn-error.log</1> دیکھیں۔"
- ],
"np2zZM": ["جاری رکھنے کے لیے ", ["agentName"], " میں سائن اِن کریں۔"],
"npcziF": ["اس پر نصب کریں"],
"nqV0Kk": ["یہ فولڈر ابھی GitHub سے مطابق نہیں ہوا۔ لنک اگلی مطابقت پذیری کے بعد کام کرے گا۔"],
@@ -4967,6 +4963,16 @@
"o1veZ6": ["اس دستاویز کو نئی ونڈو میں نہیں کھولا جا سکا۔"],
"o49mDZ": ["ٹائم لائن کی تاریخ لوڈ ہو رہی ہے"],
"o7AkQ0": ["حل شدہ دکھائیں"],
+ "o8OY2K": [
+ ["host"],
+ " پر ",
+ ["login"],
+ " کے لیے ٹوکن محفوظ کر لیا گیا۔ اسے ہٹانے کے لیے <0>",
+ ["cliCommand"],
+ " auth signout --host ",
+ ["host"],
+ "</0> چلائیں۔"
+ ],
"o9CrsQ": ["research-note"],
"o9fPtM": ["ماخذ سے خودکار اپ ڈیٹ"],
"o9yN4T": ["ری سائیکل بن میں منتقل کریں"],
@@ -5354,6 +5360,11 @@
"sQoLn0": ["باہر نکلیں"],
"sR0I-f": ["سب فائلیں سکیڑیں"],
"sSRndh": ["index.md کو برقرار رکھنا شروع کریں"],
+ "sTQjgr": [
+ "Codex اس وقت تک پوچھتا رہے گا جب تک آپ اس پروجیکٹ کے لیے ٹرمینل میں «",
+ ["cliCommand"],
+ " init» نہ چلائیں۔"
+ ],
"sW5OjU": ["لازمی"],
"sZ2IOu": [
"یہ ",
@@ -5682,6 +5693,13 @@
],
"vGjmyl": ["حذف شدہ"],
"vHlhDc": ["ترمیم کے لیے ڈبل کلک کریں"],
+ "vHw_jF": [
+ "اشتراکی سرور تک رسائی نہیں ہو سکی — ",
+ ["errorDetail"],
+ "۔ <0>",
+ ["cliCommand"],
+ " status</0> آزمائیں یا <1>.ok/local/last-spawn-error.log</1> دیکھیں۔"
+ ],
"vIxrEk": ["چوڑائی کے مطابق"],
"vLyv1R": ["چھپائیں"],
"vO2v-0": ["دیگر چھپائیں"],
diff --git a/packages/app/src/locales/ur/messages.po b/packages/app/src/locales/ur/messages.po
index 241c2ad94..77c82d2b5 100644
--- a/packages/app/src/locales/ur/messages.po
+++ b/packages/app/src/locales/ur/messages.po
@@ -2200,8 +2200,8 @@ msgid "Applies to all projects on this machine, in Claude Code and Codex chats i
msgstr "اس مشین کے تمام پروجیکٹس پر لاگو ہوتا ہے، ایجنٹ پینل کی ان Claude Code اور Codex چیٹس میں جو اسے آن کرنے کے بعد شروع ہوں۔ ایجنٹ نئی پروفائل والی اپنی Google Chrome ونڈو میں صفحات کھول، کلک کر، ٹائپ کر اور اسکرین شاٹ لے سکتا ہے۔ Google Chrome اور Node.js انسٹال ہونا ضروری ہے۔ براؤزر کی ہر کارروائی آپ کی منظوری مانگتی ہے، ہمیشہ اجازت دینے کے کسی اختیار کے بغیر، جب تک ایجنٹ کا اپنا موڈ یا اس کی اجازت کی ترتیبات منظوری کو نظرانداز نہ کریں۔"
#: src/components/settings/TerminalSection.tsx
-msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"ok open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
-msgstr "اس مشین کے تمام پروجیکٹس پر لاگو ہوتا ہے۔ بلٹ اِن ٹرمینل سے شروع کیے گئے Claude اور Codex، اور ایپ کے ایجنٹ پینل چیٹ میں کوئی بھی ایجنٹ، OpenKnowledge کے پڑھنے اور لکھنے کے ٹولز خود بخود منظور کرتے ہیں (Claude \"ok open\" بھی خود چلاتا ہے)۔ اسکلز حذف کرنا، منتقل کرنا، شیئر کرنا، درآمد یا انسٹال کرنا، دیگر کمانڈز اور غیر OpenKnowledge فائل ترامیم اب بھی پوچھتی ہیں۔ ٹرمینل میں Cursor، OpenCode اور Pi متاثر نہیں ہوتے۔ ہر ایجنٹ کے لیے حتی الامکان۔"
+msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"{cliCommand} open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
+msgstr "اس مشین کے تمام پروجیکٹس پر لاگو ہوتا ہے۔ بلٹ اِن ٹرمینل سے شروع کیے گئے Claude اور Codex، اور ایپ کے ایجنٹ پینل چیٹ میں کوئی بھی ایجنٹ، OpenKnowledge کے پڑھنے اور لکھنے کے ٹولز خود بخود منظور کرتے ہیں (Claude \"{cliCommand} open\" بھی خود چلاتا ہے)۔ اسکلز حذف کرنا، منتقل کرنا، شیئر کرنا، درآمد یا انسٹال کرنا، دیگر کمانڈز اور غیر OpenKnowledge فائل ترامیم اب بھی پوچھتی ہیں۔ ٹرمینل میں Cursor، OpenCode اور Pi متاثر نہیں ہوتے۔ ہر ایجنٹ کے لیے حتی الامکان۔"
#: src/components/settings/ScopeBadge.tsx
msgid "Applies to this project on this computer only. Stored in .ok/local, not shared via git."
@@ -2529,8 +2529,8 @@ msgid "Available in every project on this machine. Not shared through git."
msgstr "اس مشین کے ہر پروجیکٹ میں دستیاب۔ git کے ذریعے شیئر نہیں ہوتا۔"
#: src/components/settings/SharingSection.tsx
-msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
-msgstr "OpenKnowledge ڈیسک ٹاپ ایپ میں دستیاب۔ ٹرمینل سے<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2> استعمال کریں۔"
+msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgstr "OpenKnowledge ڈیسک ٹاپ ایپ میں دستیاب۔ ٹرمینل سے<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2> استعمال کریں۔"
#: src/components/acp/ThreadHistoryPanel.tsx
#: src/components/AppMenubar.tsx
@@ -3450,8 +3450,8 @@ msgid "Code field undo or redo"
msgstr "کوڈ فیلڈ میں واپسی یا دوبارہ"
#: src/components/settings/TerminalSection.tsx
-msgid "Codex will still ask until you run \"ok init\" in a terminal for this project."
-msgstr "Codex اس وقت تک پوچھتا رہے گا جب تک آپ اس پروجیکٹ کے لیے ٹرمینل میں «ok init» نہ چلائیں۔"
+msgid "Codex will still ask until you run \"{cliCommand} init\" in a terminal for this project."
+msgstr "Codex اس وقت تک پوچھتا رہے گا جب تک آپ اس پروجیکٹ کے لیے ٹرمینل میں «{cliCommand} init» نہ چلائیں۔"
#: src/components/AutoSyncEnableWarning.tsx
msgid "Collaborators see your in-progress edits as soon as they sync."
@@ -4476,8 +4476,8 @@ msgid "Couldn't reach {displayName} — try again?"
msgstr "{displayName} تک رسائی نہیں ہو سکی۔ دوبارہ کوشش کریں؟"
#: src/components/ConnectingBanner.tsx
-msgid "Couldn't reach collab server — {errorDetail}. Try <0>ok status</0> or check <1>.ok/local/last-spawn-error.log</1>."
-msgstr "اشتراکی سرور تک رسائی نہیں ہو سکی — {errorDetail}۔ <0>ok status</0> آزمائیں یا <1>.ok/local/last-spawn-error.log</1> دیکھیں۔"
+msgid "Couldn't reach collab server — {errorDetail}. Try <0>{cliCommand} status</0> or check <1>.ok/local/last-spawn-error.log</1>."
+msgstr "اشتراکی سرور تک رسائی نہیں ہو سکی — {errorDetail}۔ <0>{cliCommand} status</0> آزمائیں یا <1>.ok/local/last-spawn-error.log</1> دیکھیں۔"
#: src/components/PublishToGitHubDialog.tsx
#: src/lib/share/publish-wizard.ts
@@ -4604,8 +4604,8 @@ msgid "Couldn't restart the server automatically. Try running `{cliCommand} stop
msgstr "سرور خودکار طور پر دوبارہ نہیں چل سکا۔ ٹرمینل میں `{cliCommand} stop all` چلا کر دیکھیں، پھر یہ پروجیکٹ دوبارہ کھولیں — یا مسئلہ برقرار رہے تو اپنا کمپیوٹر دوبارہ چالو کریں۔"
#: src/components/settings/NetworkAccessSection.tsx
-msgid "Couldn't restart the server. Run ok start in this folder to retry."
-msgstr "سرور دوبارہ شروع نہیں ہو سکا۔ دوبارہ کوشش کرنے کے لیے اس فولڈر میں ok start چلائیں۔"
+msgid "Couldn't restart the server. Run {cliCommand} start in this folder to retry."
+msgstr "سرور دوبارہ شروع نہیں ہو سکا۔ دوبارہ کوشش کرنے کے لیے اس فولڈر میں {cliCommand} start چلائیں۔"
#: src/lib/restart-collab-server.ts
msgid "Couldn't restart the server. Try `{cliCommand} start` in this folder."
@@ -9319,8 +9319,8 @@ msgid "Network error — please try again"
msgstr "نیٹ ورک کی خرابی — براہِ کرم دوبارہ کوشش کریں"
#: src/components/ConnectingBanner.tsx
-msgid "network error (is `ok start` running?)"
-msgstr "نیٹ ورک کی خرابی (کیا `ok start` چل رہا ہے؟)"
+msgid "network error (is `{cliCommand} start` running?)"
+msgstr "نیٹ ورک کی خرابی (کیا `{cliCommand} start` چل رہا ہے؟)"
#: src/components/FileTree.tsx
msgid "Network error during cleanup"
@@ -9608,8 +9608,8 @@ msgid "No chats yet."
msgstr "ابھی کوئی چیٹ نہیں۔"
#: src/components/ConnectingBanner.tsx
-msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
-msgstr "اس ورک ٹری کے لیے کوئی اشتراکی سرور نہیں — یہاں <0>ok start</0> چلائیں، یا پروجیکٹ دوبارہ کھولیں۔"
+msgid "No collab server for this worktree — run <0>{cliCommand} start</0> here, or reopen the project."
+msgstr "اس ورک ٹری کے لیے کوئی اشتراکی سرور نہیں — یہاں <0>{cliCommand} start</0> چلائیں، یا پروجیکٹ دوبارہ کھولیں۔"
#: src/comments/CommentProjectPanel.tsx
msgid "No comments in this project yet. Comment on a passage to start one."
@@ -15986,8 +15986,8 @@ msgid "token"
msgstr "ٹوکن"
#: src/components/settings/AccountSection.tsx
-msgid "Token stored for {login} on {host}. To remove it, run <0>ok auth signout --host {host}</0>."
-msgstr "{host} پر {login} کے لیے ٹوکن محفوظ کر لیا گیا۔ اسے ہٹانے کے لیے <0>ok auth signout --host {host}</0> چلائیں۔"
+msgid "Token stored for {login} on {host}. To remove it, run <0>{cliCommand} auth signout --host {host}</0>."
+msgstr "{host} پر {login} کے لیے ٹوکن محفوظ کر لیا گیا۔ اسے ہٹانے کے لیے <0>{cliCommand} auth signout --host {host}</0> چلائیں۔"
#: src/components/SkillBundlePreview.tsx
#: src/components/SkillProperties.tsx
@@ -17050,8 +17050,8 @@ msgid "You can add"
msgstr "آپ شامل کر سکتے ہیں"
#: src/components/ReportBugDialogBody.tsx
-msgid "You can also create one from a terminal with <0>ok bug-report</0>."
-msgstr "آپ ٹرمینل سے <0>ok bug-report</0> کے ذریعے بھی ایک بنا سکتے ہیں۔"
+msgid "You can also create one from a terminal with <0>{cliCommand} bug-report</0>."
+msgstr "آپ ٹرمینل سے <0>{cliCommand} bug-report</0> کے ذریعے بھی ایک بنا سکتے ہیں۔"
#: src/components/TerminalGate.tsx
msgid "You can also manage this in Settings."
diff --git a/packages/app/src/locales/zh-Hans/messages.json b/packages/app/src/locales/zh-Hans/messages.json
index 54ad0491f..a7807432e 100644
--- a/packages/app/src/locales/zh-Hans/messages.json
+++ b/packages/app/src/locales/zh-Hans/messages.json
@@ -245,7 +245,6 @@
"2GT3Hf": ["全局"],
"2H5Zhu": ["在您检查并发送报告之前,任何信息都不会离开您的计算机。"],
"2IYGkU": ["这个文档有未推送的改动。接收方看到的会是最后一次推送的版本。"],
- "2L8aeZ": ["网络错误(`ok start` 在运行吗?)"],
"2M0JF6": ["自动更新"],
"2O5Z0r": ["隐藏 ", ["appName"]],
"2QM24L": ["所有标签"],
@@ -426,15 +425,6 @@
"4mp6Tv": ["OpenKnowledge 列出了已安装的技能"],
"4niEzY": ["沙箱化的 HTML 嵌入——写下 HTML,实时查看渲染效果。"],
"4nj6n8": ["/api/config 返回了 HTTP ", ["code"]],
- "4p8Baj": [
- "已为 ",
- ["host"],
- " 上的 ",
- ["login"],
- " 保存令牌。要移除它,请运行 <0>ok auth signout --host ",
- ["host"],
- "</0>。"
- ],
"4pDZ2N": ["已把“", ["0"], "”从其他所有位置移除——它的来源文件夹仍会加载"],
"4r6p_B": [
"此命令包含隐藏字符,可能使其看起来与实际运行的内容不同。这些字符在此显示为 ⟨U+…⟩。"
@@ -482,7 +472,6 @@
],
"5OTgC7": ["打开并聚焦底部的「问 AI」提示词输入框。"],
"5OqaJi": ["请输入项目名"],
- "5PHgV2": ["你也可以在终端中用 <0>ok bug-report</0> 创建一个。"],
"5QGTaA": ["无法复制相对路径"],
"5RiC8D": ["发现技能由所有 AI 工具统一管理。请从“设置”→“技能工作室”安装此技能。"],
"5SwVv1": ["未安装"],
@@ -497,7 +486,6 @@
],
"5UccRr": ["最近活动:", ["lastActivity"]],
"5WDhAk": ["链接到某个页面或外部 URL。"],
- "5W_u0E": ["无法重启服务器。请在此文件夹中运行 ok start 以重试。"],
"5Y17qa": ["适用于(glob 模式;以 ! 开头表示排除;留空表示所有文档)"],
"5YWCV_": ["计划响应格式错误"],
"5ZB7XC": ["文件拖放区"],
@@ -656,9 +644,6 @@
"7WnfoD": ["该报告已经在发送途中,结果会显示在错误报告历史里。"],
"7Y9yTo": ["已创建 ", ["owner"], "/", ["name"], ",但推送失败。"],
"7YJr6i": ["此会话的 shell 从未启动。"],
- "7YRrJ9": [
- "在 OpenKnowledge 桌面应用中可用。在终端里可使用<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>。"
- ],
"7ZpNC-": ["gh"],
"7_bFEL": ["拖动 ", ["patternText"], " 以重新排序"],
"7a0YcF": ["按<0>空格</0>或点击 blob 开始"],
@@ -866,7 +851,6 @@
"A5hiCy": ["创建模板"],
"A67Uwj": ["仍在加载"],
"A6h5b-": ["已创建文件副本"],
- "AAlr5Y": ["这个 worktree 没有协作服务器——请在这里运行 <0>ok start</0>,或重新打开项目。"],
"AB4qw9": ["新建终端"],
"ABq-cq": ["OpenKnowledge 创建了分享链接"],
"ACKMCN": ["加载技能设置失败:", ["0"]],
@@ -1589,6 +1573,7 @@
"JlFcis": ["发送"],
"JmfgFc": ["(", ["0"], " 的一个 worktree)"],
"Jnz9AY": [["0"], " 位于 ", ["destination"], " 上方。"],
+ "JpDb1D": ["无法重启服务器。请在此文件夹中运行 ", ["cliCommand"], " start 以重试。"],
"Jqqevv": ["系统错误"],
"JrqL_z": ["在上方插入行"],
"Jrwm42": ["无法加载你的智能体。"],
@@ -1675,7 +1660,6 @@
],
"KmydK6": ["粗体"],
"KnoB--": ["将保存为 <0>", ["sanitized"], "</0>。"],
- "Kr3VPS": ["在你为这个项目在终端中运行 “ok init” 之前,Codex 仍会询问。"],
"KsAPaB": ["这个分支已在以下位置检出:"],
"KtACeE": ["默认:<0>", ["0"], "</0>"],
"KujtjC": ["查找"],
@@ -1908,6 +1892,11 @@
"NeY1Np": ["Slidev 启动超时。请重试。"],
"NfraGd": ["安装 Slidev 的其他方式"],
"NgZwB0": ["已开启 ", ["enabledCount"], "/", ["0"]],
+ "NgqxB9": [
+ "这个 worktree 没有协作服务器——请在这里运行 <0>",
+ ["cliCommand"],
+ " start</0>,或重新打开项目。"
+ ],
"Ni4b7h": [
"项目插件是你项目的写作规范——在这里开启或关闭它们。每个启用的插件在设置侧边栏的「插件」下都有自己的页面。"
],
@@ -2444,6 +2433,11 @@
["shareBranch"],
"</0> 分支。切换并更新后即可打开。"
],
+ "UbQzWP": [
+ "在 OpenKnowledge 桌面应用中可用。在终端里可使用<0> ",
+ ["cliCommand"],
+ " config-sharing status</0> / <1>share</1> / <2>unshare</2>。"
+ ],
"UcTm1A": [
"由这台电脑上的 GitHub CLI(<0>gh</0>)提供。要切换账户或退出登录,请在终端中运行 <1>gh auth</1>。"
],
@@ -2859,6 +2853,11 @@
"ZjtgI-": ["命令面板"],
"ZkY0ic": ["等待审查"],
"ZlCe_H": ["没有可用于拼写检查的语言。"],
+ "Zmg5Ge": [
+ "适用于本机上的所有项目。从内置终端启动的 Claude 和 Codex,以及应用内智能体面板对话中的任何智能体,都会自动批准 OpenKnowledge 的读写工具(Claude 还会自动运行 \"",
+ ["cliCommand"],
+ " open\")。删除、移动、分享、导入或安装技能、其他命令以及非 OpenKnowledge 文件的编辑仍会询问。在终端中,Cursor、OpenCode 和 Pi 不受影响。按各智能体尽力而为。"
+ ],
"Zon_qG": ["镜像来源 <0>", ["label"], "</0>"],
"ZptNUh": ["再显示 ", ["hidden"], " 个"],
"Zs3d0w": [["0", "plural", { "other": ["当前匹配 ", ["4"], " 个文档中的 ", ["3"], " 个。"] }]],
@@ -3159,9 +3158,6 @@
"cOX1Cj": ["git 主机"],
"cOrTMo": ["你的共享链接已在下方生成。"],
"cPAWbl": ["已通过邮件发送"],
- "cPgQ_i": [
- "适用于本机上的所有项目。从内置终端启动的 Claude 和 Codex,以及应用内智能体面板对话中的任何智能体,都会自动批准 OpenKnowledge 的读写工具(Claude 还会自动运行 \"ok open\")。删除、移动、分享、导入或安装技能、其他命令以及非 OpenKnowledge 文件的编辑仍会询问。在终端中,Cursor、OpenCode 和 Pi 不受影响。按各智能体尽力而为。"
- ],
"cQlPDN": ["读取"],
"cRHuuI": ["无法复制路径"],
"cRm498": ["这个项目还没有架构文件——创建一个即可开始校验。"],
@@ -3241,6 +3237,7 @@
"</1> 创建,位于 <2>.ok/worktrees/</2> 下自己的 worktree 中。"
],
"dGcsnU": ["移除两者"],
+ "dHaD0-": ["网络错误(`", ["cliCommand"], " start` 在运行吗?)"],
"dIYSqk": ["远程"],
"dJw2_7": ["与项目一起保存,供你的团队使用。"],
"dMsx3p": ["首页兼导航中枢。"],
@@ -3884,6 +3881,7 @@
"现成的文件夹和模板,帮你快速上手。选择一个包可以预览会创建哪些内容,然后再添加到你的项目中。"
],
"k5rKNs": ["frontmatter"],
+ "k6Gfom": ["你也可以在终端中用 <0>", ["cliCommand"], " bug-report</0> 创建一个。"],
"k7Hoig": ["这个版本没有内容改动。"],
"kBNHN1": ["导航历史"],
"kCjkGY": ["这可能需要一点时间。你的 markdown 内容会保留。"],
@@ -4210,11 +4208,6 @@
"nnhrHd": [
"无论文件夹层级多深,都不在“问题”、文件资源管理器指示器、编辑器诊断、审计和代理写入建议中显示写在 log.md 或 log.mdx 内的失效链接。判断依据是链接写在哪个文件中,而不是它指向哪个文件;LOG.md 是普通文档。“链接”面板和编辑器仍会显示这些链接。"
],
- "noH1JX": [
- "无法连接到协作服务器——",
- ["errorDetail"],
- "。可尝试 <0>ok status</0>,或查看 <1>.ok/local/last-spawn-error.log</1>。"
- ],
"np2zZM": ["请登录 ", ["agentName"], " 以继续。"],
"npcziF": ["安装到"],
"nqV0Kk": ["这个文件夹还没有同步到 GitHub。下次同步后链接就会生效。"],
@@ -4234,6 +4227,17 @@
"o1veZ6": ["无法在新窗口中打开此文档。"],
"o49mDZ": ["正在加载时间线历史"],
"o7AkQ0": ["显示已解决"],
+ "o8OY2K": [
+ "已为 ",
+ ["host"],
+ " 上的 ",
+ ["login"],
+ " 保存令牌。要移除它,请运行 <0>",
+ ["cliCommand"],
+ " auth signout --host ",
+ ["host"],
+ "</0>。"
+ ],
"o9CrsQ": ["research-note"],
"o9fPtM": ["从来源自动更新"],
"o9yN4T": ["移到回收站"],
@@ -4576,6 +4580,7 @@
"sQoLn0": ["退出"],
"sR0I-f": ["折叠全部文件"],
"sSRndh": ["开始维护 index.md"],
+ "sTQjgr": ["在你为这个项目在终端中运行 “", ["cliCommand"], " init” 之前,Codex 仍会询问。"],
"sW5OjU": ["必填"],
"sZ2IOu": [
"这个",
@@ -4847,6 +4852,13 @@
"vGeNNQ": ["复制一段提示词,粘贴给你的智能体来配置项目。"],
"vGjmyl": ["已删除"],
"vHlhDc": ["双击进行编辑"],
+ "vHw_jF": [
+ "无法连接到协作服务器——",
+ ["errorDetail"],
+ "。可尝试 <0>",
+ ["cliCommand"],
+ " status</0>,或查看 <1>.ok/local/last-spawn-error.log</1>。"
+ ],
"vIxrEk": ["适应宽度"],
"vLyv1R": ["隐藏"],
"vO2v-0": ["隐藏其他"],
diff --git a/packages/app/src/locales/zh-Hans/messages.po b/packages/app/src/locales/zh-Hans/messages.po
index 127fb9f18..cffc2a9ac 100644
--- a/packages/app/src/locales/zh-Hans/messages.po
+++ b/packages/app/src/locales/zh-Hans/messages.po
@@ -2200,8 +2200,8 @@ msgid "Applies to all projects on this machine, in Claude Code and Codex chats i
msgstr "适用于本机上的所有项目,作用于开启后新建的智能体面板中的 Claude Code 和 Codex 对话。智能体可以在它自己的 Google Chrome 窗口中(使用全新的配置文件)打开页面、点击、输入和截图。需要已安装 Google Chrome 和 Node.js。除非智能体自身的模式或权限设置跳过了批准,否则每个浏览器操作都会请求你的批准,且没有“始终允许”的选项。"
#: src/components/settings/TerminalSection.tsx
-msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"ok open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
-msgstr "适用于本机上的所有项目。从内置终端启动的 Claude 和 Codex,以及应用内智能体面板对话中的任何智能体,都会自动批准 OpenKnowledge 的读写工具(Claude 还会自动运行 \"ok open\")。删除、移动、分享、导入或安装技能、其他命令以及非 OpenKnowledge 文件的编辑仍会询问。在终端中,Cursor、OpenCode 和 Pi 不受影响。按各智能体尽力而为。"
+msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"{cliCommand} open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
+msgstr "适用于本机上的所有项目。从内置终端启动的 Claude 和 Codex,以及应用内智能体面板对话中的任何智能体,都会自动批准 OpenKnowledge 的读写工具(Claude 还会自动运行 \"{cliCommand} open\")。删除、移动、分享、导入或安装技能、其他命令以及非 OpenKnowledge 文件的编辑仍会询问。在终端中,Cursor、OpenCode 和 Pi 不受影响。按各智能体尽力而为。"
#: src/components/settings/ScopeBadge.tsx
msgid "Applies to this project on this computer only. Stored in .ok/local, not shared via git."
@@ -2529,8 +2529,8 @@ msgid "Available in every project on this machine. Not shared through git."
msgstr "在这台电脑的每个项目中都可用。不通过 git 共享。"
#: src/components/settings/SharingSection.tsx
-msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
-msgstr "在 OpenKnowledge 桌面应用中可用。在终端里可使用<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>。"
+msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgstr "在 OpenKnowledge 桌面应用中可用。在终端里可使用<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>。"
#: src/components/acp/ThreadHistoryPanel.tsx
#: src/components/AppMenubar.tsx
@@ -3450,8 +3450,8 @@ msgid "Code field undo or redo"
msgstr "代码字段的撤销或重做"
#: src/components/settings/TerminalSection.tsx
-msgid "Codex will still ask until you run \"ok init\" in a terminal for this project."
-msgstr "在你为这个项目在终端中运行 “ok init” 之前,Codex 仍会询问。"
+msgid "Codex will still ask until you run \"{cliCommand} init\" in a terminal for this project."
+msgstr "在你为这个项目在终端中运行 “{cliCommand} init” 之前,Codex 仍会询问。"
#: src/components/AutoSyncEnableWarning.tsx
msgid "Collaborators see your in-progress edits as soon as they sync."
@@ -4476,8 +4476,8 @@ msgid "Couldn't reach {displayName} — try again?"
msgstr "无法连接 {displayName}。要重试吗?"
#: src/components/ConnectingBanner.tsx
-msgid "Couldn't reach collab server — {errorDetail}. Try <0>ok status</0> or check <1>.ok/local/last-spawn-error.log</1>."
-msgstr "无法连接到协作服务器——{errorDetail}。可尝试 <0>ok status</0>,或查看 <1>.ok/local/last-spawn-error.log</1>。"
+msgid "Couldn't reach collab server — {errorDetail}. Try <0>{cliCommand} status</0> or check <1>.ok/local/last-spawn-error.log</1>."
+msgstr "无法连接到协作服务器——{errorDetail}。可尝试 <0>{cliCommand} status</0>,或查看 <1>.ok/local/last-spawn-error.log</1>。"
#: src/components/PublishToGitHubDialog.tsx
#: src/lib/share/publish-wizard.ts
@@ -4604,8 +4604,8 @@ msgid "Couldn't restart the server automatically. Try running `{cliCommand} stop
msgstr "无法自动重启服务器。请在终端中运行 `{cliCommand} stop all`,然后重新打开这个项目——如果问题依旧,请重启电脑。"
#: src/components/settings/NetworkAccessSection.tsx
-msgid "Couldn't restart the server. Run ok start in this folder to retry."
-msgstr "无法重启服务器。请在此文件夹中运行 ok start 以重试。"
+msgid "Couldn't restart the server. Run {cliCommand} start in this folder to retry."
+msgstr "无法重启服务器。请在此文件夹中运行 {cliCommand} start 以重试。"
#: src/lib/restart-collab-server.ts
msgid "Couldn't restart the server. Try `{cliCommand} start` in this folder."
@@ -9319,8 +9319,8 @@ msgid "Network error — please try again"
msgstr "网络错误——请重试"
#: src/components/ConnectingBanner.tsx
-msgid "network error (is `ok start` running?)"
-msgstr "网络错误(`ok start` 在运行吗?)"
+msgid "network error (is `{cliCommand} start` running?)"
+msgstr "网络错误(`{cliCommand} start` 在运行吗?)"
#: src/components/FileTree.tsx
msgid "Network error during cleanup"
@@ -9608,8 +9608,8 @@ msgid "No chats yet."
msgstr "还没有聊天。"
#: src/components/ConnectingBanner.tsx
-msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
-msgstr "这个 worktree 没有协作服务器——请在这里运行 <0>ok start</0>,或重新打开项目。"
+msgid "No collab server for this worktree — run <0>{cliCommand} start</0> here, or reopen the project."
+msgstr "这个 worktree 没有协作服务器——请在这里运行 <0>{cliCommand} start</0>,或重新打开项目。"
#: src/comments/CommentProjectPanel.tsx
msgid "No comments in this project yet. Comment on a passage to start one."
@@ -15986,8 +15986,8 @@ msgid "token"
msgstr "令牌"
#: src/components/settings/AccountSection.tsx
-msgid "Token stored for {login} on {host}. To remove it, run <0>ok auth signout --host {host}</0>."
-msgstr "已为 {host} 上的 {login} 保存令牌。要移除它,请运行 <0>ok auth signout --host {host}</0>。"
+msgid "Token stored for {login} on {host}. To remove it, run <0>{cliCommand} auth signout --host {host}</0>."
+msgstr "已为 {host} 上的 {login} 保存令牌。要移除它,请运行 <0>{cliCommand} auth signout --host {host}</0>。"
#: src/components/SkillBundlePreview.tsx
#: src/components/SkillProperties.tsx
@@ -17050,8 +17050,8 @@ msgid "You can add"
msgstr "你可以添加"
#: src/components/ReportBugDialogBody.tsx
-msgid "You can also create one from a terminal with <0>ok bug-report</0>."
-msgstr "你也可以在终端中用 <0>ok bug-report</0> 创建一个。"
+msgid "You can also create one from a terminal with <0>{cliCommand} bug-report</0>."
+msgstr "你也可以在终端中用 <0>{cliCommand} bug-report</0> 创建一个。"
#: src/components/TerminalGate.tsx
msgid "You can also manage this in Settings."
diff --git a/packages/app/src/locales/zh-Hant/messages.json b/packages/app/src/locales/zh-Hant/messages.json
index 4825a4471..4448d022a 100644
--- a/packages/app/src/locales/zh-Hant/messages.json
+++ b/packages/app/src/locales/zh-Hant/messages.json
@@ -247,7 +247,6 @@
"2GT3Hf": ["全域"],
"2H5Zhu": ["在您檢查並傳送報告之前,任何資訊都不會離開您的電腦。"],
"2IYGkU": ["這份文件有尚未推送的變更。收到的人看到的會是最後一次推送的版本。"],
- "2L8aeZ": ["網路錯誤(`ok start` 有在執行嗎?)"],
"2M0JF6": ["自動更新"],
"2O5Z0r": ["隱藏 ", ["appName"]],
"2QM24L": ["所有標籤"],
@@ -428,15 +427,6 @@
"4mp6Tv": ["OpenKnowledge 列出了已安裝的技能"],
"4niEzY": ["沙箱化的 HTML 嵌入——寫下 HTML,即時看到顯示結果。"],
"4nj6n8": ["/api/config 傳回了 HTTP ", ["code"]],
- "4p8Baj": [
- "已為 ",
- ["host"],
- " 上的 ",
- ["login"],
- " 儲存權杖。要移除它,請執行 <0>ok auth signout --host ",
- ["host"],
- "</0>。"
- ],
"4pDZ2N": ["已把「", ["0"], "」從其他所有位置移除——它的來源資料夾仍然會載入"],
"4r6p_B": [
"此指令包含隱藏字元,可能使其看起來與實際執行的內容不同。這些字元在此顯示為 ⟨U+…⟩。"
@@ -484,7 +474,6 @@
],
"5OTgC7": ["開啟並聚焦底部的「問 AI」提示輸入框。"],
"5OqaJi": ["請輸入專案名稱"],
- "5PHgV2": ["你也可以在終端機中用 <0>ok bug-report</0> 建立一份。"],
"5QGTaA": ["無法複製相對路徑"],
"5RiC8D": ["探索技能由所有 AI 工具統一管理。請從「設定」→「技能工作室」安裝此技能。"],
"5SwVv1": ["未安裝"],
@@ -499,7 +488,6 @@
],
"5UccRr": ["最近活動:", ["lastActivity"]],
"5WDhAk": ["連到某個頁面或外部 URL。"],
- "5W_u0E": ["無法重新啟動伺服器。請在此資料夾中執行 ok start 以重試。"],
"5Y17qa": ["適用於(glob 模式;開頭的 ! 表示排除;留空表示所有文件)"],
"5YWCV_": ["計畫回應格式錯誤"],
"5ZB7XC": ["檔案拖放區"],
@@ -656,9 +644,6 @@
"7WnfoD": ["這份回報已經在傳送途中,結果會顯示在錯誤回報記錄裡。"],
"7Y9yTo": ["已建立 ", ["owner"], "/", ["name"], ",但推送失敗。"],
"7YJr6i": ["此工作階段的 shell 從未啟動。"],
- "7YRrJ9": [
- "在 OpenKnowledge 桌面應用程式中提供。在終端機裡可以使用<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>。"
- ],
"7ZpNC-": ["gh"],
"7_bFEL": ["拖曳 ", ["patternText"], " 以重新排序"],
"7a0YcF": ["按<0>空白鍵</0>或點擊 blob 開始"],
@@ -866,7 +851,6 @@
"A5hiCy": ["建立範本"],
"A67Uwj": ["仍在載入"],
"A6h5b-": ["已建立檔案副本"],
- "AAlr5Y": ["這個 worktree 沒有協作伺服器——請在這裡執行 <0>ok start</0>,或重新開啟專案。"],
"AB4qw9": ["新增終端機"],
"ABq-cq": ["OpenKnowledge 建立了分享連結"],
"ACKMCN": ["載入技能設定失敗:", ["0"]],
@@ -1599,6 +1583,7 @@
"JlFcis": ["傳送"],
"JmfgFc": ["(", ["0"], " 的一個 worktree)"],
"Jnz9AY": [["0"], " 位於 ", ["destination"], " 上方。"],
+ "JpDb1D": ["無法重新啟動伺服器。請在此資料夾中執行 ", ["cliCommand"], " start 以重試。"],
"Jqqevv": ["系統錯誤"],
"JrqL_z": ["在上方插入列"],
"Jrwm42": ["無法載入你的智慧代理。"],
@@ -1689,7 +1674,6 @@
],
"KmydK6": ["粗體"],
"KnoB--": ["會儲存成 <0>", ["sanitized"], "</0>。"],
- "Kr3VPS": ["在你為這個專案在終端機中執行「ok init」之前,Codex 仍然會詢問。"],
"KsAPaB": ["這個分支已在以下位置簽出:"],
"KtACeE": ["預設:<0>", ["0"], "</0>"],
"KujtjC": ["尋找"],
@@ -1928,6 +1912,11 @@
"NeY1Np": ["Slidev 啟動逾時。請再試一次。"],
"NfraGd": ["安裝 Slidev 的其他方式"],
"NgZwB0": ["已開啟 ", ["enabledCount"], "/", ["0"]],
+ "NgqxB9": [
+ "這個 worktree 沒有協作伺服器——請在這裡執行 <0>",
+ ["cliCommand"],
+ " start</0>,或重新開啟專案。"
+ ],
"Ni4b7h": [
"專案外掛是你專案的寫作標準——在這裡開啟或關閉它們。每個啟用的外掛在設定側邊欄的「外掛」底下都有自己的頁面。"
],
@@ -2466,6 +2455,11 @@
["shareBranch"],
"</0> 分支。切換並更新之後就能開啟它。"
],
+ "UbQzWP": [
+ "在 OpenKnowledge 桌面應用程式中提供。在終端機裡可以使用<0> ",
+ ["cliCommand"],
+ " config-sharing status</0> / <1>share</1> / <2>unshare</2>。"
+ ],
"UcTm1A": [
"由這台電腦上的 GitHub CLI(<0>gh</0>)提供。若要切換帳戶或登出,請在終端機中執行 <1>gh auth</1>。"
],
@@ -2879,6 +2873,11 @@
"ZjtgI-": ["指令面板"],
"ZkY0ic": ["等待審查"],
"ZlCe_H": ["沒有可用於拼字檢查的語言。"],
+ "Zmg5Ge": [
+ "適用於本機上的所有專案。從內建終端機啟動的 Claude 和 Codex,以及應用程式內代理面板對話中的任何代理,都會自動核准 OpenKnowledge 的讀寫工具(Claude 也會自動執行 \"",
+ ["cliCommand"],
+ " open\")。刪除、移動、分享、匯入或安裝技能、其他命令以及非 OpenKnowledge 檔案的編輯仍會詢問。在終端機中,Cursor、OpenCode 和 Pi 不受影響。依各代理盡力而為。"
+ ],
"Zon_qG": ["鏡像來源 <0>", ["label"], "</0>"],
"ZptNUh": ["再顯示 ", ["hidden"], " 個"],
"Zs3d0w": [["0", "plural", { "other": ["目前符合 ", ["4"], " 個文件中的 ", ["3"], " 個。"] }]],
@@ -3179,9 +3178,6 @@
"cOX1Cj": ["git 主機"],
"cOrTMo": ["你的分享連結已經在下面產生好了。"],
"cPAWbl": ["已用電子郵件寄出"],
- "cPgQ_i": [
- "適用於本機上的所有專案。從內建終端機啟動的 Claude 和 Codex,以及應用程式內代理面板對話中的任何代理,都會自動核准 OpenKnowledge 的讀寫工具(Claude 也會自動執行 \"ok open\")。刪除、移動、分享、匯入或安裝技能、其他命令以及非 OpenKnowledge 檔案的編輯仍會詢問。在終端機中,Cursor、OpenCode 和 Pi 不受影響。依各代理盡力而為。"
- ],
"cQlPDN": ["讀取"],
"cRHuuI": ["無法複製路徑"],
"cRm498": ["這個專案還沒有結構描述檔案——建立一個就能開始驗證。"],
@@ -3261,6 +3257,7 @@
"</1> 建立,放在 <2>.ok/worktrees/</2> 底下自己的 worktree 中。"
],
"dGcsnU": ["移除兩者"],
+ "dHaD0-": ["網路錯誤(`", ["cliCommand"], " start` 有在執行嗎?)"],
"dIYSqk": ["遠端"],
"dJw2_7": ["和專案一起保存,供你的團隊使用。"],
"dMsx3p": ["首頁兼導覽樞紐。"],
@@ -3904,6 +3901,7 @@
"現成的資料夾和範本,幫你快速上手。選一個套件可以先看會建立哪些東西,再把它加到你的專案。"
],
"k5rKNs": ["frontmatter"],
+ "k6Gfom": ["你也可以在終端機中用 <0>", ["cliCommand"], " bug-report</0> 建立一份。"],
"k7Hoig": ["這個版本沒有內容變更。"],
"kBNHN1": ["導覽記錄"],
"kCjkGY": ["這可能要花一點時間。你的 markdown 內容會保留。"],
@@ -4232,11 +4230,6 @@
"nnhrHd": [
"無論資料夾層級多深,都不在「問題」、檔案總管指示器、編輯器診斷、稽核和代理程式寫入建議中顯示寫在 log.md 或 log.mdx 內的失效連結。判斷依據是連結寫在哪個檔案中,而不是它指向哪個檔案;LOG.md 是一般文件。「連結」面板和編輯器仍會顯示這些連結。"
],
- "noH1JX": [
- "無法連上協作伺服器——",
- ["errorDetail"],
- "。可以試試 <0>ok status</0>,或看看 <1>.ok/local/last-spawn-error.log</1>。"
- ],
"np2zZM": ["請登入 ", ["agentName"], " 以繼續。"],
"npcziF": ["安裝到"],
"nqV0Kk": ["這個資料夾還沒有同步到 GitHub。下次同步之後連結就會生效。"],
@@ -4256,6 +4249,17 @@
"o1veZ6": ["無法在新視窗中開啟此文件。"],
"o49mDZ": ["正在載入時間軸記錄"],
"o7AkQ0": ["顯示已解決"],
+ "o8OY2K": [
+ "已為 ",
+ ["host"],
+ " 上的 ",
+ ["login"],
+ " 儲存權杖。要移除它,請執行 <0>",
+ ["cliCommand"],
+ " auth signout --host ",
+ ["host"],
+ "</0>。"
+ ],
"o9CrsQ": ["research-note"],
"o9fPtM": ["從來源自動更新"],
"o9yN4T": ["移到資源回收筒"],
@@ -4598,6 +4602,7 @@
"sQoLn0": ["結束"],
"sR0I-f": ["摺疊全部檔案"],
"sSRndh": ["開始維護 index.md"],
+ "sTQjgr": ["在你為這個專案在終端機中執行「", ["cliCommand"], " init」之前,Codex 仍然會詢問。"],
"sW5OjU": ["必填"],
"sZ2IOu": [
"這個",
@@ -4871,6 +4876,13 @@
"vGeNNQ": ["複製一段提示,貼給你的代理來設定專案。"],
"vGjmyl": ["已刪除"],
"vHlhDc": ["按兩下即可編輯"],
+ "vHw_jF": [
+ "無法連上協作伺服器——",
+ ["errorDetail"],
+ "。可以試試 <0>",
+ ["cliCommand"],
+ " status</0>,或看看 <1>.ok/local/last-spawn-error.log</1>。"
+ ],
"vIxrEk": ["符合寬度"],
"vLyv1R": ["隱藏"],
"vO2v-0": ["隱藏其他"],
diff --git a/packages/app/src/locales/zh-Hant/messages.po b/packages/app/src/locales/zh-Hant/messages.po
index dffcbc2bb..512055001 100644
--- a/packages/app/src/locales/zh-Hant/messages.po
+++ b/packages/app/src/locales/zh-Hant/messages.po
@@ -2200,8 +2200,8 @@ msgid "Applies to all projects on this machine, in Claude Code and Codex chats i
msgstr "適用於本機上的所有專案,作用於開啟後新建的代理面板中的 Claude Code 和 Codex 對話。代理可以在它自己的 Google Chrome 視窗中(使用全新的設定檔)開啟頁面、點按、輸入和擷取螢幕畫面。需要已安裝 Google Chrome 和 Node.js。除非代理本身的模式或權限設定略過了核准,否則每個瀏覽器操作都會請求你的核准,且沒有「一律允許」的選項。"
#: src/components/settings/TerminalSection.tsx
-msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"ok open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
-msgstr "適用於本機上的所有專案。從內建終端機啟動的 Claude 和 Codex,以及應用程式內代理面板對話中的任何代理,都會自動核准 OpenKnowledge 的讀寫工具(Claude 也會自動執行 \"ok open\")。刪除、移動、分享、匯入或安裝技能、其他命令以及非 OpenKnowledge 檔案的編輯仍會詢問。在終端機中,Cursor、OpenCode 和 Pi 不受影響。依各代理盡力而為。"
+msgid "Applies to all projects on this machine. Claude and Codex started from the built-in terminal, and any agent in an in-app Agents panel chat, auto-approve OpenKnowledge's read and write tools (Claude also auto-runs \"{cliCommand} open\"). Deleting, moving, sharing, importing or installing skills, other commands, and non-OpenKnowledge file edits still ask. In the terminal, Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
+msgstr "適用於本機上的所有專案。從內建終端機啟動的 Claude 和 Codex,以及應用程式內代理面板對話中的任何代理,都會自動核准 OpenKnowledge 的讀寫工具(Claude 也會自動執行 \"{cliCommand} open\")。刪除、移動、分享、匯入或安裝技能、其他命令以及非 OpenKnowledge 檔案的編輯仍會詢問。在終端機中,Cursor、OpenCode 和 Pi 不受影響。依各代理盡力而為。"
#: src/components/settings/ScopeBadge.tsx
msgid "Applies to this project on this computer only. Stored in .ok/local, not shared via git."
@@ -2529,8 +2529,8 @@ msgid "Available in every project on this machine. Not shared through git."
msgstr "在這台電腦的每個專案中都可以使用。不會透過 git 分享。"
#: src/components/settings/SharingSection.tsx
-msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>."
-msgstr "在 OpenKnowledge 桌面應用程式中提供。在終端機裡可以使用<0> ok config-sharing status</0> / <1>share</1> / <2>unshare</2>。"
+msgid "Available in the OpenKnowledge desktop app. From a terminal, use<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>."
+msgstr "在 OpenKnowledge 桌面應用程式中提供。在終端機裡可以使用<0> {cliCommand} config-sharing status</0> / <1>share</1> / <2>unshare</2>。"
#: src/components/acp/ThreadHistoryPanel.tsx
#: src/components/AppMenubar.tsx
@@ -3450,8 +3450,8 @@ msgid "Code field undo or redo"
msgstr "程式碼欄位的復原或重做"
#: src/components/settings/TerminalSection.tsx
-msgid "Codex will still ask until you run \"ok init\" in a terminal for this project."
-msgstr "在你為這個專案在終端機中執行「ok init」之前,Codex 仍然會詢問。"
+msgid "Codex will still ask until you run \"{cliCommand} init\" in a terminal for this project."
+msgstr "在你為這個專案在終端機中執行「{cliCommand} init」之前,Codex 仍然會詢問。"
#: src/components/AutoSyncEnableWarning.tsx
msgid "Collaborators see your in-progress edits as soon as they sync."
@@ -4476,8 +4476,8 @@ msgid "Couldn't reach {displayName} — try again?"
msgstr "無法連線到 {displayName}。要再試一次嗎?"
#: src/components/ConnectingBanner.tsx
-msgid "Couldn't reach collab server — {errorDetail}. Try <0>ok status</0> or check <1>.ok/local/last-spawn-error.log</1>."
-msgstr "無法連上協作伺服器——{errorDetail}。可以試試 <0>ok status</0>,或看看 <1>.ok/local/last-spawn-error.log</1>。"
+msgid "Couldn't reach collab server — {errorDetail}. Try <0>{cliCommand} status</0> or check <1>.ok/local/last-spawn-error.log</1>."
+msgstr "無法連上協作伺服器——{errorDetail}。可以試試 <0>{cliCommand} status</0>,或看看 <1>.ok/local/last-spawn-error.log</1>。"
#: src/components/PublishToGitHubDialog.tsx
#: src/lib/share/publish-wizard.ts
@@ -4604,8 +4604,8 @@ msgid "Couldn't restart the server automatically. Try running `{cliCommand} stop
msgstr "無法自動重新啟動伺服器。請在終端機中執行 `{cliCommand} stop all`,然後重新開啟這個專案——如果狀況持續,請重新啟動電腦。"
#: src/components/settings/NetworkAccessSection.tsx
-msgid "Couldn't restart the server. Run ok start in this folder to retry."
-msgstr "無法重新啟動伺服器。請在此資料夾中執行 ok start 以重試。"
+msgid "Couldn't restart the server. Run {cliCommand} start in this folder to retry."
+msgstr "無法重新啟動伺服器。請在此資料夾中執行 {cliCommand} start 以重試。"
#: src/lib/restart-collab-server.ts
msgid "Couldn't restart the server. Try `{cliCommand} start` in this folder."
@@ -9319,8 +9319,8 @@ msgid "Network error — please try again"
msgstr "網路錯誤——請再試一次"
#: src/components/ConnectingBanner.tsx
-msgid "network error (is `ok start` running?)"
-msgstr "網路錯誤(`ok start` 有在執行嗎?)"
+msgid "network error (is `{cliCommand} start` running?)"
+msgstr "網路錯誤(`{cliCommand} start` 有在執行嗎?)"
#: src/components/FileTree.tsx
msgid "Network error during cleanup"
@@ -9608,8 +9608,8 @@ msgid "No chats yet."
msgstr "尚無聊天。"
#: src/components/ConnectingBanner.tsx
-msgid "No collab server for this worktree — run <0>ok start</0> here, or reopen the project."
-msgstr "這個 worktree 沒有協作伺服器——請在這裡執行 <0>ok start</0>,或重新開啟專案。"
+msgid "No collab server for this worktree — run <0>{cliCommand} start</0> here, or reopen the project."
+msgstr "這個 worktree 沒有協作伺服器——請在這裡執行 <0>{cliCommand} start</0>,或重新開啟專案。"
#: src/comments/CommentProjectPanel.tsx
msgid "No comments in this project yet. Comment on a passage to start one."
@@ -15986,8 +15986,8 @@ msgid "token"
msgstr "權杖"
#: src/components/settings/AccountSection.tsx
-msgid "Token stored for {login} on {host}. To remove it, run <0>ok auth signout --host {host}</0>."
-msgstr "已為 {host} 上的 {login} 儲存權杖。要移除它,請執行 <0>ok auth signout --host {host}</0>。"
+msgid "Token stored for {login} on {host}. To remove it, run <0>{cliCommand} auth signout --host {host}</0>."
+msgstr "已為 {host} 上的 {login} 儲存權杖。要移除它,請執行 <0>{cliCommand} auth signout --host {host}</0>。"
#: src/components/SkillBundlePreview.tsx
#: src/components/SkillProperties.tsx
@@ -17050,8 +17050,8 @@ msgid "You can add"
msgstr "你可以新增"
#: src/components/ReportBugDialogBody.tsx
-msgid "You can also create one from a terminal with <0>ok bug-report</0>."
-msgstr "你也可以在終端機中用 <0>ok bug-report</0> 建立一份。"
+msgid "You can also create one from a terminal with <0>{cliCommand} bug-report</0>."
+msgstr "你也可以在終端機中用 <0>{cliCommand} bug-report</0> 建立一份。"
#: src/components/TerminalGate.tsx
msgid "You can also manage this in Settings."
diff --git a/packages/cli/src/commands/auth/command-host.test.ts b/packages/cli/src/commands/auth/command-host.test.ts
index 2ef088c92..dff700e85 100644
--- a/packages/cli/src/commands/auth/command-host.test.ts
+++ b/packages/cli/src/commands/auth/command-host.test.ts
@@ -54,6 +54,24 @@ test('explicit signout removes a legacy credential even without a provider decla
expect(clearTokenFromAllBackends).toHaveBeenCalledWith('legacy.example.com');
});
+test('implicit signout names ok-beta auth signout on Beta', async () => {
+ vi.stubEnv('OK_CHANNEL', 'beta');
+ execFileSync('git', ['remote', 'add', 'origin', 'https://git.example.com/team/kb.git'], {
+ cwd: projectDir,
+ });
+ vi.spyOn(process, 'exit').mockImplementation(() => {
+ throw new Error('exit');
+ });
+ await expect(signoutCommand().parseAsync([], { from: 'user' })).rejects.toThrow('exit');
+ const message = vi
+ .mocked(process.stderr.write)
+ .mock.calls.map(([text]) => text)
+ .join('');
+ expect(message).toContain(
+ 'Run ok-beta auth signout --host git.example.com to remove stored local credentials.',
+ );
+});
+
test('implicit signout refuses a generic origin without clearing another credential', async () => {
execFileSync('git', ['remote', 'add', 'origin', 'https://git.example.com/team/kb.git'], {
cwd: projectDir,
diff --git a/packages/cli/src/commands/auth/token.test.ts b/packages/cli/src/commands/auth/token.test.ts
index 2c1357822..4e6ca50f1 100644
--- a/packages/cli/src/commands/auth/token.test.ts
+++ b/packages/cli/src/commands/auth/token.test.ts
@@ -237,6 +237,26 @@ describe('runTokenPaste', () => {
expect(await store.get('github.com')).toMatchObject({ login: 'octocat', token: 'verified' });
});
+ test.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('the GitHub-host refusal names the %s auth pat command', async (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ try {
+ const result = await runTokenPaste(
+ { host: 'github.com', username: 'mallory', json: false },
+ makeStore(tmpDir),
+ constantToken('unverified'),
+ );
+ expect(result).toMatchObject({
+ type: 'error',
+ message: `github.com is a GitHub host. Use ${command} auth pat --host github.com, which checks the token with GitHub before storing it.`,
+ });
+ } finally {
+ vi.unstubAllEnvs();
+ }
+ });
+
test('a credential store that refuses the write reports a structured error', async () => {
const store = makeStore(tmpDir);
vi.spyOn(store, 'set').mockRejectedValue(new Error('keychain locked'));
diff --git a/packages/cli/src/commands/auth/token.ts b/packages/cli/src/commands/auth/token.ts
index a78c81b53..3fdc11da4 100644
--- a/packages/cli/src/commands/auth/token.ts
+++ b/packages/cli/src/commands/auth/token.ts
@@ -1,4 +1,8 @@
-import { gitCredentialHostKey, isGitCredentialHost } from '@inkeep/open-knowledge-core';
+import {
+ currentCliCommandName,
+ gitCredentialHostKey,
+ isGitCredentialHost,
+} from '@inkeep/open-knowledge-core';
import password from '@inquirer/password';
import { Command } from 'commander';
import type { TokenStore } from '../../auth/token-store.ts';
@@ -54,7 +58,7 @@ export async function runTokenPaste(
return emit(
{
type: 'error',
- message: `${host} is a GitHub host. Use ok auth pat --host ${host}, which checks the token with GitHub before storing it.`,
+ message: `${host} is a GitHub host. Use ${currentCliCommandName()} auth pat --host ${host}, which checks the token with GitHub before storing it.`,
},
json,
);
diff --git a/packages/cli/src/commands/auth/validate-host.test.ts b/packages/cli/src/commands/auth/validate-host.test.ts
index 227479dac..96b5143d6 100644
--- a/packages/cli/src/commands/auth/validate-host.test.ts
+++ b/packages/cli/src/commands/auth/validate-host.test.ts
@@ -86,6 +86,9 @@ describe('gitHubHostRejection', () => {
const rejection = gitHubHostRejection('git.example.internal');
expect(rejection).toContain('declare it in ~/.ok-beta/global.yml:\n');
expect(rejection).not.toContain('~/.ok/');
+ expect(rejection).toContain(
+ ' ok-beta auth token --host git.example.internal --username <username>\n',
+ );
});
test('suggests a port-free hostname as the config key', () => {
diff --git a/packages/cli/src/commands/auth/validate-host.ts b/packages/cli/src/commands/auth/validate-host.ts
index da240c922..59285fa19 100644
--- a/packages/cli/src/commands/auth/validate-host.ts
+++ b/packages/cli/src/commands/auth/validate-host.ts
@@ -1,4 +1,5 @@
import {
+ currentCliCommandName,
gitCredentialHostKey,
isGitHubHost,
normalizeGitHostname,
@@ -22,7 +23,7 @@ function declarationRemedy(host: string): string {
}
export function tokenCommandLine(host: string): string {
- return ` ok auth token --host ${host} --username <username>`;
+ return ` ${currentCliCommandName()} auth token --host ${host} --username <username>`;
}
function tokenRemedy(host: string): string {
@@ -127,7 +128,7 @@ export function resolveSignoutHost(
: `This project's git remote is ${normalizeGitHostname(credentialHost)}, which is not a known GitHub host.`;
process.stderr.write(
`${errorColor('Error:')} ${lead}\n` +
- `Run ok auth signout --host ${credentialHost ?? '<hostname>'} to remove stored local credentials. No provider declaration is required.\n`,
+ `Run ${currentCliCommandName()} auth signout --host ${credentialHost ?? '<hostname>'} to remove stored local credentials. No provider declaration is required.\n`,
);
process.exit(1);
}
diff --git a/packages/cli/src/commands/cowork.test.ts b/packages/cli/src/commands/cowork.test.ts
index 23a4da0eb..21da2dd8c 100644
--- a/packages/cli/src/commands/cowork.test.ts
+++ b/packages/cli/src/commands/cowork.test.ts
@@ -2,8 +2,8 @@ import type { spawn } from 'node:child_process';
import { existsSync, mkdtempSync, rmSync, statSync } from 'node:fs';
import { tmpdir } from 'node:os';
import { join } from 'node:path';
-import { afterEach, beforeEach, describe, expect, it } from 'vitest';
-import { runCoworkSkill } from './cowork.ts';
+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
+import { coworkCommand, runCoworkSkill } from './cowork.ts';
function makeFakeSpawn(capture: {
command?: string;
@@ -133,3 +133,17 @@ describe('runCoworkSkill', () => {
expect(existsSync(outPath)).toBe(true);
});
});
+
+describe('coworkCommand help names the running channel CLI', () => {
+ afterEach(() => vi.unstubAllEnvs());
+
+ it.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: the description says %s init already wires Claude', (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ expect(coworkCommand().description()).toBe(
+ `Build openknowledge.skill and open the Claude Desktop App so you can upload it for Claude Chat & Cowork. (Advanced/rarely needed — \`${command} init\` already wires Claude.)`,
+ );
+ });
+});
diff --git a/packages/cli/src/commands/cowork.ts b/packages/cli/src/commands/cowork.ts
index 4a111a701..4e715e9f2 100644
--- a/packages/cli/src/commands/cowork.ts
+++ b/packages/cli/src/commands/cowork.ts
@@ -1,4 +1,4 @@
-import { okUserHomeDisplayPath } from '@inkeep/open-knowledge-core';
+import { currentCliCommandName, okUserHomeDisplayPath } from '@inkeep/open-knowledge-core';
import {
type BuildAndOpenSkillResult,
buildAndOpenSkill,
@@ -92,7 +92,7 @@ export async function runCoworkSkill(
export function coworkCommand(): Command {
return new Command('cowork')
.description(
- 'Build openknowledge.skill and open the Claude Desktop App so you can upload it for Claude Chat & Cowork. (Advanced/rarely needed — `ok init` already wires Claude.)',
+ `Build openknowledge.skill and open the Claude Desktop App so you can upload it for Claude Chat & Cowork. (Advanced/rarely needed — \`${currentCliCommandName()} init\` already wires Claude.)`,
)
.option('--out <path>', 'Custom output path (default: ~/Downloads/openknowledge.skill)')
.option('--no-open', 'Build the file but skip the OS file-association handoff')
diff --git a/packages/cli/src/commands/diagnose-bundle-options.test.ts b/packages/cli/src/commands/diagnose-bundle-options.test.ts
index 98c53a08f..8594d1391 100644
--- a/packages/cli/src/commands/diagnose-bundle-options.test.ts
+++ b/packages/cli/src/commands/diagnose-bundle-options.test.ts
@@ -1,5 +1,5 @@
import type { Command } from 'commander';
-import { describe, expect, test } from 'vitest';
+import { afterEach, describe, expect, test, vi } from 'vitest';
import { diagnoseCommand } from './diagnose.ts';
function bundleCommand(): Command {
@@ -42,3 +42,18 @@ describe('ok diagnose bundle — redaction switch', () => {
expect(help).toMatch(/^\s+--no-redact\s+\S/m);
});
});
+
+describe('ok diagnose bundle --pid help names the running channel CLI', () => {
+ afterEach(() => vi.unstubAllEnvs());
+
+ test.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: names %s diagnose process', (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ const pid = bundleCommand().options.find((option) => option.long === '--pid');
+ expect(pid?.description).toBe(
+ `Include \`${command} diagnose process <pid>\` output under process/ in the bundle`,
+ );
+ });
+});
diff --git a/packages/cli/src/commands/diagnose-health-checks/config-yaml.test.ts b/packages/cli/src/commands/diagnose-health-checks/config-yaml.test.ts
index 8511ec7b2..da3908262 100644
--- a/packages/cli/src/commands/diagnose-health-checks/config-yaml.test.ts
+++ b/packages/cli/src/commands/diagnose-health-checks/config-yaml.test.ts
@@ -1,7 +1,7 @@
import { existsSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs';
import { tmpdir } from 'node:os';
import { join } from 'node:path';
-import { afterEach, describe, expect, test } from 'vitest';
+import { afterEach, describe, expect, test, vi } from 'vitest';
import { makeConfigYamlCheck } from './config-yaml.ts';
let tmpDirs: string[] = [];
@@ -63,3 +63,16 @@ describe('config-yaml check', () => {
expect(result.detail).toContain('content.dir must be a string');
});
});
+
+describe('config-yaml remediation names the running channel CLI', () => {
+ afterEach(() => vi.unstubAllEnvs());
+
+ test.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: an uninitialized project names %s init', async (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ const result = await makeConfigYamlCheck().run({ cwd: makeProject() });
+ expect(result.remediation).toBe(`Run \`${command} init\` to scaffold the project.`);
+ });
+});
diff --git a/packages/cli/src/commands/diagnose-health-checks/config-yaml.ts b/packages/cli/src/commands/diagnose-health-checks/config-yaml.ts
index f55791f1f..9b45a1b1f 100644
--- a/packages/cli/src/commands/diagnose-health-checks/config-yaml.ts
+++ b/packages/cli/src/commands/diagnose-health-checks/config-yaml.ts
@@ -1,5 +1,6 @@
import { existsSync } from 'node:fs';
import { resolve } from 'node:path';
+import { currentCliCommandName } from '@inkeep/open-knowledge-core';
import { loadConfig } from '../../config/loader.ts';
import { CONFIG_FILENAME, OK_DIR } from '../../constants.ts';
import type { CheckContext, CheckDefinition, CheckResult } from './types.ts';
@@ -19,7 +20,7 @@ export function makeConfigYamlCheck(deps: ConfigYamlCheckDeps = {}): CheckDefini
name: 'config-yaml',
status: 'warn',
summary: `${OK_DIR}/${CONFIG_FILENAME} not found (project not initialized)`,
- remediation: `Run \`ok init\` to scaffold the project.`,
+ remediation: `Run \`${currentCliCommandName()} init\` to scaffold the project.`,
};
}
try {
diff --git a/packages/cli/src/commands/diagnose-health-checks/content-dir.test.ts b/packages/cli/src/commands/diagnose-health-checks/content-dir.test.ts
index bba165344..9928dc6ec 100644
--- a/packages/cli/src/commands/diagnose-health-checks/content-dir.test.ts
+++ b/packages/cli/src/commands/diagnose-health-checks/content-dir.test.ts
@@ -1,7 +1,7 @@
import { existsSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs';
import { tmpdir } from 'node:os';
import { join } from 'node:path';
-import { afterEach, describe, expect, test } from 'vitest';
+import { afterEach, describe, expect, test, vi } from 'vitest';
import { makeContentDirCheck } from './content-dir.ts';
let tmpDirs: string[] = [];
@@ -96,3 +96,16 @@ describe('content-dir check', () => {
expect(result.detail).toContain('config invalid');
});
});
+
+describe('content-dir remediation names the running channel CLI', () => {
+ afterEach(() => vi.unstubAllEnvs());
+
+ test.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: an uninitialized project names %s init', async (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ const result = await makeContentDirCheck().run({ cwd: makeProject(false) });
+ expect(result.remediation).toBe(`Run \`${command} init\` to scaffold the project.`);
+ });
+});
diff --git a/packages/cli/src/commands/diagnose-health-checks/content-dir.ts b/packages/cli/src/commands/diagnose-health-checks/content-dir.ts
index bbfda1ca4..98fa487eb 100644
--- a/packages/cli/src/commands/diagnose-health-checks/content-dir.ts
+++ b/packages/cli/src/commands/diagnose-health-checks/content-dir.ts
@@ -1,5 +1,6 @@
import { accessSync, existsSync, constants as fsConstants, statSync } from 'node:fs';
import { resolve } from 'node:path';
+import { currentCliCommandName } from '@inkeep/open-knowledge-core';
import { loadConfig } from '../../config/loader.ts';
import { CONFIG_FILENAME, OK_DIR } from '../../constants.ts';
import type { CheckContext, CheckDefinition, CheckResult } from './types.ts';
@@ -30,7 +31,7 @@ export function makeContentDirCheck(deps: ContentDirCheckDeps = {}): CheckDefini
name: 'content-dir',
status: 'warn',
summary: 'project not initialized',
- remediation: `Run \`ok init\` to scaffold the project.`,
+ remediation: `Run \`${currentCliCommandName()} init\` to scaffold the project.`,
};
}
let contentDir: string;
diff --git a/packages/cli/src/commands/diagnose-health-checks/server-lock.test.ts b/packages/cli/src/commands/diagnose-health-checks/server-lock.test.ts
index 7521648e2..a26ab19a6 100644
--- a/packages/cli/src/commands/diagnose-health-checks/server-lock.test.ts
+++ b/packages/cli/src/commands/diagnose-health-checks/server-lock.test.ts
@@ -2,7 +2,7 @@ import { existsSync, mkdirSync, mkdtempSync, rmSync } from 'node:fs';
import { tmpdir } from 'node:os';
import { join } from 'node:path';
import type { ProcessLockMetadata } from '@inkeep/open-knowledge-server';
-import { afterEach, describe, expect, test } from 'vitest';
+import { afterEach, describe, expect, test, vi } from 'vitest';
import type { LockState } from '../lock-state.ts';
import { makeServerLockCheck } from './server-lock.ts';
@@ -128,3 +128,27 @@ test('reports a read failure with access guidance rather than suggesting deletio
expect(result.remediation).toContain('Restore file and parent-directory access');
expect(result.detail).toContain('EACCES');
});
+
+describe('server-lock remediation names the running channel CLI', () => {
+ afterEach(() => vi.unstubAllEnvs());
+
+ test.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: live and dead locks name %s stop and clean', async (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ const remediationFor = async (state: LockState) =>
+ (await makeServerLockCheck({ inspect: () => state }).run({ cwd: makeProjectWithLockDir() }))
+ .remediation;
+ expect(
+ await remediationFor({ status: 'alive', lockPath: '/x/server.lock', lock: makeLockMeta() }),
+ ).toBe(`Stop the other OpenKnowledge process or run \`${command} stop\`.`);
+ expect(
+ await remediationFor({
+ status: 'dead-pid',
+ lockPath: '/x/server.lock',
+ lock: makeLockMeta({ pid: 999999 }),
+ }),
+ ).toBe(`Run \`${command} clean\` to prune.`);
+ });
+});
diff --git a/packages/cli/src/commands/diagnose-health-checks/server-lock.ts b/packages/cli/src/commands/diagnose-health-checks/server-lock.ts
index eb504720c..8dd207a5f 100644
--- a/packages/cli/src/commands/diagnose-health-checks/server-lock.ts
+++ b/packages/cli/src/commands/diagnose-health-checks/server-lock.ts
@@ -1,4 +1,5 @@
import { existsSync } from 'node:fs';
+import { currentCliCommandName } from '@inkeep/open-knowledge-core';
import { resolveLockDir } from '@inkeep/open-knowledge-server';
import { describeLockOwnershipRefusal, inspectLock, type LockState } from '../lock-state.ts';
import type { CheckContext, CheckDefinition, CheckResult } from './types.ts';
@@ -33,7 +34,7 @@ export function makeServerLockCheck(deps: ServerLockCheckDeps = {}): CheckDefini
name: 'server-lock',
status: 'fail',
summary: `server lock held by pid ${state.lock.pid} on this host`,
- remediation: 'Stop the other OpenKnowledge process or run `ok stop`.',
+ remediation: `Stop the other OpenKnowledge process or run \`${currentCliCommandName()} stop\`.`,
detail: `lockPath: ${state.lockPath}; port: ${state.lock.port}; started: ${state.lock.startedAt}`,
};
case 'unverified-owner':
@@ -58,7 +59,7 @@ export function makeServerLockCheck(deps: ServerLockCheckDeps = {}): CheckDefini
name: 'server-lock',
status: 'warn',
summary: `stale lock for non-existent pid ${state.lock.pid}`,
- remediation: 'Run `ok clean` to prune.',
+ remediation: `Run \`${currentCliCommandName()} clean\` to prune.`,
detail: `lockPath: ${state.lockPath}`,
};
case 'read-error':
diff --git a/packages/cli/src/commands/diagnose-health-checks/shadow-health.test.ts b/packages/cli/src/commands/diagnose-health-checks/shadow-health.test.ts
index eea33e76e..7a9243bbe 100644
--- a/packages/cli/src/commands/diagnose-health-checks/shadow-health.test.ts
+++ b/packages/cli/src/commands/diagnose-health-checks/shadow-health.test.ts
@@ -1,7 +1,7 @@
import { existsSync, mkdirSync, mkdtempSync, rmSync } from 'node:fs';
import { tmpdir } from 'node:os';
import { join } from 'node:path';
-import { afterEach, describe, expect, test } from 'vitest';
+import { afterEach, describe, expect, test, vi } from 'vitest';
import { makeShadowHealthCheck, type ShadowHealthFacts } from './shadow-health.ts';
let tmpDirs: string[] = [];
@@ -140,3 +140,23 @@ describe('shadow-health check', () => {
expect(result.summary.toLowerCase()).not.toContain('save version');
});
});
+
+describe('shadow-health remediation names the running channel CLI', () => {
+ afterEach(() => vi.unstubAllEnvs());
+
+ test.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: both uninitialized states name %s start', async (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ const remediation = `Run \`${command} start\` once to initialize the shadow repo.`;
+ const bare = mkdtempSync(join(tmpdir(), 'ok-health-nogit-'));
+ tmpDirs.push(bare);
+ expect((await makeShadowHealthCheck().run({ cwd: bare })).remediation).toBe(remediation);
+ const { cwd } = makeProjectWithShadow();
+ const missingShadow = makeShadowHealthCheck({
+ resolveDir: () => join(cwd, '.git', 'ok-missing'),
+ });
+ expect((await missingShadow.run({ cwd })).remediation).toBe(remediation);
+ });
+});
diff --git a/packages/cli/src/commands/diagnose-health-checks/shadow-health.ts b/packages/cli/src/commands/diagnose-health-checks/shadow-health.ts
index fc6a80c34..2698b3f44 100644
--- a/packages/cli/src/commands/diagnose-health-checks/shadow-health.ts
+++ b/packages/cli/src/commands/diagnose-health-checks/shadow-health.ts
@@ -1,5 +1,6 @@
import { existsSync, statSync } from 'node:fs';
import { resolve } from 'node:path';
+import { currentCliCommandName } from '@inkeep/open-knowledge-core';
import { parseCheckpoint, resolveShadowDir } from '@inkeep/open-knowledge-core/shadow-repo-layout';
import {
countShadowObjects,
@@ -109,7 +110,7 @@ export function makeShadowHealthCheck(deps: ShadowHealthCheckDeps = {}): CheckDe
name: 'shadow-health',
status: 'warn',
summary: 'no .git/ at project root (shadow repo not initialized)',
- remediation: 'Run `ok start` once to initialize the shadow repo.',
+ remediation: `Run \`${currentCliCommandName()} start\` once to initialize the shadow repo.`,
};
}
let shadowDir: string;
@@ -127,7 +128,7 @@ export function makeShadowHealthCheck(deps: ShadowHealthCheckDeps = {}): CheckDe
name: 'shadow-health',
status: 'warn',
summary: 'shadow repo not yet initialized',
- remediation: 'Run `ok start` once to initialize the shadow repo.',
+ remediation: `Run \`${currentCliCommandName()} start\` once to initialize the shadow repo.`,
};
}
diff --git a/packages/cli/src/commands/diagnose-health-checks/shadow-repo.test.ts b/packages/cli/src/commands/diagnose-health-checks/shadow-repo.test.ts
index 4a5fd1eef..812fe7a1d 100644
--- a/packages/cli/src/commands/diagnose-health-checks/shadow-repo.test.ts
+++ b/packages/cli/src/commands/diagnose-health-checks/shadow-repo.test.ts
@@ -2,7 +2,7 @@ import { existsSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'node:
import { tmpdir } from 'node:os';
import { join } from 'node:path';
import { MalformedGitPointerError } from '@inkeep/open-knowledge-server';
-import { afterEach, describe, expect, test } from 'vitest';
+import { afterEach, describe, expect, test, vi } from 'vitest';
import { makeShadowRepoCheck } from './shadow-repo.ts';
let tmpDirs: string[] = [];
@@ -85,3 +85,22 @@ describe('shadow-repo check', () => {
expect(result.summary).toContain('missing HEAD');
});
});
+
+describe('shadow-repo remediation names the running channel CLI', () => {
+ afterEach(() => vi.unstubAllEnvs());
+
+ test.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: both uninitialized states name %s start', async (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ const remediation = `Run \`${command} start\` once to initialize the shadow repo.`;
+ expect((await makeShadowRepoCheck().run({ cwd: makeProject() })).remediation).toBe(remediation);
+ const cwd = makeProject();
+ mkdirSync(join(cwd, '.git'), { recursive: true });
+ const missingShadow = makeShadowRepoCheck({
+ resolveDir: () => join(cwd, '.git', 'ok-missing'),
+ });
+ expect((await missingShadow.run({ cwd })).remediation).toBe(remediation);
+ });
+});
diff --git a/packages/cli/src/commands/diagnose-health-checks/shadow-repo.ts b/packages/cli/src/commands/diagnose-health-checks/shadow-repo.ts
index f4c64e15b..a1e9b932c 100644
--- a/packages/cli/src/commands/diagnose-health-checks/shadow-repo.ts
+++ b/packages/cli/src/commands/diagnose-health-checks/shadow-repo.ts
@@ -1,5 +1,6 @@
import { existsSync, readFileSync } from 'node:fs';
import { resolve } from 'node:path';
+import { currentCliCommandName } from '@inkeep/open-knowledge-core';
import { resolveShadowDir } from '@inkeep/open-knowledge-core/shadow-repo-layout';
import { GitDirAccessError, MalformedGitPointerError } from '@inkeep/open-knowledge-server';
import type { CheckContext, CheckDefinition, CheckResult } from './types.ts';
@@ -19,7 +20,7 @@ export function makeShadowRepoCheck(deps: ShadowRepoCheckDeps = {}): CheckDefini
name: 'shadow-repo',
status: 'warn',
summary: 'no .git/ at project root (shadow repo not initialized)',
- remediation: 'Run `ok start` once to initialize the shadow repo.',
+ remediation: `Run \`${currentCliCommandName()} start\` once to initialize the shadow repo.`,
};
}
let shadowDir: string;
@@ -40,7 +41,7 @@ export function makeShadowRepoCheck(deps: ShadowRepoCheckDeps = {}): CheckDefini
name: 'shadow-repo',
status: 'warn',
summary: `shadow repo at ${shadowDir} not yet initialized`,
- remediation: 'Run `ok start` once to initialize the shadow repo.',
+ remediation: `Run \`${currentCliCommandName()} start\` once to initialize the shadow repo.`,
};
}
const headPath = resolve(shadowDir, 'HEAD');
diff --git a/packages/cli/src/commands/diagnose.ts b/packages/cli/src/commands/diagnose.ts
index d0504ebc9..e59ec614a 100644
--- a/packages/cli/src/commands/diagnose.ts
+++ b/packages/cli/src/commands/diagnose.ts
@@ -3,6 +3,7 @@ import { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync
import { homedir, tmpdir } from 'node:os';
import { dirname, join } from 'node:path';
import { createInterface } from 'node:readline/promises';
+import { currentCliCommandName } from '@inkeep/open-knowledge-core';
import { withHiddenWindowsConsole } from '@inkeep/open-knowledge-server';
import { Command } from 'commander';
import pc from 'picocolors';
@@ -663,7 +664,7 @@ export function diagnoseCommand(): Command {
)
.option(
'--pid <pid>',
- 'Include `ok diagnose process <pid>` output under process/ in the bundle',
+ `Include \`${currentCliCommandName()} diagnose process <pid>\` output under process/ in the bundle`,
)
.option('--out <path>', 'Write the zip to this path instead of the default location')
.option('--yes', 'Skip the y/N prompt')
diff --git a/packages/cli/src/commands/embeddings/index.test.ts b/packages/cli/src/commands/embeddings/index.test.ts
index 59808e86a..580eb39b6 100644
--- a/packages/cli/src/commands/embeddings/index.test.ts
+++ b/packages/cli/src/commands/embeddings/index.test.ts
@@ -1,6 +1,7 @@
import { mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
import { tmpdir } from 'node:os';
import { join } from 'node:path';
+import { Readable } from 'node:stream';
import {
DEFAULT_EMBEDDINGS_BASE_URL,
DEFAULT_EMBEDDINGS_MODEL,
@@ -200,3 +201,63 @@ describe('ok embeddings status transport settings', () => {
).toContain('provider error');
});
});
+
+describe('embeddings hints name the running channel CLI', () => {
+ let dir: string;
+ let stdout: string;
+ let stderr: string;
+
+ beforeEach(() => {
+ dir = mkdtempSync(join(tmpdir(), 'ok-embeddings-channel-'));
+ stdout = '';
+ stderr = '';
+ vi.spyOn(process.stdout, 'write').mockImplementation((chunk) => {
+ stdout += typeof chunk === 'string' ? chunk : Buffer.from(chunk).toString('utf-8');
+ return true;
+ });
+ vi.spyOn(process.stderr, 'write').mockImplementation((chunk) => {
+ stderr += typeof chunk === 'string' ? chunk : Buffer.from(chunk).toString('utf-8');
+ return true;
+ });
+ vi.spyOn(embeddingsKeyStore, 'resolveEmbeddingsCredential').mockResolvedValue({
+ apiKey: null,
+ keyless: false,
+ source: 'none',
+ });
+ });
+
+ afterEach(() => {
+ vi.restoreAllMocks();
+ vi.unstubAllEnvs();
+ process.exitCode = 0;
+ rmSync(dir, { recursive: true, force: true });
+ });
+
+ test.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: status, enable and set-key name %s embeddings', async (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ await embeddingsCommand().parseAsync(['status', '--cwd', dir], { from: 'user' });
+ expect(stdout).toContain(` Set a key: ${command} embeddings set-key (or export `);
+ expect(stdout).toContain(
+ ` Enable it: ${command} embeddings enable (in this project folder)`,
+ );
+
+ await embeddingsCommand().parseAsync(['enable', '--cwd', dir], { from: 'user' });
+ expect(stderr).toContain(
+ ` Note: no API key set yet — run \`${command} embeddings set-key\`. Until then, search stays lexical.\n`,
+ );
+
+ vi.spyOn(process, 'stdin', 'get').mockReturnValue(
+ Readable.from([Buffer.from('sk-test')]) as unknown as typeof process.stdin,
+ );
+ vi.spyOn(embeddingsKeyStore, 'createEmbeddingsSecretStore').mockReturnValue({
+ setForProject: async () => {},
+ } as unknown as ReturnType<typeof embeddingsKeyStore.createEmbeddingsSecretStore>);
+ await embeddingsCommand().parseAsync(['set-key', '--cwd', dir], { from: 'user' });
+ expect(stderr).toContain(
+ ` Enable semantic search with \`${command} embeddings enable\`, or in\n`,
+ );
+ });
+});
diff --git a/packages/cli/src/commands/embeddings/index.ts b/packages/cli/src/commands/embeddings/index.ts
index 9f5b1244b..5bad706bf 100644
--- a/packages/cli/src/commands/embeddings/index.ts
+++ b/packages/cli/src/commands/embeddings/index.ts
@@ -2,6 +2,7 @@ import { resolve } from 'node:path';
import {
checkEmbeddingsBaseUrl,
classifySemanticProviderError,
+ currentCliCommandName,
DEFAULT_EMBEDDINGS_BASE_URL,
DEFAULT_EMBEDDINGS_MODEL,
humanFormat,
@@ -121,7 +122,7 @@ function setKeyCommand(): Command {
process.stderr.write(
`✓ Embeddings API key stored for ${baseUrl}\n` +
` (kept in ${okUserHomeDisplayPath(OK_USER_HOME_SECRETS_FILE)}, 0600, this machine only — never in the project).\n` +
- ' Enable semantic search with `ok embeddings enable`, or in\n' +
+ ` Enable semantic search with \`${currentCliCommandName()} embeddings enable\`, or in\n` +
' OK Desktop → Settings → This project → Search.\n',
);
});
@@ -308,7 +309,7 @@ function toggleEnabledCommand(name: 'enable' | 'disable', value: boolean): Comma
const { present, notRequired } = await resolveKeyPresence(projectDir, cfg.baseUrl);
if (!present && !notRequired) {
process.stderr.write(
- ' Note: no API key set yet — run `ok embeddings set-key`. Until then, search stays lexical.\n',
+ ` Note: no API key set yet — run \`${currentCliCommandName()} embeddings set-key\`. Until then, search stays lexical.\n`,
);
}
}
@@ -397,10 +398,14 @@ function statusCommand(): Command {
const hints: string[] = [];
if (!hasKey && !keyNotRequired) {
- hints.push(`Set a key: ok embeddings set-key (or export ${EMBEDDINGS_API_KEY_ENV})`);
+ hints.push(
+ `Set a key: ${currentCliCommandName()} embeddings set-key (or export ${EMBEDDINGS_API_KEY_ENV})`,
+ );
}
if (!cfg.enabled) {
- hints.push('Enable it: ok embeddings enable (in this project folder)');
+ hints.push(
+ `Enable it: ${currentCliCommandName()} embeddings enable (in this project folder)`,
+ );
}
if (hints.length > 0) lines.push('', ...hints.map((h) => ` ${h}`));
diff --git a/packages/cli/src/commands/ps.test.ts b/packages/cli/src/commands/ps.test.ts
index 28156d703..a67d32bd6 100644
--- a/packages/cli/src/commands/ps.test.ts
+++ b/packages/cli/src/commands/ps.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, test } from 'vitest';
+import { afterEach, describe, expect, test, vi } from 'vitest';
import { extractOkBinaryPath } from '../utils/process-scan.ts';
import type { LockState } from './lock-state.ts';
import { isDesktopCommand, renderTable, runPs, startedCell } from './ps.ts';
@@ -580,3 +580,27 @@ describe('extractOkBinaryPath', () => {
expect(extractOkBinaryPath('npm exec @inkeep/open-knowledge mcp HOME=/Users/mike')).toBeNull();
});
});
+
+describe('renderTable stop hint names the running channel CLI', () => {
+ afterEach(() => vi.unstubAllEnvs());
+
+ test.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: the footer names %s stop', (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ const output = renderTable([
+ {
+ directory: '/tmp/notes',
+ server: { port: 5173, status: 'alive' as const, pid: 12345, startedAt: null, usage: null },
+ ui: null,
+ hostname: 'test-host',
+ lockPath: '/tmp/notes/.ok/server.lock',
+ binary: null,
+ command: null,
+ isDesktop: false,
+ },
+ ]);
+ expect(output).toContain(`To stop a server: ${command} stop <port|pid|directory|all>`);
+ });
+});
diff --git a/packages/cli/src/commands/ps.ts b/packages/cli/src/commands/ps.ts
index 7ace34a88..37bcf9831 100644
--- a/packages/cli/src/commands/ps.ts
+++ b/packages/cli/src/commands/ps.ts
@@ -1,5 +1,6 @@
import { basename, dirname } from 'node:path';
import {
+ currentCliCommandName,
formatRelativeAge,
LOCAL_DIR,
OK_DIR,
@@ -240,7 +241,7 @@ export function renderTable(entries: PsEntry[]): string {
return cols.join(' ').trimEnd();
});
- const hint = pc.dim('To stop a server: ok stop <port|pid|directory|all>');
+ const hint = pc.dim(`To stop a server: ${currentCliCommandName()} stop <port|pid|directory|all>`);
return [headerLine, ...dataLines, '', hint].join('\n');
}
diff --git a/packages/cli/src/commands/repair-skills.test.ts b/packages/cli/src/commands/repair-skills.test.ts
index 82d72904c..b5ec3f52b 100644
--- a/packages/cli/src/commands/repair-skills.test.ts
+++ b/packages/cli/src/commands/repair-skills.test.ts
@@ -3,7 +3,7 @@ import { tmpdir } from 'node:os';
import { dirname, join, resolve } from 'node:path';
import { PassThrough } from 'node:stream';
import type { SkillInstallEvent } from '@inkeep/open-knowledge-server';
-import { afterEach, beforeEach, describe, expect, it } from 'vitest';
+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import { EDITOR_TARGETS } from './editors.ts';
import {
__testing,
@@ -1596,6 +1596,20 @@ describe('repairSkillsCommand — Commander action wiring (AC-D1, AC-D3)', () =>
});
});
+describe('repairSkillsCommand help names the running channel CLI', () => {
+ afterEach(() => vi.unstubAllEnvs());
+
+ it.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: the description points at %s init', (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ expect(repairSkillsCommand().description()).toBe(
+ `Restore missing project skill copies and repair user-global bundles for installed AI editors. Existing project skills are preserved; run \`${command} init\` to refresh them.`,
+ );
+ });
+});
+
describe('repairSkills — symlink-escape guard (parity with writeProjectSkill)', () => {
let scratch: ReturnType<typeof mkScratch>;
let projectBundleDir: string;
@@ -1777,6 +1791,29 @@ describe('confirmLegacyCleanup — prompt behaviour', () => {
expect(await confirmLegacyCleanup(plan, { yes: false, input: piped })).toBe(false);
});
+ it.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: the non-TTY decline names %s repair-skills --yes', async (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ let stdout = '';
+ const write = vi.spyOn(process.stdout, 'write').mockImplementation((chunk) => {
+ stdout += String(chunk);
+ return true;
+ });
+ try {
+ const piped = new PassThrough() as unknown as NodeJS.ReadableStream & { isTTY?: boolean };
+ piped.isTTY = false;
+ await confirmLegacyCleanup(plan, { yes: false, input: piped });
+ expect(stdout).toContain(
+ `Not a terminal — skipping cleanup. Re-run with \`${command} repair-skills --yes\` to remove these.`,
+ );
+ } finally {
+ write.mockRestore();
+ vi.unstubAllEnvs();
+ }
+ });
+
it('a bare Enter declines — deletion is never the default', async () => {
expect(await confirmLegacyCleanup(plan, { yes: false, input: fakeTty('') })).toBe(false);
});
diff --git a/packages/cli/src/commands/repair-skills.ts b/packages/cli/src/commands/repair-skills.ts
index 9b901331e..247700eb4 100644
--- a/packages/cli/src/commands/repair-skills.ts
+++ b/packages/cli/src/commands/repair-skills.ts
@@ -10,7 +10,7 @@ import {
import { homedir } from 'node:os';
import { basename, dirname, join, relative, resolve as resolvePath } from 'node:path';
import { createInterface } from 'node:readline/promises';
-import { USER_SKILL_HOSTS } from '@inkeep/open-knowledge-core';
+import { currentCliCommandName, USER_SKILL_HOSTS } from '@inkeep/open-knowledge-core';
import {
BUNDLE_SKILL_NAME,
type BundleId,
@@ -807,7 +807,7 @@ function formatRepairSkillsResult(result: RepairSkillsResult): string {
export function repairSkillsCommand(): Command {
return new Command('repair-skills')
.description(
- 'Restore missing project skill copies and repair user-global bundles for installed AI editors. Existing project skills are preserved; run `ok init` to refresh them.',
+ `Restore missing project skill copies and repair user-global bundles for installed AI editors. Existing project skills are preserved; run \`${currentCliCommandName()} init\` to refresh them.`,
)
.option(
'-y, --yes',
@@ -868,7 +868,7 @@ async function confirmLegacyCleanup(
if (opts.yes) return true;
if (!input.isTTY) {
process.stdout.write(
- `${warning('Not a terminal — skipping cleanup. Re-run with `ok repair-skills --yes` to remove these.')}\n`,
+ `${warning(`Not a terminal — skipping cleanup. Re-run with \`${currentCliCommandName()} repair-skills --yes\` to remove these.`)}\n`,
);
return false;
}
diff --git a/packages/cli/src/commands/seed.test.ts b/packages/cli/src/commands/seed.test.ts
index 9eb797a0b..c26efcf6a 100644
--- a/packages/cli/src/commands/seed.test.ts
+++ b/packages/cli/src/commands/seed.test.ts
@@ -12,7 +12,7 @@ import { tmpdir } from 'node:os';
import { join } from 'node:path';
import { Readable } from 'node:stream';
import { STARTER_PACKS } from '@inkeep/open-knowledge-server';
-import { afterEach, beforeEach, describe, expect, test } from 'vitest';
+import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
import { CONFIG_FILENAME, OK_DIR } from '../constants.ts';
import { runSeed } from './seed.ts';
@@ -183,6 +183,37 @@ describe('runSeed — no-op', () => {
});
});
+describe('runSeed — refusal notes name the running channel CLI', () => {
+ afterEach(() => vi.unstubAllEnvs());
+
+ test.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: both refusal notes name %s seed', async (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ scaffoldOkDir(testDir);
+ const noFolder = await runSeed({ cwd: testDir, yes: true });
+ expect(noFolder.message).toContain(
+ `Create the folder your agent uses, then run \`${command} seed\` again to install them.`,
+ );
+
+ const escaped = mkdtempSync(join(tmpdir(), 'ok-seed-escaped-'));
+ const outside = mkdtempSync(join(tmpdir(), 'ok-seed-outside-'));
+ try {
+ scaffoldOkDir(escaped);
+ symlinkSync(outside, join(escaped, '.claude'));
+ mkdirSync(join(outside, 'skills'), { recursive: true });
+ const result = await runSeed({ cwd: escaped, yes: true });
+ expect(result.message).toContain(
+ `Replace it with a real directory inside the project, then run \`${command} seed\` again.`,
+ );
+ } finally {
+ rmSync(escaped, { recursive: true, force: true });
+ rmSync(outside, { recursive: true, force: true });
+ }
+ });
+});
+
describe('runSeed — prerequisite', () => {
test('exits 1 when .ok/ is absent', async () => {
const result = await runSeed({ cwd: testDir });
diff --git a/packages/cli/src/commands/seed.ts b/packages/cli/src/commands/seed.ts
index 6cf6433e7..f47100ea0 100644
--- a/packages/cli/src/commands/seed.ts
+++ b/packages/cli/src/commands/seed.ts
@@ -2,6 +2,7 @@ import { relative, resolve } from 'node:path';
import { createInterface } from 'node:readline/promises';
import {
AGENTS_SKILLS_ROOT,
+ currentCliCommandName,
EDITOR_PROJECT_SKILL_ROOT,
PROJECT_SKILL_EDITOR_IDS,
planHasOutstandingWork,
@@ -33,7 +34,7 @@ interface SeedCommandOptions {
function skillHomeRefusalNote(plan: ScaffoldPlan, packName: string): string {
if (plan.packSkillHomeRefusal === undefined) return '';
if (plan.packSkillHomeRefusal === 'home-escapes-project') {
- return `\n${warning('!')} The ${packName} skills were not installed: this project's skill folder is a symlink pointing outside the project, and Open Knowledge will not write through it. Replace it with a real directory inside the project, then run \`ok seed\` again.`;
+ return `\n${warning('!')} The ${packName} skills were not installed: this project's skill folder is a symlink pointing outside the project, and Open Knowledge will not write through it. Replace it with a real directory inside the project, then run \`${currentCliCommandName()} seed\` again.`;
}
const homes = [
...new Set(
@@ -42,7 +43,7 @@ function skillHomeRefusalNote(plan: ScaffoldPlan, packName: string): string {
.map(skillRootActivationPath),
),
].map((home) => `${home}/`);
- return `\n${warning('!')} The ${packName} skills were not installed: this project has no agent folder for them. Open Knowledge only writes skills into a folder that already exists (${homes.join(', ')}) and never creates one for you. Create the folder your agent uses, then run \`ok seed\` again to install them.`;
+ return `\n${warning('!')} The ${packName} skills were not installed: this project has no agent folder for them. Open Knowledge only writes skills into a folder that already exists (${homes.join(', ')}) and never creates one for you. Create the folder your agent uses, then run \`${currentCliCommandName()} seed\` again to install them.`;
}
function isPackId(value: unknown): value is PackId {
diff --git a/packages/cli/src/commands/sharing/status.test.ts b/packages/cli/src/commands/sharing/status.test.ts
new file mode 100644
index 000000000..5afe4d6d6
--- /dev/null
+++ b/packages/cli/src/commands/sharing/status.test.ts
@@ -0,0 +1,37 @@
+import { execFileSync } from 'node:child_process';
+import { mkdtempSync, rmSync } from 'node:fs';
+import { tmpdir } from 'node:os';
+import { join } from 'node:path';
+import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
+import { configureTestGitRepository } from '../../../../../test-support/configure-git-fixture.test-helper.ts';
+import { sharingStatusCommand } from './status.ts';
+
+let projectDir: string;
+
+beforeEach(() => {
+ projectDir = mkdtempSync(join(tmpdir(), 'ok-sharing-status-'));
+ execFileSync('git', ['init', '-q'], { cwd: projectDir });
+ configureTestGitRepository(projectDir);
+ vi.spyOn(process.stdout, 'write').mockImplementation(() => true);
+});
+
+afterEach(() => {
+ vi.restoreAllMocks();
+ vi.unstubAllEnvs();
+ rmSync(projectDir, { recursive: true, force: true });
+});
+
+describe('config-sharing status toggle hint', () => {
+ test.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: names %s config-sharing', async (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ await sharingStatusCommand().parseAsync(['--project', projectDir], { from: 'user' });
+ const stdout = vi
+ .mocked(process.stdout.write)
+ .mock.calls.map(([text]) => String(text))
+ .join('');
+ expect(stdout).toMatch(new RegExp(`Toggle with: .*${command} config-sharing (share|unshare)`));
+ });
+});
diff --git a/packages/cli/src/commands/sharing/status.ts b/packages/cli/src/commands/sharing/status.ts
index 34ecfc6a1..80bf71b86 100644
--- a/packages/cli/src/commands/sharing/status.ts
+++ b/packages/cli/src/commands/sharing/status.ts
@@ -1,4 +1,5 @@
import { resolve } from 'node:path';
+import { currentCliCommandName } from '@inkeep/open-knowledge-core';
import { Command } from 'commander';
import {
getExcludedOkPaths,
@@ -66,7 +67,7 @@ export function sharingStatusCommand(): Command {
}
lines.push('');
lines.push(
- `Toggle with: ${info(mode === 'local-only' ? 'ok config-sharing share' : 'ok config-sharing unshare')}`,
+ `Toggle with: ${info(`${currentCliCommandName()} config-sharing ${mode === 'local-only' ? 'share' : 'unshare'}`)}`,
);
process.stdout.write(`${lines.join('\n')}\n`);
});
diff --git a/packages/cli/src/commands/skills.test.ts b/packages/cli/src/commands/skills.test.ts
new file mode 100644
index 000000000..ee051e6bd
--- /dev/null
+++ b/packages/cli/src/commands/skills.test.ts
@@ -0,0 +1,38 @@
+import { mkdtempSync, rmSync } from 'node:fs';
+import { tmpdir } from 'node:os';
+import { join } from 'node:path';
+import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
+import { skillsCommand } from './skills.ts';
+
+let projectDir: string;
+
+beforeEach(() => {
+ projectDir = mkdtempSync(join(tmpdir(), 'ok-skills-import-'));
+ vi.spyOn(process, 'cwd').mockReturnValue(projectDir);
+ vi.spyOn(process.stderr, 'write').mockImplementation(() => true);
+});
+
+afterEach(() => {
+ vi.restoreAllMocks();
+ vi.unstubAllEnvs();
+ process.exitCode = undefined;
+ rmSync(projectDir, { recursive: true, force: true });
+});
+
+describe('skills import without a running server', () => {
+ test.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: names %s start as the remedy', async (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ await skillsCommand().parseAsync(['import', 'owner/repo'], { from: 'user' });
+ const stderr = vi
+ .mocked(process.stderr.write)
+ .mock.calls.map(([text]) => String(text))
+ .join('');
+ expect(stderr).toContain('no running Open Knowledge server for this project. Start it with');
+ expect(stderr).toContain(`${command} start`);
+ expect(stderr).toContain(' and retry.\n');
+ expect(process.exitCode).toBe(1);
+ });
+});
diff --git a/packages/cli/src/commands/skills.ts b/packages/cli/src/commands/skills.ts
index fd153950f..018e12033 100644
--- a/packages/cli/src/commands/skills.ts
+++ b/packages/cli/src/commands/skills.ts
@@ -1,5 +1,5 @@
import { resolve as resolvePath } from 'node:path';
-import { isDetectedSkillInProject } from '@inkeep/open-knowledge-core';
+import { currentCliCommandName, isDetectedSkillInProject } from '@inkeep/open-knowledge-core';
import { resolveProjectIdentity } from '@inkeep/open-knowledge-core/shadow-repo-layout';
import { enumerateInstalledSkills } from '@inkeep/open-knowledge-core/skills-catalog';
import { findEnclosingProjectRoot, resolveLockDir } from '@inkeep/open-knowledge-server';
@@ -65,7 +65,7 @@ export function skillsCommand(): Command {
const state = inspectLock(lockDir, 'server');
if (state.status !== 'alive') {
process.stderr.write(
- `${errorColor('Error:')} no running Open Knowledge server for this project. Start it with ${accent('ok start')} and retry.\n`,
+ `${errorColor('Error:')} no running Open Knowledge server for this project. Start it with ${accent(`${currentCliCommandName()} start`)} and retry.\n`,
);
process.exitCode = 1;
return;
diff --git a/packages/cli/src/commands/status.test.ts b/packages/cli/src/commands/status.test.ts
index 5a35c0ca1..b0763ed57 100644
--- a/packages/cli/src/commands/status.test.ts
+++ b/packages/cli/src/commands/status.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, test } from 'vitest';
+import { afterEach, describe, expect, test, vi } from 'vitest';
import type { LockState } from './lock-state.ts';
import { buildStatusReport, renderStatusText, runStatus } from './status.ts';
@@ -186,3 +186,20 @@ test('read failures retain unknown liveness and suggest restoring access', () =>
expect(report.server.pid).toBeUndefined();
expect(renderStatusText(report)).toContain('restore file and parent-directory access');
});
+
+describe('status hints name the running channel CLI', () => {
+ afterEach(() => vi.unstubAllEnvs());
+
+ test.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: stale and corrupt locks suggest %s clean', (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ expect(renderStatusText(buildStatusReport(dead(999)))).toContain(
+ `server stale (dead pid=999) — run \`${command} clean\``,
+ );
+ expect(renderStatusText(buildStatusReport(corrupt()))).toContain(
+ `server lock file corrupt — run \`${command} clean\``,
+ );
+ });
+});
diff --git a/packages/cli/src/commands/status.ts b/packages/cli/src/commands/status.ts
index b5e56f291..ebe114a5a 100644
--- a/packages/cli/src/commands/status.ts
+++ b/packages/cli/src/commands/status.ts
@@ -1,3 +1,4 @@
+import { currentCliCommandName } from '@inkeep/open-knowledge-core';
import { type Config, lockAdvertisesUi, resolveLockDir } from '@inkeep/open-knowledge-server';
import { Command } from 'commander';
import { inspectLock, type LockState } from './lock-state.ts';
@@ -89,7 +90,7 @@ function renderEntry(entry: StatusEntry): string {
return `${label} not running`;
}
if (entry.state === 'corrupt') {
- return `${label} lock file corrupt — run \`ok clean\``;
+ return `${label} lock file corrupt — run \`${currentCliCommandName()} clean\``;
}
if (entry.state === 'read-error') {
return `${label} lock file unreadable — restore file and parent-directory access, then retry`;
@@ -101,7 +102,7 @@ function renderEntry(entry: StatusEntry): string {
return `${label} foreign host (${entry.host}) pid=${entry.pid} port=${entry.port}`;
}
if (entry.state === 'dead-pid') {
- return `${label} stale (dead pid=${entry.pid}) — run \`ok clean\``;
+ return `${label} stale (dead pid=${entry.pid}) — run \`${currentCliCommandName()} clean\``;
}
if (entry.servedByServer === true) {
return `${label} served by server pid=${entry.pid} port=${entry.port}`;
diff --git a/packages/cli/src/commands/stop.test.ts b/packages/cli/src/commands/stop.test.ts
index 8aae827a9..509dffe29 100644
--- a/packages/cli/src/commands/stop.test.ts
+++ b/packages/cli/src/commands/stop.test.ts
@@ -404,6 +404,20 @@ describe('formatNoTargetMessage', () => {
expect(formatNoTargetMessage('/proj', 1)).toContain('1 other open-knowledge server is running');
});
+ test.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: the pointer names %s ps', (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ try {
+ expect(formatNoTargetMessage('/proj', 2)).toBe(
+ `Nothing was running for /proj. 2 other open-knowledge servers are running — run \`${command} ps\` to list them.`,
+ );
+ } finally {
+ vi.unstubAllEnvs();
+ }
+ });
+
test('drops the `ok ps` pointer when the caller prints the listing itself', () => {
const msg = formatNoTargetMessage('/proj', 2, { listingFollows: true });
expect(msg).toContain('Nothing was running for /proj');
diff --git a/packages/cli/src/commands/stop.ts b/packages/cli/src/commands/stop.ts
index c1a38ffe5..c2f5554c2 100644
--- a/packages/cli/src/commands/stop.ts
+++ b/packages/cli/src/commands/stop.ts
@@ -1,5 +1,9 @@
import { resolve } from 'node:path';
-import { desktopChannelLabel, resolveDesktopProductName } from '@inkeep/open-knowledge-core';
+import {
+ currentCliCommandName,
+ desktopChannelLabel,
+ resolveDesktopProductName,
+} from '@inkeep/open-knowledge-core';
import {
type Config,
isProcessAlive,
@@ -245,7 +249,8 @@ export function formatNoTargetMessage(
return `Nothing was running for ${targetDir}, and no other open-knowledge servers are running.`;
}
const agreement = otherRunningServers === 1 ? ' is' : 's are';
- const pointer = opts.listingFollows === true ? '' : ' — run `ok ps` to list them';
+ const pointer =
+ opts.listingFollows === true ? '' : ` — run \`${currentCliCommandName()} ps\` to list them`;
return (
`Nothing was running for ${targetDir}. ${otherRunningServers} other open-knowledge server` +
`${agreement} running${pointer}.`
diff --git a/packages/cli/src/content/preview.test.ts b/packages/cli/src/content/preview.test.ts
index dc6d45564..05d5f6bf0 100644
--- a/packages/cli/src/content/preview.test.ts
+++ b/packages/cli/src/content/preview.test.ts
@@ -1,9 +1,9 @@
import { mkdirSync, rmSync, symlinkSync, writeFileSync } from 'node:fs';
import { tmpdir } from 'node:os';
import { join, resolve } from 'node:path';
-import { afterEach, beforeEach, describe, expect, it } from 'vitest';
+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import { OK_DIR } from '../constants.ts';
-import { previewContent } from './preview.ts';
+import { formatPreviewBlock, previewContent } from './preview.ts';
describe('previewContent', () => {
let testDir: string;
@@ -165,3 +165,32 @@ describe('previewContent', () => {
expect(result.warnings[0]).toContain('broken or cyclic symlink');
});
});
+
+describe('formatPreviewBlock names the running channel CLI', () => {
+ afterEach(() => vi.unstubAllEnvs());
+
+ it.each([
+ ['stable', 'open-knowledge'],
+ ['beta', 'open-knowledge-beta'],
+ ])('%s: the init and re-check hints name %s', (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ const cwd = resolve(
+ tmpdir(),
+ `preview-hint-${Date.now()}-${Math.random().toString(36).slice(2)}`,
+ );
+ const output = formatPreviewBlock(
+ { totalCount: 0, sample: [], contentDir: cwd, warnings: [] },
+ cwd,
+ );
+ expect(output).toBe(
+ [
+ 'Content:',
+ ' Found 0 markdown files in ./',
+ '',
+ ` Run \`${command} init\` to scaffold config + .okignore.`,
+ '',
+ ` Re-check anytime: ${command} preview`,
+ ].join('\n'),
+ );
+ });
+});
diff --git a/packages/cli/src/content/preview.ts b/packages/cli/src/content/preview.ts
index e94a5db9c..2dd249d96 100644
--- a/packages/cli/src/content/preview.ts
+++ b/packages/cli/src/content/preview.ts
@@ -1,5 +1,6 @@
import { existsSync, lstatSync, readdirSync, realpathSync, statSync } from 'node:fs';
import { join, relative } from 'node:path';
+import { currentDesktopProduct } from '@inkeep/open-knowledge-core';
import { createContentFilter } from '@inkeep/open-knowledge-server';
import { OK_DIR } from '../constants.ts';
@@ -142,11 +143,13 @@ export function formatPreviewBlock(result: PreviewResult, cwd: string): string {
lines.push(' To adjust scope, add patterns to .okignore at the project root.');
lines.push(` To change the content root, edit ${OK_DIR}/config.yml → content.dir.`);
} else {
- lines.push(' Run `open-knowledge init` to scaffold config + .okignore.');
+ lines.push(
+ ` Run \`${currentDesktopProduct().cliCommandNames[1]} init\` to scaffold config + .okignore.`,
+ );
}
lines.push('');
- lines.push(' Re-check anytime: open-knowledge preview');
+ lines.push(` Re-check anytime: ${currentDesktopProduct().cliCommandNames[1]} preview`);
return lines.join('\n');
}
diff --git a/packages/cli/src/integrations/pi-extension.test.ts b/packages/cli/src/integrations/pi-extension.test.ts
index 28bd2e1ad..38272edde 100644
--- a/packages/cli/src/integrations/pi-extension.test.ts
+++ b/packages/cli/src/integrations/pi-extension.test.ts
@@ -1,7 +1,7 @@
import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs';
import { tmpdir } from 'node:os';
import { join } from 'node:path';
-import { afterEach, beforeEach, describe, expect, it } from 'vitest';
+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import {
CHAIN_V2,
CHAIN_WIN_V1,
@@ -216,3 +216,21 @@ rl.on("line", (line) => {
}
}, 20000);
});
+
+describe('buildPiExtensionSource header names the running channel CLI', () => {
+ afterEach(() => vi.unstubAllEnvs());
+
+ it.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: the managed-file note names %s init and deinit', (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ const source = buildPiExtensionSource();
+ expect(source).toContain(
+ ` * Open Knowledge bridge for Pi — MANAGED FILE, written by \`${command} init\`.\n`,
+ );
+ expect(source).toContain(
+ ` * with \`${command} deinit\` (or delete the file) to disconnect Pi from OK.\n`,
+ );
+ });
+});
diff --git a/packages/cli/src/integrations/pi-extension.ts b/packages/cli/src/integrations/pi-extension.ts
index a528202c8..d248d9021 100644
--- a/packages/cli/src/integrations/pi-extension.ts
+++ b/packages/cli/src/integrations/pi-extension.ts
@@ -1,4 +1,5 @@
import {
+ currentCliCommandName,
currentDesktopProduct,
DESKTOP_PRODUCTS,
piToolNamespace,
@@ -48,9 +49,9 @@ export function buildPiExtensionSource(options: McpInstallOptions = {}): string
};
return `${header}
/**
- * Open Knowledge bridge for Pi — MANAGED FILE, written by \`ok init\`.
+ * Open Knowledge bridge for Pi — MANAGED FILE, written by \`${currentCliCommandName()} init\`.
* Hand edits are overwritten whenever OK re-syncs this project; remove it
- * with \`ok deinit\` (or delete the file) to disconnect Pi from OK.
+ * with \`${currentCliCommandName()} deinit\` (or delete the file) to disconnect Pi from OK.
*
* On session start it spawns Open Knowledge's MCP stdio server via OK's
* resilient launcher (bundle, then npx, then version-manager probes), performs
diff --git a/packages/core/src/config/removed-keys.test.ts b/packages/core/src/config/removed-keys.test.ts
index 10f7903ab..e17bcf0c6 100644
--- a/packages/core/src/config/removed-keys.test.ts
+++ b/packages/core/src/config/removed-keys.test.ts
@@ -1,4 +1,4 @@
-import { describe, expect, test } from 'vitest';
+import { afterEach, describe, expect, test, vi } from 'vitest';
import { parseDocument } from 'yaml';
import { isKnownConfigError } from './errors.ts';
import { detectRemovedKeys, REMOVED_KEYS, stripRemovedKeys } from './removed-keys.ts';
@@ -164,3 +164,18 @@ describe('stripRemovedKeys', () => {
expect(stripRemovedKeys({ content: { dir: 'docs' } })).toEqual({ content: { dir: 'docs' } });
});
});
+
+describe('removed-key redirects name the running channel CLI', () => {
+ afterEach(() => vi.unstubAllEnvs());
+
+ test.each([
+ ['stable', 'ok'],
+ ['beta', 'ok-beta'],
+ ])('%s: the migrate and start hints name %s', (channel, command) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ const [diagnostic] = detectRemovedKeys({ value: { preview: { baseUrl: 'x' } } });
+ expect(diagnostic?.code === 'REMOVED_KEY' ? diagnostic.redirect : '').toBe(
+ `preview URLs now resolve only to the running server — start one with \`${command} start\`. Run \`${command} config migrate\` to strip the obsolete key automatically, or remove it by hand.`,
+ );
+ });
+});
diff --git a/packages/core/src/config/removed-keys.ts b/packages/core/src/config/removed-keys.ts
index b830ccaf0..3d99ac5f8 100644
--- a/packages/core/src/config/removed-keys.ts
+++ b/packages/core/src/config/removed-keys.ts
@@ -1,136 +1,173 @@
import type { Document } from 'yaml';
+import { currentCliCommandName } from '../constants/product.ts';
import type { ConfigIssueSource, RemovedKeyDiagnostic } from './errors.ts';
import { locateIssue } from './source-locator.ts';
export interface RemovedKey {
path: string[];
- redirect: string;
+ readonly redirect: string;
}
-const MIGRATE_HINT =
- 'Run `ok config migrate` to strip the obsolete key automatically, or remove it by hand.';
+const migrateHint = (): string =>
+ `Run \`${currentCliCommandName()} config migrate\` to strip the obsolete key automatically, or remove it by hand.`;
export const REMOVED_KEYS: readonly RemovedKey[] = [
{
path: ['content', 'include'],
- redirect: [
- 'content.include has been removed.',
- 'For subdirectory scoping, set content.dir in .ok/config.yml instead.',
- 'For pattern-based filtering, use .okignore (gitignore syntax — exclude-only; do not copy include patterns directly).',
- MIGRATE_HINT,
- ].join(' '),
+ get redirect() {
+ return [
+ 'content.include has been removed.',
+ 'For subdirectory scoping, set content.dir in .ok/config.yml instead.',
+ 'For pattern-based filtering, use .okignore (gitignore syntax — exclude-only; do not copy include patterns directly).',
+ migrateHint(),
+ ].join(' ');
+ },
},
{
path: ['content', 'exclude'],
- redirect: [
- 'Move these patterns to .okignore at the project root (gitignore syntax, 1:1 migration).',
- MIGRATE_HINT,
- ].join(' '),
+ get redirect() {
+ return [
+ 'Move these patterns to .okignore at the project root (gitignore syntax, 1:1 migration).',
+ migrateHint(),
+ ].join(' ');
+ },
},
{
path: ['folders'],
- redirect: [
- 'folders is no longer a top-level config field.',
- "A folder's own frontmatter (open-shape, like a doc's) lives in nested `<folder>/.ok/frontmatter.yml`; new-doc starting properties come from templates in `<folder>/.ok/templates/`.",
- 'Edit via the folder overview in the editor sidebar, or `edit({ folder: { path, frontmatter } })` via the MCP.',
- MIGRATE_HINT,
- ].join(' '),
+ get redirect() {
+ return [
+ 'folders is no longer a top-level config field.',
+ "A folder's own frontmatter (open-shape, like a doc's) lives in nested `<folder>/.ok/frontmatter.yml`; new-doc starting properties come from templates in `<folder>/.ok/templates/`.",
+ 'Edit via the folder overview in the editor sidebar, or `edit({ folder: { path, frontmatter } })` via the MCP.',
+ migrateHint(),
+ ].join(' ');
+ },
},
{
path: ['appearance', 'editorModeDefault'],
- redirect: [
- 'appearance.editorModeDefault was removed and is never read — new docs always open in WYSIWYG; toggle mode via the editor mode button.',
- MIGRATE_HINT,
- ].join(' '),
+ get redirect() {
+ return [
+ 'appearance.editorModeDefault was removed and is never read — new docs always open in WYSIWYG; toggle mode via the editor mode button.',
+ migrateHint(),
+ ].join(' ');
+ },
},
{
path: ['upload', 'maxBytes'],
- redirect: [
- 'streaming uploads have no user-facing cap; the value is hardcoded in @inkeep/open-knowledge-core.',
- MIGRATE_HINT,
- ].join(' '),
+ get redirect() {
+ return [
+ 'streaming uploads have no user-facing cap; the value is hardcoded in @inkeep/open-knowledge-core.',
+ migrateHint(),
+ ].join(' ');
+ },
},
{
path: ['github', 'oauthAppClientId'],
- redirect: [
- 'Use the OPEN_KNOWLEDGE_GITHUB_CLIENT_ID environment variable instead.',
- MIGRATE_HINT,
- ].join(' '),
+ get redirect() {
+ return [
+ 'Use the OPEN_KNOWLEDGE_GITHUB_CLIENT_ID environment variable instead.',
+ migrateHint(),
+ ].join(' ');
+ },
},
{
path: ['server', 'host'],
- redirect: [
- 'Use server.bind in .ok/config.yml instead — a list of bind addresses, e.g. [127.0.0.1]; a non-loopback bind additionally requires server.allowExternal.',
- 'The --bind CLI flag and HOST environment variable also remain available.',
- MIGRATE_HINT,
- ].join(' '),
+ get redirect() {
+ return [
+ 'Use server.bind in .ok/config.yml instead — a list of bind addresses, e.g. [127.0.0.1]; a non-loopback bind additionally requires server.allowExternal.',
+ 'The --bind CLI flag and HOST environment variable also remain available.',
+ migrateHint(),
+ ].join(' ');
+ },
},
{
path: ['remote', 'url'],
- redirect: [
- 'remote.url has been removed. Use server.externalUrl in .ok/config.yml instead (the public origin your tunnel serves).',
- MIGRATE_HINT,
- ].join(' '),
+ get redirect() {
+ return [
+ 'remote.url has been removed. Use server.externalUrl in .ok/config.yml instead (the public origin your tunnel serves).',
+ migrateHint(),
+ ].join(' ');
+ },
},
{
path: ['remote', 'port'],
- redirect: [
- 'remote.port has been removed. Use server.port in .ok/config.yml instead.',
- MIGRATE_HINT,
- ].join(' '),
+ get redirect() {
+ return [
+ 'remote.port has been removed. Use server.port in .ok/config.yml instead.',
+ migrateHint(),
+ ].join(' ');
+ },
},
{
path: ['server', 'publicUrl'],
- redirect: [
- 'server.publicUrl has been removed. Use server.externalUrl in .ok/config.yml instead (the same key under its current name).',
- MIGRATE_HINT,
- ].join(' '),
+ get redirect() {
+ return [
+ 'server.publicUrl has been removed. Use server.externalUrl in .ok/config.yml instead (the same key under its current name).',
+ migrateHint(),
+ ].join(' ');
+ },
},
{
path: ['server', 'openOnAgentEdit'],
- redirect: ['This behavior was removed; the value is hardcoded.', MIGRATE_HINT].join(' '),
+ get redirect() {
+ return ['This behavior was removed; the value is hardcoded.', migrateHint()].join(' ');
+ },
},
{
path: ['mcp', 'autoStart'],
- redirect: ['To disable MCP auto-start, set OK_MCP_AUTOSTART=0.', MIGRATE_HINT].join(' '),
+ get redirect() {
+ return ['To disable MCP auto-start, set OK_MCP_AUTOSTART=0.', migrateHint()].join(' ');
+ },
},
{
path: ['mcp', 'tools', 'read_document', 'historyDepth'],
- redirect: ['This value is hardcoded in @inkeep/open-knowledge-core.', MIGRATE_HINT].join(' '),
+ get redirect() {
+ return ['This value is hardcoded in @inkeep/open-knowledge-core.', migrateHint()].join(' ');
+ },
},
{
path: ['mcp', 'tools', 'grep', 'maxResults'],
- redirect: ['This value is hardcoded in @inkeep/open-knowledge-core.', MIGRATE_HINT].join(' '),
+ get redirect() {
+ return ['This value is hardcoded in @inkeep/open-knowledge-core.', migrateHint()].join(' ');
+ },
},
{
path: ['mcp', 'tools', 'search', 'maxResults'],
- redirect: [
- 'The search result cap is hardcoded in @inkeep/open-knowledge-core; this config key was removed.',
- MIGRATE_HINT,
- ].join(' '),
+ get redirect() {
+ return [
+ 'The search result cap is hardcoded in @inkeep/open-knowledge-core; this config key was removed.',
+ migrateHint(),
+ ].join(' ');
+ },
},
{
path: ['preview', 'baseUrl'],
- redirect: [
- 'preview URLs now resolve only to the running server — start one with `ok start`.',
- MIGRATE_HINT,
- ].join(' '),
+ get redirect() {
+ return [
+ `preview URLs now resolve only to the running server — start one with \`${currentCliCommandName()} start\`.`,
+ migrateHint(),
+ ].join(' ');
+ },
},
{
path: ['preview', 'scriptSrc'],
- redirect: [
- 'preview.scriptSrc has been removed.',
- 'The code-block preview iframe now runs a fixed open network policy (it is no longer configurable).',
- MIGRATE_HINT,
- ].join(' '),
+ get redirect() {
+ return [
+ 'preview.scriptSrc has been removed.',
+ 'The code-block preview iframe now runs a fixed open network policy (it is no longer configurable).',
+ migrateHint(),
+ ].join(' ');
+ },
},
{
path: ['appearance', 'sidebar', 'showAllFiles'],
- redirect: [
- 'appearance.sidebar.showAllFiles has been removed.',
- 'The sidebar lists every file on disk by default; dot-prefixed entries are gated by appearance.sidebar.showHiddenFiles, and appearance.sidebar.showOnlyMarkdownFiles scopes the tree down to markdown documents as a per-machine view preference.',
- MIGRATE_HINT,
- ].join(' '),
+ get redirect() {
+ return [
+ 'appearance.sidebar.showAllFiles has been removed.',
+ 'The sidebar lists every file on disk by default; dot-prefixed entries are gated by appearance.sidebar.showHiddenFiles, and appearance.sidebar.showOnlyMarkdownFiles scopes the tree down to markdown documents as a per-machine view preference.',
+ migrateHint(),
+ ].join(' ');
+ },
},
];
diff --git a/packages/desktop/resources/cli/bin/ok-linux.sh b/packages/desktop/resources/cli/bin/ok-linux.sh
index fca2c1463..46665ce90 100755
--- a/packages/desktop/resources/cli/bin/ok-linux.sh
+++ b/packages/desktop/resources/cli/bin/ok-linux.sh
@@ -20,7 +20,10 @@ CLI="$BIN_DIR/../dist/cli.mjs"
if [ ! -f "$CLI" ] || [ ! -x "$ELECTRON" ]; then
echo "OpenKnowledge has been removed. Reinstall the OpenKnowledge package." >&2
- echo '{"error":"ok-bundle-missing","hint":"OpenKnowledge app appears to have been removed. Reinstall it, or remove OK entries from your MCP config and rerun ok init."}' >&2
+ OK_INIT_COMMAND="ok init"
+ case "$(basename "${BASH_SOURCE[0]}")" in *-beta) OK_INIT_COMMAND="ok-beta init" ;; esac
+ case "$OK_CHANNEL" in [Bb][Ee][Tt][Aa]) OK_INIT_COMMAND="ok-beta init" ;; esac
+ echo '{"error":"ok-bundle-missing","hint":"OpenKnowledge app appears to have been removed. Reinstall it, or remove OK entries from your MCP config and rerun '"$OK_INIT_COMMAND"'."}' >&2
exit 69
fi
diff --git a/packages/desktop/resources/cli/bin/ok.cmd b/packages/desktop/resources/cli/bin/ok.cmd
index 3714818e0..a149033e9 100644
--- a/packages/desktop/resources/cli/bin/ok.cmd
+++ b/packages/desktop/resources/cli/bin/ok.cmd
@@ -40,5 +40,9 @@ rem Redirect FIRST: `echo text 1>&2` keeps the space before the redirect token
rem as part of the echoed text, so every line would ship a trailing space and
rem diverge byte-for-byte from ok.sh / ok.ps1's identical contract.
1>&2 echo OpenKnowledge has been removed. Reinstall from the OpenKnowledge installer.
-1>&2 echo {"error":"ok-bundle-missing","hint":"OpenKnowledge app appears to have been removed. Reinstall it, or remove OK entries from your MCP config and rerun ok init."}
+set "OK_INIT_COMMAND=ok init"
+if /i "%~n0"=="ok-beta" set "OK_INIT_COMMAND=ok-beta init"
+if /i "%~n0"=="open-knowledge-beta" set "OK_INIT_COMMAND=ok-beta init"
+if /i "%OK_CHANNEL%"=="beta" set "OK_INIT_COMMAND=ok-beta init"
+1>&2 echo {"error":"ok-bundle-missing","hint":"OpenKnowledge app appears to have been removed. Reinstall it, or remove OK entries from your MCP config and rerun %OK_INIT_COMMAND%."}
endlocal & exit /b 69
diff --git a/packages/desktop/resources/cli/bin/ok.ps1 b/packages/desktop/resources/cli/bin/ok.ps1
index 5b91fbba0..d35f07214 100644
--- a/packages/desktop/resources/cli/bin/ok.ps1
+++ b/packages/desktop/resources/cli/bin/ok.ps1
@@ -15,7 +15,11 @@ if (-not $electron -or -not (Test-Path $cli)) {
# Mirrors ok.sh / ok.cmd's ok-bundle-missing contract: two-line stderr
# (human-readable + machine-readable JSON), exit 69 (EX_UNAVAILABLE).
[Console]::Error.WriteLine('OpenKnowledge has been removed. Reinstall from the OpenKnowledge installer.')
- [Console]::Error.WriteLine('{"error":"ok-bundle-missing","hint":"OpenKnowledge app appears to have been removed. Reinstall it, or remove OK entries from your MCP config and rerun ok init."}')
+ $okInitCommand = 'ok init'
+ if ($env:OK_CHANNEL -ieq 'beta' -or [IO.Path]::GetFileNameWithoutExtension($PSCommandPath) -like '*-beta') {
+ $okInitCommand = 'ok-beta init'
+ }
+ [Console]::Error.WriteLine('{"error":"ok-bundle-missing","hint":"OpenKnowledge app appears to have been removed. Reinstall it, or remove OK entries from your MCP config and rerun ' + $okInitCommand + '."}')
exit 69
}
diff --git a/packages/desktop/resources/cli/bin/ok.sh b/packages/desktop/resources/cli/bin/ok.sh
index edbf1480b..04511808f 100755
--- a/packages/desktop/resources/cli/bin/ok.sh
+++ b/packages/desktop/resources/cli/bin/ok.sh
@@ -30,7 +30,10 @@ CLI="$CONTENTS/Resources/cli/dist/cli.mjs"
if [ ! -f "$CLI" ] || [ ! -x "$ELECTRON" ]; then
echo "OpenKnowledge has been removed. Reinstall from the OpenKnowledge DMG." >&2
- echo '{"error":"ok-bundle-missing","hint":"OpenKnowledge app appears to have been removed. Reinstall from the DMG, or remove OK entries from your MCP config and rerun ok init."}' >&2
+ OK_INIT_COMMAND="ok init"
+ case "$(basename "${BASH_SOURCE[0]}")" in *-beta) OK_INIT_COMMAND="ok-beta init" ;; esac
+ case "$OK_CHANNEL" in [Bb][Ee][Tt][Aa]) OK_INIT_COMMAND="ok-beta init" ;; esac
+ echo '{"error":"ok-bundle-missing","hint":"OpenKnowledge app appears to have been removed. Reinstall from the DMG, or remove OK entries from your MCP config and rerun '"$OK_INIT_COMMAND"'."}' >&2
exit 69
fi
diff --git a/packages/desktop/src/main/folder-admission.test.ts b/packages/desktop/src/main/folder-admission.test.ts
index e7bbcdd24..9528365ff 100644
--- a/packages/desktop/src/main/folder-admission.test.ts
+++ b/packages/desktop/src/main/folder-admission.test.ts
@@ -811,6 +811,20 @@ describe('discoverProject — type surface', () => {
expect(Object.keys(REJECTION_REASON_COPY).sort()).toEqual([...allReasons].sort());
});
+ test.each([
+ ['stable', '~/.ok'],
+ ['beta', '~/.ok-beta'],
+ ])('%s: the home-directory copy names %s as the user-global folder', (channel, home) => {
+ vi.stubEnv('OK_CHANNEL', channel);
+ try {
+ expect(REJECTION_REASON_COPY['home-directory']).toBe(
+ `This is your home directory, not a project. ${home} is OpenKnowledge's own user-global folder (settings, skills), and opening a project here would set up git in your home directory and write project config into your editors' global folders. Make a folder for your notes and open that instead.`,
+ );
+ } finally {
+ vi.unstubAllEnvs();
+ }
+ });
+
test('DiscoverProjectOptions and DiscoverProjectResult are import-able', () => {
const opts: DiscoverProjectOptions = { homeDir: HOME, dirSizeProbe: null };
const empty: ValidateFolderPickOptions = {};
diff --git a/packages/desktop/src/main/folder-admission.ts b/packages/desktop/src/main/folder-admission.ts
index f2e3226fa..3f7a9ef3b 100644
--- a/packages/desktop/src/main/folder-admission.ts
+++ b/packages/desktop/src/main/folder-admission.ts
@@ -3,6 +3,7 @@ import { existsSync, realpathSync, statSync } from 'node:fs';
import { homedir as nodeHomedir } from 'node:os';
import { dirname, isAbsolute, join, posix, relative, resolve, win32 } from 'node:path';
import { promisify } from 'node:util';
+import { okUserHomeDisplayPath } from '@inkeep/open-knowledge-core';
import { resolveGitDirDetailed } from '@inkeep/open-knowledge-core/shadow-repo-layout';
import {
canonicalizeForCompare,
@@ -131,8 +132,9 @@ export function isSystemDirectory(
export const REJECTION_REASON_COPY = {
'symlink-escape': 'Symlink resolves outside its parent directory.',
unreadable: 'Folder is unreadable or does not exist.',
- 'home-directory':
- "This is your home directory, not a project. ~/.ok is OpenKnowledge's own user-global folder (settings, skills), and opening a project here would set up git in your home directory and write project config into your editors' global folders. Make a folder for your notes and open that instead.",
+ get 'home-directory'() {
+ return `This is your home directory, not a project. ${okUserHomeDisplayPath()} is OpenKnowledge's own user-global folder (settings, skills), and opening a project here would set up git in your home directory and write project config into your editors' global folders. Make a folder for your notes and open that instead.`;
+ },
'filesystem-root':
'This is the top of a drive, not a project folder. Setting up OpenKnowledge here would scan every file on the drive and set up git at its root. Make a folder for your notes and open that instead.',
'system-directory':
diff --git a/packages/desktop/tests/unit/ok-wrapper-windows.test.ts b/packages/desktop/tests/unit/ok-wrapper-windows.test.ts
index 9e04f7bb1..f0cdc578f 100644
--- a/packages/desktop/tests/unit/ok-wrapper-windows.test.ts
+++ b/packages/desktop/tests/unit/ok-wrapper-windows.test.ts
@@ -20,15 +20,20 @@ const EXPECTED_JSON = {
hint: 'OpenKnowledge app appears to have been removed. Reinstall it, or remove OK entries from your MCP config and rerun ok init.',
};
-function stageOrphanedWrapper(name: string): string {
+function stageOrphanedWrapper(name: string, stagedName = name): string {
const root = mkdtempSync(join(tmpdir(), 'ok-wrapper-win-'));
const binDir = join(root, 'resources', 'cli', 'bin');
mkdirSync(binDir, { recursive: true });
- const staged = join(binDir, name);
+ const staged = join(binDir, stagedName);
copyFileSync(join(BIN_DIR, name), staged);
return staged;
}
+function envWithoutChannel(): NodeJS.ProcessEnv {
+ const { OK_CHANNEL: _ignored, ...rest } = process.env;
+ return rest;
+}
+
function stderrLines(stderr: string): string[] {
return stderr.split(/\r?\n/).filter((line) => line.trim().length > 0);
}
@@ -38,6 +43,7 @@ describe.skipIf(!WINDOWS)('Windows ok wrapper bundle-missing contract', () => {
const wrapper = stageOrphanedWrapper('ok.cmd');
const result = spawnSync(process.env.ComSpec ?? 'cmd.exe', ['/d', '/c', wrapper], {
encoding: 'utf8',
+ env: envWithoutChannel(),
timeout: WRAPPER_SPAWN_TIMEOUT_MS,
});
@@ -53,7 +59,7 @@ describe.skipIf(!WINDOWS)('Windows ok wrapper bundle-missing contract', () => {
const result = spawnSync(
'powershell.exe',
['-NoProfile', '-NonInteractive', '-ExecutionPolicy', 'Bypass', '-File', wrapper],
- { encoding: 'utf8', timeout: WRAPPER_SPAWN_TIMEOUT_MS },
+ { encoding: 'utf8', env: envWithoutChannel(), timeout: WRAPPER_SPAWN_TIMEOUT_MS },
);
expect(result.status).toBe(69);
@@ -63,12 +69,22 @@ describe.skipIf(!WINDOWS)('Windows ok wrapper bundle-missing contract', () => {
expect(JSON.parse(lines[1] ?? '')).toEqual(EXPECTED_JSON);
});
- test('both wrappers agree on the stderr contract byte-for-byte', () => {
+ const BETA_JSON = {
+ ...EXPECTED_JSON,
+ hint: 'OpenKnowledge app appears to have been removed. Reinstall it, or remove OK entries from your MCP config and rerun ok-beta init.',
+ };
+
+ test('both wrappers agree byte-for-byte and name ok-beta init when installed under Beta names', () => {
const runs = [
- spawnSync(process.env.ComSpec ?? 'cmd.exe', ['/d', '/c', stageOrphanedWrapper('ok.cmd')], {
- encoding: 'utf8',
- timeout: WRAPPER_SPAWN_TIMEOUT_MS,
- }),
+ spawnSync(
+ process.env.ComSpec ?? 'cmd.exe',
+ ['/d', '/c', stageOrphanedWrapper('ok.cmd', 'ok-beta.cmd')],
+ {
+ encoding: 'utf8',
+ env: envWithoutChannel(),
+ timeout: WRAPPER_SPAWN_TIMEOUT_MS,
+ },
+ ),
spawnSync(
'powershell.exe',
[
@@ -77,12 +93,16 @@ describe.skipIf(!WINDOWS)('Windows ok wrapper bundle-missing contract', () => {
'-ExecutionPolicy',
'Bypass',
'-File',
- stageOrphanedWrapper('ok.ps1'),
+ stageOrphanedWrapper('ok.ps1', 'ok-beta.ps1'),
],
- { encoding: 'utf8', timeout: WRAPPER_SPAWN_TIMEOUT_MS },
+ { encoding: 'utf8', env: envWithoutChannel(), timeout: WRAPPER_SPAWN_TIMEOUT_MS },
),
];
const [cmdLines, ps1Lines] = runs.map((r) => stderrLines(r.stderr));
expect(cmdLines).toEqual(ps1Lines);
+ for (const result of runs) {
+ expect(result.status).toBe(69);
+ expect(JSON.parse(stderrLines(result.stderr)[1] ?? '')).toEqual(BETA_JSON);
+ }
});
});
diff --git a/packages/desktop/tests/unit/ok-wrapper.test.ts b/packages/desktop/tests/unit/ok-wrapper.test.ts
index 73fc03fa2..95ec56c23 100644
--- a/packages/desktop/tests/unit/ok-wrapper.test.ts
+++ b/packages/desktop/tests/unit/ok-wrapper.test.ts
@@ -1,5 +1,5 @@
import { spawnSync } from 'node:child_process';
-import { accessSync, constants, readFileSync } from 'node:fs';
+import { accessSync, constants, readFileSync, symlinkSync } from 'node:fs';
import { join } from 'node:path';
import { afterAll, describe, expect, test } from 'vitest';
import { createTempDirFactory } from '../../../../test-support/temp-dir.test-helper.ts';
@@ -15,7 +15,7 @@ describe('ok.sh wrapper', () => {
test('missing bundle emits two-line stderr and exits 69', () => {
const result = spawnSync(WRAPPER, [], {
- env: { ...process.env, APP_BUNDLE_DIR: '/nonexistent/fake.app' },
+ env: { ...process.env, APP_BUNDLE_DIR: '/nonexistent/fake.app', OK_CHANNEL: '' },
encoding: 'utf8',
});
expect(result.status).toBe(69);
@@ -29,6 +29,22 @@ describe('ok.sh wrapper', () => {
});
});
+ test.each([
+ ['OK_CHANNEL=beta', WRAPPER, 'beta'],
+ ['an ok-beta link', 'ok-beta', ''],
+ ])('Beta (%s) names ok-beta init in the hint', (_label, entry, channel) => {
+ const target = entry === WRAPPER ? entry : join(makeTempDir('ok-wrapper-beta-'), entry);
+ if (target !== WRAPPER) symlinkSync(WRAPPER, target);
+ const result = spawnSync(target, [], {
+ env: { ...process.env, APP_BUNDLE_DIR: '/nonexistent/fake.app', OK_CHANNEL: channel },
+ encoding: 'utf8',
+ });
+ expect(result.status).toBe(69);
+ expect(JSON.parse(result.stderr.trimEnd().split('\n')[1] ?? '').hint).toBe(
+ 'OpenKnowledge app appears to have been removed. Reinstall from the DMG, or remove OK entries from your MCP config and rerun ok-beta init.',
+ );
+ });
+
test('missing Electron binary but present CLI also diagnoses missing-bundle', async () => {
const { mkdirSync, writeFileSync } = await import('node:fs');
const fixture = makeTempDir('ok-wrapper-');
@@ -87,13 +103,34 @@ describe('ok-linux.sh wrapper', () => {
});
test('missing install emits two-line stderr and exits 69', () => {
- const result = spawnSync(LINUX_WRAPPER, [], { encoding: 'utf8' });
+ const result = spawnSync(LINUX_WRAPPER, [], {
+ env: { ...process.env, OK_CHANNEL: '' },
+ encoding: 'utf8',
+ });
expect(result.status).toBe(69);
const lines = result.stderr.trimEnd().split('\n');
expect(lines).toHaveLength(2);
expect(lines[0]).toBe('OpenKnowledge has been removed. Reinstall the OpenKnowledge package.');
- const parsed = JSON.parse(lines[1] ?? '');
- expect(parsed.error).toBe('ok-bundle-missing');
+ expect(JSON.parse(lines[1] ?? '')).toEqual({
+ error: 'ok-bundle-missing',
+ hint: 'OpenKnowledge app appears to have been removed. Reinstall it, or remove OK entries from your MCP config and rerun ok init.',
+ });
+ });
+
+ test.each([
+ ['OK_CHANNEL=beta', LINUX_WRAPPER, 'beta'],
+ ['an ok-beta link', 'ok-beta', ''],
+ ])('Beta (%s) names ok-beta init in the hint', (_label, entry, channel) => {
+ const target = entry === LINUX_WRAPPER ? entry : join(makeTempDir('ok-linux-beta-'), entry);
+ if (target !== LINUX_WRAPPER) symlinkSync(LINUX_WRAPPER, target);
+ const result = spawnSync(target, [], {
+ env: { ...process.env, OK_CHANNEL: channel },
+ encoding: 'utf8',
+ });
+ expect(result.status).toBe(69);
+ expect(JSON.parse(result.stderr.trimEnd().split('\n')[1] ?? '').hint).toBe(
+ 'OpenKnowledge app appears to have been removed. Reinstall it, or remove OK entries from your MCP config and rerun ok-beta init.',
+ );
});
test('NODE_OPTIONS is rescoped to OK_NODE_OPTIONS before exec (quoted)', () => {
diff --git a/packages/server/assets/skills/discovery/SKILL.md b/packages/server/assets/skills/discovery/SKILL.md
index 1bf62d8b7..d0bfa20c8 100644
--- a/packages/server/assets/skills/discovery/SKILL.md
+++ b/packages/server/assets/skills/discovery/SKILL.md
@@ -21,6 +21,10 @@ linking rules, the MCP routing table) — that ships separately as the
project-local skill installed by `ok init` (see *Working inside a project*
below).
+> **CLI name.** Commands below use Stable's `ok` (`open-knowledge`). OpenKnowledge
+> Beta's terminal commands are `ok-beta` (`open-knowledge-beta`), with `~/.ok-beta/`
+> in place of `~/.ok/`.
+
## Install OpenKnowledge on a repository
Run `ok init` from the repository root:
diff --git a/packages/server/assets/skills/packs/codebase-wiki/SKILL.md b/packages/server/assets/skills/packs/codebase-wiki/SKILL.md
index 8890bebfe..8144fe59f 100644
--- a/packages/server/assets/skills/packs/codebase-wiki/SKILL.md
+++ b/packages/server/assets/skills/packs/codebase-wiki/SKILL.md
@@ -1,7 +1,7 @@
---
name: codebase-wiki
description: "How to work in a Codebase Wiki project (the `codebase-wiki` starter pack): an agent-authored, source-grounded wiki of the surrounding codebase. Read when the project has a `wiki/` knowledge base with `architecture/`, `modules/`, `flows/`, `concepts/`, and `guides/` sections plus `wiki/OVERVIEW.md`, or when asked to generate or refresh a wiki of this codebase. Carries the per-folder rules and freshness + log discipline, summarizes the audience/depth knobs and source-reference convention, and bundles the full generate/refresh procedure in `references/`. Complements the platform `open-knowledge` skill; does not replace it."
-compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack codebase-wiki`."
+compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack codebase-wiki` (`ok-beta` for Beta)."
metadata:
pack: "codebase-wiki"
author: "Inkeep"
diff --git a/packages/server/assets/skills/packs/codebase-wiki/references/generate-and-refresh.md b/packages/server/assets/skills/packs/codebase-wiki/references/generate-and-refresh.md
index 269599eff..99c09e810 100644
--- a/packages/server/assets/skills/packs/codebase-wiki/references/generate-and-refresh.md
+++ b/packages/server/assets/skills/packs/codebase-wiki/references/generate-and-refresh.md
@@ -6,9 +6,9 @@ The content directory is the resolved `content.dir` — read it with `config({ k
**Two toolsets, two jobs.** Read source code with your NATIVE tools (`Read`/`Grep`/`Glob`/`Bash` — OK MCP does not index non-markdown source). Author and audit the wiki with OK MCP verbs (`write`/`edit` for pages, `links`/`search` for the graph, `exec` for markdown listings). Never hand-write the wiki markdown with native `Write`/`Edit` — that bypasses attribution, backlinks, and the live preview.
-**Server requirement.** Phases that author or audit the wiki (`write`/`edit`/`links`/`search`) need the OK Hocuspocus server. Source reading (native tools) and git do not. If a `write` returns "Hocuspocus server is not running", tell the user to run `ok start` and retry — do NOT fall back to native file writes for the wiki markdown.
+**Server requirement.** Phases that author or audit the wiki (`write`/`edit`/`links`/`search`) need the OK Hocuspocus server. Source reading (native tools) and git do not. If a `write` returns "Hocuspocus server is not running", tell the user to run `ok start` (`ok-beta start` for Beta) and retry — do NOT fall back to native file writes for the wiki markdown.
-**Prerequisite.** This procedure assumes the `codebase-wiki` pack is seeded (`ok seed --pack codebase-wiki` → `wiki/` with `architecture/ modules/ flows/ concepts/ guides/`, each carrying folder frontmatter + a page template, plus `wiki/OVERVIEW.md` + `wiki/log.md`). If `exec("ls -A <content-dir>/wiki")` shows the layout is missing, tell the user to seed first, then start over.
+**Prerequisite.** This procedure assumes the `codebase-wiki` pack is seeded (`ok seed --pack codebase-wiki`, or `ok-beta` for Beta, → `wiki/` with `architecture/ modules/ flows/ concepts/ guides/`, each carrying folder frontmatter + a page template, plus `wiki/OVERVIEW.md` + `wiki/log.md`). If `exec("ls -A <content-dir>/wiki")` shows the layout is missing, tell the user to seed first, then start over.
---
@@ -154,7 +154,7 @@ Incremental by default — don't re-read the whole repo.
## Exit conditions
-- **Pack not seeded** — `wiki/` layout missing → tell the user to run `ok seed --pack codebase-wiki`, then start over. Exit.
-- **Server down** — a `write`/`links` call reports the server is not running → tell the user to run `ok start` and retry. Exit cleanly; resuming keeps already-written pages.
+- **Pack not seeded** — `wiki/` layout missing → tell the user to run `ok seed --pack codebase-wiki` (`ok-beta` for Beta), then start over. Exit.
+- **Server down** — a `write`/`links` call reports the server is not running → tell the user to run `ok start` (`ok-beta start` for Beta) and retry. Exit cleanly; resuming keeps already-written pages.
- **User aborts at a STOP gate** → exit cleanly, leaving any already-written pages in place.
- **Empty / unreadable repo** (no source detected in Phase 1) → tell the user there's nothing to document yet. Exit.
diff --git a/packages/server/assets/skills/packs/entity-vault/SKILL.md b/packages/server/assets/skills/packs/entity-vault/SKILL.md
index b27737820..d4698dd7d 100644
--- a/packages/server/assets/skills/packs/entity-vault/SKILL.md
+++ b/packages/server/assets/skills/packs/entity-vault/SKILL.md
@@ -1,7 +1,7 @@
---
name: personal-crm
description: "How to work in a Personal CRM project (the `entity-vault` starter pack, GBrain-compatible): a typed-entity vault of people, companies, meetings, and concepts, each a dossier with a rewritable summary plus an append-only timeline. Read when the project has these folders, OR when asked to capture notes about a person or company, log a meeting, prep for an upcoming meeting, or answer who someone is and what was last said. Carries the dossier convention and entity-extraction behaviors so that guidance does not live inside template bodies or folder descriptions. Complements the platform `open-knowledge` skill; does not replace it."
-compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack entity-vault`."
+compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack entity-vault` (`ok-beta` for Beta)."
metadata:
pack: "entity-vault"
author: "Inkeep"
diff --git a/packages/server/assets/skills/packs/knowledge-base/SKILL.md b/packages/server/assets/skills/packs/knowledge-base/SKILL.md
index 8dcad5b2f..7e8257ebc 100644
--- a/packages/server/assets/skills/packs/knowledge-base/SKILL.md
+++ b/packages/server/assets/skills/packs/knowledge-base/SKILL.md
@@ -1,7 +1,7 @@
---
name: knowledge-base
description: "How to work in a Knowledge Base project (the `knowledge-base` starter pack). Read when the project has the three-layer source-grounded layout — `external-sources/` → `research/` → `articles/` — or when asked how this project is organized. Carries the layer model, per-folder rules, status flows, and log discipline so this guidance does NOT live inside template bodies or log.md. The three procedures live elsewhere: ingest in the platform `open-knowledge` skill, research and consolidate as their own sibling skills in this pack. Complements the platform `open-knowledge` skill; does not replace it."
-compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack knowledge-base`."
+compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack knowledge-base` (`ok-beta` for Beta)."
type: Document
metadata:
pack: "knowledge-base"
diff --git a/packages/server/assets/skills/packs/knowledge-base/consolidate/SKILL.md b/packages/server/assets/skills/packs/knowledge-base/consolidate/SKILL.md
index 955f559b7..87f81111c 100644
--- a/packages/server/assets/skills/packs/knowledge-base/consolidate/SKILL.md
+++ b/packages/server/assets/skills/packs/knowledge-base/consolidate/SKILL.md
@@ -1,7 +1,7 @@
---
name: consolidate-notes
description: "Promote existing research into a stable-status canonical article under `articles/` in a Knowledge Base project (the `knowledge-base` starter pack). Read when a decision has actually been made and the team wants the source-of-truth written down, or when asked to consolidate, canonicalize, promote research, or supersede an older article. Carries the decision-confirmation gate, the `supersedes:` chain that keeps the evidence trail intact, and the canonical voice. Does not conduct new research — that is the sibling `research-with-sources` skill."
-compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack knowledge-base`."
+compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack knowledge-base` (`ok-beta` for Beta)."
type: Document
metadata:
pack: "knowledge-base"
diff --git a/packages/server/assets/skills/packs/knowledge-base/research/SKILL.md b/packages/server/assets/skills/packs/knowledge-base/research/SKILL.md
index 749015820..b384a95bb 100644
--- a/packages/server/assets/skills/packs/knowledge-base/research/SKILL.md
+++ b/packages/server/assets/skills/packs/knowledge-base/research/SKILL.md
@@ -1,7 +1,7 @@
---
name: research-with-sources
description: "Investigate a topic against preserved sources and write a draft-status research article under `research/` in a Knowledge Base project (the `knowledge-base` starter pack). Read when asked to research a topic, compare options, synthesize sources, gather evidence, or extend an existing research doc. Carries the full procedure: scan existing coverage, agree a research rubric, capture every source verbatim before analyzing, write the article incrementally so a crash never loses work, cite every claim, and link it back into the graph. Does not promote findings to canonical knowledge — that is the sibling `consolidate-notes` skill, after a decision lands."
-compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack knowledge-base`."
+compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack knowledge-base` (`ok-beta` for Beta)."
type: Document
metadata:
pack: "knowledge-base"
diff --git a/packages/server/assets/skills/packs/plain-notes/SKILL.md b/packages/server/assets/skills/packs/plain-notes/SKILL.md
index c3b0d36ad..3d8d79635 100644
--- a/packages/server/assets/skills/packs/plain-notes/SKILL.md
+++ b/packages/server/assets/skills/packs/plain-notes/SKILL.md
@@ -1,7 +1,7 @@
---
name: note-taking
description: "How to work in a Plain Notes project (the `plain-notes` starter pack): a flat notes/ folder plus a daily/ journal. The 'I just want to write' layout. Read when the project has these folders, OR when asked to jot a note, capture a quick thought, or write today's journal entry. Carries the linking habit and daily-entry behavior so templates and folder descriptions stay minimal. Complements the platform `open-knowledge` skill; does not replace it."
-compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack plain-notes`."
+compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack plain-notes` (`ok-beta` for Beta)."
metadata:
pack: "plain-notes"
author: "Inkeep"
diff --git a/packages/server/assets/skills/packs/software-lifecycle/SKILL.md b/packages/server/assets/skills/packs/software-lifecycle/SKILL.md
index 6beca19a7..5e1c787d2 100644
--- a/packages/server/assets/skills/packs/software-lifecycle/SKILL.md
+++ b/packages/server/assets/skills/packs/software-lifecycle/SKILL.md
@@ -1,7 +1,7 @@
---
name: software-lifecycle
description: "How to work in a Software Lifecycle project (the `software-lifecycle` starter pack): proposals → decisions → specs → postmortems, plus guides. Read when the project has these folders, or when asked how this project is organized. Carries the doc lifecycle, status flows, and per-folder agent behaviors so that guidance does not live inside template bodies or folder descriptions. The five workflows — frame a proposal, write a spec, record a decision, write a postmortem, review a design — each ship as their own sibling skill in this pack. Complements the platform `open-knowledge` skill; does not replace it."
-compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack software-lifecycle`."
+compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack software-lifecycle` (`ok-beta` for Beta)."
metadata:
pack: "software-lifecycle"
author: "Inkeep"
diff --git a/packages/server/assets/skills/packs/software-lifecycle/frame-a-proposal/SKILL.md b/packages/server/assets/skills/packs/software-lifecycle/frame-a-proposal/SKILL.md
index 3640cd495..a3c246bcc 100644
--- a/packages/server/assets/skills/packs/software-lifecycle/frame-a-proposal/SKILL.md
+++ b/packages/server/assets/skills/packs/software-lifecycle/frame-a-proposal/SKILL.md
@@ -1,7 +1,7 @@
---
name: frame-a-proposal
description: "Frame a new design proposal (RFC-shape) under proposals/ — problem before solution, named beneficiary and observable change, real alternatives, honest drawbacks, and a live open-questions backlog. Read when asked to frame a proposal, write an RFC, propose a design, pitch a change, draft a PRD-style design doc, or open a design proposal for review. Do NOT read to record a decision after it is accepted (use record-a-decision), to write an implementation spec (use write-a-spec), to write a postmortem (use write-a-postmortem), or to review or critique an existing design (use review-a-design)."
-compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack software-lifecycle`."
+compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack software-lifecycle` (`ok-beta` for Beta)."
metadata:
pack: "software-lifecycle"
author: "Inkeep"
diff --git a/packages/server/assets/skills/packs/software-lifecycle/record-a-decision/SKILL.md b/packages/server/assets/skills/packs/software-lifecycle/record-a-decision/SKILL.md
index b3dc6943d..829fca1a9 100644
--- a/packages/server/assets/skills/packs/software-lifecycle/record-a-decision/SKILL.md
+++ b/packages/server/assets/skills/packs/software-lifecycle/record-a-decision/SKILL.md
@@ -1,7 +1,7 @@
---
name: record-a-decision
description: "Records an architecture decision as a Nygard/MADR-shaped ADR under decisions/ — capturing the context that forced the choice, the options weighed, the decision itself, and its consequences in both directions, plus the supersedes chain that keeps a decision log honest. Read when asked to record an architecture decision, write an ADR, log the decision we made, document why we chose X over Y, capture this decision for the record, or supersede an old decision with a new one. Do NOT read to frame a proposal or explore an idea not yet decided (frame-a-proposal), to write a spec or implementation plan (write-a-spec), to write an incident postmortem (write-a-postmortem), or to judge whether a design is sound (review-a-design). This skill records a decision already made; it does not make one."
-compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack software-lifecycle`."
+compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack software-lifecycle` (`ok-beta` for Beta)."
metadata:
pack: "software-lifecycle"
author: "Inkeep"
diff --git a/packages/server/assets/skills/packs/software-lifecycle/review-a-design/SKILL.md b/packages/server/assets/skills/packs/software-lifecycle/review-a-design/SKILL.md
index eef0e6c14..d85973a67 100644
--- a/packages/server/assets/skills/packs/software-lifecycle/review-a-design/SKILL.md
+++ b/packages/server/assets/skills/packs/software-lifecycle/review-a-design/SKILL.md
@@ -1,7 +1,7 @@
---
name: review-a-design
description: "Reviews whether a design is SOUND — solving the right problem, derived from its stated goals and constraints — and emits ranked, evidence-backed findings, not edits. Read when asked to 'review this design', 'is this design sound', 'pressure-test this proposal', 'do a design review', 'does this solve the right problem', 'poke holes in this spec', 'should we build this', or to critique a proposal / spec / ADR / architecture or product decision. Do NOT read when the user wants to AUTHOR one of these — routing a new proposal is frame-a-proposal, a spec is write-a-spec, a decision record is record-a-decision, a postmortem is write-a-postmortem. Do NOT read for code review of a diff, or to fact-check individual claims (that is a correctness pass, a different job)."
-compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack software-lifecycle`."
+compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack software-lifecycle` (`ok-beta` for Beta)."
metadata:
pack: "software-lifecycle"
author: "Inkeep"
diff --git a/packages/server/assets/skills/packs/software-lifecycle/write-a-postmortem/SKILL.md b/packages/server/assets/skills/packs/software-lifecycle/write-a-postmortem/SKILL.md
index 8af6d570b..bb69f41ff 100644
--- a/packages/server/assets/skills/packs/software-lifecycle/write-a-postmortem/SKILL.md
+++ b/packages/server/assets/skills/packs/software-lifecycle/write-a-postmortem/SKILL.md
@@ -1,7 +1,7 @@
---
name: write-a-postmortem
description: "Write a blameless incident postmortem under postmortems/ following the Google SRE shape — evidence-based timeline, trigger vs root cause vs symptom, contributing factors, what went well, and owned+dated+verifiable action items. Read when asked to write a postmortem, do an incident review, run a root cause analysis, write up the outage, retro on the outage, or when the user says we had an incident and wants it documented. Do NOT read to frame a proposal (use frame-a-proposal), write a spec (use write-a-spec), record a decision (use record-a-decision), or review a design (use review-a-design) — a postmortem documents an incident that already happened, it does not propose, specify, decide, or critique future work."
-compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack software-lifecycle`."
+compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack software-lifecycle` (`ok-beta` for Beta)."
metadata:
pack: "software-lifecycle"
author: "Inkeep"
diff --git a/packages/server/assets/skills/packs/software-lifecycle/write-a-spec/SKILL.md b/packages/server/assets/skills/packs/software-lifecycle/write-a-spec/SKILL.md
index 3d89e8f10..e7d1be212 100644
--- a/packages/server/assets/skills/packs/software-lifecycle/write-a-spec/SKILL.md
+++ b/packages/server/assets/skills/packs/software-lifecycle/write-a-spec/SKILL.md
@@ -1,7 +1,7 @@
---
name: write-a-spec
description: "Scope a feature end to end and write an implementation spec under specs/ from an accepted proposal — current-system mapping, goals/non-goals, a Decision Log for one-way-door choices, a live Open Questions backlog, and a real migration + test plan. Read when asked to write a spec, scope this feature, turn this proposal into a spec, plan the implementation, or break this into tasks. Do NOT fire on frame a proposal or write the PRD (sibling frame-a-proposal — a PRD frames a change before it is accepted; this skill starts once one is), record a decision or write the ADR (record-a-decision), write a postmortem (write-a-postmortem), or review this design (review-a-design) — those are separate skills. Complements the platform open-knowledge skill; does not replace it."
-compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack software-lifecycle`."
+compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack software-lifecycle` (`ok-beta` for Beta)."
metadata:
pack: "software-lifecycle"
author: "Inkeep"
diff --git a/packages/server/assets/skills/packs/worldbuilding/SKILL.md b/packages/server/assets/skills/packs/worldbuilding/SKILL.md
index 932ed7bf7..9ca3145eb 100644
--- a/packages/server/assets/skills/packs/worldbuilding/SKILL.md
+++ b/packages/server/assets/skills/packs/worldbuilding/SKILL.md
@@ -1,7 +1,7 @@
---
name: worldbuilding
description: "How to work in a Worldbuilding project (the `worldbuilding` starter pack): a fiction encyclopedia of characters, settings, themes, factions, and lore. Read when the project has these folders, OR when asked to add a character, setting, faction, or piece of lore, or to check the world for internal consistency. Carries the auto-stub and consistency behaviors so that guidance does not live inside template bodies or folder descriptions. Complements the platform `open-knowledge` skill; does not replace it."
-compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack worldbuilding`."
+compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack worldbuilding` (`ok-beta` for Beta)."
metadata:
pack: "worldbuilding"
author: "Inkeep"
diff --git a/packages/server/assets/skills/packs/writing-pipeline/SKILL.md b/packages/server/assets/skills/packs/writing-pipeline/SKILL.md
index 195d84c18..59a601cf2 100644
--- a/packages/server/assets/skills/packs/writing-pipeline/SKILL.md
+++ b/packages/server/assets/skills/packs/writing-pipeline/SKILL.md
@@ -1,7 +1,7 @@
---
name: writing-workflow
description: "How to work in a Writing Pipeline project (the `writing-pipeline` starter pack): a three-stage drafting flow, ideas → drafts → published. Read when the project has these folders, OR when asked to capture an idea, start or revise a draft, review a piece before it ships, or publish it. Carries the stage flow and review behaviors so that guidance does not live inside template bodies or folder descriptions. Complements the platform `open-knowledge` skill; does not replace it."
-compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack writing-pipeline`."
+compatibility: "Any agent host with the OpenKnowledge MCP server configured. Installed project-local by `ok seed --pack writing-pipeline` (`ok-beta` for Beta)."
metadata:
pack: "writing-pipeline"
author: "Inkeep"
diff --git a/packages/server/assets/skills/project/SKILL.md b/packages/server/assets/skills/project/SKILL.md
index 6ae57b0c8..9f0a5380c 100644
--- a/packages/server/assets/skills/project/SKILL.md
+++ b/packages/server/assets/skills/project/SKILL.md
@@ -12,6 +12,8 @@ OpenKnowledge (OK) is a markdown-CRDT collaboration platform exposed via MCP. Th
> Skill version tracks `@inkeep/open-knowledge-server`. `cat ~/.ok/skill-state.yml` shows what's installed. `ok seed` needs `@inkeep/open-knowledge` >= 0.4.0; if it errors `unknown command`, `npm install -g @inkeep/open-knowledge`.
+> **CLI name.** Commands here use Stable's `ok` (`open-knowledge`) and `~/.ok/`. With OpenKnowledge Beta, use `ok-beta` (`open-knowledge-beta`) and `~/.ok-beta/` instead; `preview_url`'s `okOpenCommand` already names the right one.
+
> **Setup (not connected yet?).** If the `mcp__open-knowledge*` tools aren't available in your client, this project isn't wired up on this machine — see [`references/setup.md`](references/setup.md) for the rung ladder (approve `.mcp.json` → `ok start` CLI → optional desktop app) and the canonical quickstart.
## TL;DR — the 90% case
diff --git a/packages/server/assets/skills/write-skill/SKILL.md b/packages/server/assets/skills/write-skill/SKILL.md
index 88857685a..57f3e7e5e 100644
--- a/packages/server/assets/skills/write-skill/SKILL.md
+++ b/packages/server/assets/skills/write-skill/SKILL.md
@@ -1,7 +1,7 @@
---
name: open-knowledge-write-skill
description: "Use when the user wants to create, author, write, or design a new Agent Skill (a SKILL.md) — for OpenKnowledge or for their editors — including requests like 'help me write a skill', 'make a skill that…', 'turn this workflow into a skill', or improving an existing skill's triggering and discipline. Also use when capturing reusable agent guidance that should live as an installable skill rather than a one-off prompt. Covers choosing scope (project vs global), authoring inside a plugin or skills-distribution repo (write in the repo's own layout, never install), the SKILL.md frontmatter contract, progressive-disclosure structure, evaluating the skill, and installing it into the user's editors."
-compatibility: "OpenKnowledge project recommended (uses the `write` / `edit` / `install` MCP verbs). Authoring + validation are pure file ops; live preview + eval want a running server (`ok start`)."
+compatibility: "OpenKnowledge project recommended (uses the `write` / `edit` / `install` MCP verbs). Authoring + validation are pure file ops; live preview + eval want a running server (`ok start`, or `ok-beta start` for Beta)."
metadata:
author: "Inkeep"
repository: "https://github.com/inkeep/open-knowledge-skills"
diff --git a/packages/server/package.json b/packages/server/package.json
index 355d8f179..86c9cbc53 100644
--- a/packages/server/package.json
+++ b/packages/server/package.json
@@ -88,6 +88,7 @@
"@types/ws": "^8.18.1",
"@types/yauzl": "^2.10.3",
"@types/yazl": "^2.4.6",
+ "js-yaml": "~4.3.1",
"lib0": "^0.2.117",
"ts-morph": "^28.0.0",
"tsdown": "^0.22.14",
diff --git a/packages/server/src/document-durability-state.test.ts b/packages/server/src/document-durability-state.test.ts
index f06982fb4..ccd41f2cf 100644
--- a/packages/server/src/document-durability-state.test.ts
+++ b/packages/server/src/document-durability-state.test.ts
@@ -1453,3 +1453,27 @@ describe('store publish generation primitives', () => {
expect(state.getRefusedStoreDocNames()).toEqual(['sibling']);
});
});
+
+describe('DocumentDurabilityStateError names the running channel CLI', () => {
+ test('Stable keeps its exact message', () => {
+ vi.stubEnv('OK_CHANNEL', 'stable');
+ try {
+ expect(new DocumentDurabilityStateError('/p/state.json', 'corrupt').message).toBe(
+ 'Cannot safely open this project: its stale-write recovery snapshot is corrupt (/p/state.json). The snapshot has been preserved because it may contain the only copy of protected edits. Restore this snapshot from a known-good backup, or contact support to recover its protected edits. Run ok bug-report from the project directory to collect diagnostics without starting the server. Do not delete it to bypass recovery.',
+ );
+ } finally {
+ vi.unstubAllEnvs();
+ }
+ });
+
+ test('Beta names ok-beta bug-report', () => {
+ vi.stubEnv('OK_CHANNEL', 'beta');
+ try {
+ expect(new DocumentDurabilityStateError('/p/state.json', 'corrupt').message).toContain(
+ 'Run ok-beta bug-report from the project directory',
+ );
+ } finally {
+ vi.unstubAllEnvs();
+ }
+ });
+});
diff --git a/packages/server/src/document-durability-state.ts b/packages/server/src/document-durability-state.ts
index b767b5449..b528d448f 100644
--- a/packages/server/src/document-durability-state.ts
+++ b/packages/server/src/document-durability-state.ts
@@ -1,6 +1,7 @@
import { AsyncLocalStorage } from 'node:async_hooks';
import { existsSync, readFileSync } from 'node:fs';
import { dirname } from 'node:path';
+import { currentCliCommandName } from '@inkeep/open-knowledge-core';
import { atomicTempPath } from '@inkeep/open-knowledge-core/server';
import {
tracedMkdirSync,
@@ -190,7 +191,7 @@ export class DocumentDurabilityStateError extends Error {
? 'This build does not support the snapshot schema. Preserve the file and restore a compatible backup or contact support to identify a compatible build.'
: 'Restore this snapshot from a known-good backup, or contact support to recover its protected edits.';
super(
- `Cannot safely open this project: its stale-write recovery snapshot is ${kind}${code ? ` [${code}]` : ''} (${path}). The snapshot has been preserved because it may contain the only copy of protected edits. ${recovery} Run ok bug-report from the project directory to collect diagnostics without starting the server. Do not delete it to bypass recovery.`,
+ `Cannot safely open this project: its stale-write recovery snapshot is ${kind}${code ? ` [${code}]` : ''} (${path}). The snapshot has been preserved because it may contain the only copy of protected edits. ${recovery} Run ${currentCliCommandName()} bug-report from the project directory to collect diagnostics without starting the server. Do not delete it to bypass recovery.`,
{ cause },
);
this.name = 'DocumentDurabilityStateError';
diff --git a/packages/server/src/git-preflight.test.ts b/packages/server/src/git-preflight.test.ts
index 28c4fe23b..2ad52b30d 100644
--- a/packages/server/src/git-preflight.test.ts
+++ b/packages/server/src/git-preflight.test.ts
@@ -1,7 +1,7 @@
import { mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
import { tmpdir } from 'node:os';
import { delimiter, join, relative } from 'node:path';
-import { describe, expect, test } from 'vitest';
+import { afterEach, describe, expect, test, vi } from 'vitest';
import {
assertGitAvailable,
buildGuidance,
@@ -454,3 +454,36 @@ VERSION_ID="12"`,
expect(detectLinuxFamily(contents)).toBe('debian');
});
});
+
+describe('git remediation names the running channel CLI', () => {
+ afterEach(() => vi.unstubAllEnvs());
+
+ const verify = (command: string) =>
+ `Run \`${command} diagnose health --check git\` to verify your installation.`;
+
+ test('Stable keeps the ok diagnose line on both errors', () => {
+ vi.stubEnv('OK_CHANNEL', 'stable');
+ const guidance = buildGuidance('darwin');
+ expect(new GitNotAvailableError('darwin', guidance).message.split('\n')).toContain(
+ verify('ok'),
+ );
+ expect(
+ new GitTooOldError('darwin', '2.10.0', '2.31.0', '/usr/bin/git', guidance).message.split(
+ '\n',
+ ),
+ ).toContain(verify('ok'));
+ });
+
+ test('Beta names ok-beta diagnose on both errors', () => {
+ vi.stubEnv('OK_CHANNEL', 'beta');
+ const guidance = buildGuidance('darwin');
+ expect(new GitNotAvailableError('darwin', guidance).message.split('\n')).toContain(
+ verify('ok-beta'),
+ );
+ expect(
+ new GitTooOldError('darwin', '2.10.0', '2.31.0', '/usr/bin/git', guidance).message.split(
+ '\n',
+ ),
+ ).toContain(verify('ok-beta'));
+ });
+});
diff --git a/packages/server/src/git-preflight.ts b/packages/server/src/git-preflight.ts
index e4e41aaf5..617979043 100644
--- a/packages/server/src/git-preflight.ts
+++ b/packages/server/src/git-preflight.ts
@@ -2,6 +2,7 @@ import { type SpawnSyncOptions, spawnSync } from 'node:child_process';
import { accessSync, existsSync, constants as fsConstants, readFileSync, statSync } from 'node:fs';
import { homedir } from 'node:os';
import { isAbsolute, join, delimiter as PATH_DELIM } from 'node:path';
+import { currentCliCommandName } from '@inkeep/open-knowledge-core';
import { withHiddenWindowsConsole } from './child-process-windows-hide.ts';
export const MIN_GIT_VERSION = '2.31.0';
@@ -395,7 +396,9 @@ function buildMissingMessage(g: InstallGuidance): string {
lines.push(`Or download from: ${g.url}`);
lines.push('');
lines.push('After installing, re-run OpenKnowledge.');
- lines.push('Run `ok diagnose health --check git` to verify your installation.');
+ lines.push(
+ `Run \`${currentCliCommandName()} diagnose health --check git\` to verify your installation.`,
+ );
return lines.join('\n');
}
@@ -422,7 +425,9 @@ function buildTooOldMessage(
lines.push(`Or download from: ${g.url}`);
lines.push('');
lines.push('After updating, re-run OpenKnowledge.');
- lines.push('Run `ok diagnose health --check git` to verify your installation.');
+ lines.push(
+ `Run \`${currentCliCommandName()} diagnose health --check git\` to verify your installation.`,
+ );
return lines.join('\n');
}
diff --git a/packages/server/src/home-project-root.test.ts b/packages/server/src/home-project-root.test.ts
index 76f25b597..0d56cdcd2 100644
--- a/packages/server/src/home-project-root.test.ts
+++ b/packages/server/src/home-project-root.test.ts
@@ -131,3 +131,30 @@ describe('scaffold writers refuse $HOME', () => {
expect(result.created).toContain('config.yml');
});
});
+
+describe('the remediation names the running channel CLI', () => {
+ test('Stable keeps its exact ok init lines', () => {
+ vi.stubEnv('OK_CHANNEL', 'stable');
+ expect(new HomeProjectRootError('/Users/x').message).toBe(
+ `Refusing to set up an OpenKnowledge project in your home directory (/Users/x).\n` +
+ ` A project here would run 'git init' in your home directory and write project config\n` +
+ ` and skills into your editors' user-global directories (~/.cursor, ~/.codex, ~/.claude).\n` +
+ ` Make a folder for this project, then run 'ok init' inside it.`,
+ );
+ expect(new FilesystemRootProjectError('/').message).toBe(
+ `Refusing to set up an OpenKnowledge project at the top of a drive (/).\n` +
+ ` A project here would scan every file on the drive and run 'git init' at its root.\n` +
+ ` Make a folder for this project, then run 'ok init' inside it.`,
+ );
+ });
+
+ test('Beta names ok-beta init', () => {
+ vi.stubEnv('OK_CHANNEL', 'beta');
+ expect(new HomeProjectRootError('/Users/x').message).toContain(
+ "then run 'ok-beta init' inside it.",
+ );
+ expect(new FilesystemRootProjectError('/').message).toContain(
+ "then run 'ok-beta init' inside it.",
+ );
+ });
+});
diff --git a/packages/server/src/home-project-root.ts b/packages/server/src/home-project-root.ts
index b10f419d1..73dfb84e9 100644
--- a/packages/server/src/home-project-root.ts
+++ b/packages/server/src/home-project-root.ts
@@ -1,6 +1,7 @@
import { realpathSync } from 'node:fs';
import { homedir as nodeHomedir } from 'node:os';
import { posix, resolve, win32 } from 'node:path';
+import { currentCliCommandName } from '@inkeep/open-knowledge-core';
export class HomeProjectRootError extends Error {
readonly projectRoot: string;
@@ -10,7 +11,7 @@ export class HomeProjectRootError extends Error {
`Refusing to set up an OpenKnowledge project in your home directory (${projectRoot}).\n` +
` A project here would run 'git init' in your home directory and write project config\n` +
` and skills into your editors' user-global directories (~/.cursor, ~/.codex, ~/.claude).\n` +
- ` Make a folder for this project, then run 'ok init' inside it.`,
+ ` Make a folder for this project, then run '${currentCliCommandName()} init' inside it.`,
);
this.name = 'HomeProjectRootError';
this.projectRoot = projectRoot;
@@ -24,7 +25,7 @@ export class FilesystemRootProjectError extends Error {
super(
`Refusing to set up an OpenKnowledge project at the top of a drive (${projectRoot}).\n` +
` A project here would scan every file on the drive and run 'git init' at its root.\n` +
- ` Make a folder for this project, then run 'ok init' inside it.`,
+ ` Make a folder for this project, then run '${currentCliCommandName()} init' inside it.`,
);
this.name = 'FilesystemRootProjectError';
this.projectRoot = projectRoot;
diff --git a/packages/server/src/http/content-dispatch.test.ts b/packages/server/src/http/content-dispatch.test.ts
index 053805cc3..e4556a556 100644
--- a/packages/server/src/http/content-dispatch.test.ts
+++ b/packages/server/src/http/content-dispatch.test.ts
@@ -144,3 +144,33 @@ test('ephemeral peer refusal precedes Host admission and content execution', ()
expect(content).not.toHaveBeenCalled();
expect(shell).not.toHaveBeenCalled();
});
+
+describe('the no-web-UI hint names the running channel CLI', () => {
+ afterEach(() => vi.unstubAllEnvs());
+
+ const detailOf = (body: string): string => (JSON.parse(body) as { detail: string }).detail;
+
+ test('Stable keeps its exact ok start detail with and without a content middleware', async () => {
+ vi.stubEnv('OK_CHANNEL', 'stable');
+ const bare = await start();
+ expect(detailOf((await rawRequest(bare.port, '/unrecognized')).body)).toBe(
+ 'This server is running without the web UI. Restart it with plain `ok start` to serve the editor. No handler for /unrecognized',
+ );
+ const contentOnly = await start({ contentAssetMiddleware: (_req, _res, next) => next() });
+ expect(detailOf((await rawRequest(contentOnly.port, '/unrecognized')).body)).toBe(
+ 'This server is running without the web UI. Restart it with plain `ok start` to serve the editor. No handler for /unrecognized',
+ );
+ });
+
+ test('Beta names ok-beta start with and without a content middleware', async () => {
+ vi.stubEnv('OK_CHANNEL', 'beta');
+ const bare = await start();
+ expect(detailOf((await rawRequest(bare.port, '/unrecognized')).body)).toContain(
+ 'Restart it with plain `ok-beta start` to serve the editor.',
+ );
+ const contentOnly = await start({ contentAssetMiddleware: (_req, _res, next) => next() });
+ expect(detailOf((await rawRequest(contentOnly.port, '/unrecognized')).body)).toContain(
+ 'Restart it with plain `ok-beta start` to serve the editor.',
+ );
+ });
+});
diff --git a/packages/server/src/http/content-dispatch.ts b/packages/server/src/http/content-dispatch.ts
index 190427a2a..70a106ee9 100644
--- a/packages/server/src/http/content-dispatch.ts
+++ b/packages/server/src/http/content-dispatch.ts
@@ -1,4 +1,5 @@
import type { IncomingMessage, ServerResponse } from 'node:http';
+import { currentCliCommandName } from '@inkeep/open-knowledge-core';
import {
HOST_NOT_ADMITTED_REMEDIATION,
type IngressPolicy,
@@ -81,7 +82,7 @@ export function createContentDispatch({
if (res.writableEnded || res.headersSent) return;
const uiHint =
reactShellMiddleware === undefined
- ? 'This server is running without the web UI. Restart it with plain `ok start` to serve the editor. '
+ ? `This server is running without the web UI. Restart it with plain \`${currentCliCommandName()} start\` to serve the editor. `
: '';
errorResponse(res, 404, 'urn:ok:error:not-found', 'Not found.', {
handler: 'mcp-mount',
@@ -102,7 +103,7 @@ export function createContentDispatch({
}
errorResponse(res, 404, 'urn:ok:error:not-found', 'Not found.', {
handler: 'mcp-mount',
- detail: `This server is running without the web UI. Restart it with plain \`ok start\` to serve the editor. No handler for ${url ?? '/'}`,
+ detail: `This server is running without the web UI. Restart it with plain \`${currentCliCommandName()} start\` to serve the editor. No handler for ${url ?? '/'}`,
});
};
}
diff --git a/packages/server/src/mcp/tools/description-contract.uncached.test.ts b/packages/server/src/mcp/tools/description-contract.uncached.test.ts
index 8e9dd9b30..152bd9c28 100644
--- a/packages/server/src/mcp/tools/description-contract.uncached.test.ts
+++ b/packages/server/src/mcp/tools/description-contract.uncached.test.ts
@@ -156,6 +156,17 @@ test('share_link retains its path, kind, cwd and publishing preconditions', () =
expect(description('share_link')).toContain(pin);
});
+test('served descriptions name no single channel CLI command', () => {
+ const channelCommand =
+ /(^|[\s`'"(])(ok|ok-beta|open-knowledge|open-knowledge-beta) (open|ps|status|start|stop|init|lint|clean|seed|diagnose|auth|config|cowork|bug-report)\b/;
+ const offenders = tools
+ .filter((tool) => channelCommand.test(tool.description ?? ''))
+ .map((tool) => tool.name);
+ expect(offenders).toEqual([]);
+ expect(description('preview_url')).toContain("the OpenKnowledge CLI's open <doc>");
+ expect(description('lint')).toContain("the OpenKnowledge CLI's lint --fix");
+});
+
test('retired conflict tools are neither registered nor suggested as callable tools', () => {
expect(tools.map((tool) => tool.name)).not.toContain('conflicts');
expect(tools.map((tool) => tool.name)).not.toContain('resolve_conflict');
diff --git a/packages/server/src/mcp/tools/get-preview-url.ts b/packages/server/src/mcp/tools/get-preview-url.ts
index 3d566cc72..152f6111d 100644
--- a/packages/server/src/mcp/tools/get-preview-url.ts
+++ b/packages/server/src/mcp/tools/get-preview-url.ts
@@ -33,9 +33,9 @@ import {
} from './shared.ts';
const DESCRIPTION = [
- 'Get the full browser URL for this project or a document/folder/skill, or an absolute markdown file outside the project. Opening is demand: auto-starts OK under the normal OK_MCP_AUTOSTART gate and waits briefly for UI; cold calls can take seconds. Other tools return route-only previewUrl paths; use this tool for an openable URL, never guess ports or hunt via ok ps/status.',
+ "Get the full browser URL for this project or a document/folder/skill, or an absolute markdown file outside the project. Opening is demand: auto-starts OK under the normal OK_MCP_AUTOSTART gate and waits briefly for UI; cold calls can take seconds. Other tools return route-only previewUrl paths; use this tool for an openable URL, never guess ports or hunt via the OpenKnowledge CLI's ps/status.",
'Choose one: document (extension-less), folder (trailing-slash route), skill:{name,scope?} (project default), or file (absolute .md/.mdx in a loose-file/worktree session). file ignores cwd; other targets use current project. Omit targets for UI root.',
- 'When YOUR host opens URLs, navigate its embedded browser to url; Claude Code Desktop uses preview_start({url}) then navigate({url}). Only a stdio host without a browser tool should open the URL in the system browser. A CLI without a browser can use ok open <doc> for OK Desktop. This tool forces browser access even when Desktop is installed.',
+ "When YOUR host opens URLs, navigate its embedded browser to url; Claude Code Desktop uses preview_start({url}) then navigate({url}). Only a stdio host without a browser tool should open the URL in the system browser. A CLI without a browser can use the OpenKnowledge CLI's open <doc> for OK Desktop. This tool forces browser access even when Desktop is installed.",
"INSIDE OK's terminal/agent panel, use returned okOpenCommand instead; never paste url in the answer. If no UI is reachable, returns url:null, baseUrl:null, running:false, autoOpen plus state-specific recovery text (autostart disabled, no spawn authority or UI timeout). Follow it.",
].join('\n');
diff --git a/packages/server/src/mcp/tools/lint.ts b/packages/server/src/mcp/tools/lint.ts
index cde8f9625..3cdfaa93e 100644
--- a/packages/server/src/mcp/tools/lint.ts
+++ b/packages/server/src/mcp/tools/lint.ts
@@ -33,7 +33,7 @@ import {
} from './shared.ts';
export const DESCRIPTION = [
- 'Lint markdown and optionally auto-fix. Requires the Hocuspocus server. `document` selects one extension-less doc and overrides path. Otherwise scan all in-scope .md/.mdx; path narrows to file/folder. `fix: true` requires document and applies fixable rules through the live collaborative doc with attribution. Use edit/write for remaining findings; shell ok lint --fix is the unattributed headless/CI path.',
+ "Lint markdown and optionally auto-fix. Requires the Hocuspocus server. `document` selects one extension-less doc and overrides path. Otherwise scan all in-scope .md/.mdx; path narrows to file/folder. `fix: true` requires document and applies fixable rules through the live collaborative doc with attribution. Use edit/write for remaining findings; the OpenKnowledge CLI's lint --fix is the unattributed headless/CI path.",
'ran lists selected `markdownlint`, `frontmatter` and document-level `okf` families. A family absent from `ran` was not checked. Project-tree OKF checks and link validation run only through audit.',
'Findings carry source, code, message, 0-based LSP range and severity; only problematic files are listed. Counts reflect the full scan. Project output is capped at 10 files × 10 diagnostics each and project-wide at 10 warnings; omittedWarningCount reports dropped warnings. Narrow path reduces competing files; per-file caps still apply. Follow truncation recovery text.',
'Configure lint in Settings → Plugins and native .markdownlint.* rules.',
diff --git a/packages/server/src/seed/plan.test.ts b/packages/server/src/seed/plan.test.ts
index 82e59a20f..41b62a0fe 100644
--- a/packages/server/src/seed/plan.test.ts
+++ b/packages/server/src/seed/plan.test.ts
@@ -2,7 +2,7 @@ import { mkdirSync, symlinkSync, writeFileSync } from 'node:fs';
import { mkdtemp, rm } from 'node:fs/promises';
import { tmpdir } from 'node:os';
import { join } from 'node:path';
-import { afterEach, beforeEach, describe, expect, test } from 'vitest';
+import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
import { planSeed } from './plan.ts';
import { STARTER_PACKS } from './starter.ts';
import { SeedPrerequisiteError, SeedRootDirError } from './types.ts';
@@ -31,6 +31,23 @@ describe('planSeed — nested .ok/ era', () => {
}
});
+ test('the missing-config error names the running channel init command', async () => {
+ const bare = await mkdtemp(join(tmpdir(), 'seed-bare-'));
+ try {
+ vi.stubEnv('OK_CHANNEL', 'stable');
+ await expect(planSeed({ projectDir: bare })).rejects.toThrow(
+ 'Run `ok init` first to scaffold the tool config.',
+ );
+ vi.stubEnv('OK_CHANNEL', 'beta');
+ await expect(planSeed({ projectDir: bare })).rejects.toThrow(
+ 'Run `ok-beta init` first to scaffold the tool config.',
+ );
+ } finally {
+ vi.unstubAllEnvs();
+ await rm(bare, { recursive: true, force: true });
+ }
+ });
+
test('throws SeedPrerequisiteError when .ok/ exists but config.yml is absent', async () => {
const bare = await mkdtemp(join(tmpdir(), 'seed-sidecar-'));
try {
diff --git a/packages/server/src/seed/plan.ts b/packages/server/src/seed/plan.ts
index 5055f9be4..abbf23c91 100644
--- a/packages/server/src/seed/plan.ts
+++ b/packages/server/src/seed/plan.ts
@@ -1,6 +1,6 @@
import { existsSync } from 'node:fs';
import { join, resolve } from 'node:path';
-import { OK_PROJECT_MARKER } from '@inkeep/open-knowledge-core';
+import { currentCliCommandName, OK_PROJECT_MARKER } from '@inkeep/open-knowledge-core';
import { SKILLS_LOCK_REL } from '@inkeep/open-knowledge-core/skills-catalog';
import { isProjectRoot } from '../fs/find-project-root.ts';
import { scanInPlaceSkills } from '../in-place-skills.ts';
@@ -52,7 +52,7 @@ export async function planSeed(opts: SeedOptions = {}): Promise<ScaffoldPlan> {
if (!opts.skipPrerequisite && !isProjectRoot(projectDir)) {
throw new SeedPrerequisiteError(
- `No ${OK_PROJECT_MARKER} found at ${projectDir}. Run \`ok init\` first to scaffold the tool config.`,
+ `No ${OK_PROJECT_MARKER} found at ${projectDir}. Run \`${currentCliCommandName()} init\` first to scaffold the tool config.`,
);
}
diff --git a/packages/server/src/skill-frontmatter-strict-yaml.test.ts b/packages/server/src/skill-frontmatter-strict-yaml.test.ts
new file mode 100644
index 000000000..0005cbce8
--- /dev/null
+++ b/packages/server/src/skill-frontmatter-strict-yaml.test.ts
@@ -0,0 +1,44 @@
+import { readdirSync, readFileSync } from 'node:fs';
+import { join, relative } from 'node:path';
+import { load } from 'js-yaml';
+import { describe, expect, test } from 'vitest';
+
+const SKILLS_ROOT = join(import.meta.dirname, '../assets/skills');
+
+function shippedSkillFiles(directory: string): string[] {
+ return readdirSync(directory, { withFileTypes: true }).flatMap((entry) => {
+ const path = join(directory, entry.name);
+ if (entry.isDirectory()) return shippedSkillFiles(path);
+ return entry.name === 'SKILL.md' ? [path] : [];
+ });
+}
+
+function frontmatterOf(source: string): string {
+ const match = /^---\r?\n([\s\S]*?)\r?\n---\r?\n/.exec(source);
+ if (match?.[1] === undefined) throw new Error('missing frontmatter block');
+ return match[1];
+}
+
+const skillFiles = shippedSkillFiles(SKILLS_ROOT);
+
+describe('shipped SKILL.md frontmatter under a strict YAML parser', () => {
+ test('the walk finds the shipped skills', () => {
+ expect(skillFiles.length).toBeGreaterThan(10);
+ });
+
+ test.each(skillFiles.map((path) => [relative(SKILLS_ROOT, path), path]))(
+ '%s parses with js-yaml into a mapping of name, description and string fields',
+ (_label, path) => {
+ const parsed = load(frontmatterOf(readFileSync(path, 'utf8')));
+ expect(parsed).toBeTypeOf('object');
+ const fields = parsed as Record<string, unknown>;
+ expect(fields.name).toBeTypeOf('string');
+ expect(fields.description).toBeTypeOf('string');
+ for (const key of ['description', 'compatibility'] as const) {
+ if (fields[key] === undefined) continue;
+ expect(fields[key]).toBeTypeOf('string');
+ expect(fields[key] as string).not.toMatch(/["\\]$/);
+ }
+ },
+ );
+});
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 28e0cd350..b7afb9414 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1412,6 +1412,9 @@ importers:
'@types/yazl':
specifier: ^2.4.6
version: 2.4.6
+ js-yaml:
+ specifier: ~4.3.1
+ version: 4.3.1
lib0:
specifier: ^0.2.117
version: 0.2.117