Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
Use one AI-tools checkbox when opening an existing folder (#3832)
sarahf7debb563ead
diff --git a/.changeset/open-folder-one-ai-tools-checkbox.md b/.changeset/open-folder-one-ai-tools-checkbox.mdnew file mode 100644index 000000000..9a7bf4093--- /dev/null+++ b/.changeset/open-folder-one-ai-tools-checkbox.md@@ -0,0 +1,7 @@+---+"@inkeep/open-knowledge": patch+---++Setting up OpenKnowledge in an existing folder now asks about AI tools the same way creating a new project does: one checkbox covering the tools found on your machine, with a "What changes?" list of the exact files it writes. It replaces a list of eleven per-tool checkboxes buried in Advanced settings, and it fixes what that list promised. Five of those tools — Claude Desktop, OpenClaw, Antigravity, LM Studio and Hermes — only ever store settings for your whole account, never per project, so ticking them here wrote nothing at all; GitHub Copilot was listed the same way before it had been connected, when its project skill cannot be installed yet. Accepting the defaults also created config files for tools you don't have installed, scattering `.codex/`, `.opencode/` and `.pi/` folders into repositories that never asked for them.++The row now sits in plain view rather than behind Advanced settings — whether your project is reachable from your agents at all is not an advanced setting. Turning off individual tools still lives in Settings, under This project, where each row says what it writes and can be switched off again later.diff --git a/packages/app/src/components/ConsentDialogBody.dom.test.tsx b/packages/app/src/components/ConsentDialogBody.dom.test.tsxindex 388df66b8..018ad63ad 100644--- a/packages/app/src/components/ConsentDialogBody.dom.test.tsx+++ b/packages/app/src/components/ConsentDialogBody.dom.test.tsx@@ -1,3 +1,4 @@+import { EDITOR_LABELS } from '@inkeep/open-knowledge-core';import * as actualLinguiMacro from '@lingui/react/macro';import { cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react';import userEvent from '@testing-library/user-event';@@ -28,12 +29,37 @@ const payload: OkOnboardingShowPayload = {gitState: 'present',gitRootPromoted: false,warnings: [],- editorOptions: [- { id: 'claude-desktop', label: 'Claude Desktop', hasProjectConfig: true },- { id: 'codex', label: 'Codex', hasProjectConfig: false },- ],};+/**+ * Minimal `integrations.status()` stub. The dialog reads exactly two fields:+ * `detectedEditorIds` (what is on this machine) and `editors[].state` (whether+ * OK's user-global entry is installed, which gates Copilot's project skill).+ */+function statusBridge(+ detectedEditorIds: string[],+ opts: { pending?: boolean; editorStates?: Record<string, string> } = {},+) {+ const status = {+ available: true,+ // `state` is the USER-GLOBAL entry's state, which is what gates Copilot's+ // project skill — distinct from `detectedEditorIds` (is the tool on this+ // machine at all). Default `installed` keeps the simple cases terse.+ editors: detectedEditorIds.map((id) => ({+ id,+ state: opts.editorStates?.[id] ?? 'installed',+ })),+ path: { shellDetected: false, rcFilesToTouch: [], installed: false },+ skills: [],+ detectedEditorIds,+ };+ return {+ integrations: {+ status: () => (opts.pending ? new Promise(() => {}) : Promise.resolve(status)),+ },+ };+}+function setBridge(bridge: unknown) {Object.defineProperty(window, 'okDesktop', {configurable: true,@@ -68,11 +94,18 @@ function renderConsentDialog() {return harness;}+/** Wait for the editor-detection probe to settle into its checkbox state. */+async function awaitDetected() {+ await waitFor(() => {+ expect(screen.getByTestId('consent-editors-status').getAttribute('data-status')).toBe('ready');+ });+}+/**- * The content.dir / ignore / AI-tool controls live inside the collapsed- * "Advanced settings" section, which Radix unmounts while closed. Expand it- * before interacting with those fields. (Config sharing is NOT here — it sits- * at the top level.)+ * The content.dir / ignore controls live inside the collapsed "Advanced+ * settings" section, which Radix unmounts while closed. Expand it before+ * interacting with those fields. (Config sharing and the AI-tools row are NOT+ * here — both sit at the top level.)*/async function expandAdvanced() {await userEvent.click(screen.getByTestId('consent-advanced-trigger'));@@ -140,6 +173,142 @@ describe('ConsentDialogBody runtime form behavior', () => {expect(confirmCalls[0]?.sharing).toBe('shared');});+ test('the AI-tools row is shown at the top level, not inside Advanced settings', async () => {+ const harness = makeStore();+ setBridge(statusBridge(['claude', 'cursor']));+ render(<ConsentDialogBody payload={payload} store={harness.store} />);++ await awaitDetected();+ expect(screen.getByTestId('consent-editors-checkbox').getAttribute('data-state')).toBe(+ 'checked',+ );+ // ...while the Advanced-only fields stay collapsed.+ expect(screen.queryByTestId('consent-content-dir')).toBeNull();+ });++ test('the detected tools are the write set, and the row names them', async () => {+ const harness = makeStore();+ setBridge(statusBridge(['claude', 'cursor']));+ render(<ConsentDialogBody payload={payload} store={harness.store} />);+ await awaitDetected();++ expect(screen.getByTestId('consent-editors-summary').textContent ?? '').toContain('Claude');+ fireEvent.submit(screen.getByTestId('consent-form') as HTMLFormElement);+ await waitFor(() => {+ expect(harness.confirmCalls).toHaveLength(1);+ });+ expect(harness.confirmCalls[0]?.editorIds).toEqual(['claude', 'cursor']);+ expect(harness.confirmCalls[0]?.connectEditors).toBe(true);+ });++ test('a detected user-global-only tool is neither named nor submitted', async () => {+ // Claude Desktop has no project MCP config and no project skill root, so+ // every project writer returns `skipped-unsupported` for it. Detection+ // still finds it, which is exactly why the filter has to be on what gets+ // WRITTEN rather than on what was detected.+ //+ // Asserts on the summary, not on the per-tool `<li>` ids: those live inside+ // `RowDisclosure`'s Radix popover, which is unmounted while collapsed, so+ // every item id reads null here whether or not it is in the write set.+ const harness = makeStore();+ setBridge(statusBridge(['claude', 'claude-desktop']));+ render(<ConsentDialogBody payload={payload} store={harness.store} />);+ await awaitDetected();++ const summary = screen.getByTestId('consent-editors-summary').textContent ?? '';+ expect(summary).toContain(EDITOR_LABELS.claude);+ expect(summary).not.toContain(EDITOR_LABELS['claude-desktop']);++ fireEvent.submit(screen.getByTestId('consent-form') as HTMLFormElement);+ await waitFor(() => {+ expect(harness.confirmCalls).toHaveLength(1);+ });+ expect(harness.confirmCalls[0]?.editorIds).toEqual(['claude']);+ });++ test('Copilot is dropped until its user-global entry exists, then included', async () => {+ // Copilot's project skill (`.github/skills`) is refused by+ // `isProjectSkillPrerequisiteMet` until Copilot's USER-GLOBAL OpenKnowledge+ // entry is present, and it has no project MCP config — so before that, a+ // setup writes nothing for it and must not say otherwise.+ const withoutEntry = makeStore();+ setBridge(statusBridge(['claude', 'copilot'], { editorStates: { copilot: 'not-installed' } }));+ render(<ConsentDialogBody payload={payload} store={withoutEntry.store} />);+ await awaitDetected();+ expect(screen.getByTestId('consent-editors-summary').textContent ?? '').not.toContain(+ EDITOR_LABELS.copilot,+ );++ cleanup();++ const withEntry = makeStore();+ setBridge(statusBridge(['claude', 'copilot']));+ render(<ConsentDialogBody payload={payload} store={withEntry.store} />);+ await awaitDetected();+ expect(screen.getByTestId('consent-editors-summary').textContent ?? '').toContain(+ EDITOR_LABELS.copilot,+ );++ fireEvent.submit(screen.getByTestId('consent-form') as HTMLFormElement);+ await waitFor(() => {+ expect(withEntry.confirmCalls).toHaveLength(1);+ });+ expect(withEntry.confirmCalls[0]?.editorIds).toEqual(['claude', 'copilot']);+ });++ test('a foreign user-global entry does not satisfy the Copilot prerequisite', async () => {+ // `foreign` means an entry sits under OpenKnowledge's server name but is+ // not ours, so OK's MCP is not actually registered. The renderer's check is+ // deliberately stricter than the write path's, which also passes on+ // `foreign` — a skill installed here would point the agent at tools that+ // are not there.+ const harness = makeStore();+ setBridge(statusBridge(['claude', 'copilot'], { editorStates: { copilot: 'foreign' } }));+ render(<ConsentDialogBody payload={payload} store={harness.store} />);+ await awaitDetected();++ expect(screen.getByTestId('consent-editors-summary').textContent ?? '').not.toContain(+ EDITOR_LABELS.copilot,+ );+ });++ test('unticking the row sends an empty write set and records the decline', async () => {+ const harness = makeStore();+ setBridge(statusBridge(['claude', 'cursor']));+ render(<ConsentDialogBody payload={payload} store={harness.store} />);+ await awaitDetected();++ await userEvent.click(screen.getByTestId('consent-editors-checkbox'));++ fireEvent.submit(screen.getByTestId('consent-form') as HTMLFormElement);+ await waitFor(() => {+ expect(harness.confirmCalls).toHaveLength(1);+ });+ expect(harness.confirmCalls[0]?.editorIds).toEqual([]);+ expect(harness.confirmCalls[0]?.connectEditors).toBe(false);+ });++ test('Setup is disabled while the detection probe is in flight', async () => {+ // Submitting mid-probe would send `editorIds: []` — a project wired to+ // nothing while the row still reads "Checking which AI tools you have".+ //+ // `detectionPending` also guards on `connectEditors`, mirroring+ // `CreateProjectDialog`. That half is unreachable from the UI: the row+ // early-returns its status region while probing, so there is no checkbox to+ // untick until detection settles. Kept for symmetry with the sibling copy,+ // not asserted here, because no test can reach it.+ const harness = makeStore();+ setBridge(statusBridge([], { pending: true }));+ render(<ConsentDialogBody payload={payload} store={harness.store} />);++ expect(screen.getByTestId('consent-editors-status').getAttribute('data-status')).toBe(+ 'probing',+ );+ expect((screen.getByTestId('consent-start') as HTMLButtonElement).disabled).toBe(true);+ fireEvent.submit(screen.getByTestId('consent-form') as HTMLFormElement);+ expect(harness.confirmCalls).toHaveLength(0);+ });+test('an invalid default content dir force-opens Advanced settings and shows the error without expanding', () => {// Regression guard for `advancedExpanded = advancedOpen || !contentDirSafe`// — an invalid content dir must auto-open the section so its inline error@@ -182,7 +351,10 @@ describe('ConsentDialogBody runtime form behavior', () => {initGit: true,contentDir: 'docs',additionalIgnores: '',- editorIds: ['claude-desktop', 'codex'],+ // No bridge in this harness, so detection settles empty. `connectEditors`+ // stays true: the user declined nothing, there was nothing to offer.+ editorIds: [],+ connectEditors: true,sharing: 'local-only',});});@@ -215,6 +387,9 @@ describe('ConsentDialogBody runtime form behavior', () => {onboarding: {probeContent: async () => ({ ok: true, count: 0, sample: [], truncated: false }),},+ // The dialog probes editor detection on mount through the same bridge; a+ // stub missing it is a shape the real preload never has.+ ...statusBridge([]),} satisfies Pick<OkDesktopBridge, 'dialog'> & {onboarding: Pick<OkDesktopBridge['onboarding'], 'probeContent'>;});diff --git a/packages/app/src/components/ConsentDialogBody.tsx b/packages/app/src/components/ConsentDialogBody.tsxindex 26d8f35d0..ce55f1c9b 100644--- a/packages/app/src/components/ConsentDialogBody.tsx+++ b/packages/app/src/components/ConsentDialogBody.tsx@@ -6,21 +6,30 @@** Reads as a confirmation screen: sensitive-path warning paragraphs* (role="alert"), git-root-promotion notice, a file-count preview line- * (async + 750 ms throttle; cap surfaces as `≥ 50,000`), and the config-sharing- * posture (side-by-side radio cards) stay visible, while the remaining editable- * controls — content.dir text input with `..`-escape rejection + Browse button,- * ignore-patterns textarea, and AI-tool multi-select (all checked by default,- * no auto-detect) — collapse into an "Advanced settings" section (force-opened- * when content.dir is invalid so its inline error stays reachable). Start+ * (async + 750 ms throttle; cap surfaces as `≥ 50,000`), the AI-tool decision+ * (`ProjectAiToolsField`) and the config-sharing posture (side-by-side radio+ * cards) stay visible, while the remaining editable controls — content.dir text+ * input with `..`-escape rejection + Browse button, and ignore-patterns+ * textarea — collapse into an "Advanced settings" section (force-opened when+ * content.dir is invalid so its inline error stays reachable). Start* primary + Cancel secondary. Picking a* folder via* the dialog == agreeing to scaffold `.ok/`; users who don't want OK* scaffolded simply Cancel. Git is initialized implicitly when the* picked path has no real `.git/` (or is shell-only) — no UI toggle.+ *+ * The AI-tool row is one pre-checked checkbox over the tools detected on this+ * machine, the same component and answer shape the create-project dialog uses.+ * It replaced a per-tool multi-select over every supported editor, which asked+ * for a row-by-row audit on a screen most people answer once with "yes" — and+ * offered five user-global-only tools whose boxes wrote nothing at all, since+ * this flow only ever writes project-scoped artifacts. Picking among tools+ * lives in Settings > This project.*/// biome-ignore-all lint/plugin/no-physical-direction-utility: pre-rule backlog — physical margin/padding/inset utilities predate the rule; drain by swapping ml/mr → ms/me, pl/pr → ps/pe, left/right → start/end, then deleting this line. See https://github.com/inkeep/open-knowledge/blob/main/biome-plugins/README.md#no-physical-direction-utilitygrit+import { receivesProjectIntegrationWrite } from '@inkeep/open-knowledge-core';import type { MessageDescriptor } from '@lingui/core';import { msg } from '@lingui/core/macro';import { Trans, useLingui } from '@lingui/react/macro';@@ -28,13 +37,13 @@ import { ChevronRight } from 'lucide-react';import type React from 'react';import { useEffect, useId, useState } from 'react';import { toast as sonnerToast } from 'sonner';+import { ProjectAiToolsField } from '@/components/ProjectAiToolsField';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,@@ -113,9 +122,18 @@ function ConsentDialogForm({ payload, store, toast }: ConsentDialogFormProps) {const formId = useId();const [contentDir, setContentDir] = useState(payload.defaultContentDir);const [additionalIgnores, setAdditionalIgnores] = useState('');- const [editorIds, setEditorIds] = useState<ReadonlySet<OkMcpWiringEditorId>>(- () => new Set(payload.editorOptions.map((e) => e.id)),+ // Tools detected on this machine that will actually receive a project write,+ // probed on mount. `null` means the probe is still in flight — distinct from+ // `[]` ("probed, found nothing"), because the row is always visible and has to+ // say which of the two it is rather than flashing an empty state.+ const [detectedEditors, setDetectedEditors] = useState<readonly OkMcpWiringEditorId[] | null>(+ null,);+ // Whether to wire those tools on Setup. One decision, pre-checked: the write+ // set is exactly the detected tools, so there is nothing to seed and no race+ // with the probe — a late result changes the list the label names, never the+ // answer the user gave.+ const [connectEditors, setConnectEditors] = useState(true);const [sharing, setSharing] = useState<SharingMode>(DEFAULT_SHARING_MODE);const [probe, setProbe] = useState<OkOnboardingProbeContentResult | null>(null);const [busy, setBusy] = useState(false);@@ -153,8 +171,61 @@ function ConsentDialogForm({ payload, store, toast }: ConsentDialogFormProps) {};}, [contentDir, t]);+ // Editor detection, once on mount — this dialog is created fresh per folder+ // pick, so there is no reopen to re-probe for. Filtered to the tools this+ // setup will actually write something for (`receivesProjectIntegrationWrite`,+ // not mere surface membership): a user-global-only tool has nothing to write+ // here, and Copilot's project skill is gated on its user-global OpenKnowledge+ // entry, so before that exists the write lands as `skipped-prerequisite`.+ // Naming either in the checkbox label would promise a file that never appears.+ useEffect(() => {+ const bridge = window.okDesktop;+ if (!bridge) {+ setDetectedEditors([]);+ return;+ }+ let cancelled = false;+ bridge.integrations+ .status()+ .then((status) => {+ if (cancelled) return;+ // `installed` only — deliberately stricter than the write path's own+ // check, which asks whether ANY entry sits under OpenKnowledge's server+ // name and so also passes on `foreign` (an entry under that name that+ // isn't ours). A foreign entry means OK's MCP is not actually+ // registered, so the skill would tell the agent to call tools that+ // aren't there.+ const userMcpInstalled = new Set(+ status.editors.filter((e) => e.state === 'installed').map((e) => e.id),+ );+ setDetectedEditors(+ status.detectedEditorIds.filter((id) =>+ receivesProjectIntegrationWrite(id, {+ userMcpEntryInstalled: userMcpInstalled.has(id),+ }),+ ),+ );+ })+ .catch((err: unknown) => {+ // Best-effort: settle on an empty list so we never write for a tool we+ // could not confirm, and the row says so rather than hanging on+ // "Checking".+ console.warn('[ConsentDialog] editor-detection probe failed:', err);+ if (!cancelled) setDetectedEditors([]);+ });+ return () => {+ cancelled = true;+ };+ }, []);+const contentDirSafe = isContentDirSafe(contentDir);- const startDisabled = busy || !contentDirSafe;+ // The detection probe settles independently of everything else on this+ // screen, so Setup could otherwise fire while `detectedEditors` is still null+ // and submit `editorIds: []` — a project wired to nothing while the row still+ // reads "Checking which AI tools you have". Only gate it while the user+ // actually intends to connect: with the box unticked the list is never read.+ const detectionPending = connectEditors && detectedEditors === null;+ const startDisabled = busy || detectionPending || !contentDirSafe;// Advanced settings collapse by default — the dialog reads as a// confirmation screen. Force it open whenever the content dir is invalid// so the inline error (which lives inside the section) can't hide off-screen.@@ -167,15 +238,6 @@ function ConsentDialogForm({ payload, store, toast }: ConsentDialogFormProps) {const pickedRelative =relativeToProject(payload.projectDir, payload.pickedPath) ?? payload.pickedPath;- function toggleEditor(id: OkMcpWiringEditorId) {- setEditorIds((prev) => {- const next = new Set(prev);- if (next.has(id)) next.delete(id);- else next.add(id);- return next;- });- }-async function onBrowseContentDir() {const bridge = window.okDesktop;if (!bridge) return;@@ -202,7 +264,8 @@ function ConsentDialogForm({ payload, store, toast }: ConsentDialogFormProps) {initGit,contentDir,additionalIgnores,- editorIds: Array.from(editorIds),+ editorIds: connectEditors ? [...(detectedEditors ?? [])] : [],+ connectEditors,sharing,});if (!result.ok) {@@ -241,8 +304,9 @@ function ConsentDialogForm({ payload, store, toast }: ConsentDialogFormProps) {<Dialog open onOpenChange={onOpenChange}><DialogContentclassName="sm:max-w-lg"- // Radix Dialog autofocuses the first focusable descendant on open. The- // file-count probe is async, so ProbePreview renders a non-focusable+ // Radix Dialog autofocuses the first focusable descendant on open. Both+ // the file-count probe and the editor-detection probe are async, so+ // ProbePreview and the AI-tools row each render a non-focusable// placeholder at mount — making the sharing-info TooltipTrigger the// first focusable element. A Radix Tooltip opens immediately on focus// (delayDuration 0), so the info popover would pop open unbidden.@@ -293,6 +357,21 @@ function ConsentDialogForm({ payload, store, toast }: ConsentDialogFormProps) {<form id={formId} onSubmit={onSubmit} data-testid="consent-form" className="space-y-6">{contentDirSafe ? <ProbePreview probe={probe} /> : null}+ {/* 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. Same row the create-project dialog renders — one+ pre-checked 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}+ disabled={busy}+ testIdPrefix="consent-editors"+ itemTestIdPrefix="consent-editor"+ />+<SharingModeFieldidPrefix={formId}testIdPrefix="consent-sharing"@@ -390,56 +469,6 @@ function ConsentDialogForm({ payload, store, toast }: ConsentDialogFormProps) {</Trans></p></div>-- <fieldset className="flex flex-col space-y-2 pb-2">- <legend className="text-sm font-medium">- <Trans>Connect to AI tools</Trans>- </legend>- <p className="text-1sm text-muted-foreground">- <Trans>Writes a project-MCP config for each selected tool.</Trans>- </p>- {payload.editorOptions.map((editor) => {- const checkboxId = `consent-editor-${editor.id}-cb`;- return (- <label- key={editor.id}- htmlFor={checkboxId}- className="flex items-center gap-2 text-sm"- >- <Checkbox- id={checkboxId}- checked={editorIds.has(editor.id)}- onCheckedChange={() => toggleEditor(editor.id)}- disabled={busy}- data-testid={`consent-editor-${editor.id}`}- />- <span>{editor.label}</span>- <span- className="text-xs text-muted-foreground"- data-testid={`consent-editor-${editor.id}-scope`}- >- {/* Absent hasUserConfig (older main process) reads as- user-writable — every pre-Pi editor was. */}- {editor.hasProjectConfig ? (- (editor.hasUserConfig ?? true) ? (- <Trans comment="Scope tag next to an AI tool — config is written at both project and user level">- (project + user)- </Trans>- ) : (- <Trans comment="Scope tag next to an AI tool — config is written at project level only">- (project-level only)- </Trans>- )- ) : (- <Trans comment="Scope tag next to an AI tool — config is written at user level only">- (user-level only)- </Trans>- )}- </span>- </label>- );- })}- </fieldset></CollapsibleContent></Collapsible></form>diff --git a/packages/app/src/components/CreateProjectDialog.tsx b/packages/app/src/components/CreateProjectDialog.tsxindex 19fc6902e..d788ab4af 100644--- a/packages/app/src/components/CreateProjectDialog.tsx+++ b/packages/app/src/components/CreateProjectDialog.tsx@@ -70,14 +70,10 @@ import {CREATE_NEW_PROJECT_FAILURE_REASONS,type CreateNewBannerKind,type CreateNewProjectFailureReason,- EDITOR_LABELS,- EDITOR_PROJECT_CONFIG_PATH,- EDITOR_PROJECT_SKILL_ROOT,- RESERVED_PROJECT_SKILL_NAME,receivesProjectIntegrationWrite,sanitizeFolderName,} from '@inkeep/open-knowledge-core';-import { i18n, type MessageDescriptor } from '@lingui/core';+import type { MessageDescriptor } from '@lingui/core';import { msg } from '@lingui/core/macro';import { Plural, Trans, useLingui } from '@lingui/react/macro';import { ArrowLeft } from 'lucide-react';@@ -85,7 +81,7 @@ import { type RefObject, 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 { ProjectAiToolsField } from '@/components/ProjectAiToolsField';import { type SeedRootChoice, SeedRootPicker } from '@/components/SeedRootPicker';import {DEFAULT_SHARING_MODE,@@ -93,7 +89,6 @@ import {SharingModeField,} from '@/components/SharingModeField';import { Button } from '@/components/ui/button';-import { Checkbox } from '@/components/ui/checkbox';import {Dialog,DialogBody,@@ -117,7 +112,6 @@ import type {} from '@/lib/desktop-bridge-types';import { PACK_BLURBS } from '@/lib/pack-copy';import { seedClient } from '@/lib/seed-client';-import { formatToolList } from '@/lib/tool-list-format';import { cn } from '@/lib/utils';/**@@ -1378,6 +1372,8 @@ export function CreateProjectDialog({checked={connectEditors}onCheckedChange={setConnectEditors}disabled={busy}+ testIdPrefix="create-editors"+ itemTestIdPrefix="create-editor"/>{/* The review screen counted these skills, but whether they@@ -1492,158 +1488,6 @@ export function CreateProjectDialog({);}-interface ProjectAiToolsFieldProps {- /** `null` while the detection probe is in flight; `[]` once it settled empty. */- detectedEditors: readonly OkMcpWiringEditorId[] | null;- checked: boolean;- onCheckedChange: (next: boolean) => void;- disabled: boolean;-}--/**- * The project's AI-tool decision: one checkbox covering every detected tool,- * 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- * the disclosure cannot advertise a file that never gets written. Tools with a- * null entry in both are filtered out upstream and never reach this component.- */-function ProjectAiToolsField({- detectedEditors,- checked,- onCheckedChange,- disabled,-}: ProjectAiToolsFieldProps) {- const { t } = useLingui();- const checkboxId = useId();-- // The probe's two non-interactive outcomes share ONE live region that is- // always mounted. A region that appears at the same moment as its text is not- // a change to announce — assistive tech has to be observing the node before- // the content lands — so swapping the message inside a persistent node is what- // makes "checking…" → "none found" actually reach a screen reader.- const status =- detectedEditors === null- ? { kind: 'probing' as const, message: t`Checking which AI tools you have` }- : detectedEditors.length === 0- ? {- kind: 'none' as const,- message: t`No AI tools detected yet. Once you install one, connect it from Settings > This project.`,- }- : // Carrying the narrowed list on the ready arm is what lets the early- // return below discriminate it — the guard alone doesn't re-narrow- // `detectedEditors` for the JSX that follows.- { kind: 'ready' as const, message: '', editors: detectedEditors };-- const statusRegion = (- <p- aria-live="polite"- className={cn(- status.kind === 'ready'- ? 'sr-only'- : 'rounded-md border border-border px-3 py-2.5 text-1sm text-muted-foreground',- )}- data-status={status.kind}- data-testid="create-editors-status"- >- {status.message}- </p>- );-- 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}- {/* 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 min-w-0 cursor-pointer flex-col items-start gap-1 font-normal"- >- <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="flex min-w-0 flex-1 items-center gap-1.5 pe-28 text-sm font-medium text-foreground"- data-testid="create-editors-title"- >- <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>- {/* 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"- >- {/* 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>- </>- );-}-interface CascadeBannerProps {cascade: SettledCascade;onOpenNested: (rootPath: string) => void;diff --git a/packages/app/src/components/ProjectAiToolsField.tsx b/packages/app/src/components/ProjectAiToolsField.tsxnew file mode 100644index 000000000..2590ae6a7--- /dev/null+++ b/packages/app/src/components/ProjectAiToolsField.tsx@@ -0,0 +1,188 @@+/**+ * The project's AI-tool decision — one checkbox covering every detected tool,+ * with a "What changes?" popover naming the exact project-relative files it+ * writes. Shared by the create-project dialog and the open-folder consent+ * dialog, the two surfaces that set a project up from scratch.+ *+ * Both place it at the top level: whether the project is reachable from the+ * user's agents at all is not an advanced concern. Per-tool control lives in+ * Settings > This project, which lists every tool with a project surface+ * whether or not this machine's probe found it.+ *+ * 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+ * the disclosure cannot advertise a file that never gets written. Tools with a+ * null entry in both are filtered out upstream (via+ * `receivesProjectIntegrationWrite`) and never reach this component.+ *+ * `testIdPrefix` keeps each dialog's row ids distinct; `itemTestIdPrefix` is a+ * second prop rather than a derivation because the create surface's per-tool+ * ids are the singular `create-editor-<id>`, pinned by existing end-to-end+ * selectors.+ */++import {+ EDITOR_LABELS,+ EDITOR_PROJECT_CONFIG_PATH,+ EDITOR_PROJECT_SKILL_ROOT,+ type EditorId,+ RESERVED_PROJECT_SKILL_NAME,+} from '@inkeep/open-knowledge-core';+import { i18n } from '@lingui/core';+import { Trans, useLingui } from '@lingui/react/macro';+import { useId } from 'react';+import { RowDisclosure } from '@/components/RowDisclosure';+import { Checkbox } from '@/components/ui/checkbox';+import { Label } from '@/components/ui/label';+import { formatToolList } from '@/lib/tool-list-format';+import { cn } from '@/lib/utils';++interface ProjectAiToolsFieldProps {+ /** `null` while the detection probe is in flight; `[]` once it settled empty. */+ detectedEditors: readonly EditorId[] | null;+ checked: boolean;+ onCheckedChange: (next: boolean) => void;+ disabled: boolean;+ testIdPrefix: string;+ itemTestIdPrefix: string;+}++export function ProjectAiToolsField({+ detectedEditors,+ checked,+ onCheckedChange,+ disabled,+ testIdPrefix,+ itemTestIdPrefix,+}: ProjectAiToolsFieldProps) {+ const { t } = useLingui();+ const checkboxId = useId();++ // The probe's two non-interactive outcomes share ONE live region that is+ // always mounted. A region that appears at the same moment as its text is not+ // a change to announce — assistive tech has to be observing the node before+ // the content lands — so swapping the message inside a persistent node is what+ // makes "checking…" → "none found" actually reach a screen reader.+ const status =+ detectedEditors === null+ ? { kind: 'probing' as const, message: t`Checking which AI tools you have` }+ : detectedEditors.length === 0+ ? {+ kind: 'none' as const,+ message: t`No AI tools detected yet. Once you install one, connect it from Settings > This project.`,+ }+ : // Carrying the narrowed list on the ready arm is what lets the early+ // return below discriminate it — the guard alone doesn't re-narrow+ // `detectedEditors` for the JSX that follows.+ { kind: 'ready' as const, message: '', editors: detectedEditors };++ const statusRegion = (+ <p+ aria-live="polite"+ className={cn(+ status.kind === 'ready'+ ? 'sr-only'+ : 'rounded-md border border-border px-3 py-2.5 text-1sm text-muted-foreground',+ )}+ data-status={status.kind}+ data-testid={`${testIdPrefix}-status`}+ >+ {status.message}+ </p>+ );++ 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}+ {/* 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 min-w-0 cursor-pointer flex-col items-start gap-1 font-normal"+ >+ <span className="flex w-full items-center gap-2.5">+ <Checkbox+ id={checkboxId}+ checked={checked}+ onCheckedChange={() => onCheckedChange(!checked)}+ disabled={disabled}+ data-testid={`${testIdPrefix}-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="flex min-w-0 flex-1 items-center gap-1.5 pe-28 text-sm font-medium text-foreground"+ data-testid={`${testIdPrefix}-title`}+ >+ <Trans comment="Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the project">+ Connect your AI tools to this project+ </Trans>+ </span>+ </span>+ {/* 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={`${testIdPrefix}-summary`}+ >+ {/* 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 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={`${testIdPrefix}-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={`${testIdPrefix}-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={`${itemTestIdPrefix}-${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/lib/consent-store.test.ts b/packages/app/src/lib/consent-store.test.tsindex 4714563e6..fe5a01d05 100644--- a/packages/app/src/lib/consent-store.test.ts+++ b/packages/app/src/lib/consent-store.test.ts@@ -75,10 +75,6 @@ const samplePayload: OkOnboardingShowPayload = {gitState: 'absent',gitRootPromoted: false,warnings: [],- editorOptions: [- { id: 'claude', label: 'Claude', hasProjectConfig: true },- { id: 'cursor', label: 'Cursor', hasProjectConfig: true },- ],};const sampleConfirm: OkOnboardingConfirmRequest = {@@ -86,6 +82,7 @@ const sampleConfirm: OkOnboardingConfirmRequest = {contentDir: '.',additionalIgnores: '',editorIds: ['claude'],+ connectEditors: true,};describe('createConsentStore — install', () => {diff --git a/packages/app/src/locales/ar/messages.json b/packages/app/src/locales/ar/messages.jsonindex 21fbb1d01..e4aa295db 100644--- a/packages/app/src/locales/ar/messages.json+++ b/packages/app/src/locales/ar/messages.json@@ -108,7 +108,6 @@"0NkNB5": ["قبل ", ["0"], " شهر"],"0QVrvp": ["يعمل الحد الأقصى من الوكلاء بالفعل"],"0TnCvC": ["إعادة تسمية ", ["0"]],- "0YEbfk": ["الاتصال بأدوات الذكاء الاصطناعي"],"0YUS3Q": ["مجلد فرعي تحت المجلد الحالي"],"0_J12R": ["ملف جديد من القالب «",@@ -2538,7 +2537,6 @@"» في الوقت المناسب. أعد التحميل للمحاولة مرة أخرى."],"ScwcF2": ["يوجد مشروع بالفعل في هذا الموقع. اختر مجلدًا أبًا مختلفًا."],- "SfxQX8": ["يكتب إعداد MCP للمشروع لكل أداة محددة."],"Sg-6Bo": [["errorCount",@@ -3452,7 +3450,6 @@"أثناء تسجيل خروجك، يجري التحقق من التحديثات كل 3 دقائق على الأكثر بغض النظر عن هذا الإعداد."],"cIptmH": ["في تطبيق Claude Desktop"],- "cKjLuT": ["(المشروع + المستخدم)"],"cLP0Lf": ["مصدر مهارة بعيد"],"cLn264": ["تعذّرت قراءة ملف السمة هذا"],"cMMb6H": ["تم تثبيت ", ["imported"], "، لكن فشل ", ["failed"], ": ", ["failedNames"]],@@ -3735,7 +3732,6 @@"fMsFdZ": ["تعذّر حفظ إعداد التحديث التلقائي: ", ["0"]],"fNr-MX": ["تعطيل البحث الدلالي"],"fOzzSV": ["هدف الرابط \"", ["shown"], "\" لا يشير إلى ملف موجود."],- "fR-Kdc": ["(على مستوى المشروع فقط)"],"fRVBiq": ["يضيف بيانات القياس وحالة الخادم ومعلومات وقت التشغيل عند توفرها. تُزال بيانات الاعتماد دائمًا؛ وتظهر أسماء المستندات، إن أُدرجت، كنص صريح (غير مخفي)."],@@ -4530,7 +4526,6 @@"nWS2gQ": ["منشور بواسطة ", ["publisher"]],"nWv1ja": ["أدِر الملفات المخفية من الإعدادات ← أنماط التجاهل."],"nXHOFU": ["تعذّر التحديث من ", ["0"], ": ", ["1"]],- "nYKerc": ["(على مستوى المستخدم فقط)"],"nYeBmY": ["قبل ", ["hours"], " ساعة"],"n_I-da": ["عرض المصدر"],"nbLQ_9": ["اختر إلى أين تُرسل هذه التعليقات"],diff --git a/packages/app/src/locales/ar/messages.po b/packages/app/src/locales/ar/messages.poindex 0954f3d0c..a72f6dad3 100644--- a/packages/app/src/locales/ar/messages.po+++ b/packages/app/src/locales/ar/messages.po@@ -138,16 +138,6 @@ msgstr "(يفتح في تبويب جديد)"msgid "(optional)"msgstr "(اختياري)"-#. Scope tag next to an AI tool — config is written at both project and user level-#: src/components/ConsentDialogBody.tsx-msgid "(project + user)"-msgstr "(المشروع + المستخدم)"--#. Scope tag next to an AI tool — config is written at project level only-#: src/components/ConsentDialogBody.tsx-msgid "(project-level only)"-msgstr "(على مستوى المشروع فقط)"-#: src/components/PropertyWidgets.tsxmsgid "(read-only — edit in source mode for now)"msgstr "(للقراءة فقط — حرِّره في وضع المصدر في الوقت الحالي)"@@ -164,11 +154,6 @@ msgstr "(قد يكون بعضها مخفيًا بالفعل بقواعد أخرmsgid "(symlink)"msgstr "(رابط رمزي)"-#. Scope tag next to an AI tool — config is written at user level only-#: src/components/ConsentDialogBody.tsx-msgid "(user-level only)"-msgstr "(على مستوى المستخدم فقط)"-#. placeholder {0}: preview.backlinkCount#: src/editor/link-preview/InternalDocPreviewCard.tsxmsgid "{0, plural, one {# backlink} other {# backlinks}}"@@ -1560,8 +1545,8 @@ msgstr "يضيف كتلة مُدارة إلى"msgid "Adds a managed block to {0}"msgstr "يضيف كتلة مُدارة إلى {0}"-#. Subtext under the create-project AI-tools checkbox-#: src/components/CreateProjectDialog.tsx+#. Subtext under the project AI-tools checkbox+#: src/components/ProjectAiToolsField.tsxmsgid "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>، ليتمكن وكلاؤك من قراءة ملفاتك وتحريرها."@@ -1583,7 +1568,7 @@ msgstr "يضيف مهارة OpenKnowledge إلى <0>تطبيق Claude Desktop</0msgid "Adds the skill to {rootRel} — also read by {0}"msgstr "يضيف المهارة إلى {rootRel} — يقرأها {0} أيضًا"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Adds these files"msgstr "يضيف هذه الملفات"@@ -2569,7 +2554,7 @@ msgstr "مهارة التحقق"msgid "Checking source"msgstr "يجري التحقق من المصدر"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Checking which AI tools you have"msgstr "جارٍ التحقق من أدوات الذكاء الاصطناعي المتوفّرة لديك"@@ -3171,10 +3156,6 @@ msgstr "اربط أدوات الذكاء الاصطناعي التي تستخدmsgid "Connect this project to GitHub to share."msgstr "اربط هذا المشروع بـ GitHub للمشاركة."-#: src/components/ConsentDialogBody.tsx-msgid "Connect to AI tools"-msgstr "الاتصال بأدوات الذكاء الاصطناعي"-#: src/components/settings/SyncSection.tsxmsgid "Connect to GitHub"msgstr "الاتصال بـ GitHub"@@ -3192,8 +3173,8 @@ 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+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the project+#: src/components/ProjectAiToolsField.tsxmsgid "Connect your AI tools to this project"msgstr "ربط أدوات الذكاء الاصطناعي لديك بهذا المشروع"@@ -8490,7 +8471,7 @@ msgstr "لا توجد وكلاء ذكاء اصطناعي مثبَّتون"msgid "No AI tools detected yet. Once you install one, connect it from Settings > AI tools & CLI."msgstr "لم يتم اكتشاف أي أداة ذكاء اصطناعي بعد. بعد تثبيت واحدة، اربطها من الإعدادات > أدوات الذكاء الاصطناعي وواجهة سطر الأوامر."-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "No AI tools detected yet. Once you install one, connect it from Settings > This project."msgstr "لم يتم اكتشاف أي أداة ذكاء اصطناعي بعد. بعد تثبيت واحدة، اربطها من الإعدادات > هذا المشروع."@@ -14868,10 +14849,6 @@ msgstr "أشجار العمل"msgid "Wrap long lines in the markdown source editor."msgstr "لُف الأسطر الطويلة في محرر مصدر Markdown."-#: src/components/ConsentDialogBody.tsx-msgid "Writes a project-MCP config for each selected tool."-msgstr "يكتب إعداد MCP للمشروع لكل أداة محددة."-#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "يكتب إدخالًا في"diff --git a/packages/app/src/locales/bn/messages.json b/packages/app/src/locales/bn/messages.jsonindex 37ecce088..925ea64f8 100644--- a/packages/app/src/locales/bn/messages.json+++ b/packages/app/src/locales/bn/messages.json@@ -82,7 +82,6 @@"0NkNB5": [["0"], " মাস আগে"],"0QVrvp": ["সর্বোচ্চসংখ্যক এজেন্ট আগে থেকেই চলছে"],"0TnCvC": [["0"], "-এর নাম বদলান"],- "0YEbfk": ["AI টুলের সঙ্গে যুক্ত করুন"],"0YUS3Q": ["বর্তমান ফোল্ডারের নিচে উপ-ফোল্ডার"],"0_J12R": [["targetLabel"],@@ -2187,7 +2186,6 @@"\"-এর স্থানীয় সহযোগিতা তথ্য সময়মতো মুছে ফেলা যায়নি। আবার চেষ্টা করতে পাতাটি পুনরায় লোড করুন।"],"ScwcF2": ["এই জায়গায় আগে থেকেই একটি প্রকল্প আছে। অন্য মূল ফোল্ডার বাছুন।"],- "SfxQX8": ["নির্বাচিত প্রতিটি টুলের জন্য একটি প্রকল্প-MCP কনফিগ লেখে।"],"Sg-6Bo": [["errorCount", "plural", { "one": ["#", " ত্রুটি"], "other": ["#", " ত্রুটি"] }]],"SgKLfA": ["GitHub-এর সঙ্গে যুক্ত নয়।"],"Sh3Qkg": ["মিলে যাওয়া কোনো ব্রাঞ্চ নেই।"],@@ -2955,7 +2953,6 @@"cHhH3i": ["একটি প্রয়োজনীয় git টুল"],"cIFYZn": ["আপনি সাইন আউট থাকা অবস্থায় এই সেটিং যা-ই হোক, আপডেট সর্বোচ্চ প্রতি 3 মিনিটে একবার দেখা হয়।"],"cIptmH": ["Claude Desktop App-এ"],- "cKjLuT": ["(প্রকল্প + ব্যবহারকারী)"],"cLP0Lf": ["রিমোট স্কিল উৎস"],"cLn264": ["এই থিম ফাইলটি পড়া যায়নি"],"cMMb6H": [["imported"], "টি ইনস্টল হয়েছে, কিন্তু ", ["failed"], "টি ব্যর্থ: ", ["failedNames"]],@@ -3162,7 +3159,6 @@"fMsFdZ": ["স্বয়ংক্রিয় হালনাগাদের সেটিং সংরক্ষণ করা যায়নি: ", ["0"]],"fNr-MX": ["অর্থভিত্তিক অনুসন্ধান নিষ্ক্রিয় করুন"],"fOzzSV": ["লিংকের লক্ষ্য \"", ["shown"], "\" কোনো বিদ্যমান ফাইলকে নির্দেশ করে না।"],- "fR-Kdc": ["(শুধু প্রকল্প স্তরে)"],"fRVBiq": ["পাওয়া গেলে টেলিমেট্রি, সার্ভারের অবস্থা ও রানটাইম তথ্য যোগ করে। ক্রেডেনশিয়াল সবসময় সরিয়ে ফেলা হয়; নথির নাম, যদি অন্তর্ভুক্ত থাকে, সাদা লেখায় দেখা যায় (সরানো হয় না)।"],@@ -3873,7 +3869,6 @@"nWS2gQ": [["publisher"], " প্রকাশ করেছে"],"nWv1ja": ["লুকানো ফাইল Settings → Ignore patterns-এ সামলান।"],"nXHOFU": [["0"], " থেকে আপডেট করা যায়নি: ", ["1"]],- "nYKerc": ["(শুধু ব্যবহারকারী স্তরে)"],"nYeBmY": [["hours"], " ঘণ্টা আগে"],"n_I-da": ["উৎস দেখুন"],"nbLQ_9": ["এই মন্তব্যগুলো কোথায় পাঠাবেন তা বাছুন"],diff --git a/packages/app/src/locales/bn/messages.po b/packages/app/src/locales/bn/messages.poindex fbce585c4..b0e34ea7e 100644--- a/packages/app/src/locales/bn/messages.po+++ b/packages/app/src/locales/bn/messages.po@@ -138,16 +138,6 @@ msgstr "(নতুন ট্যাবে খোলে)"msgid "(optional)"msgstr "(ঐচ্ছিক)"-#. Scope tag next to an AI tool — config is written at both project and user level-#: src/components/ConsentDialogBody.tsx-msgid "(project + user)"-msgstr "(প্রকল্প + ব্যবহারকারী)"--#. Scope tag next to an AI tool — config is written at project level only-#: src/components/ConsentDialogBody.tsx-msgid "(project-level only)"-msgstr "(শুধু প্রকল্প স্তরে)"-#: src/components/PropertyWidgets.tsxmsgid "(read-only — edit in source mode for now)"msgstr "(শুধু পড়ার জন্য — আপাতত সোর্স মোডে সম্পাদনা করুন)"@@ -164,11 +154,6 @@ msgstr "(কিছু হয়তো অন্য নিয়মে আগেmsgid "(symlink)"msgstr "(সিমলিংক)"-#. Scope tag next to an AI tool — config is written at user level only-#: src/components/ConsentDialogBody.tsx-msgid "(user-level only)"-msgstr "(শুধু ব্যবহারকারী স্তরে)"-#. placeholder {0}: preview.backlinkCount#: src/editor/link-preview/InternalDocPreviewCard.tsxmsgid "{0, plural, one {# backlink} other {# backlinks}}"@@ -1556,8 +1541,8 @@ msgstr "এতে একটি পরিচালিত ব্লক যোগmsgid "Adds a managed block to {0}"msgstr "{0}-এ একটি পরিচালিত ব্লক যোগ করে"-#. Subtext under the create-project AI-tools checkbox-#: src/components/CreateProjectDialog.tsx+#. Subtext under the project AI-tools checkbox+#: src/components/ProjectAiToolsField.tsxmsgid "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 যোগ করে, যাতে আপনার এজেন্ট আপনার ফাইল পড়তে ও সম্পাদনা করতে পারে।"@@ -1579,7 +1564,7 @@ msgstr "OpenKnowledge স্কিলটি <0>Claude Desktop App</0>-এ যোmsgid "Adds the skill to {rootRel} — also read by {0}"msgstr "স্কিলটি {rootRel}-এ যোগ করে — যা {0}-ও পড়ে"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Adds these files"msgstr "এই ফাইলগুলো যোগ করে"@@ -2565,7 +2550,7 @@ msgstr "দক্ষতা পরীক্ষা করা"msgid "Checking source"msgstr "উৎস পরীক্ষা করা হচ্ছে"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Checking which AI tools you have"msgstr "আপনার কোন AI টুল আছে তা যাচাই করা হচ্ছে"@@ -3167,10 +3152,6 @@ msgstr "আপনি যে AI টুলগুলো ব্যবহার কmsgid "Connect this project to GitHub to share."msgstr "ভাগ করতে এই প্রকল্পটি GitHub-এর সঙ্গে যুক্ত করুন।"-#: src/components/ConsentDialogBody.tsx-msgid "Connect to AI tools"-msgstr "AI টুলের সঙ্গে যুক্ত করুন"-#: src/components/settings/SyncSection.tsxmsgid "Connect to GitHub"msgstr "GitHub-এর সঙ্গে যুক্ত করুন"@@ -3188,8 +3169,8 @@ 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+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the project+#: src/components/ProjectAiToolsField.tsxmsgid "Connect your AI tools to this project"msgstr "আপনার AI টুলগুলিকে এই প্রকল্পের সঙ্গে যুক্ত করুন"@@ -8486,7 +8467,7 @@ msgstr "কোনো AI এজেন্ট ইনস্টল করা নেmsgid "No AI tools detected yet. Once you install one, connect it from Settings > AI tools & CLI."msgstr "এখনও কোনো AI টুল পাওয়া যায়নি। একটি ইনস্টল করার পর Settings > AI tools & CLI থেকে সেটি যুক্ত করুন।"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "No AI tools detected yet. Once you install one, connect it from Settings > This project."msgstr "এখনও কোনো AI টুল পাওয়া যায়নি। একটি ইনস্টল করার পর Settings > This project থেকে সেটি যুক্ত করুন।"@@ -14864,10 +14845,6 @@ msgstr "ওয়ার্কট্রি"msgid "Wrap long lines in the markdown source editor."msgstr "markdown সোর্স সম্পাদকে লম্বা লাইন মুড়ে দিন।"-#: src/components/ConsentDialogBody.tsx-msgid "Writes a project-MCP config for each selected tool."-msgstr "নির্বাচিত প্রতিটি টুলের জন্য একটি প্রকল্প-MCP কনফিগ লেখে।"-#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "এখানে একটি এন্ট্রি লেখে"diff --git a/packages/app/src/locales/en/messages.json b/packages/app/src/locales/en/messages.jsonindex b8950a9b0..a569cd73c 100644--- a/packages/app/src/locales/en/messages.json+++ b/packages/app/src/locales/en/messages.json@@ -86,7 +86,6 @@"0NkNB5": [["0"], "mo ago"],"0QVrvp": ["Maximum agents already running"],"0TnCvC": ["Rename ", ["0"]],- "0YEbfk": ["Connect to AI tools"],"0YUS3Q": ["Subfolder under current folder"],"0_J12R": ["New file from template \"",@@ -2238,7 +2237,6 @@"\" could not be cleared in time. Reload to retry."],"ScwcF2": ["A project already exists at this location. Pick a different parent folder."],- "SfxQX8": ["Writes a project-MCP config for each selected tool."],"Sg-6Bo": [["errorCount", "plural", { "one": ["#", " error"], "other": ["#", " errors"] }]],"SgKLfA": ["Not connected to GitHub."],"Sh3Qkg": ["No matching branches."],@@ -3018,7 +3016,6 @@"While you're signed out, updates are checked at most every 3 minutes regardless of this setting."],"cIptmH": ["In the Claude Desktop App"],- "cKjLuT": ["(project + user)"],"cLP0Lf": ["Remote skill source"],"cLn264": ["This theme file couldn’t be read"],"cMMb6H": ["Installed ", ["imported"], ", but ", ["failed"], " failed: ", ["failedNames"]],@@ -3245,7 +3242,6 @@"fMsFdZ": ["Couldn't save the auto-update setting: ", ["0"]],"fNr-MX": ["Disable semantic search"],"fOzzSV": ["Link target \"", ["shown"], "\" does not resolve to an existing file."],- "fR-Kdc": ["(project-level only)"],"fRVBiq": ["Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."],@@ -3989,7 +3985,6 @@"nWS2gQ": ["Published by ", ["publisher"]],"nWv1ja": ["Manage hidden files in Settings → Ignore patterns."],"nXHOFU": ["Couldn't update from ", ["0"], ": ", ["1"]],- "nYKerc": ["(user-level only)"],"nYeBmY": [["hours"], "h ago"],"n_I-da": ["View source"],"nbLQ_9": ["Choose where to send these comments"],diff --git a/packages/app/src/locales/en/messages.po b/packages/app/src/locales/en/messages.poindex a977529ae..979b35744 100644--- a/packages/app/src/locales/en/messages.po+++ b/packages/app/src/locales/en/messages.po@@ -138,16 +138,6 @@ msgstr "(opens in new tab)"msgid "(optional)"msgstr "(optional)"-#. Scope tag next to an AI tool — config is written at both project and user level-#: src/components/ConsentDialogBody.tsx-msgid "(project + user)"-msgstr "(project + user)"--#. Scope tag next to an AI tool — config is written at project level only-#: src/components/ConsentDialogBody.tsx-msgid "(project-level only)"-msgstr "(project-level only)"-#: src/components/PropertyWidgets.tsxmsgid "(read-only — edit in source mode for now)"msgstr "(read-only — edit in source mode for now)"@@ -164,11 +154,6 @@ msgstr "(some may already be hidden by other rules)"msgid "(symlink)"msgstr "(symlink)"-#. Scope tag next to an AI tool — config is written at user level only-#: src/components/ConsentDialogBody.tsx-msgid "(user-level only)"-msgstr "(user-level only)"-#. placeholder {0}: preview.backlinkCount#: src/editor/link-preview/InternalDocPreviewCard.tsxmsgid "{0, plural, one {# backlink} other {# backlinks}}"@@ -1560,8 +1545,8 @@ msgstr "Adds a managed block to"msgid "Adds a managed block to {0}"msgstr "Adds a managed block to {0}"-#. Subtext under the create-project AI-tools checkbox-#: src/components/CreateProjectDialog.tsx+#. Subtext under the project AI-tools checkbox+#: src/components/ProjectAiToolsField.tsxmsgid "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."@@ -1583,7 +1568,7 @@ msgstr "Adds the OpenKnowledge skill to the <0>Claude Desktop App</0> so it's avmsgid "Adds the skill to {rootRel} — also read by {0}"msgstr "Adds the skill to {rootRel} — also read by {0}"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Adds these files"msgstr "Adds these files"@@ -2569,7 +2554,7 @@ msgstr "Checking skill"msgid "Checking source"msgstr "Checking source"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Checking which AI tools you have"msgstr "Checking which AI tools you have"@@ -3171,10 +3156,6 @@ msgstr "Connect the AI tools you use to this specific project. These files livemsgid "Connect this project to GitHub to share."msgstr "Connect this project to GitHub to share."-#: src/components/ConsentDialogBody.tsx-msgid "Connect to AI tools"-msgstr "Connect to AI tools"-#: src/components/settings/SyncSection.tsxmsgid "Connect to GitHub"msgstr "Connect to GitHub"@@ -3192,8 +3173,8 @@ 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+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the project+#: src/components/ProjectAiToolsField.tsxmsgid "Connect your AI tools to this project"msgstr "Connect your AI tools to this project"@@ -8490,7 +8471,7 @@ msgstr "No AI agents installed"msgid "No AI tools detected yet. Once you install one, connect it from Settings > AI tools & CLI."msgstr "No AI tools detected yet. Once you install one, connect it from Settings > AI tools & CLI."-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "No AI tools detected yet. Once you install one, connect it from Settings > This project."msgstr "No AI tools detected yet. Once you install one, connect it from Settings > This project."@@ -14868,10 +14849,6 @@ msgstr "Worktrees"msgid "Wrap long lines in the markdown source editor."msgstr "Wrap long lines in the markdown source editor."-#: src/components/ConsentDialogBody.tsx-msgid "Writes a project-MCP config for each selected tool."-msgstr "Writes a project-MCP config for each selected tool."-#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "Writes an entry to"diff --git a/packages/app/src/locales/es/messages.json b/packages/app/src/locales/es/messages.jsonindex e925f44bd..55864e704 100644--- a/packages/app/src/locales/es/messages.json+++ b/packages/app/src/locales/es/messages.json@@ -102,7 +102,6 @@"0NkNB5": ["hace ", ["0"], " meses"],"0QVrvp": ["Ya hay el máximo de agentes en marcha"],"0TnCvC": ["Renombrar ", ["0"]],- "0YEbfk": ["Conectar con herramientas de IA"],"0YUS3Q": ["Subcarpeta dentro de la carpeta actual"],"0_J12R": ["Archivo nuevo a partir de la plantilla \"",@@ -2582,7 +2581,6 @@"\". Recarga para reintentarlo."],"ScwcF2": ["Ya existe un proyecto en esta ubicación. Elige otra carpeta superior."],- "SfxQX8": ["Escribe una configuración MCP de proyecto para cada herramienta seleccionada."],"Sg-6Bo": [["errorCount",@@ -3515,7 +3513,6 @@"Mientras tengas la sesión cerrada, las actualizaciones se buscan como mucho cada 3 minutos, independientemente de este ajuste."],"cIptmH": ["En la aplicación Claude Desktop"],- "cKjLuT": ["(proyecto + usuario)"],"cLP0Lf": ["Origen remoto de habilidades"],"cLn264": ["No se pudo leer este archivo de tema"],"cMMb6H": [@@ -3793,7 +3790,6 @@"fMsFdZ": ["No se pudo guardar el ajuste de actualización automática: ", ["0"]],"fNr-MX": ["Desactivar la búsqueda semántica"],"fOzzSV": ["El destino del enlace «", ["shown"], "» no corresponde a un archivo existente."],- "fR-Kdc": ["(solo a nivel de proyecto)"],"fRVBiq": ["Añade telemetría, estado del servidor e información de ejecución cuando está disponible. Las credenciales siempre se eliminan; los nombres de documento, si se incluyen, aparecen en texto plano (sin ocultar)."],@@ -4621,7 +4617,6 @@"nWS2gQ": ["Publicado por ", ["publisher"]],"nWv1ja": ["Gestiona los archivos ocultos en Ajustes → Patrones de exclusión."],"nXHOFU": ["No se pudo actualizar desde ", ["0"], ": ", ["1"]],- "nYKerc": ["(solo a nivel de usuario)"],"nYeBmY": ["hace ", ["hours"], " h"],"n_I-da": ["Ver la fuente"],"nbLQ_9": ["Elige a dónde enviar estos comentarios"],diff --git a/packages/app/src/locales/es/messages.po b/packages/app/src/locales/es/messages.poindex 9e5b85161..28f3b072c 100644--- a/packages/app/src/locales/es/messages.po+++ b/packages/app/src/locales/es/messages.po@@ -138,16 +138,6 @@ msgstr "(se abre en una pestaña nueva)"msgid "(optional)"msgstr "(opcional)"-#. Scope tag next to an AI tool — config is written at both project and user level-#: src/components/ConsentDialogBody.tsx-msgid "(project + user)"-msgstr "(proyecto + usuario)"--#. Scope tag next to an AI tool — config is written at project level only-#: src/components/ConsentDialogBody.tsx-msgid "(project-level only)"-msgstr "(solo a nivel de proyecto)"-#: src/components/PropertyWidgets.tsxmsgid "(read-only — edit in source mode for now)"msgstr "(solo lectura: por ahora edítalo en modo código)"@@ -164,11 +154,6 @@ msgstr "(puede que otras reglas ya oculten algunos)"msgid "(symlink)"msgstr "(enlace simbólico)"-#. Scope tag next to an AI tool — config is written at user level only-#: src/components/ConsentDialogBody.tsx-msgid "(user-level only)"-msgstr "(solo a nivel de usuario)"-#. placeholder {0}: preview.backlinkCount#: src/editor/link-preview/InternalDocPreviewCard.tsxmsgid "{0, plural, one {# backlink} other {# backlinks}}"@@ -1560,8 +1545,8 @@ msgstr "Añade un bloque gestionado a"msgid "Adds a managed block to {0}"msgstr "Añade un bloque gestionado a {0}"-#. Subtext under the create-project AI-tools checkbox-#: src/components/CreateProjectDialog.tsx+#. Subtext under the project AI-tools checkbox+#: src/components/ProjectAiToolsField.tsxmsgid "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."@@ -1583,7 +1568,7 @@ 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+#: src/components/ProjectAiToolsField.tsxmsgid "Adds these files"msgstr "Añade estos archivos"@@ -2569,7 +2554,7 @@ msgstr "Comprobando habilidad"msgid "Checking source"msgstr "Comprobando el origen"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Checking which AI tools you have"msgstr "Comprobando qué herramientas de IA tienes"@@ -3171,10 +3156,6 @@ msgstr "Conecta a este proyecto concreto las herramientas de IA que usas. Estosmsgid "Connect this project to GitHub to share."msgstr "Conecta este proyecto a GitHub para compartirlo."-#: src/components/ConsentDialogBody.tsx-msgid "Connect to AI tools"-msgstr "Conectar con herramientas de IA"-#: src/components/settings/SyncSection.tsxmsgid "Connect to GitHub"msgstr "Conectar con GitHub"@@ -3192,8 +3173,8 @@ 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+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the project+#: src/components/ProjectAiToolsField.tsxmsgid "Connect your AI tools to this project"msgstr "Conectar tus herramientas de IA a este proyecto"@@ -8490,7 +8471,7 @@ msgstr "No hay agentes de IA instalados"msgid "No AI tools detected yet. Once you install one, connect it from Settings > AI tools & CLI."msgstr "Todavía no se ha detectado ninguna herramienta de IA. Cuando instales una, conéctala desde Ajustes > Herramientas de IA y CLI."-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "No AI tools detected yet. Once you install one, connect it from Settings > This project."msgstr "Todavía no se ha detectado ninguna herramienta de IA. Cuando instales una, conéctala desde Ajustes > Este proyecto."@@ -14868,10 +14849,6 @@ msgstr "Worktrees"msgid "Wrap long lines in the markdown source editor."msgstr "Ajusta las líneas largas en el editor de código markdown."-#: src/components/ConsentDialogBody.tsx-msgid "Writes a project-MCP config for each selected tool."-msgstr "Escribe una configuración MCP de proyecto para cada herramienta seleccionada."-#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "Escribe una entrada en"diff --git a/packages/app/src/locales/fr/messages.json b/packages/app/src/locales/fr/messages.jsonindex 782f71f82..7870b34e7 100644--- a/packages/app/src/locales/fr/messages.json+++ b/packages/app/src/locales/fr/messages.json@@ -104,7 +104,6 @@"0NkNB5": ["il y a ", ["0"], " mois"],"0QVrvp": ["Nombre maximal d'agents déjà en cours d'exécution"],"0TnCvC": ["Renommer ", ["0"]],- "0YEbfk": ["Connecter aux outils IA"],"0YUS3Q": ["Sous-dossier du dossier actuel"],"0_J12R": ["Nouveau fichier à partir du modèle « ",@@ -2606,7 +2605,6 @@" » n'ont pas pu être effacées à temps. Rechargez pour réessayer."],"ScwcF2": ["Un projet existe déjà à cet emplacement. Choisissez un autre dossier parent."],- "SfxQX8": ["Écrit une configuration MCP de projet pour chaque outil sélectionné."],"Sg-6Bo": [["errorCount",@@ -3548,7 +3546,6 @@"Tant que vous êtes déconnecté, les mises à jour sont recherchées au plus toutes les 3 minutes, quel que soit ce réglage."],"cIptmH": ["Dans l'application Claude Desktop"],- "cKjLuT": ["(projet + utilisateur)"],"cLP0Lf": ["Source de compétence distante"],"cLn264": ["Impossible de lire ce fichier de thème"],"cMMb6H": [["imported"], " installées, mais ", ["failed"], " ont échoué : ", ["failedNames"]],@@ -3821,7 +3818,6 @@"fMsFdZ": ["Impossible d'enregistrer le réglage de mise à jour automatique : ", ["0"]],"fNr-MX": ["Désactiver la recherche sémantique"],"fOzzSV": ["La cible du lien « ", ["shown"], " » ne correspond à aucun fichier existant."],- "fR-Kdc": ["(niveau projet uniquement)"],"fRVBiq": ["Ajoute la télémétrie, l'état du serveur et les informations d'exécution lorsqu'elles sont disponibles. Les identifiants sont toujours supprimés ; les noms de documents, s'ils sont inclus, apparaissent en clair (non masqués)."],@@ -4653,7 +4649,6 @@"nWS2gQ": ["Publié par ", ["publisher"]],"nWv1ja": ["Gérez les fichiers masqués dans Paramètres → Motifs d'exclusion."],"nXHOFU": ["Impossible de mettre à jour depuis ", ["0"], " : ", ["1"]],- "nYKerc": ["(niveau utilisateur uniquement)"],"nYeBmY": ["il y a ", ["hours"], " h"],"n_I-da": ["Voir la source"],"nbLQ_9": ["Choisissez où envoyer ces commentaires"],diff --git a/packages/app/src/locales/fr/messages.po b/packages/app/src/locales/fr/messages.poindex 0b3fdb9ec..8981a58f8 100644--- a/packages/app/src/locales/fr/messages.po+++ b/packages/app/src/locales/fr/messages.po@@ -138,16 +138,6 @@ msgstr "(s'ouvre dans un nouvel onglet)"msgid "(optional)"msgstr "(facultatif)"-#. Scope tag next to an AI tool — config is written at both project and user level-#: src/components/ConsentDialogBody.tsx-msgid "(project + user)"-msgstr "(projet + utilisateur)"--#. Scope tag next to an AI tool — config is written at project level only-#: src/components/ConsentDialogBody.tsx-msgid "(project-level only)"-msgstr "(niveau projet uniquement)"-#: src/components/PropertyWidgets.tsxmsgid "(read-only — edit in source mode for now)"msgstr "(lecture seule — modifiez en mode source pour l'instant)"@@ -164,11 +154,6 @@ msgstr "(certains sont peut-être déjà masqués par d'autres règles)"msgid "(symlink)"msgstr "(lien symbolique)"-#. Scope tag next to an AI tool — config is written at user level only-#: src/components/ConsentDialogBody.tsx-msgid "(user-level only)"-msgstr "(niveau utilisateur uniquement)"-#. placeholder {0}: preview.backlinkCount#: src/editor/link-preview/InternalDocPreviewCard.tsxmsgid "{0, plural, one {# backlink} other {# backlinks}}"@@ -1560,8 +1545,8 @@ msgstr "Ajoute un bloc géré à"msgid "Adds a managed block to {0}"msgstr "Ajoute un bloc géré à {0}"-#. Subtext under the create-project AI-tools checkbox-#: src/components/CreateProjectDialog.tsx+#. Subtext under the project AI-tools checkbox+#: src/components/ProjectAiToolsField.tsxmsgid "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."@@ -1583,7 +1568,7 @@ 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+#: src/components/ProjectAiToolsField.tsxmsgid "Adds these files"msgstr "Ajoute ces fichiers"@@ -2569,7 +2554,7 @@ msgstr "Vérification des compétences"msgid "Checking source"msgstr "Vérification de la source"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Checking which AI tools you have"msgstr "Vérification des outils IA dont vous disposez"@@ -3171,10 +3156,6 @@ msgstr "Connectez les outils IA que vous utilisez à ce projet précis. Ces fichmsgid "Connect this project to GitHub to share."msgstr "Connectez ce projet à GitHub pour le partager."-#: src/components/ConsentDialogBody.tsx-msgid "Connect to AI tools"-msgstr "Connecter aux outils IA"-#: src/components/settings/SyncSection.tsxmsgid "Connect to GitHub"msgstr "Se connecter à GitHub"@@ -3192,8 +3173,8 @@ 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+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the project+#: src/components/ProjectAiToolsField.tsxmsgid "Connect your AI tools to this project"msgstr "Connecter vos outils d'IA à ce projet"@@ -8490,7 +8471,7 @@ msgstr "Aucun agent IA installé"msgid "No AI tools detected yet. Once you install one, connect it from Settings > AI tools & CLI."msgstr "Aucun outil IA détecté pour l'instant. Une fois que vous en installez un, connectez-le depuis Paramètres > Outils IA et CLI."-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "No AI tools detected yet. Once you install one, connect it from Settings > This project."msgstr "Aucun outil IA détecté pour l'instant. Une fois que vous en installez un, connectez-le depuis Paramètres > Ce projet."@@ -14868,10 +14849,6 @@ msgstr "Worktrees"msgid "Wrap long lines in the markdown source editor."msgstr "Renvoie les lignes longues à la ligne dans l'éditeur de source markdown."-#: src/components/ConsentDialogBody.tsx-msgid "Writes a project-MCP config for each selected tool."-msgstr "Écrit une configuration MCP de projet pour chaque outil sélectionné."-#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "Écrit une entrée dans"diff --git a/packages/app/src/locales/hi/messages.json b/packages/app/src/locales/hi/messages.jsonindex fe38a2283..94e88e4bf 100644--- a/packages/app/src/locales/hi/messages.json+++ b/packages/app/src/locales/hi/messages.json@@ -86,7 +86,6 @@"0NkNB5": [["0"], " माह पहले"],"0QVrvp": ["अधिकतम एजेंट पहले से चल रहे हैं"],"0TnCvC": [["0"], " का नाम बदलें"],- "0YEbfk": ["AI टूल से जोड़ें"],"0YUS3Q": ["मौजूदा फ़ोल्डर के अंतर्गत उप-फ़ोल्डर"],"0_J12R": [["targetLabel"],@@ -2175,7 +2174,6 @@"\" का स्थानीय सहयोग डेटा समय पर साफ़ नहीं हो सका। फिर कोशिश करने के लिए पेज दोबारा लोड करें।"],"ScwcF2": ["इस स्थान पर एक प्रोजेक्ट पहले से मौजूद है। कोई दूसरा मूल फ़ोल्डर चुनें।"],- "SfxQX8": ["हर चयनित टूल के लिए एक प्रोजेक्ट-MCP कॉन्फ़िग लिखता है।"],"Sg-6Bo": [["errorCount", "plural", { "one": ["#", " त्रुटि"], "other": ["#", " त्रुटियाँ"] }]],"SgKLfA": ["GitHub से जुड़ा नहीं।"],"Sh3Qkg": ["कोई मेल खाती ब्रांच नहीं।"],@@ -2941,7 +2939,6 @@"cHhH3i": ["एक आवश्यक git टूल"],"cIFYZn": ["जब तक आप साइन आउट हैं, इस सेटिंग के बावजूद अपडेट अधिकतम हर 3 मिनट में जाँचे जाते हैं।"],"cIptmH": ["Claude Desktop App में"],- "cKjLuT": ["(प्रोजेक्ट + उपयोगकर्ता)"],"cLP0Lf": ["रिमोट स्किल स्रोत"],"cLn264": ["यह थीम फ़ाइल पढ़ी नहीं जा सकी"],"cMMb6H": [["imported"], " इंस्टॉल की गईं, पर ", ["failed"], " विफल रहीं: ", ["failedNames"]],@@ -3150,7 +3147,6 @@"fMsFdZ": ["स्वत: अपडेट सेटिंग नहीं सहेजी जा सकी: ", ["0"]],"fNr-MX": ["अर्थ-आधारित खोज अक्षम करें"],"fOzzSV": ["लिंक लक्ष्य \"", ["shown"], "\" किसी मौजूदा फ़ाइल पर हल नहीं होता।"],- "fR-Kdc": ["(केवल प्रोजेक्ट स्तर)"],"fRVBiq": ["उपलब्ध होने पर टेलीमेट्री, सर्वर स्थिति और रनटाइम जानकारी जोड़ता है। क्रेडेंशियल हमेशा हटा दिए जाते हैं; दस्तावेज़ों के नाम, यदि शामिल हों, सादे पाठ में दिखते हैं (हटाए नहीं जाते)।"],@@ -3861,7 +3857,6 @@"nWS2gQ": [["publisher"], " द्वारा प्रकाशित"],"nWv1ja": ["छिपी हुई फ़ाइलें Settings → Ignore patterns में सँभालें।"],"nXHOFU": [["0"], " से अपडेट नहीं किया जा सका: ", ["1"]],- "nYKerc": ["(केवल उपयोगकर्ता स्तर)"],"nYeBmY": [["hours"], " घंटे पहले"],"n_I-da": ["स्रोत देखें"],"nbLQ_9": ["चुनें कि ये टिप्पणियाँ कहाँ भेजनी हैं"],diff --git a/packages/app/src/locales/hi/messages.po b/packages/app/src/locales/hi/messages.poindex 8c641fbcb..035e3a5d1 100644--- a/packages/app/src/locales/hi/messages.po+++ b/packages/app/src/locales/hi/messages.po@@ -138,16 +138,6 @@ msgstr "(नए टैब में खुलता है)"msgid "(optional)"msgstr "(वैकल्पिक)"-#. Scope tag next to an AI tool — config is written at both project and user level-#: src/components/ConsentDialogBody.tsx-msgid "(project + user)"-msgstr "(प्रोजेक्ट + उपयोगकर्ता)"--#. Scope tag next to an AI tool — config is written at project level only-#: src/components/ConsentDialogBody.tsx-msgid "(project-level only)"-msgstr "(केवल प्रोजेक्ट स्तर)"-#: src/components/PropertyWidgets.tsxmsgid "(read-only — edit in source mode for now)"msgstr "(केवल पढ़ने के लिए — फ़िलहाल स्रोत मोड में संपादित करें)"@@ -164,11 +154,6 @@ msgstr "(कुछ पहले से ही अन्य नियमोंmsgid "(symlink)"msgstr "(सिमलिंक)"-#. Scope tag next to an AI tool — config is written at user level only-#: src/components/ConsentDialogBody.tsx-msgid "(user-level only)"-msgstr "(केवल उपयोगकर्ता स्तर)"-#. placeholder {0}: preview.backlinkCount#: src/editor/link-preview/InternalDocPreviewCard.tsxmsgid "{0, plural, one {# backlink} other {# backlinks}}"@@ -1556,8 +1541,8 @@ msgstr "इसमें एक प्रबंधित ब्लॉक जोmsgid "Adds a managed block to {0}"msgstr "{0} में एक प्रबंधित ब्लॉक जोड़ता है"-#. Subtext under the create-project AI-tools checkbox-#: src/components/CreateProjectDialog.tsx+#. Subtext under the project AI-tools checkbox+#: src/components/ProjectAiToolsField.tsxmsgid "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 जोड़ता है ताकि आपके एजेंट आपकी फ़ाइलें पढ़ और संपादित कर सकें।"@@ -1579,7 +1564,7 @@ msgstr "OpenKnowledge स्किल को <0>Claude Desktop App</0> मेंmsgid "Adds the skill to {rootRel} — also read by {0}"msgstr "स्किल को {rootRel} में जोड़ता है — जिसे {0} भी पढ़ता है"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Adds these files"msgstr "ये फ़ाइलें जोड़ता है"@@ -2565,7 +2550,7 @@ msgstr "कौशल की जाँच करना"msgid "Checking source"msgstr "स्रोत जाँचा जा रहा है"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Checking which AI tools you have"msgstr "जाँच रहे हैं कि आपके पास कौन-से AI टूल हैं"@@ -3167,10 +3152,6 @@ msgstr "आप जिन AI टूल का उपयोग करते हैmsgid "Connect this project to GitHub to share."msgstr "साझा करने के लिए इस प्रोजेक्ट को GitHub से जोड़ें।"-#: src/components/ConsentDialogBody.tsx-msgid "Connect to AI tools"-msgstr "AI टूल से जोड़ें"-#: src/components/settings/SyncSection.tsxmsgid "Connect to GitHub"msgstr "GitHub से जोड़ें"@@ -3188,8 +3169,8 @@ 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+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the project+#: src/components/ProjectAiToolsField.tsxmsgid "Connect your AI tools to this project"msgstr "अपने AI टूल को इस प्रोजेक्ट से जोड़ें"@@ -8486,7 +8467,7 @@ msgstr "कोई AI एजेंट इंस्टॉल नहीं है"msgid "No AI tools detected yet. Once you install one, connect it from Settings > AI tools & CLI."msgstr "अभी तक कोई AI टूल नहीं मिला। एक इंस्टॉल करने के बाद उसे Settings > AI tools & CLI से जोड़ें।"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "No AI tools detected yet. Once you install one, connect it from Settings > This project."msgstr "अभी तक कोई AI टूल नहीं मिला। एक इंस्टॉल करने के बाद उसे Settings > This project से जोड़ें।"@@ -14864,10 +14845,6 @@ msgstr "वर्कट्री"msgid "Wrap long lines in the markdown source editor."msgstr "markdown स्रोत संपादक में लंबी पंक्तियाँ लपेटें।"-#: src/components/ConsentDialogBody.tsx-msgid "Writes a project-MCP config for each selected tool."-msgstr "हर चयनित टूल के लिए एक प्रोजेक्ट-MCP कॉन्फ़िग लिखता है।"-#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "इसमें एक प्रविष्टि लिखता है"diff --git a/packages/app/src/locales/id/messages.json b/packages/app/src/locales/id/messages.jsonindex 9de69e0f9..7d8a6770d 100644--- a/packages/app/src/locales/id/messages.json+++ b/packages/app/src/locales/id/messages.json@@ -86,7 +86,6 @@"0NkNB5": [["0"], " bln lalu"],"0QVrvp": ["Jumlah agen yang berjalan sudah maksimal"],"0TnCvC": ["Ganti nama ", ["0"]],- "0YEbfk": ["Hubungkan ke alat AI"],"0YUS3Q": ["Subfolder di bawah folder saat ini"],"0_J12R": ["Berkas baru dari templat \"",@@ -2241,7 +2240,6 @@"\" tidak dapat dibersihkan tepat waktu. Muat ulang untuk mencoba lagi."],"ScwcF2": ["Sudah ada proyek di lokasi ini. Pilih folder induk lain."],- "SfxQX8": ["Menulis konfigurasi MCP proyek untuk setiap alat yang dipilih."],"Sg-6Bo": [["errorCount", "plural", { "other": ["#", " galat"] }]],"SgKLfA": ["Tidak terhubung ke GitHub."],"Sh3Qkg": ["Tidak ada cabang yang cocok."],@@ -3048,7 +3046,6 @@"Selama Anda keluar dari akun, pembaruan diperiksa paling cepat setiap 3 menit, terlepas dari pengaturan ini."],"cIptmH": ["Di aplikasi Claude Desktop"],- "cKjLuT": ["(proyek + pengguna)"],"cLP0Lf": ["Sumber keterampilan remote"],"cLn264": ["Berkas tema ini tidak dapat dibaca"],"cMMb6H": [["imported"], " dipasang, tetapi ", ["failed"], " gagal: ", ["failedNames"]],@@ -3269,7 +3266,6 @@"fMsFdZ": ["Pengaturan pembaruan otomatis tidak bisa disimpan: ", ["0"]],"fNr-MX": ["Nonaktifkan pencarian semantik"],"fOzzSV": ["Target tautan \"", ["shown"], "\" tidak merujuk ke file yang ada."],- "fR-Kdc": ["(hanya tingkat proyek)"],"fRVBiq": ["Menambahkan telemetri, keadaan server, dan info runtime bila tersedia. Kredensial selalu dihapus; nama dokumen, jika disertakan, muncul sebagai teks biasa (tidak disunting)."],@@ -4017,7 +4013,6 @@"nWS2gQ": ["Diterbitkan oleh ", ["publisher"]],"nWv1ja": ["Kelola berkas tersembunyi di Pengaturan → Pola abaikan."],"nXHOFU": ["Tidak dapat memperbarui dari ", ["0"], ": ", ["1"]],- "nYKerc": ["(hanya tingkat pengguna)"],"nYeBmY": [["hours"], " j lalu"],"n_I-da": ["Lihat sumber"],"nbLQ_9": ["Pilih ke mana komentar ini dikirim"],diff --git a/packages/app/src/locales/id/messages.po b/packages/app/src/locales/id/messages.poindex 93660637e..67843d6e3 100644--- a/packages/app/src/locales/id/messages.po+++ b/packages/app/src/locales/id/messages.po@@ -138,16 +138,6 @@ msgstr "(terbuka di tab baru)"msgid "(optional)"msgstr "(opsional)"-#. Scope tag next to an AI tool — config is written at both project and user level-#: src/components/ConsentDialogBody.tsx-msgid "(project + user)"-msgstr "(proyek + pengguna)"--#. Scope tag next to an AI tool — config is written at project level only-#: src/components/ConsentDialogBody.tsx-msgid "(project-level only)"-msgstr "(hanya tingkat proyek)"-#: src/components/PropertyWidgets.tsxmsgid "(read-only — edit in source mode for now)"msgstr "(hanya-baca — untuk sekarang, sunting di mode sumber)"@@ -164,11 +154,6 @@ msgstr "(sebagian mungkin sudah disembunyikan oleh aturan lain)"msgid "(symlink)"msgstr "(symlink)"-#. Scope tag next to an AI tool — config is written at user level only-#: src/components/ConsentDialogBody.tsx-msgid "(user-level only)"-msgstr "(hanya tingkat pengguna)"-#. placeholder {0}: preview.backlinkCount#: src/editor/link-preview/InternalDocPreviewCard.tsxmsgid "{0, plural, one {# backlink} other {# backlinks}}"@@ -1556,8 +1541,8 @@ msgstr "Menambahkan blok terkelola ke"msgid "Adds a managed block to {0}"msgstr "Menambahkan blok terkelola ke {0}"-#. Subtext under the create-project AI-tools checkbox-#: src/components/CreateProjectDialog.tsx+#. Subtext under the project AI-tools checkbox+#: src/components/ProjectAiToolsField.tsxmsgid "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."@@ -1579,7 +1564,7 @@ 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+#: src/components/ProjectAiToolsField.tsxmsgid "Adds these files"msgstr "Menambahkan berkas ini"@@ -2565,7 +2550,7 @@ msgstr "Memeriksa keterampilan"msgid "Checking source"msgstr "Memeriksa sumber"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Checking which AI tools you have"msgstr "Memeriksa alat AI yang Anda miliki"@@ -3167,10 +3152,6 @@ msgstr "Hubungkan alat AI yang Anda pakai ke proyek ini secara khusus. Berkas-bemsgid "Connect this project to GitHub to share."msgstr "Hubungkan proyek ini ke GitHub untuk membagikannya."-#: src/components/ConsentDialogBody.tsx-msgid "Connect to AI tools"-msgstr "Hubungkan ke alat AI"-#: src/components/settings/SyncSection.tsxmsgid "Connect to GitHub"msgstr "Hubungkan ke GitHub"@@ -3188,8 +3169,8 @@ 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+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the project+#: src/components/ProjectAiToolsField.tsxmsgid "Connect your AI tools to this project"msgstr "Hubungkan alat AI Anda ke proyek ini"@@ -8486,7 +8467,7 @@ msgstr "Tidak ada agen AI yang terpasang"msgid "No AI tools detected yet. Once you install one, connect it from Settings > AI tools & CLI."msgstr "Belum ada alat AI yang terdeteksi. Setelah Anda memasang satu, hubungkan dari Pengaturan > Alat AI & CLI."-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "No AI tools detected yet. Once you install one, connect it from Settings > This project."msgstr "Belum ada alat AI yang terdeteksi. Setelah Anda memasang satu, hubungkan dari Pengaturan > Proyek ini."@@ -14864,10 +14845,6 @@ msgstr "Worktree"msgid "Wrap long lines in the markdown source editor."msgstr "Membungkus baris panjang di penyunting sumber markdown."-#: src/components/ConsentDialogBody.tsx-msgid "Writes a project-MCP config for each selected tool."-msgstr "Menulis konfigurasi MCP proyek untuk setiap alat yang dipilih."-#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "Menulis entri ke"diff --git a/packages/app/src/locales/ko/messages.json b/packages/app/src/locales/ko/messages.jsonindex d26e87406..e6a0259d4 100644--- a/packages/app/src/locales/ko/messages.json+++ b/packages/app/src/locales/ko/messages.json@@ -80,7 +80,6 @@"0NkNB5": [["0"], "개월 전"],"0QVrvp": ["에이전트 최대 실행 수 도달"],"0TnCvC": [["0"], " 이름 변경"],- "0YEbfk": ["AI 도구 연결"],"0YUS3Q": ["현재 폴더의 하위 폴더"],"0_J12R": ["템플릿 \"",@@ -2154,7 +2153,6 @@"\"의 로컬 협업 데이터를 제때 지우지 못했습니다. 다시 시도하려면 다시 로드하세요."],"ScwcF2": ["이 위치에 프로젝트가 이미 있습니다. 다른 상위 폴더를 선택하세요."],- "SfxQX8": ["선택한 각 도구에 프로젝트 MCP 구성을 작성합니다."],"Sg-6Bo": [["errorCount", "plural", { "other": ["오류 ", "#", "개"] }]],"SgKLfA": ["GitHub에 연결되지 않음"],"Sh3Qkg": ["일치하는 브랜치가 없습니다."],@@ -2920,7 +2918,6 @@"cHhH3i": ["필수 git 도구"],"cIFYZn": ["로그아웃 상태에서는 이 설정과 관계없이 업데이트를 최대 3분에 한 번만 확인합니다."],"cIptmH": ["Claude Desktop App에서"],- "cKjLuT": ["(프로젝트 + 사용자)"],"cLP0Lf": ["원격 스킬 소스"],"cLn264": ["이 테마 파일을 읽지 못했습니다"],"cMMb6H": [["imported"], "개 설치됨. ", ["failed"], "개 실패: ", ["failedNames"]],@@ -3142,7 +3139,6 @@"fMsFdZ": ["자동 업데이트 설정 저장 실패: ", ["0"]],"fNr-MX": ["의미 기반 검색 사용 안 함"],"fOzzSV": ["링크 대상 \"", ["shown"], "\"이 존재하는 파일로 확인되지 않습니다."],- "fR-Kdc": ["(프로젝트 수준만)"],"fRVBiq": ["사용 가능한 경우 텔레메트리, 서버 상태, 런타임 정보를 추가합니다. 자격 증명은 항상 제거되며, 포함된 문서 이름은 비공개 처리되지 않은 일반 텍스트로 표시됩니다."],@@ -3855,7 +3851,6 @@"nWS2gQ": ["게시자: ", ["publisher"]],"nWv1ja": ["설정 → 무시 패턴에서 숨김 파일을 관리합니다."],"nXHOFU": [["0"], "에서 업데이트할 수 없습니다: ", ["1"]],- "nYKerc": ["(사용자 수준만)"],"nYeBmY": [["hours"], "시간 전"],"n_I-da": ["소스 보기"],"nbLQ_9": ["댓글 보낼 곳을 선택합니다"],diff --git a/packages/app/src/locales/ko/messages.po b/packages/app/src/locales/ko/messages.poindex 101a5dfd1..f8dd16916 100644--- a/packages/app/src/locales/ko/messages.po+++ b/packages/app/src/locales/ko/messages.po@@ -138,16 +138,6 @@ msgstr "(새 탭에서 열기)"msgid "(optional)"msgstr "(선택 사항)"-#. Scope tag next to an AI tool — config is written at both project and user level-#: src/components/ConsentDialogBody.tsx-msgid "(project + user)"-msgstr "(프로젝트 + 사용자)"--#. Scope tag next to an AI tool — config is written at project level only-#: src/components/ConsentDialogBody.tsx-msgid "(project-level only)"-msgstr "(프로젝트 수준만)"-#: src/components/PropertyWidgets.tsxmsgid "(read-only — edit in source mode for now)"msgstr "(읽기 전용, 현재는 소스 모드에서 편집)"@@ -164,11 +154,6 @@ msgstr "(다른 규칙으로 이미 숨겨진 항목이 있을 수 있습니다)msgid "(symlink)"msgstr "(심볼릭 링크)"-#. Scope tag next to an AI tool — config is written at user level only-#: src/components/ConsentDialogBody.tsx-msgid "(user-level only)"-msgstr "(사용자 수준만)"-#. placeholder {0}: preview.backlinkCount#: src/editor/link-preview/InternalDocPreviewCard.tsxmsgid "{0, plural, one {# backlink} other {# backlinks}}"@@ -1560,8 +1545,8 @@ msgstr "관리 블록을 다음 대상에 추가합니다"msgid "Adds a managed block to {0}"msgstr "{0}에 관리 블록 추가"-#. Subtext under the create-project AI-tools checkbox-#: src/components/CreateProjectDialog.tsx+#. Subtext under the project AI-tools checkbox+#: src/components/ProjectAiToolsField.tsxmsgid "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 항목과 프로젝트 스킬을 추가해 에이전트가 파일을 읽고 편집할 수 있게 합니다."@@ -1583,7 +1568,7 @@ msgstr "Chat과 Cowork 세션에서 사용할 수 있도록 <0>Claude Desktop Apmsgid "Adds the skill to {rootRel} — also read by {0}"msgstr "스킬을 {rootRel}에 추가합니다. {0}에서도 읽습니다."-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Adds these files"msgstr "다음 파일을 추가합니다"@@ -2569,7 +2554,7 @@ msgstr "스킬 확인 중"msgid "Checking source"msgstr "소스 확인 중"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Checking which AI tools you have"msgstr "보유한 AI 도구를 확인하는 중"@@ -3171,10 +3156,6 @@ msgstr "이 프로젝트에서 사용하는 AI 도구를 연결합니다. 이msgid "Connect this project to GitHub to share."msgstr "공유하려면 이 프로젝트를 GitHub에 연결합니다."-#: src/components/ConsentDialogBody.tsx-msgid "Connect to AI tools"-msgstr "AI 도구 연결"-#: src/components/settings/SyncSection.tsxmsgid "Connect to GitHub"msgstr "GitHub에 연결"@@ -3192,8 +3173,8 @@ 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+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the project+#: src/components/ProjectAiToolsField.tsxmsgid "Connect your AI tools to this project"msgstr "AI 도구를 이 프로젝트에 연결"@@ -8490,7 +8471,7 @@ msgstr "설치된 AI 에이전트 없음"msgid "No AI tools detected yet. Once you install one, connect it from Settings > AI tools & CLI."msgstr "아직 감지된 AI 도구가 없습니다. 설치한 후 Settings > AI tools & CLI에서 연결하세요."-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "No AI tools detected yet. Once you install one, connect it from Settings > This project."msgstr "아직 감지된 AI 도구가 없습니다. 설치한 후 Settings > This project에서 연결하세요."@@ -14868,10 +14849,6 @@ msgstr "워크트리"msgid "Wrap long lines in the markdown source editor."msgstr "Markdown 소스 편집기에서 긴 줄을 자동으로 줄바꿈합니다."-#: src/components/ConsentDialogBody.tsx-msgid "Writes a project-MCP config for each selected tool."-msgstr "선택한 각 도구에 프로젝트 MCP 구성을 작성합니다."-#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "다음에 항목을 씁니다"diff --git a/packages/app/src/locales/pseudo/messages.json b/packages/app/src/locales/pseudo/messages.jsonindex c3f4e0713..5c7c8c73d 100644--- a/packages/app/src/locales/pseudo/messages.json+++ b/packages/app/src/locales/pseudo/messages.json@@ -86,7 +86,6 @@"0NkNB5": [["0"], "ḿō àĝō"],"0QVrvp": ["Ḿàxĩḿũḿ àĝēńţś àĺŕēàďŷ ŕũńńĩńĝ"],"0TnCvC": ["Ŕēńàḿē ", ["0"]],- "0YEbfk": ["Ćōńńēćţ ţō ÀĨ ţōōĺś"],"0YUS3Q": ["Śũƀƒōĺďēŕ ũńďēŕ ćũŕŕēńţ ƒōĺďēŕ"],"0_J12R": ["Ńēŵ ƒĩĺē ƒŕōḿ ţēḿƥĺàţē \"",@@ -2238,7 +2237,6 @@"\" ćōũĺď ńōţ ƀē ćĺēàŕēď ĩń ţĩḿē. Ŕēĺōàď ţō ŕēţŕŷ."],"ScwcF2": ["À ƥŕōĴēćţ àĺŕēàďŷ ēxĩśţś àţ ţĥĩś ĺōćàţĩōń. Ƥĩćķ à ďĩƒƒēŕēńţ ƥàŕēńţ ƒōĺďēŕ."],- "SfxQX8": ["Ŵŕĩţēś à ƥŕōĴēćţ-ḾĆƤ ćōńƒĩĝ ƒōŕ ēàćĥ śēĺēćţēď ţōōĺ."],"Sg-6Bo": [["errorCount", "plural", { "one": ["#", " ēŕŕōŕ"], "other": ["#", " ēŕŕōŕś"] }]],"SgKLfA": ["Ńōţ ćōńńēćţēď ţō ĜĩţĤũƀ."],"Sh3Qkg": ["Ńō ḿàţćĥĩńĝ ƀŕàńćĥēś."],@@ -3018,7 +3016,6 @@"Ŵĥĩĺē ŷōũ'ŕē śĩĝńēď ōũţ, ũƥďàţēś àŕē ćĥēćķēď àţ ḿōśţ ēvēŕŷ 3 ḿĩńũţēś ŕēĝàŕďĺēśś ōƒ ţĥĩś śēţţĩńĝ."],"cIptmH": ["Ĩń ţĥē Ćĺàũďē Ďēśķţōƥ Àƥƥ"],- "cKjLuT": ["(ƥŕōĴēćţ + ũśēŕ)"],"cLP0Lf": ["Ŕēḿōţē śķĩĺĺ śōũŕćē"],"cLn264": ["Ţĥĩś ţĥēḿē ƒĩĺē ćōũĺďń’ţ ƀē ŕēàď"],"cMMb6H": ["Ĩńśţàĺĺēď ", ["imported"], ", ƀũţ ", ["failed"], " ƒàĩĺēď: ", ["failedNames"]],@@ -3245,7 +3242,6 @@"fMsFdZ": ["Ćōũĺďń'ţ śàvē ţĥē àũţō-ũƥďàţē śēţţĩńĝ: ", ["0"]],"fNr-MX": ["Ďĩśàƀĺē śēḿàńţĩć śēàŕćĥ"],"fOzzSV": ["Ĺĩńķ ţàŕĝēţ \"", ["shown"], "\" ďōēś ńōţ ŕēśōĺvē ţō àń ēxĩśţĩńĝ ƒĩĺē."],- "fR-Kdc": ["(ƥŕōĴēćţ-ĺēvēĺ ōńĺŷ)"],"fRVBiq": ["Àďďś ţēĺēḿēţŕŷ, śēŕvēŕ śţàţē, àńď ŕũńţĩḿē ĩńƒō ŵĥēń àvàĩĺàƀĺē. Ćŕēďēńţĩàĺś àŕē àĺŵàŷś ŕēḿōvēď; ďōćũḿēńţ ńàḿēś, ĩƒ ĩńćĺũďēď, àƥƥēàŕ ĩń ćĺēàŕţēxţ (ńōţ ŕēďàćţēď)."],@@ -3989,7 +3985,6 @@"nWS2gQ": ["Ƥũƀĺĩśĥēď ƀŷ ", ["publisher"]],"nWv1ja": ["Ḿàńàĝē ĥĩďďēń ƒĩĺēś ĩń Śēţţĩńĝś → Ĩĝńōŕē ƥàţţēŕńś."],"nXHOFU": ["Ćōũĺďń'ţ ũƥďàţē ƒŕōḿ ", ["0"], ": ", ["1"]],- "nYKerc": ["(ũśēŕ-ĺēvēĺ ōńĺŷ)"],"nYeBmY": [["hours"], "ĥ àĝō"],"n_I-da": ["Vĩēŵ śōũŕćē"],"nbLQ_9": ["Ćĥōōśē ŵĥēŕē ţō śēńď ţĥēśē ćōḿḿēńţś"],diff --git a/packages/app/src/locales/pseudo/messages.po b/packages/app/src/locales/pseudo/messages.poindex 6939b22f0..a1c81da4b 100644--- a/packages/app/src/locales/pseudo/messages.po+++ b/packages/app/src/locales/pseudo/messages.po@@ -138,16 +138,6 @@ msgstr ""msgid "(optional)"msgstr ""-#. Scope tag next to an AI tool — config is written at both project and user level-#: src/components/ConsentDialogBody.tsx-msgid "(project + user)"-msgstr ""--#. Scope tag next to an AI tool — config is written at project level only-#: src/components/ConsentDialogBody.tsx-msgid "(project-level only)"-msgstr ""-#: src/components/PropertyWidgets.tsxmsgid "(read-only — edit in source mode for now)"msgstr ""@@ -164,11 +154,6 @@ msgstr ""msgid "(symlink)"msgstr ""-#. Scope tag next to an AI tool — config is written at user level only-#: src/components/ConsentDialogBody.tsx-msgid "(user-level only)"-msgstr ""-#. placeholder {0}: preview.backlinkCount#: src/editor/link-preview/InternalDocPreviewCard.tsxmsgid "{0, plural, one {# backlink} other {# backlinks}}"@@ -1556,8 +1541,8 @@ msgstr ""msgid "Adds a managed block to {0}"msgstr ""-#. Subtext under the create-project AI-tools checkbox-#: src/components/CreateProjectDialog.tsx+#. Subtext under the project AI-tools checkbox+#: src/components/ProjectAiToolsField.tsxmsgid "Adds an OpenKnowledge MCP entry and the project skill to <0>{toolList}</0>, so your agents can read and edit your files."msgstr ""@@ -1579,7 +1564,7 @@ msgstr ""msgid "Adds the skill to {rootRel} — also read by {0}"msgstr ""-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Adds these files"msgstr ""@@ -2565,7 +2550,7 @@ msgstr ""msgid "Checking source"msgstr ""-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Checking which AI tools you have"msgstr ""@@ -3167,10 +3152,6 @@ msgstr ""msgid "Connect this project to GitHub to share."msgstr ""-#: src/components/ConsentDialogBody.tsx-msgid "Connect to AI tools"-msgstr ""-#: src/components/settings/SyncSection.tsxmsgid "Connect to GitHub"msgstr ""@@ -3188,8 +3169,8 @@ 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+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the project+#: src/components/ProjectAiToolsField.tsxmsgid "Connect your AI tools to this project"msgstr ""@@ -8486,7 +8467,7 @@ msgstr ""msgid "No AI tools detected yet. Once you install one, connect it from Settings > AI tools & CLI."msgstr ""-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "No AI tools detected yet. Once you install one, connect it from Settings > This project."msgstr ""@@ -14864,10 +14845,6 @@ msgstr ""msgid "Wrap long lines in the markdown source editor."msgstr ""-#: src/components/ConsentDialogBody.tsx-msgid "Writes a project-MCP config for each selected tool."-msgstr ""-#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr ""diff --git a/packages/app/src/locales/pt-BR/messages.json b/packages/app/src/locales/pt-BR/messages.jsonindex 27b4f70cd..16b588443 100644--- a/packages/app/src/locales/pt-BR/messages.json+++ b/packages/app/src/locales/pt-BR/messages.json@@ -100,7 +100,6 @@"0NkNB5": ["há ", ["0"], " meses"],"0QVrvp": ["Já está no número máximo de agentes em execução"],"0TnCvC": ["Renomear ", ["0"]],- "0YEbfk": ["Conectar a ferramentas de IA"],"0YUS3Q": ["Subpasta dentro da pasta atual"],"0_J12R": ["Novo arquivo a partir do modelo \"",@@ -2538,7 +2537,6 @@"\". Recarregue para tentar de novo."],"ScwcF2": ["Já existe um projeto neste local. Escolha outra pasta acima."],- "SfxQX8": ["Grava uma configuração MCP de projeto para cada ferramenta selecionada."],"Sg-6Bo": [["errorCount",@@ -3436,7 +3434,6 @@"Enquanto você estiver desconectado, as atualizações são verificadas no máximo a cada 3 minutos, independentemente desta configuração."],"cIptmH": ["No app Claude Desktop"],- "cKjLuT": ["(projeto + usuário)"],"cLP0Lf": ["Fonte remota de habilidades"],"cLn264": ["Não foi possível ler este arquivo de tema"],"cMMb6H": [["imported"], " instaladas, mas ", ["failed"], " falharam: ", ["failedNames"]],@@ -3707,7 +3704,6 @@"fMsFdZ": ["Não deu para salvar a configuração de atualização automática: ", ["0"]],"fNr-MX": ["Desativar a busca semântica"],"fOzzSV": ["O destino do link \"", ["shown"], "\" não corresponde a um arquivo existente."],- "fR-Kdc": ["(somente no nível do projeto)"],"fRVBiq": ["Adiciona telemetria, estado do servidor e informações de execução quando disponíveis. As credenciais são sempre removidas; os nomes de documento, se incluídos, aparecem em texto simples (sem ocultação)."],@@ -4523,7 +4519,6 @@"nWS2gQ": ["Publicado por ", ["publisher"]],"nWv1ja": ["Gerencie os arquivos ocultos em Configurações → Padrões de exclusão."],"nXHOFU": ["Não foi possível atualizar de ", ["0"], ": ", ["1"]],- "nYKerc": ["(somente no nível do usuário)"],"nYeBmY": ["há ", ["hours"], " h"],"n_I-da": ["Ver fonte"],"nbLQ_9": ["Escolha para onde enviar estes comentários"],diff --git a/packages/app/src/locales/pt-BR/messages.po b/packages/app/src/locales/pt-BR/messages.poindex 255fea570..c0c3ec618 100644--- a/packages/app/src/locales/pt-BR/messages.po+++ b/packages/app/src/locales/pt-BR/messages.po@@ -138,16 +138,6 @@ msgstr "(abre em uma nova aba)"msgid "(optional)"msgstr "(opcional)"-#. Scope tag next to an AI tool — config is written at both project and user level-#: src/components/ConsentDialogBody.tsx-msgid "(project + user)"-msgstr "(projeto + usuário)"--#. Scope tag next to an AI tool — config is written at project level only-#: src/components/ConsentDialogBody.tsx-msgid "(project-level only)"-msgstr "(somente no nível do projeto)"-#: src/components/PropertyWidgets.tsxmsgid "(read-only — edit in source mode for now)"msgstr "(somente leitura — por enquanto, edite no modo código)"@@ -164,11 +154,6 @@ msgstr "(outras regras podem já ocultar alguns)"msgid "(symlink)"msgstr "(link simbólico)"-#. Scope tag next to an AI tool — config is written at user level only-#: src/components/ConsentDialogBody.tsx-msgid "(user-level only)"-msgstr "(somente no nível do usuário)"-#. placeholder {0}: preview.backlinkCount#: src/editor/link-preview/InternalDocPreviewCard.tsxmsgid "{0, plural, one {# backlink} other {# backlinks}}"@@ -1556,8 +1541,8 @@ msgstr "Adiciona um bloco gerenciado a"msgid "Adds a managed block to {0}"msgstr "Adiciona um bloco gerenciado a {0}"-#. Subtext under the create-project AI-tools checkbox-#: src/components/CreateProjectDialog.tsx+#. Subtext under the project AI-tools checkbox+#: src/components/ProjectAiToolsField.tsxmsgid "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."@@ -1579,7 +1564,7 @@ msgstr "Adiciona a habilidade do OpenKnowledge ao <0>app Claude Desktop</0> paramsgid "Adds the skill to {rootRel} — also read by {0}"msgstr "Adiciona a habilidade a {rootRel} — também lida por {0}"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Adds these files"msgstr "Adiciona estes arquivos"@@ -2565,7 +2550,7 @@ msgstr "Verificando habilidade"msgid "Checking source"msgstr "Verificando a fonte"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Checking which AI tools you have"msgstr "Verificando quais ferramentas de IA você tem"@@ -3167,10 +3152,6 @@ msgstr "Conecte a este projeto específico as ferramentas de IA que você usa. Emsgid "Connect this project to GitHub to share."msgstr "Conecte este projeto ao GitHub para compartilhar."-#: src/components/ConsentDialogBody.tsx-msgid "Connect to AI tools"-msgstr "Conectar a ferramentas de IA"-#: src/components/settings/SyncSection.tsxmsgid "Connect to GitHub"msgstr "Conectar ao GitHub"@@ -3188,8 +3169,8 @@ 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+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the project+#: src/components/ProjectAiToolsField.tsxmsgid "Connect your AI tools to this project"msgstr "Conectar suas ferramentas de IA a este projeto"@@ -8486,7 +8467,7 @@ msgstr "Nenhum agente de IA instalado"msgid "No AI tools detected yet. Once you install one, connect it from Settings > AI tools & CLI."msgstr "Nenhuma ferramenta de IA detectada ainda. Depois de instalar uma, conecte-a em Configurações > Ferramentas de IA e CLI."-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "No AI tools detected yet. Once you install one, connect it from Settings > This project."msgstr "Nenhuma ferramenta de IA detectada ainda. Depois de instalar uma, conecte-a em Configurações > Este projeto."@@ -14864,10 +14845,6 @@ msgstr "Worktrees"msgid "Wrap long lines in the markdown source editor."msgstr "Quebra as linhas longas no editor de código markdown."-#: src/components/ConsentDialogBody.tsx-msgid "Writes a project-MCP config for each selected tool."-msgstr "Grava uma configuração MCP de projeto para cada ferramenta selecionada."-#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "Grava uma entrada em"diff --git a/packages/app/src/locales/ur/messages.json b/packages/app/src/locales/ur/messages.jsonindex c98e1db9d..4106b879f 100644--- a/packages/app/src/locales/ur/messages.json+++ b/packages/app/src/locales/ur/messages.json@@ -84,7 +84,6 @@"0NkNB5": [["0"], " ماہ پہلے"],"0QVrvp": ["زیادہ سے زیادہ ایجنٹس پہلے ہی چل رہے ہیں"],"0TnCvC": [["0"], " کا نام بدلیں"],- "0YEbfk": ["AI ٹولز سے منسلک ہوں"],"0YUS3Q": ["موجودہ فولڈر کے تحت ذیلی فولڈر"],"0_J12R": [["targetLabel"],@@ -2291,7 +2290,6 @@"» کا مقامی اشتراکی ڈیٹا وقت پر صاف نہیں ہو سکا۔ دوبارہ کوشش کے لیے صفحہ لوڈ کریں۔"],"ScwcF2": ["اس مقام پر پہلے سے ایک پروجیکٹ موجود ہے۔ کوئی مختلف والد فولڈر منتخب کریں۔"],- "SfxQX8": ["ہر منتخب ٹول کے لیے پروجیکٹ کی MCP کنفیگ لکھتا ہے۔"],"Sg-6Bo": [["errorCount", "plural", { "one": ["#", " خرابی"], "other": ["#", " خرابیاں"] }]],"SgKLfA": ["GitHub سے منسلک نہیں۔"],"Sh3Qkg": ["کوئی مماثل برانچ نہیں۔"],@@ -3105,7 +3103,6 @@"جب تک آپ سائن آؤٹ ہیں، اس ترتیب سے قطع نظر اپ ڈیٹس زیادہ سے زیادہ ہر 3 منٹ بعد دیکھی جاتی ہیں۔"],"cIptmH": ["Claude Desktop App میں"],- "cKjLuT": ["(پروجیکٹ + صارف)"],"cLP0Lf": ["ریموٹ مہارت کا ماخذ"],"cLn264": ["یہ تھیم فائل پڑھی نہیں جا سکی"],"cMMb6H": [["imported"], " نصب ہو گئیں، مگر ", ["failed"], " ناکام رہیں: ", ["failedNames"]],@@ -3330,7 +3327,6 @@"fMsFdZ": ["خودکار اپ ڈیٹ کی ترتیب محفوظ نہیں ہو سکی: ", ["0"]],"fNr-MX": ["معنوی تلاش بند کریں"],"fOzzSV": ["لنک کا ہدف \"", ["shown"], "\" کسی موجودہ فائل کی طرف اشارہ نہیں کرتا۔"],- "fR-Kdc": ["(صرف پروجیکٹ کی سطح پر)"],"fRVBiq": ["دستیاب ہونے پر ٹیلی میٹری، سرور کی حالت اور رن ٹائم معلومات شامل کرتا ہے۔ اسناد ہمیشہ ہٹا دی جاتی ہیں؛ دستاویزات کے نام، اگر شامل ہوں، سادہ متن میں ظاہر ہوتے ہیں (چھپائے نہیں جاتے)۔"],@@ -4088,7 +4084,6 @@"nWS2gQ": [["publisher"], " کی طرف سے شائع کردہ"],"nWv1ja": ["چھپی ہوئی فائلیں ترتیبات ← نظر انداز کرنے کے پیٹرنز میں سنبھالیں۔"],"nXHOFU": [["0"], " سے اپ ڈیٹ نہیں ہو سکا: ", ["1"]],- "nYKerc": ["(صرف صارف کی سطح پر)"],"nYeBmY": [["hours"], " گھنٹے پہلے"],"n_I-da": ["ماخذ دیکھیں"],"nbLQ_9": ["منتخب کریں کہ یہ تبصرے کہاں بھیجے جائیں"],diff --git a/packages/app/src/locales/ur/messages.po b/packages/app/src/locales/ur/messages.poindex d8dc16256..c495541df 100644--- a/packages/app/src/locales/ur/messages.po+++ b/packages/app/src/locales/ur/messages.po@@ -138,16 +138,6 @@ msgstr "(نئے ٹیب میں کھلتا ہے)"msgid "(optional)"msgstr "(اختیاری)"-#. Scope tag next to an AI tool — config is written at both project and user level-#: src/components/ConsentDialogBody.tsx-msgid "(project + user)"-msgstr "(پروجیکٹ + صارف)"--#. Scope tag next to an AI tool — config is written at project level only-#: src/components/ConsentDialogBody.tsx-msgid "(project-level only)"-msgstr "(صرف پروجیکٹ کی سطح پر)"-#: src/components/PropertyWidgets.tsxmsgid "(read-only — edit in source mode for now)"msgstr "(صرف پڑھنے کے لیے — فی الحال سورس موڈ میں ترمیم کریں)"@@ -164,11 +154,6 @@ msgstr "(کچھ پہلے ہی دوسرے قواعد سے چھپے ہو سکتےmsgid "(symlink)"msgstr "(سِم لنک)"-#. Scope tag next to an AI tool — config is written at user level only-#: src/components/ConsentDialogBody.tsx-msgid "(user-level only)"-msgstr "(صرف صارف کی سطح پر)"-#. placeholder {0}: preview.backlinkCount#: src/editor/link-preview/InternalDocPreviewCard.tsxmsgid "{0, plural, one {# backlink} other {# backlinks}}"@@ -1560,8 +1545,8 @@ msgstr "منظم بلاک شامل کرتا ہے اِس میں"msgid "Adds a managed block to {0}"msgstr "{0} میں منظم بلاک شامل کرتا ہے"-#. Subtext under the create-project AI-tools checkbox-#: src/components/CreateProjectDialog.tsx+#. Subtext under the project AI-tools checkbox+#: src/components/ProjectAiToolsField.tsxmsgid "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 شامل کرتا ہے تاکہ آپ کے ایجنٹس آپ کی فائلیں پڑھ اور ترمیم کر سکیں۔"@@ -1583,7 +1568,7 @@ msgstr "OpenKnowledge مہارت کو <0>Claude Desktop App</0> میں شاملmsgid "Adds the skill to {rootRel} — also read by {0}"msgstr "مہارت کو {rootRel} میں شامل کرتا ہے — اسے {0} بھی پڑھتا ہے"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Adds these files"msgstr "یہ فائلیں شامل کرتا ہے"@@ -2569,7 +2554,7 @@ msgstr "جانچ پڑتال کی مہارت"msgid "Checking source"msgstr "ماخذ جانچا جا رہا ہے"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Checking which AI tools you have"msgstr "دیکھا جا رہا ہے کہ آپ کے پاس کون سے AI ٹولز ہیں"@@ -3171,10 +3156,6 @@ msgstr "اپنے استعمال کے AI ٹولز کو اسی مخصوص پروجmsgid "Connect this project to GitHub to share."msgstr "شیئر کرنے کے لیے اس پروجیکٹ کو GitHub سے منسلک کریں۔"-#: src/components/ConsentDialogBody.tsx-msgid "Connect to AI tools"-msgstr "AI ٹولز سے منسلک ہوں"-#: src/components/settings/SyncSection.tsxmsgid "Connect to GitHub"msgstr "GitHub سے منسلک ہوں"@@ -3192,8 +3173,8 @@ 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+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the project+#: src/components/ProjectAiToolsField.tsxmsgid "Connect your AI tools to this project"msgstr "اپنے AI ٹولز کو اس پروجیکٹ سے جوڑیں"@@ -8490,7 +8471,7 @@ msgstr "کوئی AI ایجنٹ نصب نہیں"msgid "No AI tools detected yet. Once you install one, connect it from Settings > AI tools & CLI."msgstr "ابھی تک کوئی AI ٹول نہیں ملا۔ ایک انسٹال کرنے کے بعد اسے ترتیبات > AI ٹولز اور CLI سے جوڑیں۔"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "No AI tools detected yet. Once you install one, connect it from Settings > This project."msgstr "ابھی تک کوئی AI ٹول نہیں ملا۔ ایک انسٹال کرنے کے بعد اسے ترتیبات > یہ پروجیکٹ سے جوڑیں۔"@@ -14868,10 +14849,6 @@ msgstr "ورک ٹریز"msgid "Wrap long lines in the markdown source editor."msgstr "Markdown سورس ایڈیٹر میں لمبی سطریں لپیٹیں۔"-#: src/components/ConsentDialogBody.tsx-msgid "Writes a project-MCP config for each selected tool."-msgstr "ہر منتخب ٹول کے لیے پروجیکٹ کی MCP کنفیگ لکھتا ہے۔"-#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "اس میں ایک اندراج لکھتا ہے"diff --git a/packages/app/src/locales/zh-Hans/messages.json b/packages/app/src/locales/zh-Hans/messages.jsonindex 702023778..b99eaeb5f 100644--- a/packages/app/src/locales/zh-Hans/messages.json+++ b/packages/app/src/locales/zh-Hans/messages.json@@ -78,7 +78,6 @@"0NkNB5": [["0"], " 个月前"],"0QVrvp": ["运行中的智能体已达上限"],"0TnCvC": ["重命名 ", ["0"]],- "0YEbfk": ["连接 AI 工具"],"0YUS3Q": ["当前文件夹下的子文件夹"],"0_J12R": ["在 ",@@ -1958,7 +1957,6 @@],"Sc1bKE": ["未能及时清除“", ["docName"], "”的本地协作数据。请重新加载后重试。"],"ScwcF2": ["该位置已存在一个项目。请换一个上级文件夹。"],- "SfxQX8": ["为每个选中的工具写入一份项目级 MCP 配置。"],"Sg-6Bo": [["errorCount", "plural", { "other": ["#", " 个错误"] }]],"SgKLfA": ["未连接到 GitHub。"],"Sh3Qkg": ["没有匹配的分支。"],@@ -2668,7 +2666,6 @@"cHhH3i": ["一个必需的 git 工具"],"cIFYZn": ["在你退出登录期间,无论此设置如何,更新最多每 3 分钟检查一次。"],"cIptmH": ["在 Claude 桌面应用中"],- "cKjLuT": ["(项目 + 用户)"],"cLP0Lf": ["远程技能来源"],"cLn264": ["无法读取此主题文件"],"cMMb6H": ["已安装 ", ["imported"], " 个,但 ", ["failed"], " 个失败:", ["failedNames"]],@@ -2867,7 +2864,6 @@"fMsFdZ": ["无法保存自动更新设置:", ["0"]],"fNr-MX": ["关闭语义搜索"],"fOzzSV": ["链接目标“", ["shown"], "”未指向现有文件。"],- "fR-Kdc": ["(仅项目级)"],"fRVBiq": ["在可用时附上遥测数据、服务器状态和运行时信息。凭据始终会被移除;如果包含文档名,它们会以明文出现(不做隐去)。"],@@ -3506,7 +3502,6 @@"nWS2gQ": ["由 ", ["publisher"], " 发布"],"nWv1ja": ["在「设置 → 忽略模式」中管理隐藏文件。"],"nXHOFU": ["无法从 ", ["0"], " 更新:", ["1"]],- "nYKerc": ["(仅用户级)"],"nYeBmY": [["hours"], " 小时前"],"n_I-da": ["查看来源"],"nbLQ_9": ["选择把这些评论发送到哪里"],diff --git a/packages/app/src/locales/zh-Hans/messages.po b/packages/app/src/locales/zh-Hans/messages.poindex 48d52a2c9..4ebe5b383 100644--- a/packages/app/src/locales/zh-Hans/messages.po+++ b/packages/app/src/locales/zh-Hans/messages.po@@ -138,16 +138,6 @@ msgstr "(在新标签页中打开)"msgid "(optional)"msgstr "(可选)"-#. Scope tag next to an AI tool — config is written at both project and user level-#: src/components/ConsentDialogBody.tsx-msgid "(project + user)"-msgstr "(项目 + 用户)"--#. Scope tag next to an AI tool — config is written at project level only-#: src/components/ConsentDialogBody.tsx-msgid "(project-level only)"-msgstr "(仅项目级)"-#: src/components/PropertyWidgets.tsxmsgid "(read-only — edit in source mode for now)"msgstr "(只读——目前请在源码模式中编辑)"@@ -164,11 +154,6 @@ msgstr "(其中一些可能已被其他规则隐藏)"msgid "(symlink)"msgstr "(符号链接)"-#. Scope tag next to an AI tool — config is written at user level only-#: src/components/ConsentDialogBody.tsx-msgid "(user-level only)"-msgstr "(仅用户级)"-#. placeholder {0}: preview.backlinkCount#: src/editor/link-preview/InternalDocPreviewCard.tsxmsgid "{0, plural, one {# backlink} other {# backlinks}}"@@ -1560,8 +1545,8 @@ msgstr "添加一个受管理的块到"msgid "Adds a managed block to {0}"msgstr "添加一个受管理的块到 {0}"-#. Subtext under the create-project AI-tools checkbox-#: src/components/CreateProjectDialog.tsx+#. Subtext under the project AI-tools checkbox+#: src/components/ProjectAiToolsField.tsxmsgid "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 条目和项目技能,让你的智能体可以读取和编辑你的文件。"@@ -1583,7 +1568,7 @@ msgstr "把 OpenKnowledge 技能添加到 <0>Claude 桌面应用</0>,以便在msgid "Adds the skill to {rootRel} — also read by {0}"msgstr "把技能添加到 {rootRel}——{0} 也会读取该处"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Adds these files"msgstr "添加这些文件"@@ -2569,7 +2554,7 @@ msgstr "检查技能"msgid "Checking source"msgstr "正在检查来源"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Checking which AI tools you have"msgstr "正在检查你安装了哪些 AI 工具"@@ -3171,10 +3156,6 @@ msgstr "把你使用的 AI 工具连接到这个具体项目。这些文件保msgid "Connect this project to GitHub to share."msgstr "把这个项目连接到 GitHub 才能共享。"-#: src/components/ConsentDialogBody.tsx-msgid "Connect to AI tools"-msgstr "连接 AI 工具"-#: src/components/settings/SyncSection.tsxmsgid "Connect to GitHub"msgstr "连接到 GitHub"@@ -3192,8 +3173,8 @@ 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+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the project+#: src/components/ProjectAiToolsField.tsxmsgid "Connect your AI tools to this project"msgstr "将你的 AI 工具连接到本项目"@@ -8490,7 +8471,7 @@ msgstr "未安装任何 AI 智能体"msgid "No AI tools detected yet. Once you install one, connect it from Settings > AI tools & CLI."msgstr "尚未检测到 AI 工具。安装之后,可在「设置 > AI 工具与 CLI」中连接。"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "No AI tools detected yet. Once you install one, connect it from Settings > This project."msgstr "尚未检测到 AI 工具。安装之后,可在「设置 > 本项目」中连接。"@@ -14868,10 +14849,6 @@ msgstr "Worktree"msgid "Wrap long lines in the markdown source editor."msgstr "在 markdown 源码编辑器中对长行自动换行。"-#: src/components/ConsentDialogBody.tsx-msgid "Writes a project-MCP config for each selected tool."-msgstr "为每个选中的工具写入一份项目级 MCP 配置。"-#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "写入条目到"diff --git a/packages/app/src/locales/zh-Hant/messages.json b/packages/app/src/locales/zh-Hant/messages.jsonindex b89c9b8c3..10d2012ef 100644--- a/packages/app/src/locales/zh-Hant/messages.json+++ b/packages/app/src/locales/zh-Hant/messages.json@@ -78,7 +78,6 @@"0NkNB5": [["0"], " 個月前"],"0QVrvp": ["同時執行的代理已達上限"],"0TnCvC": ["重新命名 ", ["0"]],- "0YEbfk": ["連接 AI 工具"],"0YUS3Q": ["目前資料夾底下的子資料夾"],"0_J12R": ["在 ",@@ -1984,7 +1983,6 @@],"Sc1bKE": ["來不及清除「", ["docName"], "」的本機協作資料。請重新載入後再試一次。"],"ScwcF2": ["這個位置已經有一個專案了。請換一個上層資料夾。"],- "SfxQX8": ["為每個選取的工具寫入一份專案層級的 MCP 設定。"],"Sg-6Bo": [["errorCount", "plural", { "other": ["#", " 個錯誤"] }]],"SgKLfA": ["尚未連接到 GitHub。"],"Sh3Qkg": ["沒有相符的分支。"],@@ -2694,7 +2692,6 @@"cHhH3i": ["一個必要的 git 工具"],"cIFYZn": ["在你登出期間,無論此設定為何,更新最多每 3 分鐘檢查一次。"],"cIptmH": ["在 Claude Desktop App 中"],- "cKjLuT": ["(專案 + 使用者)"],"cLP0Lf": ["遠端技能來源"],"cLn264": ["無法讀取這個主題檔案"],"cMMb6H": ["已安裝 ", ["imported"], " 個,但 ", ["failed"], " 個失敗:", ["failedNames"]],@@ -2893,7 +2890,6 @@"fMsFdZ": ["無法儲存自動更新設定:", ["0"]],"fNr-MX": ["關閉語意搜尋"],"fOzzSV": ["連結目標「", ["shown"], "」未指向現有檔案。"],- "fR-Kdc": ["(僅專案層級)"],"fRVBiq": ["在可取得時附上遙測資料、伺服器狀態和執行階段資訊。憑證一律會移除;如果包含文件名稱,它們會以明文出現(不做遮蔽)。"],@@ -3534,7 +3530,6 @@"nWS2gQ": ["由 ", ["publisher"], " 發布"],"nWv1ja": ["在「設定 → 忽略模式」中管理隱藏的檔案。"],"nXHOFU": ["無法從 ", ["0"], " 更新:", ["1"]],- "nYKerc": ["(僅使用者層級)"],"nYeBmY": [["hours"], " 小時前"],"n_I-da": ["檢視來源"],"nbLQ_9": ["選擇要把這些註解送到哪裡"],diff --git a/packages/app/src/locales/zh-Hant/messages.po b/packages/app/src/locales/zh-Hant/messages.poindex b1467ad75..f5293ce95 100644--- a/packages/app/src/locales/zh-Hant/messages.po+++ b/packages/app/src/locales/zh-Hant/messages.po@@ -138,16 +138,6 @@ msgstr "(在新分頁中開啟)"msgid "(optional)"msgstr "(選填)"-#. Scope tag next to an AI tool — config is written at both project and user level-#: src/components/ConsentDialogBody.tsx-msgid "(project + user)"-msgstr "(專案 + 使用者)"--#. Scope tag next to an AI tool — config is written at project level only-#: src/components/ConsentDialogBody.tsx-msgid "(project-level only)"-msgstr "(僅專案層級)"-#: src/components/PropertyWidgets.tsxmsgid "(read-only — edit in source mode for now)"msgstr "(唯讀——目前請在原始碼模式中編輯)"@@ -164,11 +154,6 @@ msgstr "(其中有些可能已被其他規則隱藏)"msgid "(symlink)"msgstr "(符號連結)"-#. Scope tag next to an AI tool — config is written at user level only-#: src/components/ConsentDialogBody.tsx-msgid "(user-level only)"-msgstr "(僅使用者層級)"-#. placeholder {0}: preview.backlinkCount#: src/editor/link-preview/InternalDocPreviewCard.tsxmsgid "{0, plural, one {# backlink} other {# backlinks}}"@@ -1560,8 +1545,8 @@ msgstr "加入一個受管理的區塊到"msgid "Adds a managed block to {0}"msgstr "加入一個受管理的區塊到 {0}"-#. Subtext under the create-project AI-tools checkbox-#: src/components/CreateProjectDialog.tsx+#. Subtext under the project AI-tools checkbox+#: src/components/ProjectAiToolsField.tsxmsgid "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 項目與專案技能,讓你的智慧代理可以讀取並編輯你的檔案。"@@ -1583,7 +1568,7 @@ msgstr "把 OpenKnowledge 技能加到 <0>Claude Desktop App</0>,這樣在 Chamsgid "Adds the skill to {rootRel} — also read by {0}"msgstr "把技能加到 {rootRel}——{0} 也會讀取該處"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Adds these files"msgstr "新增這些檔案"@@ -2569,7 +2554,7 @@ msgstr "檢查技能"msgid "Checking source"msgstr "正在檢查來源"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "Checking which AI tools you have"msgstr "正在檢查你安裝了哪些 AI 工具"@@ -3171,10 +3156,6 @@ msgstr "把你用的 AI 工具連接到這個特定專案。這些檔案放在msgid "Connect this project to GitHub to share."msgstr "把這個專案連接到 GitHub 才能分享。"-#: src/components/ConsentDialogBody.tsx-msgid "Connect to AI tools"-msgstr "連接 AI 工具"-#: src/components/settings/SyncSection.tsxmsgid "Connect to GitHub"msgstr "連接到 GitHub"@@ -3192,8 +3173,8 @@ 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+#. Checkbox that wires the OpenKnowledge MCP into every detected AI tool for the project+#: src/components/ProjectAiToolsField.tsxmsgid "Connect your AI tools to this project"msgstr "將你的 AI 工具連接到這個專案"@@ -8490,7 +8471,7 @@ msgstr "沒有安裝任何 AI 代理"msgid "No AI tools detected yet. Once you install one, connect it from Settings > AI tools & CLI."msgstr "尚未偵測到 AI 工具。安裝之後,可在「設定 > AI 工具與 CLI」中連接。"-#: src/components/CreateProjectDialog.tsx+#: src/components/ProjectAiToolsField.tsxmsgid "No AI tools detected yet. Once you install one, connect it from Settings > This project."msgstr "尚未偵測到 AI 工具。安裝之後,可在「設定 > 這個專案」中連接。"@@ -14868,10 +14849,6 @@ msgstr "Worktree"msgid "Wrap long lines in the markdown source editor."msgstr "在 markdown 原始碼編輯器中把過長的行自動換行。"-#: src/components/ConsentDialogBody.tsx-msgid "Writes a project-MCP config for each selected tool."-msgstr "為每個選取的工具寫入一份專案層級的 MCP 設定。"-#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "寫入項目到"diff --git a/packages/core/src/constants/editors.ts b/packages/core/src/constants/editors.tsindex 053bdcce3..af8b05f7e 100644--- a/packages/core/src/constants/editors.ts+++ b/packages/core/src/constants/editors.ts@@ -36,8 +36,7 @@ export const ALL_EDITOR_IDS = [/*** Human-readable display label per editor. Consumed by:* - cli `EDITOR_TARGETS[id].label` (the canonical metadata registry)- * - app's `ConsentDialogBody` (via `payload.editorOptions` from main)- * - app's `CreateProjectDialog` (directly imported)+ * - app's `ProjectAiToolsField` (the create-project + open-folder setup row)*/export const EDITOR_LABELS = {claude: 'Claude',diff --git a/packages/core/src/desktop-bridge.ts b/packages/core/src/desktop-bridge.tsindex 3b0f1fc73..2e0c57948 100644--- a/packages/core/src/desktop-bridge.ts+++ b/packages/core/src/desktop-bridge.ts@@ -768,14 +768,6 @@ export interface OkOnboardingShowPayload {readonly gitState: OkOnboardingGitState;readonly gitRootPromoted: boolean;readonly warnings: readonly { readonly kind: OkOnboardingWarningKind }[];- readonly editorOptions: readonly {- readonly id: OkMcpWiringEditorId;- readonly label: string;- readonly hasProjectConfig: boolean;- /** Optional for back-compat; absent reads as `true`. `false` = the editor- * has no user-global config surface (Pi — project-scope only). */- readonly hasUserConfig?: boolean;- }[];}export interface OkOnboardingConfirmRequest {@@ -783,6 +775,10 @@ export interface OkOnboardingConfirmRequest {readonly contentDir: string;readonly additionalIgnores: string;readonly editorIds: readonly OkMcpWiringEditorId[];+ /** The AI-tools checkbox as the user left it. `editorIds` alone cannot say:+ * an empty list means "declined" on a machine with tools and "nothing to+ * offer" on one without, and the two are different answers. */+ readonly connectEditors: boolean;readonly sharing: 'shared' | 'local-only';}diff --git a/packages/desktop/src/main/consent-dialog.test.ts b/packages/desktop/src/main/consent-dialog.test.tsindex 853155722..754dac109 100644--- a/packages/desktop/src/main/consent-dialog.test.ts+++ b/packages/desktop/src/main/consent-dialog.test.ts@@ -71,10 +71,6 @@ const SAMPLE_PAYLOAD: OnboardingShowPayload = {gitState: 'absent',gitRootPromoted: false,warnings: [],- editorOptions: [- { id: 'claude', label: 'Claude', hasProjectConfig: true },- { id: 'cursor', label: 'Cursor', hasProjectConfig: true },- ],};const SAMPLE_CONFIRM: OnboardingConfirmRequest = {@@ -82,6 +78,7 @@ const SAMPLE_CONFIRM: OnboardingConfirmRequest = {contentDir: '.',additionalIgnores: '',editorIds: ['claude', 'cursor'],+ connectEditors: true,sharing: 'shared',};@@ -247,7 +244,7 @@ describe('requestUserConsent — confirm', () => {await promise;});- test('confirm clamps editorIds to the show payload offered set', async () => {+ test('confirm clamps editorIds to the supported editor set', async () => {const ipcMain = createIpcStub();const navigator = fakeNavigator();const promise = requestUserConsent(@@ -300,6 +297,45 @@ describe('requestUserConsent — confirm', () => {await promise;});+ test('confirm with a non-boolean connectEditors is rejected', async () => {+ const ipcMain = createIpcStub();+ const navigator = fakeNavigator();+ const promise = requestUserConsent(+ { ipcMain, navigator: navigator.webContents, previewContent: fakePreview },+ SAMPLE_PAYLOAD,+ );+ await ipcMain.bindSender(1);+ const evil = { ...SAMPLE_CONFIRM, connectEditors: 'yes' };+ const result = (await ipcMain.invoke('ok:onboarding:confirm', 1, evil)) as {+ ok: boolean;+ error?: string;+ };+ expect(result.ok).toBe(false);+ expect(result.error).toBe('invalid connectEditors');+ await ipcMain.invoke('ok:onboarding:cancel', 1);+ await promise;+ });++ test('a declined AI-tools row forwards connectEditors:false with an empty write set', async () => {+ const ipcMain = createIpcStub();+ const navigator = fakeNavigator();+ const promise = requestUserConsent(+ { ipcMain, navigator: navigator.webContents, previewContent: fakePreview },+ SAMPLE_PAYLOAD,+ );+ await ipcMain.bindSender(1);+ await ipcMain.invoke('ok:onboarding:confirm', 1, {+ ...SAMPLE_CONFIRM,+ editorIds: [],+ connectEditors: false,+ });+ const decision = (await promise) as { outcome: 'confirm'; request: OnboardingConfirmRequest };+ expect(decision.request.editorIds).toEqual([]);+ // Distinct from an empty list on a machine with no tools, which keeps+ // `connectEditors: true` — the two are different answers.+ expect(decision.request.connectEditors).toBe(false);+ });+test('confirm with absolute contentDir is rejected', async () => {const ipcMain = createIpcStub();const navigator = fakeNavigator();diff --git a/packages/desktop/src/main/consent-dialog.ts b/packages/desktop/src/main/consent-dialog.tsindex 8c168881b..295d2509e 100644--- a/packages/desktop/src/main/consent-dialog.ts+++ b/packages/desktop/src/main/consent-dialog.ts@@ -17,6 +17,7 @@ import type { Dirent } from 'node:fs';import { existsSync } from 'node:fs';import { readdir } from 'node:fs/promises';import { join } from 'node:path';+import { ALL_EDITOR_IDS } from '@inkeep/open-knowledge-core';import type { IpcMain, IpcMainInvokeEvent } from 'electron';import type {McpWiringEditorId,@@ -218,7 +219,7 @@ export function requestUserConsent(};}if (resolved) return { ok: true };- const validated = validateConfirmRequest(request, payload);+ const validated = validateConfirmRequest(request);if (!validated.ok) {logIpcError({event: 'ipc.error',@@ -368,13 +369,12 @@ interface InvalidRequest {}/**- * Validate the incoming confirm request and clamp `editorIds` to the show- * payload's offered set. Renderer-side checks are the primary defense; this- * is the wire-level safety net.+ * Validate the incoming confirm request and clamp `editorIds` to the supported+ * editor set. Renderer-side checks are the primary defense; this is the+ * wire-level safety net.*/function validateConfirmRequest(request: OnboardingConfirmRequest,- payload: OnboardingShowPayload,): ValidatedRequest | InvalidRequest {if (typeof request.initGit !== 'boolean') {return { ok: false, error: 'invalid initGit' };@@ -391,9 +391,15 @@ function validateConfirmRequest(if (!Array.isArray(request.editorIds)) {return { ok: false, error: 'invalid editorIds' };}- const offeredIds = new Set<McpWiringEditorId>(payload.editorOptions.map((e) => e.id));+ if (typeof request.connectEditors !== 'boolean') {+ return { ok: false, error: 'invalid connectEditors' };+ }+ // Clamp to the closed editor set. The renderer narrows further (to the tools+ // detected on this machine that actually receive a project write); this is the+ // wire-level safety net, so it validates membership rather than re-deriving+ // that machine-specific answer in a second place.const editorIds = request.editorIds.filter((id): id is McpWiringEditorId =>- offeredIds.has(id as McpWiringEditorId),+ (ALL_EDITOR_IDS as readonly string[]).includes(id),);// Sharing-mode posture: validate against the closed set; fall back to// `shared` on any non-matching value (defensive: a renderer bypass would@@ -411,6 +417,7 @@ function validateConfirmRequest(contentDir: request.contentDir,additionalIgnores: request.additionalIgnores,editorIds,+ connectEditors: request.connectEditors,sharing,},};diff --git a/packages/desktop/src/main/index.ts b/packages/desktop/src/main/index.tsindex 08fde9f87..67a4041a5 100644--- a/packages/desktop/src/main/index.ts+++ b/packages/desktop/src/main/index.ts@@ -158,7 +158,6 @@ import type {import { type EntryPoint, isEntryPoint } from '../shared/entry-point.ts';import type {EditorActiveTargetSnapshot,- McpWiringEditorId,MenuDispatchCommand,MenuDispatchRole,OnboardingShowPayload,@@ -2515,14 +2514,6 @@ async function openProject(gitState: discovery.gitState,gitRootPromoted: discovery.gitRootPromoted,warnings: validation.warnings.map((w) => ({ kind: w.kind })),- editorOptions: ALL_EDITOR_IDS.map((id) => ({- id: id as McpWiringEditorId,- label: EDITOR_TARGETS[id].label,- hasProjectConfig: EDITOR_TARGETS[id].projectConfigPath !== undefined,- // Pi is the first project-scope-only editor; without the user-side- // signal the badge would misread as "(project + user)".- hasUserConfig: EDITOR_TARGETS[id].scope === 'global',- })),};const decision = await requestUserConsent({@@ -2549,10 +2540,12 @@ async function openProject(contentDirChanged = request.contentDir !== discovery.defaultContentDir;// Customized vs default — telemetry attribute distinguishes the two// so the team can answer "how often do users tweak the dialog?"+ // The AI-tool row offers only the tools detected on this machine, so its+ // id count carries no signal about whether the user touched it — an+ // untouched row on a two-tool machine submits two ids, and on a machine+ // with no tools submits none. The checkbox the user left is the answer.flowKind =- contentDirChanged ||- request.additionalIgnores.trim().length > 0 ||- request.editorIds.length !== ALL_EDITOR_IDS.length+ contentDirChanged || request.additionalIgnores.trim().length > 0 || !request.connectEditors? 'fresh-customized': 'fresh-default';if (diff --git a/packages/desktop/src/shared/ipc-channels.ts b/packages/desktop/src/shared/ipc-channels.tsindex 5754288ec..8e0157ff9 100644--- a/packages/desktop/src/shared/ipc-channels.ts+++ b/packages/desktop/src/shared/ipc-channels.ts@@ -404,20 +404,6 @@ export interface OnboardingShowPayload {readonly gitState: OnboardingGitState;readonly gitRootPromoted: boolean;readonly warnings: readonly { readonly kind: OnboardingWarningKind }[];- readonly editorOptions: readonly {- readonly id: McpWiringEditorId;- readonly label: string;- /** True when this editor scaffolds a per-project MCP config; false when- * only the user-level config is writable. Surfaced as a per-row badge- * in the consent dialog so the user can distinguish project-scoped vs- * user-only editors before clicking Start. */- readonly hasProjectConfig: boolean;- /** True when this editor also has a user-global config surface. Optional- * for back-compat with older payload producers; absent reads as `true`- * (every pre-Pi editor was user-writable). Pi is the first- * project-scope-only editor — `false` renders "(project-level only)". */- readonly hasUserConfig?: boolean;- }[];}/** User clicked Start with these values. */@@ -426,6 +412,11 @@ export interface OnboardingConfirmRequest {readonly contentDir: string;readonly additionalIgnores: string;readonly editorIds: readonly McpWiringEditorId[];+ /** The AI-tools checkbox as the user left it. `editorIds` alone cannot say:+ * an empty list means "declined" on a machine with tools and "nothing to+ * offer" on one without, and the two are different answers. Read only for+ * telemetry — the write set is `editorIds`. */+ readonly connectEditors: boolean;/*** Sharing-mode posture. `shared` — commit* OK config alongside content. `local-only` — append OK