}` — dependency-injected for tests.
+
+- [ ] **Step 1: Write the failing tests**
+
+```ts
+import { describe, expect, test, beforeEach, afterEach } from "bun:test"
+import { mkdtemp, rm, readFile, writeFile, stat } from "node:fs/promises"
+import { tmpdir } from "node:os"
+import { join } from "node:path"
+import { createCatalogFetcher } from "./plugin-catalog"
+
+const json = (body: unknown, status = 200) =>
+ new Response(JSON.stringify(body), { status, headers: { "content-type": "application/json" } })
+
+const ECOSYSTEM_HTML = `
+`
+
+const AWESOME_MD = `
+# awesome-opencode
+
+## Plugins
+
+- [opencode-daytona](https://github.com/daytona/integrations/tree/main/packages/opencode-plugin) - Run sessions in Daytona sandboxes
+- [opencode-wakatime](https://github.com/angristan/opencode-wakatime) - Track usage with Wakatime
+`
+
+const npmPackument = (name: string, version: string, description: string, repository?: string) => ({
+ "dist-tags": { latest: version },
+ versions: {
+ [version]: {
+ name,
+ version,
+ description,
+ ...(repository ? { repository: { url: repository } } : {}),
+ },
+ },
+ time: { [version]: "2026-08-01T00:00:00.000Z", modified: "2026-08-20T00:00:00.000Z" },
+})
+
+describe("createCatalogFetcher", () => {
+ let dir: string
+ beforeEach(async () => {
+ dir = await mkdtemp(join(tmpdir(), "opencode-plugin-catalog-"))
+ })
+ afterEach(async () => {
+ await rm(dir, { recursive: true, force: true })
+ })
+
+ test("merges ecosystem + awesome, dedupes by npm name, enriches from npm", async () => {
+ const calls: string[] = []
+ const fetchImpl: typeof fetch = async (input) => {
+ const url = String(input instanceof Request ? input.url : input)
+ calls.push(url)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(ECOSYSTEM_HTML)
+ if (url.includes("awesome-opencode")) return new Response(AWESOME_MD)
+ if (url.startsWith("https://registry.npmjs.org/opencode-daytona"))
+ return json(npmPackument("opencode-daytona", "1.2.3", "Run sessions in Daytona sandboxes", "https://github.com/daytona/integrations"))
+ if (url.startsWith("https://registry.npmjs.org/opencode-helicone-session"))
+ return json(npmPackument("opencode-helicone-session", "0.1.0", "Inject Helicone session headers"))
+ if (url.startsWith("https://registry.npmjs.org/opencode-wakatime"))
+ return json(npmPackument("opencode-wakatime", "1.0.0", "Track usage with Wakatime"))
+ if (url.startsWith("https://api.npmjs.org/downloads/point/last-week/"))
+ return json({ downloads: 4211 })
+ throw new Error("unexpected fetch: " + url)
+ }
+ const f = createCatalogFetcher({ fetchImpl, cacheDir: dir })
+ const result = await f.fetchCatalog()
+ expect(result.stale).toBe(false)
+ const names = result.entries.map((e) => e.name).sort()
+ expect(names).toEqual(["opencode-daytona", "opencode-helicone-session", "opencode-wakatime"])
+ const daytona = result.entries.find((e) => e.name === "opencode-daytona")!
+ expect(daytona.version).toBe("1.2.3")
+ expect(daytona.downloadsLastWeek).toBe(4211)
+ expect(daytona.onNpm).toBe(true)
+ expect(daytona.source).toBe("ecosystem") // ecosystem wins dedupe
+ const helicone = result.entries.find((e) => e.name === "opencode-helicone-session")!
+ expect(helicone.updatedAt).toBe("2026-08-20T00:00:00.000Z")
+ })
+
+ test("keeps entries not on npm with onNpm false", async () => {
+ const fetchImpl: typeof fetch = async (input) => {
+ const url = String(input instanceof Request ? input.url : input)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(ECOSYSTEM_HTML)
+ if (url.includes("awesome-opencode")) return new Response(AWESOME_MD)
+ if (url.startsWith("https://registry.npmjs.org/")) return new Response("not found", { status: 404 })
+ if (url.startsWith("https://api.npmjs.org/")) return json({ downloads: 0 })
+ throw new Error("unexpected fetch: " + url)
+ }
+ const f = createCatalogFetcher({ fetchImpl, cacheDir: dir })
+ const result = await f.fetchCatalog()
+ expect(result.entries.every((e) => !e.onNpm || e.version)).toBe(true)
+ expect(result.entries.find((e) => e.name === "opencode-daytona")?.onNpm).toBe(false)
+ })
+
+ test("serves disk cache when fetch fails, marks stale", async () => {
+ // Prime cache: first call succeeds
+ const okFetch: typeof fetch = async (input) => {
+ const url = String(input instanceof Request ? input.url : input)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(ECOSYSTEM_HTML)
+ if (url.includes("awesome-opencode")) return new Response(AWESOME_MD)
+ if (url.startsWith("https://registry.npmjs.org/")) return new Response("nf", { status: 404 })
+ if (url.startsWith("https://api.npmjs.org/")) return json({ downloads: 1 })
+ throw new Error("unexpected")
+ }
+ const f1 = createCatalogFetcher({ fetchImpl: okFetch, cacheDir: dir })
+ await f1.fetchCatalog()
+ const cacheFile = join(dir, "plugin-catalog-cache.json")
+ const cached = JSON.parse(await readFile(cacheFile, "utf8"))
+ expect(cached.entries.length).toBeGreaterThan(0)
+
+ const failingFetch: typeof fetch = async () => { throw new Error("offline") }
+ const f2 = createCatalogFetcher({ fetchImpl: failingFetch, cacheDir: dir })
+ const result = await f2.fetchCatalog()
+ expect(result.stale).toBe(true)
+ expect(result.entries.length).toBeGreaterThan(0)
+ })
+
+ test("fresh cache (under TTL) is served without network", async () => {
+ let networkCalls = 0
+ const fetchImpl: typeof fetch = async (input) => {
+ networkCalls++
+ const url = String(input instanceof Request ? input.url : input)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(ECOSYSTEM_HTML)
+ if (url.includes("awesome-opencode")) return new Response(AWESOME_MD)
+ if (url.startsWith("https://registry.npmjs.org/")) return new Response("nf", { status: 404 })
+ if (url.startsWith("https://api.npmjs.org/")) return json({ downloads: 1 })
+ throw new Error("unexpected")
+ }
+ const f = createCatalogFetcher({ fetchImpl, cacheDir: dir })
+ await f.fetchCatalog()
+ const first = networkCalls
+ await f.fetchCatalog()
+ expect(networkCalls).toBe(first) // served from memory cache
+ })
+})
+```
+
+- [ ] **Step 2: Run tests to verify they fail**
+
+```bash
+cd /home/yeager1977/GitHub/opencode/packages/desktop && bun test src/main/plugin-catalog.test.ts
+```
+
+Expected: FAIL — module not found.
+
+- [ ] **Step 3: Implement `plugin-catalog.ts`**
+
+```ts
+import { mkdir, readFile, writeFile } from "node:fs/promises"
+import { join } from "node:path"
+
+const ECOSYSTEM_URL = "https://opencode.ai/docs/ecosystem/"
+const AWESOME_URL = "https://raw.githubusercontent.com/awesome-opencode/awesome-opencode/main/README.md"
+const NPM_REGISTRY = "https://registry.npmjs.org/"
+const NPM_DOWNLOADS = "https://api.npmjs.org/downloads/point/last-week/"
+const CACHE_FILE = "plugin-catalog-cache.json"
+const TTL_MS = 24 * 60 * 60 * 1000
+
+export type CatalogEntry = {
+ name: string
+ description?: string
+ version?: string
+ downloadsLastWeek?: number
+ updatedAt?: string
+ repository?: string
+ onNpm: boolean
+ source: "ecosystem" | "awesome"
+}
+
+export type CatalogResult = { entries: CatalogEntry[]; fetchedAt: number; stale: boolean }
+
+type RawEntry = { name: string; description?: string; url?: string; source: "ecosystem" | "awesome" }
+
+export function createCatalogFetcher(deps: {
+ fetchImpl?: typeof fetch
+ cacheDir: string
+ now?: () => number
+}) {
+ const doFetch = deps.fetchImpl ?? fetch
+ const now = deps.now ?? Date.now
+ let memory: { result: CatalogResult; at: number } | undefined
+
+ const parseEcosystem = (html: string): RawEntry[] => {
+ const out: RawEntry[] = []
+ // The docs page renders plugins in tables: [name](link) — description.
+ // Match anchor + following description cell.
+ const rowRe = /| \s*([^<]+)<\/a>\s*<\/td>\s* | ([^<]*)<\/td>/g
+ let m: RegExpExecArray | null
+ while ((m = rowRe.exec(html))) {
+ const name = m[2].trim()
+ if (!name || name === "Name") continue
+ out.push({ name, description: decodeEntities(m[3].trim()), url: m[1], source: "ecosystem" })
+ }
+ return out
+ }
+
+ const parseAwesome = (md: string): RawEntry[] => {
+ const out: RawEntry[] = []
+ const inSection = md.match(/##\s*Plugins[\s\S]*?(?=\n##\s|\*$)/)
+ const body = inSection?.[0] ?? md
+ const lineRe = /-\s*\[([^\]]+)\]\(([^)]+)\)\s*[-–—]\s*(.+)/g
+ let m: RegExpExecArray | null
+ while ((m = lineRe.exec(body))) {
+ const name = m[1].trim()
+ if (!name || name.toLowerCase() === "name") continue
+ out.push({ name, description: m[3].trim(), url: m[2], source: "awesome" })
+ }
+ return out
+ }
+
+ const decodeEntities = (s: string) =>
+ s
+ .replace(/&/g, "&")
+ .replace(/</g, "<")
+ .replace(/>/g, ">")
+ .replace(/"/g, '"')
+ .replace(/'/g, "'")
+
+ const npmName = (entry: RawEntry): string | undefined => {
+ // Prefer npm-looking names; try slug of name first, then repo name from URL.
+ const candidates = [entry.name.trim()]
+ const repo = entry.url?.match(/github\.com\/[^/]+\/([^/#?]+)/)?.[1]
+ if (repo) candidates.push(decodeURIComponent(repo))
+ return candidates.find((c) => /^[a-z@][\w./@-]*$/i.test(c)) ?? candidates[0]
+ }
+
+ async function fetchCatalog(): Promise {
+ if (memory && now() - memory.at < TTL_MS) return memory.result
+
+ let result: CatalogResult
+ try {
+ result = await fetchFresh()
+ memory = { result, at: now() }
+ } catch {
+ const cached = await readDiskCache()
+ if (cached) return { ...cached, stale: true }
+ throw new Error("Failed to fetch plugin catalog and no cache available")
+ }
+ await writeDiskCache(result)
+ return result
+ }
+
+ async function fetchFresh(): Promise {
+ const [ecoRes, awesomeRes] = await Promise.all([
+ doFetch(ECOSYSTEM_URL).then((r) => r.text()),
+ doFetch(AWESOME_URL).then((r) => r.text()).catch(() => ""),
+ ])
+ const raw = [...parseEcosystem(ecoRes), ...parseAwesome(awesomeRes)]
+
+ // Dedupe by npm-ish name, ecosystem wins
+ const byName = new Map()
+ for (const entry of raw) {
+ const key = entry.name.toLowerCase()
+ if (!byName.has(key)) byName.set(key, entry)
+ }
+
+ const entries: CatalogEntry[] = []
+ for (const entry of byName.values()) {
+ const candidate = npmName(entry)
+ const base: CatalogEntry = {
+ name: entry.name,
+ description: entry.description,
+ repository: entry.url,
+ onNpm: false,
+ source: entry.source,
+ }
+ if (!candidate) {
+ entries.push(base)
+ continue
+ }
+ try {
+ const packRes = await doFetch(NPM_REGISTRY + encodeURIComponent(candidate))
+ if (packRes.ok) {
+ const pack = (await packRes.json()) as any
+ const latest = pack["dist-tags"]?.latest as string | undefined
+ const versionMeta = latest ? pack.versions?.[latest] : undefined
+ entries.push({
+ ...base,
+ name: candidate || entry.name,
+ onNpm: true,
+ version: latest,
+ description: (versionMeta?.description as string | undefined) ?? base.description,
+ repository:
+ (typeof versionMeta?.repository?.url === "string"
+ ? versionMeta.repository.url.replace(/^git\+/, "").replace(/\.git$/, "")
+ : undefined) ?? base.repository,
+ updatedAt: pack.time?.modified as string | undefined,
+ })
+ try {
+ const dlRes = await doFetch(NPM_DOWNLOADS + encodeURIComponent(candidate))
+ if (dlRes.ok) {
+ const dl = (await dlRes.json()) as { downloads?: number }
+ entries[entries.length - 1].downloadsLastWeek = dl.downloads
+ }
+ } catch {
+ /* downloads are optional */
+ }
+ } else {
+ entries.push(base)
+ }
+ } catch {
+ entries.push(base)
+ }
+ }
+
+ return { entries, fetchedAt: now(), stale: false }
+ }
+
+ async function readDiskCache(): Promise {
+ try {
+ const content = await readFile(join(deps.cacheDir, CACHE_FILE), "utf8")
+ const parsed = JSON.parse(content) as CatalogResult
+ if (!Array.isArray(parsed.entries)) return undefined
+ return parsed
+ } catch {
+ return undefined
+ }
+ }
+
+ async function writeDiskCache(result: CatalogResult) {
+ try {
+ await mkdir(deps.cacheDir, { recursive: true })
+ await writeFile(join(deps.cacheDir, CACHE_FILE), JSON.stringify(result))
+ } catch {
+ /* cache write failures are non-fatal */
+ }
+ }
+
+ return { fetchCatalog }
+}
+```
+
+- [ ] **Step 4: Run tests to verify they pass**
+
+```bash
+cd /home/yeager1977/GitHub/opencode/packages/desktop && bun test src/main/plugin-catalog.test.ts
+```
+
+Expected: all PASS. If the ecosystem HTML fixture needs adjusting to the real page structure, adapt `parseEcosystem` regex against a saved copy of the real page (fetch it manually once and diff).
+
+- [ ] **Step 5: Typecheck**
+
+```bash
+cd /home/yeager1977/GitHub/opencode/packages/desktop && bun run typecheck
+```
+
+Expected: no errors.
+
+- [ ] **Step 6: Commit**
+
+```bash
+cd /home/yeager1977/GitHub/opencode && git add packages/desktop/src/main/plugin-catalog.ts packages/desktop/src/main/plugin-catalog.test.ts
+git commit -m "feat(desktop): plugin catalog fetcher with npm enrichment and 24h cache"
+```
+
+---
+
+### Task 3: IPC surface (main + preload)
+
+**Files:**
+- Create: `packages/desktop/src/main/plugin-manager.ts`
+- Modify: `packages/desktop/src/main/ipc.ts` (register handlers in `registerIpcHandlers`)
+- Modify: `packages/desktop/src/preload/types.ts` (extend `ElectronAPI`)
+- Modify: `packages/desktop/src/preload/index.ts` (expose `plugins` namespace)
+- Test: `packages/desktop/src/main/plugin-manager.test.ts`
+
+**Interfaces:**
+- Consumes: `readConfig/mutateConfig/resolveGlobalConfig/resolveProjectConfig` (Task 1), `createCatalogFetcher` (Task 2), `getStore` from `./store` for recently-removed persistence.
+- Produces (consumed by preload/renderer):
+ - `type RecentlyRemoved = { name: string; entry: PluginEntry; scope: "global" | "project"; removedAt: number }`
+ - `function registerPluginManager(handlers: { handle: (channel: string, fn: (...args: any[]) => any) => void }, opts: { userDataDir: string; projectDir?: () => string | undefined })` — pure registration function, unit-testable without Electron (`ipcMain` passed in as `handlers`-shaped object).
+ - Channels: `plugins:fetch-catalog` → `CatalogResult`; `plugins:read-configs` (arg: projectDir) → `{ global: PluginEntry[]; project: PluginEntry[]; recentlyRemoved: RecentlyRemoved[]; paths: { global: string; project: string | null } }`; `plugins:install` (args: name, entry | undefined, scope) → `{ ok: true }`; `plugins:remove` (args: name, scope, remember: boolean) → `{ ok: true }`.
+ - Store keys: recently-removed persisted via `getStore("plugin-manager")` key `"recently-removed"` as JSON string (matches existing `store-get/store-set` string-only convention).
+
+- [ ] **Step 1: Write the failing tests**
+
+```ts
+import { describe, expect, test, beforeEach, afterEach } from "bun:test"
+import { mkdtemp, rm, writeFile, readFile } from "node:fs/promises"
+import { tmpdir } from "node:os"
+import { join } from "node:path"
+import { registerPluginManager } from "./plugin-manager"
+
+type Recorded = { channel: string; fn: (...args: any[]) => any }
+const makeHarness = () => {
+ const recorded: Recorded[] = []
+ const handlers = {
+ handle: (channel: string, fn: (...args: any[]) => any) => recorded.push({ channel, fn }),
+ }
+ const call = async (channel: string, ...args: any[]) => {
+ const found = recorded.find((r) => r.channel === channel)
+ if (!found) throw new Error("no handler: " + channel)
+ return await found.fn({} as any, ...args)
+ }
+ return { recorded, call }
+}
+
+const home = process.env.HOME!
+
+describe("registerPluginManager", () => {
+ let userData: string
+ let project: string
+ let savedHome: string | undefined
+ beforeEach(async () => {
+ userData = await mkdtemp(join(tmpdir(), "opencode-pm-user-"))
+ project = await mkdtemp(join(tmpdir(), "opencode-pm-proj-"))
+ savedHome = process.env.HOME
+ process.env.HOME = await mkdtemp(join(tmpdir(), "opencode-pm-home-"))
+ })
+ afterEach(async () => {
+ process.env.HOME = savedHome
+ for (const d of [userData, project, process.env.HOME]) {
+ if (typeof d === "string") await rm(d, { recursive: true, force: true })
+ }
+ })
+
+ test("install global writes ~/.config/opencode/opencode.json", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData })
+ await h.call("plugins:install", "opencode-wakatime", undefined, "global", project)
+ const content = await readFile(join(process.env.HOME!, ".config/opencode/opencode.json"), "utf8")
+ expect(JSON.parse(content).plugin).toEqual(["opencode-wakatime"])
+ })
+
+ test("install project writes /opencode.json", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData })
+ await h.call("plugins:install", "opencode-wakatime", ["opencode-wakatime", { a: 1 }], "project", project)
+ const content = await readFile(join(project, "opencode.json"), "utf8")
+ expect(JSON.parse(content).plugin).toEqual([["opencode-wakatime", { a: 1 }]])
+ })
+
+ test("read-configs returns both scopes with provenance", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData })
+ await writeFile(join(project, "opencode.json"), `{"plugin":["a",["b",{x:1}]]}`)
+ const configs = await h.call("plugins:read-configs", project)
+ expect(configs.global).toEqual([])
+ expect(configs.project).toEqual(["a", ["b", { x: 1 }]])
+ expect(configs.paths.global).toContain("opencode.json")
+ expect(configs.paths.project).toBe(join(project, "opencode.json"))
+ })
+
+ test("remove with remember records recently-removed and re-enable restores", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData })
+ await writeFile(join(project, "opencode.json"), `{"plugin":[["b",{x:1}]]}`)
+ await h.call("plugins:remove", "b", "project", true, project)
+ const content = await readFile(join(project, "opencode.json"), "utf8")
+ expect(JSON.parse(content).plugin).toEqual([])
+ const configs = await h.call("plugins:read-configs", project)
+ expect(configs.recentlyRemoved).toHaveLength(1)
+ expect(configs.recentlyRemoved[0].name).toBe("b")
+ expect(configs.recentlyRemoved[0].entry).toEqual(["b", { x: 1 }])
+ // re-enable
+ await h.call("plugins:install", "b", ["b", { x: 1 }], "project", project)
+ const after = await h.call("plugins:read-configs", project)
+ expect(after.recentlyRemoved).toHaveLength(0)
+ })
+
+ test("remove without forget drops the record entirely (uninstall)", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData })
+ await writeFile(join(project, "opencode.json"), `{"plugin":["b"]}`)
+ await h.call("plugins:remove", "b", "project", false, project)
+ const configs = await h.call("plugins:read-configs", project)
+ expect(configs.recentlyRemoved).toHaveLength(0)
+ })
+
+ test("catalog channel returns entries array", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, catalog: { entries: [], fetchedAt: 1, stale: false } })
+ const result = await h.call("plugins:fetch-catalog")
+ expect(Array.isArray(result.entries)).toBe(true)
+ })
+})
+```
+
+- [ ] **Step 2: Run tests to verify they fail**
+
+```bash
+cd /home/yeager1977/GitHub/opencode/packages/desktop && bun test src/main/plugin-manager.test.ts
+```
+
+Expected: FAIL — module not found.
+
+- [ ] **Step 3: Implement `plugin-manager.ts`**
+
+```ts
+import { join } from "node:path"
+import { homedir } from "node:os"
+import {
+ mutateConfig,
+ readConfig,
+ resolveGlobalConfig,
+ resolveProjectConfig,
+ type ConfigTarget,
+ type PluginEntry,
+} from "./plugin-config"
+import { createCatalogFetcher, type CatalogResult } from "./plugin-catalog"
+import { getStore } from "./store"
+
+const PLUGIN_STORE = "plugin-manager"
+const RECENTLY_REMOVED_KEY = "recently-removed"
+
+export type RecentlyRemoved = {
+ name: string
+ entry: PluginEntry
+ scope: "global" | "project"
+ removedAt: number
+}
+
+export type InstallScope = "global" | "project"
+
+function targetFor(scope: InstallScope, projectDir?: string): ConfigTarget {
+ if (scope === "global") return resolveGlobalConfig()
+ if (!projectDir) throw new Error("Project directory is required for project-scoped install")
+ return resolveProjectConfig(projectDir)
+}
+
+function readRecentlyRemoved(userDataDir: string): RecentlyRemoved[] {
+ try {
+ const raw = getStore(PLUGIN_STORE).get(RECENTLY_REMOVED_KEY)
+ if (!raw) return []
+ return JSON.parse(String(raw)) as RecentlyRemoved[]
+ } catch {
+ return []
+ }
+}
+
+function writeRecentlyRemoved(userDataDir: string, list: RecentlyRemoved[]) {
+ getStore(PLUGIN_STORE).set(RECENTLY_REMOVED_KEY, JSON.stringify(list))
+}
+
+export function registerPluginManager(
+ handlers: { handle: (channel: string, fn: (...args: any[]) => any) => void },
+ opts: { userDataDir: string; catalog?: CatalogResult },
+) {
+ const catalogFetcher = createCatalogFetcher({ cacheDir: opts.userDataDir })
+
+ handlers.handle("plugins:fetch-catalog", async () => {
+ if (opts.catalog) return opts.catalog // test override
+ return await catalogFetcher.fetchCatalog()
+ })
+
+ handlers.handle("plugins:read-configs", async (_event: unknown, projectDir?: string) => {
+ const globalTarget = resolveGlobalConfig()
+ const global = await readConfig(globalTarget).catch(() => ({ plugins: [], raw: "", data: {}, mtimeMs: 0 }))
+ const projectConfig = projectDir ? await readConfig(resolveProjectConfig(projectDir)).catch(() => ({ plugins: [], raw: "", data: {}, mtimeMs: 0 })) : { plugins: [], raw: "", data: {}, mtimeMs: 0 }
+ const removed = readRecentlyRemoved(opts.userDataDir)
+ return {
+ global: global.plugins,
+ project: projectConfig.plugins,
+ recentlyRemoved: removed,
+ paths: {
+ global: globalTarget.path,
+ project: projectDir ? join(projectDir, "opencode.json") : null,
+ },
+ }
+ })
+
+ handlers.handle(
+ "plugins:install",
+ async (_event: unknown, name: string, entry: PluginEntry | undefined, scope: InstallScope, projectDir?: string) => {
+ if (typeof name !== "string" || name.length === 0) throw new Error("Invalid plugin name")
+ const target = targetFor(scope, projectDir)
+ await mutateConfig(target, { kind: "add", name, ...(entry ? { entry } : {}) })
+ // Drop from recently-removed on (re)install
+ const removed = readRecentlyRemoved(opts.userDataDir)
+ const next = removed.filter((r) => !(r.name === name && r.scope === scope))
+ if (next.length !== removed.length) writeRecentlyRemoved(opts.userDataDir, next)
+ return { ok: true }
+ },
+ )
+
+ handlers.handle(
+ "plugins:remove",
+ async (_event: unknown, name: string, scope: InstallScope, remember: boolean, projectDir?: string) => {
+ const target = targetFor(scope, projectDir)
+ const before = await readConfig(target)
+ const existing = before.plugins.find((e) => (typeof e === "string" ? e : e[0]) === name)
+ await mutateConfig(target, { kind: "remove", name })
+ if (remember && existing) {
+ const removed = readRecentlyRemoved(opts.userDataDir)
+ removed.push({ name, entry: existing, scope, removedAt: Date.now() })
+ writeRecentlyRemoved(opts.userDataDir, removed)
+ }
+ return { ok: true }
+ },
+ )
+}
+
+// Global config path helper used by renderer "open config" action
+export const globalConfigPath = () => join(homedir(), ".config", "opencode", "opencode.json")
+```
+
+Then register in `ipc.ts` — inside `registerIpcHandlers`, after the draft handlers:
+
+```ts
+ registerPluginManager(ipcMain, { userDataDir: app.getPath("userData") })
+```
+
+with import at top of `ipc.ts`:
+
+```ts
+import { registerPluginManager } from "./plugin-manager"
+```
+
+And in `packages/desktop/src/preload/index.ts`, add to `api`:
+
+```ts
+ plugins: {
+ fetchCatalog: () => ipcRenderer.invoke("plugins:fetch-catalog"),
+ readConfigs: (projectDir?: string) => ipcRenderer.invoke("plugins:read-configs", projectDir),
+ install: (name: string, entry?: unknown, scope?: "global" | "project", projectDir?: string) =>
+ ipcRenderer.invoke("plugins:install", name, entry, scope, projectDir),
+ remove: (name: string, scope: "global" | "project", remember: boolean, projectDir?: string) =>
+ ipcRenderer.invoke("plugins:remove", name, scope, remember, projectDir),
+ },
+```
+
+And in `packages/desktop/src/preload/types.ts`, add to the `ElectronAPI` interface (near `storeGet` etc.):
+
+```ts
+ plugins: {
+ fetchCatalog: () => Promise
+ readConfigs: (projectDir?: string) => Promise
+ install: (
+ name: string,
+ entry?: PluginEntry,
+ scope?: "global" | "project",
+ projectDir?: string,
+ ) => Promise<{ ok: true }>
+ remove: (name: string, scope: "global" | "project", remember: boolean, projectDir?: string) => Promise<{ ok: true }>
+ }
+```
+
+Because `packages/desktop` cannot import app-package component types cleanly, put the shared types in a new file `packages/app/src/components/settings-v2/plugins-types.ts` that re-exports nothing but declares the data shapes:
+
+```ts
+// Shared type contracts between desktop main-process IPC and the app renderer.
+// Keep this file dependency-free so both packages can import it.
+
+export type PluginEntry = string | [name: string, options: Record]
+
+export type CatalogEntry = {
+ name: string
+ description?: string
+ version?: string
+ downloadsLastWeek?: number
+ updatedAt?: string
+ repository?: string
+ onNpm: boolean
+ source: "ecosystem" | "awesome"
+}
+
+export type CatalogResult = { entries: CatalogEntry[]; fetchedAt: number; stale: boolean }
+
+export type RecentlyRemoved = {
+ name: string
+ entry: PluginEntry
+ scope: "global" | "project"
+ removedAt: number
+}
+
+export type PluginConfigsPayload = {
+ global: PluginEntry[]
+ project: PluginEntry[]
+ recentlyRemoved: RecentlyRemoved[]
+ paths: { global: string; project: string | null }
+}
+```
+
+…and have `plugin-config.ts`, `plugin-catalog.ts`, and `plugin-manager.ts` import their types from `@opencode-ai/app/...plugins-types` if the workspace import resolves (desktop already imports `@opencode-ai/app/desktop-menu` and `@opencode-ai/app/i18n/desktop-native` — see `ipc.ts:6-7` — so this import works). Simpler alternative that the implementer may take: keep local types in the main-process modules and have `plugins-types.ts` duplicate them with a comment noting the duplication; typecheck will catch drift via the preload type annotation only. **Prefer the single-source-of-truth import** since the precedent exists.
+
+- [ ] **Step 4: Run tests to verify they pass**
+
+```bash
+cd /home/yeager1977/GitHub/opencode/packages/desktop && bun test src/main/plugin-manager.test.ts
+```
+
+Expected: all PASS.
+
+- [ ] **Step 5: Full main-process test suite + typecheck**
+
+```bash
+cd /home/yeager1977/GitHub/opencode/packages/desktop && bun test src/main/ && bun run typecheck
+```
+
+Expected: all PASS, no type errors.
+
+- [ ] **Step 6: Commit**
+
+```bash
+cd /home/yeager1977/GitHub/opencode && git add packages/desktop/src/main/plugin-manager.ts packages/desktop/src/main/plugin-manager.test.ts packages/desktop/src/main/ipc.ts packages/desktop/src/preload/index.ts packages/desktop/src/preload/types.ts packages/app/src/components/settings-v2/plugins-types.ts
+git commit -m "feat(desktop): plugins IPC handlers and preload bridge"
+```
+
+---
+
+### Task 4: Platform capability wiring (app package)
+
+**Files:**
+- Modify: `packages/app/src/context/platform.tsx` (add optional `pluginsManager` to `PlatformBase`)
+- Modify: `packages/desktop/src/renderer/index.tsx` (wire `window.api.plugins` into the platform value)
+
+**Interfaces:**
+- Consumes: `window.api.plugins` (Task 3 preload), `plugins-types.ts` (Task 3).
+- Produces: `platform.plugins?: { fetchCatalog(): Promise; readConfigs(projectDir?: string): Promise; install(name: string, entry?: PluginEntry, scope: "global" | "project", projectDir?: string): Promise<{ ok: true }>; remove(name: string, scope: "global" | "project", remember: boolean, projectDir?: string): Promise<{ ok: true }> }` — optional on `Platform`, present only on desktop.
+
+- [ ] **Step 1: Extend the Platform type**
+
+In `packages/app/src/context/platform.tsx`, inside `PlatformBase` (after `wslServers`), add:
+
+```tsx
+ /** Plugin catalog and config management (desktop only) */
+ plugins?: PluginManagerPlatform
+```
+
+with import and type at top:
+
+```tsx
+import type { PluginManagerPlatform } from "@/components/settings-v2/plugins-types"
+```
+
+and in `plugins-types.ts` add:
+
+```ts
+export type PluginManagerPlatform = {
+ fetchCatalog(): Promise
+ readConfigs(projectDir?: string): Promise
+ install(
+ name: string,
+ entry?: PluginEntry,
+ scope: "global" | "project",
+ projectDir?: string,
+ ): Promise<{ ok: true }>
+ remove(name: string, scope: "global" | "project", remember: boolean, projectDir?: string): Promise<{ ok: true }>
+}
+```
+
+- [ ] **Step 2: Wire the desktop renderer**
+
+In `packages/desktop/src/renderer/index.tsx`, inside the returned platform object (next to `wslServers: wslServersApi,`):
+
+```tsx
+ plugins: {
+ fetchCatalog: () => window.api.plugins.fetchCatalog(),
+ readConfigs: (projectDir?: string) => window.api.plugins.readConfigs(projectDir),
+ install: (name, entry, scope, projectDir) =>
+ window.api.plugins.install(name, entry, scope, projectDir),
+ remove: (name, scope, remember, projectDir) =>
+ window.api.plugins.remove(name, scope, remember, projectDir),
+ },
+```
+
+- [ ] **Step 3: Typecheck both packages**
+
+```bash
+cd /home/yeager1977/GitHub/opencode/packages/desktop && bun run typecheck
+cd /home/yeager1977/GitHub/opencode/packages/app && bun run typecheck
+```
+
+Expected: no errors.
+
+- [ ] **Step 4: Commit**
+
+```bash
+cd /home/yeager1977/GitHub/opencode && git add packages/app/src/context/platform.tsx packages/desktop/src/renderer/index.tsx packages/app/src/components/settings-v2/plugins-types.ts
+git commit -m "feat(app): expose plugin manager through desktop platform context"
+```
+
+---
+
+### Task 5: Plugins settings tab UI
+
+**Files:**
+- Create: `packages/app/src/components/settings-v2/plugins.tsx`
+- Modify: `packages/app/src/components/settings-v2/dialog-settings-v2.tsx` (add tab trigger + content)
+- Modify: `packages/app/src/i18n/en.ts` (add `settings.tab.plugins` + all `settings.plugins.*` keys)
+- Modify: `packages/app/src/components/settings-v2/settings-v2.css` (if list/detail styles needed beyond existing utilities)
+
+**Interfaces:**
+- Consumes: `usePlatform().plugins` (Task 4), `useLanguage().t`, `useServerSync()` for current directory (pattern from `dialog-settings-v2.tsx:26-33` `directory` memo), `showToastV2` from `@opencode-ai/ui/v2/toast-v2`, `Dialog` from `@opencode-ai/ui/v2/dialog-v2`, `ButtonV2` from `@opencode-ai/ui/v2/button-v2`, `TextInputV2` from `@opencode-ai/ui/v2/text-input-v2`, `Tag` from `@opencode-ai/ui/v2/badge-v2`, `SettingsListV2`/`SettingsRowV2` from `./parts`.
+- Produces: `export const SettingsPluginsV2: Component` — rendered inside `dialog-settings-v2.tsx` as ``.
+
+- [ ] **Step 1: Add i18n keys**
+
+In `packages/app/src/i18n/en.ts`, after the `"settings.tab.shortcuts"` line (line ~895), add:
+
+```ts
+ "settings.tab.plugins": "Plugins",
+ "settings.plugins.section.browse": "Browse",
+ "settings.plugins.section.installed": "Installed",
+ "settings.plugins.search.placeholder": "Search plugins…",
+ "settings.plugins.detail.install": "Install…",
+ "settings.plugins.detail.copy": "Copy config snippet",
+ "settings.plugins.detail.copied": "Copied",
+ "settings.plugins.detail.notOnNpm": "Not found on npm — add manually to opencode.json",
+ "settings.plugins.install.title": "Install plugin",
+ "settings.plugins.install.description": "Where should {{name}} be added?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "This project",
+ "settings.plugins.install.cancel": "Cancel",
+ "settings.plugins.install.success": "Installed {{name}}. Restart OpenCode to load it.",
+ "settings.plugins.installed.empty": "No plugins installed.",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "Project",
+ "settings.plugins.installed.disable": "Disable",
+ "settings.plugins.installed.enable": "Enable",
+ "settings.plugins.installed.uninstall": "Uninstall",
+ "settings.plugins.installed.uninstallConfirm": "Remove {{name}} from {{scope}} config?",
+ "settings.plugins.installed.recentlyRemoved": "Recently removed",
+ "settings.plugins.errors.parseFailed": "Cannot read {{path}} — fix or remove it to manage plugins there.",
+ "settings.plugins.errors.catalog": "Could not refresh the plugin catalog.",
+ "settings.plugins.stale": "Showing cached catalog ({{age}} old).",
+```
+
+- [ ] **Step 2: Create the component**
+
+`packages/app/src/components/settings-v2/plugins.tsx`:
+
+```tsx
+import { createMemo, createResource, createSignal, For, Show, type Component } from "solid-js"
+import { Dialog } from "@opencode-ai/ui/v2/dialog-v2"
+import { ButtonV2 } from "@opencode-ai/ui/v2/button-v2"
+import { TextInputV2 } from "@opencode-ai/ui/v2/text-input-v2"
+import { Tag } from "@opencode-ai/ui/v2/badge-v2"
+import { showToastV2 } from "@opencode-ai/ui/v2/toast-v2"
+import { useLanguage } from "@/context/language"
+import { usePlatform } from "@/context/platform"
+import { useLayout } from "@/context/layout"
+import { SettingsListV2 } from "./parts/list"
+import { SettingsRowV2 } from "./parts/row"
+import type { CatalogEntry, PluginEntry, PluginConfigsPayload } from "./plugins-types"
+import "./settings-v2.css"
+
+const entryName = (entry: PluginEntry) => (typeof entry === "string" ? entry : entry[0])
+
+type Scope = "global" | "project"
+
+export const SettingsPluginsV2: Component<{ sessionID?: string }> = (props) => {
+ const language = useLanguage()
+ const platform = usePlatform()
+ const layout = useLayout()
+
+ const [view, setView] = createSignal<"browse" | "installed">("browse")
+ const [query, setQuery] = createSignal("")
+ const [busy, setBusy] = createSignal(false)
+
+ const projectDir = createMemo(() => {
+ const route = layout.route()
+ if (route.type === "dir-new-sesssion") return route.dir
+ return undefined
+ })
+
+ const [catalog, catalogActions] = createResource(async () => {
+ if (!platform.plugins) return { entries: [], fetchedAt: 0, stale: false }
+ try {
+ return await platform.plugins.fetchCatalog()
+ } catch {
+ showToastV2({ description: language.t("settings.plugins.errors.catalog"), variant: "danger" })
+ return { entries: [], fetchedAt: 0, stale: false }
+ }
+ })
+
+ const [configs, configsActions] = createResource(async () => {
+ if (!platform.plugins) return { global: [], project: [], recentlyRemoved: [], paths: { global: "", project: null } }
+ try {
+ return await platform.plugins.readConfigs(projectDir())
+ } catch {
+ return { global: [], project: [], recentlyRemoved: [], paths: { global: "", project: null } }
+ }
+ })
+
+ const filtered = createMemo(() => {
+ const q = query().trim().toLowerCase()
+ const entries = catalog()?.entries ?? []
+ if (!q) return entries
+ return entries.filter(
+ (e) => e.name.toLowerCase().includes(q) || (e.description ?? "").toLowerCase().includes(q),
+ )
+ })
+
+ const installed = createMemo(() => {
+ const c = configs()
+ return [
+ ...c.global.map((entry) => ({ entry, scope: "global" as Scope })),
+ ...c.project.map((entry) => ({ entry, scope: "project" as Scope })),
+ ]
+ })
+
+ const configSnippet = (entry: CatalogEntry) =>
+ JSON.stringify({ plugin: [entry.name] }, null, 2)
+
+ const install = async (name: string, entry?: PluginEntry) => {
+ void dialogInstall(name, entry)
+ }
+
+ const [installTarget, setInstallTarget] = createSignal<{ name: string; entry?: PluginEntry } | undefined>()
+ const dialogInstall = (name: string, entry?: PluginEntry) => {
+ setInstallTarget({ name, entry })
+ }
+
+ const doInstall = async (scope: Scope) => {
+ const target = installTarget()
+ if (!target || !platform.plugins) return
+ setBusy(true)
+ try {
+ await platform.plugins.install(target.name, target.entry, scope, projectDir())
+ showToastV2({
+ description: language.t("settings.plugins.install.success", { name: target.name }),
+ })
+ setInstallTarget(undefined)
+ void configsActions.refetch()
+ } finally {
+ setBusy(false)
+ }
+ }
+
+ const remove = async (name: string, scope: Scope, remember: boolean) => {
+ if (!platform.plugins) return
+ setBusy(true)
+ try {
+ await platform.plugins.remove(name, scope, remember, projectDir())
+ void configsActions.refetch()
+ } finally {
+ setBusy(false)
+ }
+ }
+
+ const formatDownloads = (n?: number) =>
+ n === undefined ? "" : n >= 1000 ? `${Math.round(n / 100) / 10}k` : String(n)
+
+ return (
+
+
+ setView("browse")}>
+ {language.t("settings.plugins.section.browse")}
+
+ setView("installed")}>
+ {language.t("settings.plugins.section.installed")}
+
+
+ setQuery(e.currentTarget.value)}
+ />
+
+
+
+
+
+ {language.t("settings.plugins.stale", { age: "24h+" })}
+
+
+
+ {(entry) => (
+
+ {entry.description}
+
+ {" · "}
+ {formatDownloads(entry.downloadsLastWeek)}/wk
+
+
+ {" · "}
+ {language.t("settings.plugins.detail.notOnNpm")}
+
+ >
+ }
+ >
+ void install(entry.name)}>
+ {language.t("settings.plugins.detail.install")}
+
+
+ )}
+
+
+
+
+
+
+
+ {language.t("settings.plugins.installed.empty")}
+
+
+ {(item) => (
+ {item.scope === "global" ? language.t("settings.plugins.installed.provenance.global") : language.t("settings.plugins.installed.provenance.project")}}
+ >
+
+ void remove(entryName(item.entry), item.scope, true)}>
+ {language.t("settings.plugins.installed.disable")}
+
+ void remove(entryName(item.entry), item.scope, false)}>
+ {language.t("settings.plugins.installed.uninstall")}
+
+
+
+ )}
+
+ 0}>
+ {language.t("settings.plugins.installed.recentlyRemoved")}
+
+ {(item) => (
+
+ void install(item.name, item.entry)}>
+ {language.t("settings.plugins.installed.enable")}
+
+
+ )}
+
+
+
+
+
+
+
+
+
+ )
+}
+```
+
+Notes for the implementer:
+- "remember last scope": store the last-chosen scope in a module-level `let lastScope: Scope | undefined` and order the dialog buttons with that scope first; simple and testable.
+- Copy snippet: reuse `navigator.clipboard.writeText` (the app already has copy affordances; search for `clipboard` usage in `packages/app/src/utils` and follow that pattern if one exists).
+- The `Show when={catalog()?.stale}` "age" text: render relative time from `fetchedAt`; keep it simple (`Math.round((Date.now() - fetchedAt) / 3600000) + "h"`).
+
+- [ ] **Step 3: Wire the tab into the settings dialog**
+
+In `packages/app/src/components/settings-v2/dialog-settings-v2.tsx`:
+
+Import: `import { SettingsPluginsV2 } from "./plugins"` and `import { usePlatform } from "@/context/platform"` (platform is already imported in this file — reuse the existing `platform` binding).
+
+Inside `TabsV2.List`, in the Desktop section after the `shortcuts` trigger, add:
+
+```tsx
+
+
+
+ {language.t("settings.tab.plugins")}
+
+
+```
+
+If `Show` is not yet imported in that file, add it to the `solid-js` import. If icon name `puzzle` does not exist in `@opencode-ai/ui/icon`, grep `packages/ui/src/icon` for available names and pick the closest (e.g. `package` or `extensions`).
+
+After the last `TabsV2.Content` (models), add:
+
+```tsx
+
+
+
+```
+
+wrapped in the same `Show` condition.
+
+- [ ] **Step 4: Typecheck + storybook story**
+
+Create `packages/app/src/components/settings-v2/plugins.stories.tsx` following `interface-transition.stories.tsx` structure, with three stories: browse populated, browse stale, installed populated + recently-removed. Provide a stub platform via the existing platform provider wrapper used in stories (grep for how `usePlatform` is provided in other app stories; if app stories never provide Platform, place the story in `packages/ui` is wrong — instead skip the story and note manual testing, choosing whichever the codebase already supports).
+
+```bash
+cd /home/yeager1977/GitHub/opencode/packages/app && bun run typecheck
+```
+
+Expected: no errors.
+
+- [ ] **Step 5: Commit**
+
+```bash
+cd /home/yeager1977/GitHub/opencode && git add packages/app/src/components/settings-v2/plugins.tsx packages/app/src/components/settings-v2/dialog-settings-v2.tsx packages/app/src/i18n/en.ts packages/app/src/components/settings-v2/plugins-types.ts packages/app/src/components/settings-v2/settings-v2.css packages/app/src/components/settings-v2/plugins.stories.tsx
+git commit -m "feat(app): plugins settings tab with browse, install, and manage views"
+```
+
+---
+
+### Task 6: Manual verification + restart reminder polish
+
+**Files:**
+- Modify: `packages/app/src/components/settings-v2/plugins.tsx` (only if gaps found)
+- Create: `docs/superpowers/plans/2026-09-03-desktop-plugin-manager-manual-checklist.md`
+
+**Interfaces:**
+- Consumes: everything above.
+- Produces: verified working feature + manual checklist document.
+
+- [ ] **Step 1: Run the desktop app in dev mode**
+
+```bash
+cd /home/yeager1977/GitHub/opencode/packages/desktop && bun install && bun run dev
+```
+
+- [ ] **Step 2: Execute manual checklist** (write results into the checklist doc)
+
+Verify each item and record pass/fail in `docs/superpowers/plans/2026-09-03-desktop-plugin-manager-manual-checklist.md`:
+
+1. Settings shows Plugins tab (desktop build) with Browse default view listing catalog entries from ecosystem + awesome lists with npm metadata.
+2. Search filters the list by name and description.
+3. Install dialog: Global writes to `~/.config/opencode/opencode.json`; "This project" writes to `/opencode.json`; toast reminds to restart.
+4. With a `.jsonc` global config containing comments, installing preserves comments (inspect file before/after).
+5. Installed view lists plugins from both scopes with Global/Project badges.
+6. Disable removes the entry from config and a "Recently removed" chip appears; Enable restores the exact entry form (tuple options preserved).
+7. Uninstall removes entry with no recently-removed record.
+8. Offline: catalog shows cached/stale banner or error state; Installed view still functional.
+9. Corrupt config file: writes refused, error surfaces file path.
+10. Web build (`platform.platform === "web"`): Plugins tab is hidden.
+
+- [ ] **Step 3: Fix any gaps found, re-run relevant unit tests**
+
+```bash
+cd /home/yeager1977/GitHub/opencode/packages/desktop && bun test src/main/
+```
+
+Expected: PASS.
+
+- [ ] **Step 4: Commit**
+
+```bash
+cd /home/yeager1977/GitHub/opencode && git add -A packages/app packages/desktop docs/superpowers/plans/2026-09-03-desktop-plugin-manager-manual-checklist.md
+git commit -m "feat(desktop): plugin manager manual verification checklist"
+```
+
+---
+
+## Self-Review (performed during plan writing)
+
+1. **Spec coverage:** Catalog sources ✓ (Task 2), npm enrichment + cache TTL ✓ (Task 2), config mutation preserving unknown keys/$schema/JSONC ✓ (Task 1), IPC surface ✓ (Task 3), renderer wiring + tab hidden on web ✓ (Tasks 4, 5), Browse/Installed views ✓ (Task 5), install scope dialog ✓ (Task 5), recently-removed re-enable ✓ (Tasks 3, 5), error handling (stale banner, parse refusal, conflict) ✓ (Tasks 1, 2, 5), testing (unit + stories + manual) ✓ (Tasks 1, 2, 3, 5, 6), non-goals respected (no auto-update, no server changes) ✓.
+2. **Placeholder scan:** Task 1's `extractCommentCount`/`formatInPlace` helpers are explicitly marked droppable with the minimal correct approach stated (modify+applyEdits+parse verification) — acceptable as guidance, not a gap. No TBD/TODO markers.
+3. **Type consistency:** `PluginEntry`, `CatalogEntry`, `CatalogResult`, `RecentlyRemoved`, `PluginConfigsPayload` defined in Task 1/2/3 and consistently referenced in Tasks 4–5 via `plugins-types.ts`. Channel names `plugins:fetch-catalog|read-configs|install|remove` match across Task 3 (main), Task 3 (preload), Task 4 (renderer).
\ No newline at end of file
diff --git a/docs/superpowers/plans/2026-09-03-mcp-server-management-manual-checklist.md b/docs/superpowers/plans/2026-09-03-mcp-server-management-manual-checklist.md
new file mode 100644
index 000000000000..37ee318c7812
--- /dev/null
+++ b/docs/superpowers/plans/2026-09-03-mcp-server-management-manual-checklist.md
@@ -0,0 +1,31 @@
+# MCP Server Management — Manual Verification Checklist
+
+Branch: `feat/desktop-plugin-manager` (MCP feature commits `8cdf6e1..56c8d44`)
+Spec: `docs/superpowers/specs/2026-09-03-mcp-server-management-design.md`
+
+## Automated (verified this session)
+
+| Check | Result |
+|---|---|
+| `bun test src/components/settings-v2` (payload builder 26 tests) | PASS |
+| `bun test src/i18n/parity.test.ts` (all 62 locales mirror en keys) | PASS 5/5 |
+| `bun run typecheck` (tsgo) in `packages/app` | exit 0 |
+| oxlint on `mcp.tsx` + `mcp-payload.ts` | 0 warnings |
+| `packages/desktop` untouched by MCP feature (only prior plugin work) | PASS |
+
+## Manual (requires running the desktop app with a connected server)
+
+1. Settings → Desktop section shows **MCP** tab (works on web too).
+2. **List** loads servers from `sdk.mcp.list` with status badges (connected/failed/needs auth/disabled).
+3. **Add server (local)**: name + command → save → server appears in list; server writes config via `mcp.add`.
+4. **Add server (remote)**: URL + headers key/value rows save correctly.
+5. **OAuth fields**: client ID / secret (password input) / scope / callback port round-trip on edit; `disable autodetect` maps to `oauth: false`.
+6. **Secret retention**: editing a server with a configured secret shows "Configured — leave blank to keep"; blank secret omits `client_secret` from the payload.
+7. **Edit** a connected server → shows "Saving reconnects this server." warning; save disconnects, removes, re-adds with new config.
+8. **Delete** → confirm dialog → server removed from list + config.
+9. **Authenticate** button on `needs_auth` / `needs_client_registration` rows triggers the existing OAuth flow.
+10. **Duplicate name** on add → inline error near Save ("A server with this name already exists.").
+11. **Offline / no server** → error state in the tab with retry; empty state shows "No MCP servers configured."
+12. Server defined as `{ enabled: boolean }` only (toggle-only entry in config) → Edit shows the noConfig error toast instead of crashing.
+
+Repro: launch `bun run dev` in `packages/desktop`, open Settings (⌘/Ctrl+,), click the MCP tab.
\ No newline at end of file
diff --git a/docs/superpowers/plans/2026-09-03-mcp-server-management.md b/docs/superpowers/plans/2026-09-03-mcp-server-management.md
new file mode 100644
index 000000000000..42d2aaaa0c0c
--- /dev/null
+++ b/docs/superpowers/plans/2026-09-03-mcp-server-management.md
@@ -0,0 +1,156 @@
+# MCP Server Management Implementation Plan
+
+> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
+
+**Goal:** Add an "MCP" settings tab to OpenCode Desktop/app that manages MCP servers (add/edit/delete with local/remote configs, OAuth credential fields, and status actions) via the existing `sdk.mcp.*` server API.
+
+**Architecture:** Pure app-package feature — no desktop main-process changes, no core changes. New component `packages/app/src/components/settings-v2/mcp.tsx` wired as a tab in `dialog-settings-v2.tsx`. Data through `useServerSDK()` (`serverSdk.client.mcp.*` — the `OpenCodeClient` promise API; see `server-session.ts:62` where `ServerApi = OpenCodeClient`) and `useServerSync()` for the current directory + status polling already wired (`server-sync.tsx:702-715` shows the exact v1/v2 protocol-branch patterns for connect/disconnect/authenticate).
+
+**Tech Stack:** SolidJS, `@opencode-ai/ui/v2` components, existing server SDK client (`@opencode-ai/client/promise`), `bun:test` for the payload-builder unit tests.
+
+**Spec:** `docs/superpowers/specs/2026-09-03-mcp-server-management-design.md`
+
+## Global Constraints
+
+- Work only in `packages/app/` (plus docs). No changes to `packages/desktop`, `packages/core`, or any server/protocol package.
+- Data access only through `useServerSDK()`/`useServerSync()` context patterns; no direct fetch calls.
+- i18n: new keys `settings.mcp.*` go in `packages/app/src/i18n/en.ts` AND all 62 locale files (`src/i18n/parity.test.ts` enforces; reuse the existing `mcp.status.*` keys for status badges). Preserve `{{placeholders}}` in translations.
+- MCP add payloads must match `McpAddInput` exactly (from `client/dist/promise/generated/types.d.ts`): `{ server: string, location?: { directory?: string }, config: LocalConfig | RemoteConfig }` where LocalConfig = `{ type: "local", command: string[], cwd?, environment?, disabled?, timeout? }` and RemoteConfig = `{ type: "remote", url, headers?, oauth?: { client_id?, client_secret?, scope?, callback_port?, redirect_uri? } | false, disabled?, timeout? }`.
+- Secret retention on edit: `clientSecret` and header values never echo back; blank input = keep existing value.
+- Edit = `remove` + `add` (no update endpoint); disconnect first if connected.
+- Tests: `bun test src/components/settings-v2` from `packages/app/`; typecheck `bun run typecheck` (tsgo; fallback `bunx tsc -b` — note if used).
+- The tab is NOT desktop-gated (server API works in web builds) — render it unconditionally.
+- Commit messages: `feat(app): ...` / `docs(app): ...`. Never `git add -A`.
+
+---
+
+### Task 1: MCP payload builder (form model → McpAddInput)
+
+**Files:**
+- Create: `packages/app/src/components/settings-v2/mcp-payload.ts`
+- Test: `packages/app/src/components/settings-v2/mcp-payload.test.ts`
+
+**Interfaces:**
+- Consumes: the `McpAddInput["config"]` shape (type it locally as `McpServerConfig = McpAddInput["config"]` re-exported from the client package; do not redefine the structure).
+- Produces (used by Task 2):
+ - `export type McpFormState = { name: string; kind: "local" | "remote"; command: string[]; cwd?: string; environment: { key: string; value: string }[]; url: string; headers: { key: string; value: string }[]; oauthEnabled: boolean; oauthDisableAutodetect: boolean; clientId: string; clientSecret: string; clientSecretPlaceholder?: string; scope: string; callbackPort: string; enabled: boolean; timeout: string }`
+ - `export function emptyForm(name?: string): McpFormState`
+ - `export function formFromConfig(name: string, config: McpServerConfig): McpFormState` — for edit; secret fields become empty strings with `clientSecretPlaceholder = "configured"` sentinel
+ - `export function buildAddInput(form: McpFormState, opts: { keepSecret?: boolean }): { ok: true; input: { server: string; config: McpServerConfig } } | { ok: false; error: string }` — validation errors for: empty name, empty command (local), empty url (remote), oauth enabled with empty url... (remote requires url), non-numeric callbackPort/timeout. When `keepSecret` is true and `clientSecret` is empty, the oauth object is built WITHOUT `client_secret` (server keeps existing credential via remove+add round-trip is NOT possible — so `formFromConfig` must capture whether a secret exists: if placeholder sentinel set and blank on submit, the oauth sub-object omits `client_secret` entirely and the user is warned in the UI that re-auth may be required).
+ - `export type McpServerConfig = McpAddInput["config"]`
+
+- [ ] **Step 1: Write the failing tests**
+
+Create `mcp-payload.test.ts` with `bun:test` describe blocks covering: `emptyForm` defaults (kind local, enabled true, oauthEnabled false); `formFromConfig` round-trips a local config (command array, env rows) and a remote config with oauth (secret becomes empty + placeholder sentinel); `buildAddInput` success cases (local minimal, remote with headers + oauth with all fields, oauth:false when `oauthDisableAutodetect`, timeout coerced to number and omitted when blank/invalid, empty env/header rows dropped); validation failures (empty name → error, local without command → error, remote without url → error, non-numeric callbackPort → error). Use `expect(...).toEqual(...)` on built inputs.
+
+- [ ] **Step 2: Run to verify fail** — `bun test src/components/settings-v2/mcp-payload.test.ts` from `packages/app` → module not found.
+
+- [ ] **Step 3: Implement `mcp-payload.ts`** — pure functions, no Solid imports. Import the config type via `import type { McpAddInput } from "@opencode-ai/client/promise"` (this subpath resolves in the app package — proven by `global-sync/types.ts:18`).
+
+- [ ] **Step 4: Run to verify pass** — same command → all pass.
+
+- [ ] **Step 5: Typecheck** — `bun run typecheck` from `packages/app`.
+
+- [ ] **Step 6: Commit** — `git add packages/app/src/components/settings-v2/mcp-payload.ts packages/app/src/components/settings-v2/mcp-payload.test.ts && git commit -m "feat(app): MCP form payload builder with validation and secret retention"`
+
+---
+
+### Task 2: MCP settings tab (list + status actions + delete)
+
+**Files:**
+- Create: `packages/app/src/components/settings-v2/mcp.tsx`
+- Modify: `packages/app/src/components/settings-v2/dialog-settings-v2.tsx` (add trigger + content)
+- Modify: `packages/app/src/i18n/en.ts` + all 62 locales (`settings.mcp.*` keys)
+- Test: `packages/app/src/components/settings-v2/mcp-payload.test.ts` (already exists; no new test file needed for the UI itself)
+
+**Interfaces:**
+- Consumes: `useServerSDK()` (`serverSdk.client.mcp.list/add/remove/connect/disconnect`, `serverSdk.client.mcp.auth.authenticate`, `serverSdk.protocol`), `useServerSync()` for directory (use the same `directory` memo from `dialog-settings-v2.tsx:26-33` passed as prop like providers does), `SettingsPluginsV2`-style local view toggle, `SettingsRowV2`/`SettingsListV2` from `./parts`, `ButtonV2`, `Tag`, `showToast` from `@/utils/toast`, existing i18n keys `mcp.status.*`.
+- Produces: `export const SettingsMcpV2: Component<{ directory?: string }>` rendered as ``; the Edit view is delegated to Task 3's dialog component.
+
+- [ ] **Step 1: Add i18n keys (en.ts)**
+
+```
+settings.tab.mcp: "MCP"
+settings.mcp.section.servers: "Servers"
+settings.mcp.add: "Add server"
+settings.mcp.type.local: "Local"
+settings.mcp.type.remote: "Remote"
+settings.mcp.status.badge: use existing mcp.status.* keys (do NOT duplicate)
+settings.mcp.action.connect / disconnect / authenticate / edit / delete
+settings.mcp.delete.title / delete.body ({{name}} placeholder)
+settings.mcp.empty: "No MCP servers configured."
+settings.mcp.errors.refresh: "Could not load MCP servers."
+settings.mcp.errors.removed: "Deleted {{name}}."
+settings.mcp.status.pending: "connecting…"
+```
+
+- [ ] **Step 2: Create the component**
+
+List view: `createResource` calling `serverSdk.client.mcp.list({ location: { directory } })` (`McpListOutput.data: McpServer[]` — name + `status.status`). Rows show name, type from the config if present in the list payload (if `McpServer` lacks config info — verify; if absent, fetch nothing extra and show type only in edit), status badge, actions: Connect/Disconnect via the protocol branch (`serverSdk.client.mcp.connect/disconnect` — mirror `server-sync.tsx:702-715` for v1-vs-v2 by calling through the same `useServerSDK().client` used there), Authenticate when `needs_auth`, Edit (Task 3), Delete (confirm → `mcp.remove({ server: name, location: { directory } })` → toast → refetch). "Add server" button → Task 3 dialog. Loading/error/empty states match the Plugins tab patterns (`catalog.loading` / error + retry / `palette.empty`).
+
+- [ ] **Step 3: Wire the tab** — trigger in the Desktop section AFTER plugins (`value="mcp"`, `Icon name="mcp"`), content `` using the existing `directory` memo in `dialog-settings-v2.tsx`. No `Show`-gate (works on web too).
+
+- [ ] **Step 4: Typecheck + verify** — `bun run typecheck` from `packages/app`; `bun test src/components/settings-v2` (payload tests still pass).
+
+- [ ] **Step 5: Commit** — `git add packages/app/src/components/settings-v2/mcp.tsx packages/app/src/components/settings-v2/dialog-settings-v2.tsx packages/app/src/i18n && git commit -m "feat(app): MCP settings tab with server list and status actions"`
+
+---
+
+### Task 3: Add/Edit dialog with OAuth + secret retention
+
+**Files:**
+- Modify: `packages/app/src/components/settings-v2/mcp.tsx` (add dialog component + wire Add/Edit actions)
+- Modify: `packages/app/src/i18n/en.ts` + all 62 locales (form field keys below)
+- Test: reuse `mcp-payload.test.ts` (builder already tested)
+
+**Interfaces:**
+- Consumes: Task 1's `emptyForm`, `formFromConfig`, `buildAddInput`; Task 2's list resource + refetch; `useDialog().push` pattern (same as the Plugins install-scope dialog and `dialog-server-v2.tsx`).
+- Produces: dialog opened by "Add server" and per-row "Edit" buttons.
+
+- [ ] **Step 1: Add i18n keys (en.ts, then all locales)**
+
+```
+settings.mcp.form.title.add / form.title.edit ({{name}})
+settings.mcp.form.kind / form.command / form.command.hint / form.cwd / form.url
+settings.mcp.form.env / form.headers / form.addRow / form.removeRow
+settings.mcp.form.oauth / form.oauth.clientId / form.oauth.clientSecret
+settings.mcp.form.oauth.clientSecret.keep: "Configured — leave blank to keep"
+settings.mcp.form.oauth.scope / form.oauth.callbackPort / form.oauth.disableAutodetect
+settings.mcp.form.enabled / form.timeout / form.save / form.cancel
+settings.mcp.errors.invalid: "Fix the highlighted fields."
+settings.mcp.errors.duplicate: "A server with this name already exists."
+settings.mcp.edit.warn: "Editing reconnects this server." (shown when connected)
+```
+
+- [ ] **Step 2: Build the dialog**
+
+Type toggle (Local/Remote) → conditional field groups. Key/value row editors for env/headers (add-row button, per-row remove). OAuth sub-form shown for remote: clientId, clientSecret (password input with keep-placeholder when editing), scope, callbackPort, "disable autodetect" checkbox (sets `oauth: false`, hides the other oauth fields). Save: `buildAddInput(form, { keepSecret: editing && secretBlank })` → on `ok:false` show inline field errors; on success: add path = `mcp.add(input)` then refetch; edit path = `mcp.disconnect` (if status connected) → `mcp.remove` → `mcp.add` → refetch. Catch 400 → map duplicate-name message to `errors.duplicate`, otherwise toast with server message; dialog stays open.
+
+- [ ] **Step 3: Translate all 62 locales** — follow the Plugins precedent (script the insertion after an existing anchor key; preserve `{{name}}`; run parity test to 5/5).
+
+- [ ] **Step 4: Typecheck + full settings-v2 tests + parity** — all pass.
+
+- [ ] **Step 5: Commit** — `git add packages/app/src/components/settings-v2/mcp.tsx packages/app/src/i18n && git commit -m "feat(app): MCP add/edit dialog with OAuth fields and secret retention"`
+
+---
+
+### Task 4: Verification + checklist
+
+**Files:**
+- Create: `docs/superpowers/plans/2026-09-03-mcp-server-management-manual-checklist.md`
+
+- [ ] **Step 1: Automatable checks** — `bun test src/components/settings-v2` and `bun test src/i18n/parity.test.ts` from `packages/app`, `bun run typecheck` both packages (desktop untouched — confirm `git diff --stat packages/desktop` is empty).
+
+- [ ] **Step 2: Write the manual checklist** — items: add local server appears in list; add remote with headers; OAuth fields round-trip on edit; secret retention (blank = keep); delete with confirm; authenticate on needs_auth; duplicate-name error inline; offline error state; tab visible on web build; edit of connected server shows reconnect warning. Mark each PASS (verified via unit/live check) or "requires GUI session" with repro steps.
+
+- [ ] **Step 3: Fix any gaps found** (unit-level only), rerun tests.
+
+- [ ] **Step 4: Commit** — `git add docs/superpowers/plans/2026-09-03-mcp-server-management-manual-checklist.md && git commit -m "docs(app): MCP management manual verification checklist"`
+
+---
+
+## Self-Review (performed during plan writing)
+
+1. **Spec coverage:** Full CRUD (Tasks 2–3) ✓; OAuth fields incl. `oauth: false` disable-autodetect (Task 3) ✓; secret retention (Tasks 1, 3) ✓; status actions connect/disconnect/authenticate (Task 2) ✓; edit = remove+add with reconnect warning (Task 3) ✓; error handling — 400/duplicate/offline (Tasks 2–3) ✓; i18n all locales (Tasks 2–3) ✓; non-goals respected (no marketplace, no tool listing) ✓; not desktop-gated per spec ✓.
+2. **Placeholder scan:** No TBDs. Form field list in Task 3 Step 1 is complete. The one deliberate open point (whether `McpListOutput` rows carry config info for type badges) is called out in Task 2 Step 2 with a fallback instruction, not a gap.
+3. **Type consistency:** `McpFormState`, `buildAddInput`, `formFromConfig`, `emptyForm`, `McpServerConfig` defined in Task 1 and consumed in Task 3 with the same names. SDK call shapes verified against `client/dist/promise/generated/{client,types}.d.ts` (`mcp.list/add/remove/connect/disconnect`, `McpAddInput`, `McpListOutput`).
\ No newline at end of file
diff --git a/docs/superpowers/specs/2026-09-03-desktop-plugin-manager-design.md b/docs/superpowers/specs/2026-09-03-desktop-plugin-manager-design.md
new file mode 100644
index 000000000000..89e5e9dc833b
--- /dev/null
+++ b/docs/superpowers/specs/2026-09-03-desktop-plugin-manager-design.md
@@ -0,0 +1,157 @@
+# Plugin Manager for OpenCode Desktop — Design
+
+**Date:** 2026-09-03
+**Status:** Approved (design), pending spec review
+**Repo:** `/home/yeager1977/GitHub/opencode` (clone of `anomalyco/opencode`, branch `dev`)
+
+## Problem
+
+OpenCode has no plugin browser or manager in the desktop app. Plugin discovery
+today is manual: the docs ecosystem page, `awesome-opencode`, npm search, or
+the third-party `ocx` CLI. Users must hand-edit `opencode.json` to install a
+plugin.
+
+## Goal
+
+A "Plugins" tab in the desktop app's settings dialog that lets users:
+
+1. **Browse** — discover available plugins with search, metadata (description,
+ version, weekly downloads, last publish date), and a copyable config
+ snippet.
+2. **Install** — write the plugin into the chosen `opencode.json` (global or
+ project) with a per-install scope prompt that remembers the last choice.
+3. **Manage** — see installed plugins with provenance (global/project), remove
+ or re-enable them.
+
+## Catalog sources (per user decision)
+
+- `https://opencode.ai/docs/ecosystem/` (curated list)
+- `https://github.com/awesome-opencode/awesome-opencode` README (curated list)
+- npm registry enrichment: `registry.npmjs.org` (metadata) +
+ `api.npmjs.org/downloads/point/last-week` (downloads)
+
+Catalog entries are de-duplicated by npm package name. Entries not resolvable
+on npm are kept with partial metadata (name, description, source link) and a
+"not on npm" note; they can be copied as snippets but not installed via the
+manager.
+
+Caching: in-memory plus on-disk `plugin-catalog-cache.json` under the app's
+userData directory, TTL 24h. Stale cache is served on fetch failure with a
+"stale" banner.
+
+## Architecture
+
+Two layers, matching existing repo patterns.
+
+### Electron main process
+
+New module `packages/desktop/src/main/plugin-manager.ts`:
+
+- `fetchCatalog()` — fetch + merge + enrich + cache as above.
+- `readConfigs()` — parse global (`~/.config/opencode/opencode.json|.jsonc`)
+ and project (`/opencode.json|.jsonc`) configs; return plugin arrays
+ with provenance.
+- `mutateConfig(target, mutation)` — add/remove plugin entries. Must preserve
+ unknown top-level keys and `$schema`; supports `.json` and `.jsonc` (write
+ JSONC-aware: JSONC files get entries appended in-place with formatting
+ preserved where feasible; if in-place edit is unsafe, fall back to a
+ full-file rewrite preserving comments as best effort, and on any parse
+ failure refuse to write and surface the file path).
+- Plugin array entry forms: `"name"` and `["name", {options}]`. Mutations
+ preserve tuple form and existing options when disabling/re-enabling.
+
+Registered in `ipc.ts` as `ipcMain.handle("plugins:*", ...)` handlers:
+`plugins:fetch-catalog`, `plugins:read-configs`, `plugins:install`,
+`plugins:remove`. Typed in `packages/desktop/src/preload/index.ts` and
+`types.ts`.
+
+### Renderer UI
+
+New component `packages/app/src/components/settings-v2/plugins.tsx`, wired as
+a "Plugins" tab in `dialog-settings-v2.tsx` (under the Desktop section, after
+Shortcuts). The component reaches main-process APIs through the existing
+desktop platform context (the app package already abstracts desktop vs web).
+On web builds without the desktop bridge, the tab is hidden.
+
+Views (the tab has exactly two sub-views, switched with a local toggle):
+
+- **Browse** (default) — search box, list (name, description, weekly
+ downloads, updated). Row click opens detail: full description, version,
+ repository link, config snippet with copy button, "Install…" button.
+- **Installed** — single view that combines listing and management: entries
+ parsed from global + project configs with a provenance badge (Global /
+ Project), per-entry actions (Disable, Uninstall with confirm, Open config
+ file), plus "recently removed" chips (see Enable/disable semantics) with
+ one-click re-enable.
+
+Install flow: renderer-side dialog asks **Global / This project / Cancel**
+with the last used scope preselected; writes via IPC; success toast reminds
+"restart opencode to load the plugin".
+
+## Data flow
+
+```
+Catalog: renderer → IPC → main: fetch ecosystem + awesome lists
+ → npm enrich → cache (TTL 24h) → renderer
+Install: renderer → scope dialog → IPC plugins:install
+ → main mutates target opencode.json → toast
+Manage: renderer → IPC plugins:read-configs → diff view
+ → mutations via plugins:remove / re-install
+```
+
+## Enable/disable semantics
+
+opencode config has no `enabled: false` for plugins. Therefore:
+
+- **Disable** = remove the entry from the config, but remember it in a
+ desktop-local "recently removed" list (persisted in desktop store) so the
+ Manage view can offer one-click re-enable (re-writes the same entry form
+ and options).
+- **Uninstall** = remove entry, drop from recently-removed, confirm first.
+
+## Error handling
+
+- Catalog fetch failure → serve disk cache, show stale banner; no cache →
+ show error state in Browse with retry; Installed/Manage views unaffected
+ (they read local configs).
+- npm enrichment failure → entry shown with partial metadata, not an error.
+- Config parse failure → refuse all writes to that file; show path and an
+ "Open config file" action.
+- Write race (file changed on disk since read) → re-read, re-apply mutation
+ only if the plugin array is unchanged; otherwise surface a conflict error.
+- IPC not available (non-desktop renderer) → tab hidden, no graceful-degrade
+ UI needed.
+
+## Testing
+
+- Unit (colocated `*.test.ts` in `main/`, matching repo convention):
+ - config parsing/mutation: JSON + JSONC, string and tuple entries,
+ unknown-key + `$schema` preservation, comment-preserving JSONC edits and
+ rewrite fallback, conflict detection.
+ - catalog: mocked fetches for ecosystem page, awesome README, npm registry,
+ downloads API; de-duplication; cache TTL behavior; stale-cache fallback.
+- Storybook story for the Plugins tab (Browse, Installed states, install
+ scope dialog), colocated in `settings-v2` following
+ `interface-transition.stories.tsx` precedent.
+- Storybook story for the Plugins tab (Browse, Installed states, install
+ scope dialog), colocated in `settings-v2` following
+ `interface-transition.stories.tsx` precedent.
+- Manual checklist: install global vs project, JSONC preservation with real
+ user configs, offline behavior, restart reminder toast, hide tab on
+ non-desktop builds.
+
+## Non-goals (v1)
+
+- No plugin auto-update.
+- No changes to TUI, server, or core opencode packages.
+- No publishing/authoring flow.
+- No ratings, reviews, or security scanning of plugins.
+- No support for git/file-path plugin sources in install UI (they remain
+ valid config values; manager preserves them if hand-added).
+
+## Future
+
+The catalog/config logic is isolated in `plugin-manager.ts` so it can later
+graduate to the opencode server (approach C) and benefit TUI/web clients.
+The settings tab can be replaced by a dedicated app-store-style window
+(approach B) reusing the same IPC surface.
\ No newline at end of file
diff --git a/docs/superpowers/specs/2026-09-03-mcp-server-management-design.md b/docs/superpowers/specs/2026-09-03-mcp-server-management-design.md
new file mode 100644
index 000000000000..dc9ef700123d
--- /dev/null
+++ b/docs/superpowers/specs/2026-09-03-mcp-server-management-design.md
@@ -0,0 +1,133 @@
+# MCP Server Management for OpenCode Desktop — Design
+
+**Date:** 2026-09-03
+**Status:** Approved (design), pending spec review
+**Repo:** `/home/yeager1977/GitHub/opencode` (clone of `anomalyco/opencode`, branch `feat/desktop-plugin-manager`)
+
+## Problem
+
+MCP servers can only be managed by hand-editing `opencode.json` or using the CLI.
+The app already shows MCP status (a read-only picker dialog with connect/auth
+toggles), but there is no UI to add, edit, or delete servers with their full
+configuration (command/URL, env vars, headers, OAuth credentials, timeouts).
+
+## Goal
+
+A "MCP" tab in the desktop app's settings dialog providing full CRUD over MCP
+server configuration, including OAuth credential fields, backed entirely by the
+existing opencode server API (`sdk.mcp.*`).
+
+## Scope decisions (user-approved)
+
+- **Full CRUD + OAuth fields**: add/edit/delete with type, command/url, env
+ vars, headers, OAuth client id/secret/scope, timeout, enabled.
+- **Placement**: a new settings tab ("MCP", Desktop section, after Plugins).
+ The existing quick MCP picker dialog stays read-only.
+
+## Architecture
+
+Pure app-package feature. No main-process/desktop changes, no core changes,
+no new IPC — MCP CRUD goes through the opencode server HTTP API, so the tab
+also works in web builds (no desktop-only gate).
+
+New component `packages/app/src/components/settings-v2/mcp.tsx`, wired as an
+"MCP" tab in `dialog-settings-v2.tsx`. Data via the existing server SDK:
+
+- `sdk.mcp.list` → names + status + config (already polled by server-sync)
+- `sdk.mcp.add({ server, config, location })` → add
+- `sdk.mcp.remove({ server, location })` → delete
+- `sdk.mcp.connect / disconnect / auth.authenticate` → status actions
+- `sdk.mcp.auth.start` (OAuth start) is invoked by the existing auth flow —
+ the tab only triggers `auth.authenticate` when status is `needs_auth`
+
+Protocol branching follows the v1/v2 pattern already demonstrated in
+`server-sync.tsx` (`sdk.mcp.connect` on v1 vs `serverSDK.api.mcp.connect` on
+v2). The tab obtains the SDK through the same `useServerSync` / `useServerSDK`
+context pattern used by `providers.tsx` and `servers.tsx`.
+
+## UI
+
+Three views in one tab, local toggle (same structure as the Plugins tab):
+
+### List (default)
+
+Each row: server name, type badge (Local/Remote), status badge (reusing
+existing `mcp.status.*` i18n keys), per-row actions:
+
+- Connect / Disconnect (status-dependent)
+- Authenticate (only when status is `needs_auth`)
+- Edit
+- Delete (confirm dialog)
+
+An "Add server" button opens the add dialog.
+
+### Add/Edit dialog
+
+Form with a Local/Remote type toggle:
+
+- **Local**: command (argument list editor), cwd, environment variables
+ (key/value row editor)
+- **Remote**: URL, headers (key/value row editor), OAuth sub-form (client ID,
+ client secret, scope, callback port) plus a "disable OAuth auto-detection"
+ checkbox (config `oauth: false`)
+- **Shared**: enabled toggle, timeout (ms)
+
+Secret-field semantics: `clientSecret` and header values render as password
+inputs. On **edit**, secret fields show placeholder "configured — leave blank
+to keep" and only overwrite when non-empty. Secrets are never echoed back.
+
+Edit semantics: the API has no update endpoint. Edit = `remove` + `add` with
+the new config; if the server is currently connected, disconnect first. The
+dialog warns that a connected server will be reconnected.
+
+### Delete
+
+Confirm dialog → `mcp.remove({ server, location })` → refetch list.
+
+## Data flow
+
+```
+List: createResource → sdk.mcp.list → rows with status badges
+Add: form → build McpAddInput → sdk.mcp.add → refetch list
+Edit: form → (disconnect if connected) → mcp.remove + mcp.add → refetch
+Auth: needs_auth → sdk.mcp.auth.authenticate({ name }) → existing OAuth flow
+```
+
+Location (`directory`) comes from the same `projectDir` memo pattern the
+Plugins tab uses (route-based), so server configs are written to the correct
+workspace scope.
+
+## Error handling
+
+- `mcp.add` validation failures (HTTP 400) → error toast with the server's
+ message; dialog stays open for correction.
+- Duplicate server name → surfaced as an inline form error (server 400).
+- Offline / no server connection → tab-level error state with retry button
+ (same pattern as the Plugins catalog failure state).
+- Config parse issues are server-side; nothing is written by the app directly.
+
+## Testing
+
+- Unit (colocated, `packages/app/src/components/settings-v2/mcp.test.ts`):
+ form → `McpAddInput` payload builder covering local and remote shapes,
+ secret-retention-on-edit semantics, oauth-false handling, timeout coercion.
+- Storybook story skipped (app preview lacks Platform/Language providers —
+ same escape hatch as Plugins).
+- Manual checklist: add local server, add remote with OAuth creds, edit with
+ secret retention, delete, authenticate flow, duplicate-name error, offline
+ error state.
+
+## Non-goals (v1)
+
+- No MCP marketplace/catalog browsing (the server has an McpCatalog; UI for
+ it is a future feature).
+- No per-server tool/resource listing UI.
+- No config-file import/export.
+- No SSE-vs-streamable transport picker (server auto-detects).
+
+## i18n
+
+New keys `settings.mcp.*` in `packages/app/src/i18n/en.ts` + all 62 locale
+files (repo parity convention; machine-assisted translations with preserved
+`{{placeholders}}`, following the Plugins-tab precedent). Existing
+`mcp.status.*` keys are reused for status badges.
\ No newline at end of file
diff --git a/packages/app/package.json b/packages/app/package.json
index 17b356ed6087..2b1d1d3f1812 100644
--- a/packages/app/package.json
+++ b/packages/app/package.json
@@ -9,6 +9,7 @@
"./i18n/desktop-native": "./src/i18n/desktop-native.ts",
"./updater": "./src/updater.ts",
"./wsl/types": "./src/wsl/types.ts",
+ "./components/settings-v2/plugins-types": "./src/components/settings-v2/plugins-types.ts",
"./vite": "./vite.js",
"./index.css": "./src/index.css"
},
diff --git a/packages/app/src/components/settings-v2/dialog-settings-v2.tsx b/packages/app/src/components/settings-v2/dialog-settings-v2.tsx
index 4116f4a6208c..819ad12be9f2 100644
--- a/packages/app/src/components/settings-v2/dialog-settings-v2.tsx
+++ b/packages/app/src/components/settings-v2/dialog-settings-v2.tsx
@@ -1,4 +1,4 @@
-import { Component, createMemo, createSignal, startTransition } from "solid-js"
+import { Component, createMemo, createSignal, startTransition, Show } from "solid-js"
import { Dialog } from "@opencode-ai/ui/v2/dialog-v2"
import { TabsV2 } from "@opencode-ai/ui/v2/tabs-v2"
import { Icon } from "@opencode-ai/ui/icon"
@@ -8,6 +8,8 @@ import { SettingsGeneralV2 } from "./general"
import { SettingsKeybinds } from "../settings-keybinds"
import { SettingsProvidersV2 } from "./providers"
import { SettingsModelsV2 } from "./models"
+import { SettingsPluginsV2 } from "./plugins"
+import { SettingsMcpV2 } from "./mcp"
import "./settings-v2.css"
import { SettingsServersV2 } from "./servers"
import { useDialog } from "@opencode-ai/ui/context/dialog"
@@ -65,6 +67,16 @@ export const DialogSettings: Component<{
{language.t("settings.tab.shortcuts")}
+
+
+
+ {language.t("settings.tab.plugins")}
+
+
+
+
+ {language.t("settings.tab.mcp")}
+
@@ -108,6 +120,14 @@ export const DialogSettings: Component<{
+
+
+
+
+
+
+
+
)
diff --git a/packages/app/src/components/settings-v2/mcp-payload.test.ts b/packages/app/src/components/settings-v2/mcp-payload.test.ts
new file mode 100644
index 000000000000..d9c7e2e22335
--- /dev/null
+++ b/packages/app/src/components/settings-v2/mcp-payload.test.ts
@@ -0,0 +1,366 @@
+import { describe, expect, test } from "bun:test"
+import { buildAddInput, emptyForm, formFromConfig, type McpFormState } from "./mcp-payload"
+
+describe("emptyForm", () => {
+ test("defaults to a disabled-oauth local server, enabled", () => {
+ const form = emptyForm("github")
+ expect(form).toEqual({
+ name: "github",
+ kind: "local",
+ command: [],
+ cwd: "",
+ environment: [],
+ url: "",
+ headers: [],
+ oauthEnabled: false,
+ oauthDisableAutodetect: false,
+ clientId: "",
+ clientSecret: "",
+ clientSecretPlaceholder: undefined,
+ scope: "",
+ callbackPort: "",
+ enabled: true,
+ timeout: "",
+ } satisfies McpFormState)
+ })
+
+ test("name is empty when not provided", () => {
+ expect(emptyForm().name).toBe("")
+ })
+})
+
+describe("formFromConfig", () => {
+ test("round-trips a local config", () => {
+ const config = {
+ type: "local" as const,
+ command: ["npx", "-y", "server"],
+ cwd: "/tmp/work",
+ environment: { DEBUG: "1", KEY: "value" },
+ disabled: true,
+ timeout: { startup: 5000, catalog: 3000, execution: 3000 },
+ }
+ const form = formFromConfig("srv", config)
+ expect(form.name).toBe("srv")
+ expect(form.kind).toBe("local")
+ expect(form.command).toEqual(["npx", "-y", "server"])
+ expect(form.cwd).toBe("/tmp/work")
+ expect(form.environment).toEqual([
+ { key: "DEBUG", value: "1" },
+ { key: "KEY", value: "value" },
+ ])
+ expect(form.enabled).toBe(false)
+ expect(form.timeout).toBe("3000")
+ expect(form.oauthEnabled).toBe(false)
+ })
+
+ test("local config without timeout or disabled leaves those blank/enabled", () => {
+ const form = formFromConfig("srv", { type: "local", command: ["npx"] })
+ expect(form.timeout).toBe("")
+ expect(form.enabled).toBe(true)
+ expect(form.environment).toEqual([])
+ })
+
+ test("remote config without oauth keeps oauth disabled and no sentinel", () => {
+ const form = formFromConfig("srv", { type: "remote", url: "https://example.com/mcp" })
+ expect(form.kind).toBe("remote")
+ expect(form.url).toBe("https://example.com/mcp")
+ expect(form.oauthEnabled).toBe(false)
+ expect(form.clientSecret).toBe("")
+ expect(form.clientSecretPlaceholder).toBeUndefined()
+ })
+
+ test("remote config with oauth round-trips fields and blanks the secret", () => {
+ const config = {
+ type: "remote" as const,
+ url: "https://example.com/mcp",
+ headers: { Authorization: "Bearer x" },
+ oauth: { client_id: "abc", client_secret: "shhh", scope: "read", callback_port: 8123 },
+ disabled: false,
+ }
+ const form = formFromConfig("srv", config)
+ expect(form.oauthEnabled).toBe(true)
+ expect(form.clientId).toBe("abc")
+ expect(form.clientSecret).toBe("")
+ expect(form.clientSecretPlaceholder).toBe("configured")
+ expect(form.scope).toBe("read")
+ expect(form.callbackPort).toBe("8123")
+ expect(form.headers).toEqual([{ key: "Authorization", value: "Bearer x" }])
+ expect(form.enabled).toBe(true)
+ expect(form.oauthDisableAutodetect).toBe(false)
+ })
+
+ test("oauth: false sets the disable-autodetect flag", () => {
+ const form = formFromConfig("srv", { type: "remote", url: "https://example.com/mcp", oauth: false })
+ expect(form.oauthEnabled).toBe(true)
+ expect(form.oauthDisableAutodetect).toBe(true)
+ })
+})
+
+describe("buildAddInput", () => {
+ test("local minimal", () => {
+ const form: McpFormState = { ...emptyForm("local-one"), command: ["node", "server.js"] }
+ const result = buildAddInput(form)
+ expect(result).toEqual({
+ ok: true,
+ input: { server: "local-one", config: { type: "local", command: ["node", "server.js"] } },
+ })
+ })
+
+ test("local full: env rows, cwd, disabled, timeout coerced", () => {
+ const form: McpFormState = {
+ ...emptyForm("local-two"),
+ command: ["npx", "srv"],
+ cwd: "/tmp",
+ environment: [
+ { key: "A", value: "1" },
+ { key: "B", value: "2" },
+ ],
+ enabled: false,
+ timeout: "2500",
+ }
+ const result = buildAddInput(form)
+ expect(result).toEqual({
+ ok: true,
+ input: {
+ server: "local-two",
+ config: {
+ type: "local",
+ command: ["npx", "srv"],
+ cwd: "/tmp",
+ environment: { A: "1", B: "2" },
+ disabled: true,
+ timeout: { startup: 2500, catalog: 2500, execution: 2500 },
+ },
+ },
+ })
+ })
+
+ test("remote with headers and oauth", () => {
+ const form: McpFormState = {
+ ...emptyForm("remote-one"),
+ kind: "remote",
+ url: "https://mcp.example.com",
+ headers: [{ key: "Authorization", value: "Bearer tok" }],
+ oauthEnabled: true,
+ clientId: "cid",
+ clientSecret: "sec",
+ scope: "openid",
+ callbackPort: "19876",
+ }
+ const result = buildAddInput(form)
+ expect(result).toEqual({
+ ok: true,
+ input: {
+ server: "remote-one",
+ config: {
+ type: "remote",
+ url: "https://mcp.example.com",
+ headers: { Authorization: "Bearer tok" },
+ oauth: { client_id: "cid", client_secret: "sec", scope: "openid", callback_port: 19876 },
+ },
+ },
+ })
+ })
+
+ test("oauthDisableAutodetect maps to oauth: false", () => {
+ const form: McpFormState = {
+ ...emptyForm("remote-two"),
+ kind: "remote",
+ url: "https://mcp.example.com",
+ oauthEnabled: true,
+ oauthDisableAutodetect: true,
+ }
+ expect(buildAddInput(form)).toEqual({
+ ok: true,
+ input: { server: "remote-two", config: { type: "remote", url: "https://mcp.example.com", oauth: false } },
+ })
+ })
+
+ test("keepSecret with blank secret omits client_secret but keeps other oauth fields", () => {
+ const form: McpFormState = {
+ ...emptyForm("remote-three"),
+ kind: "remote",
+ url: "https://mcp.example.com",
+ oauthEnabled: true,
+ clientId: "cid",
+ clientSecret: "",
+ clientSecretPlaceholder: "configured",
+ scope: "openid",
+ }
+ const result = buildAddInput(form, { keepSecret: true })
+ expect(result).toEqual({
+ ok: true,
+ input: {
+ server: "remote-three",
+ config: {
+ type: "remote",
+ url: "https://mcp.example.com",
+ oauth: { client_id: "cid", scope: "openid" },
+ },
+ },
+ })
+ })
+
+ test("blank secret without keepSecret omits the whole client_secret field too", () => {
+ const form: McpFormState = {
+ ...emptyForm("remote-four"),
+ kind: "remote",
+ url: "https://mcp.example.com",
+ oauthEnabled: true,
+ clientId: "cid",
+ clientSecret: "",
+ }
+ expect(buildAddInput(form)).toEqual({
+ ok: true,
+ input: {
+ server: "remote-four",
+ config: { type: "remote", url: "https://mcp.example.com", oauth: { client_id: "cid" } },
+ },
+ })
+ })
+
+ test("timeout and callbackPort blank are omitted", () => {
+ const form: McpFormState = {
+ ...emptyForm("remote-five"),
+ kind: "remote",
+ url: "https://mcp.example.com",
+ oauthEnabled: true,
+ }
+ expect(buildAddInput(form)).toEqual({
+ ok: true,
+ input: {
+ server: "remote-five",
+ config: { type: "remote", url: "https://mcp.example.com", oauth: {} },
+ },
+ })
+ })
+
+ test("timeout and callbackPort numbers are coerced", () => {
+ const form: McpFormState = {
+ ...emptyForm("local-three"),
+ command: ["node", "x"],
+ timeout: "7000",
+ }
+ expect(buildAddInput(form)).toEqual({
+ ok: true,
+ input: {
+ server: "local-three",
+ config: {
+ type: "local",
+ command: ["node", "x"],
+ timeout: { startup: 7000, catalog: 7000, execution: 7000 },
+ },
+ },
+ })
+ })
+
+ test("empty-key env/header rows are dropped; empty-value rows are kept", () => {
+ const localForm: McpFormState = {
+ ...emptyForm("local-four"),
+ command: ["node", "x"],
+ environment: [
+ { key: "", value: "orphan" },
+ { key: "REAL", value: "v" },
+ { key: "NOVAL", value: "" },
+ ],
+ }
+ const local = buildAddInput(localForm)
+ expect(local).toEqual({
+ ok: true,
+ input: {
+ server: "local-four",
+ config: { type: "local", command: ["node", "x"], environment: { REAL: "v", NOVAL: "" } },
+ },
+ })
+
+ const remoteForm: McpFormState = {
+ ...emptyForm("remote-six"),
+ kind: "remote",
+ url: "https://mcp.example.com",
+ headers: [
+ { key: "", value: "x" },
+ { key: "REAL", value: "v" },
+ ],
+ }
+ expect(buildAddInput(remoteForm)).toEqual({
+ ok: true,
+ input: {
+ server: "remote-six",
+ config: { type: "remote", url: "https://mcp.example.com", headers: { REAL: "v" } },
+ },
+ })
+ })
+
+ test("all-empty env/header rows produce no environment/headers keys", () => {
+ const form: McpFormState = {
+ ...emptyForm("local-five"),
+ command: ["node", "x"],
+ environment: [{ key: "", value: "" }],
+ headers: [{ key: "", value: "" }],
+ }
+ const result = buildAddInput(form)
+ expect(result).toEqual({
+ ok: true,
+ input: { server: "local-five", config: { type: "local", command: ["node", "x"] } },
+ })
+ })
+
+ test("local command whitespace is trimmed and empty array rejected", () => {
+ const form: McpFormState = { ...emptyForm("local-six"), command: [" node ", "server"] }
+ expect(buildAddInput(form)).toEqual({
+ ok: true,
+ input: { server: "local-six", config: { type: "local", command: ["node", "server"] } },
+ })
+ expect(buildAddInput({ ...emptyForm("local-six"), command: [" "] }).ok).toBe(false)
+ })
+
+ test("validation: empty name", () => {
+ expect(buildAddInput({ ...emptyForm(""), command: ["node"] })).toEqual({ ok: false, error: "name" })
+ })
+
+ test("validation: name whitespace-only", () => {
+ expect(buildAddInput({ ...emptyForm(" "), command: ["node"] }).ok).toBe(false)
+ })
+
+ test("validation: local without command", () => {
+ const form = emptyForm("x")
+ expect(buildAddInput(form)).toEqual({ ok: false, error: "command" })
+ })
+
+ test("validation: remote without url", () => {
+ const form: McpFormState = { ...emptyForm("x"), kind: "remote" }
+ expect(buildAddInput(form)).toEqual({ ok: false, error: "url" })
+ })
+
+ test("validation: non-numeric callbackPort", () => {
+ const form: McpFormState = {
+ ...emptyForm("x"),
+ kind: "remote",
+ url: "https://mcp.example.com",
+ oauthEnabled: true,
+ callbackPort: "abc",
+ }
+ expect(buildAddInput(form)).toEqual({ ok: false, error: "callbackPort" })
+ })
+
+ test("validation: non-numeric timeout", () => {
+ const form: McpFormState = { ...emptyForm("x"), command: ["node"], timeout: "fast" }
+ expect(buildAddInput(form)).toEqual({ ok: false, error: "timeout" })
+ })
+
+ test("validation: negative timeout", () => {
+ const form: McpFormState = { ...emptyForm("x"), command: ["node"], timeout: "-5" }
+ expect(buildAddInput(form).ok).toBe(false)
+ })
+
+ test("validation: callbackPort out of 1..65535 range", () => {
+ const form: McpFormState = {
+ ...emptyForm("x"),
+ kind: "remote",
+ url: "https://mcp.example.com",
+ oauthEnabled: true,
+ callbackPort: "70000",
+ }
+ expect(buildAddInput(form).ok).toBe(false)
+ })
+})
\ No newline at end of file
diff --git a/packages/app/src/components/settings-v2/mcp-payload.ts b/packages/app/src/components/settings-v2/mcp-payload.ts
new file mode 100644
index 000000000000..38a2927a8694
--- /dev/null
+++ b/packages/app/src/components/settings-v2/mcp-payload.ts
@@ -0,0 +1,226 @@
+import type { McpAddInput } from "@opencode-ai/client/promise"
+
+export type McpServerConfig = McpAddInput["config"]
+
+export type McpFormState = {
+ name: string
+ kind: "local" | "remote"
+ command: string[]
+ cwd: string
+ environment: { key: string; value: string }[]
+ url: string
+ headers: { key: string; value: string }[]
+ oauthEnabled: boolean
+ oauthDisableAutodetect: boolean
+ clientId: string
+ clientSecret: string
+ clientSecretPlaceholder?: string
+ scope: string
+ callbackPort: string
+ enabled: boolean
+ timeout: string
+}
+
+const SECRET_PLACEHOLDER = "configured"
+
+export function emptyForm(name?: string): McpFormState {
+ return {
+ name: name ?? "",
+ kind: "local",
+ command: [],
+ cwd: "",
+ environment: [],
+ headers: [],
+ url: "",
+ oauthEnabled: false,
+ oauthDisableAutodetect: false,
+ clientId: "",
+ clientSecret: "",
+ clientSecretPlaceholder: undefined,
+ scope: "",
+ callbackPort: "",
+ enabled: true,
+ timeout: "",
+ }
+}
+
+function timeoutFromConfig(config: McpServerConfig) {
+ const value = config.timeout
+ if (!value) return ""
+ return String(value.execution ?? value.catalog ?? value.startup ?? "")
+}
+
+export function formFromConfig(name: string, config: McpServerConfig): McpFormState {
+ if (config.type === "local") {
+ return {
+ ...emptyForm(name),
+ kind: "local",
+ command: [...config.command],
+ cwd: config.cwd ?? "",
+ environment: rowsFrom(config.environment),
+ enabled: !config.disabled,
+ timeout: timeoutFromConfig(config),
+ }
+ }
+ const oauth = config.oauth
+ const settings = oauth === false || oauth === undefined ? undefined : oauth
+ return {
+ ...emptyForm(name),
+ kind: "remote",
+ url: config.url,
+ headers: rowsFrom(config.headers),
+ oauthEnabled: oauth !== undefined,
+ oauthDisableAutodetect: oauth === false,
+ clientId: settings?.client_id ?? "",
+ clientSecret: "",
+ clientSecretPlaceholder: settings?.client_secret === undefined ? undefined : SECRET_PLACEHOLDER,
+ scope: settings?.scope ?? "",
+ callbackPort: settings?.callback_port === undefined ? "" : String(settings.callback_port),
+ enabled: !config.disabled,
+ timeout: timeoutFromConfig(config),
+ }
+}
+
+function rowsFrom(record: Record | undefined) {
+ return Object.entries(record ?? {}).map(([key, value]) => ({ key, value }))
+}
+
+function cleanRows(rows: { key: string; value: string }[]) {
+ return rows.filter((row) => row.key.trim() !== "")
+}
+
+function toRecord(rows: { key: string; value: string }[]) {
+ const kept = cleanRows(rows)
+ if (kept.length === 0) return undefined
+ return Object.fromEntries(kept.map((row) => [row.key.trim(), row.value]))
+}
+
+function parsePort(value: string) {
+ const trimmed = value.trim()
+ if (trimmed === "") return { ok: true as const, value: undefined }
+ const parsed = Number(trimmed)
+ if (!Number.isInteger(parsed) || parsed < 1 || parsed > 65535) return { ok: false as const, error: "callbackPort" }
+ return { ok: true as const, value: parsed }
+}
+
+function parseTimeout(value: string) {
+ const trimmed = value.trim()
+ if (trimmed === "") return { ok: true as const, value: undefined }
+ const parsed = Number(trimmed)
+ if (!Number.isInteger(parsed) || parsed <= 0) return { ok: false as const, error: "timeout" }
+ return { ok: true as const, value: parsed }
+}
+
+// keepSecret is accepted for edit flows (remove+add round-trip): a blank
+// secret with the "configured" sentinel always omits client_secret so the
+// server-held credential is preserved. The flag itself is behaviorally inert
+// today; it is threaded through so Task 2's edit path stays stable if the
+// round-trip later needs to distinguish "keep" from "fresh add".
+export function buildAddInput(
+ form: McpFormState,
+ _opts: { keepSecret?: boolean } = {},
+): { ok: true; input: { server: string; config: McpServerConfig } } | { ok: false; error: string } {
+ const name = form.name.trim()
+ if (name === "") return { ok: false, error: "name" }
+
+ const timeout = parseTimeout(form.timeout)
+ if (!timeout.ok) return timeout
+ const timeoutConfig = timeout.value !== undefined ? { startup: timeout.value, catalog: timeout.value, execution: timeout.value } : undefined
+ const disabled = !form.enabled || undefined
+
+ if (form.kind === "local") {
+ const command = form.command.map((part) => part.trim()).filter((part) => part !== "")
+ if (command.length === 0) return { ok: false, error: "command" }
+ const environment = toRecord(form.environment)
+ const config: McpServerConfig = {
+ type: "local",
+ command,
+ cwd: form.cwd.trim() === "" ? undefined : form.cwd.trim(),
+ environment,
+ disabled,
+ timeout: timeoutConfig,
+ }
+ return { ok: true, input: { server: name, config } }
+ }
+
+ if (form.url.trim() === "") return { ok: false, error: "url" }
+ const oauth = form.oauthEnabled ? buildOauth(form) : undefined
+ if (typeof oauth === "string") return { ok: false, error: oauth }
+ const config: McpServerConfig = {
+ type: "remote",
+ url: form.url.trim(),
+ headers: toRecord(form.headers),
+ oauth,
+ disabled,
+ timeout: timeoutConfig,
+ }
+ return { ok: true, input: { server: name, config } }
+}
+
+// Returns the oauth config, or an error key when a numeric field is invalid.
+function buildOauth(form: McpFormState) {
+ if (form.oauthDisableAutodetect) return false as const
+ const port = parsePort(form.callbackPort)
+ if (!port.ok) return port.error
+ const oauth: { client_id?: string; client_secret?: string; scope?: string; callback_port?: number } = {}
+ if (form.clientId.trim() !== "") oauth.client_id = form.clientId.trim()
+ // A blank secret with the "configured" sentinel means the server still
+ // holds the previous credential: omitting client_secret preserves it.
+ if (form.clientSecret.trim() !== "") oauth.client_secret = form.clientSecret
+ if (form.scope.trim() !== "") oauth.scope = form.scope.trim()
+ if (port.value !== undefined) oauth.callback_port = port.value
+ return oauth
+}
+/**
+ * Shape stored in the project config (`Config["mcp"]` entries): `enabled`
+ * instead of `disabled`, and a flat `timeout` number. The add payload uses
+ * `disabled` and a `{startup, catalog, execution}` timeout — these adapters
+ * convert losslessly in both directions (a single flat timeout maps to all
+ * three nested keys and back).
+ */
+export type StoredMcpConfig =
+ | { type: "local"; command: string[]; cwd?: string; environment?: Record; enabled?: boolean; timeout?: number }
+ | {
+ type: "remote"
+ url: string
+ headers?: Record
+ oauth?: { clientId?: string; clientSecret?: string; scope?: string; callbackPort?: number; redirectUri?: string } | false
+ enabled?: boolean
+ timeout?: number
+ }
+
+export function storedToPayloadConfig(stored: StoredMcpConfig): McpServerConfig {
+ const timeout = stored.timeout !== undefined ? { startup: stored.timeout, catalog: stored.timeout, execution: stored.timeout } : undefined
+ const disabled = stored.enabled === undefined ? undefined : !stored.enabled
+ if (stored.type === "local") {
+ return {
+ type: "local",
+ command: stored.command,
+ cwd: stored.cwd,
+ environment: stored.environment,
+ disabled,
+ timeout,
+ }
+ }
+ const storedOauth = stored.oauth
+ const oauth =
+ storedOauth === undefined
+ ? undefined
+ : storedOauth === false
+ ? false
+ : {
+ client_id: storedOauth.clientId,
+ client_secret: storedOauth.clientSecret,
+ scope: storedOauth.scope,
+ callback_port: storedOauth.callbackPort,
+ redirect_uri: storedOauth.redirectUri,
+ }
+ return {
+ type: "remote",
+ url: stored.url,
+ headers: stored.headers,
+ oauth,
+ disabled,
+ timeout,
+ }
+}
diff --git a/packages/app/src/components/settings-v2/mcp.tsx b/packages/app/src/components/settings-v2/mcp.tsx
new file mode 100644
index 000000000000..5ef101eafcbb
--- /dev/null
+++ b/packages/app/src/components/settings-v2/mcp.tsx
@@ -0,0 +1,655 @@
+import { Tag } from "@opencode-ai/ui/v2/badge-v2"
+import { ButtonV2 } from "@opencode-ai/ui/v2/button-v2"
+import { useDialog } from "@opencode-ai/ui/context/dialog"
+import { DividerV2 } from "@opencode-ai/ui/v2/divider-v2"
+import { Dialog, DialogBody, DialogFooter, DialogHeader, DialogTitleGroup } from "@opencode-ai/ui/v2/dialog-v2"
+import { Switch } from "@opencode-ai/ui/v2/switch-v2"
+import { TextInputV2 } from "@opencode-ai/ui/v2/text-input-v2"
+import { For, Show, createMemo, createResource, createSignal, type Component } from "solid-js"
+import type { McpLocalConfig, McpRemoteConfig } from "@opencode-ai/sdk/v2/client"
+import { createStore } from "solid-js/store"
+import { useLanguage } from "@/context/language"
+import { useServerProtocol, useServerSDK } from "@/context/server-sdk"
+import { useServerSync } from "@/context/server-sync"
+import { showToast } from "@/utils/toast"
+import { buildAddInput, emptyForm, formFromConfig, storedToPayloadConfig, type McpFormState, type McpServerConfig } from "./mcp-payload"
+import { SettingsListV2 } from "./parts/list"
+import { SettingsRowV2 } from "./parts/row"
+import "./settings-v2.css"
+
+type McpStatusState =
+ | "connected"
+ | "pending"
+ | "disabled"
+ | "failed"
+ | "needs_auth"
+ | "needs_client_registration"
+
+const statusKey = (status: McpStatusState) =>
+ ({
+ connected: "mcp.status.connected",
+ failed: "mcp.status.failed",
+ needs_auth: "mcp.status.needs_auth",
+ needs_client_registration: "mcp.status.needs_client_registration",
+ disabled: "mcp.status.disabled",
+ pending: "mcp.status.pending",
+ })[status] ?? "mcp.status.failed"
+
+const statusTagVariant = (status: McpStatusState) =>
+ status === "connected" ? "accent" : "neutral"
+
+const asStatusState = (value: unknown): McpStatusState => {
+ const allowed: readonly McpStatusState[] = [
+ "connected",
+ "pending",
+ "disabled",
+ "failed",
+ "needs_auth",
+ "needs_client_registration",
+ ]
+ return typeof value === "string" && (allowed as readonly string[]).includes(value)
+ ? (value as McpStatusState)
+ : "failed"
+}
+
+export const SettingsMcpV2: Component<{ directory?: string }> = (props) => {
+ const language = useLanguage()
+ const dialog = useDialog()
+ const serverSdk = useServerSDK()
+ const serverSync = useServerSync()
+ const protocol = useServerProtocol()
+
+ const [busy, setBusy] = createSignal()
+ const [loadError, setLoadError] = createSignal()
+
+ const location = () => (props.directory ? { location: { directory: props.directory } } : {})
+ const directory = () => (props.directory ? { directory: props.directory } : undefined)
+
+ // The MCP surface used here is the SDK client's `/mcp` routes (status/add/
+ // connect/disconnect), NOT the promise client's `/api/mcp*` — the desktop
+ // sidecar (in-tree server) does not expose `/api/mcp`, and upstream's own
+ // loadMcpQuery/toggleMcp call `legacy.mcp.status()` and `sdk.mcp.*` on both
+ // protocols. Removal has no dedicated route: it unsets `mcp[name]` in the
+ // global config. The promise client's mcp routes only exist on genuine
+ // 1.17-era servers; fall back to them only when the SDK client fails with a
+ // route error (defense in depth for real v1 servers).
+ const mcpApi = () => {
+ const sdk = serverSdk()
+ return {
+ list: async () => {
+ // Protocol is undefined while detection is in flight; the SDK `/mcp`
+ // route is the safe default (the promise client's `/api/mcp` only
+ // exists on genuine 1.17-era servers and hangs/404s elsewhere).
+ if (protocol() !== "v2") {
+ // Matches server-sync.tsx loadMcpQuery v1 path: legacy.mcp.status()
+ // The SDK wraps responses in { data: ... } — loadMcpQuery unwraps the
+ // same way ((await legacy.mcp.status()).data ?? {}).
+ const response = await sdk.client.mcp.status(directory())
+ const status = (response as { data?: Record }).data ?? {}
+ return Object.entries(status).map(([name, value]) => ({ name, status: { status: value.status } }))
+ }
+ const result = await sdk.api.mcp.list(
+ props.directory ? { location: { directory: props.directory } } : undefined,
+ )
+ return result.data ?? []
+ },
+ add: async (server: string, config: McpServerConfig) => {
+ // The v2 schema wants mutable arrays; the payload builder types them readonly.
+ const mutable = (config.type === "local"
+ ? { ...config, command: [...config.command] }
+ : { ...config }) as McpLocalConfig | McpRemoteConfig
+ try {
+ await sdk.client.mcp.add({ name: server, config: mutable, ...directory() })
+ } catch (error) {
+ if (protocol() === "v2") throw error
+ await sdk.api.mcp.add({ server, config, ...location() })
+ }
+ },
+ remove: async (server: string) => {
+ const config = serverSync().data.config
+ const next = { ...config, mcp: { ...config?.mcp } }
+ delete next.mcp[server]
+ try {
+ await sdk.client.global.config.update({ config: next })
+ } catch (error) {
+ if (protocol() === "v2") throw error
+ await sdk.api.mcp.remove({ server, ...location() })
+ }
+ },
+ connect: async (server: string) => {
+ try {
+ await sdk.client.mcp.connect({ name: server, ...directory() })
+ } catch (error) {
+ if (protocol() === "v2") throw error
+ await sdk.api.mcp.connect({ server, ...location() })
+ }
+ },
+ disconnect: async (server: string) => {
+ try {
+ await sdk.client.mcp.disconnect({ name: server, ...directory() })
+ } catch (error) {
+ if (protocol() === "v2") throw error
+ await sdk.api.mcp.disconnect({ server, ...location() })
+ }
+ },
+ }
+ }
+
+ const [servers, serversActions] = createResource(
+ // A resource source of `undefined` would skip the fetcher entirely, so use a
+ // constant source and branch the location inside.
+ () => true,
+ async () => {
+ try {
+ const result = await mcpApi().list()
+ setLoadError(undefined)
+ return result
+ } catch (error) {
+ setLoadError(error instanceof Error ? error.message : String(error))
+ return []
+ }
+ },
+ )
+
+ const sorted = createMemo(() => [...(servers() ?? [])].sort((a, b) => a.name.localeCompare(b.name)))
+
+ const onError = (error: unknown) =>
+ showToast({ variant: "error", description: error instanceof Error ? error.message : String(error) })
+
+ const addServer = async (form: McpFormState, previous?: { name: string; wasConnected: boolean }) => {
+ const built = buildAddInput(form, { keepSecret: previous !== undefined })
+ if (!built.ok) throw new Error(built.error)
+ const api = mcpApi()
+ if (previous) {
+ if (previous.wasConnected) {
+ await api.disconnect(previous.name).catch(() => undefined)
+ }
+ await api.remove(previous.name)
+ }
+ await api.add(built.input.server, built.input.config)
+ }
+
+ const openForm = (initial: McpFormState, previous?: { name: string; wasConnected: boolean }) => {
+ // A reactive store keeps the dialog's toggles, switches, and row editors
+ // updating as the form is mutated (a plain object would render once and
+ // freeze every non-text control).
+ const [form] = createStore({ ...initial, environment: [...initial.environment], headers: [...initial.headers] })
+ void dialog.push(() => (
+
+ ))
+ }
+
+ const onAdd = () => openForm(emptyForm())
+
+ const onEdit = (name: string) => {
+ const existing = serverSync().data.config?.mcp?.[name]
+ if (!existing || !("type" in existing)) {
+ showToast({ variant: "error", description: language.t("settings.mcp.errors.noConfig", { name }) })
+ return
+ }
+ const config = storedToPayloadConfig(existing)
+ const status = (servers() ?? []).find((server) => server.name === name)?.status.status
+ openForm(formFromConfig(name, config), { name, wasConnected: status === "connected" })
+ }
+
+ const connect = async (name: string) => {
+ setBusy(name)
+ try {
+ await mcpApi().connect(name)
+ await serversActions.refetch()
+ } catch (error) {
+ onError(error)
+ } finally {
+ setBusy(undefined)
+ }
+ }
+
+ const disconnect = async (name: string) => {
+ setBusy(name)
+ try {
+ await mcpApi().disconnect(name)
+ await serversActions.refetch()
+ } catch (error) {
+ onError(error)
+ } finally {
+ setBusy(undefined)
+ }
+ }
+
+ const authenticate = async (name: string) => {
+ setBusy(name)
+ try {
+ await serverSdk().client.mcp.auth.authenticate({
+ name,
+ ...(props.directory ? { directory: props.directory } : {}),
+ })
+ await serversActions.refetch()
+ } catch (error) {
+ onError(error)
+ } finally {
+ setBusy(undefined)
+ }
+ }
+
+ const remove = async (name: string) => {
+ setBusy(name)
+ try {
+ await mcpApi().remove(name)
+ showToast({ variant: "success", description: language.t("settings.mcp.deleted", { name }) })
+ await serversActions.refetch()
+ } catch (error) {
+ onError(error)
+ } finally {
+ setBusy(undefined)
+ }
+ }
+
+ const confirmRemove = (name: string) => {
+ void dialog.push(() => (
+
+ ))
+ }
+ const actionRow = (server: { name: string; status: { status: McpStatusState } }) => (
+
+
+ void disconnect(server.name)}
+ >
+ {language.t("settings.mcp.action.disconnect")}
+
+
+
+ void connect(server.name)}
+ >
+ {language.t("settings.mcp.action.connect")}
+
+
+
+ void authenticate(server.name)}
+ >
+ {language.t("settings.mcp.action.authenticate")}
+
+
+ onEdit(server.name)}>
+ {language.t("settings.mcp.action.edit")}
+
+ confirmRemove(server.name)}
+ >
+ {language.t("settings.mcp.action.delete")}
+
+
+ )
+
+ return (
+ <>
+
+
+
+ 0}
+ fallback={
+
+ {language.t("common.loading")}{language.t("common.loading.ellipsis")}>}>
+ {language.t("settings.mcp.errors.refresh")} {loadError()}>}>
+ {language.t("settings.mcp.empty")}
+
+
+
+ }
+ >
+
+
+ {(server) => (
+
+ {language.t(statusKey(asStatusState(server.status?.status)))}
+
+ }
+ >
+ {actionRow({ name: server.name, status: { status: asStatusState(server.status?.status) } })}
+
+ )}
+
+
+
+
+ >
+ )
+}
+const McpFormFields: Component<{
+ form: McpFormState
+ previous?: { name: string; wasConnected: boolean }
+}> = (props) => {
+ const language = useLanguage()
+
+ const label = "text-sm font-medium"
+ const field = "flex flex-col gap-1"
+
+ return (
+
+
+ {language.t("settings.mcp.edit.warn")}
+
+
+
+ (props.form.name = event.currentTarget.value)}
+ />
+
+
+ (props.form.kind = "local")}
+ >
+ {language.t("settings.mcp.type.local")}
+
+ (props.form.kind = "remote")}
+ >
+ {language.t("settings.mcp.type.remote")}
+
+
+
+
+
+ (props.form.command = event.currentTarget.value.split(" ").filter((part) => part !== ""))}
+ />
+
+
+
+ (props.form.cwd = event.currentTarget.value)} />
+
+ props.form.environment}
+ onChange={(rows) => (props.form.environment = rows)}
+ />
+
+
+
+
+ (props.form.url = event.currentTarget.value)}
+ />
+
+ props.form.headers}
+ onChange={(rows) => (props.form.headers = rows)}
+ />
+
+ (props.form.oauthEnabled = value)}
+ />
+
+
+
+
+ (props.form.oauthDisableAutodetect = value)}
+ />
+
+
+
+
+
+
+ (props.form.clientId = event.currentTarget.value)}
+ />
+
+
+
+ (props.form.clientSecret = event.currentTarget.value)}
+ />
+
+
+
+ (props.form.scope = event.currentTarget.value)}
+ />
+
+
+
+ (props.form.callbackPort = event.currentTarget.value)}
+ />
+
+
+
+
+
+
+ (props.form.enabled = value)} />
+
+
+
+
+ (props.form.timeout = event.currentTarget.value)}
+ />
+
+
+ )
+}
+
+const KeyValueRows: Component<{
+ label: string
+ rows: () => { key: string; value: string }[]
+ onChange: (rows: { key: string; value: string }[]) => void
+}> = (props) => {
+ const language = useLanguage()
+ return (
+
+
+
+ {(row, index) => (
+
+ {
+ const next = [...props.rows()]
+ next[index()] = { ...next[index()], key: event.currentTarget.value }
+ props.onChange(next)
+ }}
+ />
+ {
+ const next = [...props.rows()]
+ next[index()] = { ...next[index()], value: event.currentTarget.value }
+ props.onChange(next)
+ }}
+ />
+ props.onChange(props.rows().filter((_, i) => i !== index()))}
+ >
+ {language.t("settings.mcp.form.removeRow")}
+
+
+ )}
+
+ props.onChange([...props.rows(), { key: "", value: "" }])}
+ >
+ {language.t("settings.mcp.form.addRow")}
+
+
+ )
+}
+
+const McpFormSave: Component<{
+ form: McpFormState
+ previous?: { name: string; wasConnected: boolean }
+ existingNames: () => string[]
+ onSave: () => Promise
+ onClose: () => void
+}> = (props) => {
+ const language = useLanguage()
+ const [saving, setSaving] = createSignal(false)
+ const [fieldError, setFieldError] = createSignal()
+
+ const errorText = (field: string | undefined) => {
+ if (field === undefined) return undefined
+ if (["name", "command", "url", "callbackPort", "timeout"].includes(field)) {
+ return language.t(`settings.mcp.form.error.${field}`)
+ }
+ return language.t("settings.mcp.errors.invalid")
+ }
+
+ const save = async () => {
+ const built = buildAddInput(props.form, { keepSecret: props.previous !== undefined })
+ if (!built.ok) {
+ setFieldError(built.error)
+ return
+ }
+ // The server's add endpoint upserts; guard the add flow against replacing an
+ // existing server (edits pass `previous` and intentionally re-add).
+ if (!props.previous && props.existingNames().includes(built.input.server)) {
+ setFieldError("name")
+ showToast({ variant: "error", description: language.t("settings.mcp.errors.duplicate") })
+ return
+ }
+ setSaving(true)
+ setFieldError(undefined)
+ try {
+ await props.onSave()
+ props.onClose()
+ } catch (error) {
+ showToast({ variant: "error", description: error instanceof Error ? error.message : String(error) })
+ } finally {
+ setSaving(false)
+ }
+ }
+
+ return (
+
+
+ {errorText(fieldError())}
+
+ void save()}>
+ {language.t("settings.mcp.form.save")}
+
+
+ )
+}
diff --git a/packages/app/src/components/settings-v2/plugins-types.ts b/packages/app/src/components/settings-v2/plugins-types.ts
new file mode 100644
index 000000000000..45fe2578f4c8
--- /dev/null
+++ b/packages/app/src/components/settings-v2/plugins-types.ts
@@ -0,0 +1,45 @@
+// Shared type contracts between desktop main-process IPC and the app renderer.
+// Keep this file dependency-free so both packages can import it.
+
+export type PluginEntry = string | [name: string, options: Record]
+
+export type CatalogEntry = {
+ name: string
+ description?: string
+ version?: string
+ downloadsLastWeek?: number
+ updatedAt?: string
+ repository?: string
+ onNpm: boolean
+ source: "ecosystem" | "awesome" | "cafe"
+}
+
+export type CatalogResult = { entries: CatalogEntry[]; fetchedAt: number; stale: boolean }
+
+export type RecentlyRemoved = {
+ name: string
+ entry: PluginEntry
+ scope: "global" | "project"
+ removedAt: number
+}
+
+export type PluginConfigsPayload = {
+ global: PluginEntry[]
+ project: PluginEntry[]
+ recentlyRemoved: RecentlyRemoved[]
+ paths: { global: string; project: string | null }
+ /** Present when a scope's config file exists but could not be parsed. */
+ errors?: { scope: "global" | "project"; path: string; message: string }[]
+}
+
+export type PluginManagerPlatform = {
+ fetchCatalog(): Promise
+ readConfigs(projectDir?: string): Promise
+ install(
+ name: string,
+ entry?: PluginEntry,
+ scope?: "global" | "project",
+ projectDir?: string,
+ ): Promise<{ ok: true }>
+ remove(name: string, scope: "global" | "project", remember: boolean, projectDir?: string): Promise<{ ok: true }>
+}
diff --git a/packages/app/src/components/settings-v2/plugins.tsx b/packages/app/src/components/settings-v2/plugins.tsx
new file mode 100644
index 000000000000..ab155d07c81b
--- /dev/null
+++ b/packages/app/src/components/settings-v2/plugins.tsx
@@ -0,0 +1,512 @@
+import fuzzysort from "fuzzysort"
+import { Tag } from "@opencode-ai/ui/v2/badge-v2"
+import { ButtonV2 } from "@opencode-ai/ui/v2/button-v2"
+import { useDialog } from "@opencode-ai/ui/context/dialog"
+import { DividerV2 } from "@opencode-ai/ui/v2/divider-v2"
+import {
+ Dialog,
+ DialogBody,
+ DialogFooter,
+ DialogHeader,
+ DialogTitleGroup,
+} from "@opencode-ai/ui/v2/dialog-v2"
+import { TextInputV2 } from "@opencode-ai/ui/v2/text-input-v2"
+import { type Accessor, type Component, For, Show, createMemo, createResource, createSignal } from "solid-js"
+import { useLanguage } from "@/context/language"
+import { useLayout } from "@/context/layout"
+import { usePlatform } from "@/context/platform"
+import { useServerSync } from "@/context/server-sync"
+import { useTabs } from "@/context/tabs"
+import { showToast } from "@/utils/toast"
+import { SettingsListV2 } from "./parts/list"
+import { SettingsRowV2 } from "./parts/row"
+import type { CatalogEntry, PluginConfigsPayload, PluginEntry } from "./plugins-types"
+import "./settings-v2.css"
+
+const entryName = (entry: PluginEntry) => (typeof entry === "string" ? entry : entry[0])
+
+type Scope = "global" | "project"
+
+const SCOPES: Scope[] = ["global", "project"]
+
+let lastScope: Scope | undefined
+
+const orderedScopes = () => (lastScope ? [lastScope, ...SCOPES.filter((scope) => scope !== lastScope)] : SCOPES)
+
+const EMPTY_CONFIGS: PluginConfigsPayload = {
+ global: [],
+ project: [],
+ recentlyRemoved: [],
+ paths: { global: "", project: null },
+}
+
+const EMPTY_CATALOG = { entries: [], fetchedAt: 0, stale: false }
+
+export const SettingsPluginsV2: Component<{}> = () => {
+ const language = useLanguage()
+ const platform = usePlatform()
+ const dialog = useDialog()
+ const layout = useLayout()
+ const tabs = useTabs()
+ const serverSync = useServerSync()
+
+ const [view, setView] = createSignal<"browse" | "installed">("browse")
+ const [query, setQuery] = createSignal("")
+ const [sourceFilter, setSourceFilter] = createSignal<"all" | "ecosystem" | "awesome" | "cafe">("all")
+ const [busy, setBusy] = createSignal(false)
+ const [copied, setCopied] = createSignal()
+ const [configsError, setConfigsError] = createSignal()
+
+ const projectDir = createMemo(() => {
+ const route = layout.route()
+ if (route.type === "dir-new-sesssion") return route.dir
+ if (route.type === "draft") {
+ const draft = tabs.store.find((item) => item.type === "draft" && item.draftID === route.draftID)
+ return draft?.type === "draft" ? draft.directory : undefined
+ }
+ if (route.type === "session") return serverSync().session.get(route.sessionId)?.directory
+ return undefined
+ })
+
+ const [catalog] = createResource(async () => {
+ const manager = platform.plugins
+ if (!manager) return EMPTY_CATALOG
+ try {
+ return await manager.fetchCatalog()
+ } catch {
+ showToast({ description: language.t("settings.plugins.errors.catalog"), variant: "error" })
+ return EMPTY_CATALOG
+ }
+ })
+
+ const [configs, configsActions] = createResource(projectDir, async (dir) => {
+ const manager = platform.plugins
+ if (!manager) return EMPTY_CONFIGS
+ setConfigsError(undefined)
+ try {
+ const payload = await manager.readConfigs(dir)
+ // Parse failures arrive as structured entries (scope, path, message);
+ // surface the first so the UI can offer the Open-config action.
+ const first = payload.errors?.[0]
+ setConfigsError(first ? first.path : undefined)
+ return payload
+ } catch (error) {
+ const path = (error as { path?: unknown })?.path
+ setConfigsError(
+ typeof path === "string"
+ ? path
+ : error instanceof Error
+ ? error.message.split("\n")[0]
+ : undefined,
+ )
+ return EMPTY_CONFIGS
+ }
+ })
+
+ const filtered = createMemo(() => {
+ const source = sourceFilter()
+ const base = source === "all" ? (catalog()?.entries ?? []) : (catalog()?.entries ?? []).filter((entry) => entry.source === source)
+ const q = query().trim().toLowerCase()
+ if (!q) return base
+ return fuzzysort
+ .go(q, base, {
+ keys: [(entry) => entry.name, (entry) => entry.description ?? ""],
+ })
+ .map((result) => result.obj)
+ })
+
+ const installed = createMemo(() => {
+ const c = configs() ?? EMPTY_CONFIGS
+ return [
+ ...c.global.map((entry) => ({ entry, scope: "global" as Scope })),
+ ...c.project.map((entry) => ({ entry, scope: "project" as Scope })),
+ ]
+ })
+
+ const staleAge = () => {
+ const fetchedAt = catalog()?.fetchedAt
+ if (!fetchedAt) return ""
+ return `${Math.max(1, Math.round((Date.now() - fetchedAt) / 3_600_000))}h`
+ }
+
+ const configSnippet = (entry: CatalogEntry) => JSON.stringify({ plugin: [entry.name] }, null, 2)
+
+ const copySnippet = (entry: CatalogEntry) => {
+ const clipboard = typeof navigator === "undefined" ? undefined : navigator.clipboard
+ if (!clipboard?.writeText) return
+ void clipboard.writeText(configSnippet(entry)).then(() => {
+ setCopied(entry.name)
+ setTimeout(() => setCopied((current) => (current === entry.name ? undefined : current)), 2000)
+ })
+ }
+
+ const openInstall = (name: string, entry?: PluginEntry) => {
+ void dialog.push(() => (
+ void configsActions.refetch()}
+ />
+ ))
+ }
+
+ const remove = async (name: string, scope: Scope, remember: boolean) => {
+ const manager = platform.plugins
+ if (!manager || busy()) return
+ setBusy(true)
+ try {
+ await manager.remove(name, scope, remember, projectDir())
+ void configsActions.refetch()
+ } catch {
+ // Surface the failure; refetch in case the removal partially succeeded.
+ showToast({ description: language.t("common.requestFailed"), variant: "error" })
+ void configsActions.refetch()
+ } finally {
+ setBusy(false)
+ }
+ }
+
+ const confirmUninstall = (name: string, scope: Scope) => {
+ void dialog.push(() => (
+
+ ))
+ }
+
+ const openConfig = (path: string) => {
+ if (platform.platform !== "desktop" || !platform.openPath) return
+ void platform.openPath(path)
+ }
+
+ const formatDownloads = (n?: number) =>
+ n === undefined ? "" : n >= 1000 ? `${Math.round(n / 100) / 10}k` : String(n)
+
+ return (
+ <>
+
+
+
+
+
+
+ {language.t("settings.plugins.stale", { age: staleAge() })}
+
+
+ 0}
+ fallback={
+
+ {catalog.loading
+ ? `${language.t("common.loading")}${language.t("common.loading.ellipsis")}`
+ : language.t("palette.empty")}
+
+ }
+ >
+
+
+ {(entry) => (
+
+ {entry.description}
+
+ {" · "}
+ {formatDownloads(entry.downloadsLastWeek)}/wk
+
+
+ {" · "}
+ {language.t("settings.plugins.detail.notOnNpm")}
+
+ >
+ }
+ >
+
+ copySnippet(entry)}>
+ {copied() === entry.name
+ ? language.t("settings.plugins.detail.copied")
+ : language.t("settings.plugins.detail.copy")}
+
+
+ openInstall(entry.name)}>
+ {language.t("settings.plugins.detail.install")}
+
+
+
+
+ )}
+
+
+
+
+
+
+
+ {(message) => (
+
+ {language.t("settings.plugins.errors.parseFailed", { path: message() })}
+
+ )}
+
+
+
+
+ {(path) => (
+
+ openConfig(path())}>
+ {language.t("settings.plugins.installed.openConfig")}
+
+
+ )}
+
+
+ {(path) => (
+
+ openConfig(path())}>
+ {language.t("settings.plugins.installed.openConfig")}
+
+
+ )}
+
+
+
+ 0}
+ fallback={{language.t("settings.plugins.installed.empty")} }
+ >
+
+
+ {(item) => (
+
+ {item.scope === "global"
+ ? language.t("settings.plugins.installed.provenance.global")
+ : language.t("settings.plugins.installed.provenance.project")}
+
+ }
+ >
+
+ void remove(entryName(item.entry), item.scope, true)}
+ >
+ {language.t("settings.plugins.installed.disable")}
+
+ confirmUninstall(entryName(item.entry), item.scope)}
+ >
+ {language.t("settings.plugins.installed.uninstall")}
+
+
+
+ )}
+
+
+
+ 0}>
+
+ {language.t("settings.plugins.installed.recentlyRemoved")}
+
+
+ {(item) => (
+
+ {item.scope === "global"
+ ? language.t("settings.plugins.installed.provenance.global")
+ : language.t("settings.plugins.installed.provenance.project")}
+
+ }
+ >
+ openInstall(item.name, item.entry)}>
+ {language.t("settings.plugins.installed.enable")}
+
+
+ )}
+
+
+
+
+
+
+ >
+ )
+}
+
+const DialogInstallPlugin: Component<{
+ name: string
+ entry?: PluginEntry
+ projectDir: Accessor
+ onInstalled: () => void
+}> = (props) => {
+ const language = useLanguage()
+ const platform = usePlatform()
+ const dialog = useDialog()
+ const [busy, setBusy] = createSignal(false)
+
+ const doInstall = async (scope: Scope) => {
+ const manager = platform.plugins
+ if (!manager || busy()) return
+ setBusy(true)
+ try {
+ await manager.install(props.name, props.entry, scope, props.projectDir())
+ lastScope = scope
+ showToast({
+ description: language.t("settings.plugins.install.success", { name: props.name }),
+ variant: "success",
+ })
+ props.onInstalled()
+ dialog.close()
+ } catch {
+ // Surface the failure and keep the dialog usable; refetch in case the
+ // install partially succeeded before the error.
+ showToast({ description: language.t("common.requestFailed"), variant: "error" })
+ props.onInstalled()
+ } finally {
+ setBusy(false)
+ }
+ }
+
+ return (
+
+ )
+}
diff --git a/packages/app/src/components/settings-v2/settings-v2.css b/packages/app/src/components/settings-v2/settings-v2.css
index b73269b496df..12044a5700ef 100644
--- a/packages/app/src/components/settings-v2/settings-v2.css
+++ b/packages/app/src/components/settings-v2/settings-v2.css
@@ -488,6 +488,24 @@
color: var(--v2-text-text-base);
}
+.settings-v2-plugins {
+ gap: 16px;
+}
+
+.settings-v2-plugins-note {
+ padding-block: 24px;
+ font-size: 13px;
+ font-weight: 440;
+ line-height: 20px;
+ color: var(--v2-text-text-muted);
+ text-align: center;
+}
+
+.settings-v2-plugins [data-slot="settings-v2-row-description"] {
+ display: flex;
+ align-items: center;
+}
+
.settings-v2-shortcuts .settings-v2-section {
gap: 16px;
}
@@ -727,3 +745,15 @@
line-height: 1;
color: var(--v2-state-fg-danger);
}
+
+.settings-v2-plugins-header .settings-v2-tab-header-row {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 16px;
+}
+
+.settings-v2-plugins-header.settings-v2-tab-header--stacked {
+ gap: 24px;
+ padding-bottom: 24px;
+}
diff --git a/packages/app/src/context/platform.tsx b/packages/app/src/context/platform.tsx
index 0408b233ffa8..71d35b52836f 100644
--- a/packages/app/src/context/platform.tsx
+++ b/packages/app/src/context/platform.tsx
@@ -6,6 +6,7 @@ import { ServerConnection } from "./server"
import type { WslServersPlatform } from "../wsl/types"
import type { UpdaterPlatform } from "../updater"
import type { DraftStore } from "@/utils/draft-store"
+import type { PluginManagerPlatform } from "@/components/settings-v2/plugins-types"
type PickerPaths = string | string[] | null
type OpenDirectoryPickerOptions = { title?: string; multiple?: boolean }
@@ -86,6 +87,9 @@ type PlatformBase = {
/** Manage WSL sidecar servers (Electron on Windows only) */
wslServers?: WslServersPlatform
+ /** Plugin catalog and config management (desktop only) */
+ plugins?: PluginManagerPlatform
+
/** Get the preferred display backend (desktop only) */
getDisplayBackend?(): Promise | DisplayBackend | null
diff --git a/packages/app/src/i18n/am.ts b/packages/app/src/i18n/am.ts
index bda48350e532..34293200fae3 100644
--- a/packages/app/src/i18n/am.ts
+++ b/packages/app/src/i18n/am.ts
@@ -393,6 +393,8 @@ export const dict = {
"mcp.status.connected": "የተገናኘ",
"mcp.status.failed": "ያልተሳካ",
"mcp.status.needs_auth": "auth ያስፈልገዋል",
+ "mcp.status.needs_client_registration": "የደንበኛ ምዝገባ ያስፈልጋል",
+ "mcp.status.pending": "በመገናኘት ላይ…",
"mcp.status.disabled": "የተሰናከለ",
"mcp.auth.clickToAuthenticate": "ለማረጋገጥ ጠቅ ያድርጉ",
"dialog.fork.empty": "አዲስ ቅርንጫፍ ለመፍጠር መልዕክት የለም",
@@ -894,6 +896,83 @@ export const dict = {
"settings.section.server": "አገልጋይ",
"settings.tab.general": "አጠቃላይ",
"settings.tab.shortcuts": "አቋራጮች",
+ "settings.tab.plugins": "ተሰኪዎች",
+ "settings.plugins.section.browse": "ያሂዱ",
+ "settings.plugins.section.installed": "የተጫኑ",
+ "settings.plugins.source.all": "ሁሉንም ምንጮች",
+ "settings.plugins.source.ecosystem": "ኢኮሲስተም",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "አገልጋይ ያክሉ",
+ "settings.mcp.type.local": "አካባቢ",
+ "settings.mcp.type.remote": "ርቀት",
+ "settings.mcp.empty": "የተዋቀሩ የMCP አገልጋዮች የሉም።",
+ "settings.mcp.deleted": "{{name}} ተሰርዟል።",
+ "settings.mcp.errors.refresh": "የMCP አገልጋዮችን መጫን አልተቻለም።",
+ "settings.mcp.status.pending": "በመገናኘት ላይ…",
+ "settings.mcp.action.connect": "አገናኝ",
+ "settings.mcp.action.disconnect": "ግንኙነት አቋርጥ",
+ "settings.mcp.action.authenticate": "ያረጋግጡ",
+ "settings.mcp.action.edit": "አርትዖች",
+ "settings.mcp.action.delete": "ሰርዝ",
+ "settings.mcp.delete.title": "የMCP አገልጋይ ሰርዝ",
+ "settings.mcp.delete.body": "{{name}} ይወገድ? ይህ መመለስ አይቻልም።",
+ "settings.mcp.form.title.add": "የMCP አገልጋይ ያክሉ",
+ "settings.mcp.form.title.edit": "የMCP አገልጋይን ያስተካክሉ",
+ "settings.mcp.form.subtitle": "የግንኙነት ቅንብሮችን ያዋቅሩ።",
+ "settings.mcp.form.name": "ስም",
+ "settings.mcp.form.command": "ትእዛዝ",
+ "settings.mcp.form.command.hint": "ለምሳሌ npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "የሥራ ማውጫ",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "የአካባቢ ተለዋዋጮች",
+ "settings.mcp.form.headers": "ራስጌዎች",
+ "settings.mcp.form.addRow": "ረድፍ ያክሉ",
+ "settings.mcp.form.removeRow": "ያስወግዱ",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "የደንበኛ መለያ",
+ "settings.mcp.form.oauth.clientSecret": "የደንበኛ ሚስጥር",
+ "settings.mcp.form.oauth.clientSecret.keep": "Leave blank to omit — re-authentication may be required",
+ "settings.mcp.form.oauth.scope": "ክልል",
+ "settings.mcp.form.oauth.callbackPort": "የመመለሻ በር",
+ "settings.mcp.form.oauth.disableAutodetect": "የOAuth ራስ-ማወቅን ያጥፉ",
+ "settings.mcp.form.enabled": "አንቅቷል",
+ "settings.mcp.form.timeout": "ጊዜ ገደብ (ms)",
+ "settings.mcp.form.save": "አስቀምጥ",
+ "settings.mcp.form.cancel": "ሰርዝ",
+ "settings.mcp.form.error.name": "ስም ያስገቡ።",
+ "settings.mcp.form.error.command": "ትእዛዝ ያስገቡ።",
+ "settings.mcp.form.error.url": "URL ያስገቡ።",
+ "settings.mcp.form.error.callbackPort": "የመመለሻ በር 1-65535 መካከል መሆን አለበት።",
+ "settings.mcp.form.error.timeout": "ጊዜ ገደብ አዎንታዊ ቁጥር መሆን አለበት።",
+ "settings.mcp.errors.invalid": "የተመረጡ መስኮችን ያስተካክሉ።",
+ "settings.mcp.errors.duplicate": "በዚህ ስም አገልጋይ ቀደም ሲል አለ።",
+ "settings.mcp.errors.noConfig": "{{name}} ን ማንበብ አይቻልም — ከፕሮጀክቱ ውጭ ሊተረጎም ይችላል።",
+ "settings.mcp.edit.warn": "ማስቀመጥ ይህን አገልጋይ እንደገና ያገናኛል።",
+ "settings.plugins.search.placeholder": "ተሰኪዎችን ይፈልጉ…",
+ "settings.plugins.detail.install": "ይጫኑ…",
+ "settings.plugins.detail.copy": "የውቅር ነገር መቀየሪያ ቅንጣት ቅዳ",
+ "settings.plugins.detail.copied": "ተቀድቷል",
+ "settings.plugins.detail.notOnNpm": "በnpm ላይ አልተገኘም — በእጅ ወደ opencode.json ያክሉ",
+ "settings.plugins.install.title": "ተሰኪ ይጫኑ",
+ "settings.plugins.install.description": "{{name}} ወዴት ይጨመር?",
+ "settings.plugins.install.global": "አለም አቀፍ (~/.config/opencode)",
+ "settings.plugins.install.project": "ይህ ፕሮጀክት",
+ "settings.plugins.install.cancel": "ሰርዝ",
+ "settings.plugins.install.success": "{{name}} ተጭኗል። ለመጫን OpenCodeን እንደገና ያስጀምሩ።",
+ "settings.plugins.installed.empty": "ምንም ተሰኪዎች አልተጫኑም።",
+ "settings.plugins.installed.provenance.global": "አለም አቀፍ",
+ "settings.plugins.installed.provenance.project": "ፕሮጀክት",
+ "settings.plugins.installed.disable": "አሰናክል",
+ "settings.plugins.installed.enable": "አንቃቅ",
+ "settings.plugins.installed.uninstall": "አራግፍ",
+ "settings.plugins.installed.uninstallBody": "ከ{{scope}} {{name}}ን ይለቀቅ? ከውቅር ፋይሉ ይሻሸጋል።",
+ "settings.plugins.installed.recentlyRemoved": "በቅርቡ የተወገዱ",
+ "settings.plugins.installed.openConfig": "ውቅር ነገር ክፈፍ",
+ "settings.plugins.errors.parseFailed": "{{path}}ን ማንበብ አልተቻለም — ተሰኪዎችን ለማስተዳደር ፋይሉን ያስተካክሉ ወይም ያስወግዱ።",
+ "settings.plugins.errors.catalog": "የተሰኪ ካታሎግን ማደስ አልተቻለም።",
+ "settings.plugins.stale": "የተቀመጠ ካታሎግ እየታየ ነው ({{age}} ያረጀ)።",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL ውህደት",
"settings.desktop.wsl.description": "የOpenCode አገልጋዩን በWSL ውስጥ በWindows ላይ ያሂዱ።",
@@ -1060,8 +1139,6 @@ export const dict = {
"settings.agents.description": "የወኪል ቅንብሮች እዚህ ይዋቀራሉ።",
"settings.commands.title": "ትዕዛዞች",
"settings.commands.description": "የትእዛዝ ቅንብሮች እዚህ ይዋቀራሉ።",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCPቅንብሮች እዚህ ይዋቀራሉ።",
"settings.permissions.title": "ፍቃዶች",
"settings.permissions.description": "አገልጋዩ በነባሪነት ምን ዓይነት መሳሪያዎችን መጠቀም እንደሚችል ይቆጣጠሩ።",
"settings.permissions.section.tools": "መሳሪያዎች",
diff --git a/packages/app/src/i18n/ar.ts b/packages/app/src/i18n/ar.ts
index 3f55b3084088..062652b19550 100644
--- a/packages/app/src/i18n/ar.ts
+++ b/packages/app/src/i18n/ar.ts
@@ -402,6 +402,8 @@ export const dict = {
"mcp.status.connected": "متصل",
"mcp.status.failed": "فشل",
"mcp.status.needs_auth": "يحتاج إلى مصادقة",
+ "mcp.status.needs_client_registration": "يلزم تسجيل العميل",
+ "mcp.status.pending": "جارٍ الاتصال…",
"mcp.auth.clickToAuthenticate": "انقر للمصادقة",
"mcp.status.disabled": "معطل",
"dialog.fork.empty": "لا توجد رسائل للتفرع منها",
@@ -832,6 +834,83 @@ export const dict = {
"settings.section.server": "الخادم",
"settings.tab.general": "عام",
"settings.tab.shortcuts": "اختصارات",
+ "settings.tab.plugins": "الإضافات",
+ "settings.plugins.section.browse": "استعراض",
+ "settings.plugins.section.installed": "المثبَّتة",
+ "settings.plugins.source.all": "جميع المصادر",
+ "settings.plugins.source.ecosystem": "المنظومة",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "إضافة خادم",
+ "settings.mcp.type.local": "محلي",
+ "settings.mcp.type.remote": "بعيد",
+ "settings.mcp.empty": "لا توجد خوادم MCP مهيأة.",
+ "settings.mcp.deleted": "تم حذف {{name}}.",
+ "settings.mcp.errors.refresh": "تعذّر تحميل خوادم MCP.",
+ "settings.mcp.status.pending": "جارٍ الاتصال…",
+ "settings.mcp.action.connect": "اتصال",
+ "settings.mcp.action.disconnect": "قطع الاتصال",
+ "settings.mcp.action.authenticate": "مصادقة",
+ "settings.mcp.action.edit": "تعديل",
+ "settings.mcp.action.delete": "حذف",
+ "settings.mcp.delete.title": "حذف خادم MCP",
+ "settings.mcp.delete.body": "إزالة {{name}}؟ لا يمكن التراجع.",
+ "settings.mcp.form.title.add": "إضافة خادم MCP",
+ "settings.mcp.form.title.edit": "تعديل خادم MCP",
+ "settings.mcp.form.subtitle": "اضبط إعدادات الاتصال.",
+ "settings.mcp.form.name": "الاسم",
+ "settings.mcp.form.command": "الأمر",
+ "settings.mcp.form.command.hint": "مثال: npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "دليل العمل",
+ "settings.mcp.form.url": "العنوان",
+ "settings.mcp.form.env": "متغيرات البيئة",
+ "settings.mcp.form.headers": "الترويسات",
+ "settings.mcp.form.addRow": "إضافة صف",
+ "settings.mcp.form.removeRow": "إزالة",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "معرّف العميل",
+ "settings.mcp.form.oauth.clientSecret": "سر العميل",
+ "settings.mcp.form.oauth.clientSecret.keep": "اتركه فارغًا للتجاوز — قد تكون إعادة المصادقة مطلوبة",
+ "settings.mcp.form.oauth.scope": "النطاق",
+ "settings.mcp.form.oauth.callbackPort": "منفذ الاستدعاء",
+ "settings.mcp.form.oauth.disableAutodetect": "تعطيل الكشف التلقائي عن OAuth",
+ "settings.mcp.form.enabled": "مُمكَّن",
+ "settings.mcp.form.timeout": "المهلة (ms)",
+ "settings.mcp.form.save": "حفظ",
+ "settings.mcp.form.cancel": "إلغاء",
+ "settings.mcp.form.error.name": "أدخل اسمًا.",
+ "settings.mcp.form.error.command": "أدخل أمرًا.",
+ "settings.mcp.form.error.url": "أدخل عنوان URL.",
+ "settings.mcp.form.error.callbackPort": "يجب أن يكون منفذ الاستدعاء بين 1 و 65535.",
+ "settings.mcp.form.error.timeout": "يجب أن تكون المهلة عددًا صحيحًا موجبًا.",
+ "settings.mcp.errors.invalid": "صحّح الحقول المميزة.",
+ "settings.mcp.errors.duplicate": "يوجد خادم بهذا الاسم بالفعل.",
+ "settings.mcp.errors.noConfig": "لا يمكن قراءة تهيئة {{name}} — قد تكون معرّفة خارج المشروع.",
+ "settings.mcp.edit.warn": "الحفظ يعيد الاتصال بهذا الخادم.",
+ "settings.plugins.search.placeholder": "البحث في الإضافات…",
+ "settings.plugins.detail.install": "تثبيت…",
+ "settings.plugins.detail.copy": "نسخ مقتطف الإعدادات",
+ "settings.plugins.detail.copied": "تم النسخ",
+ "settings.plugins.detail.notOnNpm": "غير موجود على npm — أضِفه يدويًا إلى opencode.json",
+ "settings.plugins.install.title": "تثبيت إضافة",
+ "settings.plugins.install.description": "أين يُضاف {{name}}؟",
+ "settings.plugins.install.global": "عالمي (~/.config/opencode)",
+ "settings.plugins.install.project": "هذا المشروع",
+ "settings.plugins.install.cancel": "إلغاء",
+ "settings.plugins.install.success": "تم تثبيت {{name}}. أعد تشغيل OpenCode لتحميله.",
+ "settings.plugins.installed.empty": "لا توجد إضافات مثبَّتة.",
+ "settings.plugins.installed.provenance.global": "عالمي",
+ "settings.plugins.installed.provenance.project": "مشروع",
+ "settings.plugins.installed.disable": "تعطيل",
+ "settings.plugins.installed.enable": "تفعيل",
+ "settings.plugins.installed.uninstall": "إزالة التثبيت",
+ "settings.plugins.installed.uninstallBody": "هل تريد إزالة تثبيت {{name}} من {{scope}}؟ ستتم إزالته من ملف الإعدادات.",
+ "settings.plugins.installed.recentlyRemoved": "أزيلت حديثًا",
+ "settings.plugins.installed.openConfig": "فتح الإعدادات",
+ "settings.plugins.errors.parseFailed": "تعذّر قراءة {{path}} — صحّح الملف أو احذفه لإدارة الإضافات هناك.",
+ "settings.plugins.errors.catalog": "تعذّر تحديث كتالوج الإضافات.",
+ "settings.plugins.stale": "يُعرض الكتالوج المخزَّن مؤقتًا (منذ {{age}}).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "تكامل WSL",
"settings.desktop.wsl.description": "تشغيل خادم OpenCode داخل WSL على Windows.",
@@ -1004,8 +1083,6 @@ export const dict = {
"settings.agents.description": "ستكون إعدادات الوكيل قابلة للتكوين هنا.",
"settings.commands.title": "الأوامر",
"settings.commands.description": "ستكون إعدادات الأمر قابلة للتكوين هنا.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "ستكون إعدادات MCP قابلة للتكوين هنا.",
"settings.permissions.title": "الأذونات",
"settings.permissions.description": "تحكم في الأدوات التي يمكن للخادم استخدامها بشكل افتراضي.",
"settings.permissions.section.tools": "الأدوات",
diff --git a/packages/app/src/i18n/az.ts b/packages/app/src/i18n/az.ts
index d818ae57fd6c..e1ece2134526 100644
--- a/packages/app/src/i18n/az.ts
+++ b/packages/app/src/i18n/az.ts
@@ -400,6 +400,8 @@ export const dict = {
"mcp.status.connected": "qoşulub",
"mcp.status.failed": "uğursuz",
"mcp.status.needs_auth": "avtorizasiya lazımdır",
+ "mcp.status.needs_client_registration": "müştəri qeydiyyatı tələb olunur",
+ "mcp.status.pending": "qoşulur…",
"mcp.status.disabled": "deaktiv",
"mcp.auth.clickToAuthenticate": "Autentifikasiya üçün klikləyin",
"dialog.fork.empty": "Yeni sessiyaya ayırmaq üçün mesaj yoxdur",
@@ -922,6 +924,83 @@ export const dict = {
"settings.section.server": "Server",
"settings.tab.general": "Ümumi",
"settings.tab.shortcuts": "Qısa yollar",
+ "settings.tab.plugins": "Plaqinlər",
+ "settings.plugins.section.browse": "Gəzin",
+ "settings.plugins.section.installed": "Quraşdırılmış",
+ "settings.plugins.source.all": "Bütün mənbələr",
+ "settings.plugins.source.ecosystem": "Ekosistem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Server əlavə et",
+ "settings.mcp.type.local": "Yerli",
+ "settings.mcp.type.remote": "Uzaq",
+ "settings.mcp.empty": "Konfiqurasiya edilmiş MCP serveri yoxdur.",
+ "settings.mcp.deleted": "{{name}} silindi.",
+ "settings.mcp.errors.refresh": "MCP serverləri yüklənə bilmədi.",
+ "settings.mcp.status.pending": "qoşulur…",
+ "settings.mcp.action.connect": "Qoş",
+ "settings.mcp.action.disconnect": "Ayır",
+ "settings.mcp.action.authenticate": "Doğrula",
+ "settings.mcp.action.edit": "Redaktə",
+ "settings.mcp.action.delete": "Sil",
+ "settings.mcp.delete.title": "MCP serverini sil",
+ "settings.mcp.delete.body": "{{name}} silinsin? Bu geri qaytarıla bilməz.",
+ "settings.mcp.form.title.add": "MCP server əlavə et",
+ "settings.mcp.form.title.edit": "MCP serveri redaktə et",
+ "settings.mcp.form.subtitle": "Bağlantı parametrlərini tənzimlə.",
+ "settings.mcp.form.name": "Ad",
+ "settings.mcp.form.command": "Əmr",
+ "settings.mcp.form.command.hint": "məs. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "İş qovluğu",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Mühit dəyişənləri",
+ "settings.mcp.form.headers": "Başlıqlar",
+ "settings.mcp.form.addRow": "Sətir əlavə et",
+ "settings.mcp.form.removeRow": "Sil",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Müştəri ID",
+ "settings.mcp.form.oauth.clientSecret": "Müştəri sirri",
+ "settings.mcp.form.oauth.clientSecret.keep": "Ötürmək üçün boş buraxın — yenidən autentifikasiya tələb oluna bilər",
+ "settings.mcp.form.oauth.scope": "Sahə",
+ "settings.mcp.form.oauth.callbackPort": "Geriyə zəng portu",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth avtomatik aşkarlamasını söndür",
+ "settings.mcp.form.enabled": "Aktiv",
+ "settings.mcp.form.timeout": "Vaxt məhdudiyyəti (ms)",
+ "settings.mcp.form.save": "Yadda saxla",
+ "settings.mcp.form.cancel": "Ləğv et",
+ "settings.mcp.form.error.name": "Ad daxil edin.",
+ "settings.mcp.form.error.command": "Əmr daxil edin.",
+ "settings.mcp.form.error.url": "URL daxil edin.",
+ "settings.mcp.form.error.callbackPort": "Geriyə zəng portu 1-65535 arasında olmalıdır.",
+ "settings.mcp.form.error.timeout": "Vaxt məhdudiyyəti müsbət tam ədəd olmalıdır.",
+ "settings.mcp.errors.invalid": "Vurğulanmış sahələri düzəldin.",
+ "settings.mcp.errors.duplicate": "Bu adda server artıq mövcuddur.",
+ "settings.mcp.errors.noConfig": "{{name}} üçün konfiqurasiya oxunmur — layihədən kənarda müəyyən edilmiş ola bilər.",
+ "settings.mcp.edit.warn": "Yadda saxlamaq bu serveri yenidən birləşdirir.",
+ "settings.plugins.search.placeholder": "Plaqin axtar…",
+ "settings.plugins.detail.install": "Quraşdır…",
+ "settings.plugins.detail.copy": "Konfiqurasiya parçasını kopyala",
+ "settings.plugins.detail.copied": "Kopyalandı",
+ "settings.plugins.detail.notOnNpm": "npm-də tapılmadı — opencode.json-a əl ilə əlavə edin",
+ "settings.plugins.install.title": "Plaqin quraşdır",
+ "settings.plugins.install.description": "{{name}} haraya əlavə edilsin?",
+ "settings.plugins.install.global": "Qlobal (~/.config/opencode)",
+ "settings.plugins.install.project": "Bu layihə",
+ "settings.plugins.install.cancel": "Ləğv et",
+ "settings.plugins.install.success": "{{name}} quraşdırıldı. Yükləmək üçün OpenCode-u yenidən başladın.",
+ "settings.plugins.installed.empty": "Quraşdırılmış plaqin yoxdur.",
+ "settings.plugins.installed.provenance.global": "Qlobal",
+ "settings.plugins.installed.provenance.project": "Layihə",
+ "settings.plugins.installed.disable": "Söndür",
+ "settings.plugins.installed.enable": "Yandır",
+ "settings.plugins.installed.uninstall": "Silmə",
+ "settings.plugins.installed.uninstallBody": "{{name}} {{scope}} hesabından silinsin? Konfiqurasiya faylından çıxarılacaq.",
+ "settings.plugins.installed.recentlyRemoved": "Yaxın zamanda silinənlər",
+ "settings.plugins.installed.openConfig": "Konfiqurasiyanı aç",
+ "settings.plugins.errors.parseFailed": "{{path}} oxuna bilmir — plaqinləri idarə etmək üçün faylı düzəldin və ya silin.",
+ "settings.plugins.errors.catalog": "Plaqin kataloqu yenilənə bilmədi.",
+ "settings.plugins.stale": "Keşlənmiş kataloq göstərilir ({{age}} əvvəlki).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL inteqrasiyası",
"settings.desktop.wsl.description": "Windows-da WSL daxilində OpenCode serverini işlət.",
@@ -1099,8 +1178,6 @@ export const dict = {
"settings.agents.description": "Agent tənzimləmələri burada konfiqurasiya edilə biləcək.",
"settings.commands.title": "Əmrlər",
"settings.commands.description": "Əmr tənzimləmələri burada konfiqurasiya edilə biləcək.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP tənzimləmələri burada konfiqurasiya edilə biləcək.",
"settings.permissions.title": "İcazələr",
"settings.permissions.description": "Serverin standart olaraq hansı alətləri istifadə edə biləcəyini idarə edin.",
"settings.permissions.section.tools": "Alətlər",
diff --git a/packages/app/src/i18n/bg.ts b/packages/app/src/i18n/bg.ts
index 7f63d1fa4b3e..1059a46e09ff 100644
--- a/packages/app/src/i18n/bg.ts
+++ b/packages/app/src/i18n/bg.ts
@@ -400,6 +400,8 @@ export const dict = {
"mcp.status.connected": "свързан",
"mcp.status.failed": "неуспешно",
"mcp.status.needs_auth": "се нуждае от авт",
+ "mcp.status.needs_client_registration": "изисква регистрация на клиент",
+ "mcp.status.pending": "свързване…",
"mcp.status.disabled": "деактивиран",
"mcp.auth.clickToAuthenticate": "Щракнете за удостоверяване",
"dialog.fork.empty": "Няма съобщения за разклонение",
@@ -919,6 +921,83 @@ export const dict = {
"settings.section.server": "сървър",
"settings.tab.general": "генерал",
"settings.tab.shortcuts": "Преки пътища",
+ "settings.tab.plugins": "Приставки",
+ "settings.plugins.section.browse": "Разглеждане",
+ "settings.plugins.section.installed": "Инсталирани",
+ "settings.plugins.source.all": "Всички източници",
+ "settings.plugins.source.ecosystem": "Екосистема",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Добавяне на сървър",
+ "settings.mcp.type.local": "Локален",
+ "settings.mcp.type.remote": "Отдалечен",
+ "settings.mcp.empty": "Няма конфигурирани MCP сървъри.",
+ "settings.mcp.deleted": "{{name}} е изтрит.",
+ "settings.mcp.errors.refresh": "Сървърите MCP не можаха да се заредят.",
+ "settings.mcp.status.pending": "свързване…",
+ "settings.mcp.action.connect": "Свързване",
+ "settings.mcp.action.disconnect": "Разказване",
+ "settings.mcp.action.authenticate": "Удостоверяване",
+ "settings.mcp.action.edit": "Редактиране",
+ "settings.mcp.action.delete": "Изтриване",
+ "settings.mcp.delete.title": "Изтриване на MCP сървър",
+ "settings.mcp.delete.body": "Да се премахне ли {{name}}? Действието е необратимо.",
+ "settings.mcp.form.title.add": "Добавяне на MCP сървър",
+ "settings.mcp.form.title.edit": "Редактиране на MCP сървър",
+ "settings.mcp.form.subtitle": "Настройте параметрите на връзката.",
+ "settings.mcp.form.name": "Име",
+ "settings.mcp.form.command": "Команда",
+ "settings.mcp.form.command.hint": "напр. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Работна директория",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Променливи на средата",
+ "settings.mcp.form.headers": "Заглавки",
+ "settings.mcp.form.addRow": "Добави ред",
+ "settings.mcp.form.removeRow": "Премахни",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID на клиент",
+ "settings.mcp.form.oauth.clientSecret": "Тайна на клиента",
+ "settings.mcp.form.oauth.clientSecret.keep": "Оставете празно, за да пропуснете — може да е необходима повторна автентикация",
+ "settings.mcp.form.oauth.scope": "Обхват",
+ "settings.mcp.form.oauth.callbackPort": "Порт за обратно извикване",
+ "settings.mcp.form.oauth.disableAutodetect": "Изключи автоматичното откриване на OAuth",
+ "settings.mcp.form.enabled": "Активиран",
+ "settings.mcp.form.timeout": "Изчакване (ms)",
+ "settings.mcp.form.save": "Запази",
+ "settings.mcp.form.cancel": "Отказ",
+ "settings.mcp.form.error.name": "Въведете име.",
+ "settings.mcp.form.error.command": "Въведете команда.",
+ "settings.mcp.form.error.url": "Въведете URL.",
+ "settings.mcp.form.error.callbackPort": "Портът за обратно извикване трябва да е между 1 и 65535.",
+ "settings.mcp.form.error.timeout": "Изчакването трябва да е положително цяло число.",
+ "settings.mcp.errors.invalid": "Коригирайте маркираните полета.",
+ "settings.mcp.errors.duplicate": "Вече съществува сървър с това име.",
+ "settings.mcp.errors.noConfig": "Конфигурацията на {{name}} не може да се прочете — може да е дефинирана извън проекта.",
+ "settings.mcp.edit.warn": "Запазването свързва отново сървъра.",
+ "settings.plugins.search.placeholder": "Търсене на приставки…",
+ "settings.plugins.detail.install": "Инсталиране…",
+ "settings.plugins.detail.copy": "Копиране на откъс от конфигурацията",
+ "settings.plugins.detail.copied": "Копирано",
+ "settings.plugins.detail.notOnNpm": "Не е намерена в npm — добавете ръчно в opencode.json",
+ "settings.plugins.install.title": "Инсталиране на приставка",
+ "settings.plugins.install.description": "Къде да се добави {{name}}?",
+ "settings.plugins.install.global": "Глобално (~/.config/opencode)",
+ "settings.plugins.install.project": "Този проект",
+ "settings.plugins.install.cancel": "Отказ",
+ "settings.plugins.install.success": "{{name}} е инсталирана. Рестартирайте OpenCode, за да се зареди.",
+ "settings.plugins.installed.empty": "Няма инсталирани приставки.",
+ "settings.plugins.installed.provenance.global": "Глобално",
+ "settings.plugins.installed.provenance.project": "Проект",
+ "settings.plugins.installed.disable": "Деактивиране",
+ "settings.plugins.installed.enable": "Активиране",
+ "settings.plugins.installed.uninstall": "Деинсталиране",
+ "settings.plugins.installed.uninstallBody": "Да се деинсталира ли {{name}} от {{scope}}? Ще бъде премахнат от конфигурационния файл.",
+ "settings.plugins.installed.recentlyRemoved": "Наскоро премахнати",
+ "settings.plugins.installed.openConfig": "Отваряне на конфигурацията",
+ "settings.plugins.errors.parseFailed": "{{path}} не може да бъде прочетен — поправете или премахнете файла, за да управлявате приставки там.",
+ "settings.plugins.errors.catalog": "Каталогът на приставките не можа да се обнови.",
+ "settings.plugins.stale": "Показва се кеширан каталог (на {{age}}).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL интеграция",
"settings.desktop.wsl.description": "Стартирайте сървъра OpenCode вътре в WSL на Windows.",
@@ -1099,8 +1178,6 @@ export const dict = {
"settings.agents.description": "Настройките на агента ще могат да се конфигурират тук.",
"settings.commands.title": "Команди",
"settings.commands.description": "Настройките на командите ще могат да се конфигурират тук.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Настройките на MCP ще могат да се конфигурират тук.",
"settings.permissions.title": "Разрешения",
"settings.permissions.description": "Контролирайте какви инструменти сървърът може да използва по подразбиране.",
"settings.permissions.section.tools": "Инструменти",
diff --git a/packages/app/src/i18n/bn.ts b/packages/app/src/i18n/bn.ts
index 5f0698ab64f1..169dcb274ae0 100644
--- a/packages/app/src/i18n/bn.ts
+++ b/packages/app/src/i18n/bn.ts
@@ -397,6 +397,8 @@ export const dict: Record = {
"mcp.status.connected": "সংযুক্ত",
"mcp.status.failed": "ব্যর্থ",
"mcp.status.needs_auth": "প্রমাণ প্রয়োজন",
+ "mcp.status.needs_client_registration": "ক্লায়েন্ট নিবন্ধন প্রয়োজন",
+ "mcp.status.pending": "সংযোগ হচ্ছে…",
"mcp.status.disabled": "অক্ষম",
"mcp.auth.clickToAuthenticate": "প্রমাণীকরণ করতে ক্লিক করুন",
"dialog.fork.empty": "থেকে কাঁটাচামচ কোন বার্তা",
@@ -911,6 +913,83 @@ export const dict: Record = {
"settings.section.server": "সার্ভার",
"settings.tab.general": "সাধারণ",
"settings.tab.shortcuts": "শর্টকাট",
+ "settings.tab.plugins": "প্লাগইন",
+ "settings.plugins.section.browse": "ব্রাউজ",
+ "settings.plugins.section.installed": "ইনস্টল করা",
+ "settings.plugins.source.all": "সব উৎস",
+ "settings.plugins.source.ecosystem": "ইকোসিস্টেম",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "সার্ভার যোগ করুন",
+ "settings.mcp.type.local": "স্থানীয়",
+ "settings.mcp.type.remote": "রিমোট",
+ "settings.mcp.empty": "কোনো MCP সার্ভার কনফিগার করা নেই।",
+ "settings.mcp.deleted": "{{name}} মুছে ফেলা হয়েছে।",
+ "settings.mcp.errors.refresh": "MCP সার্ভার লোড করা যায়নি।",
+ "settings.mcp.status.pending": "সংযোগ হচ্ছে…",
+ "settings.mcp.action.connect": "সংযোগ করুন",
+ "settings.mcp.action.disconnect": "সংযোগ বিচ্ছিন্ন করুন",
+ "settings.mcp.action.authenticate": "প্রমাণীকরণ করুন",
+ "settings.mcp.action.edit": "সম্পাদনা করুন",
+ "settings.mcp.action.delete": "মুছুন",
+ "settings.mcp.delete.title": "MCP সার্ভার মুছুন",
+ "settings.mcp.delete.body": "{{name}} সরাবেন? এটি বাতিল করা যাবে না।",
+ "settings.mcp.form.title.add": "MCP সার্ভার যোগ করুন",
+ "settings.mcp.form.title.edit": "MCP সার্ভার সম্পাদনা করুন",
+ "settings.mcp.form.subtitle": "কানেকশন সেটিংস কনফিগার করুন।",
+ "settings.mcp.form.name": "নাম",
+ "settings.mcp.form.command": "কমান্ড",
+ "settings.mcp.form.command.hint": "যেমন npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "ওয়ার্কিং ডিরেক্টরি",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "এনভায়রনমেন্ট ভেরিয়েবল",
+ "settings.mcp.form.headers": "হেডার",
+ "settings.mcp.form.addRow": "সারি যোগ করুন",
+ "settings.mcp.form.removeRow": "সরান",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ক্লায়েন্ট ID",
+ "settings.mcp.form.oauth.clientSecret": "ক্লায়েন্ট সিক্রেট",
+ "settings.mcp.form.oauth.clientSecret.keep": "বাদ দিতে খালি রাখুন — পুনঃপ্রমাণীকরণ প্রয়োজন হতে পারে",
+ "settings.mcp.form.oauth.scope": "স্কোপ",
+ "settings.mcp.form.oauth.callbackPort": "কলব্যাক পোর্ট",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth অটো-ডিটেকশন নিষ্ক্রিয় করুন",
+ "settings.mcp.form.enabled": "সক্ষম",
+ "settings.mcp.form.timeout": "টাইমআউট (ms)",
+ "settings.mcp.form.save": "সংরক্ষণ করুন",
+ "settings.mcp.form.cancel": "বাতিল",
+ "settings.mcp.form.error.name": "নাম লিখুন।",
+ "settings.mcp.form.error.command": "কমান্ড লিখুন।",
+ "settings.mcp.form.error.url": "URL লিখুন।",
+ "settings.mcp.form.error.callbackPort": "কলব্যাক পোর্ট ১-৬৫৫৩৫ এর মধ্যে হতে হবে।",
+ "settings.mcp.form.error.timeout": "টাইমআউট ধনাত্মক পূর্ণসংখ্যা হতে হবে।",
+ "settings.mcp.errors.invalid": "হাইলাইট করা ফিল্ড ঠিক করুন।",
+ "settings.mcp.errors.duplicate": "এই নামে একটি সার্ভার আগেই আছে।",
+ "settings.mcp.errors.noConfig": "{{name}}-এর কনফিগ পড়া যায়নি — প্রজেক্টের বাইরে সংজ্ঞায়িত হতে পারে।",
+ "settings.mcp.edit.warn": "সংরক্ষণ করলে এই সার্ভার পুনঃসংযুক্ত হবে।",
+ "settings.plugins.search.placeholder": "প্লাগইন খুঁজুন…",
+ "settings.plugins.detail.install": "ইনস্টল করুন…",
+ "settings.plugins.detail.copy": "কনফিগ স্নিপেট কপি করুন",
+ "settings.plugins.detail.copied": "কপি হয়েছে",
+ "settings.plugins.detail.notOnNpm": "npm-এ পাওয়া যায়নি — opencode.json-এ ম্যানুয়ালি যোগ করুন",
+ "settings.plugins.install.title": "প্লাগইন ইনস্টল করুন",
+ "settings.plugins.install.description": "{{name}} কোথায় যোগ হবে?",
+ "settings.plugins.install.global": "গ্লোবাল (~/.config/opencode)",
+ "settings.plugins.install.project": "এই প্রজেক্ট",
+ "settings.plugins.install.cancel": "বাতিল",
+ "settings.plugins.install.success": "{{name}} ইনস্টল হয়েছে। লোড করতে OpenCode পুনরায় চালু করুন।",
+ "settings.plugins.installed.empty": "কোনো প্লাগইন ইনস্টল করা নেই।",
+ "settings.plugins.installed.provenance.global": "গ্লোবাল",
+ "settings.plugins.installed.provenance.project": "প্রজেক্ট",
+ "settings.plugins.installed.disable": "অক্ষম করুন",
+ "settings.plugins.installed.enable": "সক্ষম করুন",
+ "settings.plugins.installed.uninstall": "আনইনস্টল করুন",
+ "settings.plugins.installed.uninstallBody": "{{scope}} থেকে {{name}} আনইনস্টল করবেন? এটি কনফিগ ফাইল থেকে সরিয়ে ফেলা হবে।",
+ "settings.plugins.installed.recentlyRemoved": "সম্প্রতি সরানো",
+ "settings.plugins.installed.openConfig": "কনফিগ খুলুন",
+ "settings.plugins.errors.parseFailed": "{{path}} পড়া যায়নি — প্লাগইন ব্যবস্থাপনার জন্য ফাইলটি ঠিক করুন বা সরান।",
+ "settings.plugins.errors.catalog": "প্লাগইন ক্যাটালগ রিফ্রেশ করা যায়নি।",
+ "settings.plugins.stale": "ক্যাশ করা ক্যাটালগ দেখানো হচ্ছে ({{age}} পুরনো)।",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL ইন্টিগ্রেশন",
"settings.desktop.wsl.description": "Windows-এ WSL-এর ভিতরে OpenCode সার্ভার চালান।",
@@ -1082,8 +1161,6 @@ export const dict: Record = {
"settings.agents.description": "এজেন্ট সেটিংস এখানে কনফিগারযোগ্য হবে।",
"settings.commands.title": "কমান্ড",
"settings.commands.description": "কমান্ড সেটিংস এখানে কনফিগারযোগ্য হবে।",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP সেটিংস এখানে কনফিগার করা যাবে।",
"settings.permissions.title": "অনুমতি",
"settings.permissions.description": "সার্ভার ডিফল্টরূপে কোন সরঞ্জামগুলি ব্যবহার করতে পারে তা নিয়ন্ত্রণ করুন।",
"settings.permissions.section.tools": "টুলস",
diff --git a/packages/app/src/i18n/br.ts b/packages/app/src/i18n/br.ts
index 09da845ccb53..9514df248449 100644
--- a/packages/app/src/i18n/br.ts
+++ b/packages/app/src/i18n/br.ts
@@ -404,6 +404,8 @@ export const dict = {
"mcp.status.connected": "conectado",
"mcp.status.failed": "falhou",
"mcp.status.needs_auth": "precisa de autenticação",
+ "mcp.status.needs_client_registration": "enrolladur pratik rekiset",
+ "mcp.status.pending": "o kevreañ…",
"mcp.auth.clickToAuthenticate": "Clique para autenticar",
"mcp.status.disabled": "desabilitado",
"dialog.fork.empty": "Nenhuma mensagem para bifurcar",
@@ -835,6 +837,83 @@ export const dict = {
"settings.section.server": "Servidor",
"settings.tab.general": "Geral",
"settings.tab.shortcuts": "Atalhos",
+ "settings.tab.plugins": "Pelestradurioù",
+ "settings.plugins.section.browse": "Furchal",
+ "settings.plugins.section.installed": "Staliet",
+ "settings.plugins.source.all": "An holl vammenoù",
+ "settings.plugins.source.ecosystem": "Ekoreizhiad",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Ouzhpennañ un dafariad",
+ "settings.mcp.type.local": "Lec'hel",
+ "settings.mcp.type.remote": "A-bell",
+ "settings.mcp.empty": "N'eus dafariad MCP kefluniet ebet.",
+ "settings.mcp.deleted": "{{name}} dilammet.",
+ "settings.mcp.errors.refresh": "N'haller ket kargañ an dafariadoù MCP.",
+ "settings.mcp.status.pending": "o kevreañ…",
+ "settings.mcp.action.connect": "Kevreañ",
+ "settings.mcp.action.disconnect": "Digevreañ",
+ "settings.mcp.action.authenticate": "Autentikañ",
+ "settings.mcp.action.edit": "Aozañ",
+ "settings.mcp.action.delete": "Diverkañ",
+ "settings.mcp.delete.title": "Diverkañ an dafariad MCP",
+ "settings.mcp.delete.body": "Dilemel {{name}}? An oberiadenn-mañ a zo diaes da zistorel.",
+ "settings.mcp.form.title.add": "Ouzhpennañ un dafariad MCP",
+ "settings.mcp.form.title.edit": "Kemmañ an dafariad MCP",
+ "settings.mcp.form.subtitle": "Kefluniañ arventennoù ar c'hevreadur.",
+ "settings.mcp.form.name": "Anv",
+ "settings.mcp.form.command": "Urzhiad",
+ "settings.mcp.form.command.hint": "da sk. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Teuliad labour",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Argemmoù endro",
+ "settings.mcp.form.headers": "Talbennoù",
+ "settings.mcp.form.addRow": "Ouzhpennañ ul linenn",
+ "settings.mcp.form.removeRow": "Dilemel",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID ar pratik",
+ "settings.mcp.form.oauth.clientSecret": "Sekred ar pratik",
+ "settings.mcp.form.oauth.clientSecret.keep": "Leave blank to omit — re-authentication may be required",
+ "settings.mcp.form.oauth.scope": "Sked",
+ "settings.mcp.form.oauth.callbackPort": "Porzh adgelad",
+ "settings.mcp.form.oauth.disableAutodetect": "Diweredekaat anaoudadur emgefre OAuth",
+ "settings.mcp.form.enabled": "Gweredekaet",
+ "settings.mcp.form.timeout": "Amzer hoc'h_eas (ms)",
+ "settings.mcp.form.save": "Enrollañ",
+ "settings.mcp.form.cancel": "Nullañ",
+ "settings.mcp.form.error.name": "Enankit un anv.",
+ "settings.mcp.form.error.command": "Enankit un urzhiad.",
+ "settings.mcp.form.error.url": "Enankit un URL.",
+ "settings.mcp.form.error.callbackPort": "Ar porzh adgelad a rank bezañ etre 1 ha 65535.",
+ "settings.mcp.form.error.timeout": "An amzer-hed a rank bezañ un niver anterin pozitivel.",
+ "settings.mcp.errors.invalid": "Reizhit ar maezioù usskedet.",
+ "settings.mcp.errors.duplicate": "Bez' ez eus dija un dafariad gant an anv-mañ.",
+ "settings.mcp.errors.noConfig": "Ne c'haller ket lenn kefluniad {{name}} — marteze dielfennet e-maez ar raktres.",
+ "settings.mcp.edit.warn": "Enrollañ a adkevreañs an dafariad-mañ.",
+ "settings.plugins.search.placeholder": "Klask pelestradurioù…",
+ "settings.plugins.detail.install": "Staliañ…",
+ "settings.plugins.detail.copy": "Eilañ ar framm kefluniañ",
+ "settings.plugins.detail.copied": "Eilet",
+ "settings.plugins.detail.notOnNpm": "N'eo ket bet kavet war npm — ouzhpennañ d'ar c'hefluniañ dre zorn",
+ "settings.plugins.install.title": "Staliañ ar pelestredur",
+ "settings.plugins.install.description": "Pelech e vo ouzhpennet {{name}}?",
+ "settings.plugins.install.global": "Hollek (~/.config/opencode)",
+ "settings.plugins.install.project": "Ar raktres-mañ",
+ "settings.plugins.install.cancel": "Nullañ",
+ "settings.plugins.install.success": "{{name}} staliet. Adloc'hit OpenCode evit kargañ anezhañ.",
+ "settings.plugins.installed.empty": "Pelestradur stal ebet.",
+ "settings.plugins.installed.provenance.global": "Hollek",
+ "settings.plugins.installed.provenance.project": "Raktres",
+ "settings.plugins.installed.disable": "Diweredekaat",
+ "settings.plugins.installed.enable": "Gweredekaat",
+ "settings.plugins.installed.uninstall": "Distaliañ",
+ "settings.plugins.installed.uninstallBody": "Díñstalañ {{name}} eus {{scope}}? Dilamet e vo diwar ar restr kefluniañ.",
+ "settings.plugins.installed.recentlyRemoved": "Dilammet nevez zo",
+ "settings.plugins.installed.openConfig": "Digeriñ ar c'hefluniadur",
+ "settings.plugins.errors.parseFailed": "Dibosupl eo lenn {{path}} — reizhit pe dilammit ar restr evit mererezh ar pelestradurioù.",
+ "settings.plugins.errors.catalog": "Dibosupl eo freskaat katalog ar pelestradurioù.",
+ "settings.plugins.stale": "Emañ katalog ar c'heñverva o vezañ diskouezet ({{age}} zo).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "Integração com WSL",
"settings.desktop.wsl.description": "Executar o servidor OpenCode dentro do WSL no Windows.",
@@ -1012,8 +1091,6 @@ export const dict = {
"settings.agents.description": "Configurações de agentes estarão disponíveis aqui.",
"settings.commands.title": "Comandos",
"settings.commands.description": "Configurações de comandos estarão disponíveis aqui.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Configurações de MCP estarão disponíveis aqui.",
"settings.permissions.title": "Permissões",
"settings.permissions.description": "Controle quais ferramentas o servidor pode usar por padrão.",
"settings.permissions.section.tools": "Ferramentas",
diff --git a/packages/app/src/i18n/bs.ts b/packages/app/src/i18n/bs.ts
index feb41c651a87..44d98f764dc5 100644
--- a/packages/app/src/i18n/bs.ts
+++ b/packages/app/src/i18n/bs.ts
@@ -428,6 +428,8 @@ export const dict = {
"mcp.status.connected": "povezano",
"mcp.status.failed": "neuspjelo",
"mcp.status.needs_auth": "potrebna autentifikacija",
+ "mcp.status.needs_client_registration": "potrebna registracija klijenta",
+ "mcp.status.pending": "povezivanje…",
"mcp.auth.clickToAuthenticate": "Klikni za autentifikaciju",
"mcp.status.disabled": "onemogućeno",
@@ -898,6 +900,83 @@ export const dict = {
"settings.section.server": "Server",
"settings.tab.general": "Opšte",
"settings.tab.shortcuts": "Prečice",
+ "settings.tab.plugins": "Dodaci",
+ "settings.plugins.section.browse": "Pregledaj",
+ "settings.plugins.section.installed": "Instalirano",
+ "settings.plugins.source.all": "Svi izvori",
+ "settings.plugins.source.ecosystem": "Ekosistem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Dodaj server",
+ "settings.mcp.type.local": "Lokalni",
+ "settings.mcp.type.remote": "Udaljeni",
+ "settings.mcp.empty": "Nema konfigurisanih MCP servera.",
+ "settings.mcp.deleted": "{{name}} je izbrisan.",
+ "settings.mcp.errors.refresh": "Učitavanje MCP servera nije uspjelo.",
+ "settings.mcp.status.pending": "povezivanje…",
+ "settings.mcp.action.connect": "Poveži",
+ "settings.mcp.action.disconnect": "Odspoji",
+ "settings.mcp.action.authenticate": "Autentificiraj",
+ "settings.mcp.action.edit": "Uredi",
+ "settings.mcp.action.delete": "Izbriši",
+ "settings.mcp.delete.title": "Izbriši MCP server",
+ "settings.mcp.delete.body": "Ukloniti {{name}}? Ovo se ne može poništiti.",
+ "settings.mcp.form.title.add": "Dodaj MCP server",
+ "settings.mcp.form.title.edit": "Uredi MCP server",
+ "settings.mcp.form.subtitle": "Konfiguriši postavke veze.",
+ "settings.mcp.form.name": "Naziv",
+ "settings.mcp.form.command": "Komanda",
+ "settings.mcp.form.command.hint": "npr. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Radni direktorij",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Varijable okoline",
+ "settings.mcp.form.headers": "Zaglavlja",
+ "settings.mcp.form.addRow": "Dodaj red",
+ "settings.mcp.form.removeRow": "Ukloni",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID klijenta",
+ "settings.mcp.form.oauth.clientSecret": "Tajna klijenta",
+ "settings.mcp.form.oauth.clientSecret.keep": "Ostavite prazno za izostavljanje — može biti potrebna ponovna autentifikacija",
+ "settings.mcp.form.oauth.scope": "Opseg",
+ "settings.mcp.form.oauth.callbackPort": "Povratni port",
+ "settings.mcp.form.oauth.disableAutodetect": "Onemogući automatsko otkrivanje OAuth-a",
+ "settings.mcp.form.enabled": "Omogućeno",
+ "settings.mcp.form.timeout": "Vremensko ograničenje (ms)",
+ "settings.mcp.form.save": "Sačuvaj",
+ "settings.mcp.form.cancel": "Otkaži",
+ "settings.mcp.form.error.name": "Unesite naziv.",
+ "settings.mcp.form.error.command": "Unesite komandu.",
+ "settings.mcp.form.error.url": "Unesite URL.",
+ "settings.mcp.form.error.callbackPort": "Povratni port mora biti 1–65535.",
+ "settings.mcp.form.error.timeout": "Vremensko ograničenje mora biti pozitivan cijeli broj.",
+ "settings.mcp.errors.invalid": "Ispravite označena polja.",
+ "settings.mcp.errors.duplicate": "Server sa ovim nazivom već postoji.",
+ "settings.mcp.errors.noConfig": "Konfiguraciju za {{name}} nije moguće pročitati — možda je definisana izvan projekta.",
+ "settings.mcp.edit.warn": "Čuvanje ponovo povezuje ovaj server.",
+ "settings.plugins.search.placeholder": "Traži dodatke…",
+ "settings.plugins.detail.install": "Instaliraj…",
+ "settings.plugins.detail.copy": "Kopiraj isječak konfiguracije",
+ "settings.plugins.detail.copied": "Kopirano",
+ "settings.plugins.detail.notOnNpm": "Nije pronađeno na npm — dodajte ručno u opencode.json",
+ "settings.plugins.install.title": "Instaliraj dodatak",
+ "settings.plugins.install.description": "Gdje dodati {{name}}?",
+ "settings.plugins.install.global": "Globalno (~/.config/opencode)",
+ "settings.plugins.install.project": "Ovaj projekat",
+ "settings.plugins.install.cancel": "Otkaži",
+ "settings.plugins.install.success": "{{name}} je instaliran. Ponovno pokrenite OpenCode da se učita.",
+ "settings.plugins.installed.empty": "Nema instaliranih dodataka.",
+ "settings.plugins.installed.provenance.global": "Globalno",
+ "settings.plugins.installed.provenance.project": "Projekat",
+ "settings.plugins.installed.disable": "Onemogući",
+ "settings.plugins.installed.enable": "Omogući",
+ "settings.plugins.installed.uninstall": "Deinstaliraj",
+ "settings.plugins.installed.uninstallBody": "Deinstalirati {{name}} iz {{scope}}? Biće uklonjen iz konfiguracijske datoteke.",
+ "settings.plugins.installed.recentlyRemoved": "Nedavno uklonjeno",
+ "settings.plugins.installed.openConfig": "Otvori konfiguraciju",
+ "settings.plugins.errors.parseFailed": "Nije moguće čitati {{path}} — popravite ili uklonite datoteku za upravljanje dodacima.",
+ "settings.plugins.errors.catalog": "Nije moguće osvježiti katalog dodataka.",
+ "settings.plugins.stale": "Prikazuje se keširani katalog ({{age}} star).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL integracija",
"settings.desktop.wsl.description": "Pokreni OpenCode server unutar WSL-a na Windowsu.",
@@ -1082,9 +1161,6 @@ export const dict = {
"settings.agents.description": "Postavke agenata će se ovdje moći podešavati.",
"settings.commands.title": "Komande",
"settings.commands.description": "Postavke komandi će se ovdje moći podešavati.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP postavke će se ovdje moći podešavati.",
-
"settings.permissions.title": "Dozvole",
"settings.permissions.description": "Kontroliši koje alate server smije koristiti zadano.",
"settings.permissions.section.tools": "Alati",
diff --git a/packages/app/src/i18n/ca.ts b/packages/app/src/i18n/ca.ts
index 21ad325607a6..505485f90289 100644
--- a/packages/app/src/i18n/ca.ts
+++ b/packages/app/src/i18n/ca.ts
@@ -399,6 +399,8 @@ export const dict = {
"mcp.status.connected": "connectat",
"mcp.status.failed": "fracassat",
"mcp.status.needs_auth": "necessita autenticació",
+ "mcp.status.needs_client_registration": "cal registre de client",
+ "mcp.status.pending": "connectant…",
"mcp.status.disabled": "discapacitat",
"mcp.auth.clickToAuthenticate": "Feu clic per autenticar-vos",
"dialog.fork.empty": "No hi ha missatges per bifurcar",
@@ -922,6 +924,83 @@ export const dict = {
"settings.section.server": "Servidor",
"settings.tab.general": "General",
"settings.tab.shortcuts": "Dreceres",
+ "settings.tab.plugins": "Complements",
+ "settings.plugins.section.browse": "Explora",
+ "settings.plugins.section.installed": "Instal·lats",
+ "settings.plugins.source.all": "Totes les fonts",
+ "settings.plugins.source.ecosystem": "Ecosistema",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Afegeix servidor",
+ "settings.mcp.type.local": "Local",
+ "settings.mcp.type.remote": "Remot",
+ "settings.mcp.empty": "No hi ha servidors MCP configurats.",
+ "settings.mcp.deleted": "{{name}} suprimit.",
+ "settings.mcp.errors.refresh": "No s'han pogut carregar els servidors MCP.",
+ "settings.mcp.status.pending": "connectant…",
+ "settings.mcp.action.connect": "Connecta",
+ "settings.mcp.action.disconnect": "Desconnecta",
+ "settings.mcp.action.authenticate": "Autentica",
+ "settings.mcp.action.edit": "Edita",
+ "settings.mcp.action.delete": "Suprimeix",
+ "settings.mcp.delete.title": "Suprimeix el servidor MCP",
+ "settings.mcp.delete.body": "Voleu suprimir {{name}}? No es pot desfer.",
+ "settings.mcp.form.title.add": "Afegeix un servidor MCP",
+ "settings.mcp.form.title.edit": "Edita el servidor MCP",
+ "settings.mcp.form.subtitle": "Configura els paràmetres de connexió.",
+ "settings.mcp.form.name": "Nom",
+ "settings.mcp.form.command": "Ordre",
+ "settings.mcp.form.command.hint": "p. ex. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Directori de treball",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Variables d'entorn",
+ "settings.mcp.form.headers": "Capçaleres",
+ "settings.mcp.form.addRow": "Afegeix una fila",
+ "settings.mcp.form.removeRow": "Elimina",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID de client",
+ "settings.mcp.form.oauth.clientSecret": "Secret de client",
+ "settings.mcp.form.oauth.clientSecret.keep": "Deixa-ho en blanc per ometre — pot caldre re-autenticació",
+ "settings.mcp.form.oauth.scope": "Àmbit",
+ "settings.mcp.form.oauth.callbackPort": "Port de callback",
+ "settings.mcp.form.oauth.disableAutodetect": "Desactiva la detecció automàtica d'OAuth",
+ "settings.mcp.form.enabled": "Activat",
+ "settings.mcp.form.timeout": "Temps d'espera (ms)",
+ "settings.mcp.form.save": "Desa",
+ "settings.mcp.form.cancel": "Cancel·la",
+ "settings.mcp.form.error.name": "Introdueix un nom.",
+ "settings.mcp.form.error.command": "Introdueix una ordre.",
+ "settings.mcp.form.error.url": "Introdueix una URL.",
+ "settings.mcp.form.error.callbackPort": "El port de callback ha d'estar entre 1 i 65535.",
+ "settings.mcp.form.error.timeout": "El temps d'espera ha de ser un nombre enter positiu.",
+ "settings.mcp.errors.invalid": "Corregeix els camps destacats.",
+ "settings.mcp.errors.duplicate": "Ja existeix un servidor amb aquest nom.",
+ "settings.mcp.errors.noConfig": "No es pot llegir la configuració de {{name}} — pot estar definida fora del projecte.",
+ "settings.mcp.edit.warn": "Desar torna a connectar aquest servidor.",
+ "settings.plugins.search.placeholder": "Cerca complements…",
+ "settings.plugins.detail.install": "Instal·la…",
+ "settings.plugins.detail.copy": "Copia el fragment de configuració",
+ "settings.plugins.detail.copied": "Copiat",
+ "settings.plugins.detail.notOnNpm": "No s'ha trobat a npm — afegeix-lo manualment a opencode.json",
+ "settings.plugins.install.title": "Instal·la el complement",
+ "settings.plugins.install.description": "On s'ha d'afegir {{name}}?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "Aquest projecte",
+ "settings.plugins.install.cancel": "Cancel·la",
+ "settings.plugins.install.success": "{{name}} instal·lat. Reinicia OpenCode per carregar-lo.",
+ "settings.plugins.installed.empty": "No hi ha complements instal·lats.",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "Projecte",
+ "settings.plugins.installed.disable": "Desactiva",
+ "settings.plugins.installed.enable": "Activa",
+ "settings.plugins.installed.uninstall": "Desinstal·la",
+ "settings.plugins.installed.uninstallBody": "Voleu desinstal·lar {{name}} de {{scope}}? S'eliminarà del fitxer de configuració.",
+ "settings.plugins.installed.recentlyRemoved": "Eliminats recentment",
+ "settings.plugins.installed.openConfig": "Obre la configuració",
+ "settings.plugins.errors.parseFailed": "No es pot llegir {{path}} — corregeix o elimina el fitxer per gestionar-hi complements.",
+ "settings.plugins.errors.catalog": "No s'ha pogut actualitzar el catàleg de complements.",
+ "settings.plugins.stale": "Es mostra el catàleg en memòria cau (de fa {{age}}).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL integració",
"settings.desktop.wsl.description": "Executeu el servidor OpenCode dins de WSL a Windows.",
@@ -1102,8 +1181,6 @@ export const dict = {
"settings.agents.description": "La configuració de l'agent es podrà configurar aquí.",
"settings.commands.title": "Ordres",
"settings.commands.description": "La configuració de les ordres es podrà configurar aquí.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "La configuració MCP es podrà configurar aquí.",
"settings.permissions.title": "Permisos",
"settings.permissions.description": "Controleu quines eines pot utilitzar el servidor de manera predeterminada.",
"settings.permissions.section.tools": "Eines",
diff --git a/packages/app/src/i18n/cs.ts b/packages/app/src/i18n/cs.ts
index d79d4eb5a7f8..ee5ed74852ea 100644
--- a/packages/app/src/i18n/cs.ts
+++ b/packages/app/src/i18n/cs.ts
@@ -397,6 +397,8 @@ export const dict = {
"mcp.status.connected": "připojeno",
"mcp.status.failed": "nepodařilo",
"mcp.status.needs_auth": "potřebuje autentizaci",
+ "mcp.status.needs_client_registration": "vyžadována registrace klienta",
+ "mcp.status.pending": "připojování…",
"mcp.status.disabled": "zakázáno",
"mcp.auth.clickToAuthenticate": "Klikněte pro ověření",
"dialog.fork.empty": "Žádné zprávy k rozvětvení",
@@ -918,6 +920,83 @@ export const dict = {
"settings.section.server": "Server",
"settings.tab.general": "Generál",
"settings.tab.shortcuts": "Zkratky",
+ "settings.tab.plugins": "Pluginy",
+ "settings.plugins.section.browse": "Procházet",
+ "settings.plugins.section.installed": "Nainstalované",
+ "settings.plugins.source.all": "Všechny zdroje",
+ "settings.plugins.source.ecosystem": "Ekosystém",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Přidat server",
+ "settings.mcp.type.local": "Lokální",
+ "settings.mcp.type.remote": "Vzdálený",
+ "settings.mcp.empty": "Nejsou nakonfigurovány žádné servery MCP.",
+ "settings.mcp.deleted": "{{name}} odstraněn.",
+ "settings.mcp.errors.refresh": "Nelze načíst servery MCP.",
+ "settings.mcp.status.pending": "připojování…",
+ "settings.mcp.action.connect": "Připojit",
+ "settings.mcp.action.disconnect": "Odpojit",
+ "settings.mcp.action.authenticate": "Autentizovat",
+ "settings.mcp.action.edit": "Upravit",
+ "settings.mcp.action.delete": "Odstranit",
+ "settings.mcp.delete.title": "Odstranit server MCP",
+ "settings.mcp.delete.body": "Odebrat {{name}}? Tuto akci nelze vrátit.",
+ "settings.mcp.form.title.add": "Přidat server MCP",
+ "settings.mcp.form.title.edit": "Upravit server MCP",
+ "settings.mcp.form.subtitle": "Nakonfigurujte nastavení připojení.",
+ "settings.mcp.form.name": "Název",
+ "settings.mcp.form.command": "Příkaz",
+ "settings.mcp.form.command.hint": "např. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Pracovní adresář",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Proměnné prostředí",
+ "settings.mcp.form.headers": "Hlavičky",
+ "settings.mcp.form.addRow": "Přidat řádek",
+ "settings.mcp.form.removeRow": "Odebrat",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID klienta",
+ "settings.mcp.form.oauth.clientSecret": "Tajný klíč klienta",
+ "settings.mcp.form.oauth.clientSecret.keep": "Ponechte prázdné pro vynechání — může být vyžadována opětovná autentizace",
+ "settings.mcp.form.oauth.scope": "Rozsah",
+ "settings.mcp.form.oauth.callbackPort": "Port zpětného volání",
+ "settings.mcp.form.oauth.disableAutodetect": "Zakázat autodetekci OAuth",
+ "settings.mcp.form.enabled": "Povoleno",
+ "settings.mcp.form.timeout": "Časový limit (ms)",
+ "settings.mcp.form.save": "Uložit",
+ "settings.mcp.form.cancel": "Zrušit",
+ "settings.mcp.form.error.name": "Zadejte název.",
+ "settings.mcp.form.error.command": "Zadejte příkaz.",
+ "settings.mcp.form.error.url": "Zadejte URL.",
+ "settings.mcp.form.error.callbackPort": "Port zpětného volání musí být 1 až 65535.",
+ "settings.mcp.form.error.timeout": "Časový limit musí být kladné celé číslo.",
+ "settings.mcp.errors.invalid": "Opravte zvýrazněná pole.",
+ "settings.mcp.errors.duplicate": "Server s tímto názvem už existuje.",
+ "settings.mcp.errors.noConfig": "Konfiguraci {{name}} nelze přečíst — může být definována mimo projekt.",
+ "settings.mcp.edit.warn": "Uložení server znovu připojí.",
+ "settings.plugins.search.placeholder": "Hledat pluginy…",
+ "settings.plugins.detail.install": "Nainstalovat…",
+ "settings.plugins.detail.copy": "Zkopírovat úryvek konfigurace",
+ "settings.plugins.detail.copied": "Zkopírováno",
+ "settings.plugins.detail.notOnNpm": "Nenalezeno na npm — přidejte ručně do opencode.json",
+ "settings.plugins.install.title": "Nainstalovat plugin",
+ "settings.plugins.install.description": "Kam přidat {{name}}?",
+ "settings.plugins.install.global": "Globálně (~/.config/opencode)",
+ "settings.plugins.install.project": "Tento projekt",
+ "settings.plugins.install.cancel": "Zrušit",
+ "settings.plugins.install.success": "{{name}} nainstalován. Restartujte OpenCode, aby se načetl.",
+ "settings.plugins.installed.empty": "Žádné nainstalované pluginy.",
+ "settings.plugins.installed.provenance.global": "Globálně",
+ "settings.plugins.installed.provenance.project": "Projekt",
+ "settings.plugins.installed.disable": "Zakázat",
+ "settings.plugins.installed.enable": "Povolit",
+ "settings.plugins.installed.uninstall": "Odinstalovat",
+ "settings.plugins.installed.uninstallBody": "Odinstalovat {{name}} z {{scope}}? Bude odebrán z konfiguračního souboru.",
+ "settings.plugins.installed.recentlyRemoved": "Nedávno odstraněné",
+ "settings.plugins.installed.openConfig": "Otevřít konfiguraci",
+ "settings.plugins.errors.parseFailed": "Nelze číst {{path}} — opravte nebo odstraňte soubor, chcete-li tam spravovat pluginy.",
+ "settings.plugins.errors.catalog": "Nelze obnovit katalog pluginů.",
+ "settings.plugins.stale": "Zobrazen katalog z mezipaměti ({{age}}).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL integrace",
"settings.desktop.wsl.description": "Spusťte server OpenCode uvnitř WSL na Windows.",
@@ -1093,8 +1172,6 @@ export const dict = {
"settings.agents.description": "Zde bude možné konfigurovat nastavení agenta.",
"settings.commands.title": "Příkazy",
"settings.commands.description": "Zde bude možné konfigurovat nastavení příkazů.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Zde bude možné konfigurovat nastavení MCP.",
"settings.permissions.title": "Oprávnění",
"settings.permissions.description": "Určete, jaké nástroje může server ve výchozím nastavení používat.",
"settings.permissions.section.tools": "Nástroje",
diff --git a/packages/app/src/i18n/da.ts b/packages/app/src/i18n/da.ts
index 87737b094240..5fbd0443e76d 100644
--- a/packages/app/src/i18n/da.ts
+++ b/packages/app/src/i18n/da.ts
@@ -325,6 +325,8 @@ export const dict = {
"mcp.status.connected": "forbundet",
"mcp.status.failed": "mislykkedes",
"mcp.status.needs_auth": "kræver godkendelse",
+ "mcp.status.needs_client_registration": "klientregistrering kræves",
+ "mcp.status.pending": "forbinder…",
"mcp.auth.clickToAuthenticate": "Klik for at godkende",
"mcp.status.disabled": "deaktiveret",
@@ -774,6 +776,83 @@ export const dict = {
"settings.section.server": "Server",
"settings.tab.general": "Generelt",
"settings.tab.shortcuts": "Genveje",
+ "settings.tab.plugins": "Plugins",
+ "settings.plugins.section.browse": "Gennemse",
+ "settings.plugins.section.installed": "Installeret",
+ "settings.plugins.source.all": "Alle kilder",
+ "settings.plugins.source.ecosystem": "Økosystem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Tilføj server",
+ "settings.mcp.type.local": "Lokal",
+ "settings.mcp.type.remote": "Fjern",
+ "settings.mcp.empty": "Ingen MCP-servere konfigureret.",
+ "settings.mcp.deleted": "{{name}} slettet.",
+ "settings.mcp.errors.refresh": "Kunne ikke indlæse MCP-servere.",
+ "settings.mcp.status.pending": "forbinder…",
+ "settings.mcp.action.connect": "Forbind",
+ "settings.mcp.action.disconnect": "Afbryd",
+ "settings.mcp.action.authenticate": "Godkend",
+ "settings.mcp.action.edit": "Redigér",
+ "settings.mcp.action.delete": "Slet",
+ "settings.mcp.delete.title": "Slet MCP-server",
+ "settings.mcp.delete.body": "Fjerne {{name}}? Dette kan ikke fortrydes.",
+ "settings.mcp.form.title.add": "Tilføj MCP-server",
+ "settings.mcp.form.title.edit": "Redigér MCP-server",
+ "settings.mcp.form.subtitle": "Konfigurér forbindelsesindstillingerne.",
+ "settings.mcp.form.name": "Navn",
+ "settings.mcp.form.command": "Kommando",
+ "settings.mcp.form.command.hint": "f.eks. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Arbejdsmappe",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Miljøvariabler",
+ "settings.mcp.form.headers": "Headers",
+ "settings.mcp.form.addRow": "Tilføj række",
+ "settings.mcp.form.removeRow": "Fjern",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Klient-ID",
+ "settings.mcp.form.oauth.clientSecret": "Klienthemmelighed",
+ "settings.mcp.form.oauth.clientSecret.keep": "Lad stå tom for at udelade — ny godkendelse kan være påkrævet",
+ "settings.mcp.form.oauth.scope": "Scope",
+ "settings.mcp.form.oauth.callbackPort": "Callback-port",
+ "settings.mcp.form.oauth.disableAutodetect": "Deaktivér automatisk OAuth-registrering",
+ "settings.mcp.form.enabled": "Aktiveret",
+ "settings.mcp.form.timeout": "Timeout (ms)",
+ "settings.mcp.form.save": "Gem",
+ "settings.mcp.form.cancel": "Annullér",
+ "settings.mcp.form.error.name": "Indtast et navn.",
+ "settings.mcp.form.error.command": "Indtast en kommando.",
+ "settings.mcp.form.error.url": "Indtast en URL.",
+ "settings.mcp.form.error.callbackPort": "Callback-porten skal være mellem 1 og 65535.",
+ "settings.mcp.form.error.timeout": "Timeout skal være et positivt heltal.",
+ "settings.mcp.errors.invalid": "Ret de markerede felter.",
+ "settings.mcp.errors.duplicate": "Der findes allerede en server med dette navn.",
+ "settings.mcp.errors.noConfig": "Kan ikke læse konfigurationen for {{name}} — defineret muligvis uden for projektet.",
+ "settings.mcp.edit.warn": "Gem genopretter forbindelsen til denne server.",
+ "settings.plugins.search.placeholder": "Søg efter plugins…",
+ "settings.plugins.detail.install": "Installer…",
+ "settings.plugins.detail.copy": "Kopiér konfigurationsuddrag",
+ "settings.plugins.detail.copied": "Kopieret",
+ "settings.plugins.detail.notOnNpm": "Ikke fundet på npm — tilføj manuelt til opencode.json",
+ "settings.plugins.install.title": "Installér plugin",
+ "settings.plugins.install.description": "Hvor skal {{name}} tilføjes?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "Dette projekt",
+ "settings.plugins.install.cancel": "Annullér",
+ "settings.plugins.install.success": "{{name}} installeret. Genstart OpenCode for at indlæse det.",
+ "settings.plugins.installed.empty": "Ingen plugins installeret.",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "Projekt",
+ "settings.plugins.installed.disable": "Deaktivér",
+ "settings.plugins.installed.enable": "Aktivér",
+ "settings.plugins.installed.uninstall": "Afinstallér",
+ "settings.plugins.installed.uninstallBody": "Afinstallér {{name}} fra {{scope}}? Det fjernes fra konfigurationsfilen.",
+ "settings.plugins.installed.recentlyRemoved": "For nylig fjernet",
+ "settings.plugins.installed.openConfig": "Åbn konfiguration",
+ "settings.plugins.errors.parseFailed": "Kan ikke læse {{path}} — ret eller fjern filen for at administrere plugins dér.",
+ "settings.plugins.errors.catalog": "Kunne ikke opdatere plugin-kataloget.",
+ "settings.plugins.stale": "Viser cachet katalog ({{age}} gammelt).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL-integration",
"settings.desktop.wsl.description": "Kør OpenCode-serveren inde i WSL på Windows.",
@@ -956,9 +1035,6 @@ export const dict = {
"settings.agents.description": "Agentindstillinger vil kunne konfigureres her.",
"settings.commands.title": "Kommandoer",
"settings.commands.description": "Kommandoindstillinger vil kunne konfigureres her.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP-indstillinger vil kunne konfigureres her.",
-
"settings.permissions.title": "Tilladelser",
"settings.permissions.description": "Styr hvilke værktøjer serveren kan bruge som standard.",
"settings.permissions.section.tools": "Værktøjer",
diff --git a/packages/app/src/i18n/de.ts b/packages/app/src/i18n/de.ts
index 00849598c5c5..04a28cacced5 100644
--- a/packages/app/src/i18n/de.ts
+++ b/packages/app/src/i18n/de.ts
@@ -309,6 +309,8 @@ export const dict = {
"mcp.status.connected": "verbunden",
"mcp.status.failed": "fehlgeschlagen",
"mcp.status.needs_auth": "Authentifizierung erforderlich",
+ "mcp.status.needs_client_registration": "Client-Registrierung nötig",
+ "mcp.status.pending": "verbinden…",
"mcp.auth.clickToAuthenticate": "Zum Authentifizieren klicken",
"mcp.status.disabled": "deaktiviert",
"dialog.fork.empty": "Keine Nachrichten zum Abzweigen vorhanden",
@@ -726,6 +728,83 @@ export const dict = {
"settings.section.server": "Server",
"settings.tab.general": "Allgemein",
"settings.tab.shortcuts": "Tastenkombinationen",
+ "settings.tab.plugins": "Plugins",
+ "settings.plugins.section.browse": "Durchsuchen",
+ "settings.plugins.section.installed": "Installiert",
+ "settings.plugins.source.all": "Alle Quellen",
+ "settings.plugins.source.ecosystem": "Ecosystem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Server hinzufügen",
+ "settings.mcp.type.local": "Lokal",
+ "settings.mcp.type.remote": "Remote",
+ "settings.mcp.empty": "Keine MCP-Server konfiguriert.",
+ "settings.mcp.deleted": "{{name}} gelöscht.",
+ "settings.mcp.errors.refresh": "MCP-Server konnten nicht geladen werden.",
+ "settings.mcp.status.pending": "verbinden…",
+ "settings.mcp.action.connect": "Verbinden",
+ "settings.mcp.action.disconnect": "Trennen",
+ "settings.mcp.action.authenticate": "Authentifizieren",
+ "settings.mcp.action.edit": "Bearbeiten",
+ "settings.mcp.action.delete": "Löschen",
+ "settings.mcp.delete.title": "MCP-Server löschen",
+ "settings.mcp.delete.body": "{{name}} entfernen? Dies kann nicht rückgängig gemacht werden.",
+ "settings.mcp.form.title.add": "MCP-Server hinzufügen",
+ "settings.mcp.form.title.edit": "MCP-Server bearbeiten",
+ "settings.mcp.form.subtitle": "Verbindungseinstellungen konfigurieren.",
+ "settings.mcp.form.name": "Name",
+ "settings.mcp.form.command": "Befehl",
+ "settings.mcp.form.command.hint": "z. B. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Arbeitsverzeichnis",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Umgebungsvariablen",
+ "settings.mcp.form.headers": "Header",
+ "settings.mcp.form.addRow": "Zeile hinzufügen",
+ "settings.mcp.form.removeRow": "Entfernen",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Client-ID",
+ "settings.mcp.form.oauth.clientSecret": "Client-Geheimnis",
+ "settings.mcp.form.oauth.clientSecret.keep": "Leer lassen zum Auslassen — erneute Authentifizierung kann erforderlich sein",
+ "settings.mcp.form.oauth.scope": "Scope",
+ "settings.mcp.form.oauth.callbackPort": "Callback-Port",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth-Autoerkennung deaktivieren",
+ "settings.mcp.form.enabled": "Aktiviert",
+ "settings.mcp.form.timeout": "Zeitlimit (ms)",
+ "settings.mcp.form.save": "Speichern",
+ "settings.mcp.form.cancel": "Abbrechen",
+ "settings.mcp.form.error.name": "Gib einen Namen ein.",
+ "settings.mcp.form.error.command": "Gib einen Befehl ein.",
+ "settings.mcp.form.error.url": "Gib eine URL ein.",
+ "settings.mcp.form.error.callbackPort": "Callback-Port muss eine Zahl zwischen 1 und 65535 sein.",
+ "settings.mcp.form.error.timeout": "Zeitlimit muss eine positive ganze Zahl sein.",
+ "settings.mcp.errors.invalid": "Korrigiere die markierten Felder.",
+ "settings.mcp.errors.duplicate": "Ein Server mit diesem Namen existiert bereits.",
+ "settings.mcp.errors.noConfig": "Konfiguration für {{name}} kann nicht gelesen werden — sie ist evtl. außerhalb der Projektkonfiguration definiert.",
+ "settings.mcp.edit.warn": "Speichern verbindet diesen Server neu.",
+ "settings.plugins.search.placeholder": "Plugins suchen…",
+ "settings.plugins.detail.install": "Installieren…",
+ "settings.plugins.detail.copy": "Konfigurationsausschnitt kopieren",
+ "settings.plugins.detail.copied": "Kopiert",
+ "settings.plugins.detail.notOnNpm": "Nicht auf npm gefunden — manuell in opencode.json eintragen",
+ "settings.plugins.install.title": "Plugin installieren",
+ "settings.plugins.install.description": "Wo soll {{name}} hinzugefügt werden?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "Dieses Projekt",
+ "settings.plugins.install.cancel": "Abbrechen",
+ "settings.plugins.install.success": "{{name}} installiert. OpenCode neu starten, um es zu laden.",
+ "settings.plugins.installed.empty": "Keine Plugins installiert.",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "Projekt",
+ "settings.plugins.installed.disable": "Deaktivieren",
+ "settings.plugins.installed.enable": "Aktivieren",
+ "settings.plugins.installed.uninstall": "Deinstallieren",
+ "settings.plugins.installed.uninstallBody": "{{name}} von {{scope}} deinstallieren? Er wird aus der Konfigurationsdatei entfernt.",
+ "settings.plugins.installed.recentlyRemoved": "Kürzlich entfernt",
+ "settings.plugins.installed.openConfig": "Konfiguration öffnen",
+ "settings.plugins.errors.parseFailed": "{{path}} kann nicht gelesen werden — Datei korrigieren oder entfernen, um Plugins dort zu verwalten.",
+ "settings.plugins.errors.catalog": "Plugin-Katalog konnte nicht aktualisiert werden.",
+ "settings.plugins.stale": "Zeige zwischengespeicherten Katalog ({{age}} alt).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL-Integration",
"settings.desktop.wsl.description": "OpenCode-Server innerhalb von WSL unter Windows ausführen.",
@@ -904,8 +983,6 @@ export const dict = {
"settings.agents.description": "Agenteneinstellungen können hier konfiguriert werden.",
"settings.commands.title": "Befehle",
"settings.commands.description": "Befehlseinstellungen können hier konfiguriert werden.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP-Einstellungen können hier konfiguriert werden.",
"settings.permissions.title": "Berechtigungen",
"settings.permissions.description": "Steuern Sie, welche Tools der Server standardmäßig verwenden darf.",
"settings.permissions.section.tools": "Tools",
diff --git a/packages/app/src/i18n/dv.ts b/packages/app/src/i18n/dv.ts
index 27b5fea86999..6cd789a88655 100644
--- a/packages/app/src/i18n/dv.ts
+++ b/packages/app/src/i18n/dv.ts
@@ -403,6 +403,8 @@ export const dict = {
"mcp.status.connected": "ގުޅިއްޖެއެވެ",
"mcp.status.failed": "ފެއިލްވުން",
"mcp.status.needs_auth": "ބޭނުންވަނީ އޮތޯއެވެ",
+ "mcp.status.needs_client_registration": "ކްލައިންޓް ރެޖިސްޓްރޭޝަން ޖެހޭ",
+ "mcp.status.pending": "ގުޅާލައިފައި…",
"mcp.status.disabled": "ނުކުޅެދޭ",
"mcp.auth.clickToAuthenticate": "ސައްހަ ކުރުމަށް ކްލިކް ކުރާށެވެ",
"dialog.fork.empty": "ފޯކް ކުރާނެ މެސެޖެއް ނެތެވެ",
@@ -927,6 +929,83 @@ export const dict = {
"settings.section.server": "ސަރވަރ އެވެ",
"settings.tab.general": "އާންމު",
"settings.tab.shortcuts": "ޝޯޓްކާޓްސް",
+ "settings.tab.plugins": "ޕްލަގިންތައް",
+ "settings.plugins.section.browse": "ބްރައުޒް",
+ "settings.plugins.section.installed": "އެންސެލްވެފައި",
+ "settings.plugins.source.all": "ހުންނާ އެންމެން",
+ "settings.plugins.source.ecosystem": "އެކޮސިސްޓަމް",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "ސަރވަރ އިތުރުކުރޭ",
+ "settings.mcp.type.local": "ލޯކަލް",
+ "settings.mcp.type.remote": "ރިމޯޓް",
+ "settings.mcp.empty": "ކޮނފިގް ކުރެވިފައިވާ MCP ސަރވަރ ނުވޭނީ.",
+ "settings.mcp.deleted": "{{name}} ފުރައިފައި",
+ "settings.mcp.errors.refresh": "MCP ސަރވަރ ލޯޑް ކުރުން ފޭލް",
+ "settings.mcp.status.pending": "ގުޅާލައިފައި…",
+ "settings.mcp.action.connect": "ގުޅުއާ",
+ "settings.mcp.action.disconnect": "ވަކިކުރޭ",
+ "settings.mcp.action.authenticate": "އެންތެންޓިކޭޓް",
+ "settings.mcp.action.edit": "އެޑިޓް",
+ "settings.mcp.action.delete": "ފުރައި",
+ "settings.mcp.delete.title": "MCP ސަރވަރ ފުރައި",
+ "settings.mcp.delete.body": "{{name}} ފުރައިފައި؟ އެއީ އަނބުރާ ކުރެވޭނެ ކަން ނޫނެވެ.",
+ "settings.mcp.form.title.add": "MCP ސަރވަރ އިތުރު",
+ "settings.mcp.form.title.edit": "MCP ސަރވަރ އެޑިޓް",
+ "settings.mcp.form.subtitle": "ކޮނެކްޝަން ސެޓިންގްސް ކޮންފިގް ކުރޭ.",
+ "settings.mcp.form.name": "ނަން",
+ "settings.mcp.form.command": "ކޮމާންޑް",
+ "settings.mcp.form.command.hint": "މިސާލު npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "ވޯކިންގ ޑައިރެކްޓަރީ",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "އެންވަޔަރަމެންޓް ވެރިއަބަލް",
+ "settings.mcp.form.headers": "ހެޑަރ",
+ "settings.mcp.form.addRow": "ރޮން އިތުރު",
+ "settings.mcp.form.removeRow": "ފުރައި",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ކްލައިންޓް ID",
+ "settings.mcp.form.oauth.clientSecret": "ކްލައިންޓް ސީކްރެޓް",
+ "settings.mcp.form.oauth.clientSecret.keep": "ފުއްވައި ދޫކުރުމަށް — އަލުން އެންތެންޓިކޭޓް ކުރަން ޖެހޭކަން ހުއްޓި",
+ "settings.mcp.form.oauth.scope": "ސްކޯޕް",
+ "settings.mcp.form.oauth.callbackPort": "ކޯލްބެކް ޕޯޓް",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth އޮޓޯ-ޑިޓެކްޝަން އޮފް ކުރޭ",
+ "settings.mcp.form.enabled": "އޮން",
+ "settings.mcp.form.timeout": "ޓައިމްއައުޓް (ms)",
+ "settings.mcp.form.save": "ސޭވް",
+ "settings.mcp.form.cancel": "ކެންސަލް",
+ "settings.mcp.form.error.name": "ނަން ލިޔުމުން ކުރޭ.",
+ "settings.mcp.form.error.command": "ކޮމާންޑް ލިޔުމުން ކުރޭ.",
+ "settings.mcp.form.error.url": "URL ލިޔުމުން ކުރޭ.",
+ "settings.mcp.form.error.callbackPort": "ކޯލްބެކް ޕޯޓް 1-65535 އާދެ ހުންނަން ޖެހޭ.",
+ "settings.mcp.form.error.timeout": "ޓައިމްއައުޓް ޕޮޒިޓިވް އިންޓިޖަރ ވަން ޖެހޭ.",
+ "settings.mcp.errors.invalid": "ހައިލައިޓް ކުރެވިފައިވާ ފީލްޑް ތަންފީސް ކުރޭ.",
+ "settings.mcp.errors.duplicate": "މި ނަންގައި ސަރވަރ ހުރިން އެބަހުއެވެ.",
+ "settings.mcp.errors.noConfig": "{{name}} ގެ ކޮންފިގް ކިޔަން ނުޖެހޭ — ޕްރޮޖެކްޓް ބޭރުން ކަނޑައެޅިފައި ހުރިކަން ހުއްޓި.",
+ "settings.mcp.edit.warn": "ސޭވް ކުރުމުން މި ސަރވަރ އަލަށް ގުޅޭ.",
+ "settings.plugins.search.placeholder": "ޕްލަގިން ހޯދާ…",
+ "settings.plugins.detail.install": "އެންސްޓޯލް",
+ "settings.plugins.detail.copy": "ކޮނފިގް ސްނިޕެޓް ކޮޕީ",
+ "settings.plugins.detail.copied": "ކޮޕީ ކުރެވިފައި",
+ "settings.plugins.detail.notOnNpm": "npm ގައި ނުފެންނާ — opencode.json އަށް ތަކުރުފާރު ގޮތުގައި އިތުރުކުރޭ",
+ "settings.plugins.install.title": "ޕްލަގިން އެންސެލް",
+ "settings.plugins.install.description": "{{name}} ކުރީގެ ކަން އިތުރުކުރާނީ؟",
+ "settings.plugins.install.global": "ގްލޯބަލް (~/.config/opencode)",
+ "settings.plugins.install.project": "މިސްރަސްތުގައި",
+ "settings.plugins.install.cancel": "ކެންސަލް",
+ "settings.plugins.install.success": "{{name}} އެންސެލްވީ. ލޯޑް ކުރުމަށް OpenCode އަލަށް ފައްޅާލާށި.",
+ "settings.plugins.installed.empty": "އެންސެލްވެފައިވާ ޕްލަގިން ނުވޭނީ.",
+ "settings.plugins.installed.provenance.global": "ގްލޯބަލް",
+ "settings.plugins.installed.provenance.project": "މިސްރަސް",
+ "settings.plugins.installed.disable": "ފައިސާރަކުރާ",
+ "settings.plugins.installed.enable": "އެކްޓިވް",
+ "settings.plugins.installed.uninstall": "އެންސްޓޯލް",
+ "settings.plugins.installed.uninstallBody": "{{scope}} އިން {{name}} އަންސްޓޯލް ކުރޭތޯ؟ ކޮންފިގް ފައިލުން ފޮހެލެވޭނެއެވެ.",
+ "settings.plugins.installed.recentlyRemoved": "އެކަށީގަނޑު ފުރައިފައި",
+ "settings.plugins.installed.openConfig": "ކޮނފިގް ހުޅުއާ",
+ "settings.plugins.errors.parseFailed": "{{path}} ވެސް ވަޒަކުރެން ނުވޭނީ — އެ ފާއްދަ އަން ބަދަލު ދިނުމަށް އަދި ފައިލް އަދި ފުރައި",
+ "settings.plugins.errors.catalog": "ތަބައިކޮށް ހުރީ",
+ "settings.plugins.stale": "ކެޗް ކުރެވިފައިވާ ކެޓަލޮގު ދައްކާށެވެ ({{age}} ކުރީގެ).",
"settings.desktop.section.wsl": "WSL އެވެ",
"settings.desktop.wsl.title": "WSL އިންޓަގްރޭޝަން",
"settings.desktop.wsl.description": "Windows ގައި WSL ގެ ތެރޭގައި OpenCode ސަރވަރ ހިންގާށެވެ.",
@@ -1105,8 +1184,6 @@ export const dict = {
"settings.agents.description": "އޭޖެންޓް ސެޓިންގސް މިތަނުގައި ކޮންފިގްރޭޓް ކުރެވޭނެއެވެ.",
"settings.commands.title": "އަމުރުތަކެވެ",
"settings.commands.description": "ކޮމާންޑް ސެޓިންގސް މިތަނުގައި ކޮންފިގްރޭޓް ކުރެވޭނެއެވެ.",
- "settings.mcp.title": "MCP އެވެ",
- "settings.mcp.description": "MCP ސެޓިންގސް މިތަނުގައި ކޮންފިގްރޭޓް ކުރެވޭނެއެވެ.",
"settings.permissions.title": "ހުއްދަތައް",
"settings.permissions.description": "ސަރވަރ އަށް ޑިފޯލްޓްކޮށް ބޭނުންކުރެވޭނީ ކޮން ޓޫލްތަކެއްކަން ކޮންޓްރޯލްކުރުން.",
"settings.permissions.section.tools": "ސާމާނުތައް",
diff --git a/packages/app/src/i18n/dz.ts b/packages/app/src/i18n/dz.ts
index 3b2ad46ca304..1b11bb0e4f0d 100644
--- a/packages/app/src/i18n/dz.ts
+++ b/packages/app/src/i18n/dz.ts
@@ -402,6 +402,8 @@ export const dict: Record = {
"mcp.status.connected": "མཐུད་ཡོད།",
"mcp.status.failed": "མཐར་མ་འཁྱོལ་བ་",
"mcp.status.needs_auth": "auth དགོཔ་ཨིན།",
+ "mcp.status.needs_client_registration": "ཡུ་བོ་དམིགས་བཀར་ཐོ་བཀོད་དགོཔ།",
+ "mcp.status.pending": "མཐུད་དོ།…",
"mcp.status.disabled": "དབང༌པོ༌སྐྱོན༌ཅན༌",
"mcp.auth.clickToAuthenticate": "བདེན་བཤད་འབད་ནི་ལུ་ཨེབ་གཏང་།",
"dialog.fork.empty": "ལས་ཕོརཀ་འབད་ནི་ལུ་འཕྲིན་དོན་མེད།",
@@ -928,6 +930,83 @@ export const dict: Record = {
"settings.section.server": "སར་བར།",
"settings.tab.general": "སྤྱིར༌བཏང",
"settings.tab.shortcuts": "མགྱོགས་ཐབས།",
+ "settings.tab.plugins": "པལ་ག་ཨིན།",
+ "settings.plugins.section.browse": "བརྟག་ཞིབ།",
+ "settings.plugins.section.installed": "བཙུགས་ཟིན།",
+ "settings.plugins.source.all": "ཡོངས་ཁུངས་ཆ་མཉམ།",
+ "settings.plugins.source.ecosystem": "ཨིཀོ་སི་སི་ཊེམ།",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "སར་བར་ཁ་སྐོང་།",
+ "settings.mcp.type.local": "ཉེ་འཁོར།",
+ "settings.mcp.type.remote": "ཐག་རིང།",
+ "settings.mcp.empty": "MCP སར་བར་ གནས་ཚུལ་བཀོད་མེད།",
+ "settings.mcp.deleted": "{{name}} བསྡོམས་ཡོད།",
+ "settings.mcp.errors.refresh": "MCP སར་བར་ ལོག་ནི་མ་འགྲུབ།",
+ "settings.mcp.status.pending": "མཐུད་དོ།…",
+ "settings.mcp.action.connect": "མཐུད།",
+ "settings.mcp.action.disconnect": "མཐུད་མཚམས་བཞག",
+ "settings.mcp.action.authenticate": "རྒྱུ་དཔང་བཟོ།",
+ "settings.mcp.action.edit": "ཞུན་དག",
+ "settings.mcp.action.delete": "བསྡོམས།",
+ "settings.mcp.delete.title": "MCP སར་བར་བསྡོམས།",
+ "settings.mcp.delete.body": "{{name}} རྩ་བ་ལས་བཏོན་ནི་ཨིན་ནམ? ཚུར་ལོག་མི་བ།",
+ "settings.mcp.form.title.add": "MCP སར་བར་ཁ་སྐོང་།",
+ "settings.mcp.form.title.edit": "MCP སར་བར་ཞུན་དག",
+ "settings.mcp.form.subtitle": "མཐུད་ལམ་གཏན་འབེབས་ཚུ་གཞི་སྒྲིག་འབད།",
+ "settings.mcp.form.name": "མིང་།",
+ "settings.mcp.form.command": "བརྡ་བཀོད།",
+ "settings.mcp.form.command.hint": "དཔེར་ན་ npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "ལཱ་གི་སྣོད་ཐོ།",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "མཐུད་ཆ་ཚུ་གཞི་སྒྲིག་འབད།",
+ "settings.mcp.form.headers": "མགོ་མིང་ཚུ།",
+ "settings.mcp.form.addRow": "གྲལ་ཐོག་ཁ་སྐོང་།",
+ "settings.mcp.form.removeRow": "རྩ་བསྐྲད་གཏང་།",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ཨིན་ཊོ་ནི་ཊ་འབྲེལ་མི་དང་།",
+ "settings.mcp.form.oauth.clientSecret": "ཛ་གས་ཀྱི་མི་འབྲེལ།",
+ "settings.mcp.form.oauth.clientSecret.keep": "བཞག་སྟོངམ་སྦེ་གོམ་ཞུན་— ལོག་ཞབས་དཔང་བཤུལ་དགོཔ་འོང་",
+ "settings.mcp.form.oauth.scope": "ཁྱབ་ཚད།",
+ "settings.mcp.form.oauth.callbackPort": "ལོག་འབྲེལ་གྱི་འདོན་ལམ།",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth རང་བཞིན་ཤེས་རྟོག་བཀག་ཆོགཔ།",
+ "settings.mcp.form.enabled": "ལྕོགས་ཅན།",
+ "settings.mcp.form.timeout": "དུས་ཚོད་ཚད་(ms)",
+ "settings.mcp.form.save": "ཉེན་སྲུང།",
+ "settings.mcp.form.cancel": "ཆ་མེད།",
+ "settings.mcp.form.error.name": "མིང་བཙུགས།",
+ "settings.mcp.form.error.command": "བརྡ་བཀོད་བཙུགས།",
+ "settings.mcp.form.error.url": "URL བཙུགས།",
+ "settings.mcp.form.error.callbackPort": "ལོག་འབྲེལ་འདོན་ལམ་ ༡-༦༥༥༣༥ བར་དགོཔ།",
+ "settings.mcp.form.error.timeout": "དུས་ཚོད་ཚད་ཡོད་དགོ ང་བ་ཨིནམ་འདང་ཚད་དགོ།",
+ "settings.mcp.errors.invalid": "དམར་པོ་བཏོན་ཡོད་མི་ས་ཁོངས་ཞུན་དག།མིང་འདི་དང་མཐུན་སར་བར་ཧེ་མ་ལས་ཡོད།",
+ "settings.mcp.errors.duplicate": "མིང་འདི་དང་མཐུན་པའི་སར་བར་ཧེ་མ་ལས་གནས་ཏེ་ཡོདཔ།",
+ "settings.mcp.errors.noConfig": "{{name}} གི་གཞི་སྒྲིག་ལྷག་མ་ཚུགས་— ལས་འགུལ་གྱི་ཕྱི་ཁར་གཞི་བཙུགས་ཡོད་འོང་།",
+ "settings.mcp.edit.warn": "ཉེན་སྲུང་གི་སྐབས་སར་བར་འདི་ལོག་མཐུད་འབད།",
+ "settings.plugins.search.placeholder": "པལ་ག་ཨིན་འཚོལ།…",
+ "settings.plugins.detail.install": "བཙུགས།…",
+ "settings.plugins.detail.copy": "ཀང་ཕིག་ཆ་ཤས་འདྲ་བཤུས།",
+ "settings.plugins.detail.copied": "འདྲ་བཤུས་ཟིན།",
+ "settings.plugins.detail.notOnNpm": "npm གུ་མ་རྙེད — opencode.json ནང་ལག་ཐོག་ལས་ཁ་སྐོང་རྡུང་།",
+ "settings.plugins.install.title": "པལ་ག་ཨིན་བཙུགས།",
+ "settings.plugins.install.description": "{{name}} ག་པ་བཀལ་ནི་ཨིན།",
+ "settings.plugins.install.global": "ཡོངས་ཁྱབ། (~/.config/opencode)",
+ "settings.plugins.install.project": "ལས་འགུལ་འདི།",
+ "settings.plugins.install.cancel": "ཆ་མེད་བཏང་།",
+ "settings.plugins.install.success": "{{name}} བཙུགས་ཡོད། ཡོངས་འབྲེལ་ལས་འཁོར་ནང་བཙུགས་ནི་ལས་ OpenCode ཡང་བསྐྱར་འགོ་བཙུགས།",
+ "settings.plugins.installed.empty": "བཙུགས་ཡོད་པའི་པལ་ག་ཨིན་མེད།",
+ "settings.plugins.installed.provenance.global": "ཡོངས་ཁྱབ།",
+ "settings.plugins.installed.provenance.project": "ལས་འགུལ།",
+ "settings.plugins.installed.disable": "ལས་མེད་བཟོ།",
+ "settings.plugins.installed.enable": "ལས་སྒྲུབ།",
+ "settings.plugins.installed.uninstall": "བཙུགས་བཤོལ།",
+ "settings.plugins.installed.uninstallBody": "{{scope}} ལས་ {{name}} ཡང་འཇུག་བཤོལ་འབད་ནི་ཨིན་ན་? སྒྲིག་སྒྲིག་ཡིག་ཚུད་ལས་རྩ་ཆགས་གཏང་འི་ཨིན།",
+ "settings.plugins.installed.recentlyRemoved": "ད་རིས་བཤོལ་བཏང་ཡོད་པ།",
+ "settings.plugins.installed.openConfig": "ཀང་ཕིག་ཁ་ཕྱེ།",
+ "settings.plugins.errors.parseFailed": "{{path}} ལྷག་མ་ཚུགས — པལ་ག་ཨིན་འགོ་འདྲེན་ལས་ ཡིག་སྣོད་བཟོ་བཅོས་རྡུང་ ཡང་ན་བཤོལ།",
+ "settings.plugins.errors.catalog": "པལ་ག་ཨིན་དཀར་ཆིག་གསར་བསྒྱུར་འབད་མ་ཚུགས།",
+ "settings.plugins.stale": "དཀར་ཆིག་གསོག་འཇོག་འབད་ཡོད་པའི་ ({{age}} སྔོན་མ།) སྟོན་དོ།",
"settings.desktop.section.wsl": "WSL།",
"settings.desktop.wsl.title": "WSL མཉམ་སྡེབ།",
"settings.desktop.wsl.description": "Windowsགུ་ WSLནང་ན་ OpenCodeསར་བར་གཡོག་བཀོལ།",
@@ -1108,8 +1187,6 @@ export const dict: Record = {
"settings.agents.description": "ལས་ཚབ་སྒྲིག་སྟངས་ཚུ་ནཱ་ལུ་རིམ་སྒྲིག་འབད་བཏུབ་འོང་།",
"settings.commands.title": "བརྡ་བཀོད་ཚུ།",
"settings.commands.description": "བརྡ་བཀོད་སྒྲིག་སྟངས་ཚུ་ ནཱ་ལུ་རིམ་སྒྲིག་འབད་བཏུབ་འོང་།",
- "settings.mcp.title": "MCP།",
- "settings.mcp.description": "MCP སྒྲིག་སྟངས་ཚུ་ ནཱ་ལུ་རིམ་སྒྲིག་འབད་བཏུབ་འོང་།",
"settings.permissions.title": "གནང་བ་ཚུ།",
"settings.permissions.description": "སར་བར་གྱིས་སྔོན་སྒྲིག་གིས་ལག་ཆས་ག་ཅི་ལག་ལེན་འཐབ་ཚུགསཔ་ཨིན་ན་ཚད་འཛིན་འབད།",
"settings.permissions.section.tools": "ཐབས༌ཤེས",
diff --git a/packages/app/src/i18n/el.ts b/packages/app/src/i18n/el.ts
index 8f91b46af010..b5f0ed3aebc2 100644
--- a/packages/app/src/i18n/el.ts
+++ b/packages/app/src/i18n/el.ts
@@ -399,6 +399,8 @@ export const dict = {
"mcp.status.connected": "συνδεδεμένος",
"mcp.status.failed": "απέτυχε",
"mcp.status.needs_auth": "χρειάζεται εξουσιοδότηση",
+ "mcp.status.needs_client_registration": "απαιτείται καταχώρηση πελάτη",
+ "mcp.status.pending": "σύνδεση…",
"mcp.status.disabled": "απενεργοποιημένο",
"mcp.auth.clickToAuthenticate": "Κάντε κλικ για έλεγχο ταυτότητας",
"dialog.fork.empty": "Δεν υπάρχουν μηνύματα για διακλάδωση",
@@ -923,6 +925,83 @@ export const dict = {
"settings.section.server": "Διακομιστής",
"settings.tab.general": "Γενικά",
"settings.tab.shortcuts": "Συντομεύσεις",
+ "settings.tab.plugins": "Πρόσθετα",
+ "settings.plugins.section.browse": "Περιήγηση",
+ "settings.plugins.section.installed": "Εγκατεστημένα",
+ "settings.plugins.source.all": "Όλες οι πηγές",
+ "settings.plugins.source.ecosystem": "Οικοσύστημα",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Προσθήκη διακομιστή",
+ "settings.mcp.type.local": "Τοπικός",
+ "settings.mcp.type.remote": "Απομακρυσμένος",
+ "settings.mcp.empty": "Δεν έχουν ρυθμιστεί διακομιστές MCP.",
+ "settings.mcp.deleted": "Διαγράφηκε ο {{name}}.",
+ "settings.mcp.errors.refresh": "Αδύνατη η φόρτωση διακομιστών MCP.",
+ "settings.mcp.status.pending": "σύνδεση…",
+ "settings.mcp.action.connect": "Σύνδεση",
+ "settings.mcp.action.disconnect": "Αποσύνδεση",
+ "settings.mcp.action.authenticate": "Πιστοποίηση",
+ "settings.mcp.action.edit": "Επεξεργασία",
+ "settings.mcp.action.delete": "Διαγραφή",
+ "settings.mcp.delete.title": "Διαγραφή διακομιστή MCP",
+ "settings.mcp.delete.body": "Να αφαιρεθεί το {{name}}; Η ενέργεια είναι μη αναστρέψιμη.",
+ "settings.mcp.form.title.add": "Προσθήκη διακομιστή MCP",
+ "settings.mcp.form.title.edit": "Επεξεργασία διακομιστή MCP",
+ "settings.mcp.form.subtitle": "Ρυθμίστε τις παραμέτρους σύνδεσης.",
+ "settings.mcp.form.name": "Όνομα",
+ "settings.mcp.form.command": "Εντολή",
+ "settings.mcp.form.command.hint": "π.χ. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Κατάλογος εργασίας",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Μεταβλητές περιβάλλοντος",
+ "settings.mcp.form.headers": "Κεφαλίδες",
+ "settings.mcp.form.addRow": "Προσθήκη γραμμής",
+ "settings.mcp.form.removeRow": "Αφαίρεση",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID πελάτη",
+ "settings.mcp.form.oauth.clientSecret": "Μυστικό πελάτη",
+ "settings.mcp.form.oauth.clientSecret.keep": "Αφήστε κενό για παράλειψη — ενδέχεται να απαιτηται εκ νέου πιστοποίηση",
+ "settings.mcp.form.oauth.scope": "Εύρος",
+ "settings.mcp.form.oauth.callbackPort": "Θύρα επιστροφής κλήσης",
+ "settings.mcp.form.oauth.disableAutodetect": "Απενεργοποίηση αυτόματης ανίχνευσης OAuth",
+ "settings.mcp.form.enabled": "Ενεργοποιημένο",
+ "settings.mcp.form.timeout": "Χρονικό όριο (ms)",
+ "settings.mcp.form.save": "Αποθήκευση",
+ "settings.mcp.form.cancel": "Ακύρωση",
+ "settings.mcp.form.error.name": "Εισάγετε όνομα.",
+ "settings.mcp.form.error.command": "Εισάγετε εντολή.",
+ "settings.mcp.form.error.url": "Εισάγετε URL.",
+ "settings.mcp.form.error.callbackPort": "Η θύρα callback πρέπει να είναι 1-65535.",
+ "settings.mcp.form.error.timeout": "Το χρονικό όριο πρέπει να είναι θετικός ακέραιος.",
+ "settings.mcp.errors.invalid": "Διορθώστε τα επισημασμένα πεδία.",
+ "settings.mcp.errors.duplicate": "Υπάρχει ήδη διακομιστής με αυτό το όνομα.",
+ "settings.mcp.errors.noConfig": "Δεν είναι δυνατή η ανάγνωση της διαμόρφωσης του {{name}} — μπορεί να ορίζεται εκτός έργου.",
+ "settings.mcp.edit.warn": "Η αποθήκευση επανασυνδέει τον διακομιστή.",
+ "settings.plugins.search.placeholder": "Αναζήτηση πρόσθετων…",
+ "settings.plugins.detail.install": "Εγκατάσταση…",
+ "settings.plugins.detail.copy": "Αντιγραφή τμήματος ρυθμίσεων",
+ "settings.plugins.detail.copied": "Αντιγράφηκε",
+ "settings.plugins.detail.notOnNpm": "Δεν βρέθηκε στο npm — προσθέστε το χειροκίνητα στο opencode.json",
+ "settings.plugins.install.title": "Εγκατάσταση πρόσθετου",
+ "settings.plugins.install.description": "Πού θα προστεθεί το {{name}};",
+ "settings.plugins.install.global": "Καθολικά (~/.config/opencode)",
+ "settings.plugins.install.project": "Αυτό το έργο",
+ "settings.plugins.install.cancel": "Ακύρωση",
+ "settings.plugins.install.success": "Το {{name}} εγκαταστάθηκε. Επανεκκινήστε το OpenCode για να φορτώσει.",
+ "settings.plugins.installed.empty": "Δεν υπάρχουν εγκατεστημένα πρόσθετα.",
+ "settings.plugins.installed.provenance.global": "Καθολικά",
+ "settings.plugins.installed.provenance.project": "Έργο",
+ "settings.plugins.installed.disable": "Απενεργοποίηση",
+ "settings.plugins.installed.enable": "Ενεργοποίηση",
+ "settings.plugins.installed.uninstall": "Απεγκατάσταση",
+ "settings.plugins.installed.uninstallBody": "Να γίνει απεγκατάσταση του {{name}} από {{scope}}; Θα αφαιρεθεί από το αρχείο ρυθμίσεων.",
+ "settings.plugins.installed.recentlyRemoved": "Πρόσφατα αφαιρεθέντα",
+ "settings.plugins.installed.openConfig": "Άνοιγμα ρυθμίσεων",
+ "settings.plugins.errors.parseFailed": "Δεν είναι δυνατή η ανάγνωση του {{path}} — διορθώστε ή αφαιρέστε το αρχείο για διαχείριση πρόσθετων.",
+ "settings.plugins.errors.catalog": "Δεν ήταν δυνατή η ανανέωση του καταλόγου πρόσθετων.",
+ "settings.plugins.stale": "Εμφανίζεται καταλόγος από την προσωρινή μνήμη ({{age}} πριν).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL ενσωμάτωση",
"settings.desktop.wsl.description": "Εκτέλεση του διακομιστή OpenCode μέσα στο WSL στο Windows.",
@@ -1102,8 +1181,6 @@ export const dict = {
"settings.agents.description": "Οι ρυθμίσεις πρακτόρων μπορούν να διαμορφωθούν εδώ.",
"settings.commands.title": "Εντολές",
"settings.commands.description": "Οι ρυθμίσεις εντολών θα μπορούν να διαμορφωθούν εδώ.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP οι ρυθμίσεις θα μπορούν να διαμορφωθούν εδώ.",
"settings.permissions.title": "Δικαιώματα",
"settings.permissions.description": "Ελέγξτε ποια εργαλεία μπορεί να χρησιμοποιήσει ο διακομιστής από προεπιλογή.",
"settings.permissions.section.tools": "Εργαλεία",
diff --git a/packages/app/src/i18n/en.ts b/packages/app/src/i18n/en.ts
index 62d4dc1ae6e9..d13ac8f608d3 100644
--- a/packages/app/src/i18n/en.ts
+++ b/packages/app/src/i18n/en.ts
@@ -330,6 +330,8 @@ export const dict = {
"mcp.status.connected": "connected",
"mcp.status.failed": "failed",
"mcp.status.needs_auth": "needs auth",
+ "mcp.status.needs_client_registration": "needs client registration",
+ "mcp.status.pending": "connecting…",
"mcp.status.disabled": "disabled",
"mcp.auth.clickToAuthenticate": "Click to authenticate",
@@ -893,6 +895,83 @@ export const dict = {
"settings.section.server": "Server",
"settings.tab.general": "General",
"settings.tab.shortcuts": "Shortcuts",
+ "settings.tab.plugins": "Plugins",
+ "settings.plugins.section.browse": "Browse",
+ "settings.plugins.section.installed": "Installed",
+ "settings.plugins.source.all": "All sources",
+ "settings.plugins.source.ecosystem": "Ecosystem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Add server",
+ "settings.mcp.type.local": "Local",
+ "settings.mcp.type.remote": "Remote",
+ "settings.mcp.empty": "No MCP servers configured.",
+ "settings.mcp.deleted": "Deleted {{name}}.",
+ "settings.mcp.errors.refresh": "Could not load MCP servers.",
+ "settings.mcp.status.pending": "connecting…",
+ "settings.mcp.action.connect": "Connect",
+ "settings.mcp.action.disconnect": "Disconnect",
+ "settings.mcp.action.authenticate": "Authenticate",
+ "settings.mcp.action.edit": "Edit",
+ "settings.mcp.action.delete": "Delete",
+ "settings.mcp.delete.title": "Delete MCP server",
+ "settings.mcp.delete.body": "Remove {{name}}? This cannot be undone.",
+ "settings.mcp.form.title.add": "Add MCP server",
+ "settings.mcp.form.title.edit": "Edit MCP server",
+ "settings.mcp.form.subtitle": "Configure the connection settings.",
+ "settings.mcp.form.name": "Name",
+ "settings.mcp.form.command": "Command",
+ "settings.mcp.form.command.hint": "e.g. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Working directory",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Environment variables",
+ "settings.mcp.form.headers": "Headers",
+ "settings.mcp.form.addRow": "Add row",
+ "settings.mcp.form.removeRow": "Remove",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Client ID",
+ "settings.mcp.form.oauth.clientSecret": "Client secret",
+ "settings.mcp.form.oauth.clientSecret.keep": "Leave blank to omit — re-authentication may be required",
+ "settings.mcp.form.oauth.scope": "Scope",
+ "settings.mcp.form.oauth.callbackPort": "Callback port",
+ "settings.mcp.form.oauth.disableAutodetect": "Disable OAuth auto-detection",
+ "settings.mcp.form.enabled": "Enabled",
+ "settings.mcp.form.timeout": "Timeout (ms)",
+ "settings.mcp.form.save": "Save",
+ "settings.mcp.form.cancel": "Cancel",
+ "settings.mcp.form.error.name": "Enter a name.",
+ "settings.mcp.form.error.command": "Enter a command.",
+ "settings.mcp.form.error.url": "Enter a URL.",
+ "settings.mcp.form.error.callbackPort": "Callback port must be a number between 1 and 65535.",
+ "settings.mcp.form.error.timeout": "Timeout must be a positive whole number.",
+ "settings.mcp.errors.invalid": "Fix the highlighted fields.",
+ "settings.mcp.errors.duplicate": "A server with this name already exists.",
+ "settings.mcp.errors.noConfig": "Cannot read the config for {{name}} — it may be defined outside this project's config.",
+ "settings.mcp.edit.warn": "Saving reconnects this server.",
+ "settings.plugins.search.placeholder": "Search plugins…",
+ "settings.plugins.detail.install": "Install…",
+ "settings.plugins.detail.copy": "Copy config snippet",
+ "settings.plugins.detail.copied": "Copied",
+ "settings.plugins.detail.notOnNpm": "Not found on npm — add manually to opencode.json",
+ "settings.plugins.install.title": "Install plugin",
+ "settings.plugins.install.description": "Where should {{name}} be added?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "This project",
+ "settings.plugins.install.cancel": "Cancel",
+ "settings.plugins.install.success": "Installed {{name}}. Restart OpenCode to load it.",
+ "settings.plugins.installed.empty": "No plugins installed.",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "Project",
+ "settings.plugins.installed.disable": "Disable",
+ "settings.plugins.installed.enable": "Enable",
+ "settings.plugins.installed.uninstall": "Uninstall",
+ "settings.plugins.installed.uninstallBody": "Uninstall {{name}} from {{scope}}? It will be removed from the config file.",
+ "settings.plugins.installed.recentlyRemoved": "Recently removed",
+ "settings.plugins.installed.openConfig": "Open config",
+ "settings.plugins.errors.parseFailed": "Cannot read {{path}} — fix or remove it to manage plugins there.",
+ "settings.plugins.errors.catalog": "Could not refresh the plugin catalog.",
+ "settings.plugins.stale": "Showing cached catalog ({{age}} old).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL integration",
"settings.desktop.wsl.description": "Run the OpenCode server inside WSL on Windows.",
@@ -1076,9 +1155,6 @@ export const dict = {
"settings.agents.description": "Agent settings will be configurable here.",
"settings.commands.title": "Commands",
"settings.commands.description": "Command settings will be configurable here.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP settings will be configurable here.",
-
"settings.permissions.title": "Permissions",
"settings.permissions.description": "Control what tools the server can use by default.",
"settings.permissions.section.tools": "Tools",
diff --git a/packages/app/src/i18n/es.ts b/packages/app/src/i18n/es.ts
index 9e9ff2c36750..e8562ae57513 100644
--- a/packages/app/src/i18n/es.ts
+++ b/packages/app/src/i18n/es.ts
@@ -429,6 +429,8 @@ export const dict = {
"mcp.status.connected": "conectado",
"mcp.status.failed": "fallido",
"mcp.status.needs_auth": "requiere autenticación",
+ "mcp.status.needs_client_registration": "requiere registro de cliente",
+ "mcp.status.pending": "conectando…",
"mcp.auth.clickToAuthenticate": "Haz clic para autenticar",
"mcp.status.disabled": "deshabilitado",
@@ -903,6 +905,83 @@ export const dict = {
"settings.section.server": "Servidor",
"settings.tab.general": "General",
"settings.tab.shortcuts": "Atajos",
+ "settings.tab.plugins": "Complementos",
+ "settings.plugins.section.browse": "Explorar",
+ "settings.plugins.section.installed": "Instalados",
+ "settings.plugins.source.all": "Todas las fuentes",
+ "settings.plugins.source.ecosystem": "Ecosistema",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Añadir servidor",
+ "settings.mcp.type.local": "Local",
+ "settings.mcp.type.remote": "Remoto",
+ "settings.mcp.empty": "No hay servidores MCP configurados.",
+ "settings.mcp.deleted": "{{name}} eliminado.",
+ "settings.mcp.errors.refresh": "No se pudieron cargar los servidores MCP.",
+ "settings.mcp.status.pending": "conectando…",
+ "settings.mcp.action.connect": "Conectar",
+ "settings.mcp.action.disconnect": "Desconectar",
+ "settings.mcp.action.authenticate": "Autenticar",
+ "settings.mcp.action.edit": "Editar",
+ "settings.mcp.action.delete": "Eliminar",
+ "settings.mcp.delete.title": "Eliminar servidor MCP",
+ "settings.mcp.delete.body": "¿Eliminar {{name}}? No se puede deshacer.",
+ "settings.mcp.form.title.add": "Añadir servidor MCP",
+ "settings.mcp.form.title.edit": "Editar servidor MCP",
+ "settings.mcp.form.subtitle": "Configura los ajustes de conexión.",
+ "settings.mcp.form.name": "Nombre",
+ "settings.mcp.form.command": "Comando",
+ "settings.mcp.form.command.hint": "p. ej. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Directorio de trabajo",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Variables de entorno",
+ "settings.mcp.form.headers": "Cabeceras",
+ "settings.mcp.form.addRow": "Añadir fila",
+ "settings.mcp.form.removeRow": "Quitar",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID de cliente",
+ "settings.mcp.form.oauth.clientSecret": "Secreto de cliente",
+ "settings.mcp.form.oauth.clientSecret.keep": "Dejar en blanco para omitir — puede requerir reautenticación",
+ "settings.mcp.form.oauth.scope": "Ámbito",
+ "settings.mcp.form.oauth.callbackPort": "Puerto de callback",
+ "settings.mcp.form.oauth.disableAutodetect": "Desactivar detección automática de OAuth",
+ "settings.mcp.form.enabled": "Activado",
+ "settings.mcp.form.timeout": "Tiempo de espera (ms)",
+ "settings.mcp.form.save": "Guardar",
+ "settings.mcp.form.cancel": "Cancelar",
+ "settings.mcp.form.error.name": "Introduce un nombre.",
+ "settings.mcp.form.error.command": "Introduce un comando.",
+ "settings.mcp.form.error.url": "Introduce una URL.",
+ "settings.mcp.form.error.callbackPort": "El puerto de callback debe estar entre 1 y 65535.",
+ "settings.mcp.form.error.timeout": "El tiempo de espera debe ser un número entero positivo.",
+ "settings.mcp.errors.invalid": "Corrige los campos resaltados.",
+ "settings.mcp.errors.duplicate": "Ya existe un servidor con este nombre.",
+ "settings.mcp.errors.noConfig": "No se puede leer la configuración de {{name}} — puede estar definida fuera del proyecto.",
+ "settings.mcp.edit.warn": "Guardar reconecta este servidor.",
+ "settings.plugins.search.placeholder": "Buscar complementos…",
+ "settings.plugins.detail.install": "Instalar…",
+ "settings.plugins.detail.copy": "Copiar fragmento de configuración",
+ "settings.plugins.detail.copied": "Copiado",
+ "settings.plugins.detail.notOnNpm": "No se encontró en npm — añádelo manualmente a opencode.json",
+ "settings.plugins.install.title": "Instalar complemento",
+ "settings.plugins.install.description": "¿Dónde se añadirá {{name}}?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "Este proyecto",
+ "settings.plugins.install.cancel": "Cancelar",
+ "settings.plugins.install.success": "{{name}} instalado. Reinicia OpenCode para cargarlo.",
+ "settings.plugins.installed.empty": "No hay complementos instalados.",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "Proyecto",
+ "settings.plugins.installed.disable": "Desactivar",
+ "settings.plugins.installed.enable": "Activar",
+ "settings.plugins.installed.uninstall": "Desinstalar",
+ "settings.plugins.installed.uninstallBody": "¿Desinstalar {{name}} de {{scope}}? Se eliminará del archivo de configuración.",
+ "settings.plugins.installed.recentlyRemoved": "Eliminados recientemente",
+ "settings.plugins.installed.openConfig": "Abrir configuración",
+ "settings.plugins.errors.parseFailed": "No se pudo leer {{path}} — corrige o elimina el archivo para gestionar complementos ahí.",
+ "settings.plugins.errors.catalog": "No se pudo actualizar el catálogo de complementos.",
+ "settings.plugins.stale": "Mostrando catálogo en caché ({{age}}).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "Integración con WSL",
"settings.desktop.wsl.description": "Ejecutar el servidor OpenCode dentro de WSL en Windows.",
@@ -1091,9 +1170,6 @@ export const dict = {
"settings.agents.description": "La configuración de agentes estará disponible aquí.",
"settings.commands.title": "Comandos",
"settings.commands.description": "La configuración de comandos estará disponible aquí.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "La configuración de MCP estará disponible aquí.",
-
"settings.permissions.title": "Permisos",
"settings.permissions.description": "Controla qué herramientas puede usar el servidor por defecto.",
"settings.permissions.section.tools": "Herramientas",
diff --git a/packages/app/src/i18n/et.ts b/packages/app/src/i18n/et.ts
index d78296675e3d..5e096a9791d0 100644
--- a/packages/app/src/i18n/et.ts
+++ b/packages/app/src/i18n/et.ts
@@ -396,6 +396,8 @@ export const dict = {
"mcp.status.connected": "ühendatud",
"mcp.status.failed": "ebaõnnestunud",
"mcp.status.needs_auth": "vajab autentimist",
+ "mcp.status.needs_client_registration": "kliendi registreerimine vajalik",
+ "mcp.status.pending": "ühendamine…",
"mcp.status.disabled": "puudega",
"mcp.auth.clickToAuthenticate": "Klõpsake autentimiseks",
"dialog.fork.empty": "Ühtegi sõnumit pole",
@@ -909,6 +911,83 @@ export const dict = {
"settings.section.server": "Server",
"settings.tab.general": "Kindral",
"settings.tab.shortcuts": "Otseteed",
+ "settings.tab.plugins": "Pluginad",
+ "settings.plugins.section.browse": "Sirvi",
+ "settings.plugins.section.installed": "Paigaldatud",
+ "settings.plugins.source.all": "Kõik allikad",
+ "settings.plugins.source.ecosystem": "Ökosüsteem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Lisa server",
+ "settings.mcp.type.local": "Kohalik",
+ "settings.mcp.type.remote": "Kaug",
+ "settings.mcp.empty": "Ühtegi MCP-serverit pole seadistatud.",
+ "settings.mcp.deleted": "{{name}} kustutati.",
+ "settings.mcp.errors.refresh": "MCP-serverite laadimine ebaõnnestus.",
+ "settings.mcp.status.pending": "ühendamine…",
+ "settings.mcp.action.connect": "Ühenda",
+ "settings.mcp.action.disconnect": "Katkesta ühendus",
+ "settings.mcp.action.authenticate": "Autenti",
+ "settings.mcp.action.edit": "Muuda",
+ "settings.mcp.action.delete": "Kustuta",
+ "settings.mcp.delete.title": "Kustuta MCP-server",
+ "settings.mcp.delete.body": "Eemaldada {{name}}? Seda ei saa tagasi võtta.",
+ "settings.mcp.form.title.add": "Lisa MCP-server",
+ "settings.mcp.form.title.edit": "Muuda MCP-serverit",
+ "settings.mcp.form.subtitle": "Seadista ühenduse sätted.",
+ "settings.mcp.form.name": "Nimi",
+ "settings.mcp.form.command": "Käsk",
+ "settings.mcp.form.command.hint": "nt npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Töökataloog",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Keskkonnamuutujad",
+ "settings.mcp.form.headers": "Päised",
+ "settings.mcp.form.addRow": "Lisa rida",
+ "settings.mcp.form.removeRow": "Eemalda",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Kliendi ID",
+ "settings.mcp.form.oauth.clientSecret": "Kliendi saladus",
+ "settings.mcp.form.oauth.clientSecret.keep": "Jäta tühjaks, et vahele jätta — taasautentimine võib olla vajalik",
+ "settings.mcp.form.oauth.scope": "Ulatus",
+ "settings.mcp.form.oauth.callbackPort": "Tagasikutse port",
+ "settings.mcp.form.oauth.disableAutodetect": "Keela OAuthi automaatne tuvastus",
+ "settings.mcp.form.enabled": "Lubatud",
+ "settings.mcp.form.timeout": "Ajalõpp (ms)",
+ "settings.mcp.form.save": "Salvesta",
+ "settings.mcp.form.cancel": "Tühista",
+ "settings.mcp.form.error.name": "Sisesta nimi.",
+ "settings.mcp.form.error.command": "Sisesta käsk.",
+ "settings.mcp.form.error.url": "Sisesta URL.",
+ "settings.mcp.form.error.callbackPort": "Tagasikutse port peab olema 1–65535.",
+ "settings.mcp.form.error.timeout": "Ajalõpp peab olema positiivne täisarv.",
+ "settings.mcp.errors.invalid": "Paranda esiletõstetud väljad.",
+ "settings.mcp.errors.duplicate": "Selle nimega server on juba olemas.",
+ "settings.mcp.errors.noConfig": "{{name}} konfiguratsiooni ei saa lugeda — see võib olla määratletud väljaspool projekti.",
+ "settings.mcp.edit.warn": "Salvestamine ühendab serveri uuesti.",
+ "settings.plugins.search.placeholder": "Otsi pluginaid…",
+ "settings.plugins.detail.install": "Paigalda…",
+ "settings.plugins.detail.copy": "Kopeeri konfiguratsioonilõik",
+ "settings.plugins.detail.copied": "Kopeeritud",
+ "settings.plugins.detail.notOnNpm": "Ei leitud npm-ist — lisa käsitsi faili opencode.json",
+ "settings.plugins.install.title": "Paigalda plugin",
+ "settings.plugins.install.description": "Kuhu {{name}} lisada?",
+ "settings.plugins.install.global": "Globaalne (~/.config/opencode)",
+ "settings.plugins.install.project": "See projekt",
+ "settings.plugins.install.cancel": "Tühista",
+ "settings.plugins.install.success": "{{name}} paigaldati. Laadimiseks taaskäivita OpenCode.",
+ "settings.plugins.installed.empty": "Ühtegi pluginat pole paigaldatud.",
+ "settings.plugins.installed.provenance.global": "Globaalne",
+ "settings.plugins.installed.provenance.project": "Projekt",
+ "settings.plugins.installed.disable": "Keela",
+ "settings.plugins.installed.enable": "Luba",
+ "settings.plugins.installed.uninstall": "Eemalda paigaldus",
+ "settings.plugins.installed.uninstallBody": "Kas eemaldada paigaldus: {{name}} asukohast {{scope}}? See eemaldatakse seadistuste failist.",
+ "settings.plugins.installed.recentlyRemoved": "Hiljuti eemaldatud",
+ "settings.plugins.installed.openConfig": "Ava konfiguratsioon",
+ "settings.plugins.errors.parseFailed": "{{path}} ei saa lugeda — halda pluginaid, parandades või eemaldades faili.",
+ "settings.plugins.errors.catalog": "Pluginate kataloogi ei saanud värskendada.",
+ "settings.plugins.stale": "Kuvatakse vahemälus olevat kataloogi ({{age}} vanune).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL integratsioon",
"settings.desktop.wsl.description": "Käivitage OpenCode server sees WSL saidil Windows.",
@@ -1081,8 +1160,6 @@ export const dict = {
"settings.agents.description": "Agendi seadeid saab siin konfigureerida.",
"settings.commands.title": "Käsud",
"settings.commands.description": "Käskude sätteid saab siin konfigureerida.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP seadeid saab siin konfigureerida.",
"settings.permissions.title": "load",
"settings.permissions.description": "Saate juhtida, milliseid tööriistu server vaikimisi kasutada saab.",
"settings.permissions.section.tools": "Tööriistad",
diff --git a/packages/app/src/i18n/fa.ts b/packages/app/src/i18n/fa.ts
index 0d3d721b5324..7f11814da2cb 100644
--- a/packages/app/src/i18n/fa.ts
+++ b/packages/app/src/i18n/fa.ts
@@ -397,6 +397,8 @@ export const dict = {
"mcp.status.connected": "متصل است",
"mcp.status.failed": "شکست خورد",
"mcp.status.needs_auth": "نیاز به احراز هویت",
+ "mcp.status.needs_client_registration": "ثبت مشتری لازم است",
+ "mcp.status.pending": "در حال اتصال…",
"mcp.status.disabled": "از کار افتاده است",
"mcp.auth.clickToAuthenticate": "برای احراز هویت کلیک کنید",
"dialog.fork.empty": "هیچ پیامی برای فورک وجود ندارد",
@@ -910,6 +912,83 @@ export const dict = {
"settings.section.server": "سرور",
"settings.tab.general": "ژنرال",
"settings.tab.shortcuts": "میانبرها",
+ "settings.tab.plugins": "افزونه",
+ "settings.plugins.section.browse": "مرور",
+ "settings.plugins.section.installed": "نصبشده",
+ "settings.plugins.source.all": "همه منابع",
+ "settings.plugins.source.ecosystem": "اکوسیستم",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "افزودن سرور",
+ "settings.mcp.type.local": "محلی",
+ "settings.mcp.type.remote": "از راه دور",
+ "settings.mcp.empty": "هیچ سرور MCP پیکربندی نشده است.",
+ "settings.mcp.deleted": "{{name}} حذف شد.",
+ "settings.mcp.errors.refresh": "بارگذاری سرورهای MCP ممکن نشد.",
+ "settings.mcp.status.pending": "در حال اتصال…",
+ "settings.mcp.action.connect": "اتصال",
+ "settings.mcp.action.disconnect": "قطع اتصال",
+ "settings.mcp.action.authenticate": "احراز هویت",
+ "settings.mcp.action.edit": "ویرایش",
+ "settings.mcp.action.delete": "حذف",
+ "settings.mcp.delete.title": "حذف سرور MCP",
+ "settings.mcp.delete.body": "{{name}} حذف شود؟ قابل بازگشت نیست.",
+ "settings.mcp.form.title.add": "افزودن سرور MCP",
+ "settings.mcp.form.title.edit": "ویرایش سرور MCP",
+ "settings.mcp.form.subtitle": "تنظیمات اتصال را پیکربندی کنید.",
+ "settings.mcp.form.name": "نام",
+ "settings.mcp.form.command": "دستور",
+ "settings.mcp.form.command.hint": "مثلاً npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "پوشه کاری",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "متغیرهای محیطی",
+ "settings.mcp.form.headers": "سرصفحهها",
+ "settings.mcp.form.addRow": "افزودن ردیف",
+ "settings.mcp.form.removeRow": "حذف",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "شناسه مشتری",
+ "settings.mcp.form.oauth.clientSecret": "رمز مشتری",
+ "settings.mcp.form.oauth.clientSecret.keep": "برای حذف خالی بگذارید — احراز هویت مجدد ممکن است لازم باشد",
+ "settings.mcp.form.oauth.scope": "دامنه",
+ "settings.mcp.form.oauth.callbackPort": "پورت بازگشت",
+ "settings.mcp.form.oauth.disableAutodetect": "غیرفعالسازی تشخیص خودکار OAuth",
+ "settings.mcp.form.enabled": "فعال",
+ "settings.mcp.form.timeout": "وقفه (ms)",
+ "settings.mcp.form.save": "ذخیره",
+ "settings.mcp.form.cancel": "انصراف",
+ "settings.mcp.form.error.name": "نام را وارد کنید.",
+ "settings.mcp.form.error.command": "دستور را وارد کنید.",
+ "settings.mcp.form.error.url": "URL را وارد کنید.",
+ "settings.mcp.form.error.callbackPort": "پورت بازگشت باید بین 1 تا 65535 باشد.",
+ "settings.mcp.form.error.timeout": "وقفه باید عدد صحیح مثبت باشد.",
+ "settings.mcp.errors.invalid": "فیلدهای مشخصشده را اصلاح کنید.",
+ "settings.mcp.errors.duplicate": "سروری با این نام از قبل وجود دارد.",
+ "settings.mcp.errors.noConfig": "پیکربندی {{name}} قابل خواندن نیست — ممکن است بیرون از پروژه تعریف شده باشد.",
+ "settings.mcp.edit.warn": "ذخیره، این سرور را دوباره متصل میکند.",
+ "settings.plugins.search.placeholder": "جستجوی افزونهها…",
+ "settings.plugins.detail.install": "نصب…",
+ "settings.plugins.detail.copy": "کپی قطعه پیکربندی",
+ "settings.plugins.detail.copied": "کپی شد",
+ "settings.plugins.detail.notOnNpm": "در npm یافت نشد — بهصورت دستی به opencode.json اضافه کنید",
+ "settings.plugins.install.title": "نصب افزونه",
+ "settings.plugins.install.description": "{{name}} کجا اضافه شود؟",
+ "settings.plugins.install.global": "سراسری (~/.config/opencode)",
+ "settings.plugins.install.project": "این پروژه",
+ "settings.plugins.install.cancel": "لغو",
+ "settings.plugins.install.success": "{{name}} نصب شد. برای بارگذاری، OpenCode را دوباره اجرا کنید.",
+ "settings.plugins.installed.empty": "هیچ افزونهای نصب نشده است.",
+ "settings.plugins.installed.provenance.global": "سراسری",
+ "settings.plugins.installed.provenance.project": "پروژه",
+ "settings.plugins.installed.disable": "غیرفعالسازی",
+ "settings.plugins.installed.enable": "فعالسازی",
+ "settings.plugins.installed.uninstall": "حذف نصب",
+ "settings.plugins.installed.uninstallBody": "آیا {{name}} از {{scope}} حذف نصب شود؟ از فایل پیکربندی حذف خواهد شد.",
+ "settings.plugins.installed.recentlyRemoved": "بهتازگی حذفشده",
+ "settings.plugins.installed.openConfig": "باز کردن پیکربندی",
+ "settings.plugins.errors.parseFailed": "خواندن {{path}} ممکن نیست — برای مدیریت افزونهها فایل را اصلاح یا حذف کنید.",
+ "settings.plugins.errors.catalog": "بهروزرسانی کاتالوگ افزونهها ممکن نشد.",
+ "settings.plugins.stale": "نمایش کاتالوگ ذخیرهشده ({{age}} پیش).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "ادغام WSL",
"settings.desktop.wsl.description": "سرور OpenCode را در داخل WSL روی Windows اجرا کنید.",
@@ -1085,8 +1164,6 @@ export const dict = {
"settings.agents.description": "تنظیمات عامل در اینجا قابل تنظیم خواهد بود.",
"settings.commands.title": "دستورات",
"settings.commands.description": "تنظیمات فرمان در اینجا قابل تنظیم خواهد بود.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "تنظیمات MCP در اینجا قابل تنظیم خواهند بود.",
"settings.permissions.title": "مجوزها",
"settings.permissions.description": "کنترل کنید که سرور به طور پیش فرض از چه ابزارهایی می تواند استفاده کند.",
"settings.permissions.section.tools": "ابزار",
diff --git a/packages/app/src/i18n/fi.ts b/packages/app/src/i18n/fi.ts
index aa9c92574cff..f0f3a8676af5 100644
--- a/packages/app/src/i18n/fi.ts
+++ b/packages/app/src/i18n/fi.ts
@@ -304,6 +304,8 @@ export const dict = {
"mcp.status.connected": "yhdistetty",
"mcp.status.failed": "epäonnistunut",
"mcp.status.needs_auth": "tarvitsee todennusta",
+ "mcp.status.needs_client_registration": "asiakkaan rekisteröinti vaaditaan",
+ "mcp.status.pending": "yhdistetään…",
"mcp.status.disabled": "pois käytöstä",
"mcp.auth.clickToAuthenticate": "Todenna napsauttamalla",
"dialog.fork.empty": "Ei viestejä, joista voisi haarauttaa",
@@ -812,6 +814,83 @@ export const dict = {
"settings.section.server": "Palvelin",
"settings.tab.general": "Yleiset",
"settings.tab.shortcuts": "Pikanäppäimet",
+ "settings.tab.plugins": "Liitännäiset",
+ "settings.plugins.section.browse": "Selaa",
+ "settings.plugins.section.installed": "Asennettu",
+ "settings.plugins.source.all": "Kaikki lähteet",
+ "settings.plugins.source.ecosystem": "Ekosysteemi",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Lisää palvelin",
+ "settings.mcp.type.local": "Paikallinen",
+ "settings.mcp.type.remote": "Etä",
+ "settings.mcp.empty": "Yhtään MCP-palvelinta ei ole määritetty.",
+ "settings.mcp.deleted": "{{name}} poistettu.",
+ "settings.mcp.errors.refresh": "MCP-palvelimia ei voitu ladata.",
+ "settings.mcp.status.pending": "yhdistetään…",
+ "settings.mcp.action.connect": "Yhdistä",
+ "settings.mcp.action.disconnect": "Katkaise yhteys",
+ "settings.mcp.action.authenticate": "Todenna",
+ "settings.mcp.action.edit": "Muokkaa",
+ "settings.mcp.action.delete": "Poista",
+ "settings.mcp.delete.title": "Poista MCP-palvelin",
+ "settings.mcp.delete.body": "Poistetaanko {{name}}? Tätä ei voi kumota.",
+ "settings.mcp.form.title.add": "Lisää MCP-palvelin",
+ "settings.mcp.form.title.edit": "Muokkaa MCP-palvelinta",
+ "settings.mcp.form.subtitle": "Määritä yhteysasetukset.",
+ "settings.mcp.form.name": "Nimi",
+ "settings.mcp.form.command": "Komento",
+ "settings.mcp.form.command.hint": "esim. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Työhakemisto",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Ympäristömuuttujat",
+ "settings.mcp.form.headers": "Otsikot",
+ "settings.mcp.form.addRow": "Lisää rivi",
+ "settings.mcp.form.removeRow": "Poista",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Client ID",
+ "settings.mcp.form.oauth.clientSecret": "Client secret",
+ "settings.mcp.form.oauth.clientSecret.keep": "Jätä tyhjäksi ohittaaksesi — uudelleentodennus voi olla tarpeen",
+ "settings.mcp.form.oauth.scope": "Laajuus",
+ "settings.mcp.form.oauth.callbackPort": "Takaisinkutsuportti",
+ "settings.mcp.form.oauth.disableAutodetect": "Poista OAuth-automaattitunnistus",
+ "settings.mcp.form.enabled": "Käytössä",
+ "settings.mcp.form.timeout": "Aikakatkaisu (ms)",
+ "settings.mcp.form.save": "Tallenna",
+ "settings.mcp.form.cancel": "Peruuta",
+ "settings.mcp.form.error.name": "Anna nimi.",
+ "settings.mcp.form.error.command": "Anna komento.",
+ "settings.mcp.form.error.url": "Anna URL.",
+ "settings.mcp.form.error.callbackPort": "Takaisinkutsuportin on oltava 1–65535.",
+ "settings.mcp.form.error.timeout": "Aikakatkaisun on oltava positiivinen kokonaisluku.",
+ "settings.mcp.errors.invalid": "Korjaa korostetut kentät.",
+ "settings.mcp.errors.duplicate": "Tällä nimellä on jo palvelin.",
+ "settings.mcp.errors.noConfig": "Konfiguraatiota {{name}} ei voi lukea — se voi olla määritetty projektin ulkopuolella.",
+ "settings.mcp.edit.warn": "Tallentaminen yhdistää palvelimen uudelleen.",
+ "settings.plugins.search.placeholder": "Etsi liitännäisiä…",
+ "settings.plugins.detail.install": "Asenna…",
+ "settings.plugins.detail.copy": "Kopioi määrityskatkelma",
+ "settings.plugins.detail.copied": "Kopioitu",
+ "settings.plugins.detail.notOnNpm": "Ei löytynyt npm:stä — lisää manuaalisesti opencode.json-tiedostoon",
+ "settings.plugins.install.title": "Asenna liitännäinen",
+ "settings.plugins.install.description": "Mihin {{name}} lisätään?",
+ "settings.plugins.install.global": "Globaali (~/.config/opencode)",
+ "settings.plugins.install.project": "Tämä projekti",
+ "settings.plugins.install.cancel": "Peruuta",
+ "settings.plugins.install.success": "{{name}} asennettu. Käynnistä OpenCode uudelleen ladataksesi sen.",
+ "settings.plugins.installed.empty": "Liitännäisiä ei ole asennettu.",
+ "settings.plugins.installed.provenance.global": "Globaali",
+ "settings.plugins.installed.provenance.project": "Projekti",
+ "settings.plugins.installed.disable": "Poista käytöstä",
+ "settings.plugins.installed.enable": "Ota käyttöön",
+ "settings.plugins.installed.uninstall": "Poista asennus",
+ "settings.plugins.installed.uninstallBody": "Poistetaanko {{name}} asennus kohteesta {{scope}}? Se poistetaan asetustiedostosta.",
+ "settings.plugins.installed.recentlyRemoved": "Äskettäin poistetut",
+ "settings.plugins.installed.openConfig": "Avaa määritys",
+ "settings.plugins.errors.parseFailed": "{{path}} ei voi lukea — korjaa tai poista tiedosto hallitaksesi liitännäisiä siellä.",
+ "settings.plugins.errors.catalog": "Liitännäisluetteloa ei voitu päivittää.",
+ "settings.plugins.stale": "Näytetään välimuistissa oleva luettelo ({{age}} vanha).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL-integraatio",
"settings.desktop.wsl.description": "Suorita OpenCode-palvelin WSL:n sisällä Windowsissa.",
@@ -989,8 +1068,6 @@ export const dict = {
"settings.agents.description": "Agentin asetukset voidaan määrittää täällä.",
"settings.commands.title": "Komennot",
"settings.commands.description": "Komentoasetukset voidaan määrittää täällä.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP-asetukset voidaan määrittää täällä.",
"settings.permissions.title": "Käyttöoikeudet",
"settings.permissions.description": "Hallitse, mitä työkaluja palvelin voi käyttää oletuksena.",
"settings.permissions.section.tools": "Työkalut",
diff --git a/packages/app/src/i18n/fo.ts b/packages/app/src/i18n/fo.ts
index 4329a35b4247..e19588110d72 100644
--- a/packages/app/src/i18n/fo.ts
+++ b/packages/app/src/i18n/fo.ts
@@ -396,6 +396,8 @@ export const dict = {
"mcp.status.connected": "tengt",
"mcp.status.failed": "miseydnaðist",
"mcp.status.needs_auth": "hevur brúk fyri auth",
+ "mcp.status.needs_client_registration": "skráning av viðskiftara kravd",
+ "mcp.status.pending": "knýtir…",
"mcp.status.disabled": "óarbeiðsførur",
"mcp.auth.clickToAuthenticate": "Trýst fyri at vátta",
"dialog.fork.empty": "Eingi boð at greina frá",
@@ -912,6 +914,83 @@ export const dict = {
"settings.section.server": "Ambætari",
"settings.tab.general": "Almenn",
"settings.tab.shortcuts": "Snarvegir",
+ "settings.tab.plugins": "Íviðkanir",
+ "settings.plugins.section.browse": "Kagja",
+ "settings.plugins.section.installed": "Uppsett leitan",
+ "settings.plugins.source.all": "Allar keldur",
+ "settings.plugins.source.ecosystem": "Økosystem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Legg afturat ambætari",
+ "settings.mcp.type.local": "Staðvíst",
+ "settings.mcp.type.remote": "Fjarlægt",
+ "settings.mcp.empty": "Ongin MCP-ambætarar uppsett.",
+ "settings.mcp.deleted": "{{name}} strikað.",
+ "settings.mcp.errors.refresh": "Kundi ikki lesa MCP-ambætara.",
+ "settings.mcp.status.pending": "knýtir…",
+ "settings.mcp.action.connect": "Knýttu til",
+ "settings.mcp.action.disconnect": "Fjalknýtta",
+ "settings.mcp.action.authenticate": "Góðkenn",
+ "settings.mcp.action.edit": "Broyt",
+ "settings.mcp.action.delete": "Strika",
+ "settings.mcp.delete.title": "Strika MCP-ambætarin",
+ "settings.mcp.delete.body": "Tak {{name}} burtur? Hetta kann ikki gerast aftur.",
+ "settings.mcp.form.title.add": "Legg MCP-ambætari afturat",
+ "settings.mcp.form.title.edit": "Broyt MCP-ambætara",
+ "settings.mcp.form.subtitle": "Set sambindingarstillingarnar.",
+ "settings.mcp.form.name": "Navn",
+ "settings.mcp.form.command": "Boð",
+ "settings.mcp.form.command.hint": "t.d. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Arbeidsmappi",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Umhvørvisbroytarar",
+ "settings.mcp.form.headers": "Høvd",
+ "settings.mcp.form.addRow": "Legg linju afturat",
+ "settings.mcp.form.removeRow": "Tak burtur",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Klient-ID",
+ "settings.mcp.form.oauth.clientSecret": "Klient-loyndarmál",
+ "settings.mcp.form.oauth.clientSecret.keep": "Lat tómt fyri at sleppa — nýggj góðkenn kann vera neyðug",
+ "settings.mcp.form.oauth.scope": "Náttúr",
+ "settings.mcp.form.oauth.callbackPort": "Afturkallsportur",
+ "settings.mcp.form.oauth.disableAutodetect": "Sløkk sjálvgrundlegging av OAuth",
+ "settings.mcp.form.enabled": "Virkin",
+ "settings.mcp.form.timeout": "Tíðaravmark (ms)",
+ "settings.mcp.form.save": "Goym",
+ "settings.mcp.form.cancel": "Avlýs",
+ "settings.mcp.form.error.name": "Skriva eitt navn.",
+ "settings.mcp.form.error.command": "Skriva eitt boð.",
+ "settings.mcp.form.error.url": "Skriva ein URL.",
+ "settings.mcp.form.error.callbackPort": "Afturkallsporturin má vera millum 1 og 65535.",
+ "settings.mcp.form.error.timeout": "Tíðaravmarkið má vera eitt positivt heiltal.",
+ "settings.mcp.errors.invalid": "Rættað tey undirstrikaðu teigini.",
+ "settings.mcp.errors.duplicate": "Ambætari við hesum navni er longu til.",
+ "settings.mcp.errors.noConfig": "Kundi ikki lesa uppsetingina fyri {{name}} — kanska ásett uttanfyri verkætlanina.",
+ "settings.mcp.edit.warn": "At goyma knýt ambætaran aftur.",
+ "settings.plugins.search.placeholder": "Leita eftir íviðkunum…",
+ "settings.plugins.detail.install": "Set upp…",
+ "settings.plugins.detail.copy": "Avrita uppsetingarbrot",
+ "settings.plugins.detail.copied": "Avritað",
+ "settings.plugins.detail.notOnNpm": "Finst ikki á npm — leggst afturat manuelt í opencode.json",
+ "settings.plugins.install.title": "Set íviðkan upp",
+ "settings.plugins.install.description": "Hvar skal {{name}} leggjast afturat?",
+ "settings.plugins.install.global": "Fyri alt (~/.config/opencode)",
+ "settings.plugins.install.project": "Hendan verkætlanin",
+ "settings.plugins.install.cancel": "Angra",
+ "settings.plugins.install.success": "{{name}} er uppsett. Tak OpenCode aftur at fyri at lesa tað.",
+ "settings.plugins.installed.empty": "Eingnar íviðkanir uppsettar.",
+ "settings.plugins.installed.provenance.global": "Fyri alt",
+ "settings.plugins.installed.provenance.project": "Verkætlan",
+ "settings.plugins.installed.disable": "Gera óvirkið",
+ "settings.plugins.installed.enable": "Gera virkið",
+ "settings.plugins.installed.uninstall": "Avrinda uppseting",
+ "settings.plugins.installed.uninstallBody": "Avinnsett {{name}} úr {{scope}}? Tað verður strikað úr samansetandi fíluni.",
+ "settings.plugins.installed.recentlyRemoved": "Nýliga avtikið",
+ "settings.plugins.installed.openConfig": "Lat uppseting upp",
+ "settings.plugins.errors.parseFailed": "Kann ikki lesa {{path}} — rætta ella takfða fíla fyri at kanna íviðkanir har.",
+ "settings.plugins.errors.catalog": "Kann ikki dagføra íviðkanauppskrift.",
+ "settings.plugins.stale": "Vísir úr skjóti ({{age}} gamalt).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL samanlegging",
"settings.desktop.wsl.description": "Koyr OpenCode ambætaran inni í WSL á Windows.",
@@ -1084,8 +1163,6 @@ export const dict = {
"settings.agents.description": "Agentinnstillingar verða stillaðar her.",
"settings.commands.title": "Skipanir",
"settings.commands.description": "Skipanarinnstillingar verða stillaðar her.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP innstillingar verða stillaðar her.",
"settings.permissions.title": "Loyvi",
"settings.permissions.description": "Stýr hvørji tól ambætarin kann brúka sum standard.",
"settings.permissions.section.tools": "Tól",
diff --git a/packages/app/src/i18n/fr.ts b/packages/app/src/i18n/fr.ts
index 3c89860a4490..bbb3a5e76c08 100644
--- a/packages/app/src/i18n/fr.ts
+++ b/packages/app/src/i18n/fr.ts
@@ -408,6 +408,8 @@ export const dict = {
"mcp.status.connected": "connecté",
"mcp.status.failed": "en échec",
"mcp.status.needs_auth": "authentification requise",
+ "mcp.status.needs_client_registration": "enregistrement client requis",
+ "mcp.status.pending": "connexion…",
"mcp.auth.clickToAuthenticate": "Cliquez pour vous authentifier",
"mcp.status.disabled": "désactivé",
"dialog.fork.empty": "Aucun message à partir duquel bifurquer",
@@ -840,6 +842,83 @@ export const dict = {
"settings.section.server": "Serveur",
"settings.tab.general": "Général",
"settings.tab.shortcuts": "Raccourcis",
+ "settings.tab.plugins": "Extensions",
+ "settings.plugins.section.browse": "Parcourir",
+ "settings.plugins.section.installed": "Installées",
+ "settings.plugins.source.all": "Toutes les sources",
+ "settings.plugins.source.ecosystem": "Écosystème",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Ajouter un serveur",
+ "settings.mcp.type.local": "Local",
+ "settings.mcp.type.remote": "Distant",
+ "settings.mcp.empty": "Aucun serveur MCP configuré.",
+ "settings.mcp.deleted": "{{name}} supprimé.",
+ "settings.mcp.errors.refresh": "Impossible de charger les serveurs MCP.",
+ "settings.mcp.status.pending": "connexion…",
+ "settings.mcp.action.connect": "Connecter",
+ "settings.mcp.action.disconnect": "Déconnecter",
+ "settings.mcp.action.authenticate": "Authentifier",
+ "settings.mcp.action.edit": "Modifier",
+ "settings.mcp.action.delete": "Supprimer",
+ "settings.mcp.delete.title": "Supprimer le serveur MCP",
+ "settings.mcp.delete.body": "Supprimer {{name}} ? Cette action est irréversible.",
+ "settings.mcp.form.title.add": "Ajouter un serveur MCP",
+ "settings.mcp.form.title.edit": "Modifier le serveur MCP",
+ "settings.mcp.form.subtitle": "Configurer les paramètres de connexion.",
+ "settings.mcp.form.name": "Nom",
+ "settings.mcp.form.command": "Commande",
+ "settings.mcp.form.command.hint": "ex. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Répertoire de travail",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Variables d'environnement",
+ "settings.mcp.form.headers": "En-têtes",
+ "settings.mcp.form.addRow": "Ajouter une ligne",
+ "settings.mcp.form.removeRow": "Supprimer",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID client",
+ "settings.mcp.form.oauth.clientSecret": "Secret client",
+ "settings.mcp.form.oauth.clientSecret.keep": "Laisser vide pour omettre — une réauthentification peut être nécessaire",
+ "settings.mcp.form.oauth.scope": "Portée",
+ "settings.mcp.form.oauth.callbackPort": "Port de rappel",
+ "settings.mcp.form.oauth.disableAutodetect": "Désactiver la détection auto OAuth",
+ "settings.mcp.form.enabled": "Activé",
+ "settings.mcp.form.timeout": "Délai (ms)",
+ "settings.mcp.form.save": "Enregistrer",
+ "settings.mcp.form.cancel": "Annuler",
+ "settings.mcp.form.error.name": "Saisissez un nom.",
+ "settings.mcp.form.error.command": "Saisissez une commande.",
+ "settings.mcp.form.error.url": "Saisissez une URL.",
+ "settings.mcp.form.error.callbackPort": "Le port de rappel doit être entre 1 et 65535.",
+ "settings.mcp.form.error.timeout": "Le délai doit être un nombre entier positif.",
+ "settings.mcp.errors.invalid": "Corrigez les champs en surbrillance.",
+ "settings.mcp.errors.duplicate": "Un serveur portant ce nom existe déjà.",
+ "settings.mcp.errors.noConfig": "Impossible de lire la config de {{name}} — elle est peut-être définie hors du projet.",
+ "settings.mcp.edit.warn": "Enregistrer reconnecte ce serveur.",
+ "settings.plugins.search.placeholder": "Rechercher des extensions…",
+ "settings.plugins.detail.install": "Installer…",
+ "settings.plugins.detail.copy": "Copier l'extrait de config",
+ "settings.plugins.detail.copied": "Copié",
+ "settings.plugins.detail.notOnNpm": "Introuvable sur npm — à ajouter manuellement dans opencode.json",
+ "settings.plugins.install.title": "Installer l'extension",
+ "settings.plugins.install.description": "Où ajouter {{name}} ?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "Ce projet",
+ "settings.plugins.install.cancel": "Annuler",
+ "settings.plugins.install.success": "{{name}} installé. Redémarrez OpenCode pour le charger.",
+ "settings.plugins.installed.empty": "Aucune extension installée.",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "Projet",
+ "settings.plugins.installed.disable": "Désactiver",
+ "settings.plugins.installed.enable": "Activer",
+ "settings.plugins.installed.uninstall": "Désinstaller",
+ "settings.plugins.installed.uninstallBody": "Désinstaller {{name}} de {{scope}} ? Il sera retiré du fichier de configuration.",
+ "settings.plugins.installed.recentlyRemoved": "Récemment supprimées",
+ "settings.plugins.installed.openConfig": "Ouvrir la config",
+ "settings.plugins.errors.parseFailed": "Impossible de lire {{path}} — corrigez ou supprimez le fichier pour gérer les extensions.",
+ "settings.plugins.errors.catalog": "Impossible d'actualiser le catalogue d'extensions.",
+ "settings.plugins.stale": "Catalogue en cache affiché ({{age}}).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "Intégration WSL",
"settings.desktop.wsl.description": "Exécuter le serveur OpenCode dans WSL sur Windows.",
@@ -1020,8 +1099,6 @@ export const dict = {
"settings.agents.description": "Les paramètres des agents seront configurables ici.",
"settings.commands.title": "Commandes",
"settings.commands.description": "Les paramètres des commandes seront configurables ici.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Les paramètres MCP seront configurables ici.",
"settings.permissions.title": "Permissions",
"settings.permissions.description": "Contrôlez les outils que le serveur peut utiliser par défaut.",
"settings.permissions.section.tools": "Outils",
diff --git a/packages/app/src/i18n/hi.ts b/packages/app/src/i18n/hi.ts
index 0aaf8e14dc6d..fb0708626a4a 100644
--- a/packages/app/src/i18n/hi.ts
+++ b/packages/app/src/i18n/hi.ts
@@ -404,6 +404,8 @@ export const dict = {
"mcp.status.connected": "कनेक्टेड",
"mcp.status.failed": "असफल",
"mcp.status.needs_auth": "प्रमाणीकरण की आवश्यकता है",
+ "mcp.status.needs_client_registration": "क्लाइंट पंजीकरण आवश्यक",
+ "mcp.status.pending": "जुड़ रहे हैं…",
"mcp.status.disabled": "अक्षम",
"mcp.auth.clickToAuthenticate": "प्रमाणित करने के लिए क्लिक करें",
"dialog.fork.empty": "फ़ोर्क करने के लिए कोई संदेश नहीं",
@@ -921,6 +923,83 @@ export const dict = {
"settings.section.server": "सर्वर",
"settings.tab.general": "सामान्य",
"settings.tab.shortcuts": "शॉर्टकट",
+ "settings.tab.plugins": "प्लगइन",
+ "settings.plugins.section.browse": "ब्राउज़",
+ "settings.plugins.section.installed": "इंस्टॉल किए गए",
+ "settings.plugins.source.all": "सभी स्रोत",
+ "settings.plugins.source.ecosystem": "इकोसिस्टम",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "सर्वर जोड़ें",
+ "settings.mcp.type.local": "लोकल",
+ "settings.mcp.type.remote": "रिमोट",
+ "settings.mcp.empty": "कोई MCP सर्वर कॉन्फ़िगर नहीं है।",
+ "settings.mcp.deleted": "{{name}} हटा दिया गया।",
+ "settings.mcp.errors.refresh": "MCP सर्वर लोड नहीं हो सके।",
+ "settings.mcp.status.pending": "जुड़ रहे हैं…",
+ "settings.mcp.action.connect": "कनेक्ट करें",
+ "settings.mcp.action.disconnect": "डिस्कनेक्ट करें",
+ "settings.mcp.action.authenticate": "प्रमाणित करें",
+ "settings.mcp.action.edit": "संपादित करें",
+ "settings.mcp.action.delete": "हटाएँ",
+ "settings.mcp.delete.title": "MCP सर्वर हटाएँ",
+ "settings.mcp.delete.body": "{{name}} हटाएँ? यह पूर्ववत नहीं किया जा सकता।",
+ "settings.mcp.form.title.add": "MCP सर्वर जोड़ें",
+ "settings.mcp.form.title.edit": "MCP सर्वर संपादित करें",
+ "settings.mcp.form.subtitle": "कनेक्शन सेटिंग्स कॉन्फ़िगर करें।",
+ "settings.mcp.form.name": "नाम",
+ "settings.mcp.form.command": "कमांड",
+ "settings.mcp.form.command.hint": "उदा. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "कार्यशील निर्देशिका",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "पर्यावरण चर",
+ "settings.mcp.form.headers": "हेडर",
+ "settings.mcp.form.addRow": "पंक्ति जोड़ें",
+ "settings.mcp.form.removeRow": "हटाएँ",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "क्लाइंट ID",
+ "settings.mcp.form.oauth.clientSecret": "क्लाइंट सीक्रेट",
+ "settings.mcp.form.oauth.clientSecret.keep": "छोड़ने के लिए खाली रखें — दोबारा प्रमाणीकरण आवश्यक हो सकता है",
+ "settings.mcp.form.oauth.scope": "स्कोप",
+ "settings.mcp.form.oauth.callbackPort": "कॉलबैक पोर्ट",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth ऑटो-डिटेक्शन अक्षम करें",
+ "settings.mcp.form.enabled": "सक्षम",
+ "settings.mcp.form.timeout": "टाइमआउट (ms)",
+ "settings.mcp.form.save": "सहेजें",
+ "settings.mcp.form.cancel": "रद्द करें",
+ "settings.mcp.form.error.name": "नाम दर्ज करें।",
+ "settings.mcp.form.error.command": "कमांड दर्ज करें।",
+ "settings.mcp.form.error.url": "URL दर्ज करें।",
+ "settings.mcp.form.error.callbackPort": "कॉलबैक पोर्ट 1 से 65535 के बीच होना चाहिए।",
+ "settings.mcp.form.error.timeout": "टाइमआउट एक धनात्मक पूर्णांक होना चाहिए।",
+ "settings.mcp.errors.invalid": "हाइलाइट किए गए फ़ील्ड ठीक करें।",
+ "settings.mcp.errors.duplicate": "इस नाम का सर्वर पहले से मौजूद है।",
+ "settings.mcp.errors.noConfig": "{{name}} की कॉन्फ़िगरेशन पढ़ी नहीं जा सकी — प्रोजेक्ट के बाहर परिभाषित हो सकती है।",
+ "settings.mcp.edit.warn": "सहेजने से यह सर्वर फिर से कनेक्ट होगा।",
+ "settings.plugins.search.placeholder": "प्लगइन खोजें…",
+ "settings.plugins.detail.install": "इंस्टॉल करें…",
+ "settings.plugins.detail.copy": "कॉन्फ़िग स्निपेट कॉपी करें",
+ "settings.plugins.detail.copied": "कॉपी किया गया",
+ "settings.plugins.detail.notOnNpm": "npm पर नहीं मिला — opencode.json में मैन्युअली जोड़ें",
+ "settings.plugins.install.title": "प्लगइन इंस्टॉल करें",
+ "settings.plugins.install.description": "{{name}} को कहाँ जोड़ा जाए?",
+ "settings.plugins.install.global": "ग्लोबल (~/.config/opencode)",
+ "settings.plugins.install.project": "यह प्रोजेक्ट",
+ "settings.plugins.install.cancel": "रद्द करें",
+ "settings.plugins.install.success": "{{name}} इंस्टॉल हो गया। लोड करने के लिए OpenCode पुनः शुरू करें।",
+ "settings.plugins.installed.empty": "कोई प्लगइन इंस्टॉल नहीं है।",
+ "settings.plugins.installed.provenance.global": "ग्लोबल",
+ "settings.plugins.installed.provenance.project": "प्रोजेक्ट",
+ "settings.plugins.installed.disable": "अक्षम करें",
+ "settings.plugins.installed.enable": "सक्षम करें",
+ "settings.plugins.installed.uninstall": "अनइंस्टॉल करें",
+ "settings.plugins.installed.uninstallBody": "{{scope}} से {{name}} को अनइंस्टॉल करें? यह कॉन्फ़िग फ़ाइल से हटा दिया जाएगा।",
+ "settings.plugins.installed.recentlyRemoved": "हाल ही में हटाए गए",
+ "settings.plugins.installed.openConfig": "कॉन्फ़िग खोलें",
+ "settings.plugins.errors.parseFailed": "{{path}} पढ़ा नहीं जा सका — प्लगइन प्रबंधित करने के लिए फ़ाइल ठीक करें या हटाएँ।",
+ "settings.plugins.errors.catalog": "प्लगइन कैटलॉग रिफ्रेश नहीं हो सका।",
+ "settings.plugins.stale": "कैश किया गया कैटलॉग दिखा रहे हैं ({{age}} पुराना)।",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL एकीकरण",
"settings.desktop.wsl.description": "Windows पर WSL के अंदर OpenCode सर्वर चलाएँ।",
@@ -1094,8 +1173,6 @@ export const dict = {
"settings.agents.description": "एजेंट सेटिंग्स यहां कॉन्फ़िगर करने योग्य होंगी।",
"settings.commands.title": "कमांड",
"settings.commands.description": "कमांड सेटिंग्स यहां कॉन्फ़िगर करने योग्य होंगी।",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP सेटिंग्स यहां कॉन्फ़िगर करने योग्य होंगी।",
"settings.permissions.title": "अनुमतियाँ",
"settings.permissions.description": "नियंत्रित करें कि सर्वर डिफ़ॉल्ट रूप से कौन से टूल का उपयोग कर सकता है।",
"settings.permissions.section.tools": "टूल",
diff --git a/packages/app/src/i18n/hr.ts b/packages/app/src/i18n/hr.ts
index 2130c88ada2d..3ab5c6585679 100644
--- a/packages/app/src/i18n/hr.ts
+++ b/packages/app/src/i18n/hr.ts
@@ -401,6 +401,8 @@ export const dict = {
"mcp.status.connected": "povezan",
"mcp.status.failed": "nije uspio",
"mcp.status.needs_auth": "treba autorizaciju",
+ "mcp.status.needs_client_registration": "potrebna registracija klijenta",
+ "mcp.status.pending": "povezivanje…",
"mcp.status.disabled": "onemogućeno",
"mcp.auth.clickToAuthenticate": "Kliknite za autentifikaciju",
"dialog.fork.empty": "Nema poruka za račvanje",
@@ -921,6 +923,83 @@ export const dict = {
"settings.section.server": "Poslužitelj",
"settings.tab.general": "Općenito",
"settings.tab.shortcuts": "Prečaci",
+ "settings.tab.plugins": "Dodaci",
+ "settings.plugins.section.browse": "Pregledaj",
+ "settings.plugins.section.installed": "Instalirano",
+ "settings.plugins.source.all": "Svi izvori",
+ "settings.plugins.source.ecosystem": "Ekosustav",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Dodaj poslužitelj",
+ "settings.mcp.type.local": "Lokalni",
+ "settings.mcp.type.remote": "Udaljeni",
+ "settings.mcp.empty": "Nema konfiguriranih MCP poslužitelja.",
+ "settings.mcp.deleted": "{{name}} je izbrisan.",
+ "settings.mcp.errors.refresh": "Učitavanje MCP poslužitelja nije uspjelo.",
+ "settings.mcp.status.pending": "povezivanje…",
+ "settings.mcp.action.connect": "Poveži",
+ "settings.mcp.action.disconnect": "Odspoji",
+ "settings.mcp.action.authenticate": "Autentificiraj",
+ "settings.mcp.action.edit": "Uredi",
+ "settings.mcp.action.delete": "Izbriši",
+ "settings.mcp.delete.title": "Izbriši MCP poslužitelj",
+ "settings.mcp.delete.body": "Ukloniti {{name}}? Ovo se ne može poništiti.",
+ "settings.mcp.form.title.add": "Dodaj MCP poslužitelj",
+ "settings.mcp.form.title.edit": "Uredi MCP poslužitelj",
+ "settings.mcp.form.subtitle": "Konfigurirajte postavke veze.",
+ "settings.mcp.form.name": "Naziv",
+ "settings.mcp.form.command": "Naredba",
+ "settings.mcp.form.command.hint": "npr. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Radni direktorij",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Varijable okoline",
+ "settings.mcp.form.headers": "Zaglavlja",
+ "settings.mcp.form.addRow": "Dodaj redak",
+ "settings.mcp.form.removeRow": "Ukloni",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID klijenta",
+ "settings.mcp.form.oauth.clientSecret": "Tajna klijenta",
+ "settings.mcp.form.oauth.clientSecret.keep": "Ostavite prazno za izostavljanje — može biti potrebna ponovna autentifikacija",
+ "settings.mcp.form.oauth.scope": "Opseg",
+ "settings.mcp.form.oauth.callbackPort": "Povratni port",
+ "settings.mcp.form.oauth.disableAutodetect": "Onemogući automatsko otkrivanje OAutha",
+ "settings.mcp.form.enabled": "Omogućeno",
+ "settings.mcp.form.timeout": "Vremensko ograničenje (ms)",
+ "settings.mcp.form.save": "Spremi",
+ "settings.mcp.form.cancel": "Odustani",
+ "settings.mcp.form.error.name": "Unesite naziv.",
+ "settings.mcp.form.error.command": "Unesite naredbu.",
+ "settings.mcp.form.error.url": "Unesite URL.",
+ "settings.mcp.form.error.callbackPort": "Povratni port mora biti 1–65535.",
+ "settings.mcp.form.error.timeout": "Vremensko ograničenje mora biti pozitivan cijeli broj.",
+ "settings.mcp.errors.invalid": "Ispravite istaknuta polja.",
+ "settings.mcp.errors.duplicate": "Poslužitelj s ovim nazivom već postoji.",
+ "settings.mcp.errors.noConfig": "Konfiguraciju za {{name}} nije moguće pročitati — možda je definirana izvan projekta.",
+ "settings.mcp.edit.warn": "Spremanje ponovno povezuje ovaj poslužitelj.",
+ "settings.plugins.search.placeholder": "Traži dodatke…",
+ "settings.plugins.detail.install": "Instaliraj…",
+ "settings.plugins.detail.copy": "Kopiraj isječak konfiguracije",
+ "settings.plugins.detail.copied": "Kopirano",
+ "settings.plugins.detail.notOnNpm": "Nije pronađeno na npm — dodajte ručno u opencode.json",
+ "settings.plugins.install.title": "Instaliraj dodatak",
+ "settings.plugins.install.description": "Gdje dodati {{name}}?",
+ "settings.plugins.install.global": "Globalno (~/.config/opencode)",
+ "settings.plugins.install.project": "Ovaj projekt",
+ "settings.plugins.install.cancel": "Odustani",
+ "settings.plugins.install.success": "{{name}} je instaliran. Ponovno pokrenite OpenCode da se učita.",
+ "settings.plugins.installed.empty": "Nema instaliranih dodataka.",
+ "settings.plugins.installed.provenance.global": "Globalno",
+ "settings.plugins.installed.provenance.project": "Projekt",
+ "settings.plugins.installed.disable": "Onemogući",
+ "settings.plugins.installed.enable": "Omogući",
+ "settings.plugins.installed.uninstall": "Deinstaliraj",
+ "settings.plugins.installed.uninstallBody": "Deinstalirati {{name}} iz {{scope}}? Uklonit će se iz konfiguracijske datoteke.",
+ "settings.plugins.installed.recentlyRemoved": "Nedavno uklonjeno",
+ "settings.plugins.installed.openConfig": "Otvori konfiguraciju",
+ "settings.plugins.errors.parseFailed": "Nije moguće čitati {{path}} — popravite ili uklonite datoteku za upravljanje dodacima tamo.",
+ "settings.plugins.errors.catalog": "Nije moguće osvježiti katalog dodataka.",
+ "settings.plugins.stale": "Prikazuje se predmemorirani katalog (starost {{age}}).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL integracija",
"settings.desktop.wsl.description": "Pokrenite OpenCode poslužitelj unutar WSL na Windows.",
@@ -1098,8 +1177,6 @@ export const dict = {
"settings.agents.description": "Ovdje će se moći konfigurirati postavke agenta.",
"settings.commands.title": "Naredbe",
"settings.commands.description": "Ovdje će se moći konfigurirati postavke naredbi.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Ovdje će se moći konfigurirati postavke MCP.",
"settings.permissions.title": "Dozvole",
"settings.permissions.description": "Kontrolirajte koje alate poslužitelj može koristiti prema zadanim postavkama.",
"settings.permissions.section.tools": "Alati",
diff --git a/packages/app/src/i18n/hu.ts b/packages/app/src/i18n/hu.ts
index 664abf8ee4c0..73709f8f67e9 100644
--- a/packages/app/src/i18n/hu.ts
+++ b/packages/app/src/i18n/hu.ts
@@ -401,6 +401,8 @@ export const dict = {
"mcp.status.connected": "csatlakoztatva",
"mcp.status.failed": "sikertelen",
"mcp.status.needs_auth": "hitelesítést igényel",
+ "mcp.status.needs_client_registration": "ügyfélregisztráció szükséges",
+ "mcp.status.pending": "kapcsolódás…",
"mcp.status.disabled": "letiltva",
"mcp.auth.clickToAuthenticate": "Kattintson a hitelesítéshez",
"dialog.fork.empty": "Nincsenek üzenetek, ahonnan elágazhatna",
@@ -921,6 +923,83 @@ export const dict = {
"settings.section.server": "Kiszolgáló",
"settings.tab.general": "Általános",
"settings.tab.shortcuts": "Parancsikonok",
+ "settings.tab.plugins": "Pluginek",
+ "settings.plugins.section.browse": "Böngészés",
+ "settings.plugins.section.installed": "Telepítve",
+ "settings.plugins.source.all": "Minden forrás",
+ "settings.plugins.source.ecosystem": "Ökoszisztéma",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Szerver hozzáadása",
+ "settings.mcp.type.local": "Helyi",
+ "settings.mcp.type.remote": "Távoli",
+ "settings.mcp.empty": "Nincs konfigurálva MCP-szerver.",
+ "settings.mcp.deleted": "{{name}} törölve.",
+ "settings.mcp.errors.refresh": "Az MCP-szerverek betöltése nem sikerült.",
+ "settings.mcp.status.pending": "kapcsolódás…",
+ "settings.mcp.action.connect": "Kapcsolódás",
+ "settings.mcp.action.disconnect": "Kapcsolat bontása",
+ "settings.mcp.action.authenticate": "Hitelesítés",
+ "settings.mcp.action.edit": "Szerkesztés",
+ "settings.mcp.action.delete": "Törlés",
+ "settings.mcp.delete.title": "MCP-szerver törlése",
+ "settings.mcp.delete.body": "Eltávolítod: {{name}}? Ez nem visszavonható.",
+ "settings.mcp.form.title.add": "MCP-szerver hozzáadása",
+ "settings.mcp.form.title.edit": "MCP-szerver szerkesztése",
+ "settings.mcp.form.subtitle": "Állítsd be a kapcsolat beállításait.",
+ "settings.mcp.form.name": "Név",
+ "settings.mcp.form.command": "Parancs",
+ "settings.mcp.form.command.hint": "pl. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Munkakönyvtár",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Környezeti változók",
+ "settings.mcp.form.headers": "Fejlécek",
+ "settings.mcp.form.addRow": "Sor hozzáadása",
+ "settings.mcp.form.removeRow": "Eltávolítás",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Ügyfél-azonosító",
+ "settings.mcp.form.oauth.clientSecret": "Ügyféltitok",
+ "settings.mcp.form.oauth.clientSecret.keep": "Hagyd üresen a kihagyáshoz — újbóli hitelesítés lehet szükséges",
+ "settings.mcp.form.oauth.scope": "Hatókör",
+ "settings.mcp.form.oauth.callbackPort": "Callback-port",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth automatikus felismerés letiltása",
+ "settings.mcp.form.enabled": "Engedélyezve",
+ "settings.mcp.form.timeout": "Időkorlát (ms)",
+ "settings.mcp.form.save": "Mentés",
+ "settings.mcp.form.cancel": "Mégse",
+ "settings.mcp.form.error.name": "Adj meg egy nevet.",
+ "settings.mcp.form.error.command": "Adj meg egy parancsot.",
+ "settings.mcp.form.error.url": "Adj meg egy URL-t.",
+ "settings.mcp.form.error.callbackPort": "A callback-port 1 és 65535 között legyen.",
+ "settings.mcp.form.error.timeout": "Az időkorlát legyen pozitív egész szám.",
+ "settings.mcp.errors.invalid": "Javítsd a kiemelt mezőket.",
+ "settings.mcp.errors.duplicate": "Már létezik ezzel a névvel szerver.",
+ "settings.mcp.errors.noConfig": "A(z) {{name}} konfigurációja nem olvasható — lehet, hogy a projekten kívül van definiálva.",
+ "settings.mcp.edit.warn": "A mentés újracsatlakoztatja a szervert.",
+ "settings.plugins.search.placeholder": "Pluginok keresése…",
+ "settings.plugins.detail.install": "Telepítés…",
+ "settings.plugins.detail.copy": "Konfigurációrészlet másolása",
+ "settings.plugins.detail.copied": "Kimásolva",
+ "settings.plugins.detail.notOnNpm": "Nem található az npm-en — add hozzá kézzel az opencode.json fájlhoz",
+ "settings.plugins.install.title": "Plugin telepítése",
+ "settings.plugins.install.description": "Hova kerüljön {{name}}?",
+ "settings.plugins.install.global": "Globális (~/.config/opencode)",
+ "settings.plugins.install.project": "Ez a projekt",
+ "settings.plugins.install.cancel": "Mégse",
+ "settings.plugins.install.success": "{{name}} telepítve. A betöltéshez indítsd újra az OpenCode-ot.",
+ "settings.plugins.installed.empty": "Nincsenek telepítve pluginok.",
+ "settings.plugins.installed.provenance.global": "Globális",
+ "settings.plugins.installed.provenance.project": "Projekt",
+ "settings.plugins.installed.disable": "Letiltás",
+ "settings.plugins.installed.enable": "Engedélyezés",
+ "settings.plugins.installed.uninstall": "Eltávolítás",
+ "settings.plugins.installed.uninstallBody": "Eltávolítja a(z) {{name}} elemet innen: {{scope}}? El lesz távolítva a konfigurációs fájlból.",
+ "settings.plugins.installed.recentlyRemoved": "Nemrég eltávolítva",
+ "settings.plugins.installed.openConfig": "Konfiguráció megnyitása",
+ "settings.plugins.errors.parseFailed": "A(z) {{path}} nem olvasható — a pluginok kezeléséhez javítsd vagy távolítsd el a fájlt.",
+ "settings.plugins.errors.catalog": "A plugin-katalógus frissítése nem sikerült.",
+ "settings.plugins.stale": "Gyorsítótárazott katalógus megjelenítése ({{age}} óta).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL integráció",
"settings.desktop.wsl.description": "Futtassa a OpenCode szervert a WSL belsejében a Windows rendszeren.",
@@ -1098,8 +1177,6 @@ export const dict = {
"settings.agents.description": "Az ügynök beállításai itt konfigurálhatók.",
"settings.commands.title": "Parancsok",
"settings.commands.description": "A parancsbeállítások itt konfigurálhatók.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "A MCP beállítások itt konfigurálhatók.",
"settings.permissions.title": "Engedélyek",
"settings.permissions.description":
"Szabályozza, hogy a szerver milyen eszközöket használhat alapértelmezés szerint.",
diff --git a/packages/app/src/i18n/hy.ts b/packages/app/src/i18n/hy.ts
index 6eac43b5e6dd..74c0f63e8cd4 100644
--- a/packages/app/src/i18n/hy.ts
+++ b/packages/app/src/i18n/hy.ts
@@ -399,6 +399,8 @@ export const dict = {
"mcp.status.connected": "միացված",
"mcp.status.failed": "ձախողվեց",
"mcp.status.needs_auth": "անհրաժեշտ է վավերացում",
+ "mcp.status.needs_client_registration": "անհրաժեշտ է հաճախորդի գրանցում",
+ "mcp.status.pending": "միանում է…",
"mcp.status.disabled": "անջատված",
"mcp.auth.clickToAuthenticate": "Սեղմեք՝ նույնականացնելու համար",
"dialog.fork.empty": "Չկան պատառաքաղված հաղորդագրություններ",
@@ -920,6 +922,83 @@ export const dict = {
"settings.section.server": "Սերվեր",
"settings.tab.general": "Ընդհանուր",
"settings.tab.shortcuts": "Դյուրանցումներ",
+ "settings.tab.plugins": "Հավելումներ",
+ "settings.plugins.section.browse": "Թերթել",
+ "settings.plugins.section.installed": "Տեղադրված",
+ "settings.plugins.source.all": "Բոլոր աղբյուրները",
+ "settings.plugins.source.ecosystem": "Էկոհամակարգ",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Ավելացնել սերվեր",
+ "settings.mcp.type.local": "Լոկալ",
+ "settings.mcp.type.remote": "Հեռավար",
+ "settings.mcp.empty": "Կոնֆիգուրացված MCP սերվերներ չկան։",
+ "settings.mcp.deleted": "{{name}}-ը ջնջված է։",
+ "settings.mcp.errors.refresh": "Չհաջողվեց բեռնել MCP սերվերները։",
+ "settings.mcp.status.pending": "միանում է…",
+ "settings.mcp.action.connect": "Միանալ",
+ "settings.mcp.action.disconnect": "Անջատել",
+ "settings.mcp.action.authenticate": "Նույնականացնել",
+ "settings.mcp.action.edit": "Խմբագրել",
+ "settings.mcp.action.delete": "Ջնջել",
+ "settings.mcp.delete.title": "Ջնջել MCP սերվերը",
+ "settings.mcp.delete.body": "Հեռացնե՞լ {{name}}-ը։ Գործողությունը չեղարկելի չէ։",
+ "settings.mcp.form.title.add": "Ավելացնել MCP սերվեր",
+ "settings.mcp.form.title.edit": "Խմբագրել MCP սերվերը",
+ "settings.mcp.form.subtitle": "Կարգավորեք միացման կարգավորումները։",
+ "settings.mcp.form.name": "Անուն",
+ "settings.mcp.form.command": "Հրաման",
+ "settings.mcp.form.command.hint": "օրինակ՝ npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Աշխատանքային պանակ",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Միջավայրի փոփոխականներ",
+ "settings.mcp.form.headers": "Վերնագրեր",
+ "settings.mcp.form.addRow": "Ավելացնել տող",
+ "settings.mcp.form.removeRow": "Հեռացնել",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Client ID",
+ "settings.mcp.form.oauth.clientSecret": "Client secret",
+ "settings.mcp.form.oauth.clientSecret.keep": "Բաց թողեք՝ շրջանցելու համար — կարող է անհրաժեշտ լինել վերանույնականացում",
+ "settings.mcp.form.oauth.scope": "Ծավալ",
+ "settings.mcp.form.oauth.callbackPort": "Callback պորտ",
+ "settings.mcp.form.oauth.disableAutodetect": "Անջատել OAuth ինքնաբացահայտումը",
+ "settings.mcp.form.enabled": "Միացված",
+ "settings.mcp.form.timeout": "Ժամանակի սահմանում (ms)",
+ "settings.mcp.form.save": "Պահպանել",
+ "settings.mcp.form.cancel": "Չեղարկել",
+ "settings.mcp.form.error.name": "Մուտքագրեք անուն։",
+ "settings.mcp.form.error.command": "Մուտքագրեք հրաման։",
+ "settings.mcp.form.error.url": "Մուտքագրեք URL։",
+ "settings.mcp.form.error.callbackPort": "Callback պորտը պետք է լինի 1-65535։",
+ "settings.mcp.form.error.timeout": "Ժամանակի սահմանումը դրական ամբողջ թիվ պետք է լինի.",
+ "settings.mcp.errors.invalid": "Ուղղեք ընդգծված դաշտերը։",
+ "settings.mcp.errors.duplicate": "Այս անունով սերվեր արդեն կա։",
+ "settings.mcp.errors.noConfig": "{{name}}-ի կոնֆիգուրացիան հնարավոր չէ կարդալ — կարող է սահմանված լինել նախագծից դուրս։",
+ "settings.mcp.edit.warn": "Պահպանումը վերամիացնում է այս սերվերը։",
+ "settings.plugins.search.placeholder": "Որոնել հավելումներ…",
+ "settings.plugins.detail.install": "Տեղադրել…",
+ "settings.plugins.detail.copy": "Պատճենել կոնֆիգի հատվածը",
+ "settings.plugins.detail.copied": "Պատճենված",
+ "settings.plugins.detail.notOnNpm": "Չի գտնվել npm-ում — ձեռքով ավելացրեք opencode.json-ում",
+ "settings.plugins.install.title": "Տեղադրել հավելում",
+ "settings.plugins.install.description": "Որտեղ ավելացվի {{name}}-ը?",
+ "settings.plugins.install.global": "Գլոբալ (~/.config/opencode)",
+ "settings.plugins.install.project": "Այս նախագիծ",
+ "settings.plugins.install.cancel": "Չեղարկել",
+ "settings.plugins.install.success": "{{name}}-ը տեղադրված է։ Բեռնելու համար վերագործարկեք OpenCode-ը։",
+ "settings.plugins.installed.empty": "Տեղադրված հավելումներ չկան։",
+ "settings.plugins.installed.provenance.global": "Գլոբալ",
+ "settings.plugins.installed.provenance.project": "Նախագիծ",
+ "settings.plugins.installed.disable": "Անջատել",
+ "settings.plugins.installed.enable": "Միացնել",
+ "settings.plugins.installed.uninstall": "Հեռացնել",
+ "settings.plugins.installed.uninstallBody": "Հեռացնե՞լ {{name}}-ը {{scope}}-ից: Այն կհեռացվի կազմաձևման ֆայլից:",
+ "settings.plugins.installed.recentlyRemoved": "Վերջերս հեռացված",
+ "settings.plugins.installed.openConfig": "Բացել կոնֆիգը",
+ "settings.plugins.errors.parseFailed": "Չհաջողվեց կարդալ {{path}}-ը — ուղղեք կամ հեռացրեք ֆայլը՝ հավելումները կառավարելու համար։",
+ "settings.plugins.errors.catalog": "Չհաջողվեց թարմացնել հավելումների կատալոգը։",
+ "settings.plugins.stale": "Ցուցադրվում է քեշավորված կատալոգը ({{age}} հնի)։",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL ինտեգրում",
"settings.desktop.wsl.description": "Գործարկեք OpenCode սերվերը WSL-ի ներսում՝ Windows-ում։",
@@ -1094,8 +1173,6 @@ export const dict = {
"settings.agents.description": "Գործակալի կարգավորումները կկարգավորվեն այստեղ։",
"settings.commands.title": "Հրամաններ",
"settings.commands.description": "Հրամանի կարգավորումները կկարգավորվեն այստեղ։",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP կարգավորումները կկարգավորվեն այստեղ։",
"settings.permissions.title": "Թույլտվություններ",
"settings.permissions.description": "Վերահսկեք, թե ինչ գործիքներ կարող է օգտագործել սերվերը լռելյայն։",
"settings.permissions.section.tools": "Գործիքներ",
diff --git a/packages/app/src/i18n/id.ts b/packages/app/src/i18n/id.ts
index 96dc3c7592e4..8713238ed0b5 100644
--- a/packages/app/src/i18n/id.ts
+++ b/packages/app/src/i18n/id.ts
@@ -428,6 +428,8 @@ export const dict = {
"mcp.status.connected": "terhubung",
"mcp.status.failed": "gagal",
"mcp.status.needs_auth": "perlu autentikasi",
+ "mcp.status.needs_client_registration": "perlu registrasi klien",
+ "mcp.status.pending": "menghubungkan…",
"mcp.status.disabled": "nonaktif",
"mcp.auth.clickToAuthenticate": "Klik untuk mengautentikasi",
@@ -991,6 +993,83 @@ export const dict = {
"settings.section.server": "Server",
"settings.tab.general": "Umum",
"settings.tab.shortcuts": "Pintasan",
+ "settings.tab.plugins": "Plugin",
+ "settings.plugins.section.browse": "Jelajahi",
+ "settings.plugins.section.installed": "Terpasang",
+ "settings.plugins.source.all": "Semua sumber",
+ "settings.plugins.source.ecosystem": "Ekosistem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Tambah server",
+ "settings.mcp.type.local": "Lokal",
+ "settings.mcp.type.remote": "Jarak jauh",
+ "settings.mcp.empty": "Belum ada server MCP yang dikonfigurasi.",
+ "settings.mcp.deleted": "{{name}} dihapus.",
+ "settings.mcp.errors.refresh": "Tidak dapat memuat server MCP.",
+ "settings.mcp.status.pending": "menghubungkan…",
+ "settings.mcp.action.connect": "Sambungkan",
+ "settings.mcp.action.disconnect": "Putuskan",
+ "settings.mcp.action.authenticate": "Autentikasi",
+ "settings.mcp.action.edit": "Edit",
+ "settings.mcp.action.delete": "Hapus",
+ "settings.mcp.delete.title": "Hapus server MCP",
+ "settings.mcp.delete.body": "Hapus {{name}}? Tidak dapat dibatalkan.",
+ "settings.mcp.form.title.add": "Tambah server MCP",
+ "settings.mcp.form.title.edit": "Edit server MCP",
+ "settings.mcp.form.subtitle": "Konfigurasi pengaturan koneksi.",
+ "settings.mcp.form.name": "Nama",
+ "settings.mcp.form.command": "Perintah",
+ "settings.mcp.form.command.hint": "mis. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Direktori kerja",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Variabel lingkungan",
+ "settings.mcp.form.headers": "Header",
+ "settings.mcp.form.addRow": "Tambah baris",
+ "settings.mcp.form.removeRow": "Hapus",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID klien",
+ "settings.mcp.form.oauth.clientSecret": "Rahasia klien",
+ "settings.mcp.form.oauth.clientSecret.keep": "Biarkan kosong untuk melewati — autentikasi ulang mungkin diperlukan",
+ "settings.mcp.form.oauth.scope": "Cakupan",
+ "settings.mcp.form.oauth.callbackPort": "Port callback",
+ "settings.mcp.form.oauth.disableAutodetect": "Nonaktifkan deteksi otomatis OAuth",
+ "settings.mcp.form.enabled": "Diaktifkan",
+ "settings.mcp.form.timeout": "Waktu tunggu (ms)",
+ "settings.mcp.form.save": "Simpan",
+ "settings.mcp.form.cancel": "Batal",
+ "settings.mcp.form.error.name": "Masukkan nama.",
+ "settings.mcp.form.error.command": "Masukkan perintah.",
+ "settings.mcp.form.error.url": "Masukkan URL.",
+ "settings.mcp.form.error.callbackPort": "Port callback harus antara 1 dan 65535.",
+ "settings.mcp.form.error.timeout": "Waktu tunggu harus bilangan bulat positif.",
+ "settings.mcp.errors.invalid": "Perbaiki bidang yang disorot.",
+ "settings.mcp.errors.duplicate": "Server dengan nama ini sudah ada.",
+ "settings.mcp.errors.noConfig": "Tidak dapat membaca konfigurasi {{name}} — mungkin didefinisikan di luar proyek.",
+ "settings.mcp.edit.warn": "Menyimpan menyambungkan ulang server ini.",
+ "settings.plugins.search.placeholder": "Cari plugin…",
+ "settings.plugins.detail.install": "Pasang…",
+ "settings.plugins.detail.copy": "Salin cuplikan konfigurasi",
+ "settings.plugins.detail.copied": "Tersalin",
+ "settings.plugins.detail.notOnNpm": "Tidak ditemukan di npm — tambahkan manual ke opencode.json",
+ "settings.plugins.install.title": "Pasang plugin",
+ "settings.plugins.install.description": "Ke mana {{name}} ditambahkan?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "Proyek ini",
+ "settings.plugins.install.cancel": "Batal",
+ "settings.plugins.install.success": "{{name}} terpasang. Mulai ulang OpenCode untuk memuatnya.",
+ "settings.plugins.installed.empty": "Tidak ada plugin terpasang.",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "Proyek",
+ "settings.plugins.installed.disable": "Nonaktifkan",
+ "settings.plugins.installed.enable": "Aktifkan",
+ "settings.plugins.installed.uninstall": "Copot",
+ "settings.plugins.installed.uninstallBody": "Copot {{name}} dari {{scope}}? Entri akan dihapus dari file konfigurasi.",
+ "settings.plugins.installed.recentlyRemoved": "Baru dihapus",
+ "settings.plugins.installed.openConfig": "Buka konfigurasi",
+ "settings.plugins.errors.parseFailed": "Tidak dapat membaca {{path}} — perbaiki atau hapus berkas untuk mengelola plugin di sana.",
+ "settings.plugins.errors.catalog": "Tidak dapat memperbarui katalog plugin.",
+ "settings.plugins.stale": "Menampilkan katalog dari cache ({{age}} lalu).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "Integrasi WSL",
"settings.desktop.wsl.description": "Jalankan server OpenCode di dalam WSL di Windows.",
@@ -1176,9 +1255,6 @@ export const dict = {
"settings.agents.description": "Pengaturan agen akan dapat dikonfigurasi di sini.",
"settings.commands.title": "Perintah",
"settings.commands.description": "Pengaturan perintah akan dapat dikonfigurasi di sini.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Pengaturan MCP akan dapat dikonfigurasi di sini.",
-
"settings.permissions.title": "Izin",
"settings.permissions.description": "Kontrol alat apa yang dapat digunakan server secara bawaan.",
"settings.permissions.section.tools": "Alat",
diff --git a/packages/app/src/i18n/is.ts b/packages/app/src/i18n/is.ts
index a45ed9a40cb0..9148c3222a61 100644
--- a/packages/app/src/i18n/is.ts
+++ b/packages/app/src/i18n/is.ts
@@ -401,6 +401,8 @@ export const dict = {
"mcp.status.connected": "tengdur",
"mcp.status.failed": "mistókst",
"mcp.status.needs_auth": "þarf heimild",
+ "mcp.status.needs_client_registration": "skráning viðskiptavinar krafist",
+ "mcp.status.pending": "tengist…",
"mcp.status.disabled": "fatlaður",
"mcp.auth.clickToAuthenticate": "Smelltu til að auðkenna",
"dialog.fork.empty": "Engin skilaboð til að punga frá",
@@ -915,6 +917,83 @@ export const dict = {
"settings.section.server": "Netþjónn",
"settings.tab.general": "Almennt",
"settings.tab.shortcuts": "Flýtileiðir",
+ "settings.tab.plugins": "Viðbætur",
+ "settings.plugins.section.browse": "Flakka",
+ "settings.plugins.section.installed": "Uppsettar",
+ "settings.plugins.source.all": "Allar heimildir",
+ "settings.plugins.source.ecosystem": "Vistkerfi",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Bæta við þjóni",
+ "settings.mcp.type.local": "Staðbundið",
+ "settings.mcp.type.remote": "Fjartengt",
+ "settings.mcp.empty": "Engir MCP-þjónar stilltir.",
+ "settings.mcp.deleted": "{{name}} eytt.",
+ "settings.mcp.errors.refresh": "Mistókst að hlaða MCP-þjónum.",
+ "settings.mcp.status.pending": "tengist…",
+ "settings.mcp.action.connect": "Tengjast",
+ "settings.mcp.action.disconnect": "Aftengjast",
+ "settings.mcp.action.authenticate": "Auðkenna",
+ "settings.mcp.action.edit": "Breyta",
+ "settings.mcp.action.delete": "Eyða",
+ "settings.mcp.delete.title": "Eyða MCP-þjóni",
+ "settings.mcp.delete.body": "Fjarlægja {{name}}? Þetta er ekki hægt að afturkalla.",
+ "settings.mcp.form.title.add": "Bæta við MCP-þjóni",
+ "settings.mcp.form.title.edit": "Breyta MCP-þjóni",
+ "settings.mcp.form.subtitle": "Stilltu tengistillingarnar.",
+ "settings.mcp.form.name": "Heiti",
+ "settings.mcp.form.command": "Skipun",
+ "settings.mcp.form.command.hint": "t.d. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Vinnuskrá",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Umhverfisbreytur",
+ "settings.mcp.form.headers": "Fyrirsagnir",
+ "settings.mcp.form.addRow": "Bæta við röð",
+ "settings.mcp.form.removeRow": "Fjarlægja",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Biðlaraauðkenni",
+ "settings.mcp.form.oauth.clientSecret": "Biðarleyndarmál",
+ "settings.mcp.form.oauth.clientSecret.keep": "Skildu tómt til að sleppa — endurauðkenning getur verið nauðsynleg",
+ "settings.mcp.form.oauth.scope": "Umfang",
+ "settings.mcp.form.oauth.callbackPort": "Afturkallsport",
+ "settings.mcp.form.oauth.disableAutodetect": "Slökkva á sjálfvirkri OAuth-þekkingu",
+ "settings.mcp.form.enabled": "Virkt",
+ "settings.mcp.form.timeout": "Tímamörk (ms)",
+ "settings.mcp.form.save": "Vista",
+ "settings.mcp.form.cancel": "Hætta við",
+ "settings.mcp.form.error.name": "Sláðu inn heiti.",
+ "settings.mcp.form.error.command": "Sláðu inn skipun.",
+ "settings.mcp.form.error.url": "Sláðu inn URL.",
+ "settings.mcp.form.error.callbackPort": "Afturkallsport verður að vera 1–65535.",
+ "settings.mcp.form.error.timeout": "Tímamörk verða að vera jákvæð heiltala.",
+ "settings.mcp.errors.invalid": "Lagðu úr lituðu svæðunum.",
+ "settings.mcp.errors.duplicate": "Þjónn með þessu heiti er þegar til.",
+ "settings.mcp.errors.noConfig": "Get ekki lesið stillingar fyrir {{name}} — gætu verið skilgreindar utan verkefnisins.",
+ "settings.mcp.edit.warn": "Vistun endirtengir þennan þjón.",
+ "settings.plugins.search.placeholder": "Leita að viðbótum…",
+ "settings.plugins.detail.install": "Setja upp…",
+ "settings.plugins.detail.copy": "Afrita stillingabrot",
+ "settings.plugins.detail.copied": "Afritað",
+ "settings.plugins.detail.notOnNpm": "Fannst ekki á npm — bættu handvirkt í opencode.json",
+ "settings.plugins.install.title": "Setja upp viðbót",
+ "settings.plugins.install.description": "Hvar á að bæta {{name}} við?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "Þetta verkefni",
+ "settings.plugins.install.cancel": "Hætta við",
+ "settings.plugins.install.success": "{{name}} uppsett. Endurræstu OpenCode til að hlaupa það inn.",
+ "settings.plugins.installed.empty": "Engar viðbætur uppsettar.",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "Verkefni",
+ "settings.plugins.installed.disable": "Gera óvirkt",
+ "settings.plugins.installed.enable": "Virkja",
+ "settings.plugins.installed.uninstall": "Fjarlægja uppsetningu",
+ "settings.plugins.installed.uninstallBody": "Fjarlægja uppsetningu á {{name}} úr {{scope}}? Það verður fjarlægt úr stillingarskránni.",
+ "settings.plugins.installed.recentlyRemoved": "Nýlega fjarlægt",
+ "settings.plugins.installed.openConfig": "Opna stillingar",
+ "settings.plugins.errors.parseFailed": "Get ekki lesið {{path}} — lagaðu eða fjarlægðu skrána til að stjórna viðbótum þar.",
+ "settings.plugins.errors.catalog": "Gat ekki endurhlaðað viðbótarskrá.",
+ "settings.plugins.stale": "Birtir skyndiminni útgáfu ({{age}} gömul).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL samþætting",
"settings.desktop.wsl.description": "Keyrðu OpenCode netþjóninn inni í WSL á Windows.",
@@ -1087,8 +1166,6 @@ export const dict = {
"settings.agents.description": "Umboðsmannsstillingar verða stillanlegar hér.",
"settings.commands.title": "Skipanir",
"settings.commands.description": "Skipunarstillingar verða stillanlegar hér.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP stillingar verða stillanlegar hér.",
"settings.permissions.title": "Heimildir",
"settings.permissions.description": "Stjórnaðu því hvaða verkfæri þjónninn getur notað sjálfgefið.",
"settings.permissions.section.tools": "Verkfæri",
diff --git a/packages/app/src/i18n/it.ts b/packages/app/src/i18n/it.ts
index a093e11485a3..a135a12f860d 100644
--- a/packages/app/src/i18n/it.ts
+++ b/packages/app/src/i18n/it.ts
@@ -306,6 +306,8 @@ export const dict = {
"mcp.status.connected": "collegato",
"mcp.status.failed": "fallito",
"mcp.status.needs_auth": "richiede l'autenticazione",
+ "mcp.status.needs_client_registration": "registrazione client necessaria",
+ "mcp.status.pending": "connessione…",
"mcp.status.disabled": "disabilitato",
"mcp.auth.clickToAuthenticate": "Fai clic per autenticarti",
"dialog.fork.empty": "Nessun messaggio da cui effettuare il fork",
@@ -833,6 +835,83 @@ export const dict = {
"settings.section.server": "Server",
"settings.tab.general": "Generale",
"settings.tab.shortcuts": "Scorciatoie",
+ "settings.tab.plugins": "Plugin",
+ "settings.plugins.section.browse": "Sfoglia",
+ "settings.plugins.section.installed": "Installati",
+ "settings.plugins.source.all": "Tutte le fonti",
+ "settings.plugins.source.ecosystem": "Ecosistema",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Aggiungi server",
+ "settings.mcp.type.local": "Locale",
+ "settings.mcp.type.remote": "Remoto",
+ "settings.mcp.empty": "Nessun server MCP configurato.",
+ "settings.mcp.deleted": "{{name}} eliminato.",
+ "settings.mcp.errors.refresh": "Impossibile caricare i server MCP.",
+ "settings.mcp.status.pending": "connessione…",
+ "settings.mcp.action.connect": "Connetti",
+ "settings.mcp.action.disconnect": "Disconnetti",
+ "settings.mcp.action.authenticate": "Autentica",
+ "settings.mcp.action.edit": "Modifica",
+ "settings.mcp.action.delete": "Elimina",
+ "settings.mcp.delete.title": "Elimina server MCP",
+ "settings.mcp.delete.body": "Rimuovere {{name}}? Questa azione non è annullabile.",
+ "settings.mcp.form.title.add": "Aggiungi server MCP",
+ "settings.mcp.form.title.edit": "Modifica server MCP",
+ "settings.mcp.form.subtitle": "Configura le impostazioni di connessione.",
+ "settings.mcp.form.name": "Nome",
+ "settings.mcp.form.command": "Comando",
+ "settings.mcp.form.command.hint": "es. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Directory di lavoro",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Variabili d'ambiente",
+ "settings.mcp.form.headers": "Intestazioni",
+ "settings.mcp.form.addRow": "Aggiungi riga",
+ "settings.mcp.form.removeRow": "Rimuovi",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID client",
+ "settings.mcp.form.oauth.clientSecret": "Segreto client",
+ "settings.mcp.form.oauth.clientSecret.keep": "Lascia vuoto per omettere — potrebbe essere necessaria una nuova autenticazione",
+ "settings.mcp.form.oauth.scope": "Ambito",
+ "settings.mcp.form.oauth.callbackPort": "Porta di callback",
+ "settings.mcp.form.oauth.disableAutodetect": "Disabilita rilevamento automatico OAuth",
+ "settings.mcp.form.enabled": "Attivo",
+ "settings.mcp.form.timeout": "Timeout (ms)",
+ "settings.mcp.form.save": "Salva",
+ "settings.mcp.form.cancel": "Annulla",
+ "settings.mcp.form.error.name": "Inserisci un nome.",
+ "settings.mcp.form.error.command": "Inserisci un comando.",
+ "settings.mcp.form.error.url": "Inserisci un URL.",
+ "settings.mcp.form.error.callbackPort": "La porta di callback deve essere tra 1 e 65535.",
+ "settings.mcp.form.error.timeout": "Il timeout deve essere un numero intero positivo.",
+ "settings.mcp.errors.invalid": "Correggi i campi evidenziati.",
+ "settings.mcp.errors.duplicate": "Esiste già un server con questo nome.",
+ "settings.mcp.errors.noConfig": "Impossibile leggere la configurazione di {{name}} — potrebbe essere definita fuori dal progetto.",
+ "settings.mcp.edit.warn": "Il salvataggio riconnette questo server.",
+ "settings.plugins.search.placeholder": "Cerca plugin…",
+ "settings.plugins.detail.install": "Installa…",
+ "settings.plugins.detail.copy": "Copia snippet di configurazione",
+ "settings.plugins.detail.copied": "Copiato",
+ "settings.plugins.detail.notOnNpm": "Non trovato su npm — aggiungi manualmente a opencode.json",
+ "settings.plugins.install.title": "Installa plugin",
+ "settings.plugins.install.description": "Dove aggiungere {{name}}?",
+ "settings.plugins.install.global": "Globale (~/.config/opencode)",
+ "settings.plugins.install.project": "Questo progetto",
+ "settings.plugins.install.cancel": "Annulla",
+ "settings.plugins.install.success": "{{name}} installato. Riavvia OpenCode per caricarlo.",
+ "settings.plugins.installed.empty": "Nessun plugin installato.",
+ "settings.plugins.installed.provenance.global": "Globale",
+ "settings.plugins.installed.provenance.project": "Progetto",
+ "settings.plugins.installed.disable": "Disattiva",
+ "settings.plugins.installed.enable": "Attiva",
+ "settings.plugins.installed.uninstall": "Disinstalla",
+ "settings.plugins.installed.uninstallBody": "Disinstallare {{name}} da {{scope}}? Verrà rimosso dal file di configurazione.",
+ "settings.plugins.installed.recentlyRemoved": "Rimossi di recente",
+ "settings.plugins.installed.openConfig": "Apri config",
+ "settings.plugins.errors.parseFailed": "Impossibile leggere {{path}} — correggi o rimuovi il file per gestire i plugin.",
+ "settings.plugins.errors.catalog": "Impossibile aggiornare il catalogo dei plugin.",
+ "settings.plugins.stale": "Catalogo in cache ({{age}}).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "Integrazione WSL",
"settings.desktop.wsl.description": "Esegui il server OpenCode all'interno di WSL su Windows.",
@@ -1013,8 +1092,6 @@ export const dict = {
"settings.agents.description": "Le impostazioni dell'agente saranno configurabili qui.",
"settings.commands.title": "Comandi",
"settings.commands.description": "Le impostazioni dei comandi saranno configurabili qui.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Le impostazioni MCP saranno configurabili qui.",
"settings.permissions.title": "Autorizzazioni",
"settings.permissions.description":
"Controlla quali strumenti può utilizzare il server per impostazione predefinita.",
diff --git a/packages/app/src/i18n/ja.ts b/packages/app/src/i18n/ja.ts
index b96e8b544b2b..4ca10f118a66 100644
--- a/packages/app/src/i18n/ja.ts
+++ b/packages/app/src/i18n/ja.ts
@@ -401,6 +401,8 @@ export const dict = {
"mcp.status.connected": "接続済み",
"mcp.status.failed": "失敗",
"mcp.status.needs_auth": "認証が必要",
+ "mcp.status.needs_client_registration": "クライアント登録が必要",
+ "mcp.status.pending": "接続中…",
"mcp.auth.clickToAuthenticate": "クリックして認証",
"mcp.status.disabled": "無効",
"dialog.fork.empty": "フォーク元のメッセージがありません",
@@ -820,6 +822,83 @@ export const dict = {
"settings.section.server": "サーバー",
"settings.tab.general": "一般",
"settings.tab.shortcuts": "ショートカット",
+ "settings.tab.plugins": "プラグイン",
+ "settings.plugins.section.browse": "参照",
+ "settings.plugins.section.installed": "インストール済み",
+ "settings.plugins.source.all": "すべてのソース",
+ "settings.plugins.source.ecosystem": "エコシステム",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "サーバーを追加",
+ "settings.mcp.type.local": "ローカル",
+ "settings.mcp.type.remote": "リモート",
+ "settings.mcp.empty": "設定されたMCPサーバーはありません。",
+ "settings.mcp.deleted": "{{name}} を削除しました。",
+ "settings.mcp.errors.refresh": "MCPサーバーを読み込めませんでした。",
+ "settings.mcp.status.pending": "接続中…",
+ "settings.mcp.action.connect": "接続",
+ "settings.mcp.action.disconnect": "切断",
+ "settings.mcp.action.authenticate": "認証",
+ "settings.mcp.action.edit": "編集",
+ "settings.mcp.action.delete": "削除",
+ "settings.mcp.delete.title": "MCPサーバーを削除",
+ "settings.mcp.delete.body": "{{name}} を削除しますか?元に戻せません。",
+ "settings.mcp.form.title.add": "MCPサーバーを追加",
+ "settings.mcp.form.title.edit": "MCPサーバーを編集",
+ "settings.mcp.form.subtitle": "接続設定を構成します。",
+ "settings.mcp.form.name": "名前",
+ "settings.mcp.form.command": "コマンド",
+ "settings.mcp.form.command.hint": "例: npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "作業ディレクトリ",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "環境変数",
+ "settings.mcp.form.headers": "ヘッダー",
+ "settings.mcp.form.addRow": "行を追加",
+ "settings.mcp.form.removeRow": "削除",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "クライアントID",
+ "settings.mcp.form.oauth.clientSecret": "クライアントシークレット",
+ "settings.mcp.form.oauth.clientSecret.keep": "空欄のままにすると省略されます — 再認証が必要になる場合があります",
+ "settings.mcp.form.oauth.scope": "スコープ",
+ "settings.mcp.form.oauth.callbackPort": "コールバックポート",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth自動検出を無効化",
+ "settings.mcp.form.enabled": "有効",
+ "settings.mcp.form.timeout": "タイムアウト (ms)",
+ "settings.mcp.form.save": "保存",
+ "settings.mcp.form.cancel": "キャンセル",
+ "settings.mcp.form.error.name": "名前を入力してください。",
+ "settings.mcp.form.error.command": "コマンドを入力してください。",
+ "settings.mcp.form.error.url": "URLを入力してください。",
+ "settings.mcp.form.error.callbackPort": "コールバックポートは1〜65535の数値である必要があります。",
+ "settings.mcp.form.error.timeout": "タイムアウトは正の整数である必要があります。",
+ "settings.mcp.errors.invalid": "強調表示されたフィールドを修正してください。",
+ "settings.mcp.errors.duplicate": "この名前のサーバーは既に存在します。",
+ "settings.mcp.errors.noConfig": "{{name}} の設定を読み取れません — プロジェクト外で定義されている可能性があります。",
+ "settings.mcp.edit.warn": "保存するとこのサーバーに再接続します。",
+ "settings.plugins.search.placeholder": "プラグインを検索…",
+ "settings.plugins.detail.install": "インストール…",
+ "settings.plugins.detail.copy": "設定スニペットをコピー",
+ "settings.plugins.detail.copied": "コピーしました",
+ "settings.plugins.detail.notOnNpm": "npm に見つかりません — opencode.json に手動で追加してください",
+ "settings.plugins.install.title": "プラグインをインストール",
+ "settings.plugins.install.description": "{{name}} をどこに追加しますか?",
+ "settings.plugins.install.global": "グローバル (~/.config/opencode)",
+ "settings.plugins.install.project": "このプロジェクト",
+ "settings.plugins.install.cancel": "キャンセル",
+ "settings.plugins.install.success": "{{name}} をインストールしました。読み込むには OpenCode を再起動してください。",
+ "settings.plugins.installed.empty": "インストールされたプラグインはありません。",
+ "settings.plugins.installed.provenance.global": "グローバル",
+ "settings.plugins.installed.provenance.project": "プロジェクト",
+ "settings.plugins.installed.disable": "無効化",
+ "settings.plugins.installed.enable": "有効化",
+ "settings.plugins.installed.uninstall": "アンインストール",
+ "settings.plugins.installed.uninstallBody": "{{scope}}から{{name}}をアンインストールしますか?設定ファイルから削除されます。",
+ "settings.plugins.installed.recentlyRemoved": "最近削除した項目",
+ "settings.plugins.installed.openConfig": "設定を開く",
+ "settings.plugins.errors.parseFailed": "{{path}} を読み取れません — プラグインを管理するにはファイルを修正または削除してください。",
+ "settings.plugins.errors.catalog": "プラグインカタログを更新できませんでした。",
+ "settings.plugins.stale": "キャッシュされたカタログを表示中({{age}} 前のもの)。",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL連携",
"settings.desktop.wsl.description": "WindowsのWSL環境でOpenCodeサーバーを実行します。",
@@ -994,8 +1073,6 @@ export const dict = {
"settings.agents.description": "エージェント設定は今後ここで構成できるようになります。",
"settings.commands.title": "コマンド",
"settings.commands.description": "コマンド設定は今後ここで構成できるようになります。",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP設定は今後ここで構成できるようになります。",
"settings.permissions.title": "権限",
"settings.permissions.description": "サーバーがデフォルトで使用できるツールを制御します。",
"settings.permissions.section.tools": "ツール",
diff --git a/packages/app/src/i18n/ka.ts b/packages/app/src/i18n/ka.ts
index be052930a2ec..b5166a895abc 100644
--- a/packages/app/src/i18n/ka.ts
+++ b/packages/app/src/i18n/ka.ts
@@ -397,6 +397,8 @@ export const dict = {
"mcp.status.connected": "დაკავშირებულია",
"mcp.status.failed": "ვერ მოხერხდა",
"mcp.status.needs_auth": "საჭიროა ავტორიზაცია",
+ "mcp.status.needs_client_registration": "საჭიროა კლიენტის რეგისტრაცია",
+ "mcp.status.pending": "დაკავშირება…",
"mcp.status.disabled": "გამორთულია",
"mcp.auth.clickToAuthenticate": "დააწკაპუნეთ ავთენტიფიკაციისთვის",
"dialog.fork.empty": "განშტოებისთვის შეტყობინებები არ არის",
@@ -912,6 +914,83 @@ export const dict = {
"settings.section.server": "სერვერი",
"settings.tab.general": "ზოგადი",
"settings.tab.shortcuts": "მალსახმობები",
+ "settings.tab.plugins": "პლაგინები",
+ "settings.plugins.section.browse": "დათვალიერება",
+ "settings.plugins.section.installed": "დაინსტალირებული",
+ "settings.plugins.source.all": "ყველა წყარო",
+ "settings.plugins.source.ecosystem": "ეკოსისტემა",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "სერვერის დამატება",
+ "settings.mcp.type.local": "ლოკალური",
+ "settings.mcp.type.remote": "დაშორებული",
+ "settings.mcp.empty": "MCP სერვერები კონფიგურირებული არაა.",
+ "settings.mcp.deleted": "{{name}} წაიშალა.",
+ "settings.mcp.errors.refresh": "MCP სერვერების ჩატვირთვა ვერ მოხერხდა.",
+ "settings.mcp.status.pending": "დაკავშირება…",
+ "settings.mcp.action.connect": "დაკავშირება",
+ "settings.mcp.action.disconnect": "გათიშვა",
+ "settings.mcp.action.authenticate": "ავთენტიფიკაცია",
+ "settings.mcp.action.edit": "რედაქტირება",
+ "settings.mcp.action.delete": "წაშლა",
+ "settings.mcp.delete.title": "MCP სერვერის წაშლა",
+ "settings.mcp.delete.body": "წაიშალოს {{name}}? ეს ქმედება გაუქმებადი არაა.",
+ "settings.mcp.form.title.add": "MCP სერვერის დამატება",
+ "settings.mcp.form.title.edit": "MCP სერვერის რედაქტირება",
+ "settings.mcp.form.subtitle": "მოარტე კავშირის პარამეტრები.",
+ "settings.mcp.form.name": "სახელი",
+ "settings.mcp.form.command": "ბრძანება",
+ "settings.mcp.form.command.hint": "მაგ. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "სამუშაო საქაღალდე",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "გარემოს ცვლადები",
+ "settings.mcp.form.headers": "სათაურები",
+ "settings.mcp.form.addRow": "სტრიქონის დამატება",
+ "settings.mcp.form.removeRow": "ამოღება",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "კლიენტის ID",
+ "settings.mcp.form.oauth.clientSecret": "კლიენტის საიდუმლო",
+ "settings.mcp.form.oauth.clientSecret.keep": "გამოსატოვებლად დატოვეთ ცარიელი — შესაძლოა ხელახალი აუთენთიფიკაცია დასჭირდეს",
+ "settings.mcp.form.oauth.scope": "სფერო",
+ "settings.mcp.form.oauth.callbackPort": "კოლბექის პორტი",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth-ის ავტომატური ამოცნობის გამორთვა",
+ "settings.mcp.form.enabled": "ჩართულია",
+ "settings.mcp.form.timeout": "ვადა (ms)",
+ "settings.mcp.form.save": "შენახვა",
+ "settings.mcp.form.cancel": "გაუქმება",
+ "settings.mcp.form.error.name": "შეიყვანეთ სახელი.",
+ "settings.mcp.form.error.command": "შეიყვანეთ ბრძანება.",
+ "settings.mcp.form.error.url": "შეიყვანეთ URL.",
+ "settings.mcp.form.error.callbackPort": "კოლბექის პორტი უნდა იყოს 1-65535.",
+ "settings.mcp.form.error.timeout": "ვადა უნდა იყოს დადებითი მთელი რიცხვი.",
+ "settings.mcp.errors.invalid": "გაასწორეთ მონიშნული ველები.",
+ "settings.mcp.errors.duplicate": "ამ სახელით სერვერი უკვე არსებობს.",
+ "settings.mcp.errors.noConfig": "{{name}}-ის კონფიგურაციის წაკითხვა შეუძლებელია — შესაძლოა პროექტის ფარგლებს გარეთაა.",
+ "settings.mcp.edit.warn": "შენახვა ხელახლა აკავშირებს სერვერს.",
+ "settings.plugins.search.placeholder": "პლაგინების ძიება…",
+ "settings.plugins.detail.install": "ინსტალაცია…",
+ "settings.plugins.detail.copy": "კონფიგურაციის ფრაგმენტის კოპირება",
+ "settings.plugins.detail.copied": "დაკოპირდა",
+ "settings.plugins.detail.notOnNpm": "npm-ზე ვერ მოიძებნა — ხელით დაამატეთ opencode.json-ში",
+ "settings.plugins.install.title": "პლაგინის ინსტალაცია",
+ "settings.plugins.install.description": "სად დაემატოს {{name}}?",
+ "settings.plugins.install.global": "გლობალური (~/.config/opencode)",
+ "settings.plugins.install.project": "ეს პროექტი",
+ "settings.plugins.install.cancel": "გაუქმება",
+ "settings.plugins.install.success": "{{name}} დაინსტალირდა. ჩასატვირთად გადატვირთეთ OpenCode.",
+ "settings.plugins.installed.empty": "პლაგინები დაინსტალირებული არაა.",
+ "settings.plugins.installed.provenance.global": "გლობალური",
+ "settings.plugins.installed.provenance.project": "პროექტი",
+ "settings.plugins.installed.disable": "გამორთვა",
+ "settings.plugins.installed.enable": "ჩართვა",
+ "settings.plugins.installed.uninstall": "ინსტალაციის მოხსნა",
+ "settings.plugins.installed.uninstallBody": "წავშალოთ {{name}} {{scope}}-დან? ის ამოიშლება კონფიგურაციის ფაილიდან.",
+ "settings.plugins.installed.recentlyRemoved": "ბოლოს წაშლილი",
+ "settings.plugins.installed.openConfig": "კონფიგურაციის გახსნა",
+ "settings.plugins.errors.parseFailed": "{{path}}-ის წაკითხვა ვერ მოხერხდა — პლაგინების მართვისთვის შეასწორეთ ან წააშალეთ ფაილი.",
+ "settings.plugins.errors.catalog": "პლაგინების კატალოგის განახლება ვერ მოხერხდა.",
+ "settings.plugins.stale": "ნაჩვენებია კეშირებული კატალოგი ({{age}}-ის წინ).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL ინტეგრაცია",
"settings.desktop.wsl.description": "გაუშვით OpenCode სერვერი WSL-ში Windows-ზე.",
@@ -1086,8 +1165,6 @@ export const dict = {
"settings.agents.description": "აგენტის პარამეტრების კონფიგურაცია იქნება აქ.",
"settings.commands.title": "ბრძანებები",
"settings.commands.description": "ბრძანების პარამეტრების კონფიგურაცია იქნება აქ.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP პარამეტრების კონფიგურაცია აქ იქნება შესაძლებელი.",
"settings.permissions.title": "ნებართვები",
"settings.permissions.description": "აკონტროლეთ, რომელი ხელსაწყოების გამოყენება შეუძლია სერვერს ნაგულისხმევად.",
"settings.permissions.section.tools": "ხელსაწყოები",
diff --git a/packages/app/src/i18n/km.ts b/packages/app/src/i18n/km.ts
index 7f1b61fe3667..6a4aeeae8dc8 100644
--- a/packages/app/src/i18n/km.ts
+++ b/packages/app/src/i18n/km.ts
@@ -396,6 +396,8 @@ export const dict = {
"mcp.status.connected": "បានភ្ជាប់",
"mcp.status.failed": "បរាជ័យ",
"mcp.status.needs_auth": "ត្រូវការសិទ្ធិ",
+ "mcp.status.needs_client_registration": "ត្រូវការចុះឈ្មោះអតិថិជន",
+ "mcp.status.pending": "កំពុងតភ្ជាប់…",
"mcp.status.disabled": "បានបិទ",
"mcp.auth.clickToAuthenticate": "ចុចដើម្បីផ្ទៀងផ្ទាត់",
"dialog.fork.empty": "គ្មានសារដែលត្រូវបំបែកពី",
@@ -910,6 +912,83 @@ export const dict = {
"settings.section.server": "ម៉ាស៊ីនមេ",
"settings.tab.general": "ទូទៅ",
"settings.tab.shortcuts": "ផ្លូវកាត់",
+ "settings.tab.plugins": "ប្លាកអ៊ីន",
+ "settings.plugins.section.browse": "រុករក",
+ "settings.plugins.section.installed": "ដែលបានដំឡើង",
+ "settings.plugins.source.all": "ប្រភពទាំងអស់",
+ "settings.plugins.source.ecosystem": "ប្រព័ន្ធអេកូ",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "បន្ថែមម៉ាស៊ីនបម្រើ",
+ "settings.mcp.type.local": "មូលដ្ឋាន",
+ "settings.mcp.type.remote": "ចម្ងាយ",
+ "settings.mcp.empty": "មិនមានម៉ាស៊ីនបម្រើ MCP បានកំណត់រចនាសម្ព័ន្ធទេ។",
+ "settings.mcp.deleted": "បានលុប {{name}} ។",
+ "settings.mcp.errors.refresh": "មិនអាចផ្ទុកម៉ាស៊ីនបម្រើ MCP បានទេ។",
+ "settings.mcp.status.pending": "កំពុងភ្ជាប់…",
+ "settings.mcp.action.connect": "ភ្ជាប់",
+ "settings.mcp.action.disconnect": "ផ្ដាច់",
+ "settings.mcp.action.authenticate": "ផ្ទៀងផ្ទាត់",
+ "settings.mcp.action.edit": "កែសម្រួល",
+ "settings.mcp.action.delete": "លុប",
+ "settings.mcp.delete.title": "លុបម៉ាស៊ីនបម្រើ MCP",
+ "settings.mcp.delete.body": "ដក {{name}} ចេញ? មិនអាចមិនធ្វើវិញបានទេ។",
+ "settings.mcp.form.title.add": "បន្ថែមម៉ាស៊ីនបម្រើ MCP",
+ "settings.mcp.form.title.edit": "កែសម្រួលម៉ាស៊ីនបម្រើ MCP",
+ "settings.mcp.form.subtitle": "កំណត់រចនាសម្ព័ន្ធការតភ្ជាប់។",
+ "settings.mcp.form.name": "ឈ្មោះ",
+ "settings.mcp.form.command": "ពាក្យបញ្ជា",
+ "settings.mcp.form.command.hint": "ឧ. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "ថតការងារ",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "អថេរបរិស្ថាន",
+ "settings.mcp.form.headers": "ក្បាលសេចក្តី",
+ "settings.mcp.form.addRow": "បន្ថែមជួរ",
+ "settings.mcp.form.removeRow": "លុបចោល",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "លេខសម្គាល់អតិថិជន",
+ "settings.mcp.form.oauth.clientSecret": "សម្ងាត់អតិថិជន",
+ "settings.mcp.form.oauth.clientSecret.keep": "ដើម្បីរំលង ទុកវាចាស់ទេ — ការផ្ទៀងផ្ទាត់ឡើងវិញអាចចាំបាច់",
+ "settings.mcp.form.oauth.scope": "វិសាលភាព",
+ "settings.mcp.form.oauth.callbackPort": "ច្រកហៅត្រឡប់",
+ "settings.mcp.form.oauth.disableAutodetect": "បិទការរកឃើញ OAuth ស្វ័យប្រវត្តិ",
+ "settings.mcp.form.enabled": "បានបើកប្រើ",
+ "settings.mcp.form.timeout": "ពេលផ្តល់ (ms)",
+ "settings.mcp.form.save": "រក្សាទុក",
+ "settings.mcp.form.cancel": "បោះបង់",
+ "settings.mcp.form.error.name": "បញ្ចូលឈ្មោះ។",
+ "settings.mcp.form.error.command": "បញ្ចូលពាក្យបញ្ជា។",
+ "settings.mcp.form.error.url": "បញ្ចូល URL។",
+ "settings.mcp.form.error.callbackPort": "ច្រកហៅត្រឡប់ត្រូវនៅចន្លោះ ១ ដល់ ៦៥៥៣៥។",
+ "settings.mcp.form.error.timeout": "ពេលផ្តល់ត្រូវជាលេខគត់វិជ្ជមាន។",
+ "settings.mcp.errors.invalid": "កែសម្រួលវាលដែលបានរំលង។",
+ "settings.mcp.errors.duplicate": "ម៉ាស៊ីនបម្រើឈ្មោះនេះមានរួចហើយ។",
+ "settings.mcp.errors.noConfig": "មិនអាចអានការកំណត់រចនាសម្ព័ន្ធនៃ {{name}} — អាចកំណត់ក្រៅគម្រោង។",
+ "settings.mcp.edit.warn": "ការរក្សាទុកភ្ជាប់ម៉ាស៊ីនបម្រើនេះឡើងវិញ។",
+ "settings.plugins.search.placeholder": "ស្វែងរកប្លាកអ៊ីន…",
+ "settings.plugins.detail.install": "ដំឡើង…",
+ "settings.plugins.detail.copy": "ចម្លងកំណត់រចនាសម្ព័ន្ធ",
+ "settings.plugins.detail.copied": "បានចម្លង",
+ "settings.plugins.detail.notOnNpm": "រកមិនឃើញលើ npm — បន្ថែមដោយដៃទៅ opencode.json",
+ "settings.plugins.install.title": "ដំឡើងប្លាកអ៊ីន",
+ "settings.plugins.install.description": "តើគួរបន្ថែម {{name}} នៅទីណា?",
+ "settings.plugins.install.global": "សកល (~/.config/opencode)",
+ "settings.plugins.install.project": "គម្រោងនេះ",
+ "settings.plugins.install.cancel": "បោះបង់",
+ "settings.plugins.install.success": "បានដំឡើង {{name}} ។ ចាប់ផ្ដើម OpenCode ឡើងវិញដើម្បីផ្ទុកវា។",
+ "settings.plugins.installed.empty": "មិនមានប្លាកអ៊ីនដែលបានដំឡើងទេ។",
+ "settings.plugins.installed.provenance.global": "សកល",
+ "settings.plugins.installed.provenance.project": "គម្រោង",
+ "settings.plugins.installed.disable": "បិទ",
+ "settings.plugins.installed.enable": "បើក",
+ "settings.plugins.installed.uninstall": "លុបការដំឡើង",
+ "settings.plugins.installed.uninstallBody": "លុបការដំឡើង {{name}} ពី {{scope}}? វានឹងត្រូវបានដកចេញពីឯកសារកំណត់រចនាសម្ព័ន្ធ។",
+ "settings.plugins.installed.recentlyRemoved": "ទើបលុបថ្មីនេះ",
+ "settings.plugins.installed.openConfig": "បើកការកំណត់",
+ "settings.plugins.errors.parseFailed": "មិនអាចអាន {{path}} បានទេ — កែ ឬលុបឯកសារដើម្បីគ្រប់គ្រងប្លាកអ៊ីននៅទីនោះ។",
+ "settings.plugins.errors.catalog": "មិនអាចធ្វើបច្ចុប្បន្នភាពការកត់ត្រាប្លាកអ៊ីនបានទេ។",
+ "settings.plugins.stale": "កំពុងបង្ហាញការកត់ត្រាដែលបានរក្សាទុក (ចាស់ {{age}}) ។",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "ការរួមបញ្ចូល WSL",
"settings.desktop.wsl.description": "ដំណើរការម៉ាស៊ីនមេ OpenCode នៅខាងក្នុង WSL នៅលើ Windows ។",
@@ -1081,8 +1160,6 @@ export const dict = {
"settings.agents.description": "ការកំណត់ភ្នាក់ងារនឹងអាចកំណត់បាននៅទីនេះ។",
"settings.commands.title": "ពាក្យបញ្ជា",
"settings.commands.description": "ការកំណត់ពាក្យបញ្ជានឹងអាចកំណត់បាននៅទីនេះ។",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "ការកំណត់ MCP នឹងអាចកំណត់បាននៅទីនេះ។",
"settings.permissions.title": "ការអនុញ្ញាត",
"settings.permissions.description": "គ្រប់គ្រងឧបករណ៍អ្វីដែលម៉ាស៊ីនមេអាចប្រើតាមលំនាំដើម។",
"settings.permissions.section.tools": "ឧបករណ៍",
diff --git a/packages/app/src/i18n/ko.ts b/packages/app/src/i18n/ko.ts
index b96fb4c59471..b89b30fe6979 100644
--- a/packages/app/src/i18n/ko.ts
+++ b/packages/app/src/i18n/ko.ts
@@ -290,6 +290,8 @@ export const dict = {
"mcp.status.connected": "연결됨",
"mcp.status.failed": "실패",
"mcp.status.needs_auth": "인증 필요",
+ "mcp.status.needs_client_registration": "클라이언트 등록 필요",
+ "mcp.status.pending": "연결 중…",
"mcp.auth.clickToAuthenticate": "클릭하여 인증",
"mcp.status.disabled": "비활성화됨",
"dialog.fork.empty": "분기할 메시지 없음",
@@ -581,6 +583,83 @@ export const dict = {
"settings.section.server": "서버",
"settings.tab.general": "일반",
"settings.tab.shortcuts": "단축키",
+ "settings.tab.plugins": "플러그인",
+ "settings.plugins.section.browse": "찾아보기",
+ "settings.plugins.section.installed": "설치됨",
+ "settings.plugins.source.all": "모든 소스",
+ "settings.plugins.source.ecosystem": "에코시스템",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "서버 추가",
+ "settings.mcp.type.local": "로컬",
+ "settings.mcp.type.remote": "원격",
+ "settings.mcp.empty": "구성된 MCP 서버가 없습니다.",
+ "settings.mcp.deleted": "{{name}} 삭제됨.",
+ "settings.mcp.errors.refresh": "MCP 서버를 불러올 수 없습니다.",
+ "settings.mcp.status.pending": "연결 중…",
+ "settings.mcp.action.connect": "연결",
+ "settings.mcp.action.disconnect": "연결 해제",
+ "settings.mcp.action.authenticate": "인증",
+ "settings.mcp.action.edit": "편집",
+ "settings.mcp.action.delete": "삭제",
+ "settings.mcp.delete.title": "MCP 서버 삭제",
+ "settings.mcp.delete.body": "{{name}}을(를) 제거하시겠습니까? 되돌릴 수 없습니다.",
+ "settings.mcp.form.title.add": "MCP 서버 추가",
+ "settings.mcp.form.title.edit": "MCP 서버 편집",
+ "settings.mcp.form.subtitle": "연결 설정을 구성합니다.",
+ "settings.mcp.form.name": "이름",
+ "settings.mcp.form.command": "명령",
+ "settings.mcp.form.command.hint": "예: npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "작업 디렉터리",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "환경 변수",
+ "settings.mcp.form.headers": "헤더",
+ "settings.mcp.form.addRow": "행 추가",
+ "settings.mcp.form.removeRow": "제거",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "클라이언트 ID",
+ "settings.mcp.form.oauth.clientSecret": "클라이언트 시크릿",
+ "settings.mcp.form.oauth.clientSecret.keep": "비워 두면 생략됩니다 — 재인증이 필요할 수 있습니다",
+ "settings.mcp.form.oauth.scope": "범위",
+ "settings.mcp.form.oauth.callbackPort": "콜백 포트",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth 자동 감지 비활성화",
+ "settings.mcp.form.enabled": "활성화",
+ "settings.mcp.form.timeout": "시간 제한 (ms)",
+ "settings.mcp.form.save": "저장",
+ "settings.mcp.form.cancel": "취소",
+ "settings.mcp.form.error.name": "이름을 입력하세요.",
+ "settings.mcp.form.error.command": "명령을 입력하세요.",
+ "settings.mcp.form.error.url": "URL을 입력하세요.",
+ "settings.mcp.form.error.callbackPort": "콜백 포트는 1~65535 사이의 숫자여야 합니다.",
+ "settings.mcp.form.error.timeout": "시간 제한은 양의 정수여야 합니다.",
+ "settings.mcp.errors.invalid": "강조된 필드를 수정하세요.",
+ "settings.mcp.errors.duplicate": "이 이름의 서버가 이미 있습니다.",
+ "settings.mcp.errors.noConfig": "{{name}}의 구성을 읽을 수 없습니다 — 프로젝트 외부에 정의되어 있을 수 있습니다.",
+ "settings.mcp.edit.warn": "저장하면 이 서버가 다시 연결됩니다.",
+ "settings.plugins.search.placeholder": "플러그인 검색…",
+ "settings.plugins.detail.install": "설치…",
+ "settings.plugins.detail.copy": "설정 스니펫 복사",
+ "settings.plugins.detail.copied": "복사됨",
+ "settings.plugins.detail.notOnNpm": "npm에서 찾을 수 없음 — opencode.json에 수동으로 추가하세요",
+ "settings.plugins.install.title": "플러그인 설치",
+ "settings.plugins.install.description": "{{name}}을(를) 어디에 추가할까요?",
+ "settings.plugins.install.global": "전역 (~/.config/opencode)",
+ "settings.plugins.install.project": "이 프로젝트",
+ "settings.plugins.install.cancel": "취소",
+ "settings.plugins.install.success": "{{name}}이(가) 설치되었습니다. 불러오려면 OpenCode를 재시작하세요.",
+ "settings.plugins.installed.empty": "설치된 플러그인이 없습니다.",
+ "settings.plugins.installed.provenance.global": "전역",
+ "settings.plugins.installed.provenance.project": "프로젝트",
+ "settings.plugins.installed.disable": "비활성화",
+ "settings.plugins.installed.enable": "활성화",
+ "settings.plugins.installed.uninstall": "제거",
+ "settings.plugins.installed.uninstallBody": "{{scope}}에서 {{name}}을(를) 제거하시겠습니까? 설정 파일에서 삭제됩니다.",
+ "settings.plugins.installed.recentlyRemoved": "최근 제거됨",
+ "settings.plugins.installed.openConfig": "설정 열기",
+ "settings.plugins.errors.parseFailed": "{{path}}을(를) 읽을 수 없습니다 — 플러그인을 관리하려면 파일을 수정하거나 제거하세요.",
+ "settings.plugins.errors.catalog": "플러그인 카탈로그를 새로 고칠 수 없습니다.",
+ "settings.plugins.stale": "캐시된 카탈로그 표시 중 ({{age}} 경과).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL 통합",
"settings.desktop.wsl.description": "Windows의 WSL 내부에서 OpenCode 서버를 실행합니다.",
@@ -719,8 +798,6 @@ export const dict = {
"settings.agents.description": "에이전트 설정은 여기서 구성할 수 있습니다.",
"settings.commands.title": "명령어",
"settings.commands.description": "명령어 설정은 여기서 구성할 수 있습니다.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP 설정은 여기서 구성할 수 있습니다.",
"settings.permissions.title": "권한",
"settings.permissions.description": "서버가 기본적으로 사용할 수 있는 도구를 제어합니다.",
"settings.permissions.section.tools": "도구",
diff --git a/packages/app/src/i18n/lo.ts b/packages/app/src/i18n/lo.ts
index acdc26df08aa..8bd9cf6796e4 100644
--- a/packages/app/src/i18n/lo.ts
+++ b/packages/app/src/i18n/lo.ts
@@ -396,6 +396,8 @@ export const dict = {
"mcp.status.connected": "ເຊື່ອມຕໍ່",
"mcp.status.failed": "ລົ້ມເຫລວ",
"mcp.status.needs_auth": "ຕ້ອງການການຮັບຮອງ",
+ "mcp.status.needs_client_registration": "ຕ້ອງການລົງທະບຽນລູກຂານ",
+ "mcp.status.pending": "ກຳລັງເຊື່ອມຕໍ່…",
"mcp.status.disabled": "ປິດໃຊ້ງານ",
"mcp.auth.clickToAuthenticate": "ຄລິກເພື່ອພິສູດຢືນຢັນ",
"dialog.fork.empty": "ບໍ່ມີຂໍ້ຄວາມທີ່ຈະແຍກອອກຈາກ",
@@ -907,6 +909,83 @@ export const dict = {
"settings.section.server": "ເຊີບເວີ",
"settings.tab.general": "ທົ່ວໄປ",
"settings.tab.shortcuts": "ທາງລັດ",
+ "settings.tab.plugins": "ປລັກອິນ",
+ "settings.plugins.section.browse": "ທ່ອງໄຟ້",
+ "settings.plugins.section.installed": "ຕິດຕັ້ງແລ້ວ",
+ "settings.plugins.source.all": "ແຫຼ່ງທັງໝົດ",
+ "settings.plugins.source.ecosystem": "ລະບົບນິເວດ",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "ເພີ່ມເຊີບເວີ",
+ "settings.mcp.type.local": "ທ້ອງຖິ່ນ",
+ "settings.mcp.type.remote": "ໄລຍະໄກ",
+ "settings.mcp.empty": "ຍັງບໍ່ມີການຕັ້ງຄ່າເຊີບເວີ MCP.",
+ "settings.mcp.deleted": "ລຶບ {{name}} ແລ້ວ.",
+ "settings.mcp.errors.refresh": "ບໍ່ສາມາດໂຫຼດເຊີບເວີ MCP ໄດ້.",
+ "settings.mcp.status.pending": "ກຳລັງເຊື່ອມຕໍ່…",
+ "settings.mcp.action.connect": "ເຊື່ອມຕໍ່",
+ "settings.mcp.action.disconnect": "ຕັດການເຊື່ອມຕໍ່",
+ "settings.mcp.action.authenticate": "ຢືນຢັນຕົວຕົນ",
+ "settings.mcp.action.edit": "ແກ້ໄຂ",
+ "settings.mcp.action.delete": "ລຶບ",
+ "settings.mcp.delete.title": "ລຶບເຊີບເວີ MCP",
+ "settings.mcp.delete.body": "ເອົາ {{name}} ອອກ? ບໍ່ສາມາດກູ້ຄືນໄດ້.",
+ "settings.mcp.form.title.add": "ເພີ່ມເຊີບເວີ MCP",
+ "settings.mcp.form.title.edit": "ແກ້ໄຂເຊີບເວີ MCP",
+ "settings.mcp.form.subtitle": "ຕັ້ງຄ່າການເຊື່ອມຕໍ່.",
+ "settings.mcp.form.name": "ຊື່",
+ "settings.mcp.form.command": "ຄຳສັ່ງ",
+ "settings.mcp.form.command.hint": "ເຊັ່ນ npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "ໄດເລັກທອລີ່ເຮັດວຽກ",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "ຕົວແປສະພາບແວດລ້ອມ",
+ "settings.mcp.form.headers": "ຫົວຂໍ້",
+ "settings.mcp.form.addRow": "ເພີ່ມແຖວ",
+ "settings.mcp.form.removeRow": "ລຶບ",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ໄອດີລູ້ຄລາຍເອັນ",
+ "settings.mcp.form.oauth.clientSecret": "ຄວາມລັບຄລາຍເອັນ",
+ "settings.mcp.form.oauth.clientSecret.keep": "ເພື່ອຂ້າມ ປະລັບມັນໄວ້ຫວ່າງ — ອາດຕ້ອງຢືນຢັນຕົວຕົນໃໝ່",
+ "settings.mcp.form.oauth.scope": "ຂອບເຂດ",
+ "settings.mcp.form.oauth.callbackPort": "ພອດຄໍ່າກັບ",
+ "settings.mcp.form.oauth.disableAutodetect": "ປິດການກວດຈັບ OAuth ອັດຕະໂນມັດ",
+ "settings.mcp.form.enabled": "ເປີດໃຊ້",
+ "settings.mcp.form.timeout": "ໝົດເວລາ (ms)",
+ "settings.mcp.form.save": "ບັນທຶກ",
+ "settings.mcp.form.cancel": "ຍົກເລີກ",
+ "settings.mcp.form.error.name": "ປ້ອນຊື່.",
+ "settings.mcp.form.error.command": "ປ້ອນຄຳສັ່ງ.",
+ "settings.mcp.form.error.url": "ປ້ອນ URL.",
+ "settings.mcp.form.error.callbackPort": "ພອດຄໍ່າກັບຕ້ອງຢູ່ລະຫວ່າງ 1-65535.",
+ "settings.mcp.form.error.timeout": "ໝົດເວລາຕ້ອງເປັນຈຳນວນຖ້ວນບວກ.",
+ "settings.mcp.errors.invalid": "ແກ້ໄຂຊ່ອງທີ່ໄຮແສັດ.",
+ "settings.mcp.errors.duplicate": "ມີເຊີບເວີຊື່ນີ້ແລ້ວ.",
+ "settings.mcp.errors.noConfig": "ບໍ່ສາມາດອ່ານຄໍນຟິກຂອງ {{name}} — ອາດກຳນົດຢູ່ນອກໂຄງການ.",
+ "settings.mcp.edit.warn": "ບັນທຶກຈະເຊື່ອມຕໍ່ເຊີບເວີນີ້ຄືນໃໝ່.",
+ "settings.plugins.search.placeholder": "ຄົ້ນຫາປລັກອິນ…",
+ "settings.plugins.detail.install": "ຕິດຕັ້ງ…",
+ "settings.plugins.detail.copy": "ສຳເນົາຊິ້ນສ່ວນການຕັ້ງຄ່າ",
+ "settings.plugins.detail.copied": "ສຳເນົາແລ້ວ",
+ "settings.plugins.detail.notOnNpm": "ບໍ່ພົບໃນ npm — ເພີ່ມລົງ opencode.json ດ້ວຍຕົນເອງ",
+ "settings.plugins.install.title": "ຕິດຕັ້ງປລັກອິນ",
+ "settings.plugins.install.description": "ຈະເພີ່ມ {{name}} ຢູ່ໃສ?",
+ "settings.plugins.install.global": "ທົ່ວໄປ (~/.config/opencode)",
+ "settings.plugins.install.project": "ໂຄງການນີ້",
+ "settings.plugins.install.cancel": "ຍົກເລີກ",
+ "settings.plugins.install.success": "ຕິດຕັ້ງ {{name}} ແລ້ວ. ຣີສຕາດ OpenCode ເພື່ອໂຫຼດ.",
+ "settings.plugins.installed.empty": "ບໍ່ມີປລັກອິນທີ່ຕິດຕັ້ງ.",
+ "settings.plugins.installed.provenance.global": "ທົ່ວໄປ",
+ "settings.plugins.installed.provenance.project": "ໂຄງການ",
+ "settings.plugins.installed.disable": "ປິດການໃຊ້",
+ "settings.plugins.installed.enable": "ເປີດໃຊ້ງານ",
+ "settings.plugins.installed.uninstall": "ຖອນການຕິດຕັ້ງ",
+ "settings.plugins.installed.uninstallBody": "ຖອນການຕິດຕັ້ງ {{name}} ຈາກ {{scope}}? ລາວຈະຖືກລຶບອອກຈາກໄຟລ໌ການຕັ້ງຄ່າ.",
+ "settings.plugins.installed.recentlyRemoved": "ກວ່ານນີ້ລຶບອອກ",
+ "settings.plugins.installed.openConfig": "ເປີດການຕັ້ງຄ່າ",
+ "settings.plugins.errors.parseFailed": "ອ່ານ {{path}} ບໍ່ໄດ້ — ແກ້ໄຂ ຫຼື ລຶບໄຟລ໌ເພື່ອຈັດການປລັກອິນຢູ່ບ່ອນນັ້ນ",
+ "settings.plugins.errors.catalog": "ບໍ່ສາມາດຣີເຟຣຊບັນຊີປລັກອິນໄດ້",
+ "settings.plugins.stale": "ສະແດງບັນຊີຈາກແຄຊ (ເກົ່າ {{age}})",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "ການເຊື່ອມໂຍງ WSL",
"settings.desktop.wsl.description": "ແລ່ນເຊີບເວີ OpenCode ພາຍໃນ WSL ໃນ Windows.",
@@ -1078,8 +1157,6 @@ export const dict = {
"settings.agents.description": "ການຕັ້ງຄ່າຕົວແທນຈະຖືກຕັ້ງຄ່າໄດ້ທີ່ນີ້.",
"settings.commands.title": "ຄໍາສັ່ງ",
"settings.commands.description": "ການຕັ້ງຄ່າຄໍາສັ່ງຈະຖືກຕັ້ງຄ່າໄດ້ທີ່ນີ້.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "ການຕັ້ງຄ່າ MCP ຈະຖືກຕັ້ງຄ່າໄດ້ທີ່ນີ້.",
"settings.permissions.title": "ການອະນຸຍາດ",
"settings.permissions.description": "ຄວບຄຸມເຄື່ອງມືທີ່ເຊີບເວີໃຊ້ໄດ້ໂດຍຄ່າເລີ່ມຕົ້ນ.",
"settings.permissions.section.tools": "ເຄື່ອງມື",
diff --git a/packages/app/src/i18n/lt.ts b/packages/app/src/i18n/lt.ts
index ba161eb31879..23613a5a1e09 100644
--- a/packages/app/src/i18n/lt.ts
+++ b/packages/app/src/i18n/lt.ts
@@ -402,6 +402,8 @@ export const dict = {
"mcp.status.connected": "prijungtas",
"mcp.status.failed": "nepavyko",
"mcp.status.needs_auth": "reikia autentifikavimo",
+ "mcp.status.needs_client_registration": "reikia kliento registracijos",
+ "mcp.status.pending": "jungiamasi…",
"mcp.status.disabled": "neįgalus",
"mcp.auth.clickToAuthenticate": "Spustelėkite, kad patvirtintumėte",
"dialog.fork.empty": "Nėra pranešimų, iš kurių būtų galima išsišakoti",
@@ -927,6 +929,83 @@ export const dict = {
"settings.section.server": "Serveris",
"settings.tab.general": "Bendra",
"settings.tab.shortcuts": "Spartieji klavišai",
+ "settings.tab.plugins": "Įskiepiai",
+ "settings.plugins.section.browse": "Naršyti",
+ "settings.plugins.section.installed": "Įdiegta",
+ "settings.plugins.source.all": "Visi šaltiniai",
+ "settings.plugins.source.ecosystem": "Ekosistema",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Pridėti serverį",
+ "settings.mcp.type.local": "Vietinis",
+ "settings.mcp.type.remote": "Nuotolinis",
+ "settings.mcp.empty": "Nėra sukonfigūruotų MCP serverių.",
+ "settings.mcp.deleted": "{{name}} ištrintas.",
+ "settings.mcp.errors.refresh": "Nepavyko įkelti MCP serverių.",
+ "settings.mcp.status.pending": "jungiamasi…",
+ "settings.mcp.action.connect": "Prisijungti",
+ "settings.mcp.action.disconnect": "Atsijungti",
+ "settings.mcp.action.authenticate": "Autentifikuoti",
+ "settings.mcp.action.edit": "Redaguoti",
+ "settings.mcp.action.delete": "Šalinti",
+ "settings.mcp.delete.title": "Ištrinti MCP serverį",
+ "settings.mcp.delete.body": "Pašalinti {{name}}? Šio veiksmo negalima atšaukti.",
+ "settings.mcp.form.title.add": "Pridėti MCP serverį",
+ "settings.mcp.form.title.edit": "Redaguoti MCP serverį",
+ "settings.mcp.form.subtitle": "Konfigūruokite ryšio parametrus.",
+ "settings.mcp.form.name": "Pavadinimas",
+ "settings.mcp.form.command": "Komanda",
+ "settings.mcp.form.command.hint": "pvz. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Darbo katalogas",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Aplinkos kintamieji",
+ "settings.mcp.form.headers": "Antraštės",
+ "settings.mcp.form.addRow": "Pridėti eilutę",
+ "settings.mcp.form.removeRow": "Pašalinti",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Kliento ID",
+ "settings.mcp.form.oauth.clientSecret": "Kliento paslaptis",
+ "settings.mcp.form.oauth.clientSecret.keep": "Palikite tuščią, kad praleistumėte — gali prireikti prisijungti iš naujo",
+ "settings.mcp.form.oauth.scope": "Apimtis",
+ "settings.mcp.form.oauth.callbackPort": "Atšaukimo prievadas",
+ "settings.mcp.form.oauth.disableAutodetect": "Išjungti automatinį OAuth aptikimą",
+ "settings.mcp.form.enabled": "Įjungta",
+ "settings.mcp.form.timeout": "Skiriamasis laikas (ms)",
+ "settings.mcp.form.save": "Išsaugoti",
+ "settings.mcp.form.cancel": "Atšaukti",
+ "settings.mcp.form.error.name": "Įveskite pavadinimą.",
+ "settings.mcp.form.error.command": "Įveskite komandą.",
+ "settings.mcp.form.error.url": "Įveskite URL.",
+ "settings.mcp.form.error.callbackPort": "Atšaukimo prievadas turi būti 1–65535.",
+ "settings.mcp.form.error.timeout": "Skiriamasis laikas turi būti teigiamas sveikasis skaičius.",
+ "settings.mcp.errors.invalid": "Ištaisykite pažymėtus laukus.",
+ "settings.mcp.errors.duplicate": "Serveris tokiu pavadinimu jau egzistuoja.",
+ "settings.mcp.errors.noConfig": "Nepavyksta perskaityti {{name}} konfigūracijos — gali būti apibrėžta už projekto ribų.",
+ "settings.mcp.edit.warn": "Išsaugojus serveris bus iš naujo prijungtas.",
+ "settings.plugins.search.placeholder": "Ieškoti įskiepių…",
+ "settings.plugins.detail.install": "Įdiegti…",
+ "settings.plugins.detail.copy": "Kopijuoti konfigūracijos fragmentą",
+ "settings.plugins.detail.copied": "Nukopijuota",
+ "settings.plugins.detail.notOnNpm": "Nerasta npm — pridėkite rankiniu būdu į opencode.json",
+ "settings.plugins.install.title": "Įdiegti įskiepį",
+ "settings.plugins.install.description": "Kur pridėti {{name}}?",
+ "settings.plugins.install.global": "Globalu (~/.config/opencode)",
+ "settings.plugins.install.project": "Šis projektas",
+ "settings.plugins.install.cancel": "Atšaukti",
+ "settings.plugins.install.success": "{{name}} įdiegtas. Įkelti iš naujo paleiskite OpenCode.",
+ "settings.plugins.installed.empty": "Nėra įdiegtų įskiepių.",
+ "settings.plugins.installed.provenance.global": "Globalus",
+ "settings.plugins.installed.provenance.project": "Projektas",
+ "settings.plugins.installed.disable": "Išjungti",
+ "settings.plugins.installed.enable": "Įjungti",
+ "settings.plugins.installed.uninstall": "Šalinti",
+ "settings.plugins.installed.uninstallBody": "Šalinti {{name}} iš {{scope}}? Jis bus pašalintas iš konfigūracijos failo.",
+ "settings.plugins.installed.recentlyRemoved": "Paskutinįkart pašalinta",
+ "settings.plugins.installed.openConfig": "Atidaryti konfigūraciją",
+ "settings.plugins.errors.parseFailed": "Nepavyko perskaityti {{path}} — pataisykite arba pašalinkite failą, kad valdytumėte įskiepius.",
+ "settings.plugins.errors.catalog": "Nepavyko atnaujinti įskiepių katalogo.",
+ "settings.plugins.stale": "Rodomas podėlyje saugomas katalogas ({{age}} senas).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL integracija",
"settings.desktop.wsl.description": "Paleiskite OpenCode serverį WSL viduje Windows.",
@@ -1101,8 +1180,6 @@ export const dict = {
"settings.agents.description": "Agento nustatymus bus galima konfigūruoti čia.",
"settings.commands.title": "Komandos",
"settings.commands.description": "Čia bus galima konfigūruoti komandų nustatymus.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Čia bus galima konfigūruoti MCP nustatymus.",
"settings.permissions.title": "Leidimai",
"settings.permissions.description":
"Valdykite, kokius įrankius serveris gali naudoti pagal numatytuosius nustatymus.",
diff --git a/packages/app/src/i18n/lv.ts b/packages/app/src/i18n/lv.ts
index df4c5b2dcd91..cc94406010a6 100644
--- a/packages/app/src/i18n/lv.ts
+++ b/packages/app/src/i18n/lv.ts
@@ -397,6 +397,8 @@ export const dict = {
"mcp.status.connected": "savienots",
"mcp.status.failed": "neizdevās",
"mcp.status.needs_auth": "nepieciešama autorizācija",
+ "mcp.status.needs_client_registration": "nepieciešama klienta reģistrācija",
+ "mcp.status.pending": "savienojas…",
"mcp.status.disabled": "atspējots",
"mcp.auth.clickToAuthenticate": "Autentificējieties",
"dialog.fork.empty": "Nav ziņu, no kurām atzarot",
@@ -918,6 +920,83 @@ export const dict = {
"settings.section.server": "Serveris",
"settings.tab.general": "Vispārīgi",
"settings.tab.shortcuts": "Saīsnes",
+ "settings.tab.plugins": "Spraudņi",
+ "settings.plugins.section.browse": "Pārlūkot",
+ "settings.plugins.section.installed": "Uzstādītie",
+ "settings.plugins.source.all": "Visi avoti",
+ "settings.plugins.source.ecosystem": "Ekosistēma",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Pievienot serveri",
+ "settings.mcp.type.local": "Lokāls",
+ "settings.mcp.type.remote": "Attālināts",
+ "settings.mcp.empty": "Nav konfigurētu MCP serveru.",
+ "settings.mcp.deleted": "{{name}} dzēsts.",
+ "settings.mcp.errors.refresh": "Nevar ielādēt MCP serverus.",
+ "settings.mcp.status.pending": "savienojas…",
+ "settings.mcp.action.connect": "Izveidot savienojumu",
+ "settings.mcp.action.disconnect": "Pārtraukt savienojumu",
+ "settings.mcp.action.authenticate": "Autentificēt",
+ "settings.mcp.action.edit": "Labot",
+ "settings.mcp.action.delete": "Dzēst",
+ "settings.mcp.delete.title": "Dzēst MCP serveri",
+ "settings.mcp.delete.body": "Noņemt {{name}}? Šo darbību nevar atsaukt.",
+ "settings.mcp.form.title.add": "Pievienot MCP serveri",
+ "settings.mcp.form.title.edit": "Rediģēt MCP serveri",
+ "settings.mcp.form.subtitle": "Konfigurējiet savienojuma iestatījumus.",
+ "settings.mcp.form.name": "Nosaukums",
+ "settings.mcp.form.command": "Komanda",
+ "settings.mcp.form.command.hint": "piem. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Darba direktorijs",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Vides mainīgie",
+ "settings.mcp.form.headers": "Galvenes",
+ "settings.mcp.form.addRow": "Pievienot rindu",
+ "settings.mcp.form.removeRow": "Noņemt",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Klienta ID",
+ "settings.mcp.form.oauth.clientSecret": "Klienta noslēpums",
+ "settings.mcp.form.oauth.clientSecret.keep": "Atstājiet tukšu, lai izlaistu — var būt nepieciešama atkārtota autentifikācija",
+ "settings.mcp.form.oauth.scope": "Diapazons",
+ "settings.mcp.form.oauth.callbackPort": "Atzvanīšanas ports",
+ "settings.mcp.form.oauth.disableAutodetect": "Atspējot OAuth automātisko noteikšanu",
+ "settings.mcp.form.enabled": "Ieslēgts",
+ "settings.mcp.form.timeout": "Taimauts (ms)",
+ "settings.mcp.form.save": "Saglabāt",
+ "settings.mcp.form.cancel": "Atcelt",
+ "settings.mcp.form.error.name": "Ievadiet nosaukumu.",
+ "settings.mcp.form.error.command": "Ievadiet komandu.",
+ "settings.mcp.form.error.url": "Ievadiet URL.",
+ "settings.mcp.form.error.callbackPort": "Atzvanīšanas portam jābūt no 1 līdz 65535.",
+ "settings.mcp.form.error.timeout": "Taimautam jābūt pozitīvam veselam skaitlim.",
+ "settings.mcp.errors.invalid": "Labojiet iezīmētos laukus.",
+ "settings.mcp.errors.duplicate": "Serveris ar šādu nosaukumu jau pastāv.",
+ "settings.mcp.errors.noConfig": "Nevar nolasīt {{name}} konfigurāciju — tā var būt definēta ārpus projekta.",
+ "settings.mcp.edit.warn": "Saglabāšana atkārtoti pievieno serveri.",
+ "settings.plugins.search.placeholder": "Meklēt spraudņus…",
+ "settings.plugins.detail.install": "Uzstādīt…",
+ "settings.plugins.detail.copy": "Kopēt konfigurācijas fragmentu",
+ "settings.plugins.detail.copied": "Nokopēts",
+ "settings.plugins.detail.notOnNpm": "Nav atrasts npm — pievienojiet manuāli opencode.json",
+ "settings.plugins.install.title": "Uzstādīt spraudni",
+ "settings.plugins.install.description": "Kur pievienot {{name}}?",
+ "settings.plugins.install.global": "Globāli (~/.config/opencode)",
+ "settings.plugins.install.project": "Šis projekts",
+ "settings.plugins.install.cancel": "Atcelt",
+ "settings.plugins.install.success": "{{name}} uzstādīts. Lādēšanai restartējiet OpenCode.",
+ "settings.plugins.installed.empty": "Nav uzstādītu spraudņu.",
+ "settings.plugins.installed.provenance.global": "Globāls",
+ "settings.plugins.installed.provenance.project": "Projekts",
+ "settings.plugins.installed.disable": "Atspējot",
+ "settings.plugins.installed.enable": "Iespējot",
+ "settings.plugins.installed.uninstall": "Noņemt",
+ "settings.plugins.installed.uninstallBody": "Noņemt {{name}} no {{scope}}? Tas tiks noņemts no konfigurācijas faila.",
+ "settings.plugins.installed.recentlyRemoved": "Nesen noņemtie",
+ "settings.plugins.installed.openConfig": "Atvērt konfigurāciju",
+ "settings.plugins.errors.parseFailed": "Nevar nolasīt {{path}} — labojiet vai noņemiet failu, lai pārvaldītu spraudņus.",
+ "settings.plugins.errors.catalog": "Nevar atjaunināt spraudņu katalogu.",
+ "settings.plugins.stale": "Tiek rādīts kešatmiņā saglabāts katalogs ({{age}} sens).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL integrācija",
"settings.desktop.wsl.description": "Palaist OpenCode serveri WSL vidē uz Windows.",
@@ -1092,8 +1171,6 @@ export const dict = {
"settings.agents.description": "Šeit varēs konfigurēt aģentu iestatījumus.",
"settings.commands.title": "Komandas",
"settings.commands.description": "Šeit varēs konfigurēt komandu iestatījumus.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Šeit varēs konfigurēt MCP iestatījumus.",
"settings.permissions.title": "Atļaujas",
"settings.permissions.description": "Kontrolējiet, kādus rīkus serveris var izmantot pēc noklusējuma.",
"settings.permissions.section.tools": "Rīki",
diff --git a/packages/app/src/i18n/mk.ts b/packages/app/src/i18n/mk.ts
index 01e60baa408b..4d0c29590598 100644
--- a/packages/app/src/i18n/mk.ts
+++ b/packages/app/src/i18n/mk.ts
@@ -398,6 +398,8 @@ export const dict = {
"mcp.status.connected": "поврзани",
"mcp.status.failed": "не успеа",
"mcp.status.needs_auth": "треба авт",
+ "mcp.status.needs_client_registration": "потребна е регистрација на клиент",
+ "mcp.status.pending": "поврзување…",
"mcp.status.disabled": "оневозможено",
"mcp.auth.clickToAuthenticate": "Кликнете за автентикација",
"dialog.fork.empty": "Нема пораки од кои може да се префрлите",
@@ -917,6 +919,83 @@ export const dict = {
"settings.section.server": "Сервер",
"settings.tab.general": "Општо",
"settings.tab.shortcuts": "Кратенки",
+ "settings.tab.plugins": "Додатоци",
+ "settings.plugins.section.browse": "Прегледај",
+ "settings.plugins.section.installed": "Инсталирани",
+ "settings.plugins.source.all": "Сите извори",
+ "settings.plugins.source.ecosystem": "Екосистем",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Додади сервер",
+ "settings.mcp.type.local": "Локален",
+ "settings.mcp.type.remote": "Оддалечен",
+ "settings.mcp.empty": "Нема конфигурирани MCP сервери.",
+ "settings.mcp.deleted": "{{name}} е избришан.",
+ "settings.mcp.errors.refresh": "Не може да се вчитаат MCP серверите.",
+ "settings.mcp.status.pending": "поврзување…",
+ "settings.mcp.action.connect": "Поврзи",
+ "settings.mcp.action.disconnect": "Отповрзи",
+ "settings.mcp.action.authenticate": "Автентицирај",
+ "settings.mcp.action.edit": "Уреди",
+ "settings.mcp.action.delete": "Избриши",
+ "settings.mcp.delete.title": "Избриши MCP сервер",
+ "settings.mcp.delete.body": "Да се отстрани {{name}}? Ова е неповратно.",
+ "settings.mcp.form.title.add": "Додади MCP сервер",
+ "settings.mcp.form.title.edit": "Уреди MCP сервер",
+ "settings.mcp.form.subtitle": "Конфигурирајте ги поставките за поврзување.",
+ "settings.mcp.form.name": "Име",
+ "settings.mcp.form.command": "Команда",
+ "settings.mcp.form.command.hint": "пр. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Работен директориум",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Променливи на околината",
+ "settings.mcp.form.headers": "Заглавија",
+ "settings.mcp.form.addRow": "Додади ред",
+ "settings.mcp.form.removeRow": "Отстрани",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID на клиент",
+ "settings.mcp.form.oauth.clientSecret": "Тајна на клиентот",
+ "settings.mcp.form.oauth.clientSecret.keep": "Оставете празно за прескокување — може да биде потребна повторна автентикација",
+ "settings.mcp.form.oauth.scope": "Опсег",
+ "settings.mcp.form.oauth.callbackPort": "Порт за повратно повикување",
+ "settings.mcp.form.oauth.disableAutodetect": "Оневозможи автоматско откривање OAuth",
+ "settings.mcp.form.enabled": "Овозможено",
+ "settings.mcp.form.timeout": "Време на чекање (ms)",
+ "settings.mcp.form.save": "Зачувај",
+ "settings.mcp.form.cancel": "Откажи",
+ "settings.mcp.form.error.name": "Внесете име.",
+ "settings.mcp.form.error.command": "Внесете команда.",
+ "settings.mcp.form.error.url": "Внесете URL.",
+ "settings.mcp.form.error.callbackPort": "Портот за повратно повикување мора да биде 1–65535.",
+ "settings.mcp.form.error.timeout": "Времето на чекање мора да биде позитивен цел број.",
+ "settings.mcp.errors.invalid": "Поправете ги означените полиња.",
+ "settings.mcp.errors.duplicate": "Веќе постои сервер со ова име.",
+ "settings.mcp.errors.noConfig": "Не може да се прочита конфигурацијата за {{name}} — може да е дефинирана надвор од проектот.",
+ "settings.mcp.edit.warn": "Зачувувањето повторно го поврзува овој сервер.",
+ "settings.plugins.search.placeholder": "Барај додатоци…",
+ "settings.plugins.detail.install": "Инсталирај…",
+ "settings.plugins.detail.copy": "Копирај фрагмент од конфигурација",
+ "settings.plugins.detail.copied": "Копирано",
+ "settings.plugins.detail.notOnNpm": "Не е пронајдено на npm — додајте рачно во opencode.json",
+ "settings.plugins.install.title": "Инсталирај додаток",
+ "settings.plugins.install.description": "Каде да се додаде {{name}}?",
+ "settings.plugins.install.global": "Глобално (~/.config/opencode)",
+ "settings.plugins.install.project": "Овој проект",
+ "settings.plugins.install.cancel": "Откажи",
+ "settings.plugins.install.success": "{{name}} е инсталиран. Рестартирајте го OpenCode за да се вчита.",
+ "settings.plugins.installed.empty": "Нема инсталирани додатоци.",
+ "settings.plugins.installed.provenance.global": "Глобално",
+ "settings.plugins.installed.provenance.project": "Проект",
+ "settings.plugins.installed.disable": "Оневозможи",
+ "settings.plugins.installed.enable": "Овозможи",
+ "settings.plugins.installed.uninstall": "Деинсталирај",
+ "settings.plugins.installed.uninstallBody": "Да се деинсталира {{name}} од {{scope}}? Ќе биде отстранет од конфигурациската датотека.",
+ "settings.plugins.installed.recentlyRemoved": "Неодамна отстранети",
+ "settings.plugins.installed.openConfig": "Отвори конфигурација",
+ "settings.plugins.errors.parseFailed": "Не може да се прочита {{path}} — поправете или отстранете ја датотеката за управување со додатоци таму.",
+ "settings.plugins.errors.catalog": "Не може да се освежи каталозите на додатоци.",
+ "settings.plugins.stale": "Прикажан е кеширан каталог ({{age}} стар).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL интеграција",
"settings.desktop.wsl.description": "Стартувај го серверот OpenCode во WSL на Windows.",
@@ -1096,8 +1175,6 @@ export const dict = {
"settings.agents.description": "Овде ќе може да се конфигурираат поставките за агентот.",
"settings.commands.title": "Наредби",
"settings.commands.description": "Овде ќе може да се конфигурираат поставките за команди.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Овде ќе може да се конфигурираат поставките MCP.",
"settings.permissions.title": "Дозволи",
"settings.permissions.description": "Контролирајте кои алатки може да ги користи серверот стандардно.",
"settings.permissions.section.tools": "Алатки",
diff --git a/packages/app/src/i18n/mn.ts b/packages/app/src/i18n/mn.ts
index 41c4fa085d1a..9170eba126fa 100644
--- a/packages/app/src/i18n/mn.ts
+++ b/packages/app/src/i18n/mn.ts
@@ -400,6 +400,8 @@ export const dict = {
"mcp.status.connected": "холбогдсон",
"mcp.status.failed": "амжилтгүй болсон",
"mcp.status.needs_auth": "auth хэрэгтэй",
+ "mcp.status.needs_client_registration": "клиент бүртгэл шаардлагатай",
+ "mcp.status.pending": "холбогдож байна…",
"mcp.status.disabled": "тахир дутуу болсон",
"mcp.auth.clickToAuthenticate": "Баталгаажуулахын тулд товшино уу",
"dialog.fork.empty": "Салаалах зурвас алга",
@@ -920,6 +922,83 @@ export const dict = {
"settings.section.server": "Сервер",
"settings.tab.general": "Генерал",
"settings.tab.shortcuts": "Товчлолууд",
+ "settings.tab.plugins": "Плагинууд",
+ "settings.plugins.section.browse": "Хайх",
+ "settings.plugins.section.installed": "Суулгасан",
+ "settings.plugins.source.all": "Бүх эх сурвалж",
+ "settings.plugins.source.ecosystem": "Экосистем",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Сервер нэмэх",
+ "settings.mcp.type.local": "Локал",
+ "settings.mcp.type.remote": "Алс",
+ "settings.mcp.empty": "Тохиргоотой MCP сервер байхгүй.",
+ "settings.mcp.deleted": "{{name}} устгагдлаа.",
+ "settings.mcp.errors.refresh": "MCP серверүүдийг ачаалж чадсангүй.",
+ "settings.mcp.status.pending": "холбогдож байна…",
+ "settings.mcp.action.connect": "Холбох",
+ "settings.mcp.action.disconnect": "Салгах",
+ "settings.mcp.action.authenticate": "Нотлох",
+ "settings.mcp.action.edit": "Засах",
+ "settings.mcp.action.delete": "Устгах",
+ "settings.mcp.delete.title": "MCP сервер устгах",
+ "settings.mcp.delete.body": "{{name}}-ийг хасах уу? Буцаах боломжгүй.",
+ "settings.mcp.form.title.add": "MCP сервер нэмэх",
+ "settings.mcp.form.title.edit": "MCP сервер засах",
+ "settings.mcp.form.subtitle": "Холболтын тохиргоог хийнэ үү.",
+ "settings.mcp.form.name": "Нэр",
+ "settings.mcp.form.command": "Команд",
+ "settings.mcp.form.command.hint": "жнь. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Ажлын хавтас",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Орчны хувьсагчид",
+ "settings.mcp.form.headers": "Толгой",
+ "settings.mcp.form.addRow": "Мөр нэмэх",
+ "settings.mcp.form.removeRow": "Устгах",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Клиентийн ID",
+ "settings.mcp.form.oauth.clientSecret": "Клиентийн нууц",
+ "settings.mcp.form.oauth.clientSecret.keep": "Алгасахын тулд хоосон орхи — дахин нэвтрэх шаардлагатай болмож",
+ "settings.mcp.form.oauth.scope": "Хамрагдах хүрээ",
+ "settings.mcp.form.oauth.callbackPort": "Буцааж дуудах порт",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth автомат танихыг идэвхгүй болгох",
+ "settings.mcp.form.enabled": "Идэвхтэй",
+ "settings.mcp.form.timeout": "Хугацаа (ms)",
+ "settings.mcp.form.save": "Хадгалах",
+ "settings.mcp.form.cancel": "Цуцлах",
+ "settings.mcp.form.error.name": "Нэр оруулна уу.",
+ "settings.mcp.form.error.command": "Команд оруулна уу.",
+ "settings.mcp.form.error.url": "URL оруулна уу.",
+ "settings.mcp.form.error.callbackPort": "Буцааж дуудах порт 1-65535 байх ёстой.",
+ "settings.mcp.form.error.timeout": "Хугацаа эерэг бүхэл тоо байх ёстой.",
+ "settings.mcp.errors.invalid": "Онцлогдсон талбаруудыг засна уу.",
+ "settings.mcp.errors.duplicate": "Энэ нэртэй сервер аль хэдийн байна.",
+ "settings.mcp.errors.noConfig": "{{name}}-ийн тохиргоог уншиж чадсангүй — төслийн гадна тодорхойлогдсон байж болно.",
+ "settings.mcp.edit.warn": "Хадгалахад энэ сервер дахин холбогдоно.",
+ "settings.plugins.search.placeholder": "Плагин хайх…",
+ "settings.plugins.detail.install": "Суулгах…",
+ "settings.plugins.detail.copy": "Тохиргооны хэсгийг хуулах",
+ "settings.plugins.detail.copied": "Хуулагдсан",
+ "settings.plugins.detail.notOnNpm": "npm-д олдсонгүй — opencode.json-д гараар нэмнэ үү",
+ "settings.plugins.install.title": "Плагин суулгах",
+ "settings.plugins.install.description": "{{name}}-ийг хаана нэмэх вэ?",
+ "settings.plugins.install.global": "Глобал (~/.config/opencode)",
+ "settings.plugins.install.project": "Энэ төсөл",
+ "settings.plugins.install.cancel": "Цуцлах",
+ "settings.plugins.install.success": "{{name}} суулгагдлаа. Ачаалахын тулд OpenCode-г дахин эхлүүлнэ үү.",
+ "settings.plugins.installed.empty": "Суулгасан плагин алга.",
+ "settings.plugins.installed.provenance.global": "Глобал",
+ "settings.plugins.installed.provenance.project": "Төсөл",
+ "settings.plugins.installed.disable": "Идэвхгүй болгох",
+ "settings.plugins.installed.enable": "Идэвхжүүлэх",
+ "settings.plugins.installed.uninstall": "Устгах",
+ "settings.plugins.installed.uninstallBody": "{{scope}}-ээс {{name}}-г устгах уу? Тохиргооны файлаас хасагдах болно.",
+ "settings.plugins.installed.recentlyRemoved": "Саяхан хасагдсан",
+ "settings.plugins.installed.openConfig": "Тохиргоо нээх",
+ "settings.plugins.errors.parseFailed": "{{path}}-г уншиж чадсангүй — плагинуудыг удирдахын тулд файлыг засаад эсвэл устгана уу.",
+ "settings.plugins.errors.catalog": "Плагины каталог шинэчлэгдсэнгүй.",
+ "settings.plugins.stale": "Кэшлэгдсэн каталогийг харуулж байна ({{age}}-ийн өмнөх).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL нэгтгэх",
"settings.desktop.wsl.description": "Windows дээр WSL доторх OpenCode серверийг ажиллуулна уу.",
@@ -1098,8 +1177,6 @@ export const dict = {
"settings.agents.description": "Агентын тохиргоог энд хийх боломжтой.",
"settings.commands.title": "Тушаалууд",
"settings.commands.description": "Энд командын тохиргоог хийх боломжтой.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP тохиргоог энд тохируулах боломжтой.",
"settings.permissions.title": "Зөвшөөрөл",
"settings.permissions.description": "Анхдагчаар сервер ямар хэрэгслийг ашиглаж болохыг хянах.",
"settings.permissions.section.tools": "Багаж хэрэгсэл",
diff --git a/packages/app/src/i18n/ms.ts b/packages/app/src/i18n/ms.ts
index 2c3783d43b7d..d1e7345871e7 100644
--- a/packages/app/src/i18n/ms.ts
+++ b/packages/app/src/i18n/ms.ts
@@ -397,6 +397,8 @@ export const dict = {
"mcp.status.connected": "bersambung",
"mcp.status.failed": "gagal",
"mcp.status.needs_auth": "perlu pengesahan",
+ "mcp.status.needs_client_registration": "pendaftaran klien diperlukan",
+ "mcp.status.pending": "menyambung…",
"mcp.status.disabled": "dilumpuhkan",
"mcp.auth.clickToAuthenticate": "Klik untuk pengesahan",
"dialog.fork.empty": "Tiada mesej untuk dicabang",
@@ -912,6 +914,83 @@ export const dict = {
"settings.section.server": "Pelayan",
"settings.tab.general": "Umum",
"settings.tab.shortcuts": "Pintasan",
+ "settings.tab.plugins": "Plugin",
+ "settings.plugins.section.browse": "Layar",
+ "settings.plugins.section.installed": "Dipasang",
+ "settings.plugins.source.all": "Semua sumber",
+ "settings.plugins.source.ecosystem": "Ekosistem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Tambah pelayan",
+ "settings.mcp.type.local": "Setempat",
+ "settings.mcp.type.remote": "Jauh",
+ "settings.mcp.empty": "Tiada pelayan MCP dikonfigurasi.",
+ "settings.mcp.deleted": "{{name}} dipadam.",
+ "settings.mcp.errors.refresh": "Gagal memuatkan pelayan MCP.",
+ "settings.mcp.status.pending": "menyambung…",
+ "settings.mcp.action.connect": "Sambung",
+ "settings.mcp.action.disconnect": "Putuskan",
+ "settings.mcp.action.authenticate": "Sah",
+ "settings.mcp.action.edit": "Sunting",
+ "settings.mcp.action.delete": "Padam",
+ "settings.mcp.delete.title": "Padam pelayan MCP",
+ "settings.mcp.delete.body": "Buang {{name}}? Ini tidak boleh dibuat asal.",
+ "settings.mcp.form.title.add": "Tambah pelayan MCP",
+ "settings.mcp.form.title.edit": "Edit pelayan MCP",
+ "settings.mcp.form.subtitle": "Konfigur tetapan sambungan.",
+ "settings.mcp.form.name": "Nama",
+ "settings.mcp.form.command": "Arahan",
+ "settings.mcp.form.command.hint": "cth. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Direktori kerja",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Pemboleh ubah persekitaran",
+ "settings.mcp.form.headers": "Pengepala",
+ "settings.mcp.form.addRow": "Tambah baris",
+ "settings.mcp.form.removeRow": "Alih keluar",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID pelanggan",
+ "settings.mcp.form.oauth.clientSecret": "Rahsia pelanggan",
+ "settings.mcp.form.oauth.clientSecret.keep": "Leave blank to omit — re-authentication may be required",
+ "settings.mcp.form.oauth.scope": "Skop",
+ "settings.mcp.form.oauth.callbackPort": "Port panggil balik",
+ "settings.mcp.form.oauth.disableAutodetect": "Lumpuhkan pengesanan automatik OAuth",
+ "settings.mcp.form.enabled": "Didayakan",
+ "settings.mcp.form.timeout": "Had masa (ms)",
+ "settings.mcp.form.save": "Simpan",
+ "settings.mcp.form.cancel": "Batal",
+ "settings.mcp.form.error.name": "Masukkan nama.",
+ "settings.mcp.form.error.command": "Masukkan arahan.",
+ "settings.mcp.form.error.url": "Masukkan URL.",
+ "settings.mcp.form.error.callbackPort": "Port panggil balik mesti antara 1 hingga 65535.",
+ "settings.mcp.form.error.timeout": "Had masa mesti nombor bulat positif.",
+ "settings.mcp.errors.invalid": "Betulkan medan yang diserlahkan.",
+ "settings.mcp.errors.duplicate": "Pelayan dengan nama ini sudah wujud.",
+ "settings.mcp.errors.noConfig": "Tidak dapat membaca konfigurasi {{name}} — mungkin ditakrifkan di luar projek.",
+ "settings.mcp.edit.warn": "Menyimpan menyambung semula pelayan ini.",
+ "settings.plugins.search.placeholder": "Cari plugin…",
+ "settings.plugins.detail.install": "Pasang…",
+ "settings.plugins.detail.copy": "Salin petikan konfigurasi",
+ "settings.plugins.detail.copied": "Disalin",
+ "settings.plugins.detail.notOnNpm": "Tidak dijumpai di npm — tambah secara manual ke opencode.json",
+ "settings.plugins.install.title": "Pasang plugin",
+ "settings.plugins.install.description": "Ke mana {{name}} ditambah?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "Projek ini",
+ "settings.plugins.install.cancel": "Batal",
+ "settings.plugins.install.success": "{{name}} dipasang. Mulakan semula OpenCode untuk memuatkannya.",
+ "settings.plugins.installed.empty": "Tiada plugin dipasang.",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "Projek",
+ "settings.plugins.installed.disable": "Lumpuhkan",
+ "settings.plugins.installed.enable": "Aktifkan",
+ "settings.plugins.installed.uninstall": "Nyahpasang",
+ "settings.plugins.installed.uninstallBody": "Nyahpasang {{name}} dari {{scope}}? Entri akan dibuang daripada fail konfigurasi.",
+ "settings.plugins.installed.recentlyRemoved": "Baru-baru ini dibuang",
+ "settings.plugins.installed.openConfig": "Buka konfigurasi",
+ "settings.plugins.errors.parseFailed": "Tidak dapat membaca {{path}} — betulkan atau buang fail untuk mengurus plugin di sana.",
+ "settings.plugins.errors.catalog": "Katalog plugin tidak dapat disegarkan semula.",
+ "settings.plugins.stale": "Memaparkan katalog cache ({{age}} lepas).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "Integrasi WSL",
"settings.desktop.wsl.description": "Jalankan pelayan OpenCode dalam WSL di Windows.",
@@ -1087,8 +1166,6 @@ export const dict = {
"settings.agents.description": "Tetapan ejen boleh dikonfigurasi di sini.",
"settings.commands.title": "Arahan",
"settings.commands.description": "Tetapan arahan boleh dikonfigurasi di sini.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Tetapan MCP boleh dikonfigurasi di sini.",
"settings.permissions.title": "Kebenaran",
"settings.permissions.description": "Kawal alat yang boleh digunakan oleh pelayan secara lalai.",
"settings.permissions.section.tools": "Alat",
diff --git a/packages/app/src/i18n/my.ts b/packages/app/src/i18n/my.ts
index 6046f337ff06..1eb65c46e422 100644
--- a/packages/app/src/i18n/my.ts
+++ b/packages/app/src/i18n/my.ts
@@ -401,6 +401,8 @@ export const dict = {
"mcp.status.connected": "ချိတ်ဆက်ထားသည်။",
"mcp.status.failed": "မအောင်မြင်ပါ။",
"mcp.status.needs_auth": "အထောက်အထား လိုအပ်သည်။",
+ "mcp.status.needs_client_registration": "ကလိုင်းအင့် မှတ်ပုံတင်ရန် လိုအပ်သည်",
+ "mcp.status.pending": "ချိတ်ဆက်နေသည်…",
"mcp.status.disabled": "ပိတ်ထားသည်။",
"mcp.auth.clickToAuthenticate": "စစ်မှန်ကြောင်းသက်သေပြရန် နှိပ်ပါ။",
"dialog.fork.empty": "လမ်းခွဲရန် မက်ဆေ့ချ်များ မရှိပါ။",
@@ -925,6 +927,83 @@ export const dict = {
"settings.section.server": "ဆာဗာ",
"settings.tab.general": "အထွေထွေ",
"settings.tab.shortcuts": "ဖြတ်လမ်းများ",
+ "settings.tab.plugins": "ပလပ်ဂင်များ",
+ "settings.plugins.section.browse": "ရှာဖွေတား",
+ "settings.plugins.section.installed": "ထည့်သွင်းပြီး",
+ "settings.plugins.source.all": "အရင်းအမြစ်အားလုံး",
+ "settings.plugins.source.ecosystem": "ဂေဟစနစ်",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "ဆာဗာ ထည့်ရန်",
+ "settings.mcp.type.local": "ဒေသန္တရ",
+ "settings.mcp.type.remote": "ဝေးကွာ",
+ "settings.mcp.empty": "MCP ဆာဗာ မည်မျှမထည့်သွင်းရသေးပါ။",
+ "settings.mcp.deleted": "{{name}} ကို ဖျက်ပြီးပါပြီ။",
+ "settings.mcp.errors.refresh": "MCP ဆာဗာများ ဝန်တင်မရပါ။",
+ "settings.mcp.status.pending": "ချိတ်ဆက်နေသည်…",
+ "settings.mcp.action.connect": "ချိတ်ဆက်",
+ "settings.mcp.action.disconnect": "ချိတ်ဆက်မှု ဖြုတ်",
+ "settings.mcp.action.authenticate": "စစ်မှန်ကြောင်း အတည်ပြု",
+ "settings.mcp.action.edit": "ပြင်ဆင်",
+ "settings.mcp.action.delete": "ဖျက်",
+ "settings.mcp.delete.title": "MCP ဆာဗာ ဖျက်",
+ "settings.mcp.delete.body": "{{name}} ကို ဖယ်ရှားမလား? ပြန်လည်ရယ်မရနိုင်ပါ။",
+ "settings.mcp.form.title.add": "MCP ဆာဗာ ထည့်ရန်",
+ "settings.mcp.form.title.edit": "MCP ဆာဗာ ပြင်ရန်",
+ "settings.mcp.form.subtitle": "ချိတ်ဆက်မှု ဆက်တင်များ ပြင်ဆင်ပါ။",
+ "settings.mcp.form.name": "အမည်",
+ "settings.mcp.form.command": "command",
+ "settings.mcp.form.command.hint": "ဥပမာ npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "အလုပ်လုပ်ရမည့် folder",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "ပတ်ဝန်းကျင် အချက်များ",
+ "settings.mcp.form.headers": "ခေါင်းစီးများ",
+ "settings.mcp.form.addRow": "အတန်း ထည့်ရန်",
+ "settings.mcp.form.removeRow": "ဖျက်ရန်",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ကလိုင်းအင့် ID",
+ "settings.mcp.form.oauth.clientSecret": "ကလိုင်းအင့် secret",
+ "settings.mcp.form.oauth.clientSecret.keep": "ကျော်ရန် အလွတ်ထားပါ — ပြန်စစ်ဆေးရန် လိုအပ်နိုင်သည်",
+ "settings.mcp.form.oauth.scope": "အတိုင်းအတာ",
+ "settings.mcp.form.oauth.callbackPort": "callback port",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth အလိုအလျောက် ရှာဖွေမှု ပိတ်ရန်",
+ "settings.mcp.form.enabled": "ဖွင့်ထားသည်",
+ "settings.mcp.form.timeout": "အချိန်ကုန် (ms)",
+ "settings.mcp.form.save": "သိမ်းဆည်းရန်",
+ "settings.mcp.form.cancel": "ပယ်ဖျက်",
+ "settings.mcp.form.error.name": "အမည် ထည့်ပါ။",
+ "settings.mcp.form.error.command": "command ထည့်ပါ။",
+ "settings.mcp.form.error.url": "URL ထည့်ပါ။",
+ "settings.mcp.form.error.callbackPort": "callback port သည် 1-65535 ဖြစ်ရမည်။",
+ "settings.mcp.form.error.timeout": "အချိန်ကုန်သည် အပေါင်းကိန်းပြည့် ဖြစ်ရမည်။",
+ "settings.mcp.errors.invalid": "ရောင်ပြထားသော field များကို ပြင်ပါ။",
+ "settings.mcp.errors.duplicate": "ဤအမည်ဖြင့် ဆာဗာ ရှိပြီးသားဖြစ်သည်။",
+ "settings.mcp.errors.noConfig": "{{name}} ၏ configuration ကို ဖတ်မရနိုင် — project ပြင်ပတွင် သတ်မှတ်ထားနိုင်သည်။",
+ "settings.mcp.edit.warn": "သိမ်းဆည်းလျှင် ဤဆာဗာကို ပြန်ချိတ်ဆက်ပါမည်။",
+ "settings.plugins.search.placeholder": "ပလပ်ဂင် ရှာဖွေ…",
+ "settings.plugins.detail.install": "ထည့်သွင်း…",
+ "settings.plugins.detail.copy": "config အပိုင်းကို ကူးယူ",
+ "settings.plugins.detail.copied": "ကူးယူပြီး",
+ "settings.plugins.detail.notOnNpm": "npm တွင် မတွေ့ရှိ — opencode.json တွင် ကိုယ်တိုင်ထည့်ပါ",
+ "settings.plugins.install.title": "ပလပ်ဂင် ထည့်သွင်း",
+ "settings.plugins.install.description": "{{name}} ကို ဘယ်မှာ ထည့်မလဲ?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "ဤပရောဂျက်",
+ "settings.plugins.install.cancel": "ဖျက်သိမ်း",
+ "settings.plugins.install.success": "{{name}} ထည့်သွင်းပြီး။ ဝန်တင်ရန် OpenCode ကို ပြန်စပါ။",
+ "settings.plugins.installed.empty": "ထည့်သွင်းထားသော ပလပ်ဂင် မရှိ",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "ပရောဂျက်",
+ "settings.plugins.installed.disable": "ပိတ်",
+ "settings.plugins.installed.enable": "ဖွင့်",
+ "settings.plugins.installed.uninstall": "ဖြုတ်",
+ "settings.plugins.installed.uninstallBody": "{{scope}}မှ {{name}} ကို ဖြုတ်မလား။ ပြင်ဆင်ချက်ဖိုင်မှ ဖယ်ရှားခံရမည်။",
+ "settings.plugins.installed.recentlyRemoved": "လတ်တလော ဖယ်ရှားခံရသည်များ",
+ "settings.plugins.installed.openConfig": "config ဖွင့်",
+ "settings.plugins.errors.parseFailed": "{{path}} ကို မဖတ်နိုင် — ပလပ်ဂင်များ စီမံရန် ဖိုင်ကို ပြင် သို့မဟုတ် ဖျက်ပါ",
+ "settings.plugins.errors.catalog": "ပလပ်ဂင် စာရင်း ပြန်လည်ဆန်းစစ်မှု မအောင်မြင်",
+ "settings.plugins.stale": "cache လုပ်ထားသော စာရင်းကို ပြသနေသည် ({{age}} အရင်)",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL ပေါင်းစည်းမှု",
"settings.desktop.wsl.description": "Windows တွင် WSL အတွင်းရှိ OpenCode ဆာဗာကို ဖွင့်ပါ။",
@@ -1104,8 +1183,6 @@ export const dict = {
"settings.agents.description": "အေးဂျင့်ဆက်တင်များကို ဤနေရာတွင် ပြင်ဆင်သတ်မှတ်နိုင်ပါမည်။",
"settings.commands.title": "အမိန့်များ",
"settings.commands.description": "ကွန်မန်းဆက်တင်များကို ဤနေရာတွင် စီစဉ်သတ်မှတ်နိုင်မည်ဖြစ်သည်။",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP ဆက်တင်များကို ဤနေရာတွင် ပြင်ဆင်သတ်မှတ်နိုင်ပါသည်။",
"settings.permissions.title": "ခွင့်ပြုချက်များ",
"settings.permissions.description": "မူရင်းအတိုင်း ဆာဗာအသုံးပြုနိုင်သည့် ကိရိယာများကို ထိန်းချုပ်ပါ။",
"settings.permissions.section.tools": "ကိရိယာများ",
diff --git a/packages/app/src/i18n/ne.ts b/packages/app/src/i18n/ne.ts
index cc60bff9f400..c45a08640419 100644
--- a/packages/app/src/i18n/ne.ts
+++ b/packages/app/src/i18n/ne.ts
@@ -398,6 +398,8 @@ export const dict: Record = {
"mcp.status.connected": "जोडिएको",
"mcp.status.failed": "असफल",
"mcp.status.needs_auth": "प्रमाणीकरण चाहिन्छ",
+ "mcp.status.needs_client_registration": "क्लाइन्ट दर्ता आवश्यक",
+ "mcp.status.pending": "जोड्दै…",
"mcp.status.disabled": "असक्षम",
"mcp.auth.clickToAuthenticate": "प्रमाणीकरण गर्न क्लिक गर्नुहोस्",
"dialog.fork.empty": "बाट फोर्क गर्न कुनै सन्देश छैन",
@@ -912,6 +914,83 @@ export const dict: Record = {
"settings.section.server": "सर्भर",
"settings.tab.general": "सामान्य",
"settings.tab.shortcuts": "सर्टकटहरू",
+ "settings.tab.plugins": "प्लगइनहरू",
+ "settings.plugins.section.browse": "ब्राउज",
+ "settings.plugins.section.installed": "स्थापित",
+ "settings.plugins.source.all": "सबै स्रोत",
+ "settings.plugins.source.ecosystem": "पारिस्थितिकी प्रणाली",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "सर्भर थप्नुहोस्",
+ "settings.mcp.type.local": "स्थानीय",
+ "settings.mcp.type.remote": "रिमोट",
+ "settings.mcp.empty": "कुनै MCP सर्भर कन्फिगर गरिएको छैन।",
+ "settings.mcp.deleted": "{{name}} मेटियो।",
+ "settings.mcp.errors.refresh": "MCP सर्भरहरू लोड गर्न सकिएन।",
+ "settings.mcp.status.pending": "जोड्दै…",
+ "settings.mcp.action.connect": "जोड्नुहोस्",
+ "settings.mcp.action.disconnect": "विच्छेद गर्नुहोस्",
+ "settings.mcp.action.authenticate": "प्रमाणीकरण",
+ "settings.mcp.action.edit": "सम्पादन",
+ "settings.mcp.action.delete": "मेट्नुहोस्",
+ "settings.mcp.delete.title": "MCP सर्भर मेट्नुहोस्",
+ "settings.mcp.delete.body": "{{name}} हटाउने? यो फिर्ता गर्न मिल्दैन।",
+ "settings.mcp.form.title.add": "MCP सर्भर थप्नुहोस्",
+ "settings.mcp.form.title.edit": "MCP सर्भर सम्पादन गर्नुहोस्",
+ "settings.mcp.form.subtitle": "जडान सेटिङहरू कन्फिगर गर्नुहोस्।",
+ "settings.mcp.form.name": "नाम",
+ "settings.mcp.form.command": "आदेश",
+ "settings.mcp.form.command.hint": "जस्तै npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "कार्य डाइरेक्टरी",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "वातावरण चरहरू",
+ "settings.mcp.form.headers": "हेडरहरू",
+ "settings.mcp.form.addRow": "पङ्क्ति थप्नुहोस्",
+ "settings.mcp.form.removeRow": "हटाउनुहोस्",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "क्लाइन्ट ID",
+ "settings.mcp.form.oauth.clientSecret": "क्लाइन्ट सिक्रेट",
+ "settings.mcp.form.oauth.clientSecret.keep": "छोड्न खाली छोड्नुहोस् — पुनः प्रमाणीकरण आवश्यक हुन सक्छ",
+ "settings.mcp.form.oauth.scope": "दायरा",
+ "settings.mcp.form.oauth.callbackPort": "कलब्याक पोर्ट",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth स्वतः पत्ता लगाउने अक्षम गर्नुहोस्",
+ "settings.mcp.form.enabled": "सक्षम",
+ "settings.mcp.form.timeout": "समयसीमा (ms)",
+ "settings.mcp.form.save": "सुरक्षित गर्नुहोस्",
+ "settings.mcp.form.cancel": "रद्द",
+ "settings.mcp.form.error.name": "नाम टाइप गर्नुहोस्।",
+ "settings.mcp.form.error.command": "आदेश टाइप गर्नुहोस्।",
+ "settings.mcp.form.error.url": "URL टाइप गर्नुहोस्।",
+ "settings.mcp.form.error.callbackPort": "कलब्याक पोर्ट १-६५५३५ बीच हुनुपर्छ।",
+ "settings.mcp.form.error.timeout": "समयसीमा धनात्मक पूर्णाङ्क हुनुपर्छ।",
+ "settings.mcp.errors.invalid": "हाइलाइट गरिएका फिल्डहरू सच्याउनुहोस्।",
+ "settings.mcp.errors.duplicate": "यो नामको सर्भर पहिले नै छ।",
+ "settings.mcp.errors.noConfig": "{{name}} को कन्फिगरेसन पढ्न सकिएन — परियोजना बाहिर परिभाषित हुन सक्छ।",
+ "settings.mcp.edit.warn": "सुरक्षित गर्दा यो सर्भर पुनः जडान हुन्छ।",
+ "settings.plugins.search.placeholder": "प्लगइन खोज्नुहोस्…",
+ "settings.plugins.detail.install": "स्थापना गर्नुहोस्…",
+ "settings.plugins.detail.copy": "कन्फिग स्निपेट प्रतिलिपि गर्नुहोस्",
+ "settings.plugins.detail.copied": "प्रतिलिपि गरियो",
+ "settings.plugins.detail.notOnNpm": "npm मा फेला परेन — opencode.json मा हस्तगत रूपमा थप्नुहोस्",
+ "settings.plugins.install.title": "प्लगइन स्थापना",
+ "settings.plugins.install.description": "{{name}} कहाँ थप्ने?",
+ "settings.plugins.install.global": "विश्वव्यापी (~/.config/opencode)",
+ "settings.plugins.install.project": "यो परियोजना",
+ "settings.plugins.install.cancel": "रद्द",
+ "settings.plugins.install.success": "{{name}} स्थापित भयो। लोड गर्न OpenCode पुनः सुरु गर्नुहोस्।",
+ "settings.plugins.installed.empty": "कुनै प्लगइन स्थापित छैन।",
+ "settings.plugins.installed.provenance.global": "विश्वव्यापी",
+ "settings.plugins.installed.provenance.project": "परियोजना",
+ "settings.plugins.installed.disable": "अक्षम",
+ "settings.plugins.installed.enable": "सक्षम",
+ "settings.plugins.installed.uninstall": "स्थापना हटाउनुहोस्",
+ "settings.plugins.installed.uninstallBody": "{{scope}} बाट {{name}} स्थापना हटाउनुहुन्छ? यो कन्फिग फाइलबाट हटाइनेछ।",
+ "settings.plugins.installed.recentlyRemoved": "हालसालै हटाइएका",
+ "settings.plugins.installed.openConfig": "कन्फिग खोल्नुहोस्",
+ "settings.plugins.errors.parseFailed": "{{path}} पढ्न सकिएन — प्लगइनहरू व्यवस्थापन गर्न फाइल मिलाउनुहोस् वा हटाउनुहोस्।",
+ "settings.plugins.errors.catalog": "प्लगइन क्याटलग रिफ्रेस गर्न सकिएन।",
+ "settings.plugins.stale": "क्यास गरिएको क्याटलग देखाइँदैछ ({{age}} पुरानो)।",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL एकीकरण",
"settings.desktop.wsl.description": "OpenCode सर्भर भित्र WSL Windows मा चलाउनुहोस्।",
@@ -1087,8 +1166,6 @@ export const dict: Record = {
"settings.agents.description": "एजेन्ट सेटिङहरू यहाँ कन्फिगर योग्य हुनेछ।",
"settings.commands.title": "आदेशहरू",
"settings.commands.description": "आदेश सेटिङहरू यहाँ कन्फिगर योग्य हुनेछ।",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP सेटिङहरू यहाँ कन्फिगर योग्य हुनेछन्।",
"settings.permissions.title": "अनुमतिहरू",
"settings.permissions.description": "सर्भरले पूर्वनिर्धारित रूपमा प्रयोग गर्न सक्ने उपकरणहरू नियन्त्रण गर्नुहोस्।",
"settings.permissions.section.tools": "उपकरणहरू",
diff --git a/packages/app/src/i18n/nl.ts b/packages/app/src/i18n/nl.ts
index 6fb1dc09f24b..33e6de59c359 100644
--- a/packages/app/src/i18n/nl.ts
+++ b/packages/app/src/i18n/nl.ts
@@ -398,6 +398,8 @@ export const dict = {
"mcp.status.connected": "verbonden",
"mcp.status.failed": "mislukt",
"mcp.status.needs_auth": "heeft autorisatie nodig",
+ "mcp.status.needs_client_registration": "clientregistratie nodig",
+ "mcp.status.pending": "verbinden…",
"mcp.status.disabled": "uitgeschakeld",
"mcp.auth.clickToAuthenticate": "Klik om te authenticeren",
"dialog.fork.empty": "Geen berichten om van af te splitsen",
@@ -922,6 +924,83 @@ export const dict = {
"settings.section.server": "Server",
"settings.tab.general": "Algemeen",
"settings.tab.shortcuts": "Snelkoppelingen",
+ "settings.tab.plugins": "Plugins",
+ "settings.plugins.section.browse": "Bladeren",
+ "settings.plugins.section.installed": "Geïnstalleerd",
+ "settings.plugins.source.all": "Alle bronnen",
+ "settings.plugins.source.ecosystem": "Ecosysteem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Server toevoegen",
+ "settings.mcp.type.local": "Lokaal",
+ "settings.mcp.type.remote": "Extern",
+ "settings.mcp.empty": "Geen MCP-servers geconfigureerd.",
+ "settings.mcp.deleted": "{{name}} verwijderd.",
+ "settings.mcp.errors.refresh": "Kan MCP-servers niet laden.",
+ "settings.mcp.status.pending": "verbinden…",
+ "settings.mcp.action.connect": "Verbinden",
+ "settings.mcp.action.disconnect": "Verbreken",
+ "settings.mcp.action.authenticate": "Authenticeren",
+ "settings.mcp.action.edit": "Bewerken",
+ "settings.mcp.action.delete": "Verwijderen",
+ "settings.mcp.delete.title": "MCP-server verwijderen",
+ "settings.mcp.delete.body": "{{name}} verwijderen? Dit kan niet ongedaan worden gemaakt.",
+ "settings.mcp.form.title.add": "MCP-server toevoegen",
+ "settings.mcp.form.title.edit": "MCP-server bewerken",
+ "settings.mcp.form.subtitle": "Configureer de verbindingsinstellingen.",
+ "settings.mcp.form.name": "Naam",
+ "settings.mcp.form.command": "Commando",
+ "settings.mcp.form.command.hint": "bijv. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Werkmap",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Omgevingsvariabelen",
+ "settings.mcp.form.headers": "Headers",
+ "settings.mcp.form.addRow": "Rij toevoegen",
+ "settings.mcp.form.removeRow": "Verwijderen",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Client-ID",
+ "settings.mcp.form.oauth.clientSecret": "Clientgeheim",
+ "settings.mcp.form.oauth.clientSecret.keep": "Laat leeg om weg te laten — herauthenticatie kan vereist zijn",
+ "settings.mcp.form.oauth.scope": "Scope",
+ "settings.mcp.form.oauth.callbackPort": "Callbackpoort",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth-autodetectie uitschakelen",
+ "settings.mcp.form.enabled": "Ingeschakeld",
+ "settings.mcp.form.timeout": "Time-out (ms)",
+ "settings.mcp.form.save": "Opslaan",
+ "settings.mcp.form.cancel": "Annuleren",
+ "settings.mcp.form.error.name": "Voer een naam in.",
+ "settings.mcp.form.error.command": "Voer een commando in.",
+ "settings.mcp.form.error.url": "Voer een URL in.",
+ "settings.mcp.form.error.callbackPort": "Callbackpoort moet tussen 1 en 65535 liggen.",
+ "settings.mcp.form.error.timeout": "Time-out moet een positief geheel getal zijn.",
+ "settings.mcp.errors.invalid": "Corrigeer de gemarkeerde velden.",
+ "settings.mcp.errors.duplicate": "Er bestaat al een server met deze naam.",
+ "settings.mcp.errors.noConfig": "Kan de configuratie van {{name}} niet lezen — mogelijk buiten het project gedefinieerd.",
+ "settings.mcp.edit.warn": "Opslaan herstelt de verbinding met deze server.",
+ "settings.plugins.search.placeholder": "Plugins zoeken…",
+ "settings.plugins.detail.install": "Installeren…",
+ "settings.plugins.detail.copy": "Configfragment kopiëren",
+ "settings.plugins.detail.copied": "Gekopieerd",
+ "settings.plugins.detail.notOnNpm": "Niet gevonden op npm — voeg handmatig toe aan opencode.json",
+ "settings.plugins.install.title": "Plugin installeren",
+ "settings.plugins.install.description": "Waar moet {{name}} worden toegevoegd?",
+ "settings.plugins.install.global": "Globaal (~/.config/opencode)",
+ "settings.plugins.install.project": "Dit project",
+ "settings.plugins.install.cancel": "Annuleren",
+ "settings.plugins.install.success": "{{name}} geïnstalleerd. Herstart OpenCode om het te laden.",
+ "settings.plugins.installed.empty": "Geen plugins geïnstalleerd.",
+ "settings.plugins.installed.provenance.global": "Globaal",
+ "settings.plugins.installed.provenance.project": "Project",
+ "settings.plugins.installed.disable": "Uitschakelen",
+ "settings.plugins.installed.enable": "Inschakelen",
+ "settings.plugins.installed.uninstall": "Verwijderen",
+ "settings.plugins.installed.uninstallBody": "{{name}} van {{scope}} verwijderen? De invoer wordt uit het configuratiebestand verwijderd.",
+ "settings.plugins.installed.recentlyRemoved": "Onlangs verwijderd",
+ "settings.plugins.installed.openConfig": "Configuratie openen",
+ "settings.plugins.errors.parseFailed": "Kan {{path}} niet lezen — repareer of verwijder het bestand om plugins daar te beheren.",
+ "settings.plugins.errors.catalog": "Kan de plugin-catalogus niet verversen.",
+ "settings.plugins.stale": "Gecachte catalogus wordt getoond ({{age}} oud).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL-integratie",
"settings.desktop.wsl.description": "Voer de OpenCode-server uit in WSL op Windows.",
@@ -1100,8 +1179,6 @@ export const dict = {
"settings.agents.description": "Agentinstellingen kunnen hier worden geconfigureerd.",
"settings.commands.title": "Commando's",
"settings.commands.description": "Commando-instellingen kunnen hier worden geconfigureerd.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP-instellingen kunnen hier worden geconfigureerd.",
"settings.permissions.title": "Machtigingen",
"settings.permissions.description": "Bepaal welke tools de server standaard kan gebruiken.",
"settings.permissions.section.tools": "Tools",
diff --git a/packages/app/src/i18n/no.ts b/packages/app/src/i18n/no.ts
index 11958029dc38..3dac2bcbf050 100644
--- a/packages/app/src/i18n/no.ts
+++ b/packages/app/src/i18n/no.ts
@@ -418,6 +418,8 @@ export const dict = {
"mcp.status.connected": "tilkoblet",
"mcp.status.failed": "mislyktes",
"mcp.status.needs_auth": "trenger autentisering",
+ "mcp.status.needs_client_registration": "klientregistrering kreves",
+ "mcp.status.pending": "kobler til…",
"mcp.auth.clickToAuthenticate": "Klikk for å autentisere",
"mcp.status.disabled": "deaktivert",
@@ -761,6 +763,83 @@ export const dict = {
"settings.section.server": "Server",
"settings.tab.general": "Generelt",
"settings.tab.shortcuts": "Snarveier",
+ "settings.tab.plugins": "Pluginer",
+ "settings.plugins.section.browse": "Bla gjennom",
+ "settings.plugins.section.installed": "Installert",
+ "settings.plugins.source.all": "Alle kilder",
+ "settings.plugins.source.ecosystem": "Økosystem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Legg til server",
+ "settings.mcp.type.local": "Lokal",
+ "settings.mcp.type.remote": "Ekstern",
+ "settings.mcp.empty": "Ingen MCP-servere konfigurert.",
+ "settings.mcp.deleted": "{{name}} slettet.",
+ "settings.mcp.errors.refresh": "Kunne ikke laste inn MCP-servere.",
+ "settings.mcp.status.pending": "kobler til…",
+ "settings.mcp.action.connect": "Koble til",
+ "settings.mcp.action.disconnect": "Koble fra",
+ "settings.mcp.action.authenticate": "Autentiser",
+ "settings.mcp.action.edit": "Rediger",
+ "settings.mcp.action.delete": "Slett",
+ "settings.mcp.delete.title": "Slett MCP-server",
+ "settings.mcp.delete.body": "Fjerne {{name}}? Dette kan ikke angres.",
+ "settings.mcp.form.title.add": "Legg til MCP-server",
+ "settings.mcp.form.title.edit": "Rediger MCP-server",
+ "settings.mcp.form.subtitle": "Konfigurer tilkoblingsinnstillingene.",
+ "settings.mcp.form.name": "Navn",
+ "settings.mcp.form.command": "Kommando",
+ "settings.mcp.form.command.hint": "f.eks. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Arbeidsmappe",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Miljøvariabler",
+ "settings.mcp.form.headers": "Headere",
+ "settings.mcp.form.addRow": "Legg til rad",
+ "settings.mcp.form.removeRow": "Fjern",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Klient-ID",
+ "settings.mcp.form.oauth.clientSecret": "Klienthemmelighet",
+ "settings.mcp.form.oauth.clientSecret.keep": "La stå tom for å utelate — reautentisering kan være nødvendig",
+ "settings.mcp.form.oauth.scope": "Omfang",
+ "settings.mcp.form.oauth.callbackPort": "Callback-port",
+ "settings.mcp.form.oauth.disableAutodetect": "Deaktiver automatisk OAuth-oppdaging",
+ "settings.mcp.form.enabled": "Aktivert",
+ "settings.mcp.form.timeout": "Tidsavbrudd (ms)",
+ "settings.mcp.form.save": "Lagre",
+ "settings.mcp.form.cancel": "Avbryt",
+ "settings.mcp.form.error.name": "Skriv inn et navn.",
+ "settings.mcp.form.error.command": "Skriv inn en kommando.",
+ "settings.mcp.form.error.url": "Skriv inn en URL.",
+ "settings.mcp.form.error.callbackPort": "Callback-porten må være mellom 1 og 65535.",
+ "settings.mcp.form.error.timeout": "Tidsavbruddet må være et positivt heltall.",
+ "settings.mcp.errors.invalid": "Rett de merkede feltene.",
+ "settings.mcp.errors.duplicate": "En server med dette navnet finnes allerede.",
+ "settings.mcp.errors.noConfig": "Kan ikke lese konfigurasjonen for {{name}} — kan være definert utenfor prosjektet.",
+ "settings.mcp.edit.warn": "Lagring kobler serveren til på nytt.",
+ "settings.plugins.search.placeholder": "Søk etter pluginer…",
+ "settings.plugins.detail.install": "Installer…",
+ "settings.plugins.detail.copy": "Kopier konfigurasjonsutdrag",
+ "settings.plugins.detail.copied": "Kopiert",
+ "settings.plugins.detail.notOnNpm": "Ikke funnet på npm — legg til manuelt i opencode.json",
+ "settings.plugins.install.title": "Installer plugin",
+ "settings.plugins.install.description": "Hvor skal {{name}} legges til?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "Dette prosjektet",
+ "settings.plugins.install.cancel": "Avbryt",
+ "settings.plugins.install.success": "{{name}} installert. Start OpenCode på nytt for å laste det.",
+ "settings.plugins.installed.empty": "Ingen pluginer installert.",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "Prosjekt",
+ "settings.plugins.installed.disable": "Deaktiver",
+ "settings.plugins.installed.enable": "Aktiver",
+ "settings.plugins.installed.uninstall": "Avinstaller",
+ "settings.plugins.installed.uninstallBody": "Avinstaller {{name}} fra {{scope}}? Oppføringen fjernes fra konfigurasjonsfilen.",
+ "settings.plugins.installed.recentlyRemoved": "Nylig fjernet",
+ "settings.plugins.installed.openConfig": "Åpne konfig",
+ "settings.plugins.errors.parseFailed": "Kan ikke lese {{path}} — fiks eller fjern filen for å administrere pluginer der.",
+ "settings.plugins.errors.catalog": "Kunne ikke oppdatere plugin-katalogen.",
+ "settings.plugins.stale": "Viser bufret katalog ({{age}} gammel).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL-integrasjon",
"settings.desktop.wsl.description": "Kjør OpenCode-serveren i WSL på Windows.",
@@ -909,9 +988,6 @@ export const dict = {
"settings.agents.description": "Agentinnstillinger vil kunne konfigureres her.",
"settings.commands.title": "Kommandoer",
"settings.commands.description": "Kommandoinnstillinger vil kunne konfigureres her.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP-innstillinger vil kunne konfigureres her.",
-
"settings.permissions.title": "Tillatelser",
"settings.permissions.description": "Kontroller hvilke verktøy serveren kan bruke som standard.",
"settings.permissions.section.tools": "Verktøy",
diff --git a/packages/app/src/i18n/pa.ts b/packages/app/src/i18n/pa.ts
index 6298581c0aab..2ffac9c0eea9 100644
--- a/packages/app/src/i18n/pa.ts
+++ b/packages/app/src/i18n/pa.ts
@@ -404,6 +404,8 @@ export const dict = {
"mcp.status.connected": "جڑیا ہویا",
"mcp.status.failed": "ناکام ہویا",
"mcp.status.needs_auth": "تصدیق دی لوڑ اے",
+ "mcp.status.needs_client_registration": "ਕਲਾਈਂਟ ਰਜਿਸਟ੍ਰੇਸ਼ਨ ਲੋੜੀਂਦੀ",
+ "mcp.status.pending": "ਜੁੜ ਰਿਹਾ ਹੈ…",
"mcp.status.disabled": "بند",
"mcp.auth.clickToAuthenticate": "تصدیق کرن لئی کلک کرو",
"dialog.fork.empty": "فورک کرن لئی کوئی پیغام نئیں",
@@ -919,6 +921,83 @@ export const dict = {
"settings.section.server": "سرور",
"settings.tab.general": "عمومی",
"settings.tab.shortcuts": "شارٹ کٹ",
+ "settings.tab.plugins": "ਪਲੱਗਇਨ",
+ "settings.plugins.section.browse": "ਬਰਾਊਜ਼ ਕਰੋ",
+ "settings.plugins.section.installed": "ਇੰਸਟਾਲ ਹੈ",
+ "settings.plugins.source.all": "ਸਾਰੇ ਸਰੋਤ",
+ "settings.plugins.source.ecosystem": "ਈਕੋਸਿਸਟਮ",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "ਸਰਵਰ ਜੋੜੋ",
+ "settings.mcp.type.local": "ਲੋਕਲ",
+ "settings.mcp.type.remote": "ਰਿਮੋਟ",
+ "settings.mcp.empty": "ਕੋਈ MCP ਸਰਵਰ ਕੌਂਫਿਗਰ ਨਹੀਂ ਹੈ।",
+ "settings.mcp.deleted": "{{name}} ਮਿਟਾ ਦਿੱਤਾ ਗਿਆ।",
+ "settings.mcp.errors.refresh": "MCP ਸਰਵਰ ਲੋਡ ਨਹੀਂ ਹੋ ਸਕੇ।",
+ "settings.mcp.status.pending": "ਜੁੜ ਰਿਹਾ ਹੈ…",
+ "settings.mcp.action.connect": "ਕਨੈਕਟ ਕਰੋ",
+ "settings.mcp.action.disconnect": "ਡਿਸਕਨੈਕਟ ਕਰੋ",
+ "settings.mcp.action.authenticate": "ਪ੍ਰਮਾਣਿਤ ਕਰੋ",
+ "settings.mcp.action.edit": "ਸੋਧੋ",
+ "settings.mcp.action.delete": "ਮਿਟਾਓ",
+ "settings.mcp.delete.title": "MCP ਸਰਵਰ ਮਿਟਾਓ",
+ "settings.mcp.delete.body": "{{name}} ਹਟਾਉਣਾ ਹੈ? ਇਹ ਵਾਪਸ ਨਹੀਂ ਹੋ ਸਕਦਾ।",
+ "settings.mcp.form.title.add": "MCP ਸਰਵਰ ਜੋੜੋ",
+ "settings.mcp.form.title.edit": "MCP ਸਰਵਰ ਸੋਧੋ",
+ "settings.mcp.form.subtitle": "ਕੁਨੈਕਸ਼ਨ ਸੈਟਿੰਗਾਂ ਕੌਂਫਿਗਰ ਕਰੋ।",
+ "settings.mcp.form.name": "ਨਾਮ",
+ "settings.mcp.form.command": "ਕਮਾਂਡ",
+ "settings.mcp.form.command.hint": "ਜਿਵੇਂ npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "ਵਰਕਿੰਗ ਡਾਇਰੈਕਟਰੀ",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "ਏਨਵਾਇਰਨਮੈਂਟ ਵੇਰੀਏਬਲ",
+ "settings.mcp.form.headers": "ਹੈੱਡਰ",
+ "settings.mcp.form.addRow": "ਕਤਾਰ ਜੋੜੋ",
+ "settings.mcp.form.removeRow": "ਹਟਾਓ",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ਕਲਾਈਂਟ ID",
+ "settings.mcp.form.oauth.clientSecret": "ਕਲਾਈਂਟ ਸੀਕਰੇਟ",
+ "settings.mcp.form.oauth.clientSecret.keep": "ਛੱਡਣ ਲਈ ਖਾਲੀ ਛੱਡੋ — ਦੁਬਾਰਾ ਪ੍ਰਮਾਣੀਕਰਨ ਦੀ ਲੋੜ ਹੋ ਸਕਦੀ ਹੈ",
+ "settings.mcp.form.oauth.scope": "ਸਕੋਪ",
+ "settings.mcp.form.oauth.callbackPort": "ਕਾਲਬੈਕ ਪੋਰਟ",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth ਆਟੋ-ਡਿਟੈਕਸ਼ਨ ਬੰਦ ਕਰੋ",
+ "settings.mcp.form.enabled": "ਯੋਗ",
+ "settings.mcp.form.timeout": "ਟਾਈਮਆਊਟ (ms)",
+ "settings.mcp.form.save": "ਸੰਭਾਲੋ",
+ "settings.mcp.form.cancel": "ਰੱਦ ਕਰੋ",
+ "settings.mcp.form.error.name": "ਨਾਮ ਦਰਜ ਕਰੋ।",
+ "settings.mcp.form.error.command": "ਕਮਾਂਡ ਦਰਜ ਕਰੋ।",
+ "settings.mcp.form.error.url": "URL ਦਰਜ ਕਰੋ।",
+ "settings.mcp.form.error.callbackPort": "ਕਾਲਬੈਕ ਪੋਰਟ 1-65535 ਵਿਚਕਾਰ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ।",
+ "settings.mcp.form.error.timeout": "ਟਾਈਮਆਊਟ ਧਨਾਤਮਕ ਪੂਰਨ ਅੰਕ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ।",
+ "settings.mcp.errors.invalid": "ਹਾਈਲਾਈਟ ਕੀਤੇ ਖੇਤਰ ਠੀਕ ਕਰੋ।",
+ "settings.mcp.errors.duplicate": "ਇਸ ਨਾਮ ਨਾਲ ਸਰਵਰ ਪਹਿਲਾਂ ਹੀ ਮੌਜੂਦ ਹੈ।",
+ "settings.mcp.errors.noConfig": "{{name}} ਦੀ ਕੌਂਫਿਗਰੇਸ਼ਨ ਨਹੀਂ ਪੜ੍ਹੀ ਜਾ ਸਕੀ — ਪ੍ਰੋਜੈਕਟ ਤੋਂ ਬਾਹਰ ਪਰਿਭਾਸ਼ਿਤ ਹੋ ਸਕਦੀ ਹੈ।",
+ "settings.mcp.edit.warn": "ਸੰਭਾਲਣ ਨਾਲ ਇਹ ਸਰਵਰ ਮੁੜ ਜੁੜੇਗਾ।",
+ "settings.plugins.search.placeholder": "ਪਲੱਗਇਨ ਲੱਭੋ…",
+ "settings.plugins.detail.install": "ਇੰਸਟਾਲ ਕਰੋ…",
+ "settings.plugins.detail.copy": "ਕੌਂਫਿਗ ਸਨਿਪੈਟ ਕਾਪੀ ਕਰੋ",
+ "settings.plugins.detail.copied": "ਕਾਪੀ ਕੀਤਾ",
+ "settings.plugins.detail.notOnNpm": "npm 'ਤੇ ਨਹੀਂ ਮਿਲਿਆ — opencode.json ਵਿੱਚ ਹੱਥੀਂ ਜੋੜੋ",
+ "settings.plugins.install.title": "ਪਲੱਗਇਨ ਇੰਸਟਾਲ ਕਰੋ",
+ "settings.plugins.install.description": "{{name}} ਕਿੱਥੇ ਜੋੜਿਆ ਜਾਵੇ?",
+ "settings.plugins.install.global": "ਗਲੋਬਲ (~/.config/opencode)",
+ "settings.plugins.install.project": "ਇਹ ਪ੍ਰੋਜੈਕਟ",
+ "settings.plugins.install.cancel": "ਰੱਦ ਕਰੋ",
+ "settings.plugins.install.success": "{{name}} ਇੰਸਟਾਲ ਹੋ ਗਿਆ। ਲੋਡ ਕਰਨ ਲਈ OpenCode ਮੁੜ ਚਾਲੂ ਕਰੋ।",
+ "settings.plugins.installed.empty": "ਕੋਈ ਪਲੱਗਇਨ ਇੰਸਟਾਲ ਨਹੀਂ ਹੈ।",
+ "settings.plugins.installed.provenance.global": "ਗਲੋਬਲ",
+ "settings.plugins.installed.provenance.project": "ਪ੍ਰੋਜੈਕਟ",
+ "settings.plugins.installed.disable": "ਬੰਦ ਕਰੋ",
+ "settings.plugins.installed.enable": "ਚਾਲੂ ਕਰੋ",
+ "settings.plugins.installed.uninstall": "ਅਣਇੰਸਟਾਲ ਕਰੋ",
+ "settings.plugins.installed.uninstallBody": "{{scope}} ਤੋਂ {{name}} ਅਣਇੰਸਟਾਲ ਕਰਨਾ ਹੈ? ਇਹ ਸੰਰਚਨਾ ਫ਼ਾਈਲ ਤੋਂ ਹਟਾ ਦਿੱਤਾ ਜਾਵੇਗਾ।",
+ "settings.plugins.installed.recentlyRemoved": "ਹਾਲ ਹੀ ਵਿੱਚ ਹਟਾਏ ਗਏ",
+ "settings.plugins.installed.openConfig": "ਕੌਂਫਿਗ ਖੋਲ੍ਹੋ",
+ "settings.plugins.errors.parseFailed": "{{path}} ਪੜ੍ਹਿਆ ਨਹੀਂ ਜਾ ਸਕਦਾ — ਪਲੱਗਇਨ ਪ੍ਰਬੰਧਨ ਲਈ ਫਾਈਲ ਠੀਕ ਕਰੋ ਜਾਂ ਹਟਾਓ",
+ "settings.plugins.errors.catalog": "ਪਲੱਗਇਨ ਕੈਟਾਲੌਗ ਰਿਫ੍ਰੈਸ਼ ਨਹੀਂ ਹੋ ਸਕਿਆ",
+ "settings.plugins.stale": "ਕੈਸ਼ ਕੀਤਾ ਕੈਟਾਲੌਗ ਵਿਖਾਇਆ ਜਾ ਰਿਹਾ ਹੈ ({{age}} ਪੁਰਾਣਾ)",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL نال جوڑ",
"settings.desktop.wsl.description": "Windows تے WSL دے اندر OpenCode سرور چلاؤ۔",
@@ -1091,8 +1170,6 @@ export const dict = {
"settings.agents.description": "Agent ترتیبات ایتھے ترتیب دے قابل ہون گیاں۔",
"settings.commands.title": "کمانڈز",
"settings.commands.description": "کمانڈ دی ترتیبات ایتھے ترتیب دے قابل ہون گیاں۔",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP ترتیبات ایتھے ترتیب دے قابل ہون گیاں۔",
"settings.permissions.title": "اجازتاں",
"settings.permissions.description": "کنٹرول کرو کہ سرور پہلے توں طے شدہ طور تے کیہڑے اوزار استعمال کر سکدا اے۔",
"settings.permissions.section.tools": "ٹول",
diff --git a/packages/app/src/i18n/pl.ts b/packages/app/src/i18n/pl.ts
index 9b3c927498d8..a2aa74818b1f 100644
--- a/packages/app/src/i18n/pl.ts
+++ b/packages/app/src/i18n/pl.ts
@@ -404,6 +404,8 @@ export const dict = {
"mcp.status.connected": "połączono",
"mcp.status.failed": "błąd",
"mcp.status.needs_auth": "wymaga autoryzacji",
+ "mcp.status.needs_client_registration": "wymagana rejestracja klienta",
+ "mcp.status.pending": "łączenie…",
"mcp.auth.clickToAuthenticate": "Kliknij, aby się uwierzytelnić",
"mcp.status.disabled": "wyłączone",
"dialog.fork.empty": "Brak wiadomości do rozwidlenia",
@@ -836,6 +838,83 @@ export const dict = {
"settings.section.server": "Serwer",
"settings.tab.general": "Ogólne",
"settings.tab.shortcuts": "Skróty",
+ "settings.tab.plugins": "Wtyczki",
+ "settings.plugins.section.browse": "Przeglądaj",
+ "settings.plugins.section.installed": "Zainstalowane",
+ "settings.plugins.source.all": "Wszystkie źródła",
+ "settings.plugins.source.ecosystem": "Ekosystem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Dodaj serwer",
+ "settings.mcp.type.local": "Lokalny",
+ "settings.mcp.type.remote": "Zdalny",
+ "settings.mcp.empty": "Brak skonfigurowanych serwerów MCP.",
+ "settings.mcp.deleted": "Usunięto {{name}}.",
+ "settings.mcp.errors.refresh": "Nie można wczytać serwerów MCP.",
+ "settings.mcp.status.pending": "łączenie…",
+ "settings.mcp.action.connect": "Połącz",
+ "settings.mcp.action.disconnect": "Rozłącz",
+ "settings.mcp.action.authenticate": "Uwierzytelnij",
+ "settings.mcp.action.edit": "Edytuj",
+ "settings.mcp.action.delete": "Usuń",
+ "settings.mcp.delete.title": "Usuń serwer MCP",
+ "settings.mcp.delete.body": "Usunąć {{name}}? Tej operacji nie można cofnąć.",
+ "settings.mcp.form.title.add": "Dodaj serwer MCP",
+ "settings.mcp.form.title.edit": "Edytuj serwer MCP",
+ "settings.mcp.form.subtitle": "Skonfiguruj ustawienia połączenia.",
+ "settings.mcp.form.name": "Nazwa",
+ "settings.mcp.form.command": "Polecenie",
+ "settings.mcp.form.command.hint": "np. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Katalog roboczy",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Zmienne środowiskowe",
+ "settings.mcp.form.headers": "Nagłówki",
+ "settings.mcp.form.addRow": "Dodaj wiersz",
+ "settings.mcp.form.removeRow": "Usuń",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID klienta",
+ "settings.mcp.form.oauth.clientSecret": "Sekret klienta",
+ "settings.mcp.form.oauth.clientSecret.keep": "Zostaw puste, aby pominąć — może być wymagana ponowna autoryzacja",
+ "settings.mcp.form.oauth.scope": "Zakres",
+ "settings.mcp.form.oauth.callbackPort": "Port wywołania zwrotnego",
+ "settings.mcp.form.oauth.disableAutodetect": "Wyłącz automatyczne wykrywanie OAuth",
+ "settings.mcp.form.enabled": "Włączone",
+ "settings.mcp.form.timeout": "Limit czasu (ms)",
+ "settings.mcp.form.save": "Zapisz",
+ "settings.mcp.form.cancel": "Anuluj",
+ "settings.mcp.form.error.name": "Podaj nazwę.",
+ "settings.mcp.form.error.command": "Podaj polecenie.",
+ "settings.mcp.form.error.url": "Podaj URL.",
+ "settings.mcp.form.error.callbackPort": "Port wywołania zwrotnego musi być od 1 do 65535.",
+ "settings.mcp.form.error.timeout": "Limit czasu musi być dodatnią liczbą całkowitą.",
+ "settings.mcp.errors.invalid": "Popraw zaznaczone pola.",
+ "settings.mcp.errors.duplicate": "Serwer o tej nazwie już istnieje.",
+ "settings.mcp.errors.noConfig": "Nie można odczytać konfiguracji {{name}} — może być zdefiniowana poza projektem.",
+ "settings.mcp.edit.warn": "Zapisanie ponownie łączy serwer.",
+ "settings.plugins.search.placeholder": "Szukaj wtyczek…",
+ "settings.plugins.detail.install": "Zainstaluj…",
+ "settings.plugins.detail.copy": "Skopiuj fragment konfiguracji",
+ "settings.plugins.detail.copied": "Skopiowano",
+ "settings.plugins.detail.notOnNpm": "Nie znaleziono na npm — dodaj ręcznie do opencode.json",
+ "settings.plugins.install.title": "Zainstaluj wtyczkę",
+ "settings.plugins.install.description": "Gdzie dodać {{name}}?",
+ "settings.plugins.install.global": "Globalnie (~/.config/opencode)",
+ "settings.plugins.install.project": "Ten projekt",
+ "settings.plugins.install.cancel": "Anuluj",
+ "settings.plugins.install.success": "Zainstalowano {{name}}. Uruchom ponownie OpenCode, aby go wczytać.",
+ "settings.plugins.installed.empty": "Brak zainstalowanych wtyczek.",
+ "settings.plugins.installed.provenance.global": "Globalnie",
+ "settings.plugins.installed.provenance.project": "Projekt",
+ "settings.plugins.installed.disable": "Wyłącz",
+ "settings.plugins.installed.enable": "Włącz",
+ "settings.plugins.installed.uninstall": "Odinstaluj",
+ "settings.plugins.installed.uninstallBody": "Odinstalować {{name}} z {{scope}}? Wpis zostanie usunięty z pliku konfiguracji.",
+ "settings.plugins.installed.recentlyRemoved": "Ostatnio usunięte",
+ "settings.plugins.installed.openConfig": "Otwórz konfigurację",
+ "settings.plugins.errors.parseFailed": "Nie można odczytać {{path}} — popraw lub usuń plik, aby zarządzać wtyczkami.",
+ "settings.plugins.errors.catalog": "Nie można odświeżyć katalogu wtyczek.",
+ "settings.plugins.stale": "Wyświetlono katalog z pamięci podręcznej ({{age}}).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "Integracja z WSL",
"settings.desktop.wsl.description": "Uruchamiaj serwer OpenCode wewnątrz WSL w systemie Windows.",
@@ -1013,8 +1092,6 @@ export const dict = {
"settings.agents.description": "Ustawienia agentów będą tutaj konfigurowalne.",
"settings.commands.title": "Polecenia",
"settings.commands.description": "Ustawienia poleceń będą tutaj konfigurowalne.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Ustawienia MCP będą tutaj konfigurowalne.",
"settings.permissions.title": "Uprawnienia",
"settings.permissions.description": "Kontroluj, jakich narzędzi serwer może używać domyślnie.",
"settings.permissions.section.tools": "Narzędzia",
diff --git a/packages/app/src/i18n/ro.ts b/packages/app/src/i18n/ro.ts
index c84f9a4ee76e..53bcb64c9f5a 100644
--- a/packages/app/src/i18n/ro.ts
+++ b/packages/app/src/i18n/ro.ts
@@ -396,6 +396,8 @@ export const dict = {
"mcp.status.connected": "conectat",
"mcp.status.failed": "eșuat",
"mcp.status.needs_auth": "necesită autentificare",
+ "mcp.status.needs_client_registration": "necesită înregistrarea clientului",
+ "mcp.status.pending": "se conectează…",
"mcp.status.disabled": "dezactivat",
"mcp.auth.clickToAuthenticate": "Autentifică-te",
"dialog.fork.empty": "Niciun mesaj de bifurcat",
@@ -917,6 +919,83 @@ export const dict = {
"settings.section.server": "Server",
"settings.tab.general": "General",
"settings.tab.shortcuts": "Scurtături",
+ "settings.tab.plugins": "Plugin-uri",
+ "settings.plugins.section.browse": "Răsfoiește",
+ "settings.plugins.section.installed": "Instalate",
+ "settings.plugins.source.all": "Toate sursele",
+ "settings.plugins.source.ecosystem": "Ecosistem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Adaugă server",
+ "settings.mcp.type.local": "Local",
+ "settings.mcp.type.remote": "La distanță",
+ "settings.mcp.empty": "Nu există servere MCP configurate.",
+ "settings.mcp.deleted": "{{name}} a fost șters.",
+ "settings.mcp.errors.refresh": "Nu s-au putut încărca serverele MCP.",
+ "settings.mcp.status.pending": "se conectează…",
+ "settings.mcp.action.connect": "Conectare",
+ "settings.mcp.action.disconnect": "Deconectare",
+ "settings.mcp.action.authenticate": "Autentificare",
+ "settings.mcp.action.edit": "Editează",
+ "settings.mcp.action.delete": "Șterge",
+ "settings.mcp.delete.title": "Șterge serverul MCP",
+ "settings.mcp.delete.body": "Se elimină {{name}}? Acțiunea este ireversibilă.",
+ "settings.mcp.form.title.add": "Adaugă server MCP",
+ "settings.mcp.form.title.edit": "Editează serverul MCP",
+ "settings.mcp.form.subtitle": "Configurează setările conexiunii.",
+ "settings.mcp.form.name": "Nume",
+ "settings.mcp.form.command": "Comandă",
+ "settings.mcp.form.command.hint": "ex. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Director de lucru",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Variabile de mediu",
+ "settings.mcp.form.headers": "Anteturi",
+ "settings.mcp.form.addRow": "Adaugă rând",
+ "settings.mcp.form.removeRow": "Elimină",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID client",
+ "settings.mcp.form.oauth.clientSecret": "Secret client",
+ "settings.mcp.form.oauth.clientSecret.keep": "Lasa gol pentru a omite — poate fi necesară reautentificarea",
+ "settings.mcp.form.oauth.scope": "Domeniu",
+ "settings.mcp.form.oauth.callbackPort": "Port de callback",
+ "settings.mcp.form.oauth.disableAutodetect": "Dezactivează detectarea automată OAuth",
+ "settings.mcp.form.enabled": "Activat",
+ "settings.mcp.form.timeout": "Limită de timp (ms)",
+ "settings.mcp.form.save": "Salvează",
+ "settings.mcp.form.cancel": "Anulează",
+ "settings.mcp.form.error.name": "Introdu un nume.",
+ "settings.mcp.form.error.command": "Introdu o comandă.",
+ "settings.mcp.form.error.url": "Introdu un URL.",
+ "settings.mcp.form.error.callbackPort": "Portul de callback trebuie să fie între 1 și 65535.",
+ "settings.mcp.form.error.timeout": "Limita de timp trebuie să fie un număr întreg pozitiv.",
+ "settings.mcp.errors.invalid": "Corectează câmpurile evidențiate.",
+ "settings.mcp.errors.duplicate": "Există deja un server cu acest nume.",
+ "settings.mcp.errors.noConfig": "Nu se poate citi configurația pentru {{name}} — poate fi definită în afara proiectului.",
+ "settings.mcp.edit.warn": "Salvarea reconectează acest server.",
+ "settings.plugins.search.placeholder": "Caută pluginuri…",
+ "settings.plugins.detail.install": "Instalează…",
+ "settings.plugins.detail.copy": "Copiază fragmentul de configurare",
+ "settings.plugins.detail.copied": "Copiat",
+ "settings.plugins.detail.notOnNpm": "Negăsit pe npm — adaugă manual în opencode.json",
+ "settings.plugins.install.title": "Instalează pluginul",
+ "settings.plugins.install.description": "Unde se adaugă {{name}}?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "Acest proiect",
+ "settings.plugins.install.cancel": "Anulează",
+ "settings.plugins.install.success": "{{name}} a fost instalat. Repornește OpenCode pentru încărcare.",
+ "settings.plugins.installed.empty": "Nu există pluginuri instalate.",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "Proiect",
+ "settings.plugins.installed.disable": "Dezactivează",
+ "settings.plugins.installed.enable": "Activează",
+ "settings.plugins.installed.uninstall": "Dezinstalează",
+ "settings.plugins.installed.uninstallBody": "Dezinstalați {{name}} din {{scope}}? Va fi eliminat din fișierul de configurare.",
+ "settings.plugins.installed.recentlyRemoved": "Eliminate recent",
+ "settings.plugins.installed.openConfig": "Deschide configurația",
+ "settings.plugins.errors.parseFailed": "Nu se poate citi {{path}} — repară sau elimină fișierul pentru a gestiona pluginurile acolo.",
+ "settings.plugins.errors.catalog": "Catalogul de pluginuri nu a putut fi reîmprospătat.",
+ "settings.plugins.stale": "Se afișează catalogul din cache (în vârstă de {{age}}).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "Integrare WSL",
"settings.desktop.wsl.description": "Rulează serverul OpenCode în WSL pe Windows.",
@@ -1092,8 +1171,6 @@ export const dict = {
"settings.agents.description": "Setările agenților vor putea fi configurate aici.",
"settings.commands.title": "Comenzi",
"settings.commands.description": "Setările comenzilor vor putea fi configurate aici.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Setările MCP vor putea fi configurate aici.",
"settings.permissions.title": "Permisiuni",
"settings.permissions.description": "Controlează ce unelte poate folosi serverul implicit.",
"settings.permissions.section.tools": "Unelte",
diff --git a/packages/app/src/i18n/ru.ts b/packages/app/src/i18n/ru.ts
index cf4fa8d8f4ca..86d86024a897 100644
--- a/packages/app/src/i18n/ru.ts
+++ b/packages/app/src/i18n/ru.ts
@@ -426,6 +426,8 @@ export const dict = {
"mcp.status.connected": "подключено",
"mcp.status.failed": "ошибка",
"mcp.status.needs_auth": "требуется авторизация",
+ "mcp.status.needs_client_registration": "требуется регистрация клиента",
+ "mcp.status.pending": "подключение…",
"mcp.auth.clickToAuthenticate": "Нажмите, чтобы авторизоваться",
"mcp.status.disabled": "отключено",
@@ -900,6 +902,83 @@ export const dict = {
"settings.section.server": "Сервер",
"settings.tab.general": "Основные",
"settings.tab.shortcuts": "Горячие клавиши",
+ "settings.tab.plugins": "Плагины",
+ "settings.plugins.section.browse": "Обзор",
+ "settings.plugins.section.installed": "Установленные",
+ "settings.plugins.source.all": "Все источники",
+ "settings.plugins.source.ecosystem": "Экосистема",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Добавить сервер",
+ "settings.mcp.type.local": "Локальный",
+ "settings.mcp.type.remote": "Удалённый",
+ "settings.mcp.empty": "Серверы MCP не настроены.",
+ "settings.mcp.deleted": "{{name}} удалён.",
+ "settings.mcp.errors.refresh": "Не удалось загрузить серверы MCP.",
+ "settings.mcp.status.pending": "подключение…",
+ "settings.mcp.action.connect": "Подключить",
+ "settings.mcp.action.disconnect": "Отключить",
+ "settings.mcp.action.authenticate": "Аутентифицировать",
+ "settings.mcp.action.edit": "Изменить",
+ "settings.mcp.action.delete": "Удалить",
+ "settings.mcp.delete.title": "Удалить сервер MCP",
+ "settings.mcp.delete.body": "Удалить {{name}}? Это действие нельзя отменить.",
+ "settings.mcp.form.title.add": "Добавить сервер MCP",
+ "settings.mcp.form.title.edit": "Изменить сервер MCP",
+ "settings.mcp.form.subtitle": "Настройте параметры подключения.",
+ "settings.mcp.form.name": "Имя",
+ "settings.mcp.form.command": "Команда",
+ "settings.mcp.form.command.hint": "напр. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Рабочий каталог",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Переменные окружения",
+ "settings.mcp.form.headers": "Заголовки",
+ "settings.mcp.form.addRow": "Добавить строку",
+ "settings.mcp.form.removeRow": "Удалить",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID клиента",
+ "settings.mcp.form.oauth.clientSecret": "Секрет клиента",
+ "settings.mcp.form.oauth.clientSecret.keep": "Оставьте пустым, чтобы пропустить — может потребоваться повторная аутентификация",
+ "settings.mcp.form.oauth.scope": "Область",
+ "settings.mcp.form.oauth.callbackPort": "Порт обратного вызова",
+ "settings.mcp.form.oauth.disableAutodetect": "Отключить автоопределение OAuth",
+ "settings.mcp.form.enabled": "Включён",
+ "settings.mcp.form.timeout": "Таймаут (мс)",
+ "settings.mcp.form.save": "Сохранить",
+ "settings.mcp.form.cancel": "Отмена",
+ "settings.mcp.form.error.name": "Введите имя.",
+ "settings.mcp.form.error.command": "Введите команду.",
+ "settings.mcp.form.error.url": "Введите URL.",
+ "settings.mcp.form.error.callbackPort": "Порт обратного вызова должен быть от 1 до 65535.",
+ "settings.mcp.form.error.timeout": "Таймаут должен быть положительным целым числом.",
+ "settings.mcp.errors.invalid": "Исправьте выделенные поля.",
+ "settings.mcp.errors.duplicate": "Сервер с таким именем уже существует.",
+ "settings.mcp.errors.noConfig": "Не удаётся прочитать конфигурацию {{name}} — возможно, она определена вне проекта.",
+ "settings.mcp.edit.warn": "Сохранение переподключает сервер.",
+ "settings.plugins.search.placeholder": "Поиск плагинов…",
+ "settings.plugins.detail.install": "Установить…",
+ "settings.plugins.detail.copy": "Скопировать фрагмент конфигурации",
+ "settings.plugins.detail.copied": "Скопировано",
+ "settings.plugins.detail.notOnNpm": "Не найден на npm — добавьте вручную в opencode.json",
+ "settings.plugins.install.title": "Установить плагин",
+ "settings.plugins.install.description": "Куда добавить {{name}}?",
+ "settings.plugins.install.global": "Глобально (~/.config/opencode)",
+ "settings.plugins.install.project": "Этот проект",
+ "settings.plugins.install.cancel": "Отмена",
+ "settings.plugins.install.success": "{{name}} установлен. Перезапустите OpenCode, чтобы загрузить его.",
+ "settings.plugins.installed.empty": "Плагины не установлены.",
+ "settings.plugins.installed.provenance.global": "Глобально",
+ "settings.plugins.installed.provenance.project": "Проект",
+ "settings.plugins.installed.disable": "Отключить",
+ "settings.plugins.installed.enable": "Включить",
+ "settings.plugins.installed.uninstall": "Удалить",
+ "settings.plugins.installed.uninstallBody": "Удалить {{name}} из {{scope}}? Запись будет удалена из файла конфигурации.",
+ "settings.plugins.installed.recentlyRemoved": "Недавно удалённые",
+ "settings.plugins.installed.openConfig": "Открыть конфигурацию",
+ "settings.plugins.errors.parseFailed": "Не удалось прочитать {{path}} — исправьте или удалите файл, чтобы управлять плагинами.",
+ "settings.plugins.errors.catalog": "Не удалось обновить каталог плагинов.",
+ "settings.plugins.stale": "Показан кэшированный каталог ({{age}}).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "Интеграция с WSL",
"settings.desktop.wsl.description": "Запускать сервер OpenCode внутри WSL на Windows.",
@@ -1086,9 +1165,6 @@ export const dict = {
"settings.agents.description": "Настройки агентов будут доступны здесь.",
"settings.commands.title": "Команды",
"settings.commands.description": "Настройки команд будут доступны здесь.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Настройки MCP будут доступны здесь.",
-
"settings.permissions.title": "Разрешения",
"settings.permissions.description": "Укажите, какие инструменты сервер может использовать по умолчанию.",
"settings.permissions.section.tools": "Инструменты",
diff --git a/packages/app/src/i18n/si.ts b/packages/app/src/i18n/si.ts
index 00ca188b1581..0a13315800c6 100644
--- a/packages/app/src/i18n/si.ts
+++ b/packages/app/src/i18n/si.ts
@@ -396,6 +396,8 @@ export const dict: Record = {
"mcp.status.connected": "සම්බන්ධයි",
"mcp.status.failed": "අසාර්ථක විය",
"mcp.status.needs_auth": "auth අවශ්යයි",
+ "mcp.status.needs_client_registration": "සේවාලාභී ලියාපදිංචිය අවශ්යයි",
+ "mcp.status.pending": "සම්බන්ධ වෙමින්…",
"mcp.status.disabled": "ආබාධිතයි",
"mcp.auth.clickToAuthenticate": "සත්යාපනය කිරීමට ක්ලික් කරන්න",
"dialog.fork.empty": "ෆෝක් කිරීමට පණිවිඩ නැත",
@@ -909,6 +911,83 @@ export const dict: Record = {
"settings.section.server": "සේවාදායකය",
"settings.tab.general": "ජෙනරාල්",
"settings.tab.shortcuts": "කෙටිමං",
+ "settings.tab.plugins": "ප්ලගින",
+ "settings.plugins.section.browse": "පිරික්සන්න",
+ "settings.plugins.section.installed": "ස්ථාපිතයි",
+ "settings.plugins.source.all": "සියලු මූලාශ්ර",
+ "settings.plugins.source.ecosystem": "පරිසර පද්ධතිය",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "සේවාදායකය එකතු කරන්න",
+ "settings.mcp.type.local": "ස්ථානීය",
+ "settings.mcp.type.remote": "දුරස්ථ",
+ "settings.mcp.empty": "වින්යාස කර ඇති MCP සේවාදායක නැත.",
+ "settings.mcp.deleted": "{{name}} මකා දන්වා ඇත.",
+ "settings.mcp.errors.refresh": "MCP සේවාදායක පූරණය කළ නොහැක.",
+ "settings.mcp.status.pending": "සම්බන්ධ වෙමින්…",
+ "settings.mcp.action.connect": "සම්බන්ධ කරන්න",
+ "settings.mcp.action.disconnect": "විසන්ධි කරන්න",
+ "settings.mcp.action.authenticate": "සත්යාපනය කරන්න",
+ "settings.mcp.action.edit": "සංස්කරණය",
+ "settings.mcp.action.delete": "මකන්න",
+ "settings.mcp.delete.title": "MCP සේවාදායකය මකන්න",
+ "settings.mcp.delete.body": "{{name}} ඉවත් කරන්නද? මෙය අවලංගු කළ නොහැක.",
+ "settings.mcp.form.title.add": "MCP සේවාදායකය එකතු කරන්න",
+ "settings.mcp.form.title.edit": "MCP සේවාදායකය සංස්කරණය",
+ "settings.mcp.form.subtitle": "සම්බන්ධතා සැකසුම් වින්යාසගත කරන්න.",
+ "settings.mcp.form.name": "නම",
+ "settings.mcp.form.command": "විධානය",
+ "settings.mcp.form.command.hint": "උදා. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "වැඩ නාමාවලිය",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "පරිසර විචල්ය",
+ "settings.mcp.form.headers": "ශීර්ෂ",
+ "settings.mcp.form.addRow": "පේළිය එකතු කරන්න",
+ "settings.mcp.form.removeRow": "ඉවත් කරන්න",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "සේවාලාභී ID",
+ "settings.mcp.form.oauth.clientSecret": "සේවාලාභී රහස",
+ "settings.mcp.form.oauth.clientSecret.keep": "මගහැරීමට හිස්ව තබන්න — නැවත සත්යාපනය අවශ්ය විය හැක",
+ "settings.mcp.form.oauth.scope": "විෂය පථය",
+ "settings.mcp.form.oauth.callbackPort": "පසුබල වරාය",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth ස්වයංක්රීය අනාවරණය අක්රීය",
+ "settings.mcp.form.enabled": "සක්රීය",
+ "settings.mcp.form.timeout": "වේලා සීමාව (ms)",
+ "settings.mcp.form.save": "සුරකින්න",
+ "settings.mcp.form.cancel": "අවලංගු",
+ "settings.mcp.form.error.name": "නමක් ඇතුළත් කරන්න.",
+ "settings.mcp.form.error.command": "විධානයක් ඇතුළත් කරන්න.",
+ "settings.mcp.form.error.url": "URL එකක් ඇතුළත් කරන්න.",
+ "settings.mcp.form.error.callbackPort": "පසුබල වරාය 1-65535 අතර විය යුතුය.",
+ "settings.mcp.form.error.timeout": "වේලා සීමාව ධන නිඛිල සංඛ්යාවක් විය යුතුය.",
+ "settings.mcp.errors.invalid": "උද්දීපිත ක්ෂේත්ර සංශෝධනය.",
+ "settings.mcp.errors.duplicate": "මෙම නමින් සේවාදායකයෙක් දැනටමත් ඇත.",
+ "settings.mcp.errors.noConfig": "{{name}} හි වින්යාසය කියවිය නොහැක — ව්යාපෘතියෙන් පිටත අර්ථ දක්වා ඇති විය හැක.",
+ "settings.mcp.edit.warn": "සුරැකීම මෙම සේවාදායකය නැවත සම්බන්ධ කරයි.",
+ "settings.plugins.search.placeholder": "ප්ලගින සොයන්න…",
+ "settings.plugins.detail.install": "ස්ථාපනය කරන්න…",
+ "settings.plugins.detail.copy": "වින්යාස කැබලිය පිටපත් කරන්න",
+ "settings.plugins.detail.copied": "පිටපත් විය",
+ "settings.plugins.detail.notOnNpm": "npm හි හමු නොවීයි — opencode.json වෙත අතින් එකතු කරන්න",
+ "settings.plugins.install.title": "ප්ලගිනය ස්ථාපනය කරන්න",
+ "settings.plugins.install.description": "{{name}} කොහෙද එකතු විය යුත්තේ?",
+ "settings.plugins.install.global": "ගෝලීය (~/.config/opencode)",
+ "settings.plugins.install.project": "මෙම ව්යාපෘතිය",
+ "settings.plugins.install.cancel": "අවලංගු කරන්න",
+ "settings.plugins.install.success": "{{name}} ස්ථාපනය විය. පූරණයට OpenCode නැවත ආරම්භ කරන්න.",
+ "settings.plugins.installed.empty": "ස්ථාපිත ප්ලගින නැත.",
+ "settings.plugins.installed.provenance.global": "ගෝලීය",
+ "settings.plugins.installed.provenance.project": "ව්යාපෘතිය",
+ "settings.plugins.installed.disable": "අක්රීතිකරන්න",
+ "settings.plugins.installed.enable": "සක්රීතිකරන්න",
+ "settings.plugins.installed.uninstall": "අස්ථාපනය කරන්න",
+ "settings.plugins.installed.uninstallBody": "{{scope}} වෙතින් {{name}} අස්ථාපනය කරන්නද? එය වින්යාස ගොනුවෙන් ඉවත් කරනු ලැබේ.",
+ "settings.plugins.installed.recentlyRemoved": "මෑතකදී ඉවත් කළ",
+ "settings.plugins.installed.openConfig": "වින්යාසය විවෘත කරන්න",
+ "settings.plugins.errors.parseFailed": "{{path}} කියවිය නොහැක — ප්ලගින කළමනාකරණයට ගොනුව හදන්න හෝ ඉවත් කරන්න.",
+ "settings.plugins.errors.catalog": "ප්ලගින නාමාවලිය නැවුම් කළ නොහැක.",
+ "settings.plugins.stale": "නිහිතගත නාමාවලිය පෙන්වමින් ({{age}} පැරණි).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL ඒකාබද්ධ කිරීම",
"settings.desktop.wsl.description": "Windows හි WSL තුළ OpenCode සේවාදායකය ධාවනය කරන්න.",
@@ -1083,8 +1162,6 @@ export const dict: Record = {
"settings.agents.description": "නියෝජිත සැකසුම් මෙහි වින්යාස කළ හැක.",
"settings.commands.title": "විධාන",
"settings.commands.description": "විධාන සැකසුම් මෙහි වින්යාසගත කළ හැක.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP සැකසීම් මෙහි වින්යාස කළ හැක.",
"settings.permissions.title": "අවසර",
"settings.permissions.description": "පෙරනිමියෙන් සේවාදායකයට භාවිතා කළ හැකි මෙවලම් පාලනය කරන්න.",
"settings.permissions.section.tools": "මෙවලම්",
diff --git a/packages/app/src/i18n/sk.ts b/packages/app/src/i18n/sk.ts
index 9992e06cc4af..e09b9205107c 100644
--- a/packages/app/src/i18n/sk.ts
+++ b/packages/app/src/i18n/sk.ts
@@ -396,6 +396,8 @@ export const dict = {
"mcp.status.connected": "pripojené",
"mcp.status.failed": "zlyhalo",
"mcp.status.needs_auth": "vyžaduje overenie",
+ "mcp.status.needs_client_registration": "vyžaduje sa registrácia klienta",
+ "mcp.status.pending": "pripájanie…",
"mcp.status.disabled": "vypnuté",
"mcp.auth.clickToAuthenticate": "Kliknite na overenie",
"dialog.fork.empty": "Žiadne správy na vytvorenie vetvy",
@@ -916,6 +918,83 @@ export const dict = {
"settings.section.server": "Server",
"settings.tab.general": "Všeobecné",
"settings.tab.shortcuts": "Klávesové skratky",
+ "settings.tab.plugins": "Pluginy",
+ "settings.plugins.section.browse": "Prehľadávať",
+ "settings.plugins.section.installed": "Nainštalované",
+ "settings.plugins.source.all": "Všetky zdroje",
+ "settings.plugins.source.ecosystem": "Ekosystém",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Pridať server",
+ "settings.mcp.type.local": "Lokálny",
+ "settings.mcp.type.remote": "Vzdialený",
+ "settings.mcp.empty": "Nie sú nakonfigurované žiadne servery MCP.",
+ "settings.mcp.deleted": "{{name}} bol odstránený.",
+ "settings.mcp.errors.refresh": "Nepodarilo sa načítať servery MCP.",
+ "settings.mcp.status.pending": "pripájanie…",
+ "settings.mcp.action.connect": "Pripojiť",
+ "settings.mcp.action.disconnect": "Odpojiť",
+ "settings.mcp.action.authenticate": "Autentifikovať",
+ "settings.mcp.action.edit": "Upraviť",
+ "settings.mcp.action.delete": "Odstrániť",
+ "settings.mcp.delete.title": "Odstrániť server MCP",
+ "settings.mcp.delete.body": "Odobrať {{name}}? Túto akciu nemožno vrátiť.",
+ "settings.mcp.form.title.add": "Pridať server MCP",
+ "settings.mcp.form.title.edit": "Upraviť server MCP",
+ "settings.mcp.form.subtitle": "Nastavte parametre pripojenia.",
+ "settings.mcp.form.name": "Názov",
+ "settings.mcp.form.command": "Príkaz",
+ "settings.mcp.form.command.hint": "napr. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Pracovný adresár",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Premenné prostredia",
+ "settings.mcp.form.headers": "Hlavičky",
+ "settings.mcp.form.addRow": "Pridať riadok",
+ "settings.mcp.form.removeRow": "Odstrániť",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID klienta",
+ "settings.mcp.form.oauth.clientSecret": "Tajomstvo klienta",
+ "settings.mcp.form.oauth.clientSecret.keep": "Ponechajte prázdne na vynechanie — môže byť vyžadovaná opätovná autentifikácia",
+ "settings.mcp.form.oauth.scope": "Rozsah",
+ "settings.mcp.form.oauth.callbackPort": "Port spätného volania",
+ "settings.mcp.form.oauth.disableAutodetect": "Zakázať automatickú detekciu OAuth",
+ "settings.mcp.form.enabled": "Povolené",
+ "settings.mcp.form.timeout": "Časový limit (ms)",
+ "settings.mcp.form.save": "Uložiť",
+ "settings.mcp.form.cancel": "Zrušiť",
+ "settings.mcp.form.error.name": "Zadajte názov.",
+ "settings.mcp.form.error.command": "Zadajte príkaz.",
+ "settings.mcp.form.error.url": "Zadajte URL.",
+ "settings.mcp.form.error.callbackPort": "Port spätného volania musí byť 1–65535.",
+ "settings.mcp.form.error.timeout": "Časový limit musí byť kladné celé číslo.",
+ "settings.mcp.errors.invalid": "Opravte zvýraznené polia.",
+ "settings.mcp.errors.duplicate": "Server s týmto názvom už existuje.",
+ "settings.mcp.errors.noConfig": "Konfiguráciu pre {{name}} nemožno prečítať — môže byť definovaná mimo projektu.",
+ "settings.mcp.edit.warn": "Uloženie znova pripojí tento server.",
+ "settings.plugins.search.placeholder": "Hľadať pluginy…",
+ "settings.plugins.detail.install": "Inštalovať…",
+ "settings.plugins.detail.copy": "Skopíruj úryvok konfigurácie",
+ "settings.plugins.detail.copied": "Skopírované",
+ "settings.plugins.detail.notOnNpm": "Nenájdené na npm — pridajte ručne do opencode.json",
+ "settings.plugins.install.title": "Inštalovať plugin",
+ "settings.plugins.install.description": "Kam pridať {{name}}?",
+ "settings.plugins.install.global": "Globálne (~/.config/opencode)",
+ "settings.plugins.install.project": "Tento projekt",
+ "settings.plugins.install.cancel": "Zrušiť",
+ "settings.plugins.install.success": "{{name}} nainštalovaný. Načítanie vyžaduje reštart OpenCode.",
+ "settings.plugins.installed.empty": "Žiadne nainštalované pluginy.",
+ "settings.plugins.installed.provenance.global": "Globálne",
+ "settings.plugins.installed.provenance.project": "Projekt",
+ "settings.plugins.installed.disable": "Zakázať",
+ "settings.plugins.installed.enable": "Povoliť",
+ "settings.plugins.installed.uninstall": "Odinštalovať",
+ "settings.plugins.installed.uninstallBody": "Odinštalovať {{name}} z {{scope}}? Bude odstránený z konfiguračného súboru.",
+ "settings.plugins.installed.recentlyRemoved": "Nedávno odstránené",
+ "settings.plugins.installed.openConfig": "Otvoriť konfiguráciu",
+ "settings.plugins.errors.parseFailed": "Nemožno čítať {{path}} — spravovanie pluginov vyžaduje opravu alebo odstránenie súboru.",
+ "settings.plugins.errors.catalog": "Nemožno obnoviť katalóg pluginov.",
+ "settings.plugins.stale": "Zobrazuje sa katalóg z medzipamäte ({{age}} starý).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "Integrácia s WSL",
"settings.desktop.wsl.description": "Spustiť server OpenCode vo WSL na Windows.",
@@ -1089,8 +1168,6 @@ export const dict = {
"settings.agents.description": "Nastavenia agentov budú konfigurovateľné tu.",
"settings.commands.title": "Príkazy",
"settings.commands.description": "Nastavenia príkazov budú konfigurovateľné tu.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Nastavenia MCP budú konfigurovateľné tu.",
"settings.permissions.title": "Oprávnenia",
"settings.permissions.description": "Spravujte, aké nástroje môže server používať predvolene.",
"settings.permissions.section.tools": "Nástroje",
diff --git a/packages/app/src/i18n/sl.ts b/packages/app/src/i18n/sl.ts
index 3c23fcd7f708..185ed995c000 100644
--- a/packages/app/src/i18n/sl.ts
+++ b/packages/app/src/i18n/sl.ts
@@ -396,6 +396,8 @@ export const dict = {
"mcp.status.connected": "povezan",
"mcp.status.failed": "ni uspelo",
"mcp.status.needs_auth": "potrebuje avt",
+ "mcp.status.needs_client_registration": "potrebna registracija odjemalca",
+ "mcp.status.pending": "povezovanje…",
"mcp.status.disabled": "onemogočen",
"mcp.auth.clickToAuthenticate": "Kliknite za preverjanje pristnosti",
"dialog.fork.empty": "Ni sporočil za odcepitev",
@@ -917,6 +919,83 @@ export const dict = {
"settings.section.server": "Strežnik",
"settings.tab.general": "Splošno",
"settings.tab.shortcuts": "Bližnjice",
+ "settings.tab.plugins": "Vtičniki",
+ "settings.plugins.section.browse": "Brskaj",
+ "settings.plugins.section.installed": "Nameščeni",
+ "settings.plugins.source.all": "Vsi viri",
+ "settings.plugins.source.ecosystem": "Ekosistem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Dodaj strežnik",
+ "settings.mcp.type.local": "Lokalni",
+ "settings.mcp.type.remote": "Oddaljeni",
+ "settings.mcp.empty": "Ni konfiguriranih MCP strežnikov.",
+ "settings.mcp.deleted": "{{name}} je izbrisan.",
+ "settings.mcp.errors.refresh": "MCP strežnikov ni bilo mogoče naložiti.",
+ "settings.mcp.status.pending": "povezovanje…",
+ "settings.mcp.action.connect": "Poveži",
+ "settings.mcp.action.disconnect": "Odklopi",
+ "settings.mcp.action.authenticate": "Overi",
+ "settings.mcp.action.edit": "Uredi",
+ "settings.mcp.action.delete": "Izbriši",
+ "settings.mcp.delete.title": "Izbriši MCP strežnik",
+ "settings.mcp.delete.body": "Odstranim {{name}}? Tega ni mogoče razveljaviti.",
+ "settings.mcp.form.title.add": "Dodaj strežnik MCP",
+ "settings.mcp.form.title.edit": "Uredi strežnik MCP",
+ "settings.mcp.form.subtitle": "Konfigurirajte nastavitve povezave.",
+ "settings.mcp.form.name": "Ime",
+ "settings.mcp.form.command": "Ukaz",
+ "settings.mcp.form.command.hint": "npr. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Delovni imenik",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Spremenljivke okolja",
+ "settings.mcp.form.headers": "Glave",
+ "settings.mcp.form.addRow": "Dodaj vrstico",
+ "settings.mcp.form.removeRow": "Odstrani",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID odjemalca",
+ "settings.mcp.form.oauth.clientSecret": "Skrivnost odjemalca",
+ "settings.mcp.form.oauth.clientSecret.keep": "Pustite prazno za izpust — morda bo potrebna vnovična overitev",
+ "settings.mcp.form.oauth.scope": "Obseg",
+ "settings.mcp.form.oauth.callbackPort": "Vratna vrata za povratni klic",
+ "settings.mcp.form.oauth.disableAutodetect": "Onemogoči samodejno zaznavanje OAuth",
+ "settings.mcp.form.enabled": "Omogočeno",
+ "settings.mcp.form.timeout": "Časovna omejitev (ms)",
+ "settings.mcp.form.save": "Shrani",
+ "settings.mcp.form.cancel": "Prekliči",
+ "settings.mcp.form.error.name": "Vnesite ime.",
+ "settings.mcp.form.error.command": "Vnesite ukaz.",
+ "settings.mcp.form.error.url": "Vnesite URL.",
+ "settings.mcp.form.error.callbackPort": "Vrata za povratni klic morajo biti med 1 in 65535.",
+ "settings.mcp.form.error.timeout": "Časovna omejitev mora biti pozitivno celo število.",
+ "settings.mcp.errors.invalid": "Popravite označena polja.",
+ "settings.mcp.errors.duplicate": "Strežnik s tem imenom že obstaja.",
+ "settings.mcp.errors.noConfig": "Konfiguracije za {{name}} ni mogoče prebrati — morda je definirana izven projekta.",
+ "settings.mcp.edit.warn": "Shranjevanje strežnik znova poveže.",
+ "settings.plugins.search.placeholder": "Iskanje vtičnikov…",
+ "settings.plugins.detail.install": "Namesti…",
+ "settings.plugins.detail.copy": "Kopiraj del konfiguracije",
+ "settings.plugins.detail.copied": "Kopirano",
+ "settings.plugins.detail.notOnNpm": "Ni najdeno na npm — dodajte ročno v opencode.json",
+ "settings.plugins.install.title": "Namesti vtičnik",
+ "settings.plugins.install.description": "Kam naj se doda {{name}}?",
+ "settings.plugins.install.global": "Globalno (~/.config/opencode)",
+ "settings.plugins.install.project": "Ta projekt",
+ "settings.plugins.install.cancel": "Prekliči",
+ "settings.plugins.install.success": "{{name}} je nameščen. Za nalaganje znova zaženite OpenCode.",
+ "settings.plugins.installed.empty": "Ni nameščenih vtičnikov.",
+ "settings.plugins.installed.provenance.global": "Globalno",
+ "settings.plugins.installed.provenance.project": "Projekt",
+ "settings.plugins.installed.disable": "Onemogoči",
+ "settings.plugins.installed.enable": "Omogoči",
+ "settings.plugins.installed.uninstall": "Odstrani",
+ "settings.plugins.installed.uninstallBody": "Odstranim {{name}} iz {{scope}}? Vpis bo odstranjen iz konfiguracijske datoteke.",
+ "settings.plugins.installed.recentlyRemoved": "Nedavno odstranjeno",
+ "settings.plugins.installed.openConfig": "Odpri konfiguracijo",
+ "settings.plugins.errors.parseFailed": "Ni mogoče brati {{path}} — za upravljanje vtičnikov popravite ali odstranite datoteko.",
+ "settings.plugins.errors.catalog": "Ni mogoče osvežiti kataloga vtičnikov.",
+ "settings.plugins.stale": "Prikazan je predpomnjen katalog ({{age}} star).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "Integracija WSL",
"settings.desktop.wsl.description": "Zaženite strežnik OpenCode znotraj WSL na Windows.",
@@ -1093,8 +1172,6 @@ export const dict = {
"settings.agents.description": "Tukaj je mogoče konfigurirati nastavitve agenta.",
"settings.commands.title": "Ukazi",
"settings.commands.description": "Tukaj je mogoče konfigurirati nastavitve ukaza.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Tukaj je mogoče konfigurirati nastavitve MCP.",
"settings.permissions.title": "Dovoljenja",
"settings.permissions.description": "Nadzorujte, katera orodja lahko strežnik uporablja privzeto.",
"settings.permissions.section.tools": "Orodja",
diff --git a/packages/app/src/i18n/sq.ts b/packages/app/src/i18n/sq.ts
index ca94793ab0e6..eeda0605842e 100644
--- a/packages/app/src/i18n/sq.ts
+++ b/packages/app/src/i18n/sq.ts
@@ -398,6 +398,8 @@ export const dict = {
"mcp.status.connected": "lidhur",
"mcp.status.failed": "dështoi",
"mcp.status.needs_auth": "nevojiten auth",
+ "mcp.status.needs_client_registration": "kërkon regjistrim klienti",
+ "mcp.status.pending": "po lidhet…",
"mcp.status.disabled": "me aftësi të kufizuara",
"mcp.auth.clickToAuthenticate": "Kliko për të vërtetuar",
"dialog.fork.empty": "Nuk ka mesazhe për të marrë nga",
@@ -916,6 +918,83 @@ export const dict = {
"settings.section.server": "Serveri",
"settings.tab.general": "Gjeneral",
"settings.tab.shortcuts": "Shkurtoret",
+ "settings.tab.plugins": "Shtojca",
+ "settings.plugins.section.browse": "Shfeto",
+ "settings.plugins.section.installed": "Të instaluara",
+ "settings.plugins.source.all": "Të gjitha burimet",
+ "settings.plugins.source.ecosystem": "Ekosistemi",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Shto server",
+ "settings.mcp.type.local": "Lokal",
+ "settings.mcp.type.remote": "Në largësi",
+ "settings.mcp.empty": "Nuk ka servera MCP të konfiguruar.",
+ "settings.mcp.deleted": "{{name}} u fshi.",
+ "settings.mcp.errors.refresh": "Serverat MCP nuk u ngarkuan dot.",
+ "settings.mcp.status.pending": "po lidhet…",
+ "settings.mcp.action.connect": "Lidh",
+ "settings.mcp.action.disconnect": "Shkëput",
+ "settings.mcp.action.authenticate": "Vërteto",
+ "settings.mcp.action.edit": "Përpuno",
+ "settings.mcp.action.delete": "Fshi",
+ "settings.mcp.delete.title": "Fshi serverin MCP",
+ "settings.mcp.delete.body": "Të hiqet {{name}}? Kjo nuk mund të zhdërrngohet.",
+ "settings.mcp.form.title.add": "Shto server MCP",
+ "settings.mcp.form.title.edit": "Redakto serverin MCP",
+ "settings.mcp.form.subtitle": "Konfiguro parametrat e lidhjes.",
+ "settings.mcp.form.name": "Emri",
+ "settings.mcp.form.command": "Komanda",
+ "settings.mcp.form.command.hint": "p.sh. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Direktori i punës",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Variablat e mjedisit",
+ "settings.mcp.form.headers": "Titujt",
+ "settings.mcp.form.addRow": "Shto rresht",
+ "settings.mcp.form.removeRow": "Hiq",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID e klientit",
+ "settings.mcp.form.oauth.clientSecret": "Sekreti i klientit",
+ "settings.mcp.form.oauth.clientSecret.keep": "Lëre bosh për ta anashkaluar — mund të nevojitet riautentifikimi",
+ "settings.mcp.form.oauth.scope": "Qëllimi",
+ "settings.mcp.form.oauth.callbackPort": "Porta e rikthimit",
+ "settings.mcp.form.oauth.disableAutodetect": "Çaktivizo zbulimin automatik të OAuth-it",
+ "settings.mcp.form.enabled": "Aktivizuar",
+ "settings.mcp.form.timeout": "Koha e pritjes (ms)",
+ "settings.mcp.form.save": "Ruaj",
+ "settings.mcp.form.cancel": "Anulo",
+ "settings.mcp.form.error.name": "Vendos një emër.",
+ "settings.mcp.form.error.command": "Vendos një komandë.",
+ "settings.mcp.form.error.url": "Vendos një URL.",
+ "settings.mcp.form.error.callbackPort": "Porta e rikthimit duhet të jetë 1–65535.",
+ "settings.mcp.form.error.timeout": "Koha e pritjes duhet të jetë numër i plotë pozitiv.",
+ "settings.mcp.errors.invalid": "Rregullo fushat e theksuara.",
+ "settings.mcp.errors.duplicate": "Ekziston tashmë një server me këtë emër.",
+ "settings.mcp.errors.noConfig": "Konfigurimi për {{name}} nuk mund të lexohet — mund të jetë përcaktuar jashtë projektit.",
+ "settings.mcp.edit.warn": "Ruajtja e rikonjekton këtë server.",
+ "settings.plugins.search.placeholder": "Kërko shtojca…",
+ "settings.plugins.detail.install": "Instalo…",
+ "settings.plugins.detail.copy": "Kopjo fragmentin e konfigurimit",
+ "settings.plugins.detail.copied": "U kopjua",
+ "settings.plugins.detail.notOnNpm": "Nuk u gjet në npm — shtoje manualisht në opencode.json",
+ "settings.plugins.install.title": "Instalo shtojcën",
+ "settings.plugins.install.description": "Ku të shtohet {{name}}?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "Ky projekt",
+ "settings.plugins.install.cancel": "Anulo",
+ "settings.plugins.install.success": "{{name}} u instalua. Rinisni OpenCode për ta ngarkuar.",
+ "settings.plugins.installed.empty": "Nuk ka shtojca të instaluara.",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "Projekt",
+ "settings.plugins.installed.disable": "Çaktivizo",
+ "settings.plugins.installed.enable": "Aktivizo",
+ "settings.plugins.installed.uninstall": "Çinstalo",
+ "settings.plugins.installed.uninstallBody": "Të çinstalohet {{name}} nga {{scope}}? Hyrja do të hiqet nga skedari i konfigurimit.",
+ "settings.plugins.installed.recentlyRemoved": "Të hequra së fundi",
+ "settings.plugins.installed.openConfig": "Hap konfigurimin",
+ "settings.plugins.errors.parseFailed": "Nuk mund të lexohet {{path}} — rregulloje ose fshije skedarin për të menaxhuar shtojcat aty.",
+ "settings.plugins.errors.catalog": "Katalogu i shtojcave nuk u rifreskua.",
+ "settings.plugins.stale": "Po shfaqet katalogu i ruajtur në cache ({{age}} më parë).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "Integrimi WSL",
"settings.desktop.wsl.description": "Ekzekutoni serverin OpenCode brenda WSL në Windows.",
@@ -1093,8 +1172,6 @@ export const dict = {
"settings.agents.description": "Cilësimet e agjentit do të konfigurohen këtu.",
"settings.commands.title": "Komandat",
"settings.commands.description": "Cilësimet e komandës do të konfigurohen këtu.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Cilësimet MCP do të konfigurohen këtu.",
"settings.permissions.title": "Lejet",
"settings.permissions.description": "Kontrolloni se cilat mjete mund të përdorë serveri si parazgjedhje.",
"settings.permissions.section.tools": "Mjetet",
diff --git a/packages/app/src/i18n/sr.ts b/packages/app/src/i18n/sr.ts
index f059160087d8..b18ca457db7d 100644
--- a/packages/app/src/i18n/sr.ts
+++ b/packages/app/src/i18n/sr.ts
@@ -397,6 +397,8 @@ export const dict = {
"mcp.status.connected": "повезан",
"mcp.status.failed": "није успело",
"mcp.status.needs_auth": "потребан је аутх",
+ "mcp.status.needs_client_registration": "потребна регистрација клијента",
+ "mcp.status.pending": "повезивање…",
"mcp.status.disabled": "онемогућен",
"mcp.auth.clickToAuthenticate": "Кликните да бисте потврдили аутентичност",
"dialog.fork.empty": "Нема порука од којих треба да се рачвате",
@@ -916,6 +918,83 @@ export const dict = {
"settings.section.server": "Сервер",
"settings.tab.general": "Опште",
"settings.tab.shortcuts": "Пречице",
+ "settings.tab.plugins": "Додаци",
+ "settings.plugins.section.browse": "Прегледај",
+ "settings.plugins.section.installed": "Инсталирано",
+ "settings.plugins.source.all": "Сви извори",
+ "settings.plugins.source.ecosystem": "Екосистем",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Додај сервер",
+ "settings.mcp.type.local": "Локални",
+ "settings.mcp.type.remote": "Удаљени",
+ "settings.mcp.empty": "Нема конфигурисаних MCP сервера.",
+ "settings.mcp.deleted": "{{name}} је избрисан.",
+ "settings.mcp.errors.refresh": "Учитавање MCP сервера није успело.",
+ "settings.mcp.status.pending": "повезивање…",
+ "settings.mcp.action.connect": "Повежи",
+ "settings.mcp.action.disconnect": "Прекини везу",
+ "settings.mcp.action.authenticate": "Аутентификуј",
+ "settings.mcp.action.edit": "Измени",
+ "settings.mcp.action.delete": "Избриши",
+ "settings.mcp.delete.title": "Избриши MCP сервер",
+ "settings.mcp.delete.body": "Уклонити {{name}}? Ово је неповратно.",
+ "settings.mcp.form.title.add": "Додај MCP сервер",
+ "settings.mcp.form.title.edit": "Измени MCP сервер",
+ "settings.mcp.form.subtitle": "Подесите параметре везе.",
+ "settings.mcp.form.name": "Назив",
+ "settings.mcp.form.command": "Команда",
+ "settings.mcp.form.command.hint": "нпр. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Радни директоријум",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Променљиве окружења",
+ "settings.mcp.form.headers": "Заглавља",
+ "settings.mcp.form.addRow": "Додај ред",
+ "settings.mcp.form.removeRow": "Уклони",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID клијента",
+ "settings.mcp.form.oauth.clientSecret": "Тајна клијента",
+ "settings.mcp.form.oauth.clientSecret.keep": "Оставите празно за изостављање — може бити потребна поновна аутентификација",
+ "settings.mcp.form.oauth.scope": "Опсег",
+ "settings.mcp.form.oauth.callbackPort": "Порт за повратни позив",
+ "settings.mcp.form.oauth.disableAutodetect": "Онемогући аутоматско откривање OAuth-а",
+ "settings.mcp.form.enabled": "Омогућено",
+ "settings.mcp.form.timeout": "Време чекања (ms)",
+ "settings.mcp.form.save": "Сачувај",
+ "settings.mcp.form.cancel": "Откажи",
+ "settings.mcp.form.error.name": "Унесите назив.",
+ "settings.mcp.form.error.command": "Унесите команду.",
+ "settings.mcp.form.error.url": "Унесите URL.",
+ "settings.mcp.form.error.callbackPort": "Порт за повратни позив мора бити 1–65535.",
+ "settings.mcp.form.error.timeout": "Време чекања мора бити позитиван цео број.",
+ "settings.mcp.errors.invalid": "Исправите означена поља.",
+ "settings.mcp.errors.duplicate": "Сервер са овим називом већ постоји.",
+ "settings.mcp.errors.noConfig": "Конфигурација за {{name}} не може да се прочита — може бити дефинисана изван пројекта.",
+ "settings.mcp.edit.warn": "Чување поново повезује овај сервер.",
+ "settings.plugins.search.placeholder": "Тражи додатке…",
+ "settings.plugins.detail.install": "Инсталирај…",
+ "settings.plugins.detail.copy": "Копирај исечак конфигурације",
+ "settings.plugins.detail.copied": "Копирано",
+ "settings.plugins.detail.notOnNpm": "Није пронађено на npm — додајте ручно у opencode.json",
+ "settings.plugins.install.title": "Инсталирај додатак",
+ "settings.plugins.install.description": "Где додати {{name}}?",
+ "settings.plugins.install.global": "Глобално (~/.config/opencode)",
+ "settings.plugins.install.project": "Овај пројекат",
+ "settings.plugins.install.cancel": "Откажи",
+ "settings.plugins.install.success": "{{name}} је инсталиран. Поново покрените OpenCode да се учита.",
+ "settings.plugins.installed.empty": "Нема инсталираних додатака.",
+ "settings.plugins.installed.provenance.global": "Глобално",
+ "settings.plugins.installed.provenance.project": "Пројекат",
+ "settings.plugins.installed.disable": "Онемогући",
+ "settings.plugins.installed.enable": "Омогући",
+ "settings.plugins.installed.uninstall": "Деинсталирај",
+ "settings.plugins.installed.uninstallBody": "Деинсталирати {{name}} из {{scope}}? Упис ће бити уклоњен из конфигурационе датотеке.",
+ "settings.plugins.installed.recentlyRemoved": "Недавно уклоњено",
+ "settings.plugins.installed.openConfig": "Отвори конфигурацију",
+ "settings.plugins.errors.parseFailed": "Није могуће читати {{path}} — исправите или уклоните датотеку за управљање додацима.",
+ "settings.plugins.errors.catalog": "Није могуће освежити каталог додатака.",
+ "settings.plugins.stale": "Приказује се кеширани каталог ({{age}} стар).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL интеграција",
"settings.desktop.wsl.description": "Покрените OpenCode сервер унутар WSL на Windows.",
@@ -1091,8 +1170,6 @@ export const dict = {
"settings.agents.description": "Овде ће се моћи конфигурисати подешавања агента.",
"settings.commands.title": "команде",
"settings.commands.description": "Овде ће се моћи конфигурисати подешавања команде.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP подешавања ће се моћи конфигурисати овде.",
"settings.permissions.title": "дозволе",
"settings.permissions.description": "Контролишите које алатке сервер може да користи подразумевано.",
"settings.permissions.section.tools": "Алати",
diff --git a/packages/app/src/i18n/sv.ts b/packages/app/src/i18n/sv.ts
index 39b363c6b657..f46d6dd222e1 100644
--- a/packages/app/src/i18n/sv.ts
+++ b/packages/app/src/i18n/sv.ts
@@ -398,6 +398,8 @@ export const dict = {
"mcp.status.connected": "ansluten",
"mcp.status.failed": "misslyckades",
"mcp.status.needs_auth": "behöver autentisering",
+ "mcp.status.needs_client_registration": "klientregistrering krävs",
+ "mcp.status.pending": "ansluter…",
"mcp.status.disabled": "inaktiverad",
"mcp.auth.clickToAuthenticate": "Klicka för att autentisera",
"dialog.fork.empty": "Inga meddelanden att förgrena från",
@@ -918,6 +920,83 @@ export const dict = {
"settings.section.server": "Server",
"settings.tab.general": "Allmänt",
"settings.tab.shortcuts": "Kortkommandon",
+ "settings.tab.plugins": "Plugin",
+ "settings.plugins.section.browse": "Bläddra",
+ "settings.plugins.section.installed": "Installerade",
+ "settings.plugins.source.all": "Alla källor",
+ "settings.plugins.source.ecosystem": "Ekosystem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Lägg till server",
+ "settings.mcp.type.local": "Lokal",
+ "settings.mcp.type.remote": "Fjärr",
+ "settings.mcp.empty": "Inga MCP-servrar konfigurerade.",
+ "settings.mcp.deleted": "{{name}} borttagen.",
+ "settings.mcp.errors.refresh": "Kunde inte läsa in MCP-servrar.",
+ "settings.mcp.status.pending": "ansluter…",
+ "settings.mcp.action.connect": "Anslut",
+ "settings.mcp.action.disconnect": "Koppla från",
+ "settings.mcp.action.authenticate": "Autentisera",
+ "settings.mcp.action.edit": "Redigera",
+ "settings.mcp.action.delete": "Ta bort",
+ "settings.mcp.delete.title": "Ta bort MCP-server",
+ "settings.mcp.delete.body": "Ta bort {{name}}? Detta kan inte ångras.",
+ "settings.mcp.form.title.add": "Lägg till MCP-server",
+ "settings.mcp.form.title.edit": "Redigera MCP-server",
+ "settings.mcp.form.subtitle": "Konfigurera anslutningsinställningarna.",
+ "settings.mcp.form.name": "Namn",
+ "settings.mcp.form.command": "Kommando",
+ "settings.mcp.form.command.hint": "t.ex. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Arbetskatalog",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Miljövariabler",
+ "settings.mcp.form.headers": "Rubriker",
+ "settings.mcp.form.addRow": "Lägg till rad",
+ "settings.mcp.form.removeRow": "Ta bort",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Klient-ID",
+ "settings.mcp.form.oauth.clientSecret": "Klienthemlighet",
+ "settings.mcp.form.oauth.clientSecret.keep": "Lämna tomt för att utelämna — omautentisering kan krävas",
+ "settings.mcp.form.oauth.scope": "Omfattning",
+ "settings.mcp.form.oauth.callbackPort": "Callback-port",
+ "settings.mcp.form.oauth.disableAutodetect": "Inaktivera OAuth-autoidentifiering",
+ "settings.mcp.form.enabled": "Aktiverad",
+ "settings.mcp.form.timeout": "Timeout (ms)",
+ "settings.mcp.form.save": "Spara",
+ "settings.mcp.form.cancel": "Avbryt",
+ "settings.mcp.form.error.name": "Ange ett namn.",
+ "settings.mcp.form.error.command": "Ange ett kommando.",
+ "settings.mcp.form.error.url": "Ange en URL.",
+ "settings.mcp.form.error.callbackPort": "Callback-porten måste vara mellan 1 och 65535.",
+ "settings.mcp.form.error.timeout": "Timeout måste vara ett positivt heltal.",
+ "settings.mcp.errors.invalid": "Åtgärda de markerade fälten.",
+ "settings.mcp.errors.duplicate": "En server med det här namnet finns redan.",
+ "settings.mcp.errors.noConfig": "Kan inte läsa konfigurationen för {{name}} — kan vara definierad utanför projektet.",
+ "settings.mcp.edit.warn": "Spara återansluter servern.",
+ "settings.plugins.search.placeholder": "Sök plugin…",
+ "settings.plugins.detail.install": "Installera…",
+ "settings.plugins.detail.copy": "Kopiera konfigurationsutdrag",
+ "settings.plugins.detail.copied": "Kopierat",
+ "settings.plugins.detail.notOnNpm": "Hittades inte på npm — lägg till manuellt i opencode.json",
+ "settings.plugins.install.title": "Installera plugin",
+ "settings.plugins.install.description": "Var ska {{name}} läggas till?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "Detta projekt",
+ "settings.plugins.install.cancel": "Avbryt",
+ "settings.plugins.install.success": "{{name}} installerat. Starta om OpenCode för att läsa in det.",
+ "settings.plugins.installed.empty": "Inga plugin installerade.",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "Projekt",
+ "settings.plugins.installed.disable": "Inaktivera",
+ "settings.plugins.installed.enable": "Aktivera",
+ "settings.plugins.installed.uninstall": "Avinstallera",
+ "settings.plugins.installed.uninstallBody": "Avinstallera {{name}} från {{scope}}? Den tas bort från konfigurationsfilen.",
+ "settings.plugins.installed.recentlyRemoved": "Nyligen borttagna",
+ "settings.plugins.installed.openConfig": "Öppna konfiguration",
+ "settings.plugins.errors.parseFailed": "Kan inte läsa {{path}} — åtgärda eller ta bort filen för att hantera plugin där.",
+ "settings.plugins.errors.catalog": "Kunde inte uppdatera plugin-katalogen.",
+ "settings.plugins.stale": "Visar cachad katalog ({{age}} gammal).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL-integration",
"settings.desktop.wsl.description": "Kör OpenCode-servern inuti WSL på Windows.",
@@ -1091,8 +1170,6 @@ export const dict = {
"settings.agents.description": "Agentinställningar kommer att kunna konfigureras här.",
"settings.commands.title": "Kommandon",
"settings.commands.description": "Kommandoinställningarna kommer att kunna konfigureras här.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP-inställningar kommer att kunna konfigureras här.",
"settings.permissions.title": "Behörigheter",
"settings.permissions.description": "Kontrollera vilka verktyg servern kan använda som standard.",
"settings.permissions.section.tools": "Verktyg",
diff --git a/packages/app/src/i18n/tg.ts b/packages/app/src/i18n/tg.ts
index ffa08409f684..a42932f097d9 100644
--- a/packages/app/src/i18n/tg.ts
+++ b/packages/app/src/i18n/tg.ts
@@ -399,6 +399,8 @@ export const dict = {
"mcp.status.connected": "пайваст",
"mcp.status.failed": "ноком шуд",
"mcp.status.needs_auth": "аутент лозим аст",
+ "mcp.status.needs_client_registration": "барқарорсозии муштарӣ лозим аст",
+ "mcp.status.pending": "пайвастан…",
"mcp.status.disabled": "маъюб",
"mcp.auth.clickToAuthenticate": "Барои тасдиқ кардан клик кунед",
"dialog.fork.empty": "Паёме барои сохтани шоха нест",
@@ -916,6 +918,83 @@ export const dict = {
"settings.section.server": "Сервер",
"settings.tab.general": "Генерал",
"settings.tab.shortcuts": "Миёнабурҳо",
+ "settings.tab.plugins": "Плагинҳо",
+ "settings.plugins.section.browse": "Аз назар гузаронидан",
+ "settings.plugins.section.installed": "Насбшуда",
+ "settings.plugins.source.all": "Ҳамаи манбаъҳо",
+ "settings.plugins.source.ecosystem": "Экосистема",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Илова кардани сервер",
+ "settings.mcp.type.local": "Маҳаллӣ",
+ "settings.mcp.type.remote": "Дурдаст",
+ "settings.mcp.empty": "Ягон сервери MCP танзим нашудааст.",
+ "settings.mcp.deleted": "{{name}} нест карда шуд.",
+ "settings.mcp.errors.refresh": "Боркунӣ серверҳои MCP имконнопазир аст.",
+ "settings.mcp.status.pending": "пайвастан…",
+ "settings.mcp.action.connect": "Пайваст",
+ "settings.mcp.action.disconnect": "Ҷуда кардан",
+ "settings.mcp.action.authenticate": "Санҷиши ҳувият",
+ "settings.mcp.action.edit": "Тағйир додан",
+ "settings.mcp.action.delete": "Нест кардан",
+ "settings.mcp.delete.title": "Нест кардани сервери MCP",
+ "settings.mcp.delete.body": "{{name}}-ро тоза кардан? Ин амал баозгаштнопазир аст.",
+ "settings.mcp.form.title.add": "Илова кардани сервери MCP",
+ "settings.mcp.form.title.edit": "Тағйири сервери MCP",
+ "settings.mcp.form.subtitle": "Танзимоти пайвастшавиро танзим кунед.",
+ "settings.mcp.form.name": "Ном",
+ "settings.mcp.form.command": "Фармон",
+ "settings.mcp.form.command.hint": "мс. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Феҳристи корӣ",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Тағйирёбандаҳои муҳит",
+ "settings.mcp.form.headers": "Сарлавҳаҳо",
+ "settings.mcp.form.addRow": "Илова кардани сатр",
+ "settings.mcp.form.removeRow": "Нест кардан",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID муштарӣ",
+ "settings.mcp.form.oauth.clientSecret": "Сирри муштарӣ",
+ "settings.mcp.form.oauth.clientSecret.keep": "Роҳанӣ кардан барои холӣ гузоштан — аз нав аутентфикатсия лозим шуда метавонад",
+ "settings.mcp.form.oauth.scope": "Ҳаҷм",
+ "settings.mcp.form.oauth.callbackPort": "Порти баргардонидан",
+ "settings.mcp.form.oauth.disableAutodetect": "Хомӯш кардани муайяни худкори OAuth",
+ "settings.mcp.form.enabled": "Фаъол",
+ "settings.mcp.form.timeout": "Вақт (ms)",
+ "settings.mcp.form.save": "Нигоҳ доштан",
+ "settings.mcp.form.cancel": "Бекор кардан",
+ "settings.mcp.form.error.name": "Ном ворид кунед.",
+ "settings.mcp.form.error.command": "Фармон ворид кунед.",
+ "settings.mcp.form.error.url": "URL ворид кунед.",
+ "settings.mcp.form.error.callbackPort": "Порти баргардонидан бояд 1–65535 бошад.",
+ "settings.mcp.form.error.timeout": "Вақт бояд адади томи мусбат бошад.",
+ "settings.mcp.errors.invalid": "Майдонҳои таъкидшударо ислоҳ кунед.",
+ "settings.mcp.errors.duplicate": "Сервер бо ин ном аллакай вуҷуд дорад.",
+ "settings.mcp.errors.noConfig": "Танзимоти {{name}} хонда намешавад — метавонад берун аз лоиҳа муайян шуда бошад.",
+ "settings.mcp.edit.warn": "Нигоҳ доштан ин серверро аз нав пайваст мекунад.",
+ "settings.plugins.search.placeholder": "Ҷустуҷӯи плагинҳо…",
+ "settings.plugins.detail.install": "Насб кардан…",
+ "settings.plugins.detail.copy": "Нусхаи фрагменти конфигуратсия",
+ "settings.plugins.detail.copied": "Нусхабардорӣ шуд",
+ "settings.plugins.detail.notOnNpm": "Дар npm ёфт нашуд — ба opencode.json дастӣ илова кунед",
+ "settings.plugins.install.title": "Насби плагин",
+ "settings.plugins.install.description": "{{name}}-ро ба куҷо илова кардан?",
+ "settings.plugins.install.global": "Глобалӣ (~/.config/opencode)",
+ "settings.plugins.install.project": "Ин лоиҳа",
+ "settings.plugins.install.cancel": "Бекор кардан",
+ "settings.plugins.install.success": "{{name}} насб шуд. Барои боркунӣ OpenCode-ро аз нав оғоз кунед.",
+ "settings.plugins.installed.empty": "Ягон плагин насб нашудааст.",
+ "settings.plugins.installed.provenance.global": "Глобалӣ",
+ "settings.plugins.installed.provenance.project": "Лоиҳа",
+ "settings.plugins.installed.disable": "Хомӯш кардан",
+ "settings.plugins.installed.enable": "Фаъол кардан",
+ "settings.plugins.installed.uninstall": "Тоза кардан",
+ "settings.plugins.installed.uninstallBody": "{{name}}-ро аз {{scope}} тоза кардан? Впис аз файли танзимот нест карда мешавад.",
+ "settings.plugins.installed.recentlyRemoved": "Ба назарӣ тоза шуда",
+ "settings.plugins.installed.openConfig": "Кушодани конфигуратсия",
+ "settings.plugins.errors.parseFailed": "Хондани {{path}} имконнопазир аст — барои идораи плагинҳо файлро ислоҳ ё тоза кунед.",
+ "settings.plugins.errors.catalog": "Каталоги плагинҳо навсозӣ нашуд.",
+ "settings.plugins.stale": "Каталоги кэшшуда нишон дода мешавад ({{age}} пештар).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL интеграция",
"settings.desktop.wsl.description": "Сервери OpenCode-ро дар WSL дар Windows иҷро кунед.",
@@ -1094,8 +1173,6 @@ export const dict = {
"settings.agents.description": "Танзимоти агент дар ин ҷо танзим карда мешавад.",
"settings.commands.title": "Фармонҳо",
"settings.commands.description": "Танзимоти фармон дар ин ҷо танзим карда мешавад.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP танзимот дар ин ҷо танзим карда мешаванд.",
"settings.permissions.title": "Иҷозатҳо",
"settings.permissions.description": "Назорат кунед, ки кадом асбобҳоро сервер бо нобаёнӣ истифода бурда метавонад.",
"settings.permissions.section.tools": "Воситаҳо",
diff --git a/packages/app/src/i18n/th.ts b/packages/app/src/i18n/th.ts
index 1a0e9db72b1b..fad2e3f4c99f 100644
--- a/packages/app/src/i18n/th.ts
+++ b/packages/app/src/i18n/th.ts
@@ -425,6 +425,8 @@ export const dict = {
"mcp.status.connected": "เชื่อมต่อแล้ว",
"mcp.status.failed": "ล้มเหลว",
"mcp.status.needs_auth": "ต้องยืนยันตัวตน",
+ "mcp.status.needs_client_registration": "ต้องลงทะเบียนไคลเอนต์",
+ "mcp.status.pending": "กำลังเชื่อมต่อ…",
"mcp.auth.clickToAuthenticate": "คลิกเพื่อยืนยันตัวตน",
"mcp.status.disabled": "ปิดใช้งาน",
@@ -885,6 +887,83 @@ export const dict = {
"settings.section.server": "เซิร์ฟเวอร์",
"settings.tab.general": "ทั่วไป",
"settings.tab.shortcuts": "ทางลัด",
+ "settings.tab.plugins": "ปลั๊กอิน",
+ "settings.plugins.section.browse": "เรียกดู",
+ "settings.plugins.section.installed": "ติดตั้งแล้ว",
+ "settings.plugins.source.all": "แหล่งที่มาทั้งหมด",
+ "settings.plugins.source.ecosystem": "ระบบนิเวศ",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "เพิ่มเซิร์ฟเวอร์",
+ "settings.mcp.type.local": "ภายใน",
+ "settings.mcp.type.remote": "ระยะไกล",
+ "settings.mcp.empty": "ยังไม่มีการกำหนดค่าเซิร์ฟเวอร์ MCP",
+ "settings.mcp.deleted": "ลบ {{name}} แล้ว",
+ "settings.mcp.errors.refresh": "โหลดเซิร์ฟเวอร์ MCP ไม่สำเร็จ",
+ "settings.mcp.status.pending": "กำลังเชื่อมต่อ…",
+ "settings.mcp.action.connect": "เชื่อมต่อ",
+ "settings.mcp.action.disconnect": "ยกเลิกการเชื่อมต่อ",
+ "settings.mcp.action.authenticate": "ยืนยันตัวตน",
+ "settings.mcp.action.edit": "แก้ไข",
+ "settings.mcp.action.delete": "ลบ",
+ "settings.mcp.delete.title": "ลบเซิร์ฟเวอร์ MCP",
+ "settings.mcp.delete.body": "ลบ {{name}}? ทำไม่สำเร็จไม่ได้",
+ "settings.mcp.form.title.add": "เพิ่มเซิร์ฟเวอร์ MCP",
+ "settings.mcp.form.title.edit": "แก้ไขเซิร์ฟเวอร์ MCP",
+ "settings.mcp.form.subtitle": "กำหนดค่าการเชื่อมต่อ",
+ "settings.mcp.form.name": "ชื่อ",
+ "settings.mcp.form.command": "คำสั่ง",
+ "settings.mcp.form.command.hint": "เช่น npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "ไดเรกทอรีทำงาน",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "ตัวแปรสภาพแวดล้อม",
+ "settings.mcp.form.headers": "ส่วนหัว",
+ "settings.mcp.form.addRow": "เพิ่มแถว",
+ "settings.mcp.form.removeRow": "ลบ",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "รหัสไคลเอนต์",
+ "settings.mcp.form.oauth.clientSecret": "ความลับไคลเอนต์",
+ "settings.mcp.form.oauth.clientSecret.keep": "เว้นว่างเพื่อข้าม — อาจต้องยืนยันตัวตนใหม่",
+ "settings.mcp.form.oauth.scope": "ขอบเขต",
+ "settings.mcp.form.oauth.callbackPort": "พอร์ตเรียกกลับ",
+ "settings.mcp.form.oauth.disableAutodetect": "ปิดการตรวจจับ OAuth อัตโนมัติ",
+ "settings.mcp.form.enabled": "เปิดใช้งาน",
+ "settings.mcp.form.timeout": "หมดเวลา (ms)",
+ "settings.mcp.form.save": "บันทึก",
+ "settings.mcp.form.cancel": "ยกเลิก",
+ "settings.mcp.form.error.name": "ป้อนชื่อ",
+ "settings.mcp.form.error.command": "ป้อนคำสั่ง",
+ "settings.mcp.form.error.url": "ป้อน URL",
+ "settings.mcp.form.error.callbackPort": "พอร์ตเรียกกลับต้องอยู่ระหว่าง 1-65535",
+ "settings.mcp.form.error.timeout": "หมดเวลาต้องเป็นจำนวนเต็มบวก",
+ "settings.mcp.errors.invalid": "แก้ไขช่องที่ไฮไลต์",
+ "settings.mcp.errors.duplicate": "มีเซิร์ฟเวอร์ชื่อนี้แล้ว",
+ "settings.mcp.errors.noConfig": "อ่านการกำหนดค่าของ {{name}} ไม่ได้ — อาจกำหนดไว้นอกโปรเจกต์",
+ "settings.mcp.edit.warn": "บันทึกจะเชื่อมต่อเซิร์ฟเวอร์นี้อีกครั้ง",
+ "settings.plugins.search.placeholder": "ค้นหาปลั๊กอิน…",
+ "settings.plugins.detail.install": "ติดตั้ง…",
+ "settings.plugins.detail.copy": "คัดลอกข้อความคอนฟิก",
+ "settings.plugins.detail.copied": "คัดลอกแล้ว",
+ "settings.plugins.detail.notOnNpm": "ไม่พบบน npm — เพิ่มลงใน opencode.json ด้วยตนเอง",
+ "settings.plugins.install.title": "ติดตั้งปลั๊กอิน",
+ "settings.plugins.install.description": "จะเพิ่ม {{name}} ที่ไหน?",
+ "settings.plugins.install.global": "ทั่วโลก (~/.config/opencode)",
+ "settings.plugins.install.project": "โปรเจกต์นี้",
+ "settings.plugins.install.cancel": "ยกเลิก",
+ "settings.plugins.install.success": "ติดตั้ง {{name}} แล้ว รีสตาร์ท OpenCode เพื่อโหลด",
+ "settings.plugins.installed.empty": "ไม่มีปลั๊กอินที่ติดตั้ง",
+ "settings.plugins.installed.provenance.global": "ทั่วโลก",
+ "settings.plugins.installed.provenance.project": "โปรเจกต์",
+ "settings.plugins.installed.disable": "ปิดใช้งาน",
+ "settings.plugins.installed.enable": "เปิดใช้งาน",
+ "settings.plugins.installed.uninstall": "ถอนการติดตั้ง",
+ "settings.plugins.installed.uninstallBody": "ถอนการติดตั้ง {{name}} จาก {{scope}}? รายการจะถูกลบออกจากไฟล์การตั้งค่า",
+ "settings.plugins.installed.recentlyRemoved": "เพิ่งถูกลบ",
+ "settings.plugins.installed.openConfig": "เปิดคอนฟิก",
+ "settings.plugins.errors.parseFailed": "อ่าน {{path}} ไม่ได้ — แก้ไขหรือลบไฟล์เพื่อจัดการปลั๊กอินที่นั่น",
+ "settings.plugins.errors.catalog": "ไม่สามารถรีเฟรชแคตตาล็กปลั๊กอิน",
+ "settings.plugins.stale": "กำลังแสดงแคตตาล็กจากแคช (เก่า {{age}})",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "การรวม WSL",
"settings.desktop.wsl.description": "เรียกใช้เซิร์ฟเวอร์ OpenCode ภายใน WSL บน Windows",
@@ -1064,9 +1143,6 @@ export const dict = {
"settings.agents.description": "การตั้งค่าเอเจนต์จะสามารถกำหนดค่าได้ที่นี่",
"settings.commands.title": "คำสั่ง",
"settings.commands.description": "การตั้งค่าคำสั่งจะสามารถกำหนดค่าได้ที่นี่",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "การตั้งค่า MCP จะสามารถกำหนดค่าได้ที่นี่",
-
"settings.permissions.title": "สิทธิ์",
"settings.permissions.description": "ควบคุมเครื่องมือที่เซิร์ฟเวอร์สามารถใช้โดยค่าเริ่มต้น",
"settings.permissions.section.tools": "เครื่องมือ",
diff --git a/packages/app/src/i18n/tk.ts b/packages/app/src/i18n/tk.ts
index 2b144c6a26c7..3ed3319c33fb 100644
--- a/packages/app/src/i18n/tk.ts
+++ b/packages/app/src/i18n/tk.ts
@@ -397,6 +397,8 @@ export const dict = {
"mcp.status.connected": "birikdirildi",
"mcp.status.failed": "şowsuz",
"mcp.status.needs_auth": "auth gerek",
+ "mcp.status.needs_client_registration": "müşderi hasaba alyş gerek",
+ "mcp.status.pending": "birleşýär…",
"mcp.status.disabled": "maýyp",
"mcp.auth.clickToAuthenticate": "Hakyky tassyklamak üçin basyň",
"dialog.fork.empty": "Şahalandyrmaly habar ýok",
@@ -913,6 +915,83 @@ export const dict = {
"settings.section.server": "Serwer",
"settings.tab.general": "Umumy",
"settings.tab.shortcuts": "Salgylanmalar",
+ "settings.tab.plugins": "Plaginlar",
+ "settings.plugins.section.browse": "Göz aýla",
+ "settings.plugins.section.installed": "Gurnalan",
+ "settings.plugins.source.all": "Ähli çeşmeler",
+ "settings.plugins.source.ecosystem": "Ekosistem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Serwer goş",
+ "settings.mcp.type.local": "Ýerli",
+ "settings.mcp.type.remote": "Uzak",
+ "settings.mcp.empty": "Inşik edil serwerler ýok.",
+ "settings.mcp.deleted": "{{name}} aýryldy.",
+ "settings.mcp.errors.refresh": "MCP serwerleri ýüklenmedi.",
+ "settings.mcp.status.pending": "birleşýär…",
+ "settings.mcp.action.connect": "Birleş",
+ "settings.mcp.action.disconnect": "Aýyr",
+ "settings.mcp.action.authenticate": "Şahadatnama",
+ "settings.mcp.action.edit": "Redaktla",
+ "settings.mcp.action.delete": "Poz",
+ "settings.mcp.delete.title": "MCP serwerini pozmak",
+ "settings.mcp.delete.body": "{{name}} aýyrylsynmy? Ony yzyna getirmek bolmaýar.",
+ "settings.mcp.form.title.add": "MCP serwerini goş",
+ "settings.mcp.form.title.edit": "MCP serwerini redaktirla",
+ "settings.mcp.form.subtitle": "Birikme sazlamalaryny düz.",
+ "settings.mcp.form.name": "Ad",
+ "settings.mcp.form.command": "Buýruk",
+ "settings.mcp.form.command.hint": "meselem npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Iş katalogy",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Müşir üýtgeýjileri",
+ "settings.mcp.form.headers": "Sözbaşylar",
+ "settings.mcp.form.addRow": "Setir goş",
+ "settings.mcp.form.removeRow": "Aýyr",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Müşderi ID",
+ "settings.mcp.form.oauth.clientSecret": "Müşderi syry",
+ "settings.mcp.form.oauth.clientSecret.keep": "Ýalap geçmek üçin boş goý — täzeden tassyklamak gerek bolup biler",
+ "settings.mcp.form.oauth.scope": "Möhlet",
+ "settings.mcp.form.oauth.callbackPort": "Yzjaklaport",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth awtotesiri öçür",
+ "settings.mcp.form.enabled": "Enabled",
+ "settings.mcp.form.timeout": "Wagt (ms)",
+ "settings.mcp.form.save": "Sakla",
+ "settings.mcp.form.cancel": "Ýatyr",
+ "settings.mcp.form.error.name": "Ady gir.",
+ "settings.mcp.form.error.command": "Buýrugy gir.",
+ "settings.mcp.form.error.url": "URL gir.",
+ "settings.mcp.form.error.callbackPort": "Yzjaklaport 1–65535 arasynda bolmaly.",
+ "settings.mcp.form.error.timeout": "Wagt požitif bitewi san bolmaly.",
+ "settings.mcp.errors.invalid": "Bellikli meýdanlary düz.",
+ "settings.mcp.errors.duplicate": "Bu adyň serweri eýýäm bar.",
+ "settings.mcp.errors.noConfig": "{{name}} konfigurasiýasy okalmaýar — taslamadan daşy kesgitlenen bolup biler.",
+ "settings.mcp.edit.warn": "Saklamak bu serweri täzeden birikdirýär.",
+ "settings.plugins.search.placeholder": "Plaginleri gözle…",
+ "settings.plugins.detail.install": "Gurna…",
+ "settings.plugins.detail.copy": "Konfigurasiýa bölejini göçüriň",
+ "settings.plugins.detail.copied": "Göçürildi",
+ "settings.plugins.detail.notOnNpm": "npm-de tapylmady — opencode.json-a el bilen goşuň",
+ "settings.plugins.install.title": "Plegin gurnamak",
+ "settings.plugins.install.description": "{{name}} nireä goşulmaly?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "Bu taslama",
+ "settings.plugins.install.cancel": "Ýatyr",
+ "settings.plugins.install.success": "{{name}} gurnaldy. Yuklamak üçin OpenCode-y täzeden başlaň.",
+ "settings.plugins.installed.empty": "Gurnalan plegin ýok.",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "Taslama",
+ "settings.plugins.installed.disable": "Öçürip goý",
+ "settings.plugins.installed.enable": "Işjeňleşdir",
+ "settings.plugins.installed.uninstall": "Aýry",
+ "settings.plugins.installed.uninstallBody": "{{name}}, {{scope}}-dan aýrylsynmy? Sazlama faýlyndan aýrylar.",
+ "settings.plugins.installed.recentlyRemoved": "Soň aýrylan",
+ "settings.plugins.installed.openConfig": "Konfigurasiýany aç",
+ "settings.plugins.errors.parseFailed": "{{path}} okalmady — pleginleri dolandyrmak üçin faýly düzediň ýa-da aýryň",
+ "settings.plugins.errors.catalog": "Plegin katalogy täzelenmedi.",
+ "settings.plugins.stale": "Keşlenen katalog görkezilýär ({{age}} öňki).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL integrasiýa",
"settings.desktop.wsl.description": "OpenCode serwerini WSL-de Windows-de işlediň.",
@@ -1089,8 +1168,6 @@ export const dict = {
"settings.agents.description": "Agent sazlamalary bu ýerde düzülip bilner.",
"settings.commands.title": "Buýruklar",
"settings.commands.description": "Buýruk sazlamalary bu ýerde düzülip bilner.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP sazlamalary bu ýerde düzülip bilner.",
"settings.permissions.title": "Rugsatlar",
"settings.permissions.description": "Serweriň haýsy gurallary ulanyp biljekdigini dolandyryň.",
"settings.permissions.section.tools": "Gurallar",
diff --git a/packages/app/src/i18n/tr.ts b/packages/app/src/i18n/tr.ts
index 85623036e429..da363ebbc98e 100644
--- a/packages/app/src/i18n/tr.ts
+++ b/packages/app/src/i18n/tr.ts
@@ -432,6 +432,8 @@ export const dict = {
"mcp.status.connected": "bağlı",
"mcp.status.failed": "başarısız",
"mcp.status.needs_auth": "kimlik doğrulama gerekli",
+ "mcp.status.needs_client_registration": "istemci kaydı gerekli",
+ "mcp.status.pending": "bağlanıyor…",
"mcp.auth.clickToAuthenticate": "Kimlik doğrulamak için tıklayın",
"mcp.status.disabled": "devre dışı",
@@ -903,6 +905,83 @@ export const dict = {
"settings.section.server": "Sunucu",
"settings.tab.general": "Genel",
"settings.tab.shortcuts": "Kısayollar",
+ "settings.tab.plugins": "Eklentiler",
+ "settings.plugins.section.browse": "Göz at",
+ "settings.plugins.section.installed": "Yüklü",
+ "settings.plugins.source.all": "Tüm kaynaklar",
+ "settings.plugins.source.ecosystem": "Ekosistem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Sunucu ekle",
+ "settings.mcp.type.local": "Yerel",
+ "settings.mcp.type.remote": "Uzak",
+ "settings.mcp.empty": "Yapılandırılmış MCP sunucusu yok.",
+ "settings.mcp.deleted": "{{name}} silindi.",
+ "settings.mcp.errors.refresh": "MCP sunucuları yüklenemedi.",
+ "settings.mcp.status.pending": "bağlanıyor…",
+ "settings.mcp.action.connect": "Bağlan",
+ "settings.mcp.action.disconnect": "Bağlantıyı kes",
+ "settings.mcp.action.authenticate": "Kimlik doğrula",
+ "settings.mcp.action.edit": "Düzenle",
+ "settings.mcp.action.delete": "Sil",
+ "settings.mcp.delete.title": "MCP sunucusunu sil",
+ "settings.mcp.delete.body": "{{name}} kaldırılsın mı? Bu geri alınamaz.",
+ "settings.mcp.form.title.add": "MCP sunucusu ekle",
+ "settings.mcp.form.title.edit": "MCP sunucusunu düzenle",
+ "settings.mcp.form.subtitle": "Bağlantı ayarlarını yapılandır.",
+ "settings.mcp.form.name": "Ad",
+ "settings.mcp.form.command": "Komut",
+ "settings.mcp.form.command.hint": "örn. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Çalışma dizini",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Ortam değişkenleri",
+ "settings.mcp.form.headers": "Üstbilgiler",
+ "settings.mcp.form.addRow": "Satır ekle",
+ "settings.mcp.form.removeRow": "Kaldır",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "İstemci kimliği",
+ "settings.mcp.form.oauth.clientSecret": "İstemci parolası",
+ "settings.mcp.form.oauth.clientSecret.keep": "Atlamak için boş bırakın — yeniden kimlik doğrulama gerekebilir",
+ "settings.mcp.form.oauth.scope": "Kapsam",
+ "settings.mcp.form.oauth.callbackPort": "Geri çağırma portu",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth otomatik algılamayı devre dışı bırak",
+ "settings.mcp.form.enabled": "Etkin",
+ "settings.mcp.form.timeout": "Zaman aşımı (ms)",
+ "settings.mcp.form.save": "Kaydet",
+ "settings.mcp.form.cancel": "İptal",
+ "settings.mcp.form.error.name": "Bir ad girin.",
+ "settings.mcp.form.error.command": "Bir komut girin.",
+ "settings.mcp.form.error.url": "Bir URL girin.",
+ "settings.mcp.form.error.callbackPort": "Geri çağırma portu 1-65535 arasında olmalıdır.",
+ "settings.mcp.form.error.timeout": "Zaman aşımı pozitif bir tam sayı olmalıdır.",
+ "settings.mcp.errors.invalid": "Vurgulanan alanları düzeltin.",
+ "settings.mcp.errors.duplicate": "Bu adda bir sunucu zaten var.",
+ "settings.mcp.errors.noConfig": "{{name}} yapılandırması okunamıyor — proje dışında tanımlı olabilir.",
+ "settings.mcp.edit.warn": "Kaydetmek bu sunucuyu yeniden bağlar.",
+ "settings.plugins.search.placeholder": "Eklenti ara…",
+ "settings.plugins.detail.install": "Yükle…",
+ "settings.plugins.detail.copy": "Yapılandırma parçasını kopyala",
+ "settings.plugins.detail.copied": "Kopyalandı",
+ "settings.plugins.detail.notOnNpm": "npm'de bulunamadı — opencode.json dosyasına elle ekleyin",
+ "settings.plugins.install.title": "Eklenti yükle",
+ "settings.plugins.install.description": "{{name}} nereye eklensin?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "Bu proje",
+ "settings.plugins.install.cancel": "İptal",
+ "settings.plugins.install.success": "{{name}} yüklendi. Yüklemek için OpenCode'u yeniden başlatın.",
+ "settings.plugins.installed.empty": "Yüklü eklenti yok.",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "Proje",
+ "settings.plugins.installed.disable": "Devre dışı bırak",
+ "settings.plugins.installed.enable": "Etkinleştir",
+ "settings.plugins.installed.uninstall": "Kaldır",
+ "settings.plugins.installed.uninstallBody": "{{name}} {{scope}} kaynağından kaldırılsın mı? Yapılandırma dosyasından silinecek.",
+ "settings.plugins.installed.recentlyRemoved": "Son kaldırılanlar",
+ "settings.plugins.installed.openConfig": "Yapılandırmayı aç",
+ "settings.plugins.errors.parseFailed": "{{path}} okunamıyor — eklentileri orada yönetmek için dosyayı düzeltin veya kaldırın.",
+ "settings.plugins.errors.catalog": "Eklenti kataloğu yenilenemedi.",
+ "settings.plugins.stale": "Önbelleğe alınmış katalog gösteriliyor ({{age}} eski).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL entegrasyonu",
"settings.desktop.wsl.description": "OpenCode sunucusunu Windows'ta WSL içinde çalıştırın.",
@@ -1090,9 +1169,6 @@ export const dict = {
"settings.agents.description": "Ajan ayarları burada yapılandırılabilecek.",
"settings.commands.title": "Komutlar",
"settings.commands.description": "Komut ayarları burada yapılandırılabilecek.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP ayarları burada yapılandırılabilecek.",
-
"settings.permissions.title": "İzinler",
"settings.permissions.description": "Sunucunun varsayılan olarak hangi araçları kullanabileceğini kontrol edin.",
"settings.permissions.section.tools": "Araçlar",
diff --git a/packages/app/src/i18n/uk.ts b/packages/app/src/i18n/uk.ts
index 54732a87b7eb..570ebda115ea 100644
--- a/packages/app/src/i18n/uk.ts
+++ b/packages/app/src/i18n/uk.ts
@@ -429,6 +429,8 @@ export const dict = {
"mcp.status.connected": "підключено",
"mcp.status.failed": "помилка",
"mcp.status.needs_auth": "потрібна авторизація",
+ "mcp.status.needs_client_registration": "потрібна реєстрація клієнта",
+ "mcp.status.pending": "з'єднання…",
"mcp.status.disabled": "вимкнено",
"mcp.auth.clickToAuthenticate": "Натисніть для автентифікації",
@@ -1005,6 +1007,83 @@ export const dict = {
"settings.section.server": "Сервер",
"settings.tab.general": "Загальні",
"settings.tab.shortcuts": "Клавіатурні скорочення",
+ "settings.tab.plugins": "Плагіни",
+ "settings.plugins.section.browse": "Огляд",
+ "settings.plugins.section.installed": "Встановлені",
+ "settings.plugins.source.all": "Усі джерела",
+ "settings.plugins.source.ecosystem": "Екосистема",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Додати сервер",
+ "settings.mcp.type.local": "Локальний",
+ "settings.mcp.type.remote": "Віддалений",
+ "settings.mcp.empty": "Сервери MCP не налаштовано.",
+ "settings.mcp.deleted": "{{name}} видалено.",
+ "settings.mcp.errors.refresh": "Не вдалося завантажити сервери MCP.",
+ "settings.mcp.status.pending": "з'єднання…",
+ "settings.mcp.action.connect": "З'єднати",
+ "settings.mcp.action.disconnect": "Роз'єднати",
+ "settings.mcp.action.authenticate": "Автентифікувати",
+ "settings.mcp.action.edit": "Змінити",
+ "settings.mcp.action.delete": "Видалити",
+ "settings.mcp.delete.title": "Видалити сервер MCP",
+ "settings.mcp.delete.body": "Видалити {{name}}? Цю дію не можна скасувати.",
+ "settings.mcp.form.title.add": "Додати сервер MCP",
+ "settings.mcp.form.title.edit": "Змінити сервер MCP",
+ "settings.mcp.form.subtitle": "Налаштуйте параметри з'єднання.",
+ "settings.mcp.form.name": "Назва",
+ "settings.mcp.form.command": "Команда",
+ "settings.mcp.form.command.hint": "напр. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Робочий каталог",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Змінні середовища",
+ "settings.mcp.form.headers": "Заголовки",
+ "settings.mcp.form.addRow": "Додати рядок",
+ "settings.mcp.form.removeRow": "Видалити",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID клієнта",
+ "settings.mcp.form.oauth.clientSecret": "Секрет клієнта",
+ "settings.mcp.form.oauth.clientSecret.keep": "Залиште порожнім, щоб пропустити — може знадобитися повторна автентифікація",
+ "settings.mcp.form.oauth.scope": "Область",
+ "settings.mcp.form.oauth.callbackPort": "Порт зворотного виклику",
+ "settings.mcp.form.oauth.disableAutodetect": "Вимкнути автовизначення OAuth",
+ "settings.mcp.form.enabled": "Увімкнено",
+ "settings.mcp.form.timeout": "Час очікування (мс)",
+ "settings.mcp.form.save": "Зберегти",
+ "settings.mcp.form.cancel": "Скасувати",
+ "settings.mcp.form.error.name": "Введіть назву.",
+ "settings.mcp.form.error.command": "Введіть команду.",
+ "settings.mcp.form.error.url": "Введіть URL.",
+ "settings.mcp.form.error.callbackPort": "Порт зворотного виклику має бути від 1 до 65535.",
+ "settings.mcp.form.error.timeout": "Час очікування має бути додатним цілим числом.",
+ "settings.mcp.errors.invalid": "Виправте виділені поля.",
+ "settings.mcp.errors.duplicate": "Сервер із такою назвою вже існує.",
+ "settings.mcp.errors.noConfig": "Не вдається прочитати конфігурацію {{name}} — можливо, вона визначена поза проєктом.",
+ "settings.mcp.edit.warn": "Збереження перепід'єднує сервер.",
+ "settings.plugins.search.placeholder": "Пошук плагінів…",
+ "settings.plugins.detail.install": "Встановити…",
+ "settings.plugins.detail.copy": "Копіювати фрагмент конфігурації",
+ "settings.plugins.detail.copied": "Скопійовано",
+ "settings.plugins.detail.notOnNpm": "Не знайдено на npm — додайте вручну до opencode.json",
+ "settings.plugins.install.title": "Встановити плагін",
+ "settings.plugins.install.description": "Куди додати {{name}}?",
+ "settings.plugins.install.global": "Глобально (~/.config/opencode)",
+ "settings.plugins.install.project": "Цей проєкт",
+ "settings.plugins.install.cancel": "Скасувати",
+ "settings.plugins.install.success": "{{name}} встановлено. Перезапустіть OpenCode, щоб завантажити його.",
+ "settings.plugins.installed.empty": "Плагіни не встановлено.",
+ "settings.plugins.installed.provenance.global": "Глобально",
+ "settings.plugins.installed.provenance.project": "Проєкт",
+ "settings.plugins.installed.disable": "Вимкнути",
+ "settings.plugins.installed.enable": "Увімкнути",
+ "settings.plugins.installed.uninstall": "Видалити",
+ "settings.plugins.installed.uninstallBody": "Видалити {{name}} зі {{scope}}? Запис буде видалено з файлу конфігурації.",
+ "settings.plugins.installed.recentlyRemoved": "Нещодавно видалені",
+ "settings.plugins.installed.openConfig": "Відкрити конфігурацію",
+ "settings.plugins.errors.parseFailed": "Не вдалося прочитати {{path}} — виправте або видаліть файл, щоб керувати плагінами.",
+ "settings.plugins.errors.catalog": "Не вдалося оновити каталог плагінів.",
+ "settings.plugins.stale": "Показано кешований каталог ({{age}}).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "Інтеграція WSL",
"settings.desktop.wsl.description": "Запускати сервер OpenCode всередині WSL на Windows.",
@@ -1192,9 +1271,6 @@ export const dict = {
"settings.agents.description": "Налаштування агентів будуть доступні тут.",
"settings.commands.title": "Команди",
"settings.commands.description": "Налаштування команд будуть доступні тут.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Налаштування MCP будуть доступні тут.",
-
"settings.permissions.title": "Дозволи",
"settings.permissions.description": "Керуйте тим, які інструменти сервер може використовувати за замовчуванням.",
"settings.permissions.section.tools": "Інструменти",
diff --git a/packages/app/src/i18n/ur.ts b/packages/app/src/i18n/ur.ts
index 2ab69e7aec71..a5c50073d651 100644
--- a/packages/app/src/i18n/ur.ts
+++ b/packages/app/src/i18n/ur.ts
@@ -406,6 +406,8 @@ export const dict = {
"mcp.status.connected": "منسلک",
"mcp.status.failed": "ناکام",
"mcp.status.needs_auth": "توثیق درکار ہے",
+ "mcp.status.needs_client_registration": "کلائنٹ رجسٹریشن درکار",
+ "mcp.status.pending": "جڑ رہا ہے…",
"mcp.status.disabled": "غیر فعال",
"mcp.auth.clickToAuthenticate": "تصدیق کرنے کے لیے کلک کریں۔",
"dialog.fork.empty": "کوئی پیغامات نہیں ہیں جن سے فورک کیا جائے۔",
@@ -922,6 +924,83 @@ export const dict = {
"settings.section.server": "سرور",
"settings.tab.general": "عمومی",
"settings.tab.shortcuts": "شارٹ کٹس",
+ "settings.tab.plugins": "پلگ ان",
+ "settings.plugins.section.browse": "براؤز کریں",
+ "settings.plugins.section.installed": "انسٹال شدہ",
+ "settings.plugins.source.all": "تمام ذرائع",
+ "settings.plugins.source.ecosystem": "ماحولیاتی نظام",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "سرور شامل کریں",
+ "settings.mcp.type.local": "لوکل",
+ "settings.mcp.type.remote": "ریموٹ",
+ "settings.mcp.empty": "کوئی MCP سرور کنفیگر نہیں ہے۔",
+ "settings.mcp.deleted": "{{name}} حذف ہو گیا۔",
+ "settings.mcp.errors.refresh": "MCP سرورز لوڈ نہیں ہو سکے۔",
+ "settings.mcp.status.pending": "جڑ رہا ہے…",
+ "settings.mcp.action.connect": "جڑیں",
+ "settings.mcp.action.disconnect": "منقطع کریں",
+ "settings.mcp.action.authenticate": "تصدیق کریں",
+ "settings.mcp.action.edit": "ترمیم کریں",
+ "settings.mcp.action.delete": "حذف کریں",
+ "settings.mcp.delete.title": "MCP سرور حذف کریں",
+ "settings.mcp.delete.body": "{{name}} ہٹائیں؟ یہ واپس نہیں ہو سکتا۔",
+ "settings.mcp.form.title.add": "MCP سرور شامل کریں",
+ "settings.mcp.form.title.edit": "MCP سرور ترمیم کریں",
+ "settings.mcp.form.subtitle": "کنکشن کی ترتیبات مرتب کریں۔",
+ "settings.mcp.form.name": "نام",
+ "settings.mcp.form.command": "کمانڈ",
+ "settings.mcp.form.command.hint": "مثلاً npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "ورکنگ ڈائریکٹری",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "ماحولیاتی متغیرات",
+ "settings.mcp.form.headers": "ہیڈرز",
+ "settings.mcp.form.addRow": "قطار شامل کریں",
+ "settings.mcp.form.removeRow": "ہٹائیں",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "کلائنٹ آئی ڈی",
+ "settings.mcp.form.oauth.clientSecret": "کلائنٹ سیکریٹ",
+ "settings.mcp.form.oauth.clientSecret.keep": "چھوڑنے کے لیے خالی چھوڑیں — دوبارہ تصدیق درکار ہو سکتی ہے",
+ "settings.mcp.form.oauth.scope": "سکوپ",
+ "settings.mcp.form.oauth.callbackPort": "کال بیک پورٹ",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth خودکار شناخت بند کریں",
+ "settings.mcp.form.enabled": "فعال",
+ "settings.mcp.form.timeout": "ٹائم آؤٹ (ms)",
+ "settings.mcp.form.save": "محفوظ کریں",
+ "settings.mcp.form.cancel": "منسوخ کریں",
+ "settings.mcp.form.error.name": "نام درج کریں۔",
+ "settings.mcp.form.error.command": "کمانڈ درج کریں۔",
+ "settings.mcp.form.error.url": "URL درج کریں۔",
+ "settings.mcp.form.error.callbackPort": "کال بیک پورٹ 1 تا 65535 کے درمیان ہونا چاہیے۔",
+ "settings.mcp.form.error.timeout": "ٹائم آؤٹ مثبت عدد ہونا چاہیے۔",
+ "settings.mcp.errors.invalid": "نمایاں فیلڈز درست کریں۔",
+ "settings.mcp.errors.duplicate": "اس نام کا سرور پہلے سے موجود ہے۔",
+ "settings.mcp.errors.noConfig": "{{name}} کی ترتیب نہیں پڑھی جا سکی — پروجیکٹ کے باہر بیان ہو سکتی ہے۔",
+ "settings.mcp.edit.warn": "محفوظ کرنے سے یہ سرور دوبارہ منسلک ہوگا۔",
+ "settings.plugins.search.placeholder": "پلگ ان تلاش کریں…",
+ "settings.plugins.detail.install": "انسٹال کریں…",
+ "settings.plugins.detail.copy": "کنفیگ سنیپٹ کاپی کریں",
+ "settings.plugins.detail.copied": "کاپی ہو گیا",
+ "settings.plugins.detail.notOnNpm": "npm پر نہیں ملا — opencode.json میں دستی طور پر شامل کریں",
+ "settings.plugins.install.title": "پلگ ان انسٹال کریں",
+ "settings.plugins.install.description": "{{name}} کہاں شامل کیا جائے؟",
+ "settings.plugins.install.global": "عالمی (~/.config/opencode)",
+ "settings.plugins.install.project": "یہ پروجیکٹ",
+ "settings.plugins.install.cancel": "منسوخ کریں",
+ "settings.plugins.install.success": "{{name}} انسٹال ہو گیا۔ لوڈ کرنے کے لیے OpenCode دوبارہ شروع کریں۔",
+ "settings.plugins.installed.empty": "کوئی پلگ ان انسٹال نہیں۔",
+ "settings.plugins.installed.provenance.global": "عالمی",
+ "settings.plugins.installed.provenance.project": "پروجیکٹ",
+ "settings.plugins.installed.disable": " غیر فعال کریں",
+ "settings.plugins.installed.enable": "فعال کریں",
+ "settings.plugins.installed.uninstall": "اَن انسٹال کریں",
+ "settings.plugins.installed.uninstallBody": "کیا {{scope}} سے {{name}} اَن انسٹال کریں؟ یہ کنفیگ فائل سے ہٹا دیا جائے گا۔",
+ "settings.plugins.installed.recentlyRemoved": "حال ہی میں ہٹائے گئے",
+ "settings.plugins.installed.openConfig": "کنفیگ کھولیں",
+ "settings.plugins.errors.parseFailed": "{{path}} پڑھا نہیں جا سکا — پلگ انز کے انتظام کے لیے فائل ٹھیک کریں یا ہٹائیں۔",
+ "settings.plugins.errors.catalog": "پلگ ان کیٹلاگ تازہ نہیں کیا جا سکا۔",
+ "settings.plugins.stale": "کیس شدہ کیٹلاگ دکھایا جا رہا ہے ({{age}} پرانا)۔",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL انضمام",
"settings.desktop.wsl.description": "Windows پر WSL کے اندر OpenCode سرور چلائیں۔",
@@ -1095,8 +1174,6 @@ export const dict = {
"settings.agents.description": "ایجنٹ کی ترتیبات یہاں قابل ترتیب ہوں گی۔",
"settings.commands.title": "کمانڈز",
"settings.commands.description": "کمانڈ کی ترتیبات یہاں قابل ترتیب ہوں گی۔",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP ترتیبات یہاں قابل ترتیب ہوں گی۔",
"settings.permissions.title": "اجازتیں",
"settings.permissions.description": "کنٹرول کریں کہ سرور کن ٹولز کو بطور ڈیفالٹ استعمال کر سکتا ہے۔",
"settings.permissions.section.tools": "اوزار",
diff --git a/packages/app/src/i18n/uz.ts b/packages/app/src/i18n/uz.ts
index 8cb7097fc07a..2370d221cb78 100644
--- a/packages/app/src/i18n/uz.ts
+++ b/packages/app/src/i18n/uz.ts
@@ -399,6 +399,8 @@ export const dict = {
"mcp.status.connected": "ulangan",
"mcp.status.failed": "muvaffaqiyatsiz",
"mcp.status.needs_auth": "avtorizatsiya kerak",
+ "mcp.status.needs_client_registration": "mijozni ro'yxatdan o'tkazish kerak",
+ "mcp.status.pending": "ulanmoqda…",
"mcp.status.disabled": "nogiron",
"mcp.auth.clickToAuthenticate": "Haqiqiylikni tekshirish uchun bosing",
"dialog.fork.empty": "Hech qanday xabar yo'q",
@@ -920,6 +922,83 @@ export const dict = {
"settings.section.server": "Server",
"settings.tab.general": "Umumiy",
"settings.tab.shortcuts": "Yorliqlar",
+ "settings.tab.plugins": "Plaginlar",
+ "settings.plugins.section.browse": "Koʻrish",
+ "settings.plugins.section.installed": "Oʻrnatilgan",
+ "settings.plugins.source.all": "Barcha manbalar",
+ "settings.plugins.source.ecosystem": "Ekosistem",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Server qoʻshish",
+ "settings.mcp.type.local": "Lokal",
+ "settings.mcp.type.remote": "Masofaviy",
+ "settings.mcp.empty": "Hech qanday MCP server sozlanmagan.",
+ "settings.mcp.deleted": "{{name}} oʻchirildi.",
+ "settings.mcp.errors.refresh": "MCP serverlarni yuklash imkonsiz.",
+ "settings.mcp.status.pending": "ulanmoqda…",
+ "settings.mcp.action.connect": "Ulanish",
+ "settings.mcp.action.disconnect": "Uzish",
+ "settings.mcp.action.authenticate": "Tasdiqlash",
+ "settings.mcp.action.edit": "Tahrirlash",
+ "settings.mcp.action.delete": "Oʻchirish",
+ "settings.mcp.delete.title": "MCP serverni oʻchirish",
+ "settings.mcp.delete.body": "{{name}} olib tashlansinmi? Bu qaytarilmaydi.",
+ "settings.mcp.form.title.add": "MCP server qoʻshish",
+ "settings.mcp.form.title.edit": "MCP serverni tahrirlash",
+ "settings.mcp.form.subtitle": "Ulanish sozlamalarini moslang.",
+ "settings.mcp.form.name": "Nom",
+ "settings.mcp.form.command": "Buyruq",
+ "settings.mcp.form.command.hint": "masalan npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Ish katalogi",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Muhit oʻzgaruvchilari",
+ "settings.mcp.form.headers": "Sarlavhalar",
+ "settings.mcp.form.addRow": "Qator qoʻshish",
+ "settings.mcp.form.removeRow": "Oʻchirish",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "Mijoz IDsi",
+ "settings.mcp.form.oauth.clientSecret": "Mijoz siri",
+ "settings.mcp.form.oauth.clientSecret.keep": "O'tkazib yuborish uchun bo'sh qoldiring — qayta autentifikatsiya kerak bo'lishi mumkin",
+ "settings.mcp.form.oauth.scope": "Doira",
+ "settings.mcp.form.oauth.callbackPort": "Qayta aloqa porti",
+ "settings.mcp.form.oauth.disableAutodetect": "OAuth avtomatik aniqlashni oʻchirish",
+ "settings.mcp.form.enabled": "Yoqilgan",
+ "settings.mcp.form.timeout": "Vaqt chegarasi (ms)",
+ "settings.mcp.form.save": "Saqlash",
+ "settings.mcp.form.cancel": "Bekor qilish",
+ "settings.mcp.form.error.name": "Nom kiriting.",
+ "settings.mcp.form.error.command": "Buyruq kiriting.",
+ "settings.mcp.form.error.url": "URL kiriting.",
+ "settings.mcp.form.error.callbackPort": "Qayta aloqa porti 1–65535 oraligʻida boʻlishi kerak.",
+ "settings.mcp.form.error.timeout": "Vaqt chegarasi musbat butun son boʻlishi kerak.",
+ "settings.mcp.errors.invalid": "Belgilangan maydonlarni tuzating.",
+ "settings.mcp.errors.duplicate": "Bu nomli server allaqachon mavjud.",
+ "settings.mcp.errors.noConfig": "{{name}} konfiguratsiyasini oʻqib boʻlmadi — loyihadan tashqarida aniqlangan boʻlishi mumkin.",
+ "settings.mcp.edit.warn": "Saqlash bu serverni qayta ulaydi.",
+ "settings.plugins.search.placeholder": "Plaginlarni qidirish…",
+ "settings.plugins.detail.install": "Oʻrnatish…",
+ "settings.plugins.detail.copy": "Konfiguratsiya boʻlagini nusxalash",
+ "settings.plugins.detail.copied": "Nusxalandi",
+ "settings.plugins.detail.notOnNpm": "npm-da topilmadi — opencode.json-ga qoʻlda qoʻshing",
+ "settings.plugins.install.title": "Plagin oʻrnatish",
+ "settings.plugins.install.description": "{{name}} qayerga qoʻshilsin?",
+ "settings.plugins.install.global": "Global (~/.config/opencode)",
+ "settings.plugins.install.project": "Bu loyiha",
+ "settings.plugins.install.cancel": "Bekor qilish",
+ "settings.plugins.install.success": "{{name}} oʻrnatildi. Yuklash uchun OpenCode-ni qayta ishga tushiring.",
+ "settings.plugins.installed.empty": "Oʻrnatilgan plagin yoʻq.",
+ "settings.plugins.installed.provenance.global": "Global",
+ "settings.plugins.installed.provenance.project": "Loyiha",
+ "settings.plugins.installed.disable": "Oʻchirish",
+ "settings.plugins.installed.enable": "Yoqish",
+ "settings.plugins.installed.uninstall": "Olib tashlash",
+ "settings.plugins.installed.uninstallBody": "{{name}} {{scope}} dan olib tashlansinmi? Konfiguratsiya faylidan o'chiriladi.",
+ "settings.plugins.installed.recentlyRemoved": "Yaqinda olib tashlangan",
+ "settings.plugins.installed.openConfig": "Konfiguratsiyani ochish",
+ "settings.plugins.errors.parseFailed": "{{path}} oʻqilmadi — plaginlarni boshqarish uchun faylni tuzating yoki olib tashlang.",
+ "settings.plugins.errors.catalog": "Plaginlar katalogi yangilanmadi.",
+ "settings.plugins.stale": "Keshlangan katalog koʻrsatilmoqda ({{age}} avvalgi).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL integratsiyasi",
"settings.desktop.wsl.description": "Windows da WSL ichidagi OpenCode serverini ishga tushiring.",
@@ -1100,8 +1179,6 @@ export const dict = {
"settings.agents.description": "Bu yerda agent sozlamalari sozlanishi mumkin.",
"settings.commands.title": "Buyruqlar",
"settings.commands.description": "Buyruq sozlamalari bu yerda sozlanishi mumkin.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP sozlamalari bu yerda sozlanishi mumkin.",
"settings.permissions.title": "Ruxsatlar",
"settings.permissions.description": "Server sukut bo'yicha qanday vositalardan foydalanishi mumkinligini boshqaring.",
"settings.permissions.section.tools": "Asboblar",
diff --git a/packages/app/src/i18n/vi.ts b/packages/app/src/i18n/vi.ts
index 06fda4ce707c..0372440e15a9 100644
--- a/packages/app/src/i18n/vi.ts
+++ b/packages/app/src/i18n/vi.ts
@@ -404,6 +404,8 @@ export const dict = {
"mcp.status.connected": "đã kết nối",
"mcp.status.failed": "thất bại",
"mcp.status.needs_auth": "cần xác thực",
+ "mcp.status.needs_client_registration": "cần đăng ký ứng dụng khách",
+ "mcp.status.pending": "đang kết nối…",
"mcp.status.disabled": "đã tắt",
"mcp.auth.clickToAuthenticate": "Bấm để xác thực",
"dialog.fork.empty": "Không có tin nhắn nào để phân nhánh",
@@ -924,6 +926,83 @@ export const dict = {
"settings.section.server": "Máy chủ",
"settings.tab.general": "Tổng quan",
"settings.tab.shortcuts": "Phím tắt",
+ "settings.tab.plugins": "Plugin",
+ "settings.plugins.section.browse": "Duyệt",
+ "settings.plugins.section.installed": "Đã cài đặt",
+ "settings.plugins.source.all": "Tất cả nguồn",
+ "settings.plugins.source.ecosystem": "Hệ sinh thái",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "Thêm máy chủ",
+ "settings.mcp.type.local": "Cục bộ",
+ "settings.mcp.type.remote": "Từ xa",
+ "settings.mcp.empty": "Chưa cấu hình máy chủ MCP nào.",
+ "settings.mcp.deleted": "Đã xóa {{name}}.",
+ "settings.mcp.errors.refresh": "Không thể tải các máy chủ MCP.",
+ "settings.mcp.status.pending": "đang kết nối…",
+ "settings.mcp.action.connect": "Kết nối",
+ "settings.mcp.action.disconnect": "Ngắt kết nối",
+ "settings.mcp.action.authenticate": "Xác thực",
+ "settings.mcp.action.edit": "Chỉnh sửa",
+ "settings.mcp.action.delete": "Xóa",
+ "settings.mcp.delete.title": "Xóa máy chủ MCP",
+ "settings.mcp.delete.body": "Gỡ bỏ {{name}}? Không thể hoàn tác.",
+ "settings.mcp.form.title.add": "Thêm máy chủ MCP",
+ "settings.mcp.form.title.edit": "Sửa máy chủ MCP",
+ "settings.mcp.form.subtitle": "Cấu hình cài đặt kết nối.",
+ "settings.mcp.form.name": "Tên",
+ "settings.mcp.form.command": "Lệnh",
+ "settings.mcp.form.command.hint": "vd. npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "Thư mục làm việc",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "Biến môi trường",
+ "settings.mcp.form.headers": "Tiêu đề",
+ "settings.mcp.form.addRow": "Thêm hàng",
+ "settings.mcp.form.removeRow": "Xóa",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "ID ứng dụng khách",
+ "settings.mcp.form.oauth.clientSecret": "Mật khẩu ứng dụng khách",
+ "settings.mcp.form.oauth.clientSecret.keep": "Để trống để bỏ qua — có thể cần xác thực lại",
+ "settings.mcp.form.oauth.scope": "Phạm vi",
+ "settings.mcp.form.oauth.callbackPort": "Cổng callback",
+ "settings.mcp.form.oauth.disableAutodetect": "Tắt tự động phát hiện OAuth",
+ "settings.mcp.form.enabled": "Đã bật",
+ "settings.mcp.form.timeout": "Thời gian chờ (ms)",
+ "settings.mcp.form.save": "Lưu",
+ "settings.mcp.form.cancel": "Hủy",
+ "settings.mcp.form.error.name": "Nhập tên.",
+ "settings.mcp.form.error.command": "Nhập lệnh.",
+ "settings.mcp.form.error.url": "Nhập URL.",
+ "settings.mcp.form.error.callbackPort": "Cổng callback phải từ 1 đến 65535.",
+ "settings.mcp.form.error.timeout": "Thời gian chờ phải là số nguyên dương.",
+ "settings.mcp.errors.invalid": "Sửa các trường được đánh dấu.",
+ "settings.mcp.errors.duplicate": "Đã tồn tại máy chủ với tên này.",
+ "settings.mcp.errors.noConfig": "Không thể đọc cấu hình của {{name}} — có thể định nghĩa ngoài dự án.",
+ "settings.mcp.edit.warn": "Lưu sẽ kết nối lại máy chủ này.",
+ "settings.plugins.search.placeholder": "Tìm kiếm plugin…",
+ "settings.plugins.detail.install": "Cài đặt…",
+ "settings.plugins.detail.copy": "Sao chép đoạn cấu hình",
+ "settings.plugins.detail.copied": "Đã sao chép",
+ "settings.plugins.detail.notOnNpm": "Không tìm thấy trên npm — thêm thủ công vào opencode.json",
+ "settings.plugins.install.title": "Cài đặt plugin",
+ "settings.plugins.install.description": "Thêm {{name}} vào đâu?",
+ "settings.plugins.install.global": "Toàn cục (~/.config/opencode)",
+ "settings.plugins.install.project": "Dự án này",
+ "settings.plugins.install.cancel": "Hủy",
+ "settings.plugins.install.success": "Đã cài đặt {{name}}. Khởi động lại OpenCode để tải nó.",
+ "settings.plugins.installed.empty": "Không có plugin nào được cài.",
+ "settings.plugins.installed.provenance.global": "Toàn cục",
+ "settings.plugins.installed.provenance.project": "Dự án",
+ "settings.plugins.installed.disable": "Vô hiệu hóa",
+ "settings.plugins.installed.enable": "Kích hoạt",
+ "settings.plugins.installed.uninstall": "Gỡ cài đặt",
+ "settings.plugins.installed.uninstallBody": "Gỡ cài đặt {{name}} khỏi {{scope}}? Mục này sẽ bị xóa khỏi tệp cấu hình.",
+ "settings.plugins.installed.recentlyRemoved": "Gần đây đã xóa",
+ "settings.plugins.installed.openConfig": "Mở cấu hình",
+ "settings.plugins.errors.parseFailed": "Không thể đọc {{path}} — sửa hoặc xóa tệp để quản lý plugin tại đó.",
+ "settings.plugins.errors.catalog": "Không thể làm mới danh mục plugin.",
+ "settings.plugins.stale": "Đang hiển thị danh mục đã lưu cache ({{age}} trước).",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL tích hợp",
"settings.desktop.wsl.description": "Chạy máy chủ OpenCode bên trong WSL trên Windows.",
@@ -1099,8 +1178,6 @@ export const dict = {
"settings.agents.description": "Cài đặt tác nhân sẽ được cấu hình ở đây.",
"settings.commands.title": "Lệnh",
"settings.commands.description": "Cài đặt lệnh sẽ được cấu hình ở đây.",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "Có thể cấu hình cài đặt MCP tại đây.",
"settings.permissions.title": "Quyền",
"settings.permissions.description": "Kiểm soát những công cụ mà máy chủ có thể sử dụng theo mặc định.",
"settings.permissions.section.tools": "Công cụ",
diff --git a/packages/app/src/i18n/zh.ts b/packages/app/src/i18n/zh.ts
index b0ba0453479b..6225157bed77 100644
--- a/packages/app/src/i18n/zh.ts
+++ b/packages/app/src/i18n/zh.ts
@@ -445,6 +445,8 @@ export const dict = {
"mcp.status.connected": "已连接",
"mcp.status.failed": "失败",
"mcp.status.needs_auth": "需要授权",
+ "mcp.status.needs_client_registration": "需要客户端注册",
+ "mcp.status.pending": "连接中…",
"mcp.auth.clickToAuthenticate": "点击进行授权",
"mcp.status.disabled": "已禁用",
@@ -883,6 +885,83 @@ export const dict = {
"settings.tab.general": "通用",
"settings.tab.shortcuts": "快捷键",
+ "settings.tab.plugins": "插件",
+ "settings.plugins.section.browse": "浏览",
+ "settings.plugins.section.installed": "已安装",
+ "settings.plugins.source.all": "全部来源",
+ "settings.plugins.source.ecosystem": "生态系统",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "添加服务器",
+ "settings.mcp.type.local": "本地",
+ "settings.mcp.type.remote": "远程",
+ "settings.mcp.empty": "尚未配置 MCP 服务器。",
+ "settings.mcp.deleted": "已删除 {{name}}。",
+ "settings.mcp.errors.refresh": "无法加载 MCP 服务器。",
+ "settings.mcp.status.pending": "连接中…",
+ "settings.mcp.action.connect": "连接",
+ "settings.mcp.action.disconnect": "断开",
+ "settings.mcp.action.authenticate": "认证",
+ "settings.mcp.action.edit": "编辑",
+ "settings.mcp.action.delete": "删除",
+ "settings.mcp.delete.title": "删除 MCP 服务器",
+ "settings.mcp.delete.body": "移除 {{name}}?此操作无法撤销。",
+ "settings.mcp.form.title.add": "添加 MCP 服务器",
+ "settings.mcp.form.title.edit": "编辑 MCP 服务器",
+ "settings.mcp.form.subtitle": "配置连接设置。",
+ "settings.mcp.form.name": "名称",
+ "settings.mcp.form.command": "命令",
+ "settings.mcp.form.command.hint": "例如 npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "工作目录",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "环境变量",
+ "settings.mcp.form.headers": "标头",
+ "settings.mcp.form.addRow": "添加行",
+ "settings.mcp.form.removeRow": "移除",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "客户端 ID",
+ "settings.mcp.form.oauth.clientSecret": "客户端密钥",
+ "settings.mcp.form.oauth.clientSecret.keep": "留空则省略 — 可能需要重新认证",
+ "settings.mcp.form.oauth.scope": "作用域",
+ "settings.mcp.form.oauth.callbackPort": "回调端口",
+ "settings.mcp.form.oauth.disableAutodetect": "禁用 OAuth 自动检测",
+ "settings.mcp.form.enabled": "已启用",
+ "settings.mcp.form.timeout": "超时 (ms)",
+ "settings.mcp.form.save": "保存",
+ "settings.mcp.form.cancel": "取消",
+ "settings.mcp.form.error.name": "请输入名称。",
+ "settings.mcp.form.error.command": "请输入命令。",
+ "settings.mcp.form.error.url": "请输入 URL。",
+ "settings.mcp.form.error.callbackPort": "回调端口必须是 1 到 65535 之间的数字。",
+ "settings.mcp.form.error.timeout": "超时必须是正整数。",
+ "settings.mcp.errors.invalid": "请修正突出显示的字段。",
+ "settings.mcp.errors.duplicate": "已存在同名服务器。",
+ "settings.mcp.errors.noConfig": "无法读取 {{name}} 的配置 — 可能定义在项目之外。",
+ "settings.mcp.edit.warn": "保存将重新连接此服务器。",
+ "settings.plugins.search.placeholder": "搜索插件…",
+ "settings.plugins.detail.install": "安装…",
+ "settings.plugins.detail.copy": "复制配置片段",
+ "settings.plugins.detail.copied": "已复制",
+ "settings.plugins.detail.notOnNpm": "在 npm 上未找到 — 请手动添加到 opencode.json",
+ "settings.plugins.install.title": "安装插件",
+ "settings.plugins.install.description": "将 {{name}} 添加到哪里?",
+ "settings.plugins.install.global": "全局 (~/.config/opencode)",
+ "settings.plugins.install.project": "此项目",
+ "settings.plugins.install.cancel": "取消",
+ "settings.plugins.install.success": "已安装 {{name}}。重启 OpenCode 以加载。",
+ "settings.plugins.installed.empty": "尚未安装任何插件。",
+ "settings.plugins.installed.provenance.global": "全局",
+ "settings.plugins.installed.provenance.project": "项目",
+ "settings.plugins.installed.disable": "停用",
+ "settings.plugins.installed.enable": "启用",
+ "settings.plugins.installed.uninstall": "卸载",
+ "settings.plugins.installed.uninstallBody": "从{{scope}}卸载{{name}}?该条目将从配置文件中移除。",
+ "settings.plugins.installed.recentlyRemoved": "最近移除",
+ "settings.plugins.installed.openConfig": "打开配置",
+ "settings.plugins.errors.parseFailed": "无法读取 {{path}} — 请修复或删除该文件以管理其中的插件。",
+ "settings.plugins.errors.catalog": "无法刷新插件目录。",
+ "settings.plugins.stale": "正在显示缓存目录({{age}} 前)。",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL 集成",
"settings.desktop.wsl.description": "在 Windows 的 WSL 环境中运行 OpenCode 服务器。",
@@ -1056,10 +1135,6 @@ export const dict = {
"settings.commands.title": "命令",
"settings.commands.description": "可在此处配置命令设置。",
-
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "可在此处配置 MCP 设置。",
-
"settings.permissions.title": "权限",
"settings.permissions.description": "控制服务器默认可以使用哪些工具。",
"settings.permissions.section.tools": "工具",
diff --git a/packages/app/src/i18n/zht.ts b/packages/app/src/i18n/zht.ts
index 6cc3d555289d..f7d190b9adb8 100644
--- a/packages/app/src/i18n/zht.ts
+++ b/packages/app/src/i18n/zht.ts
@@ -425,6 +425,8 @@ export const dict = {
"mcp.status.connected": "已連線",
"mcp.status.failed": "失敗",
"mcp.status.needs_auth": "需要授權",
+ "mcp.status.needs_client_registration": "需要用戶端註冊",
+ "mcp.status.pending": "連線中…",
"mcp.auth.clickToAuthenticate": "按一下以進行授權",
"mcp.status.disabled": "已停用",
@@ -877,6 +879,83 @@ export const dict = {
"settings.section.server": "伺服器",
"settings.tab.general": "一般",
"settings.tab.shortcuts": "快速鍵",
+ "settings.tab.plugins": "外掛",
+ "settings.plugins.section.browse": "瀏覽",
+ "settings.plugins.section.installed": "已安裝",
+ "settings.plugins.source.all": "全部來源",
+ "settings.plugins.source.ecosystem": "生態系統",
+ "settings.plugins.source.awesome": "Awesome",
+ "settings.plugins.source.cafe": "Cafe",
+ "settings.tab.mcp": "MCP",
+ "settings.mcp.add": "新增伺服器",
+ "settings.mcp.type.local": "本機",
+ "settings.mcp.type.remote": "遠端",
+ "settings.mcp.empty": "尚未設定 MCP 伺服器。",
+ "settings.mcp.deleted": "已刪除 {{name}}。",
+ "settings.mcp.errors.refresh": "無法載入 MCP 伺服器。",
+ "settings.mcp.status.pending": "連線中…",
+ "settings.mcp.action.connect": "連線",
+ "settings.mcp.action.disconnect": "中斷連線",
+ "settings.mcp.action.authenticate": "驗證",
+ "settings.mcp.action.edit": "編輯",
+ "settings.mcp.action.delete": "刪除",
+ "settings.mcp.delete.title": "刪除 MCP 伺服器",
+ "settings.mcp.delete.body": "移除 {{name}}?此操作無法復原。",
+ "settings.mcp.form.title.add": "新增 MCP 伺服器",
+ "settings.mcp.form.title.edit": "編輯 MCP 伺服器",
+ "settings.mcp.form.subtitle": "設定連線設定。",
+ "settings.mcp.form.name": "名稱",
+ "settings.mcp.form.command": "命令",
+ "settings.mcp.form.command.hint": "例如 npx -y @modelcontextprotocol/server-filesystem",
+ "settings.mcp.form.cwd": "工作目錄",
+ "settings.mcp.form.url": "URL",
+ "settings.mcp.form.env": "環境變數",
+ "settings.mcp.form.headers": "標頭",
+ "settings.mcp.form.addRow": "新增行",
+ "settings.mcp.form.removeRow": "移除",
+ "settings.mcp.form.oauth": "OAuth",
+ "settings.mcp.form.oauth.clientId": "用戶端 ID",
+ "settings.mcp.form.oauth.clientSecret": "用戶端密碼",
+ "settings.mcp.form.oauth.clientSecret.keep": "留空則省略 — 可能需要重新驗證",
+ "settings.mcp.form.oauth.scope": "範圍",
+ "settings.mcp.form.oauth.callbackPort": "回呼連接埠",
+ "settings.mcp.form.oauth.disableAutodetect": "停用 OAuth 自動偵測",
+ "settings.mcp.form.enabled": "已啟用",
+ "settings.mcp.form.timeout": "逾時 (ms)",
+ "settings.mcp.form.save": "儲存",
+ "settings.mcp.form.cancel": "取消",
+ "settings.mcp.form.error.name": "請輸入名稱。",
+ "settings.mcp.form.error.command": "請輸入命令。",
+ "settings.mcp.form.error.url": "請輸入 URL。",
+ "settings.mcp.form.error.callbackPort": "回呼連接埠必須是 1 到 65535 之間的數字。",
+ "settings.mcp.form.error.timeout": "逾時必須是正整數。",
+ "settings.mcp.errors.invalid": "請修正醒目提示的欄位。",
+ "settings.mcp.errors.duplicate": "已有同名伺服器。",
+ "settings.mcp.errors.noConfig": "無法讀取 {{name}} 的設定 — 可能定義在專案之外。",
+ "settings.mcp.edit.warn": "儲存會重新連線此伺服器。",
+ "settings.plugins.search.placeholder": "搜尋外掛…",
+ "settings.plugins.detail.install": "安裝…",
+ "settings.plugins.detail.copy": "複製設定片段",
+ "settings.plugins.detail.copied": "已複製",
+ "settings.plugins.detail.notOnNpm": "在 npm 上找不到 — 請手動加入 opencode.json",
+ "settings.plugins.install.title": "安裝外掛",
+ "settings.plugins.install.description": "要將 {{name}} 加入哪裡?",
+ "settings.plugins.install.global": "全域 (~/.config/opencode)",
+ "settings.plugins.install.project": "此專案",
+ "settings.plugins.install.cancel": "取消",
+ "settings.plugins.install.success": "已安裝 {{name}}。重新啟動 OpenCode 以載入。",
+ "settings.plugins.installed.empty": "尚未安裝任何外掛。",
+ "settings.plugins.installed.provenance.global": "全域",
+ "settings.plugins.installed.provenance.project": "專案",
+ "settings.plugins.installed.disable": "停用",
+ "settings.plugins.installed.enable": "啟用",
+ "settings.plugins.installed.uninstall": "解除安裝",
+ "settings.plugins.installed.uninstallBody": "從{{scope}}解除安裝{{name}}?該條目將從設定檔中移除。",
+ "settings.plugins.installed.recentlyRemoved": "最近移除",
+ "settings.plugins.installed.openConfig": "開啟設定",
+ "settings.plugins.errors.parseFailed": "無法讀取 {{path}} — 請修正或刪除該檔案以管理其中的外掛。",
+ "settings.plugins.errors.catalog": "無法重新整理外掛目錄。",
+ "settings.plugins.stale": "正在顯示快取目錄({{age}} 前)。",
"settings.desktop.section.wsl": "WSL",
"settings.desktop.wsl.title": "WSL 整合",
"settings.desktop.wsl.description": "在 Windows 上的 WSL 中執行 OpenCode 伺服器。",
@@ -1051,9 +1130,6 @@ export const dict = {
"settings.agents.description": "代理程式設定將在此處可設定。",
"settings.commands.title": "命令",
"settings.commands.description": "命令設定將在此處可設定。",
- "settings.mcp.title": "MCP",
- "settings.mcp.description": "MCP 設定將在此處可設定。",
-
"settings.permissions.title": "權限",
"settings.permissions.description": "控制伺服器預設可以使用哪些工具。",
"settings.permissions.section.tools": "工具",
diff --git a/packages/desktop/package.json b/packages/desktop/package.json
index 7c55897b748a..7468574a66c1 100644
--- a/packages/desktop/package.json
+++ b/packages/desktop/package.json
@@ -31,7 +31,8 @@
"electron-store": "11.0.2",
"electron-updater": "6.8.9",
"electron-window-state": "^5.0.3",
- "drizzle-orm": "catalog:"
+ "drizzle-orm": "catalog:",
+ "jsonc-parser": "3.3.1"
},
"devDependencies": {
"@actions/artifact": "4.0.0",
diff --git a/packages/desktop/src/main/ipc.ts b/packages/desktop/src/main/ipc.ts
index d8abfc1ceb3b..74d249955aa2 100644
--- a/packages/desktop/src/main/ipc.ts
+++ b/packages/desktop/src/main/ipc.ts
@@ -24,6 +24,7 @@ import type { UpdaterController } from "./updater-controller"
import { createUpdaterSubscriptions } from "./updater-subscriptions"
import { createDesktopDraftStore } from "./draft-store"
import { nativeT } from "./native-translations"
+import { registerPluginManager } from "./plugin-manager"
const pickerFilters = (ext?: string[]) => {
if (!ext || ext.length === 0) return undefined
@@ -149,6 +150,8 @@ export function registerIpcHandlers(deps: Deps) {
return data ? data.buffer.slice(data.byteOffset, data.byteOffset + data.byteLength) : null
})
+ registerPluginManager(ipcMain, { userDataDir: app.getPath("userData") })
+
ipcMain.handle(
"open-directory-picker",
async (_event: IpcMainInvokeEvent, opts?: { multiple?: boolean; title?: string; defaultPath?: string }) => {
diff --git a/packages/desktop/src/main/plugin-catalog.test.ts b/packages/desktop/src/main/plugin-catalog.test.ts
new file mode 100644
index 000000000000..4cfeabfc01a3
--- /dev/null
+++ b/packages/desktop/src/main/plugin-catalog.test.ts
@@ -0,0 +1,395 @@
+import { describe, expect, test, beforeEach, afterEach } from "bun:test"
+import { mkdtemp, rm, readFile } from "node:fs/promises"
+import { tmpdir } from "node:os"
+import { join } from "node:path"
+import { createCatalogFetcher } from "./plugin-catalog"
+
+const json = (body: unknown, status = 200) =>
+ new Response(JSON.stringify(body), { status, headers: { "content-type": "application/json" } })
+
+const CAFE_JSON = JSON.stringify([
+ {
+ productId: "opencode-helicone-session",
+ type: "plugin",
+ displayName: "OpenCode Helicone Session",
+ description: "Automatically inject Helicone session headers",
+ repoUrl: "https://github.com/H2Shami/opencode-helicone-session",
+ },
+ {
+ productId: "cafe-only-plugin",
+ type: "plugin",
+ displayName: "Cafe Only Plugin",
+ description: "Only on the cafe",
+ repoUrl: "https://github.com/example/cafe-only-plugin",
+ },
+ { productId: "not-a-plugin", type: "mcp-server", displayName: "Skip me", repoUrl: "https://github.com/x/y" },
+])
+
+const ECOSYSTEM_HTML = `
+`
+
+const AWESOME_MD = `
+# awesome-opencode
+
+## Plugins
+
+- [opencode-daytona](https://github.com/daytona/integrations/tree/main/packages/opencode-plugin) - Run sessions in Daytona sandboxes
+- [opencode-wakatime](https://github.com/angristan/opencode-wakatime) - Track usage with Wakatime
+`
+
+const npmPackument = (name: string, version: string, description: string, repository?: string) => ({
+ "dist-tags": { latest: version },
+ versions: {
+ [version]: {
+ name,
+ version,
+ description,
+ ...(repository ? { repository: { url: repository } } : {}),
+ },
+ },
+ time: { [version]: "2026-08-01T00:00:00.000Z", modified: "2026-08-20T00:00:00.000Z" },
+})
+
+describe("createCatalogFetcher", () => {
+ let dir: string
+ beforeEach(async () => {
+ dir = await mkdtemp(join(tmpdir(), "opencode-plugin-catalog-"))
+ })
+ afterEach(async () => {
+ await rm(dir, { recursive: true, force: true })
+ })
+
+ test("merges ecosystem + awesome, dedupes by npm name, enriches from npm", async () => {
+ const calls: string[] = []
+ const fetchImpl: typeof fetch = async (input) => {
+ const url = String(input instanceof Request ? input.url : input)
+ calls.push(url)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(ECOSYSTEM_HTML)
+ if (url.includes("awesome-opencode")) return new Response(AWESOME_MD)
+ if (url.startsWith("https://registry.npmjs.org/opencode-daytona"))
+ return json(npmPackument("opencode-daytona", "1.2.3", "Run sessions in Daytona sandboxes", "https://github.com/daytona/integrations"))
+ if (url.startsWith("https://registry.npmjs.org/opencode-helicone-session"))
+ return json(npmPackument("opencode-helicone-session", "0.1.0", "Inject Helicone session headers"))
+ if (url.startsWith("https://registry.npmjs.org/opencode-wakatime"))
+ return json(npmPackument("opencode-wakatime", "1.0.0", "Track usage with Wakatime"))
+ if (url.startsWith("https://api.npmjs.org/downloads/point/last-week/"))
+ return json({ downloads: 4211 })
+ throw new Error("unexpected fetch: " + url)
+ }
+ const f = createCatalogFetcher({ fetchImpl, cacheDir: dir })
+ const result = await f.fetchCatalog()
+ expect(result.stale).toBe(false)
+ const names = result.entries.map((e) => e.name).sort()
+ expect(names).toEqual(["opencode-daytona", "opencode-helicone-session", "opencode-wakatime"])
+ const daytona = result.entries.find((e) => e.name === "opencode-daytona")!
+ expect(daytona.version).toBe("1.2.3")
+ expect(daytona.downloadsLastWeek).toBe(4211)
+ expect(daytona.onNpm).toBe(true)
+ expect(daytona.source).toBe("ecosystem") // ecosystem wins dedupe
+ const helicone = result.entries.find((e) => e.name === "opencode-helicone-session")!
+ expect(helicone.updatedAt).toBe("2026-08-20T00:00:00.000Z")
+ })
+
+ test("keeps entries not on npm with onNpm false", async () => {
+ const fetchImpl: typeof fetch = async (input) => {
+ const url = String(input instanceof Request ? input.url : input)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(ECOSYSTEM_HTML)
+ if (url.includes("awesome-opencode")) return new Response(AWESOME_MD)
+ if (url.startsWith("https://registry.npmjs.org/")) return new Response("not found", { status: 404 })
+ if (url.startsWith("https://api.npmjs.org/")) return json({ downloads: 0 })
+ throw new Error("unexpected fetch: " + url)
+ }
+ const f = createCatalogFetcher({ fetchImpl, cacheDir: dir })
+ const result = await f.fetchCatalog()
+ expect(result.entries.every((e) => !e.onNpm || e.version)).toBe(true)
+ expect(result.entries.find((e) => e.name === "opencode-daytona")?.onNpm).toBe(false)
+ })
+
+ test("fresh disk cache is served as fresh even when fetch would fail", async () => {
+ // Prime cache: first call succeeds
+ const okFetch: typeof fetch = async (input) => {
+ const url = String(input instanceof Request ? input.url : input)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(ECOSYSTEM_HTML)
+ if (url.includes("awesome-opencode")) return new Response(AWESOME_MD)
+ if (url.startsWith("https://registry.npmjs.org/")) return new Response("nf", { status: 404 })
+ if (url.startsWith("https://api.npmjs.org/")) return json({ downloads: 1 })
+ throw new Error("unexpected")
+ }
+ const f1 = createCatalogFetcher({ fetchImpl: okFetch, cacheDir: dir })
+ await f1.fetchCatalog()
+ const cacheFile = join(dir, "plugin-catalog-cache.json")
+ const cached = JSON.parse(await readFile(cacheFile, "utf8"))
+ expect(cached.entries.length).toBeGreaterThan(0)
+
+ // Cache-first: a fresh disk cache is served instantly, network untouched.
+ const failingFetch: typeof fetch = async () => { throw new Error("offline") }
+ const f2 = createCatalogFetcher({ fetchImpl: failingFetch, cacheDir: dir })
+ const result = await f2.fetchCatalog()
+ expect(result.stale).toBe(false)
+ expect(result.entries.length).toBeGreaterThan(0)
+ })
+
+ test("treats non-ok source responses as fetch failures, serving stale cache", async () => {
+ const okFetch: typeof fetch = async (input) => {
+ const url = String(input instanceof Request ? input.url : input)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(ECOSYSTEM_HTML)
+ if (url.includes("awesome-opencode")) return new Response(AWESOME_MD)
+ if (url.startsWith("https://registry.npmjs.org/")) return new Response("nf", { status: 404 })
+ if (url.startsWith("https://api.npmjs.org/")) return json({ downloads: 1 })
+ throw new Error("unexpected")
+ }
+ const past = 1_000_000 + 25 * 60 * 60 * 1000
+ const f1 = createCatalogFetcher({ fetchImpl: okFetch, cacheDir: dir, now: () => 1_000_000 })
+ await f1.fetchCatalog()
+
+ // Beyond-TTL clock so the disk cache is stale and a refresh is triggered.
+
+ const eco404: typeof fetch = async (input) => {
+ const url = String(input instanceof Request ? input.url : input)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response("404", { status: 404 })
+ if (url.includes("awesome-opencode")) return new Response(AWESOME_MD)
+ throw new Error("unexpected")
+ }
+ const f2 = createCatalogFetcher({ fetchImpl: eco404, cacheDir: dir, now: () => past })
+ const ecoResult = await f2.fetchCatalog()
+ expect(ecoResult.stale).toBe(true)
+ expect(ecoResult.entries.length).toBeGreaterThan(0)
+
+ const awesome500: typeof fetch = async (input) => {
+ const url = String(input instanceof Request ? input.url : input)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(ECOSYSTEM_HTML)
+ if (url.includes("awesome-opencode")) return new Response("boom", { status: 500 })
+ throw new Error("unexpected")
+ }
+ const f2b = createCatalogFetcher({ fetchImpl: awesome500, cacheDir: dir, now: () => past })
+ const awesomeResult = await f2b.fetchCatalog()
+ expect(awesomeResult.stale).toBe(true)
+ })
+
+ test("parses awesome README details/summary format with repo links", async () => {
+ const awesomeDetails = `
+
+
+
+🧩 PLUGINS
+
+
+ @scope/opencode-arise - Orchestrator harness
+
+ A lightweight orchestrator layer.
+ 🔗 View Repository
+
+
+
+
+ Wakatime Plugin - Track usage
+
+ 🔗 View Repository
+
+
+
+
+
+
+`
+ const fetchImpl: typeof fetch = async (input) => {
+ const url = String(input instanceof Request ? input.url : input)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(ECOSYSTEM_HTML)
+ if (url.includes("awesome-opencode")) return new Response(awesomeDetails)
+ if (url.startsWith("https://registry.npmjs.org/")) return new Response("nf", { status: 404 })
+ throw new Error("unexpected fetch: " + url)
+ }
+ const f = createCatalogFetcher({ fetchImpl, cacheDir: dir })
+ const result = await f.fetchCatalog()
+ const arise = result.entries.find((e) => e.name === "@scope/opencode-arise")!
+ expect(arise.source).toBe("awesome")
+ expect(arise.repository).toBe("https://github.com/scope/opencode-arise")
+ expect(arise.description).toBe("Orchestrator harness")
+ const wakatime = result.entries.find((e) => e.name === "Wakatime Plugin")!
+ expect(wakatime.source).toBe("awesome")
+ expect(wakatime.repository).toBe("https://github.com/angristan/opencode-wakatime")
+ expect(result.entries.every((e) => !e.onNpm)).toBe(true)
+ })
+
+ test("maps tree/blob URLs to last path segment for npm fallback, strips inline tags in descriptions", async () => {
+ const treeHtml = `
+`
+ const fetchImpl: typeof fetch = async (input) => {
+ const url = String(input instanceof Request ? input.url : input)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(treeHtml)
+ if (url.includes("awesome-opencode")) return new Response("")
+ if (url.startsWith("https://registry.npmjs.org/opencode-plugin"))
+ return json(npmPackument("opencode-plugin", "1.0.0", "Run sessions in Daytona sandboxes"))
+ if (url.startsWith("https://registry.npmjs.org/")) return new Response("nf", { status: 404 })
+ if (url.startsWith("https://api.npmjs.org/")) return json({ downloads: 7 })
+ throw new Error("unexpected fetch: " + url)
+ }
+ const f = createCatalogFetcher({ fetchImpl, cacheDir: dir })
+ const result = await f.fetchCatalog()
+ // Display name has a space (not npm-ish), so the tree slug "opencode-plugin"
+ // must be used instead of the repo slug "integrations".
+ const daytona = result.entries.find((e) => e.name === "opencode-plugin")!
+ expect(daytona.onNpm).toBe(true)
+ expect(daytona.version).toBe("1.0.0")
+ // Inline markup in the description cell must not drop the row.
+ const goal = result.entries.find((e) => e.name === "opencode-goal-plugin")!
+ expect(goal.description).toBe("Session-scoped /goal workflow")
+ })
+
+ test("fresh cache (under TTL) is served without network", async () => {
+ let networkCalls = 0
+ const fetchImpl: typeof fetch = async (input) => {
+ networkCalls++
+ const url = String(input instanceof Request ? input.url : input)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(ECOSYSTEM_HTML)
+ if (url.includes("awesome-opencode")) return new Response(AWESOME_MD)
+ if (url.startsWith("https://registry.npmjs.org/")) return new Response("nf", { status: 404 })
+ if (url.startsWith("https://api.npmjs.org/")) return json({ downloads: 1 })
+ throw new Error("unexpected")
+ }
+ const f = createCatalogFetcher({ fetchImpl, cacheDir: dir })
+ await f.fetchCatalog()
+ const first = networkCalls
+ await f.fetchCatalog()
+ expect(networkCalls).toBe(first) // served from memory cache
+ })
+
+ test("disk cache is served instantly when fresh, without any network", async () => {
+ // Prime disk cache with a long-lived fetcher
+ const priming: typeof fetch = async (input) => {
+ const url = String(input instanceof Request ? input.url : input)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(ECOSYSTEM_HTML)
+ if (url.includes("awesome-opencode")) return new Response(AWESOME_MD)
+ if (url.startsWith("https://registry.npmjs.org/")) return new Response("nf", { status: 404 })
+ if (url.startsWith("https://api.npmjs.org/")) return json({ downloads: 1 })
+ throw new Error("unexpected")
+ }
+ const f1 = createCatalogFetcher({ fetchImpl: priming, cacheDir: dir, now: () => 1_000_000 })
+ await f1.fetchCatalog()
+
+ // New process (no memory cache), network completely dead, clock inside TTL.
+ const failing: typeof fetch = async () => {
+ throw new Error("network must not be touched")
+ }
+ const f2 = createCatalogFetcher({ fetchImpl: failing, cacheDir: dir, now: () => 1_000_000 + 60_000 })
+ const t0 = Date.now()
+ const result = await f2.fetchCatalog()
+ expect(Date.now() - t0).toBeLessThan(500)
+ expect(result.stale).toBe(false)
+ expect(result.entries.length).toBeGreaterThan(0)
+ })
+
+ test("beyond-TTL disk cache is served immediately as stale, then refreshed in background", async () => {
+ const priming: typeof fetch = async (input) => {
+ const url = String(input instanceof Request ? input.url : input)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(ECOSYSTEM_HTML)
+ if (url.includes("awesome-opencode")) return new Response(AWESOME_MD)
+ if (url.startsWith("https://registry.npmjs.org/")) return new Response("nf", { status: 404 })
+ if (url.startsWith("https://api.npmjs.org/")) return json({ downloads: 1 })
+ throw new Error("unexpected")
+ }
+ const f1 = createCatalogFetcher({ fetchImpl: priming, cacheDir: dir, now: () => 1_000_000 })
+ const first = await f1.fetchCatalog()
+
+ let refreshable = true
+ const refresh: typeof fetch = async (input) => {
+ const url = String(input instanceof Request ? input.url : input)
+ if (!refreshable) throw new Error("offline during refresh")
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(ECOSYSTEM_HTML)
+ if (url.includes("awesome-opencode")) return new Response(AWESOME_MD)
+ if (url.startsWith("https://registry.npmjs.org/")) return new Response("nf", { status: 404 })
+ if (url.startsWith("https://api.npmjs.org/")) return json({ downloads: 2 })
+ throw new Error("unexpected")
+ }
+ const f2 = createCatalogFetcher({ fetchImpl: refresh, cacheDir: dir, now: () => 1_000_000 + 25 * 60 * 60 * 1000 })
+ const served = await f2.fetchCatalog()
+ expect(served.stale).toBe(true)
+ expect(served.entries.length).toBe(first.entries.length)
+ // Background refresh writes a fresh cache; a subsequent fresh reader sees stale: false
+ await f2.refreshInBackground().catch(() => {})
+ refreshable = false
+ const f3 = createCatalogFetcher({ fetchImpl: refresh, cacheDir: dir, now: () => 1_000_000 + 26 * 60 * 60 * 1000 })
+ const after = await f3.fetchCatalog()
+ expect(after.stale).toBe(false)
+ })
+
+ test("npm enrichment runs with bounded concurrency, not sequentially", async () => {
+ let inFlight = 0
+ let peak = 0
+ const fetchImpl: typeof fetch = async (input) => {
+ const url = String(input instanceof Request ? input.url : input)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(ECOSYSTEM_HTML)
+ if (url.includes("awesome-opencode")) return new Response(AWESOME_MD)
+ if (url.startsWith("https://registry.npmjs.org/") || url.startsWith("https://api.npmjs.org/")) {
+ inFlight++
+ peak = Math.max(peak, inFlight)
+ await new Promise((resolve) => setTimeout(resolve, 10))
+ inFlight--
+ if (url.startsWith("https://api.npmjs.org/")) return json({ downloads: 1 })
+ return new Response("nf", { status: 404 })
+ }
+ throw new Error("unexpected")
+ }
+ const f = createCatalogFetcher({ fetchImpl, cacheDir: dir })
+ const result = await f.fetchCatalog()
+ expect(result.entries.length).toBeGreaterThan(0)
+ // With 185+ entries sequential would be peak=1; bounded concurrency must exceed it
+ // but never exceed the cap (12).
+ expect(peak).toBeGreaterThan(1)
+ expect(peak).toBeLessThanOrEqual(12)
+ })
+
+ test("opencode.cafe entries are merged with source 'cafe', deduped by npm name", async () => {
+ const fetchImpl: typeof fetch = async (input) => {
+ const url = String(input instanceof Request ? input.url : input)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(ECOSYSTEM_HTML)
+ if (url.includes("awesome-opencode")) return new Response(AWESOME_MD)
+ if (url.includes("opencode.cafe") && url.includes("plugins.json")) return new Response(CAFE_JSON)
+ if (url.startsWith("https://registry.npmjs.org/opencode-helicone-session"))
+ return json(npmPackument("opencode-helicone-session", "0.1.0", "Inject Helicone session headers"))
+ if (url.startsWith("https://registry.npmjs.org/opencode-daytona"))
+ return json(npmPackument("opencode-daytona", "1.2.3", "Run sessions in Daytona sandboxes"))
+ if (url.startsWith("https://registry.npmjs.org/")) return new Response("nf", { status: 404 })
+ if (url.startsWith("https://api.npmjs.org/")) return json({ downloads: 1 })
+ throw new Error("unexpected fetch: " + url)
+ }
+ const f = createCatalogFetcher({ fetchImpl, cacheDir: dir })
+ const result = await f.fetchCatalog()
+ // cafe-only entry exists with source cafe
+ const cafeOnly = result.entries.find((e) => e.name === "cafe-only-plugin")
+ expect(cafeOnly?.source).toBe("cafe")
+ expect(cafeOnly?.description).toBe("Only on the cafe")
+ expect(cafeOnly?.repository).toBe("https://github.com/example/cafe-only-plugin")
+ // non-plugin types are skipped
+ expect(result.entries.find((e) => e.name === "not-a-plugin")).toBeUndefined()
+ // dedupe: helicone exists on both awesome and cafe; cafe entry enriched from npm
+ const helicone = result.entries.filter((e) => e.name === "opencode-helicone-session")
+ expect(helicone).toHaveLength(1)
+ expect(helicone[0].onNpm).toBe(true)
+ })
+
+ test("cafe source failure does not break the rest of the catalog", async () => {
+ const fetchImpl: typeof fetch = async (input) => {
+ const url = String(input instanceof Request ? input.url : input)
+ if (url.includes("opencode.ai/docs/ecosystem")) return new Response(ECOSYSTEM_HTML)
+ if (url.includes("awesome-opencode")) return new Response(AWESOME_MD)
+ if (url.includes("opencode.cafe")) return new Response("boom", { status: 500 })
+ if (url.startsWith("https://registry.npmjs.org/")) return new Response("nf", { status: 404 })
+ if (url.startsWith("https://api.npmjs.org/")) return json({ downloads: 1 })
+ throw new Error("unexpected fetch: " + url)
+ }
+ const f = createCatalogFetcher({ fetchImpl, cacheDir: dir })
+ const result = await f.fetchCatalog()
+ expect(result.entries.length).toBeGreaterThan(0)
+ expect(result.entries.find((e) => e.name === "opencode-daytona")).toBeDefined()
+ })
+})
diff --git a/packages/desktop/src/main/plugin-catalog.ts b/packages/desktop/src/main/plugin-catalog.ts
new file mode 100644
index 000000000000..ad8e0f3bb02e
--- /dev/null
+++ b/packages/desktop/src/main/plugin-catalog.ts
@@ -0,0 +1,331 @@
+import { mkdir, readFile, rename, writeFile } from "node:fs/promises"
+import { randomUUID } from "node:crypto"
+import { join } from "node:path"
+
+const ECOSYSTEM_URL = "https://opencode.ai/docs/ecosystem/"
+const AWESOME_URL = "https://raw.githubusercontent.com/awesome-opencode/awesome-opencode/main/README.md"
+const CAFE_URL = "https://raw.githubusercontent.com/R44VC0RP/opencode.cafe/main/bulk/plugins.json"
+const NPM_REGISTRY = "https://registry.npmjs.org/"
+const NPM_DOWNLOADS = "https://api.npmjs.org/downloads/point/last-week/"
+const CACHE_FILE = "plugin-catalog-cache.json"
+const TTL_MS = 24 * 60 * 60 * 1000
+
+export type CatalogSource = "ecosystem" | "awesome" | "cafe"
+
+export type CatalogEntry = {
+ name: string
+ description?: string
+ version?: string
+ downloadsLastWeek?: number
+ updatedAt?: string
+ repository?: string
+ onNpm: boolean
+ source: CatalogSource
+}
+
+export type CatalogResult = { entries: CatalogEntry[]; fetchedAt: number; stale: boolean }
+
+type RawEntry = { name: string; description?: string; url?: string; source: CatalogSource }
+
+const NPM_CONCURRENCY = 12
+
+export function createCatalogFetcher(deps: {
+ fetchImpl?: typeof fetch
+ cacheDir: string
+ now?: () => number
+}) {
+ const doFetch = deps.fetchImpl ?? fetch
+ const now = deps.now ?? Date.now
+ let memory: { result: CatalogResult; at: number } | undefined
+ let refresh: Promise | undefined
+
+ const parseEcosystem = (html: string): RawEntry[] => {
+ const out: RawEntry[] = []
+ // The docs page renders plugins in tables: [name](link) — description.
+ // Match anchor + following description cell (may contain inline markup like ).
+ const rowRe = /| \s*([^<]+)<\/a>\s*<\/td>\s* | ([\s\S]*?)<\/td>/g
+ let m: RegExpExecArray | null
+ while ((m = rowRe.exec(html))) {
+ const name = m[2].trim()
+ if (!name || name === "Name") continue
+ out.push({ name, description: decodeEntities(stripTags(m[3].trim())), url: m[1], source: "ecosystem" })
+ }
+ return out
+ }
+
+ const parseAwesome = (md: string): RawEntry[] => {
+ // Live README uses / blocks under .
+ const scope = md.match(/ [\s\S]*?(?= ", hits[i].end) : scope.length
+ const chunk = scope.slice(hits[i].end, nextStart === -1 ? scope.length : nextStart)
+ const url = chunk.match(/href="(https:\/\/github\.com\/[^"]+)"/)?.[1]
+ if (hits[i].name && hits[i].name.toLowerCase() !== "name") {
+ out.push({ name: hits[i].name, description: hits[i].desc, url, source: "awesome" })
+ }
+ }
+ if (out.length) return out
+ }
+ // Fallback: markdown bullet list under a "## Plugins" heading.
+ const out: RawEntry[] = []
+ const inSection = md.match(/##\s*Plugins[\s\S]*?(?=\n##\s|\*$)/)
+ const body = inSection?.[0] ?? md
+ const lineRe = /-\s*\[([^\]]+)\]\(([^)]+)\)\s*[-–—]\s*(.+)/g
+ let m: RegExpExecArray | null
+ while ((m = lineRe.exec(body))) {
+ const name = m[1].trim()
+ if (!name || name.toLowerCase() === "name") continue
+ out.push({ name, description: m[3].trim(), url: m[2], source: "awesome" })
+ }
+ return out
+ }
+
+ const parseCafe = (raw: string): RawEntry[] => {
+ // opencode.cafe publishes a structured JSON list of marketplace entries.
+ // Only entries with type "plugin" belong in the plugin catalog.
+ try {
+ const parsed = JSON.parse(raw)
+ const items = Array.isArray(parsed) ? parsed : (parsed?.plugins ?? [])
+ if (!Array.isArray(items)) return []
+ const out: RawEntry[] = []
+ for (const item of items) {
+ if (typeof item !== "object" || item === null) continue
+ const type = (item as { type?: unknown }).type
+ if (type !== "plugin") continue
+ const productId = (item as { productId?: unknown }).productId
+ const name = typeof productId === "string" ? productId : (item as { displayName?: unknown }).displayName
+ if (typeof name !== "string" || !name.trim()) continue
+ const description = (item as { description?: unknown }).description
+ const repoUrl = (item as { repoUrl?: unknown }).repoUrl
+ out.push({
+ name: name.trim(),
+ description: typeof description === "string" ? description : undefined,
+ url: typeof repoUrl === "string" ? repoUrl : undefined,
+ source: "cafe",
+ })
+ }
+ return out
+ } catch {
+ return []
+ }
+ }
+
+ const stripTags = (s: string) =>
+ s
+ .replace(/<[^>]*>/g, " ")
+ .replace(/\s+/g, " ")
+ .trim()
+
+ const decodeEntities = (s: string) =>
+ s
+ .replace(/&/g, "&")
+ .replace(/</g, "<")
+ .replace(/>/g, ">")
+ .replace(/"/g, '"')
+ .replace(/'/g, "'")
+
+ const npmName = (entry: RawEntry): string | undefined => {
+ // Prefer npm-looking names; try slug of name first, then repo name from URL.
+ const candidates = [entry.name.trim()]
+ // For deep links like .../tree/main/packages/opencode-plugin the repo slug
+ // ("integrations") is misleading — the last path segment is the package.
+ const deep = entry.url?.match(/github\.com\/[^/]+\/[^/]+\/(?:tree|blob)\/[^/]+\/(.+?)(?:\/)?(?:[?#].*)?$/)?.[1]
+ if (deep) {
+ const last = deep.split("/").filter(Boolean).pop() ?? deep
+ candidates.push(decodeURIComponent(last.replace(/\.git$/, "")))
+ } else {
+ const repo = entry.url?.match(/github\.com\/[^/]+\/([^/#?]+)/)?.[1]
+ if (repo) candidates.push(decodeURIComponent(repo.replace(/\.git$/, "")))
+ }
+ return candidates.find((c) => /^[a-z@][\w./@-]*$/i.test(c)) ?? candidates[0]
+ }
+
+ async function fetchCatalog(): Promise {
+ if (memory && now() - memory.at < TTL_MS) return memory.result
+
+ // Cache-first: serve the disk cache instantly when present, then refresh in
+ // the background. A cold fetch takes seconds (per-entry npm enrichment), and
+ // the Plugins tab must not block on it.
+ const cached = await readDiskCache()
+ if (cached) {
+ const fresh = now() - cached.fetchedAt < TTL_MS
+ if (fresh) return cached
+ startBackgroundRefresh()
+ return { ...cached, stale: true }
+ }
+
+ // Single-flight the cold path: concurrent callers share one network fetch.
+ // With no cache available, a failure must reject (callers have nothing to
+ // fall back to) — hence the rethrow after the shared refresh settles.
+ if (refresh) {
+ await refresh
+ return memory!.result
+ }
+ const settled = fetchFresh().then(
+ async (result) => {
+ memory = { result, at: now() }
+ await writeDiskCache(result)
+ },
+ async (error) => {
+ throw error
+ },
+ )
+ refresh = settled
+ try {
+ await settled
+ return memory!.result
+ } catch (error) {
+ throw new Error("Failed to fetch plugin catalog and no cache available", { cause: error })
+ } finally {
+ refresh = undefined
+ }
+ }
+
+ function startBackgroundRefresh() {
+ if (refresh) return
+ refresh = fetchFresh()
+ .then((result) => {
+ memory = { result, at: now() }
+ return writeDiskCache(result)
+ })
+ .catch(() => {
+ /* offline during refresh — keep serving the stale cache */
+ })
+ .finally(() => {
+ refresh = undefined
+ })
+ }
+
+ // Exposed for tests: flush the background refresh.
+ const refreshInBackground = () => {
+ startBackgroundRefresh()
+ return refresh ?? Promise.resolve()
+ }
+
+ async function fetchFresh(): Promise {
+ // cafe is optional: a failure there must not take down the curated sources.
+ const [ecoRes, awesomeRes, cafeRes] = await Promise.all([
+ doFetch(ECOSYSTEM_URL).then((r) => {
+ if (!r.ok) throw new Error(`ecosystem source returned ${r.status}`)
+ return r.text()
+ }),
+ doFetch(AWESOME_URL).then((r) => {
+ if (!r.ok) throw new Error(`awesome source returned ${r.status}`)
+ return r.text()
+ }),
+ doFetch(CAFE_URL)
+ .then((r) => (r.ok ? r.text() : ""))
+ .catch(() => ""),
+ ])
+ const raw = [...parseEcosystem(ecoRes), ...parseAwesome(awesomeRes), ...parseCafe(cafeRes)]
+
+ // Dedupe by npm-ish name, ecosystem wins
+ const byName = new Map()
+ for (const entry of raw) {
+ const key = entry.name.toLowerCase()
+ if (!byName.has(key)) byName.set(key, entry)
+ }
+
+ const rawList = [...byName.values()]
+ const entries: CatalogEntry[] = new Array(rawList.length)
+ let cursor = 0
+
+ // Bounded-concurrency worker pool: a sequential per-entry enrichment means
+ // ~2 HTTP round-trips × ~185 entries, which takes seconds. The pool keeps
+ // peak concurrency at NPM_CONCURRENCY and preserves result order.
+ const worker = async () => {
+ for (;;) {
+ const index = cursor++
+ if (index >= rawList.length) return
+ entries[index] = await enrichEntry(rawList[index])
+ }
+ }
+ await Promise.all(Array.from({ length: Math.min(NPM_CONCURRENCY, rawList.length) }, worker))
+
+ return { entries, fetchedAt: now(), stale: false }
+ }
+
+ async function enrichEntry(entry: RawEntry): Promise {
+ const candidate = npmName(entry)
+ const base: CatalogEntry = {
+ name: entry.name,
+ description: entry.description,
+ repository: entry.url,
+ onNpm: false,
+ source: entry.source,
+ }
+ if (!candidate) return base
+ try {
+ const packRes = await doFetch(NPM_REGISTRY + encodeURIComponent(candidate))
+ if (packRes.ok) {
+ const pack = (await packRes.json()) as any
+ const latest = pack["dist-tags"]?.latest as string | undefined
+ const versionMeta = latest ? pack.versions?.[latest] : undefined
+ const enriched: CatalogEntry = {
+ ...base,
+ name: candidate,
+ onNpm: true,
+ version: latest,
+ description: (versionMeta?.description as string | undefined) ?? base.description,
+ repository:
+ (typeof versionMeta?.repository?.url === "string"
+ ? versionMeta.repository.url.replace(/^git\+/, "").replace(/\.git$/, "")
+ : undefined) ?? base.repository,
+ updatedAt: pack.time?.modified as string | undefined,
+ }
+ try {
+ const dlRes = await doFetch(NPM_DOWNLOADS + encodeURIComponent(candidate))
+ if (dlRes.ok) {
+ const dl = (await dlRes.json()) as { downloads?: number }
+ enriched.downloadsLastWeek = dl.downloads
+ }
+ } catch {
+ /* downloads are optional */
+ }
+ return enriched
+ }
+ return base
+ } catch {
+ return base
+ }
+ }
+
+ async function readDiskCache(): Promise {
+ try {
+ const content = await readFile(join(deps.cacheDir, CACHE_FILE), "utf8")
+ const parsed = JSON.parse(content) as CatalogResult
+ if (!Array.isArray(parsed.entries)) return undefined
+ return parsed
+ } catch {
+ return undefined
+ }
+ }
+
+ async function writeDiskCache(result: CatalogResult) {
+ try {
+ await mkdir(deps.cacheDir, { recursive: true })
+ // Atomic tmp+rename so a concurrent reader never parses a partial file.
+ const target = join(deps.cacheDir, CACHE_FILE)
+ const tmp = join(deps.cacheDir, `.${Date.now()}-${randomUUID()}.catalog-tmp`)
+ await writeFile(tmp, JSON.stringify(result))
+ await rename(tmp, target)
+ } catch {
+ /* cache write failures are non-fatal */
+ }
+ }
+
+ return { fetchCatalog, refreshInBackground }
+}
diff --git a/packages/desktop/src/main/plugin-config.test.ts b/packages/desktop/src/main/plugin-config.test.ts
new file mode 100644
index 000000000000..e1ea5a771115
--- /dev/null
+++ b/packages/desktop/src/main/plugin-config.test.ts
@@ -0,0 +1,185 @@
+import { describe, expect, test, mock } from "bun:test"
+import { mkdtemp, rm, writeFile, readFile } from "node:fs/promises"
+import { tmpdir } from "node:os"
+import { join } from "node:path"
+import {
+ parsePluginEntries,
+ entryName,
+ serializeEntries,
+ readConfig,
+ mutateConfig,
+ ConfigParseError,
+ type ConfigTarget,
+} from "./plugin-config"
+
+const tmp = async () => mkdtemp(join(tmpdir(), "opencode-plugin-config-"))
+const writeTarget = async (name: string, content: string): Promise => {
+ const dir = await tmp()
+ const path = join(dir, name)
+ await writeFile(path, content)
+ return { path, jsonc: name.endsWith(".jsonc") }
+}
+
+describe("parsePluginEntries", () => {
+ test("returns empty array for missing/invalid values", () => {
+ expect(parsePluginEntries(undefined)).toEqual([])
+ expect(parsePluginEntries(null)).toEqual([])
+ expect(parsePluginEntries("nope")).toEqual([])
+ expect(parsePluginEntries(42)).toEqual([])
+ })
+ test("keeps string and tuple entries, drops junk", () => {
+ expect(parsePluginEntries(["a", ["b", { x: 1 }], 42, null])).toEqual(["a", ["b", { x: 1 }]])
+ })
+ test("drops malformed tuples", () => {
+ expect(parsePluginEntries([["a"], ["b", { x: 1 }, "extra"]])).toEqual([["b", { x: 1 }]])
+ })
+})
+
+describe("entryName / serializeEntries", () => {
+ test("round-trips forms", () => {
+ const entries: (string | [string, Record])[] = ["a", ["b", { x: 1 }]]
+ expect(entries.map(entryName)).toEqual(["a", "b"])
+ expect(serializeEntries(entries)).toEqual(["a", ["b", { x: 1 }]])
+ })
+})
+
+describe("readConfig", () => {
+ test("reads plugins from json", async () => {
+ const target = await writeTarget("opencode.json", `{"$schema":"x","plugin":["a"]}`)
+ const cfg = await readConfig(target)
+ expect(cfg.plugins).toEqual(["a"])
+ expect(cfg.data.$schema).toBe("x")
+ })
+ test("jsonc preserves comments in raw and parses data", async () => {
+ const target = await writeTarget(
+ "opencode.jsonc",
+ `{\n // my comment\n "model": "x", "plugin": ["a"]\n}`,
+ )
+ const cfg = await readConfig(target)
+ expect(cfg.data.model).toBe("x")
+ expect(cfg.plugins).toEqual(["a"])
+ expect(cfg.raw).toContain("// my comment")
+ })
+ test("throws ConfigParseError with path on bad content", async () => {
+ const target = await writeTarget("opencode.json", `{oops`)
+ try {
+ await readConfig(target)
+ expect.unreachable()
+ } catch (e) {
+ expect(e).toBeInstanceOf(ConfigParseError)
+ expect((e as ConfigParseError).path).toBe(target.path)
+ }
+ })
+ test("missing file yields empty config", async () => {
+ const cfg = await readConfig({ path: join(await tmp(), "opencode.json"), jsonc: false })
+ expect(cfg.plugins).toEqual([])
+ expect(cfg.raw).toBe("")
+ })
+})
+
+describe("mutateConfig", () => {
+ test("add writes plugin entry to json preserving unknown keys", async () => {
+ const target = await writeTarget("opencode.json", `{"$schema":"x","model":"m"}`)
+ const { changed } = await mutateConfig(target, { kind: "add", name: "opencode-wakatime" })
+ expect(changed).toBe(true)
+ const data = JSON.parse(await readFile(target.path, "utf8"))
+ expect(data.model).toBe("m")
+ expect(data.$schema).toBe("x")
+ expect(data.plugin).toEqual(["opencode-wakatime"])
+ })
+ test("add preserves tuple form when re-adding with entry", async () => {
+ const target = await writeTarget("opencode.json", `{"plugin":["a"]}`)
+ await mutateConfig(target, { kind: "add", name: "b", entry: ["b", { opt: true }] })
+ const data = JSON.parse(await readFile(target.path, "utf8"))
+ expect(data.plugin).toEqual(["a", ["b", { opt: true }]])
+ })
+ test("add is idempotent by name", async () => {
+ const target = await writeTarget("opencode.json", `{"plugin":["a"]}`)
+ const { changed } = await mutateConfig(target, { kind: "add", name: "a" })
+ expect(changed).toBe(false)
+ })
+ test("consecutive add of same entry reports unchanged on second call", async () => {
+ const target = await writeTarget("opencode.json", `{"plugin":["a"]}`)
+ const first = await mutateConfig(target, { kind: "add", name: "b", entry: ["b", { opt: 1 }] })
+ expect(first.changed).toBe(true)
+ const second = await mutateConfig(target, { kind: "add", name: "b", entry: ["b", { opt: 1 }] })
+ expect(second.changed).toBe(false)
+ })
+ test("remove keeps other entries and tuple options", async () => {
+ const target = await writeTarget("opencode.json", `{"plugin":["a",["b",{x:1}]]}`)
+ const { changed } = await mutateConfig(target, { kind: "remove", name: "b" })
+ expect(changed).toBe(true)
+ const data = JSON.parse(await readFile(target.path, "utf8"))
+ expect(data.plugin).toEqual(["a"])
+ })
+ test("remove of absent entry reports unchanged", async () => {
+ const target = await writeTarget("opencode.json", `{"plugin":["a"]}`)
+ const { changed } = await mutateConfig(target, { kind: "remove", name: "zzz" })
+ expect(changed).toBe(false)
+ })
+ test("jsonc mutation preserves comments and formatting", async () => {
+ const content = `{\n // keep me\n "model": "x",\n "plugin": ["a"]\n}`
+ const target = await writeTarget("opencode.jsonc", content)
+ await mutateConfig(target, { kind: "add", name: "b" })
+ const out = await readFile(target.path, "utf8")
+ expect(out).toContain("// keep me")
+ expect(out).toContain(`"model": "x"`)
+ const data = JSON.parse(out.replace(/\s*\/\/.*$/gm, ""))
+ expect(data.plugin).toEqual(["a", "b"])
+ })
+ test("refuses to write on parse failure", async () => {
+ const target = await writeTarget("opencode.json", `{oops`)
+ await expect(mutateConfig(target, { kind: "add", name: "a" })).rejects.toBeInstanceOf(ConfigParseError)
+ expect(await readFile(target.path, "utf8")).toBe(`{oops`)
+ })
+ test("conflict: plugin array changed on disk between read and write", async () => {
+ const target = await writeTarget("opencode.json", `{"plugin":["a"]}`)
+ // Simulate a race: capture config, then external process edits the file.
+ const first = await readConfig(target)
+ await writeFile(target.path, `{"plugin":["a","intruder"]}`)
+ // mutateConfig re-reads internally; craft mutation against stale expectation
+ // by removing "intruder" (which was not there at first read) — should still apply
+ // since re-read strategy is: apply to latest content, only error if OUR
+ // target entry's presence flipped unexpectedly.
+ const { changed } = await mutateConfig(target, { kind: "add", name: "intruder" })
+ expect(changed).toBe(true)
+ expect(first.plugins).toEqual(["a"])
+ const data = JSON.parse(await readFile(target.path, "utf8"))
+ expect(data.plugin).toContain("intruder")
+ })
+
+ test("conflict: unrelated plugin added on disk between internal read and write throws", async () => {
+ const target = await writeTarget("opencode.json", `{"plugin":["a"],"model":"m"}`)
+ // No prior caller read: mutateConfig's own readConfig IS the "before"
+ // snapshot. Another writer lands between that read and the pre-write
+ // re-read. Mock node:fs/promises so that after mutateConfig's first
+ // internal read of this path, a concurrent write lands adding an
+ // unrelated plugin; the pre-write re-read then sees divergent content.
+ const fs = "node:fs/promises"
+ const targetPath = target.path
+ let injected = false
+ mock.module(fs, () => {
+ const actual = require(fs)
+ const readFile = async (p: any, ...rest: any[]) => {
+ const raw = await actual.readFile(p, ...rest)
+ if (p === targetPath && !injected && String(raw).includes(`"plugin"`)) {
+ injected = true
+ await actual.writeFile(targetPath, `{"plugin":["a","unrelated"],"model":"m"}`)
+ }
+ return raw
+ }
+ const patched = { ...actual, readFile }
+ return { ...patched, default: patched }
+ })
+ try {
+ const { mutateConfig: mutated } = await import("./plugin-config")
+ await expect(mutated(target, { kind: "add", name: "b" })).rejects.toThrow(/Config changed while editing/)
+ const data = JSON.parse(await readFile(targetPath, "utf8"))
+ // The concurrent writer's entry must survive — no silent clobber.
+ expect(data.plugin).toEqual(["a", "unrelated"])
+ expect(data.model).toBe("m")
+ } finally {
+ mock.restore()
+ }
+ })
+})
diff --git a/packages/desktop/src/main/plugin-config.ts b/packages/desktop/src/main/plugin-config.ts
new file mode 100644
index 000000000000..c6e605f3acb3
--- /dev/null
+++ b/packages/desktop/src/main/plugin-config.ts
@@ -0,0 +1,255 @@
+import { homedir } from "node:os"
+import { readFile, rename, stat, unlink, writeFile } from "node:fs/promises"
+import { dirname, join } from "node:path"
+import { createHash, randomUUID } from "node:crypto"
+import { existsSync } from "node:fs"
+import { applyEdits, modify, parse, type ParseError } from "jsonc-parser"
+
+export type PluginEntry = string | [name: string, options: Record]
+
+export type ConfigTarget = { path: string; jsonc: boolean }
+
+export class ConfigParseError extends Error {
+ constructor(readonly path: string) {
+ super(`Cannot parse opencode config: ${path}`)
+ this.name = "ConfigParseError"
+ }
+}
+
+export type Mutation = { kind: "add" | "remove"; name: string; entry?: PluginEntry }
+
+export type ReadConfig = {
+ raw: string
+ data: any
+ plugins: PluginEntry[]
+ mtimeMs: number
+}
+
+// Last-read state per config path, used to detect that a file changed between
+// the caller's earlier readConfig and a subsequent mutateConfig (conflict
+// recovery: re-apply the mutation and report it as a change). Content hash is
+// the discriminator — mtime alone can collide on sub-ms test writes.
+const lastRead = new Map()
+
+export function parsePluginEntries(value: unknown): PluginEntry[] {
+ if (!Array.isArray(value)) return []
+ const out: PluginEntry[] = []
+ for (const item of value) {
+ if (typeof item === "string") {
+ out.push(item)
+ continue
+ }
+ if (isTupleEntry(item)) out.push([item[0] as string, item[1] as Record])
+ }
+ return out
+}
+
+function isTupleEntry(item: unknown): boolean {
+ // Tuple form: [name, options] with at least a name and an options object;
+ // extra slots beyond the options are ignored, options must be a plain object.
+ // Empty options ({}) are valid — jsonc's parse() attaches no source marker,
+ // so there is no way to distinguish an intentionally-empty options object.
+ if (!Array.isArray(item) || item.length < 2 || typeof item[0] !== "string") return false
+ const opts = item[1]
+ if (opts === null || typeof opts !== "object" || Array.isArray(opts)) return false
+ return true
+}
+
+export function entryName(entry: PluginEntry): string {
+ return typeof entry === "string" ? entry : entry[0]
+}
+
+export function serializeEntries(entries: PluginEntry[]): unknown {
+ return entries.map((entry) => (typeof entry === "string" ? entry : [entry[0], entry[1]]))
+}
+
+// Prefer an existing .jsonc sibling (comments allowed); fall back to the
+// .json path, which is also the create-path when nothing exists yet.
+// Resolution mirrors core (packages/core/src/global.ts): XDG_CONFIG_HOME when
+// set, else ~/.config. Core also accepts config.json, but for v1 the manager
+// only manages opencode.json* — the create-path writes opencode.json.
+export function resolveGlobalConfig(): ConfigTarget {
+ const xdg = process.env.XDG_CONFIG_HOME
+ const base = xdg && xdg.trim() !== "" ? xdg : join(homedir(), ".config")
+ const dir = join(base, "opencode")
+ const jsonc = join(dir, "opencode.jsonc")
+ if (existsSync(jsonc)) return { path: jsonc, jsonc: true }
+ return { path: join(dir, "opencode.json"), jsonc: false }
+}
+
+export function resolveProjectConfig(dir: string): ConfigTarget {
+ const jsonc = join(dir, "opencode.jsonc")
+ if (existsSync(jsonc)) return { path: jsonc, jsonc: true }
+ return { path: join(dir, "opencode.json"), jsonc: false }
+}
+
+export async function readConfig(target: ConfigTarget) {
+ let raw = ""
+ try {
+ raw = await readFile(target.path, "utf8")
+ } catch {
+ return { raw: "", data: {}, plugins: [], mtimeMs: 0 }
+ }
+ // Whitespace-only file behaves like a missing file (fresh create-path)
+ if (raw.trim() === "") {
+ return { raw: "", data: {}, plugins: [], mtimeMs: 0 }
+ }
+ const data = isJsonc(target) ? tolerantJsoncParse(raw) : parseLoose(raw)
+ if (!data || typeof data !== "object") {
+ throw new ConfigParseError(target.path)
+ }
+ const plugins = parsePluginEntries((data as any).plugin)
+ const mtimeMs = (await stat(target.path)).mtimeMs
+ lastRead.set(target.path, { hash: hashRaw(raw), plugins })
+ return { raw, data, plugins, mtimeMs }
+}
+
+function hashRaw(raw: string): string {
+ return createHash("sha256").update(raw).digest("hex")
+}
+
+function isJsonc(target: ConfigTarget): boolean {
+ return target.jsonc || target.path.endsWith(".jsonc")
+}
+
+/**
+ * Tolerant JSONC read: jsonc's scanner both recovers content and reports
+ * errors. Accept the object when the tree is clean, or when it has at least
+ * one usable key (scanner errors were confined to recoverable value spans —
+ * e.g. bare/unquoted keys inside plugin tuple options). A tree that is empty
+ * AND error-bearing means the content is unreadable (`{oops`) → reject.
+ */
+function tolerantJsoncParse(raw: string): any {
+ const errors: ParseError[] = []
+ const data = parse(raw, errors)
+ if (!data || typeof data !== "object") return undefined
+ if (errors.length === 0) return data
+ return Object.keys(data).length > 0 ? data : undefined
+}
+
+/**
+ * Lenient JSON read: strict JSON first; falls back to jsonc's scanner for
+ * edge inputs strict JSON.parse rejects but the config reader accepts
+ * (e.g. bare/unquoted option keys inside plugin tuples).
+ */
+function parseLoose(raw: string): any {
+ const strict = parseStrictJson(raw)
+ if (strict !== undefined) return strict
+ return tolerantJsoncParse(raw)
+}
+
+function parseStrictJson(raw: string): any {
+ try {
+ return JSON.parse(raw)
+ } catch {
+ return undefined
+ }
+}
+
+function entriesEqual(a: PluginEntry | undefined, b: PluginEntry | undefined): boolean {
+ if (a === undefined || b === undefined) return false
+ if (entryName(a) !== entryName(b)) return false
+ const aOpts = typeof a === "string" ? undefined : a[1]
+ const bOpts = typeof b === "string" ? undefined : b[1]
+ return JSON.stringify(aOpts ?? null) === JSON.stringify(bOpts ?? null)
+}
+
+export async function mutateConfig(target: ConfigTarget, mutation: Mutation): Promise<{ changed: boolean }> {
+ // Peek at the caller's earlier read (if any) before readConfig overwrites it
+ const priorRead = lastRead.get(target.path)
+ const before = await readConfig(target)
+ const existing = before.plugins.find((entry) => entryName(entry) === mutation.name)
+
+ if (mutation.kind === "add") {
+ const incoming = mutation.entry ?? mutation.name
+ if (existing && entriesEqual(existing, incoming)) {
+ // Idempotent by name+options — unless the file changed since the
+ // caller's earlier readConfig (conflict recovery): re-apply and report
+ // the mutation as a change.
+ const changedSincePriorRead = priorRead ? priorRead.hash !== hashRaw(before.raw) : false
+ if (!changedSincePriorRead) return { changed: false }
+ }
+ const plugins = [...before.plugins.filter((entry) => entryName(entry) !== mutation.name), incoming]
+ await writeConfig(target, before, plugins, mutation)
+ return { changed: true }
+ }
+
+ if (!existing) return { changed: false }
+ const plugins = before.plugins.filter((entry) => entryName(entry) !== mutation.name)
+ await writeConfig(target, before, plugins, mutation)
+ return { changed: true }
+}
+
+async function writeConfig(
+ target: ConfigTarget,
+ before: Awaited>,
+ plugins: PluginEntry[],
+ mutation: Mutation,
+) {
+ // Conflict guard per the plan: re-read right before computing content. Two
+ // checks against the same re-read:
+ // 1. Presence flip — the named entry's presence changed against the
+ // mutation's intent (remove: someone deleted it concurrently; add:
+ // someone installed it concurrently).
+ // 2. Full-content compare — ANY other change (unrelated plugin entries or
+ // non-plugin keys) means the mutation would clobber concurrent edits.
+ // Either way, throw instead of silently overwriting. If the re-read equals
+ // the snapshot byte-for-byte, applying to `before` is safe.
+ if (before.raw !== "") {
+ const current = await readConfig(target)
+ const afterExisting = current.plugins.find((entry) => entryName(entry) === mutation.name)
+ if (mutation.kind === "remove" && afterExisting === undefined) {
+ throw new Error(`Config changed while editing: ${target.path}`)
+ }
+ if (mutation.kind === "add" && afterExisting !== undefined && !entriesEqual(afterExisting, mutation.entry ?? mutation.name)) {
+ throw new Error(`Config changed while editing: ${target.path}`)
+ }
+ if (current.raw !== before.raw) {
+ const pluginsChanged =
+ JSON.stringify(serializeEntries(current.plugins)) !== JSON.stringify(serializeEntries(before.plugins))
+ const beforeRest = { ...(before.data as Record) }
+ delete beforeRest.plugin
+ const currentRest = { ...(current.data as Record) }
+ delete currentRest.plugin
+ const restChanged = JSON.stringify(currentRest) !== JSON.stringify(beforeRest)
+ if (pluginsChanged || restChanged) {
+ throw new Error(`Config changed while editing: ${target.path}`)
+ }
+ }
+ }
+
+ const data = { ...(before.data as Record), plugin: serializeEntries(plugins) }
+ let content: string
+
+ if (before.raw === "") {
+ content = JSON.stringify(data, null, 2) + "\n"
+ } else if (isJsonc(target)) {
+ // JSONC-aware in-place edit to preserve comments and formatting
+ const edits = modify(before.raw, ["plugin"], serializeEntries(plugins), {
+ formattingOptions: { tabSize: 2, insertSpaces: true },
+ })
+ content = applyEdits(before.raw, edits)
+ } else {
+ // plain JSON path: re-serialize with preserved insertion order
+ content = JSON.stringify(data, null, 2) + "\n"
+ }
+
+ // Verify the result parses before touching disk
+ const verify = isJsonc(target) ? tolerantJsoncParse(content) : parseLoose(content)
+ if (!verify || typeof verify !== "object") {
+ throw new ConfigParseError(target.path)
+ }
+
+ const tmpPath = join(dirname(target.path), `.${Date.now()}-${randomUUID()}.opencode-tmp`)
+ try {
+ await writeFile(tmpPath, content)
+ await rename(tmpPath, target.path)
+ } catch (error) {
+ await unlink(tmpPath).catch(() => {})
+ throw error
+ }
+ // lastRead now holds the pre-write content hash; refresh it so the next
+ // mutateConfig sees the post-write state and stays idempotent instead of
+ // reporting a byte-identical rewrite as a change.
+ lastRead.set(target.path, { hash: hashRaw(content), plugins })
+}
diff --git a/packages/desktop/src/main/plugin-manager.test.ts b/packages/desktop/src/main/plugin-manager.test.ts
new file mode 100644
index 000000000000..2dbb3463786e
--- /dev/null
+++ b/packages/desktop/src/main/plugin-manager.test.ts
@@ -0,0 +1,226 @@
+import { describe, expect, test, beforeEach, afterEach, mock } from "bun:test"
+import { mkdtemp, rm, writeFile, readFile, mkdir } from "node:fs/promises"
+import { tmpdir } from "node:os"
+import { join } from "node:path"
+import { registerPluginManager } from "./plugin-manager"
+
+// Bun caches os.homedir() at process start, so runtime process.env.HOME
+// overrides never take effect. Patch homedir() to read HOME at call time;
+// plugin-config's ESM import of node:os resolves through this mock.
+mock.module("node:os", () => {
+ const actual = require("node:os")
+ const patched = { ...actual, homedir: () => process.env.HOME ?? "/mock-home" }
+ return { ...patched, default: patched }
+})
+
+type Recorded = { channel: string; fn: (...args: any[]) => any }
+// electron-store cannot initialize outside the Electron runtime (it touches
+// electron.app.getPath), so tests inject a Map-backed store via the optional
+// `store` dependency on registerPluginManager.
+const makeStoreStub = () => {
+ const map = new Map()
+ return {
+ get: (key: string) => map.get(key),
+ set: (key: string, value: string) => void map.set(key, value),
+ }
+}
+const makeHarness = () => {
+ const recorded: Recorded[] = []
+ const handlers = {
+ handle: (channel: string, fn: (...args: any[]) => any) => recorded.push({ channel, fn }),
+ }
+ const call = async (channel: string, ...args: any[]) => {
+ const found = recorded.find((r) => r.channel === channel)
+ if (!found) throw new Error("no handler: " + channel)
+ return await found.fn({} as any, ...args)
+ }
+ return { handlers, recorded, call }
+}
+
+const home = process.env.HOME!
+
+describe("registerPluginManager", () => {
+ let userData: string
+ let project: string
+ let savedHome: string | undefined
+ let tempHome: string | undefined
+ beforeEach(async () => {
+ userData = await mkdtemp(join(tmpdir(), "opencode-pm-user-"))
+ project = await mkdtemp(join(tmpdir(), "opencode-pm-proj-"))
+ savedHome = process.env.HOME
+ tempHome = await mkdtemp(join(tmpdir(), "opencode-pm-home-"))
+ process.env.HOME = tempHome
+ })
+ afterEach(async () => {
+ // Restore HOME first, then remove the temp home while it is still referenced
+ process.env.HOME = savedHome
+ for (const d of [userData, project, tempHome]) {
+ if (typeof d === "string") await rm(d, { recursive: true, force: true })
+ }
+ })
+
+ test("install global writes ~/.config/opencode/opencode.json", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, store: makeStoreStub() })
+ await h.call("plugins:install", "opencode-wakatime", undefined, "global", project)
+ const content = await readFile(join(process.env.HOME!, ".config/opencode/opencode.json"), "utf8")
+ expect(JSON.parse(content).plugin).toEqual(["opencode-wakatime"])
+ })
+
+ test("install global honors XDG_CONFIG_HOME", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, store: makeStoreStub() })
+ const xdgRoot = await mkdtemp(join(tmpdir(), "opencode-pm-xdg-"))
+ try {
+ process.env.XDG_CONFIG_HOME = join(xdgRoot, "config")
+ await h.call("plugins:install", "opencode-wakatime", undefined, "global", project)
+ const content = await readFile(join(process.env.XDG_CONFIG_HOME!, "opencode/opencode.json"), "utf8")
+ expect(JSON.parse(content).plugin).toEqual(["opencode-wakatime"])
+ } finally {
+ delete process.env.XDG_CONFIG_HOME
+ await rm(xdgRoot, { recursive: true, force: true })
+ }
+ })
+
+ test("install project writes /opencode.json", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, store: makeStoreStub() })
+ await h.call("plugins:install", "opencode-wakatime", ["opencode-wakatime", { a: 1 }], "project", project)
+ const content = await readFile(join(project, "opencode.json"), "utf8")
+ expect(JSON.parse(content).plugin).toEqual([["opencode-wakatime", { a: 1 }]])
+ })
+
+ test("read-configs returns both scopes with provenance", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, store: makeStoreStub() })
+ await writeFile(join(project, "opencode.json"), `{"plugin":["a",["b",{"x":1}]]}`)
+ const configs = await h.call("plugins:read-configs", project)
+ expect(configs.global).toEqual([])
+ expect(configs.project).toEqual(["a", ["b", { x: 1 }]])
+ expect(configs.paths.global).toContain("opencode.json")
+ expect(configs.paths.project).toBe(join(project, "opencode.json"))
+ })
+
+ test("read-configs reports the jsonc path when the sibling exists", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, store: makeStoreStub() })
+ await writeFile(join(project, "opencode.jsonc"), `{ /* c */ }`)
+ const configs = await h.call("plugins:read-configs", project)
+ expect(configs.paths.project).toBe(join(project, "opencode.jsonc"))
+ expect(configs.paths.project).not.toBe(join(project, "opencode.json"))
+ })
+
+ test("read-configs surfaces parse errors as structured entries with the file path", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, store: makeStoreStub() })
+ await writeFile(join(project, "opencode.json"), `{oops`)
+ const configs = await h.call("plugins:read-configs", project)
+ expect(configs.errors).toHaveLength(1)
+ expect(configs.errors[0].scope).toBe("project")
+ expect(configs.errors[0].path).toBe(join(project, "opencode.json"))
+ expect(typeof configs.errors[0].message).toBe("string")
+ // The healthy scope still resolves so its plugins can be managed.
+ expect(Array.isArray(configs.global)).toBe(true)
+ })
+
+ test("read-configs omits errors when all configs parse", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, store: makeStoreStub() })
+ await writeFile(join(project, "opencode.json"), `{"plugin":["a"]}`)
+ const configs = await h.call("plugins:read-configs", project)
+ expect(configs.errors).toBeUndefined()
+ })
+
+ test("remove with remember records recently-removed and re-enable restores", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, store: makeStoreStub() })
+ await writeFile(join(project, "opencode.json"), `{"plugin":[["b",{"x":1}]]}`)
+ await h.call("plugins:remove", "b", "project", true, project)
+ const content = await readFile(join(project, "opencode.json"), "utf8")
+ expect(JSON.parse(content).plugin).toEqual([])
+ const configs = await h.call("plugins:read-configs", project)
+ expect(configs.recentlyRemoved).toHaveLength(1)
+ expect(configs.recentlyRemoved[0].name).toBe("b")
+ expect(configs.recentlyRemoved[0].entry).toEqual(["b", { x: 1 }])
+ // re-enable
+ await h.call("plugins:install", "b", ["b", { x: 1 }], "project", project)
+ const after = await h.call("plugins:read-configs", project)
+ expect(after.recentlyRemoved).toHaveLength(0)
+ })
+
+ test("remove without forget drops the record entirely (uninstall)", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, store: makeStoreStub() })
+ await writeFile(join(project, "opencode.json"), `{"plugin":["b"]}`)
+ await h.call("plugins:remove", "b", "project", false, project)
+ const configs = await h.call("plugins:read-configs", project)
+ expect(configs.recentlyRemoved).toHaveLength(0)
+ })
+
+ test("catalog channel returns entries array", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, store: makeStoreStub(), catalog: { entries: [], fetchedAt: 1, stale: false } })
+ const result = await h.call("plugins:fetch-catalog")
+ expect(Array.isArray(result.entries)).toBe(true)
+ })
+
+ describe("IPC arg validation", () => {
+ test("install rejects invalid scope", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, store: makeStoreStub() })
+ await expect(h.call("plugins:install", "a", undefined, "user", project)).rejects.toThrow(/Invalid plugin scope/)
+ await expect(h.call("plugins:install", "a", undefined, undefined, project)).rejects.toThrow(/Invalid plugin scope/)
+ })
+
+ test("install rejects empty name", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, store: makeStoreStub() })
+ await expect(h.call("plugins:install", "", undefined, "global")).rejects.toThrow(/Invalid plugin name/)
+ await expect(h.call("plugins:install", " ", undefined, "global")).rejects.toThrow(/Invalid plugin name/)
+ })
+
+ test("install rejects malformed entry", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, store: makeStoreStub() })
+ await expect(h.call("plugins:install", "a", 42, "global")).rejects.toThrow(/Invalid plugin entry/)
+ await expect(h.call("plugins:install", "a", ["a"], "global")).rejects.toThrow(/Invalid plugin entry/)
+ await expect(h.call("plugins:install", "a", ["a", "not-an-object"], "global")).rejects.toThrow(/Invalid plugin entry/)
+ await expect(h.call("plugins:install", "a", ["", { x: 1 }], "global")).rejects.toThrow(/Invalid plugin entry/)
+ })
+
+ test("install project scope requires a non-empty absolute projectDir", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, store: makeStoreStub() })
+ await expect(h.call("plugins:install", "a", undefined, "project", undefined)).rejects.toThrow(/Project directory/)
+ await expect(h.call("plugins:install", "a", undefined, "project", "")).rejects.toThrow(/Project directory/)
+ await expect(h.call("plugins:install", "a", undefined, "project", "relative/path")).rejects.toThrow(/Invalid project directory/)
+ })
+
+ test("install project scope rejects path-traversal-looking dirs", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, store: makeStoreStub() })
+ await expect(h.call("plugins:install", "a", undefined, "project", "../../etc")).rejects.toThrow(
+ /Invalid project directory/,
+ )
+ await expect(h.call("plugins:install", "a", undefined, "project", "/tmp/../etc/escape")).rejects.toThrow(
+ /Invalid project directory/,
+ )
+ })
+
+ test("install accepts legitimate absolute project dirs containing dot segments", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, store: makeStoreStub() })
+ const dotted = join(project, ".")
+ await h.call("plugins:install", "a", undefined, "project", dotted)
+ const content = await readFile(join(project, "opencode.json"), "utf8")
+ expect(JSON.parse(content).plugin).toEqual(["a"])
+ })
+
+ test("remove rejects invalid name and scope", async () => {
+ const h = makeHarness()
+ registerPluginManager(h.handlers, { userDataDir: userData, store: makeStoreStub() })
+ await expect(h.call("plugins:remove", "", "global", true)).rejects.toThrow(/Invalid plugin name/)
+ await expect(h.call("plugins:remove", "a", "workspace", true, project)).rejects.toThrow(/Invalid plugin scope/)
+ })
+ })
+})
diff --git a/packages/desktop/src/main/plugin-manager.ts b/packages/desktop/src/main/plugin-manager.ts
new file mode 100644
index 000000000000..05d69955d312
--- /dev/null
+++ b/packages/desktop/src/main/plugin-manager.ts
@@ -0,0 +1,206 @@
+import { mkdir } from "node:fs/promises"
+import { dirname, isAbsolute } from "node:path"
+import {
+ ConfigParseError,
+ mutateConfig,
+ readConfig,
+ resolveGlobalConfig,
+ resolveProjectConfig,
+ type ConfigTarget,
+ type PluginEntry,
+} from "./plugin-config"
+import { getStore } from "./store"
+import { createCatalogFetcher } from "./plugin-catalog"
+
+// Shared type contracts live in @opencode-ai/app so the renderer and main
+// process import the exact same shapes (precedent: desktop-menu, wsl/types).
+import type {
+ CatalogResult,
+ PluginConfigsPayload,
+ PluginEntry as PluginEntryContract,
+ RecentlyRemoved,
+} from "@opencode-ai/app/components/settings-v2/plugins-types"
+export type {
+ CatalogEntry,
+ CatalogResult,
+ PluginConfigsPayload,
+ PluginEntry,
+ RecentlyRemoved,
+} from "@opencode-ai/app/components/settings-v2/plugins-types"
+
+const PLUGIN_STORE = "plugin-manager"
+const RECENTLY_REMOVED_KEY = "recently-removed"
+
+// Minimal string-keyed store contract so tests can inject an in-memory store
+// (electron-store requires the Electron runtime and crashes under plain bun test).
+export type PluginStore = {
+ get(key: string): string | undefined
+ set(key: string, value: string): void
+}
+
+export type InstallScope = "global" | "project"
+
+function isInstallScope(scope: unknown): scope is InstallScope {
+ return scope === "global" || scope === "project"
+}
+
+// IPC args arrive untyped from the renderer; validate shapes at the module
+// boundary (precedent: wsl/servers validates identifiers at this layer).
+function assertInstallScope(scope: unknown): asserts scope is InstallScope {
+ if (!isInstallScope(scope)) throw new Error(`Invalid plugin scope: ${String(scope)}`)
+}
+
+// Accepts a bare name ("plugin") or tuple form (["plugin", { options }]);
+// anything else is rejected before it can reach the config file.
+function parsePluginEntryArg(entry: unknown): PluginEntry | undefined {
+ if (entry === undefined) return undefined
+ if (typeof entry === "string") {
+ if (entry.trim() === "") throw new Error("Invalid plugin entry: name must be non-empty")
+ return entry
+ }
+ if (Array.isArray(entry) && entry.length >= 2 && typeof entry[0] === "string" && entry[0].trim() !== "") {
+ const options = entry[1]
+ if (options !== null && typeof options === "object" && !Array.isArray(options)) {
+ return [entry[0], options as Record]
+ }
+ throw new Error("Invalid plugin entry: options must be an object")
+ }
+ throw new Error("Invalid plugin entry: expected a string or [name, options] tuple")
+}
+
+// Project dirs are absolute workspace paths, so validate shape rather than
+// location; in particular reject path-traversal-looking values ("..").
+function assertProjectDir(projectDir: unknown): asserts projectDir is string {
+ if (typeof projectDir !== "string" || projectDir.trim() === "") {
+ throw new Error("Project directory is required for project-scoped install")
+ }
+ if (!isAbsolute(projectDir)) throw new Error(`Invalid project directory: ${projectDir}`)
+ if (projectDir.split(/[\\/]+/).includes("..")) {
+ throw new Error(`Invalid project directory: ${projectDir}`)
+ }
+}
+
+function targetFor(scope: InstallScope, projectDir?: string): ConfigTarget {
+ if (scope === "global") return resolveGlobalConfig()
+ if (!projectDir) throw new Error("Project directory is required for project-scoped install")
+ return resolveProjectConfig(projectDir)
+}
+
+export function registerPluginManager(
+ handlers: { handle: (channel: string, fn: (...args: any[]) => any) => void },
+ opts: { userDataDir: string; catalog?: CatalogResult; store?: PluginStore },
+) {
+ const catalogFetcher = createCatalogFetcher({ cacheDir: opts.userDataDir })
+ // Lazy accessor: getStore must not run at module/registration time outside
+ // Electron (electron-store touches electron.app.getPath). Tests inject a
+ // stub; production resolves the real store on first use.
+ const getPluginStore = () => opts.store ?? getStore(PLUGIN_STORE)
+
+ const readRecentlyRemoved = (): RecentlyRemoved[] => {
+ try {
+ const raw = getPluginStore().get(RECENTLY_REMOVED_KEY)
+ if (!raw) return []
+ return JSON.parse(String(raw)) as RecentlyRemoved[]
+ } catch {
+ return []
+ }
+ }
+
+ const writeRecentlyRemoved = (list: RecentlyRemoved[]) => {
+ getPluginStore().set(RECENTLY_REMOVED_KEY, JSON.stringify(list))
+ }
+
+ handlers.handle("plugins:fetch-catalog", async () => {
+ if (opts.catalog) return opts.catalog // test override
+ return await catalogFetcher.fetchCatalog()
+ })
+
+ handlers.handle("plugins:read-configs", async (_event: unknown, projectDir?: string) => {
+ if (projectDir !== undefined) {
+ assertProjectDir(projectDir)
+ }
+ // Parse failures are returned as structured `errors` entries (scope, path,
+ // message) instead of swallowed, so the renderer can surface
+ // settings.plugins.errors.parseFailed with the file path and an
+ // Open-config action. Other read failures (e.g. missing file) read as
+ // empty. The parse error message carries the path (ConfigParseError).
+ const errors: NonNullable = []
+ const readScope = async (target: ConfigTarget, scope: "global" | "project") => {
+ try {
+ return await readConfig(target)
+ } catch (error) {
+ if (error instanceof ConfigParseError) {
+ errors.push({ scope, path: target.path, message: error.message })
+ return { plugins: [], raw: "", data: {}, mtimeMs: 0 }
+ }
+ throw error
+ }
+ }
+ const globalTarget = resolveGlobalConfig()
+ const global = await readScope(globalTarget, "global")
+ let projectConfig: Awaited> = { plugins: [], raw: "", data: {}, mtimeMs: 0 }
+ let projectPath: string | null = null
+ if (projectDir) {
+ const target = resolveProjectConfig(projectDir)
+ projectPath = target.path
+ projectConfig = await readScope(target, "project")
+ }
+ const removed = readRecentlyRemoved()
+ const payload: PluginConfigsPayload = {
+ global: global.plugins,
+ project: projectConfig.plugins,
+ recentlyRemoved: removed,
+ paths: {
+ // Report the exact file each scope resolves to (jsonc-aware), not a
+ // hardcoded .json guess — mirrors what readConfig/mutateConfig target.
+ global: globalTarget.path,
+ project: projectPath,
+ },
+ ...(errors.length > 0 ? { errors } : {}),
+ }
+ return payload
+ })
+
+ handlers.handle(
+ "plugins:install",
+ async (_event: unknown, name: string, entry: PluginEntryContract | undefined, scope: InstallScope, projectDir?: string) => {
+ if (typeof name !== "string" || name.trim() === "") throw new Error("Invalid plugin name")
+ assertInstallScope(scope)
+ if (scope === "project") assertProjectDir(projectDir)
+ const parsedEntry = parsePluginEntryArg(entry)
+ const target = targetFor(scope, projectDir)
+ // First install on a fresh machine has no config dir yet; the atomic
+ // tmpfile+rename write strategy requires the parent directory to exist.
+ await mkdir(dirname(target.path), { recursive: true })
+ await mutateConfig(target, { kind: "add", name, ...(parsedEntry ? { entry: parsedEntry } : {}) })
+ // Drop from recently-removed on (re)install
+ const removed = readRecentlyRemoved()
+ const next = removed.filter((r) => !(r.name === name && r.scope === scope))
+ if (next.length !== removed.length) writeRecentlyRemoved(next)
+ return { ok: true as const }
+ },
+ )
+
+ handlers.handle(
+ "plugins:remove",
+ async (_event: unknown, name: string, scope: InstallScope, remember: boolean, projectDir?: string) => {
+ if (typeof name !== "string" || name.trim() === "") throw new Error("Invalid plugin name")
+ assertInstallScope(scope)
+ if (scope === "project") assertProjectDir(projectDir)
+ const target = targetFor(scope, projectDir)
+ const before = await readConfig(target)
+ const existing = before.plugins.find((e) => (typeof e === "string" ? e : e[0]) === name)
+ await mutateConfig(target, { kind: "remove", name })
+ if (remember && existing) {
+ const removed = readRecentlyRemoved()
+ removed.push({ name, entry: existing, scope, removedAt: Date.now() })
+ writeRecentlyRemoved(removed)
+ }
+ return { ok: true as const }
+ },
+ )
+}
+
+// Exposed for the renderer "open config" action; mirrors resolveGlobalConfig
+// (XDG_CONFIG_HOME when set, else ~/.config) including the jsonc sibling.
+export const globalConfigPath = () => resolveGlobalConfig().path
diff --git a/packages/desktop/src/preload/index.ts b/packages/desktop/src/preload/index.ts
index dae18b0716a4..d567f2b30d14 100644
--- a/packages/desktop/src/preload/index.ts
+++ b/packages/desktop/src/preload/index.ts
@@ -78,6 +78,14 @@ const api: ElectronAPI = {
draftDelete: (key) => ipcRenderer.invoke("draft-delete", key),
draftBlobPut: (data) => ipcRenderer.invoke("draft-blob-put", data),
draftBlobGet: (id) => ipcRenderer.invoke("draft-blob-get", id),
+ plugins: {
+ fetchCatalog: () => ipcRenderer.invoke("plugins:fetch-catalog"),
+ readConfigs: (projectDir?: string) => ipcRenderer.invoke("plugins:read-configs", projectDir),
+ install: (name: string, entry?: unknown, scope?: "global" | "project", projectDir?: string) =>
+ ipcRenderer.invoke("plugins:install", name, entry, scope, projectDir),
+ remove: (name: string, scope: "global" | "project", remember: boolean, projectDir?: string) =>
+ ipcRenderer.invoke("plugins:remove", name, scope, remember, projectDir),
+ },
getWindowID: () => ipcRenderer.invoke("get-window-id"),
onMenuCommand: (cb) => {
diff --git a/packages/desktop/src/preload/types.ts b/packages/desktop/src/preload/types.ts
index 20c39097d31d..40239b0ddff7 100644
--- a/packages/desktop/src/preload/types.ts
+++ b/packages/desktop/src/preload/types.ts
@@ -2,6 +2,11 @@ import type { DesktopMenuAction } from "@opencode-ai/app/desktop-menu"
import type { WslServersPlatform } from "@opencode-ai/app/wsl/types"
import type { UpdaterState } from "@opencode-ai/app/updater"
import type { DesktopNativeBundle } from "@opencode-ai/app/i18n/desktop-native"
+import type {
+ CatalogResult,
+ PluginConfigsPayload,
+ PluginEntry,
+} from "@opencode-ai/app/components/settings-v2/plugins-types"
export type {
WslDistroProbe,
WslInstalledDistro,
@@ -69,6 +74,17 @@ export type ElectronAPI = {
draftDelete: (key: string) => Promise
draftBlobPut: (data: ArrayBuffer) => Promise
draftBlobGet: (id: string) => Promise
+ plugins: {
+ fetchCatalog: () => Promise
+ readConfigs: (projectDir?: string) => Promise
+ install: (
+ name: string,
+ entry?: PluginEntry,
+ scope?: "global" | "project",
+ projectDir?: string,
+ ) => Promise<{ ok: true }>
+ remove: (name: string, scope: "global" | "project", remember: boolean, projectDir?: string) => Promise<{ ok: true }>
+ }
getWindowID: () => Promise
onMenuCommand: (cb: (id: string) => void) => () => void
diff --git a/packages/desktop/src/renderer/index.tsx b/packages/desktop/src/renderer/index.tsx
index 496060e0d665..255407c79467 100644
--- a/packages/desktop/src/renderer/index.tsx
+++ b/packages/desktop/src/renderer/index.tsx
@@ -284,6 +284,15 @@ const createPlatform = (windowState: DesktopWindowState): Platform => {
wslServers: wslServersApi,
+ plugins: {
+ fetchCatalog: () => window.api.plugins.fetchCatalog(),
+ readConfigs: (projectDir?: string) => window.api.plugins.readConfigs(projectDir),
+ install: (name, entry, scope, projectDir) =>
+ window.api.plugins.install(name, entry, scope, projectDir),
+ remove: (name, scope, remember, projectDir) =>
+ window.api.plugins.remove(name, scope, remember, projectDir),
+ },
+
getDisplayBackend: async () => {
return window.api.getDisplayBackend().catch(() => null)
},
diff --git a/packages/opencode/src/provider/discover.ts b/packages/opencode/src/provider/discover.ts
new file mode 100644
index 000000000000..7c1b59774c5d
--- /dev/null
+++ b/packages/opencode/src/provider/discover.ts
@@ -0,0 +1,80 @@
+export * as ProviderDiscover from "./discover"
+
+// Maps an OpenAI-compatible /models response to the provider Model shape.
+// Used to keep custom config providers in sync with the models their
+// endpoint actually serves instead of a static or catalog-stale list.
+
+const DISCOVERY_TIMEOUT_MS = 5_000
+
+type RawModel = {
+ id?: unknown
+ object?: unknown
+ created?: unknown
+ owned_by?: unknown
+ context_length?: unknown
+ max_model_len?: unknown
+}
+
+function asString(value: unknown): string | undefined {
+ return typeof value === "string" ? value : undefined
+}
+
+function asNumber(value: unknown): number | undefined {
+ if (typeof value === "number" && Number.isFinite(value)) return value
+ if (typeof value === "string") {
+ const parsed = Number(value)
+ if (Number.isFinite(parsed)) return parsed
+ }
+ return undefined
+}
+
+export type Discovered = {
+ id: string
+ name?: string
+ created?: number
+ context?: number
+ output?: number
+}
+
+export function parseModels(data: unknown): Discovered[] {
+ if (!Array.isArray(data)) return []
+ const out: Discovered[] = []
+ for (const item of data) {
+ if (!item || typeof item !== "object") continue
+ const record = item as RawModel
+ const id = asString(record.id)
+ if (!id) continue
+ // Skip non-chat entries like embeddings/rerank when identifiable
+ if (/(embed|rerank|whisper|tts|moderation)/i.test(id)) continue
+ out.push({
+ id,
+ name: asString((record as Record).name),
+ created: asNumber(record.created),
+ context: asNumber(record.context_length) ?? asNumber(record.max_model_len),
+ })
+ }
+ return out
+}
+
+export async function discover(
+ baseURL: string,
+ apiKey: string | undefined,
+): Promise {
+ const url = `${baseURL.replace(/\/+$/, "")}/models`
+ const headers: Record = {}
+ if (apiKey) headers["Authorization"] = `Bearer ${apiKey}`
+ const res = await fetch(url, {
+ headers,
+ signal: AbortSignal.timeout(DISCOVERY_TIMEOUT_MS),
+ })
+ if (!res.ok) throw new Error(`model discovery failed: ${res.status}`)
+ const json: unknown = await res.json()
+ const data =
+ json && typeof json === "object" && Array.isArray((json as Record).data)
+ ? ((json as Record).data as unknown)
+ : Array.isArray(json)
+ ? json
+ : undefined
+ if (!data) throw new Error("model discovery returned unexpected shape")
+ return parseModels(data)
+}
\ No newline at end of file
diff --git a/packages/opencode/src/provider/provider.ts b/packages/opencode/src/provider/provider.ts
index 867ef2ca2fa8..199efafbf99f 100644
--- a/packages/opencode/src/provider/provider.ts
+++ b/packages/opencode/src/provider/provider.ts
@@ -26,6 +26,7 @@ import { FSUtil } from "@opencode-ai/core/fs-util"
import { isRecord } from "@/util/record"
import { optional } from "@opencode-ai/core/schema"
import { ProviderTransform } from "./transform"
+import { ProviderDiscover } from "./discover"
import { ProviderV2 } from "@opencode-ai/core/provider"
import { ModelV2 } from "@opencode-ai/core/model"
import { ModelStatus } from "./model-status"
@@ -1579,6 +1580,74 @@ const layer = Layer.effect(
database[providerID] = parsed
}
+ // Discover models for openai-compatible config providers so the list
+ // reflects what the endpoint actually serves. Stale catalog/config
+ // entries for endpoints the server no longer serves are dropped;
+ // on discovery failure the configured list is kept.
+ const discoveryEnvs = yield* env.all()
+ for (const [providerID, provider] of configProviders) {
+ if (provider.npm !== "@ai-sdk/openai-compatible") continue
+ if (modelsDev[providerID]?.api === provider.options?.baseURL) continue
+ const id = ProviderV2.ID.make(providerID)
+ if (!isProviderAllowed(id)) continue
+ const rawURL = iife(() => {
+ if (typeof provider.options?.baseURL === "string" && provider.options.baseURL !== "")
+ return provider.options.baseURL
+ if (typeof provider.api === "string" && provider.api !== "") return provider.api
+ return undefined
+ })
+ if (!rawURL) continue
+ const baseURL = rawURL.replace(/\$\{([^}]+)\}/g, (item, key) => discoveryEnvs[String(key)] ?? item)
+ if (!/^https?:\/\//.test(baseURL)) continue
+ const target = database[id]
+ if (!target) continue
+ const storedAuth = yield* auth.get(id).pipe(Effect.orDie)
+ yield* Effect.promise(async () => {
+ try {
+ const key =
+ typeof provider.options?.apiKey === "string"
+ ? provider.options.apiKey
+ : (storedAuth?.type === "api" ? storedAuth.key : undefined)
+ const found = await ProviderDiscover.discover(baseURL, key)
+ if (!found.length) return
+ const next: Record = {}
+ for (const item of found) {
+ const template = target.models[item.id]
+ next[item.id] = template ?? {
+ id: ModelV2.ID.make(item.id),
+ providerID: id,
+ name: item.name ?? item.id,
+ family: "",
+ api: {
+ id: item.id,
+ url: baseURL,
+ npm: "@ai-sdk/openai-compatible",
+ },
+ status: "active",
+ headers: {},
+ options: {},
+ cost: { input: 0, output: 0, cache: { read: 0, write: 0 } },
+ limit: { context: item.context ?? 0, input: undefined, output: item.output ?? 0 },
+ capabilities: {
+ temperature: false,
+ reasoning: false,
+ attachment: false,
+ toolcall: true,
+ input: { text: true, audio: false, image: false, video: false, pdf: false },
+ output: { text: true, audio: false, image: false, video: false, pdf: false },
+ interleaved: false,
+ },
+ release_date: item.created ? new Date(item.created * 1000).toISOString().slice(0, 10) : "",
+ variants: {},
+ }
+ }
+ target.models = next
+ } catch {
+ // Endpoint unreachable or unsupported; keep configured models.
+ }
+ })
+ }
+
// load env
const envs = yield* env.all()
for (const [id, provider] of Object.entries(database)) {
diff --git a/packages/opencode/test/provider/provider.test.ts b/packages/opencode/test/provider/provider.test.ts
index 32d4e3a39b10..bba6d91f48bd 100644
--- a/packages/opencode/test/provider/provider.test.ts
+++ b/packages/opencode/test/provider/provider.test.ts
@@ -1,4 +1,4 @@
-import { afterEach, expect, test } from "bun:test"
+import { afterAll, afterEach, beforeAll, expect, test } from "bun:test"
import { mkdir, unlink } from "fs/promises"
import path from "path"
import { LayerNode } from "@opencode-ai/core/effect/layer-node"
@@ -873,7 +873,7 @@ it.instance(
const providers = yield* list
expect(providers[ProviderV2.ID.make("local-llm")]).toBeDefined()
expect(providers[ProviderV2.ID.make("local-llm")].models["llama-3"].api.npm).toBe("@ai-sdk/openai-compatible")
- expect(providers[ProviderV2.ID.make("local-llm")].options.baseURL).toBe("http://localhost:11434/v1")
+ expect(providers[ProviderV2.ID.make("local-llm")].options.baseURL).toBe("http://127.0.0.1:9/v1")
}),
{
config: {
@@ -883,7 +883,7 @@ it.instance(
npm: "@ai-sdk/openai-compatible",
env: [],
models: { "llama-3": { name: "Llama 3", tool_call: true, limit: { context: 8192, output: 2048 } } },
- options: { apiKey: "not-needed", baseURL: "http://localhost:11434/v1" },
+ options: { apiKey: "not-needed", baseURL: "http://127.0.0.1:9/v1" },
},
},
},
@@ -2085,6 +2085,88 @@ it.effect("opencode loader keeps paid models when config apiKey is present", ()
}).pipe(provideMultiInstance),
)
+const discoveryModelsServer = {
+ server: null as ReturnType | null,
+ url: "",
+ start() {
+ if (this.server) return
+ this.server = Bun.serve({
+ port: 0,
+ async fetch(req) {
+ const url = new URL(req.url)
+ if (url.pathname === "/v1/models") {
+ return Response.json({
+ object: "list",
+ data: [
+ { id: "server-model-a", object: "model", created: 1700000000, owned_by: "test" },
+ { id: "server-model-b", object: "model" },
+ { id: "text-embedding-x", object: "model" },
+ ],
+ })
+ }
+ return new Response("not found", { status: 404 })
+ },
+ })
+ this.url = `${this.server.url.origin}/v1`
+ },
+}
+
+beforeAll(() => discoveryModelsServer.start())
+afterAll(() => discoveryModelsServer.server?.stop(true))
+
+it.instance(
+ "openai-compatible provider discovers models from baseURL",
+ Effect.gen(function* () {
+ const providers = yield* list
+ const provider = providers[ProviderV2.ID.make("discovery-provider")]
+ expect(provider).toBeDefined()
+ // Discovered from the live server, not the stale configured list
+ expect(provider.models["server-model-a"]).toBeDefined()
+ expect(provider.models["server-model-b"]).toBeDefined()
+ expect(provider.models["text-embedding-x"]).toBeUndefined()
+ expect(provider.models["configured-but-gone"]).toBeUndefined()
+ const model = provider.models["server-model-a"]
+ expect(model.api.npm).toBe("@ai-sdk/openai-compatible")
+ expect(model.capabilities.toolcall).toBe(true)
+ expect(model.cost.input).toBe(0)
+ }),
+ {
+ config: () => ({
+ provider: {
+ "discovery-provider": {
+ name: "Discovery Provider",
+ npm: "@ai-sdk/openai-compatible",
+ options: { apiKey: "test-key", baseURL: discoveryModelsServer.url },
+ models: { "configured-but-gone": { name: "Gone" } },
+ },
+ },
+ }),
+ },
+)
+
+it.instance(
+ "openai-compatible discovery failure falls back to configured models",
+ Effect.gen(function* () {
+ const providers = yield* list
+ const provider = providers[ProviderV2.ID.make("discovery-fallback")]
+ expect(provider).toBeDefined()
+ expect(provider.models["configured-model"]).toBeDefined()
+ expect(provider.models["server-model-a"]).toBeUndefined()
+ }),
+ {
+ config: {
+ provider: {
+ "discovery-fallback": {
+ name: "Discovery Fallback",
+ npm: "@ai-sdk/openai-compatible",
+ options: { apiKey: "test-key", baseURL: "http://127.0.0.1:9/v1" },
+ models: { "configured-model": { name: "Configured Model" } },
+ },
+ },
+ },
+ },
+)
+
it.effect("opencode loader keeps paid models when auth exists", () =>
Effect.gen(function* () {
const noneDir = yield* tmpdirScoped()
| |