Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

Polish the project setup dialogs (#3721)

sarah2bd6227c1129
diff --git a/.changeset/sharing-default-local-only.md b/.changeset/sharing-default-local-only.md
new file mode 100644
index 000000000..46d55399d
--- /dev/null
+++ b/.changeset/sharing-default-local-only.md
@@ -0,0 +1,9 @@
+---
+"@inkeep/open-knowledge": minor
+---
+
+New projects now keep their OpenKnowledge config to yourself by default. Setting up a project asks whether to share that setup with your team, and the answer now starts at **Only me**, so `.ok/`, `.mcp.json`, and the project skills are written but excluded from git until you choose to share them. Previously the answer started at **Shared**, which meant a user who never opened the setting committed their config by omission.
+
+This applies to both entry points. `ok init` uses the new default when it is scaffolding a project for the first time; re-running it on a project that already has `.ok/` keeps whatever posture that project is in, so a scripted re-run cannot un-share a team's repo. The desktop app's setup dialogs pre-select the same option, and both still take an explicit answer: `ok init --shared` (or `--local-only`), the prompt in an interactive terminal, or the radio cards in the dialogs.
+
+If you rely on a committed `.mcp.json` — Claude Code's cloud routines do, since they run against a fresh clone and see only what is committed — choose **Shared** during setup, or run `ok config-sharing share` afterwards. `ok config-sharing status` prints the mode a project is in and the paths it excludes.
diff --git a/docs/content/integrations/claude-code.mdx b/docs/content/integrations/claude-code.mdx
index f72b038f9..fc33c9c6b 100644
--- a/docs/content/integrations/claude-code.mdx
+++ b/docs/content/integrations/claude-code.mdx
@@ -38,7 +38,7 @@ When Claude Code writes to a doc, you'll see the change land live in OpenKnowled
Claude Code can work your knowledge base on a schedule (a nightly consolidation pass, a morning meeting sync) without OpenKnowledge shipping a scheduler of its own. Three tiers, as of August 2026. Anthropic's scheduler surfaces are moving quickly, so check the linked docs before you rely on a specific limit:
- **[Desktop scheduled tasks](https://code.claude.com/docs/en/desktop-scheduled-tasks).** Claude Desktop's **Routines** page schedules local runs (choose **Local** when creating one) down to the minute. They see your local files and MCP servers, so an OK project works as-is. Tasks fire only while the app is open and your computer is awake.
-- **[Cloud routines](https://code.claude.com/docs/en/routines) (`/schedule`).** These run on Anthropic's infrastructure against a fresh clone of a GitHub repo and see only what is committed: no local files, no locally-registered MCP servers. Reaching OK from a routine takes both halves, a committed `.mcp.json` declaring `open-knowledge` and a setup script in the routine's environment that installs the CLI. If you ran `ok init --local-only` or unshared later, `.mcp.json` sits in `.git/info/exclude` and never reaches the clone, so this tier needs the default shared posture. Minimum schedule interval is one hour.
+- **[Cloud routines](https://code.claude.com/docs/en/routines) (`/schedule`).** These run on Anthropic's infrastructure against a fresh clone of a GitHub repo and see only what is committed: no local files, no locally-registered MCP servers. Reaching OK from a routine takes both halves, a committed `.mcp.json` declaring `open-knowledge` and a setup script in the routine's environment that installs the CLI. New projects keep OpenKnowledge's config out of git by default, which leaves `.mcp.json` in `.git/info/exclude` where a clone never sees it. Run `ok config-sharing share` in the project to commit it before relying on this tier. Minimum schedule interval is one hour.
- **OS cron + `claude -p`.** A plain cron job running `claude -p "<prompt>"` in the project loads the committed skill, `.mcp.json`, and CLAUDE.md the same way an interactive session does. That depends on `-p` staying non-bare: [`--bare`](https://code.claude.com/docs/en/headless) skips MCP server discovery, and Anthropic has said it will become the default for `-p` in a future release. Pass `--mcp-config .mcp.json` explicitly if you want the job to survive that change.
See [Ingest meetings](../workflows/meeting-ingestion.mdx#automatically-on-a-schedule) for a worked example.
diff --git a/docs/content/reference/what-open-knowledge-writes.mdx b/docs/content/reference/what-open-knowledge-writes.mdx
index ad677c164..16b69fda6 100644
--- a/docs/content/reference/what-open-knowledge-writes.mdx
+++ b/docs/content/reference/what-open-knowledge-writes.mdx
@@ -101,6 +101,8 @@ When you initialize or open a project, the app scaffolds the same project files
| `.ok/skills-lock.json` | Provenance for imported skills — source, selected skill, commit/ref when available, content hash, publisher, and import time | In-project, committed |
| `~/.claude.json`, `~/Library/Application Support/Claude/claude_desktop_config.json`, `~/.cursor/mcp.json`, `~/.codex/config.toml`, `~/.copilot/mcp-config.json`, `~/.config/opencode/opencode.json`, `~/.openclaw/openclaw.json`, `~/.gemini/config/mcp_config.json`, `~/.lmstudio/mcp.json`, `~/.hermes/config.yaml` | User-level `open-knowledge` MCP registration, one per detected editor, so it's available in every project (`~/.copilot/mcp-config.json` only when `~/.copilot/` exists; `~/.openclaw/openclaw.json` only when `~/.openclaw/` exists; `~/.gemini/config/mcp_config.json` is Antigravity's shared IDE + `agy` config, only when `~/.gemini/` exists; `~/.lmstudio/mcp.json` and `~/.hermes/config.yaml` only when those apps are installed) | Outside-project (editor config) |
+The **Scope** column assumes you share this setup with your team. New projects don't: they keep OpenKnowledge's config to yourself, adding every in-project path above to `.git/info/exclude`, so those files are written but stay out of git.
+
### While a project is open
The app runs a collaboration server for the open project. It writes runtime state, gitignored under `.ok/local/`, plus a shadow git repo that powers the timeline and recovery features:
@@ -207,13 +209,13 @@ Pi is the exception: it has no user-level MCP config (it has no MCP support at a
On Windows, Claude Desktop and OpenCode configs live under `%APPDATA%\Claude\` and `%APPDATA%\opencode\`, and the MCP entry is a PowerShell launcher.
-`ok init` also installs `open-knowledge-discovery` (the same skill first launch sets up — pass `--skills discovery,write-skill` to add the authoring skill too), honoring any prior consent choice, and, if you choose **local-only** sharing, adds the OpenKnowledge paths to `.git/info/exclude` so `.ok/` stays off your remote. Switch modes later with `ok config-sharing share` / `unshare` (`unshare` refuses if an OK config file is already tracked); `ok config-sharing status` prints the current mode and the excluded paths.
+`ok init` also installs `open-knowledge-discovery` (the same skill first launch sets up — pass `--skills discovery,write-skill` to add the authoring skill too), honoring any prior consent choice, and, for a project it is setting up for the first time, adds the OpenKnowledge paths to `.git/info/exclude` so `.ok/` stays off your remote. Pass `--shared` to commit it instead. Re-running `ok init` on a project you already set up keeps that project's current choice. Switch modes later with `ok config-sharing share` / `unshare` (`unshare` refuses if an OK config file is already tracked); `ok config-sharing status` prints the current mode and the excluded paths.
<Callout type="info" title="Controlling it">
- `--no-mcp` — scaffold `.ok/` only; register nothing with any editor.
- `--scope user | project | both` — where the MCP entry is written. In an interactive terminal, `ok init` prompts for this; scripted/CI runs default to `both`, so pass the flag to constrain them.
- `--no-skills` — install no user-global skills on this run; `--skills discovery,write-skill` — install only the named bundles. **Default installs `discovery` only**, matching what the desktop's first launch sets up; `write-skill` is opt-in here and in **Settings → Skills Studio**. Installing is recorded and honored by the desktop app too; skipping is not recorded, so it never affects another project.
- - `--local-only` (vs `--shared`) — keep `.ok/` out of git.
+ - `--shared` (vs `--local-only`) — commit `.ok/` rather than keeping it out of git.
</Callout>
### `ok start`
@@ -277,7 +279,7 @@ Disable all three with `OK_RECLAIM_DISABLE=1`.
| The shell-config `PATH` block (macOS app) | Uncheck "Add the `ok` command to your terminal" in the first-launch dialog |
| All editor MCP registration in `ok init` | `ok init --no-mcp` |
| User-level (vs project) MCP writes | `ok init --scope project` |
-| Committing `.ok/` to git | `ok init --local-only` (or choose "local only" when prompted) |
+| Committing `.ok/` to git | Off by default for a new project; `ok init --shared` commits it instead |
| The repair sweeps and the desktop app's shell / `PATH` changes | `OK_RECLAIM_DISABLE=1` (also delete the managed block from your shell config to remove the `PATH` entry) |
| Local diagnostic logs and telemetry | `telemetry.localSink.enabled: false` in config |
| Auto-starting the MCP server | `OK_MCP_AUTOSTART=0` |
diff --git a/packages/app/src/components/ConsentDialogBody.dom.test.tsx b/packages/app/src/components/ConsentDialogBody.dom.test.tsx
index 50dadb2d1..388df66b8 100644
--- a/packages/app/src/components/ConsentDialogBody.dom.test.tsx
+++ b/packages/app/src/components/ConsentDialogBody.dom.test.tsx
@@ -103,10 +103,12 @@ describe('ConsentDialogBody runtime form behavior', () => {
test('config sharing is shown at the top level, not inside Advanced settings', async () => {
renderConsentDialog();
- // Visible without expanding Advanced.
+ // Visible without expanding Advanced, defaulting to "Only me".
expect(screen.getByTestId('consent-sharing')).not.toBeNull();
expect(screen.getByTestId('consent-sharing-shared')).not.toBeNull();
- expect(screen.getByTestId('consent-sharing-local-only')).not.toBeNull();
+ expect(screen.getByTestId('consent-sharing-local-only').getAttribute('data-state')).toBe(
+ 'checked',
+ );
// ...while the Advanced-only fields stay collapsed.
expect(screen.queryByTestId('consent-content-dir')).toBeNull();
});
@@ -125,16 +127,17 @@ describe('ConsentDialogBody runtime form behavior', () => {
expect(screen.getByTestId('config-sharing-info')).not.toBe(document.activeElement);
});
- test('selecting Local only carries through to the confirm payload', async () => {
+ test('selecting Shared carries through to the confirm payload', async () => {
+ // "Only me" is the default, so exercise the non-default pick.
const { confirmCalls } = renderConsentDialog();
- await userEvent.click(screen.getByTestId('consent-sharing-local-only'));
+ await userEvent.click(screen.getByTestId('consent-sharing-shared'));
fireEvent.submit(screen.getByTestId('consent-form') as HTMLFormElement);
await waitFor(() => {
expect(confirmCalls).toHaveLength(1);
});
- expect(confirmCalls[0]?.sharing).toBe('local-only');
+ expect(confirmCalls[0]?.sharing).toBe('shared');
});
test('an invalid default content dir force-opens Advanced settings and shows the error without expanding', () => {
@@ -180,7 +183,7 @@ describe('ConsentDialogBody runtime form behavior', () => {
contentDir: 'docs',
additionalIgnores: '',
editorIds: ['claude-desktop', 'codex'],
- sharing: 'shared',
+ sharing: 'local-only',
});
});
diff --git a/packages/app/src/components/ConsentDialogBody.tsx b/packages/app/src/components/ConsentDialogBody.tsx
index 61f911004..26d8f35d0 100644
--- a/packages/app/src/components/ConsentDialogBody.tsx
+++ b/packages/app/src/components/ConsentDialogBody.tsx
@@ -28,7 +28,11 @@ import { ChevronRight } from 'lucide-react';
import type React from 'react';
import { useEffect, useId, useState } from 'react';
import { toast as sonnerToast } from 'sonner';
-import { SharingModeField } from '@/components/SharingModeField';
+import {
+ DEFAULT_SHARING_MODE,
+ type SharingMode,
+ SharingModeField,
+} from '@/components/SharingModeField';
import { Button } from '@/components/ui/button';
import { Checkbox } from '@/components/ui/checkbox';
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '@/components/ui/collapsible';
@@ -112,8 +116,7 @@ function ConsentDialogForm({ payload, store, toast }: ConsentDialogFormProps) {
const [editorIds, setEditorIds] = useState<ReadonlySet<OkMcpWiringEditorId>>(
() => new Set(payload.editorOptions.map((e) => e.id)),
);
- // Sharing-mode posture. Default `'shared'`: encourages team adoption.
- const [sharing, setSharing] = useState<'shared' | 'local-only'>('shared');
+ const [sharing, setSharing] = useState<SharingMode>(DEFAULT_SHARING_MODE);
const [probe, setProbe] = useState<OkOnboardingProbeContentResult | null>(null);
const [busy, setBusy] = useState(false);
const [browseError, setBrowseError] = useState<string | null>(null);
diff --git a/packages/app/src/components/CreateProjectDialog.runtime.dom.test.tsx b/packages/app/src/components/CreateProjectDialog.runtime.dom.test.tsx
index 26708c00f..49fcd9f08 100644
--- a/packages/app/src/components/CreateProjectDialog.runtime.dom.test.tsx
+++ b/packages/app/src/components/CreateProjectDialog.runtime.dom.test.tsx
@@ -249,33 +249,47 @@ describe('CreateProjectDialog runtime wiring', () => {
await waitForLocationHydrate();
- // Config sharing still lives inside the collapsed "Advanced settings"
- // section (Radix unmounts collapsed content), so it is not in the DOM until
- // expanded. The AI-tools decision no longer does — it decides whether the
- // project is reachable from the user's agents at all.
- expect(screen.queryByTestId('create-sharing')).toBeNull();
+ // Config sharing sits at the top level — there is no "Advanced settings"
+ // section — and defaults to "Only me". The AI-tools decision is top-level
+ // too: it decides whether the project is reachable from the user's agents
+ // at all.
+ expect(screen.queryByTestId('create-advanced-trigger')).toBeNull();
+ expect(screen.getByTestId('create-sharing')).not.toBeNull();
+ expect(screen.getByTestId('create-sharing-local-only').getAttribute('data-state')).toBe(
+ 'checked',
+ );
await waitFor(() => {
expect(screen.getByTestId('create-editors-checkbox').getAttribute('aria-checked')).toBe(
'true',
);
});
- fireEvent.click(screen.getByTestId('create-advanced-trigger'));
- expect(screen.getByTestId('create-sharing')).not.toBeNull();
- // Consent integrity: collapsed, the label already names every tool that
- // gets written to, and names no tool that doesn't.
+ // The title line is fixed-length — the tool list lives in the subtext, so
+ // a machine with many tools can't wrap it into the disclosure button.
+ expect(screen.getByTestId('create-editors-title').textContent).toBe(
+ 'Connect your AI tools to this project',
+ );
+
+ // Consent integrity: without opening anything, the row already names every
+ // tool that gets written to, and names no tool that doesn't.
const summary = screen.getByTestId('create-editors-summary').textContent ?? '';
for (const id of DETECTED) expect(summary).toContain(EDITOR_LABELS[id]);
expect(summary).not.toContain(EDITOR_LABELS[UNDETECTED]);
// Undetected tools have no row anywhere — nothing is written for them.
expect(screen.queryByTestId(`create-editor-${UNDETECTED}`)).toBeNull();
- // The disclosure names the exact project-relative artifacts.
- fireEvent.click(screen.getByTestId('create-editors-details-toggle'));
- const details = screen.getByTestId('create-editors-details');
+ // The "What changes?" popover names the exact project-relative artifacts.
+ await userEvent.click(screen.getByTestId('create-editors-details-toggle'));
+ const details = await screen.findByTestId('create-editors-details');
+ // A real list, not styled spans: screen readers announce the item count
+ // and offer list navigation over this file enumeration.
+ expect(details.tagName).toBe('UL');
+ expect(details.querySelectorAll(':scope > li').length).toBe(DETECTED.length);
expect(details.textContent).toContain('.mcp.json');
expect(details.textContent).toContain('.claude/skills/open-knowledge/');
expect(details.textContent).toContain('.cursor/mcp.json');
+ // Close it again so the popover doesn't sit over the footer buttons.
+ await userEvent.keyboard('{Escape}');
fireEvent.click(cancel);
expect(stub.onOpenChange).toHaveBeenCalledWith(false);
@@ -292,7 +306,7 @@ describe('CreateProjectDialog runtime wiring', () => {
const submitted = stub.createNewCalls[0];
expect(submitted?.parent).toBe(PARENT);
expect(submitted?.name).toBe(PROJECT_NAME);
- expect(submitted?.sharing).toBe('shared');
+ expect(submitted?.sharing).toBe('local-only');
expect([...(submitted?.editors ?? [])].sort()).toEqual([...DETECTED].sort());
expect(stub.onOpenChange).toHaveBeenLastCalledWith(false);
});
@@ -544,11 +558,11 @@ describe('CreateProjectDialog runtime wiring', () => {
expect(stub.createNewCalls[0]?.editors).toEqual([]);
});
- test('reopening the dialog re-collapses Advanced so sharing is hidden again', async () => {
- // Sharing now lives inside Advanced, so "the dialog leads with just name +
- // location" depends on the on-open reset collapsing Advanced every time.
- // Guard it: expand once, close, reopen, and assert the sharing control is
- // gone again (not left mounted from the prior expand).
+ test('reopening the dialog resets sharing to the "Only me" default', async () => {
+ // Sharing sits at the top level and defaults to "Only me" — a prior open's
+ // explicit "Shared" pick must not leak into the next open. Guard the
+ // on-open reset: pick Shared, close, reopen, and assert Only me is checked
+ // again.
const stub = makeBridge();
const onOpenChange = vi.fn(() => {});
const { rerender } = render(
@@ -557,17 +571,18 @@ describe('CreateProjectDialog runtime wiring', () => {
await screen.findByTestId('create-project-dialog');
await waitForLocationHydrate();
- fireEvent.click(screen.getByTestId('create-advanced-trigger'));
- expect(screen.getByTestId('create-sharing')).not.toBeNull();
+ await userEvent.click(screen.getByTestId('create-sharing-shared'));
+ expect(screen.getByTestId('create-sharing-shared').getAttribute('data-state')).toBe('checked');
rerender(<CreateProjectDialog open={false} onOpenChange={onOpenChange} bridge={stub.bridge} />);
rerender(<CreateProjectDialog open={true} onOpenChange={onOpenChange} bridge={stub.bridge} />);
await screen.findByTestId('create-project-dialog');
await waitFor(() => {
- expect(screen.queryByTestId('create-sharing')).toBeNull();
+ expect(screen.getByTestId('create-sharing-local-only').getAttribute('data-state')).toBe(
+ 'checked',
+ );
});
- expect(screen.getByTestId('create-advanced-trigger')).not.toBeNull();
});
test('Location hydrates from defaultProjectsRoot and Browse picks a fresh parent', async () => {
@@ -637,24 +652,22 @@ describe('CreateProjectDialog runtime wiring', () => {
expect(stub.onOpenChange).not.toHaveBeenCalled();
});
- test('selecting Local only carries through to the createNew payload', async () => {
+ test('selecting Shared carries through to the createNew payload', async () => {
const stub = await renderDialog();
await waitForLocationHydrate();
await typeProjectName(PROJECT_NAME);
await waitForSubmitEnabled();
- // Sharing now lives inside "Advanced settings" — expand it before the radio
- // is in the DOM.
- fireEvent.click(screen.getByTestId('create-advanced-trigger'));
- await userEvent.click(screen.getByTestId('create-sharing-local-only'));
+ // "Only me" is the default, so exercise the non-default pick.
+ await userEvent.click(screen.getByTestId('create-sharing-shared'));
fireEvent.click(screen.getByTestId('create-submit'));
await waitFor(() => {
expect(stub.createNewCalls).toHaveLength(1);
});
- expect(stub.createNewCalls[0]?.sharing).toBe('local-only');
+ expect(stub.createNewCalls[0]?.sharing).toBe('shared');
});
test('a pre-selected pack threads packId through to the createNew payload', async () => {
@@ -786,9 +799,7 @@ describe('CreateProjectDialog runtime wiring', () => {
const stub = await renderDialog();
await waitForLocationHydrate();
- // The info trigger lives in the sharing field inside "Advanced settings" —
- // expand the section first so it's in the DOM.
- fireEvent.click(screen.getByTestId('create-advanced-trigger'));
+ // The info trigger lives in the sharing field, now at the top level.
const info = screen.getByTestId('config-sharing-info') as HTMLButtonElement;
// A trigger that renders a <button> inside a <form> defaults to
// type="submit" — it MUST be type="button" or it fires the form.
diff --git a/packages/app/src/components/CreateProjectDialog.tsx b/packages/app/src/components/CreateProjectDialog.tsx
index 635d92e75..c3665d051 100644
--- a/packages/app/src/components/CreateProjectDialog.tsx
+++ b/packages/app/src/components/CreateProjectDialog.tsx
@@ -9,10 +9,11 @@
* on open) followed by a Location field (read-only display + Browse button
* that picks the PARENT directory). A live "Will be created at: …" caption
* shows the resolved target before submit. Below that sits the AI-tool
- * decision (`ProjectAiToolsField`) — one pre-checked checkbox naming the
- * detected tools, always visible, because whether the project is reachable
- * from the user's agents is not an advanced concern. Only the config-sharing
- * posture (side-by-side radio cards) collapses under "Advanced settings".
+ * decision (`ProjectAiToolsField`) — one pre-checked checkbox whose subtext
+ * names the detected tools, always visible, because whether the project is
+ * reachable from the user's agents is not an advanced concern. The config-sharing
+ * posture (side-by-side radio cards) sits at the top level too, matching the
+ * open-folder consent dialog.
* Cancel + Create footer. Create stays enabled with an empty name — a click then
* surfaces an "Enter a project name" toast (see onSubmit) rather than sitting
* disabled with no hint. The two fields (`location`, `name`) are the source of
@@ -79,16 +80,20 @@ import {
import { i18n, type MessageDescriptor } from '@lingui/core';
import { msg } from '@lingui/core/macro';
import { Trans, useLingui } from '@lingui/react/macro';
-import { ArrowLeft, ChevronRight } from 'lucide-react';
+import { ArrowLeft } from 'lucide-react';
import { useEffect, useId, useRef, useState } from 'react';
import { toast } from 'sonner';
import { CreatedItemsList, CreatedItemsSkeleton } from '@/components/CreatedItemsList';
import { PackCardGrid } from '@/components/PackCardGrid';
+import { RowDisclosure } from '@/components/RowDisclosure';
import { type SeedRootChoice, SeedRootPicker } from '@/components/SeedRootPicker';
-import { SharingModeField } from '@/components/SharingModeField';
+import {
+ DEFAULT_SHARING_MODE,
+ type SharingMode,
+ SharingModeField,
+} from '@/components/SharingModeField';
import { Button } from '@/components/ui/button';
import { Checkbox } from '@/components/ui/checkbox';
-import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '@/components/ui/collapsible';
import {
Dialog,
DialogBody,
@@ -374,19 +379,11 @@ export function CreateProjectDialog({
// with the probe — a late result changes the list the label names, never the
// answer the user gave.
const [connectEditors, setConnectEditors] = useState(true);
- // Expands the exact list of files the connection writes.
- const [showEditorDetails, setShowEditorDetails] = useState(false);
- // OK config sharing mode. Defaults to `'shared'` (encourages team
- // adoption). Rendered via SharingModeField inside "Advanced settings" — the
- // greenfield dialog tucks the choice away (sensible default already set),
- // unlike the open-folder consent dialog which surfaces it at the top level.
+ // OK config sharing mode, rendered via SharingModeField at the top level.
// There is no `gitState === 'absent'` carve-out here because Create-new
// always runs `ensureProjectGit` (step 6 of runCreateNew), so the gitdir is
// guaranteed to exist by the time the sharing transition runs.
- const [sharing, setSharing] = useState<'shared' | 'local-only'>('shared');
- // The sharing posture collapses under "Advanced settings" so the dialog leads
- // with just the name, location and AI-tool fields. Reset closed on each open.
- const [advancedOpen, setAdvancedOpen] = useState(false);
+ const [sharing, setSharing] = useState<SharingMode>(DEFAULT_SHARING_MODE);
// Starter-pack selection + where it scaffolds. `packId` starts at the
// launcher's pick and can be changed in-dialog (step 'pick'); the root
// defaults to the project root — same default the in-project seed dialog
@@ -450,9 +447,7 @@ export function CreateProjectDialog({
setName('');
setDetectedEditors(null);
setConnectEditors(true);
- setShowEditorDetails(false);
- setSharing('shared');
- setAdvancedOpen(false);
+ setSharing(DEFAULT_SHARING_MODE);
setRemoveGitState({ kind: 'idle' });
// Honor the caller's pack on every open — the Navigator clears it when the
// dialog closes, so a blank create after a pack create must not inherit it.
@@ -1237,43 +1232,23 @@ export function CreateProjectDialog({
{/* AI-tool setup, always visible: it decides whether the project is
usable from the user's agents at all, which is not an advanced
concern. Mirrors the first-launch consent dialog — one pre-checked
- checkbox whose label names the write set, plus an expander with the
- exact files. Per-tool control lives in Settings > This project. */}
+ checkbox whose subtext names the write set, plus a "What changes?"
+ popover with the exact files. Per-tool control lives in
+ Settings > This project. */}
<ProjectAiToolsField
detectedEditors={detectedEditors}
checked={connectEditors}
onCheckedChange={setConnectEditors}
- showDetails={showEditorDetails}
- onShowDetailsChange={setShowEditorDetails}
disabled={busy}
/>
- <Collapsible
- open={advancedOpen}
- onOpenChange={setAdvancedOpen}
- className="rounded-md border border-border"
- data-testid="create-advanced"
- >
- <CollapsibleTrigger
- className="group flex w-full items-center justify-between gap-2 px-3 py-2 text-sm font-medium hover:bg-muted/50"
- data-testid="create-advanced-trigger"
- >
- <Trans>Advanced settings</Trans>
- <ChevronRight
- className="size-4 transition-transform group-data-[state=open]:rotate-90 motion-reduce:transition-none"
- aria-hidden
- />
- </CollapsibleTrigger>
- <CollapsibleContent className="space-y-6 border-t border-border px-3 py-4">
- <SharingModeField
- idPrefix="create"
- testIdPrefix="create-sharing"
- value={sharing}
- onValueChange={setSharing}
- disabled={busy}
- />
- </CollapsibleContent>
- </Collapsible>
+ <SharingModeField
+ idPrefix="create"
+ testIdPrefix="create-sharing"
+ value={sharing}
+ onValueChange={setSharing}
+ disabled={busy}
+ />
{submitError !== null ? (
<div
@@ -1333,14 +1308,13 @@ interface ProjectAiToolsFieldProps {
detectedEditors: readonly OkMcpWiringEditorId[] | null;
checked: boolean;
onCheckedChange: (next: boolean) => void;
- showDetails: boolean;
- onShowDetailsChange: (next: boolean) => void;
disabled: boolean;
}
/**
* The project's AI-tool decision: one checkbox covering every detected tool,
- * with a read-only expander naming the exact project-relative files it writes.
+ * with a "What changes?" popover naming the exact project-relative files it
+ * writes — the same card shape and disclosure the first-launch setup rows use.
*
* The paths come from the same two core maps the project writer resolves its
* targets from (`EDITOR_PROJECT_CONFIG_PATH`, `EDITOR_PROJECT_SKILL_ROOT`), so
@@ -1351,12 +1325,9 @@ function ProjectAiToolsField({
detectedEditors,
checked,
onCheckedChange,
- showDetails,
- onShowDetailsChange,
disabled,
}: ProjectAiToolsFieldProps) {
const { t } = useLingui();
- const detailsId = useId();
const checkboxId = useId();
// The probe's two non-interactive outcomes share ONE live region that is
@@ -1394,106 +1365,91 @@ function ProjectAiToolsField({
if (status.kind !== 'ready') return statusRegion;
+ // Named local so the `t` macro extracts `{toolList}` rather than a
+ // positional placeholder for the inline call expression.
+ const toolList = formatToolList(
+ status.editors.map((id) => EDITOR_LABELS[id]),
+ i18n.locale,
+ );
+
return (
<>
{/* Stays mounted (visually hidden, empty) so the region survives every
transition rather than being torn down when the checkbox appears. */}
{statusRegion}
- <div className="overflow-hidden rounded-md border border-border">
+ {/* Same card anatomy as the first-launch setup rows: checkbox + title on
+ the first line, subtext indented under the title (checkbox size-4 = 1rem
+ + gap-2.5 = 0.625rem), and the "What changes?" disclosure absolutely
+ placed on the first line (needs `relative` here; the title's `pe-28`
+ keeps long labels from running under it). */}
+ <div className="relative overflow-hidden rounded-lg border border-border bg-card/50 px-4 py-3 hover:bg-accent">
<Label
htmlFor={checkboxId}
- className="flex cursor-pointer items-start gap-2.5 px-3 py-2.5 font-normal hover:bg-muted/50"
+ className="flex min-w-0 cursor-pointer flex-col items-start gap-1 font-normal"
>
- <Checkbox
- id={checkboxId}
- checked={checked}
- onCheckedChange={() => onCheckedChange(!checked)}
- disabled={disabled}
- className="mt-0.5"
- data-testid="create-editors-checkbox"
- />
- <span className="flex min-w-0 flex-1 flex-col gap-0.5">
+ <span className="flex w-full items-center gap-2.5">
+ <Checkbox
+ id={checkboxId}
+ checked={checked}
+ onCheckedChange={() => onCheckedChange(!checked)}
+ disabled={disabled}
+ data-testid="create-editors-checkbox"
+ />
+ {/* Fixed-length title: the detected-tool list goes in the subtext
+ below instead, so a machine with many tools can't wrap this line
+ and push the "What changes?" button out of alignment. */}
<span
- className="text-sm font-medium text-foreground"
- data-testid="create-editors-summary"
+ className="flex min-w-0 flex-1 items-center gap-1.5 pe-28 text-sm font-medium text-foreground"
+ data-testid="create-editors-title"
>
- {t`Connect ${formatToolList(
- status.editors.map((id) => EDITOR_LABELS[id]),
- i18n.locale,
- )} to this project`}
- </span>
- <span className="text-1sm text-muted-foreground">
- <Trans comment="Subtext under the create-project AI-tools checkbox">
- Adds an OpenKnowledge MCP entry and the project skill, so each tool can read and
- update these notes.
+ <Trans comment="Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the new project">
+ Connect your AI tools to this project
</Trans>
</span>
</span>
- </Label>
- <div className="border-t border-border">
- <Button
- type="button"
- variant="ghost"
- size="sm"
- className="h-auto w-full justify-start gap-1 rounded-none px-3 py-2 text-xs font-normal text-muted-foreground hover:text-foreground"
- onClick={() => onShowDetailsChange(!showDetails)}
- aria-expanded={showDetails}
- aria-controls={detailsId}
- data-testid="create-editors-details-toggle"
+ {/* Consent integrity: the write set is named here, in always-visible
+ text — moving it off the title line must not move it behind the
+ "What changes?" disclosure. */}
+ <span
+ className="text-1sm leading-normal ps-6.5 text-muted-foreground"
+ data-testid="create-editors-summary"
>
- <ChevronRight
- className={cn(
- 'size-3.5 transition-transform motion-reduce:transition-none',
- showDetails && 'rotate-90',
- )}
- aria-hidden
- />
- {showDetails ? (
- <Trans comment="Collapses the list of project files the AI-tool setup writes">
- Hide details
- </Trans>
- ) : (
- <Trans comment="Expands the list of project files the AI-tool setup writes">
- What this changes
- </Trans>
- )}
- </Button>
- {/* The region element is always present so the toggle's `aria-controls`
- never dangles — axe flags a reference to an id that isn't in the DOM,
- which is what a conditionally-mounted target produces. */}
- <div id={detailsId}>
- {showDetails && (
- <ul
- className="flex flex-col gap-1.5 border-t border-border px-3 py-2.5"
- data-testid="create-editors-details"
- >
- {status.editors.map((id) => {
- const configPath = EDITOR_PROJECT_CONFIG_PATH[id];
- const skillRoot = EDITOR_PROJECT_SKILL_ROOT[id];
- return (
- <li
- key={id}
- className="flex min-w-0 flex-col"
- data-testid={`create-editor-${id}`}
- >
- <span className="text-1sm text-foreground">{EDITOR_LABELS[id]}</span>
- {configPath !== null && (
- <code className="text-xs text-muted-foreground break-all">
- {configPath}
- </code>
- )}
- {skillRoot !== null && (
- <code className="text-xs text-muted-foreground break-all">
- {`${skillRoot}/${RESERVED_PROJECT_SKILL_NAME}/`}
- </code>
- )}
- </li>
- );
- })}
- </ul>
- )}
- </div>
- </div>
+ {/* Tool names carry the emphasis: they are the part of this
+ sentence that differs per machine, and the rest is boilerplate.
+ Wording tracks the first-launch dialog's MCP row — same promise,
+ plus the project skill this surface also writes. */}
+ <Trans comment="Subtext under the create-project AI-tools checkbox">
+ Adds an OpenKnowledge MCP entry and the project skill to{' '}
+ <span className="font-medium text-foreground">{toolList}</span>, so your agents can
+ read and edit your files.
+ </Trans>
+ </span>
+ </Label>
+ <RowDisclosure title={t`Adds these files`} testId="create-editors-details-toggle">
+ {/* A real list: this is an enumeration of files per tool, and screen
+ readers announce item counts and offer list navigation for it. */}
+ <ul className="flex flex-col gap-2" data-testid="create-editors-details">
+ {status.editors.map((id) => {
+ const configPath = EDITOR_PROJECT_CONFIG_PATH[id];
+ const skillRoot = EDITOR_PROJECT_SKILL_ROOT[id];
+ return (
+ <li key={id} className="flex min-w-0 flex-col" data-testid={`create-editor-${id}`}>
+ <span className="font-medium">{EDITOR_LABELS[id]}</span>
+ {configPath !== null && (
+ <span className="wrap-break-word opacity-75">
+ <code className="break-all">{configPath}</code>
+ </span>
+ )}
+ {skillRoot !== null && (
+ <span className="wrap-break-word opacity-75">
+ <code className="break-all">{`${skillRoot}/${RESERVED_PROJECT_SKILL_NAME}/`}</code>
+ </span>
+ )}
+ </li>
+ );
+ })}
+ </ul>
+ </RowDisclosure>
</div>
</>
);
diff --git a/packages/app/src/components/McpConsentDialog.dom.test.tsx b/packages/app/src/components/McpConsentDialog.dom.test.tsx
index 28d7b14a2..816be5c73 100644
--- a/packages/app/src/components/McpConsentDialog.dom.test.tsx
+++ b/packages/app/src/components/McpConsentDialog.dom.test.tsx
@@ -279,7 +279,7 @@ describe('McpConsentDialog AI-tools decision', () => {
const subtextOf = (el: Element | null | undefined) =>
[...(el?.querySelectorAll('span') ?? [])]
.map((n) => n.textContent ?? '')
- .find((text) => text.startsWith('Installs the OpenKnowledge MCP into'));
+ .find((text) => text.startsWith('Adds an OpenKnowledge MCP entry to'));
const before = subtextOf(row());
expect(before).toBeTruthy();
diff --git a/packages/app/src/components/McpConsentDialogBody.tsx b/packages/app/src/components/McpConsentDialogBody.tsx
index 0570f803b..798771800 100644
--- a/packages/app/src/components/McpConsentDialogBody.tsx
+++ b/packages/app/src/components/McpConsentDialogBody.tsx
@@ -46,10 +46,10 @@
import { i18n } from '@lingui/core';
import { Trans, useLingui } from '@lingui/react/macro';
import { useTheme } from 'next-themes';
-import type { ReactNode } from 'react';
import { useId, useState } from 'react';
import { toast as sonnerToast } from 'sonner';
import { OkIcon } from '@/components/icons/ok';
+import { RowDisclosure } from '@/components/RowDisclosure';
import { ThemePicker, type ThemePreference } from '@/components/ThemePicker';
import {
AlertDialog,
@@ -64,7 +64,6 @@ import {
import { Button } from '@/components/ui/button';
import { Checkbox } from '@/components/ui/checkbox';
import { Label } from '@/components/ui/label';
-import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover';
import { useConfigContextOptional } from '@/lib/config-context';
import type { OkMcpWiringShowPayload } from '@/lib/desktop-bridge-types';
import { type McpConsentStore, mcpConsentStore } from '@/lib/mcp-consent-store';
@@ -178,6 +177,12 @@ function McpConsentDialogForm({ payload, store, toast }: McpConsentDialogFormPro
// Every tool being written is also being overwritten — the neutral subtext and
// the warning would name an identical list.
const replacingAll = replacing.length > 0 && replacing.length === editors.length;
+ // Named local so the `<Trans>` placeholder extracts as `{connectToolList}`
+ // rather than a positional index for the inline call expression.
+ const connectToolList = formatToolList(
+ editors.map((e) => e.label),
+ i18n.locale,
+ );
// Pre-checked (opt-out): the common answer is yes, and the label names
// everything it covers so agreeing isn't agreeing blind.
const [connectChecked, setConnectChecked] = useState(true);
@@ -482,12 +487,14 @@ function McpConsentDialogForm({ payload, store, toast }: McpConsentDialogFormPro
the box is toggled rather than swapping for another
sentence. */}
<span className={ROW_SUBTEXT}>
+ {/* Tool names carry the emphasis: they are the part of
+ this sentence that differs per machine. Wording
+ tracks the create-project dialog's AI-tools row,
+ minus the project skill: that row writes one and
+ this screen, which sets up no project, does not. */}
<Trans comment="Subtext under the AI-tools MCP checkbox">
- Installs the OpenKnowledge MCP into{' '}
- {formatToolList(
- editors.map((e) => e.label),
- i18n.locale,
- )}{' '}
+ Adds an OpenKnowledge MCP entry to{' '}
+ <span className="font-medium text-foreground">{connectToolList}</span>,
so your agents can read and edit your files.
</Trans>
</span>
@@ -675,72 +682,6 @@ function McpConsentDialogForm({ payload, store, toast }: McpConsentDialogFormPro
);
}
-/**
- * The "What changes?" disclosure shared by every row.
- *
- * A labelled button rather than a bare `i` glyph, and a click rather than a
- * hover. The overlay canon calls tooltips a last resort precisely because they
- * are "hidden by default, often with little visual indicator, and unavailable
- * on touch" — a named trigger fixes all three, and a text target clears the
- * 24x24 hit-target floor that a 14px icon did not.
- *
- * Focus is allowed to move into the panel (Radix's default). The stricter
- * toggletip pattern keeps focus on the trigger and announces through a live
- * region, but that relies on the region existing before its content does; here
- * the panel mounts already populated, so a screen reader can miss it entirely
- * and the button reads as broken. A dialog the user is moved into, and returns
- * from on Escape, is the more reliable shape — and it makes the panel
- * keyboard-scrollable, which matters because the dialog's scroll lock swallows
- * wheel events over anything portaled outside its own content.
- */
-function RowDisclosure({
- title,
- testId,
- children,
-}: {
- title: string;
- testId: string;
- children: ReactNode;
-}) {
- return (
- <Popover>
- <PopoverTrigger asChild>
- <Button
- variant="link-muted"
- size="sm"
- // Dotted underline rather than the usual solid link rule: it reads as
- // clickable without competing with the row's own text, and it stays put
- // instead of appearing on hover, which a pointer-less user never sees.
- // `decoration-dotted` needs an explicit `underline` to render at all.
- // Absolutely placed on the row's first line, so the description below
- // wraps the full width of the card instead of stopping short at a
- // column this button would otherwise reserve down the whole row. The
- // title span carries matching `pe-*` so long labels can't run under it.
- // Requires the row container to be `relative`.
- className="absolute end-3 top-2 px-1 text-1sm font-normal underline decoration-dotted decoration-muted-foreground/50 underline-offset-4 hover:decoration-foreground"
- data-testid={testId}
- >
- <Trans comment="Button on each setup row that opens the list of files that row writes to">
- What changes?
- </Trans>
- </Button>
- </PopoverTrigger>
- <PopoverContent
- align="end"
- aria-label={title}
- className="max-h-(--radix-popover-content-available-height) w-80 overflow-y-auto p-3 subtle-scrollbar"
- >
- <span className="flex flex-col gap-2 text-xs leading-normal">
- <span className="font-mono text-2xs text-muted-foreground uppercase tracking-wide">
- {title}
- </span>
- {children}
- </span>
- </PopoverContent>
- </Popover>
- );
-}
-
// Default export so `React.lazy()` can consume this module directly without
// an intermediate `.then(m => ({ default: m.McpConsentDialogBody }))` trampoline.
export default McpConsentDialogBody;
diff --git a/packages/app/src/components/RowDisclosure.tsx b/packages/app/src/components/RowDisclosure.tsx
new file mode 100644
index 000000000..657a93f8f
--- /dev/null
+++ b/packages/app/src/components/RowDisclosure.tsx
@@ -0,0 +1,82 @@
+/**
+ * The "What changes?" disclosure shared by every setup row — the first-launch
+ * consent rows and the create-project AI-tools row.
+ *
+ * A labelled button rather than a bare `i` glyph, and a click rather than a
+ * hover. The overlay canon calls tooltips a last resort precisely because they
+ * are "hidden by default, often with little visual indicator, and unavailable
+ * on touch" — a named trigger fixes all three, and a text target clears the
+ * 24x24 hit-target floor that a 14px icon did not.
+ *
+ * Focus is allowed to move into the panel (Radix's default). The stricter
+ * toggletip pattern keeps focus on the trigger and announces through a live
+ * region, but that relies on the region existing before its content does; here
+ * the panel mounts already populated, so a screen reader can miss it entirely
+ * and the button reads as broken. A dialog the user is moved into, and returns
+ * from on Escape, is the more reliable shape — and it makes the panel
+ * keyboard-scrollable, which matters because the dialog's scroll lock swallows
+ * wheel events over anything portaled outside its own content.
+ */
+
+import { Trans } from '@lingui/react/macro';
+import type { ReactNode } from 'react';
+import { Button } from '@/components/ui/button';
+import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover';
+
+export function RowDisclosure({
+ title,
+ testId,
+ children,
+}: {
+ title: string;
+ testId: string;
+ children: ReactNode;
+}) {
+ return (
+ <Popover>
+ <PopoverTrigger asChild>
+ <Button
+ // Explicit type: some hosting rows sit inside a <form>, where a
+ // typeless <button> defaults to submit and the disclosure would
+ // fire the form instead of opening.
+ type="button"
+ variant="link-muted"
+ size="sm"
+ // Dotted underline rather than the usual solid link rule: it reads as
+ // clickable without competing with the row's own text, and it stays put
+ // instead of appearing on hover, which a pointer-less user never sees.
+ // `decoration-dotted` needs an explicit `underline` to render at all.
+ // Absolutely placed on the row's first line, so the description below
+ // wraps the full width of the card instead of stopping short at a
+ // column this button would otherwise reserve down the whole row. The
+ // title span carries matching `pe-*` so long labels can't run under it.
+ // Requires the row container to be `relative`.
+ className="absolute end-3 top-2 px-1 text-1sm font-normal underline decoration-dotted decoration-muted-foreground/50 underline-offset-4 hover:decoration-foreground"
+ data-testid={testId}
+ >
+ <Trans comment="Button on each setup row that opens the list of files that row writes to">
+ What changes?
+ </Trans>
+ </Button>
+ </PopoverTrigger>
+ <PopoverContent
+ align="end"
+ aria-label={title}
+ // w-96 fits the longest skill destination on one line; the
+ // available-width cap keeps it inside a narrow window, where a fixed
+ // width would otherwise be placed past the viewport edge.
+ className="max-h-(--radix-popover-content-available-height) w-96 max-w-(--radix-popover-content-available-width) overflow-y-auto p-3 subtle-scrollbar"
+ >
+ {/* A div, not a span: consumers pass flow content (the create-project
+ row lists its files as a <ul>), which is invalid inside phrasing
+ content. Layout is identical either way. */}
+ <div className="flex flex-col gap-2 text-xs leading-normal">
+ <span className="font-mono text-2xs text-muted-foreground uppercase tracking-wide">
+ {title}
+ </span>
+ {children}
+ </div>
+ </PopoverContent>
+ </Popover>
+ );
+}
diff --git a/packages/app/src/components/SharingModeField.dom.test.tsx b/packages/app/src/components/SharingModeField.dom.test.tsx
index ae31bdd38..dca5eb43b 100644
--- a/packages/app/src/components/SharingModeField.dom.test.tsx
+++ b/packages/app/src/components/SharingModeField.dom.test.tsx
@@ -51,6 +51,17 @@ describe('SharingModeField', () => {
expect(local.getAttribute('aria-checked')).toBe('false');
});
+ test('"Only me" leads the pair in DOM order', async () => {
+ // The default is Only me, so it reads first. DOM order is also the tab and
+ // screen-reader order, and the visual order via the two-column grid, so
+ // asserting it here pins the invariant one place.
+ render(<Harness />);
+
+ const radios = screen.getAllByRole('radio');
+ expect(radios[0]).toBe(screen.getByTestId('t-sharing-local-only'));
+ expect(radios[1]).toBe(screen.getByTestId('t-sharing-shared'));
+ });
+
test('clicking Local only moves the selection', async () => {
render(<Harness />);
@@ -72,4 +83,32 @@ describe('SharingModeField', () => {
expect(screen.getByTestId('config-sharing-info')).not.toBeNull();
});
+
+ test('renders the sharing docs link outside the radiogroup accessible name', () => {
+ render(<Harness />);
+
+ const link = screen.getByTestId('t-sharing-docs-link');
+ // Config sharing, NOT docs/features/share — that page is the Share-links
+ // feature (doc deep links), which does not explain this choice at all.
+ expect(link.getAttribute('href')).toBe(
+ 'https://openknowledge.ai/docs/reference/what-open-knowledge-writes',
+ );
+ expect(link.getAttribute('target')).toBe('_blank');
+ expect(link.getAttribute('rel')).toBe('noopener noreferrer');
+ // A screen reader's links list enumerates links with no surrounding
+ // context, so the accessible name has to name the destination. It still
+ // contains the visible text, per WCAG 2.5.3 Label in Name.
+ const accessibleName = link.getAttribute('aria-label') ?? '';
+ expect(accessibleName).toBe('Learn more about config sharing');
+ expect(accessibleName).toContain(link.textContent ?? '');
+ // The radiogroup's name comes from aria-labelledby → the label span only;
+ // the link lives outside both the labelled span and the radiogroup, so
+ // its text can't leak into the group's accessible name.
+ const group = screen.getByRole('radiogroup');
+ const labelId = group.getAttribute('aria-labelledby') ?? '';
+ const label = document.getElementById(labelId);
+ expect(label?.textContent).toBe('Share this setup with your team?');
+ expect(label?.contains(link)).toBe(false);
+ expect(group.contains(link)).toBe(false);
+ });
});
diff --git a/packages/app/src/components/SharingModeField.tsx b/packages/app/src/components/SharingModeField.tsx
index d288bfccc..50cef7ac1 100644
--- a/packages/app/src/components/SharingModeField.tsx
+++ b/packages/app/src/components/SharingModeField.tsx
@@ -1,9 +1,8 @@
/**
* Config-sharing posture as two side-by-side radio cards — shared by the
- * open-folder consent dialog (surfaced at the top level, where the choice is
- * more consequential for an existing folder) and the create-project dialog
- * (tucked inside "Advanced settings", since a greenfield project defaults to
- * Shared). The two surfaces intentionally place the field differently.
+ * open-folder consent dialog and the create-project dialog. Both surfaces
+ * place it at the top level and default to "Only me"; sharing with the team
+ * is an explicit opt-in.
*
* Visible copy stays plain-language; the technical detail (which files, git
* mechanics) lives in `ConfigSharingInfoTooltip` next to the legend.
@@ -13,14 +12,34 @@
* `create-sharing*`) stable.
*/
-import { Trans } from '@lingui/react/macro';
+import { Trans, useLingui } from '@lingui/react/macro';
import { ConfigSharingInfoTooltip } from '@/components/ConfigSharingInfoTooltip';
import { Label } from '@/components/ui/label';
import { RadioGroup, RadioGroupItem } from '@/components/ui/radio-group';
+import { dispatchExternalLinkClick } from '@/lib/external-link';
import { cn } from '@/lib/utils';
+/**
+ * Config sharing, NOT the Share-links feature. `docs/features/share` is about
+ * copying an `openknowledge.ai/d/…` deep link to a doc; this field decides
+ * whether `.ok/`, `.mcp.json`, and project skills are committed or kept out of
+ * git via `.git/info/exclude`. That mechanic is documented here.
+ */
+const CONFIG_SHARING_DOCS_URL =
+ 'https://openknowledge.ai/docs/reference/what-open-knowledge-writes';
+
export type SharingMode = 'shared' | 'local-only';
+/**
+ * What both setup dialogs pre-select. Sharing the setup with the team is an
+ * explicit opt-in, so a user who never reads the field does not publish their
+ * config by omission. One constant rather than a literal per dialog, so the
+ * two cannot drift. `ok init` seeds the same answer for a project it is
+ * scaffolding for the first time (`resolveSharingMode`'s `freshProject` seed),
+ * so every entry point makes sharing the explicit choice.
+ */
+export const DEFAULT_SHARING_MODE: SharingMode = 'local-only';
+
interface SharingModeFieldProps {
value: SharingMode;
onValueChange: (value: SharingMode) => void;
@@ -40,67 +59,96 @@ export function SharingModeField({
idPrefix,
testIdPrefix,
}: SharingModeFieldProps) {
+ const { t } = useLingui();
const sharedId = `${idPrefix}-sharing-shared`;
const localId = `${idPrefix}-sharing-local-only`;
+ const labelId = `${idPrefix}-sharing-label`;
+ // Plain div header + `aria-labelledby` on the RadioGroup, matching
+ // SharingSection: it names the radiogroup element itself, and keeps the docs
+ // link out of that accessible name. A fieldset/legend cannot do the second
+ // part, since the link has to sit on the label row and legend content IS the
+ // group's name.
return (
- <fieldset className="flex flex-col space-y-2" data-testid={testIdPrefix}>
- <legend className="flex items-center gap-1.5 text-sm font-medium">
- <Trans>Share this setup with your team?</Trans>
+ <div className="flex flex-col space-y-2" data-testid={testIdPrefix}>
+ <div className="flex items-center gap-1.5">
+ <span id={labelId} className="text-sm font-medium">
+ <Trans>Share this setup with your team?</Trans>
+ </span>
<ConfigSharingInfoTooltip />
- </legend>
+ {/* Docs link on the trailing edge of the label row, styled like the
+ setup rows' "What changes?" trigger (dotted underline, same size).
+ Visible text stays "Learn more" because the row is space-constrained
+ and already headed by the sharing question; the accessible name spells
+ out the destination, which is what a screen reader's links list reads
+ (it enumerates links with no surrounding context). */}
+ <a
+ href={CONFIG_SHARING_DOCS_URL}
+ target="_blank"
+ rel="noopener noreferrer"
+ onClick={(e) => dispatchExternalLinkClick(e, CONFIG_SHARING_DOCS_URL)}
+ onAuxClick={(e) => dispatchExternalLinkClick(e, CONFIG_SHARING_DOCS_URL)}
+ aria-label={t`Learn more about config sharing`}
+ className="ms-auto text-1sm font-normal text-muted-foreground underline decoration-dotted decoration-muted-foreground/50 underline-offset-4 transition-colors hover:text-foreground hover:decoration-foreground"
+ data-testid={`${testIdPrefix}-docs-link`}
+ >
+ <Trans>Learn more</Trans>
+ </a>
+ </div>
+ {/* "Only me" leads (it is the default), "Shared" is the opt-in. */}
<RadioGroup
value={value}
onValueChange={(v) => onValueChange(v as SharingMode)}
disabled={disabled}
className="grid-cols-2 gap-3"
+ aria-labelledby={labelId}
>
<Label
- htmlFor={sharedId}
+ htmlFor={localId}
className={cn(
CARD_BASE,
- value === 'shared' ? 'border-primary bg-primary/5' : 'border-border hover:bg-muted/40',
+ value === 'local-only'
+ ? 'border-primary bg-primary/5'
+ : 'border-border hover:bg-muted/40',
)}
>
<RadioGroupItem
- id={sharedId}
- value="shared"
- data-testid={`${testIdPrefix}-shared`}
+ id={localId}
+ value="local-only"
+ data-testid={`${testIdPrefix}-local-only`}
className="mt-0.5"
/>
<span>
<span className="block font-medium">
- <Trans>Shared</Trans>
+ <Trans>Only me</Trans>
</span>
<span className="block text-1sm text-muted-foreground">
- <Trans>Saved with the project for your team.</Trans>
+ <Trans>Stays on this computer. Not committed to git.</Trans>
</span>
</span>
</Label>
<Label
- htmlFor={localId}
+ htmlFor={sharedId}
className={cn(
CARD_BASE,
- value === 'local-only'
- ? 'border-primary bg-primary/5'
- : 'border-border hover:bg-muted/40',
+ value === 'shared' ? 'border-primary bg-primary/5' : 'border-border hover:bg-muted/40',
)}
>
<RadioGroupItem
- id={localId}
- value="local-only"
- data-testid={`${testIdPrefix}-local-only`}
+ id={sharedId}
+ value="shared"
+ data-testid={`${testIdPrefix}-shared`}
className="mt-0.5"
/>
<span>
<span className="block font-medium">
- <Trans>Only me</Trans>
+ <Trans>Shared</Trans>
</span>
<span className="block text-1sm text-muted-foreground">
- <Trans>Stays on this computer. Not committed to git.</Trans>
+ <Trans>Saved with the project for your team.</Trans>
</span>
</span>
</Label>
</RadioGroup>
- </fieldset>
+ </div>
);
}
diff --git a/packages/app/src/components/settings/SharingSection.dom.test.tsx b/packages/app/src/components/settings/SharingSection.dom.test.tsx
new file mode 100644
index 000000000..edd27c278
--- /dev/null
+++ b/packages/app/src/components/settings/SharingSection.dom.test.tsx
@@ -0,0 +1,106 @@
+/**
+ * SharingSection — the settings pane's shared / local-only toggle.
+ *
+ * The value under test is the pairing between what a row SAYS and what it
+ * SENDS. `onSelect` feeds `bridge.sharing.setMode`, which adds or removes OK
+ * paths in the user's real `.git/info/exclude`, so a label/value mismatch
+ * would silently invert a privacy choice: a user clicking "Only me" would
+ * publish the config they asked to keep local. Nothing pinned that pairing
+ * before, and the rows were reordered so "Only me" leads.
+ */
+
+import * as actualLinguiMacro from '@lingui/react/macro';
+import { cleanup, render, screen, waitFor } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
+import type { ReactNode } from 'react';
+import { afterEach, describe, expect, test, vi } from 'vitest';
+import type { OkSharingStatusResult } from '@/lib/desktop-bridge-types';
+import { renderLinguiTemplate } from '@/test-utils/lingui-mock';
+
+vi.doMock('@lingui/react/macro', () => ({
+ ...actualLinguiMacro,
+ Trans: ({ children }: { children: ReactNode }) => <>{children}</>,
+ useLingui: () => ({ t: renderLinguiTemplate }),
+}));
+
+vi.doMock('sonner', () => ({
+ toast: { error: vi.fn(() => {}), info: vi.fn(() => {}), success: vi.fn(() => {}) },
+}));
+
+const { SharingSection } = await import('./SharingSection');
+const { TooltipProvider } = await import('@/components/ui/tooltip');
+
+const SHARED_STATUS: OkSharingStatusResult = {
+ kind: 'status',
+ mode: 'shared',
+ excluded: [],
+ trackedUpstream: [],
+ skillsShared: false,
+};
+
+/** Installs a fake desktop bridge; returns the calls `setMode` received. */
+function renderSection(status: OkSharingStatusResult = SHARED_STATUS) {
+ const setModeCalls: string[] = [];
+ const sharing = {
+ status: vi.fn(() => Promise.resolve(status)),
+ setMode: vi.fn((mode: string) => {
+ setModeCalls.push(mode);
+ return Promise.resolve({ kind: 'applied', mode });
+ }),
+ };
+ // The component reads `window.okDesktop.sharing` directly rather than taking
+ // a prop, so the bridge has to be installed on the global.
+ (window as unknown as { okDesktop?: unknown }).okDesktop = { sharing };
+ render(
+ <TooltipProvider>
+ <SharingSection />
+ </TooltipProvider>,
+ );
+ return { setModeCalls, sharing };
+}
+
+describe('SharingSection', () => {
+ afterEach(() => {
+ cleanup();
+ (window as unknown as { okDesktop?: unknown }).okDesktop = undefined;
+ });
+
+ test('"Only me" is the first option and its label matches its value', async () => {
+ renderSection();
+
+ const localOnly = await screen.findByTestId('settings-sharing-local-only');
+ const shared = screen.getByTestId('settings-sharing-shared');
+
+ // DOM order is the reading order: the leading card is "Only me".
+ const radios = screen.getAllByRole('radio');
+ expect(radios[0]).toBe(localOnly);
+ expect(radios[1]).toBe(shared);
+
+ // The label a user reads has to belong to the value that gets sent. Each
+ // radio is associated to its own label by htmlFor/id, so walking from the
+ // element to its label text is what catches a swapped pairing.
+ const labelTextFor = (el: HTMLElement) => el.closest('label')?.textContent ?? '';
+ expect(labelTextFor(localOnly)).toContain('Only me');
+ expect(labelTextFor(shared)).toContain('Shared');
+ });
+
+ test('clicking "Only me" sends local-only to the bridge', async () => {
+ const { setModeCalls } = renderSection();
+
+ await userEvent.click(await screen.findByTestId('settings-sharing-local-only'));
+
+ await waitFor(() => {
+ expect(setModeCalls).toEqual(['local-only']);
+ });
+ });
+
+ test('selecting the mode already in effect sends nothing', async () => {
+ // The component short-circuits a no-op selection rather than re-running a
+ // git-exclude write for a mode the project is already in.
+ const { setModeCalls } = renderSection();
+
+ await userEvent.click(await screen.findByTestId('settings-sharing-shared'));
+
+ expect(setModeCalls).toEqual([]);
+ });
+});
diff --git a/packages/app/src/components/settings/SharingSection.tsx b/packages/app/src/components/settings/SharingSection.tsx
index 8fe22817c..f3485cbfe 100644
--- a/packages/app/src/components/settings/SharingSection.tsx
+++ b/packages/app/src/components/settings/SharingSection.tsx
@@ -241,35 +241,36 @@ function SharingSectionBody() {
aria-labelledby={TITLE_ID}
data-testid="settings-sharing-radiogroup"
>
- <label htmlFor="settings-sharing-shared" className="flex items-start gap-2 text-sm">
+ {/* "Only me" leads, matching the create/open dialogs' card order. */}
+ <label htmlFor="settings-sharing-local-only" className="flex items-start gap-2 text-sm">
<RadioGroupItem
- id="settings-sharing-shared"
- value="shared"
- data-testid="settings-sharing-shared"
+ id="settings-sharing-local-only"
+ value="local-only"
+ data-testid="settings-sharing-local-only"
className="mt-1"
/>
<span>
<span className="font-medium">
- <Trans>Shared</Trans>
+ <Trans>Only me</Trans>
</span>
<span className="block text-1sm text-muted-foreground">
- <Trans>Saved with the project for your team.</Trans>
+ <Trans>Stays on this computer. Not committed to git.</Trans>
</span>
</span>
</label>
- <label htmlFor="settings-sharing-local-only" className="flex items-start gap-2 text-sm">
+ <label htmlFor="settings-sharing-shared" className="flex items-start gap-2 text-sm">
<RadioGroupItem
- id="settings-sharing-local-only"
- value="local-only"
- data-testid="settings-sharing-local-only"
+ id="settings-sharing-shared"
+ value="shared"
+ data-testid="settings-sharing-shared"
className="mt-1"
/>
<span>
<span className="font-medium">
- <Trans>Only me</Trans>
+ <Trans>Shared</Trans>
</span>
<span className="block text-1sm text-muted-foreground">
- <Trans>Stays on this computer. Not committed to git.</Trans>
+ <Trans>Saved with the project for your team.</Trans>
</span>
</span>
</label>
diff --git a/packages/app/src/locales/ar/messages.json b/packages/app/src/locales/ar/messages.json
index 4606d3100..9d2772964 100644
--- a/packages/app/src/locales/ar/messages.json
+++ b/packages/app/src/locales/ar/messages.json
@@ -349,6 +349,11 @@
"3l_cXP": ["ألقِ نظرة إن أردت. هذا الملف بعينه هو ما نستلمه."],
"3m2GBo": ["يجري البحث في المستندات"],
"3mFsc3": ["الاستعادة مع تغييرات المستودع البعيد"],
+ "3nICSW": [
+ "يضيف إدخال MCP الخاص بـ OpenKnowledge ومهارة المشروع إلى <0>",
+ ["toolList"],
+ "</0>، ليتمكن وكلاؤك من قراءة ملفاتك وتحريرها."
+ ],
"3nnyi_": [
[
"0",
@@ -407,11 +412,6 @@
],
"4h3e0H": ["تعذّر تحديث مشاركة المهارات — ", ["detail"], "."],
"4hJhzz": ["جدول"],
- "4inh-4": [
- "يثبّت MCP الخاص بـ OpenKnowledge في ",
- ["0"],
- " ليتمكن وكلاؤك من قراءة ملفاتك وتحريرها."
- ],
"4ivBhl": ["بدّل لوحة الوكلاء اليمنى، حيث تعيش محادثات الوكلاء."],
"4jDd0j": ["يمكن لأي شخص الاطلاع"],
"4m-xuX": ["الإصلاح التلقائي — لا شيء لإصلاحه"],
@@ -1050,9 +1050,6 @@
"C0cll5": ["مثبَّت في ", ["0"], " — انقر للإزالة"],
"C0hoX6": ["مُدرج دائمًا"],
"C3Zc44": ["استكشاف المهارات"],
- "C4HK3A": [
- "يضيف إدخال MCP الخاص بـ OpenKnowledge ومهارة المشروع، حتى تتمكن كل أداة من قراءة هذه المستندات وتحديثها."
- ],
"C62P6b": ["تحديد المحرر"],
"C7PKTv": ["إرسال التعليقات المحددة إلى المحادثة"],
"C7waqI": [
@@ -1854,7 +1851,6 @@
],
"LhWYpm": ["تُتتبَّع مسارات OK الأخرى في المستودع البعيد:"],
"Li4U-T": ["اعرف المزيد عن ", ["title"]],
- "LiAw2k": ["ما الذي يغيّره هذا"],
"LlHqdU": ["تجري تهيئة المشروع"],
"LlJ8LD": [
"لم تتغيّر مشاركة الإعدادات: يجري تتبّع ",
@@ -2384,6 +2380,11 @@
"RqSvT0": ["يجري الاستيراد"],
"RrAIZx": ["ما تشمله مشاركة الإعدادات"],
"Rsdhj9": ["تحذيرات الإعداد"],
+ "RvbTzC": [
+ "يضيف إدخال MCP الخاص بـ OpenKnowledge إلى <0>",
+ ["connectToolList"],
+ "</0>، ليتمكن وكلاؤك من قراءة ملفاتك وتحريرها."
+ ],
"Rx5ReQ": ["إعادة تسمية ", ["keyName"]],
"RxF-am": ["إسقاط المكرر"],
"RyIKxy": [
@@ -3932,7 +3933,6 @@
"j2kt1j": [
"افتح جلسة جديدة مع الذكاء الاصطناعي المفضّل لديك. مع تحديد نص، جهّزه هناك بدلًا من تشغيله."
],
- "j4SmVY": ["ربط ", ["0"], " بهذا المشروع"],
"j5CWO4": ["محدَّث"],
"j9Vqvc": ["موروث"],
"j9tqwO": ["ليس في الشريط الجانبي"],
@@ -4683,6 +4683,7 @@
"r7IaYp": ["Open Knowledge Format التوجيه"],
"r7tQuq": ["تقريرك محفوظ على هذا الحاسوب، فلم يُفقد شيء."],
"r871ed": ["أصبحت قاعدة معرفتك على GitHub في <0>", ["ownerLogin"], "/", ["repoName"], "</0>."],
+ "rCDe1d": ["اعرف المزيد عن مشاركة الإعدادات"],
"rDOuNw": ["فشل استيراد القالب"],
"rENNI6": ["رابط المشاركة غير صالح."],
"rFL-yb": ["تحرير نسخة"],
@@ -4935,6 +4936,7 @@
"uFQbYd": ["الصفحة الرئيسية ونقطة الدخول."],
"uGaIIS": ["سحب شجرة عمل"],
"uH_S-u": [["loadErrorTitle"], ": ", ["message"]],
+ "uIA8mX": ["يضيف هذه الملفات"],
"uJfwF8": ["مثبَّت بالفعل — لا شيء جديد لاستيراده."],
"uK2peg": [
"يتحقق من مشروعك مقابل Open Knowledge Format. قم بإيقاف تشغيله في أي وقت في الإعدادات."
@@ -5141,6 +5143,7 @@
"wXw19Y": ["أُزيل «", ["projectName"], "» من المشاريع الحديثة. لم يعد مجلده موجودًا."],
"wZPUJx": ["«", ["0"], "»"],
"w_Sphq": ["المرفقات"],
+ "waCGTy": ["ربط أدوات الذكاء الاصطناعي لديك بهذا المشروع"],
"wbMbiY": ["تم نسخ ", ["selectedSlot"]],
"wbpoGe": ["تعذّر تثبيت مهارة OpenKnowledge: ", ["message"]],
"wbv9xO": ["إنشاء مشروع جديد"],
diff --git a/packages/app/src/locales/ar/messages.po b/packages/app/src/locales/ar/messages.po
index 15f2b0bc9..d8c980afd 100644
--- a/packages/app/src/locales/ar/messages.po
+++ b/packages/app/src/locales/ar/messages.po
@@ -1459,8 +1459,13 @@ msgstr "يضيف كتلة مُدارة إلى {0}"
#. Subtext under the create-project AI-tools checkbox
#: src/components/CreateProjectDialog.tsx
-msgid "Adds an OpenKnowledge MCP entry and the project skill, so each tool can read and update these notes."
-msgstr "يضيف إدخال MCP الخاص بـ OpenKnowledge ومهارة المشروع، حتى تتمكن كل أداة من قراءة هذه المستندات وتحديثها."
+msgid "Adds an OpenKnowledge MCP entry and the project skill to <0>{toolList}</0>, so your agents can read and edit your files."
+msgstr "يضيف إدخال MCP الخاص بـ OpenKnowledge ومهارة المشروع إلى <0>{toolList}</0>، ليتمكن وكلاؤك من قراءة ملفاتك وتحريرها."
+
+#. Subtext under the AI-tools MCP checkbox
+#: src/components/McpConsentDialogBody.tsx
+msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."
+msgstr "يضيف إدخال MCP الخاص بـ OpenKnowledge إلى <0>{connectToolList}</0>، ليتمكن وكلاؤك من قراءة ملفاتك وتحريرها."
#: src/components/ReportBugDialogBody.tsx
msgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."
@@ -1475,6 +1480,10 @@ msgstr "يضيف مهارة OpenKnowledge إلى <0>تطبيق Claude Desktop</0
msgid "Adds the skill to {rootRel} — also read by {0}"
msgstr "يضيف المهارة إلى {rootRel} — يقرأها {0} أيضًا"
+#: src/components/CreateProjectDialog.tsx
+msgid "Adds these files"
+msgstr "يضيف هذه الملفات"
+
#: src/components/McpConsentDialogBody.tsx
msgid "Adds these folders"
msgstr "يضيف هذه المجلدات"
@@ -1484,7 +1493,6 @@ msgid "Advanced"
msgstr "متقدم"
#: src/components/ConsentDialogBody.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Advanced settings"
msgstr "إعدادات متقدمة"
@@ -2989,11 +2997,6 @@ msgstr "التعارضات"
msgid "Connect"
msgstr "اتصال"
-#. placeholder {0}: formatToolList( status.editors.map((id) => EDITOR_LABELS[id]), i18n.locale, )
-#: src/components/CreateProjectDialog.tsx
-msgid "Connect {0} to this project"
-msgstr "ربط {0} بهذا المشروع"
-
#: src/components/settings/AccountSection.tsx
msgid "Connect a GitHub account to browse and sync your repositories."
msgstr "اربط حساب GitHub لاستعراض مستودعاتك ومزامنتها."
@@ -3047,6 +3050,11 @@ msgstr "ربط الأدوات"
msgid "Connect your AI tools"
msgstr "اربط أدوات الذكاء الاصطناعي لديك"
+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the new project
+#: src/components/CreateProjectDialog.tsx
+msgid "Connect your AI tools to this project"
+msgstr "ربط أدوات الذكاء الاصطناعي لديك بهذا المشروع"
+
#. placeholder {0}: response.dimensions
#: src/components/settings/SearchSection.tsx
msgid "Connected — this endpoint returns {0}-dimension vectors."
@@ -6302,9 +6310,7 @@ msgstr "إخفاء المتقدم"
msgid "Hide Agents"
msgstr "إخفاء الوكلاء"
-#. Collapses the list of project files the AI-tool setup writes
#: src/components/acp/ThreadView.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Hide details"
msgstr "إخفاء التفاصيل"
@@ -6962,12 +6968,6 @@ msgstr "يجري التثبيت"
msgid "Installing {agentName}…"
msgstr "يجري تثبيت {agentName}…"
-#. Subtext under the AI-tools MCP checkbox
-#. placeholder {0}: formatToolList( editors.map((e) => e.label), i18n.locale, )
-#: src/components/McpConsentDialogBody.tsx
-msgid "Installs the OpenKnowledge MCP into {0} so your agents can read and edit your files."
-msgstr "يثبّت MCP الخاص بـ OpenKnowledge في {0} ليتمكن وكلاؤك من قراءة ملفاتك وتحريرها."
-
#: src/components/settings/SkillsStudioIntroDialog.tsx
#: src/components/SkillInstallConfirmDialog.tsx
msgid "Installs to"
@@ -7179,6 +7179,7 @@ msgid "Layout options"
msgstr "خيارات التخطيط"
#: src/components/settings/SettingsSectionHeader.tsx
+#: src/components/SharingModeField.tsx
msgid "Learn more"
msgstr "اعرف المزيد"
@@ -7186,6 +7187,10 @@ msgstr "اعرف المزيد"
msgid "Learn more about {title}"
msgstr "اعرف المزيد عن {title}"
+#: src/components/SharingModeField.tsx
+msgid "Learn more about config sharing"
+msgstr "اعرف المزيد عن مشاركة الإعدادات"
+
#: src/comments/comment-chips.tsx
msgid "Leave these comments out of this message"
msgstr "استبعد هذه التعليقات من هذه الرسالة"
@@ -14206,7 +14211,7 @@ msgid "Welcome to OpenKnowledge"
msgstr "مرحبًا بك في OpenKnowledge"
#. Button on each setup row that opens the list of files that row writes to
-#: src/components/McpConsentDialogBody.tsx
+#: src/components/RowDisclosure.tsx
msgid "What changes?"
msgstr "ما الذي سيتغيّر؟"
@@ -14250,11 +14255,6 @@ msgstr "ما الذي ينبغي أن يفعله الذكاء الاصطناعي
msgid "What the agent may read, write, and surface."
msgstr "ما يجوز للوكيل قراءته وكتابته وإظهاره."
-#. Expands the list of project files the AI-tool setup writes
-#: src/components/CreateProjectDialog.tsx
-msgid "What this changes"
-msgstr "ما الذي يغيّره هذا"
-
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
msgid "What this checkbox changes"
diff --git a/packages/app/src/locales/bn/messages.json b/packages/app/src/locales/bn/messages.json
index 341950573..9e8c889f1 100644
--- a/packages/app/src/locales/bn/messages.json
+++ b/packages/app/src/locales/bn/messages.json
@@ -308,6 +308,11 @@
"3l_cXP": ["ইচ্ছে করলে দেখে নিন। ঠিক এই ফাইলটিই আমরা পাই।"],
"3m2GBo": ["নথি খোঁজা হচ্ছে"],
"3mFsc3": ["রিমোটের পরিবর্তনসহ ফিরিয়ে আনুন"],
+ "3nICSW": [
+ "<0>",
+ ["toolList"],
+ "</0>-এ OpenKnowledge-এর MCP এন্ট্রি এবং প্রকল্প Skill যোগ করে, যাতে আপনার এজেন্ট আপনার ফাইল পড়তে ও সম্পাদনা করতে পারে।"
+ ],
"3nnyi_": [["0", "plural", { "one": ["মুছুন"], "other": ["#", " আইটেম মুছুন"] }]],
"3o3tur": ["শুরুর বিষয়বস্তু"],
"3oh0nQ": [["path"], "-এ নেস্টেড .okignore ত্রুটি"],
@@ -353,10 +358,6 @@
],
"4h3e0H": ["স্কিল ভাগাভাগি হালনাগাদ করা যায়নি — ", ["detail"], "।"],
"4hJhzz": ["টেবিল"],
- "4inh-4": [
- ["0"],
- "-এ OpenKnowledge MCP ইনস্টল করে, যাতে আপনার এজেন্ট আপনার ফাইল পড়তে ও সম্পাদনা করতে পারে।"
- ],
"4ivBhl": ["ডান দিকের এজেন্ট প্যানেল চালু বা বন্ধ করুন, যেখানে এজেন্টের কথোপকথন থাকে।"],
"4jDd0j": ["যে কেউ দেখতে পারে"],
"4m-xuX": ["স্বয়ংক্রিয় সংশোধন — ঠিক করার কিছু নেই"],
@@ -874,9 +875,6 @@
"C0cll5": [["0"], "-এ ইনস্টল করা — সরাতে ক্লিক করুন"],
"C0hoX6": ["সবসময় অন্তর্ভুক্ত"],
"C3Zc44": ["স্কিল ঘুরে দেখুন"],
- "C4HK3A": [
- "OpenKnowledge-এর MCP এন্ট্রি এবং প্রকল্প Skill যোগ করে, যাতে প্রতিটি টুল এই নথিগুলি পড়তে ও আপডেট করতে পারে।"
- ],
"C62P6b": ["সম্পাদকের নির্বাচন"],
"C7PKTv": ["চেক করা মন্তব্য আলাপে পাঠান"],
"C7waqI": [["0", "plural", { "one": ["#", " নথি"], "other": ["#", " নথি"] }]],
@@ -1559,7 +1557,6 @@
],
"LhWYpm": ["অন্য OK পথগুলো আপস্ট্রিমে হিসাবভুক্ত:"],
"Li4U-T": [["title"], " সম্পর্কে আরও জানুন"],
- "LiAw2k": ["এটি কী বদলায়"],
"LlHqdU": ["প্রকল্প চালু করা হচ্ছে"],
"LlJ8LD": [
"কনফিগ শেয়ারিং অপরিবর্তিত: আপস্ট্রিমে ",
@@ -2042,6 +2039,11 @@
"RqSvT0": ["আমদানি করা হচ্ছে"],
"RrAIZx": ["কনফিগ ভাগাভাগি যা যা ঢাকে"],
"Rsdhj9": ["কনফিগারেশন সতর্কতা"],
+ "RvbTzC": [
+ "<0>",
+ ["connectToolList"],
+ "</0>-এ OpenKnowledge-এর MCP এন্ট্রি যোগ করে, যাতে আপনার এজেন্ট আপনার ফাইল পড়তে ও সম্পাদনা করতে পারে।"
+ ],
"Rx5ReQ": [["keyName"], "-এর নাম বদলান"],
"RxF-am": ["ডুপ্লিকেট বাদ"],
"RyIKxy": [
@@ -3336,7 +3338,6 @@
"j2kt1j": [
"আপনার পছন্দের AI দিয়ে একটি নতুন সেশন খুলুন। লেখা নির্বাচিত থাকলে সেটি চালানোর বদলে সেখানে প্রস্তুত রাখুন।"
],
- "j4SmVY": [["0"], "-কে এই প্রকল্পের সঙ্গে যুক্ত করুন"],
"j5CWO4": ["হালনাগাদ"],
"j9Vqvc": ["উত্তরাধিকারসূত্রে পাওয়া"],
"j9tqwO": ["সাইডবারে নেই"],
@@ -3966,6 +3967,7 @@
"r7IaYp": ["Open Knowledge Format নির্দেশিকা"],
"r7tQuq": ["আপনার রিপোর্ট এই কম্পিউটারে সংরক্ষিত আছে, তাই কিছুই হারায়নি।"],
"r871ed": ["আপনার জ্ঞানভাণ্ডার এখন GitHub-এ <0>", ["ownerLogin"], "/", ["repoName"], "</0>-এ আছে।"],
+ "rCDe1d": ["কনফিগ ভাগাভাগি সম্পর্কে আরও জানুন"],
"rDOuNw": ["টেমপ্লেট আমদানি করতে ব্যর্থ"],
"rENNI6": ["শেয়ার URL সঠিক নয়।"],
"rFL-yb": ["একটি অনুলিপি সম্পাদনা করুন"],
@@ -4185,6 +4187,7 @@
"uFQbYd": ["মূল পাতা ও প্রবেশবিন্দু।"],
"uGaIIS": ["ওয়ার্কট্রি চেক আউট করুন"],
"uH_S-u": [["loadErrorTitle"], ": ", ["message"]],
+ "uIA8mX": ["এই ফাইলগুলো যোগ করে"],
"uJfwF8": ["আগে থেকেই ইনস্টল করা — আমদানি করার নতুন কিছু নেই।"],
"uK2peg": [
"Open Knowledge Format এর বিরুদ্ধে আপনার প্রকল্প পরীক্ষা করে। সেটিংস থেকে যেকোনো সময় এটি বন্ধ করুন।"
@@ -4352,6 +4355,7 @@
"wXw19Y": ["\"", ["projectName"], "\"-কে সাম্প্রতিক প্রকল্প থেকে সরানো হয়েছে। এর ফোল্ডারটি আর নেই।"],
"wZPUJx": ["“", ["0"], "”"],
"w_Sphq": ["সংযুক্তি"],
+ "waCGTy": ["আপনার AI টুলগুলিকে এই প্রকল্পের সঙ্গে যুক্ত করুন"],
"wbMbiY": [["selectedSlot"], " কপি করা হয়েছে"],
"wbpoGe": ["OpenKnowledge স্কিল ইনস্টল করা যায়নি: ", ["message"]],
"wbv9xO": ["নতুন প্রকল্প তৈরি করুন"],
diff --git a/packages/app/src/locales/bn/messages.po b/packages/app/src/locales/bn/messages.po
index 8f4d5f12d..fe94ec4d6 100644
--- a/packages/app/src/locales/bn/messages.po
+++ b/packages/app/src/locales/bn/messages.po
@@ -1455,8 +1455,13 @@ msgstr "{0}-এ একটি পরিচালিত ব্লক যোগ ক
#. Subtext under the create-project AI-tools checkbox
#: src/components/CreateProjectDialog.tsx
-msgid "Adds an OpenKnowledge MCP entry and the project skill, so each tool can read and update these notes."
-msgstr "OpenKnowledge-এর MCP এন্ট্রি এবং প্রকল্প Skill যোগ করে, যাতে প্রতিটি টুল এই নথিগুলি পড়তে ও আপডেট করতে পারে।"
+msgid "Adds an OpenKnowledge MCP entry and the project skill to <0>{toolList}</0>, so your agents can read and edit your files."
+msgstr "<0>{toolList}</0>-এ OpenKnowledge-এর MCP এন্ট্রি এবং প্রকল্প Skill যোগ করে, যাতে আপনার এজেন্ট আপনার ফাইল পড়তে ও সম্পাদনা করতে পারে।"
+
+#. Subtext under the AI-tools MCP checkbox
+#: src/components/McpConsentDialogBody.tsx
+msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."
+msgstr "<0>{connectToolList}</0>-এ OpenKnowledge-এর MCP এন্ট্রি যোগ করে, যাতে আপনার এজেন্ট আপনার ফাইল পড়তে ও সম্পাদনা করতে পারে।"
#: src/components/ReportBugDialogBody.tsx
msgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."
@@ -1471,6 +1476,10 @@ msgstr "OpenKnowledge স্কিলটি <0>Claude Desktop App</0>-এ যো
msgid "Adds the skill to {rootRel} — also read by {0}"
msgstr "স্কিলটি {rootRel}-এ যোগ করে — যা {0}-ও পড়ে"
+#: src/components/CreateProjectDialog.tsx
+msgid "Adds these files"
+msgstr "এই ফাইলগুলো যোগ করে"
+
#: src/components/McpConsentDialogBody.tsx
msgid "Adds these folders"
msgstr "এই ফোল্ডারগুলো যোগ করে"
@@ -1480,7 +1489,6 @@ msgid "Advanced"
msgstr "উন্নত"
#: src/components/ConsentDialogBody.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Advanced settings"
msgstr "উন্নত সেটিং"
@@ -2985,11 +2993,6 @@ msgstr "দ্বন্দ্ব"
msgid "Connect"
msgstr "যুক্ত করুন"
-#. placeholder {0}: formatToolList( status.editors.map((id) => EDITOR_LABELS[id]), i18n.locale, )
-#: src/components/CreateProjectDialog.tsx
-msgid "Connect {0} to this project"
-msgstr "{0}-কে এই প্রকল্পের সঙ্গে যুক্ত করুন"
-
#: src/components/settings/AccountSection.tsx
msgid "Connect a GitHub account to browse and sync your repositories."
msgstr "আপনার রিপোজিটরি ব্রাউজ ও সিঙ্ক করতে একটি GitHub অ্যাকাউন্ট যুক্ত করুন।"
@@ -3043,6 +3046,11 @@ msgstr "টুল যুক্ত করুন"
msgid "Connect your AI tools"
msgstr "আপনার AI টুল যুক্ত করুন"
+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the new project
+#: src/components/CreateProjectDialog.tsx
+msgid "Connect your AI tools to this project"
+msgstr "আপনার AI টুলগুলিকে এই প্রকল্পের সঙ্গে যুক্ত করুন"
+
#. placeholder {0}: response.dimensions
#: src/components/settings/SearchSection.tsx
msgid "Connected — this endpoint returns {0}-dimension vectors."
@@ -6298,9 +6306,7 @@ msgstr "উন্নত লুকান"
msgid "Hide Agents"
msgstr "Agents লুকান"
-#. Collapses the list of project files the AI-tool setup writes
#: src/components/acp/ThreadView.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Hide details"
msgstr "বিবরণ লুকান"
@@ -6958,12 +6964,6 @@ msgstr "ইনস্টল করা হচ্ছে"
msgid "Installing {agentName}…"
msgstr "{agentName} ইনস্টল করা হচ্ছে…"
-#. Subtext under the AI-tools MCP checkbox
-#. placeholder {0}: formatToolList( editors.map((e) => e.label), i18n.locale, )
-#: src/components/McpConsentDialogBody.tsx
-msgid "Installs the OpenKnowledge MCP into {0} so your agents can read and edit your files."
-msgstr "{0}-এ OpenKnowledge MCP ইনস্টল করে, যাতে আপনার এজেন্ট আপনার ফাইল পড়তে ও সম্পাদনা করতে পারে।"
-
#: src/components/settings/SkillsStudioIntroDialog.tsx
#: src/components/SkillInstallConfirmDialog.tsx
msgid "Installs to"
@@ -7175,6 +7175,7 @@ msgid "Layout options"
msgstr "বিন্যাসের বিকল্প"
#: src/components/settings/SettingsSectionHeader.tsx
+#: src/components/SharingModeField.tsx
msgid "Learn more"
msgstr "আরও জানুন"
@@ -7182,6 +7183,10 @@ msgstr "আরও জানুন"
msgid "Learn more about {title}"
msgstr "{title} সম্পর্কে আরও জানুন"
+#: src/components/SharingModeField.tsx
+msgid "Learn more about config sharing"
+msgstr "কনফিগ ভাগাভাগি সম্পর্কে আরও জানুন"
+
#: src/comments/comment-chips.tsx
msgid "Leave these comments out of this message"
msgstr "এই মন্তব্যগুলো এই বার্তার বাইরে রাখুন"
@@ -14202,7 +14207,7 @@ msgid "Welcome to OpenKnowledge"
msgstr "OpenKnowledge-এ স্বাগতম"
#. Button on each setup row that opens the list of files that row writes to
-#: src/components/McpConsentDialogBody.tsx
+#: src/components/RowDisclosure.tsx
msgid "What changes?"
msgstr "কী পরিবর্তন হয়?"
@@ -14246,11 +14251,6 @@ msgstr "AI-এর কী করা উচিত? (ঐচ্ছিক)"
msgid "What the agent may read, write, and surface."
msgstr "এজেন্ট কী পড়তে, লিখতে ও সামনে আনতে পারে।"
-#. Expands the list of project files the AI-tool setup writes
-#: src/components/CreateProjectDialog.tsx
-msgid "What this changes"
-msgstr "এটি কী বদলায়"
-
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
msgid "What this checkbox changes"
diff --git a/packages/app/src/locales/en/messages.json b/packages/app/src/locales/en/messages.json
index a6c305816..fe57fab4b 100644
--- a/packages/app/src/locales/en/messages.json
+++ b/packages/app/src/locales/en/messages.json
@@ -313,6 +313,11 @@
"3l_cXP": ["Take a look if you'd like. This exact file is what we receive."],
"3m2GBo": ["Searching docs"],
"3mFsc3": ["Restore with remote changes"],
+ "3nICSW": [
+ "Adds an OpenKnowledge MCP entry and the project skill to <0>",
+ ["toolList"],
+ "</0>, so your agents can read and edit your files."
+ ],
"3nnyi_": [["0", "plural", { "one": ["Delete"], "other": ["Delete ", "#", " items"] }]],
"3o3tur": ["Starter content"],
"3oh0nQ": ["Nested .okignore error in ", ["path"]],
@@ -358,11 +363,6 @@
],
"4h3e0H": ["Couldn't update skills sharing — ", ["detail"], "."],
"4hJhzz": ["Table"],
- "4inh-4": [
- "Installs the OpenKnowledge MCP into ",
- ["0"],
- " so your agents can read and edit your files."
- ],
"4ivBhl": ["Toggle the right agents panel, where agent conversations live."],
"4jDd0j": ["Anyone can see"],
"4m-xuX": ["Auto-fix — nothing to fix"],
@@ -905,9 +905,6 @@
"C0cll5": ["Installed at ", ["0"], " — click to remove"],
"C0hoX6": ["Always included"],
"C3Zc44": ["Explore skills"],
- "C4HK3A": [
- "Adds an OpenKnowledge MCP entry and the project skill, so each tool can read and update these notes."
- ],
"C62P6b": ["Editor selection"],
"C7PKTv": ["Send checked comments to chat"],
"C7waqI": [["0", "plural", { "one": ["#", " document"], "other": ["#", " documents"] }]],
@@ -1605,7 +1602,6 @@
],
"LhWYpm": ["Other OK paths are tracked upstream:"],
"Li4U-T": ["Learn more about ", ["title"]],
- "LiAw2k": ["What this changes"],
"LlHqdU": ["Initializing project"],
"LlJ8LD": [
"Config sharing unchanged: ",
@@ -2093,6 +2089,11 @@
"RqSvT0": ["Importing"],
"RrAIZx": ["What config sharing covers"],
"Rsdhj9": ["Configuration warnings"],
+ "RvbTzC": [
+ "Adds an OpenKnowledge MCP entry to <0>",
+ ["connectToolList"],
+ "</0>, so your agents can read and edit your files."
+ ],
"Rx5ReQ": ["Rename ", ["keyName"]],
"RxF-am": ["Duplicates dropped"],
"RyIKxy": [
@@ -3437,7 +3438,6 @@
"j2kt1j": [
"Open a new session with your preferred AI. With text selected, stage it there instead of running it."
],
- "j4SmVY": ["Connect ", ["0"], " to this project"],
"j5CWO4": ["Up to date"],
"j9Vqvc": ["inherited"],
"j9tqwO": ["Not in sidebar"],
@@ -4097,6 +4097,7 @@
["repoName"],
"</0>."
],
+ "rCDe1d": ["Learn more about config sharing"],
"rDOuNw": ["Failed to import template"],
"rENNI6": ["Invalid share URL."],
"rFL-yb": ["Edit a copy"],
@@ -4324,6 +4325,7 @@
"uFQbYd": ["Home page and entry point."],
"uGaIIS": ["Check out worktree"],
"uH_S-u": [["loadErrorTitle"], ": ", ["message"]],
+ "uIA8mX": ["Adds these files"],
"uJfwF8": ["Already installed — nothing new to import."],
"uK2peg": [
"Checks your project against the Open Knowledge Format. Turn it off any time in Settings."
@@ -4503,6 +4505,7 @@
],
"wZPUJx": ["\"", ["0"], "\""],
"w_Sphq": ["Attachments"],
+ "waCGTy": ["Connect your AI tools to this project"],
"wbMbiY": ["Copied ", ["selectedSlot"]],
"wbpoGe": ["Couldn't install OpenKnowledge skill — ", ["message"]],
"wbv9xO": ["Create new project"],
diff --git a/packages/app/src/locales/en/messages.po b/packages/app/src/locales/en/messages.po
index 28bd48dce..a48347373 100644
--- a/packages/app/src/locales/en/messages.po
+++ b/packages/app/src/locales/en/messages.po
@@ -1459,8 +1459,13 @@ msgstr "Adds a managed block to {0}"
#. Subtext under the create-project AI-tools checkbox
#: src/components/CreateProjectDialog.tsx
-msgid "Adds an OpenKnowledge MCP entry and the project skill, so each tool can read and update these notes."
-msgstr "Adds an OpenKnowledge MCP entry and the project skill, so each tool can read and update these notes."
+msgid "Adds an OpenKnowledge MCP entry and the project skill to <0>{toolList}</0>, so your agents can read and edit your files."
+msgstr "Adds an OpenKnowledge MCP entry and the project skill to <0>{toolList}</0>, so your agents can read and edit your files."
+
+#. Subtext under the AI-tools MCP checkbox
+#: src/components/McpConsentDialogBody.tsx
+msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."
+msgstr "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."
#: src/components/ReportBugDialogBody.tsx
msgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."
@@ -1475,6 +1480,10 @@ msgstr "Adds the OpenKnowledge skill to the <0>Claude Desktop App</0> so it's av
msgid "Adds the skill to {rootRel} — also read by {0}"
msgstr "Adds the skill to {rootRel} — also read by {0}"
+#: src/components/CreateProjectDialog.tsx
+msgid "Adds these files"
+msgstr "Adds these files"
+
#: src/components/McpConsentDialogBody.tsx
msgid "Adds these folders"
msgstr "Adds these folders"
@@ -1484,7 +1493,6 @@ msgid "Advanced"
msgstr "Advanced"
#: src/components/ConsentDialogBody.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Advanced settings"
msgstr "Advanced settings"
@@ -2989,11 +2997,6 @@ msgstr "Conflicts"
msgid "Connect"
msgstr "Connect"
-#. placeholder {0}: formatToolList( status.editors.map((id) => EDITOR_LABELS[id]), i18n.locale, )
-#: src/components/CreateProjectDialog.tsx
-msgid "Connect {0} to this project"
-msgstr "Connect {0} to this project"
-
#: src/components/settings/AccountSection.tsx
msgid "Connect a GitHub account to browse and sync your repositories."
msgstr "Connect a GitHub account to browse and sync your repositories."
@@ -3047,6 +3050,11 @@ msgstr "Connect tools"
msgid "Connect your AI tools"
msgstr "Connect your AI tools"
+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the new project
+#: src/components/CreateProjectDialog.tsx
+msgid "Connect your AI tools to this project"
+msgstr "Connect your AI tools to this project"
+
#. placeholder {0}: response.dimensions
#: src/components/settings/SearchSection.tsx
msgid "Connected — this endpoint returns {0}-dimension vectors."
@@ -6302,9 +6310,7 @@ msgstr "Hide advanced"
msgid "Hide Agents"
msgstr "Hide Agents"
-#. Collapses the list of project files the AI-tool setup writes
#: src/components/acp/ThreadView.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Hide details"
msgstr "Hide details"
@@ -6962,12 +6968,6 @@ msgstr "Installing"
msgid "Installing {agentName}…"
msgstr "Installing {agentName}…"
-#. Subtext under the AI-tools MCP checkbox
-#. placeholder {0}: formatToolList( editors.map((e) => e.label), i18n.locale, )
-#: src/components/McpConsentDialogBody.tsx
-msgid "Installs the OpenKnowledge MCP into {0} so your agents can read and edit your files."
-msgstr "Installs the OpenKnowledge MCP into {0} so your agents can read and edit your files."
-
#: src/components/settings/SkillsStudioIntroDialog.tsx
#: src/components/SkillInstallConfirmDialog.tsx
msgid "Installs to"
@@ -7179,6 +7179,7 @@ msgid "Layout options"
msgstr "Layout options"
#: src/components/settings/SettingsSectionHeader.tsx
+#: src/components/SharingModeField.tsx
msgid "Learn more"
msgstr "Learn more"
@@ -7186,6 +7187,10 @@ msgstr "Learn more"
msgid "Learn more about {title}"
msgstr "Learn more about {title}"
+#: src/components/SharingModeField.tsx
+msgid "Learn more about config sharing"
+msgstr "Learn more about config sharing"
+
#: src/comments/comment-chips.tsx
msgid "Leave these comments out of this message"
msgstr "Leave these comments out of this message"
@@ -14206,7 +14211,7 @@ msgid "Welcome to OpenKnowledge"
msgstr "Welcome to OpenKnowledge"
#. Button on each setup row that opens the list of files that row writes to
-#: src/components/McpConsentDialogBody.tsx
+#: src/components/RowDisclosure.tsx
msgid "What changes?"
msgstr "What changes?"
@@ -14250,11 +14255,6 @@ msgstr "What should the AI do? (optional)"
msgid "What the agent may read, write, and surface."
msgstr "What the agent may read, write, and surface."
-#. Expands the list of project files the AI-tool setup writes
-#: src/components/CreateProjectDialog.tsx
-msgid "What this changes"
-msgstr "What this changes"
-
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
msgid "What this checkbox changes"
diff --git a/packages/app/src/locales/es/messages.json b/packages/app/src/locales/es/messages.json
index 30ce48ce9..fa6722ffc 100644
--- a/packages/app/src/locales/es/messages.json
+++ b/packages/app/src/locales/es/messages.json
@@ -354,6 +354,11 @@
"3l_cXP": ["Échale un vistazo si quieres. Este archivo exacto es lo que recibimos."],
"3m2GBo": ["Buscando documentos"],
"3mFsc3": ["Restaurar con los cambios remotos"],
+ "3nICSW": [
+ "Añade una entrada MCP de OpenKnowledge y la habilidad del proyecto a <0>",
+ ["toolList"],
+ "</0> para que tus agentes puedan leer y editar tus archivos."
+ ],
"3nnyi_": [
[
"0",
@@ -413,11 +418,6 @@
],
"4h3e0H": ["No se pudo actualizar la compartición de habilidades: ", ["detail"], "."],
"4hJhzz": ["Tabla"],
- "4inh-4": [
- "Instala el MCP de OpenKnowledge en ",
- ["0"],
- " para que tus agentes puedan leer y editar tus archivos."
- ],
"4ivBhl": [
"Muestra u oculta el panel derecho de agentes, donde viven las conversaciones con agentes."
],
@@ -1064,9 +1064,6 @@
"C0cll5": ["Instalado en ", ["0"], ": haz clic para quitarlo"],
"C0hoX6": ["Siempre incluido"],
"C3Zc44": ["Explorar habilidades"],
- "C4HK3A": [
- "Añade una entrada MCP de OpenKnowledge y la habilidad del proyecto, para que cada herramienta pueda leer y actualizar estos documentos."
- ],
"C62P6b": ["Selección del editor"],
"C7PKTv": ["Enviar los comentarios marcados al chat"],
"C7waqI": [
@@ -1877,7 +1874,6 @@
],
"LhWYpm": ["Hay otras rutas OK seguidas en el remoto:"],
"Li4U-T": ["Más información sobre ", ["title"]],
- "LiAw2k": ["Qué cambia esto"],
"LlHqdU": ["Inicializando el proyecto"],
"LlJ8LD": [
"El uso compartido de la configuración no cambió: ",
@@ -2409,6 +2405,11 @@
"RqSvT0": ["Importando"],
"RrAIZx": ["Qué abarca compartir la configuración"],
"Rsdhj9": ["Advertencias de configuración"],
+ "RvbTzC": [
+ "Añade una entrada MCP de OpenKnowledge a <0>",
+ ["connectToolList"],
+ "</0> para que tus agentes puedan leer y editar tus archivos."
+ ],
"Rx5ReQ": ["Renombrar ", ["keyName"]],
"RxF-am": ["Duplicados descartados"],
"RyIKxy": [
@@ -4014,7 +4015,6 @@
"j2kt1j": [
"Abre una sesión nueva con tu IA preferida. Con texto seleccionado, lo prepara ahí en lugar de ejecutarlo."
],
- "j4SmVY": ["Conectar ", ["0"], " a este proyecto"],
"j5CWO4": ["Al día"],
"j9Vqvc": ["heredado"],
"j9tqwO": ["No está en la barra lateral"],
@@ -4753,6 +4753,7 @@
["repoName"],
"</0>."
],
+ "rCDe1d": ["Más información sobre compartir configuración"],
"rDOuNw": ["No se pudo importar la plantilla"],
"rENNI6": ["URL para compartir no válida."],
"rFL-yb": ["Editar una copia"],
@@ -5004,6 +5005,7 @@
"uFQbYd": ["Página de inicio y punto de entrada."],
"uGaIIS": ["Extraer worktree"],
"uH_S-u": [["loadErrorTitle"], ": ", ["message"]],
+ "uIA8mX": ["Añade estos archivos"],
"uJfwF8": ["Ya está instalado: no hay nada nuevo que importar."],
"uK2peg": [
"Comprueba tu proyecto con Open Knowledge Format. Puedes desactivarlo en cualquier momento en Configuración."
@@ -5213,6 +5215,7 @@
],
"wZPUJx": ["«", ["0"], "»"],
"w_Sphq": ["Adjuntos"],
+ "waCGTy": ["Conectar tus herramientas de IA a este proyecto"],
"wbMbiY": ["Se copió ", ["selectedSlot"]],
"wbpoGe": ["No se pudo instalar la habilidad de OpenKnowledge: ", ["message"]],
"wbv9xO": ["Crear proyecto"],
diff --git a/packages/app/src/locales/es/messages.po b/packages/app/src/locales/es/messages.po
index 8b03741a9..315ff2c9b 100644
--- a/packages/app/src/locales/es/messages.po
+++ b/packages/app/src/locales/es/messages.po
@@ -1459,8 +1459,13 @@ msgstr "Añade un bloque gestionado a {0}"
#. Subtext under the create-project AI-tools checkbox
#: src/components/CreateProjectDialog.tsx
-msgid "Adds an OpenKnowledge MCP entry and the project skill, so each tool can read and update these notes."
-msgstr "Añade una entrada MCP de OpenKnowledge y la habilidad del proyecto, para que cada herramienta pueda leer y actualizar estos documentos."
+msgid "Adds an OpenKnowledge MCP entry and the project skill to <0>{toolList}</0>, so your agents can read and edit your files."
+msgstr "Añade una entrada MCP de OpenKnowledge y la habilidad del proyecto a <0>{toolList}</0> para que tus agentes puedan leer y editar tus archivos."
+
+#. Subtext under the AI-tools MCP checkbox
+#: src/components/McpConsentDialogBody.tsx
+msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."
+msgstr "Añade una entrada MCP de OpenKnowledge a <0>{connectToolList}</0> para que tus agentes puedan leer y editar tus archivos."
#: src/components/ReportBugDialogBody.tsx
msgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."
@@ -1475,6 +1480,10 @@ msgstr "Añade la habilidad de OpenKnowledge a la <0>aplicación Claude Desktop<
msgid "Adds the skill to {rootRel} — also read by {0}"
msgstr "Añade la habilidad a {rootRel}, que también lee {0}"
+#: src/components/CreateProjectDialog.tsx
+msgid "Adds these files"
+msgstr "Añade estos archivos"
+
#: src/components/McpConsentDialogBody.tsx
msgid "Adds these folders"
msgstr "Añade estas carpetas"
@@ -1484,7 +1493,6 @@ msgid "Advanced"
msgstr "Avanzado"
#: src/components/ConsentDialogBody.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Advanced settings"
msgstr "Ajustes avanzados"
@@ -2989,11 +2997,6 @@ msgstr "Conflictos"
msgid "Connect"
msgstr "Conectar"
-#. placeholder {0}: formatToolList( status.editors.map((id) => EDITOR_LABELS[id]), i18n.locale, )
-#: src/components/CreateProjectDialog.tsx
-msgid "Connect {0} to this project"
-msgstr "Conectar {0} a este proyecto"
-
#: src/components/settings/AccountSection.tsx
msgid "Connect a GitHub account to browse and sync your repositories."
msgstr "Conecta una cuenta de GitHub para explorar y sincronizar tus repositorios."
@@ -3047,6 +3050,11 @@ msgstr "Conectar herramientas"
msgid "Connect your AI tools"
msgstr "Conecta tus herramientas de IA"
+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the new project
+#: src/components/CreateProjectDialog.tsx
+msgid "Connect your AI tools to this project"
+msgstr "Conectar tus herramientas de IA a este proyecto"
+
#. placeholder {0}: response.dimensions
#: src/components/settings/SearchSection.tsx
msgid "Connected — this endpoint returns {0}-dimension vectors."
@@ -6302,9 +6310,7 @@ msgstr "Ocultar opciones avanzadas"
msgid "Hide Agents"
msgstr "Ocultar Agentes"
-#. Collapses the list of project files the AI-tool setup writes
#: src/components/acp/ThreadView.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Hide details"
msgstr "Ocultar detalles"
@@ -6962,12 +6968,6 @@ msgstr "Instalando"
msgid "Installing {agentName}…"
msgstr "Instalando {agentName}…"
-#. Subtext under the AI-tools MCP checkbox
-#. placeholder {0}: formatToolList( editors.map((e) => e.label), i18n.locale, )
-#: src/components/McpConsentDialogBody.tsx
-msgid "Installs the OpenKnowledge MCP into {0} so your agents can read and edit your files."
-msgstr "Instala el MCP de OpenKnowledge en {0} para que tus agentes puedan leer y editar tus archivos."
-
#: src/components/settings/SkillsStudioIntroDialog.tsx
#: src/components/SkillInstallConfirmDialog.tsx
msgid "Installs to"
@@ -7179,6 +7179,7 @@ msgid "Layout options"
msgstr "Opciones de diseño"
#: src/components/settings/SettingsSectionHeader.tsx
+#: src/components/SharingModeField.tsx
msgid "Learn more"
msgstr "Más información"
@@ -7186,6 +7187,10 @@ msgstr "Más información"
msgid "Learn more about {title}"
msgstr "Más información sobre {title}"
+#: src/components/SharingModeField.tsx
+msgid "Learn more about config sharing"
+msgstr "Más información sobre compartir configuración"
+
#: src/comments/comment-chips.tsx
msgid "Leave these comments out of this message"
msgstr "Dejar estos comentarios fuera de este mensaje"
@@ -14206,7 +14211,7 @@ msgid "Welcome to OpenKnowledge"
msgstr "Te damos la bienvenida a OpenKnowledge"
#. Button on each setup row that opens the list of files that row writes to
-#: src/components/McpConsentDialogBody.tsx
+#: src/components/RowDisclosure.tsx
msgid "What changes?"
msgstr "¿Qué cambia?"
@@ -14250,11 +14255,6 @@ msgstr "¿Qué debería hacer la IA? (opcional)"
msgid "What the agent may read, write, and surface."
msgstr "Lo que el agente puede leer, escribir y mostrar."
-#. Expands the list of project files the AI-tool setup writes
-#: src/components/CreateProjectDialog.tsx
-msgid "What this changes"
-msgstr "Qué cambia esto"
-
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
msgid "What this checkbox changes"
diff --git a/packages/app/src/locales/fr/messages.json b/packages/app/src/locales/fr/messages.json
index d40e977ba..0e3e1f749 100644
--- a/packages/app/src/locales/fr/messages.json
+++ b/packages/app/src/locales/fr/messages.json
@@ -368,6 +368,11 @@
],
"3m2GBo": ["Recherche dans les documents"],
"3mFsc3": ["Restaurer avec les modifications distantes"],
+ "3nICSW": [
+ "Ajoute une entrée MCP OpenKnowledge et la compétence du projet à <0>",
+ ["toolList"],
+ "</0> pour que vos agents puissent lire et modifier vos fichiers."
+ ],
"3nnyi_": [
[
"0",
@@ -427,11 +432,6 @@
],
"4h3e0H": ["Impossible de mettre à jour le partage des compétences — ", ["detail"], "."],
"4hJhzz": ["Tableau"],
- "4inh-4": [
- "Installe le MCP OpenKnowledge dans ",
- ["0"],
- " pour que vos agents puissent lire et modifier vos fichiers."
- ],
"4ivBhl": [
"Affiche ou masque le panneau des agents, à droite, où résident les conversations d'agents."
],
@@ -1090,9 +1090,6 @@
"C0cll5": ["Installé dans ", ["0"], " — cliquez pour retirer"],
"C0hoX6": ["Toujours inclus"],
"C3Zc44": ["Explorer les compétences"],
- "C4HK3A": [
- "Ajoute une entrée MCP OpenKnowledge et la compétence du projet, pour que chaque outil puisse lire et mettre à jour ces documents."
- ],
"C62P6b": ["Sélection de l'éditeur"],
"C7PKTv": ["Envoyer les commentaires cochés dans la discussion"],
"C7waqI": [
@@ -1906,7 +1903,6 @@
],
"LhWYpm": ["D'autres chemins OK sont suivis en amont :"],
"Li4U-T": ["En savoir plus sur ", ["title"]],
- "LiAw2k": ["Ce que cela change"],
"LlHqdU": ["Initialisation du projet"],
"LlJ8LD": [
"Partage de la configuration inchangé : ",
@@ -2438,6 +2434,11 @@
"RqSvT0": ["Importation"],
"RrAIZx": ["Ce que couvre le partage de la configuration"],
"Rsdhj9": ["Avertissements de configuration"],
+ "RvbTzC": [
+ "Ajoute une entrée MCP OpenKnowledge à <0>",
+ ["connectToolList"],
+ "</0> pour que vos agents puissent lire et modifier vos fichiers."
+ ],
"Rx5ReQ": ["Renommer ", ["keyName"]],
"RxF-am": ["Doublons écartés"],
"RyIKxy": [
@@ -4040,7 +4041,6 @@
"j2kt1j": [
"Ouvre une nouvelle session avec l'IA de votre choix. Si du texte est sélectionné, il y est préparé au lieu d'être exécuté."
],
- "j4SmVY": ["Connecter ", ["0"], " à ce projet"],
"j5CWO4": ["À jour"],
"j9Vqvc": ["hérité"],
"j9tqwO": ["Pas dans la barre latérale"],
@@ -4803,6 +4803,7 @@
["repoName"],
"</0>."
],
+ "rCDe1d": ["En savoir plus sur le partage de la configuration"],
"rDOuNw": ["Échec de l'importation du modèle"],
"rENNI6": ["URL de partage non valide."],
"rFL-yb": ["Modifier une copie"],
@@ -5055,6 +5056,7 @@
"uFQbYd": ["Page d'accueil et point d'entrée."],
"uGaIIS": ["Extraire le worktree"],
"uH_S-u": [["loadErrorTitle"], " : ", ["message"]],
+ "uIA8mX": ["Ajoute ces fichiers"],
"uJfwF8": ["Déjà installé — rien de nouveau à importer."],
"uK2peg": [
"Vérifie votre projet par rapport au Open Knowledge Format. Désactivez-le à tout moment dans Paramètres."
@@ -5264,6 +5266,7 @@
"wXw19Y": ["« ", ["projectName"], " » retiré des projets récents. Son dossier n'existe plus."],
"wZPUJx": ["« ", ["0"], " »"],
"w_Sphq": ["Pièces jointes"],
+ "waCGTy": ["Connecter vos outils d'IA à ce projet"],
"wbMbiY": ["Copie de ", ["selectedSlot"], " effectuée"],
"wbpoGe": ["Impossible d'installer la compétence OpenKnowledge : ", ["message"]],
"wbv9xO": ["Créer un projet"],
diff --git a/packages/app/src/locales/fr/messages.po b/packages/app/src/locales/fr/messages.po
index f187e6def..902b22c3b 100644
--- a/packages/app/src/locales/fr/messages.po
+++ b/packages/app/src/locales/fr/messages.po
@@ -1459,8 +1459,13 @@ msgstr "Ajoute un bloc géré à {0}"
#. Subtext under the create-project AI-tools checkbox
#: src/components/CreateProjectDialog.tsx
-msgid "Adds an OpenKnowledge MCP entry and the project skill, so each tool can read and update these notes."
-msgstr "Ajoute une entrée MCP OpenKnowledge et la compétence du projet, pour que chaque outil puisse lire et mettre à jour ces documents."
+msgid "Adds an OpenKnowledge MCP entry and the project skill to <0>{toolList}</0>, so your agents can read and edit your files."
+msgstr "Ajoute une entrée MCP OpenKnowledge et la compétence du projet à <0>{toolList}</0> pour que vos agents puissent lire et modifier vos fichiers."
+
+#. Subtext under the AI-tools MCP checkbox
+#: src/components/McpConsentDialogBody.tsx
+msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."
+msgstr "Ajoute une entrée MCP OpenKnowledge à <0>{connectToolList}</0> pour que vos agents puissent lire et modifier vos fichiers."
#: src/components/ReportBugDialogBody.tsx
msgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."
@@ -1475,6 +1480,10 @@ msgstr "Ajoute la compétence OpenKnowledge à l'<0>application Claude Desktop</
msgid "Adds the skill to {rootRel} — also read by {0}"
msgstr "Ajoute la compétence à {rootRel} — également lu par {0}"
+#: src/components/CreateProjectDialog.tsx
+msgid "Adds these files"
+msgstr "Ajoute ces fichiers"
+
#: src/components/McpConsentDialogBody.tsx
msgid "Adds these folders"
msgstr "Ajoute ces dossiers"
@@ -1484,7 +1493,6 @@ msgid "Advanced"
msgstr "Avancé"
#: src/components/ConsentDialogBody.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Advanced settings"
msgstr "Paramètres avancés"
@@ -2989,11 +2997,6 @@ msgstr "Conflits"
msgid "Connect"
msgstr "Connecter"
-#. placeholder {0}: formatToolList( status.editors.map((id) => EDITOR_LABELS[id]), i18n.locale, )
-#: src/components/CreateProjectDialog.tsx
-msgid "Connect {0} to this project"
-msgstr "Connecter {0} à ce projet"
-
#: src/components/settings/AccountSection.tsx
msgid "Connect a GitHub account to browse and sync your repositories."
msgstr "Connectez un compte GitHub pour parcourir et synchroniser vos dépôts."
@@ -3047,6 +3050,11 @@ msgstr "Connecter les outils"
msgid "Connect your AI tools"
msgstr "Connectez vos outils d'IA"
+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the new project
+#: src/components/CreateProjectDialog.tsx
+msgid "Connect your AI tools to this project"
+msgstr "Connecter vos outils d'IA à ce projet"
+
#. placeholder {0}: response.dimensions
#: src/components/settings/SearchSection.tsx
msgid "Connected — this endpoint returns {0}-dimension vectors."
@@ -6302,9 +6310,7 @@ msgstr "Masquer les options avancées"
msgid "Hide Agents"
msgstr "Masquer les agents"
-#. Collapses the list of project files the AI-tool setup writes
#: src/components/acp/ThreadView.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Hide details"
msgstr "Masquer les détails"
@@ -6962,12 +6968,6 @@ msgstr "Installation"
msgid "Installing {agentName}…"
msgstr "Installation de {agentName}…"
-#. Subtext under the AI-tools MCP checkbox
-#. placeholder {0}: formatToolList( editors.map((e) => e.label), i18n.locale, )
-#: src/components/McpConsentDialogBody.tsx
-msgid "Installs the OpenKnowledge MCP into {0} so your agents can read and edit your files."
-msgstr "Installe le MCP OpenKnowledge dans {0} pour que vos agents puissent lire et modifier vos fichiers."
-
#: src/components/settings/SkillsStudioIntroDialog.tsx
#: src/components/SkillInstallConfirmDialog.tsx
msgid "Installs to"
@@ -7179,6 +7179,7 @@ msgid "Layout options"
msgstr "Options de mise en page"
#: src/components/settings/SettingsSectionHeader.tsx
+#: src/components/SharingModeField.tsx
msgid "Learn more"
msgstr "En savoir plus"
@@ -7186,6 +7187,10 @@ msgstr "En savoir plus"
msgid "Learn more about {title}"
msgstr "En savoir plus sur {title}"
+#: src/components/SharingModeField.tsx
+msgid "Learn more about config sharing"
+msgstr "En savoir plus sur le partage de la configuration"
+
#: src/comments/comment-chips.tsx
msgid "Leave these comments out of this message"
msgstr "Ne pas inclure ces commentaires dans ce message"
@@ -14206,7 +14211,7 @@ msgid "Welcome to OpenKnowledge"
msgstr "Bienvenue dans OpenKnowledge"
#. Button on each setup row that opens the list of files that row writes to
-#: src/components/McpConsentDialogBody.tsx
+#: src/components/RowDisclosure.tsx
msgid "What changes?"
msgstr "Qu'est-ce qui change ?"
@@ -14250,11 +14255,6 @@ msgstr "Que doit faire l'IA ? (facultatif)"
msgid "What the agent may read, write, and surface."
msgstr "Ce que l'agent peut lire, écrire et faire remonter."
-#. Expands the list of project files the AI-tool setup writes
-#: src/components/CreateProjectDialog.tsx
-msgid "What this changes"
-msgstr "Ce que cela change"
-
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
msgid "What this checkbox changes"
diff --git a/packages/app/src/locales/hi/messages.json b/packages/app/src/locales/hi/messages.json
index deaa792cd..e09a42f8e 100644
--- a/packages/app/src/locales/hi/messages.json
+++ b/packages/app/src/locales/hi/messages.json
@@ -308,6 +308,11 @@
"3l_cXP": ["चाहें तो देख लें। हमें ठीक यही फ़ाइल मिलती है।"],
"3m2GBo": ["दस्तावेज़ खोजे जा रहे हैं"],
"3mFsc3": ["रिमोट बदलावों के साथ बहाल करें"],
+ "3nICSW": [
+ "<0>",
+ ["toolList"],
+ "</0> में OpenKnowledge की MCP प्रविष्टि और प्रोजेक्ट Skill जोड़ता है ताकि आपके एजेंट आपकी फ़ाइलें पढ़ और संपादित कर सकें।"
+ ],
"3nnyi_": [["0", "plural", { "one": ["मिटाएँ"], "other": ["#", " आइटम मिटाएँ"] }]],
"3o3tur": ["शुरुआती सामग्री"],
"3oh0nQ": [["path"], " में नेस्टेड .okignore त्रुटि"],
@@ -353,10 +358,6 @@
],
"4h3e0H": ["स्किल साझाकरण अपडेट नहीं किया जा सका — ", ["detail"], "."],
"4hJhzz": ["तालिका"],
- "4inh-4": [
- ["0"],
- " में OpenKnowledge MCP इंस्टॉल करता है ताकि आपके एजेंट आपकी फ़ाइलें पढ़ और संपादित कर सकें।"
- ],
"4ivBhl": ["दायाँ एजेंट पैनल चालू या बंद करें, जहाँ एजेंट की बातचीत रहती है।"],
"4jDd0j": ["कोई भी देख सकता है"],
"4m-xuX": ["स्वत: सुधार — ठीक करने को कुछ नहीं"],
@@ -878,9 +879,6 @@
"C0cll5": [["0"], " पर इंस्टॉल है — हटाने के लिए क्लिक करें"],
"C0hoX6": ["हमेशा शामिल"],
"C3Zc44": ["स्किल खोजें"],
- "C4HK3A": [
- "OpenKnowledge की MCP प्रविष्टि और प्रोजेक्ट Skill जोड़ता है, ताकि हर टूल इन दस्तावेज़ों को पढ़ और अपडेट कर सके।"
- ],
"C62P6b": ["संपादक चयन"],
"C7PKTv": ["चुनी हुई टिप्पणियाँ चैट में भेजें"],
"C7waqI": [["0", "plural", { "one": ["#", " दस्तावेज़"], "other": ["#", " दस्तावेज़"] }]],
@@ -1561,7 +1559,6 @@
],
"LhWYpm": ["अन्य OK पथ अपस्ट्रीम ट्रैक किए जाते हैं:"],
"Li4U-T": [["title"], " के बारे में और जानें"],
- "LiAw2k": ["यह क्या बदलता है"],
"LlHqdU": ["प्रोजेक्ट आरंभ किया जा रहा है"],
"LlJ8LD": [
"कॉन्फ़िग साझाकरण अपरिवर्तित है: अपस्ट्रीम में ",
@@ -2039,6 +2036,11 @@
"RqSvT0": ["आयात किया जा रहा है"],
"RrAIZx": ["कॉन्फ़िग साझाकरण में क्या आता है"],
"Rsdhj9": ["कॉन्फ़िगरेशन चेतावनियाँ"],
+ "RvbTzC": [
+ "<0>",
+ ["connectToolList"],
+ "</0> में OpenKnowledge की MCP प्रविष्टि जोड़ता है ताकि आपके एजेंट आपकी फ़ाइलें पढ़ और संपादित कर सकें।"
+ ],
"Rx5ReQ": [["keyName"], " का नाम बदलें"],
"RxF-am": ["डुप्लिकेट हटाए गए"],
"RyIKxy": [
@@ -3330,7 +3332,6 @@
"j2kt1j": [
"अपनी पसंदीदा AI के साथ एक नया सत्र खोलें। पाठ चयनित होने पर, उसे चलाने के बजाय वहीं तैयार रखें।"
],
- "j4SmVY": [["0"], " को इस प्रोजेक्ट से जोड़ें"],
"j5CWO4": ["अद्यतित"],
"j9Vqvc": ["विरासत में मिला"],
"j9tqwO": ["साइडबार में नहीं"],
@@ -3962,6 +3963,7 @@
"r7IaYp": ["Open Knowledge Format मार्गदर्शन"],
"r7tQuq": ["आपकी रिपोर्ट इस कंप्यूटर पर सेव है, इसलिए कुछ भी नहीं खोया।"],
"r871ed": ["आपका ज्ञान आधार अब GitHub पर <0>", ["ownerLogin"], "/", ["repoName"], "</0> पर है।"],
+ "rCDe1d": ["कॉन्फ़िग साझाकरण के बारे में और जानें"],
"rDOuNw": ["टेम्पलेट आयात करने में विफल"],
"rENNI6": ["साझा करने का URL अमान्य है।"],
"rFL-yb": ["एक प्रति संपादित करें"],
@@ -4181,6 +4183,7 @@
"uFQbYd": ["मुख्य पेज और प्रवेश बिंदु।"],
"uGaIIS": ["वर्कट्री चेक आउट करें"],
"uH_S-u": [["loadErrorTitle"], ": ", ["message"]],
+ "uIA8mX": ["ये फ़ाइलें जोड़ता है"],
"uJfwF8": ["पहले से इंस्टॉल है — आयात करने के लिए कुछ नया नहीं।"],
"uK2peg": [
"Open Knowledge Format के विरुद्ध आपके प्रोजेक्ट की जाँच करता है। किसी भी समय सेटिंग में जाकर इसे बंद कर दें."
@@ -4352,6 +4355,7 @@
],
"wZPUJx": ["“", ["0"], "”"],
"w_Sphq": ["संलग्नक"],
+ "waCGTy": ["अपने AI टूल को इस प्रोजेक्ट से जोड़ें"],
"wbMbiY": [["selectedSlot"], " कॉपी किया गया"],
"wbpoGe": ["OpenKnowledge स्किल इंस्टॉल नहीं हो सकी: ", ["message"]],
"wbv9xO": ["नया प्रोजेक्ट बनाएँ"],
diff --git a/packages/app/src/locales/hi/messages.po b/packages/app/src/locales/hi/messages.po
index 89a1312e2..3daaec04a 100644
--- a/packages/app/src/locales/hi/messages.po
+++ b/packages/app/src/locales/hi/messages.po
@@ -1455,8 +1455,13 @@ msgstr "{0} में एक प्रबंधित ब्लॉक जोड
#. Subtext under the create-project AI-tools checkbox
#: src/components/CreateProjectDialog.tsx
-msgid "Adds an OpenKnowledge MCP entry and the project skill, so each tool can read and update these notes."
-msgstr "OpenKnowledge की MCP प्रविष्टि और प्रोजेक्ट Skill जोड़ता है, ताकि हर टूल इन दस्तावेज़ों को पढ़ और अपडेट कर सके।"
+msgid "Adds an OpenKnowledge MCP entry and the project skill to <0>{toolList}</0>, so your agents can read and edit your files."
+msgstr "<0>{toolList}</0> में OpenKnowledge की MCP प्रविष्टि और प्रोजेक्ट Skill जोड़ता है ताकि आपके एजेंट आपकी फ़ाइलें पढ़ और संपादित कर सकें।"
+
+#. Subtext under the AI-tools MCP checkbox
+#: src/components/McpConsentDialogBody.tsx
+msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."
+msgstr "<0>{connectToolList}</0> में OpenKnowledge की MCP प्रविष्टि जोड़ता है ताकि आपके एजेंट आपकी फ़ाइलें पढ़ और संपादित कर सकें।"
#: src/components/ReportBugDialogBody.tsx
msgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."
@@ -1471,6 +1476,10 @@ msgstr "OpenKnowledge स्किल को <0>Claude Desktop App</0> में
msgid "Adds the skill to {rootRel} — also read by {0}"
msgstr "स्किल को {rootRel} में जोड़ता है — जिसे {0} भी पढ़ता है"
+#: src/components/CreateProjectDialog.tsx
+msgid "Adds these files"
+msgstr "ये फ़ाइलें जोड़ता है"
+
#: src/components/McpConsentDialogBody.tsx
msgid "Adds these folders"
msgstr "ये फ़ोल्डर जोड़ता है"
@@ -1480,7 +1489,6 @@ msgid "Advanced"
msgstr "उन्नत"
#: src/components/ConsentDialogBody.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Advanced settings"
msgstr "उन्नत सेटिंग"
@@ -2985,11 +2993,6 @@ msgstr "विरोध"
msgid "Connect"
msgstr "जोड़ें"
-#. placeholder {0}: formatToolList( status.editors.map((id) => EDITOR_LABELS[id]), i18n.locale, )
-#: src/components/CreateProjectDialog.tsx
-msgid "Connect {0} to this project"
-msgstr "{0} को इस प्रोजेक्ट से जोड़ें"
-
#: src/components/settings/AccountSection.tsx
msgid "Connect a GitHub account to browse and sync your repositories."
msgstr "अपनी रिपॉज़िटरी ब्राउज़ और सिंक करने के लिए कोई GitHub खाता जोड़ें।"
@@ -3043,6 +3046,11 @@ msgstr "टूल जोड़ें"
msgid "Connect your AI tools"
msgstr "अपने AI टूल जोड़ें"
+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the new project
+#: src/components/CreateProjectDialog.tsx
+msgid "Connect your AI tools to this project"
+msgstr "अपने AI टूल को इस प्रोजेक्ट से जोड़ें"
+
#. placeholder {0}: response.dimensions
#: src/components/settings/SearchSection.tsx
msgid "Connected — this endpoint returns {0}-dimension vectors."
@@ -6298,9 +6306,7 @@ msgstr "उन्नत छिपाएँ"
msgid "Hide Agents"
msgstr "Agents छिपाएँ"
-#. Collapses the list of project files the AI-tool setup writes
#: src/components/acp/ThreadView.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Hide details"
msgstr "विवरण छिपाएँ"
@@ -6958,12 +6964,6 @@ msgstr "इंस्टॉल किया जा रहा है"
msgid "Installing {agentName}…"
msgstr "{agentName} इंस्टॉल किया जा रहा है…"
-#. Subtext under the AI-tools MCP checkbox
-#. placeholder {0}: formatToolList( editors.map((e) => e.label), i18n.locale, )
-#: src/components/McpConsentDialogBody.tsx
-msgid "Installs the OpenKnowledge MCP into {0} so your agents can read and edit your files."
-msgstr "{0} में OpenKnowledge MCP इंस्टॉल करता है ताकि आपके एजेंट आपकी फ़ाइलें पढ़ और संपादित कर सकें।"
-
#: src/components/settings/SkillsStudioIntroDialog.tsx
#: src/components/SkillInstallConfirmDialog.tsx
msgid "Installs to"
@@ -7175,6 +7175,7 @@ msgid "Layout options"
msgstr "लेआउट विकल्प"
#: src/components/settings/SettingsSectionHeader.tsx
+#: src/components/SharingModeField.tsx
msgid "Learn more"
msgstr "और जानें"
@@ -7182,6 +7183,10 @@ msgstr "और जानें"
msgid "Learn more about {title}"
msgstr "{title} के बारे में और जानें"
+#: src/components/SharingModeField.tsx
+msgid "Learn more about config sharing"
+msgstr "कॉन्फ़िग साझाकरण के बारे में और जानें"
+
#: src/comments/comment-chips.tsx
msgid "Leave these comments out of this message"
msgstr "इन टिप्पणियों को इस संदेश से बाहर रखें"
@@ -14202,7 +14207,7 @@ msgid "Welcome to OpenKnowledge"
msgstr "OpenKnowledge में आपका स्वागत है"
#. Button on each setup row that opens the list of files that row writes to
-#: src/components/McpConsentDialogBody.tsx
+#: src/components/RowDisclosure.tsx
msgid "What changes?"
msgstr "क्या बदलता है?"
@@ -14246,11 +14251,6 @@ msgstr "AI को क्या करना चाहिए? (वैकल्प
msgid "What the agent may read, write, and surface."
msgstr "एजेंट क्या पढ़, लिख और सामने ला सकता है।"
-#. Expands the list of project files the AI-tool setup writes
-#: src/components/CreateProjectDialog.tsx
-msgid "What this changes"
-msgstr "यह क्या बदलता है"
-
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
msgid "What this checkbox changes"
diff --git a/packages/app/src/locales/id/messages.json b/packages/app/src/locales/id/messages.json
index 2a7d7be5f..dd9bf55a2 100644
--- a/packages/app/src/locales/id/messages.json
+++ b/packages/app/src/locales/id/messages.json
@@ -314,6 +314,11 @@
"3l_cXP": ["Silakan lihat kalau mau. Berkas persis inilah yang kami terima."],
"3m2GBo": ["Mencari dokumen"],
"3mFsc3": ["Pulihkan dengan perubahan remote"],
+ "3nICSW": [
+ "Menambahkan entri MCP OpenKnowledge dan keterampilan proyek ke <0>",
+ ["toolList"],
+ "</0> agar agen Anda dapat membaca dan mengedit berkas Anda."
+ ],
"3nnyi_": [["0", "plural", { "other": ["Hapus ", "#", " item"] }]],
"3o3tur": ["Isi awal"],
"3oh0nQ": ["Galat .okignore bersarang di ", ["path"]],
@@ -361,11 +366,6 @@
],
"4h3e0H": ["Berbagi keterampilan tidak bisa diperbarui — ", ["detail"], "."],
"4hJhzz": ["Tabel"],
- "4inh-4": [
- "Memasang MCP OpenKnowledge di ",
- ["0"],
- " agar agen Anda dapat membaca dan mengedit berkas Anda."
- ],
"4ivBhl": [
"Menampilkan atau menyembunyikan panel agen di kanan, tempat percakapan dengan agen berada."
],
@@ -894,9 +894,6 @@
"C0cll5": ["Terpasang di ", ["0"], " — klik untuk menghapus"],
"C0hoX6": ["Selalu disertakan"],
"C3Zc44": ["Jelajahi keterampilan"],
- "C4HK3A": [
- "Menambahkan entri MCP OpenKnowledge dan keterampilan proyek, sehingga setiap alat bisa membaca dan memperbarui dokumen ini."
- ],
"C62P6b": ["Pilihan penyunting"],
"C7PKTv": ["Kirim komentar yang dicentang ke obrolan"],
"C7waqI": [["0", "plural", { "other": ["#", " dokumen"] }]],
@@ -1621,7 +1618,6 @@
],
"LhWYpm": ["Ada jalur OK lain yang dilacak di remote:"],
"Li4U-T": ["Pelajari lebih lanjut tentang ", ["title"]],
- "LiAw2k": ["Apa yang berubah karena ini"],
"LlHqdU": ["Menginisialisasi proyek"],
"LlJ8LD": [
"Berbagi konfigurasi tidak berubah: ",
@@ -2099,6 +2095,11 @@
"RqSvT0": ["Mengimpor"],
"RrAIZx": ["Apa saja yang dicakup berbagi konfigurasi"],
"Rsdhj9": ["Peringatan konfigurasi"],
+ "RvbTzC": [
+ "Menambahkan entri MCP OpenKnowledge ke <0>",
+ ["connectToolList"],
+ "</0> agar agen Anda dapat membaca dan mengedit berkas Anda."
+ ],
"Rx5ReQ": ["Ganti nama ", ["keyName"]],
"RxF-am": ["Duplikat dibuang"],
"RyIKxy": [
@@ -3467,7 +3468,6 @@
"j2kt1j": [
"Membuka sesi baru dengan AI pilihan Anda. Dengan teks terpilih, teks itu disiapkan di sana alih-alih dijalankan."
],
- "j4SmVY": ["Hubungkan ", ["0"], " ke proyek ini"],
"j5CWO4": ["Sudah mutakhir"],
"j9Vqvc": ["diwarisi"],
"j9tqwO": ["Tidak ada di bilah sisi"],
@@ -4111,6 +4111,7 @@
["repoName"],
"</0>."
],
+ "rCDe1d": ["Pelajari lebih lanjut tentang berbagi konfigurasi"],
"rDOuNw": ["Gagal mengimpor templat"],
"rENNI6": ["URL berbagi tidak valid."],
"rFL-yb": ["Sunting salinan"],
@@ -4342,6 +4343,7 @@
"uFQbYd": ["Halaman utama dan titik masuk."],
"uGaIIS": ["Ambil worktree"],
"uH_S-u": [["loadErrorTitle"], ": ", ["message"]],
+ "uIA8mX": ["Menambahkan berkas ini"],
"uJfwF8": ["Sudah terpasang — tidak ada yang baru untuk diimpor."],
"uK2peg": [
"Periksa proyek Anda terhadap Open Knowledge Format. Matikan kapan saja di Pengaturan."
@@ -4509,6 +4511,7 @@
"wXw19Y": ["\"", ["projectName"], "\" dihapus dari proyek terbaru. Foldernya sudah tidak ada."],
"wZPUJx": ["“", ["0"], "”"],
"w_Sphq": ["Lampiran"],
+ "waCGTy": ["Hubungkan alat AI Anda ke proyek ini"],
"wbMbiY": [["selectedSlot"], " disalin"],
"wbpoGe": ["Tidak dapat memasang keterampilan OpenKnowledge: ", ["message"]],
"wbv9xO": ["Buat proyek baru"],
diff --git a/packages/app/src/locales/id/messages.po b/packages/app/src/locales/id/messages.po
index 7a04616e3..6696f87ad 100644
--- a/packages/app/src/locales/id/messages.po
+++ b/packages/app/src/locales/id/messages.po
@@ -1455,8 +1455,13 @@ msgstr "Menambahkan blok terkelola ke {0}"
#. Subtext under the create-project AI-tools checkbox
#: src/components/CreateProjectDialog.tsx
-msgid "Adds an OpenKnowledge MCP entry and the project skill, so each tool can read and update these notes."
-msgstr "Menambahkan entri MCP OpenKnowledge dan keterampilan proyek, sehingga setiap alat bisa membaca dan memperbarui dokumen ini."
+msgid "Adds an OpenKnowledge MCP entry and the project skill to <0>{toolList}</0>, so your agents can read and edit your files."
+msgstr "Menambahkan entri MCP OpenKnowledge dan keterampilan proyek ke <0>{toolList}</0> agar agen Anda dapat membaca dan mengedit berkas Anda."
+
+#. Subtext under the AI-tools MCP checkbox
+#: src/components/McpConsentDialogBody.tsx
+msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."
+msgstr "Menambahkan entri MCP OpenKnowledge ke <0>{connectToolList}</0> agar agen Anda dapat membaca dan mengedit berkas Anda."
#: src/components/ReportBugDialogBody.tsx
msgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."
@@ -1471,6 +1476,10 @@ msgstr "Menambahkan keterampilan OpenKnowledge ke <0>aplikasi Claude Desktop</0>
msgid "Adds the skill to {rootRel} — also read by {0}"
msgstr "Menambahkan keterampilan ke {rootRel} — juga dibaca oleh {0}"
+#: src/components/CreateProjectDialog.tsx
+msgid "Adds these files"
+msgstr "Menambahkan berkas ini"
+
#: src/components/McpConsentDialogBody.tsx
msgid "Adds these folders"
msgstr "Menambahkan folder ini"
@@ -1480,7 +1489,6 @@ msgid "Advanced"
msgstr "Lanjutan"
#: src/components/ConsentDialogBody.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Advanced settings"
msgstr "Pengaturan lanjutan"
@@ -2985,11 +2993,6 @@ msgstr "Konflik"
msgid "Connect"
msgstr "Hubungkan"
-#. placeholder {0}: formatToolList( status.editors.map((id) => EDITOR_LABELS[id]), i18n.locale, )
-#: src/components/CreateProjectDialog.tsx
-msgid "Connect {0} to this project"
-msgstr "Hubungkan {0} ke proyek ini"
-
#: src/components/settings/AccountSection.tsx
msgid "Connect a GitHub account to browse and sync your repositories."
msgstr "Hubungkan akun GitHub untuk menelusuri dan menyinkronkan repositori Anda."
@@ -3043,6 +3046,11 @@ msgstr "Hubungkan alat"
msgid "Connect your AI tools"
msgstr "Hubungkan alat AI Anda"
+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the new project
+#: src/components/CreateProjectDialog.tsx
+msgid "Connect your AI tools to this project"
+msgstr "Hubungkan alat AI Anda ke proyek ini"
+
#. placeholder {0}: response.dimensions
#: src/components/settings/SearchSection.tsx
msgid "Connected — this endpoint returns {0}-dimension vectors."
@@ -6298,9 +6306,7 @@ msgstr "Sembunyikan opsi lanjutan"
msgid "Hide Agents"
msgstr "Sembunyikan Agen"
-#. Collapses the list of project files the AI-tool setup writes
#: src/components/acp/ThreadView.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Hide details"
msgstr "Sembunyikan detail"
@@ -6958,12 +6964,6 @@ msgstr "Memasang"
msgid "Installing {agentName}…"
msgstr "Memasang {agentName}…"
-#. Subtext under the AI-tools MCP checkbox
-#. placeholder {0}: formatToolList( editors.map((e) => e.label), i18n.locale, )
-#: src/components/McpConsentDialogBody.tsx
-msgid "Installs the OpenKnowledge MCP into {0} so your agents can read and edit your files."
-msgstr "Memasang MCP OpenKnowledge di {0} agar agen Anda dapat membaca dan mengedit berkas Anda."
-
#: src/components/settings/SkillsStudioIntroDialog.tsx
#: src/components/SkillInstallConfirmDialog.tsx
msgid "Installs to"
@@ -7175,6 +7175,7 @@ msgid "Layout options"
msgstr "Opsi tata letak"
#: src/components/settings/SettingsSectionHeader.tsx
+#: src/components/SharingModeField.tsx
msgid "Learn more"
msgstr "Pelajari lebih lanjut"
@@ -7182,6 +7183,10 @@ msgstr "Pelajari lebih lanjut"
msgid "Learn more about {title}"
msgstr "Pelajari lebih lanjut tentang {title}"
+#: src/components/SharingModeField.tsx
+msgid "Learn more about config sharing"
+msgstr "Pelajari lebih lanjut tentang berbagi konfigurasi"
+
#: src/comments/comment-chips.tsx
msgid "Leave these comments out of this message"
msgstr "Jangan sertakan komentar ini dalam pesan ini"
@@ -14202,7 +14207,7 @@ msgid "Welcome to OpenKnowledge"
msgstr "Selamat datang di OpenKnowledge"
#. Button on each setup row that opens the list of files that row writes to
-#: src/components/McpConsentDialogBody.tsx
+#: src/components/RowDisclosure.tsx
msgid "What changes?"
msgstr "Apa yang berubah?"
@@ -14246,11 +14251,6 @@ msgstr "Apa yang harus dilakukan AI? (opsional)"
msgid "What the agent may read, write, and surface."
msgstr "Apa yang boleh dibaca, ditulis, dan ditampilkan agen."
-#. Expands the list of project files the AI-tool setup writes
-#: src/components/CreateProjectDialog.tsx
-msgid "What this changes"
-msgstr "Apa yang berubah karena ini"
-
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
msgid "What this checkbox changes"
diff --git a/packages/app/src/locales/ko/messages.json b/packages/app/src/locales/ko/messages.json
index 685d5ea60..cce786fce 100644
--- a/packages/app/src/locales/ko/messages.json
+++ b/packages/app/src/locales/ko/messages.json
@@ -301,6 +301,11 @@
"3l_cXP": ["원한다면 확인해 보세요. 수신하는 정확한 파일입니다."],
"3m2GBo": ["문서 검색 중"],
"3mFsc3": ["원격 변경 사항과 함께 복원"],
+ "3nICSW": [
+ "<0>",
+ ["toolList"],
+ "</0>에 OpenKnowledge MCP 항목과 프로젝트 스킬을 추가해 에이전트가 파일을 읽고 편집할 수 있게 합니다."
+ ],
"3nnyi_": [["0", "plural", { "other": ["#", "개 항목 삭제"] }]],
"3o3tur": ["시작 콘텐츠"],
"3oh0nQ": [["path"], "의 중첩된 .okignore 오류"],
@@ -346,10 +351,6 @@
],
"4h3e0H": ["스킬 공유를 업데이트하지 못했습니다: ", ["detail"], "."],
"4hJhzz": ["표"],
- "4inh-4": [
- ["0"],
- "에 OpenKnowledge MCP를 설치해 에이전트가 파일을 읽고 편집할 수 있게 합니다."
- ],
"4ivBhl": ["에이전트 대화가 표시되는 오른쪽 에이전트 패널 전환"],
"4jDd0j": ["누구나 볼 수 있음"],
"4m-xuX": ["자동 수정, 수정할 항목이 없습니다"],
@@ -862,9 +863,6 @@
"C0cll5": [["0"], "에 설치됨. 제거하려면 클릭"],
"C0hoX6": ["항상 포함"],
"C3Zc44": ["스킬 탐색"],
- "C4HK3A": [
- "OpenKnowledge MCP 항목과 프로젝트 스킬을 추가하여 각 도구가 이 문서를 읽고 업데이트할 수 있게 합니다."
- ],
"C62P6b": ["편집기 선택 영역"],
"C7PKTv": ["확인한 댓글을 채팅으로 보내기"],
"C7waqI": [["0", "plural", { "other": ["#", "개 문서"] }]],
@@ -1551,7 +1549,6 @@
],
"LhWYpm": ["다른 OK 경로는 upstream에서 추적됩니다:"],
"Li4U-T": [["title"], " 자세히 알아보기"],
- "LiAw2k": ["변경 내용"],
"LlHqdU": ["프로젝트 초기화 중"],
"LlJ8LD": [
"구성 공유 변경 없음: ",
@@ -2010,6 +2007,11 @@
"RqSvT0": ["가져오는 중"],
"RrAIZx": ["구성 공유에 포함되는 항목"],
"Rsdhj9": ["구성 경고"],
+ "RvbTzC": [
+ "<0>",
+ ["connectToolList"],
+ "</0>에 OpenKnowledge MCP 항목을 추가해 에이전트가 파일을 읽고 편집할 수 있게 합니다."
+ ],
"Rx5ReQ": [["keyName"], " 이름 바꾸기"],
"RxF-am": ["중복 항목 정리"],
"RyIKxy": [
@@ -3317,7 +3319,6 @@
"j2kt1j": [
"선호하는 AI로 새 세션을 엽니다. 텍스트를 선택한 경우 실행하는 대신 해당 세션에 추가합니다."
],
- "j4SmVY": [["0"], "을(를) 이 프로젝트에 연결"],
"j5CWO4": ["최신 상태"],
"j9Vqvc": ["상속됨"],
"j9tqwO": ["사이드바에 없음"],
@@ -3927,6 +3928,7 @@
["repoName"],
"</0>에 있습니다."
],
+ "rCDe1d": ["설정 공유에 대해 자세히 알아보기"],
"rDOuNw": ["템플릿을 가져오지 못했습니다"],
"rENNI6": ["잘못된 공유 URL입니다."],
"rFL-yb": ["복사본 편집"],
@@ -4146,6 +4148,7 @@
"uFQbYd": ["홈 페이지 및 진입점입니다."],
"uGaIIS": ["워크트리 체크아웃"],
"uH_S-u": [["loadErrorTitle"], ": ", ["message"]],
+ "uIA8mX": ["다음 파일을 추가합니다"],
"uJfwF8": ["이미 설치되어 있습니다. 가져올 항목이 없습니다."],
"uK2peg": [
"Open Knowledge Format에 맞춰 프로젝트를 검사합니다. 설정에서 언제든지 끌 수 있습니다."
@@ -4297,6 +4300,7 @@
],
"wZPUJx": ["\"", ["0"], "\""],
"w_Sphq": ["첨부 파일"],
+ "waCGTy": ["AI 도구를 이 프로젝트에 연결"],
"wbMbiY": ["복사됨 ", ["selectedSlot"]],
"wbpoGe": ["OpenKnowledge 스킬 설치 실패: ", ["message"]],
"wbv9xO": ["새 프로젝트 만들기"],
diff --git a/packages/app/src/locales/ko/messages.po b/packages/app/src/locales/ko/messages.po
index 35c2e0d55..7b7f053b7 100644
--- a/packages/app/src/locales/ko/messages.po
+++ b/packages/app/src/locales/ko/messages.po
@@ -1459,8 +1459,13 @@ msgstr "{0}에 관리 블록 추가"
#. Subtext under the create-project AI-tools checkbox
#: src/components/CreateProjectDialog.tsx
-msgid "Adds an OpenKnowledge MCP entry and the project skill, so each tool can read and update these notes."
-msgstr "OpenKnowledge MCP 항목과 프로젝트 스킬을 추가하여 각 도구가 이 문서를 읽고 업데이트할 수 있게 합니다."
+msgid "Adds an OpenKnowledge MCP entry and the project skill to <0>{toolList}</0>, so your agents can read and edit your files."
+msgstr "<0>{toolList}</0>에 OpenKnowledge MCP 항목과 프로젝트 스킬을 추가해 에이전트가 파일을 읽고 편집할 수 있게 합니다."
+
+#. Subtext under the AI-tools MCP checkbox
+#: src/components/McpConsentDialogBody.tsx
+msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."
+msgstr "<0>{connectToolList}</0>에 OpenKnowledge MCP 항목을 추가해 에이전트가 파일을 읽고 편집할 수 있게 합니다."
#: src/components/ReportBugDialogBody.tsx
msgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."
@@ -1475,6 +1480,10 @@ msgstr "Chat과 Cowork 세션에서 사용할 수 있도록 <0>Claude Desktop Ap
msgid "Adds the skill to {rootRel} — also read by {0}"
msgstr "스킬을 {rootRel}에 추가합니다. {0}에서도 읽습니다."
+#: src/components/CreateProjectDialog.tsx
+msgid "Adds these files"
+msgstr "다음 파일을 추가합니다"
+
#: src/components/McpConsentDialogBody.tsx
msgid "Adds these folders"
msgstr "다음 폴더를 추가합니다"
@@ -1484,7 +1493,6 @@ msgid "Advanced"
msgstr "고급"
#: src/components/ConsentDialogBody.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Advanced settings"
msgstr "고급 설정"
@@ -2989,11 +2997,6 @@ msgstr "충돌"
msgid "Connect"
msgstr "연결"
-#. placeholder {0}: formatToolList( status.editors.map((id) => EDITOR_LABELS[id]), i18n.locale, )
-#: src/components/CreateProjectDialog.tsx
-msgid "Connect {0} to this project"
-msgstr "{0}을(를) 이 프로젝트에 연결"
-
#: src/components/settings/AccountSection.tsx
msgid "Connect a GitHub account to browse and sync your repositories."
msgstr "GitHub 계정을 연결하면 저장소를 찾아보고 동기화할 수 있습니다."
@@ -3047,6 +3050,11 @@ msgstr "도구 연결"
msgid "Connect your AI tools"
msgstr "AI 도구 연결"
+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the new project
+#: src/components/CreateProjectDialog.tsx
+msgid "Connect your AI tools to this project"
+msgstr "AI 도구를 이 프로젝트에 연결"
+
#. placeholder {0}: response.dimensions
#: src/components/settings/SearchSection.tsx
msgid "Connected — this endpoint returns {0}-dimension vectors."
@@ -6302,9 +6310,7 @@ msgstr "고급 설정 숨기기"
msgid "Hide Agents"
msgstr "에이전트 가리기"
-#. Collapses the list of project files the AI-tool setup writes
#: src/components/acp/ThreadView.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Hide details"
msgstr "세부 정보 숨기기"
@@ -6962,12 +6968,6 @@ msgstr "설치 중"
msgid "Installing {agentName}…"
msgstr "{agentName} 설치 중…"
-#. Subtext under the AI-tools MCP checkbox
-#. placeholder {0}: formatToolList( editors.map((e) => e.label), i18n.locale, )
-#: src/components/McpConsentDialogBody.tsx
-msgid "Installs the OpenKnowledge MCP into {0} so your agents can read and edit your files."
-msgstr "{0}에 OpenKnowledge MCP를 설치해 에이전트가 파일을 읽고 편집할 수 있게 합니다."
-
#: src/components/settings/SkillsStudioIntroDialog.tsx
#: src/components/SkillInstallConfirmDialog.tsx
msgid "Installs to"
@@ -7179,6 +7179,7 @@ msgid "Layout options"
msgstr "레이아웃 옵션"
#: src/components/settings/SettingsSectionHeader.tsx
+#: src/components/SharingModeField.tsx
msgid "Learn more"
msgstr "자세히 알아보기"
@@ -7186,6 +7187,10 @@ msgstr "자세히 알아보기"
msgid "Learn more about {title}"
msgstr "{title} 자세히 알아보기"
+#: src/components/SharingModeField.tsx
+msgid "Learn more about config sharing"
+msgstr "설정 공유에 대해 자세히 알아보기"
+
#: src/comments/comment-chips.tsx
msgid "Leave these comments out of this message"
msgstr "이 메시지에서 댓글 제외"
@@ -14206,7 +14211,7 @@ msgid "Welcome to OpenKnowledge"
msgstr "OpenKnowledge에 오신 것을 환영합니다"
#. Button on each setup row that opens the list of files that row writes to
-#: src/components/McpConsentDialogBody.tsx
+#: src/components/RowDisclosure.tsx
msgid "What changes?"
msgstr "무엇이 바뀌나요?"
@@ -14250,11 +14255,6 @@ msgstr "AI 작업 내용? (선택 사항)"
msgid "What the agent may read, write, and surface."
msgstr "에이전트가 읽고, 쓰고, 표시할 수 있는 항목입니다."
-#. Expands the list of project files the AI-tool setup writes
-#: src/components/CreateProjectDialog.tsx
-msgid "What this changes"
-msgstr "변경 내용"
-
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
msgid "What this checkbox changes"
diff --git a/packages/app/src/locales/pseudo/messages.json b/packages/app/src/locales/pseudo/messages.json
index 910a6a03f..afdf5e6f6 100644
--- a/packages/app/src/locales/pseudo/messages.json
+++ b/packages/app/src/locales/pseudo/messages.json
@@ -313,6 +313,11 @@
"3l_cXP": ["Ţàķē à ĺōōķ ĩƒ ŷōũ'ď ĺĩķē. Ţĥĩś ēxàćţ ƒĩĺē ĩś ŵĥàţ ŵē ŕēćēĩvē."],
"3m2GBo": ["Śēàŕćĥĩńĝ ďōćś"],
"3mFsc3": ["Ŕēśţōŕē ŵĩţĥ ŕēḿōţē ćĥàńĝēś"],
+ "3nICSW": [
+ "Àďďś àń ŌƥēńĶńōŵĺēďĝē ḾĆƤ ēńţŕŷ àńď ţĥē ƥŕōĴēćţ śķĩĺĺ ţō <0>",
+ ["toolList"],
+ "</0>, śō ŷōũŕ àĝēńţś ćàń ŕēàď àńď ēďĩţ ŷōũŕ ƒĩĺēś."
+ ],
"3nnyi_": [["0", "plural", { "one": ["Ďēĺēţē"], "other": ["Ďēĺēţē ", "#", " ĩţēḿś"] }]],
"3o3tur": ["Śţàŕţēŕ ćōńţēńţ"],
"3oh0nQ": ["Ńēśţēď .ōķĩĝńōŕē ēŕŕōŕ ĩń ", ["path"]],
@@ -358,11 +363,6 @@
],
"4h3e0H": ["Ćōũĺďń'ţ ũƥďàţē śķĩĺĺś śĥàŕĩńĝ — ", ["detail"], "."],
"4hJhzz": ["Ţàƀĺē"],
- "4inh-4": [
- "Ĩńśţàĺĺś ţĥē ŌƥēńĶńōŵĺēďĝē ḾĆƤ ĩńţō ",
- ["0"],
- " śō ŷōũŕ àĝēńţś ćàń ŕēàď àńď ēďĩţ ŷōũŕ ƒĩĺēś."
- ],
"4ivBhl": ["Ţōĝĝĺē ţĥē ŕĩĝĥţ àĝēńţś ƥàńēĺ, ŵĥēŕē àĝēńţ ćōńvēŕśàţĩōńś ĺĩvē."],
"4jDd0j": ["Àńŷōńē ćàń śēē"],
"4m-xuX": ["Àũţō-ƒĩx — ńōţĥĩńĝ ţō ƒĩx"],
@@ -905,9 +905,6 @@
"C0cll5": ["Ĩńśţàĺĺēď àţ ", ["0"], " — ćĺĩćķ ţō ŕēḿōvē"],
"C0hoX6": ["Àĺŵàŷś ĩńćĺũďēď"],
"C3Zc44": ["Ēxƥĺōŕē śķĩĺĺś"],
- "C4HK3A": [
- "Àďďś àń ŌƥēńĶńōŵĺēďĝē ḾĆƤ ēńţŕŷ àńď ţĥē ƥŕōĴēćţ śķĩĺĺ, śō ēàćĥ ţōōĺ ćàń ŕēàď àńď ũƥďàţē ţĥēśē ńōţēś."
- ],
"C62P6b": ["Ēďĩţōŕ śēĺēćţĩōń"],
"C7PKTv": ["Śēńď ćĥēćķēď ćōḿḿēńţś ţō ćĥàţ"],
"C7waqI": [["0", "plural", { "one": ["#", " ďōćũḿēńţ"], "other": ["#", " ďōćũḿēńţś"] }]],
@@ -1605,7 +1602,6 @@
],
"LhWYpm": ["Ōţĥēŕ ŌĶ ƥàţĥś àŕē ţŕàćķēď ũƥśţŕēàḿ:"],
"Li4U-T": ["Ĺēàŕń ḿōŕē àƀōũţ ", ["title"]],
- "LiAw2k": ["Ŵĥàţ ţĥĩś ćĥàńĝēś"],
"LlHqdU": ["Ĩńĩţĩàĺĩźĩńĝ ƥŕōĴēćţ"],
"LlJ8LD": [
"Ćōńƒĩĝ śĥàŕĩńĝ ũńćĥàńĝēď: ",
@@ -2093,6 +2089,11 @@
"RqSvT0": ["Ĩḿƥōŕţĩńĝ"],
"RrAIZx": ["Ŵĥàţ ćōńƒĩĝ śĥàŕĩńĝ ćōvēŕś"],
"Rsdhj9": ["Ćōńƒĩĝũŕàţĩōń ŵàŕńĩńĝś"],
+ "RvbTzC": [
+ "Àďďś àń ŌƥēńĶńōŵĺēďĝē ḾĆƤ ēńţŕŷ ţō <0>",
+ ["connectToolList"],
+ "</0>, śō ŷōũŕ àĝēńţś ćàń ŕēàď àńď ēďĩţ ŷōũŕ ƒĩĺēś."
+ ],
"Rx5ReQ": ["Ŕēńàḿē ", ["keyName"]],
"RxF-am": ["Ďũƥĺĩćàţēś ďŕōƥƥēď"],
"RyIKxy": [
@@ -3437,7 +3438,6 @@
"j2kt1j": [
"Ōƥēń à ńēŵ śēśśĩōń ŵĩţĥ ŷōũŕ ƥŕēƒēŕŕēď ÀĨ. Ŵĩţĥ ţēxţ śēĺēćţēď, śţàĝē ĩţ ţĥēŕē ĩńśţēàď ōƒ ŕũńńĩńĝ ĩţ."
],
- "j4SmVY": ["Ćōńńēćţ ", ["0"], " ţō ţĥĩś ƥŕōĴēćţ"],
"j5CWO4": ["Ũƥ ţō ďàţē"],
"j9Vqvc": ["ĩńĥēŕĩţēď"],
"j9tqwO": ["Ńōţ ĩń śĩďēƀàŕ"],
@@ -4097,6 +4097,7 @@
["repoName"],
"</0>."
],
+ "rCDe1d": ["Ĺēàŕń ḿōŕē àƀōũţ ćōńƒĩĝ śĥàŕĩńĝ"],
"rDOuNw": ["Ƒàĩĺēď ţō ĩḿƥōŕţ ţēḿƥĺàţē"],
"rENNI6": ["Ĩńvàĺĩď śĥàŕē ŨŔĹ."],
"rFL-yb": ["Ēďĩţ à ćōƥŷ"],
@@ -4324,6 +4325,7 @@
"uFQbYd": ["Ĥōḿē ƥàĝē àńď ēńţŕŷ ƥōĩńţ."],
"uGaIIS": ["Ćĥēćķ ōũţ ŵōŕķţŕēē"],
"uH_S-u": [["loadErrorTitle"], ": ", ["message"]],
+ "uIA8mX": ["Àďďś ţĥēśē ƒĩĺēś"],
"uJfwF8": ["Àĺŕēàďŷ ĩńśţàĺĺēď — ńōţĥĩńĝ ńēŵ ţō ĩḿƥōŕţ."],
"uK2peg": [
"Ćĥēćķś ŷōũŕ ƥŕōĴēćţ àĝàĩńśţ ţĥē Ōƥēń Ķńōŵĺēďĝē Ƒōŕḿàţ. Ţũŕń ĩţ ōƒƒ àńŷ ţĩḿē ĩń Śēţţĩńĝś."
@@ -4503,6 +4505,7 @@
],
"wZPUJx": ["\"", ["0"], "\""],
"w_Sphq": ["Àţţàćĥḿēńţś"],
+ "waCGTy": ["Ćōńńēćţ ŷōũŕ ÀĨ ţōōĺś ţō ţĥĩś ƥŕōĴēćţ"],
"wbMbiY": ["Ćōƥĩēď ", ["selectedSlot"]],
"wbpoGe": ["Ćōũĺďń'ţ ĩńśţàĺĺ ŌƥēńĶńōŵĺēďĝē śķĩĺĺ — ", ["message"]],
"wbv9xO": ["Ćŕēàţē ńēŵ ƥŕōĴēćţ"],
diff --git a/packages/app/src/locales/pseudo/messages.po b/packages/app/src/locales/pseudo/messages.po
index f0e4fb70c..3def4f5c0 100644
--- a/packages/app/src/locales/pseudo/messages.po
+++ b/packages/app/src/locales/pseudo/messages.po
@@ -1455,7 +1455,12 @@ msgstr ""
#. Subtext under the create-project AI-tools checkbox
#: src/components/CreateProjectDialog.tsx
-msgid "Adds an OpenKnowledge MCP entry and the project skill, so each tool can read and update these notes."
+msgid "Adds an OpenKnowledge MCP entry and the project skill to <0>{toolList}</0>, so your agents can read and edit your files."
+msgstr ""
+
+#. Subtext under the AI-tools MCP checkbox
+#: src/components/McpConsentDialogBody.tsx
+msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."
msgstr ""
#: src/components/ReportBugDialogBody.tsx
@@ -1471,6 +1476,10 @@ msgstr ""
msgid "Adds the skill to {rootRel} — also read by {0}"
msgstr ""
+#: src/components/CreateProjectDialog.tsx
+msgid "Adds these files"
+msgstr ""
+
#: src/components/McpConsentDialogBody.tsx
msgid "Adds these folders"
msgstr ""
@@ -1480,7 +1489,6 @@ msgid "Advanced"
msgstr ""
#: src/components/ConsentDialogBody.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Advanced settings"
msgstr ""
@@ -2985,11 +2993,6 @@ msgstr ""
msgid "Connect"
msgstr ""
-#. placeholder {0}: formatToolList( status.editors.map((id) => EDITOR_LABELS[id]), i18n.locale, )
-#: src/components/CreateProjectDialog.tsx
-msgid "Connect {0} to this project"
-msgstr ""
-
#: src/components/settings/AccountSection.tsx
msgid "Connect a GitHub account to browse and sync your repositories."
msgstr ""
@@ -3043,6 +3046,11 @@ msgstr ""
msgid "Connect your AI tools"
msgstr ""
+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the new project
+#: src/components/CreateProjectDialog.tsx
+msgid "Connect your AI tools to this project"
+msgstr ""
+
#. placeholder {0}: response.dimensions
#: src/components/settings/SearchSection.tsx
msgid "Connected — this endpoint returns {0}-dimension vectors."
@@ -6298,9 +6306,7 @@ msgstr ""
msgid "Hide Agents"
msgstr ""
-#. Collapses the list of project files the AI-tool setup writes
#: src/components/acp/ThreadView.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Hide details"
msgstr ""
@@ -6958,12 +6964,6 @@ msgstr ""
msgid "Installing {agentName}…"
msgstr ""
-#. Subtext under the AI-tools MCP checkbox
-#. placeholder {0}: formatToolList( editors.map((e) => e.label), i18n.locale, )
-#: src/components/McpConsentDialogBody.tsx
-msgid "Installs the OpenKnowledge MCP into {0} so your agents can read and edit your files."
-msgstr ""
-
#: src/components/settings/SkillsStudioIntroDialog.tsx
#: src/components/SkillInstallConfirmDialog.tsx
msgid "Installs to"
@@ -7175,6 +7175,7 @@ msgid "Layout options"
msgstr ""
#: src/components/settings/SettingsSectionHeader.tsx
+#: src/components/SharingModeField.tsx
msgid "Learn more"
msgstr ""
@@ -7182,6 +7183,10 @@ msgstr ""
msgid "Learn more about {title}"
msgstr ""
+#: src/components/SharingModeField.tsx
+msgid "Learn more about config sharing"
+msgstr ""
+
#: src/comments/comment-chips.tsx
msgid "Leave these comments out of this message"
msgstr ""
@@ -14202,7 +14207,7 @@ msgid "Welcome to OpenKnowledge"
msgstr ""
#. Button on each setup row that opens the list of files that row writes to
-#: src/components/McpConsentDialogBody.tsx
+#: src/components/RowDisclosure.tsx
msgid "What changes?"
msgstr ""
@@ -14246,11 +14251,6 @@ msgstr ""
msgid "What the agent may read, write, and surface."
msgstr ""
-#. Expands the list of project files the AI-tool setup writes
-#: src/components/CreateProjectDialog.tsx
-msgid "What this changes"
-msgstr ""
-
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
msgid "What this checkbox changes"
diff --git a/packages/app/src/locales/pt-BR/messages.json b/packages/app/src/locales/pt-BR/messages.json
index 8c6749983..9a3ec1f77 100644
--- a/packages/app/src/locales/pt-BR/messages.json
+++ b/packages/app/src/locales/pt-BR/messages.json
@@ -350,6 +350,11 @@
"3l_cXP": ["Dê uma olhada se quiser. Este arquivo exato é o que recebemos."],
"3m2GBo": ["Buscando documentos"],
"3mFsc3": ["Restaurar com as alterações remotas"],
+ "3nICSW": [
+ "Adiciona uma entrada MCP do OpenKnowledge e a habilidade do projeto a <0>",
+ ["toolList"],
+ "</0> para que seus agentes possam ler e editar seus arquivos."
+ ],
"3nnyi_": [
[
"0",
@@ -409,11 +414,6 @@
],
"4h3e0H": ["Não deu para atualizar o compartilhamento de habilidades — ", ["detail"], "."],
"4hJhzz": ["Tabela"],
- "4inh-4": [
- "Instala o MCP do OpenKnowledge em ",
- ["0"],
- " para que seus agentes possam ler e editar seus arquivos."
- ],
"4ivBhl": [
"Mostra ou oculta o painel direito de agentes, onde ficam as conversas com agentes."
],
@@ -1046,9 +1046,6 @@
"C0cll5": ["Instalado em ", ["0"], " — clique para remover"],
"C0hoX6": ["Sempre incluído"],
"C3Zc44": ["Explorar habilidades"],
- "C4HK3A": [
- "Adiciona uma entrada MCP do OpenKnowledge e a habilidade do projeto, para que cada ferramenta possa ler e atualizar estes documentos."
- ],
"C62P6b": ["Seleção do editor"],
"C7PKTv": ["Enviar os comentários marcados para o chat"],
"C7waqI": [
@@ -1847,7 +1844,6 @@
],
"LhWYpm": ["Há outros caminhos OK rastreados no remoto:"],
"Li4U-T": ["Saiba mais sobre ", ["title"]],
- "LiAw2k": ["O que isto muda"],
"LlHqdU": ["Inicializando o projeto"],
"LlJ8LD": [
"O compartilhamento da configuração não mudou: ",
@@ -2375,6 +2371,11 @@
"RqSvT0": ["Importando"],
"RrAIZx": ["O que o compartilhamento de configuração abrange"],
"Rsdhj9": ["Avisos de configuração"],
+ "RvbTzC": [
+ "Adiciona uma entrada MCP do OpenKnowledge a <0>",
+ ["connectToolList"],
+ "</0> para que seus agentes possam ler e editar seus arquivos."
+ ],
"Rx5ReQ": ["Renomear ", ["keyName"]],
"RxF-am": ["Duplicatas descartadas"],
"RyIKxy": [
@@ -3928,7 +3929,6 @@
"j2kt1j": [
"Abre uma nova sessão com a IA que você preferir. Com um texto selecionado, prepara-o lá em vez de executar."
],
- "j4SmVY": ["Conectar ", ["0"], " a este projeto"],
"j5CWO4": ["Atualizado"],
"j9Vqvc": ["herdado"],
"j9tqwO": ["Não está na barra lateral"],
@@ -4651,6 +4651,7 @@
["repoName"],
"</0>."
],
+ "rCDe1d": ["Saiba mais sobre compartilhamento de configuração"],
"rDOuNw": ["Falha ao importar o modelo"],
"rENNI6": ["URL de compartilhamento inválida."],
"rFL-yb": ["Editar uma cópia"],
@@ -4903,6 +4904,7 @@
"uFQbYd": ["Página inicial e ponto de entrada."],
"uGaIIS": ["Extrair worktree"],
"uH_S-u": [["loadErrorTitle"], ": ", ["message"]],
+ "uIA8mX": ["Adiciona estes arquivos"],
"uJfwF8": ["Já instalado — nada novo para importar."],
"uK2peg": [
"Verifica seu projeto em relação ao Open Knowledge Format. Desligue-o a qualquer momento nas Configurações."
@@ -5098,6 +5100,7 @@
],
"wZPUJx": ["“", ["0"], "”"],
"w_Sphq": ["Anexos"],
+ "waCGTy": ["Conectar suas ferramentas de IA a este projeto"],
"wbMbiY": ["Cópia de ", ["selectedSlot"], " concluída"],
"wbpoGe": ["Não foi possível instalar a habilidade do OpenKnowledge: ", ["message"]],
"wbv9xO": ["Criar novo projeto"],
diff --git a/packages/app/src/locales/pt-BR/messages.po b/packages/app/src/locales/pt-BR/messages.po
index ff7db277f..17849571f 100644
--- a/packages/app/src/locales/pt-BR/messages.po
+++ b/packages/app/src/locales/pt-BR/messages.po
@@ -1455,8 +1455,13 @@ msgstr "Adiciona um bloco gerenciado a {0}"
#. Subtext under the create-project AI-tools checkbox
#: src/components/CreateProjectDialog.tsx
-msgid "Adds an OpenKnowledge MCP entry and the project skill, so each tool can read and update these notes."
-msgstr "Adiciona uma entrada MCP do OpenKnowledge e a habilidade do projeto, para que cada ferramenta possa ler e atualizar estes documentos."
+msgid "Adds an OpenKnowledge MCP entry and the project skill to <0>{toolList}</0>, so your agents can read and edit your files."
+msgstr "Adiciona uma entrada MCP do OpenKnowledge e a habilidade do projeto a <0>{toolList}</0> para que seus agentes possam ler e editar seus arquivos."
+
+#. Subtext under the AI-tools MCP checkbox
+#: src/components/McpConsentDialogBody.tsx
+msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."
+msgstr "Adiciona uma entrada MCP do OpenKnowledge a <0>{connectToolList}</0> para que seus agentes possam ler e editar seus arquivos."
#: src/components/ReportBugDialogBody.tsx
msgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."
@@ -1471,6 +1476,10 @@ msgstr "Adiciona a habilidade do OpenKnowledge ao <0>app Claude Desktop</0> para
msgid "Adds the skill to {rootRel} — also read by {0}"
msgstr "Adiciona a habilidade a {rootRel} — também lida por {0}"
+#: src/components/CreateProjectDialog.tsx
+msgid "Adds these files"
+msgstr "Adiciona estes arquivos"
+
#: src/components/McpConsentDialogBody.tsx
msgid "Adds these folders"
msgstr "Adiciona estas pastas"
@@ -1480,7 +1489,6 @@ msgid "Advanced"
msgstr "Avançado"
#: src/components/ConsentDialogBody.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Advanced settings"
msgstr "Configurações avançadas"
@@ -2985,11 +2993,6 @@ msgstr "Conflitos"
msgid "Connect"
msgstr "Conectar"
-#. placeholder {0}: formatToolList( status.editors.map((id) => EDITOR_LABELS[id]), i18n.locale, )
-#: src/components/CreateProjectDialog.tsx
-msgid "Connect {0} to this project"
-msgstr "Conectar {0} a este projeto"
-
#: src/components/settings/AccountSection.tsx
msgid "Connect a GitHub account to browse and sync your repositories."
msgstr "Conecte uma conta do GitHub para explorar e sincronizar seus repositórios."
@@ -3043,6 +3046,11 @@ msgstr "Conectar ferramentas"
msgid "Connect your AI tools"
msgstr "Conecte suas ferramentas de IA"
+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the new project
+#: src/components/CreateProjectDialog.tsx
+msgid "Connect your AI tools to this project"
+msgstr "Conectar suas ferramentas de IA a este projeto"
+
#. placeholder {0}: response.dimensions
#: src/components/settings/SearchSection.tsx
msgid "Connected — this endpoint returns {0}-dimension vectors."
@@ -6298,9 +6306,7 @@ msgstr "Ocultar as opções avançadas"
msgid "Hide Agents"
msgstr "Ocultar Agentes"
-#. Collapses the list of project files the AI-tool setup writes
#: src/components/acp/ThreadView.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Hide details"
msgstr "Ocultar detalhes"
@@ -6958,12 +6964,6 @@ msgstr "Instalando"
msgid "Installing {agentName}…"
msgstr "Instalando {agentName}…"
-#. Subtext under the AI-tools MCP checkbox
-#. placeholder {0}: formatToolList( editors.map((e) => e.label), i18n.locale, )
-#: src/components/McpConsentDialogBody.tsx
-msgid "Installs the OpenKnowledge MCP into {0} so your agents can read and edit your files."
-msgstr "Instala o MCP do OpenKnowledge em {0} para que seus agentes possam ler e editar seus arquivos."
-
#: src/components/settings/SkillsStudioIntroDialog.tsx
#: src/components/SkillInstallConfirmDialog.tsx
msgid "Installs to"
@@ -7175,6 +7175,7 @@ msgid "Layout options"
msgstr "Opções de layout"
#: src/components/settings/SettingsSectionHeader.tsx
+#: src/components/SharingModeField.tsx
msgid "Learn more"
msgstr "Saiba mais"
@@ -7182,6 +7183,10 @@ msgstr "Saiba mais"
msgid "Learn more about {title}"
msgstr "Saiba mais sobre {title}"
+#: src/components/SharingModeField.tsx
+msgid "Learn more about config sharing"
+msgstr "Saiba mais sobre compartilhamento de configuração"
+
#: src/comments/comment-chips.tsx
msgid "Leave these comments out of this message"
msgstr "Deixar estes comentários fora desta mensagem"
@@ -14202,7 +14207,7 @@ msgid "Welcome to OpenKnowledge"
msgstr "Boas-vindas ao OpenKnowledge"
#. Button on each setup row that opens the list of files that row writes to
-#: src/components/McpConsentDialogBody.tsx
+#: src/components/RowDisclosure.tsx
msgid "What changes?"
msgstr "O que muda?"
@@ -14246,11 +14251,6 @@ msgstr "O que a IA deve fazer? (opcional)"
msgid "What the agent may read, write, and surface."
msgstr "O que o agente pode ler, escrever e mostrar."
-#. Expands the list of project files the AI-tool setup writes
-#: src/components/CreateProjectDialog.tsx
-msgid "What this changes"
-msgstr "O que isto muda"
-
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
msgid "What this checkbox changes"
diff --git a/packages/app/src/locales/ur/messages.json b/packages/app/src/locales/ur/messages.json
index 20007d462..aa7ef4a5b 100644
--- a/packages/app/src/locales/ur/messages.json
+++ b/packages/app/src/locales/ur/messages.json
@@ -314,6 +314,11 @@
"3l_cXP": ["چاہیں تو دیکھ لیں۔ ہمیں بالکل یہی فائل ملتی ہے۔"],
"3m2GBo": ["دستاویزات تلاش کی جا رہی ہیں"],
"3mFsc3": ["ریموٹ تبدیلیوں کے ساتھ بحال کریں"],
+ "3nICSW": [
+ "<0>",
+ ["toolList"],
+ "</0> میں OpenKnowledge کا MCP اندراج اور پروجیکٹ Skill شامل کرتا ہے تاکہ آپ کے ایجنٹس آپ کی فائلیں پڑھ اور ترمیم کر سکیں۔"
+ ],
"3nnyi_": [["0", "plural", { "one": ["حذف کریں"], "other": ["#", " آئٹمز حذف کریں"] }]],
"3o3tur": ["ابتدائی مواد"],
"3oh0nQ": [["path"], " میں نیسٹڈ .okignore کی خرابی"],
@@ -361,10 +366,6 @@
],
"4h3e0H": ["مہارتوں کا اشتراک تازہ نہیں ہو سکا — ", ["detail"], "۔"],
"4hJhzz": ["ٹیبل"],
- "4inh-4": [
- ["0"],
- " میں OpenKnowledge MCP انسٹال کرتا ہے تاکہ آپ کے ایجنٹس آپ کی فائلیں پڑھ اور ترمیم کر سکیں۔"
- ],
"4ivBhl": ["دائیں ایجنٹس پینل بدلیں، جہاں ایجنٹس کی گفتگو رہتی ہے۔"],
"4jDd0j": ["کوئی بھی دیکھ سکتا ہے"],
"4m-xuX": ["خودکار اصلاح — ٹھیک کرنے کو کچھ نہیں"],
@@ -916,9 +917,6 @@
"C0cll5": [["0"], " پر نصب — ہٹانے کے لیے کلک کریں"],
"C0hoX6": ["ہمیشہ شامل"],
"C3Zc44": ["مہارتیں دریافت کریں"],
- "C4HK3A": [
- "OpenKnowledge کا MCP اندراج اور پروجیکٹ Skill شامل کرتا ہے، تاکہ ہر ٹول ان دستاویزات کو پڑھ اور اپ ڈیٹ کر سکے۔"
- ],
"C62P6b": ["ایڈیٹر کا انتخاب"],
"C7PKTv": ["منتخب تبصرے چیٹ میں بھیجیں"],
"C7waqI": [["0", "plural", { "one": ["#", " دستاویز"], "other": ["#", " دستاویزات"] }]],
@@ -1644,7 +1642,6 @@
],
"LhWYpm": ["OK کے دیگر راستے اپ سٹریم ٹریک ہوتے ہیں:"],
"Li4U-T": [["title"], " کے بارے میں مزید جانیں"],
- "LiAw2k": ["یہ کیا بدلتا ہے"],
"LlHqdU": ["پروجیکٹ کا ابتدائیہ ہو رہا ہے"],
"LlJ8LD": [
"کنفیگ شیئرنگ میں تبدیلی نہیں ہوئی: اپ اسٹریم پر ",
@@ -2142,6 +2139,11 @@
"RqSvT0": ["درآمد کیا جا رہا ہے"],
"RrAIZx": ["کنفیگ کا اشتراک کیا شامل کرتا ہے"],
"Rsdhj9": ["کنفیگریشن کے انتباہات"],
+ "RvbTzC": [
+ "<0>",
+ ["connectToolList"],
+ "</0> میں OpenKnowledge کا MCP اندراج شامل کرتا ہے تاکہ آپ کے ایجنٹس آپ کی فائلیں پڑھ اور ترمیم کر سکیں۔"
+ ],
"Rx5ReQ": [["keyName"], " کا نام بدلیں"],
"RxF-am": ["نقول ہٹا دی گئیں"],
"RyIKxy": [
@@ -3518,7 +3520,6 @@
"j2kt1j": [
"اپنے پسندیدہ AI کے ساتھ نیا سیشن کھولیں۔ متن منتخب ہونے پر، اسے چلانے کے بجائے وہاں تیار رکھیں۔"
],
- "j4SmVY": [["0"], " کو اس پروجیکٹ سے جوڑیں"],
"j5CWO4": ["تازہ ترین"],
"j9Vqvc": ["وراثت میں ملا"],
"j9tqwO": ["سائیڈ بار میں نہیں"],
@@ -4176,6 +4177,7 @@
"r7IaYp": ["Open Knowledge Format رہنمائی"],
"r7tQuq": ["آپ کی رپورٹ اس کمپیوٹر پر محفوظ ہے، اس لیے کچھ ضائع نہیں ہوا۔"],
"r871ed": ["آپ کا نالج بیس اب GitHub پر <0>", ["ownerLogin"], "/", ["repoName"], "</0> پر ہے۔"],
+ "rCDe1d": ["کنفیگ کے اشتراک کے بارے میں مزید جانیں"],
"rDOuNw": ["ٹیمپلیٹ درآمد نہیں ہو سکا"],
"rENNI6": ["شیئر URL درست نہیں۔"],
"rFL-yb": ["ایک نقل میں ترمیم کریں"],
@@ -4401,6 +4403,7 @@
"uFQbYd": ["ہوم پیج اور داخلی نقطہ۔"],
"uGaIIS": ["ورک ٹری چیک آؤٹ کریں"],
"uH_S-u": [["loadErrorTitle"], ": ", ["message"]],
+ "uIA8mX": ["یہ فائلیں شامل کرتا ہے"],
"uJfwF8": ["پہلے سے نصب ہے — درآمد کرنے کو کچھ نیا نہیں۔"],
"uK2peg": [
"آپ کے پروجیکٹ کو Open Knowledge Format کے خلاف چیک کرتا ہے۔ اسے کسی بھی وقت ترتیبات میں بند کریں۔"
@@ -4585,6 +4588,7 @@
],
"wZPUJx": ["«", ["0"], "»"],
"w_Sphq": ["منسلکات"],
+ "waCGTy": ["اپنے AI ٹولز کو اس پروجیکٹ سے جوڑیں"],
"wbMbiY": [["selectedSlot"], " کاپی ہو گیا"],
"wbpoGe": ["OpenKnowledge اسکل انسٹال نہیں ہو سکی: ", ["message"]],
"wbv9xO": ["نیا پروجیکٹ بنائیں"],
diff --git a/packages/app/src/locales/ur/messages.po b/packages/app/src/locales/ur/messages.po
index 820df1251..f3d21ef2f 100644
--- a/packages/app/src/locales/ur/messages.po
+++ b/packages/app/src/locales/ur/messages.po
@@ -1459,8 +1459,13 @@ msgstr "{0} میں منظم بلاک شامل کرتا ہے"
#. Subtext under the create-project AI-tools checkbox
#: src/components/CreateProjectDialog.tsx
-msgid "Adds an OpenKnowledge MCP entry and the project skill, so each tool can read and update these notes."
-msgstr "OpenKnowledge کا MCP اندراج اور پروجیکٹ Skill شامل کرتا ہے، تاکہ ہر ٹول ان دستاویزات کو پڑھ اور اپ ڈیٹ کر سکے۔"
+msgid "Adds an OpenKnowledge MCP entry and the project skill to <0>{toolList}</0>, so your agents can read and edit your files."
+msgstr "<0>{toolList}</0> میں OpenKnowledge کا MCP اندراج اور پروجیکٹ Skill شامل کرتا ہے تاکہ آپ کے ایجنٹس آپ کی فائلیں پڑھ اور ترمیم کر سکیں۔"
+
+#. Subtext under the AI-tools MCP checkbox
+#: src/components/McpConsentDialogBody.tsx
+msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."
+msgstr "<0>{connectToolList}</0> میں OpenKnowledge کا MCP اندراج شامل کرتا ہے تاکہ آپ کے ایجنٹس آپ کی فائلیں پڑھ اور ترمیم کر سکیں۔"
#: src/components/ReportBugDialogBody.tsx
msgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."
@@ -1475,6 +1480,10 @@ msgstr "OpenKnowledge مہارت کو <0>Claude Desktop App</0> میں شامل
msgid "Adds the skill to {rootRel} — also read by {0}"
msgstr "مہارت کو {rootRel} میں شامل کرتا ہے — اسے {0} بھی پڑھتا ہے"
+#: src/components/CreateProjectDialog.tsx
+msgid "Adds these files"
+msgstr "یہ فائلیں شامل کرتا ہے"
+
#: src/components/McpConsentDialogBody.tsx
msgid "Adds these folders"
msgstr "یہ فولڈرز شامل کرتا ہے"
@@ -1484,7 +1493,6 @@ msgid "Advanced"
msgstr "اعلیٰ"
#: src/components/ConsentDialogBody.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Advanced settings"
msgstr "اعلیٰ ترتیبات"
@@ -2989,11 +2997,6 @@ msgstr "تنازعات"
msgid "Connect"
msgstr "منسلک کریں"
-#. placeholder {0}: formatToolList( status.editors.map((id) => EDITOR_LABELS[id]), i18n.locale, )
-#: src/components/CreateProjectDialog.tsx
-msgid "Connect {0} to this project"
-msgstr "{0} کو اس پروجیکٹ سے جوڑیں"
-
#: src/components/settings/AccountSection.tsx
msgid "Connect a GitHub account to browse and sync your repositories."
msgstr "اپنی ریپازٹریز براؤز اور مطابق کرنے کے لیے GitHub اکاؤنٹ منسلک کریں۔"
@@ -3047,6 +3050,11 @@ msgstr "ٹولز منسلک کریں"
msgid "Connect your AI tools"
msgstr "اپنے AI ٹولز منسلک کریں"
+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the new project
+#: src/components/CreateProjectDialog.tsx
+msgid "Connect your AI tools to this project"
+msgstr "اپنے AI ٹولز کو اس پروجیکٹ سے جوڑیں"
+
#. placeholder {0}: response.dimensions
#: src/components/settings/SearchSection.tsx
msgid "Connected — this endpoint returns {0}-dimension vectors."
@@ -6302,9 +6310,7 @@ msgstr "اعلیٰ آپشنز چھپائیں"
msgid "Hide Agents"
msgstr "ایجنٹس چھپائیں"
-#. Collapses the list of project files the AI-tool setup writes
#: src/components/acp/ThreadView.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Hide details"
msgstr "تفصیلات چھپائیں"
@@ -6962,12 +6968,6 @@ msgstr "نصب کیا جا رہا ہے"
msgid "Installing {agentName}…"
msgstr "{agentName} نصب کیا جا رہا ہے…"
-#. Subtext under the AI-tools MCP checkbox
-#. placeholder {0}: formatToolList( editors.map((e) => e.label), i18n.locale, )
-#: src/components/McpConsentDialogBody.tsx
-msgid "Installs the OpenKnowledge MCP into {0} so your agents can read and edit your files."
-msgstr "{0} میں OpenKnowledge MCP انسٹال کرتا ہے تاکہ آپ کے ایجنٹس آپ کی فائلیں پڑھ اور ترمیم کر سکیں۔"
-
#: src/components/settings/SkillsStudioIntroDialog.tsx
#: src/components/SkillInstallConfirmDialog.tsx
msgid "Installs to"
@@ -7179,6 +7179,7 @@ msgid "Layout options"
msgstr "خاکہ بندی کے آپشنز"
#: src/components/settings/SettingsSectionHeader.tsx
+#: src/components/SharingModeField.tsx
msgid "Learn more"
msgstr "مزید جانیں"
@@ -7186,6 +7187,10 @@ msgstr "مزید جانیں"
msgid "Learn more about {title}"
msgstr "{title} کے بارے میں مزید جانیں"
+#: src/components/SharingModeField.tsx
+msgid "Learn more about config sharing"
+msgstr "کنفیگ کے اشتراک کے بارے میں مزید جانیں"
+
#: src/comments/comment-chips.tsx
msgid "Leave these comments out of this message"
msgstr "ان تبصروں کو اس پیغام سے باہر رکھیں"
@@ -14206,7 +14211,7 @@ msgid "Welcome to OpenKnowledge"
msgstr "OpenKnowledge میں خوش آمدید"
#. Button on each setup row that opens the list of files that row writes to
-#: src/components/McpConsentDialogBody.tsx
+#: src/components/RowDisclosure.tsx
msgid "What changes?"
msgstr "کیا تبدیل ہوگا؟"
@@ -14250,11 +14255,6 @@ msgstr "AI کو کیا کرنا چاہیے؟ (اختیاری)"
msgid "What the agent may read, write, and surface."
msgstr "ایجنٹ کیا پڑھ، لکھ اور ظاہر کر سکتا ہے۔"
-#. Expands the list of project files the AI-tool setup writes
-#: src/components/CreateProjectDialog.tsx
-msgid "What this changes"
-msgstr "یہ کیا بدلتا ہے"
-
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
msgid "What this checkbox changes"
diff --git a/packages/app/src/locales/zh-Hans/messages.json b/packages/app/src/locales/zh-Hans/messages.json
index 262c70da4..89fa40f61 100644
--- a/packages/app/src/locales/zh-Hans/messages.json
+++ b/packages/app/src/locales/zh-Hans/messages.json
@@ -283,6 +283,11 @@
"3l_cXP": ["愿意的话可以看看。我们收到的就是这个文件本身。"],
"3m2GBo": ["正在搜索文档"],
"3mFsc3": ["带上远程改动一起恢复"],
+ "3nICSW": [
+ "向 <0>",
+ ["toolList"],
+ "</0> 添加 OpenKnowledge 的 MCP 条目和项目技能,让你的智能体可以读取和编辑你的文件。"
+ ],
"3nnyi_": [["0", "plural", { "other": ["删除 ", "#", " 个项目"] }]],
"3o3tur": ["初始内容"],
"3oh0nQ": [["path"], " 中嵌套的 .okignore 有错误"],
@@ -328,7 +333,6 @@
],
"4h3e0H": ["无法更新技能共享设置——", ["detail"], "。"],
"4hJhzz": ["表格"],
- "4inh-4": ["将 OpenKnowledge MCP 安装到 ", ["0"], ",让你的智能体可以读取和编辑你的文件。"],
"4ivBhl": ["显示或隐藏右侧的智能体面板,智能体对话就在那里。"],
"4jDd0j": ["任何人都可以查看"],
"4m-xuX": ["自动修复——没有需要修复的内容"],
@@ -796,7 +800,6 @@
"C0cll5": ["已安装在 ", ["0"], "——点击可移除"],
"C0hoX6": ["始终包含"],
"C3Zc44": ["探索技能"],
- "C4HK3A": ["添加 OpenKnowledge 的 MCP 条目和项目技能,让每个工具都能读取和更新这些文档。"],
"C62P6b": ["编辑器选区"],
"C7PKTv": ["把勾选的评论发送到对话"],
"C7waqI": [["0", "plural", { "other": ["#", " 个文档"] }]],
@@ -1403,7 +1406,6 @@
"LhQlGR": ["这个项目运行的 OpenKnowledge 版本(v", ["0"], ")比这个应用(v", ["1"], ")旧。"],
"LhWYpm": ["其他 OK 路径在远程受跟踪:"],
"Li4U-T": ["了解更多关于 ", ["title"], " 的信息"],
- "LiAw2k": ["这会改变什么"],
"LlHqdU": ["正在初始化项目"],
"LlJ8LD": [
"配置共享未更改:已在上游跟踪 ",
@@ -1836,6 +1838,11 @@
"RqSvT0": ["正在导入"],
"RrAIZx": ["配置共享涵盖哪些内容"],
"Rsdhj9": ["配置警告"],
+ "RvbTzC": [
+ "向 <0>",
+ ["connectToolList"],
+ "</0> 添加 OpenKnowledge 的 MCP 条目,让你的智能体可以读取和编辑你的文件。"
+ ],
"Rx5ReQ": ["重命名 ", ["keyName"]],
"RxF-am": ["丢弃重复项"],
"RyIKxy": [
@@ -3028,7 +3035,6 @@
"j2kt1j": [
"用你偏好的 AI 打开一个新会话。如果有选中的文本,会把它放到那里待发送,而不是直接执行。"
],
- "j4SmVY": ["将 ", ["0"], " 连接到本项目"],
"j5CWO4": ["已是最新"],
"j9Vqvc": ["继承"],
"j9tqwO": ["不在侧边栏中"],
@@ -3594,6 +3600,7 @@
["repoName"],
"</0>。"
],
+ "rCDe1d": ["了解更多关于配置共享的信息"],
"rDOuNw": ["导入模板失败"],
"rENNI6": ["共享链接无效。"],
"rFL-yb": ["编辑一份副本"],
@@ -3795,6 +3802,7 @@
"uFQbYd": ["首页兼入口。"],
"uGaIIS": ["检出 worktree"],
"uH_S-u": [["loadErrorTitle"], ":", ["message"]],
+ "uIA8mX": ["添加这些文件"],
"uJfwF8": ["已安装——没有可导入的新内容。"],
"uK2peg": ["根据 Open Knowledge Format 检查您的项目。随时在“设置”中将其关闭。"],
"uKRYiW": ["同步状态不可用——服务器错误。"],
@@ -3924,6 +3932,7 @@
"wXw19Y": ["已把“", ["projectName"], "”从最近的项目中移除。它的文件夹已不存在。"],
"wZPUJx": ["“", ["0"], "”"],
"w_Sphq": ["附件"],
+ "waCGTy": ["将你的 AI 工具连接到本项目"],
"wbMbiY": ["已复制 ", ["selectedSlot"]],
"wbpoGe": ["无法安装 OpenKnowledge 技能:", ["message"]],
"wbv9xO": ["新建项目"],
diff --git a/packages/app/src/locales/zh-Hans/messages.po b/packages/app/src/locales/zh-Hans/messages.po
index a1d7cfef3..97ce8e4eb 100644
--- a/packages/app/src/locales/zh-Hans/messages.po
+++ b/packages/app/src/locales/zh-Hans/messages.po
@@ -1459,8 +1459,13 @@ msgstr "添加一个受管理的块到 {0}"
#. Subtext under the create-project AI-tools checkbox
#: src/components/CreateProjectDialog.tsx
-msgid "Adds an OpenKnowledge MCP entry and the project skill, so each tool can read and update these notes."
-msgstr "添加 OpenKnowledge 的 MCP 条目和项目技能,让每个工具都能读取和更新这些文档。"
+msgid "Adds an OpenKnowledge MCP entry and the project skill to <0>{toolList}</0>, so your agents can read and edit your files."
+msgstr "向 <0>{toolList}</0> 添加 OpenKnowledge 的 MCP 条目和项目技能,让你的智能体可以读取和编辑你的文件。"
+
+#. Subtext under the AI-tools MCP checkbox
+#: src/components/McpConsentDialogBody.tsx
+msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."
+msgstr "向 <0>{connectToolList}</0> 添加 OpenKnowledge 的 MCP 条目,让你的智能体可以读取和编辑你的文件。"
#: src/components/ReportBugDialogBody.tsx
msgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."
@@ -1475,6 +1480,10 @@ msgstr "把 OpenKnowledge 技能添加到 <0>Claude 桌面应用</0>,以便在
msgid "Adds the skill to {rootRel} — also read by {0}"
msgstr "把技能添加到 {rootRel}——{0} 也会读取该处"
+#: src/components/CreateProjectDialog.tsx
+msgid "Adds these files"
+msgstr "添加这些文件"
+
#: src/components/McpConsentDialogBody.tsx
msgid "Adds these folders"
msgstr "添加这些文件夹"
@@ -1484,7 +1493,6 @@ msgid "Advanced"
msgstr "高级"
#: src/components/ConsentDialogBody.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Advanced settings"
msgstr "高级设置"
@@ -2989,11 +2997,6 @@ msgstr "冲突"
msgid "Connect"
msgstr "连接"
-#. placeholder {0}: formatToolList( status.editors.map((id) => EDITOR_LABELS[id]), i18n.locale, )
-#: src/components/CreateProjectDialog.tsx
-msgid "Connect {0} to this project"
-msgstr "将 {0} 连接到本项目"
-
#: src/components/settings/AccountSection.tsx
msgid "Connect a GitHub account to browse and sync your repositories."
msgstr "连接一个 GitHub 账户,以便浏览和同步你的仓库。"
@@ -3047,6 +3050,11 @@ msgstr "连接工具"
msgid "Connect your AI tools"
msgstr "连接你的 AI 工具"
+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the new project
+#: src/components/CreateProjectDialog.tsx
+msgid "Connect your AI tools to this project"
+msgstr "将你的 AI 工具连接到本项目"
+
#. placeholder {0}: response.dimensions
#: src/components/settings/SearchSection.tsx
msgid "Connected — this endpoint returns {0}-dimension vectors."
@@ -6302,9 +6310,7 @@ msgstr "隐藏高级选项"
msgid "Hide Agents"
msgstr "隐藏「智能体」"
-#. Collapses the list of project files the AI-tool setup writes
#: src/components/acp/ThreadView.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Hide details"
msgstr "隐藏详情"
@@ -6962,12 +6968,6 @@ msgstr "正在安装"
msgid "Installing {agentName}…"
msgstr "正在安装 {agentName}…"
-#. Subtext under the AI-tools MCP checkbox
-#. placeholder {0}: formatToolList( editors.map((e) => e.label), i18n.locale, )
-#: src/components/McpConsentDialogBody.tsx
-msgid "Installs the OpenKnowledge MCP into {0} so your agents can read and edit your files."
-msgstr "将 OpenKnowledge MCP 安装到 {0},让你的智能体可以读取和编辑你的文件。"
-
#: src/components/settings/SkillsStudioIntroDialog.tsx
#: src/components/SkillInstallConfirmDialog.tsx
msgid "Installs to"
@@ -7179,6 +7179,7 @@ msgid "Layout options"
msgstr "布局选项"
#: src/components/settings/SettingsSectionHeader.tsx
+#: src/components/SharingModeField.tsx
msgid "Learn more"
msgstr "了解更多"
@@ -7186,6 +7187,10 @@ msgstr "了解更多"
msgid "Learn more about {title}"
msgstr "了解更多关于 {title} 的信息"
+#: src/components/SharingModeField.tsx
+msgid "Learn more about config sharing"
+msgstr "了解更多关于配置共享的信息"
+
#: src/comments/comment-chips.tsx
msgid "Leave these comments out of this message"
msgstr "不要把这些评论放进这条消息"
@@ -14206,7 +14211,7 @@ msgid "Welcome to OpenKnowledge"
msgstr "欢迎使用 OpenKnowledge"
#. Button on each setup row that opens the list of files that row writes to
-#: src/components/McpConsentDialogBody.tsx
+#: src/components/RowDisclosure.tsx
msgid "What changes?"
msgstr "会更改什么?"
@@ -14250,11 +14255,6 @@ msgstr "希望 AI 做什么?(可选)"
msgid "What the agent may read, write, and surface."
msgstr "智能体可以读取、写入和呈现的内容。"
-#. Expands the list of project files the AI-tool setup writes
-#: src/components/CreateProjectDialog.tsx
-msgid "What this changes"
-msgstr "这会改变什么"
-
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
msgid "What this checkbox changes"
diff --git a/packages/app/src/locales/zh-Hant/messages.json b/packages/app/src/locales/zh-Hant/messages.json
index e0e38350f..d3f651ce2 100644
--- a/packages/app/src/locales/zh-Hant/messages.json
+++ b/packages/app/src/locales/zh-Hant/messages.json
@@ -287,6 +287,11 @@
"3l_cXP": ["想看的話可以看看。我們收到的就是這個檔案本身。"],
"3m2GBo": ["正在搜尋文件"],
"3mFsc3": ["連同遠端的變更一起還原"],
+ "3nICSW": [
+ "向 <0>",
+ ["toolList"],
+ "</0> 新增 OpenKnowledge 的 MCP 項目與專案技能,讓你的智慧代理可以讀取並編輯你的檔案。"
+ ],
"3nnyi_": [["0", "plural", { "other": ["刪除 ", "#", " 個項目"] }]],
"3o3tur": ["起始內容"],
"3oh0nQ": [["path"], " 中巢狀的 .okignore 有錯誤"],
@@ -332,7 +337,6 @@
],
"4h3e0H": ["無法更新技能分享設定——", ["detail"], "。"],
"4hJhzz": ["表格"],
- "4inh-4": ["將 OpenKnowledge MCP 安裝到 ", ["0"], ",讓你的智慧代理可以讀取並編輯你的檔案。"],
"4ivBhl": ["顯示或隱藏右側的代理面板,代理對話就在那裡。"],
"4jDd0j": ["任何人都看得到"],
"4m-xuX": ["自動修正——沒有需要修正的內容"],
@@ -800,7 +804,6 @@
"C0cll5": ["已安裝在 ", ["0"], "——點一下可移除"],
"C0hoX6": ["一律包含"],
"C3Zc44": ["探索技能"],
- "C4HK3A": ["新增 OpenKnowledge 的 MCP 項目與專案技能,讓每個工具都能讀取並更新這些文件。"],
"C62P6b": ["編輯器選取範圍"],
"C7PKTv": ["將勾選的註解傳送到對話"],
"C7waqI": [["0", "plural", { "other": ["#", " 個文件"] }]],
@@ -1427,7 +1430,6 @@
],
"LhWYpm": ["其他 OK 路徑在上游受追蹤:"],
"Li4U-T": ["進一步了解 ", ["title"]],
- "LiAw2k": ["這會改變什麼"],
"LlHqdU": ["正在初始化專案"],
"LlJ8LD": [
"設定分享未變更:已在上游追蹤 ",
@@ -1862,6 +1864,11 @@
"RqSvT0": ["正在匯入"],
"RrAIZx": ["設定分享涵蓋哪些東西"],
"Rsdhj9": ["設定警告"],
+ "RvbTzC": [
+ "向 <0>",
+ ["connectToolList"],
+ "</0> 新增 OpenKnowledge 的 MCP 項目,讓你的智慧代理可以讀取並編輯你的檔案。"
+ ],
"Rx5ReQ": ["重新命名 ", ["keyName"]],
"RxF-am": ["捨棄重複項"],
"RyIKxy": [
@@ -3058,7 +3065,6 @@
"j2kt1j": [
"用你偏好的 AI 開啟一個新的工作階段。如果有選取文字,會把它放到那裡待送出,而不是直接執行。"
],
- "j4SmVY": ["將 ", ["0"], " 連接到這個專案"],
"j5CWO4": ["已是最新"],
"j9Vqvc": ["繼承"],
"j9tqwO": ["不在側邊欄中"],
@@ -3626,6 +3632,7 @@
["repoName"],
"</0>。"
],
+ "rCDe1d": ["了解更多關於設定分享的資訊"],
"rDOuNw": ["匯入範本失敗"],
"rENNI6": ["分享網址無效。"],
"rFL-yb": ["編輯一份副本"],
@@ -3827,6 +3834,7 @@
"uFQbYd": ["首頁兼進入點。"],
"uGaIIS": ["簽出 worktree"],
"uH_S-u": [["loadErrorTitle"], ":", ["message"]],
+ "uIA8mX": ["新增這些檔案"],
"uJfwF8": ["已經安裝了——沒有可匯入的新內容。"],
"uK2peg": ["根據 Open Knowledge Format 檢查您的項目。隨時在“設定”中將其關閉。"],
"uKRYiW": ["無法取得同步狀態——伺服器錯誤。"],
@@ -3958,6 +3966,7 @@
"wXw19Y": ["已把「", ["projectName"], "」從最近的專案中移除。它的資料夾已經不存在了。"],
"wZPUJx": ["「", ["0"], "」"],
"w_Sphq": ["附件"],
+ "waCGTy": ["將你的 AI 工具連接到這個專案"],
"wbMbiY": ["已複製 ", ["selectedSlot"]],
"wbpoGe": ["無法安裝 OpenKnowledge 技能:", ["message"]],
"wbv9xO": ["建立新專案"],
diff --git a/packages/app/src/locales/zh-Hant/messages.po b/packages/app/src/locales/zh-Hant/messages.po
index 0c06dcdc0..54aebd8b4 100644
--- a/packages/app/src/locales/zh-Hant/messages.po
+++ b/packages/app/src/locales/zh-Hant/messages.po
@@ -1459,8 +1459,13 @@ msgstr "加入一個受管理的區塊到 {0}"
#. Subtext under the create-project AI-tools checkbox
#: src/components/CreateProjectDialog.tsx
-msgid "Adds an OpenKnowledge MCP entry and the project skill, so each tool can read and update these notes."
-msgstr "新增 OpenKnowledge 的 MCP 項目與專案技能,讓每個工具都能讀取並更新這些文件。"
+msgid "Adds an OpenKnowledge MCP entry and the project skill to <0>{toolList}</0>, so your agents can read and edit your files."
+msgstr "向 <0>{toolList}</0> 新增 OpenKnowledge 的 MCP 項目與專案技能,讓你的智慧代理可以讀取並編輯你的檔案。"
+
+#. Subtext under the AI-tools MCP checkbox
+#: src/components/McpConsentDialogBody.tsx
+msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."
+msgstr "向 <0>{connectToolList}</0> 新增 OpenKnowledge 的 MCP 項目,讓你的智慧代理可以讀取並編輯你的檔案。"
#: src/components/ReportBugDialogBody.tsx
msgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."
@@ -1475,6 +1480,10 @@ msgstr "把 OpenKnowledge 技能加到 <0>Claude Desktop App</0>,這樣在 Cha
msgid "Adds the skill to {rootRel} — also read by {0}"
msgstr "把技能加到 {rootRel}——{0} 也會讀取該處"
+#: src/components/CreateProjectDialog.tsx
+msgid "Adds these files"
+msgstr "新增這些檔案"
+
#: src/components/McpConsentDialogBody.tsx
msgid "Adds these folders"
msgstr "新增這些資料夾"
@@ -1484,7 +1493,6 @@ msgid "Advanced"
msgstr "進階"
#: src/components/ConsentDialogBody.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Advanced settings"
msgstr "進階設定"
@@ -2989,11 +2997,6 @@ msgstr "衝突"
msgid "Connect"
msgstr "連接"
-#. placeholder {0}: formatToolList( status.editors.map((id) => EDITOR_LABELS[id]), i18n.locale, )
-#: src/components/CreateProjectDialog.tsx
-msgid "Connect {0} to this project"
-msgstr "將 {0} 連接到這個專案"
-
#: src/components/settings/AccountSection.tsx
msgid "Connect a GitHub account to browse and sync your repositories."
msgstr "連接一個 GitHub 帳戶,就能瀏覽並同步你的儲存庫。"
@@ -3047,6 +3050,11 @@ msgstr "連接工具"
msgid "Connect your AI tools"
msgstr "連接你的 AI 工具"
+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the new project
+#: src/components/CreateProjectDialog.tsx
+msgid "Connect your AI tools to this project"
+msgstr "將你的 AI 工具連接到這個專案"
+
#. placeholder {0}: response.dimensions
#: src/components/settings/SearchSection.tsx
msgid "Connected — this endpoint returns {0}-dimension vectors."
@@ -6302,9 +6310,7 @@ msgstr "隱藏進階選項"
msgid "Hide Agents"
msgstr "隱藏「代理」"
-#. Collapses the list of project files the AI-tool setup writes
#: src/components/acp/ThreadView.tsx
-#: src/components/CreateProjectDialog.tsx
msgid "Hide details"
msgstr "隱藏詳細資料"
@@ -6962,12 +6968,6 @@ msgstr "正在安裝"
msgid "Installing {agentName}…"
msgstr "正在安裝 {agentName}…"
-#. Subtext under the AI-tools MCP checkbox
-#. placeholder {0}: formatToolList( editors.map((e) => e.label), i18n.locale, )
-#: src/components/McpConsentDialogBody.tsx
-msgid "Installs the OpenKnowledge MCP into {0} so your agents can read and edit your files."
-msgstr "將 OpenKnowledge MCP 安裝到 {0},讓你的智慧代理可以讀取並編輯你的檔案。"
-
#: src/components/settings/SkillsStudioIntroDialog.tsx
#: src/components/SkillInstallConfirmDialog.tsx
msgid "Installs to"
@@ -7179,6 +7179,7 @@ msgid "Layout options"
msgstr "版面配置選項"
#: src/components/settings/SettingsSectionHeader.tsx
+#: src/components/SharingModeField.tsx
msgid "Learn more"
msgstr "了解更多"
@@ -7186,6 +7187,10 @@ msgstr "了解更多"
msgid "Learn more about {title}"
msgstr "進一步了解 {title}"
+#: src/components/SharingModeField.tsx
+msgid "Learn more about config sharing"
+msgstr "了解更多關於設定分享的資訊"
+
#: src/comments/comment-chips.tsx
msgid "Leave these comments out of this message"
msgstr "不要把這些註解放進這則訊息"
@@ -14206,7 +14211,7 @@ msgid "Welcome to OpenKnowledge"
msgstr "歡迎使用 OpenKnowledge"
#. Button on each setup row that opens the list of files that row writes to
-#: src/components/McpConsentDialogBody.tsx
+#: src/components/RowDisclosure.tsx
msgid "What changes?"
msgstr "會變更什麼?"
@@ -14250,11 +14255,6 @@ msgstr "希望 AI 做什麼?(選填)"
msgid "What the agent may read, write, and surface."
msgstr "代理可以讀取、寫入和呈現的內容。"
-#. Expands the list of project files the AI-tool setup writes
-#: src/components/CreateProjectDialog.tsx
-msgid "What this changes"
-msgstr "這會改變什麼"
-
#: src/components/settings/AiToolsSection.tsx
#: src/components/settings/ProjectAiToolsSection.tsx
msgid "What this checkbox changes"
diff --git a/packages/cli/src/commands/init.test.ts b/packages/cli/src/commands/init.test.ts
index 3e15b26a0..2cb647fd9 100644
--- a/packages/cli/src/commands/init.test.ts
+++ b/packages/cli/src/commands/init.test.ts
@@ -3297,15 +3297,30 @@ describe('runInit — sharing mode', () => {
expect(lines).toEqual([]);
});
- it('AC4: `ok init` (no flag, non-TTY) on a fresh repo preserves `shared` default — no exclude write', async () => {
+ it('`ok init` (no flag, non-TTY) on a fresh repo defaults to local-only, matching the desktop dialogs', async () => {
+ // Was `shared`. Both entry points now put a brand-new project in Only me
+ // so that sharing config with the team is an explicit choice rather than
+ // something that happens by omission.
+ const result = await runInitForTest();
+ expect(result.sharing.kind).toBe('applied');
+ if (result.sharing.kind !== 'applied') throw new Error('expected applied');
+ expect(result.sharing.mode).toBe('local-only');
+ // The exclude file (created by git init) carries the OK paths.
+ const exclude = readFileSync(join(testDir, '.git', 'info', 'exclude'), 'utf-8');
+ expect(exclude).toContain('.ok/');
+ expect(exclude).toContain('.mcp.json');
+ });
+
+ it('re-running `ok init` (no flag) on an initialized shared repo stays shared', async () => {
+ // The fresh-project seed must not fire on a re-run: `readSharingMode`
+ // cannot tell "chose shared" from "never chose", so re-seeding would
+ // silently un-share a team's repo on a scripted re-run.
+ await runInitForTest({ sharing: 'shared' });
const result = await runInitForTest();
expect(result.sharing.kind).toBe('applied');
if (result.sharing.kind !== 'applied') throw new Error('expected applied');
expect(result.sharing.mode).toBe('shared');
- expect(result.sharing.action).toBe('noop');
- // The exclude file (created by git init) must not have any OK paths.
const exclude = readFileSync(join(testDir, '.git', 'info', 'exclude'), 'utf-8');
- expect(exclude).not.toContain('.ok/');
expect(exclude).not.toContain('.mcp.json');
});
@@ -3422,11 +3437,23 @@ describe('resolveSharingMode', () => {
expect(mode).toBe('local-only');
});
- it('non-TTY without flag → returns readSharingMode (shared for fresh repo)', async () => {
+ it('non-TTY without flag on an already-initialized project → preserves shared', async () => {
+ // A re-run is not a new decision. `readSharingMode` cannot tell "chose
+ // shared" from "never chose", so seeding local-only here would silently
+ // un-share a team's repo on a scripted re-run.
const mode = await resolveSharingMode({ projectRoot: testDir, isTTY: false });
expect(mode).toBe('shared');
});
+ it('non-TTY without flag on a fresh project → local-only, matching the dialogs', async () => {
+ const mode = await resolveSharingMode({
+ projectRoot: testDir,
+ isTTY: false,
+ freshProject: true,
+ });
+ expect(mode).toBe('local-only');
+ });
+
it('TTY without flag → invokes prompt with the readSharingMode seed', async () => {
let seed: 'shared' | 'local-only' | null = null;
const mode = await resolveSharingMode({
diff --git a/packages/cli/src/commands/init.ts b/packages/cli/src/commands/init.ts
index e06d4e4b7..b6118a8d3 100644
--- a/packages/cli/src/commands/init.ts
+++ b/packages/cli/src/commands/init.ts
@@ -639,11 +639,9 @@ export async function resolveMcpScope(opts: {
/**
* Prompt the user to pick between `shared` (commit OK config alongside
- * content) and `local-only` (kept out of git via .git/info/exclude). The
- * `defaultMode` argument seeds the pre-selected answer — fresh repos use
- * `shared`; previously-local-only repos preserve `local-only` so an
- * idempotent `ok init` re-run doesn't silently flip the user's prior
- * choice.
+ * content) and `local-only` (kept out of git via .git/info/exclude).
+ * `defaultMode` is the pre-selected answer, computed by `resolveSharingMode`
+ * — see that function for the seed rule.
*/
async function promptSharingMode(
defaultMode: 'shared' | 'local-only',
@@ -673,11 +671,17 @@ async function promptSharingMode(
*
* Order of precedence:
* 1. explicit `sharing` flag — terminal answer; no prompt.
- * 2. TTY: prompt with `readSharingMode(projectRoot)` as the pre-selected
- * default. The prompt's response overrides everything else.
- * 3. Non-TTY: use `readSharingMode(projectRoot)` silently. For a fresh
- * repo this is `shared` (today's behavior preserved); for a previously
- * local-only repo this is `local-only` (preserves prior posture).
+ * 2. TTY: prompt with the seed below as the pre-selected default. The
+ * prompt's response overrides everything else.
+ * 3. Non-TTY: use the seed silently.
+ *
+ * The seed is `local-only` for a project being set up for the first time,
+ * matching what the desktop setup dialogs pre-select, so sharing config with
+ * the team is an explicit choice on every entry point. An already-initialized
+ * project keeps whatever posture it is in, because a re-run of `ok init` is
+ * not a new decision: `readSharingMode` cannot tell "chose shared" from "never
+ * chose" (shared IS the absence of exclude entries), so re-seeding off it
+ * would silently un-share a team's repo on a scripted re-run.
*
* The function is exported so unit tests can exercise the precedence
* without round-tripping through `runInit`.
@@ -686,14 +690,14 @@ export async function resolveSharingMode(opts: {
sharing?: 'shared' | 'local-only';
projectRoot: string;
isTTY?: boolean;
+ /** No `.ok/` on disk yet, so this run is the project's first setup. */
+ freshProject?: boolean;
promptFn?: (defaultMode: 'shared' | 'local-only') => Promise<'shared' | 'local-only'>;
}): Promise<'shared' | 'local-only'> {
if (opts.sharing !== undefined) return opts.sharing;
const current = readSharingMode(opts.projectRoot);
- // `no-git` collapses to `shared` for the default — there's nothing to
- // toggle yet, and the default presented to a TTY user is the safer
- // share-with-team option.
- const seed: 'shared' | 'local-only' = current === 'local-only' ? 'local-only' : 'shared';
+ const seed: 'shared' | 'local-only' =
+ current === 'local-only' || opts.freshProject === true ? 'local-only' : 'shared';
const tty = opts.isTTY ?? process.stdout.isTTY;
if (!tty) return seed;
const prompt = opts.promptFn ?? promptSharingMode;
@@ -756,11 +760,9 @@ interface InitCommandOptions {
/** Test hook: inject a custom promptFn for the interactive scope prompt. */
promptFn?: () => Promise<McpScope | null>;
/**
- * Sharing-mode posture. Undefined means
- * "no explicit flag" — the prompt fires when stdin is a TTY; otherwise
- * the effective default is `readSharingMode(projectRoot)` (preserves
- * a prior `local-only` choice on an idempotent re-run; fresh repos
- * collapse to `shared`).
+ * Sharing-mode posture. Undefined means "no explicit flag" — the prompt
+ * fires when stdin is a TTY; otherwise `resolveSharingMode` decides (see
+ * its doc comment for the seed rule).
*/
sharing?: 'shared' | 'local-only';
/** Test hook: inject a custom prompt for the sharing-mode TTY prompt. */
@@ -2039,6 +2041,9 @@ export async function runInit(options: InitCommandOptions = {}): Promise<InitCom
sharing: options.sharing,
projectRoot,
isTTY: options.isTTY,
+ // Captured before step 1 scaffolded `.ok/`, so it still reports whether
+ // this run is the project's first setup.
+ freshProject: willScaffold,
promptFn: options.sharingPromptFn,
});
const sharing = await applySharingMode({
@@ -2836,8 +2841,8 @@ export function formatSharingOutcome(outcome: SharingOutcome, cwd: string): stri
` Run ${info('git init')} (or open this folder via OK Desktop, which can scaffold a repo) and then ${info('ok config-sharing unshare')}.`,
);
} else if (outcome.reason === 'no-git') {
- // Silent for fresh repos with no flag — the default is `shared`
- // and there's nothing to surface.
+ // Silent for fresh repos with no flag — with no git there is no
+ // exclude file to write either way, so there is nothing to surface.
return [];
} else {
lines.push(warning(`Sharing mode unavailable: ${outcome.reason}.`));
diff --git a/packages/desktop/src/main/consent-dialog.ts b/packages/desktop/src/main/consent-dialog.ts
index a44cce3f1..8c168881b 100644
--- a/packages/desktop/src/main/consent-dialog.ts
+++ b/packages/desktop/src/main/consent-dialog.ts
@@ -395,10 +395,13 @@ function validateConfirmRequest(
const editorIds = request.editorIds.filter((id): id is McpWiringEditorId =>
offeredIds.has(id as McpWiringEditorId),
);
- // Sharing-mode posture: validate against the closed set; default to
+ // Sharing-mode posture: validate against the closed set; fall back to
// `shared` on any non-matching value (defensive: a renderer bypass would
- // not be able to inject `'local-only'` without sending an exact string,
- // but the safer default is the team-friendly one).
+ // not be able to inject `'local-only'` without sending an exact string).
+ // `shared` is the fallback because it is the inert one — it writes no
+ // `.git/info/exclude` entries — so a corrupt payload leaves the repo as it
+ // found it. It is NOT the posture the dialogs pre-select; they default to
+ // `local-only` and always send an explicit value.
const sharing: 'shared' | 'local-only' =
request.sharing === 'local-only' ? 'local-only' : 'shared';
return {
diff --git a/packages/desktop/src/main/create-new-project.ts b/packages/desktop/src/main/create-new-project.ts
index ae3d380e3..6beafb0ac 100644
--- a/packages/desktop/src/main/create-new-project.ts
+++ b/packages/desktop/src/main/create-new-project.ts
@@ -176,8 +176,10 @@ interface CreateNewProjectArgs {
/**
* Sharing posture chosen at create-time.
* Optional in the type to keep callers that don't care backward-
- * compatible; the runtime default is `'shared'` (the
- * team-friendly default). Routed through `addOkPathsToGitExclude` after
+ * compatible; an omitted or malformed value resolves to `'shared'`, the
+ * inert option (it writes no git-exclude entries). The create-new dialog
+ * pre-selects `'local-only'` and always sends an explicit value, so this
+ * fallback covers non-dialog callers. Routed through `addOkPathsToGitExclude` after
* `writeProjectAiIntegrations` so the create-new dialog and the
* Pick-Existing consent dialog share one sharing-transition site.
*/
diff --git a/packages/desktop/src/main/ipc/sharing.ts b/packages/desktop/src/main/ipc/sharing.ts
index 45cd65a92..6aa126a99 100644
--- a/packages/desktop/src/main/ipc/sharing.ts
+++ b/packages/desktop/src/main/ipc/sharing.ts
@@ -105,8 +105,13 @@ export function handleSharingSetSkillsShared(
* pre-formatted remediation for the renderer to render in a modal /
* sticky toast. `shared` removes OK paths unconditionally.
*
- * Robust against a malformed `mode` argument from the wire — defaults to
- * the safer `shared` write rather than refusing the call.
+ * Robust against a malformed `mode` argument from the wire — falls back to
+ * the `shared` write rather than refusing the call. Unlike the create-new and
+ * consent fallbacks, where `shared` is genuinely inert, this site's `shared`
+ * arm calls `removeOkPathsFromGitExclude`, which reverses a prior `local-only`
+ * choice. The renderer always sends an explicit value, so the fallback is only
+ * reachable via a renderer bypass. Not a statement about which posture the
+ * dialogs pre-select.
*/
export function handleSharingSetMode(
projectPath: string,
diff --git a/packages/desktop/src/shared/ipc-channels.ts b/packages/desktop/src/shared/ipc-channels.ts
index 4e930a7ab..8dd668569 100644
--- a/packages/desktop/src/shared/ipc-channels.ts
+++ b/packages/desktop/src/shared/ipc-channels.ts
@@ -429,8 +429,9 @@ export interface OnboardingConfirmRequest {
readonly editorIds: readonly McpWiringEditorId[];
/**
* Sharing-mode posture. `shared` — commit
- * OK config alongside content (default). `local-only` — append OK
- * artifact paths to `.git/info/exclude` so they stay out of git.
+ * OK config alongside content. `local-only` — append OK
+ * artifact paths to `.git/info/exclude` so they stay out of git; this is
+ * what the consent dialog pre-selects.
*
* When the picked folder has no git repo (`gitState === 'absent' |
* 'shell-only'` AND the user opts out of `initGit`), this field is still
@@ -1191,7 +1192,11 @@ export interface RequestChannels {
parent: string;
name: string;
editors: readonly McpWiringEditorId[];
- /** Defaults to 'shared' when omitted. */
+ /**
+ * Omitted resolves to 'shared' (the inert option — no git-exclude
+ * writes). The create-new dialog pre-selects 'local-only' and always
+ * sends an explicit value.
+ */
sharing?: 'shared' | 'local-only';
/**
* Starter pack to seed into the newly-created project (first-run
diff --git a/packages/desktop/tests/smoke/qa-create-new-extended.e2e.ts b/packages/desktop/tests/smoke/qa-create-new-extended.e2e.ts
index 3004e995e..8ffb2d4fb 100644
--- a/packages/desktop/tests/smoke/qa-create-new-extended.e2e.ts
+++ b/packages/desktop/tests/smoke/qa-create-new-extended.e2e.ts
@@ -57,17 +57,6 @@ const TARGET = resolveDesktopTarget();
const DESKTOP_PRODUCT_NAME = '@inkeep/open-knowledge-desktop';
-/**
- * Only the config-sharing posture lives inside the collapsed "Advanced settings"
- * section now (Radix unmounts collapsed content) — expand it before driving or
- * asserting on that control. The AI-tool decision is top-level.
- */
-async function expandCreateAdvanced(page: Page): Promise<void> {
- const trigger = page.locator('[data-testid="create-advanced-trigger"]');
- await expect(trigger).toBeVisible({ timeout: 15_000 });
- await trigger.click();
-}
-
/**
* Make `bin` resolve as an installed CLI for editor-presence detection.
* `bin` must be the registry binary name (`TERMINAL_CLIS[<id>].bin` in
@@ -247,8 +236,9 @@ test.describe('QA extended create-new-project', () => {
);
// One pre-checked box covering the detected tools, top-level (no longer
- // behind Advanced). Its label names the write set, so assert the label
- // rather than per-editor checkboxes that no longer exist.
+ // behind Advanced). Its subtext names the write set (the title line is
+ // fixed copy), so assert that rather than per-editor checkboxes that no
+ // longer exist.
const connectBox = navigator.locator('[data-testid="create-editors-checkbox"]');
await expect(connectBox).toBeVisible({ timeout: 15_000 });
await expect(connectBox).toBeChecked();
@@ -311,8 +301,9 @@ test.describe('QA extended create-new-project', () => {
const ariaLive = await caption.getAttribute('aria-live');
expect(ariaLive).toBe('polite');
- // The AI-tool decision is one top-level, pre-checked box naming the tools
- // it covers — no longer a row per editor behind Advanced settings.
+ // The AI-tool decision is one top-level, pre-checked box whose subtext
+ // names the tools it covers — no longer a row per editor behind Advanced
+ // settings.
const connectBox = navigator.locator('[data-testid="create-editors-checkbox"]');
await expect(connectBox).toBeVisible({ timeout: 15_000 });
await expect(connectBox).toBeChecked();
@@ -396,9 +387,8 @@ test.describe('QA extended create-new-project', () => {
.poll(() => countWindowsByMode(app1, 'editor'), { timeout: 30_000 })
.toBeGreaterThanOrEqual(1);
- // Advanced settings is never opened here, so this submits the
- // detection-seeded selection — empty, since nothing is installed under the
- // seeded tmp HOME. That still creates a real project; it just wires no
+ // This submits the detection-seeded selection — empty, since nothing is
+ // installed under the seeded tmp HOME. That still creates a real project; it just wires no
// editor integrations.
const firstProject = join(parent, projectName);
await expect
@@ -471,10 +461,13 @@ test.describe('QA extended create-new-project', () => {
{ timeout: 15_000 },
);
await expect(navigator2.locator('[data-testid="create-editors-checkbox"]')).toHaveCount(0);
- // Advanced still collapses back to hidden on a fresh open.
- await expect(navigator2.locator('[data-testid="create-sharing"]')).toHaveCount(0);
- await expandCreateAdvanced(navigator2);
+ // Config sharing sits at the top level and resets to its "Only me"
+ // default on a fresh open.
await expect(navigator2.locator('[data-testid="create-sharing"]')).toBeVisible();
+ await expect(navigator2.locator('[data-testid="create-sharing-local-only"]')).toHaveAttribute(
+ 'data-state',
+ 'checked',
+ );
});
// Create stays enabled even before the user types a name — a disabled