Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

Add Desktop Network access pane to expose a project (PRD-7992) (#3477)

omar-inkeepba6ca50d7914
diff --git a/.changeset/desktop-network-access-pane.md b/.changeset/desktop-network-access-pane.md
new file mode 100644
index 000000000..7b93145c5
--- /dev/null
+++ b/.changeset/desktop-network-access-pane.md
@@ -0,0 +1,9 @@
+---
+"@inkeep/open-knowledge": minor
+---
+
+Desktop: a new **Settings → This project → Network access** pane lets you expose a project's server over a tunnel you run (for example Tailscale, a reverse proxy, or a VPN), so a collaborator on the tunnel can open the editor and connect an agent to `/mcp` while you keep editing locally. Enter the public origin your tunnel serves, pick a fixed local port, and click **Apply and restart project server**. The pane is tunnel-agnostic — it never provisions or introspects a tunnel.
+
+Exposure consent is stored per-machine in `.ok/local/config.yml` (gitignored), so it never travels via clone or share; the tunnel URL and port live in the project config. A fresh clone of the same repo opens loopback-only, and a project that would bind beyond this machine still refuses to start without consent. The tunnel stays yours — OpenKnowledge provisions nothing and runs no server-side authentication, so restrict access at the tunnel's edge (a Tailscale ACL, a reverse proxy with auth, or a firewall).
+
+The desktop server now also honors a configured `server.port` (pinning it keeps a tunnel's target stable across restarts, falling back to an automatic port if the fixed one is taken) and reads per-machine and user-global config layers, not just the committed project config.
diff --git a/packages/app/src/components/settings/NetworkAccessSection.dom.test.tsx b/packages/app/src/components/settings/NetworkAccessSection.dom.test.tsx
new file mode 100644
index 000000000..d70e315f3
--- /dev/null
+++ b/packages/app/src/components/settings/NetworkAccessSection.dom.test.tsx
@@ -0,0 +1,287 @@
+/**
+ * Behavioral tests for Settings → This project → Network access.
+ *
+ * The system boundaries (the two CRDT-backed config bindings, the desktop
+ * restart bridge) are mocked; the real shadcn Switch / Input / RadioGroup /
+ * Button / AlertDialog render. The load-bearing assertions are the scope-split
+ * writes — consent to the project-LOCAL binding, origin + port to the project
+ * binding — and that a committed `allowExternal` never shows as enabled.
+ */
+import { cleanup, render, screen, waitFor } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
+import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
+
+type PatchResult = { ok: true } | { ok: false; error: unknown };
+interface FakeBinding {
+ patch: (p: unknown) => PatchResult;
+}
+
+let projectConfig: {
+ server?: { externalUrl?: string; port?: number; allowExternal?: boolean };
+} | null;
+let projectSynced: boolean;
+let projectBinding: FakeBinding | null;
+let projectLocalConfig: { server?: { allowExternal?: boolean } } | null;
+let projectLocalSynced: boolean;
+let projectLocalBinding: FakeBinding | null;
+
+const projectPatchCalls: unknown[] = [];
+const localPatchCalls: unknown[] = [];
+const patchOrder: Array<'project' | 'local'> = [];
+const restartCalls: unknown[] = [];
+const toastErrors: unknown[] = [];
+type RestartOutcome = { ok: true } | { ok: false; message: string };
+let restartImpl: (bridge: unknown) => Promise<RestartOutcome>;
+
+vi.doMock('@lingui/react/macro', () => ({
+ useLingui: () => ({
+ t: (strings: TemplateStringsArray, ...values: unknown[]) =>
+ strings.reduce((out, part, i) => `${out}${part}${values[i] ?? ''}`, ''),
+ }),
+ Trans: ({ children }: { children: import('react').ReactNode }) => children,
+}));
+
+vi.doMock('sonner', () => ({ toast: { error: (m: unknown) => toastErrors.push(m) } }));
+
+vi.doMock('@/lib/config-provider', () => ({
+ useConfigContext: () => ({
+ projectConfig,
+ projectSynced,
+ projectBinding,
+ projectLocalConfig,
+ projectLocalSynced,
+ projectLocalBinding,
+ }),
+}));
+
+vi.doMock('@/lib/restart-collab-server', () => ({
+ restartCollabServer: (bridge: unknown) => {
+ restartCalls.push(bridge);
+ return restartImpl(bridge);
+ },
+}));
+
+const { NetworkAccessSection } = await import('./NetworkAccessSection');
+
+function makeBinding(kind: 'project' | 'local', calls: unknown[]): FakeBinding {
+ return {
+ patch: (p) => {
+ calls.push(p);
+ patchOrder.push(kind);
+ return { ok: true };
+ },
+ };
+}
+
+function exposeToggle() {
+ return screen.getByTestId('settings-network-expose-toggle') as HTMLButtonElement;
+}
+function applyButton() {
+ return screen.getByTestId('settings-network-apply') as HTMLButtonElement;
+}
+
+beforeEach(() => {
+ projectConfig = { server: {} };
+ projectSynced = true;
+ projectBinding = makeBinding('project', projectPatchCalls);
+ projectLocalConfig = { server: {} };
+ projectLocalSynced = true;
+ projectLocalBinding = makeBinding('local', localPatchCalls);
+ projectPatchCalls.length = 0;
+ localPatchCalls.length = 0;
+ patchOrder.length = 0;
+ restartCalls.length = 0;
+ toastErrors.length = 0;
+ restartImpl = async () => ({ ok: true });
+ (globalThis as unknown as { window: { okDesktop?: unknown } }).window.okDesktop = {};
+});
+
+afterEach(() => {
+ cleanup();
+ (globalThis as unknown as { window: { okDesktop?: unknown } }).window.okDesktop = undefined;
+});
+
+describe('NetworkAccessSection', () => {
+ test('a committed allowExternal never shows as enabled (clone-leak: read consent from project-local only)', () => {
+ // A committed `allowExternal: true` (as a clone would carry) must stay inert
+ // in the UI — the pane reads consent only from the project-local layer, so a
+ // regression that also OR'd in the committed value would flip this to true.
+ projectConfig = { server: { allowExternal: true, externalUrl: 'https://leak.example.com' } };
+ projectLocalConfig = { server: {} };
+ render(<NetworkAccessSection />);
+ expect(exposeToggle().getAttribute('aria-checked')).toBe('false');
+ });
+
+ test('a project-local allowExternal shows as enabled', () => {
+ projectLocalConfig = { server: { allowExternal: true } };
+ render(<NetworkAccessSection />);
+ expect(exposeToggle().getAttribute('aria-checked')).toBe('true');
+ });
+
+ test('enabling writes the scope split (origin+port → project, consent → project-local) and restarts', async () => {
+ render(<NetworkAccessSection />);
+ await userEvent.click(exposeToggle());
+ await userEvent.type(
+ screen.getByTestId('settings-network-origin'),
+ 'https://box.tailnet.ts.net',
+ );
+ await userEvent.click(applyButton());
+ // Off→on consent transition is gated by a confirmation.
+ const confirm = await screen.findByTestId('settings-network-confirm-apply');
+ await userEvent.click(confirm);
+
+ await waitFor(() => expect(restartCalls).toHaveLength(1));
+ // Origin + pinned default port go to the committed project binding.
+ expect(projectPatchCalls).toEqual([
+ { server: { externalUrl: 'https://box.tailnet.ts.net', port: 24550 } },
+ ]);
+ // Consent goes to the project-local binding.
+ expect(localPatchCalls).toEqual([{ server: { allowExternal: true } }]);
+ // Fail-safe order: origin/port first, consent last.
+ expect(patchOrder).toEqual(['project', 'local']);
+ });
+
+ test('disabling drops consent first, then clears the origin, and restarts (no confirm)', async () => {
+ projectConfig = { server: { externalUrl: 'https://box.tailnet.ts.net', port: 24550 } };
+ projectLocalConfig = { server: { allowExternal: true } };
+ render(<NetworkAccessSection />);
+ await userEvent.click(exposeToggle()); // on → off
+ await userEvent.click(applyButton());
+
+ await waitFor(() => expect(restartCalls).toHaveLength(1));
+ expect(localPatchCalls).toEqual([{ server: { allowExternal: false } }]);
+ expect(projectPatchCalls).toEqual([{ server: { externalUrl: null, port: 24550 } }]);
+ // Fail-safe order: consent dropped first on disable.
+ expect(patchOrder).toEqual(['local', 'project']);
+ });
+
+ test('an invalid origin blocks apply — no writes, no restart', async () => {
+ render(<NetworkAccessSection />);
+ await userEvent.click(exposeToggle());
+ await userEvent.type(screen.getByTestId('settings-network-origin'), 'not-a-url');
+ await userEvent.click(applyButton());
+
+ expect(screen.getByTestId('settings-network-origin-error')).toBeTruthy();
+ expect(projectPatchCalls).toHaveLength(0);
+ expect(localPatchCalls).toHaveLength(0);
+ expect(restartCalls).toHaveLength(0);
+ });
+
+ test('apply is disabled until both bindings have synced', () => {
+ projectSynced = false;
+ render(<NetworkAccessSection />);
+ expect(applyButton().disabled).toBe(true);
+ expect(exposeToggle().disabled).toBe(true);
+ });
+
+ test('apply is disabled when a binding is still null even if synced flags are true', () => {
+ projectBinding = null;
+ render(<NetworkAccessSection />);
+ expect(applyButton().disabled).toBe(true);
+ });
+
+ test('apply is disabled when the project-local binding is null (independent conjunct)', () => {
+ projectLocalBinding = null;
+ render(<NetworkAccessSection />);
+ expect(applyButton().disabled).toBe(true);
+ });
+
+ test('apply is disabled until the project-local layer has synced', () => {
+ projectLocalSynced = false;
+ render(<NetworkAccessSection />);
+ expect(applyButton().disabled).toBe(true);
+ expect(exposeToggle().disabled).toBe(true);
+ });
+
+ test('a pinned port the server did not bind surfaces a warning and re-enables apply', async () => {
+ // Configured fixed port 24550, but the server actually bound 51234 (the
+ // EADDRINUSE ephemeral fallback). The pane reads the bound port off the
+ // bridge apiOrigin and flags the mismatch, and Apply is clickable again so
+ // the user can retry after freeing the port — even though nothing is dirty.
+ projectConfig = { server: { port: 24550 } };
+ (globalThis as unknown as { window: { okDesktop?: unknown } }).window.okDesktop = {
+ config: { apiOrigin: 'http://localhost:51234' },
+ };
+ render(<NetworkAccessSection />);
+ expect(screen.getByTestId('settings-network-port-inuse')).toBeTruthy();
+ expect(applyButton().disabled).toBe(false);
+
+ await userEvent.click(applyButton());
+ await waitFor(() => expect(restartCalls).toHaveLength(1));
+ });
+
+ test('no warning when the bound port matches the configured port', () => {
+ projectConfig = { server: { port: 24550 } };
+ (globalThis as unknown as { window: { okDesktop?: unknown } }).window.okDesktop = {
+ config: { apiOrigin: 'http://localhost:24550' },
+ };
+ render(<NetworkAccessSection />);
+ expect(screen.queryByTestId('settings-network-port-inuse')).toBeNull();
+ });
+
+ test('a failed config patch surfaces an error toast and does not restart', async () => {
+ projectLocalBinding = {
+ patch: () => ({ ok: false, error: { code: 'SCHEMA_INVALID', issues: [] } }),
+ };
+ render(<NetworkAccessSection />);
+ await userEvent.click(exposeToggle());
+ await userEvent.type(screen.getByTestId('settings-network-origin'), 'https://box.example.com');
+ await userEvent.click(applyButton());
+ const confirm = await screen.findByTestId('settings-network-confirm-apply');
+ await userEvent.click(confirm);
+
+ // Enable path writes project (origin/port) first, then the failing consent.
+ await waitFor(() => expect(toastErrors.length).toBeGreaterThan(0));
+ expect(restartCalls).toHaveLength(0);
+ expect(applyButton().disabled).toBe(false);
+ });
+
+ test('a first-write failure in the enable path skips the consent write (fail-safe order)', async () => {
+ // Enabling writes origin/port to the project binding FIRST, then consent to
+ // the project-local binding. If the first write fails, the consent write
+ // must be skipped so exposure is never armed with a broken origin/port — the
+ // server stays loopback-only. projectLocalBinding is the tracking binding.
+ projectBinding = {
+ patch: () => ({ ok: false, error: { code: 'SCHEMA_INVALID', issues: [] } }),
+ };
+ render(<NetworkAccessSection />);
+ await userEvent.click(exposeToggle());
+ await userEvent.type(screen.getByTestId('settings-network-origin'), 'https://box.example.com');
+ await userEvent.click(applyButton());
+ const confirm = await screen.findByTestId('settings-network-confirm-apply');
+ await userEvent.click(confirm);
+
+ await waitFor(() => expect(toastErrors.length).toBeGreaterThan(0));
+ // Consent (project-local) never written, and no restart.
+ expect(localPatchCalls).toHaveLength(0);
+ expect(restartCalls).toHaveLength(0);
+ });
+
+ test('a resolved restart failure toasts and re-enables apply', async () => {
+ restartImpl = async () => ({ ok: false, message: 'could not restart' });
+ projectLocalConfig = { server: { allowExternal: true } };
+ projectConfig = { server: { externalUrl: 'https://box.example.com', port: 24550 } };
+ render(<NetworkAccessSection />);
+ // Toggle off → on an already-exposed field to make it dirty without a confirm.
+ await userEvent.click(screen.getByTestId('settings-network-port-input'));
+ 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('could not restart'));
+ expect(applyButton().disabled).toBe(false);
+ });
+
+ test('a rejected restart (window torn down) re-enables apply without an unhandled rejection', async () => {
+ restartImpl = () => Promise.reject(new Error('window destroyed'));
+ 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(restartCalls).toHaveLength(1));
+ await waitFor(() => expect(applyButton().disabled).toBe(false));
+ });
+});
diff --git a/packages/app/src/components/settings/NetworkAccessSection.tsx b/packages/app/src/components/settings/NetworkAccessSection.tsx
new file mode 100644
index 000000000..65bb29ccc
--- /dev/null
+++ b/packages/app/src/components/settings/NetworkAccessSection.tsx
@@ -0,0 +1,419 @@
+/**
+ * Settings → This project → Network access (desktop-only).
+ *
+ * The GUI for exposing this Desktop's loopback project server over a user-run
+ * tunnel (Tailscale, a reverse proxy, a VPN). It writes the two config leaves
+ * the server boot reads, then restarts the project server:
+ *
+ * - `server.allowExternal` (project-LOCAL, gitignored) — the exposure consent
+ * the boot interlock requires. Per-machine: never travels via clone/share.
+ * - `server.externalUrl` + `server.port` (project scope) — the public origin
+ * the Host-gate admits, and a pinned port so the tunnel's fixed target stays
+ * stable across restarts.
+ *
+ * BOTH are needed to expose: an origin without consent is inert (no exposure),
+ * consent without an origin admits no external Host (every request 403s). The
+ * tunnel itself is the user's — OK provisions nothing and runs no server-side
+ * auth (the edge owns it). The pane never writes `server.bind`, so a normal
+ * project binds loopback and the tunnel forwards to it; a non-loopback bind
+ * that arrived via committed config still binds only under the boot exposure
+ * interlock, which refuses a wide bind without the consent this pane writes.
+ * Scope split is locked: consent is project-local, origin + port are committed
+ * project scope (inert without the local consent).
+ */
+import { DEFAULT_REMOTE_PORT, humanFormat } from '@inkeep/open-knowledge-core';
+import { useLingui } from '@lingui/react/macro';
+import { useState } from 'react';
+import { toast } from 'sonner';
+import {
+ AlertDialog,
+ AlertDialogAction,
+ AlertDialogCancel,
+ AlertDialogContent,
+ AlertDialogDescription,
+ AlertDialogFooter,
+ AlertDialogHeader,
+ AlertDialogTitle,
+} from '@/components/ui/alert-dialog';
+import { Button } from '@/components/ui/button';
+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 { useConfigContext } from '@/lib/config-provider';
+import { restartCollabServer } from '@/lib/restart-collab-server';
+import { PluginBetaBadge } from './PluginBetaBadge';
+
+type PortMode = 'auto' | 'fixed';
+
+export function NetworkAccessSection() {
+ const { t } = useLingui();
+ const {
+ projectConfig,
+ projectSynced,
+ projectBinding,
+ projectLocalConfig,
+ projectLocalSynced,
+ projectLocalBinding,
+ } = useConfigContext();
+
+ // Consent is project-local; origin + port are committed project scope. We
+ // read each field only from the scope that owns it — never surface a
+ // committed allowExternal (it is always inert per the clone-leak guard, so
+ // display = what actually boots).
+ const configuredAllow = projectLocalConfig?.server?.allowExternal === true;
+ const configuredOrigin = projectConfig?.server?.externalUrl ?? '';
+ const configuredPort = projectConfig?.server?.port;
+
+ const [expose, setExpose] = useState(configuredAllow);
+ const [origin, setOrigin] = useState(configuredOrigin);
+ const [portMode, setPortMode] = useState<PortMode>(configuredPort != null ? 'fixed' : 'auto');
+ const [portDraft, setPortDraft] = useState(
+ configuredPort != null ? String(configuredPort) : String(DEFAULT_REMOTE_PORT),
+ );
+ const [originError, setOriginError] = useState<string | null>(null);
+ const [portError, setPortError] = useState<string | null>(null);
+ const [confirmOpen, setConfirmOpen] = useState(false);
+ const [applying, setApplying] = useState(false);
+
+ // Re-seed the drafts when the persisted values change out from under us — a
+ // `ok config` edit in a terminal while Settings is open, or the first sync
+ // after mount. "Adjust state during render on a changed value" (no effect).
+ const [prevConfigured, setPrevConfigured] = useState({
+ allow: configuredAllow,
+ origin: configuredOrigin,
+ port: configuredPort,
+ });
+ if (
+ prevConfigured.allow !== configuredAllow ||
+ prevConfigured.origin !== configuredOrigin ||
+ prevConfigured.port !== configuredPort
+ ) {
+ setPrevConfigured({ allow: configuredAllow, origin: configuredOrigin, port: configuredPort });
+ setExpose(configuredAllow);
+ setOrigin(configuredOrigin);
+ setPortMode(configuredPort != null ? 'fixed' : 'auto');
+ setPortDraft(configuredPort != null ? String(configuredPort) : String(DEFAULT_REMOTE_PORT));
+ setOriginError(null);
+ setPortError(null);
+ }
+
+ const bindingsReady =
+ projectSynced && projectLocalSynced && projectBinding !== null && projectLocalBinding !== null;
+
+ // Surface a pinned-port fallback: if a fixed `server.port` is configured but
+ // the server actually bound a different port (EADDRINUSE → ephemeral fallback
+ // in the utility boot), a tunnel forwarding to the fixed port reaches nothing.
+ // The bound port is the one this window is talking to, read off the desktop
+ // bridge's apiOrigin — no extra IPC needed.
+ const boundPort = (() => {
+ const origin = window.okDesktop?.config?.apiOrigin;
+ if (!origin) return null;
+ try {
+ const p = new URL(origin).port;
+ return p === '' ? null : Number(p);
+ } catch {
+ return null;
+ }
+ })();
+ const portInUse = configuredPort != null && boundPort != null && boundPort !== configuredPort;
+
+ // Exposing pins the port: a tunnel forwards to a fixed target, so an
+ // ephemeral port would break it on every restart.
+ const effectivePortMode: PortMode = expose ? 'fixed' : portMode;
+
+ function originProblem(value: string): string | null {
+ const trimmed = value.trim();
+ if (!trimmed) {
+ return t`Enter the public origin your tunnel serves, for example https://notes.example.com`;
+ }
+ let url: URL;
+ try {
+ url = new URL(trimmed);
+ } catch {
+ return t`Enter a valid URL, for example https://notes.example.com`;
+ }
+ if (url.protocol !== 'https:' && url.protocol !== 'http:') {
+ return t`Use an http:// or https:// origin.`;
+ }
+ return null;
+ }
+
+ function portProblem(value: string): string | null {
+ const n = Number(value.trim());
+ if (!Number.isInteger(n) || n < 1 || n > 65535) {
+ return t`Enter a port between 1 and 65535.`;
+ }
+ return null;
+ }
+
+ const portChanged =
+ effectivePortMode === 'fixed'
+ ? Number(portDraft.trim()) !== configuredPort
+ : configuredPort != null;
+ const dirty =
+ expose !== configuredAllow || (expose && origin.trim() !== configuredOrigin) || portChanged;
+
+ function validate(): boolean {
+ let ok = true;
+ if (expose) {
+ const problem = originProblem(origin);
+ setOriginError(problem);
+ if (problem !== null) ok = false;
+ } else {
+ setOriginError(null);
+ }
+ if (effectivePortMode === 'fixed') {
+ const problem = portProblem(portDraft);
+ setPortError(problem);
+ if (problem !== null) ok = false;
+ } else {
+ setPortError(null);
+ }
+ return ok;
+ }
+
+ async function doApply(): Promise<void> {
+ if (projectBinding === null || projectLocalBinding === null) {
+ toast.error(t`Network settings not yet loaded — try again in a moment.`);
+ return;
+ }
+ setApplying(true);
+
+ const port = effectivePortMode === 'fixed' ? Number(portDraft.trim()) : null;
+ const originValue = expose ? origin.trim() : null;
+ // `null` clears the leaf (yaml-patch deleteIn); a scalar sets it.
+ const runProject = () => projectBinding.patch({ server: { externalUrl: originValue, port } });
+ const runConsent = () => projectLocalBinding.patch({ server: { allowExternal: expose } });
+
+ // Fail-safe ordering. Enabling: write origin/port FIRST, consent LAST — a
+ // committed origin without consent is inert, so a mid-way failure never
+ // exposes anything. Disabling: drop consent FIRST so exposure is removed
+ // immediately, even if the origin/port write then fails.
+ const first = expose ? runProject() : runConsent();
+ if (!first.ok) {
+ toast.error(t`Couldn't save network settings — ${humanFormat(first.error)}`);
+ setApplying(false);
+ return;
+ }
+ const second = expose ? runConsent() : runProject();
+ if (!second.ok) {
+ toast.error(t`Couldn't save network settings — ${humanFormat(second.error)}`);
+ setApplying(false);
+ return;
+ }
+
+ const bridge = window.okDesktop;
+ if (!bridge) {
+ toast.error(t`Restarting the server is only available in the desktop app.`);
+ setApplying(false);
+ return;
+ }
+ // On success the main process tears this window down and recreates it, so
+ // the awaited call may reject or never resolve — that IS the success path.
+ // Only a resolved failure is actionable here. Catch the rejection so an
+ // unexpected IPC error re-enables the button (on the success path the
+ // component is unmounting, so the state update is a harmless no-op) instead
+ // of leaking an unhandled rejection and stranding "Applying…".
+ try {
+ const result = await restartCollabServer(bridge);
+ if (!result.ok) {
+ toast.error(result.message);
+ setApplying(false);
+ }
+ } catch {
+ setApplying(false);
+ }
+ }
+
+ function onApply(): void {
+ if (!validate()) return;
+ // Enabling exposure is consequential and auth-free — confirm the off→on
+ // consent transition. Edits while already exposed, and disabling, apply
+ // straight away.
+ if (expose && !configuredAllow) {
+ setConfirmOpen(true);
+ return;
+ }
+ void doApply();
+ }
+
+ function onConfirm(): void {
+ setConfirmOpen(false);
+ void doApply();
+ }
+
+ return (
+ <section aria-labelledby="settings-network-access-title" className="space-y-3">
+ <div className="space-y-1">
+ <div className="flex items-center gap-2">
+ <h3 id="settings-network-access-title" className="text-base font-semibold">
+ {t`Network access`}
+ </h3>
+ <PluginBetaBadge />
+ </div>
+ <p className="text-sm text-muted-foreground">
+ {t`Expose this project's server to a wider network through a tunnel you run (for example Tailscale). A viewer on the tunnel gets the editor and agent endpoint, editing live against this machine's server.`}
+ </p>
+ </div>
+
+ <div className="flex items-center justify-between gap-3 rounded-md border p-3">
+ <div className="space-y-0.5">
+ <label htmlFor="settings-network-expose-toggle" className="text-sm font-medium">
+ {t`Allow external access`}
+ </label>
+ <p
+ id="settings-network-expose-body"
+ className="text-1sm text-muted-foreground"
+ data-testid="settings-network-expose-body"
+ >
+ {t`This server has no built-in authentication. Anyone who can reach the tunnel gets full control of this knowledge base — restrict access at the tunnel's edge (a Tailscale ACL, a reverse proxy with auth, or a firewall).`}
+ </p>
+ </div>
+ <Switch
+ id="settings-network-expose-toggle"
+ checked={expose}
+ onCheckedChange={setExpose}
+ disabled={!bindingsReady || applying}
+ aria-describedby="settings-network-expose-body"
+ data-testid="settings-network-expose-toggle"
+ />
+ </div>
+
+ {expose ? (
+ <div className="space-y-1.5 rounded-md border p-3">
+ <Label htmlFor="settings-network-origin" className="text-sm font-medium">
+ {t`External origin`}
+ </Label>
+ <p className="text-1sm text-muted-foreground">
+ {t`The public URL your tunnel serves. The server admits requests for this host and advertises it in the URLs it issues.`}
+ </p>
+ <Input
+ id="settings-network-origin"
+ value={origin}
+ inputMode="url"
+ autoComplete="off"
+ placeholder="https://notes.example.com"
+ onChange={(e) => {
+ setOrigin(e.target.value);
+ if (originError !== null) setOriginError(originProblem(e.target.value));
+ }}
+ disabled={!bindingsReady || applying}
+ aria-invalid={originError !== null}
+ aria-describedby={originError !== null ? 'settings-network-origin-error' : undefined}
+ data-testid="settings-network-origin"
+ />
+ {originError !== null ? (
+ <p
+ id="settings-network-origin-error"
+ className="text-1sm text-destructive"
+ data-testid="settings-network-origin-error"
+ >
+ {originError}
+ </p>
+ ) : null}
+ </div>
+ ) : null}
+
+ <div className="space-y-2 rounded-md border p-3">
+ <div className="space-y-0.5">
+ <span className="text-sm font-medium">{t`Local server port`}</span>
+ <p className="text-1sm text-muted-foreground">
+ {expose
+ ? t`Exposing pins a fixed port so the tunnel's target stays stable across restarts.`
+ : t`Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts.`}
+ </p>
+ </div>
+ <RadioGroup
+ value={effectivePortMode}
+ onValueChange={(v) => setPortMode(v as PortMode)}
+ className="gap-2"
+ aria-label={t`Local server port`}
+ >
+ <div className="flex items-center gap-2">
+ <RadioGroupItem
+ value="auto"
+ id="settings-network-port-auto"
+ disabled={expose || !bindingsReady || applying}
+ data-testid="settings-network-port-auto"
+ />
+ <Label htmlFor="settings-network-port-auto" className="text-sm font-normal">
+ {t`Automatic`}
+ </Label>
+ </div>
+ <div className="flex items-center gap-2">
+ <RadioGroupItem
+ value="fixed"
+ id="settings-network-port-fixed"
+ disabled={!bindingsReady || applying}
+ data-testid="settings-network-port-fixed"
+ />
+ <Label htmlFor="settings-network-port-fixed" className="text-sm font-normal">
+ {t`Fixed`}
+ </Label>
+ <Input
+ value={portDraft}
+ inputMode="numeric"
+ className="h-8 w-24"
+ onChange={(e) => {
+ setPortDraft(e.target.value);
+ if (portError !== null) setPortError(portProblem(e.target.value));
+ }}
+ disabled={effectivePortMode !== 'fixed' || !bindingsReady || applying}
+ aria-label={t`Fixed port number`}
+ aria-invalid={portError !== null}
+ aria-describedby={portError !== null ? 'settings-network-port-error' : undefined}
+ data-testid="settings-network-port-input"
+ />
+ </div>
+ </RadioGroup>
+ {portError !== null ? (
+ <p
+ id="settings-network-port-error"
+ className="text-1sm text-destructive"
+ data-testid="settings-network-port-error"
+ >
+ {portError}
+ </p>
+ ) : null}
+ {portInUse ? (
+ <p className="text-1sm text-destructive" data-testid="settings-network-port-inuse">
+ {t`Port ${configuredPort} is in use, so the server is running on port ${boundPort} instead. A tunnel forwarding to the fixed port won't reach it — free that port and apply again, or choose a different one.`}
+ </p>
+ ) : null}
+ </div>
+
+ <div className="flex items-center justify-between gap-3">
+ <p className="text-1sm text-muted-foreground">
+ {t`Applying restarts this project's server.`}
+ </p>
+ <Button
+ onClick={onApply}
+ disabled={!bindingsReady || applying || (!dirty && !portInUse)}
+ data-testid="settings-network-apply"
+ >
+ {applying ? t`Applying…` : t`Apply and restart project server`}
+ </Button>
+ </div>
+
+ <AlertDialog open={confirmOpen} onOpenChange={setConfirmOpen}>
+ <AlertDialogContent data-testid="settings-network-confirm">
+ <AlertDialogHeader>
+ <AlertDialogTitle>{t`Expose this project to the network?`}</AlertDialogTitle>
+ <AlertDialogDescription>
+ {t`The server will accept requests for ${origin.trim()} with no built-in authentication. Anyone who can reach your tunnel will have full control of this knowledge base — including sync, GitHub credentials, and local operations. Make sure the tunnel's edge restricts who can connect.`}
+ </AlertDialogDescription>
+ </AlertDialogHeader>
+ <AlertDialogFooter>
+ <AlertDialogCancel data-testid="settings-network-confirm-cancel">
+ {t`Cancel`}
+ </AlertDialogCancel>
+ <AlertDialogAction onClick={onConfirm} data-testid="settings-network-confirm-apply">
+ {t`Expose and restart`}
+ </AlertDialogAction>
+ </AlertDialogFooter>
+ </AlertDialogContent>
+ </AlertDialog>
+ </section>
+ );
+}
diff --git a/packages/app/src/components/settings/SettingsDialogBody.tsx b/packages/app/src/components/settings/SettingsDialogBody.tsx
index 650964e3a..840ef429d 100644
--- a/packages/app/src/components/settings/SettingsDialogBody.tsx
+++ b/packages/app/src/components/settings/SettingsDialogBody.tsx
@@ -38,6 +38,7 @@ import {
UserPluginsManageSection,
} from './LintingSection';
import { LINT_PLUGIN_UI } from './lint-plugins';
+import { NetworkAccessSection } from './NetworkAccessSection';
import { OkignoreSection } from './OkignoreSection';
import { ProjectAiToolsSection } from './ProjectAiToolsSection';
import { ProjectTemplatesSection } from './ProjectTemplatesSection';
@@ -198,6 +199,11 @@ export function SettingsDialogBody({
// scoped to the window's open project.
return <ProjectAiToolsSection />;
}
+ if (activeId === 'network-access') {
+ // Expose-via-tunnel controls — desktop-only (nav item gated to the Electron
+ // host). Writes the scope-split server.* leaves and restarts the server.
+ return <NetworkAccessSection />;
+ }
if (activeId === 'claude-desktop') {
return <IntegrationsSection />;
}
diff --git a/packages/app/src/components/settings/SettingsDialogShell.tsx b/packages/app/src/components/settings/SettingsDialogShell.tsx
index eb272d96a..0ed69b8cb 100644
--- a/packages/app/src/components/settings/SettingsDialogShell.tsx
+++ b/packages/app/src/components/settings/SettingsDialogShell.tsx
@@ -246,6 +246,9 @@ export function SettingsDialogShell({
// Per-project MCP wiring + runtime skill — desktop-only because the
// install actors live in the Electron main process (like Terminal).
...(isOkDesktopHost ? [{ id: 'project-ai-tools', label: t`AI tools` }] : []),
+ // Expose-via-tunnel controls — desktop-only (writes the project-local
+ // exposure consent + restarts this window's server via the bridge).
+ ...(isOkDesktopHost ? [{ id: 'network-access', label: t`Network access` }] : []),
{ id: 'project-templates', label: t`Templates` },
{ id: 'skills', label: t`Skills` },
{ id: 'okignore', label: t`Ignore patterns` },
diff --git a/packages/app/src/locales/ar/messages.json b/packages/app/src/locales/ar/messages.json
index 5a84d6028..f674a6602 100644
--- a/packages/app/src/locales/ar/messages.json
+++ b/packages/app/src/locales/ar/messages.json
@@ -144,6 +144,7 @@
"0yL--g": ["مراجعة التعارضات"],
"0ySP5u": ["تُحفظ التغييرات تلقائيًا في هذه السمة."],
"0zAhu6": ["كل مستند"],
+ "1-flC9": ["منفذ الخادم المحلي"],
"10g8I_": ["إيقاف «ملفات Markdown فقط»"],
"110eEb": [
"يقوم Open Knowledge بإنشاء ملف تنقل يسمى index.md والحفاظ عليه في كل مجلد يحتوي على Markdown."
@@ -212,6 +213,7 @@
"2BBAbc": ["قائمة"],
"2C-6zf": ["غير مُرسل"],
"2CHoQv": ["إعادة تحميل قسرية"],
+ "2D1x3Y": ["تطبيق وإعادة تشغيل خادم المشروع"],
"2FYpfJ": ["المزيد"],
"2FnYUD": [
"معلومات التطبيق والنظام، وسجلات التطبيق الأخيرة، وسجلات خادم المشروع: الأساسيات التي نحتاجها لإعادة إنتاج المشكلة."
@@ -429,6 +431,9 @@
"56WWtu": ["تعذّر تحميل حزم البداية: ", ["error"]],
"56xUL1": ["اسم الخاصية"],
"57fiu8": ["(للقراءة فقط — حرِّره في وضع المصدر في الوقت الحالي)"],
+ "58ko2F": [
+ "اكشف خادم هذا المشروع لشبكة أوسع عبر نفق تشغّله أنت (على سبيل المثال Tailscale). يحصل المُشاهد على النفق على المحرّر ونقطة نهاية الوكيل، ويحرّر مباشرةً مقابل خادم هذا الجهاز."
+ ],
"58qIOK": ["التعليق على هذا التحديد"],
"5ALjdr": ["تنقّل بين نتائج بحث المحرر المرئي من حقل البحث."],
"5Ajb15": ["تُعرض الصيغة <0>c = √(a² + b²)</0> مضمَّنة."],
@@ -528,6 +533,7 @@
"62bOuM": ["آخر تعديل"],
"636K3K": ["حذف الرقاقة المجاورة"],
"64sesb": ["تلفت المربعات التنبيهية الانتباه إلى المعلومات الأساسية."],
+ "65Ea2s": ["يثبّت الكشف منفذًا ثابتًا لكي يبقى هدف النفق مستقرًا عبر عمليات إعادة التشغيل."],
"67Dpmh": ["اقتراحات أوامر الشرطة المائلة"],
"67TEhP": [
"مجلدات مهاراتك على مستوى المستخدم — متاحة في كل مشروع على هذا الجهاز. وتتحكم قائمة التثبيت لكل مهارة في مكان وجودها."
@@ -708,6 +714,7 @@
"80c4-P": ["تم نسخ الكود إلى الحافظة"],
"81H_23": ["إضافة خصائص"],
"851WA-": ["يمكن ضبط هذا في الإعدادات > أدوات الذكاء الاصطناعي وواجهة سطر الأوامر"],
+ "87GMKe": ["هل تريد كشف هذا المشروع على الشبكة؟"],
"881Uwh": ["حذف الجدول المحدد"],
"89TtiD": ["ملف جديد من القالب «", ["displayTitle"], "» (", ["fileName"], ") في جذر المشروع"],
"89y7ar": [["sizeText"], " · تم إخفاء الأسرار"],
@@ -743,6 +750,9 @@
"8RtNI0": ["فشل تحميل المستندات"],
"8SrrDi": ["رقم قياسي جديد · اضغط مسافة للعب مرة أخرى"],
"8TvlHF": ["تفريغ الأعطال"],
+ "8UmUyc": [
+ "عنوان URL العام الذي يخدمه النفق الخاص بك. يقبل الخادم الطلبات الموجّهة إلى هذا المضيف ويعلن عنه في عناوين URL التي يُصدرها."
+ ],
"8Uv5e6": ["الوكلاء"],
"8Vq20-": ["تبديل شجرة العمل"],
"8Wav8y": ["إذا وصل تحديث لشيء تحرّره، فأنت من يختار أي نسخة يُبقي، مثل تعارض الدمج."],
@@ -1113,6 +1123,11 @@
["shareBranch"],
"</0>. لديك تغييرات غير مودعة تمنع التبديل هنا — افتحه في شجرة عمل لتبقى تغييراتك دون مساس."
],
+ "DTcfyN": [
+ "سيقبل الخادم الطلبات الموجّهة إلى ",
+ ["0"],
+ " دون أي مصادقة مدمجة. أي شخص يمكنه الوصول إلى النفق الخاص بك سيمتلك تحكمًا كاملًا في قاعدة المعرفة هذه — بما في ذلك المزامنة وبيانات اعتماد GitHub والعمليات المحلية. تأكد من أن حافة النفق تقيّد من يمكنه الاتصال."
+ ],
"DUWgfT": ["أعد المصادقة مع خادم GitHub Enterprise"],
"DUb7Ax": ["تستخدم ملفات متعددة اسم السمة هذا"],
"DVh_Tb": ["فشل التنظيف بعد النقل إلى المهملات"],
@@ -1139,6 +1154,7 @@
}
]
],
+ "Dh11sK": ["إعادة تشغيل الخادم متاحة فقط في تطبيق سطح المكتب."],
"DhLHEb": ["فشل تحميل النشاط"],
"DhT_PK": ["استورد OpenKnowledge مهارة"],
"DiFKSL": ["يجري عد ملفات Markdown"],
@@ -1165,6 +1181,9 @@
]
],
"DskIkK": ["انتهى بث تسجيل الدخول دون تأكيد — يرجى المحاولة مرة أخرى"],
+ "DuCPiG": [
+ "يختار الوضع التلقائي منفذًا متاحًا في كل بدء تشغيل. اختر منفذًا ثابتًا للاحتفاظ بالعنوان نفسه عبر عمليات إعادة التشغيل."
+ ],
"Dub54T": [
"لا تستطيع متصفحات المعاينة النسخ تلقائيًا. استخدم Cmd/Ctrl+C على الرابط أعلاه، أو افتح OK في تطبيق سطح المكتب."
],
@@ -1204,6 +1223,7 @@
"ENpRJV": ["معاينات الروابط الخارجية"],
"EO4Dt1": ["تفعيل ", ["file"]],
"EOjU5V": ["خصائص الرياضيات المضمَّنة"],
+ "EP8mZC": ["الكشف وإعادة التشغيل"],
"EPGePE": ["رُفع باسم «", ["0"], "» — الاسم «", ["1"], "» كان مأخوذًا."],
"EPKVES": ["هل تحدّث «", ["skillName"], "» فوق تعديلاتك؟"],
"EPwuTC": [["usedLabel"], " / ", ["sizeLabel"], " رمز مستخدَم"],
@@ -1607,6 +1627,7 @@
"JddocZ": ["تبديل عمود الرأس"],
"Jejur6": ["تعذّر تحميل المستند"],
"JfPuv7": [["shareBranch"], " ليس اسم فرع صالحًا."],
+ "JgaVnN": ["السماح بالوصول الخارجي"],
"Jhj_lh": ["عدّل وجهة الرابط والمرساة وتسمية العرض."],
"JhqycE": ["لا توجد ملفات أخيرة"],
"JkCD2u": ["المزامنة موقوفة مؤقتًا — ليس لديك إذن بالدفع إلى هذا المستودع"],
@@ -1662,6 +1683,7 @@
"KZLdgR": ["راجع <0>#design-docs</0> لأحدث المواصفات."],
"K_vT1F": ["المزامنة مع المصدر البعيد"],
"KaFCD3": ["افتح هذا الرابط في تبويب جديد واطوِ الرسم البياني."],
+ "Kbz9RK": ["رقم المنفذ الثابت"],
"KeXgA-": ["تعذر العثور على ذلك المقطع — ربما تغير النص الذي كان عليه."],
"Kf7GG5": ["تجري إعادة تشغيل الخادم…"],
"Kge76t": ["خيارات الصف"],
@@ -2106,6 +2128,7 @@
"PrVaZo": ["هل تلغي تثبيت OpenKnowledge؟"],
"PrWQiT": ["نقل Terminal إلى اليمين"],
"PrhzDE": ["تحريك لأعلى"],
+ "Pw5PTU": ["الأصل الخارجي"],
"Q-DKvr": ["التثبيت من ", ["source"]],
"Q1mtyd": ["إخفاء الشريط الجانبي"],
"Q5fqMz": ["خطأ في الاتصال — أعد المحاولة"],
@@ -2265,6 +2288,13 @@
"S48xcO": ["معلّق"],
"S6eHlw": ["افتح مشروعًا أولًا."],
"S6l5dv": ["تعذّر بدء إنشاء عنصر جديد"],
+ "S79zoi": [
+ "المنفذ ",
+ ["configuredPort"],
+ " قيد الاستخدام، لذا يعمل الخادم على المنفذ ",
+ ["boundPort"],
+ " بدلاً منه. لن يصل النفق الموجَّه إلى المنفذ الثابت — حرِّر هذا المنفذ وطبِّق مرة أخرى، أو اختر منفذًا آخر."
+ ],
"S9Vnum": ["إزالة ", ["patternText"]],
"S9t1PI": ["يجري إصلاح ", ["0"], "/", ["1"]],
"SCoBBH": ["اقتراحات الوسوم"],
@@ -2339,6 +2369,7 @@
"TKQ7K-": ["تثبيت"],
"TLIO3j": ["بدّل التنسيق المائل."],
"TMLAx2": ["مطلوب"],
+ "TNKAIS": ["يؤدي التطبيق إلى إعادة تشغيل خادم هذا المشروع."],
"TQJCR6": [
[
"0",
@@ -2371,6 +2402,7 @@
"Tjc1pH": ["القسم <0>(مرساة عنوان اختيارية)</0>"],
"Tn5sik": ["يخبر الوكلاء متى يلجؤون إلى هذه المهارة. يمكنك تحريره لاحقًا."],
"Tofsyo": ["نقل Terminal إلى الأسفل"],
+ "TpqW74": ["ثابت"],
"Tq3pcs": ["الاحتفاظ بنسختي"],
"Tq9kNX": ["لا توجد محادثات مفتوحة. أعد فتح محادثة سابقة، أو ابدأ محادثة جديدة بزر +."],
"TsZmgr": ["الملف على القرص، والمعرّف الذي يستخدمه الوكلاء."],
@@ -3230,6 +3262,7 @@
"cuA8QW": ["تنظيم المواصفات"],
"cuHhjo": ["إنشاء وتحرير"],
"d-GtJt": ["عرض في مصدر Markdown"],
+ "d02jS3": ["الوصول إلى الشبكة"],
"d1JjXo": [
"نسختك المحلية من الفرع <0>",
["branch"],
@@ -4681,6 +4714,7 @@
"u5Utjn": ["يحتاج ", ["0"], " إلى ", ["1"]],
"u5hSeG": ["مشاركة الملاحظات"],
"u6Hp4N": ["Markdown"],
+ "u779EG": ["استخدم أصلًا يبدأ بـ http:// أو https://."],
"u7H-Wn": ["إظهار اللوحة (", ["panelShortcutLabel"], ")"],
"u7U_Ij": ["اربط النص المحدد، أو حرّر الرابط الواقع تحت المؤشر."],
"uA_jXp": ["تبديل الفرع وتحديثه"],
@@ -4689,6 +4723,7 @@
"uDlyqd": [
"وثّق بنية هذا المستودع: أنشئ صفحة نظرة عامة ترتبط بصفحة لكل وحدة رئيسية تصف مسؤولياتها ونقاط دخولها."
],
+ "uDzLV-": ["أدخل عنوان URL صالحًا، على سبيل المثال https://notes.example.com"],
"uF82hk": ["يجري الترشيح…"],
"uF9ruK": ["يجري الحفظ"],
"uFQbYd": ["الصفحة الرئيسية ونقطة الدخول."],
@@ -4759,6 +4794,9 @@
"um-es7": ["أطلق المحرر مع"],
"un-K1H": ["يبقى على هذا الجهاز. غير مُودَع في git."],
"un8kBM": ["يجري إنشاء الصفحة: ", ["linkTitle"], "."],
+ "unmCLE": [
+ "لا يحتوي هذا الخادم على مصادقة مدمجة. أي شخص يمكنه الوصول إلى النفق يحصل على تحكم كامل في قاعدة المعرفة هذه — قيّد الوصول عند حافة النفق (قائمة تحكم ACL في Tailscale، أو وكيل عكسي مع مصادقة، أو جدار حماية)."
+ ],
"uoJF_D": ["كان إعداده أو البدء به صعبًا جدًا"],
"ur2XSb": ["المحرر المرئي"],
"uuoHOU": ["فشل الأمر."],
@@ -4900,6 +4938,7 @@
"wTcjov": ["لا مساحة عمل"],
"wU8WyK": ["حقول العنصر"],
"wVa83H": ["تعذّر إنشاء التقرير"],
+ "wWtVYd": ["أدخل منفذًا بين 1 و65535."],
"wXO4Tg": ["قبل ", ["hrs"], " ساعة"],
"wXw19Y": ["أُزيل «", ["projectName"], "» من المشاريع الحديثة. لم يعد مجلده موجودًا."],
"wZPUJx": ["«", ["0"], "»"],
@@ -4909,6 +4948,7 @@
"wbv9xO": ["إنشاء مشروع جديد"],
"wc54KE": ["يجري التجريب…"],
"wcfO9r": ["لا توجد تقارير علل بعد."],
+ "wdRxTD": ["جارٍ التطبيق…"],
"wdxz7K": ["المصدر"],
"wdzBgi": ["أصبحت مشاركة الإعدادات مقصورة عليك وحدك."],
"weP6me": ["تعذّر تحميل المستندات — اكتب @ مرة أخرى لإعادة المحاولة"],
@@ -4967,6 +5007,7 @@
"xV5sXw": ["قبل ", ["0"], " أسبوع"],
"xWEvuo": ["اسأل الذكاء الاصطناعي"],
"xWomUD": ["استخدام نسخة ", ["editor"]],
+ "xXn6KB": ["تعذّر حفظ إعدادات الشبكة — ", ["0"]],
"xXo8FT": ["فشل الحفظ: ", ["error"]],
"xYMPyY": [
"كان اللصق ناقصًا — وصل ",
@@ -5088,6 +5129,7 @@
"ylXj1N": ["محدَّد"],
"ymWJLd": ["إظهار ", ["0"], " إضافية"],
"ynIa4S": ["عنصر قائمة في المحرر المرئي"],
+ "yopUSw": ["لم يتم تحميل إعدادات الشبكة بعد — أعد المحاولة بعد لحظة."],
"ypw6My": ["تُعرض أفضل ", ["0"], " عنوان — تابع الكتابة للتضييق"],
"ysxgu8": ["مشروع"],
"yutJKi": ["قائمة تحقق بمربعات اختيار."],
@@ -5144,6 +5186,9 @@
}
]
],
+ "zHsZcU": [
+ "أدخل الأصل العام الذي يخدمه النفق الخاص بك، على سبيل المثال https://notes.example.com"
+ ],
"zJL34S": ["نافذة Terminal جديدة"],
"zKxoPm": ["تعذّرت إعادة تسمية «", ["0"], "»: ", ["1"]],
"zL0LPh": ["عام خارج الحقول النصية"],
diff --git a/packages/app/src/locales/ar/messages.po b/packages/app/src/locales/ar/messages.po
index 168a16470..46be87671 100644
--- a/packages/app/src/locales/ar/messages.po
+++ b/packages/app/src/locales/ar/messages.po
@@ -1524,6 +1524,10 @@ msgstr "تم حل كل المقاطع"
msgid "All tags"
msgstr "كل الوسوم"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Allow external access"
+msgstr "السماح بالوصول الخارجي"
+
#: src/components/settings/frontmatter-schema-field-editor.tsx
msgid "Allowed element values (empty = any)"
msgstr "قيم العناصر المسموح بها (فارغ = أي قيمة)"
@@ -1663,14 +1667,26 @@ msgstr "ينطبق على (أنماط — البادئة ! تستثني؛ وال
msgid "Applies to all projects on this machine. Claude and Codex, started from the built-in terminal, 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. Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
msgstr "ينطبق على كل المشاريع على هذا الجهاز. يوافق Claude وCodex، عند تشغيلهما من الطرفية المدمجة، تلقائيًا على أدوات القراءة والكتابة في OpenKnowledge (كما يشغّل Claude «ok open» تلقائيًا). أما الحذف والنقل والمشاركة والاستيراد وتثبيت المهارات، والأوامر الأخرى، وتحرير الملفات خارج OpenKnowledge فتظل تسأل. لا يتأثر Cursor وOpenCode وPi. حسب المتاح لكل وكيل."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Apply and restart project server"
+msgstr "تطبيق وإعادة تشغيل خادم المشروع"
+
#: src/editor/bubble-menu/LinkEditPopover.tsx
msgid "Apply link"
msgstr "تطبيق الرابط"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying restarts this project's server."
+msgstr "يؤدي التطبيق إلى إعادة تشغيل خادم هذا المشروع."
+
#: src/components/settings/SearchSection.tsx
msgid "Applying your change"
msgstr "يجري تطبيق تغييرك"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying…"
+msgstr "جارٍ التطبيق…"
+
#: src/components/acp/ThreadView.tsx
msgid "Approved"
msgstr "موافق عليه"
@@ -1878,9 +1894,14 @@ msgstr "التحديث التلقائي مفعّل لـ «{name}»"
#. Section label for the automatic, one-click install path
#: src/components/InstallInClaudeDesktopDialog.tsx
+#: src/components/settings/NetworkAccessSection.tsx
msgid "Automatic"
msgstr "تلقائي"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
+msgstr "يختار الوضع التلقائي منفذًا متاحًا في كل بدء تشغيل. اختر منفذًا ثابتًا للاحتفاظ بالعنوان نفسه عبر عمليات إعادة التشغيل."
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "متاح"
@@ -2185,6 +2206,7 @@ msgstr "تعذّرت مشاركة هذا المسار."
#: src/components/SeedDialog.tsx
#: src/components/settings/LinkPreviewsSection.tsx
#: src/components/settings/LintingSection.tsx
+#: src/components/settings/NetworkAccessSection.tsx
#: src/components/settings/SavedThemesTiles.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/ShareBranchSwitchDialog.tsx
@@ -3728,6 +3750,12 @@ msgstr "تعذّر تشغيل الاختبار. تأكد من أن OpenKnowledge
msgid "Couldn’t save changes. Try editing a color again."
msgstr "تعذّر حفظ التغييرات. حاول تعديل لون مرة أخرى."
+#. placeholder {0}: humanFormat(first.error)
+#. placeholder {0}: humanFormat(second.error)
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Couldn't save network settings — {0}"
+msgstr "تعذّر حفظ إعدادات الشبكة — {0}"
+
#: src/components/TemplateForm.tsx
msgid "Couldn't save template: {error}"
msgstr "تعذّر حفظ القالب: {error}"
@@ -4937,6 +4965,10 @@ msgstr "أدخل اسم مجلد (مثل brain)."
msgid "Enter a name for this theme."
msgstr "أدخل اسمًا لهذه السمة."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a port between 1 and 65535."
+msgstr "أدخل منفذًا بين 1 و65535."
+
#: src/components/CreateProjectDialog.tsx
msgid "Enter a project name"
msgstr "أدخل اسم مشروع"
@@ -4961,6 +4993,14 @@ msgstr "أدخل اسم سمة صالحًا."
msgid "Enter a valid URL (for example https://api.openai.com/v1)."
msgstr "أدخل رابطًا صالحًا (مثل https://api.openai.com/v1)."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a valid URL, for example https://notes.example.com"
+msgstr "أدخل عنوان URL صالحًا، على سبيل المثال https://notes.example.com"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"
+msgstr "أدخل الأصل العام الذي يخدمه النفق الخاص بك، على سبيل المثال https://notes.example.com"
+
#: src/components/McpConsentDialogBody.tsx
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
@@ -5070,6 +5110,22 @@ msgstr "استكشاف"
msgid "Explore skills"
msgstr "استكشاف المهارات"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose and restart"
+msgstr "الكشف وإعادة التشغيل"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project to the network?"
+msgstr "هل تريد كشف هذا المشروع على الشبكة؟"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project's server to a wider network through a tunnel you run (for example Tailscale). A viewer on the tunnel gets the editor and agent endpoint, editing live against this machine's server."
+msgstr "اكشف خادم هذا المشروع لشبكة أوسع عبر نفق تشغّله أنت (على سبيل المثال Tailscale). يحصل المُشاهد على النفق على المحرّر ونقطة نهاية الوكيل، ويحرّر مباشرةً مقابل خادم هذا الجهاز."
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Exposing pins a fixed port so the tunnel's target stays stable across restarts."
+msgstr "يثبّت الكشف منفذًا ثابتًا لكي يبقى هدف النفق مستقرًا عبر عمليات إعادة التشغيل."
+
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/AgentSplitButton.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -5091,6 +5147,10 @@ msgstr "معاينات الروابط الخارجية"
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "تعرض معاينات الروابط الخارجية بطاقة باسم الموقع وعنوان الصفحة ووصفها عند تمرير المؤشر فوق رابط."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "External origin"
+msgstr "الأصل الخارجي"
+
#: src/editor/extensions/WikiLinkPropPanel.tsx
msgid "External wiki link"
msgstr "رابط ويكي خارجي"
@@ -5588,6 +5648,10 @@ msgstr "إصلاح {flatId}"
msgid "Fix all with AI ({count})"
msgstr "إصلاح الكل بالذكاء الاصطناعي ({count})"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed"
+msgstr "ثابت"
+
#: src/lib/project-fix-sweep-store.ts
msgid "Fixed {total, plural, one {# file} other {# files}}."
msgstr "{total, plural, zero {لم يتم إصلاح أي ملف} one {تم إصلاح ملف واحد} two {تم إصلاح ملفين} few {تم إصلاح # ملفات} many {تم إصلاح # ملفًا} other {تم إصلاح # ملف}}."
@@ -5596,6 +5660,10 @@ msgstr "{total, plural, zero {لم يتم إصلاح أي ملف} one {تم إص
msgid "Fixed folder in content root"
msgstr "مجلد ثابت في جذر المحتوى"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed port number"
+msgstr "رقم المنفذ الثابت"
+
#. placeholder {0}: fixing.done
#. placeholder {1}: fixing.total
#: src/components/ProblemsPanel.tsx
@@ -7222,6 +7290,10 @@ msgstr "الملفات المحلية"
msgid "Local path"
msgstr "مسار محلي"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Local server port"
+msgstr "منفذ الخادم المحلي"
+
#: src/lib/install-onboarding-toast.ts
msgid "Local-only requested but no git repository was created. Switch later via Settings → Config sharing once the project is in a git repo."
msgstr "طُلب الوضع المحلي فقط، لكن لم يُنشأ أي مستودع git. يمكنك التبديل لاحقًا من الإعدادات ← مشاركة الإعدادات بعد أن يصبح المشروع داخل مستودع git."
@@ -7716,6 +7788,11 @@ msgstr "خطأ في .okignore المتداخل في {path}"
msgid "Nested fields"
msgstr "حقول متداخلة"
+#: src/components/settings/NetworkAccessSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "Network access"
+msgstr "الوصول إلى الشبكة"
+
#: src/components/FileTree.tsx
msgid "Network error - {kind} \"{createdPath}\" still exists on disk"
msgstr "خطأ في الشبكة - لا يزال {kind} «{createdPath}» موجودًا على القرص"
@@ -7733,6 +7810,10 @@ msgstr "خطأ في الشبكة (هل `ok start` يعمل؟)"
msgid "Network error during cleanup"
msgstr "خطأ في الشبكة أثناء التنظيف"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Network settings not yet loaded — try again in a moment."
+msgstr "لم يتم تحميل إعدادات الشبكة بعد — أعد المحاولة بعد لحظة."
+
#: src/components/SyncStatusBadge.tsx
msgid "never"
msgstr "أبدًا"
@@ -9466,6 +9547,10 @@ msgstr "شائع"
msgid "Popular on skills.sh"
msgstr "شائع على skills.sh"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Port {configuredPort} is in use, so the server is running on port {boundPort} instead. A tunnel forwarding to the fixed port won't reach it — free that port and apply again, or choose a different one."
+msgstr "المنفذ {configuredPort} قيد الاستخدام، لذا يعمل الخادم على المنفذ {boundPort} بدلاً منه. لن يصل النفق الموجَّه إلى المنفذ الثابت — حرِّر هذا المنفذ وطبِّق مرة أخرى، أو اختر منفذًا آخر."
+
#: src/components/settings/SettingsDialogBody.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "Preferences"
@@ -10388,6 +10473,10 @@ msgstr "تجري إعادة التشغيل"
msgid "Restarting closes this project's server. Connected agents (Claude Code, Codex, Cursor) will see their OpenKnowledge MCP connection close unexpectedly — you may need to restart the agent, or toggle its OpenKnowledge MCP server off and on, to reconnect."
msgstr "تُغلق إعادة التشغيل خادم هذا المشروع. سيرى الوكلاء المتصلون (Claude Code وCodex وCursor) اتصال MCP الخاص بـ OpenKnowledge يُغلق على نحو غير متوقع — وقد تحتاج إلى إعادة تشغيل الوكيل، أو إيقاف خادم MCP الخاص بـ OpenKnowledge ثم تشغيله، لإعادة الاتصال."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Restarting the server is only available in the desktop app."
+msgstr "إعادة تشغيل الخادم متاحة فقط في تطبيق سطح المكتب."
+
#: src/lib/install-server-drift-listener.ts
msgid "Restarting the server…"
msgstr "تجري إعادة تشغيل الخادم…"
@@ -12481,6 +12570,10 @@ msgstr "رفض المزوّد الطلب (HTTP {0}). تحقق من مفتاح AP
msgid "The provider rejected the request. Check the API key and the model id."
msgstr "رفض المزوّد الطلب. تحقق من مفتاح API ومعرّف النموذج."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The public URL your tunnel serves. The server admits requests for this host and advertises it in the URLs it issues."
+msgstr "عنوان URL العام الذي يخدمه النفق الخاص بك. يقبل الخادم الطلبات الموجّهة إلى هذا المضيف ويعلن عنه في عناوين URL التي يُصدرها."
+
#: src/components/ReportBugDialogBody.tsx
msgid "The report service couldn't be reached."
msgstr "تعذّر الوصول إلى خدمة التقارير."
@@ -12505,6 +12598,11 @@ msgstr "ملف المخطط غير موجود أو فشل تحميله — إض
msgid "the server responded but server.lock has no port yet"
msgstr "استجاب الخادم لكن server.lock لا يحتوي على منفذ بعد"
+#. placeholder {0}: origin.trim()
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The server will accept requests for {0} with no built-in authentication. Anyone who can reach your tunnel will have full control of this knowledge base — including sync, GitHub credentials, and local operations. Make sure the tunnel's edge restricts who can connect."
+msgstr "سيقبل الخادم الطلبات الموجّهة إلى {0} دون أي مصادقة مدمجة. أي شخص يمكنه الوصول إلى النفق الخاص بك سيمتلك تحكمًا كاملًا في قاعدة المعرفة هذه — بما في ذلك المزامنة وبيانات اعتماد GitHub والعمليات المحلية. تأكد من أن حافة النفق تقيّد من يمكنه الاتصال."
+
#: src/components/settings/LintingSection.tsx
msgid "The shapes of title, description, resource, and tags when you use them. None are required; declaring one only pins its type, so tags written as a comma-separated string is flagged."
msgstr "أشكال title وdescription وresource وtags عند استخدامها. لا شيء مطلوب. الإعلان عن نوع واحد فقط، لذلك يتم وضع علامة على tags المكتوب كسلسلة مفصولة بفواصل."
@@ -12957,6 +13055,10 @@ msgstr "هذا يرسل محتوى خارج جهازك"
msgid "This sends the link's address off your machine"
msgstr "هذا يرسل عنوان الرابط خارج جهازك"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "This server has no built-in authentication. Anyone who can reach the tunnel gets full control of this knowledge base — restrict access at the tunnel's edge (a Tailscale ACL, a reverse proxy with auth, or a firewall)."
+msgstr "لا يحتوي هذا الخادم على مصادقة مدمجة. أي شخص يمكنه الوصول إلى النفق يحصل على تحكم كامل في قاعدة المعرفة هذه — قيّد الوصول عند حافة النفق (قائمة تحكم ACL في Tailscale، أو وكيل عكسي مع مصادقة، أو جدار حماية)."
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "This setting is per-machine and isn't shared with collaborators."
msgstr "هذا الإعداد خاص بكل جهاز ولا يُشارك مع المتعاونين."
@@ -13632,6 +13734,10 @@ msgstr "استخدم حزمة بداية"
msgid "Use a token instead"
msgstr "استخدم رمزًا بدلًا من ذلك"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Use an http:// or https:// origin."
+msgstr "استخدم أصلًا يبدأ بـ http:// أو https://."
+
#: src/components/settings/SearchSection.tsx
msgid "Use an https:// URL — http:// is only allowed for localhost."
msgstr "استخدم رابط https:// — لا يُسمح بـ http:// إلا للمضيف المحلي."
diff --git a/packages/app/src/locales/bn/messages.json b/packages/app/src/locales/bn/messages.json
index db45b2aa9..3c179d615 100644
--- a/packages/app/src/locales/bn/messages.json
+++ b/packages/app/src/locales/bn/messages.json
@@ -119,6 +119,7 @@
"0yL--g": ["দ্বন্দ্ব পর্যালোচনা করুন"],
"0ySP5u": ["পরিবর্তনগুলি এই থিমে স্বয়ংক্রিয়ভাবে সংরক্ষিত হয়।"],
"0zAhu6": ["প্রতিটি নথি"],
+ "1-flC9": ["লোকাল সার্ভার পোর্ট"],
"10g8I_": ["কেবল markdown ফাইল বন্ধ করুন"],
"110eEb": [
"Open Knowledge Markdown ধারণকারী প্রতিটি ফোল্ডারে index.md নামের একটি নেভিগেশন ফাইল তৈরি ও রক্ষণাবেক্ষণ করে।"
@@ -189,6 +190,7 @@
"2BBAbc": ["তালিকা"],
"2C-6zf": ["পাঠানো হয়নি"],
"2CHoQv": ["জোর করে আবার লোড করুন"],
+ "2D1x3Y": ["প্রয়োগ করুন এবং প্রজেক্ট সার্ভার পুনরায় চালু করুন"],
"2FYpfJ": ["আরও"],
"2FnYUD": [
"অ্যাপ ও সিস্টেমের তথ্য, সাম্প্রতিক অ্যাপ লগ এবং প্রকল্পের সার্ভার লগ: সমস্যাটি পুনরায় ঘটাতে আমাদের যা যা দরকার।"
@@ -366,6 +368,9 @@
"56WWtu": ["স্টার্টার প্যাক লোড করা যায়নি: ", ["error"]],
"56xUL1": ["প্রপার্টির নাম"],
"57fiu8": ["(শুধু পড়ার জন্য — আপাতত সোর্স মোডে সম্পাদনা করুন)"],
+ "58ko2F": [
+ "আপনি যে টানেল চালান (উদাহরণস্বরূপ Tailscale) তার মাধ্যমে এই প্রজেক্টের সার্ভারকে একটি বৃহত্তর নেটওয়ার্কে এক্সপোজ করুন। টানেলে থাকা একজন ভিউয়ার এডিটর ও এজেন্ট এন্ডপয়েন্ট পায়, এই মেশিনের সার্ভারের বিপরীতে লাইভ সম্পাদনা করে।"
+ ],
"58qIOK": ["এই নির্বাচিত অংশে মন্তব্য করুন"],
"5ALjdr": ["খোঁজার ফিল্ড থেকে দৃশ্য-সম্পাদকের খোঁজার ফলাফলগুলোর মধ্যে চলাচল করুন।"],
"5Ajb15": ["সূত্র <0>c = √(a² + b²)</0> ইনলাইনে রেন্ডার হয়।"],
@@ -443,6 +448,9 @@
"62bOuM": ["সর্বশেষ সম্পাদনা"],
"636K3K": ["পাশের চিপ মুছুন"],
"64sesb": ["কলআউট মূল তথ্যের দিকে মনোযোগ আকর্ষণ করে।"],
+ "65Ea2s": [
+ "এক্সপোজ করলে একটি নির্দিষ্ট পোর্ট পিন হয় যাতে পুনরায় চালু হওয়ার পরেও টানেলের টার্গেট স্থিতিশীল থাকে।"
+ ],
"67Dpmh": ["স্ল্যাশ কমান্ডের প্রস্তাবনা"],
"67TEhP": [
"আপনার ব্যবহারকারী-স্তরের স্কিল ফোল্ডার — এই মেশিনের প্রতিটি প্রকল্পে পাওয়া যায়। প্রতিটি স্কিলের ইনস্টল মেনু ঠিক করে সেটি কোথায় থাকবে।"
@@ -578,6 +586,7 @@
"80c4-P": ["কোড ক্লিপবোর্ডে কপি হয়েছে"],
"81H_23": ["প্রপার্টি যোগ করুন"],
"851WA-": ["এটি Settings > AI tools & CLI-তে কনফিগার করা যায়"],
+ "87GMKe": ["এই প্রজেক্টটি নেটওয়ার্কে এক্সপোজ করবেন?"],
"881Uwh": ["নির্বাচিত টেবিল মুছুন"],
"89TtiD": ["প্রকল্পের রুটে টেমপ্লেট \"", ["displayTitle"], "\" (", ["fileName"], ") থেকে নতুন ফাইল"],
"89y7ar": [["sizeText"], " · গোপন তথ্য সরানো হয়েছে"],
@@ -606,6 +615,9 @@
"8RtNI0": ["নথি লোড করতে ব্যর্থ"],
"8SrrDi": ["নতুন রেকর্ড · আবার খেলতে স্পেস চাপুন"],
"8TvlHF": ["ক্র্যাশ ডাম্প"],
+ "8UmUyc": [
+ "আপনার টানেল যে পাবলিক URL পরিবেশন করে। সার্ভার এই হোস্টের জন্য অনুরোধ গ্রহণ করে এবং এটি যে URL জারি করে তাতে সেটি প্রচার করে।"
+ ],
"8Uv5e6": ["এজেন্ট"],
"8Vq20-": ["ওয়ার্কট্রি বদলান"],
"8Wav8y": [
@@ -929,6 +941,11 @@
["shareBranch"],
"</0>-এ আছে। আপনার কমিট না করা পরিবর্তন আছে যা এখানে বদলানো আটকায় — আপনার পরিবর্তন অক্ষত রাখতে এটি একটি ওয়ার্কট্রিতে খুলুন।"
],
+ "DTcfyN": [
+ "সার্ভার কোনো অন্তর্নির্মিত প্রমাণীকরণ ছাড়াই ",
+ ["0"],
+ "-এর জন্য অনুরোধ গ্রহণ করবে। যে কেউ আপনার টানেলে পৌঁছাতে পারে সে এই জ্ঞানভাণ্ডারের সম্পূর্ণ নিয়ন্ত্রণ পাবে — সিঙ্ক, GitHub শংসাপত্র এবং লোকাল অপারেশন সহ। নিশ্চিত করুন যে টানেলের প্রান্ত কে সংযোগ করতে পারবে তা সীমাবদ্ধ করে।"
+ ],
"DUWgfT": ["GitHub Enterprise Server-এর সঙ্গে আবার প্রমাণীকরণ করুন"],
"DUb7Ax": ["একাধিক ফাইল এই থিমের নাম ব্যবহার করে"],
"DVh_Tb": ["ট্র্যাশের পরে পরিষ্কার করতে ব্যর্থ"],
@@ -942,6 +959,7 @@
"Dd6j2Q": ["মন্তব্য দেখুন"],
"DeDYLr": ["অচেনা উইকি লিংক"],
"DgcGrb": [["fileCount", "plural", { "one": ["ফাইল"], "other": ["ফাইল"] }]],
+ "Dh11sK": ["সার্ভার পুনরায় চালু করা কেবল ডেস্কটপ অ্যাপে উপলব্ধ।"],
"DhLHEb": ["কার্যকলাপ লোড করতে ব্যর্থ"],
"DhT_PK": ["OpenKnowledge একটি স্কিল আমদানি করেছে"],
"DiFKSL": ["markdown ফাইল গণনা করা হচ্ছে"],
@@ -955,6 +973,9 @@
"DrYM2Z": ["সিঙ্ক নিষ্ক্রিয়"],
"DsDwR-": [["0", "plural", { "one": ["#", " ত্রুটি"], "other": ["#", " ত্রুটি"] }]],
"DskIkK": ["সাইন-ইন স্ট্রিম নিশ্চিতকরণ ছাড়াই শেষ হয়েছে — অনুগ্রহ করে আবার চেষ্টা করুন"],
+ "DuCPiG": [
+ "স্বয়ংক্রিয় প্রতিবার চালু হওয়ার সময় একটি ফাঁকা পোর্ট বেছে নেয়। পুনরায় চালু হওয়ার পরেও একই ঠিকানা রাখতে একটি নির্দিষ্ট পোর্ট বেছে নিন।"
+ ],
"Dub54T": [
"প্রাকদর্শন ব্রাউজার নিজে থেকে কপি করতে পারে না। উপরের URL-এ Cmd/Ctrl+C ব্যবহার করুন, নয়তো OK ডেস্কটপ অ্যাপে খুলুন।"
],
@@ -994,6 +1015,7 @@
"ENpRJV": ["বাইরের লিংকের প্রাকদর্শন"],
"EO4Dt1": [["file"], " চালু করুন"],
"EOjU5V": ["ইনলাইন গণিত প্রপার্টি"],
+ "EP8mZC": ["এক্সপোজ করুন এবং পুনরায় চালু করুন"],
"EPGePE": ["\"", ["0"], "\" হিসেবে আপলোড হয়েছে — \"", ["1"], "\" নামটি আগেই নেওয়া ছিল।"],
"EPKVES": ["আপনার সম্পাদনার উপরে \"", ["skillName"], "\" হালনাগাদ করবেন?"],
"EPwuTC": [["sizeLabel"], "-এর মধ্যে ", ["usedLabel"], " টোকেন ব্যবহৃত"],
@@ -1347,6 +1369,7 @@
"JddocZ": ["হেডার কলাম টগল করুন"],
"Jejur6": ["নথি লোড করা যায়নি"],
"JfPuv7": [["shareBranch"], " একটি বৈধ ব্রাঞ্চ নাম নয়।"],
+ "JgaVnN": ["বাহ্যিক অ্যাক্সেস অনুমোদন করুন"],
"Jhj_lh": ["লিংকের লক্ষ্য, অ্যাংকর ও প্রদর্শিত লেবেল বদলান।"],
"JhqycE": ["কোনো সাম্প্রতিক ফাইল নেই"],
"JkCD2u": ["সিঙ্ক থেমে আছে — এই রিপোজিটরিতে পুশ করার অনুমতি আপনার নেই"],
@@ -1404,6 +1427,7 @@
"KZLdgR": ["সর্বশেষ স্পেকের জন্য <0>#design-docs</0> দেখুন।"],
"K_vT1F": ["আপস্ট্রিম সিঙ্ক"],
"KaFCD3": ["এই লিংকটি নতুন ট্যাবে খুলুন এবং গ্রাফ গুটিয়ে নিন।"],
+ "Kbz9RK": ["নির্দিষ্ট পোর্ট নম্বর"],
"KeXgA-": ["সেই অংশটি খুঁজে পাওয়া যায়নি — এটি যে লেখায় ছিল তা পরিবর্তিত হয়ে থাকতে পারে।"],
"Kf7GG5": ["সার্ভার পুনরায় চালু করা হচ্ছে…"],
"Kge76t": ["সারির বিকল্প"],
@@ -1812,6 +1836,7 @@
"PrVaZo": ["OpenKnowledge সরাবেন?"],
"PrWQiT": ["Terminal ডান দিকে সরান"],
"PrhzDE": ["উপরে সরান"],
+ "Pw5PTU": ["বাহ্যিক অরিজিন"],
"Q-DKvr": [["source"], " থেকে ইনস্টল করুন"],
"Q1mtyd": ["সাইডবার লুকান"],
"Q5fqMz": ["সংযোগ ত্রুটি — আবার চেষ্টা করুন"],
@@ -1960,6 +1985,13 @@
"S48xcO": ["অপেক্ষমাণ"],
"S6eHlw": ["আগে একটি প্রকল্প খুলুন।"],
"S6l5dv": ["নতুন আইটেম তৈরি শুরু করা যায়নি"],
+ "S79zoi": [
+ "পোর্ট ",
+ ["configuredPort"],
+ " ব্যবহৃত হচ্ছে, তাই সার্ভার এর পরিবর্তে পোর্ট ",
+ ["boundPort"],
+ "-এ চলছে। ফিক্সড পোর্টের দিকে যাওয়া টানেল এতে পৌঁছাবে না — সেই পোর্টটি খালি করে আবার প্রয়োগ করুন, বা অন্যটি বেছে নিন।"
+ ],
"S9Vnum": [["patternText"], " সরান"],
"S9t1PI": [["0"], "/", ["1"], " ঠিক করা হচ্ছে"],
"SCoBBH": ["ট্যাগের পরামর্শ"],
@@ -2029,6 +2061,7 @@
"TKQ7K-": ["ইনস্টল করুন"],
"TLIO3j": ["তির্যক বিন্যাস চালু বা বন্ধ করুন।"],
"TMLAx2": ["আবশ্যক"],
+ "TNKAIS": ["প্রয়োগ করলে এই প্রজেক্টের সার্ভার পুনরায় চালু হয়।"],
"TQJCR6": [["0", "plural", { "one": ["#", " ফলাফল"], "other": ["#", " ফলাফল"] }]],
"TTDXD8": ["নতুন ওয়ার্কট্রি…"],
"TUzThQ": ["স্কিল ভাগ করুন"],
@@ -2046,6 +2079,7 @@
"Tjc1pH": ["বিভাগ <0>(ঐচ্ছিক শিরোনাম অ্যাংকর)</0>"],
"Tn5sik": ["এজেন্টদের জানায় এই স্কিলটি কখন কাজে লাগাতে হবে। আপনি পরে এটি সম্পাদনা করতে পারবেন।"],
"Tofsyo": ["Terminal নিচে সরান"],
+ "TpqW74": ["নির্দিষ্ট"],
"Tq3pcs": ["আমারটি রাখুন"],
"Tq9kNX": ["কোনো খোলা চ্যাট নেই। আগেরটি আবার খুলুন, বা + বোতাম দিয়ে নতুন একটি শুরু করুন।"],
"TsZmgr": ["ডিস্কের ফাইলটি, এবং এজেন্টরা যে id ব্যবহার করে।"],
@@ -2765,6 +2799,7 @@
"cuA8QW": ["স্পেক সাজান"],
"cuHhjo": ["তৈরি ও সম্পাদনা"],
"d-GtJt": ["উৎস Markdown-এ দেখুন"],
+ "d02jS3": ["নেটওয়ার্ক অ্যাক্সেস"],
"d1JjXo": [
"ব্রাঞ্চ <0>",
["branch"],
@@ -3996,6 +4031,7 @@
"u5Utjn": [["0"], "-এর ", ["1"], " দরকার"],
"u5hSeG": ["মতামত ভাগ করুন"],
"u6Hp4N": ["Markdown"],
+ "u779EG": ["একটি http:// বা https:// অরিজিন ব্যবহার করুন।"],
"u7H-Wn": ["প্যানেল দেখান (", ["panelShortcutLabel"], ")"],
"u7U_Ij": ["নির্বাচিত লেখাটি লিংক করুন, বা কার্সরের নিচের লিংকটি সম্পাদনা করুন।"],
"uA_jXp": ["ব্রাঞ্চ বদলে হালনাগাদ করুন"],
@@ -4004,6 +4040,7 @@
"uDlyqd": [
"এই রিপোজিটরির স্থাপত্য নথিভুক্ত করুন: একটি সংক্ষিপ্তসার পাতা তৈরি করুন যা প্রতিটি প্রধান মডিউলের পাতার সঙ্গে যুক্ত থাকে এবং তার দায়িত্ব ও প্রবেশবিন্দু বর্ণনা করে।"
],
+ "uDzLV-": ["একটি বৈধ URL লিখুন, উদাহরণস্বরূপ https://notes.example.com"],
"uF82hk": ["ছেঁকে দেখা হচ্ছে…"],
"uF9ruK": ["সংরক্ষণ করা হচ্ছে"],
"uFQbYd": ["মূল পাতা ও প্রবেশবিন্দু।"],
@@ -4061,6 +4098,9 @@
"um-es7": ["সম্পাদকটি পাঠান একটি"],
"un-K1H": ["এই কম্পিউটারেই থাকে। git-এ কমিট হয় না।"],
"un8kBM": ["পাতা তৈরি করা হচ্ছে: ", ["linkTitle"], "।"],
+ "unmCLE": [
+ "এই সার্ভারে কোনো অন্তর্নির্মিত প্রমাণীকরণ নেই। যে কেউ টানেলে পৌঁছাতে পারে সে এই জ্ঞানভাণ্ডারের সম্পূর্ণ নিয়ন্ত্রণ পায় — টানেলের প্রান্তে অ্যাক্সেস সীমাবদ্ধ করুন (একটি Tailscale ACL, প্রমাণীকরণ সহ একটি রিভার্স প্রক্সি, বা একটি ফায়ারওয়াল)।"
+ ],
"uoJF_D": ["এটি সেট আপ করা বা শুরু করা খুব কঠিন ছিল"],
"ur2XSb": ["দৃশ্য সম্পাদক"],
"uuoHOU": ["কমান্ড ব্যর্থ।"],
@@ -4176,6 +4216,7 @@
"wTcjov": ["কোনো ওয়ার্কস্পেস নেই"],
"wU8WyK": ["উপাদান ফিল্ড"],
"wVa83H": ["রিপোর্ট তৈরি করা যায়নি"],
+ "wWtVYd": ["১ থেকে ৬৫৫৩৫-এর মধ্যে একটি পোর্ট লিখুন।"],
"wXO4Tg": [["hrs"], " ঘণ্টা আগে"],
"wXw19Y": ["\"", ["projectName"], "\"-কে সাম্প্রতিক প্রকল্প থেকে সরানো হয়েছে। এর ফোল্ডারটি আর নেই।"],
"wZPUJx": ["“", ["0"], "”"],
@@ -4185,6 +4226,7 @@
"wbv9xO": ["নতুন প্রকল্প তৈরি করুন"],
"wc54KE": ["চেষ্টা করে দেখা হচ্ছে…"],
"wcfO9r": ["এখনও কোনো বাগ রিপোর্ট নেই।"],
+ "wdRxTD": ["প্রয়োগ করা হচ্ছে…"],
"wdxz7K": ["উৎস"],
"wdzBgi": ["কনফিগ ভাগাভাগি এখন শুধু আমার।"],
"weP6me": ["নথি লোড করা যায়নি — আবার চেষ্টা করতে @ আবার লিখুন"],
@@ -4233,6 +4275,7 @@
"xV5sXw": [["0"], " সপ্তাহ আগে"],
"xWEvuo": ["AI-কে জিজ্ঞেস করুন"],
"xWomUD": [["editor"], " সংস্করণ ব্যবহার করুন"],
+ "xXn6KB": ["নেটওয়ার্ক সেটিংস সংরক্ষণ করা যায়নি — ", ["0"]],
"xXo8FT": ["সংরক্ষণ ব্যর্থ: ", ["error"]],
"xYMPyY": [
"পেস্ট অসম্পূর্ণ ছিল — ",
@@ -4333,6 +4376,7 @@
"ylXj1N": ["নির্বাচিত"],
"ymWJLd": ["আরও ", ["0"], "টি দেখান"],
"ynIa4S": ["দৃশ্য সম্পাদকের তালিকা আইটেম"],
+ "yopUSw": ["নেটওয়ার্ক সেটিংস এখনও লোড হয়নি — কিছুক্ষণ পরে আবার চেষ্টা করুন।"],
"ypw6My": ["শীর্ষ ", ["0"], "টি শিরোনাম দেখানো হচ্ছে — সংকীর্ণ করতে লিখতে থাকুন"],
"ysxgu8": ["প্রকল্প"],
"yutJKi": ["চেকবক্সসহ চেকলিস্ট।"],
@@ -4361,6 +4405,7 @@
"zAsDLY": ["নথির লিংকের গ্রাফ চিত্রায়ণ"],
"zBUqvf": ["OpenKnowledge সংযুক্তি সেট আপ করুন…"],
"zD1Nqf": [["count", "plural", { "one": ["#", " টি নথি"], "other": ["#", " টি নথি"] }]],
+ "zHsZcU": ["আপনার টানেল যে পাবলিক অরিজিন পরিবেশন করে তা লিখুন, উদাহরণস্বরূপ https://notes.example.com"],
"zJL34S": ["নতুন Terminal উইন্ডো"],
"zKxoPm": ["\"", ["0"], "\"-এর নাম বদলানো যায়নি: ", ["1"]],
"zL0LPh": ["লেখার ফিল্ডের বাইরে বৈশ্বিক"],
diff --git a/packages/app/src/locales/bn/messages.po b/packages/app/src/locales/bn/messages.po
index ea3d7501c..b14ff01ba 100644
--- a/packages/app/src/locales/bn/messages.po
+++ b/packages/app/src/locales/bn/messages.po
@@ -1520,6 +1520,10 @@ msgstr "সব হাংক মীমাংসিত"
msgid "All tags"
msgstr "সব ট্যাগ"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Allow external access"
+msgstr "বাহ্যিক অ্যাক্সেস অনুমোদন করুন"
+
#: src/components/settings/frontmatter-schema-field-editor.tsx
msgid "Allowed element values (empty = any)"
msgstr "অনুমোদিত উপাদান মান (খালি = যেকোনো)"
@@ -1659,14 +1663,26 @@ msgstr "যার ক্ষেত্রে প্রযোজ্য (গ্ল
msgid "Applies to all projects on this machine. Claude and Codex, started from the built-in terminal, 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. Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
msgstr "এই মেশিনের সব প্রকল্পে প্রযোজ্য। নিজস্ব টার্মিনাল থেকে চালু করা Claude ও Codex, OpenKnowledge-এর পড়া ও লেখার টুল স্বয়ংক্রিয়ভাবে অনুমোদন করে (Claude \"ok open\"-ও নিজে থেকে চালায়)। স্কিল মোছা, সরানো, ভাগ করা, আমদানি করা বা ইনস্টল করা, অন্য কমান্ড, এবং OpenKnowledge-বহির্ভূত ফাইল সম্পাদনা এখনও জিজ্ঞেস করে। Cursor, OpenCode ও Pi অপ্রভাবিত। প্রতিটি এজেন্টের ক্ষেত্রে যথাসাধ্য।"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Apply and restart project server"
+msgstr "প্রয়োগ করুন এবং প্রজেক্ট সার্ভার পুনরায় চালু করুন"
+
#: src/editor/bubble-menu/LinkEditPopover.tsx
msgid "Apply link"
msgstr "লিংক প্রয়োগ করুন"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying restarts this project's server."
+msgstr "প্রয়োগ করলে এই প্রজেক্টের সার্ভার পুনরায় চালু হয়।"
+
#: src/components/settings/SearchSection.tsx
msgid "Applying your change"
msgstr "আপনার পরিবর্তন প্রয়োগ করা হচ্ছে"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying…"
+msgstr "প্রয়োগ করা হচ্ছে…"
+
#: src/components/acp/ThreadView.tsx
msgid "Approved"
msgstr "অনুমোদিত"
@@ -1874,9 +1890,14 @@ msgstr "\"{name}\"-এর জন্য স্বয়ংক্রিয় হ
#. Section label for the automatic, one-click install path
#: src/components/InstallInClaudeDesktopDialog.tsx
+#: src/components/settings/NetworkAccessSection.tsx
msgid "Automatic"
msgstr "স্বয়ংক্রিয়"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
+msgstr "স্বয়ংক্রিয় প্রতিবার চালু হওয়ার সময় একটি ফাঁকা পোর্ট বেছে নেয়। পুনরায় চালু হওয়ার পরেও একই ঠিকানা রাখতে একটি নির্দিষ্ট পোর্ট বেছে নিন।"
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "উপলব্ধ"
@@ -2181,6 +2202,7 @@ msgstr "এই পাথ শেয়ার করা যাচ্ছে না
#: src/components/SeedDialog.tsx
#: src/components/settings/LinkPreviewsSection.tsx
#: src/components/settings/LintingSection.tsx
+#: src/components/settings/NetworkAccessSection.tsx
#: src/components/settings/SavedThemesTiles.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/ShareBranchSwitchDialog.tsx
@@ -3724,6 +3746,12 @@ msgstr "পরীক্ষা চালানো যায়নি। OpenKnowl
msgid "Couldn’t save changes. Try editing a color again."
msgstr "পরিবর্তনগুলি সংরক্ষণ করা যায়নি। একটি রং আবার সম্পাদনা করে দেখুন।"
+#. placeholder {0}: humanFormat(first.error)
+#. placeholder {0}: humanFormat(second.error)
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Couldn't save network settings — {0}"
+msgstr "নেটওয়ার্ক সেটিংস সংরক্ষণ করা যায়নি — {0}"
+
#: src/components/TemplateForm.tsx
msgid "Couldn't save template: {error}"
msgstr "টেমপ্লেট সংরক্ষণ করা যায়নি: {error}"
@@ -4933,6 +4961,10 @@ msgstr "একটি ফোল্ডারের নাম দিন (যেম
msgid "Enter a name for this theme."
msgstr "এই থিমের জন্য একটি নাম লিখুন।"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a port between 1 and 65535."
+msgstr "১ থেকে ৬৫৫৩৫-এর মধ্যে একটি পোর্ট লিখুন।"
+
#: src/components/CreateProjectDialog.tsx
msgid "Enter a project name"
msgstr "একটি প্রকল্পের নাম দিন"
@@ -4957,6 +4989,14 @@ msgstr "একটি বৈধ থিমের নাম লিখুন।"
msgid "Enter a valid URL (for example https://api.openai.com/v1)."
msgstr "একটি বৈধ URL দিন (উদাহরণস্বরূপ https://api.openai.com/v1)।"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a valid URL, for example https://notes.example.com"
+msgstr "একটি বৈধ URL লিখুন, উদাহরণস্বরূপ https://notes.example.com"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"
+msgstr "আপনার টানেল যে পাবলিক অরিজিন পরিবেশন করে তা লিখুন, উদাহরণস্বরূপ https://notes.example.com"
+
#: src/components/McpConsentDialogBody.tsx
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
@@ -5066,6 +5106,22 @@ msgstr "ঘুরে দেখুন"
msgid "Explore skills"
msgstr "স্কিল ঘুরে দেখুন"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose and restart"
+msgstr "এক্সপোজ করুন এবং পুনরায় চালু করুন"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project to the network?"
+msgstr "এই প্রজেক্টটি নেটওয়ার্কে এক্সপোজ করবেন?"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project's server to a wider network through a tunnel you run (for example Tailscale). A viewer on the tunnel gets the editor and agent endpoint, editing live against this machine's server."
+msgstr "আপনি যে টানেল চালান (উদাহরণস্বরূপ Tailscale) তার মাধ্যমে এই প্রজেক্টের সার্ভারকে একটি বৃহত্তর নেটওয়ার্কে এক্সপোজ করুন। টানেলে থাকা একজন ভিউয়ার এডিটর ও এজেন্ট এন্ডপয়েন্ট পায়, এই মেশিনের সার্ভারের বিপরীতে লাইভ সম্পাদনা করে।"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Exposing pins a fixed port so the tunnel's target stays stable across restarts."
+msgstr "এক্সপোজ করলে একটি নির্দিষ্ট পোর্ট পিন হয় যাতে পুনরায় চালু হওয়ার পরেও টানেলের টার্গেট স্থিতিশীল থাকে।"
+
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/AgentSplitButton.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -5087,6 +5143,10 @@ msgstr "বাইরের লিংকের প্রাকদর্শন"
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "আপনি কোনো লিংকের উপর মাউস নিলে বাইরের লিংকের প্রাকদর্শন সাইটের নাম, পাতার শিরোনাম ও বিবরণসহ একটি কার্ড দেখায়।"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "External origin"
+msgstr "বাহ্যিক অরিজিন"
+
#: src/editor/extensions/WikiLinkPropPanel.tsx
msgid "External wiki link"
msgstr "বাইরের উইকি লিংক"
@@ -5584,6 +5644,10 @@ msgstr "{flatId} ঠিক করুন"
msgid "Fix all with AI ({count})"
msgstr "AI দিয়ে সব ঠিক করুন ({count})"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed"
+msgstr "নির্দিষ্ট"
+
#: src/lib/project-fix-sweep-store.ts
msgid "Fixed {total, plural, one {# file} other {# files}}."
msgstr "{total, plural, one {# টি ফাইল ঠিক করা হয়েছে} other {# টি ফাইল ঠিক করা হয়েছে}}।"
@@ -5592,6 +5656,10 @@ msgstr "{total, plural, one {# টি ফাইল ঠিক করা হয়
msgid "Fixed folder in content root"
msgstr "বিষয়বস্তুর রুটে নির্দিষ্ট ফোল্ডার"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed port number"
+msgstr "নির্দিষ্ট পোর্ট নম্বর"
+
#. placeholder {0}: fixing.done
#. placeholder {1}: fixing.total
#: src/components/ProblemsPanel.tsx
@@ -7218,6 +7286,10 @@ msgstr "স্থানীয় ফাইল"
msgid "Local path"
msgstr "স্থানীয় পথ"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Local server port"
+msgstr "লোকাল সার্ভার পোর্ট"
+
#: src/lib/install-onboarding-toast.ts
msgid "Local-only requested but no git repository was created. Switch later via Settings → Config sharing once the project is in a git repo."
msgstr "শুধু-স্থানীয় চাওয়া হয়েছিল, কিন্তু কোনো git রিপোজিটরি তৈরি হয়নি। প্রকল্পটি git রিপোজিটরিতে এলে সেটিংস → কনফিগ শেয়ারিং থেকে পরে বদলে নিতে পারবেন।"
@@ -7712,6 +7784,11 @@ msgstr "{path}-এ নেস্টেড .okignore ত্রুটি"
msgid "Nested fields"
msgstr "নেস্টেড ফিল্ড"
+#: src/components/settings/NetworkAccessSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "Network access"
+msgstr "নেটওয়ার্ক অ্যাক্সেস"
+
#: src/components/FileTree.tsx
msgid "Network error - {kind} \"{createdPath}\" still exists on disk"
msgstr "নেটওয়ার্ক ত্রুটি - {kind} \"{createdPath}\" এখনও ডিস্কে আছে"
@@ -7729,6 +7806,10 @@ msgstr "নেটওয়ার্ক ত্রুটি (`ok start` কি চ
msgid "Network error during cleanup"
msgstr "পরিষ্কারের সময় নেটওয়ার্ক ত্রুটি"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Network settings not yet loaded — try again in a moment."
+msgstr "নেটওয়ার্ক সেটিংস এখনও লোড হয়নি — কিছুক্ষণ পরে আবার চেষ্টা করুন।"
+
#: src/components/SyncStatusBadge.tsx
msgid "never"
msgstr "কখনও নয়"
@@ -9462,6 +9543,10 @@ msgstr "জনপ্রিয়"
msgid "Popular on skills.sh"
msgstr "skills.sh-এ জনপ্রিয়"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Port {configuredPort} is in use, so the server is running on port {boundPort} instead. A tunnel forwarding to the fixed port won't reach it — free that port and apply again, or choose a different one."
+msgstr "পোর্ট {configuredPort} ব্যবহৃত হচ্ছে, তাই সার্ভার এর পরিবর্তে পোর্ট {boundPort}-এ চলছে। ফিক্সড পোর্টের দিকে যাওয়া টানেল এতে পৌঁছাবে না — সেই পোর্টটি খালি করে আবার প্রয়োগ করুন, বা অন্যটি বেছে নিন।"
+
#: src/components/settings/SettingsDialogBody.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "Preferences"
@@ -10384,6 +10469,10 @@ msgstr "পুনরায় চালু করা হচ্ছে"
msgid "Restarting closes this project's server. Connected agents (Claude Code, Codex, Cursor) will see their OpenKnowledge MCP connection close unexpectedly — you may need to restart the agent, or toggle its OpenKnowledge MCP server off and on, to reconnect."
msgstr "পুনরায় চালু করলে এই প্রকল্পের সার্ভার বন্ধ হয়ে যায়। যুক্ত এজেন্টরা (Claude Code, Codex, Cursor) তাদের OpenKnowledge MCP সংযোগ অপ্রত্যাশিতভাবে বন্ধ হতে দেখবে — আবার যুক্ত হতে আপনাকে এজেন্টটি পুনরায় চালু করতে হতে পারে, নয়তো তার OpenKnowledge MCP সার্ভার বন্ধ করে আবার চালু করতে হতে পারে।"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Restarting the server is only available in the desktop app."
+msgstr "সার্ভার পুনরায় চালু করা কেবল ডেস্কটপ অ্যাপে উপলব্ধ।"
+
#: src/lib/install-server-drift-listener.ts
msgid "Restarting the server…"
msgstr "সার্ভার পুনরায় চালু করা হচ্ছে…"
@@ -12477,6 +12566,10 @@ msgstr "সরবরাহকারী অনুরোধটি প্রত্
msgid "The provider rejected the request. Check the API key and the model id."
msgstr "সরবরাহকারী অনুরোধটি প্রত্যাখ্যান করেছে। API কী ও মডেল id দেখুন।"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The public URL your tunnel serves. The server admits requests for this host and advertises it in the URLs it issues."
+msgstr "আপনার টানেল যে পাবলিক URL পরিবেশন করে। সার্ভার এই হোস্টের জন্য অনুরোধ গ্রহণ করে এবং এটি যে URL জারি করে তাতে সেটি প্রচার করে।"
+
#: src/components/ReportBugDialogBody.tsx
msgid "The report service couldn't be reached."
msgstr "রিপোর্ট সেবার নাগাল পাওয়া যায়নি।"
@@ -12501,6 +12594,11 @@ msgstr "স্কিমা ফাইলটি নেই বা লোড কর
msgid "the server responded but server.lock has no port yet"
msgstr "সার্ভার সাড়া দিয়েছে কিন্তু server.lock-এ এখনো কোনো পোর্ট নেই"
+#. placeholder {0}: origin.trim()
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The server will accept requests for {0} with no built-in authentication. Anyone who can reach your tunnel will have full control of this knowledge base — including sync, GitHub credentials, and local operations. Make sure the tunnel's edge restricts who can connect."
+msgstr "সার্ভার কোনো অন্তর্নির্মিত প্রমাণীকরণ ছাড়াই {0}-এর জন্য অনুরোধ গ্রহণ করবে। যে কেউ আপনার টানেলে পৌঁছাতে পারে সে এই জ্ঞানভাণ্ডারের সম্পূর্ণ নিয়ন্ত্রণ পাবে — সিঙ্ক, GitHub শংসাপত্র এবং লোকাল অপারেশন সহ। নিশ্চিত করুন যে টানেলের প্রান্ত কে সংযোগ করতে পারবে তা সীমাবদ্ধ করে।"
+
#: src/components/settings/LintingSection.tsx
msgid "The shapes of title, description, resource, and tags when you use them. None are required; declaring one only pins its type, so tags written as a comma-separated string is flagged."
msgstr "title, description, resource, এবং tags এর আকার আপনি যখন ব্যবহার করেন। কোনটির প্রয়োজন নেই; একটি ঘোষণা করলে শুধুমাত্র তার টাইপ পিন হয়, তাই tags একটি কমা-বিচ্ছিন্ন স্ট্রিং হিসাবে ফ্ল্যাগ করা হয়।"
@@ -12953,6 +13051,10 @@ msgstr "এটি বিষয়বস্তু আপনার মেশিন
msgid "This sends the link's address off your machine"
msgstr "এটি লিংকের ঠিকানা আপনার মেশিনের বাইরে পাঠায়"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "This server has no built-in authentication. Anyone who can reach the tunnel gets full control of this knowledge base — restrict access at the tunnel's edge (a Tailscale ACL, a reverse proxy with auth, or a firewall)."
+msgstr "এই সার্ভারে কোনো অন্তর্নির্মিত প্রমাণীকরণ নেই। যে কেউ টানেলে পৌঁছাতে পারে সে এই জ্ঞানভাণ্ডারের সম্পূর্ণ নিয়ন্ত্রণ পায় — টানেলের প্রান্তে অ্যাক্সেস সীমাবদ্ধ করুন (একটি Tailscale ACL, প্রমাণীকরণ সহ একটি রিভার্স প্রক্সি, বা একটি ফায়ারওয়াল)।"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "This setting is per-machine and isn't shared with collaborators."
msgstr "এই সেটিংটি প্রতি-মেশিন ভিত্তিক এবং সহযোগীদের সঙ্গে ভাগ করা হয় না।"
@@ -13628,6 +13730,10 @@ msgstr "একটি স্টার্টার প্যাক ব্যবহ
msgid "Use a token instead"
msgstr "বদলে একটি টোকেন ব্যবহার করুন"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Use an http:// or https:// origin."
+msgstr "একটি http:// বা https:// অরিজিন ব্যবহার করুন।"
+
#: src/components/settings/SearchSection.tsx
msgid "Use an https:// URL — http:// is only allowed for localhost."
msgstr "একটি https:// URL ব্যবহার করুন — http:// কেবল localhost-এর জন্য অনুমোদিত।"
diff --git a/packages/app/src/locales/en/messages.json b/packages/app/src/locales/en/messages.json
index 7d0b2c748..39f3384f3 100644
--- a/packages/app/src/locales/en/messages.json
+++ b/packages/app/src/locales/en/messages.json
@@ -123,6 +123,7 @@
"0yL--g": ["Review conflicts"],
"0ySP5u": ["Changes save automatically to this theme."],
"0zAhu6": ["every doc"],
+ "1-flC9": ["Local server port"],
"10g8I_": ["Turn off Only markdown files"],
"110eEb": [
"Open Knowledge creates and maintains a navigation file named index.md in every folder that contains Markdown."
@@ -193,6 +194,7 @@
"2BBAbc": ["List"],
"2C-6zf": ["Not sent"],
"2CHoQv": ["Force Reload"],
+ "2D1x3Y": ["Apply and restart project server"],
"2FYpfJ": ["More"],
"2FnYUD": [
"App & system info, recent app logs, and project server logs: the essentials we need to reproduce the issue."
@@ -375,6 +377,9 @@
"56WWtu": ["Couldn't load starter packs: ", ["error"]],
"56xUL1": ["Property name"],
"57fiu8": ["(read-only — edit in source mode for now)"],
+ "58ko2F": [
+ "Expose this project's server to a wider network through a tunnel you run (for example Tailscale). A viewer on the tunnel gets the editor and agent endpoint, editing live against this machine's server."
+ ],
"58qIOK": ["Comment on this selection"],
"5ALjdr": ["Move through visual-editor find results from the find field."],
"5Ajb15": ["The formula <0>c = √(a² + b²)</0> renders inline."],
@@ -452,6 +457,7 @@
"62bOuM": ["Latest edit"],
"636K3K": ["Delete adjacent chip"],
"64sesb": ["Callouts draw attention to key information."],
+ "65Ea2s": ["Exposing pins a fixed port so the tunnel's target stays stable across restarts."],
"67Dpmh": ["Slash command suggestions"],
"67TEhP": [
"Your user-level skill folders — available in every project on this machine. Each skill's install menu controls where it lives."
@@ -593,6 +599,7 @@
"80c4-P": ["Code copied to clipboard"],
"81H_23": ["Add properties"],
"851WA-": ["This can be configured in Settings > AI tools & CLI"],
+ "87GMKe": ["Expose this project to the network?"],
"881Uwh": ["Delete selected table"],
"89TtiD": [
"New file from template \"",
@@ -627,6 +634,9 @@
"8RtNI0": ["Failed to load documents"],
"8SrrDi": ["New best · press space to play again"],
"8TvlHF": ["Crash dump"],
+ "8UmUyc": [
+ "The public URL your tunnel serves. The server admits requests for this host and advertises it in the URLs it issues."
+ ],
"8Uv5e6": ["Agents"],
"8Vq20-": ["Switch worktree"],
"8Wav8y": [
@@ -961,6 +971,11 @@
["shareBranch"],
"</0>. You have uncommitted changes that prevent switching here — open it in a worktree to leave your changes untouched."
],
+ "DTcfyN": [
+ "The server will accept requests for ",
+ ["0"],
+ " with no built-in authentication. Anyone who can reach your tunnel will have full control of this knowledge base — including sync, GitHub credentials, and local operations. Make sure the tunnel's edge restricts who can connect."
+ ],
"DUWgfT": ["Re-authenticate with GitHub Enterprise Server"],
"DUb7Ax": ["Multiple files use this theme name"],
"DVh_Tb": ["Failed to clean up after trash"],
@@ -974,6 +989,7 @@
"Dd6j2Q": ["View comments"],
"DeDYLr": ["Unrecognized wiki link"],
"DgcGrb": [["fileCount", "plural", { "one": ["file"], "other": ["files"] }]],
+ "Dh11sK": ["Restarting the server is only available in the desktop app."],
"DhLHEb": ["Failed to load activity"],
"DhT_PK": ["OpenKnowledge imported a skill"],
"DiFKSL": ["Counting markdown files"],
@@ -987,6 +1003,9 @@
"DrYM2Z": ["Sync disabled"],
"DsDwR-": [["0", "plural", { "one": ["#", " error"], "other": ["#", " errors"] }]],
"DskIkK": ["Sign-in stream ended without confirmation — please try again"],
+ "DuCPiG": [
+ "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
+ ],
"Dub54T": [
"Preview browsers can't auto-copy. Use Cmd/Ctrl+C on the URL above, or open OK in the desktop app."
],
@@ -1028,6 +1047,7 @@
"ENpRJV": ["External link previews"],
"EO4Dt1": ["Enable ", ["file"]],
"EOjU5V": ["Inline Math Properties"],
+ "EP8mZC": ["Expose and restart"],
"EPGePE": ["Uploaded as \"", ["0"], "\" — the name \"", ["1"], "\" was taken."],
"EPKVES": ["Update \"", ["skillName"], "\" over your edits?"],
"EPwuTC": [["usedLabel"], " / ", ["sizeLabel"], " tokens used"],
@@ -1388,6 +1408,7 @@
"JddocZ": ["Toggle header column"],
"Jejur6": ["Couldn't load document"],
"JfPuv7": [["shareBranch"], " isn't a valid branch name."],
+ "JgaVnN": ["Allow external access"],
"Jhj_lh": ["Modify the link target, anchor, and display label."],
"JhqycE": ["No recent files"],
"JkCD2u": ["Sync paused — you don't have permission to push to this repo"],
@@ -1447,6 +1468,7 @@
"KZLdgR": ["See <0>#design-docs</0> for the latest specs."],
"K_vT1F": ["Upstream sync"],
"KaFCD3": ["Open this link in a new tab and collapse the graph."],
+ "Kbz9RK": ["Fixed port number"],
"KeXgA-": ["Couldn't find that passage — the text it was on may have changed."],
"Kf7GG5": ["Restarting the server…"],
"Kge76t": ["Row options"],
@@ -1860,6 +1882,7 @@
"PrVaZo": ["Uninstall OpenKnowledge?"],
"PrWQiT": ["Move Terminal to right"],
"PrhzDE": ["Pan up"],
+ "Pw5PTU": ["External origin"],
"Q-DKvr": ["Install from ", ["source"]],
"Q1mtyd": ["Hide sidebar"],
"Q5fqMz": ["Connection error — try again"],
@@ -2008,6 +2031,13 @@
"S48xcO": ["pending"],
"S6eHlw": ["Open a project first."],
"S6l5dv": ["Could not start creating a new item"],
+ "S79zoi": [
+ "Port ",
+ ["configuredPort"],
+ " is in use, so the server is running on port ",
+ ["boundPort"],
+ " instead. A tunnel forwarding to the fixed port won't reach it — free that port and apply again, or choose a different one."
+ ],
"S9Vnum": ["Remove ", ["patternText"]],
"S9t1PI": ["Fixing ", ["0"], "/", ["1"]],
"SCoBBH": ["Tag suggestions"],
@@ -2074,6 +2104,7 @@
"TKQ7K-": ["Install"],
"TLIO3j": ["Toggle italic formatting."],
"TMLAx2": ["Required"],
+ "TNKAIS": ["Applying restarts this project's server."],
"TQJCR6": [["0", "plural", { "one": ["#", " result"], "other": ["#", " results"] }]],
"TTDXD8": ["New worktree…"],
"TUzThQ": ["Share skills"],
@@ -2093,6 +2124,7 @@
"Tjc1pH": ["Section <0>(optional heading anchor)</0>"],
"Tn5sik": ["Tells agents when to reach for this skill. You can edit it later."],
"Tofsyo": ["Move Terminal to bottom"],
+ "TpqW74": ["Fixed"],
"Tq3pcs": ["Keep mine"],
"Tq9kNX": ["No open chats. Reopen a past one, or start a new one with the + button."],
"TsZmgr": ["The file on disk, and the id agents use."],
@@ -2829,6 +2861,7 @@
"cuA8QW": ["Organize specs"],
"cuHhjo": ["Create & edit"],
"d-GtJt": ["View in Source Markdown"],
+ "d02jS3": ["Network access"],
"d1JjXo": [
"Your local copy of branch <0>",
["branch"],
@@ -4129,6 +4162,7 @@
"u5Utjn": [["0"], " needs ", ["1"]],
"u5hSeG": ["Share feedback"],
"u6Hp4N": ["Markdown"],
+ "u779EG": ["Use an http:// or https:// origin."],
"u7H-Wn": ["Show panel (", ["panelShortcutLabel"], ")"],
"u7U_Ij": ["Link the selected text, or edit the link under the caret."],
"uA_jXp": ["Switch and update branch"],
@@ -4137,6 +4171,7 @@
"uDlyqd": [
"Document the architecture of this repo: create an overview page that links to a page per major module describing its responsibilities and entry points."
],
+ "uDzLV-": ["Enter a valid URL, for example https://notes.example.com"],
"uF82hk": ["Percolating…"],
"uF9ruK": ["Saving"],
"uFQbYd": ["Home page and entry point."],
@@ -4196,6 +4231,9 @@
"um-es7": ["Ship the editor with a"],
"un-K1H": ["Stays on this computer. Not committed to git."],
"un8kBM": ["Creating page: ", ["linkTitle"], "."],
+ "unmCLE": [
+ "This server has no built-in authentication. Anyone who can reach the tunnel gets full control of this knowledge base — restrict access at the tunnel's edge (a Tailscale ACL, a reverse proxy with auth, or a firewall)."
+ ],
"uoJF_D": ["It was too hard to set up or get started"],
"ur2XSb": ["Visual editor"],
"uuoHOU": ["Command failed."],
@@ -4317,6 +4355,7 @@
"wTcjov": ["No workspace"],
"wU8WyK": ["Element fields"],
"wVa83H": ["Couldn't create the report"],
+ "wWtVYd": ["Enter a port between 1 and 65535."],
"wXO4Tg": [["hrs"], "h ago"],
"wXw19Y": [
"Removed \"",
@@ -4330,6 +4369,7 @@
"wbv9xO": ["Create new project"],
"wc54KE": ["Trying it out…"],
"wcfO9r": ["No bug reports yet."],
+ "wdRxTD": ["Applying…"],
"wdxz7K": ["Source"],
"wdzBgi": ["Config sharing is now Only me."],
"weP6me": ["Couldn't load docs — type @ again to retry"],
@@ -4380,6 +4420,7 @@
"xV5sXw": [["0"], "w ago"],
"xWEvuo": ["Ask AI"],
"xWomUD": ["Use ", ["editor"], " version"],
+ "xXn6KB": ["Couldn't save network settings — ", ["0"]],
"xXo8FT": ["Save failed: ", ["error"]],
"xYMPyY": [
"Paste was incomplete — ",
@@ -4485,6 +4526,7 @@
"ylXj1N": ["Selected"],
"ymWJLd": ["Show ", ["0"], " more"],
"ynIa4S": ["Visual editor list item"],
+ "yopUSw": ["Network settings not yet loaded — try again in a moment."],
"ypw6My": ["Showing top ", ["0"], " headings — keep typing to narrow"],
"ysxgu8": ["project"],
"yutJKi": ["Checklist with checkboxes."],
@@ -4513,6 +4555,7 @@
"zAsDLY": ["Graph visualization of document links"],
"zBUqvf": ["Set up OpenKnowledge integrations…"],
"zD1Nqf": [["count", "plural", { "one": ["#", " doc"], "other": ["#", " docs"] }]],
+ "zHsZcU": ["Enter the public origin your tunnel serves, for example https://notes.example.com"],
"zJL34S": ["New Terminal Window"],
"zKxoPm": ["Couldn't rename \"", ["0"], "\": ", ["1"]],
"zL0LPh": ["Global outside text fields"],
diff --git a/packages/app/src/locales/en/messages.po b/packages/app/src/locales/en/messages.po
index 492b41271..ebe5cdd59 100644
--- a/packages/app/src/locales/en/messages.po
+++ b/packages/app/src/locales/en/messages.po
@@ -1524,6 +1524,10 @@ msgstr "All hunks resolved"
msgid "All tags"
msgstr "All tags"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Allow external access"
+msgstr "Allow external access"
+
#: src/components/settings/frontmatter-schema-field-editor.tsx
msgid "Allowed element values (empty = any)"
msgstr "Allowed element values (empty = any)"
@@ -1663,14 +1667,26 @@ msgstr "Applies to (globs — leading ! excludes; empty means every doc)"
msgid "Applies to all projects on this machine. Claude and Codex, started from the built-in terminal, 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. 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, 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. Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Apply and restart project server"
+msgstr "Apply and restart project server"
+
#: src/editor/bubble-menu/LinkEditPopover.tsx
msgid "Apply link"
msgstr "Apply link"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying restarts this project's server."
+msgstr "Applying restarts this project's server."
+
#: src/components/settings/SearchSection.tsx
msgid "Applying your change"
msgstr "Applying your change"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying…"
+msgstr "Applying…"
+
#: src/components/acp/ThreadView.tsx
msgid "Approved"
msgstr "Approved"
@@ -1878,9 +1894,14 @@ msgstr "Auto-update on for \"{name}\""
#. Section label for the automatic, one-click install path
#: src/components/InstallInClaudeDesktopDialog.tsx
+#: src/components/settings/NetworkAccessSection.tsx
msgid "Automatic"
msgstr "Automatic"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
+msgstr "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "Available"
@@ -2185,6 +2206,7 @@ msgstr "Can't share this path."
#: src/components/SeedDialog.tsx
#: src/components/settings/LinkPreviewsSection.tsx
#: src/components/settings/LintingSection.tsx
+#: src/components/settings/NetworkAccessSection.tsx
#: src/components/settings/SavedThemesTiles.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/ShareBranchSwitchDialog.tsx
@@ -3728,6 +3750,12 @@ msgstr "Couldn't run the test. Check that OpenKnowledge is still running."
msgid "Couldn’t save changes. Try editing a color again."
msgstr "Couldn’t save changes. Try editing a color again."
+#. placeholder {0}: humanFormat(first.error)
+#. placeholder {0}: humanFormat(second.error)
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Couldn't save network settings — {0}"
+msgstr "Couldn't save network settings — {0}"
+
#: src/components/TemplateForm.tsx
msgid "Couldn't save template: {error}"
msgstr "Couldn't save template: {error}"
@@ -4937,6 +4965,10 @@ msgstr "Enter a folder name (e.g. brain)."
msgid "Enter a name for this theme."
msgstr "Enter a name for this theme."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a port between 1 and 65535."
+msgstr "Enter a port between 1 and 65535."
+
#: src/components/CreateProjectDialog.tsx
msgid "Enter a project name"
msgstr "Enter a project name"
@@ -4961,6 +4993,14 @@ msgstr "Enter a valid theme name."
msgid "Enter a valid URL (for example https://api.openai.com/v1)."
msgstr "Enter a valid URL (for example https://api.openai.com/v1)."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a valid URL, for example https://notes.example.com"
+msgstr "Enter a valid URL, for example https://notes.example.com"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"
+msgstr "Enter the public origin your tunnel serves, for example https://notes.example.com"
+
#: src/components/McpConsentDialogBody.tsx
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
@@ -5070,6 +5110,22 @@ msgstr "Explore"
msgid "Explore skills"
msgstr "Explore skills"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose and restart"
+msgstr "Expose and restart"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project to the network?"
+msgstr "Expose this project to the network?"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project's server to a wider network through a tunnel you run (for example Tailscale). A viewer on the tunnel gets the editor and agent endpoint, editing live against this machine's server."
+msgstr "Expose this project's server to a wider network through a tunnel you run (for example Tailscale). A viewer on the tunnel gets the editor and agent endpoint, editing live against this machine's server."
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Exposing pins a fixed port so the tunnel's target stays stable across restarts."
+msgstr "Exposing pins a fixed port so the tunnel's target stays stable across restarts."
+
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/AgentSplitButton.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -5091,6 +5147,10 @@ msgstr "External link previews"
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "External link previews show a card with the site name, page title, and description when you hover a link."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "External origin"
+msgstr "External origin"
+
#: src/editor/extensions/WikiLinkPropPanel.tsx
msgid "External wiki link"
msgstr "External wiki link"
@@ -5588,6 +5648,10 @@ msgstr "Fix {flatId}"
msgid "Fix all with AI ({count})"
msgstr "Fix all with AI ({count})"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed"
+msgstr "Fixed"
+
#: src/lib/project-fix-sweep-store.ts
msgid "Fixed {total, plural, one {# file} other {# files}}."
msgstr "Fixed {total, plural, one {# file} other {# files}}."
@@ -5596,6 +5660,10 @@ msgstr "Fixed {total, plural, one {# file} other {# files}}."
msgid "Fixed folder in content root"
msgstr "Fixed folder in content root"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed port number"
+msgstr "Fixed port number"
+
#. placeholder {0}: fixing.done
#. placeholder {1}: fixing.total
#: src/components/ProblemsPanel.tsx
@@ -7222,6 +7290,10 @@ msgstr "Local files"
msgid "Local path"
msgstr "Local path"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Local server port"
+msgstr "Local server port"
+
#: src/lib/install-onboarding-toast.ts
msgid "Local-only requested but no git repository was created. Switch later via Settings → Config sharing once the project is in a git repo."
msgstr "Local-only requested but no git repository was created. Switch later via Settings → Config sharing once the project is in a git repo."
@@ -7716,6 +7788,11 @@ msgstr "Nested .okignore error in {path}"
msgid "Nested fields"
msgstr "Nested fields"
+#: src/components/settings/NetworkAccessSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "Network access"
+msgstr "Network access"
+
#: src/components/FileTree.tsx
msgid "Network error - {kind} \"{createdPath}\" still exists on disk"
msgstr "Network error - {kind} \"{createdPath}\" still exists on disk"
@@ -7733,6 +7810,10 @@ msgstr "network error (is `ok start` running?)"
msgid "Network error during cleanup"
msgstr "Network error during cleanup"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Network settings not yet loaded — try again in a moment."
+msgstr "Network settings not yet loaded — try again in a moment."
+
#: src/components/SyncStatusBadge.tsx
msgid "never"
msgstr "never"
@@ -9466,6 +9547,10 @@ msgstr "Popular"
msgid "Popular on skills.sh"
msgstr "Popular on skills.sh"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Port {configuredPort} is in use, so the server is running on port {boundPort} instead. A tunnel forwarding to the fixed port won't reach it — free that port and apply again, or choose a different one."
+msgstr "Port {configuredPort} is in use, so the server is running on port {boundPort} instead. A tunnel forwarding to the fixed port won't reach it — free that port and apply again, or choose a different one."
+
#: src/components/settings/SettingsDialogBody.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "Preferences"
@@ -10388,6 +10473,10 @@ msgstr "Restarting"
msgid "Restarting closes this project's server. Connected agents (Claude Code, Codex, Cursor) will see their OpenKnowledge MCP connection close unexpectedly — you may need to restart the agent, or toggle its OpenKnowledge MCP server off and on, to reconnect."
msgstr "Restarting closes this project's server. Connected agents (Claude Code, Codex, Cursor) will see their OpenKnowledge MCP connection close unexpectedly — you may need to restart the agent, or toggle its OpenKnowledge MCP server off and on, to reconnect."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Restarting the server is only available in the desktop app."
+msgstr "Restarting the server is only available in the desktop app."
+
#: src/lib/install-server-drift-listener.ts
msgid "Restarting the server…"
msgstr "Restarting the server…"
@@ -12481,6 +12570,10 @@ msgstr "The provider rejected the request (HTTP {0}). Check the API key and the
msgid "The provider rejected the request. Check the API key and the model id."
msgstr "The provider rejected the request. Check the API key and the model id."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The public URL your tunnel serves. The server admits requests for this host and advertises it in the URLs it issues."
+msgstr "The public URL your tunnel serves. The server admits requests for this host and advertises it in the URLs it issues."
+
#: src/components/ReportBugDialogBody.tsx
msgid "The report service couldn't be reached."
msgstr "The report service couldn't be reached."
@@ -12505,6 +12598,11 @@ msgstr "The schema file does not exist or failed to load — adding a field crea
msgid "the server responded but server.lock has no port yet"
msgstr "the server responded but server.lock has no port yet"
+#. placeholder {0}: origin.trim()
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The server will accept requests for {0} with no built-in authentication. Anyone who can reach your tunnel will have full control of this knowledge base — including sync, GitHub credentials, and local operations. Make sure the tunnel's edge restricts who can connect."
+msgstr "The server will accept requests for {0} with no built-in authentication. Anyone who can reach your tunnel will have full control of this knowledge base — including sync, GitHub credentials, and local operations. Make sure the tunnel's edge restricts who can connect."
+
#: src/components/settings/LintingSection.tsx
msgid "The shapes of title, description, resource, and tags when you use them. None are required; declaring one only pins its type, so tags written as a comma-separated string is flagged."
msgstr "The shapes of title, description, resource, and tags when you use them. None are required; declaring one only pins its type, so tags written as a comma-separated string is flagged."
@@ -12957,6 +13055,10 @@ msgstr "This sends content off your machine"
msgid "This sends the link's address off your machine"
msgstr "This sends the link's address off your machine"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "This server has no built-in authentication. Anyone who can reach the tunnel gets full control of this knowledge base — restrict access at the tunnel's edge (a Tailscale ACL, a reverse proxy with auth, or a firewall)."
+msgstr "This server has no built-in authentication. Anyone who can reach the tunnel gets full control of this knowledge base — restrict access at the tunnel's edge (a Tailscale ACL, a reverse proxy with auth, or a firewall)."
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "This setting is per-machine and isn't shared with collaborators."
msgstr "This setting is per-machine and isn't shared with collaborators."
@@ -13632,6 +13734,10 @@ msgstr "Use a starter pack"
msgid "Use a token instead"
msgstr "Use a token instead"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Use an http:// or https:// origin."
+msgstr "Use an http:// or https:// origin."
+
#: src/components/settings/SearchSection.tsx
msgid "Use an https:// URL — http:// is only allowed for localhost."
msgstr "Use an https:// URL — http:// is only allowed for localhost."
diff --git a/packages/app/src/locales/es/messages.json b/packages/app/src/locales/es/messages.json
index 16bc9f328..4b9b76a16 100644
--- a/packages/app/src/locales/es/messages.json
+++ b/packages/app/src/locales/es/messages.json
@@ -141,6 +141,7 @@
"0yL--g": ["Revisar los conflictos"],
"0ySP5u": ["Los cambios se guardan automáticamente en este tema."],
"0zAhu6": ["todos los documentos"],
+ "1-flC9": ["Puerto del servidor local"],
"10g8I_": ["Desactivar Solo archivos markdown"],
"110eEb": [
"Open Knowledge crea y mantiene un archivo de navegación llamado index.md en cada carpeta que contiene Markdown."
@@ -217,6 +218,7 @@
"2BBAbc": ["Lista"],
"2C-6zf": ["No enviado"],
"2CHoQv": ["Recargar a la fuerza"],
+ "2D1x3Y": ["Aplicar y reiniciar el servidor del proyecto"],
"2FYpfJ": ["Más"],
"2FnYUD": [
"Información de la aplicación y del sistema, registros recientes de la aplicación y registros del servidor del proyecto: lo imprescindible para reproducir el problema."
@@ -444,6 +446,9 @@
"56WWtu": ["No se pudieron cargar los paquetes iniciales: ", ["error"]],
"56xUL1": ["Nombre de la propiedad"],
"57fiu8": ["(solo lectura: por ahora edítalo en modo código)"],
+ "58ko2F": [
+ "Expón el servidor de este proyecto a una red más amplia a través de un túnel que tú gestionas (por ejemplo Tailscale). Un visitante del túnel obtiene el editor y el endpoint del agente, editando en directo contra el servidor de esta máquina."
+ ],
"58qIOK": ["Comentar esta selección"],
"5ALjdr": ["Recorre los resultados de búsqueda del editor visual desde el campo de búsqueda."],
"5Ajb15": ["La fórmula <0>c = √(a² + b²)</0> se renderiza en línea."],
@@ -535,6 +540,9 @@
"62bOuM": ["Última edición"],
"636K3K": ["Eliminar el chip contiguo"],
"64sesb": ["Los avisos destacan la información clave."],
+ "65Ea2s": [
+ "Exponer fija un puerto para que el destino del túnel permanezca estable entre reinicios."
+ ],
"67Dpmh": ["Sugerencias de comandos de barra"],
"67TEhP": [
"Tus carpetas de habilidades de nivel de usuario: disponibles en todos los proyectos de este equipo. El menú de instalación de cada habilidad controla dónde vive."
@@ -705,6 +713,7 @@
"80c4-P": ["Código copiado al portapapeles"],
"81H_23": ["Añadir propiedades"],
"851WA-": ["Esto se puede configurar en Ajustes > Herramientas de IA y CLI"],
+ "87GMKe": ["¿Exponer este proyecto a la red?"],
"881Uwh": ["Eliminar la tabla seleccionada"],
"89TtiD": [
"Archivo nuevo a partir de la plantilla \"",
@@ -745,6 +754,9 @@
"8RtNI0": ["No se pudieron cargar los documentos"],
"8SrrDi": ["Nuevo récord · pulsa espacio para jugar de nuevo"],
"8TvlHF": ["Volcado de fallo"],
+ "8UmUyc": [
+ "La URL pública que sirve tu túnel. El servidor admite solicitudes para este host y lo anuncia en las URL que emite."
+ ],
"8Uv5e6": ["Agentes"],
"8Vq20-": ["Cambiar de worktree"],
"8Wav8y": [
@@ -1124,6 +1136,11 @@
["shareBranch"],
"</0>. Tienes cambios sin confirmar que impiden cambiar aquí: ábrelo en un worktree para dejar tus cambios intactos."
],
+ "DTcfyN": [
+ "El servidor aceptará solicitudes para ",
+ ["0"],
+ " sin autenticación integrada. Cualquiera que pueda acceder a tu túnel tendrá control total de esta base de conocimiento — incluyendo la sincronización, las credenciales de GitHub y las operaciones locales. Asegúrate de que el perímetro del túnel restrinja quién puede conectarse."
+ ],
"DUWgfT": ["Volver a autenticarse con GitHub Enterprise Server"],
"DUb7Ax": ["Varios archivos usan este nombre de tema"],
"DVh_Tb": ["No se pudo limpiar después de mover a la papelera"],
@@ -1141,6 +1158,7 @@
"DgcGrb": [
["fileCount", "plural", { "one": ["archivo"], "many": ["archivos"], "other": ["archivos"] }]
],
+ "Dh11sK": ["Reiniciar el servidor solo está disponible en la aplicación de escritorio."],
"DhLHEb": ["No se pudo cargar la actividad"],
"DhT_PK": ["OpenKnowledge importó una habilidad"],
"DiFKSL": ["Contando archivos markdown"],
@@ -1160,6 +1178,9 @@
]
],
"DskIkK": ["El flujo de inicio de sesión terminó sin confirmación; inténtalo de nuevo"],
+ "DuCPiG": [
+ "El modo automático elige un puerto libre en cada inicio. Elige un puerto fijo para mantener la misma dirección entre reinicios."
+ ],
"Dub54T": [
"Los navegadores de vista previa no pueden copiar automáticamente. Usa Cmd/Ctrl+C sobre la URL de arriba, o abre OK en la aplicación de escritorio."
],
@@ -1201,6 +1222,7 @@
"ENpRJV": ["Vista previa de enlaces externos"],
"EO4Dt1": ["Activar ", ["file"]],
"EOjU5V": ["Propiedades de la fórmula en línea"],
+ "EP8mZC": ["Exponer y reiniciar"],
"EPGePE": ["Se subió como \"", ["0"], "\": el nombre \"", ["1"], "\" ya estaba ocupado."],
"EPKVES": ["¿Actualizar \"", ["skillName"], "\" sobre tus ediciones?"],
"EPwuTC": [["usedLabel"], " / ", ["sizeLabel"], " tokens usados"],
@@ -1627,6 +1649,7 @@
"JddocZ": ["Alternar columna de encabezado"],
"Jejur6": ["No se pudo cargar el documento"],
"JfPuv7": [["shareBranch"], " no es un nombre de rama válido."],
+ "JgaVnN": ["Permitir acceso externo"],
"Jhj_lh": ["Modifica el destino del enlace, el ancla y el texto mostrado."],
"JhqycE": ["No hay archivos recientes"],
"JkCD2u": ["Sincronización en pausa: no tienes permiso para hacer push a este repositorio"],
@@ -1690,6 +1713,7 @@
"KZLdgR": ["Consulta <0>#design-docs</0> para ver las últimas especificaciones."],
"K_vT1F": ["Sincronización con el remoto"],
"KaFCD3": ["Abre este enlace en una pestaña nueva y contrae el grafo."],
+ "Kbz9RK": ["Número de puerto fijo"],
"KeXgA-": [
"No se pudo encontrar ese pasaje — puede que el texto en el que estaba haya cambiado."
],
@@ -2140,6 +2164,7 @@
"PrVaZo": ["¿Desinstalar OpenKnowledge?"],
"PrWQiT": ["Mover Terminal a la derecha"],
"PrhzDE": ["Desplazar hacia arriba"],
+ "Pw5PTU": ["Origen externo"],
"Q-DKvr": ["Instalar desde ", ["source"]],
"Q1mtyd": ["Ocultar la barra lateral"],
"Q5fqMz": ["Error de conexión: inténtalo de nuevo"],
@@ -2301,6 +2326,13 @@
"S48xcO": ["pendiente"],
"S6eHlw": ["Abre primero un proyecto."],
"S6l5dv": ["No se pudo empezar a crear un elemento nuevo"],
+ "S79zoi": [
+ "El puerto ",
+ ["configuredPort"],
+ " está en uso, por lo que el servidor se ejecuta en el puerto ",
+ ["boundPort"],
+ ". Un túnel que apunte al puerto fijo no lo alcanzará: libera ese puerto y aplica de nuevo, o elige otro."
+ ],
"S9Vnum": ["Quitar ", ["patternText"]],
"S9t1PI": ["Arreglando ", ["0"], "/", ["1"]],
"SCoBBH": ["Sugerencias de etiquetas"],
@@ -2377,6 +2409,7 @@
"TKQ7K-": ["Instalar"],
"TLIO3j": ["Activa o desactiva la cursiva."],
"TMLAx2": ["Obligatorio"],
+ "TNKAIS": ["Aplicar reinicia el servidor de este proyecto."],
"TQJCR6": [
[
"0",
@@ -2404,6 +2437,7 @@
"Indica a los agentes cuándo recurrir a esta habilidad. Puedes editarlo más adelante."
],
"Tofsyo": ["Mover Terminal a la parte inferior"],
+ "TpqW74": ["Fijo"],
"Tq3pcs": ["Conservar el mío"],
"Tq9kNX": ["No hay chats abiertos. Reabre uno anterior o inicia uno nuevo con el botón +."],
"TsZmgr": ["El archivo en el disco, y el id que usan los agentes."],
@@ -3290,6 +3324,7 @@
"cuA8QW": ["Organizar las especificaciones"],
"cuHhjo": ["Crear y editar"],
"d-GtJt": ["Ver en el Markdown de origen"],
+ "d02jS3": ["Acceso a la red"],
"d1JjXo": [
"Tu copia local de la rama <0>",
["branch"],
@@ -4762,6 +4797,7 @@
"u5Utjn": [["0"], " necesita ", ["1"]],
"u5hSeG": ["Enviar comentarios"],
"u6Hp4N": ["Markdown"],
+ "u779EG": ["Usa un origen http:// o https://."],
"u7H-Wn": ["Mostrar el panel (", ["panelShortcutLabel"], ")"],
"u7U_Ij": ["Enlaza el texto seleccionado o edita el enlace bajo el cursor."],
"uA_jXp": ["Cambiar de rama y actualizar"],
@@ -4772,6 +4808,7 @@
"uDlyqd": [
"Documenta la arquitectura de este repositorio: crea una página general que enlace a una página por cada módulo principal describiendo sus responsabilidades y sus puntos de entrada."
],
+ "uDzLV-": ["Introduce una URL válida, por ejemplo https://notes.example.com"],
"uF82hk": ["Macerando…"],
"uF9ruK": ["Guardando"],
"uFQbYd": ["Página de inicio y punto de entrada."],
@@ -4836,6 +4873,9 @@
"um-es7": ["Publica el editor con un"],
"un-K1H": ["Se queda en este equipo. No se guarda en git."],
"un8kBM": ["Creando la página: ", ["linkTitle"], "."],
+ "unmCLE": [
+ "Este servidor no tiene autenticación integrada. Cualquiera que pueda acceder al túnel obtiene control total de esta base de conocimiento — restringe el acceso en el perímetro del túnel (una ACL de Tailscale, un proxy inverso con autenticación o un firewall)."
+ ],
"uoJF_D": ["Era demasiado difícil de configurar o de empezar a usar"],
"ur2XSb": ["Editor visual"],
"uuoHOU": ["El comando falló."],
@@ -4982,6 +5022,7 @@
"wTcjov": ["Sin espacio de trabajo"],
"wU8WyK": ["Campos del elemento"],
"wVa83H": ["No se pudo crear el informe"],
+ "wWtVYd": ["Introduce un puerto entre 1 y 65535."],
"wXO4Tg": ["hace ", ["hrs"], " h"],
"wXw19Y": [
"Se quitó \"",
@@ -4995,6 +5036,7 @@
"wbv9xO": ["Crear proyecto"],
"wc54KE": ["Probándolo…"],
"wcfO9r": ["Todavía no hay informes de error."],
+ "wdRxTD": ["Aplicando…"],
"wdxz7K": ["Código"],
"wdzBgi": ["Compartir configuración ahora está en Solo yo."],
"weP6me": ["No se pudieron cargar los documentos: escribe @ otra vez para reintentarlo"],
@@ -5054,6 +5096,7 @@
"xV5sXw": ["hace ", ["0"], " sem"],
"xWEvuo": ["Preguntar a la IA"],
"xWomUD": ["Usar la versión de ", ["editor"]],
+ "xXn6KB": ["No se pudo guardar la configuración de red — ", ["0"]],
"xXo8FT": ["Falló al guardar: ", ["error"]],
"xYMPyY": [
"El pegado quedó incompleto: llegaron ",
@@ -5171,6 +5214,7 @@
"ylXj1N": ["Seleccionado"],
"ymWJLd": ["Mostrar ", ["0"], " más"],
"ynIa4S": ["Elemento de lista del editor visual"],
+ "yopUSw": ["La configuración de red aún no se ha cargado — inténtalo de nuevo en un momento."],
"ypw6My": ["Mostrando los ", ["0"], " encabezados principales; sigue escribiendo para acotar"],
"ysxgu8": ["proyecto"],
"yutJKi": ["Lista de comprobación con casillas."],
@@ -5219,6 +5263,9 @@
{ "one": ["#", " documento"], "many": ["#", " documentos"], "other": ["#", " documentos"] }
]
],
+ "zHsZcU": [
+ "Introduce el origen público que sirve tu túnel, por ejemplo https://notes.example.com"
+ ],
"zJL34S": ["Ventana de Terminal nueva"],
"zKxoPm": ["No se pudo renombrar \"", ["0"], "\": ", ["1"]],
"zL0LPh": ["Global fuera de los campos de texto"],
diff --git a/packages/app/src/locales/es/messages.po b/packages/app/src/locales/es/messages.po
index 3a5cf7023..2d2185a88 100644
--- a/packages/app/src/locales/es/messages.po
+++ b/packages/app/src/locales/es/messages.po
@@ -1524,6 +1524,10 @@ msgstr "Todos los fragmentos resueltos"
msgid "All tags"
msgstr "Todas las etiquetas"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Allow external access"
+msgstr "Permitir acceso externo"
+
#: src/components/settings/frontmatter-schema-field-editor.tsx
msgid "Allowed element values (empty = any)"
msgstr "Valores de elemento permitidos (vacío = cualquiera)"
@@ -1663,14 +1667,26 @@ msgstr "Se aplica a (globs; un ! inicial excluye; vacío significa todos los doc
msgid "Applies to all projects on this machine. Claude and Codex, started from the built-in terminal, 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. Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
msgstr "Se aplica a todos los proyectos de este equipo. Claude y Codex, iniciados desde la terminal integrada, aprueban automáticamente las herramientas de lectura y escritura de OpenKnowledge (Claude además ejecuta \"ok open\" por su cuenta). Eliminar, mover, compartir, importar o instalar habilidades, otros comandos y las ediciones de archivos ajenos a OpenKnowledge siguen preguntando. Cursor, OpenCode y Pi no se ven afectados. Es un esfuerzo por agente, sin garantías."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Apply and restart project server"
+msgstr "Aplicar y reiniciar el servidor del proyecto"
+
#: src/editor/bubble-menu/LinkEditPopover.tsx
msgid "Apply link"
msgstr "Aplicar enlace"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying restarts this project's server."
+msgstr "Aplicar reinicia el servidor de este proyecto."
+
#: src/components/settings/SearchSection.tsx
msgid "Applying your change"
msgstr "Aplicando tu cambio"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying…"
+msgstr "Aplicando…"
+
#: src/components/acp/ThreadView.tsx
msgid "Approved"
msgstr "Aprobado"
@@ -1878,9 +1894,14 @@ msgstr "Actualización automática activada para \"{name}\""
#. Section label for the automatic, one-click install path
#: src/components/InstallInClaudeDesktopDialog.tsx
+#: src/components/settings/NetworkAccessSection.tsx
msgid "Automatic"
msgstr "Automático"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
+msgstr "El modo automático elige un puerto libre en cada inicio. Elige un puerto fijo para mantener la misma dirección entre reinicios."
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "Disponible"
@@ -2185,6 +2206,7 @@ msgstr "No se puede compartir esta ruta."
#: src/components/SeedDialog.tsx
#: src/components/settings/LinkPreviewsSection.tsx
#: src/components/settings/LintingSection.tsx
+#: src/components/settings/NetworkAccessSection.tsx
#: src/components/settings/SavedThemesTiles.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/ShareBranchSwitchDialog.tsx
@@ -3728,6 +3750,12 @@ msgstr "No se pudo ejecutar la prueba. Comprueba que OpenKnowledge siga en march
msgid "Couldn’t save changes. Try editing a color again."
msgstr "No se pudieron guardar los cambios. Intenta editar un color de nuevo."
+#. placeholder {0}: humanFormat(first.error)
+#. placeholder {0}: humanFormat(second.error)
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Couldn't save network settings — {0}"
+msgstr "No se pudo guardar la configuración de red — {0}"
+
#: src/components/TemplateForm.tsx
msgid "Couldn't save template: {error}"
msgstr "No se pudo guardar la plantilla: {error}"
@@ -4937,6 +4965,10 @@ msgstr "Escribe un nombre de carpeta (p. ej. cerebro)."
msgid "Enter a name for this theme."
msgstr "Introduce un nombre para este tema."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a port between 1 and 65535."
+msgstr "Introduce un puerto entre 1 y 65535."
+
#: src/components/CreateProjectDialog.tsx
msgid "Enter a project name"
msgstr "Escribe un nombre de proyecto"
@@ -4961,6 +4993,14 @@ msgstr "Introduce un nombre de tema válido."
msgid "Enter a valid URL (for example https://api.openai.com/v1)."
msgstr "Escribe una URL válida (por ejemplo https://api.openai.com/v1)."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a valid URL, for example https://notes.example.com"
+msgstr "Introduce una URL válida, por ejemplo https://notes.example.com"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"
+msgstr "Introduce el origen público que sirve tu túnel, por ejemplo https://notes.example.com"
+
#: src/components/McpConsentDialogBody.tsx
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
@@ -5070,6 +5110,22 @@ msgstr "Explorar"
msgid "Explore skills"
msgstr "Explorar habilidades"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose and restart"
+msgstr "Exponer y reiniciar"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project to the network?"
+msgstr "¿Exponer este proyecto a la red?"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project's server to a wider network through a tunnel you run (for example Tailscale). A viewer on the tunnel gets the editor and agent endpoint, editing live against this machine's server."
+msgstr "Expón el servidor de este proyecto a una red más amplia a través de un túnel que tú gestionas (por ejemplo Tailscale). Un visitante del túnel obtiene el editor y el endpoint del agente, editando en directo contra el servidor de esta máquina."
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Exposing pins a fixed port so the tunnel's target stays stable across restarts."
+msgstr "Exponer fija un puerto para que el destino del túnel permanezca estable entre reinicios."
+
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/AgentSplitButton.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -5091,6 +5147,10 @@ msgstr "Vista previa de enlaces externos"
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "La vista previa de enlaces externos muestra una tarjeta con el nombre del sitio, el título de la página y la descripción al pasar el cursor por un enlace."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "External origin"
+msgstr "Origen externo"
+
#: src/editor/extensions/WikiLinkPropPanel.tsx
msgid "External wiki link"
msgstr "Enlace wiki externo"
@@ -5588,6 +5648,10 @@ msgstr "Arreglar {flatId}"
msgid "Fix all with AI ({count})"
msgstr "Arreglarlo todo con IA ({count})"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed"
+msgstr "Fijo"
+
#: src/lib/project-fix-sweep-store.ts
msgid "Fixed {total, plural, one {# file} other {# files}}."
msgstr "{total, plural, one {Se corrigió # archivo} many {Se corrigieron # archivos} other {Se corrigieron # archivos}}."
@@ -5596,6 +5660,10 @@ msgstr "{total, plural, one {Se corrigió # archivo} many {Se corrigieron # arch
msgid "Fixed folder in content root"
msgstr "Carpeta fija en la raíz del contenido"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed port number"
+msgstr "Número de puerto fijo"
+
#. placeholder {0}: fixing.done
#. placeholder {1}: fixing.total
#: src/components/ProblemsPanel.tsx
@@ -7222,6 +7290,10 @@ msgstr "Archivos locales"
msgid "Local path"
msgstr "Ruta local"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Local server port"
+msgstr "Puerto del servidor local"
+
#: src/lib/install-onboarding-toast.ts
msgid "Local-only requested but no git repository was created. Switch later via Settings → Config sharing once the project is in a git repo."
msgstr "Se pidió solo local, pero no se creó ningún repositorio de git. Puedes cambiarlo más adelante en Configuración → Uso compartido de la configuración, cuando el proyecto esté en un repositorio de git."
@@ -7716,6 +7788,11 @@ msgstr "Error en el .okignore anidado de {path}"
msgid "Nested fields"
msgstr "Campos anidados"
+#: src/components/settings/NetworkAccessSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "Network access"
+msgstr "Acceso a la red"
+
#: src/components/FileTree.tsx
msgid "Network error - {kind} \"{createdPath}\" still exists on disk"
msgstr "Error de red - {kind} \"{createdPath}\" sigue existiendo en el disco"
@@ -7733,6 +7810,10 @@ msgstr "error de red (¿está `ok start` en ejecución?)"
msgid "Network error during cleanup"
msgstr "Error de red durante la limpieza"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Network settings not yet loaded — try again in a moment."
+msgstr "La configuración de red aún no se ha cargado — inténtalo de nuevo en un momento."
+
#: src/components/SyncStatusBadge.tsx
msgid "never"
msgstr "nunca"
@@ -9466,6 +9547,10 @@ msgstr "Populares"
msgid "Popular on skills.sh"
msgstr "Populares en skills.sh"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Port {configuredPort} is in use, so the server is running on port {boundPort} instead. A tunnel forwarding to the fixed port won't reach it — free that port and apply again, or choose a different one."
+msgstr "El puerto {configuredPort} está en uso, por lo que el servidor se ejecuta en el puerto {boundPort}. Un túnel que apunte al puerto fijo no lo alcanzará: libera ese puerto y aplica de nuevo, o elige otro."
+
#: src/components/settings/SettingsDialogBody.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "Preferences"
@@ -10388,6 +10473,10 @@ msgstr "Reiniciando"
msgid "Restarting closes this project's server. Connected agents (Claude Code, Codex, Cursor) will see their OpenKnowledge MCP connection close unexpectedly — you may need to restart the agent, or toggle its OpenKnowledge MCP server off and on, to reconnect."
msgstr "Reiniciar cierra el servidor de este proyecto. Los agentes conectados (Claude Code, Codex, Cursor) verán cómo su conexión MCP con OpenKnowledge se cierra de forma inesperada; puede que tengas que reiniciar el agente, o apagar y encender su servidor MCP de OpenKnowledge, para reconectar."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Restarting the server is only available in the desktop app."
+msgstr "Reiniciar el servidor solo está disponible en la aplicación de escritorio."
+
#: src/lib/install-server-drift-listener.ts
msgid "Restarting the server…"
msgstr "Reiniciando el servidor…"
@@ -12481,6 +12570,10 @@ msgstr "El proveedor rechazó la solicitud (HTTP {0}). Revisa la clave de API y
msgid "The provider rejected the request. Check the API key and the model id."
msgstr "El proveedor rechazó la solicitud. Revisa la clave de API y el id del modelo."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The public URL your tunnel serves. The server admits requests for this host and advertises it in the URLs it issues."
+msgstr "La URL pública que sirve tu túnel. El servidor admite solicitudes para este host y lo anuncia en las URL que emite."
+
#: src/components/ReportBugDialogBody.tsx
msgid "The report service couldn't be reached."
msgstr "No se pudo contactar con el servicio de informes."
@@ -12505,6 +12598,11 @@ msgstr "El archivo de esquema no existe o no se pudo cargar; al añadir un campo
msgid "the server responded but server.lock has no port yet"
msgstr "el servidor respondió pero server.lock aún no tiene puerto"
+#. placeholder {0}: origin.trim()
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The server will accept requests for {0} with no built-in authentication. Anyone who can reach your tunnel will have full control of this knowledge base — including sync, GitHub credentials, and local operations. Make sure the tunnel's edge restricts who can connect."
+msgstr "El servidor aceptará solicitudes para {0} sin autenticación integrada. Cualquiera que pueda acceder a tu túnel tendrá control total de esta base de conocimiento — incluyendo la sincronización, las credenciales de GitHub y las operaciones locales. Asegúrate de que el perímetro del túnel restrinja quién puede conectarse."
+
#: src/components/settings/LintingSection.tsx
msgid "The shapes of title, description, resource, and tags when you use them. None are required; declaring one only pins its type, so tags written as a comma-separated string is flagged."
msgstr "Las formas de title, description, resource y tags cuando se usan. Ninguno es obligatorio; declararlos solo fija su tipo, por lo que se marca si tags se escribe como una cadena separada por comas."
@@ -12957,6 +13055,10 @@ msgstr "Esto envía contenido fuera de tu equipo"
msgid "This sends the link's address off your machine"
msgstr "Esto envía la dirección del enlace fuera de tu equipo"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "This server has no built-in authentication. Anyone who can reach the tunnel gets full control of this knowledge base — restrict access at the tunnel's edge (a Tailscale ACL, a reverse proxy with auth, or a firewall)."
+msgstr "Este servidor no tiene autenticación integrada. Cualquiera que pueda acceder al túnel obtiene control total de esta base de conocimiento — restringe el acceso en el perímetro del túnel (una ACL de Tailscale, un proxy inverso con autenticación o un firewall)."
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "This setting is per-machine and isn't shared with collaborators."
msgstr "Este ajuste es de cada equipo y no se comparte con tus colaboradores."
@@ -13632,6 +13734,10 @@ msgstr "Usar un paquete inicial"
msgid "Use a token instead"
msgstr "Usar un token en su lugar"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Use an http:// or https:// origin."
+msgstr "Usa un origen http:// o https://."
+
#: src/components/settings/SearchSection.tsx
msgid "Use an https:// URL — http:// is only allowed for localhost."
msgstr "Usa una URL https://; http:// solo se admite para localhost."
diff --git a/packages/app/src/locales/fr/messages.json b/packages/app/src/locales/fr/messages.json
index 77f1dd024..4ff2e6818 100644
--- a/packages/app/src/locales/fr/messages.json
+++ b/packages/app/src/locales/fr/messages.json
@@ -143,6 +143,7 @@
"0yL--g": ["Examiner les conflits"],
"0ySP5u": ["Les modifications sont automatiquement enregistrées dans ce thème."],
"0zAhu6": ["tous les documents"],
+ "1-flC9": ["Port du serveur local"],
"10g8I_": ["Désactiver Fichiers markdown uniquement"],
"110eEb": [
"Open Knowledge crée et gère un fichier de navigation nommé index.md dans chaque dossier contenant Markdown."
@@ -229,6 +230,7 @@
"2BBAbc": ["Liste"],
"2C-6zf": ["Non envoyé"],
"2CHoQv": ["Forcer le rechargement"],
+ "2D1x3Y": ["Appliquer et redémarrer le serveur du projet"],
"2FYpfJ": ["Plus"],
"2FnYUD": [
"Informations sur l'application et le système, journaux récents de l'application et journaux du serveur de projet : l'essentiel dont nous avons besoin pour reproduire le problème."
@@ -458,6 +460,9 @@
"56WWtu": ["Impossible de charger les packs de démarrage : ", ["error"]],
"56xUL1": ["Nom de la propriété"],
"57fiu8": ["(lecture seule — modifiez en mode source pour l'instant)"],
+ "58ko2F": [
+ "Exposez le serveur de ce projet à un réseau plus large via un tunnel que vous exécutez (par exemple Tailscale). Un visiteur sur le tunnel obtient l'éditeur et le point de terminaison de l'agent, et modifie en direct sur le serveur de cette machine."
+ ],
"58qIOK": ["Commenter cette sélection"],
"5ALjdr": [
"Parcourez les résultats de recherche de l'éditeur visuel depuis le champ de recherche."
@@ -557,6 +562,9 @@
"62bOuM": ["Dernière modification"],
"636K3K": ["Supprimer la puce adjacente"],
"64sesb": ["Les encadrés attirent l'attention sur les informations essentielles."],
+ "65Ea2s": [
+ "L'exposition fixe un port afin que la cible du tunnel reste stable d'un redémarrage à l'autre."
+ ],
"67Dpmh": ["Suggestions de commandes slash"],
"67TEhP": [
"Vos dossiers de compétences au niveau utilisateur — disponibles dans tous les projets de cette machine. Le menu d'installation de chaque compétence détermine où elle réside."
@@ -729,6 +737,7 @@
"80c4-P": ["Code copié dans le presse-papiers"],
"81H_23": ["Ajouter des propriétés"],
"851WA-": ["Cela se configure dans Paramètres > Outils IA et CLI"],
+ "87GMKe": ["Exposer ce projet au réseau ?"],
"881Uwh": ["Supprimer le tableau sélectionné"],
"89TtiD": [
"Nouveau fichier à partir du modèle « ",
@@ -769,6 +778,9 @@
"8RtNI0": ["Échec du chargement des documents"],
"8SrrDi": ["Nouveau record · appuyez sur espace pour rejouer"],
"8TvlHF": ["Vidage de plantage"],
+ "8UmUyc": [
+ "L'URL publique servie par votre tunnel. Le serveur accepte les requêtes destinées à cet hôte et l'annonce dans les URL qu'il émet."
+ ],
"8Uv5e6": ["Agents"],
"8Vq20-": ["Changer de worktree"],
"8Wav8y": [
@@ -1152,6 +1164,11 @@
["shareBranch"],
"</0>. Vous avez des modifications non validées qui empêchent de changer de branche ici — ouvrez-le dans un worktree pour laisser vos modifications intactes."
],
+ "DTcfyN": [
+ "Le serveur acceptera les requêtes destinées à ",
+ ["0"],
+ " sans authentification intégrée. Quiconque peut atteindre votre tunnel aura le contrôle total de cette base de connaissances — y compris la synchronisation, les identifiants GitHub et les opérations locales. Assurez-vous que la bordure du tunnel restreint qui peut se connecter."
+ ],
"DUWgfT": ["Se réauthentifier auprès de GitHub Enterprise Server"],
"DUb7Ax": ["Plusieurs fichiers utilisent ce nom de thème"],
"DVh_Tb": ["Échec du nettoyage après la mise à la corbeille"],
@@ -1169,6 +1186,7 @@
"DgcGrb": [
["fileCount", "plural", { "one": ["fichier"], "many": ["fichiers"], "other": ["fichiers"] }]
],
+ "Dh11sK": ["Le redémarrage du serveur n'est disponible que dans l'application de bureau."],
"DhLHEb": ["Échec du chargement de l'activité"],
"DhT_PK": ["OpenKnowledge a importé une compétence"],
"DiFKSL": ["Comptage des fichiers markdown"],
@@ -1188,6 +1206,9 @@
]
],
"DskIkK": ["Le flux de connexion s'est terminé sans confirmation — veuillez réessayer"],
+ "DuCPiG": [
+ "Le mode automatique choisit un port libre à chaque démarrage. Choisissez un port fixe pour conserver la même adresse d'un redémarrage à l'autre."
+ ],
"Dub54T": [
"Les navigateurs d'aperçu ne peuvent pas copier automatiquement. Faites Cmd/Ctrl+C sur l'URL ci-dessus, ou ouvrez OK dans l'application de bureau."
],
@@ -1229,6 +1250,7 @@
"ENpRJV": ["Aperçus de liens externes"],
"EO4Dt1": ["Activer ", ["file"]],
"EOjU5V": ["Propriétés de la formule en ligne"],
+ "EP8mZC": ["Exposer et redémarrer"],
"EPGePE": ["Envoyé sous « ", ["0"], " » — le nom « ", ["1"], " » était déjà pris."],
"EPKVES": ["Mettre à jour « ", ["skillName"], " » par-dessus vos modifications ?"],
"EPwuTC": [["usedLabel"], " / ", ["sizeLabel"], " tokens utilisés"],
@@ -1650,6 +1672,7 @@
"JddocZ": ["Activer/désactiver la colonne d'en-tête"],
"Jejur6": ["Impossible de charger le document"],
"JfPuv7": [["shareBranch"], " n'est pas un nom de branche valide."],
+ "JgaVnN": ["Autoriser l'accès externe"],
"Jhj_lh": ["Modifiez la cible du lien, l'ancre et le libellé affiché."],
"JhqycE": ["Aucun fichier récent"],
"JkCD2u": ["Synchronisation en pause — vous n'avez pas la permission de pousser vers ce dépôt"],
@@ -1717,6 +1740,7 @@
"KZLdgR": ["Voir <0>#design-docs</0> pour les dernières spécifications."],
"K_vT1F": ["Synchronisation amont"],
"KaFCD3": ["Ouvre ce lien dans un nouvel onglet et réduit le graphe."],
+ "Kbz9RK": ["Numéro de port fixe"],
"KeXgA-": [
"Impossible de trouver ce passage — le texte auquel il était rattaché a peut-être changé."
],
@@ -2167,6 +2191,7 @@
"PrVaZo": ["Désinstaller OpenKnowledge ?"],
"PrWQiT": ["Déplacer Terminal à droite"],
"PrhzDE": ["Faire défiler vers le haut"],
+ "Pw5PTU": ["Origine externe"],
"Q-DKvr": ["Installer depuis ", ["source"]],
"Q1mtyd": ["Masquer la barre latérale"],
"Q5fqMz": ["Erreur de connexion — réessayez"],
@@ -2330,6 +2355,13 @@
"S48xcO": ["en attente"],
"S6eHlw": ["Ouvrez d'abord un projet."],
"S6l5dv": ["Impossible de commencer la création d'un nouvel élément"],
+ "S79zoi": [
+ "Le port ",
+ ["configuredPort"],
+ " est utilisé, donc le serveur fonctionne sur le port ",
+ ["boundPort"],
+ " à la place. Un tunnel pointant vers le port fixe ne l'atteindra pas — libérez ce port et appliquez à nouveau, ou choisissez-en un autre."
+ ],
"S9Vnum": ["Retirer ", ["patternText"]],
"S9t1PI": ["Correction de ", ["0"], "/", ["1"]],
"SCoBBH": ["Suggestions d'étiquettes"],
@@ -2406,6 +2438,7 @@
"TKQ7K-": ["Installer"],
"TLIO3j": ["Bascule la mise en forme italique."],
"TMLAx2": ["Obligatoire"],
+ "TNKAIS": ["L'application redémarre le serveur de ce projet."],
"TQJCR6": [
[
"0",
@@ -2433,6 +2466,7 @@
"Indique aux agents quand recourir à cette compétence. Vous pourrez le modifier plus tard."
],
"Tofsyo": ["Déplacer Terminal en bas"],
+ "TpqW74": ["Fixe"],
"Tq3pcs": ["Garder la mienne"],
"Tq9kNX": [
"Aucun chat ouvert. Rouvrez-en un ancien ou démarrez-en un nouveau avec le bouton +."
@@ -3325,6 +3359,7 @@
"cuA8QW": ["Organiser les spécifications"],
"cuHhjo": ["Créer et modifier"],
"d-GtJt": ["Afficher dans la source Markdown"],
+ "d02jS3": ["Accès réseau"],
"d1JjXo": [
"Votre copie locale de la branche <0>",
["branch"],
@@ -4814,6 +4849,7 @@
"u5Utjn": [["0"], " a besoin de ", ["1"]],
"u5hSeG": ["Donner votre avis"],
"u6Hp4N": ["Markdown"],
+ "u779EG": ["Utilisez une origine http:// ou https://."],
"u7H-Wn": ["Afficher le panneau (", ["panelShortcutLabel"], ")"],
"u7U_Ij": ["Ajoute un lien au texte sélectionné, ou modifie le lien situé sous le curseur."],
"uA_jXp": ["Changer de branche et mettre à jour"],
@@ -4824,6 +4860,7 @@
"uDlyqd": [
"Documente l'architecture de ce dépôt : crée une page de synthèse qui renvoie vers une page par module principal décrivant ses responsabilités et ses points d'entrée."
],
+ "uDzLV-": ["Saisissez une URL valide, par exemple https://notes.example.com"],
"uF82hk": ["Macération…"],
"uF9ruK": ["Enregistrement"],
"uFQbYd": ["Page d'accueil et point d'entrée."],
@@ -4888,6 +4925,9 @@
"um-es7": ["Livrez l'éditeur avec un"],
"un-K1H": ["Reste sur cet ordinateur. Non validé dans git."],
"un8kBM": ["Création de la page : ", ["linkTitle"], "."],
+ "unmCLE": [
+ "Ce serveur n'a pas d'authentification intégrée. Quiconque peut atteindre le tunnel obtient le contrôle total de cette base de connaissances — restreignez l'accès à la bordure du tunnel (une ACL Tailscale, un proxy inverse avec authentification ou un pare-feu)."
+ ],
"uoJF_D": ["C'était trop compliqué à installer ou à prendre en main"],
"ur2XSb": ["Éditeur visuel"],
"uuoHOU": ["La commande a échoué."],
@@ -5038,6 +5078,7 @@
"wTcjov": ["Aucun espace de travail"],
"wU8WyK": ["Champs d'élément"],
"wVa83H": ["Impossible de créer le rapport"],
+ "wWtVYd": ["Saisissez un port entre 1 et 65535."],
"wXO4Tg": ["il y a ", ["hrs"], " h"],
"wXw19Y": ["« ", ["projectName"], " » retiré des projets récents. Son dossier n'existe plus."],
"wZPUJx": ["« ", ["0"], " »"],
@@ -5047,6 +5088,7 @@
"wbv9xO": ["Créer un projet"],
"wc54KE": ["Essai en cours…"],
"wcfO9r": ["Pas encore de rapport de bug."],
+ "wdRxTD": ["Application…"],
"wdxz7K": ["Source"],
"wdzBgi": ["Le partage de la configuration est maintenant réglé sur Moi uniquement."],
"weP6me": ["Impossible de charger les documents — saisissez @ à nouveau pour réessayer"],
@@ -5106,6 +5148,7 @@
"xV5sXw": ["il y a ", ["0"], " sem"],
"xWEvuo": ["Demander à l'IA"],
"xWomUD": ["Utiliser la version ", ["editor"]],
+ "xXn6KB": ["Impossible d'enregistrer les paramètres réseau — ", ["0"]],
"xXo8FT": ["Échec de l'enregistrement : ", ["error"]],
"xYMPyY": [
"Le collage était incomplet — ",
@@ -5223,6 +5266,7 @@
"ylXj1N": ["Sélectionné"],
"ymWJLd": ["Afficher ", ["0"], " de plus"],
"ynIa4S": ["Élément de liste de l'éditeur visuel"],
+ "yopUSw": ["Paramètres réseau pas encore chargés — réessayez dans un instant."],
"ypw6My": [
"Affichage des ",
["0"],
@@ -5271,6 +5315,9 @@
{ "one": ["#", " document"], "many": ["#", " documents"], "other": ["#", " documents"] }
]
],
+ "zHsZcU": [
+ "Saisissez l'origine publique servie par votre tunnel, par exemple https://notes.example.com"
+ ],
"zJL34S": ["Nouvelle fenêtre Terminal"],
"zKxoPm": ["Impossible de renommer « ", ["0"], " » : ", ["1"]],
"zL0LPh": ["Global, hors champs de texte"],
diff --git a/packages/app/src/locales/fr/messages.po b/packages/app/src/locales/fr/messages.po
index fb4a83808..2e3edcae0 100644
--- a/packages/app/src/locales/fr/messages.po
+++ b/packages/app/src/locales/fr/messages.po
@@ -1524,6 +1524,10 @@ msgstr "Tous les blocs sont résolus"
msgid "All tags"
msgstr "Toutes les étiquettes"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Allow external access"
+msgstr "Autoriser l'accès externe"
+
#: src/components/settings/frontmatter-schema-field-editor.tsx
msgid "Allowed element values (empty = any)"
msgstr "Valeurs d'élément autorisées (vide = toutes)"
@@ -1663,14 +1667,26 @@ msgstr "S'applique à (globs — un ! initial exclut ; vide signifie tous les do
msgid "Applies to all projects on this machine. Claude and Codex, started from the built-in terminal, 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. 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é, approuvent automatiquement les outils de lecture et d'écriture d'OpenKnowledge (Claude exécute aussi automatiquement « ok open »). Supprimer, déplacer, partager, importer ou installer des compétences, les autres commandes et les modifications de fichiers hors OpenKnowledge demandent toujours confirmation. Cursor, OpenCode et Pi ne sont pas concernés. Au mieux selon l'agent."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Apply and restart project server"
+msgstr "Appliquer et redémarrer le serveur du projet"
+
#: src/editor/bubble-menu/LinkEditPopover.tsx
msgid "Apply link"
msgstr "Appliquer le lien"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying restarts this project's server."
+msgstr "L'application redémarre le serveur de ce projet."
+
#: src/components/settings/SearchSection.tsx
msgid "Applying your change"
msgstr "Application de votre modification"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying…"
+msgstr "Application…"
+
#: src/components/acp/ThreadView.tsx
msgid "Approved"
msgstr "Approuvé"
@@ -1878,9 +1894,14 @@ msgstr "Mise à jour automatique activée pour « {name} »"
#. Section label for the automatic, one-click install path
#: src/components/InstallInClaudeDesktopDialog.tsx
+#: src/components/settings/NetworkAccessSection.tsx
msgid "Automatic"
msgstr "Automatique"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
+msgstr "Le mode automatique choisit un port libre à chaque démarrage. Choisissez un port fixe pour conserver la même adresse d'un redémarrage à l'autre."
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "Disponible"
@@ -2185,6 +2206,7 @@ msgstr "Impossible de partager ce chemin."
#: src/components/SeedDialog.tsx
#: src/components/settings/LinkPreviewsSection.tsx
#: src/components/settings/LintingSection.tsx
+#: src/components/settings/NetworkAccessSection.tsx
#: src/components/settings/SavedThemesTiles.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/ShareBranchSwitchDialog.tsx
@@ -3728,6 +3750,12 @@ msgstr "Impossible d'exécuter le test. Vérifiez qu'OpenKnowledge fonctionne to
msgid "Couldn’t save changes. Try editing a color again."
msgstr "Impossible d’enregistrer les modifications. Essayez à nouveau de modifier une couleur."
+#. placeholder {0}: humanFormat(first.error)
+#. placeholder {0}: humanFormat(second.error)
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Couldn't save network settings — {0}"
+msgstr "Impossible d'enregistrer les paramètres réseau — {0}"
+
#: src/components/TemplateForm.tsx
msgid "Couldn't save template: {error}"
msgstr "Impossible d'enregistrer le modèle : {error}"
@@ -4937,6 +4965,10 @@ msgstr "Saisissez un nom de dossier (par ex. brain)."
msgid "Enter a name for this theme."
msgstr "Saisissez un nom pour ce thème."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a port between 1 and 65535."
+msgstr "Saisissez un port entre 1 et 65535."
+
#: src/components/CreateProjectDialog.tsx
msgid "Enter a project name"
msgstr "Saisissez un nom de projet"
@@ -4961,6 +4993,14 @@ msgstr "Saisissez un nom de thème valide."
msgid "Enter a valid URL (for example https://api.openai.com/v1)."
msgstr "Saisissez une URL valide (par exemple https://api.openai.com/v1)."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a valid URL, for example https://notes.example.com"
+msgstr "Saisissez une URL valide, par exemple https://notes.example.com"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"
+msgstr "Saisissez l'origine publique servie par votre tunnel, par exemple https://notes.example.com"
+
#: src/components/McpConsentDialogBody.tsx
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
@@ -5070,6 +5110,22 @@ msgstr "Explorer"
msgid "Explore skills"
msgstr "Explorer les compétences"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose and restart"
+msgstr "Exposer et redémarrer"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project to the network?"
+msgstr "Exposer ce projet au réseau ?"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project's server to a wider network through a tunnel you run (for example Tailscale). A viewer on the tunnel gets the editor and agent endpoint, editing live against this machine's server."
+msgstr "Exposez le serveur de ce projet à un réseau plus large via un tunnel que vous exécutez (par exemple Tailscale). Un visiteur sur le tunnel obtient l'éditeur et le point de terminaison de l'agent, et modifie en direct sur le serveur de cette machine."
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Exposing pins a fixed port so the tunnel's target stays stable across restarts."
+msgstr "L'exposition fixe un port afin que la cible du tunnel reste stable d'un redémarrage à l'autre."
+
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/AgentSplitButton.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -5091,6 +5147,10 @@ msgstr "Aperçus de liens externes"
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "Les aperçus de liens externes affichent une carte avec le nom du site, le titre de la page et sa description au survol d'un lien."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "External origin"
+msgstr "Origine externe"
+
#: src/editor/extensions/WikiLinkPropPanel.tsx
msgid "External wiki link"
msgstr "Lien wiki externe"
@@ -5588,6 +5648,10 @@ msgstr "Corriger {flatId}"
msgid "Fix all with AI ({count})"
msgstr "Tout corriger avec l'IA ({count})"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed"
+msgstr "Fixe"
+
#: src/lib/project-fix-sweep-store.ts
msgid "Fixed {total, plural, one {# file} other {# files}}."
msgstr "{total, plural, one {# fichier corrigé} many {# fichiers corrigés} other {# fichiers corrigés}}."
@@ -5596,6 +5660,10 @@ msgstr "{total, plural, one {# fichier corrigé} many {# fichiers corrigés} oth
msgid "Fixed folder in content root"
msgstr "Dossier fixe dans la racine du contenu"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed port number"
+msgstr "Numéro de port fixe"
+
#. placeholder {0}: fixing.done
#. placeholder {1}: fixing.total
#: src/components/ProblemsPanel.tsx
@@ -7222,6 +7290,10 @@ msgstr "Fichiers locaux"
msgid "Local path"
msgstr "Chemin local"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Local server port"
+msgstr "Port du serveur local"
+
#: src/lib/install-onboarding-toast.ts
msgid "Local-only requested but no git repository was created. Switch later via Settings → Config sharing once the project is in a git repo."
msgstr "Mode local uniquement demandé, mais aucun dépôt git n'a été créé. Vous pourrez changer plus tard via Paramètres → Partage de la configuration, une fois le projet dans un dépôt git."
@@ -7716,6 +7788,11 @@ msgstr "Erreur dans le .okignore imbriqué de {path}"
msgid "Nested fields"
msgstr "Champs imbriqués"
+#: src/components/settings/NetworkAccessSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "Network access"
+msgstr "Accès réseau"
+
#: src/components/FileTree.tsx
msgid "Network error - {kind} \"{createdPath}\" still exists on disk"
msgstr "Erreur réseau - {kind} « {createdPath} » existe encore sur le disque"
@@ -7733,6 +7810,10 @@ msgstr "erreur réseau (`ok start` est-il en cours d'exécution ?)"
msgid "Network error during cleanup"
msgstr "Erreur réseau pendant le nettoyage"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Network settings not yet loaded — try again in a moment."
+msgstr "Paramètres réseau pas encore chargés — réessayez dans un instant."
+
#: src/components/SyncStatusBadge.tsx
msgid "never"
msgstr "jamais"
@@ -9466,6 +9547,10 @@ msgstr "Populaires"
msgid "Popular on skills.sh"
msgstr "Populaires sur skills.sh"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Port {configuredPort} is in use, so the server is running on port {boundPort} instead. A tunnel forwarding to the fixed port won't reach it — free that port and apply again, or choose a different one."
+msgstr "Le port {configuredPort} est utilisé, donc le serveur fonctionne sur le port {boundPort} à la place. Un tunnel pointant vers le port fixe ne l'atteindra pas — libérez ce port et appliquez à nouveau, ou choisissez-en un autre."
+
#: src/components/settings/SettingsDialogBody.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "Preferences"
@@ -10388,6 +10473,10 @@ msgstr "Redémarrage"
msgid "Restarting closes this project's server. Connected agents (Claude Code, Codex, Cursor) will see their OpenKnowledge MCP connection close unexpectedly — you may need to restart the agent, or toggle its OpenKnowledge MCP server off and on, to reconnect."
msgstr "Redémarrer ferme le serveur de ce projet. Les agents connectés (Claude Code, Codex, Cursor) verront leur connexion MCP OpenKnowledge se fermer de façon inattendue — vous devrez peut-être redémarrer l'agent, ou désactiver puis réactiver son serveur MCP OpenKnowledge, pour vous reconnecter."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Restarting the server is only available in the desktop app."
+msgstr "Le redémarrage du serveur n'est disponible que dans l'application de bureau."
+
#: src/lib/install-server-drift-listener.ts
msgid "Restarting the server…"
msgstr "Redémarrage du serveur…"
@@ -12481,6 +12570,10 @@ msgstr "Le fournisseur a rejeté la requête (HTTP {0}). Vérifiez la clé API e
msgid "The provider rejected the request. Check the API key and the model id."
msgstr "Le fournisseur a rejeté la requête. Vérifiez la clé API et l'id du modèle."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The public URL your tunnel serves. The server admits requests for this host and advertises it in the URLs it issues."
+msgstr "L'URL publique servie par votre tunnel. Le serveur accepte les requêtes destinées à cet hôte et l'annonce dans les URL qu'il émet."
+
#: src/components/ReportBugDialogBody.tsx
msgid "The report service couldn't be reached."
msgstr "Le service de rapports n'a pas pu être joint."
@@ -12505,6 +12598,11 @@ msgstr "Le fichier de schéma n'existe pas ou n'a pas pu être chargé — ajout
msgid "the server responded but server.lock has no port yet"
msgstr "le serveur a répondu mais server.lock n'a pas encore de port"
+#. placeholder {0}: origin.trim()
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The server will accept requests for {0} with no built-in authentication. Anyone who can reach your tunnel will have full control of this knowledge base — including sync, GitHub credentials, and local operations. Make sure the tunnel's edge restricts who can connect."
+msgstr "Le serveur acceptera les requêtes destinées à {0} sans authentification intégrée. Quiconque peut atteindre votre tunnel aura le contrôle total de cette base de connaissances — y compris la synchronisation, les identifiants GitHub et les opérations locales. Assurez-vous que la bordure du tunnel restreint qui peut se connecter."
+
#: src/components/settings/LintingSection.tsx
msgid "The shapes of title, description, resource, and tags when you use them. None are required; declaring one only pins its type, so tags written as a comma-separated string is flagged."
msgstr "Les formes de title, description, resource et tags lorsque vous les utilisez. Aucun n'est requis ; en déclarer un épingle uniquement son type, donc tags écrit sous forme de chaîne séparée par des virgules est signalé."
@@ -12957,6 +13055,10 @@ msgstr "Ceci envoie du contenu hors de votre machine"
msgid "This sends the link's address off your machine"
msgstr "Ceci envoie l'adresse du lien hors de votre machine"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "This server has no built-in authentication. Anyone who can reach the tunnel gets full control of this knowledge base — restrict access at the tunnel's edge (a Tailscale ACL, a reverse proxy with auth, or a firewall)."
+msgstr "Ce serveur n'a pas d'authentification intégrée. Quiconque peut atteindre le tunnel obtient le contrôle total de cette base de connaissances — restreignez l'accès à la bordure du tunnel (une ACL Tailscale, un proxy inverse avec authentification ou un pare-feu)."
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "This setting is per-machine and isn't shared with collaborators."
msgstr "Ce réglage est propre à chaque machine et n'est pas partagé avec les collaborateurs."
@@ -13632,6 +13734,10 @@ msgstr "Utiliser un pack de démarrage"
msgid "Use a token instead"
msgstr "Utiliser plutôt un jeton"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Use an http:// or https:// origin."
+msgstr "Utilisez une origine http:// ou https://."
+
#: src/components/settings/SearchSection.tsx
msgid "Use an https:// URL — http:// is only allowed for localhost."
msgstr "Utilisez une URL https:// — http:// n'est autorisé que pour localhost."
diff --git a/packages/app/src/locales/hi/messages.json b/packages/app/src/locales/hi/messages.json
index fcc66769a..7e03009d0 100644
--- a/packages/app/src/locales/hi/messages.json
+++ b/packages/app/src/locales/hi/messages.json
@@ -121,6 +121,7 @@
"0yL--g": ["टकराव देखें"],
"0ySP5u": ["बदलाव इस थीम में अपने आप सहेजे जाते हैं।"],
"0zAhu6": ["हर दस्तावेज़"],
+ "1-flC9": ["स्थानीय सर्वर port"],
"10g8I_": ["केवल markdown फ़ाइलें बंद करें"],
"110eEb": [
"Open Knowledge प्रत्येक फ़ोल्डर में index.md नामक एक नेविगेशन फ़ाइल बनाता है और उसका रखरखाव करता है जिसमें Markdown होता है।"
@@ -191,6 +192,7 @@
"2BBAbc": ["सूची"],
"2C-6zf": ["भेजा नहीं गया"],
"2CHoQv": ["बलपूर्वक फिर से लोड करें"],
+ "2D1x3Y": ["लागू करें और प्रोजेक्ट सर्वर पुनः प्रारंभ करें"],
"2FYpfJ": ["और"],
"2FnYUD": [
"ऐप और सिस्टम की जानकारी, हाल के ऐप लॉग और प्रोजेक्ट सर्वर लॉग: समस्या को दोहराने के लिए ज़रूरी बुनियादी चीज़ें।"
@@ -364,6 +366,9 @@
"56WWtu": ["स्टार्टर पैक लोड नहीं हो सके: ", ["error"]],
"56xUL1": ["प्रॉपर्टी का नाम"],
"57fiu8": ["(केवल पढ़ने के लिए — फ़िलहाल स्रोत मोड में संपादित करें)"],
+ "58ko2F": [
+ "इस प्रोजेक्ट के सर्वर को आपके द्वारा चलाए जाने वाले tunnel (उदाहरण के लिए Tailscale) के माध्यम से एक व्यापक नेटवर्क पर एक्सपोज़ करें। tunnel पर मौजूद कोई दर्शक एडिटर और एजेंट endpoint प्राप्त करता है, जो इस मशीन के सर्वर के विरुद्ध लाइव संपादन करता है।"
+ ],
"58qIOK": ["इस चयन पर टिप्पणी करें"],
"5ALjdr": ["खोज फ़ील्ड से दृश्य-संपादक के खोज परिणामों के बीच जाएँ।"],
"5Ajb15": ["सूत्र <0>c = √(a² + b²)</0> इनलाइन रेंडर होता है।"],
@@ -442,6 +447,9 @@
"62bOuM": ["नवीनतम संपादन"],
"636K3K": ["बगल का चिप हटाएँ"],
"64sesb": ["कॉलआउट मुख्य जानकारी की ओर ध्यान खींचते हैं।"],
+ "65Ea2s": [
+ "एक्सपोज़ करने पर एक निश्चित port पिन हो जाता है ताकि tunnel का target पुनः प्रारंभ के बीच स्थिर रहे।"
+ ],
"67Dpmh": ["स्लैश कमांड सुझाव"],
"67TEhP": [
"आपके उपयोगकर्ता-स्तर के स्किल फ़ोल्डर — इस मशीन के हर प्रोजेक्ट में उपलब्ध। हर स्किल का इंस्टॉल मेन्यू तय करता है कि वह कहाँ रहेगी।"
@@ -579,6 +587,7 @@
"80c4-P": ["कोड क्लिपबोर्ड पर कॉपी किया गया"],
"81H_23": ["प्रॉपर्टी जोड़ें"],
"851WA-": ["इसे Settings > AI tools & CLI में कॉन्फ़िगर किया जा सकता है"],
+ "87GMKe": ["क्या इस प्रोजेक्ट को नेटवर्क पर एक्सपोज़ करें?"],
"881Uwh": ["चयनित तालिका हटाएँ"],
"89TtiD": ["प्रोजेक्ट रूट में टेम्पलेट \"", ["displayTitle"], "\" (", ["fileName"], ") से नई फ़ाइल"],
"89y7ar": [["sizeText"], " · गोपनीय जानकारी हटाई गई"],
@@ -603,6 +612,9 @@
"8RtNI0": ["दस्तावेज़ लोड करने में विफल"],
"8SrrDi": ["नया रिकॉर्ड · फिर से खेलने के लिए स्पेस दबाएँ"],
"8TvlHF": ["क्रैश डंप"],
+ "8UmUyc": [
+ "वह सार्वजनिक URL जिसे आपका tunnel सर्व करता है। सर्वर इस host के लिए अनुरोध स्वीकार करता है और अपने द्वारा जारी किए गए URL में इसका विज्ञापन करता है।"
+ ],
"8Uv5e6": ["एजेंट"],
"8Vq20-": ["वर्कट्री बदलें"],
"8Wav8y": [
@@ -929,6 +941,11 @@
["shareBranch"],
"</0> पर मौजूद है। आपके पास बिना कमिट किए बदलाव हैं जो यहाँ बदलने से रोकते हैं — अपने बदलाव अछूते रखने के लिए इसे किसी वर्कट्री में खोलें।"
],
+ "DTcfyN": [
+ "सर्वर ",
+ ["0"],
+ " के लिए अनुरोध बिना किसी अंतर्निहित प्रमाणीकरण के स्वीकार करेगा। जो कोई भी आपके tunnel तक पहुंच सकता है उसका इस ज्ञान आधार पर पूर्ण नियंत्रण होगा — जिसमें sync, GitHub क्रेडेंशियल्स, और स्थानीय ऑपरेशन शामिल हैं। सुनिश्चित करें कि tunnel का edge यह प्रतिबंधित करे कि कौन कनेक्ट कर सकता है।"
+ ],
"DUWgfT": ["GitHub Enterprise Server के साथ फिर से प्रमाणित करें"],
"DUb7Ax": ["कई फ़ाइलें इस थीम नाम का उपयोग करती हैं"],
"DVh_Tb": ["ट्रैश के बाद सफ़ाई करने में विफल"],
@@ -942,6 +959,7 @@
"Dd6j2Q": ["टिप्पणियाँ देखें"],
"DeDYLr": ["अपरिचित विकी लिंक"],
"DgcGrb": [["fileCount", "plural", { "one": ["फ़ाइल"], "other": ["फ़ाइलें"] }]],
+ "Dh11sK": ["सर्वर को पुनः प्रारंभ करना केवल डेस्कटॉप ऐप में उपलब्ध है।"],
"DhLHEb": ["गतिविधि लोड करने में विफल"],
"DhT_PK": ["OpenKnowledge ने एक स्किल आयात की"],
"DiFKSL": ["markdown फ़ाइलें गिनी जा रही हैं"],
@@ -955,6 +973,9 @@
"DrYM2Z": ["सिंक अक्षम"],
"DsDwR-": [["0", "plural", { "one": ["#", " त्रुटि"], "other": ["#", " त्रुटियाँ"] }]],
"DskIkK": ["साइन-इन स्ट्रीम बिना पुष्टि के समाप्त हुई — कृपया फिर कोशिश करें"],
+ "DuCPiG": [
+ "स्वचालित हर बार प्रारंभ पर एक मुक्त port चुनता है। पुनः प्रारंभ के बीच समान पता बनाए रखने के लिए एक निश्चित port चुनें।"
+ ],
"Dub54T": [
"पूर्वावलोकन ब्राउज़र अपने आप कॉपी नहीं कर सकते। ऊपर दिए URL पर Cmd/Ctrl+C का उपयोग करें, या OK को डेस्कटॉप ऐप में खोलें।"
],
@@ -996,6 +1017,7 @@
"ENpRJV": ["बाहरी लिंक पूर्वावलोकन"],
"EO4Dt1": [["file"], " सक्षम करें"],
"EOjU5V": ["इनलाइन गणित प्रॉपर्टी"],
+ "EP8mZC": ["एक्सपोज़ करें और पुनः प्रारंभ करें"],
"EPGePE": ["\"", ["0"], "\" के रूप में अपलोड किया गया — नाम \"", ["1"], "\" पहले से लिया जा चुका था।"],
"EPKVES": ["अपने संपादनों के ऊपर \"", ["skillName"], "\" अपडेट करें?"],
"EPwuTC": [["usedLabel"], " / ", ["sizeLabel"], " टोकन उपयोग में"],
@@ -1341,6 +1363,7 @@
"JddocZ": ["हेडर कॉलम टॉगल करें"],
"Jejur6": ["दस्तावेज़ लोड नहीं हो सका"],
"JfPuv7": [["shareBranch"], " एक मान्य ब्रांच नाम नहीं है।"],
+ "JgaVnN": ["बाहरी एक्सेस की अनुमति दें"],
"Jhj_lh": ["लिंक लक्ष्य, एंकर और प्रदर्शित लेबल बदलें।"],
"JhqycE": ["कोई हाल की फ़ाइल नहीं"],
"JkCD2u": ["सिंक रुका हुआ — आपके पास इस रिपॉज़िटरी में पुश करने की अनुमति नहीं है"],
@@ -1402,6 +1425,7 @@
"KZLdgR": ["नवीनतम स्पेक के लिए <0>#design-docs</0> देखें।"],
"K_vT1F": ["अपस्ट्रीम सिंक"],
"KaFCD3": ["इस लिंक को नए टैब में खोलें और ग्राफ़ समेटें।"],
+ "Kbz9RK": ["निश्चित port संख्या"],
"KeXgA-": ["वह अंश नहीं मिल सका — जिस पाठ पर वह था वह बदल गया हो सकता है।"],
"Kf7GG5": ["सर्वर पुनः आरंभ किया जा रहा है…"],
"Kge76t": ["पंक्ति विकल्प"],
@@ -1809,6 +1833,7 @@
"PrVaZo": ["OpenKnowledge हटाएँ?"],
"PrWQiT": ["Terminal को दाईं ओर ले जाएँ"],
"PrhzDE": ["ऊपर खिसकाएँ"],
+ "Pw5PTU": ["बाहरी origin"],
"Q-DKvr": [["source"], " से इंस्टॉल करें"],
"Q1mtyd": ["साइडबार छिपाएँ"],
"Q5fqMz": ["कनेक्शन त्रुटि — फिर कोशिश करें"],
@@ -1953,6 +1978,13 @@
"S48xcO": ["लंबित"],
"S6eHlw": ["पहले कोई प्रोजेक्ट खोलें।"],
"S6l5dv": ["नया आइटम बनाना शुरू नहीं किया जा सका"],
+ "S79zoi": [
+ "पोर्ट ",
+ ["configuredPort"],
+ " पहले से उपयोग में है, इसलिए सर्वर इसके बजाय पोर्ट ",
+ ["boundPort"],
+ " पर चल रहा है। फिक्स्ड पोर्ट की ओर जाने वाला tunnel इस तक नहीं पहुँचेगा — उस पोर्ट को खाली करें और फिर से लागू करें, या कोई दूसरा चुनें।"
+ ],
"S9Vnum": [["patternText"], " हटाएँ"],
"S9t1PI": [["0"], "/", ["1"], " ठीक किया जा रहा है"],
"SCoBBH": ["टैग सुझाव"],
@@ -2016,6 +2048,7 @@
"TKQ7K-": ["इंस्टॉल करें"],
"TLIO3j": ["तिरछी फ़ॉर्मैटिंग चालू या बंद करें।"],
"TMLAx2": ["आवश्यक"],
+ "TNKAIS": ["लागू करने पर इस प्रोजेक्ट का सर्वर पुनः प्रारंभ होता है।"],
"TQJCR6": [["0", "plural", { "one": ["#", " परिणाम"], "other": ["#", " परिणाम"] }]],
"TTDXD8": ["नया वर्कट्री…"],
"TUzThQ": ["स्किल साझा करें"],
@@ -2033,6 +2066,7 @@
"Tjc1pH": ["अनुभाग <0>(वैकल्पिक शीर्षक एंकर)</0>"],
"Tn5sik": ["एजेंट को बताता है कि यह स्किल कब उपयोग करनी है। आप इसे बाद में संपादित कर सकते हैं।"],
"Tofsyo": ["Terminal को नीचे ले जाएँ"],
+ "TpqW74": ["निश्चित"],
"Tq3pcs": ["मेरा वाला रखें"],
"Tq9kNX": ["कोई चैट खुली नहीं है। पिछली चैट फिर से खोलें, या + बटन से नई शुरू करें।"],
"TsZmgr": ["डिस्क की फ़ाइल, और वह id जो एजेंट उपयोग करते हैं।"],
@@ -2753,6 +2787,7 @@
"cuA8QW": ["स्पेक व्यवस्थित करें"],
"cuHhjo": ["बनाएँ और संपादित करें"],
"d-GtJt": ["स्रोत Markdown में देखें"],
+ "d02jS3": ["नेटवर्क एक्सेस"],
"d1JjXo": [
"ब्रांच <0>",
["branch"],
@@ -3987,6 +4022,7 @@
"u5Utjn": [["0"], " को ", ["1"], " चाहिए"],
"u5hSeG": ["प्रतिक्रिया साझा करें"],
"u6Hp4N": ["Markdown"],
+ "u779EG": ["एक http:// या https:// origin का उपयोग करें।"],
"u7H-Wn": ["पैनल दिखाएँ (", ["panelShortcutLabel"], ")"],
"u7U_Ij": ["चयनित पाठ को लिंक करें, या कर्सर के नीचे वाला लिंक संपादित करें।"],
"uA_jXp": ["ब्रांच बदलें और अपडेट करें"],
@@ -3997,6 +4033,7 @@
"uDlyqd": [
"इस रिपॉज़िटरी की संरचना का दस्तावेज़ीकरण करें: एक सिंहावलोकन पेज बनाएँ जो हर प्रमुख मॉड्यूल के पेज से जुड़ता हो और उसकी ज़िम्मेदारियाँ तथा प्रवेश बिंदु बताता हो।"
],
+ "uDzLV-": ["एक मान्य URL दर्ज करें, उदाहरण के लिए https://notes.example.com"],
"uF82hk": ["छाना जा रहा है…"],
"uF9ruK": ["सहेजा जा रहा है"],
"uFQbYd": ["मुख्य पेज और प्रवेश बिंदु।"],
@@ -4052,6 +4089,9 @@
"um-es7": ["संपादक को इसके साथ भेजें"],
"un-K1H": ["इसी कंप्यूटर पर रहता है। git में कमिट नहीं होता।"],
"un8kBM": ["पेज बनाया जा रहा है: ", ["linkTitle"], "."],
+ "unmCLE": [
+ "इस सर्वर में कोई अंतर्निहित प्रमाणीकरण नहीं है। जो कोई भी tunnel तक पहुंच सकता है उसे इस ज्ञान आधार पर पूर्ण नियंत्रण मिल जाता है — tunnel के edge पर एक्सेस प्रतिबंधित करें (एक Tailscale ACL, प्रमाणीकरण के साथ एक रिवर्स प्रॉक्सी, या एक फ़ायरवॉल)।"
+ ],
"uoJF_D": ["इसे सेट अप करना या शुरू करना बहुत कठिन था"],
"ur2XSb": ["दृश्य संपादक"],
"uuoHOU": ["कमांड विफल।"],
@@ -4167,6 +4207,7 @@
"wTcjov": ["कोई कार्यक्षेत्र नहीं"],
"wU8WyK": ["तत्व फ़ील्ड"],
"wVa83H": ["रिपोर्ट नहीं बनाई जा सकी"],
+ "wWtVYd": ["1 और 65535 के बीच एक port दर्ज करें।"],
"wXO4Tg": [["hrs"], " घंटे पहले"],
"wXw19Y": [
"\"",
@@ -4180,6 +4221,7 @@
"wbv9xO": ["नया प्रोजेक्ट बनाएँ"],
"wc54KE": ["आज़माया जा रहा है…"],
"wcfO9r": ["अभी कोई बग रिपोर्ट नहीं।"],
+ "wdRxTD": ["लागू किया जा रहा है…"],
"wdxz7K": ["स्रोत"],
"wdzBgi": ["कॉन्फ़िग साझाकरण अब केवल मेरे लिए है।"],
"weP6me": ["दस्तावेज़ लोड नहीं हो सके — फिर कोशिश करने के लिए @ दोबारा टाइप करें"],
@@ -4228,6 +4270,7 @@
"xV5sXw": [["0"], " सप्ताह पहले"],
"xWEvuo": ["AI से पूछें"],
"xWomUD": [["editor"], " संस्करण उपयोग करें"],
+ "xXn6KB": ["नेटवर्क सेटिंग्स सहेजी नहीं जा सकीं — ", ["0"]],
"xXo8FT": ["सहेजना विफल: ", ["error"]],
"xYMPyY": [
"चिपकाना अधूरा रहा — ",
@@ -4328,6 +4371,7 @@
"ylXj1N": ["चयनित"],
"ymWJLd": [["0"], " और दिखाएँ"],
"ynIa4S": ["दृश्य संपादक का सूची आइटम"],
+ "yopUSw": ["नेटवर्क सेटिंग्स अभी तक लोड नहीं हुईं — कुछ क्षण में पुनः प्रयास करें।"],
"ypw6My": ["शीर्ष ", ["0"], " शीर्षक दिखाए जा रहे हैं — सीमित करने के लिए लिखते रहें"],
"ysxgu8": ["प्रोजेक्ट"],
"yutJKi": ["चेकबॉक्स वाली चेकलिस्ट।"],
@@ -4356,6 +4400,9 @@
"zAsDLY": ["दस्तावेज़ लिंक का ग्राफ़ चित्रण"],
"zBUqvf": ["OpenKnowledge एकीकरण सेट अप करें…"],
"zD1Nqf": [["count", "plural", { "one": ["#", " दस्तावेज़"], "other": ["#", " दस्तावेज़"] }]],
+ "zHsZcU": [
+ "वह सार्वजनिक ऑरिजिन दर्ज करें जिसे आपका tunnel सर्व करता है, उदाहरण के लिए https://notes.example.com"
+ ],
"zJL34S": ["नई Terminal विंडो"],
"zKxoPm": ["\"", ["0"], "\" का नाम नहीं बदला जा सका: ", ["1"]],
"zL0LPh": ["पाठ फ़ील्ड के बाहर वैश्विक"],
diff --git a/packages/app/src/locales/hi/messages.po b/packages/app/src/locales/hi/messages.po
index ebc185fae..ecb008ccd 100644
--- a/packages/app/src/locales/hi/messages.po
+++ b/packages/app/src/locales/hi/messages.po
@@ -1520,6 +1520,10 @@ msgstr "सभी हंक सुलझा दिए गए"
msgid "All tags"
msgstr "सभी टैग"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Allow external access"
+msgstr "बाहरी एक्सेस की अनुमति दें"
+
#: src/components/settings/frontmatter-schema-field-editor.tsx
msgid "Allowed element values (empty = any)"
msgstr "अनुमत तत्व मान (खाली = कोई भी)"
@@ -1659,14 +1663,26 @@ msgstr "किस पर लागू (ग्लोब — शुरू मे
msgid "Applies to all projects on this machine. Claude and Codex, started from the built-in terminal, 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. Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
msgstr "इस मशीन के सभी प्रोजेक्ट पर लागू होता है। अंतर्निहित टर्मिनल से शुरू किए गए Claude और Codex, OpenKnowledge के पढ़ने और लिखने वाले टूल स्वत: स्वीकृत करते हैं (Claude \"ok open\" भी स्वत: चलाता है)। स्किल हटाना, हिलाना, साझा करना, आयात करना या इंस्टॉल करना, अन्य कमांड, और OpenKnowledge के बाहर की फ़ाइल संपादन अब भी पूछते हैं। Cursor, OpenCode और Pi अप्रभावित रहते हैं। हर एजेंट के लिए यथासंभव।"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Apply and restart project server"
+msgstr "लागू करें और प्रोजेक्ट सर्वर पुनः प्रारंभ करें"
+
#: src/editor/bubble-menu/LinkEditPopover.tsx
msgid "Apply link"
msgstr "लिंक लागू करें"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying restarts this project's server."
+msgstr "लागू करने पर इस प्रोजेक्ट का सर्वर पुनः प्रारंभ होता है।"
+
#: src/components/settings/SearchSection.tsx
msgid "Applying your change"
msgstr "आपका बदलाव लागू किया जा रहा है"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying…"
+msgstr "लागू किया जा रहा है…"
+
#: src/components/acp/ThreadView.tsx
msgid "Approved"
msgstr "स्वीकृत"
@@ -1874,9 +1890,14 @@ msgstr "\"{name}\" के लिए स्वत: अपडेट चालू"
#. Section label for the automatic, one-click install path
#: src/components/InstallInClaudeDesktopDialog.tsx
+#: src/components/settings/NetworkAccessSection.tsx
msgid "Automatic"
msgstr "स्वचालित"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
+msgstr "स्वचालित हर बार प्रारंभ पर एक मुक्त port चुनता है। पुनः प्रारंभ के बीच समान पता बनाए रखने के लिए एक निश्चित port चुनें।"
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "उपलब्ध"
@@ -2181,6 +2202,7 @@ msgstr "यह पथ साझा नहीं किया जा सकता
#: src/components/SeedDialog.tsx
#: src/components/settings/LinkPreviewsSection.tsx
#: src/components/settings/LintingSection.tsx
+#: src/components/settings/NetworkAccessSection.tsx
#: src/components/settings/SavedThemesTiles.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/ShareBranchSwitchDialog.tsx
@@ -3724,6 +3746,12 @@ msgstr "परीक्षण नहीं चलाया जा सका।
msgid "Couldn’t save changes. Try editing a color again."
msgstr "बदलाव सहेजे नहीं जा सके। किसी रंग को फिर से संपादित करें।"
+#. placeholder {0}: humanFormat(first.error)
+#. placeholder {0}: humanFormat(second.error)
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Couldn't save network settings — {0}"
+msgstr "नेटवर्क सेटिंग्स सहेजी नहीं जा सकीं — {0}"
+
#: src/components/TemplateForm.tsx
msgid "Couldn't save template: {error}"
msgstr "टेम्पलेट नहीं सहेजा जा सका: {error}"
@@ -4933,6 +4961,10 @@ msgstr "एक फ़ोल्डर नाम डालें (जैसे bra
msgid "Enter a name for this theme."
msgstr "इस थीम का नाम दर्ज करें।"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a port between 1 and 65535."
+msgstr "1 और 65535 के बीच एक port दर्ज करें।"
+
#: src/components/CreateProjectDialog.tsx
msgid "Enter a project name"
msgstr "एक प्रोजेक्ट नाम डालें"
@@ -4957,6 +4989,14 @@ msgstr "थीम का मान्य नाम दर्ज करें।"
msgid "Enter a valid URL (for example https://api.openai.com/v1)."
msgstr "एक मान्य URL डालें (उदाहरण के लिए https://api.openai.com/v1)।"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a valid URL, for example https://notes.example.com"
+msgstr "एक मान्य URL दर्ज करें, उदाहरण के लिए https://notes.example.com"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"
+msgstr "वह सार्वजनिक ऑरिजिन दर्ज करें जिसे आपका tunnel सर्व करता है, उदाहरण के लिए https://notes.example.com"
+
#: src/components/McpConsentDialogBody.tsx
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
@@ -5066,6 +5106,22 @@ msgstr "खोजें"
msgid "Explore skills"
msgstr "स्किल खोजें"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose and restart"
+msgstr "एक्सपोज़ करें और पुनः प्रारंभ करें"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project to the network?"
+msgstr "क्या इस प्रोजेक्ट को नेटवर्क पर एक्सपोज़ करें?"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project's server to a wider network through a tunnel you run (for example Tailscale). A viewer on the tunnel gets the editor and agent endpoint, editing live against this machine's server."
+msgstr "इस प्रोजेक्ट के सर्वर को आपके द्वारा चलाए जाने वाले tunnel (उदाहरण के लिए Tailscale) के माध्यम से एक व्यापक नेटवर्क पर एक्सपोज़ करें। tunnel पर मौजूद कोई दर्शक एडिटर और एजेंट endpoint प्राप्त करता है, जो इस मशीन के सर्वर के विरुद्ध लाइव संपादन करता है।"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Exposing pins a fixed port so the tunnel's target stays stable across restarts."
+msgstr "एक्सपोज़ करने पर एक निश्चित port पिन हो जाता है ताकि tunnel का target पुनः प्रारंभ के बीच स्थिर रहे।"
+
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/AgentSplitButton.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -5087,6 +5143,10 @@ msgstr "बाहरी लिंक पूर्वावलोकन"
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "जब आप किसी लिंक पर माउस ले जाते हैं तो बाहरी लिंक पूर्वावलोकन साइट का नाम, पेज शीर्षक और विवरण वाला एक कार्ड दिखाता है।"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "External origin"
+msgstr "बाहरी origin"
+
#: src/editor/extensions/WikiLinkPropPanel.tsx
msgid "External wiki link"
msgstr "बाहरी विकी लिंक"
@@ -5584,6 +5644,10 @@ msgstr "{flatId} ठीक करें"
msgid "Fix all with AI ({count})"
msgstr "AI से सब ठीक करें ({count})"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed"
+msgstr "निश्चित"
+
#: src/lib/project-fix-sweep-store.ts
msgid "Fixed {total, plural, one {# file} other {# files}}."
msgstr "{total, plural, one {# फ़ाइल ठीक की गई} other {# फ़ाइलें ठीक की गईं}}।"
@@ -5592,6 +5656,10 @@ msgstr "{total, plural, one {# फ़ाइल ठीक की गई} other {#
msgid "Fixed folder in content root"
msgstr "सामग्री रूट में निश्चित फ़ोल्डर"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed port number"
+msgstr "निश्चित port संख्या"
+
#. placeholder {0}: fixing.done
#. placeholder {1}: fixing.total
#: src/components/ProblemsPanel.tsx
@@ -7218,6 +7286,10 @@ msgstr "स्थानीय फ़ाइलें"
msgid "Local path"
msgstr "स्थानीय पथ"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Local server port"
+msgstr "स्थानीय सर्वर port"
+
#: src/lib/install-onboarding-toast.ts
msgid "Local-only requested but no git repository was created. Switch later via Settings → Config sharing once the project is in a git repo."
msgstr "केवल-स्थानीय का अनुरोध किया गया था, लेकिन कोई git रिपॉजिटरी नहीं बनाई गई। प्रोजेक्ट के git रिपॉजिटरी में आ जाने पर आप सेटिंग्स → कॉन्फ़िग साझाकरण से बाद में बदल सकते हैं।"
@@ -7712,6 +7784,11 @@ msgstr "{path} में नेस्टेड .okignore त्रुटि"
msgid "Nested fields"
msgstr "नेस्टेड फ़ील्ड"
+#: src/components/settings/NetworkAccessSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "Network access"
+msgstr "नेटवर्क एक्सेस"
+
#: src/components/FileTree.tsx
msgid "Network error - {kind} \"{createdPath}\" still exists on disk"
msgstr "नेटवर्क त्रुटि - {kind} \"{createdPath}\" अब भी डिस्क पर मौजूद है"
@@ -7729,6 +7806,10 @@ msgstr "नेटवर्क त्रुटि (क्या `ok start` चल
msgid "Network error during cleanup"
msgstr "सफ़ाई के दौरान नेटवर्क त्रुटि"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Network settings not yet loaded — try again in a moment."
+msgstr "नेटवर्क सेटिंग्स अभी तक लोड नहीं हुईं — कुछ क्षण में पुनः प्रयास करें।"
+
#: src/components/SyncStatusBadge.tsx
msgid "never"
msgstr "कभी नहीं"
@@ -9462,6 +9543,10 @@ msgstr "लोकप्रिय"
msgid "Popular on skills.sh"
msgstr "skills.sh पर लोकप्रिय"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Port {configuredPort} is in use, so the server is running on port {boundPort} instead. A tunnel forwarding to the fixed port won't reach it — free that port and apply again, or choose a different one."
+msgstr "पोर्ट {configuredPort} पहले से उपयोग में है, इसलिए सर्वर इसके बजाय पोर्ट {boundPort} पर चल रहा है। फिक्स्ड पोर्ट की ओर जाने वाला tunnel इस तक नहीं पहुँचेगा — उस पोर्ट को खाली करें और फिर से लागू करें, या कोई दूसरा चुनें।"
+
#: src/components/settings/SettingsDialogBody.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "Preferences"
@@ -10384,6 +10469,10 @@ msgstr "पुनः आरंभ किया जा रहा है"
msgid "Restarting closes this project's server. Connected agents (Claude Code, Codex, Cursor) will see their OpenKnowledge MCP connection close unexpectedly — you may need to restart the agent, or toggle its OpenKnowledge MCP server off and on, to reconnect."
msgstr "पुनः आरंभ करने पर इस प्रोजेक्ट का सर्वर बंद हो जाता है। जुड़े हुए एजेंट (Claude Code, Codex, Cursor) अपना OpenKnowledge MCP कनेक्शन अप्रत्याशित रूप से बंद होते देखेंगे — फिर से जुड़ने के लिए आपको एजेंट पुनः आरंभ करना पड़ सकता है, या उसका OpenKnowledge MCP सर्वर बंद करके फिर चालू करना पड़ सकता है।"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Restarting the server is only available in the desktop app."
+msgstr "सर्वर को पुनः प्रारंभ करना केवल डेस्कटॉप ऐप में उपलब्ध है।"
+
#: src/lib/install-server-drift-listener.ts
msgid "Restarting the server…"
msgstr "सर्वर पुनः आरंभ किया जा रहा है…"
@@ -12477,6 +12566,10 @@ msgstr "प्रदाता ने अनुरोध अस्वीकार
msgid "The provider rejected the request. Check the API key and the model id."
msgstr "प्रदाता ने अनुरोध अस्वीकार कर दिया। API कुंजी और मॉडल id जाँचें।"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The public URL your tunnel serves. The server admits requests for this host and advertises it in the URLs it issues."
+msgstr "वह सार्वजनिक URL जिसे आपका tunnel सर्व करता है। सर्वर इस host के लिए अनुरोध स्वीकार करता है और अपने द्वारा जारी किए गए URL में इसका विज्ञापन करता है।"
+
#: src/components/ReportBugDialogBody.tsx
msgid "The report service couldn't be reached."
msgstr "रिपोर्ट सेवा तक नहीं पहुँचा जा सका।"
@@ -12501,6 +12594,11 @@ msgstr "स्कीमा फ़ाइल मौजूद नहीं है
msgid "the server responded but server.lock has no port yet"
msgstr "सर्वर ने जवाब दिया लेकिन server.lock में अभी कोई पोर्ट नहीं है"
+#. placeholder {0}: origin.trim()
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The server will accept requests for {0} with no built-in authentication. Anyone who can reach your tunnel will have full control of this knowledge base — including sync, GitHub credentials, and local operations. Make sure the tunnel's edge restricts who can connect."
+msgstr "सर्वर {0} के लिए अनुरोध बिना किसी अंतर्निहित प्रमाणीकरण के स्वीकार करेगा। जो कोई भी आपके tunnel तक पहुंच सकता है उसका इस ज्ञान आधार पर पूर्ण नियंत्रण होगा — जिसमें sync, GitHub क्रेडेंशियल्स, और स्थानीय ऑपरेशन शामिल हैं। सुनिश्चित करें कि tunnel का edge यह प्रतिबंधित करे कि कौन कनेक्ट कर सकता है।"
+
#: src/components/settings/LintingSection.tsx
msgid "The shapes of title, description, resource, and tags when you use them. None are required; declaring one only pins its type, so tags written as a comma-separated string is flagged."
msgstr "जब आप title, description, resource, और tags का उपयोग करते हैं तो उनकी आकृतियाँ। किसी की भी आवश्यकता नहीं है; किसी को घोषित करने से केवल उसके प्रकार का पता चलता है, इसलिए अल्पविराम से अलग की गई स्ट्रिंग के रूप में लिखे गए tags को चिह्नित किया जाता है।"
@@ -12953,6 +13051,10 @@ msgstr "यह सामग्री आपकी मशीन से बाह
msgid "This sends the link's address off your machine"
msgstr "यह लिंक का पता आपकी मशीन से बाहर भेजता है"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "This server has no built-in authentication. Anyone who can reach the tunnel gets full control of this knowledge base — restrict access at the tunnel's edge (a Tailscale ACL, a reverse proxy with auth, or a firewall)."
+msgstr "इस सर्वर में कोई अंतर्निहित प्रमाणीकरण नहीं है। जो कोई भी tunnel तक पहुंच सकता है उसे इस ज्ञान आधार पर पूर्ण नियंत्रण मिल जाता है — tunnel के edge पर एक्सेस प्रतिबंधित करें (एक Tailscale ACL, प्रमाणीकरण के साथ एक रिवर्स प्रॉक्सी, या एक फ़ायरवॉल)।"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "This setting is per-machine and isn't shared with collaborators."
msgstr "यह सेटिंग हर मशीन के लिए अलग है और सहयोगियों के साथ साझा नहीं होती।"
@@ -13628,6 +13730,10 @@ msgstr "कोई स्टार्टर पैक उपयोग करे
msgid "Use a token instead"
msgstr "इसके बजाय कोई टोकन उपयोग करें"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Use an http:// or https:// origin."
+msgstr "एक http:// या https:// origin का उपयोग करें।"
+
#: src/components/settings/SearchSection.tsx
msgid "Use an https:// URL — http:// is only allowed for localhost."
msgstr "कोई https:// URL उपयोग करें — http:// केवल localhost के लिए अनुमत है।"
diff --git a/packages/app/src/locales/id/messages.json b/packages/app/src/locales/id/messages.json
index 88c8fb2b6..196ad321e 100644
--- a/packages/app/src/locales/id/messages.json
+++ b/packages/app/src/locales/id/messages.json
@@ -123,6 +123,7 @@
"0yL--g": ["Tinjau konflik"],
"0ySP5u": ["Perubahan disimpan otomatis ke tema ini."],
"0zAhu6": ["semua dokumen"],
+ "1-flC9": ["Port server lokal"],
"10g8I_": ["Matikan Hanya berkas markdown"],
"110eEb": [
"Open Knowledge membuat dan memelihara file navigasi bernama index.md di setiap folder yang berisi Markdown."
@@ -193,6 +194,7 @@
"2BBAbc": ["Daftar"],
"2C-6zf": ["Belum terkirim"],
"2CHoQv": ["Muat Ulang Paksa"],
+ "2D1x3Y": ["Terapkan dan mulai ulang server proyek"],
"2FYpfJ": ["Lainnya"],
"2FnYUD": [
"Info aplikasi & sistem, log aplikasi terbaru, dan log server proyek: hal-hal penting yang kami perlukan untuk menirukan masalahnya."
@@ -376,6 +378,9 @@
"56WWtu": ["Paket awal tidak bisa dimuat: ", ["error"]],
"56xUL1": ["Nama properti"],
"57fiu8": ["(hanya-baca — untuk sekarang, sunting di mode sumber)"],
+ "58ko2F": [
+ "Ekspos server proyek ini ke jaringan yang lebih luas melalui tunnel yang Anda jalankan (misalnya Tailscale). Pemirsa di tunnel mendapatkan editor dan endpoint agen, mengedit secara langsung terhadap server mesin ini."
+ ],
"58qIOK": ["Komentari pilihan ini"],
"5ALjdr": ["Menelusuri hasil pencarian penyunting visual dari bidang pencarian."],
"5Ajb15": ["Rumus <0>c = √(a² + b²)</0> dirender sebaris."],
@@ -455,6 +460,9 @@
"62bOuM": ["Suntingan terakhir"],
"636K3K": ["Hapus chip di sebelahnya"],
"64sesb": ["Kotak sorot menarik perhatian ke informasi penting."],
+ "65Ea2s": [
+ "Mengekspos akan menetapkan port tetap agar target tunnel tetap stabil di seluruh mulai ulang."
+ ],
"67Dpmh": ["Saran perintah garis miring"],
"67TEhP": [
"Folder keterampilan tingkat pengguna Anda — tersedia di setiap proyek pada komputer ini. Menu pemasangan tiap keterampilan menentukan di mana ia berada."
@@ -595,6 +603,7 @@
"80c4-P": ["Kode disalin ke papan klip"],
"81H_23": ["Tambahkan properti"],
"851WA-": ["Ini bisa diatur di Pengaturan > Alat AI & CLI"],
+ "87GMKe": ["Ekspos proyek ini ke jaringan?"],
"881Uwh": ["Hapus tabel terpilih"],
"89TtiD": [
"Berkas baru dari templat \"",
@@ -625,6 +634,9 @@
"8RtNI0": ["Gagal memuat dokumen"],
"8SrrDi": ["Rekor baru · tekan spasi untuk main lagi"],
"8TvlHF": ["Crash dump"],
+ "8UmUyc": [
+ "URL publik yang dilayani tunnel Anda. Server menerima permintaan untuk host ini dan mengumumkannya dalam URL yang diterbitkannya."
+ ],
"8Uv5e6": ["Agen"],
"8Vq20-": ["Ganti worktree"],
"8Wav8y": [
@@ -943,6 +955,11 @@
["shareBranch"],
"</0>. Anda punya perubahan yang belum di-commit sehingga tidak bisa berpindah di sini — buka di sebuah worktree agar perubahan Anda tetap utuh."
],
+ "DTcfyN": [
+ "Server akan menerima permintaan untuk ",
+ ["0"],
+ " tanpa autentikasi bawaan. Siapa pun yang dapat menjangkau tunnel Anda akan memiliki kendali penuh atas basis pengetahuan ini — termasuk sinkronisasi, kredensial GitHub, dan operasi lokal. Pastikan tepi tunnel membatasi siapa yang dapat terhubung."
+ ],
"DUWgfT": ["Autentikasi ulang dengan GitHub Enterprise Server"],
"DUb7Ax": ["Beberapa berkas menggunakan nama tema ini"],
"DVh_Tb": ["Gagal membersihkan setelah pemindahan ke tempat sampah"],
@@ -958,6 +975,7 @@
"Dd6j2Q": ["Lihat komentar"],
"DeDYLr": ["Tautan wiki tidak dikenali"],
"DgcGrb": [["fileCount", "plural", { "other": ["berkas"] }]],
+ "Dh11sK": ["Memulai ulang server hanya tersedia di aplikasi desktop."],
"DhLHEb": ["Gagal memuat aktivitas"],
"DhT_PK": ["OpenKnowledge mengimpor sebuah keterampilan"],
"DiFKSL": ["Menghitung berkas markdown"],
@@ -971,6 +989,9 @@
"DrYM2Z": ["Sinkronisasi dinonaktifkan"],
"DsDwR-": [["0", "plural", { "other": ["#", " galat"] }]],
"DskIkK": ["Aliran proses masuk berakhir tanpa konfirmasi — silakan coba lagi"],
+ "DuCPiG": [
+ "Otomatis memilih port bebas setiap kali dimulai. Pilih port tetap untuk mempertahankan alamat yang sama di seluruh mulai ulang."
+ ],
"Dub54T": [
"Peramban pratinjau tidak bisa menyalin otomatis. Gunakan Cmd/Ctrl+C pada URL di atas, atau buka OK di aplikasi desktop."
],
@@ -1012,6 +1033,7 @@
"ENpRJV": ["Pratinjau tautan eksternal"],
"EO4Dt1": ["Aktifkan ", ["file"]],
"EOjU5V": ["Properti Matematika Sebaris"],
+ "EP8mZC": ["Ekspos dan mulai ulang"],
"EPGePE": ["Diunggah sebagai \"", ["0"], "\" — nama \"", ["1"], "\" sudah dipakai."],
"EPKVES": ["Perbarui \"", ["skillName"], "\" menimpa suntingan Anda?"],
"EPwuTC": [["usedLabel"], " / ", ["sizeLabel"], " token terpakai"],
@@ -1393,6 +1415,7 @@
"JddocZ": ["Alihkan kolom header"],
"Jejur6": ["Dokumen tidak bisa dimuat"],
"JfPuv7": [["shareBranch"], " bukan nama cabang yang valid."],
+ "JgaVnN": ["Izinkan akses eksternal"],
"Jhj_lh": ["Ubah tujuan tautan, jangkar, dan label tampilannya."],
"JhqycE": ["Tidak ada berkas terbaru"],
"JkCD2u": ["Sinkronisasi dijeda — Anda tidak punya izin push ke repo ini"],
@@ -1454,6 +1477,7 @@
"KZLdgR": ["Lihat <0>#design-docs</0> untuk spesifikasi terbaru."],
"K_vT1F": ["Sinkronisasi hulu"],
"KaFCD3": ["Membuka tautan ini di tab baru dan menciutkan graf."],
+ "Kbz9RK": ["Nomor port tetap"],
"KeXgA-": [
"Tidak dapat menemukan bagian teks itu — teks yang ditandainya mungkin telah berubah."
],
@@ -1868,6 +1892,7 @@
"PrVaZo": ["Copot OpenKnowledge?"],
"PrWQiT": ["Pindahkan Terminal ke kanan"],
"PrhzDE": ["Geser ke atas"],
+ "Pw5PTU": ["Origin eksternal"],
"Q-DKvr": ["Pasang dari ", ["source"]],
"Q1mtyd": ["Sembunyikan bilah sisi"],
"Q5fqMz": ["Galat koneksi — coba lagi"],
@@ -2014,6 +2039,13 @@
"S48xcO": ["tertunda"],
"S6eHlw": ["Buka proyek terlebih dahulu."],
"S6l5dv": ["Pembuatan item baru tidak dapat dimulai"],
+ "S79zoi": [
+ "Port ",
+ ["configuredPort"],
+ " sedang digunakan, jadi server berjalan di port ",
+ ["boundPort"],
+ ". Tunnel yang menuju port tetap tidak akan menjangkaunya — bebaskan port itu dan terapkan lagi, atau pilih yang lain."
+ ],
"S9Vnum": ["Hapus ", ["patternText"]],
"S9t1PI": ["Memperbaiki ", ["0"], "/", ["1"]],
"SCoBBH": ["Saran tag"],
@@ -2079,6 +2111,7 @@
"TKQ7K-": ["Pasang"],
"TLIO3j": ["Menyalakan atau mematikan format miring."],
"TMLAx2": ["Wajib"],
+ "TNKAIS": ["Menerapkan akan memulai ulang server proyek ini."],
"TQJCR6": [["0", "plural", { "other": ["#", " hasil"] }]],
"TTDXD8": ["Worktree baru…"],
"TUzThQ": ["Bagikan keterampilan"],
@@ -2100,6 +2133,7 @@
"Memberi tahu agen kapan harus memakai keterampilan ini. Anda bisa menyuntingnya nanti."
],
"Tofsyo": ["Pindahkan Terminal ke bawah"],
+ "TpqW74": ["Tetap"],
"Tq3pcs": ["Pakai punya saya"],
"Tq9kNX": [
"Tidak ada obrolan terbuka. Buka kembali obrolan sebelumnya, atau mulai yang baru dengan tombol +."
@@ -2853,6 +2887,7 @@
"cuA8QW": ["Tata spesifikasi"],
"cuHhjo": ["Buat dan sunting"],
"d-GtJt": ["Lihat di sumber Markdown"],
+ "d02jS3": ["Akses jaringan"],
"d1JjXo": [
"Salinan lokal cabang <0>",
["branch"],
@@ -4155,6 +4190,7 @@
"u5Utjn": [["0"], " membutuhkan ", ["1"]],
"u5hSeG": ["Bagikan masukan"],
"u6Hp4N": ["Markdown"],
+ "u779EG": ["Gunakan origin http:// atau https://."],
"u7H-Wn": ["Tampilkan panel (", ["panelShortcutLabel"], ")"],
"u7U_Ij": ["Menautkan teks yang dipilih, atau menyunting tautan di bawah kursor."],
"uA_jXp": ["Ganti cabang dan perbarui"],
@@ -4165,6 +4201,7 @@
"uDlyqd": [
"Dokumentasikan arsitektur repo ini: buat halaman ikhtisar yang menaut ke satu halaman per modul utama yang menjelaskan tanggung jawab dan titik masuknya."
],
+ "uDzLV-": ["Masukkan URL yang valid, misalnya https://notes.example.com"],
"uF82hk": ["Mengendap…"],
"uF9ruK": ["Menyimpan"],
"uFQbYd": ["Halaman utama dan titik masuk."],
@@ -4213,6 +4250,9 @@
"um-es7": ["Rilis penyuntingnya dengan sebuah"],
"un-K1H": ["Tetap di komputer ini. Tidak di-commit ke git."],
"un8kBM": ["Membuat halaman: ", ["linkTitle"], "."],
+ "unmCLE": [
+ "Server ini tidak memiliki autentikasi bawaan. Siapa pun yang dapat menjangkau tunnel mendapatkan kendali penuh atas basis pengetahuan ini — batasi akses di tepi tunnel (ACL Tailscale, reverse proxy dengan autentikasi, atau firewall)."
+ ],
"uoJF_D": ["Terlalu sulit disiapkan atau dimulai"],
"ur2XSb": ["Penyunting visual"],
"uuoHOU": ["Perintah gagal."],
@@ -4337,6 +4377,7 @@
"wTcjov": ["Tanpa ruang kerja"],
"wU8WyK": ["Bidang elemen"],
"wVa83H": ["Laporannya tidak bisa dibuat"],
+ "wWtVYd": ["Masukkan port antara 1 dan 65535."],
"wXO4Tg": [["hrs"], " j lalu"],
"wXw19Y": ["\"", ["projectName"], "\" dihapus dari proyek terbaru. Foldernya sudah tidak ada."],
"wZPUJx": ["“", ["0"], "”"],
@@ -4346,6 +4387,7 @@
"wbv9xO": ["Buat proyek baru"],
"wc54KE": ["Mencobanya…"],
"wcfO9r": ["Belum ada laporan bug."],
+ "wdRxTD": ["Menerapkan…"],
"wdxz7K": ["Sumber"],
"wdzBgi": ["Berbagi konfigurasi kini Hanya saya."],
"weP6me": ["Dokumen tidak bisa dimuat — ketik @ lagi untuk mencoba ulang"],
@@ -4399,6 +4441,7 @@
"xV5sXw": [["0"], " mgg lalu"],
"xWEvuo": ["Tanya AI"],
"xWomUD": ["Pakai versi ", ["editor"]],
+ "xXn6KB": ["Tidak dapat menyimpan pengaturan jaringan — ", ["0"]],
"xXo8FT": ["Gagal menyimpan: ", ["error"]],
"xYMPyY": [
"Penempelan belum lengkap — ",
@@ -4500,6 +4543,7 @@
"ylXj1N": ["Terpilih"],
"ymWJLd": ["Tampilkan ", ["0"], " lagi"],
"ynIa4S": ["Item daftar penyunting visual"],
+ "yopUSw": ["Pengaturan jaringan belum dimuat — coba lagi sebentar."],
"ypw6My": ["Menampilkan ", ["0"], " judul teratas — terus ketik untuk mempersempit"],
"ysxgu8": ["proyek"],
"yutJKi": ["Daftar periksa dengan kotak centang."],
@@ -4532,6 +4576,9 @@
"zAsDLY": ["Visualisasi graf tautan antardokumen"],
"zBUqvf": ["Siapkan integrasi OpenKnowledge…"],
"zD1Nqf": [["count", "plural", { "other": ["#", " dokumen"] }]],
+ "zHsZcU": [
+ "Masukkan origin publik yang dilayani tunnel Anda, misalnya https://notes.example.com"
+ ],
"zJL34S": ["Jendela Terminal baru"],
"zKxoPm": ["\"", ["0"], "\" tidak bisa diganti namanya: ", ["1"]],
"zL0LPh": ["Global di luar bidang teks"],
diff --git a/packages/app/src/locales/id/messages.po b/packages/app/src/locales/id/messages.po
index a0e7b95e9..64dd855c6 100644
--- a/packages/app/src/locales/id/messages.po
+++ b/packages/app/src/locales/id/messages.po
@@ -1520,6 +1520,10 @@ msgstr "Semua bagian sudah diselesaikan"
msgid "All tags"
msgstr "Semua tag"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Allow external access"
+msgstr "Izinkan akses eksternal"
+
#: src/components/settings/frontmatter-schema-field-editor.tsx
msgid "Allowed element values (empty = any)"
msgstr "Nilai elemen yang diizinkan (kosong = apa saja)"
@@ -1659,14 +1663,26 @@ msgstr "Berlaku untuk (glob — awalan ! mengecualikan; kosong berarti semua dok
msgid "Applies to all projects on this machine. Claude and Codex, started from the built-in terminal, 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. Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
msgstr "Berlaku untuk semua proyek di komputer ini. Claude dan Codex, yang dijalankan dari terminal bawaan, otomatis menyetujui alat baca dan tulis OpenKnowledge (Claude juga menjalankan \"ok open\" sendiri). Menghapus, memindahkan, membagikan, mengimpor atau memasang keterampilan, perintah lain, dan penyuntingan berkas di luar OpenKnowledge tetap ditanyakan. Cursor, OpenCode, dan Pi tidak terpengaruh. Sebaik mungkin, per agen."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Apply and restart project server"
+msgstr "Terapkan dan mulai ulang server proyek"
+
#: src/editor/bubble-menu/LinkEditPopover.tsx
msgid "Apply link"
msgstr "Terapkan tautan"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying restarts this project's server."
+msgstr "Menerapkan akan memulai ulang server proyek ini."
+
#: src/components/settings/SearchSection.tsx
msgid "Applying your change"
msgstr "Menerapkan perubahan Anda"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying…"
+msgstr "Menerapkan…"
+
#: src/components/acp/ThreadView.tsx
msgid "Approved"
msgstr "Disetujui"
@@ -1874,9 +1890,14 @@ msgstr "Pembaruan otomatis aktif untuk \"{name}\""
#. Section label for the automatic, one-click install path
#: src/components/InstallInClaudeDesktopDialog.tsx
+#: src/components/settings/NetworkAccessSection.tsx
msgid "Automatic"
msgstr "Otomatis"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
+msgstr "Otomatis memilih port bebas setiap kali dimulai. Pilih port tetap untuk mempertahankan alamat yang sama di seluruh mulai ulang."
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "Tersedia"
@@ -2181,6 +2202,7 @@ msgstr "Tidak dapat membagikan jalur ini."
#: src/components/SeedDialog.tsx
#: src/components/settings/LinkPreviewsSection.tsx
#: src/components/settings/LintingSection.tsx
+#: src/components/settings/NetworkAccessSection.tsx
#: src/components/settings/SavedThemesTiles.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/ShareBranchSwitchDialog.tsx
@@ -3724,6 +3746,12 @@ msgstr "Pengujiannya tidak bisa dijalankan. Pastikan OpenKnowledge masih berjala
msgid "Couldn’t save changes. Try editing a color again."
msgstr "Perubahan tidak dapat disimpan. Coba sunting warna lagi."
+#. placeholder {0}: humanFormat(first.error)
+#. placeholder {0}: humanFormat(second.error)
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Couldn't save network settings — {0}"
+msgstr "Tidak dapat menyimpan pengaturan jaringan — {0}"
+
#: src/components/TemplateForm.tsx
msgid "Couldn't save template: {error}"
msgstr "Templat tidak bisa disimpan: {error}"
@@ -4933,6 +4961,10 @@ msgstr "Masukkan nama folder (mis. otak)."
msgid "Enter a name for this theme."
msgstr "Masukkan nama untuk tema ini."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a port between 1 and 65535."
+msgstr "Masukkan port antara 1 dan 65535."
+
#: src/components/CreateProjectDialog.tsx
msgid "Enter a project name"
msgstr "Masukkan nama proyek"
@@ -4957,6 +4989,14 @@ msgstr "Masukkan nama tema yang valid."
msgid "Enter a valid URL (for example https://api.openai.com/v1)."
msgstr "Masukkan URL yang valid (misalnya https://api.openai.com/v1)."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a valid URL, for example https://notes.example.com"
+msgstr "Masukkan URL yang valid, misalnya https://notes.example.com"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"
+msgstr "Masukkan origin publik yang dilayani tunnel Anda, misalnya https://notes.example.com"
+
#: src/components/McpConsentDialogBody.tsx
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
@@ -5066,6 +5106,22 @@ msgstr "Jelajahi"
msgid "Explore skills"
msgstr "Jelajahi keterampilan"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose and restart"
+msgstr "Ekspos dan mulai ulang"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project to the network?"
+msgstr "Ekspos proyek ini ke jaringan?"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project's server to a wider network through a tunnel you run (for example Tailscale). A viewer on the tunnel gets the editor and agent endpoint, editing live against this machine's server."
+msgstr "Ekspos server proyek ini ke jaringan yang lebih luas melalui tunnel yang Anda jalankan (misalnya Tailscale). Pemirsa di tunnel mendapatkan editor dan endpoint agen, mengedit secara langsung terhadap server mesin ini."
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Exposing pins a fixed port so the tunnel's target stays stable across restarts."
+msgstr "Mengekspos akan menetapkan port tetap agar target tunnel tetap stabil di seluruh mulai ulang."
+
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/AgentSplitButton.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -5087,6 +5143,10 @@ msgstr "Pratinjau tautan eksternal"
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "Pratinjau tautan eksternal menampilkan kartu berisi nama situs, judul halaman, dan deskripsi saat Anda mengarahkan kursor ke sebuah tautan."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "External origin"
+msgstr "Origin eksternal"
+
#: src/editor/extensions/WikiLinkPropPanel.tsx
msgid "External wiki link"
msgstr "Tautan wiki eksternal"
@@ -5584,6 +5644,10 @@ msgstr "Perbaiki {flatId}"
msgid "Fix all with AI ({count})"
msgstr "Perbaiki semua dengan AI ({count})"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed"
+msgstr "Tetap"
+
#: src/lib/project-fix-sweep-store.ts
msgid "Fixed {total, plural, one {# file} other {# files}}."
msgstr "{total, plural, other {# berkas diperbaiki}}."
@@ -5592,6 +5656,10 @@ msgstr "{total, plural, other {# berkas diperbaiki}}."
msgid "Fixed folder in content root"
msgstr "Folder tetap di akar konten"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed port number"
+msgstr "Nomor port tetap"
+
#. placeholder {0}: fixing.done
#. placeholder {1}: fixing.total
#: src/components/ProblemsPanel.tsx
@@ -7218,6 +7286,10 @@ msgstr "Berkas lokal"
msgid "Local path"
msgstr "Jalur lokal"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Local server port"
+msgstr "Port server lokal"
+
#: src/lib/install-onboarding-toast.ts
msgid "Local-only requested but no git repository was created. Switch later via Settings → Config sharing once the project is in a git repo."
msgstr "Mode hanya lokal diminta, tetapi tidak ada repositori git yang dibuat. Anda dapat menggantinya nanti lewat Pengaturan → Berbagi konfigurasi setelah proyek berada di repositori git."
@@ -7712,6 +7784,11 @@ msgstr "Galat .okignore bersarang di {path}"
msgid "Nested fields"
msgstr "Bidang bersarang"
+#: src/components/settings/NetworkAccessSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "Network access"
+msgstr "Akses jaringan"
+
#: src/components/FileTree.tsx
msgid "Network error - {kind} \"{createdPath}\" still exists on disk"
msgstr "Galat jaringan - {kind} \"{createdPath}\" masih ada di disk"
@@ -7729,6 +7806,10 @@ msgstr "kesalahan jaringan (apakah `ok start` sedang berjalan?)"
msgid "Network error during cleanup"
msgstr "Galat jaringan saat pembersihan"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Network settings not yet loaded — try again in a moment."
+msgstr "Pengaturan jaringan belum dimuat — coba lagi sebentar."
+
#: src/components/SyncStatusBadge.tsx
msgid "never"
msgstr "tidak pernah"
@@ -9462,6 +9543,10 @@ msgstr "Populer"
msgid "Popular on skills.sh"
msgstr "Populer di skills.sh"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Port {configuredPort} is in use, so the server is running on port {boundPort} instead. A tunnel forwarding to the fixed port won't reach it — free that port and apply again, or choose a different one."
+msgstr "Port {configuredPort} sedang digunakan, jadi server berjalan di port {boundPort}. Tunnel yang menuju port tetap tidak akan menjangkaunya — bebaskan port itu dan terapkan lagi, atau pilih yang lain."
+
#: src/components/settings/SettingsDialogBody.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "Preferences"
@@ -10384,6 +10469,10 @@ msgstr "Memulai ulang"
msgid "Restarting closes this project's server. Connected agents (Claude Code, Codex, Cursor) will see their OpenKnowledge MCP connection close unexpectedly — you may need to restart the agent, or toggle its OpenKnowledge MCP server off and on, to reconnect."
msgstr "Memulai ulang akan menutup server proyek ini. Agen yang terhubung (Claude Code, Codex, Cursor) akan melihat koneksi MCP OpenKnowledge mereka tertutup tak terduga — Anda mungkin perlu memulai ulang agennya, atau mematikan lalu menyalakan server MCP OpenKnowledge padanya, untuk tersambung kembali."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Restarting the server is only available in the desktop app."
+msgstr "Memulai ulang server hanya tersedia di aplikasi desktop."
+
#: src/lib/install-server-drift-listener.ts
msgid "Restarting the server…"
msgstr "Memulai ulang server…"
@@ -12477,6 +12566,10 @@ msgstr "Penyedianya menolak permintaannya (HTTP {0}). Periksa kunci API dan id m
msgid "The provider rejected the request. Check the API key and the model id."
msgstr "Penyedianya menolak permintaannya. Periksa kunci API dan id modelnya."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The public URL your tunnel serves. The server admits requests for this host and advertises it in the URLs it issues."
+msgstr "URL publik yang dilayani tunnel Anda. Server menerima permintaan untuk host ini dan mengumumkannya dalam URL yang diterbitkannya."
+
#: src/components/ReportBugDialogBody.tsx
msgid "The report service couldn't be reached."
msgstr "Layanan laporan tidak dapat dihubungi."
@@ -12501,6 +12594,11 @@ msgstr "Berkas skemanya tidak ada atau gagal dimuat — menambahkan sebuah bidan
msgid "the server responded but server.lock has no port yet"
msgstr "server merespons tetapi server.lock belum memiliki port"
+#. placeholder {0}: origin.trim()
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The server will accept requests for {0} with no built-in authentication. Anyone who can reach your tunnel will have full control of this knowledge base — including sync, GitHub credentials, and local operations. Make sure the tunnel's edge restricts who can connect."
+msgstr "Server akan menerima permintaan untuk {0} tanpa autentikasi bawaan. Siapa pun yang dapat menjangkau tunnel Anda akan memiliki kendali penuh atas basis pengetahuan ini — termasuk sinkronisasi, kredensial GitHub, dan operasi lokal. Pastikan tepi tunnel membatasi siapa yang dapat terhubung."
+
#: src/components/settings/LintingSection.tsx
msgid "The shapes of title, description, resource, and tags when you use them. None are required; declaring one only pins its type, so tags written as a comma-separated string is flagged."
msgstr "Bentuk title, description, resource, dan tags saat Anda menggunakannya. Tidak ada yang diperlukan; mendeklarasikan satu hanya menyematkan tipenya, jadi tags yang ditulis sebagai string yang dipisahkan koma akan ditandai."
@@ -12953,6 +13051,10 @@ msgstr "Ini mengirim konten keluar dari komputer Anda"
msgid "This sends the link's address off your machine"
msgstr "Ini mengirim alamat tautannya keluar dari komputer Anda"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "This server has no built-in authentication. Anyone who can reach the tunnel gets full control of this knowledge base — restrict access at the tunnel's edge (a Tailscale ACL, a reverse proxy with auth, or a firewall)."
+msgstr "Server ini tidak memiliki autentikasi bawaan. Siapa pun yang dapat menjangkau tunnel mendapatkan kendali penuh atas basis pengetahuan ini — batasi akses di tepi tunnel (ACL Tailscale, reverse proxy dengan autentikasi, atau firewall)."
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "This setting is per-machine and isn't shared with collaborators."
msgstr "Pengaturan ini berlaku per komputer dan tidak dibagikan dengan kolaborator."
@@ -13628,6 +13730,10 @@ msgstr "Pakai paket awal"
msgid "Use a token instead"
msgstr "Pakai token saja"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Use an http:// or https:// origin."
+msgstr "Gunakan origin http:// atau https://."
+
#: src/components/settings/SearchSection.tsx
msgid "Use an https:// URL — http:// is only allowed for localhost."
msgstr "Pakai URL https:// — http:// hanya diizinkan untuk localhost."
diff --git a/packages/app/src/locales/ko/messages.json b/packages/app/src/locales/ko/messages.json
index a80834f1f..cbe1bbafd 100644
--- a/packages/app/src/locales/ko/messages.json
+++ b/packages/app/src/locales/ko/messages.json
@@ -116,6 +116,7 @@
"0yL--g": ["충돌 검토"],
"0ySP5u": ["변경사항이 이 테마에 자동으로 저장됩니다."],
"0zAhu6": ["모든 문서"],
+ "1-flC9": ["로컬 서버 포트"],
"10g8I_": ["Markdown 파일만 끄기"],
"110eEb": [
"Open Knowledge는 Markdown이 있는 모든 폴더에 index.md라는 탐색 파일을 만들고 유지합니다."
@@ -184,6 +185,7 @@
"2BBAbc": ["목록"],
"2C-6zf": ["전송되지 않음"],
"2CHoQv": ["강제 새로 고침"],
+ "2D1x3Y": ["적용하고 프로젝트 서버 재시작"],
"2FYpfJ": ["더 보기"],
"2FnYUD": [
"앱 및 시스템 정보, 최근 앱 로그, 프로젝트 서버 로그입니다. 문제를 재현하는 데 필요한 핵심 정보입니다."
@@ -359,6 +361,9 @@
"56WWtu": ["스타터 팩을 불러오지 못했습니다: ", ["error"]],
"56xUL1": ["속성 이름"],
"57fiu8": ["(읽기 전용, 현재는 소스 모드에서 편집)"],
+ "58ko2F": [
+ "직접 운영하는 터널(예: Tailscale)을 통해 이 프로젝트의 서버를 더 넓은 네트워크에 노출합니다. 터널에 접속한 사람은 에디터와 에이전트 엔드포인트를 사용하여 이 컴퓨터의 서버에 실시간으로 편집할 수 있습니다."
+ ],
"58qIOK": ["선택 영역에 댓글 남기기"],
"5ALjdr": ["찾기 필드에서 비주얼 편집기 찾기 결과 사이를 이동합니다."],
"5Ajb15": ["수식 <0>c = √(a² + b²)</0>이 인라인으로 렌더링됩니다."],
@@ -437,6 +442,7 @@
"62bOuM": ["최신 편집"],
"636K3K": ["인접한 칩 삭제"],
"64sesb": ["콜아웃은 중요한 정보에 주의를 집중시킵니다."],
+ "65Ea2s": ["노출하면 포트가 고정되어 재시작해도 터널의 대상이 안정적으로 유지됩니다."],
"67Dpmh": ["슬래시 명령 제안"],
"67TEhP": [
"사용자 수준 스킬 폴더는 이 컴퓨터의 모든 프로젝트에서 사용할 수 있습니다. 각 스킬의 설치 메뉴에서 위치를 관리합니다."
@@ -575,6 +581,7 @@
"80c4-P": ["코드가 클립보드에 복사되었습니다."],
"81H_23": ["속성 추가"],
"851WA-": ["Settings > AI tools & CLI에서 설정 가능"],
+ "87GMKe": ["이 프로젝트를 네트워크에 노출할까요?"],
"881Uwh": ["선택한 표 삭제"],
"89TtiD": [
"템플릿 \"",
@@ -605,6 +612,9 @@
"8RtNI0": ["문서를 불러오지 못했습니다"],
"8SrrDi": ["새 기록 · 스페이스를 눌러 다시 시작"],
"8TvlHF": ["크래시 덤프"],
+ "8UmUyc": [
+ "터널이 제공하는 공개 URL입니다. 서버는 이 호스트에 대한 요청을 허용하고 발급하는 URL에 이 주소를 사용합니다."
+ ],
"8Uv5e6": ["에이전트"],
"8Vq20-": ["워크트리 전환"],
"8Wav8y": ["편집 중인 항목에 업데이트가 도착하면 병합 충돌처럼 유지할 버전을 선택합니다."],
@@ -913,6 +923,11 @@
["targetNoun"],
"입니다. 커밋되지 않은 변경 사항 때문에 여기서 전환할 수 없습니다. 변경 사항을 그대로 두고 워크트리에서 여세요."
],
+ "DTcfyN": [
+ "서버는 내장 인증 없이 ",
+ ["0"],
+ "에 대한 요청을 수락합니다. 터널에 접근할 수 있는 사람은 누구나 이 지식 베이스를 완전히 제어할 수 있습니다. 여기에는 동기화, GitHub 자격 증명, 로컬 작업이 포함됩니다. 터널 경계에서 접속할 수 있는 대상을 제한하세요."
+ ],
"DUWgfT": ["GitHub Enterprise Server 재인증"],
"DUb7Ax": ["여러 파일이 이 테마 이름을 사용함"],
"DVh_Tb": ["휴지통 정리 후속 작업에 실패했습니다"],
@@ -928,6 +943,7 @@
"Dd6j2Q": ["댓글 보기"],
"DeDYLr": ["인식할 수 없는 위키 링크"],
"DgcGrb": [["fileCount", "plural", { "other": ["파일"] }]],
+ "Dh11sK": ["서버 재시작은 데스크톱 앱에서만 가능합니다."],
"DhLHEb": ["활동 불러오기 실패"],
"DhT_PK": ["OpenKnowledge에서 스킬 가져오기"],
"DiFKSL": ["markdown 파일 세는 중"],
@@ -941,6 +957,9 @@
"DrYM2Z": ["동기화 사용 안 함"],
"DsDwR-": [["0", "plural", { "other": ["오류 ", "#", "개"] }]],
"DskIkK": ["로그인 스트림이 확인 없이 종료되었습니다. 다시 시도하세요."],
+ "DuCPiG": [
+ "자동을 선택하면 시작할 때마다 사용 가능한 포트를 고릅니다. 재시작해도 같은 주소를 유지하려면 고정 포트를 선택하세요."
+ ],
"Dub54T": [
"미리보기 브라우저에서는 자동 복사가 지원되지 않습니다. 위 URL에서 Cmd/Ctrl+C를 사용하거나 데스크톱 앱에서 OK를 여세요."
],
@@ -979,6 +998,7 @@
"ENpRJV": ["외부 링크 미리보기"],
"EO4Dt1": [["file"], " 활성화"],
"EOjU5V": ["인라인 수식 속성"],
+ "EP8mZC": ["노출하고 재시작"],
"EPGePE": ["\"", ["0"], "\"으로 업로드했습니다. 이름 \"", ["1"], "\"은 이미 사용 중입니다."],
"EPKVES": ["\"", ["skillName"], "\"을 편집한 내용 위에 업데이트할까요?"],
"EPwuTC": [["usedLabel"], " / ", ["sizeLabel"], " 토큰 사용"],
@@ -1336,6 +1356,7 @@
"JddocZ": ["헤더 열 전환"],
"Jejur6": ["문서를 불러오지 못했습니다"],
"JfPuv7": ["유효하지 않은 브랜치 이름입니다: ", ["shareBranch"]],
+ "JgaVnN": ["외부 접근 허용"],
"Jhj_lh": ["링크 대상, 앵커, 표시 레이블을 수정합니다."],
"JhqycE": ["최근 파일 없음"],
"JkCD2u": ["동기화 일시 중지됨, 이 리포지토리에 푸시할 권한이 없습니다"],
@@ -1395,6 +1416,7 @@
"KZLdgR": ["최신 사양은 <0>#design-docs</0>에서 확인하세요."],
"K_vT1F": ["상위 저장소 동기화"],
"KaFCD3": ["이 링크를 새 탭에서 열고 그래프를 접습니다."],
+ "Kbz9RK": ["고정 포트 번호"],
"KeXgA-": ["해당 구절을 찾지 못했습니다. 원문 변경 가능성이 있습니다."],
"Kf7GG5": ["서버 다시 시작 중…"],
"Kge76t": ["행 옵션"],
@@ -1797,6 +1819,7 @@
"PrVaZo": ["OpenKnowledge를 제거하시겠습니까?"],
"PrWQiT": ["터미널을 오른쪽으로 이동"],
"PrhzDE": ["위로 이동"],
+ "Pw5PTU": ["외부 오리진"],
"Q-DKvr": [["source"], "에서 설치"],
"Q1mtyd": ["사이드바 가리기"],
"Q5fqMz": ["연결 오류. 다시 시도하세요."],
@@ -1928,6 +1951,13 @@
"S48xcO": ["대기 중"],
"S6eHlw": ["먼저 프로젝트를 여세요."],
"S6l5dv": ["새 항목 만들기를 시작하지 못했습니다"],
+ "S79zoi": [
+ "포트 ",
+ ["configuredPort"],
+ "이(가) 사용 중이어서 서버가 대신 포트 ",
+ ["boundPort"],
+ "에서 실행 중입니다. 고정 포트로 전달하는 터널은 여기에 연결되지 않습니다. 해당 포트를 비운 후 다시 적용하거나 다른 포트를 선택하세요."
+ ],
"S9Vnum": [["patternText"], " 제거"],
"S9t1PI": [["0"], "/", ["1"], " 수정 중"],
"SCoBBH": ["태그 제안"],
@@ -1993,6 +2023,7 @@
"TKQ7K-": ["설치"],
"TLIO3j": ["기울임꼴 서식을 전환합니다."],
"TMLAx2": ["필수"],
+ "TNKAIS": ["적용하면 이 프로젝트의 서버가 재시작됩니다."],
"TQJCR6": [["0", "plural", { "other": ["#", "개 결과"] }]],
"TTDXD8": ["새 워크트리…"],
"TUzThQ": ["스킬 공유"],
@@ -2012,6 +2043,7 @@
"Tjc1pH": ["섹션 <0>(선택적 제목 앵커)</0>"],
"Tn5sik": ["에이전트가 이 스킬을 사용할 시점을 알려줍니다. 나중에 편집할 수 있습니다."],
"Tofsyo": ["터미널을 아래로 이동"],
+ "TpqW74": ["고정"],
"Tq3pcs": ["내 것 유지"],
"Tq9kNX": ["열린 채팅 없음. 이전 채팅을 다시 열거나 + 버튼으로 새 채팅 시작하세요."],
"TsZmgr": ["디스크의 파일과 에이전트가 사용하는 ID입니다."],
@@ -2729,6 +2761,7 @@
"cuA8QW": ["사양 정리"],
"cuHhjo": ["만들기 및 편집"],
"d-GtJt": ["소스 Markdown에서 보기"],
+ "d02jS3": ["네트워크 접근"],
"d1JjXo": [
"브랜치 <0>",
["branch"],
@@ -3966,6 +3999,7 @@
"u5Utjn": [["0"], "에 ", ["1"], " 필요"],
"u5hSeG": ["피드백 공유"],
"u6Hp4N": ["Markdown"],
+ "u779EG": ["http:// 또는 https:// 오리진을 사용하세요."],
"u7H-Wn": ["패널 보기 (", ["panelShortcutLabel"], ")"],
"u7U_Ij": ["선택한 텍스트에 링크를 추가하거나 커서 아래의 링크를 편집합니다."],
"uA_jXp": ["브랜치 전환 및 업데이트"],
@@ -3974,6 +4008,7 @@
"uDlyqd": [
"이 리포지토리의 아키텍처를 문서화합니다. 개요 페이지를 만들고 각 주요 모듈의 책임과 진입점을 설명하는 페이지로 연결합니다."
],
+ "uDzLV-": ["유효한 URL을 입력하세요. 예: https://notes.example.com"],
"uF82hk": ["전파 중…"],
"uF9ruK": ["저장 중"],
"uFQbYd": ["홈 페이지 및 진입점입니다."],
@@ -4018,6 +4053,9 @@
"um-es7": ["편집기를 다음과 함께 제공"],
"un-K1H": ["이 컴퓨터에 유지됩니다. git에 커밋되지 않습니다."],
"un8kBM": ["페이지 만드는 중: ", ["linkTitle"], "."],
+ "unmCLE": [
+ "이 서버에는 내장 인증이 없습니다. 터널에 접근할 수 있는 사람은 누구나 이 지식 베이스를 완전히 제어할 수 있습니다. 터널 경계에서 접근을 제한하세요(Tailscale ACL, 인증이 있는 리버스 프록시 또는 방화벽)."
+ ],
"uoJF_D": ["설정하거나 시작하기가 너무 어려웠습니다"],
"ur2XSb": ["비주얼 편집기"],
"uuoHOU": ["명령에 실패했습니다."],
@@ -4126,6 +4164,7 @@
"wTcjov": ["워크스페이스 없음"],
"wU8WyK": ["요소 필드"],
"wVa83H": ["보고서를 만들지 못했습니다"],
+ "wWtVYd": ["1에서 65535 사이의 포트를 입력하세요."],
"wXO4Tg": [["hrs"], "시간 전"],
"wXw19Y": [
"최근 프로젝트에서 \"",
@@ -4139,6 +4178,7 @@
"wbv9xO": ["새 프로젝트 만들기"],
"wc54KE": ["시험 중…"],
"wcfO9r": ["아직 버그 보고서가 없습니다."],
+ "wdRxTD": ["적용 중…"],
"wdxz7K": ["소스"],
"wdzBgi": ["config 공유가 이제 나만 보기입니다."],
"weP6me": ["문서를 불러오지 못했습니다. 다시 시도하려면 @를 입력하세요"],
@@ -4192,6 +4232,7 @@
"xV5sXw": [["0"], "주 전"],
"xWEvuo": ["AI에게 묻기"],
"xWomUD": [["editor"], " 버전 사용"],
+ "xXn6KB": ["네트워크 설정을 저장하지 못했습니다 — ", ["0"]],
"xXo8FT": ["저장 실패: ", ["error"]],
"xYMPyY": [
"붙여넣기가 완료되지 않았습니다. ",
@@ -4290,6 +4331,7 @@
"ylXj1N": ["선택됨"],
"ymWJLd": [["0"], "개 더 보기"],
"ynIa4S": ["비주얼 편집기 목록 항목"],
+ "yopUSw": ["네트워크 설정이 아직 로드되지 않았습니다. 잠시 후 다시 시도하세요."],
"ypw6My": ["상위 ", ["0"], "개 제목을 표시합니다. 계속 입력하여 범위를 좁히세요"],
"ysxgu8": ["프로젝트"],
"yutJKi": ["체크박스가 있는 체크리스트입니다."],
@@ -4320,6 +4362,7 @@
"zAsDLY": ["문서 링크 그래프 시각화"],
"zBUqvf": ["OpenKnowledge 통합 설정…"],
"zD1Nqf": [["count", "plural", { "other": ["#", "개 문서"] }]],
+ "zHsZcU": ["터널이 제공하는 공개 오리진을 입력하세요. 예: https://notes.example.com"],
"zJL34S": ["새 터미널 창"],
"zKxoPm": ["\"", ["0"], "\"의 이름을 바꾸지 못했습니다: ", ["1"]],
"zL0LPh": ["텍스트 필드 외 전역"],
diff --git a/packages/app/src/locales/ko/messages.po b/packages/app/src/locales/ko/messages.po
index 7b46b519e..7f344ede8 100644
--- a/packages/app/src/locales/ko/messages.po
+++ b/packages/app/src/locales/ko/messages.po
@@ -1524,6 +1524,10 @@ msgstr "모든 변경 블록 해결됨"
msgid "All tags"
msgstr "모든 태그"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Allow external access"
+msgstr "외부 접근 허용"
+
#: src/components/settings/frontmatter-schema-field-editor.tsx
msgid "Allowed element values (empty = any)"
msgstr "허용되는 요소 값 (비워 두면 모두 허용)"
@@ -1663,14 +1667,26 @@ msgstr "적용 대상 (glob, 앞의 !는 제외, 비워 두면 모든 문서)"
msgid "Applies to all projects on this machine. Claude and Codex, started from the built-in terminal, 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. Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
msgstr "이 컴퓨터의 모든 프로젝트에 적용됩니다. 기본 제공 터미널에서 시작한 Claude와 Codex는 OpenKnowledge의 읽기 및 쓰기 도구를 자동 승인합니다(Claude는 \"ok open\"도 자동 실행). 삭제, 이동, 공유, 가져오기, 스킬 설치, 기타 명령, OpenKnowledge 외부 파일 편집은 계속 확인을 요청합니다. Cursor, OpenCode, Pi에는 적용되지 않습니다. 에이전트별로 최선의 동작을 시도합니다."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Apply and restart project server"
+msgstr "적용하고 프로젝트 서버 재시작"
+
#: src/editor/bubble-menu/LinkEditPopover.tsx
msgid "Apply link"
msgstr "링크 적용"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying restarts this project's server."
+msgstr "적용하면 이 프로젝트의 서버가 재시작됩니다."
+
#: src/components/settings/SearchSection.tsx
msgid "Applying your change"
msgstr "변경사항 적용 중"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying…"
+msgstr "적용 중…"
+
#: src/components/acp/ThreadView.tsx
msgid "Approved"
msgstr "승인됨"
@@ -1878,9 +1894,14 @@ msgstr "\"{name}\" 자동 업데이트 켜짐"
#. Section label for the automatic, one-click install path
#: src/components/InstallInClaudeDesktopDialog.tsx
+#: src/components/settings/NetworkAccessSection.tsx
msgid "Automatic"
msgstr "자동"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
+msgstr "자동을 선택하면 시작할 때마다 사용 가능한 포트를 고릅니다. 재시작해도 같은 주소를 유지하려면 고정 포트를 선택하세요."
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "사용 가능"
@@ -2185,6 +2206,7 @@ msgstr "이 경로는 공유할 수 없습니다."
#: src/components/SeedDialog.tsx
#: src/components/settings/LinkPreviewsSection.tsx
#: src/components/settings/LintingSection.tsx
+#: src/components/settings/NetworkAccessSection.tsx
#: src/components/settings/SavedThemesTiles.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/ShareBranchSwitchDialog.tsx
@@ -3728,6 +3750,12 @@ msgstr "테스트를 실행하지 못했습니다. OpenKnowledge가 계속 실
msgid "Couldn’t save changes. Try editing a color again."
msgstr "변경사항을 저장하지 못했습니다. 색상을 다시 편집합니다."
+#. placeholder {0}: humanFormat(first.error)
+#. placeholder {0}: humanFormat(second.error)
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Couldn't save network settings — {0}"
+msgstr "네트워크 설정을 저장하지 못했습니다 — {0}"
+
#: src/components/TemplateForm.tsx
msgid "Couldn't save template: {error}"
msgstr "템플릿 저장 실패: {error}"
@@ -4937,6 +4965,10 @@ msgstr "폴더 이름을 입력하세요(예: brain)."
msgid "Enter a name for this theme."
msgstr "이 테마의 이름을 입력합니다."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a port between 1 and 65535."
+msgstr "1에서 65535 사이의 포트를 입력하세요."
+
#: src/components/CreateProjectDialog.tsx
msgid "Enter a project name"
msgstr "프로젝트 이름 입력"
@@ -4961,6 +4993,14 @@ msgstr "유효한 테마 이름을 입력합니다."
msgid "Enter a valid URL (for example https://api.openai.com/v1)."
msgstr "유효한 URL 입력, 예: https://api.openai.com/v1"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a valid URL, for example https://notes.example.com"
+msgstr "유효한 URL을 입력하세요. 예: https://notes.example.com"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"
+msgstr "터널이 제공하는 공개 오리진을 입력하세요. 예: https://notes.example.com"
+
#: src/components/McpConsentDialogBody.tsx
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
@@ -5070,6 +5110,22 @@ msgstr "탐색"
msgid "Explore skills"
msgstr "스킬 탐색"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose and restart"
+msgstr "노출하고 재시작"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project to the network?"
+msgstr "이 프로젝트를 네트워크에 노출할까요?"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project's server to a wider network through a tunnel you run (for example Tailscale). A viewer on the tunnel gets the editor and agent endpoint, editing live against this machine's server."
+msgstr "직접 운영하는 터널(예: Tailscale)을 통해 이 프로젝트의 서버를 더 넓은 네트워크에 노출합니다. 터널에 접속한 사람은 에디터와 에이전트 엔드포인트를 사용하여 이 컴퓨터의 서버에 실시간으로 편집할 수 있습니다."
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Exposing pins a fixed port so the tunnel's target stays stable across restarts."
+msgstr "노출하면 포트가 고정되어 재시작해도 터널의 대상이 안정적으로 유지됩니다."
+
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/AgentSplitButton.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -5091,6 +5147,10 @@ msgstr "외부 링크 미리보기"
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "외부 링크 위에 마우스를 올리면 사이트 이름, 페이지 제목, 설명이 있는 미리보기 카드가 나타납니다."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "External origin"
+msgstr "외부 오리진"
+
#: src/editor/extensions/WikiLinkPropPanel.tsx
msgid "External wiki link"
msgstr "외부 위키 링크"
@@ -5588,6 +5648,10 @@ msgstr "{flatId} 수정"
msgid "Fix all with AI ({count})"
msgstr "AI로 모두 수정 ({count})"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed"
+msgstr "고정"
+
#: src/lib/project-fix-sweep-store.ts
msgid "Fixed {total, plural, one {# file} other {# files}}."
msgstr "{total, plural, other {파일 #개}}를 수정했습니다."
@@ -5596,6 +5660,10 @@ msgstr "{total, plural, other {파일 #개}}를 수정했습니다."
msgid "Fixed folder in content root"
msgstr "콘텐츠 루트의 고정 폴더"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed port number"
+msgstr "고정 포트 번호"
+
#. placeholder {0}: fixing.done
#. placeholder {1}: fixing.total
#: src/components/ProblemsPanel.tsx
@@ -7222,6 +7290,10 @@ msgstr "로컬 파일"
msgid "Local path"
msgstr "로컬 경로"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Local server port"
+msgstr "로컬 서버 포트"
+
#: src/lib/install-onboarding-toast.ts
msgid "Local-only requested but no git repository was created. Switch later via Settings → Config sharing once the project is in a git repo."
msgstr "로컬 전용이 요청되었지만 git 리포지토리가 생성되지 않았습니다. 프로젝트가 git 리포지토리에 들어간 후 설정 → 구성 공유에서 전환할 수 있습니다."
@@ -7716,6 +7788,11 @@ msgstr "{path}의 중첩된 .okignore 오류"
msgid "Nested fields"
msgstr "중첩 필드"
+#: src/components/settings/NetworkAccessSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "Network access"
+msgstr "네트워크 접근"
+
#: src/components/FileTree.tsx
msgid "Network error - {kind} \"{createdPath}\" still exists on disk"
msgstr "{kind} “{createdPath}”에 대한 네트워크 오류입니다. 해당 항목이 디스크에 여전히 있습니다."
@@ -7733,6 +7810,10 @@ msgstr "네트워크 오류 (`ok start` 실행 중인가요?)"
msgid "Network error during cleanup"
msgstr "정리 중 네트워크 오류가 발생했습니다."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Network settings not yet loaded — try again in a moment."
+msgstr "네트워크 설정이 아직 로드되지 않았습니다. 잠시 후 다시 시도하세요."
+
#: src/components/SyncStatusBadge.tsx
msgid "never"
msgstr "없음"
@@ -9466,6 +9547,10 @@ msgstr "인기"
msgid "Popular on skills.sh"
msgstr "skills.sh에서 인기"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Port {configuredPort} is in use, so the server is running on port {boundPort} instead. A tunnel forwarding to the fixed port won't reach it — free that port and apply again, or choose a different one."
+msgstr "포트 {configuredPort}이(가) 사용 중이어서 서버가 대신 포트 {boundPort}에서 실행 중입니다. 고정 포트로 전달하는 터널은 여기에 연결되지 않습니다. 해당 포트를 비운 후 다시 적용하거나 다른 포트를 선택하세요."
+
#: src/components/settings/SettingsDialogBody.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "Preferences"
@@ -10388,6 +10473,10 @@ msgstr "재시작 중"
msgid "Restarting closes this project's server. Connected agents (Claude Code, Codex, Cursor) will see their OpenKnowledge MCP connection close unexpectedly — you may need to restart the agent, or toggle its OpenKnowledge MCP server off and on, to reconnect."
msgstr "다시 시작하면 이 프로젝트의 서버가 닫힙니다. 연결된 에이전트(Claude Code, Codex, Cursor)는 OpenKnowledge MCP 연결이 예기치 않게 닫힌 것을 감지합니다. 다시 연결하려면 에이전트를 다시 시작하거나 OpenKnowledge MCP 서버를 껐다가 켜야 할 수 있습니다."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Restarting the server is only available in the desktop app."
+msgstr "서버 재시작은 데스크톱 앱에서만 가능합니다."
+
#: src/lib/install-server-drift-listener.ts
msgid "Restarting the server…"
msgstr "서버 다시 시작 중…"
@@ -12481,6 +12570,10 @@ msgstr "제공업체가 요청을 거부했습니다 (HTTP {0}). API 키와 모
msgid "The provider rejected the request. Check the API key and the model id."
msgstr "제공업체가 요청을 거부했습니다. API 키와 모델 ID를 확인합니다."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The public URL your tunnel serves. The server admits requests for this host and advertises it in the URLs it issues."
+msgstr "터널이 제공하는 공개 URL입니다. 서버는 이 호스트에 대한 요청을 허용하고 발급하는 URL에 이 주소를 사용합니다."
+
#: src/components/ReportBugDialogBody.tsx
msgid "The report service couldn't be reached."
msgstr "보고서 서비스에 연결할 수 없습니다."
@@ -12505,6 +12598,11 @@ msgstr "스키마 파일이 없거나 불러오지 못했습니다. 필드를
msgid "the server responded but server.lock has no port yet"
msgstr "서버 응답 완료. server.lock에 포트 없음"
+#. placeholder {0}: origin.trim()
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The server will accept requests for {0} with no built-in authentication. Anyone who can reach your tunnel will have full control of this knowledge base — including sync, GitHub credentials, and local operations. Make sure the tunnel's edge restricts who can connect."
+msgstr "서버는 내장 인증 없이 {0}에 대한 요청을 수락합니다. 터널에 접근할 수 있는 사람은 누구나 이 지식 베이스를 완전히 제어할 수 있습니다. 여기에는 동기화, GitHub 자격 증명, 로컬 작업이 포함됩니다. 터널 경계에서 접속할 수 있는 대상을 제한하세요."
+
#: src/components/settings/LintingSection.tsx
msgid "The shapes of title, description, resource, and tags when you use them. None are required; declaring one only pins its type, so tags written as a comma-separated string is flagged."
msgstr "사용할 때 title, description, resource, tags의 형태를 설정합니다. 모두 필수는 아니며, 하나를 선언하면 유형만 고정됩니다. 쉼표로 구분한 문자열로 작성한 tags는 오류로 표시됩니다."
@@ -12957,6 +13055,10 @@ msgstr "이 컴퓨터 밖으로 콘텐츠를 전송합니다"
msgid "This sends the link's address off your machine"
msgstr "이 컴퓨터 밖으로 링크 주소를 전송합니다"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "This server has no built-in authentication. Anyone who can reach the tunnel gets full control of this knowledge base — restrict access at the tunnel's edge (a Tailscale ACL, a reverse proxy with auth, or a firewall)."
+msgstr "이 서버에는 내장 인증이 없습니다. 터널에 접근할 수 있는 사람은 누구나 이 지식 베이스를 완전히 제어할 수 있습니다. 터널 경계에서 접근을 제한하세요(Tailscale ACL, 인증이 있는 리버스 프록시 또는 방화벽)."
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "This setting is per-machine and isn't shared with collaborators."
msgstr "이 설정은 컴퓨터별로 적용되며 공동 작업자와 공유되지 않습니다."
@@ -13632,6 +13734,10 @@ msgstr "스타터 팩 사용"
msgid "Use a token instead"
msgstr "대신 토큰 사용"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Use an http:// or https:// origin."
+msgstr "http:// 또는 https:// 오리진을 사용하세요."
+
#: src/components/settings/SearchSection.tsx
msgid "Use an https:// URL — http:// is only allowed for localhost."
msgstr "https:// URL을 사용합니다. http://는 localhost에만 허용됩니다."
diff --git a/packages/app/src/locales/pseudo/messages.json b/packages/app/src/locales/pseudo/messages.json
index 27af5c288..312d143a6 100644
--- a/packages/app/src/locales/pseudo/messages.json
+++ b/packages/app/src/locales/pseudo/messages.json
@@ -123,6 +123,7 @@
"0yL--g": ["Ŕēvĩēŵ ćōńƒĺĩćţś"],
"0ySP5u": ["Ćĥàńĝēś śàvē àũţōḿàţĩćàĺĺŷ ţō ţĥĩś ţĥēḿē."],
"0zAhu6": ["ēvēŕŷ ďōć"],
+ "1-flC9": ["Ĺōćàĺ śēŕvēŕ ƥōŕţ"],
"10g8I_": ["Ţũŕń ōƒƒ Ōńĺŷ ḿàŕķďōŵń ƒĩĺēś"],
"110eEb": [
"Ōƥēń Ķńōŵĺēďĝē ćŕēàţēś àńď ḿàĩńţàĩńś à ńàvĩĝàţĩōń ƒĩĺē ńàḿēď ĩńďēx.ḿď ĩń ēvēŕŷ ƒōĺďēŕ ţĥàţ ćōńţàĩńś Ḿàŕķďōŵń."
@@ -193,6 +194,7 @@
"2BBAbc": ["Ĺĩśţ"],
"2C-6zf": ["Ńōţ śēńţ"],
"2CHoQv": ["Ƒōŕćē Ŕēĺōàď"],
+ "2D1x3Y": ["Àƥƥĺŷ àńď ŕēśţàŕţ ƥŕōĴēćţ śēŕvēŕ"],
"2FYpfJ": ["Ḿōŕē"],
"2FnYUD": [
"Àƥƥ & śŷśţēḿ ĩńƒō, ŕēćēńţ àƥƥ ĺōĝś, àńď ƥŕōĴēćţ śēŕvēŕ ĺōĝś: ţĥē ēśśēńţĩàĺś ŵē ńēēď ţō ŕēƥŕōďũćē ţĥē ĩśśũē."
@@ -375,6 +377,9 @@
"56WWtu": ["Ćōũĺďń'ţ ĺōàď śţàŕţēŕ ƥàćķś: ", ["error"]],
"56xUL1": ["Ƥŕōƥēŕţŷ ńàḿē"],
"57fiu8": ["(ŕēàď-ōńĺŷ — ēďĩţ ĩń śōũŕćē ḿōďē ƒōŕ ńōŵ)"],
+ "58ko2F": [
+ "Ēxƥōśē ţĥĩś ƥŕōĴēćţ'ś śēŕvēŕ ţō à ŵĩďēŕ ńēţŵōŕķ ţĥŕōũĝĥ à ţũńńēĺ ŷōũ ŕũń (ƒōŕ ēxàḿƥĺē Ţàĩĺśćàĺē). À vĩēŵēŕ ōń ţĥē ţũńńēĺ ĝēţś ţĥē ēďĩţōŕ àńď àĝēńţ ēńďƥōĩńţ, ēďĩţĩńĝ ĺĩvē àĝàĩńśţ ţĥĩś ḿàćĥĩńē'ś śēŕvēŕ."
+ ],
"58qIOK": ["Ćōḿḿēńţ ōń ţĥĩś śēĺēćţĩōń"],
"5ALjdr": ["Ḿōvē ţĥŕōũĝĥ vĩśũàĺ-ēďĩţōŕ ƒĩńď ŕēśũĺţś ƒŕōḿ ţĥē ƒĩńď ƒĩēĺď."],
"5Ajb15": ["Ţĥē ƒōŕḿũĺà <0>ć = √(ಠ+ ƀ²)</0> ŕēńďēŕś ĩńĺĩńē."],
@@ -452,6 +457,7 @@
"62bOuM": ["Ĺàţēśţ ēďĩţ"],
"636K3K": ["Ďēĺēţē àďĴàćēńţ ćĥĩƥ"],
"64sesb": ["Ćàĺĺōũţś ďŕàŵ àţţēńţĩōń ţō ķēŷ ĩńƒōŕḿàţĩōń."],
+ "65Ea2s": ["Ēxƥōśĩńĝ ƥĩńś à ƒĩxēď ƥōŕţ śō ţĥē ţũńńēĺ'ś ţàŕĝēţ śţàŷś śţàƀĺē àćŕōśś ŕēśţàŕţś."],
"67Dpmh": ["Śĺàśĥ ćōḿḿàńď śũĝĝēśţĩōńś"],
"67TEhP": [
"Ŷōũŕ ũśēŕ-ĺēvēĺ śķĩĺĺ ƒōĺďēŕś — àvàĩĺàƀĺē ĩń ēvēŕŷ ƥŕōĴēćţ ōń ţĥĩś ḿàćĥĩńē. Ēàćĥ śķĩĺĺ'ś ĩńśţàĺĺ ḿēńũ ćōńţŕōĺś ŵĥēŕē ĩţ ĺĩvēś."
@@ -593,6 +599,7 @@
"80c4-P": ["Ćōďē ćōƥĩēď ţō ćĺĩƥƀōàŕď"],
"81H_23": ["Àďď ƥŕōƥēŕţĩēś"],
"851WA-": ["Ţĥĩś ćàń ƀē ćōńƒĩĝũŕēď ĩń Śēţţĩńĝś > ÀĨ ţōōĺś & ĆĹĨ"],
+ "87GMKe": ["Ēxƥōśē ţĥĩś ƥŕōĴēćţ ţō ţĥē ńēţŵōŕķ?"],
"881Uwh": ["Ďēĺēţē śēĺēćţēď ţàƀĺē"],
"89TtiD": [
"Ńēŵ ƒĩĺē ƒŕōḿ ţēḿƥĺàţē \"",
@@ -627,6 +634,9 @@
"8RtNI0": ["Ƒàĩĺēď ţō ĺōàď ďōćũḿēńţś"],
"8SrrDi": ["Ńēŵ ƀēśţ · ƥŕēśś śƥàćē ţō ƥĺàŷ àĝàĩń"],
"8TvlHF": ["Ćŕàśĥ ďũḿƥ"],
+ "8UmUyc": [
+ "Ţĥē ƥũƀĺĩć ŨŔĹ ŷōũŕ ţũńńēĺ śēŕvēś. Ţĥē śēŕvēŕ àďḿĩţś ŕēǫũēśţś ƒōŕ ţĥĩś ĥōśţ àńď àďvēŕţĩśēś ĩţ ĩń ţĥē ŨŔĹś ĩţ ĩśśũēś."
+ ],
"8Uv5e6": ["Àĝēńţś"],
"8Vq20-": ["Śŵĩţćĥ ŵōŕķţŕēē"],
"8Wav8y": [
@@ -961,6 +971,11 @@
["shareBranch"],
"</0>. Ŷōũ ĥàvē ũńćōḿḿĩţţēď ćĥàńĝēś ţĥàţ ƥŕēvēńţ śŵĩţćĥĩńĝ ĥēŕē — ōƥēń ĩţ ĩń à ŵōŕķţŕēē ţō ĺēàvē ŷōũŕ ćĥàńĝēś ũńţōũćĥēď."
],
+ "DTcfyN": [
+ "Ţĥē śēŕvēŕ ŵĩĺĺ àććēƥţ ŕēǫũēśţś ƒōŕ ",
+ ["0"],
+ " ŵĩţĥ ńō ƀũĩĺţ-ĩń àũţĥēńţĩćàţĩōń. Àńŷōńē ŵĥō ćàń ŕēàćĥ ŷōũŕ ţũńńēĺ ŵĩĺĺ ĥàvē ƒũĺĺ ćōńţŕōĺ ōƒ ţĥĩś ķńōŵĺēďĝē ƀàśē — ĩńćĺũďĩńĝ śŷńć, ĜĩţĤũƀ ćŕēďēńţĩàĺś, àńď ĺōćàĺ ōƥēŕàţĩōńś. Ḿàķē śũŕē ţĥē ţũńńēĺ'ś ēďĝē ŕēśţŕĩćţś ŵĥō ćàń ćōńńēćţ."
+ ],
"DUWgfT": ["Ŕē-àũţĥēńţĩćàţē ŵĩţĥ ĜĩţĤũƀ Ēńţēŕƥŕĩśē Śēŕvēŕ"],
"DUb7Ax": ["Ḿũĺţĩƥĺē ƒĩĺēś ũśē ţĥĩś ţĥēḿē ńàḿē"],
"DVh_Tb": ["Ƒàĩĺēď ţō ćĺēàń ũƥ àƒţēŕ ţŕàśĥ"],
@@ -974,6 +989,7 @@
"Dd6j2Q": ["Vĩēŵ ćōḿḿēńţś"],
"DeDYLr": ["Ũńŕēćōĝńĩźēď ŵĩķĩ ĺĩńķ"],
"DgcGrb": [["fileCount", "plural", { "one": ["ƒĩĺē"], "other": ["ƒĩĺēś"] }]],
+ "Dh11sK": ["Ŕēśţàŕţĩńĝ ţĥē śēŕvēŕ ĩś ōńĺŷ àvàĩĺàƀĺē ĩń ţĥē ďēśķţōƥ àƥƥ."],
"DhLHEb": ["Ƒàĩĺēď ţō ĺōàď àćţĩvĩţŷ"],
"DhT_PK": ["ŌƥēńĶńōŵĺēďĝē ĩḿƥōŕţēď à śķĩĺĺ"],
"DiFKSL": ["Ćōũńţĩńĝ ḿàŕķďōŵń ƒĩĺēś"],
@@ -987,6 +1003,9 @@
"DrYM2Z": ["Śŷńć ďĩśàƀĺēď"],
"DsDwR-": [["0", "plural", { "one": ["#", " ēŕŕōŕ"], "other": ["#", " ēŕŕōŕś"] }]],
"DskIkK": ["Śĩĝń-ĩń śţŕēàḿ ēńďēď ŵĩţĥōũţ ćōńƒĩŕḿàţĩōń — ƥĺēàśē ţŕŷ àĝàĩń"],
+ "DuCPiG": [
+ "Àũţōḿàţĩć ƥĩćķś à ƒŕēē ƥōŕţ ēàćĥ śţàŕţ. Ćĥōōśē à ƒĩxēď ƥōŕţ ţō ķēēƥ ţĥē śàḿē àďďŕēśś àćŕōśś ŕēśţàŕţś."
+ ],
"Dub54T": [
"Ƥŕēvĩēŵ ƀŕōŵśēŕś ćàń'ţ àũţō-ćōƥŷ. Ũśē Ćḿď/Ćţŕĺ+Ć ōń ţĥē ŨŔĹ àƀōvē, ōŕ ōƥēń ŌĶ ĩń ţĥē ďēśķţōƥ àƥƥ."
],
@@ -1028,6 +1047,7 @@
"ENpRJV": ["Ēxţēŕńàĺ ĺĩńķ ƥŕēvĩēŵś"],
"EO4Dt1": ["Ēńàƀĺē ", ["file"]],
"EOjU5V": ["Ĩńĺĩńē Ḿàţĥ Ƥŕōƥēŕţĩēś"],
+ "EP8mZC": ["Ēxƥōśē àńď ŕēśţàŕţ"],
"EPGePE": ["Ũƥĺōàďēď àś \"", ["0"], "\" — ţĥē ńàḿē \"", ["1"], "\" ŵàś ţàķēń."],
"EPKVES": ["Ũƥďàţē \"", ["skillName"], "\" ōvēŕ ŷōũŕ ēďĩţś?"],
"EPwuTC": [["usedLabel"], " / ", ["sizeLabel"], " ţōķēńś ũśēď"],
@@ -1388,6 +1408,7 @@
"JddocZ": ["Ţōĝĝĺē ĥēàďēŕ ćōĺũḿń"],
"Jejur6": ["Ćōũĺďń'ţ ĺōàď ďōćũḿēńţ"],
"JfPuv7": [["shareBranch"], " ĩśń'ţ à vàĺĩď ƀŕàńćĥ ńàḿē."],
+ "JgaVnN": ["Àĺĺōŵ ēxţēŕńàĺ àććēśś"],
"Jhj_lh": ["Ḿōďĩƒŷ ţĥē ĺĩńķ ţàŕĝēţ, àńćĥōŕ, àńď ďĩśƥĺàŷ ĺàƀēĺ."],
"JhqycE": ["Ńō ŕēćēńţ ƒĩĺēś"],
"JkCD2u": ["Śŷńć ƥàũśēď — ŷōũ ďōń'ţ ĥàvē ƥēŕḿĩśśĩōń ţō ƥũśĥ ţō ţĥĩś ŕēƥō"],
@@ -1447,6 +1468,7 @@
"KZLdgR": ["Śēē <0>#ďēśĩĝń-ďōćś</0> ƒōŕ ţĥē ĺàţēśţ śƥēćś."],
"K_vT1F": ["Ũƥśţŕēàḿ śŷńć"],
"KaFCD3": ["Ōƥēń ţĥĩś ĺĩńķ ĩń à ńēŵ ţàƀ àńď ćōĺĺàƥśē ţĥē ĝŕàƥĥ."],
+ "Kbz9RK": ["Ƒĩxēď ƥōŕţ ńũḿƀēŕ"],
"KeXgA-": ["Ćōũĺďń'ţ ƒĩńď ţĥàţ ƥàśśàĝē — ţĥē ţēxţ ĩţ ŵàś ōń ḿàŷ ĥàvē ćĥàńĝēď."],
"Kf7GG5": ["Ŕēśţàŕţĩńĝ ţĥē śēŕvēŕ…"],
"Kge76t": ["Ŕōŵ ōƥţĩōńś"],
@@ -1860,6 +1882,7 @@
"PrVaZo": ["Ũńĩńśţàĺĺ ŌƥēńĶńōŵĺēďĝē?"],
"PrWQiT": ["Ḿōvē Ţēŕḿĩńàĺ ţō ŕĩĝĥţ"],
"PrhzDE": ["Ƥàń ũƥ"],
+ "Pw5PTU": ["Ēxţēŕńàĺ ōŕĩĝĩń"],
"Q-DKvr": ["Ĩńśţàĺĺ ƒŕōḿ ", ["source"]],
"Q1mtyd": ["Ĥĩďē śĩďēƀàŕ"],
"Q5fqMz": ["Ćōńńēćţĩōń ēŕŕōŕ — ţŕŷ àĝàĩń"],
@@ -2008,6 +2031,13 @@
"S48xcO": ["ƥēńďĩńĝ"],
"S6eHlw": ["Ōƥēń à ƥŕōĴēćţ ƒĩŕśţ."],
"S6l5dv": ["Ćōũĺď ńōţ śţàŕţ ćŕēàţĩńĝ à ńēŵ ĩţēḿ"],
+ "S79zoi": [
+ "Ƥōŕţ ",
+ ["configuredPort"],
+ " ĩś ĩń ũśē, śō ţĥē śēŕvēŕ ĩś ŕũńńĩńĝ ōń ƥōŕţ ",
+ ["boundPort"],
+ " ĩńśţēàď. À ţũńńēĺ ƒōŕŵàŕďĩńĝ ţō ţĥē ƒĩxēď ƥōŕţ ŵōń'ţ ŕēàćĥ ĩţ — ƒŕēē ţĥàţ ƥōŕţ àńď àƥƥĺŷ àĝàĩń, ōŕ ćĥōōśē à ďĩƒƒēŕēńţ ōńē."
+ ],
"S9Vnum": ["Ŕēḿōvē ", ["patternText"]],
"S9t1PI": ["Ƒĩxĩńĝ ", ["0"], "/", ["1"]],
"SCoBBH": ["Ţàĝ śũĝĝēśţĩōńś"],
@@ -2074,6 +2104,7 @@
"TKQ7K-": ["Ĩńśţàĺĺ"],
"TLIO3j": ["Ţōĝĝĺē ĩţàĺĩć ƒōŕḿàţţĩńĝ."],
"TMLAx2": ["Ŕēǫũĩŕēď"],
+ "TNKAIS": ["Àƥƥĺŷĩńĝ ŕēśţàŕţś ţĥĩś ƥŕōĴēćţ'ś śēŕvēŕ."],
"TQJCR6": [["0", "plural", { "one": ["#", " ŕēśũĺţ"], "other": ["#", " ŕēśũĺţś"] }]],
"TTDXD8": ["Ńēŵ ŵōŕķţŕēē…"],
"TUzThQ": ["Śĥàŕē śķĩĺĺś"],
@@ -2093,6 +2124,7 @@
"Tjc1pH": ["Śēćţĩōń <0>(ōƥţĩōńàĺ ĥēàďĩńĝ àńćĥōŕ)</0>"],
"Tn5sik": ["Ţēĺĺś àĝēńţś ŵĥēń ţō ŕēàćĥ ƒōŕ ţĥĩś śķĩĺĺ. Ŷōũ ćàń ēďĩţ ĩţ ĺàţēŕ."],
"Tofsyo": ["Ḿōvē Ţēŕḿĩńàĺ ţō ƀōţţōḿ"],
+ "TpqW74": ["Ƒĩxēď"],
"Tq3pcs": ["Ķēēƥ ḿĩńē"],
"Tq9kNX": ["Ńō ōƥēń ćĥàţś. Ŕēōƥēń à ƥàśţ ōńē, ōŕ śţàŕţ à ńēŵ ōńē ŵĩţĥ ţĥē + ƀũţţōń."],
"TsZmgr": ["Ţĥē ƒĩĺē ōń ďĩśķ, àńď ţĥē ĩď àĝēńţś ũśē."],
@@ -2829,6 +2861,7 @@
"cuA8QW": ["Ōŕĝàńĩźē śƥēćś"],
"cuHhjo": ["Ćŕēàţē & ēďĩţ"],
"d-GtJt": ["Vĩēŵ ĩń Śōũŕćē Ḿàŕķďōŵń"],
+ "d02jS3": ["Ńēţŵōŕķ àććēśś"],
"d1JjXo": [
"Ŷōũŕ ĺōćàĺ ćōƥŷ ōƒ ƀŕàńćĥ <0>",
["branch"],
@@ -4129,6 +4162,7 @@
"u5Utjn": [["0"], " ńēēďś ", ["1"]],
"u5hSeG": ["Śĥàŕē ƒēēďƀàćķ"],
"u6Hp4N": ["Ḿàŕķďōŵń"],
+ "u779EG": ["Ũśē àń ĥţţƥ:// ōŕ ĥţţƥś:// ōŕĩĝĩń."],
"u7H-Wn": ["Śĥōŵ ƥàńēĺ (", ["panelShortcutLabel"], ")"],
"u7U_Ij": ["Ĺĩńķ ţĥē śēĺēćţēď ţēxţ, ōŕ ēďĩţ ţĥē ĺĩńķ ũńďēŕ ţĥē ćàŕēţ."],
"uA_jXp": ["Śŵĩţćĥ àńď ũƥďàţē ƀŕàńćĥ"],
@@ -4137,6 +4171,7 @@
"uDlyqd": [
"Ďōćũḿēńţ ţĥē àŕćĥĩţēćţũŕē ōƒ ţĥĩś ŕēƥō: ćŕēàţē àń ōvēŕvĩēŵ ƥàĝē ţĥàţ ĺĩńķś ţō à ƥàĝē ƥēŕ ḿàĴōŕ ḿōďũĺē ďēśćŕĩƀĩńĝ ĩţś ŕēśƥōńśĩƀĩĺĩţĩēś àńď ēńţŕŷ ƥōĩńţś."
],
+ "uDzLV-": ["Ēńţēŕ à vàĺĩď ŨŔĹ, ƒōŕ ēxàḿƥĺē ĥţţƥś://ńōţēś.ēxàḿƥĺē.ćōḿ"],
"uF82hk": ["Ƥēŕćōĺàţĩńĝ…"],
"uF9ruK": ["Śàvĩńĝ"],
"uFQbYd": ["Ĥōḿē ƥàĝē àńď ēńţŕŷ ƥōĩńţ."],
@@ -4196,6 +4231,9 @@
"um-es7": ["Śĥĩƥ ţĥē ēďĩţōŕ ŵĩţĥ à"],
"un-K1H": ["Śţàŷś ōń ţĥĩś ćōḿƥũţēŕ. Ńōţ ćōḿḿĩţţēď ţō ĝĩţ."],
"un8kBM": ["Ćŕēàţĩńĝ ƥàĝē: ", ["linkTitle"], "."],
+ "unmCLE": [
+ "Ţĥĩś śēŕvēŕ ĥàś ńō ƀũĩĺţ-ĩń àũţĥēńţĩćàţĩōń. Àńŷōńē ŵĥō ćàń ŕēàćĥ ţĥē ţũńńēĺ ĝēţś ƒũĺĺ ćōńţŕōĺ ōƒ ţĥĩś ķńōŵĺēďĝē ƀàśē — ŕēśţŕĩćţ àććēśś àţ ţĥē ţũńńēĺ'ś ēďĝē (à Ţàĩĺśćàĺē ÀĆĹ, à ŕēvēŕśē ƥŕōxŷ ŵĩţĥ àũţĥ, ōŕ à ƒĩŕēŵàĺĺ)."
+ ],
"uoJF_D": ["Ĩţ ŵàś ţōō ĥàŕď ţō śēţ ũƥ ōŕ ĝēţ śţàŕţēď"],
"ur2XSb": ["Vĩśũàĺ ēďĩţōŕ"],
"uuoHOU": ["Ćōḿḿàńď ƒàĩĺēď."],
@@ -4317,6 +4355,7 @@
"wTcjov": ["Ńō ŵōŕķśƥàćē"],
"wU8WyK": ["Ēĺēḿēńţ ƒĩēĺďś"],
"wVa83H": ["Ćōũĺďń'ţ ćŕēàţē ţĥē ŕēƥōŕţ"],
+ "wWtVYd": ["Ēńţēŕ à ƥōŕţ ƀēţŵēēń 1 àńď 65535."],
"wXO4Tg": [["hrs"], "ĥ àĝō"],
"wXw19Y": [
"Ŕēḿōvēď \"",
@@ -4330,6 +4369,7 @@
"wbv9xO": ["Ćŕēàţē ńēŵ ƥŕōĴēćţ"],
"wc54KE": ["Ţŕŷĩńĝ ĩţ ōũţ…"],
"wcfO9r": ["Ńō ƀũĝ ŕēƥōŕţś ŷēţ."],
+ "wdRxTD": ["Àƥƥĺŷĩńĝ…"],
"wdxz7K": ["Śōũŕćē"],
"wdzBgi": ["Ćōńƒĩĝ śĥàŕĩńĝ ĩś ńōŵ Ōńĺŷ ḿē."],
"weP6me": ["Ćōũĺďń'ţ ĺōàď ďōćś — ţŷƥē @ àĝàĩń ţō ŕēţŕŷ"],
@@ -4380,6 +4420,7 @@
"xV5sXw": [["0"], "ŵ àĝō"],
"xWEvuo": ["Àśķ ÀĨ"],
"xWomUD": ["Ũśē ", ["editor"], " vēŕśĩōń"],
+ "xXn6KB": ["Ćōũĺďń'ţ śàvē ńēţŵōŕķ śēţţĩńĝś — ", ["0"]],
"xXo8FT": ["Śàvē ƒàĩĺēď: ", ["error"]],
"xYMPyY": [
"Ƥàśţē ŵàś ĩńćōḿƥĺēţē — ",
@@ -4485,6 +4526,7 @@
"ylXj1N": ["Śēĺēćţēď"],
"ymWJLd": ["Śĥōŵ ", ["0"], " ḿōŕē"],
"ynIa4S": ["Vĩśũàĺ ēďĩţōŕ ĺĩśţ ĩţēḿ"],
+ "yopUSw": ["Ńēţŵōŕķ śēţţĩńĝś ńōţ ŷēţ ĺōàďēď — ţŕŷ àĝàĩń ĩń à ḿōḿēńţ."],
"ypw6My": ["Śĥōŵĩńĝ ţōƥ ", ["0"], " ĥēàďĩńĝś — ķēēƥ ţŷƥĩńĝ ţō ńàŕŕōŵ"],
"ysxgu8": ["ƥŕōĴēćţ"],
"yutJKi": ["Ćĥēćķĺĩśţ ŵĩţĥ ćĥēćķƀōxēś."],
@@ -4513,6 +4555,7 @@
"zAsDLY": ["Ĝŕàƥĥ vĩśũàĺĩźàţĩōń ōƒ ďōćũḿēńţ ĺĩńķś"],
"zBUqvf": ["Śēţ ũƥ ŌƥēńĶńōŵĺēďĝē ĩńţēĝŕàţĩōńś…"],
"zD1Nqf": [["count", "plural", { "one": ["#", " ďōć"], "other": ["#", " ďōćś"] }]],
+ "zHsZcU": ["Ēńţēŕ ţĥē ƥũƀĺĩć ōŕĩĝĩń ŷōũŕ ţũńńēĺ śēŕvēś, ƒōŕ ēxàḿƥĺē ĥţţƥś://ńōţēś.ēxàḿƥĺē.ćōḿ"],
"zJL34S": ["Ńēŵ Ţēŕḿĩńàĺ Ŵĩńďōŵ"],
"zKxoPm": ["Ćōũĺďń'ţ ŕēńàḿē \"", ["0"], "\": ", ["1"]],
"zL0LPh": ["Ĝĺōƀàĺ ōũţśĩďē ţēxţ ƒĩēĺďś"],
diff --git a/packages/app/src/locales/pseudo/messages.po b/packages/app/src/locales/pseudo/messages.po
index 9c96702ec..4cf65858c 100644
--- a/packages/app/src/locales/pseudo/messages.po
+++ b/packages/app/src/locales/pseudo/messages.po
@@ -1520,6 +1520,10 @@ msgstr ""
msgid "All tags"
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Allow external access"
+msgstr ""
+
#: src/components/settings/frontmatter-schema-field-editor.tsx
msgid "Allowed element values (empty = any)"
msgstr ""
@@ -1659,14 +1663,26 @@ msgstr ""
msgid "Applies to all projects on this machine. Claude and Codex, started from the built-in terminal, 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. Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Apply and restart project server"
+msgstr ""
+
#: src/editor/bubble-menu/LinkEditPopover.tsx
msgid "Apply link"
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying restarts this project's server."
+msgstr ""
+
#: src/components/settings/SearchSection.tsx
msgid "Applying your change"
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying…"
+msgstr ""
+
#: src/components/acp/ThreadView.tsx
msgid "Approved"
msgstr ""
@@ -1874,9 +1890,14 @@ msgstr ""
#. Section label for the automatic, one-click install path
#: src/components/InstallInClaudeDesktopDialog.tsx
+#: src/components/settings/NetworkAccessSection.tsx
msgid "Automatic"
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
+msgstr ""
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr ""
@@ -2181,6 +2202,7 @@ msgstr ""
#: src/components/SeedDialog.tsx
#: src/components/settings/LinkPreviewsSection.tsx
#: src/components/settings/LintingSection.tsx
+#: src/components/settings/NetworkAccessSection.tsx
#: src/components/settings/SavedThemesTiles.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/ShareBranchSwitchDialog.tsx
@@ -3724,6 +3746,12 @@ msgstr ""
msgid "Couldn’t save changes. Try editing a color again."
msgstr ""
+#. placeholder {0}: humanFormat(first.error)
+#. placeholder {0}: humanFormat(second.error)
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Couldn't save network settings — {0}"
+msgstr ""
+
#: src/components/TemplateForm.tsx
msgid "Couldn't save template: {error}"
msgstr ""
@@ -4933,6 +4961,10 @@ msgstr ""
msgid "Enter a name for this theme."
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a port between 1 and 65535."
+msgstr ""
+
#: src/components/CreateProjectDialog.tsx
msgid "Enter a project name"
msgstr ""
@@ -4957,6 +4989,14 @@ msgstr ""
msgid "Enter a valid URL (for example https://api.openai.com/v1)."
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a valid URL, for example https://notes.example.com"
+msgstr ""
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"
+msgstr ""
+
#: src/components/McpConsentDialogBody.tsx
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
@@ -5066,6 +5106,22 @@ msgstr ""
msgid "Explore skills"
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose and restart"
+msgstr ""
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project to the network?"
+msgstr ""
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project's server to a wider network through a tunnel you run (for example Tailscale). A viewer on the tunnel gets the editor and agent endpoint, editing live against this machine's server."
+msgstr ""
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Exposing pins a fixed port so the tunnel's target stays stable across restarts."
+msgstr ""
+
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/AgentSplitButton.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -5087,6 +5143,10 @@ msgstr ""
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "External origin"
+msgstr ""
+
#: src/editor/extensions/WikiLinkPropPanel.tsx
msgid "External wiki link"
msgstr ""
@@ -5584,6 +5644,10 @@ msgstr ""
msgid "Fix all with AI ({count})"
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed"
+msgstr ""
+
#: src/lib/project-fix-sweep-store.ts
msgid "Fixed {total, plural, one {# file} other {# files}}."
msgstr ""
@@ -5592,6 +5656,10 @@ msgstr ""
msgid "Fixed folder in content root"
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed port number"
+msgstr ""
+
#. placeholder {0}: fixing.done
#. placeholder {1}: fixing.total
#: src/components/ProblemsPanel.tsx
@@ -7218,6 +7286,10 @@ msgstr ""
msgid "Local path"
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Local server port"
+msgstr ""
+
#: src/lib/install-onboarding-toast.ts
msgid "Local-only requested but no git repository was created. Switch later via Settings → Config sharing once the project is in a git repo."
msgstr ""
@@ -7712,6 +7784,11 @@ msgstr ""
msgid "Nested fields"
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "Network access"
+msgstr ""
+
#: src/components/FileTree.tsx
msgid "Network error - {kind} \"{createdPath}\" still exists on disk"
msgstr ""
@@ -7729,6 +7806,10 @@ msgstr ""
msgid "Network error during cleanup"
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Network settings not yet loaded — try again in a moment."
+msgstr ""
+
#: src/components/SyncStatusBadge.tsx
msgid "never"
msgstr ""
@@ -9462,6 +9543,10 @@ msgstr ""
msgid "Popular on skills.sh"
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Port {configuredPort} is in use, so the server is running on port {boundPort} instead. A tunnel forwarding to the fixed port won't reach it — free that port and apply again, or choose a different one."
+msgstr ""
+
#: src/components/settings/SettingsDialogBody.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "Preferences"
@@ -10384,6 +10469,10 @@ msgstr ""
msgid "Restarting closes this project's server. Connected agents (Claude Code, Codex, Cursor) will see their OpenKnowledge MCP connection close unexpectedly — you may need to restart the agent, or toggle its OpenKnowledge MCP server off and on, to reconnect."
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Restarting the server is only available in the desktop app."
+msgstr ""
+
#: src/lib/install-server-drift-listener.ts
msgid "Restarting the server…"
msgstr ""
@@ -12477,6 +12566,10 @@ msgstr ""
msgid "The provider rejected the request. Check the API key and the model id."
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The public URL your tunnel serves. The server admits requests for this host and advertises it in the URLs it issues."
+msgstr ""
+
#: src/components/ReportBugDialogBody.tsx
msgid "The report service couldn't be reached."
msgstr ""
@@ -12501,6 +12594,11 @@ msgstr ""
msgid "the server responded but server.lock has no port yet"
msgstr ""
+#. placeholder {0}: origin.trim()
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The server will accept requests for {0} with no built-in authentication. Anyone who can reach your tunnel will have full control of this knowledge base — including sync, GitHub credentials, and local operations. Make sure the tunnel's edge restricts who can connect."
+msgstr ""
+
#: src/components/settings/LintingSection.tsx
msgid "The shapes of title, description, resource, and tags when you use them. None are required; declaring one only pins its type, so tags written as a comma-separated string is flagged."
msgstr ""
@@ -12953,6 +13051,10 @@ msgstr ""
msgid "This sends the link's address off your machine"
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "This server has no built-in authentication. Anyone who can reach the tunnel gets full control of this knowledge base — restrict access at the tunnel's edge (a Tailscale ACL, a reverse proxy with auth, or a firewall)."
+msgstr ""
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "This setting is per-machine and isn't shared with collaborators."
msgstr ""
@@ -13628,6 +13730,10 @@ msgstr ""
msgid "Use a token instead"
msgstr ""
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Use an http:// or https:// origin."
+msgstr ""
+
#: src/components/settings/SearchSection.tsx
msgid "Use an https:// URL — http:// is only allowed for localhost."
msgstr ""
diff --git a/packages/app/src/locales/pt-BR/messages.json b/packages/app/src/locales/pt-BR/messages.json
index f1153951b..00105de95 100644
--- a/packages/app/src/locales/pt-BR/messages.json
+++ b/packages/app/src/locales/pt-BR/messages.json
@@ -137,6 +137,7 @@
"0yL--g": ["Revisar os conflitos"],
"0ySP5u": ["As alterações são salvas automaticamente neste tema."],
"0zAhu6": ["todos os documentos"],
+ "1-flC9": ["Porta do servidor local"],
"10g8I_": ["Desligar Somente arquivos markdown"],
"110eEb": [
"Open Knowledge cria e mantém um arquivo de navegação denominado index.md em cada pasta que contém Markdown."
@@ -213,6 +214,7 @@
"2BBAbc": ["Lista"],
"2C-6zf": ["Não enviado"],
"2CHoQv": ["Recarregar à força"],
+ "2D1x3Y": ["Aplicar e reiniciar o servidor do projeto"],
"2FYpfJ": ["Mais"],
"2FnYUD": [
"Informações do app e do sistema, logs recentes do app e logs do servidor do projeto: o essencial para reproduzirmos o problema."
@@ -440,6 +442,9 @@
"56WWtu": ["Não deu para carregar os pacotes iniciais: ", ["error"]],
"56xUL1": ["Nome da propriedade"],
"57fiu8": ["(somente leitura — por enquanto, edite no modo código)"],
+ "58ko2F": [
+ "Exponha o servidor deste projeto a uma rede mais ampla por meio de um túnel que você mesmo executa (por exemplo, Tailscale). Um visualizador no túnel recebe o editor e o endpoint do agente, editando ao vivo no servidor desta máquina."
+ ],
"58qIOK": ["Comentar esta seleção"],
"5ALjdr": ["Percorre os resultados de busca do editor visual a partir do campo de busca."],
"5Ajb15": ["A fórmula <0>c = √(a² + b²)</0> é renderizada em linha."],
@@ -533,6 +538,9 @@
"62bOuM": ["Última edição"],
"636K3K": ["Excluir o chip ao lado"],
"64sesb": ["Os destaques chamam atenção para as informações principais."],
+ "65Ea2s": [
+ "Expor fixa uma porta para que o alvo do túnel permaneça estável entre reinicializações."
+ ],
"67Dpmh": ["Sugestões de comandos de barra"],
"67TEhP": [
"Suas pastas de habilidades de nível de usuário — disponíveis em todos os projetos deste computador. O menu de instalação de cada habilidade controla onde ela fica."
@@ -695,6 +703,7 @@
"80c4-P": ["Código copiado para a área de transferência"],
"81H_23": ["Adicionar propriedades"],
"851WA-": ["Isto pode ser configurado em Configurações > Ferramentas de IA e CLI"],
+ "87GMKe": ["Expor este projeto à rede?"],
"881Uwh": ["Excluir a tabela selecionada"],
"89TtiD": [
"Novo arquivo a partir do modelo \"",
@@ -735,6 +744,9 @@
"8RtNI0": ["Falha ao carregar os documentos"],
"8SrrDi": ["Novo recorde · pressione espaço para jogar de novo"],
"8TvlHF": ["Despejo de falha"],
+ "8UmUyc": [
+ "A URL pública que o seu túnel serve. O servidor aceita requisições para este host e o anuncia nas URLs que emite."
+ ],
"8Uv5e6": ["Agentes"],
"8Vq20-": ["Trocar de worktree"],
"8Wav8y": [
@@ -1110,6 +1122,11 @@
["shareBranch"],
"</0>. Você tem alterações sem commit que impedem a troca aqui — abra em um worktree para deixar suas alterações intactas."
],
+ "DTcfyN": [
+ "O servidor aceitará requisições para ",
+ ["0"],
+ " sem autenticação integrada. Qualquer pessoa que conseguir acessar o seu túnel terá controle total desta base de conhecimento — incluindo sincronização, credenciais do GitHub e operações locais. Certifique-se de que a borda do túnel restrinja quem pode se conectar."
+ ],
"DUWgfT": ["Autenticar de novo no GitHub Enterprise Server"],
"DUb7Ax": ["Vários arquivos usam este nome de tema"],
"DVh_Tb": ["Falha ao limpar depois de mover para o lixo"],
@@ -1127,6 +1144,7 @@
"DgcGrb": [
["fileCount", "plural", { "one": ["arquivo"], "many": ["arquivos"], "other": ["arquivos"] }]
],
+ "Dh11sK": ["Reiniciar o servidor só está disponível no aplicativo desktop."],
"DhLHEb": ["Falha ao carregar a atividade"],
"DhT_PK": ["OpenKnowledge importou uma habilidade"],
"DiFKSL": ["Contando arquivos markdown"],
@@ -1142,6 +1160,9 @@
["0", "plural", { "one": ["#", " erro"], "many": ["#", " erros"], "other": ["#", " erros"] }]
],
"DskIkK": ["O fluxo de login terminou sem confirmação — tente de novo"],
+ "DuCPiG": [
+ "O modo automático escolhe uma porta livre a cada inicialização. Escolha uma porta fixa para manter o mesmo endereço entre reinicializações."
+ ],
"Dub54T": [
"Navegadores de pré-visualização não conseguem copiar sozinhos. Use Cmd/Ctrl+C na URL acima ou abra o OK no app de desktop."
],
@@ -1183,6 +1204,7 @@
"ENpRJV": ["Pré-visualização de links externos"],
"EO4Dt1": ["Ativar ", ["file"]],
"EOjU5V": ["Propriedades da fórmula em linha"],
+ "EP8mZC": ["Expor e reiniciar"],
"EPGePE": ["Enviado como \"", ["0"], "\" — o nome \"", ["1"], "\" já estava em uso."],
"EPKVES": ["Atualizar \"", ["skillName"], "\" por cima das suas edições?"],
"EPwuTC": [["usedLabel"], " / ", ["sizeLabel"], " tokens usados"],
@@ -1607,6 +1629,7 @@
"JddocZ": ["Alternar coluna de cabeçalho"],
"Jejur6": ["Não deu para carregar o documento"],
"JfPuv7": [["shareBranch"], " não é um nome de ramo válido."],
+ "JgaVnN": ["Permitir acesso externo"],
"Jhj_lh": ["Altere o destino do link, a âncora e o texto exibido."],
"JhqycE": ["Nenhum arquivo recente"],
"JkCD2u": ["Sincronização pausada — você não tem permissão para enviar a este repositório"],
@@ -1668,6 +1691,7 @@
"KZLdgR": ["Veja <0>#design-docs</0> para as especificações mais recentes."],
"K_vT1F": ["Sincronização com o remoto"],
"KaFCD3": ["Abre este link em uma nova aba e recolhe o grafo."],
+ "Kbz9RK": ["Número de porta fixa"],
"KeXgA-": [
"Não foi possível encontrar esse trecho — o texto em que ele estava pode ter mudado."
],
@@ -2112,6 +2136,7 @@
"PrVaZo": ["Desinstalar o OpenKnowledge?"],
"PrWQiT": ["Mover o Terminal para a direita"],
"PrhzDE": ["Deslocar para cima"],
+ "Pw5PTU": ["Origem externa"],
"Q-DKvr": ["Instalar a partir de ", ["source"]],
"Q1mtyd": ["Ocultar a barra lateral"],
"Q5fqMz": ["Erro de conexão — tente de novo"],
@@ -2271,6 +2296,13 @@
"S48xcO": ["pendente"],
"S6eHlw": ["Abra um projeto primeiro."],
"S6l5dv": ["Não foi possível começar a criar um novo item"],
+ "S79zoi": [
+ "A porta ",
+ ["configuredPort"],
+ " está em uso, então o servidor está rodando na porta ",
+ ["boundPort"],
+ ". Um túnel que aponta para a porta fixa não vai alcançá-lo — libere essa porta e aplique novamente, ou escolha outra."
+ ],
"S9Vnum": ["Remover ", ["patternText"]],
"S9t1PI": ["Corrigindo ", ["0"], "/", ["1"]],
"SCoBBH": ["Sugestões de tags"],
@@ -2347,6 +2379,7 @@
"TKQ7K-": ["Instalar"],
"TLIO3j": ["Liga ou desliga o itálico."],
"TMLAx2": ["Obrigatório"],
+ "TNKAIS": ["Aplicar reinicia o servidor deste projeto."],
"TQJCR6": [
[
"0",
@@ -2372,6 +2405,7 @@
"Tjc1pH": ["Seção <0>(âncora de título, opcional)</0>"],
"Tn5sik": ["Diz aos agentes quando recorrer a esta habilidade. Você pode editar depois."],
"Tofsyo": ["Mover o Terminal para a parte inferior"],
+ "TpqW74": ["Fixa"],
"Tq3pcs": ["Manter o meu"],
"Tq9kNX": ["Nenhum chat aberto. Reabra um anterior ou inicie um novo com o botão +."],
"TsZmgr": ["O arquivo no disco, e o id que os agentes usam."],
@@ -3220,6 +3254,7 @@
"cuA8QW": ["Organizar as especificações"],
"cuHhjo": ["Criar e editar"],
"d-GtJt": ["Ver no Markdown de origem"],
+ "d02jS3": ["Acesso à rede"],
"d1JjXo": [
"Sua cópia local do ramo <0>",
["branch"],
@@ -4669,6 +4704,7 @@
"u5Utjn": [["0"], " precisa de ", ["1"]],
"u5hSeG": ["Enviar comentários"],
"u6Hp4N": ["Markdown"],
+ "u779EG": ["Use uma origem http:// ou https://."],
"u7H-Wn": ["Mostrar o painel (", ["panelShortcutLabel"], ")"],
"u7U_Ij": ["Cria um link no texto selecionado ou edita o link sob o cursor."],
"uA_jXp": ["Trocar de ramo e atualizar"],
@@ -4679,6 +4715,7 @@
"uDlyqd": [
"Documente a arquitetura deste repositório: crie uma página geral que aponte para uma página por módulo principal descrevendo suas responsabilidades e seus pontos de entrada."
],
+ "uDzLV-": ["Insira uma URL válida, por exemplo https://notes.example.com"],
"uF82hk": ["Fermentando…"],
"uF9ruK": ["Salvando"],
"uFQbYd": ["Página inicial e ponto de entrada."],
@@ -4743,6 +4780,9 @@
"um-es7": ["Publique o editor com um"],
"un-K1H": ["Fica neste computador. Não vai para o git."],
"un8kBM": ["Criando a página: ", ["linkTitle"], "."],
+ "unmCLE": [
+ "Este servidor não tem autenticação integrada. Qualquer pessoa que conseguir acessar o túnel obtém controle total desta base de conhecimento — restrinja o acesso na borda do túnel (uma ACL do Tailscale, um proxy reverso com autenticação ou um firewall)."
+ ],
"uoJF_D": ["Foi difícil demais configurar ou começar"],
"ur2XSb": ["Editor visual"],
"uuoHOU": ["O comando falhou."],
@@ -4875,6 +4915,7 @@
"wTcjov": ["Sem espaço de trabalho"],
"wU8WyK": ["Campos do elemento"],
"wVa83H": ["Não deu para criar o relatório"],
+ "wWtVYd": ["Digite uma porta entre 1 e 65535."],
"wXO4Tg": ["há ", ["hrs"], " h"],
"wXw19Y": [
"\"",
@@ -4888,6 +4929,7 @@
"wbv9xO": ["Criar novo projeto"],
"wc54KE": ["Experimentando…"],
"wcfO9r": ["Ainda não há relatórios de erro."],
+ "wdRxTD": ["Aplicando…"],
"wdxz7K": ["Código"],
"wdzBgi": ["O compartilhamento de configuração agora é Somente eu."],
"weP6me": ["Não deu para carregar os documentos — digite @ de novo para tentar outra vez"],
@@ -4940,6 +4982,7 @@
"xV5sXw": ["há ", ["0"], " sem"],
"xWEvuo": ["Perguntar à IA"],
"xWomUD": ["Usar a versão do ", ["editor"]],
+ "xXn6KB": ["Não foi possível salvar as configurações de rede — ", ["0"]],
"xXo8FT": ["Falha ao salvar: ", ["error"]],
"xYMPyY": [
"A colagem ficou incompleta — chegaram ",
@@ -5049,6 +5092,7 @@
"ylXj1N": ["Selecionado"],
"ymWJLd": ["Mostrar mais ", ["0"]],
"ynIa4S": ["Item de lista do editor visual"],
+ "yopUSw": ["Configurações de rede ainda não carregadas — tente novamente em instantes."],
"ypw6My": ["Mostrando os ", ["0"], " principais títulos — continue digitando para restringir"],
"ysxgu8": ["projeto"],
"yutJKi": ["Lista de verificação com caixas de seleção."],
@@ -5091,6 +5135,9 @@
{ "one": ["#", " documento"], "many": ["#", " documentos"], "other": ["#", " documentos"] }
]
],
+ "zHsZcU": [
+ "Insira a origem pública que seu túnel serve, por exemplo https://notes.example.com"
+ ],
"zJL34S": ["Nova janela do Terminal"],
"zKxoPm": ["Não deu para renomear \"", ["0"], "\": ", ["1"]],
"zL0LPh": ["Global fora dos campos de texto"],
diff --git a/packages/app/src/locales/pt-BR/messages.po b/packages/app/src/locales/pt-BR/messages.po
index 05600d25a..83885533b 100644
--- a/packages/app/src/locales/pt-BR/messages.po
+++ b/packages/app/src/locales/pt-BR/messages.po
@@ -1520,6 +1520,10 @@ msgstr "Todos os trechos resolvidos"
msgid "All tags"
msgstr "Todas as tags"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Allow external access"
+msgstr "Permitir acesso externo"
+
#: src/components/settings/frontmatter-schema-field-editor.tsx
msgid "Allowed element values (empty = any)"
msgstr "Valores de elemento permitidos (vazio = qualquer)"
@@ -1659,14 +1663,26 @@ msgstr "Aplica-se a (globs — um ! inicial exclui; vazio significa todos os doc
msgid "Applies to all projects on this machine. Claude and Codex, started from the built-in terminal, 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. Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
msgstr "Aplica-se a todos os projetos deste computador. Claude e Codex, iniciados pelo terminal integrado, aprovam automaticamente as ferramentas de leitura e escrita do OpenKnowledge (o Claude também executa \"ok open\" sozinho). Excluir, mover, compartilhar, importar ou instalar habilidades, outros comandos e edições de arquivos fora do OpenKnowledge continuam perguntando. Cursor, OpenCode e Pi não são afetados. É um esforço por agente, sem garantias."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Apply and restart project server"
+msgstr "Aplicar e reiniciar o servidor do projeto"
+
#: src/editor/bubble-menu/LinkEditPopover.tsx
msgid "Apply link"
msgstr "Aplicar link"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying restarts this project's server."
+msgstr "Aplicar reinicia o servidor deste projeto."
+
#: src/components/settings/SearchSection.tsx
msgid "Applying your change"
msgstr "Aplicando sua alteração"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying…"
+msgstr "Aplicando…"
+
#: src/components/acp/ThreadView.tsx
msgid "Approved"
msgstr "Aprovado"
@@ -1874,9 +1890,14 @@ msgstr "Atualização automática ligada para \"{name}\""
#. Section label for the automatic, one-click install path
#: src/components/InstallInClaudeDesktopDialog.tsx
+#: src/components/settings/NetworkAccessSection.tsx
msgid "Automatic"
msgstr "Automático"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
+msgstr "O modo automático escolhe uma porta livre a cada inicialização. Escolha uma porta fixa para manter o mesmo endereço entre reinicializações."
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "Disponível"
@@ -2181,6 +2202,7 @@ msgstr "Não é possível compartilhar este caminho."
#: src/components/SeedDialog.tsx
#: src/components/settings/LinkPreviewsSection.tsx
#: src/components/settings/LintingSection.tsx
+#: src/components/settings/NetworkAccessSection.tsx
#: src/components/settings/SavedThemesTiles.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/ShareBranchSwitchDialog.tsx
@@ -3724,6 +3746,12 @@ msgstr "Não deu para executar o teste. Verifique se o OpenKnowledge ainda está
msgid "Couldn’t save changes. Try editing a color again."
msgstr "Não foi possível salvar as alterações. Tente editar uma cor novamente."
+#. placeholder {0}: humanFormat(first.error)
+#. placeholder {0}: humanFormat(second.error)
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Couldn't save network settings — {0}"
+msgstr "Não foi possível salvar as configurações de rede — {0}"
+
#: src/components/TemplateForm.tsx
msgid "Couldn't save template: {error}"
msgstr "Não deu para salvar o modelo: {error}"
@@ -4933,6 +4961,10 @@ msgstr "Digite um nome de pasta (ex.: cerebro)."
msgid "Enter a name for this theme."
msgstr "Insira um nome para este tema."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a port between 1 and 65535."
+msgstr "Digite uma porta entre 1 e 65535."
+
#: src/components/CreateProjectDialog.tsx
msgid "Enter a project name"
msgstr "Digite um nome de projeto"
@@ -4957,6 +4989,14 @@ msgstr "Insira um nome de tema válido."
msgid "Enter a valid URL (for example https://api.openai.com/v1)."
msgstr "Digite uma URL válida (por exemplo https://api.openai.com/v1)."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a valid URL, for example https://notes.example.com"
+msgstr "Insira uma URL válida, por exemplo https://notes.example.com"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"
+msgstr "Insira a origem pública que seu túnel serve, por exemplo https://notes.example.com"
+
#: src/components/McpConsentDialogBody.tsx
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
@@ -5066,6 +5106,22 @@ msgstr "Explorar"
msgid "Explore skills"
msgstr "Explorar habilidades"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose and restart"
+msgstr "Expor e reiniciar"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project to the network?"
+msgstr "Expor este projeto à rede?"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project's server to a wider network through a tunnel you run (for example Tailscale). A viewer on the tunnel gets the editor and agent endpoint, editing live against this machine's server."
+msgstr "Exponha o servidor deste projeto a uma rede mais ampla por meio de um túnel que você mesmo executa (por exemplo, Tailscale). Um visualizador no túnel recebe o editor e o endpoint do agente, editando ao vivo no servidor desta máquina."
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Exposing pins a fixed port so the tunnel's target stays stable across restarts."
+msgstr "Expor fixa uma porta para que o alvo do túnel permaneça estável entre reinicializações."
+
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/AgentSplitButton.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -5087,6 +5143,10 @@ msgstr "Pré-visualização de links externos"
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "A pré-visualização de links externos mostra um cartão com o nome do site, o título da página e a descrição quando você passa o cursor sobre um link."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "External origin"
+msgstr "Origem externa"
+
#: src/editor/extensions/WikiLinkPropPanel.tsx
msgid "External wiki link"
msgstr "Link wiki externo"
@@ -5584,6 +5644,10 @@ msgstr "Corrigir {flatId}"
msgid "Fix all with AI ({count})"
msgstr "Corrigir tudo com IA ({count})"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed"
+msgstr "Fixa"
+
#: src/lib/project-fix-sweep-store.ts
msgid "Fixed {total, plural, one {# file} other {# files}}."
msgstr "{total, plural, one {# arquivo corrigido} many {# arquivos corrigidos} other {# arquivos corrigidos}}."
@@ -5592,6 +5656,10 @@ msgstr "{total, plural, one {# arquivo corrigido} many {# arquivos corrigidos} o
msgid "Fixed folder in content root"
msgstr "Pasta fixa na raiz do conteúdo"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed port number"
+msgstr "Número de porta fixa"
+
#. placeholder {0}: fixing.done
#. placeholder {1}: fixing.total
#: src/components/ProblemsPanel.tsx
@@ -7218,6 +7286,10 @@ msgstr "Arquivos locais"
msgid "Local path"
msgstr "Caminho local"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Local server port"
+msgstr "Porta do servidor local"
+
#: src/lib/install-onboarding-toast.ts
msgid "Local-only requested but no git repository was created. Switch later via Settings → Config sharing once the project is in a git repo."
msgstr "Somente local foi solicitado, mas nenhum repositório git foi criado. Você pode mudar depois em Configurações → Compartilhamento da configuração, quando o projeto estiver em um repositório git."
@@ -7712,6 +7784,11 @@ msgstr "Erro no .okignore aninhado em {path}"
msgid "Nested fields"
msgstr "Campos aninhados"
+#: src/components/settings/NetworkAccessSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "Network access"
+msgstr "Acesso à rede"
+
#: src/components/FileTree.tsx
msgid "Network error - {kind} \"{createdPath}\" still exists on disk"
msgstr "Erro de rede - {kind} \"{createdPath}\" ainda existe no disco"
@@ -7729,6 +7806,10 @@ msgstr "erro de rede (o `ok start` está em execução?)"
msgid "Network error during cleanup"
msgstr "Erro de rede durante a limpeza"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Network settings not yet loaded — try again in a moment."
+msgstr "Configurações de rede ainda não carregadas — tente novamente em instantes."
+
#: src/components/SyncStatusBadge.tsx
msgid "never"
msgstr "nunca"
@@ -9462,6 +9543,10 @@ msgstr "Populares"
msgid "Popular on skills.sh"
msgstr "Populares no skills.sh"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Port {configuredPort} is in use, so the server is running on port {boundPort} instead. A tunnel forwarding to the fixed port won't reach it — free that port and apply again, or choose a different one."
+msgstr "A porta {configuredPort} está em uso, então o servidor está rodando na porta {boundPort}. Um túnel que aponta para a porta fixa não vai alcançá-lo — libere essa porta e aplique novamente, ou escolha outra."
+
#: src/components/settings/SettingsDialogBody.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "Preferences"
@@ -10384,6 +10469,10 @@ msgstr "Reiniciando"
msgid "Restarting closes this project's server. Connected agents (Claude Code, Codex, Cursor) will see their OpenKnowledge MCP connection close unexpectedly — you may need to restart the agent, or toggle its OpenKnowledge MCP server off and on, to reconnect."
msgstr "Reiniciar fecha o servidor deste projeto. Os agentes conectados (Claude Code, Codex, Cursor) verão a conexão MCP com o OpenKnowledge fechar de forma inesperada — pode ser preciso reiniciar o agente, ou desligar e ligar o servidor MCP do OpenKnowledge nele, para reconectar."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Restarting the server is only available in the desktop app."
+msgstr "Reiniciar o servidor só está disponível no aplicativo desktop."
+
#: src/lib/install-server-drift-listener.ts
msgid "Restarting the server…"
msgstr "Reiniciando o servidor…"
@@ -12477,6 +12566,10 @@ msgstr "O provedor recusou a requisição (HTTP {0}). Verifique a chave de API e
msgid "The provider rejected the request. Check the API key and the model id."
msgstr "O provedor recusou a requisição. Verifique a chave de API e o id do modelo."
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The public URL your tunnel serves. The server admits requests for this host and advertises it in the URLs it issues."
+msgstr "A URL pública que o seu túnel serve. O servidor aceita requisições para este host e o anuncia nas URLs que emite."
+
#: src/components/ReportBugDialogBody.tsx
msgid "The report service couldn't be reached."
msgstr "Não foi possível contatar o serviço de relatórios."
@@ -12501,6 +12594,11 @@ msgstr "O arquivo de esquema não existe ou falhou ao carregar — adicionar um
msgid "the server responded but server.lock has no port yet"
msgstr "o servidor respondeu, mas o server.lock ainda não tem porta"
+#. placeholder {0}: origin.trim()
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The server will accept requests for {0} with no built-in authentication. Anyone who can reach your tunnel will have full control of this knowledge base — including sync, GitHub credentials, and local operations. Make sure the tunnel's edge restricts who can connect."
+msgstr "O servidor aceitará requisições para {0} sem autenticação integrada. Qualquer pessoa que conseguir acessar o seu túnel terá controle total desta base de conhecimento — incluindo sincronização, credenciais do GitHub e operações locais. Certifique-se de que a borda do túnel restrinja quem pode se conectar."
+
#: src/components/settings/LintingSection.tsx
msgid "The shapes of title, description, resource, and tags when you use them. None are required; declaring one only pins its type, so tags written as a comma-separated string is flagged."
msgstr "As formas de title, description, resource e tags quando você as usa. Nenhum é obrigatório; declarar um apenas fixa seu tipo, então tags escrito como uma string separada por vírgula é sinalizado."
@@ -12953,6 +13051,10 @@ msgstr "Isto envia conteúdo para fora do seu computador"
msgid "This sends the link's address off your machine"
msgstr "Isto envia o endereço do link para fora do seu computador"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "This server has no built-in authentication. Anyone who can reach the tunnel gets full control of this knowledge base — restrict access at the tunnel's edge (a Tailscale ACL, a reverse proxy with auth, or a firewall)."
+msgstr "Este servidor não tem autenticação integrada. Qualquer pessoa que conseguir acessar o túnel obtém controle total desta base de conhecimento — restrinja o acesso na borda do túnel (uma ACL do Tailscale, um proxy reverso com autenticação ou um firewall)."
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "This setting is per-machine and isn't shared with collaborators."
msgstr "Esta configuração é de cada computador e não é compartilhada com os colaboradores."
@@ -13628,6 +13730,10 @@ msgstr "Usar um pacote inicial"
msgid "Use a token instead"
msgstr "Usar um token em vez disso"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Use an http:// or https:// origin."
+msgstr "Use uma origem http:// ou https://."
+
#: src/components/settings/SearchSection.tsx
msgid "Use an https:// URL — http:// is only allowed for localhost."
msgstr "Use uma URL https:// — http:// só é aceito para localhost."
diff --git a/packages/app/src/locales/ur/messages.json b/packages/app/src/locales/ur/messages.json
index 07cda209c..dd7e7d16c 100644
--- a/packages/app/src/locales/ur/messages.json
+++ b/packages/app/src/locales/ur/messages.json
@@ -121,6 +121,7 @@
"0yL--g": ["تصادمات کا جائزہ لیں"],
"0ySP5u": ["تبدیلیاں خودکار طور پر اس تھیم میں محفوظ ہو جاتی ہیں۔"],
"0zAhu6": ["ہر دستاویز"],
+ "1-flC9": ["مقامی سرور پورٹ"],
"10g8I_": ["«صرف Markdown فائلیں» بند کریں"],
"110eEb": [
"Open Knowledge ہر فولڈر میں index.md نامی نیویگیشن فائل بناتا اور برقرار رکھتا ہے جس میں Markdown ہوتا ہے۔"
@@ -193,6 +194,7 @@
"2BBAbc": ["فہرست"],
"2C-6zf": ["نہیں بھیجا گیا"],
"2CHoQv": ["زبردستی دوبارہ لوڈ کریں"],
+ "2D1x3Y": ["لاگو کریں اور پروجیکٹ سرور دوبارہ شروع کریں"],
"2FYpfJ": ["مزید"],
"2FnYUD": [
"ایپ اور سسٹم کی معلومات، حالیہ ایپ لاگز، اور پروجیکٹ سرور کے لاگز: وہ بنیادی چیزیں جو ہمیں مسئلہ دہرانے کے لیے درکار ہیں۔"
@@ -380,6 +382,9 @@
"56WWtu": ["ابتدائی پیکس لوڈ نہیں ہو سکے: ", ["error"]],
"56xUL1": ["خصوصیت کا نام"],
"57fiu8": ["(صرف پڑھنے کے لیے — فی الحال سورس موڈ میں ترمیم کریں)"],
+ "58ko2F": [
+ "اس پروجیکٹ کے سرور کو اپنے چلائے ہوئے ٹنل (مثال کے طور پر Tailscale) کے ذریعے ایک وسیع تر نیٹ ورک پر ایکسپوز کریں۔ ٹنل پر موجود دیکھنے والے کو ایڈیٹر اور ایجنٹ اینڈ پوائنٹ ملتا ہے، جو براہِ راست اس مشین کے سرور کے مقابل ترمیم کرتا ہے۔"
+ ],
"58qIOK": ["اس انتخاب پر تبصرہ کریں"],
"5ALjdr": ["تلاش کے فیلڈ سے بصری ایڈیٹر کے تلاش نتائج میں گھومیں۔"],
"5Ajb15": ["فارمولا <0>c = √(a² + b²)</0> اِن لائن رینڈر ہوتا ہے۔"],
@@ -460,6 +465,9 @@
"62bOuM": ["تازہ ترین ترمیم"],
"636K3K": ["ملحقہ چِپ حذف کریں"],
"64sesb": ["کال آؤٹ اہم معلومات کی طرف توجہ دلاتے ہیں۔"],
+ "65Ea2s": [
+ "ایکسپوز کرنا ایک مقررہ پورٹ طے کر دیتا ہے تاکہ دوبارہ شروع ہونے پر ٹنل کا ہدف مستحکم رہے۔"
+ ],
"67Dpmh": ["سلیش کمانڈ کی تجاویز"],
"67TEhP": [
"آپ کے صارف سطح کے مہارت فولڈرز — اس مشین کے ہر پروجیکٹ میں دستیاب۔ ہر مہارت کا تنصیبی مینو طے کرتا ہے کہ وہ کہاں رہے۔"
@@ -601,6 +609,7 @@
"80c4-P": ["کوڈ کلپ بورڈ پر نقل ہو گیا"],
"81H_23": ["خصوصیات شامل کریں"],
"851WA-": ["یہ ترتیبات > AI ٹولز اور CLI میں مقرر کیا جا سکتا ہے"],
+ "87GMKe": ["کیا اس پروجیکٹ کو نیٹ ورک پر ایکسپوز کیا جائے؟"],
"881Uwh": ["منتخب ٹیبل حذف کریں"],
"89TtiD": [
"پروجیکٹ کی جڑ میں ٹیمپلیٹ «",
@@ -635,6 +644,9 @@
"8RtNI0": ["دستاویزات لوڈ نہیں ہو سکیں"],
"8SrrDi": ["نیا ریکارڈ · دوبارہ کھیلنے کے لیے اسپیس دبائیں"],
"8TvlHF": ["کریش ڈمپ"],
+ "8UmUyc": [
+ "وہ عوامی URL جو آپ کا ٹنل سرو کرتا ہے۔ سرور اس ہوسٹ کے لیے درخواستیں قبول کرتا ہے اور جو URLs جاری کرتا ہے ان میں اسی کی تشہیر کرتا ہے۔"
+ ],
"8Uv5e6": ["ایجنٹس"],
"8Vq20-": ["ورک ٹری بدلیں"],
"8Wav8y": [
@@ -965,6 +977,11 @@
["shareBranch"],
"</0> پر موجود ہے۔ آپ کے پاس غیر کمٹ شدہ تبدیلیاں ہیں جو یہاں بدلنے سے روکتی ہیں — اپنی تبدیلیاں محفوظ رکھنے کے لیے اسے کسی ورک ٹری میں کھولیں۔"
],
+ "DTcfyN": [
+ "سرور ",
+ ["0"],
+ " کے لیے بغیر کسی بلٹ اِن تصدیق کے درخواستیں قبول کرے گا۔ جو بھی آپ کے ٹنل تک پہنچ سکتا ہے اسے اس نالج بیس پر مکمل کنٹرول حاصل ہو گا — بشمول سنک، GitHub کی اسناد، اور مقامی آپریشنز۔ یقینی بنائیں کہ ٹنل کا کنارہ اس بات کو محدود کرے کہ کون کنیکٹ کر سکتا ہے۔"
+ ],
"DUWgfT": ["GitHub Enterprise Server سے دوبارہ توثیق کریں"],
"DUb7Ax": ["متعدد فائلیں اس تھیم کا نام استعمال کرتی ہیں"],
"DVh_Tb": ["ردی کے بعد صفائی نہیں ہو سکی"],
@@ -980,6 +997,7 @@
"Dd6j2Q": ["تبصرے دیکھیں"],
"DeDYLr": ["ناقابلِ شناخت وکی لنک"],
"DgcGrb": [["fileCount", "plural", { "one": ["فائل"], "other": ["فائلیں"] }]],
+ "Dh11sK": ["سرور کو دوبارہ شروع کرنا صرف ڈیسک ٹاپ ایپ میں دستیاب ہے۔"],
"DhLHEb": ["سرگرمی لوڈ نہیں ہو سکی"],
"DhT_PK": ["OpenKnowledge نے ایک اسکل درآمد کی"],
"DiFKSL": ["Markdown فائلیں شمار کی جا رہی ہیں"],
@@ -993,6 +1011,9 @@
"DrYM2Z": ["مطابقت پذیری بند"],
"DsDwR-": [["0", "plural", { "one": ["#", " خرابی"], "other": ["#", " خرابیاں"] }]],
"DskIkK": ["سائن اِن کی سٹریم تصدیق کے بغیر ختم ہو گئی — براہِ کرم دوبارہ کوشش کریں"],
+ "DuCPiG": [
+ "خودکار ہر بار شروع ہونے پر ایک خالی پورٹ منتخب کرتا ہے۔ دوبارہ شروع ہونے پر ایک ہی ایڈریس برقرار رکھنے کے لیے ایک مقررہ پورٹ منتخب کریں۔"
+ ],
"Dub54T": [
"پیش منظر کے براؤزر خودکار نقل نہیں کر سکتے۔ اوپر دیے گئے URL پر Cmd/Ctrl+C استعمال کریں، یا OK کو ڈیسک ٹاپ ایپ میں کھولیں۔"
],
@@ -1034,6 +1055,7 @@
"ENpRJV": ["بیرونی لنکس کے پیش منظر"],
"EO4Dt1": [["file"], " فعال کریں"],
"EOjU5V": ["اِن لائن ریاضی کی خصوصیات"],
+ "EP8mZC": ["ایکسپوز کریں اور دوبارہ شروع کریں"],
"EPGePE": ["«", ["0"], "» کے نام سے اپ لوڈ ہوا — نام «", ["1"], "» پہلے سے لیا ہوا تھا۔"],
"EPKVES": ["کیا «", ["skillName"], "» کو آپ کی ترامیم پر اپ ڈیٹ کر دیا جائے؟"],
"EPwuTC": [["usedLabel"], " / ", ["sizeLabel"], " ٹوکنز استعمال شدہ"],
@@ -1410,6 +1432,7 @@
"JddocZ": ["ہیڈر کالم ٹوگل کریں"],
"Jejur6": ["دستاویز لوڈ نہیں ہو سکی"],
"JfPuv7": [["shareBranch"], " برانچ کا درست نام نہیں ہے۔"],
+ "JgaVnN": ["بیرونی رسائی کی اجازت دیں"],
"Jhj_lh": ["لنک کا ہدف، اینکر اور ظاہری لیبل تبدیل کریں۔"],
"JhqycE": ["کوئی حالیہ فائل نہیں"],
"JkCD2u": ["مطابقت پذیری روکی ہوئی — آپ کو اس ریپو میں پُش کرنے کی اجازت نہیں"],
@@ -1475,6 +1498,7 @@
"KZLdgR": ["تازہ ترین اسپیکس کے لیے <0>#design-docs</0> دیکھیں۔"],
"K_vT1F": ["اپ سٹریم مطابقت پذیری"],
"KaFCD3": ["یہ لنک نئے ٹیب میں کھولیں اور گراف سکیڑ دیں۔"],
+ "Kbz9RK": ["مقررہ پورٹ نمبر"],
"KeXgA-": ["وہ اقتباس نہیں مل سکا — جس متن پر یہ تھا وہ شاید تبدیل ہو چکا ہے۔"],
"Kf7GG5": ["سرور دوبارہ چلایا جا رہا ہے…"],
"Kge76t": ["قطار کے اختیارات"],
@@ -1900,6 +1924,7 @@
"PrVaZo": ["OpenKnowledge کی تنصیب ختم کریں؟"],
"PrWQiT": ["Terminal کو دائیں منتقل کریں"],
"PrhzDE": ["اوپر کھسکائیں"],
+ "Pw5PTU": ["بیرونی اوریجن"],
"Q-DKvr": [["source"], " سے نصب کریں"],
"Q1mtyd": ["سائیڈ بار چھپائیں"],
"Q5fqMz": ["کنکشن کی خرابی — دوبارہ کوشش کریں"],
@@ -2052,6 +2077,13 @@
"S48xcO": ["زیرِ التوا"],
"S6eHlw": ["پہلے کوئی پروجیکٹ کھولیں۔"],
"S6l5dv": ["نیا آئٹم بنانا شروع نہیں ہو سکا"],
+ "S79zoi": [
+ "پورٹ ",
+ ["configuredPort"],
+ " استعمال میں ہے، اس لیے سرور اس کے بجائے پورٹ ",
+ ["boundPort"],
+ " پر چل رہا ہے۔ فکسڈ پورٹ کی طرف جانے والا ٹنل اس تک نہیں پہنچے گا — وہ پورٹ خالی کریں اور دوبارہ لاگو کریں، یا کوئی اور منتخب کریں۔"
+ ],
"S9Vnum": [["patternText"], " ہٹائیں"],
"S9t1PI": [["0"], "/", ["1"], " ٹھیک کیا جا رہا ہے"],
"SCoBBH": ["ٹیگ کی تجاویز"],
@@ -2126,6 +2158,7 @@
"TKQ7K-": ["نصب کریں"],
"TLIO3j": ["ترچھی فارمیٹنگ بدلیں۔"],
"TMLAx2": ["درکار"],
+ "TNKAIS": ["لاگو کرنے سے اس پروجیکٹ کا سرور دوبارہ شروع ہوتا ہے۔"],
"TQJCR6": [["0", "plural", { "one": ["#", " نتیجہ"], "other": ["#", " نتائج"] }]],
"TTDXD8": ["نیا ورک ٹری…"],
"TUzThQ": ["مہارتیں شیئر کریں"],
@@ -2147,6 +2180,7 @@
"ایجنٹس کو بتاتا ہے کہ اس مہارت کا استعمال کب کرنا ہے۔ آپ اسے بعد میں بدل سکتے ہیں۔"
],
"Tofsyo": ["Terminal کو نیچے منتقل کریں"],
+ "TpqW74": ["مقررہ"],
"Tq3pcs": ["میری والی رکھیں"],
"Tq9kNX": ["کوئی کھلی چیٹ نہیں۔ پچھلی چیٹ دوبارہ کھولیں، یا + بٹن سے نئی شروع کریں۔"],
"TsZmgr": ["ڈسک پر موجود فائل، اور وہ شناخت جو ایجنٹس استعمال کرتے ہیں۔"],
@@ -2904,6 +2938,7 @@
"cuA8QW": ["اسپیکس منظم کریں"],
"cuHhjo": ["بنائیں اور ترمیم کریں"],
"d-GtJt": ["ماخذ Markdown میں دیکھیں"],
+ "d02jS3": ["نیٹ ورک رسائی"],
"d1JjXo": [
"برانچ <0>",
["branch"],
@@ -4197,6 +4232,7 @@
"u5Utjn": [["0"], " کو ", ["1"], " درکار ہے"],
"u5hSeG": ["رائے شیئر کریں"],
"u6Hp4N": ["Markdown"],
+ "u779EG": ["http:// یا https:// اوریجن استعمال کریں۔"],
"u7H-Wn": ["پینل دکھائیں (", ["panelShortcutLabel"], ")"],
"u7U_Ij": ["منتخب متن کو لنک کریں، یا کرسر کے نیچے موجود لنک میں ترمیم کریں۔"],
"uA_jXp": ["برانچ بدلیں اور تازہ کریں"],
@@ -4207,6 +4243,7 @@
"uDlyqd": [
"اس ریپو کے ڈھانچے کی دستاویز بنائیں: ایک جائزہ صفحہ بنائیں جو ہر بڑے ماڈیول کے صفحے سے جڑا ہو اور اس کی ذمہ داریاں اور داخلی نقاط بیان کرے۔"
],
+ "uDzLV-": ["ایک درست URL درج کریں، مثلاً https://notes.example.com"],
"uF82hk": ["چھان بین جاری ہے…"],
"uF9ruK": ["محفوظ کیا جا رہا ہے"],
"uFQbYd": ["ہوم پیج اور داخلی نقطہ۔"],
@@ -4262,6 +4299,9 @@
"um-es7": ["ایڈیٹر اس کے ساتھ جاری کریں"],
"un-K1H": ["اسی کمپیوٹر پر رہتا ہے۔ git میں کمٹ نہیں ہوتا۔"],
"un8kBM": ["صفحہ بنایا جا رہا ہے: ", ["linkTitle"], "۔"],
+ "unmCLE": [
+ "اس سرور میں کوئی بلٹ اِن تصدیق نہیں ہے۔ جو بھی ٹنل تک پہنچ سکتا ہے اسے اس نالج بیس پر مکمل کنٹرول مل جاتا ہے — رسائی کو ٹنل کے کنارے پر محدود کریں (ایک Tailscale ACL، تصدیق کے ساتھ ایک ریورس پراکسی، یا ایک فائر وال)۔"
+ ],
"uoJF_D": ["اسے ترتیب دینا یا شروع کرنا بہت مشکل تھا"],
"ur2XSb": ["بصری ایڈیٹر"],
"uuoHOU": ["کمانڈ ناکام ہو گئی۔"],
@@ -4392,6 +4432,7 @@
"wTcjov": ["کوئی ورک اسپیس نہیں"],
"wU8WyK": ["عنصر کے فیلڈز"],
"wVa83H": ["رپورٹ نہیں بن سکی"],
+ "wWtVYd": ["1 اور 65535 کے درمیان ایک پورٹ درج کریں۔"],
"wXO4Tg": [["hrs"], " گھنٹے پہلے"],
"wXw19Y": [
"«",
@@ -4405,6 +4446,7 @@
"wbv9xO": ["نیا پروجیکٹ بنائیں"],
"wc54KE": ["آزمایا جا رہا ہے…"],
"wcfO9r": ["ابھی کوئی بگ رپورٹ نہیں۔"],
+ "wdRxTD": ["لاگو کیا جا رہا ہے…"],
"wdxz7K": ["ماخذ"],
"wdzBgi": ["کنفیگ کا اشتراک اب صرف آپ تک محدود ہے۔"],
"weP6me": ["دستاویزات لوڈ نہیں ہو سکیں — دوبارہ کوشش کے لیے @ دوبارہ لکھیں"],
@@ -4458,6 +4500,7 @@
"xV5sXw": [["0"], " ہفتے پہلے"],
"xWEvuo": ["AI سے پوچھیں"],
"xWomUD": [["editor"], " والا ورژن استعمال کریں"],
+ "xXn6KB": ["نیٹ ورک ترتیبات محفوظ نہیں کی جا سکیں — ", ["0"]],
"xXo8FT": ["محفوظ کرنا ناکام: ", ["error"]],
"xYMPyY": [
"چسپاں کرنا نامکمل رہا — ",
@@ -4561,6 +4604,7 @@
"ylXj1N": ["منتخب"],
"ymWJLd": [["0"], " مزید دکھائیں"],
"ynIa4S": ["بصری ایڈیٹر کا فہرست آئٹم"],
+ "yopUSw": ["نیٹ ورک ترتیبات ابھی لوڈ نہیں ہوئیں — تھوڑی دیر بعد دوبارہ کوشش کریں۔"],
"ypw6My": ["سرِ فہرست ", ["0"], " عنوانات دکھائے جا رہے ہیں — محدود کرنے کے لیے لکھتے رہیں"],
"ysxgu8": ["پروجیکٹ"],
"yutJKi": ["چیک باکسز کے ساتھ چیک لسٹ۔"],
@@ -4589,6 +4633,7 @@
"zAsDLY": ["دستاویزات کے لنکس کی گرافی نمائش"],
"zBUqvf": ["OpenKnowledge کے انضمامات ترتیب دیں…"],
"zD1Nqf": [["count", "plural", { "one": ["#", " دستاویز"], "other": ["#", " دستاویزات"] }]],
+ "zHsZcU": ["وہ عوامی اوریجن درج کریں جو آپ کا ٹنل سرو کرتا ہے، مثلاً https://notes.example.com"],
"zJL34S": ["نئی Terminal ونڈو"],
"zKxoPm": ["«", ["0"], "» کا نام نہیں بدلا جا سکا: ", ["1"]],
"zL0LPh": ["متن کے فیلڈز سے باہر عالمی"],
diff --git a/packages/app/src/locales/ur/messages.po b/packages/app/src/locales/ur/messages.po
index 4cf45ff5e..d6986699c 100644
--- a/packages/app/src/locales/ur/messages.po
+++ b/packages/app/src/locales/ur/messages.po
@@ -1524,6 +1524,10 @@ msgstr "تمام حصے حل ہو گئے"
msgid "All tags"
msgstr "تمام ٹیگز"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Allow external access"
+msgstr "بیرونی رسائی کی اجازت دیں"
+
#: src/components/settings/frontmatter-schema-field-editor.tsx
msgid "Allowed element values (empty = any)"
msgstr "اجازت شدہ عنصری اقدار (خالی = کوئی بھی)"
@@ -1663,14 +1667,26 @@ msgstr "لاگو ہوتا ہے (گلوبز — شروع میں ! خارج کرت
msgid "Applies to all projects on this machine. Claude and Codex, started from the built-in terminal, 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. Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
msgstr "اس مشین کے تمام پروجیکٹس پر لاگو ہوتا ہے۔ بلٹ اِن ٹرمینل سے شروع کیے گئے Claude اور Codex، OpenKnowledge کے پڑھنے اور لکھنے کے ٹولز کو خودکار طور پر منظور کرتے ہیں (Claude «ok open» بھی خودکار چلاتا ہے)۔ حذف کرنا، منتقل کرنا، شیئر کرنا، درآمد کرنا یا مہارتیں نصب کرنا، دیگر کمانڈز، اور OpenKnowledge سے باہر کی فائل ترامیم اب بھی پوچھتی ہیں۔ Cursor، OpenCode اور Pi متاثر نہیں ہوتے۔ ہر ایجنٹ کے لیے حسبِ استطاعت۔"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Apply and restart project server"
+msgstr "لاگو کریں اور پروجیکٹ سرور دوبارہ شروع کریں"
+
#: src/editor/bubble-menu/LinkEditPopover.tsx
msgid "Apply link"
msgstr "لنک لاگو کریں"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying restarts this project's server."
+msgstr "لاگو کرنے سے اس پروجیکٹ کا سرور دوبارہ شروع ہوتا ہے۔"
+
#: src/components/settings/SearchSection.tsx
msgid "Applying your change"
msgstr "آپ کی تبدیلی لاگو کی جا رہی ہے"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying…"
+msgstr "لاگو کیا جا رہا ہے…"
+
#: src/components/acp/ThreadView.tsx
msgid "Approved"
msgstr "منظور شدہ"
@@ -1878,9 +1894,14 @@ msgstr "«{name}» کے لیے خودکار اپ ڈیٹ فعال"
#. Section label for the automatic, one-click install path
#: src/components/InstallInClaudeDesktopDialog.tsx
+#: src/components/settings/NetworkAccessSection.tsx
msgid "Automatic"
msgstr "خودکار"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
+msgstr "خودکار ہر بار شروع ہونے پر ایک خالی پورٹ منتخب کرتا ہے۔ دوبارہ شروع ہونے پر ایک ہی ایڈریس برقرار رکھنے کے لیے ایک مقررہ پورٹ منتخب کریں۔"
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "دستیاب"
@@ -2185,6 +2206,7 @@ msgstr "یہ راستہ شیئر نہیں کیا جا سکتا۔"
#: src/components/SeedDialog.tsx
#: src/components/settings/LinkPreviewsSection.tsx
#: src/components/settings/LintingSection.tsx
+#: src/components/settings/NetworkAccessSection.tsx
#: src/components/settings/SavedThemesTiles.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/ShareBranchSwitchDialog.tsx
@@ -3728,6 +3750,12 @@ msgstr "ٹیسٹ نہیں چل سکا۔ دیکھیں کہ OpenKnowledge اب ب
msgid "Couldn’t save changes. Try editing a color again."
msgstr "تبدیلیاں محفوظ نہیں ہو سکیں۔ کسی رنگ میں دوبارہ ترمیم کر کے دیکھیں۔"
+#. placeholder {0}: humanFormat(first.error)
+#. placeholder {0}: humanFormat(second.error)
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Couldn't save network settings — {0}"
+msgstr "نیٹ ورک ترتیبات محفوظ نہیں کی جا سکیں — {0}"
+
#: src/components/TemplateForm.tsx
msgid "Couldn't save template: {error}"
msgstr "ٹیمپلیٹ محفوظ نہیں ہو سکا: {error}"
@@ -4937,6 +4965,10 @@ msgstr "فولڈر کا نام درج کریں (مثلاً brain)۔"
msgid "Enter a name for this theme."
msgstr "اس تھیم کے لیے نام درج کریں۔"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a port between 1 and 65535."
+msgstr "1 اور 65535 کے درمیان ایک پورٹ درج کریں۔"
+
#: src/components/CreateProjectDialog.tsx
msgid "Enter a project name"
msgstr "پروجیکٹ کا نام درج کریں"
@@ -4961,6 +4993,14 @@ msgstr "درست تھیم نام درج کریں۔"
msgid "Enter a valid URL (for example https://api.openai.com/v1)."
msgstr "درست URL درج کریں (مثلاً https://api.openai.com/v1)۔"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a valid URL, for example https://notes.example.com"
+msgstr "ایک درست URL درج کریں، مثلاً https://notes.example.com"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"
+msgstr "وہ عوامی اوریجن درج کریں جو آپ کا ٹنل سرو کرتا ہے، مثلاً https://notes.example.com"
+
#: src/components/McpConsentDialogBody.tsx
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
@@ -5070,6 +5110,22 @@ msgstr "دریافت کریں"
msgid "Explore skills"
msgstr "مہارتیں دریافت کریں"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose and restart"
+msgstr "ایکسپوز کریں اور دوبارہ شروع کریں"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project to the network?"
+msgstr "کیا اس پروجیکٹ کو نیٹ ورک پر ایکسپوز کیا جائے؟"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project's server to a wider network through a tunnel you run (for example Tailscale). A viewer on the tunnel gets the editor and agent endpoint, editing live against this machine's server."
+msgstr "اس پروجیکٹ کے سرور کو اپنے چلائے ہوئے ٹنل (مثال کے طور پر Tailscale) کے ذریعے ایک وسیع تر نیٹ ورک پر ایکسپوز کریں۔ ٹنل پر موجود دیکھنے والے کو ایڈیٹر اور ایجنٹ اینڈ پوائنٹ ملتا ہے، جو براہِ راست اس مشین کے سرور کے مقابل ترمیم کرتا ہے۔"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Exposing pins a fixed port so the tunnel's target stays stable across restarts."
+msgstr "ایکسپوز کرنا ایک مقررہ پورٹ طے کر دیتا ہے تاکہ دوبارہ شروع ہونے پر ٹنل کا ہدف مستحکم رہے۔"
+
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/AgentSplitButton.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -5091,6 +5147,10 @@ msgstr "بیرونی لنکس کے پیش منظر"
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "بیرونی لنکس کے پیش منظر لنک پر ماؤس لے جانے پر سائٹ کا نام، صفحے کا عنوان اور تفصیل والا کارڈ دکھاتے ہیں۔"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "External origin"
+msgstr "بیرونی اوریجن"
+
#: src/editor/extensions/WikiLinkPropPanel.tsx
msgid "External wiki link"
msgstr "بیرونی وکی لنک"
@@ -5588,6 +5648,10 @@ msgstr "{flatId} ٹھیک کریں"
msgid "Fix all with AI ({count})"
msgstr "AI سے سب ٹھیک کریں ({count})"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed"
+msgstr "مقررہ"
+
#: src/lib/project-fix-sweep-store.ts
msgid "Fixed {total, plural, one {# file} other {# files}}."
msgstr "{total, plural, one {# فائل درست کی گئی} other {# فائلیں درست کی گئیں}}۔"
@@ -5596,6 +5660,10 @@ msgstr "{total, plural, one {# فائل درست کی گئی} other {# فائل
msgid "Fixed folder in content root"
msgstr "مواد کی جڑ میں مقررہ فولڈر"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed port number"
+msgstr "مقررہ پورٹ نمبر"
+
#. placeholder {0}: fixing.done
#. placeholder {1}: fixing.total
#: src/components/ProblemsPanel.tsx
@@ -7222,6 +7290,10 @@ msgstr "مقامی فائلیں"
msgid "Local path"
msgstr "مقامی راستہ"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Local server port"
+msgstr "مقامی سرور پورٹ"
+
#: src/lib/install-onboarding-toast.ts
msgid "Local-only requested but no git repository was created. Switch later via Settings → Config sharing once the project is in a git repo."
msgstr "صرف مقامی کی درخواست کی گئی تھی، مگر کوئی git ریپوزٹری نہیں بنی۔ پروجیکٹ کے git ریپوزٹری میں آنے کے بعد آپ ترتیبات ← کنفیگ شیئرنگ سے یہ بدل سکتے ہیں۔"
@@ -7716,6 +7788,11 @@ msgstr "{path} میں نیسٹڈ .okignore کی خرابی"
msgid "Nested fields"
msgstr "نیسٹڈ فیلڈز"
+#: src/components/settings/NetworkAccessSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "Network access"
+msgstr "نیٹ ورک رسائی"
+
#: src/components/FileTree.tsx
msgid "Network error - {kind} \"{createdPath}\" still exists on disk"
msgstr "نیٹ ورک کی خرابی - {kind} «{createdPath}» اب بھی ڈسک پر موجود ہے"
@@ -7733,6 +7810,10 @@ msgstr "نیٹ ورک کی خرابی (کیا `ok start` چل رہا ہے؟)"
msgid "Network error during cleanup"
msgstr "صفائی کے دوران نیٹ ورک کی خرابی"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Network settings not yet loaded — try again in a moment."
+msgstr "نیٹ ورک ترتیبات ابھی لوڈ نہیں ہوئیں — تھوڑی دیر بعد دوبارہ کوشش کریں۔"
+
#: src/components/SyncStatusBadge.tsx
msgid "never"
msgstr "کبھی نہیں"
@@ -9466,6 +9547,10 @@ msgstr "مقبول"
msgid "Popular on skills.sh"
msgstr "skills.sh پر مقبول"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Port {configuredPort} is in use, so the server is running on port {boundPort} instead. A tunnel forwarding to the fixed port won't reach it — free that port and apply again, or choose a different one."
+msgstr "پورٹ {configuredPort} استعمال میں ہے، اس لیے سرور اس کے بجائے پورٹ {boundPort} پر چل رہا ہے۔ فکسڈ پورٹ کی طرف جانے والا ٹنل اس تک نہیں پہنچے گا — وہ پورٹ خالی کریں اور دوبارہ لاگو کریں، یا کوئی اور منتخب کریں۔"
+
#: src/components/settings/SettingsDialogBody.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "Preferences"
@@ -10388,6 +10473,10 @@ msgstr "دوبارہ چلایا جا رہا ہے"
msgid "Restarting closes this project's server. Connected agents (Claude Code, Codex, Cursor) will see their OpenKnowledge MCP connection close unexpectedly — you may need to restart the agent, or toggle its OpenKnowledge MCP server off and on, to reconnect."
msgstr "دوبارہ چلانے سے اس پروجیکٹ کا سرور بند ہو جاتا ہے۔ منسلک ایجنٹس (Claude Code، Codex، Cursor) دیکھیں گے کہ ان کا OpenKnowledge MCP کنکشن غیر متوقع طور پر بند ہو گیا — دوبارہ منسلک ہونے کے لیے آپ کو ایجنٹ دوبارہ چلانا پڑ سکتا ہے، یا اس کا OpenKnowledge MCP سرور بند کر کے دوبارہ فعال کرنا پڑ سکتا ہے۔"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Restarting the server is only available in the desktop app."
+msgstr "سرور کو دوبارہ شروع کرنا صرف ڈیسک ٹاپ ایپ میں دستیاب ہے۔"
+
#: src/lib/install-server-drift-listener.ts
msgid "Restarting the server…"
msgstr "سرور دوبارہ چلایا جا رہا ہے…"
@@ -12481,6 +12570,10 @@ msgstr "فراہم کنندہ نے درخواست مسترد کر دی (HTTP {0}
msgid "The provider rejected the request. Check the API key and the model id."
msgstr "فراہم کنندہ نے درخواست مسترد کر دی۔ API کلید اور ماڈل شناخت دیکھیں۔"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The public URL your tunnel serves. The server admits requests for this host and advertises it in the URLs it issues."
+msgstr "وہ عوامی URL جو آپ کا ٹنل سرو کرتا ہے۔ سرور اس ہوسٹ کے لیے درخواستیں قبول کرتا ہے اور جو URLs جاری کرتا ہے ان میں اسی کی تشہیر کرتا ہے۔"
+
#: src/components/ReportBugDialogBody.tsx
msgid "The report service couldn't be reached."
msgstr "رپورٹ کی سروس تک رسائی نہیں ہو سکی۔"
@@ -12505,6 +12598,11 @@ msgstr "اسکیما فائل موجود نہیں یا لوڈ نہیں ہو سک
msgid "the server responded but server.lock has no port yet"
msgstr "سرور نے جواب دیا مگر server.lock میں ابھی کوئی پورٹ نہیں"
+#. placeholder {0}: origin.trim()
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The server will accept requests for {0} with no built-in authentication. Anyone who can reach your tunnel will have full control of this knowledge base — including sync, GitHub credentials, and local operations. Make sure the tunnel's edge restricts who can connect."
+msgstr "سرور {0} کے لیے بغیر کسی بلٹ اِن تصدیق کے درخواستیں قبول کرے گا۔ جو بھی آپ کے ٹنل تک پہنچ سکتا ہے اسے اس نالج بیس پر مکمل کنٹرول حاصل ہو گا — بشمول سنک، GitHub کی اسناد، اور مقامی آپریشنز۔ یقینی بنائیں کہ ٹنل کا کنارہ اس بات کو محدود کرے کہ کون کنیکٹ کر سکتا ہے۔"
+
#: src/components/settings/LintingSection.tsx
msgid "The shapes of title, description, resource, and tags when you use them. None are required; declaring one only pins its type, so tags written as a comma-separated string is flagged."
msgstr "title، description، resource، اور tags کی شکلیں جب آپ انہیں استعمال کرتے ہیں۔ کسی کی ضرورت نہیں ہے؛ صرف ایک کا اعلان کرنا اس کی قسم کو پن کرتا ہے، لہذا tags کوما سے الگ کردہ سٹرنگ کے طور پر لکھا جاتا ہے۔"
@@ -12957,6 +13055,10 @@ msgstr "یہ مواد آپ کی مشین سے باہر بھیجتا ہے"
msgid "This sends the link's address off your machine"
msgstr "یہ لنک کا پتہ آپ کی مشین سے باہر بھیجتا ہے"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "This server has no built-in authentication. Anyone who can reach the tunnel gets full control of this knowledge base — restrict access at the tunnel's edge (a Tailscale ACL, a reverse proxy with auth, or a firewall)."
+msgstr "اس سرور میں کوئی بلٹ اِن تصدیق نہیں ہے۔ جو بھی ٹنل تک پہنچ سکتا ہے اسے اس نالج بیس پر مکمل کنٹرول مل جاتا ہے — رسائی کو ٹنل کے کنارے پر محدود کریں (ایک Tailscale ACL، تصدیق کے ساتھ ایک ریورس پراکسی، یا ایک فائر وال)۔"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "This setting is per-machine and isn't shared with collaborators."
msgstr "یہ ترتیب ہر مشین کے لیے الگ ہے اور ساتھیوں کے ساتھ مشترک نہیں ہوتی۔"
@@ -13632,6 +13734,10 @@ msgstr "کوئی ابتدائی پیک استعمال کریں"
msgid "Use a token instead"
msgstr "اس کے بجائے ٹوکن استعمال کریں"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Use an http:// or https:// origin."
+msgstr "http:// یا https:// اوریجن استعمال کریں۔"
+
#: src/components/settings/SearchSection.tsx
msgid "Use an https:// URL — http:// is only allowed for localhost."
msgstr "https:// والا URL استعمال کریں — http:// کی اجازت صرف localhost کے لیے ہے۔"
diff --git a/packages/app/src/locales/zh-Hans/messages.json b/packages/app/src/locales/zh-Hans/messages.json
index 15b063aed..eb7f936f5 100644
--- a/packages/app/src/locales/zh-Hans/messages.json
+++ b/packages/app/src/locales/zh-Hans/messages.json
@@ -114,6 +114,7 @@
"0yL--g": ["查看冲突"],
"0ySP5u": ["更改会自动保存到此主题。"],
"0zAhu6": ["所有文档"],
+ "1-flC9": ["本地服务器端口"],
"10g8I_": ["关闭「只显示 markdown 文件」"],
"110eEb": ["Open Knowledge 在包含 Markdown 的每个文件夹中创建并维护名为 index.md 的导航文件。"],
"11ukmX": ["重命名失败:", ["0"]],
@@ -178,6 +179,7 @@
"2BBAbc": ["列表"],
"2C-6zf": ["未发送"],
"2CHoQv": ["强制重新加载"],
+ "2D1x3Y": ["应用并重启项目服务器"],
"2FYpfJ": ["更多"],
"2FnYUD": ["应用与系统信息、最近的应用日志和项目服务器日志:复现问题所需的基本材料。"],
"2G-56b": ["更新 markdownlint 规则失败"],
@@ -341,6 +343,9 @@
"56WWtu": ["无法加载入门包:", ["error"]],
"56xUL1": ["属性名"],
"57fiu8": ["(只读——目前请在源码模式中编辑)"],
+ "58ko2F": [
+ "通过你自行运行的隧道(例如 Tailscale)将此项目的服务器公开到更广的网络。隧道上的访问者可获得编辑器和智能体端点,直接对本机的服务器进行实时编辑。"
+ ],
"58qIOK": ["对选中内容添加评论"],
"5ALjdr": ["从查找输入框中在可视化编辑器的查找结果之间移动。"],
"5Ajb15": ["公式 <0>c = √(a² + b²)</0> 以行内形式渲染。"],
@@ -414,6 +419,7 @@
"62bOuM": ["最近一次编辑"],
"636K3K": ["删除相邻的标记块"],
"64sesb": ["标注框用于突出关键信息。"],
+ "65Ea2s": ["公开时会固定一个端口,使隧道的目标在重启后保持稳定。"],
"67Dpmh": ["斜杠命令建议"],
"67TEhP": [
"你的用户级技能文件夹——在这台电脑的每个项目中都可用。每个技能的安装菜单决定它保存在哪里。"
@@ -538,6 +544,7 @@
"80c4-P": ["代码已复制到剪贴板"],
"81H_23": ["添加属性"],
"851WA-": ["这可以在「设置 > AI 工具与 CLI」中配置"],
+ "87GMKe": ["要将此项目公开到网络吗?"],
"881Uwh": ["删除选中的表格"],
"89TtiD": ["在项目根目录中用模板“", ["displayTitle"], "”新建文件(", ["fileName"], ")"],
"89y7ar": [["sizeText"], " · 已隐去机密信息"],
@@ -559,6 +566,9 @@
"8RtNI0": ["加载文档失败"],
"8SrrDi": ["新纪录 · 按空格再玩一次"],
"8TvlHF": ["崩溃转储"],
+ "8UmUyc": [
+ "你的隧道对外提供的公开 URL。服务器会接受针对此主机的请求,并在其签发的 URL 中公布该地址。"
+ ],
"8Uv5e6": ["智能体"],
"8Vq20-": ["切换 worktree"],
"8Wav8y": ["如果你正在编辑的内容收到更新,你可以像处理合并冲突那样选择保留哪个版本。"],
@@ -852,6 +862,11 @@
["shareBranch"],
"</0> 分支上。你有未提交的改动,无法在这里切换——请在 worktree 中打开它,这样你的改动不会被动到。"
],
+ "DTcfyN": [
+ "服务器将接受针对 ",
+ ["0"],
+ " 的请求,且没有内置身份验证。任何能访问你隧道的人都将拥有对此知识库的完全控制权——包括同步、GitHub 凭据和本地操作。请确保在隧道边缘限制谁可以连接。"
+ ],
"DUWgfT": ["重新通过 GitHub Enterprise Server 认证"],
"DUb7Ax": ["多个文件使用了此主题名称"],
"DVh_Tb": ["移到废纸篓后的清理失败"],
@@ -865,6 +880,7 @@
"Dd6j2Q": ["查看评论"],
"DeDYLr": ["无法识别的维基链接"],
"DgcGrb": [["fileCount", "plural", { "other": ["文件"] }]],
+ "Dh11sK": ["仅桌面应用支持重启服务器。"],
"DhLHEb": ["加载动态失败"],
"DhT_PK": ["OpenKnowledge 导入了一个技能"],
"DiFKSL": ["正在统计 markdown 文件"],
@@ -878,6 +894,7 @@
"DrYM2Z": ["同步已禁用"],
"DsDwR-": [["0", "plural", { "other": ["#", " 个错误"] }]],
"DskIkK": ["登录流程未确认就结束了——请重试"],
+ "DuCPiG": ["自动模式会在每次启动时选择一个空闲端口。选择固定端口可在重启后保持相同地址。"],
"Dub54T": ["预览浏览器无法自动复制。请对上方的 URL 使用 Cmd/Ctrl+C,或在桌面应用中打开 OK。"],
"Dut9Ht": ["描述你想创建的技能"],
"Dvr1Sg": ["正在复制"],
@@ -909,6 +926,7 @@
"ENpRJV": ["外部链接预览"],
"EO4Dt1": ["启用 ", ["file"]],
"EOjU5V": ["行内公式属性"],
+ "EP8mZC": ["公开并重启"],
"EPGePE": ["已作为“", ["0"], "”上传——名称“", ["1"], "”已被占用。"],
"EPKVES": ["要用“", ["skillName"], "”覆盖你的编辑进行更新吗?"],
"EPwuTC": ["已使用 ", ["usedLabel"], " / ", ["sizeLabel"], " 个 token"],
@@ -1223,6 +1241,7 @@
"JddocZ": ["切换标题列"],
"Jejur6": ["无法加载文档"],
"JfPuv7": [["shareBranch"], " 不是有效的分支名。"],
+ "JgaVnN": ["允许外部访问"],
"Jhj_lh": ["修改链接目标、锚点和显示标签。"],
"JhqycE": ["没有最近的文件"],
"JkCD2u": ["同步已暂停——你没有推送到这个仓库的权限"],
@@ -1276,6 +1295,7 @@
"KZLdgR": ["最新的规格见 <0>#design-docs</0>。"],
"K_vT1F": ["上游同步"],
"KaFCD3": ["在新标签页中打开这个链接并折叠关系图。"],
+ "Kbz9RK": ["固定端口号"],
"KeXgA-": ["找不到该段落 — 它所在的文本可能已更改。"],
"Kf7GG5": ["正在重启服务器…"],
"Kge76t": ["行选项"],
@@ -1646,6 +1666,7 @@
"PrVaZo": ["要卸载 OpenKnowledge 吗?"],
"PrWQiT": ["将 Terminal 移到右侧"],
"PrhzDE": ["向上平移"],
+ "Pw5PTU": ["外部来源"],
"Q-DKvr": ["从 ", ["source"], " 安装"],
"Q1mtyd": ["隐藏侧边栏"],
"Q5fqMz": ["连接出错——请重试"],
@@ -1776,6 +1797,13 @@
"S48xcO": ["待处理"],
"S6eHlw": ["请先打开一个项目。"],
"S6l5dv": ["无法开始创建新项目"],
+ "S79zoi": [
+ "端口 ",
+ ["configuredPort"],
+ " 已被占用,服务器改为在端口 ",
+ ["boundPort"],
+ " 上运行。指向固定端口的隧道将无法连接——请释放该端口后重新应用,或选择其他端口。"
+ ],
"S9Vnum": ["移除 ", ["patternText"]],
"S9t1PI": ["正在修复 ", ["0"], "/", ["1"]],
"SCoBBH": ["标签建议"],
@@ -1832,6 +1860,7 @@
"TKQ7K-": ["安装"],
"TLIO3j": ["切换斜体格式。"],
"TMLAx2": ["必填"],
+ "TNKAIS": ["应用此设置会重启此项目的服务器。"],
"TQJCR6": [["0", "plural", { "other": ["#", " 条结果"] }]],
"TTDXD8": ["新建 worktree…"],
"TUzThQ": ["共享技能"],
@@ -1849,6 +1878,7 @@
"Tjc1pH": ["章节 <0>(可选的标题锚点)</0>"],
"Tn5sik": ["告诉智能体什么时候该用这个技能。之后可以再修改。"],
"Tofsyo": ["将 Terminal 移到底部"],
+ "TpqW74": ["固定"],
"Tq3pcs": ["保留我的"],
"Tq9kNX": ["没有打开的对话。重新打开之前的对话,或使用 + 按钮开始新对话。"],
"TsZmgr": ["磁盘上的文件,以及智能体使用的 id。"],
@@ -2516,6 +2546,7 @@
"cuA8QW": ["整理规格"],
"cuHhjo": ["创建并编辑"],
"d-GtJt": ["在 Markdown 源码中查看"],
+ "d02jS3": ["网络访问"],
"d1JjXo": [
"你本地的 <0>",
["branch"],
@@ -3653,6 +3684,7 @@
"u5Utjn": [["0"], " 需要 ", ["1"]],
"u5hSeG": ["分享反馈"],
"u6Hp4N": ["Markdown"],
+ "u779EG": ["请使用 http:// 或 https:// 来源。"],
"u7H-Wn": ["显示面板(", ["panelShortcutLabel"], ")"],
"u7U_Ij": ["为选中的文本加链接,或编辑光标处的链接。"],
"uA_jXp": ["切换并更新分支"],
@@ -3661,6 +3693,7 @@
"uDlyqd": [
"记录这个仓库的架构:创建一页总览,链接到每个主要模块的页面,说明各自的职责和入口。"
],
+ "uDzLV-": ["输入有效的 URL,例如 https://notes.example.com"],
"uF82hk": ["正在酝酿…"],
"uF9ruK": ["正在保存"],
"uFQbYd": ["首页兼入口。"],
@@ -3697,6 +3730,9 @@
"um-es7": ["让编辑器带上"],
"un-K1H": ["留在这台电脑上。不会提交到 git。"],
"un8kBM": ["正在创建页面:", ["linkTitle"], "。"],
+ "unmCLE": [
+ "此服务器没有内置身份验证。任何能访问隧道的人都将拥有对此知识库的完全控制权——请在隧道边缘限制访问(Tailscale ACL、带身份验证的反向代理或防火墙)。"
+ ],
"uoJF_D": ["设置或上手太麻烦了"],
"ur2XSb": ["可视化编辑器"],
"uuoHOU": ["命令执行失败。"],
@@ -3791,6 +3827,7 @@
"wTcjov": ["无工作区"],
"wU8WyK": ["元素字段"],
"wVa83H": ["无法生成报告"],
+ "wWtVYd": ["请输入 1 到 65535 之间的端口。"],
"wXO4Tg": [["hrs"], " 小时前"],
"wXw19Y": ["已把“", ["projectName"], "”从最近的项目中移除。它的文件夹已不存在。"],
"wZPUJx": ["“", ["0"], "”"],
@@ -3800,6 +3837,7 @@
"wbv9xO": ["新建项目"],
"wc54KE": ["正在试用…"],
"wcfO9r": ["还没有错误报告。"],
+ "wdRxTD": ["正在应用…"],
"wdxz7K": ["源码"],
"wdzBgi": ["配置共享现在为「仅自己」。"],
"weP6me": ["无法加载文档——再输入一次 @ 重试"],
@@ -3844,6 +3882,7 @@
"xV5sXw": [["0"], " 周前"],
"xWEvuo": ["问 AI"],
"xWomUD": ["使用 ", ["editor"], " 的版本"],
+ "xXn6KB": ["无法保存网络设置 — ", ["0"]],
"xXo8FT": ["保存失败:", ["error"]],
"xYMPyY": [
"粘贴不完整——",
@@ -3933,6 +3972,7 @@
"ylXj1N": ["已选中"],
"ymWJLd": ["再显示 ", ["0"], " 个"],
"ynIa4S": ["可视化编辑器列表项"],
+ "yopUSw": ["网络设置尚未加载 — 请稍后重试。"],
"ypw6My": ["正在显示最相关的 ", ["0"], " 个标题——继续输入可缩小范围"],
"ysxgu8": ["项目"],
"yutJKi": ["带复选框的清单。"],
@@ -3961,6 +4001,7 @@
"zAsDLY": ["文档链接的图形可视化。"],
"zBUqvf": ["设置 OpenKnowledge 集成…"],
"zD1Nqf": [["count", "plural", { "other": ["#", " 个文档"] }]],
+ "zHsZcU": ["输入你的隧道所服务的公开来源,例如 https://notes.example.com"],
"zJL34S": ["新建终端窗口"],
"zKxoPm": ["无法重命名 \"", ["0"], "\":", ["1"]],
"zL0LPh": ["文本字段之外的全局范围"],
diff --git a/packages/app/src/locales/zh-Hans/messages.po b/packages/app/src/locales/zh-Hans/messages.po
index aa6d652f7..b33eba02b 100644
--- a/packages/app/src/locales/zh-Hans/messages.po
+++ b/packages/app/src/locales/zh-Hans/messages.po
@@ -1524,6 +1524,10 @@ msgstr "所有差异块均已解决"
msgid "All tags"
msgstr "所有标签"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Allow external access"
+msgstr "允许外部访问"
+
#: src/components/settings/frontmatter-schema-field-editor.tsx
msgid "Allowed element values (empty = any)"
msgstr "允许的元素值(留空 = 任意)"
@@ -1663,14 +1667,26 @@ msgstr "适用于(glob 模式;以 ! 开头表示排除;留空表示所有
msgid "Applies to all projects on this machine. Claude and Codex, started from the built-in terminal, 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. Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
msgstr "适用于这台电脑上的所有项目。从内置终端启动的 Claude 和 Codex 会自动批准 OpenKnowledge 的读写工具(Claude 还会自动运行 “ok open”)。删除、移动、共享、导入或安装技能,以及其他命令和 OpenKnowledge 之外的文件编辑,仍然会询问。Cursor、OpenCode 和 Pi 不受影响。各智能体尽力而为。"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Apply and restart project server"
+msgstr "应用并重启项目服务器"
+
#: src/editor/bubble-menu/LinkEditPopover.tsx
msgid "Apply link"
msgstr "应用链接"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying restarts this project's server."
+msgstr "应用此设置会重启此项目的服务器。"
+
#: src/components/settings/SearchSection.tsx
msgid "Applying your change"
msgstr "正在应用你的更改"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying…"
+msgstr "正在应用…"
+
#: src/components/acp/ThreadView.tsx
msgid "Approved"
msgstr "已批准"
@@ -1878,9 +1894,14 @@ msgstr "已开启“{name}”的自动更新"
#. Section label for the automatic, one-click install path
#: src/components/InstallInClaudeDesktopDialog.tsx
+#: src/components/settings/NetworkAccessSection.tsx
msgid "Automatic"
msgstr "自动"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
+msgstr "自动模式会在每次启动时选择一个空闲端口。选择固定端口可在重启后保持相同地址。"
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "可用"
@@ -2185,6 +2206,7 @@ msgstr "无法共享此路径。"
#: src/components/SeedDialog.tsx
#: src/components/settings/LinkPreviewsSection.tsx
#: src/components/settings/LintingSection.tsx
+#: src/components/settings/NetworkAccessSection.tsx
#: src/components/settings/SavedThemesTiles.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/ShareBranchSwitchDialog.tsx
@@ -3728,6 +3750,12 @@ msgstr "无法运行测试。请确认 OpenKnowledge 仍在运行。"
msgid "Couldn’t save changes. Try editing a color again."
msgstr "无法保存更改。请再次编辑颜色。"
+#. placeholder {0}: humanFormat(first.error)
+#. placeholder {0}: humanFormat(second.error)
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Couldn't save network settings — {0}"
+msgstr "无法保存网络设置 — {0}"
+
#: src/components/TemplateForm.tsx
msgid "Couldn't save template: {error}"
msgstr "无法保存模板:{error}"
@@ -4937,6 +4965,10 @@ msgstr "请输入文件夹名(例如 brain)。"
msgid "Enter a name for this theme."
msgstr "输入此主题的名称。"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a port between 1 and 65535."
+msgstr "请输入 1 到 65535 之间的端口。"
+
#: src/components/CreateProjectDialog.tsx
msgid "Enter a project name"
msgstr "请输入项目名"
@@ -4961,6 +4993,14 @@ msgstr "输入有效的主题名称。"
msgid "Enter a valid URL (for example https://api.openai.com/v1)."
msgstr "请输入有效的 URL(例如 https://api.openai.com/v1)。"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a valid URL, for example https://notes.example.com"
+msgstr "输入有效的 URL,例如 https://notes.example.com"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"
+msgstr "输入你的隧道所服务的公开来源,例如 https://notes.example.com"
+
#: src/components/McpConsentDialogBody.tsx
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
@@ -5070,6 +5110,22 @@ msgstr "探索"
msgid "Explore skills"
msgstr "探索技能"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose and restart"
+msgstr "公开并重启"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project to the network?"
+msgstr "要将此项目公开到网络吗?"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project's server to a wider network through a tunnel you run (for example Tailscale). A viewer on the tunnel gets the editor and agent endpoint, editing live against this machine's server."
+msgstr "通过你自行运行的隧道(例如 Tailscale)将此项目的服务器公开到更广的网络。隧道上的访问者可获得编辑器和智能体端点,直接对本机的服务器进行实时编辑。"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Exposing pins a fixed port so the tunnel's target stays stable across restarts."
+msgstr "公开时会固定一个端口,使隧道的目标在重启后保持稳定。"
+
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/AgentSplitButton.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -5091,6 +5147,10 @@ msgstr "外部链接预览"
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "开启后,把鼠标悬停在链接上会显示一张卡片,包含站点名称、页面标题和描述。"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "External origin"
+msgstr "外部来源"
+
#: src/editor/extensions/WikiLinkPropPanel.tsx
msgid "External wiki link"
msgstr "外部维基链接"
@@ -5588,6 +5648,10 @@ msgstr "修复 {flatId}"
msgid "Fix all with AI ({count})"
msgstr "用 AI 全部修复({count})"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed"
+msgstr "固定"
+
#: src/lib/project-fix-sweep-store.ts
msgid "Fixed {total, plural, one {# file} other {# files}}."
msgstr "{total, plural, other {已修复 # 个文件}}。"
@@ -5596,6 +5660,10 @@ msgstr "{total, plural, other {已修复 # 个文件}}。"
msgid "Fixed folder in content root"
msgstr "内容根目录中的固定文件夹"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed port number"
+msgstr "固定端口号"
+
#. placeholder {0}: fixing.done
#. placeholder {1}: fixing.total
#: src/components/ProblemsPanel.tsx
@@ -7222,6 +7290,10 @@ msgstr "本地文件"
msgid "Local path"
msgstr "本地路径"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Local server port"
+msgstr "本地服务器端口"
+
#: src/lib/install-onboarding-toast.ts
msgid "Local-only requested but no git repository was created. Switch later via Settings → Config sharing once the project is in a git repo."
msgstr "已请求仅本地,但未创建 git 仓库。等项目位于 git 仓库中后,可在“设置 → 配置共享”中切换。"
@@ -7716,6 +7788,11 @@ msgstr "{path} 中嵌套的 .okignore 有错误"
msgid "Nested fields"
msgstr "嵌套字段"
+#: src/components/settings/NetworkAccessSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "Network access"
+msgstr "网络访问"
+
#: src/components/FileTree.tsx
msgid "Network error - {kind} \"{createdPath}\" still exists on disk"
msgstr "网络错误 - {kind}“{createdPath}”在磁盘上仍然存在"
@@ -7733,6 +7810,10 @@ msgstr "网络错误(`ok start` 在运行吗?)"
msgid "Network error during cleanup"
msgstr "清理过程中出现网络错误"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Network settings not yet loaded — try again in a moment."
+msgstr "网络设置尚未加载 — 请稍后重试。"
+
#: src/components/SyncStatusBadge.tsx
msgid "never"
msgstr "从不"
@@ -9466,6 +9547,10 @@ msgstr "热门"
msgid "Popular on skills.sh"
msgstr "skills.sh 上的热门"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Port {configuredPort} is in use, so the server is running on port {boundPort} instead. A tunnel forwarding to the fixed port won't reach it — free that port and apply again, or choose a different one."
+msgstr "端口 {configuredPort} 已被占用,服务器改为在端口 {boundPort} 上运行。指向固定端口的隧道将无法连接——请释放该端口后重新应用,或选择其他端口。"
+
#: src/components/settings/SettingsDialogBody.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "Preferences"
@@ -10388,6 +10473,10 @@ msgstr "正在重启"
msgid "Restarting closes this project's server. Connected agents (Claude Code, Codex, Cursor) will see their OpenKnowledge MCP connection close unexpectedly — you may need to restart the agent, or toggle its OpenKnowledge MCP server off and on, to reconnect."
msgstr "重启会关闭这个项目的服务器。已连接的智能体(Claude Code、Codex、Cursor)会看到它们的 OpenKnowledge MCP 连接意外断开——你可能需要重启该智能体,或者把它的 OpenKnowledge MCP 服务器关掉再打开,才能重新连接。"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Restarting the server is only available in the desktop app."
+msgstr "仅桌面应用支持重启服务器。"
+
#: src/lib/install-server-drift-listener.ts
msgid "Restarting the server…"
msgstr "正在重启服务器…"
@@ -12481,6 +12570,10 @@ msgstr "服务提供方拒绝了这个请求(HTTP {0})。请检查 API 密
msgid "The provider rejected the request. Check the API key and the model id."
msgstr "服务提供方拒绝了这个请求。请检查 API 密钥和模型 id。"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The public URL your tunnel serves. The server admits requests for this host and advertises it in the URLs it issues."
+msgstr "你的隧道对外提供的公开 URL。服务器会接受针对此主机的请求,并在其签发的 URL 中公布该地址。"
+
#: src/components/ReportBugDialogBody.tsx
msgid "The report service couldn't be reached."
msgstr "无法连接到报告服务。"
@@ -12505,6 +12598,11 @@ msgstr "架构文件不存在或加载失败——添加字段会自动创建它
msgid "the server responded but server.lock has no port yet"
msgstr "服务器有响应,但 server.lock 中还没有端口"
+#. placeholder {0}: origin.trim()
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The server will accept requests for {0} with no built-in authentication. Anyone who can reach your tunnel will have full control of this knowledge base — including sync, GitHub credentials, and local operations. Make sure the tunnel's edge restricts who can connect."
+msgstr "服务器将接受针对 {0} 的请求,且没有内置身份验证。任何能访问你隧道的人都将拥有对此知识库的完全控制权——包括同步、GitHub 凭据和本地操作。请确保在隧道边缘限制谁可以连接。"
+
#: src/components/settings/LintingSection.tsx
msgid "The shapes of title, description, resource, and tags when you use them. None are required; declaring one only pins its type, so tags written as a comma-separated string is flagged."
msgstr "使用 title、description、resource 和 tags 时的形状。不需要;声明一个仅固定其类型,因此标记为以逗号分隔的字符串形式编写的 tags 。"
@@ -12957,6 +13055,10 @@ msgstr "这会把内容发送到你的电脑之外"
msgid "This sends the link's address off your machine"
msgstr "这会把链接地址发送到你的电脑之外"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "This server has no built-in authentication. Anyone who can reach the tunnel gets full control of this knowledge base — restrict access at the tunnel's edge (a Tailscale ACL, a reverse proxy with auth, or a firewall)."
+msgstr "此服务器没有内置身份验证。任何能访问隧道的人都将拥有对此知识库的完全控制权——请在隧道边缘限制访问(Tailscale ACL、带身份验证的反向代理或防火墙)。"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "This setting is per-machine and isn't shared with collaborators."
msgstr "这项设置按电脑生效,不会与协作者共享。"
@@ -13632,6 +13734,10 @@ msgstr "使用入门包"
msgid "Use a token instead"
msgstr "改用令牌"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Use an http:// or https:// origin."
+msgstr "请使用 http:// 或 https:// 来源。"
+
#: src/components/settings/SearchSection.tsx
msgid "Use an https:// URL — http:// is only allowed for localhost."
msgstr "请使用 https:// 的 URL——http:// 只允许用于 localhost。"
diff --git a/packages/app/src/locales/zh-Hant/messages.json b/packages/app/src/locales/zh-Hant/messages.json
index 98b7068e9..50bf9a300 100644
--- a/packages/app/src/locales/zh-Hant/messages.json
+++ b/packages/app/src/locales/zh-Hant/messages.json
@@ -114,6 +114,7 @@
"0yL--g": ["檢視衝突"],
"0ySP5u": ["變更會自動儲存到這個主題。"],
"0zAhu6": ["所有文件"],
+ "1-flC9": ["本機伺服器連接埠"],
"10g8I_": ["關閉「只顯示 markdown 檔案」"],
"110eEb": ["Open Knowledge 在包含 Markdown 的每個資料夾中建立並維護名為 index.md 的導覽檔案。"],
"11ukmX": ["重新命名失敗:", ["0"]],
@@ -178,6 +179,7 @@
"2BBAbc": ["清單"],
"2C-6zf": ["未傳送"],
"2CHoQv": ["強制重新載入"],
+ "2D1x3Y": ["套用並重新啟動專案伺服器"],
"2FYpfJ": ["更多"],
"2FnYUD": [
"應用程式與系統資訊、最近的應用程式記錄和專案伺服器記錄:我們重現問題所需的基本材料。"
@@ -343,6 +345,9 @@
"56WWtu": ["無法載入入門套件:", ["error"]],
"56xUL1": ["屬性名稱"],
"57fiu8": ["(唯讀——目前請在原始碼模式中編輯)"],
+ "58ko2F": [
+ "透過你自行運行的通道(例如 Tailscale)將此專案的伺服器公開到更廣的網路。通道上的檢視者可取得編輯器與智慧代理端點,並即時對這台機器的伺服器進行編輯。"
+ ],
"58qIOK": ["為選取內容新增註解"],
"5ALjdr": ["從尋找輸入框在視覺化編輯器的尋找結果之間移動。"],
"5Ajb15": ["公式 <0>c = √(a² + b²)</0> 會以行內形式顯示。"],
@@ -416,6 +421,7 @@
"62bOuM": ["最近一次編輯"],
"636K3K": ["刪除相鄰的標記塊"],
"64sesb": ["標註框用於突顯關鍵資訊。"],
+ "65Ea2s": ["公開會鎖定一個固定連接埠,讓通道的目標在重新啟動後保持穩定。"],
"67Dpmh": ["斜線指令建議"],
"67TEhP": [
"你的使用者層級技能資料夾——在這台電腦的每個專案中都能用。每個技能的安裝選單決定它放在哪裡。"
@@ -540,6 +546,7 @@
"80c4-P": ["程式碼已複製到剪貼簿"],
"81H_23": ["新增屬性"],
"851WA-": ["這可以在「設定 > AI 工具與 CLI」中設定"],
+ "87GMKe": ["要將此專案公開到網路上嗎?"],
"881Uwh": ["刪除選取的表格"],
"89TtiD": ["在專案根目錄中用範本「", ["displayTitle"], "」新增檔案(", ["fileName"], ")"],
"89y7ar": [["sizeText"], " · 已遮蔽機密資訊"],
@@ -561,6 +568,9 @@
"8RtNI0": ["載入文件失敗"],
"8SrrDi": ["新紀錄 · 按空白鍵再玩一次"],
"8TvlHF": ["當機傾印"],
+ "8UmUyc": [
+ "你的通道所提供的公開 URL。伺服器會接受針對此主機的請求,並在其發出的 URL 中公告此位址。"
+ ],
"8Uv5e6": ["代理"],
"8Vq20-": ["切換 worktree"],
"8Wav8y": ["如果你正在編輯的東西收到更新,你可以像處理合併衝突那樣選擇要保留哪個版本。"],
@@ -856,6 +866,11 @@
["shareBranch"],
"</0> 分支上。你有尚未提交的變更,沒辦法在這裡切換——請在 worktree 中開啟它,這樣你的變更就不會被動到。"
],
+ "DTcfyN": [
+ "伺服器將接受針對 ",
+ ["0"],
+ " 的請求,且不含內建驗證。任何能連上你的通道的人都將完全掌控此知識庫 — 包括同步、GitHub 憑證與本機操作。請確保通道的邊緣限制了誰能連線。"
+ ],
"DUWgfT": ["重新用 GitHub Enterprise Server 驗證"],
"DUb7Ax": ["多個檔案使用這個主題名稱"],
"DVh_Tb": ["移到垃圾桶後的清理失敗"],
@@ -869,6 +884,7 @@
"Dd6j2Q": ["檢視註解"],
"DeDYLr": ["無法辨識的維基連結"],
"DgcGrb": [["fileCount", "plural", { "other": ["檔案"] }]],
+ "Dh11sK": ["重新啟動伺服器僅在桌面應用程式中可用。"],
"DhLHEb": ["載入動態失敗"],
"DhT_PK": ["OpenKnowledge 匯入了一個技能"],
"DiFKSL": ["正在統計 markdown 檔案"],
@@ -882,6 +898,9 @@
"DrYM2Z": ["同步已停用"],
"DsDwR-": [["0", "plural", { "other": ["#", " 個錯誤"] }]],
"DskIkK": ["登入流程還沒確認就結束了——請再試一次"],
+ "DuCPiG": [
+ "自動模式會在每次啟動時挑選一個空閒的連接埠。選擇固定連接埠可在重新啟動後維持相同位址。"
+ ],
"Dub54T": [
"預覽用的瀏覽器無法自動複製。請對上面的 URL 按 Cmd/Ctrl+C,或在桌面應用程式中開啟 OK。"
],
@@ -915,6 +934,7 @@
"ENpRJV": ["外部連結預覽"],
"EO4Dt1": ["啟用 ", ["file"]],
"EOjU5V": ["行內公式屬性"],
+ "EP8mZC": ["公開並重新啟動"],
"EPGePE": ["已用「", ["0"], "」這個名稱上傳——名稱「", ["1"], "」已被占用。"],
"EPKVES": ["要用「", ["skillName"], "」覆蓋你的編輯來更新嗎?"],
"EPwuTC": ["已使用 ", ["usedLabel"], " / ", ["sizeLabel"], " 個 token"],
@@ -1231,6 +1251,7 @@
"JddocZ": ["切換標題欄"],
"Jejur6": ["無法載入文件"],
"JfPuv7": [["shareBranch"], " 不是有效的分支名稱。"],
+ "JgaVnN": ["允許外部存取"],
"Jhj_lh": ["修改連結目標、錨點和顯示標籤。"],
"JhqycE": ["沒有最近的檔案"],
"JkCD2u": ["同步已暫停——你沒有推送到這個儲存庫的權限"],
@@ -1284,6 +1305,7 @@
"KZLdgR": ["最新的規格見 <0>#design-docs</0>。"],
"K_vT1F": ["上游同步"],
"KaFCD3": ["在新分頁中開啟這個連結並摺疊關係圖。"],
+ "Kbz9RK": ["固定連接埠號碼"],
"KeXgA-": ["找不到該段落 — 它所在的文字可能已變更。"],
"Kf7GG5": ["正在重新啟動伺服器…"],
"Kge76t": ["列選項"],
@@ -1666,6 +1688,7 @@
"PrVaZo": ["要解除安裝 OpenKnowledge 嗎?"],
"PrWQiT": ["將 Terminal 移到右側"],
"PrhzDE": ["向上平移"],
+ "Pw5PTU": ["外部來源"],
"Q-DKvr": ["從 ", ["source"], " 安裝"],
"Q1mtyd": ["隱藏側邊欄"],
"Q5fqMz": ["連線出錯——請再試一次"],
@@ -1796,6 +1819,13 @@
"S48xcO": ["待處理"],
"S6eHlw": ["請先開啟一個專案。"],
"S6l5dv": ["無法開始建立新項目"],
+ "S79zoi": [
+ "連接埠 ",
+ ["configuredPort"],
+ " 已被占用,伺服器改為在連接埠 ",
+ ["boundPort"],
+ " 上執行。指向固定連接埠的通道將無法連線——請釋放該連接埠後重新套用,或選擇其他連接埠。"
+ ],
"S9Vnum": ["移除 ", ["patternText"]],
"S9t1PI": ["正在修正 ", ["0"], "/", ["1"]],
"SCoBBH": ["標籤建議"],
@@ -1852,6 +1882,7 @@
"TKQ7K-": ["安裝"],
"TLIO3j": ["切換斜體格式。"],
"TMLAx2": ["必填"],
+ "TNKAIS": ["套用會重新啟動此專案的伺服器。"],
"TQJCR6": [["0", "plural", { "other": ["#", " 筆結果"] }]],
"TTDXD8": ["新增 worktree…"],
"TUzThQ": ["分享技能"],
@@ -1869,6 +1900,7 @@
"Tjc1pH": ["章節 <0>(選填的標題錨點)</0>"],
"Tn5sik": ["告訴代理什麼時候該用這個技能。之後還可以再改。"],
"Tofsyo": ["將 Terminal 移到底部"],
+ "TpqW74": ["固定"],
"Tq3pcs": ["保留我的"],
"Tq9kNX": ["沒有開啟的對話。重新開啟先前的對話,或使用 + 按鈕開始新對話。"],
"TsZmgr": ["磁碟上的檔案,以及代理使用的 id。"],
@@ -2536,6 +2568,7 @@
"cuA8QW": ["整理規格"],
"cuHhjo": ["建立並編輯"],
"d-GtJt": ["在 Markdown 原始碼中檢視"],
+ "d02jS3": ["網路存取"],
"d1JjXo": [
"你本機的 <0>",
["branch"],
@@ -3679,6 +3712,7 @@
"u5Utjn": [["0"], " 需要 ", ["1"]],
"u5hSeG": ["分享意見回饋"],
"u6Hp4N": ["Markdown"],
+ "u779EG": ["請使用 http:// 或 https:// 來源。"],
"u7H-Wn": ["顯示面板(", ["panelShortcutLabel"], ")"],
"u7U_Ij": ["為選取的文字加上連結,或編輯游標處的連結。"],
"uA_jXp": ["切換並更新分支"],
@@ -3687,6 +3721,7 @@
"uDlyqd": [
"記錄這個儲存庫的架構:建立一頁總覽,連到每個主要模組的頁面,說明各自的職責和進入點。"
],
+ "uDzLV-": ["輸入有效的 URL,例如 https://notes.example.com"],
"uF82hk": ["醞釀中…"],
"uF9ruK": ["正在儲存"],
"uFQbYd": ["首頁兼進入點。"],
@@ -3725,6 +3760,9 @@
"um-es7": ["讓編輯器帶上"],
"un-K1H": ["留在這台電腦上。不會提交到 git。"],
"un8kBM": ["正在建立頁面:", ["linkTitle"], "。"],
+ "unmCLE": [
+ "此伺服器不含內建驗證。任何能連上通道的人都將完全掌控此知識庫 — 請在通道的邊緣限制存取(Tailscale ACL、具驗證的反向代理,或防火牆)。"
+ ],
"uoJF_D": ["設定或上手太麻煩了"],
"ur2XSb": ["視覺化編輯器"],
"uuoHOU": ["指令執行失敗。"],
@@ -3819,6 +3857,7 @@
"wTcjov": ["沒有工作區"],
"wU8WyK": ["元素欄位"],
"wVa83H": ["無法建立回報"],
+ "wWtVYd": ["請輸入介於 1 到 65535 之間的連接埠。"],
"wXO4Tg": [["hrs"], " 小時前"],
"wXw19Y": ["已把「", ["projectName"], "」從最近的專案中移除。它的資料夾已經不存在了。"],
"wZPUJx": ["「", ["0"], "」"],
@@ -3828,6 +3867,7 @@
"wbv9xO": ["建立新專案"],
"wc54KE": ["試用中…"],
"wcfO9r": ["還沒有錯誤回報。"],
+ "wdRxTD": ["套用中…"],
"wdxz7K": ["原始碼"],
"wdzBgi": ["設定分享現在是「僅自己」。"],
"weP6me": ["無法載入文件——再輸入一次 @ 重試"],
@@ -3872,6 +3912,7 @@
"xV5sXw": [["0"], " 週前"],
"xWEvuo": ["問 AI"],
"xWomUD": ["使用 ", ["editor"], " 的版本"],
+ "xXn6KB": ["無法儲存網路設定 — ", ["0"]],
"xXo8FT": ["儲存失敗:", ["error"]],
"xYMPyY": [
"貼上不完整——",
@@ -3961,6 +4002,7 @@
"ylXj1N": ["已選取"],
"ymWJLd": ["再顯示 ", ["0"], " 個"],
"ynIa4S": ["視覺化編輯器清單項目"],
+ "yopUSw": ["網路設定尚未載入 — 請稍後再試。"],
"ypw6My": ["正在顯示最相關的 ", ["0"], " 個標題——繼續輸入可以縮小範圍"],
"ysxgu8": ["專案"],
"yutJKi": ["帶核取方塊的清單。"],
@@ -3991,6 +4033,7 @@
"zAsDLY": ["文件連結的圖形檢視。"],
"zBUqvf": ["設定 OpenKnowledge 整合…"],
"zD1Nqf": [["count", "plural", { "other": ["#", " 個文件"] }]],
+ "zHsZcU": ["輸入你的通道所提供服務的公開來源,例如 https://notes.example.com"],
"zJL34S": ["新增終端機視窗"],
"zKxoPm": ["無法重新命名「", ["0"], "」:", ["1"]],
"zL0LPh": ["文字欄位之外的全域範圍"],
diff --git a/packages/app/src/locales/zh-Hant/messages.po b/packages/app/src/locales/zh-Hant/messages.po
index 1c4ce544f..66008a3a1 100644
--- a/packages/app/src/locales/zh-Hant/messages.po
+++ b/packages/app/src/locales/zh-Hant/messages.po
@@ -1524,6 +1524,10 @@ msgstr "所有差異區塊都已解決"
msgid "All tags"
msgstr "所有標籤"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Allow external access"
+msgstr "允許外部存取"
+
#: src/components/settings/frontmatter-schema-field-editor.tsx
msgid "Allowed element values (empty = any)"
msgstr "允許的元素值(留空 = 任意)"
@@ -1663,14 +1667,26 @@ msgstr "適用於(glob 模式;開頭的 ! 表示排除;留空表示所有
msgid "Applies to all projects on this machine. Claude and Codex, started from the built-in terminal, 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. Cursor, OpenCode, and Pi are unaffected. Best-effort per agent."
msgstr "適用於這台電腦上的所有專案。從內建終端機啟動的 Claude 和 Codex 會自動核准 OpenKnowledge 的讀取與寫入工具(Claude 還會自動執行「ok open」)。刪除、移動、分享、匯入或安裝技能,以及其他指令和 OpenKnowledge 之外的檔案編輯,仍然會詢問。Cursor、OpenCode 和 Pi 不受影響。各代理盡力而為。"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Apply and restart project server"
+msgstr "套用並重新啟動專案伺服器"
+
#: src/editor/bubble-menu/LinkEditPopover.tsx
msgid "Apply link"
msgstr "套用連結"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying restarts this project's server."
+msgstr "套用會重新啟動此專案的伺服器。"
+
#: src/components/settings/SearchSection.tsx
msgid "Applying your change"
msgstr "正在套用你的變更"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Applying…"
+msgstr "套用中…"
+
#: src/components/acp/ThreadView.tsx
msgid "Approved"
msgstr "已核准"
@@ -1878,9 +1894,14 @@ msgstr "已開啟「{name}」的自動更新"
#. Section label for the automatic, one-click install path
#: src/components/InstallInClaudeDesktopDialog.tsx
+#: src/components/settings/NetworkAccessSection.tsx
msgid "Automatic"
msgstr "自動"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Automatic picks a free port each start. Choose a fixed port to keep the same address across restarts."
+msgstr "自動模式會在每次啟動時挑選一個空閒的連接埠。選擇固定連接埠可在重新啟動後維持相同位址。"
+
#: src/components/PublishToGitHubDialog.tsx
msgid "Available"
msgstr "可用"
@@ -2185,6 +2206,7 @@ msgstr "無法分享這個路徑。"
#: src/components/SeedDialog.tsx
#: src/components/settings/LinkPreviewsSection.tsx
#: src/components/settings/LintingSection.tsx
+#: src/components/settings/NetworkAccessSection.tsx
#: src/components/settings/SavedThemesTiles.tsx
#: src/components/settings/SearchSection.tsx
#: src/components/ShareBranchSwitchDialog.tsx
@@ -3728,6 +3750,12 @@ msgstr "無法執行測試。請確認 OpenKnowledge 仍在執行。"
msgid "Couldn’t save changes. Try editing a color again."
msgstr "無法儲存變更。請再編輯一次色彩。"
+#. placeholder {0}: humanFormat(first.error)
+#. placeholder {0}: humanFormat(second.error)
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Couldn't save network settings — {0}"
+msgstr "無法儲存網路設定 — {0}"
+
#: src/components/TemplateForm.tsx
msgid "Couldn't save template: {error}"
msgstr "無法儲存範本:{error}"
@@ -4937,6 +4965,10 @@ msgstr "請輸入資料夾名稱(例如 brain)。"
msgid "Enter a name for this theme."
msgstr "輸入這個主題的名稱。"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a port between 1 and 65535."
+msgstr "請輸入介於 1 到 65535 之間的連接埠。"
+
#: src/components/CreateProjectDialog.tsx
msgid "Enter a project name"
msgstr "請輸入專案名稱"
@@ -4961,6 +4993,14 @@ msgstr "輸入有效的主題名稱。"
msgid "Enter a valid URL (for example https://api.openai.com/v1)."
msgstr "請輸入有效的 URL(例如 https://api.openai.com/v1)。"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter a valid URL, for example https://notes.example.com"
+msgstr "輸入有效的 URL,例如 https://notes.example.com"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"
+msgstr "輸入你的通道所提供服務的公開來源,例如 https://notes.example.com"
+
#: src/components/McpConsentDialogBody.tsx
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
@@ -5070,6 +5110,22 @@ msgstr "探索"
msgid "Explore skills"
msgstr "探索技能"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose and restart"
+msgstr "公開並重新啟動"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project to the network?"
+msgstr "要將此專案公開到網路上嗎?"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Expose this project's server to a wider network through a tunnel you run (for example Tailscale). A viewer on the tunnel gets the editor and agent endpoint, editing live against this machine's server."
+msgstr "透過你自行運行的通道(例如 Tailscale)將此專案的伺服器公開到更廣的網路。通道上的檢視者可取得編輯器與智慧代理端點,並即時對這台機器的伺服器進行編輯。"
+
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Exposing pins a fixed port so the tunnel's target stays stable across restarts."
+msgstr "公開會鎖定一個固定連接埠,讓通道的目標在重新啟動後保持穩定。"
+
#: src/components/empty-state/CreatePromptComposer.tsx
#: src/components/handoff/AgentSplitButton.tsx
#: src/components/handoff/OpenInAgentContextSubmenu.tsx
@@ -5091,6 +5147,10 @@ msgstr "外部連結預覽"
msgid "External link previews show a card with the site name, page title, and description when you hover a link."
msgstr "開啟外部連結預覽後,把游標停在連結上會顯示一張卡片,包含網站名稱、頁面標題和描述。"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "External origin"
+msgstr "外部來源"
+
#: src/editor/extensions/WikiLinkPropPanel.tsx
msgid "External wiki link"
msgstr "外部維基連結"
@@ -5588,6 +5648,10 @@ msgstr "修正 {flatId}"
msgid "Fix all with AI ({count})"
msgstr "用 AI 全部修正({count})"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed"
+msgstr "固定"
+
#: src/lib/project-fix-sweep-store.ts
msgid "Fixed {total, plural, one {# file} other {# files}}."
msgstr "{total, plural, other {已修復 # 個檔案}}。"
@@ -5596,6 +5660,10 @@ msgstr "{total, plural, other {已修復 # 個檔案}}。"
msgid "Fixed folder in content root"
msgstr "內容根目錄中的固定資料夾"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Fixed port number"
+msgstr "固定連接埠號碼"
+
#. placeholder {0}: fixing.done
#. placeholder {1}: fixing.total
#: src/components/ProblemsPanel.tsx
@@ -7222,6 +7290,10 @@ msgstr "本機檔案"
msgid "Local path"
msgstr "本機路徑"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Local server port"
+msgstr "本機伺服器連接埠"
+
#: src/lib/install-onboarding-toast.ts
msgid "Local-only requested but no git repository was created. Switch later via Settings → Config sharing once the project is in a git repo."
msgstr "已要求僅限本機,但未建立 git 儲存庫。等專案位於 git 儲存庫後,可在「設定 → 設定分享」中切換。"
@@ -7716,6 +7788,11 @@ msgstr "{path} 中巢狀的 .okignore 有錯誤"
msgid "Nested fields"
msgstr "巢狀欄位"
+#: src/components/settings/NetworkAccessSection.tsx
+#: src/components/settings/SettingsDialogShell.tsx
+msgid "Network access"
+msgstr "網路存取"
+
#: src/components/FileTree.tsx
msgid "Network error - {kind} \"{createdPath}\" still exists on disk"
msgstr "網路錯誤 - {kind}「{createdPath}」在磁碟上仍然存在"
@@ -7733,6 +7810,10 @@ msgstr "網路錯誤(`ok start` 有在執行嗎?)"
msgid "Network error during cleanup"
msgstr "清理過程中發生網路錯誤"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Network settings not yet loaded — try again in a moment."
+msgstr "網路設定尚未載入 — 請稍後再試。"
+
#: src/components/SyncStatusBadge.tsx
msgid "never"
msgstr "從不"
@@ -9466,6 +9547,10 @@ msgstr "熱門"
msgid "Popular on skills.sh"
msgstr "skills.sh 上的熱門項目"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Port {configuredPort} is in use, so the server is running on port {boundPort} instead. A tunnel forwarding to the fixed port won't reach it — free that port and apply again, or choose a different one."
+msgstr "連接埠 {configuredPort} 已被占用,伺服器改為在連接埠 {boundPort} 上執行。指向固定連接埠的通道將無法連線——請釋放該連接埠後重新套用,或選擇其他連接埠。"
+
#: src/components/settings/SettingsDialogBody.tsx
#: src/components/settings/SettingsDialogShell.tsx
msgid "Preferences"
@@ -10388,6 +10473,10 @@ msgstr "正在重新啟動"
msgid "Restarting closes this project's server. Connected agents (Claude Code, Codex, Cursor) will see their OpenKnowledge MCP connection close unexpectedly — you may need to restart the agent, or toggle its OpenKnowledge MCP server off and on, to reconnect."
msgstr "重新啟動會關掉這個專案的伺服器。已連線的代理(Claude Code、Codex、Cursor)會看到它們的 OpenKnowledge MCP 連線非預期地中斷——你可能得重新啟動該代理,或者把它的 OpenKnowledge MCP 伺服器關掉再打開,才能重新連上。"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Restarting the server is only available in the desktop app."
+msgstr "重新啟動伺服器僅在桌面應用程式中可用。"
+
#: src/lib/install-server-drift-listener.ts
msgid "Restarting the server…"
msgstr "正在重新啟動伺服器…"
@@ -12481,6 +12570,10 @@ msgstr "供應商拒絕了這個要求(HTTP {0})。請檢查 API 金鑰和
msgid "The provider rejected the request. Check the API key and the model id."
msgstr "供應商拒絕了這個要求。請檢查 API 金鑰和模型 id。"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The public URL your tunnel serves. The server admits requests for this host and advertises it in the URLs it issues."
+msgstr "你的通道所提供的公開 URL。伺服器會接受針對此主機的請求,並在其發出的 URL 中公告此位址。"
+
#: src/components/ReportBugDialogBody.tsx
msgid "The report service couldn't be reached."
msgstr "連不上回報服務。"
@@ -12505,6 +12598,11 @@ msgstr "結構描述檔案不存在或載入失敗——新增欄位就會建立
msgid "the server responded but server.lock has no port yet"
msgstr "伺服器有回應,但 server.lock 裡還沒有連接埠"
+#. placeholder {0}: origin.trim()
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "The server will accept requests for {0} with no built-in authentication. Anyone who can reach your tunnel will have full control of this knowledge base — including sync, GitHub credentials, and local operations. Make sure the tunnel's edge restricts who can connect."
+msgstr "伺服器將接受針對 {0} 的請求,且不含內建驗證。任何能連上你的通道的人都將完全掌控此知識庫 — 包括同步、GitHub 憑證與本機操作。請確保通道的邊緣限制了誰能連線。"
+
#: src/components/settings/LintingSection.tsx
msgid "The shapes of title, description, resource, and tags when you use them. None are required; declaring one only pins its type, so tags written as a comma-separated string is flagged."
msgstr "使用 title、description、resource 和 tags 時的形狀。不需要;聲明一個僅固定其類型,因此標記為以逗號分隔的字串形式編寫的 tags 。"
@@ -12957,6 +13055,10 @@ msgstr "這會把內容送出你的電腦"
msgid "This sends the link's address off your machine"
msgstr "這會把連結的網址送出你的電腦"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "This server has no built-in authentication. Anyone who can reach the tunnel gets full control of this knowledge base — restrict access at the tunnel's edge (a Tailscale ACL, a reverse proxy with auth, or a firewall)."
+msgstr "此伺服器不含內建驗證。任何能連上通道的人都將完全掌控此知識庫 — 請在通道的邊緣限制存取(Tailscale ACL、具驗證的反向代理,或防火牆)。"
+
#: src/components/settings/LinkPreviewsSection.tsx
msgid "This setting is per-machine and isn't shared with collaborators."
msgstr "這項設定按每台電腦生效,不會分享給協作者。"
@@ -13632,6 +13734,10 @@ msgstr "用入門套件"
msgid "Use a token instead"
msgstr "改用權杖"
+#: src/components/settings/NetworkAccessSection.tsx
+msgid "Use an http:// or https:// origin."
+msgstr "請使用 http:// 或 https:// 來源。"
+
#: src/components/settings/SearchSection.tsx
msgid "Use an https:// URL — http:// is only allowed for localhost."
msgstr "請使用 https:// 的 URL——http:// 只允許用在 localhost。"
diff --git a/packages/cli/tests/e2e/cli-linux-e2e.ts b/packages/cli/tests/e2e/cli-linux-e2e.ts
index 3bae90b6d..d76d82c6f 100644
--- a/packages/cli/tests/e2e/cli-linux-e2e.ts
+++ b/packages/cli/tests/e2e/cli-linux-e2e.ts
@@ -218,7 +218,11 @@ describe(`CLI Linux e2e (${SUT_MODE} SUT)`, () => {
serverLog += d;
});
- const lockReady = await waitFor(() => readLockPort() !== null, { timeoutMs: 45_000 });
+ // Wait for the REAL bound port, not merely a present lock: server.lock is
+ // written with port 0 ("starting — not yet bound") before the listener
+ // binds, and readLockPort surfaces that 0, so a `!== null` predicate races
+ // the bind and can read the transient 0 on a slow runner.
+ const lockReady = await waitFor(() => (readLockPort() ?? 0) > 0, { timeoutMs: 45_000 });
// Distinguish "lock absent" from "lock present but unreadable" (a partial
// write or corrupt JSON also makes readLockPort return null) so a timeout
// points triage at the right cause instead of always saying "never appeared".
diff --git a/packages/desktop/src/utility/server-entry.test.ts b/packages/desktop/src/utility/server-entry.test.ts
new file mode 100644
index 000000000..54fe3e89e
--- /dev/null
+++ b/packages/desktop/src/utility/server-entry.test.ts
@@ -0,0 +1,255 @@
+import { mkdirSync, rmSync, writeFileSync } from 'node:fs';
+import { tmpdir } from 'node:os';
+import { resolve } from 'node:path';
+import type { ServerRuntimeConfig } from '@inkeep/open-knowledge-core';
+import type { BootedServer, BootServerOptions } from '@inkeep/open-knowledge-server';
+import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
+import type { SetupUtilityDeps } from './server-entry.ts';
+
+// Stub node:os.homedir() before importing the utility (which transitively pulls
+// in the CLI's layered `loadConfig`) so the user-global layer
+// (`<home>/.ok/global.yml`) reads from a throwaway dir, never the developer's
+// real `~/.ok/global.yml`. The mock must be in place before the first import of
+// the module graph, hence the `await vi.doMock` + `await import` shape.
+let fakeHome = resolve(tmpdir(), '__ok_desktop_home_default__');
+await vi.doMock('node:os', async () => {
+ const actual = await vi.importActual<typeof import('node:os')>('node:os');
+ return { ...actual, homedir: () => fakeHome };
+});
+
+const { resolveDesktopServerRuntime, setupUtility } = await import('./server-entry');
+
+let testDir: string;
+
+beforeEach(() => {
+ testDir = resolve(
+ tmpdir(),
+ `ok-desktop-entry-${Date.now()}-${Math.random().toString(36).slice(2)}`,
+ );
+ mkdirSync(testDir, { recursive: true });
+ fakeHome = resolve(testDir, '__home__');
+});
+
+afterEach(() => {
+ rmSync(testDir, { recursive: true, force: true });
+});
+
+function writeProjectConfig(yaml: string) {
+ const dir = resolve(testDir, '.ok');
+ mkdirSync(dir, { recursive: true });
+ writeFileSync(resolve(dir, 'config.yml'), yaml, 'utf-8');
+}
+
+function writeLocalConfig(yaml: string) {
+ const dir = resolve(testDir, '.ok', 'local');
+ mkdirSync(dir, { recursive: true });
+ writeFileSync(resolve(dir, 'config.yml'), yaml, 'utf-8');
+}
+
+describe('resolveDesktopServerRuntime — scope-correct three-layer load', () => {
+ test('honors a project-local server.allowExternal (the desktop consent path)', () => {
+ writeLocalConfig('server:\n allowExternal: true\n');
+ const { serverRuntime, configValid } = resolveDesktopServerRuntime(testDir);
+ expect(configValid).toBe(true);
+ expect(serverRuntime.allowExternal).toBe(true);
+ });
+
+ test('a committed server.allowExternal stays inert (clone-leak guard)', () => {
+ // A value that traveled via clone in the committed project file must never
+ // arm exposure — only the project-local layer owns this leaf.
+ writeProjectConfig('server:\n allowExternal: true\n');
+ const { serverRuntime } = resolveDesktopServerRuntime(testDir);
+ expect(serverRuntime.allowExternal).toBe(false);
+ });
+
+ test('project-local wins over a committed allowExternal in either direction', () => {
+ writeProjectConfig('server:\n allowExternal: true\n');
+ writeLocalConfig('server:\n allowExternal: false\n');
+ // Committed `true` is skipped for the project-local leaf; local `false` wins.
+ expect(resolveDesktopServerRuntime(testDir).serverRuntime.allowExternal).toBe(false);
+
+ rmSync(resolve(testDir, '.ok'), { recursive: true, force: true });
+ writeProjectConfig('server:\n allowExternal: false\n');
+ writeLocalConfig('server:\n allowExternal: true\n');
+ expect(resolveDesktopServerRuntime(testDir).serverRuntime.allowExternal).toBe(true);
+ });
+
+ test('surfaces committed server.externalUrl + server.port (project scope, honest boot)', () => {
+ writeProjectConfig('server:\n externalUrl: https://box.tailnet.ts.net\n port: 24550\n');
+ const { serverRuntime } = resolveDesktopServerRuntime(testDir);
+ expect(serverRuntime.externalUrl).toBe('https://box.tailnet.ts.net');
+ expect(serverRuntime.externalUrlSource).toBe('server');
+ expect(serverRuntime.port).toBe(24550);
+ });
+
+ test('a project-local consent + committed externalUrl together admit the tunnel', () => {
+ // The two writes the Network Access pane makes: consent lands project-local,
+ // the origin lands project scope. Both must survive the merge.
+ writeProjectConfig('server:\n externalUrl: https://box.tailnet.ts.net\n port: 24550\n');
+ writeLocalConfig('server:\n allowExternal: true\n');
+ const { serverRuntime } = resolveDesktopServerRuntime(testDir);
+ expect(serverRuntime.allowExternal).toBe(true);
+ expect(serverRuntime.externalUrl).toBe('https://box.tailnet.ts.net');
+ });
+
+ test('degrades to schema defaults (consent forced off) on a schema-invalid config', () => {
+ // A non-coercible port is a hard schema violation, so loadConfig throws;
+ // desktop degrades rather than crashing the boot, and the fallback config
+ // is loopback-only with consent off (fail-closed).
+ writeProjectConfig('server:\n port: "abc"\n');
+ const { config, configValid, serverRuntime } = resolveDesktopServerRuntime(testDir);
+ expect(configValid).toBe(false);
+ expect(serverRuntime.allowExternal).toBe(false);
+ expect(serverRuntime.loopbackOnly).toBe(true);
+ // Still a usable Config, not a throw.
+ expect(config.server?.allowExternal ?? false).toBe(false);
+ });
+
+ test('no config files at all resolves to loopback-only defaults', () => {
+ const { serverRuntime, configValid } = resolveDesktopServerRuntime(testDir);
+ expect(configValid).toBe(true);
+ expect(serverRuntime.allowExternal).toBe(false);
+ expect(serverRuntime.loopbackOnly).toBe(true);
+ });
+});
+
+function makeServerRuntime(port: number | undefined): ServerRuntimeConfig {
+ return {
+ port,
+ bind: ['127.0.0.1'],
+ externalUrl: undefined,
+ externalUrlSource: undefined,
+ externalUrlFromDeprecatedKey: false,
+ allowExternal: false,
+ openBrowser: false,
+ idleShutdown: '30m',
+ loopbackOnly: true,
+ };
+}
+
+function addrInUse(): Error {
+ return Object.assign(new Error('listen EADDRINUSE: address already in use'), {
+ code: 'EADDRINUSE',
+ });
+}
+
+interface DriveResult {
+ posted: Array<Record<string, unknown>>;
+ bootPorts: Array<number | undefined>;
+ ready?: { type: string; port: number; apiOrigin: string };
+ readyErr?: Error;
+}
+
+/**
+ * Drive `setupUtility` through a single `init` message with a fake `bootServer`
+ * whose behavior is keyed on the requested port, so the port-pinning fallback
+ * can be asserted without a real listener.
+ */
+async function driveInit(opts: {
+ requestedPort: number | undefined;
+ ipcPort?: number;
+ boot: (port: number | undefined) => Promise<{ port: number }>;
+}): Promise<DriveResult> {
+ const posted: Array<Record<string, unknown>> = [];
+ const bootPorts: Array<number | undefined> = [];
+ let messageHandler: ((e: { data: unknown }) => void) | undefined;
+
+ const fakeBootServer = async (o: BootServerOptions): Promise<BootedServer> => {
+ bootPorts.push(o.port);
+ const res = await opts.boot(o.port);
+ return { port: res.port, degraded: [], destroy: async () => {} } as unknown as BootedServer;
+ };
+
+ const deps: SetupUtilityDeps = {
+ parentPort: {
+ on: (_event, handler) => {
+ messageHandler = handler;
+ },
+ postMessage: (value) => {
+ posted.push(value as unknown as Record<string, unknown>);
+ },
+ },
+ importServer: async () =>
+ ({ bootServer: fakeBootServer }) as unknown as typeof import('@inkeep/open-knowledge-server'),
+ exit: () => {},
+ parentPid: process.pid,
+ killProbe: () => {},
+ onSignal: () => {},
+ setInterval: () => ({ clear: () => {}, unref: () => {} }),
+ prepareBootEnvironment: async () =>
+ ({
+ config: {} as never,
+ contentDir: '/tmp/ok-drive',
+ contentRoot: undefined,
+ configValid: true,
+ serverRuntime: makeServerRuntime(opts.requestedPort),
+ }) as never,
+ env: {},
+ };
+
+ const handle = setupUtility(deps);
+ messageHandler?.({
+ data: {
+ type: 'init',
+ opts: { projectDir: '/tmp/ok-drive', contentDir: '/tmp/ok-drive', port: opts.ipcPort ?? 0 },
+ },
+ });
+ try {
+ const ready = await handle.readyPromise;
+ return { posted, bootPorts, ready };
+ } catch (err) {
+ return { posted, bootPorts, readyErr: err as Error };
+ }
+}
+
+describe('port pinning + EADDRINUSE fallback', () => {
+ test('boots on the pinned server.port when it is free', async () => {
+ const { bootPorts, ready, posted } = await driveInit({
+ requestedPort: 24550,
+ boot: (port) => Promise.resolve({ port: port ?? 0 }),
+ });
+ expect(bootPorts).toEqual([24550]);
+ expect(ready?.port).toBe(24550);
+ // No fallback → no degraded hint.
+ const degraded = posted.find((m) => m.type === 'degraded');
+ expect(degraded).toBeUndefined();
+ });
+
+ test('falls back to an ephemeral port when the pinned port is in use', async () => {
+ const { bootPorts, ready, posted } = await driveInit({
+ requestedPort: 24550,
+ boot: (port) =>
+ port === 24550 ? Promise.reject(addrInUse()) : Promise.resolve({ port: 51234 }),
+ });
+ // First attempt pinned, second attempt ephemeral (0).
+ expect(bootPorts).toEqual([24550, 0]);
+ // Ready reports the ACTUAL bound port; the Network access pane compares it
+ // (via the bridge apiOrigin) against the configured server.port to warn that
+ // the tunnel target no longer matches. The fallback posts no degraded
+ // subsystem — it is a recoverable local condition, logged only.
+ expect(ready?.port).toBe(51234);
+ const degraded = posted.find((m) => m.type === 'degraded');
+ expect(degraded).toBeUndefined();
+ });
+
+ test('unpinned local boot uses the ephemeral IPC port and never falls back', async () => {
+ const { bootPorts, ready } = await driveInit({
+ requestedPort: undefined,
+ ipcPort: 0,
+ boot: (port) => Promise.resolve({ port: port === 0 ? 42000 : (port ?? 0) }),
+ });
+ expect(bootPorts).toEqual([0]);
+ expect(ready?.port).toBe(42000);
+ });
+
+ test('a non-EADDRINUSE boot failure propagates (no silent retry)', async () => {
+ const { bootPorts, readyErr, posted } = await driveInit({
+ requestedPort: 24550,
+ boot: () => Promise.reject(new Error('git preflight failed')),
+ });
+ // Only one attempt — the error is not a port conflict.
+ expect(bootPorts).toEqual([24550]);
+ expect(readyErr?.message).toContain('git preflight failed');
+ expect(posted.find((m) => m.type === 'error')).toBeDefined();
+ });
+});
diff --git a/packages/desktop/src/utility/server-entry.ts b/packages/desktop/src/utility/server-entry.ts
index 5d44fe5da..52e820a25 100644
--- a/packages/desktop/src/utility/server-entry.ts
+++ b/packages/desktop/src/utility/server-entry.ts
@@ -24,10 +24,11 @@ import { rename, writeFile } from 'node:fs/promises';
import { isAbsolute, relative, resolve } from 'node:path';
import {
detectGh,
+ loadConfig,
makeLazyProbeTokenStore,
probeOwnManagedEditorMcpEntry,
} from '@inkeep/open-knowledge';
-import { readConfigSafely, resolveConfigPath } from '@inkeep/open-knowledge-core/server';
+import { resolveServerRuntimeConfig, type ServerRuntimeConfig } from '@inkeep/open-knowledge-core';
import {
type BootedServer,
type BootServerOptions,
@@ -189,8 +190,9 @@ export interface SetupUtilityDeps {
/**
* Test seam for the per-init pre-bootServer pipeline: ensure-git → scaffold
* → load config → resolve contentDir. Production runs `ensureProjectGit`,
- * `initContent`, `readConfigSafely`, and `resolveContentDir` against the
- * real filesystem. Tests inject a stub so unit assertions never touch disk.
+ * `initContent`, `resolveDesktopServerRuntime`, and `resolveContentDir`
+ * against the real filesystem. Tests inject a stub so unit assertions never
+ * touch disk.
*/
prepareBootEnvironment?: PrepareBootEnvironment;
}
@@ -206,6 +208,14 @@ export interface PreparedBootEnvironment {
contentDir: string;
contentRoot: string | undefined;
configValid: boolean;
+ /**
+ * The scope-correctly-resolved `server.*` runtime (bind list, externalUrl,
+ * exposure consent), passed to `bootServer` so exposure consent is honored
+ * only from the project-local layer. Without an explicit `serverRuntime`,
+ * `bootServer` forces `allowExternal` off and desktop is loopback-only by
+ * construction.
+ */
+ serverRuntime: ServerRuntimeConfig;
/**
* Defense-in-depth signals appended to `bootServer`'s `degraded` array.
* Today's only producer: `'project-git-shell-only'` when the prelude's
@@ -342,11 +352,20 @@ export function setupUtility(deps: SetupUtilityDeps): UtilityHandle {
// + a search opts in.
const embeddingsKeyStore = makeLazyEmbeddingsKeyStore();
- booted = await server.bootServer({
+ const bootOpts: BootServerOptions = {
...msg.opts,
contentDir: prepared.contentDir,
contentRoot: prepared.contentRoot,
config: prepared.config,
+ // Scope-correct exposure consent + admitted-Host source. Passing an
+ // explicit serverRuntime is what lets a project-local
+ // `server.allowExternal` arm exposure — without it bootServer forces
+ // consent off (loopback-only). `bind` mirrors serverRuntime.bind so the
+ // exposure interlock's effective-bind check and the ingress policy agree
+ // (default loopback for the tunnel case; a committed non-loopback bind
+ // then requires the same consent the CLI path demands).
+ serverRuntime: prepared.serverRuntime,
+ bind: prepared.serverRuntime.bind,
idleShutdownMs: null, // BrowserWindow lifecycle owns utility lifetime
skipAutoInit: true,
autoInitFn: undefined,
@@ -367,7 +386,33 @@ export function setupUtility(deps: SetupUtilityDeps): UtilityHandle {
// the same UI the BrowserWindow shows. Resolved by main from the
// packaged renderer entry path; absent in unusual dev configs.
...(msg.opts.reactShellDistDir ? { reactShellDistDir: msg.opts.reactShellDistDir } : {}),
- });
+ };
+
+ // Port pinning: a tunnel forwards to a fixed target port, so an ephemeral
+ // port would break it on every restart. The scope-resolved `server.port`
+ // (project scope) wins; the IPC opt (main passes ephemeral `0`) is the
+ // fallback for the unpinned local case.
+ //
+ // A pinned port can be held by another process (EADDRINUSE). Don't crash
+ // or hang the boot — fall back to an ephemeral port so local editing still
+ // works. The Network access pane surfaces the mismatch: it compares the
+ // configured `server.port` against the port this window actually bound
+ // (read off the bridge apiOrigin), so the user learns the tunnel target no
+ // longer matches. bootServer releases its locks and tears down before
+ // throwing a listen error, so the ephemeral retry starts from a clean slate.
+ const requestedPort = prepared.serverRuntime.port ?? msg.opts.port;
+ try {
+ booted = await server.bootServer({ ...bootOpts, port: requestedPort });
+ } catch (err) {
+ if (isFixedPort(requestedPort) && isAddressInUse(err)) {
+ console.warn(
+ `[boot] pinned server.port ${requestedPort} is already in use — falling back to an ephemeral port`,
+ );
+ booted = await server.bootServer({ ...bootOpts, port: 0 });
+ } else {
+ throw err;
+ }
+ }
const readyMsg: UtilityReadyMessage = {
type: 'ready',
port: booted.port,
@@ -376,10 +421,10 @@ export function setupUtility(deps: SetupUtilityDeps): UtilityHandle {
deps.parentPort?.postMessage(readyMsg);
resolveReady(readyMsg);
- const mergedDegraded: readonly string[] =
- prepared.degradedHints && prepared.degradedHints.length > 0
- ? [...booted.degraded, ...prepared.degradedHints]
- : booted.degraded;
+ const mergedDegraded: readonly string[] = [
+ ...booted.degraded,
+ ...(prepared.degradedHints ?? []),
+ ];
if (mergedDegraded.length > 0) {
deps.parentPort?.postMessage({
type: 'degraded',
@@ -518,6 +563,67 @@ async function defaultWriteSmokeResult(path: string, contents: string): Promise<
await rename(tmp, path);
}
+/** A pinned (fixed) listener port — a positive integer, not the ephemeral `0`/unset. */
+function isFixedPort(port: number | undefined): port is number {
+ return typeof port === 'number' && port > 0;
+}
+
+/** True for a listen error caused by the port already being bound. */
+function isAddressInUse(err: unknown): boolean {
+ return (
+ typeof err === 'object' && err !== null && (err as { code?: unknown }).code === 'EADDRINUSE'
+ );
+}
+
+/**
+ * Load the project config scope-correctly (user + committed project +
+ * project-local, merged by the shared `loadConfig`) and resolve the effective
+ * `server.*` runtime from it.
+ *
+ * The single, shared `loadConfig` is deliberate: exposure consent
+ * (`server.allowExternal`) is a project-local leaf, so a committed value in a
+ * cloned repo must never arm it. `loadConfig`'s `mergeLayered` skips the
+ * committed layer for project-local leaves — a single implementation the CLI
+ * and desktop both call, so the clone-leak guard can't drift between them.
+ *
+ * `loadConfig` throws only on a schema-invalid merged config; desktop degrades
+ * to defaults there (boot on a repairable-in-place file rather than crash),
+ * which forces `server.allowExternal` off — the fail-closed direction.
+ */
+export function resolveDesktopServerRuntime(projectDir: string): {
+ config: Config;
+ configValid: boolean;
+ serverRuntime: ServerRuntimeConfig;
+} {
+ let config: Config;
+ let configValid: boolean;
+ try {
+ const result = loadConfig(projectDir);
+ config = result.config;
+ configValid = true;
+ // Surface the soft issues the CLI also reports rather than swallowing them:
+ // recoverable diagnostics (unknown/removed keys) and any file the loader
+ // sidelined to boot on defaults. Hard schema failures throw and are handled
+ // in the catch below.
+ for (const diag of result.diagnostics) {
+ const extra =
+ 'detail' in diag ? `: ${diag.detail}` : 'path' in diag ? `: ${diag.path.join('.')}` : '';
+ console.warn(`[config] ${diag.code}${extra}`);
+ }
+ for (const { from, to } of result.sidelined) {
+ console.warn(
+ `[config] ${from} could not be parsed — moved to ${to}; booting on the remaining layers.`,
+ );
+ }
+ } catch (err) {
+ const detail = err instanceof Error ? err.message : String(err);
+ console.warn(`[config] desktop boot config invalid — using schema defaults: ${detail}`);
+ config = ConfigSchema.parse({});
+ configValid = false;
+ }
+ return { config, configValid, serverRuntime: resolveServerRuntimeConfig(config) };
+}
+
/**
* Production prelude: ensure-git → scaffold `.ok/` → load config → resolve
* contentDir. Hits the real filesystem; tests substitute via
@@ -548,24 +654,13 @@ async function defaultPrepareBootEnvironment(
// projects (`writeIfMissing` semantics).
initContent(projectDir);
- // Load project config. `sideline: false` — project errors are user-fixable
- // in-place; on parse/validation failure we fall back to schema defaults
- // rather than renaming the user's file.
- const configResult = readConfigSafely({
- absPath: resolveConfigPath('project', projectDir),
- sideline: false,
- warn: (m: string) => console.warn(m),
- });
- let config: Config;
- let configValid: boolean;
- if (configResult.valid) {
- config = configResult.value;
- configValid = true;
- } else {
- console.warn('[config] desktop boot config invalid — using schema defaults');
- config = ConfigSchema.parse({});
- configValid = false;
- }
+ // Scope-correct three-layer config load (user + project + project-local),
+ // replacing the former project-scope-only read: a project-local
+ // `server.allowExternal: true` is now honored while a committed one stays
+ // inert, and `bootServer` receives an explicit `serverRuntime` so exposure
+ // consent can take effect. On a schema-invalid merged config, fall back to
+ // schema defaults rather than crashing the boot.
+ const { config, configValid, serverRuntime } = resolveDesktopServerRuntime(projectDir);
const contentDir = resolveContentDir(projectDir, config, ipcOpts.contentDir);
const rawContentDir = config.content.dir;
@@ -578,6 +673,7 @@ async function defaultPrepareBootEnvironment(
contentDir,
contentRoot,
configValid,
+ serverRuntime,
degradedHints: degradedHints.length > 0 ? degradedHints : undefined,
};
}
diff --git a/packages/desktop/tests/utility/server-entry.test.ts b/packages/desktop/tests/utility/server-entry.test.ts
index a01c7d09b..64ce0832c 100644
--- a/packages/desktop/tests/utility/server-entry.test.ts
+++ b/packages/desktop/tests/utility/server-entry.test.ts
@@ -3,6 +3,7 @@ import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs';
import { tmpdir } from 'node:os';
import { resolve } from 'node:path';
import { setTimeout as wait } from 'node:timers/promises';
+import { resolveServerRuntimeConfig } from '@inkeep/open-knowledge-core';
import { ConfigSchema } from '@inkeep/open-knowledge-server';
import { beforeEach, describe, expect, test, vi } from 'vitest';
import type { KeyringSmokeResult } from '../../src/utility/keyring-smoke.ts';
@@ -71,11 +72,13 @@ function buildEnv(): MockEnv {
* `.ok/config.yml` exists.
*/
function makeFakePrepared(overrides?: Partial<PreparedBootEnvironment>): PreparedBootEnvironment {
+ const config = overrides?.config ?? ConfigSchema.parse({});
return {
- config: ConfigSchema.parse({}),
+ config,
contentDir: '/fake/content',
contentRoot: undefined,
configValid: true,
+ serverRuntime: resolveServerRuntimeConfig(config),
...overrides,
};
}
@@ -140,6 +143,10 @@ describe('setupUtility (IPC handshake + lifecycle)', () => {
// Loaded config + resolved contentDir from the prelude wins over the IPC opts
expect(callArgs?.contentDir).toBe('/fake/test-project');
expect(callArgs?.config).toBe(prepared.config);
+ // The scope-resolved serverRuntime is threaded so exposure consent takes
+ // effect, and `bind` mirrors it so the interlock + ingress policy agree.
+ expect(callArgs?.serverRuntime).toBe(prepared.serverRuntime);
+ expect(callArgs?.bind).toBe(prepared.serverRuntime.bind);
expect(env.parentPort.postMessage).toHaveBeenCalledWith({
type: 'ready',
@@ -1027,8 +1034,11 @@ describe('handleInit defaultPrepareBootEnvironment (integration)', () => {
});
await handle.readyPromise;
+ // The layered loader degrades an unparseable layer to empty (logging the
+ // parse failure) rather than throwing, so the merged config falls back to
+ // schema defaults for that layer and the boot still proceeds.
const fallbackWarn = warnSpy.mock.calls.find((args) =>
- String(args[0] ?? '').includes('[config] desktop boot config invalid'),
+ String(args[0] ?? '').includes('[config] Failed to parse'),
);
expect(fallbackWarn).toBeDefined();
diff --git a/packages/server/src/boot.ts b/packages/server/src/boot.ts
index ff5b920a5..e1088da7d 100644
--- a/packages/server/src/boot.ts
+++ b/packages/server/src/boot.ts
@@ -555,19 +555,20 @@ async function bootServerInner(opts: BootServerOptions): Promise<BootedServer> {
const skipAutoInit = opts.skipAutoInit ?? false;
const log = opts.log ?? getLogger('boot');
- // The resolved server.* runtime. The CLI passes its fully-layered
- // resolution (flags > env > project-local > project > user). Direct
- // embedders (desktop utility, dev-server plugin, tests) fall back to a
- // files-only resolution — but that Config is NOT scope-resolved: it carries
- // the committed `.ok/config.yml` alone, so a committed `server.allowExternal`
- // would arm consent from a cloned repo (the exact clone-leak the scope-
- // correct load exists to prevent). Config-derived consent is therefore
- // untrusted here: force `allowExternal` off so only a caller that resolved
- // it scope-correctly (the CLI's explicit `serverRuntime`) can consent. A
- // committed non-loopback bind or `externalUrl` then trips the interlock below
- // — the correct refusal, not a silent exposure. Desktop's own consent path
- // (the network pane writes project-local, and this boot reads all three
- // layers) is a follow-up; until then desktop is loopback-only by construction.
+ // The resolved server.* runtime. The CLI passes its fully-layered resolution
+ // (flags > env > project-local > project > user); the desktop utility passes
+ // an equivalent scope-resolved runtime (its `resolveDesktopServerRuntime`
+ // runs the same three-layer `loadConfig`), so desktop's Network access pane
+ // consent (project-local `server.allowExternal`) now takes effect through the
+ // trusted branch. Direct embedders that DON'T pass one (the dev-server
+ // plugin, tests) fall back to a files-only resolution — but that Config is
+ // NOT scope-resolved: it carries the committed `.ok/config.yml` alone, so a
+ // committed `server.allowExternal` would arm consent from a cloned repo (the
+ // exact clone-leak the scope-correct load exists to prevent). Config-derived
+ // consent is therefore untrusted here: force `allowExternal` off so only a
+ // caller that resolved it scope-correctly (the CLI's or desktop's explicit
+ // `serverRuntime`) can consent. A committed non-loopback bind or `externalUrl`
+ // then trips the interlock below — the correct refusal, not a silent exposure.
const serverRuntime = opts.serverRuntime ?? {
...resolveServerRuntimeConfig(opts.config),
allowExternal: false,