diff --git a/apps/vscode-e2e/src/suite/skills-diagnostics.test.ts b/apps/vscode-e2e/src/suite/skills-diagnostics.test.ts
new file mode 100644
index 0000000000..71662e6cfe
--- /dev/null
+++ b/apps/vscode-e2e/src/suite/skills-diagnostics.test.ts
@@ -0,0 +1,138 @@
+import * as assert from "assert"
+import * as fs from "fs/promises"
+import * as path from "path"
+
+import * as vscode from "vscode"
+
+import { setDefaultSuiteTimeout } from "./test-utils"
+import { waitFor } from "./utils"
+
+const GOOD_SKILL = "e2e-skill-good"
+const BAD_SKILL = "e2e-skill-bad"
+
+// Issue #859 reproduction content: the description is a double-quoted YAML
+// scalar whose inner double quotes are left unescaped, which makes the
+// frontmatter unparseable.
+const MALFORMED_SKILL_MD = `---
+name: ${BAD_SKILL}
+description: "Use when implementing features. Triggers on: "TDD", "test-driven development"
+---
+
+# E2E Skill Bad
+
+Instructions here.
+`
+
+const FIXED_SKILL_MD = `---
+name: ${BAD_SKILL}
+description: 'Use when implementing features. Triggers on: "TDD", "test-driven development"'
+---
+
+# E2E Skill Bad
+
+Instructions here.
+`
+
+const GOOD_SKILL_MD = `---
+name: ${GOOD_SKILL}
+description: A healthy skill used by the skill diagnostics e2e smoke test.
+---
+
+# E2E Skill Good
+
+Instructions here.
+`
+
+// Write a skill file atomically (write to a sidecar, then rename over the
+// target) so the extension host's file watcher only ever observes complete
+// content. An in-place fs.writeFile is visible mid-write, the watcher can
+// fire for that moment, and - because discovery scans are serialized - a
+// mid-write event could be the last one, leaving a stale scan result.
+const writeSkillFileAtomic = async (finalPath: string, content: string): Promise => {
+ const tmpPath = `${finalPath}.tmp`
+ await fs.writeFile(tmpPath, content, "utf8")
+ await fs.rename(tmpPath, finalPath)
+}
+
+suite("Roo Code Skill Diagnostics", function () {
+ setDefaultSuiteTimeout(this)
+
+ let skillsRoot: string
+
+ setup(async function () {
+ const workspaceRoot = vscode.workspace.workspaceFolders?.[0]?.uri.fsPath
+ assert.ok(workspaceRoot, "e2e workspace folder must be open")
+ skillsRoot = path.join(workspaceRoot, ".roo", "skills")
+ })
+
+ teardown(async function () {
+ // Remove only the skill directories this suite created so pre-existing
+ // or other suites' fixtures under .roo/skills are left intact.
+ await Promise.all(
+ [GOOD_SKILL, BAD_SKILL].map((name) => fs.rm(path.join(skillsRoot, name), { recursive: true, force: true })),
+ )
+ })
+
+ test("should surface a malformed SKILL.md as a diagnostic without hiding healthy skills", async function () {
+ this.timeout(180_000)
+
+ // Arrange: one healthy skill and one malformed skill on real disk in the
+ // workspace's .roo/skills directory, written atomically so the watcher
+ // only observes complete files.
+ await fs.mkdir(path.join(skillsRoot, GOOD_SKILL), { recursive: true })
+ await writeSkillFileAtomic(path.join(skillsRoot, GOOD_SKILL, "SKILL.md"), GOOD_SKILL_MD)
+ await fs.mkdir(path.join(skillsRoot, BAD_SKILL), { recursive: true })
+ const badSkillMd = path.join(skillsRoot, BAD_SKILL, "SKILL.md")
+ await writeSkillFileAtomic(badSkillMd, MALFORMED_SKILL_MD)
+
+ // Act: the extension host's file watcher re-discovers skills; wait until
+ // the real SkillsManager reports the healthy skill and a diagnostic for
+ // the malformed one.
+ await waitFor(
+ async () => {
+ const state = globalThis.api.getSkillsState()
+ const goodVisible = state.skills.some((skill) => skill.name === GOOD_SKILL)
+ const badDiagnosed = state.skillDiagnostics.some((diagnostic) => diagnostic.path.includes(BAD_SKILL))
+ return goodVisible && badDiagnosed
+ },
+ { timeout: 60_000, interval: 500 },
+ )
+
+ // Assert: the malformed skill is skipped with a diagnostic pointing at it,
+ // while the healthy skill is unaffected.
+ const state = globalThis.api.getSkillsState()
+ const diagnostic = state.skillDiagnostics.find((d) => d.path.includes(BAD_SKILL))
+ assert.ok(diagnostic, "malformed SKILL.md should produce a diagnostic")
+ assert.strictEqual(diagnostic.source, "project")
+ assert.ok(diagnostic.message.length > 0, "diagnostic should carry the parse error message")
+ assert.ok(
+ state.skills.some((skill) => skill.name === GOOD_SKILL),
+ "healthy skill should still be discovered",
+ )
+ assert.ok(
+ !state.skills.some((skill) => skill.name === BAD_SKILL),
+ "malformed skill should be omitted from skills",
+ )
+
+ // Act: repair the frontmatter in place (atomically); the watcher
+ // re-discovers and the diagnostic clears.
+ await writeSkillFileAtomic(badSkillMd, FIXED_SKILL_MD)
+
+ await waitFor(
+ async () => {
+ const next = globalThis.api.getSkillsState()
+ const cleared = !next.skillDiagnostics.some((d) => d.path.includes(BAD_SKILL))
+ const loaded = next.skills.some((skill) => skill.name === BAD_SKILL)
+ return cleared && loaded
+ },
+ { timeout: 60_000, interval: 500 },
+ )
+
+ const fixed = globalThis.api.getSkillsState()
+ assert.ok(
+ fixed.skills.some((skill) => skill.name === BAD_SKILL),
+ "fixed skill should load after repair",
+ )
+ assert.ok(fixed.skills.find((skill) => skill.name === BAD_SKILL)?.description.includes("TDD") === true)
+ })
+})
diff --git a/packages/types/src/api.ts b/packages/types/src/api.ts
index e64406fa9c..5e200cdc12 100644
--- a/packages/types/src/api.ts
+++ b/packages/types/src/api.ts
@@ -6,6 +6,7 @@ import type { RooCodeSettings } from "./global-settings.js"
import type { HistoryItem } from "./history.js"
import type { ProviderSettingsEntry, ProviderSettings } from "./provider-settings.js"
import type { IpcMessage, IpcServerEvents } from "./ipc.js"
+import type { SkillDiagnostic, SkillMetadata } from "./skills.js"
import type { WebviewThemeFixture } from "./vscode-extension-host.js"
export type RooCodeAPIEvents = RooCodeEvents
@@ -58,6 +59,15 @@ export interface RooCodeAPI extends EventEmitter {
* @returns The number of persisted API conversation history entries, or 0 if unavailable.
*/
getTaskApiConversationHistoryLength(taskId: string): Promise
+ /**
+ * Returns the skill metadata and load diagnostics currently discovered by the
+ * extension host. Intended for use in tests only.
+ * @returns The discovered skills and any diagnostics for skills that failed to load.
+ */
+ getSkillsState(): {
+ skills: SkillMetadata[]
+ skillDiagnostics: SkillDiagnostic[]
+ }
/**
* Checks for an ordered user turn and assistant tool call in persisted API history.
* @param taskId The ID of the task.
diff --git a/packages/types/src/skills.ts b/packages/types/src/skills.ts
index 2f13b822eb..65768f7f29 100644
--- a/packages/types/src/skills.ts
+++ b/packages/types/src/skills.ts
@@ -20,6 +20,15 @@ export interface SkillMetadata {
modeSlugs?: string[]
}
+/** A user-actionable problem found while loading a SKILL.md file. */
+export interface SkillDiagnostic {
+ path: string
+ source: "global" | "project"
+ message: string
+ line?: number
+ column?: number
+}
+
/**
* Skill name validation constants per agentskills.io specification:
* https://agentskills.io/specification
diff --git a/packages/types/src/vscode-extension-host.ts b/packages/types/src/vscode-extension-host.ts
index 3e23a7934c..abe2b19f9d 100644
--- a/packages/types/src/vscode-extension-host.ts
+++ b/packages/types/src/vscode-extension-host.ts
@@ -18,7 +18,7 @@ import { OllamaModelsMessageType } from "./providers/ollama.js"
import { OpenAiModelsMessageType } from "./providers/openai.js"
import { VsCodeLmModelsMessageType } from "./providers/vscode-llm.js"
import type { OpenAiCodexRateLimitInfo } from "./providers/openai-codex-rate-limits.js"
-import type { SkillMetadata } from "./skills.js"
+import type { SkillDiagnostic, SkillMetadata } from "./skills.js"
import type { RuleMetadata } from "./rules.js"
import type { TelemetrySetting } from "./telemetry.js"
import type { WorktreeIncludeStatus } from "./worktree.js"
@@ -233,6 +233,7 @@ export interface ExtensionMessage {
list?: string[] // For dismissedUpsells
tools?: SerializedCustomToolDefinition[] // For customToolsResult
skills?: SkillMetadata[] // For skills response
+ skillDiagnostics?: SkillDiagnostic[] // For malformed skills omitted from the skills response
rules?: RuleMetadata[] // For rules response
modes?: { slug: string; name: string }[] // For modes response
rooHistoryImportProgress?: {
diff --git a/src/core/webview/__tests__/skillsMessageHandler.spec.ts b/src/core/webview/__tests__/skillsMessageHandler.spec.ts
index 5d03b95a27..f5fa7eec38 100644
--- a/src/core/webview/__tests__/skillsMessageHandler.spec.ts
+++ b/src/core/webview/__tests__/skillsMessageHandler.spec.ts
@@ -27,6 +27,7 @@ vi.mock("../../../i18n", () => ({
"skills:errors.manager_unavailable": "Skills manager not available",
"skills:errors.missing_delete_fields": "Missing required fields: skillName or source",
"skills:errors.missing_move_fields": "Missing required fields: skillName or source",
+ "skills:errors.missing_update_modes_fields": "Missing required fields: skillName or source",
"skills:errors.skill_not_found": `Skill "${params?.name}" not found`,
}
return translations[key] || key
@@ -41,15 +42,18 @@ import {
handleDeleteSkill,
handleMoveSkill,
handleOpenSkillFile,
+ handleUpdateSkillModes,
} from "../skillsMessageHandler"
describe("skillsMessageHandler", () => {
const mockLog = vi.fn()
const mockPostMessageToWebview = vi.fn()
const mockGetSkillsMetadata = vi.fn()
+ const mockGetSkillDiagnostics = vi.fn()
const mockCreateSkill = vi.fn()
const mockDeleteSkill = vi.fn()
const mockMoveSkill = vi.fn()
+ const mockUpdateSkillModes = vi.fn()
const mockGetSkill = vi.fn()
const mockFindSkillByNameAndSource = vi.fn()
@@ -57,9 +61,11 @@ describe("skillsMessageHandler", () => {
const skillsManager = hasSkillsManager
? {
getSkillsMetadata: mockGetSkillsMetadata,
+ getSkillDiagnostics: mockGetSkillDiagnostics,
createSkill: mockCreateSkill,
deleteSkill: mockDeleteSkill,
moveSkill: mockMoveSkill,
+ updateSkillModes: mockUpdateSkillModes,
getSkill: mockGetSkill,
findSkillByNameAndSource: mockFindSkillByNameAndSource,
}
@@ -90,6 +96,7 @@ describe("skillsMessageHandler", () => {
beforeEach(() => {
vi.clearAllMocks()
+ mockGetSkillDiagnostics.mockReturnValue([])
})
describe("handleRequestSkills", () => {
@@ -100,7 +107,34 @@ describe("skillsMessageHandler", () => {
const result = await handleRequestSkills(provider)
expect(result).toEqual(mockSkills)
- expect(mockPostMessageToWebview).toHaveBeenCalledWith({ type: "skills", skills: mockSkills })
+ expect(mockPostMessageToWebview).toHaveBeenCalledWith({
+ type: "skills",
+ skills: mockSkills,
+ skillDiagnostics: [],
+ })
+ })
+
+ it("sends structured malformed-skill diagnostics without hiding valid skills", async () => {
+ const provider = createMockProvider(true)
+ const diagnostics = [
+ {
+ path: "/workspace/.roo/skills/broken/SKILL.md",
+ source: "project" as const,
+ message: "bad indentation of a mapping entry",
+ line: 3,
+ column: 20,
+ },
+ ]
+ mockGetSkillsMetadata.mockReturnValue(mockSkills)
+ mockGetSkillDiagnostics.mockReturnValue(diagnostics)
+
+ await handleRequestSkills(provider)
+
+ expect(mockPostMessageToWebview).toHaveBeenCalledWith({
+ type: "skills",
+ skills: mockSkills,
+ skillDiagnostics: diagnostics,
+ })
})
it("returns empty skills when skills manager is not available", async () => {
@@ -109,7 +143,11 @@ describe("skillsMessageHandler", () => {
const result = await handleRequestSkills(provider)
expect(result).toEqual([])
- expect(mockPostMessageToWebview).toHaveBeenCalledWith({ type: "skills", skills: [] })
+ expect(mockPostMessageToWebview).toHaveBeenCalledWith({
+ type: "skills",
+ skills: [],
+ skillDiagnostics: [],
+ })
})
it("handles errors and returns empty skills", async () => {
@@ -122,7 +160,11 @@ describe("skillsMessageHandler", () => {
expect(result).toEqual([])
expect(mockLog).toHaveBeenCalled()
- expect(mockPostMessageToWebview).toHaveBeenCalledWith({ type: "skills", skills: [] })
+ expect(mockPostMessageToWebview).toHaveBeenCalledWith({
+ type: "skills",
+ skills: [],
+ skillDiagnostics: [],
+ })
})
})
@@ -142,7 +184,11 @@ describe("skillsMessageHandler", () => {
expect(result).toEqual(mockSkills)
expect(mockCreateSkill).toHaveBeenCalledWith("new-skill", "global", "New skill description", undefined)
expect(openFile).toHaveBeenCalledWith("/path/to/new-skill/SKILL.md")
- expect(mockPostMessageToWebview).toHaveBeenCalledWith({ type: "skills", skills: mockSkills })
+ expect(mockPostMessageToWebview).toHaveBeenCalledWith({
+ type: "skills",
+ skills: mockSkills,
+ skillDiagnostics: [],
+ })
})
it("creates a skill with mode restriction", async () => {
@@ -212,7 +258,11 @@ describe("skillsMessageHandler", () => {
expect(result).toEqual([mockSkills[1]])
expect(mockDeleteSkill).toHaveBeenCalledWith("test-skill", "global", undefined)
- expect(mockPostMessageToWebview).toHaveBeenCalledWith({ type: "skills", skills: [mockSkills[1]] })
+ expect(mockPostMessageToWebview).toHaveBeenCalledWith({
+ type: "skills",
+ skills: [mockSkills[1]],
+ skillDiagnostics: [],
+ })
})
it("deletes a skill with mode restriction", async () => {
@@ -280,7 +330,11 @@ describe("skillsMessageHandler", () => {
expect(result).toEqual([mockSkills[0]])
expect(mockMoveSkill).toHaveBeenCalledWith("test-skill", "global", undefined, "code")
- expect(mockPostMessageToWebview).toHaveBeenCalledWith({ type: "skills", skills: [mockSkills[0]] })
+ expect(mockPostMessageToWebview).toHaveBeenCalledWith({
+ type: "skills",
+ skills: [mockSkills[0]],
+ skillDiagnostics: [],
+ })
})
it("moves a skill from one mode to another", async () => {
@@ -334,6 +388,132 @@ describe("skillsMessageHandler", () => {
})
})
+ describe("handleUpdateSkillModes", () => {
+ it("updates a skill's mode slugs successfully", async () => {
+ const provider = createMockProvider(true)
+ mockUpdateSkillModes.mockResolvedValue(undefined)
+ mockGetSkillsMetadata.mockReturnValue([mockSkills[0]])
+
+ const result = await handleUpdateSkillModes(provider, {
+ type: "updateSkillModes",
+ skillName: "test-skill",
+ source: "global",
+ newSkillModeSlugs: ["code"],
+ } as WebviewMessage)
+
+ expect(result).toEqual([mockSkills[0]])
+ expect(mockUpdateSkillModes).toHaveBeenCalledWith("test-skill", "global", ["code"])
+ expect(mockPostMessageToWebview).toHaveBeenCalledWith({
+ type: "skills",
+ skills: [mockSkills[0]],
+ skillDiagnostics: [],
+ })
+ })
+
+ it("clears a skill's mode restriction with empty slugs", async () => {
+ const provider = createMockProvider(true)
+ mockUpdateSkillModes.mockResolvedValue(undefined)
+ mockGetSkillsMetadata.mockReturnValue([mockSkills[1]])
+
+ const result = await handleUpdateSkillModes(provider, {
+ type: "updateSkillModes",
+ skillName: "project-skill",
+ source: "project",
+ newSkillModeSlugs: [],
+ } as WebviewMessage)
+
+ expect(result).toEqual([mockSkills[1]])
+ expect(mockUpdateSkillModes).toHaveBeenCalledWith("project-skill", "project", [])
+ })
+
+ it("passes undefined mode slugs and refreshes state when newSkillModeSlugs is omitted", async () => {
+ const provider = createMockProvider(true)
+ mockUpdateSkillModes.mockResolvedValue(undefined)
+ mockGetSkillsMetadata.mockReturnValue([mockSkills[0]])
+ // Forward a concrete (non-empty) diagnostic so the assertion proves the
+ // handler relays the diagnostics list rather than always posting []
+ // (which would pass even if the field were dropped or hard-coded).
+ const diagnostics = [
+ {
+ path: "/global/.roo/skills/broken/SKILL.md",
+ source: "global" as const,
+ message: "can not read a block mapping entry",
+ line: 3,
+ column: 10,
+ },
+ ]
+ mockGetSkillDiagnostics.mockReturnValue(diagnostics)
+
+ const message: WebviewMessage = {
+ type: "updateSkillModes",
+ skillName: "test-skill",
+ source: "global",
+ // newSkillModeSlugs omitted
+ }
+ const result = await handleUpdateSkillModes(provider, message)
+
+ expect(result).toEqual([mockSkills[0]])
+ expect(mockUpdateSkillModes).toHaveBeenCalledWith("test-skill", "global", undefined)
+ expect(mockPostMessageToWebview).toHaveBeenCalledWith({
+ type: "skills",
+ skills: [mockSkills[0]],
+ skillDiagnostics: diagnostics,
+ })
+ })
+
+ it("returns undefined when required fields are missing", async () => {
+ const provider = createMockProvider(true)
+
+ const result = await handleUpdateSkillModes(provider, {
+ type: "updateSkillModes",
+ skillName: "test-skill",
+ // missing source
+ } as WebviewMessage)
+
+ expect(result).toBeUndefined()
+ expect(mockUpdateSkillModes).not.toHaveBeenCalled()
+ expect(mockLog).toHaveBeenCalledWith(
+ "Error updating skill modes: Missing required fields: skillName or source",
+ )
+ expect(vscode.window.showErrorMessage).toHaveBeenCalledWith(
+ "Failed to update skill modes: Missing required fields: skillName or source",
+ )
+ })
+
+ it("returns undefined when skills manager is not available", async () => {
+ const provider = createMockProvider(false)
+
+ const result = await handleUpdateSkillModes(provider, {
+ type: "updateSkillModes",
+ skillName: "test-skill",
+ source: "global",
+ newSkillModeSlugs: ["code"],
+ } as WebviewMessage)
+
+ expect(result).toBeUndefined()
+ expect(mockLog).toHaveBeenCalledWith("Error updating skill modes: Skills manager not available")
+ expect(vscode.window.showErrorMessage).toHaveBeenCalledWith(
+ "Failed to update skill modes: Skills manager not available",
+ )
+ })
+
+ it("returns undefined and reports the error when updateSkillModes rejects", async () => {
+ const provider = createMockProvider(true)
+ mockUpdateSkillModes.mockRejectedValue(new Error("boom"))
+
+ const result = await handleUpdateSkillModes(provider, {
+ type: "updateSkillModes",
+ skillName: "test-skill",
+ source: "global",
+ newSkillModeSlugs: ["code"],
+ } as WebviewMessage)
+
+ expect(result).toBeUndefined()
+ expect(mockLog).toHaveBeenCalledWith("Error updating skill modes: boom")
+ expect(vscode.window.showErrorMessage).toHaveBeenCalledWith("Failed to update skill modes: boom")
+ })
+ })
+
describe("handleOpenSkillFile", () => {
it("opens a skill file successfully", async () => {
const provider = createMockProvider(true)
diff --git a/src/core/webview/skillsMessageHandler.ts b/src/core/webview/skillsMessageHandler.ts
index 2eab270734..8687791c59 100644
--- a/src/core/webview/skillsMessageHandler.ts
+++ b/src/core/webview/skillsMessageHandler.ts
@@ -16,15 +16,16 @@ export async function handleRequestSkills(provider: ClineProvider): Promise {
+ let api: API
+ let mockOutputChannel: vscode.OutputChannel
+ let mockProvider: ClineProvider
+ let mockGetSkillsManager: ReturnType
+
+ beforeEach(() => {
+ // mockOutputChannel and mockProvider are intentionally partial
+ // doubles: they implement only the members API touches (appendLine;
+ // context, getSkillsManager, on). The as-unknown-as casts are the
+ // last resort because the partial shapes are not subtypes of the full
+ // vscode.OutputChannel / ClineProvider types.
+ mockOutputChannel = {
+ appendLine: vi.fn(),
+ } as unknown as vscode.OutputChannel
+
+ mockGetSkillsManager = vi.fn()
+
+ mockProvider = {
+ context: {} as vscode.ExtensionContext,
+ getSkillsManager: mockGetSkillsManager,
+ on: vi.fn(),
+ } as unknown as ClineProvider
+
+ api = new API(mockOutputChannel, mockProvider, makeClineProviderFactory(), undefined, true)
+ })
+
+ it("returns the skills and diagnostics from the skills manager", () => {
+ const skills = [
+ {
+ name: "good-skill",
+ description: "A healthy skill.",
+ path: "/skills/good-skill/SKILL.md",
+ source: "project" as const,
+ },
+ ]
+ const skillDiagnostics = [
+ { path: "/skills/bad-skill/SKILL.md", source: "project" as const, message: "YAML syntax error", line: 3 },
+ ]
+ mockGetSkillsManager.mockReturnValue({
+ getSkillsMetadata: vi.fn().mockReturnValue(skills),
+ getSkillDiagnostics: vi.fn().mockReturnValue(skillDiagnostics),
+ })
+
+ expect(api.getSkillsState()).toEqual({ skills, skillDiagnostics })
+ })
+
+ it("returns empty arrays when the skills manager is unavailable", () => {
+ mockGetSkillsManager.mockReturnValue(undefined)
+
+ expect(api.getSkillsState()).toEqual({ skills: [], skillDiagnostics: [] })
+ })
+})
diff --git a/src/extension/api.ts b/src/extension/api.ts
index 15be22d774..d7ca3aa93b 100644
--- a/src/extension/api.ts
+++ b/src/extension/api.ts
@@ -303,6 +303,17 @@ export class API extends EventEmitter implements RooCodeAPI {
}
}
+ public getSkillsState() {
+ const skillsManager = this.sidebarProvider.getSkillsManager()
+ if (!skillsManager) {
+ return { skills: [], skillDiagnostics: [] }
+ }
+ return {
+ skills: skillsManager.getSkillsMetadata(),
+ skillDiagnostics: skillsManager.getSkillDiagnostics(),
+ }
+ }
+
/** Checks persisted turn ordering without exposing conversation contents to tests. */
public async hasTaskApiConversationHistorySequence(
taskId: string,
diff --git a/src/i18n/__tests__/skills-error-locales.spec.ts b/src/i18n/__tests__/skills-error-locales.spec.ts
new file mode 100644
index 0000000000..9a09c91de5
--- /dev/null
+++ b/src/i18n/__tests__/skills-error-locales.spec.ts
@@ -0,0 +1,33 @@
+import fs from "fs"
+import path from "path"
+
+const localesDir = path.join(__dirname, "..", "locales")
+
+const languages = fs
+ .readdirSync(localesDir, { withFileTypes: true })
+ .filter((dirent) => dirent.isDirectory() && !dirent.name.startsWith("."))
+ .map((dirent) => dirent.name)
+
+function loadSkillErrors(language: string): Record {
+ return JSON.parse(fs.readFileSync(path.join(localesDir, language, "skills.json"), "utf8")).errors
+}
+
+describe("skills:errors.outside_skills_root locales", () => {
+ it("covers every shipped locale", () => {
+ expect(languages.length).toBeGreaterThan(0)
+ for (const language of languages) {
+ expect(
+ loadSkillErrors(language).outside_skills_root,
+ `outside_skills_root missing in ${language}`,
+ ).toBeTruthy()
+ }
+ })
+
+ it("keeps the source and path placeholders in every locale", () => {
+ for (const language of languages) {
+ const message = loadSkillErrors(language).outside_skills_root
+ expect(message, `{{source}} placeholder missing in ${language}`).toContain("{{source}}")
+ expect(message, `{{path}} placeholder missing in ${language}`).toContain("{{path}}")
+ }
+ })
+})
diff --git a/src/i18n/locales/ca/skills.json b/src/i18n/locales/ca/skills.json
index 69f87c690c..7053710f59 100644
--- a/src/i18n/locales/ca/skills.json
+++ b/src/i18n/locales/ca/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "No s'ha trobat l'habilitat \"{{name}}\"",
"container_skill_read_only": "L'habilitat \"{{name}}\" prové d'una carpeta d'habilitats enllaçada simbòlicament ({{path}}) i no es pot moure ni eliminar aquí. Canvia-la a la seva carpeta d'origen.",
"symlink_escapes_skill": "No es pot moure l'habilitat: l'enllaç simbòlic {{link}} apunta fora de la carpeta de l'habilitat i es trencaria a la nova ubicació.",
- "move_restore_failed": "No s'ha pogut moure l'skill ({{error}}) i la carpeta original no s'ha pogut restaurar a {{path}}. El teu skill està a salvo a {{backupPath}}; torna'l a moure manualment."
+ "move_restore_failed": "No s'ha pogut moure l'skill ({{error}}) i la carpeta original no s'ha pogut restaurar a {{path}}. El teu skill està a salvo a {{backupPath}}; torna'l a moure manualment.",
+ "outside_skills_root": "No es pot actualitzar SKILL.md fora dels directoris d'habilitats {{source}}: {{path}}"
}
}
diff --git a/src/i18n/locales/de/skills.json b/src/i18n/locales/de/skills.json
index 1093bcc1f0..9ce73e11cf 100644
--- a/src/i18n/locales/de/skills.json
+++ b/src/i18n/locales/de/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "Skill \"{{name}}\" nicht gefunden",
"container_skill_read_only": "Skill \"{{name}}\" stammt aus einem per Symlink eingebundenen Skills-Ordner ({{path}}) und kann hier nicht verschoben oder gelöscht werden. Ändere ihn in seinem Quellordner.",
"symlink_escapes_skill": "Skill kann nicht verschoben werden: Der Symlink {{link}} zeigt aus dem Skill-Ordner heraus und würde am neuen Ort nicht mehr funktionieren.",
- "move_restore_failed": "Das Verschieben des Skills ist fehlgeschlagen ({{error}}) und der ursprüngliche Ordner konnte nicht nach {{path}} wiederhergestellt werden. Dein Skill ist in {{backupPath}} sicher; verschiebe ihn manuell zurück."
+ "move_restore_failed": "Das Verschieben des Skills ist fehlgeschlagen ({{error}}) und der ursprüngliche Ordner konnte nicht nach {{path}} wiederhergestellt werden. Dein Skill ist in {{backupPath}} sicher; verschiebe ihn manuell zurück.",
+ "outside_skills_root": "SKILL.md kann nicht außerhalb der {{source}}-Skill-Verzeichnisse aktualisiert werden: {{path}}"
}
}
diff --git a/src/i18n/locales/en/skills.json b/src/i18n/locales/en/skills.json
index 78c708e93e..ea1f96fa59 100644
--- a/src/i18n/locales/en/skills.json
+++ b/src/i18n/locales/en/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "Skill \"{{name}}\" not found",
"container_skill_read_only": "Skill \"{{name}}\" comes from a symlinked skills folder ({{path}}) and can't be moved or deleted here. Change it in its source folder.",
"symlink_escapes_skill": "Can't move the skill: the symlink {{link}} points outside the skill folder and would break at the new location.",
- "move_restore_failed": "Moving the skill failed ({{error}}) and its original folder couldn't be restored to {{path}}. Your skill is safe in {{backupPath}}; move it back manually."
+ "move_restore_failed": "Moving the skill failed ({{error}}) and its original folder couldn't be restored to {{path}}. Your skill is safe in {{backupPath}}; move it back manually.",
+ "outside_skills_root": "Refusing to update SKILL.md outside the {{source}} skills directories: {{path}}"
}
}
diff --git a/src/i18n/locales/es/skills.json b/src/i18n/locales/es/skills.json
index cb8a821a00..7129854959 100644
--- a/src/i18n/locales/es/skills.json
+++ b/src/i18n/locales/es/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "No se encontró la habilidad \"{{name}}\"",
"container_skill_read_only": "La habilidad \"{{name}}\" proviene de una carpeta de habilidades enlazada simbólicamente ({{path}}) y no se puede mover ni eliminar aquí. Cámbiala en su carpeta de origen.",
"symlink_escapes_skill": "No se puede mover la habilidad: el enlace simbólico {{link}} apunta fuera de la carpeta de la habilidad y se rompería en la nueva ubicación.",
- "move_restore_failed": "No se pudo mover el skill ({{error}}) y su carpeta original no se pudo restaurar en {{path}}. Tu skill está a salvo en {{backupPath}}; muévelo de vuelta manualmente."
+ "move_restore_failed": "No se pudo mover el skill ({{error}}) y su carpeta original no se pudo restaurar en {{path}}. Tu skill está a salvo en {{backupPath}}; muévelo de vuelta manualmente.",
+ "outside_skills_root": "No se puede actualizar SKILL.md fuera de los directorios de habilidades {{source}}: {{path}}"
}
}
diff --git a/src/i18n/locales/fr/skills.json b/src/i18n/locales/fr/skills.json
index a013c2b1e2..fb4b08d94a 100644
--- a/src/i18n/locales/fr/skills.json
+++ b/src/i18n/locales/fr/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "Compétence \"{{name}}\" introuvable",
"container_skill_read_only": "La compétence \"{{name}}\" provient d'un dossier de compétences lié par un lien symbolique ({{path}}) et ne peut pas être déplacée ni supprimée ici. Modifie-la dans son dossier source.",
"symlink_escapes_skill": "Impossible de déplacer la compétence : le lien symbolique {{link}} pointe hors du dossier de la compétence et serait cassé au nouvel emplacement.",
- "move_restore_failed": "Le déplacement du skill a échoué ({{error}}) et son dossier d'origine n'a pas pu être restauré dans {{path}}. Ton skill est en sécurité dans {{backupPath}} ; remets-le en place manuellement."
+ "move_restore_failed": "Le déplacement du skill a échoué ({{error}}) et son dossier d'origine n'a pas pu être restauré dans {{path}}. Ton skill est en sécurité dans {{backupPath}} ; remets-le en place manuellement.",
+ "outside_skills_root": "Impossible de mettre à jour SKILL.md en dehors des dossiers de compétences {{source}} : {{path}}"
}
}
diff --git a/src/i18n/locales/hi/skills.json b/src/i18n/locales/hi/skills.json
index 66e06d81df..9cdc711929 100644
--- a/src/i18n/locales/hi/skills.json
+++ b/src/i18n/locales/hi/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "स्किल \"{{name}}\" नहीं मिला",
"container_skill_read_only": "स्किल \"{{name}}\" एक सिमलिंक किए गए स्किल फ़ोल्डर ({{path}}) से आता है और इसे यहाँ से न तो हटाया जा सकता है और न ही स्थानांतरित किया जा सकता है। इसे इसके मूल फ़ोल्डर में बदलें।",
"symlink_escapes_skill": "स्किल स्थानांतरित नहीं किया जा सकता: सिमलिंक {{link}} स्किल फ़ोल्डर के बाहर इंगित करता है और नए स्थान पर टूट जाएगा।",
- "move_restore_failed": "स्किल को मूव करना विफल रहा ({{error}}) और उसका मूल फ़ोल्डर {{path}} पर वापस नहीं लाया जा सका। तुम्हारी स्किल {{backupPath}} में सुरक्षित है; उसे मैन्युअल रूप से वापस ले जाओ।"
+ "move_restore_failed": "स्किल को मूव करना विफल रहा ({{error}}) और उसका मूल फ़ोल्डर {{path}} पर वापस नहीं लाया जा सका। तुम्हारी स्किल {{backupPath}} में सुरक्षित है; उसे मैन्युअल रूप से वापस ले जाओ।",
+ "outside_skills_root": "{{source}} स्किल निर्देशिकाओं के बाहर SKILL.md को अपडेट करने से मना किया गया: {{path}}"
}
}
diff --git a/src/i18n/locales/id/skills.json b/src/i18n/locales/id/skills.json
index a7616aed1d..aa179c32b1 100644
--- a/src/i18n/locales/id/skills.json
+++ b/src/i18n/locales/id/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "Skill \"{{name}}\" tidak ditemukan",
"container_skill_read_only": "Skill \"{{name}}\" berasal dari folder skill yang di-symlink ({{path}}) dan tidak bisa dipindahkan atau dihapus di sini. Ubah di folder sumbernya.",
"symlink_escapes_skill": "Tidak bisa memindahkan skill: symlink {{link}} mengarah ke luar folder skill dan akan rusak di lokasi baru.",
- "move_restore_failed": "Gagal memindahkan skill ({{error}}) dan folder aslinya tidak dapat dipulihkan ke {{path}}. Skill kamu aman di {{backupPath}}; pindahkan kembali secara manual."
+ "move_restore_failed": "Gagal memindahkan skill ({{error}}) dan folder aslinya tidak dapat dipulihkan ke {{path}}. Skill kamu aman di {{backupPath}}; pindahkan kembali secara manual.",
+ "outside_skills_root": "Menolak memperbarui SKILL.md di luar direktori skill {{source}}: {{path}}"
}
}
diff --git a/src/i18n/locales/it/skills.json b/src/i18n/locales/it/skills.json
index e34c1055b5..8a69e28627 100644
--- a/src/i18n/locales/it/skills.json
+++ b/src/i18n/locales/it/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "Skill \"{{name}}\" non trovata",
"container_skill_read_only": "La skill \"{{name}}\" proviene da una cartella di skill collegata tramite symlink ({{path}}) e non può essere spostata o eliminata qui. Modificala nella sua cartella di origine.",
"symlink_escapes_skill": "Impossibile spostare la skill: il symlink {{link}} punta fuori dalla cartella della skill e non funzionerebbe nella nuova posizione.",
- "move_restore_failed": "Lo spostamento della skill non è riuscito ({{error}}) e la cartella originale non è stata ripristinata in {{path}}. La tua skill è al sicuro in {{backupPath}}; spostala indietro manualmente."
+ "move_restore_failed": "Lo spostamento della skill non è riuscito ({{error}}) e la cartella originale non è stata ripristinata in {{path}}. La tua skill è al sicuro in {{backupPath}}; spostala indietro manualmente.",
+ "outside_skills_root": "Impossibile aggiornare SKILL.md al di fuori delle cartelle delle skill {{source}}: {{path}}"
}
}
diff --git a/src/i18n/locales/ja/skills.json b/src/i18n/locales/ja/skills.json
index c70cf80959..ab67fd5b1e 100644
--- a/src/i18n/locales/ja/skills.json
+++ b/src/i18n/locales/ja/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "スキル「{{name}}」が見つかりません",
"container_skill_read_only": "スキル「{{name}}」はシンボリックリンクされたスキルフォルダー({{path}})にあるため、ここでは移動も削除もできません。元のフォルダーで変更してください。",
"symlink_escapes_skill": "スキルを移動できません:シンボリックリンク {{link}} がスキルフォルダーの外を指しているため、新しい場所では壊れてしまいます。",
- "move_restore_failed": "スキルの移動に失敗し({{error}})、元のフォルダーを {{path}} に復元できませんでした。スキルは {{backupPath}} に安全に保存されています。手動で元に戻してください。"
+ "move_restore_failed": "スキルの移動に失敗し({{error}})、元のフォルダーを {{path}} に復元できませんでした。スキルは {{backupPath}} に安全に保存されています。手動で元に戻してください。",
+ "outside_skills_root": "{{source}} スキルディレクトリの外にある SKILL.md は更新できません:{{path}}"
}
}
diff --git a/src/i18n/locales/ko/skills.json b/src/i18n/locales/ko/skills.json
index ee78643b2b..bef5bdff56 100644
--- a/src/i18n/locales/ko/skills.json
+++ b/src/i18n/locales/ko/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "스킬 \"{{name}}\"을(를) 찾을 수 없습니다",
"container_skill_read_only": "스킬 \"{{name}}\"은(는) 심볼릭 링크된 스킬 폴더({{path}})에 있어 여기서 이동하거나 삭제할 수 없습니다. 원본 폴더에서 변경하세요.",
"symlink_escapes_skill": "스킬을 이동할 수 없습니다: 심볼릭 링크 {{link}}이(가) 스킬 폴더 바깥을 가리키므로 새 위치에서 깨집니다.",
- "move_restore_failed": "스킬 이동에 실패했고({{error}}) 원래 폴더를 {{path}}(으)로 복원하지 못했습니다. 스킬은 {{backupPath}}에 안전하게 있으니 직접 다시 옮겨 주세요."
+ "move_restore_failed": "스킬 이동에 실패했고({{error}}) 원래 폴더를 {{path}}(으)로 복원하지 못했습니다. 스킬은 {{backupPath}}에 안전하게 있으니 직접 다시 옮겨 주세요.",
+ "outside_skills_root": "{{source}} 스킬 디렉터리 밖의 SKILL.md는 업데이트할 수 없습니다: {{path}}"
}
}
diff --git a/src/i18n/locales/nl/skills.json b/src/i18n/locales/nl/skills.json
index 05a17f9768..6609ba44b8 100644
--- a/src/i18n/locales/nl/skills.json
+++ b/src/i18n/locales/nl/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "Vaardigheid \"{{name}}\" niet gevonden",
"container_skill_read_only": "Vaardigheid \"{{name}}\" komt uit een via symlink gekoppelde vaardighedenmap ({{path}}) en kan hier niet worden verplaatst of verwijderd. Wijzig hem in de bronmap.",
"symlink_escapes_skill": "Kan de vaardigheid niet verplaatsen: de symlink {{link}} wijst naar buiten de vaardighedenmap en zou op de nieuwe locatie niet meer werken.",
- "move_restore_failed": "Het verplaatsen van de skill is mislukt ({{error}}) en de oorspronkelijke map kon niet worden hersteld naar {{path}}. Je skill staat veilig in {{backupPath}}; zet hem handmatig terug."
+ "move_restore_failed": "Het verplaatsen van de skill is mislukt ({{error}}) en de oorspronkelijke map kon niet worden hersteld naar {{path}}. Je skill staat veilig in {{backupPath}}; zet hem handmatig terug.",
+ "outside_skills_root": "Kan SKILL.md niet bijwerken buiten de {{source}}-vaardighedensmappen: {{path}}"
}
}
diff --git a/src/i18n/locales/pl/skills.json b/src/i18n/locales/pl/skills.json
index 0e583164b5..1c506e8671 100644
--- a/src/i18n/locales/pl/skills.json
+++ b/src/i18n/locales/pl/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "Nie znaleziono umiejętności \"{{name}}\"",
"container_skill_read_only": "Umiejętność \"{{name}}\" pochodzi z folderu umiejętności podłączonego dowiązaniem symbolicznym ({{path}}) i nie można jej tutaj przenieść ani usunąć. Zmień ją w folderze źródłowym.",
"symlink_escapes_skill": "Nie można przenieść umiejętności: dowiązanie symboliczne {{link}} wskazuje poza folder umiejętności i przestałoby działać w nowej lokalizacji.",
- "move_restore_failed": "Przeniesienie skilla nie powiodło się ({{error}}), a oryginalnego folderu nie udało się przywrócić do {{path}}. Twój skill jest bezpieczny w {{backupPath}}; przenieś go z powrotem ręcznie."
+ "move_restore_failed": "Przeniesienie skilla nie powiodło się ({{error}}), a oryginalnego folderu nie udało się przywrócić do {{path}}. Twój skill jest bezpieczny w {{backupPath}}; przenieś go z powrotem ręcznie.",
+ "outside_skills_root": "Nie można zaktualizować SKILL.md poza katalogami umiejętności {{source}}: {{path}}"
}
}
diff --git a/src/i18n/locales/pt-BR/skills.json b/src/i18n/locales/pt-BR/skills.json
index 1a838e6bf3..a9d143b2c6 100644
--- a/src/i18n/locales/pt-BR/skills.json
+++ b/src/i18n/locales/pt-BR/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "Habilidade \"{{name}}\" não encontrada",
"container_skill_read_only": "A habilidade \"{{name}}\" vem de uma pasta de habilidades vinculada por link simbólico ({{path}}) e não pode ser movida nem excluída aqui. Altere-a na pasta de origem.",
"symlink_escapes_skill": "Não é possível mover a habilidade: o link simbólico {{link}} aponta para fora da pasta da habilidade e quebraria no novo local.",
- "move_restore_failed": "Falha ao mover a skill ({{error}}) e a pasta original não pôde ser restaurada em {{path}}. Sua skill está segura em {{backupPath}}; mova-a de volta manualmente."
+ "move_restore_failed": "Falha ao mover a skill ({{error}}) e a pasta original não pôde ser restaurada em {{path}}. Sua skill está segura em {{backupPath}}; mova-a de volta manualmente.",
+ "outside_skills_root": "Não é possível atualizar o SKILL.md fora das pastas de habilidades {{source}}: {{path}}"
}
}
diff --git a/src/i18n/locales/ru/skills.json b/src/i18n/locales/ru/skills.json
index 18ceff9470..f4cdcead37 100644
--- a/src/i18n/locales/ru/skills.json
+++ b/src/i18n/locales/ru/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "Навык \"{{name}}\" не найден",
"container_skill_read_only": "Навык \"{{name}}\" находится в папке навыков, подключённой через символическую ссылку ({{path}}), и его нельзя переместить или удалить здесь. Измени его в исходной папке.",
"symlink_escapes_skill": "Не удалось переместить навык: символическая ссылка {{link}} указывает за пределы папки навыка и сломается в новом месте.",
- "move_restore_failed": "Не удалось переместить навык ({{error}}), и исходную папку не получилось восстановить в {{path}}. Твой навык в безопасности в {{backupPath}}; верни его вручную."
+ "move_restore_failed": "Не удалось переместить навык ({{error}}), и исходную папку не получилось восстановить в {{path}}. Твой навык в безопасности в {{backupPath}}; верни его вручную.",
+ "outside_skills_root": "Нельзя обновить SKILL.md вне каталогов навыков {{source}}: {{path}}"
}
}
diff --git a/src/i18n/locales/tr/skills.json b/src/i18n/locales/tr/skills.json
index 0235bd8c19..6b5f4c1441 100644
--- a/src/i18n/locales/tr/skills.json
+++ b/src/i18n/locales/tr/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "\"{{name}}\" becerisi bulunamadı",
"container_skill_read_only": "\"{{name}}\" becerisi sembolik bağlantılı bir beceri klasöründen ({{path}}) geliyor ve burada taşınamaz veya silinemez. Kaynak klasöründe değiştir.",
"symlink_escapes_skill": "Beceri taşınamıyor: {{link}} sembolik bağlantısı beceri klasörünün dışını gösteriyor ve yeni konumda bozulur.",
- "move_restore_failed": "Skill taşınamadı ({{error}}) ve orijinal klasörü {{path}} konumuna geri yüklenemedi. Skill'in {{backupPath}} içinde güvende; onu elle geri taşı."
+ "move_restore_failed": "Skill taşınamadı ({{error}}) ve orijinal klasörü {{path}} konumuna geri yüklenemedi. Skill'in {{backupPath}} içinde güvende; onu elle geri taşı.",
+ "outside_skills_root": "{{source}} beceri klasörlerinin dışındaki SKILL.md güncellenemez: {{path}}"
}
}
diff --git a/src/i18n/locales/vi/skills.json b/src/i18n/locales/vi/skills.json
index 8c15253dbb..aaf358bcf3 100644
--- a/src/i18n/locales/vi/skills.json
+++ b/src/i18n/locales/vi/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "Không tìm thấy kỹ năng \"{{name}}\"",
"container_skill_read_only": "Kỹ năng \"{{name}}\" đến từ một thư mục kỹ năng được liên kết tượng trưng ({{path}}) nên không thể di chuyển hoặc xóa ở đây. Hãy thay đổi nó trong thư mục nguồn.",
"symlink_escapes_skill": "Không thể di chuyển kỹ năng: liên kết tượng trưng {{link}} trỏ ra ngoài thư mục kỹ năng và sẽ bị hỏng ở vị trí mới.",
- "move_restore_failed": "Không thể di chuyển skill ({{error}}) và không thể khôi phục thư mục gốc về {{path}}. Skill của bạn vẫn an toàn trong {{backupPath}}; hãy di chuyển lại thủ công."
+ "move_restore_failed": "Không thể di chuyển skill ({{error}}) và không thể khôi phục thư mục gốc về {{path}}. Skill của bạn vẫn an toàn trong {{backupPath}}; hãy di chuyển lại thủ công.",
+ "outside_skills_root": "Không thể cập nhật SKILL.md nằm ngoài các thư mục kỹ năng {{source}}: {{path}}"
}
}
diff --git a/src/i18n/locales/zh-CN/skills.json b/src/i18n/locales/zh-CN/skills.json
index 4ae1d9f960..c7a7954650 100644
--- a/src/i18n/locales/zh-CN/skills.json
+++ b/src/i18n/locales/zh-CN/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "未找到技能 \"{{name}}\"",
"container_skill_read_only": "技能 \"{{name}}\" 来自通过符号链接引入的技能文件夹({{path}}),无法在此移动或删除。请在其源文件夹中修改。",
"symlink_escapes_skill": "无法移动技能:符号链接 {{link}} 指向技能文件夹之外,移动后会失效。",
- "move_restore_failed": "移动技能失败({{error}}),且无法将原文件夹恢复到 {{path}}。你的技能安全保存在 {{backupPath}} 中,请手动将其移回。"
+ "move_restore_failed": "移动技能失败({{error}}),且无法将原文件夹恢复到 {{path}}。你的技能安全保存在 {{backupPath}} 中,请手动将其移回。",
+ "outside_skills_root": "无法更新位于 {{source}} 技能目录之外的 SKILL.md:{{path}}"
}
}
diff --git a/src/i18n/locales/zh-TW/skills.json b/src/i18n/locales/zh-TW/skills.json
index 9dd272f5a0..1c551df290 100644
--- a/src/i18n/locales/zh-TW/skills.json
+++ b/src/i18n/locales/zh-TW/skills.json
@@ -14,6 +14,7 @@
"skill_not_found": "找不到技能「{{name}}」",
"container_skill_read_only": "技能「{{name}}」來自透過符號連結引入的技能資料夾({{path}}),無法在此移動或刪除。請在其來源資料夾中修改。",
"symlink_escapes_skill": "無法移動技能:符號連結 {{link}} 指向技能資料夾之外,移動後會失效。",
- "move_restore_failed": "移動技能失敗({{error}}),且無法將原資料夾還原到 {{path}}。你的技能安全保存在 {{backupPath}} 中,請手動將其移回。"
+ "move_restore_failed": "移動技能失敗({{error}}),且無法將原資料夾還原到 {{path}}。你的技能安全保存在 {{backupPath}} 中,請手動將其移回。",
+ "outside_skills_root": "無法更新位於 {{source}} 技能目錄之外的 SKILL.md:{{path}}"
}
}
diff --git a/src/services/skills/SkillsManager.ts b/src/services/skills/SkillsManager.ts
index 09809a9bcc..e0ba8c6922 100644
--- a/src/services/skills/SkillsManager.ts
+++ b/src/services/skills/SkillsManager.ts
@@ -7,7 +7,7 @@ import { parseFrontmatter } from "../../utils/safeFrontmatter"
import type { ClineProvider } from "../../core/webview/ClineProvider"
import { getGlobalRooDirectory, getGlobalAgentsDirectory, getProjectAgentsDirectoryForCwd } from "../roo-config"
import { directoryExists, fileExists } from "../roo-config"
-import { SkillMetadata, SkillContent } from "../../shared/skills"
+import { SkillMetadata, SkillContent, SkillDiagnostic } from "../../shared/skills"
import { modes, getAllModes } from "../../shared/modes"
import {
validateSkillName as validateSkillNameShared,
@@ -17,11 +17,45 @@ import {
import { t } from "../../i18n"
// Re-export for convenience
-export type { SkillMetadata, SkillContent }
+export type { SkillMetadata, SkillContent, SkillDiagnostic }
// Direct children (new skill folders or container symlinks) and their SKILL.md files.
const SKILLS_WATCH_PATTERN = "{*,*/SKILL.md}"
+/**
+ * Extract the raw top-level `key: ...` line from the frontmatter block of a
+ * SKILL.md file, along with its 1-based line number in the file. Used to
+ * point users at the exact line when YAML parsing fails (see issue #859).
+ * Returns undefined when the file has no frontmatter block or no matching
+ * top-level line.
+ */
+function getFrontmatterLine(fileContent: string, key: string): { line: string; lineNumber: number } | undefined {
+ const match = fileContent.match(/^---\r?\n([\s\S]*?)\r?\n---/)
+ if (!match) {
+ return undefined
+ }
+ const linePattern = new RegExp(`^${key}\\s*:`)
+ const frontmatterLines = match[1].split(/\r?\n/)
+ const index = frontmatterLines.findIndex((line) => linePattern.test(line))
+ if (index === -1) {
+ return undefined
+ }
+ // The opening `---` occupies file line 1, so frontmatter index 0 is file line 2.
+ return { line: frontmatterLines[index], lineNumber: index + 2 }
+}
+
+// gray-matter's bundled typings predate its options passthrough: `stringify`
+// forwards its options object to js-yaml's safeDump, so js-yaml dump options
+// such as `lineWidth` are honored at runtime even though the declared
+// `GrayMatterOption` interface does not list them. This type names the
+// supported subset explicitly (see issue #859).
+type SkillYamlDumpOptions = matter.GrayMatterOption & { lineWidth: number }
+
+// `lineWidth: -1` keeps long plain scalars (e.g. descriptions) on a single
+// line instead of reflowing them into folded block scalars, keeping SKILL.md
+// files stable across edits.
+const SKILL_YAML_DUMP_OPTIONS: SkillYamlDumpOptions = { lineWidth: -1 }
+
/** Mutable state shared by every scan in a single discovery pass. */
interface DiscoveryPass {
/** Skills found in this pass. Published to the manager only when the pass ends. */
@@ -36,6 +70,8 @@ interface DiscoveryPass {
* unreadable for a moment. Everything else is replaced by the results of the pass.
*/
failedPaths: string[]
+ /** Frontmatter parse failures recorded during this pass. Published to the manager only when the pass ends. */
+ diagnostics: SkillDiagnostic[]
}
function isNotFoundError(error: unknown): boolean {
@@ -58,8 +94,13 @@ function isHiddenEntry(name: string): boolean {
return name.startsWith(".")
}
+// Stale-sidecar sweep: a matching temp file younger than this may belong to a live write in
+// another process, so only older sidecars are treated as abandoned by a previous host.
+const SKILL_TEMP_SIDECAR_STALE_MS = 10 * 60 * 1000
+
export class SkillsManager {
private skills: Map = new Map()
+ private diagnostics: SkillDiagnostic[] = []
// SKILL.md paths of skills that come from a symlinked container. These are read-only for move/delete.
private containerSkillPaths: Set = new Set()
// Published symlinked containers: real path -> the root entry that links to it
@@ -74,14 +115,89 @@ export class SkillsManager {
// Runs discovery passes one at a time, so an older pass can't finish after a newer one
private discoveryQueue: Promise = Promise.resolve()
private isDisposed = false
+ // Atomic SKILL.md writes in flight, tracked so dispose() can remove temp sidecars if the
+ // extension host stops between the staged write and the rename.
+ private activeTempFiles: Set = new Set()
+ // Per-directory serialization for SKILL.md sidecar cleanup and writes. The queue is static so
+ // every SkillsManager instance in this process shares it: a sweep cannot unlink a sidecar that
+ // another instance is still writing, and writes cannot interleave their validate/rename steps.
+ private static directoryQueues: Map> = new Map()
constructor(provider: ClineProvider) {
this.providerRef = new WeakRef(provider)
}
- async initialize(): Promise {
- await this.discoverSkills()
- await this.setupFileWatchers()
+ private initialization: Promise | null = null
+
+ initialize(): Promise {
+ if (this.initialization) return this.initialization
+ this.initialization = (async () => {
+ // A previous extension-host stop can leave a staged SKILL.md temp sidecar behind; the
+ // in-memory tracking cannot survive that, so sweep the known skills directories once.
+ try {
+ await this.sweepStaleSkillTempFiles()
+ } catch {
+ // Stale-cleanup is best effort; discovery and watcher setup still run.
+ }
+ // Disposal can land during the sweep: stop before touching discovery or watchers.
+ if (this.isDisposed) return
+ // One bounded retry, taken after the freshness window closes. The sweep skips sidecars that
+ // are still fresh because they may belong to a live write in another process, and nothing
+ // else ever revisits them: a host that died mid-write leaves the sidecar until the next
+ // launch. unref() so a pending retry cannot hold the extension host open, and dispose()
+ // cancels it so a host that stops inside the window does not sweep again.
+ const staleRetry = setTimeout(() => {
+ void this.sweepStaleSkillTempFiles().catch(() => {})
+ }, SKILL_TEMP_SIDECAR_STALE_MS)
+ staleRetry.unref()
+ this.disposables.push({ dispose: () => clearTimeout(staleRetry) })
+ await this.discoverSkills()
+ if (this.isDisposed) return
+ await this.setupFileWatchers()
+ })()
+ return this.initialization
+ }
+
+ /**
+ * Remove SKILL.md temp sidecars left by a previous host: the name pattern is the one
+ * writeSkillFileAtomically generates, and only the skill directories under the known skills
+ * roots are scanned.
+ */
+ private async sweepStaleSkillTempFiles(): Promise {
+ const tempPattern = /^\.SKILL\.md\.\d+\.[a-z0-9]+\.tmp$/
+ const roots = (await this.getSkillsDirectories()).map((entry) => entry.dir)
+ for (const root of roots) {
+ let entries: unknown[]
+ try {
+ entries = await fs.readdir(root, { withFileTypes: true })
+ } catch {
+ continue
+ }
+ const directories = [root]
+ for (const entry of entries) {
+ const dirent = entry as { name?: string; isDirectory?: () => boolean }
+ if (!dirent?.isDirectory?.()) continue
+ directories.push(path.join(root, String(dirent.name)))
+ }
+ for (const directory of directories) {
+ await this.withDirectoryLock(directory, async () => {
+ let files: string[]
+ try {
+ files = await fs.readdir(directory)
+ } catch {
+ return
+ }
+ for (const file of files) {
+ if (!tempPattern.test(file)) continue
+ const stalePath = path.join(directory, file)
+ const stats = await fs.stat(stalePath).catch(() => undefined)
+ // Leave fresh sidecars alone: they may belong to a write in another process.
+ if (!stats || Date.now() - stats.mtimeMs < SKILL_TEMP_SIDECAR_STALE_MS) continue
+ await fs.unlink(stalePath).catch(() => {})
+ }
+ })
+ }
+ }
}
/**
@@ -109,6 +225,7 @@ export class SkillsManager {
containerSkillPaths: new Set(),
containers: new Map(),
failedPaths: [],
+ diagnostics: [],
}
const skillsDirs = await this.getSkillsDirectories()
@@ -149,6 +266,7 @@ export class SkillsManager {
this.skills = pass.skills
this.containerSkillPaths = pass.containerSkillPaths
this.containers = pass.containers
+ this.diagnostics = pass.diagnostics
}
/**
@@ -316,8 +434,45 @@ export class SkillsManager {
}
try {
- // Use gray-matter to parse frontmatter
- const { data: frontmatter } = parseFrontmatter(fileContent)
+ // Parse the frontmatter. Parse errors are handled separately from field
+ // validation so that YAML syntax problems (e.g. unescaped double quotes in
+ // the description) report the actual cause instead of a misleading
+ // "missing required field" message (see issue #859).
+ //
+ // The parse goes through parseFrontmatter, the helper main added with the
+ // frontmatter security fix: it pins the yaml engine, rejects a document-
+ // selected executable engine, and passes options, which bypasses gray-matter's
+ // shared, input-only parse cache. That last part is what keeps this call
+ // deterministic: a frontmatter that throws on first parse is not cached with
+ // an empty data object, so every later parse of the same content re-throws
+ // instead of silently returning that empty object.
+ let parsed: ReturnType
+ try {
+ parsed = parseFrontmatter(fileContent)
+ } catch (error) {
+ this.recordDiagnostic(skillMdPath, source, error, pass.diagnostics)
+ console.error(`Failed to parse skill at ${skillDir}:`, error)
+ // The most common cause is unescaped double quotes in the
+ // description value. Only hint at that when the parser error is
+ // located on the description line itself, so a valid quoted
+ // description plus an unrelated YAML error elsewhere does not
+ // produce a misleading hint (see issue #859).
+ const descriptionLine = getFrontmatterLine(fileContent, "description")
+ const errorMark = (error as { mark?: { line?: unknown } }).mark
+ if (
+ descriptionLine?.line.includes('"') &&
+ typeof errorMark?.line === "number" &&
+ errorMark.line + 1 === descriptionLine.lineNumber
+ ) {
+ console.error(
+ `Hint: the "description" value in ${skillMdPath} contains unescaped double quotes. ` +
+ "Wrap the value in single quotes (or escape the double quotes) and save.",
+ )
+ }
+ return undefined
+ }
+
+ const { data: frontmatter } = parsed
// Validate required fields (only name and description for now)
if (!frontmatter.name || typeof frontmatter.name !== "string") {
@@ -392,6 +547,29 @@ export class SkillsManager {
}
}
+ /**
+ * Record a frontmatter parse failure so the user learns which SKILL.md is broken
+ * and why, with the parser's own reason and location when available (see issue #859).
+ */
+ private recordDiagnostic(
+ path: string,
+ source: "global" | "project",
+ error: unknown,
+ diagnostics: SkillDiagnostic[],
+ ): void {
+ const yamlError = error as {
+ reason?: unknown
+ message?: unknown
+ mark?: { line?: unknown; column?: unknown }
+ }
+ const reason = typeof yamlError.reason === "string" ? yamlError.reason : undefined
+ const errorMessage = error instanceof Error ? error.message.split("\n", 1)[0] : String(error)
+ const line = typeof yamlError.mark?.line === "number" ? yamlError.mark.line + 1 : undefined
+ const column = typeof yamlError.mark?.column === "number" ? yamlError.mark.column + 1 : undefined
+
+ diagnostics.push({ path, source, message: reason ?? errorMessage, line, column })
+ }
+
/**
* Get skills available for the current mode.
* Resolves overrides: project > global, mode-specific > generic.
@@ -503,6 +681,10 @@ export class SkillsManager {
* Get all skills metadata (for UI display)
* Returns skills from all sources without content
*/
+ getSkillDiagnostics(): SkillDiagnostic[] {
+ return [...this.diagnostics]
+ }
+
getSkillsMetadata(): SkillMetadata[] {
return this.getAllSkills()
}
@@ -554,6 +736,105 @@ export class SkillsManager {
}
}
+ private async withDirectoryLock(directory: string, operation: () => Promise): Promise {
+ // Normalize through realpath first so a symlinked alias shares the same queue key; fall
+ // back to the resolved path when the directory cannot be resolved (e.g. not created yet).
+ const key = await fs.realpath(directory).catch(() => path.resolve(directory))
+ const previous = SkillsManager.directoryQueues.get(key) ?? Promise.resolve()
+ const run = previous.then(async () => {
+ // A manager disposed while this operation waited must not run at all.
+ if (this.isDisposed) throw new Error("SkillsManager is disposed")
+ return operation()
+ })
+ const tracked = run.then(
+ () => undefined,
+ () => undefined,
+ )
+ SkillsManager.directoryQueues.set(key, tracked)
+ try {
+ return await run
+ } finally {
+ if (SkillsManager.directoryQueues.get(key) === tracked) {
+ SkillsManager.directoryQueues.delete(key)
+ }
+ }
+ }
+
+ /**
+ * Write one SKILL.md atomically: stage the content in a same-directory temp file,
+ * await the complete write, then rename it over the target. A crash or failed write
+ * must not leave a truncated SKILL.md that the loader would silently misparse.
+ * The temp file is removed when the write or rename fails.
+ * Content may be passed as a producer; a producer runs inside the directory lock, so a
+ * caller that must read the current file first keeps read and publish in one queued unit.
+ */
+ private async writeSkillFileAtomically(
+ filePath: string,
+ content: string | (() => Promise),
+ validateTarget?: (targetPath: string) => Promise,
+ ): Promise {
+ const directory = path.dirname(filePath)
+ await this.withDirectoryLock(directory, async () => {
+ // Materialise the payload here, inside the queue: a caller that has to read the current
+ // SKILL.md before composing its replacement passes a producer, and reading outside this
+ // lock would let another writer land between that read and the rename below.
+ const payload = typeof content === "function" ? await content() : content
+ const temporaryPath = path.join(
+ directory,
+ `.${path.basename(filePath)}.${Date.now()}.${Math.random().toString(36).slice(2)}.tmp`,
+ )
+ this.activeTempFiles.add(temporaryPath)
+ // Only a write that actually created the sidecar through exclusive creation may remove
+ // it: when wx fails because the path already exists, that file belongs to someone else.
+ let ownsTemporaryPath = false
+ try {
+ if (this.isDisposed) throw new Error("SkillsManager is disposed")
+ // Exclusive creation: a pre-created symlink at the generated name cannot be followed.
+ await fs.writeFile(temporaryPath, payload, { encoding: "utf-8", flag: "wx" })
+ ownsTemporaryPath = true
+ if (this.isDisposed) throw new Error("SkillsManager is disposed")
+ // Re-validate the final target immediately before the rename: the target (or an
+ // ancestor) can change between the caller's resolution and this publish.
+ await validateTarget?.(filePath)
+ if (this.isDisposed) throw new Error("SkillsManager is disposed")
+ // rename replaces the target's inode, so the replacement must carry the target's
+ // permission bits: a user-restricted SKILL.md (e.g. 0600) would otherwise come back
+ // with the process default mode and become readable by other local users. A target
+ // that does not exist yet (createSkill) has no mode to preserve and keeps the default.
+ // Only a missing target is allowed to fall through to the default mode: any other stat
+ // failure means the mode could not be read, and renaming anyway would replace a
+ // restricted SKILL.md with a file carrying the process default mode.
+ const existingTarget = await fs.stat(filePath).catch((error: unknown) => {
+ const code =
+ typeof error === "object" && error !== null ? (error as { code?: unknown }).code : undefined
+ // A missing target (or an error that carries no filesystem code at all) has no mode to
+ // preserve. Any coded failure - EACCES, EIO, EPERM - means the mode could not be read,
+ // and renaming anyway would replace a restricted SKILL.md with a file that carries the
+ // process default mode, so it fails closed.
+ if (code === "ENOENT" || typeof code !== "string") {
+ return undefined
+ }
+ throw error
+ })
+ if (existingTarget && typeof existingTarget.mode === "number") {
+ await fs.chmod(temporaryPath, existingTarget.mode & 0o777)
+ }
+ await fs.rename(temporaryPath, filePath)
+ } catch (error) {
+ // Best effort: a partial temp file must not be left behind, but an EEXIST failure
+ // means exclusive creation never acquired the path and the existing file belongs to
+ // someone else. Any other failure may have created a partial sidecar and is cleaned
+ // up; the original failure is the one the caller needs to see.
+ if (ownsTemporaryPath || (error as { code?: string })?.code !== "EEXIST") {
+ await fs.unlink(temporaryPath).catch(() => {})
+ }
+ throw error
+ } finally {
+ this.activeTempFiles.delete(temporaryPath)
+ }
+ })
+ }
+
/**
* Create a new skill
* @param name - Skill name (must be valid per agentskills.io spec)
@@ -602,8 +883,9 @@ export class SkillsManager {
throw new Error(t("skills:errors.already_exists", { name, path: skillMdPath }))
}
- // Create the skill directory
- await fs.mkdir(skillDir, { recursive: true })
+ // Create the skill directory. mkdir reports the path it created (when any), so a
+ // failed persistence can remove exactly the directory this call introduced.
+ const createdDir = await fs.mkdir(skillDir, { recursive: true })
// Generate SKILL.md content with frontmatter
const titleName = name
@@ -611,28 +893,38 @@ export class SkillsManager {
.map((word) => word.charAt(0).toUpperCase() + word.slice(1))
.join(" ")
- // Build frontmatter with optional modeSlugs
- const frontmatterLines = [`name: ${name}`, `description: ${trimmedDescription}`]
- if (modeSlugs && modeSlugs.length > 0) {
- frontmatterLines.push(`modeSlugs:`)
- for (const slug of modeSlugs) {
- frontmatterLines.push(` - ${slug}`)
- }
+ // Build the frontmatter as data and serialize it with gray-matter so
+ // values containing YAML special characters (e.g. double quotes in the
+ // description) are quoted/escaped automatically. Hand-built frontmatter
+ // produced unparseable SKILL.md files that silently failed to load
+ // (see issue #859). lineWidth: -1 keeps plain values on a single line,
+ // matching the previous output format.
+ const frontmatter = {
+ name,
+ description: trimmedDescription,
+ ...(modeSlugs && modeSlugs.length > 0 ? { modeSlugs } : {}),
}
-
- const skillContent = `---
-${frontmatterLines.join("\n")}
----
-
+ const body = `
# ${titleName}
## Instructions
Add your skill instructions here.
`
-
- // Write the SKILL.md file
- await fs.writeFile(skillMdPath, skillContent, "utf-8")
+ const skillContent = matter.stringify(body, frontmatter, SKILL_YAML_DUMP_OPTIONS)
+ // Publish the SKILL.md atomically, and leave no half-created skill directory behind
+ // when persistence fails. mkdir(recursive) can report the first ancestor it created
+ // (.roo or skills), so a recursive removal of that value could delete unrelated
+ // skills: only this call's own skill directory is removed, and only while it is
+ // empty. Any created ancestor stays behind like the empty directory it is.
+ try {
+ await this.writeSkillFileAtomically(skillMdPath, skillContent)
+ } catch (error) {
+ if (createdDir) {
+ await fs.rmdir(skillDir).catch(() => {})
+ }
+ throw error
+ }
// Refresh skills list
await this.discoverSkills()
@@ -922,6 +1214,26 @@ Add your skill instructions here.
return undefined
}
+ /**
+ * The resolved SKILL.md target must stay inside one of the configured skills roots for the
+ * source: a direct skill-directory symlink can point anywhere, and publishing through it
+ * would write outside the user selected skills folder.
+ */
+ private async assertTargetWithinSkillsRoots(targetPath: string, source: "global" | "project"): Promise {
+ const roots = (await this.getSkillsDirectories())
+ .filter((entry) => entry.source === source)
+ .map((entry) => entry.dir)
+ const inside = async (root: string): Promise => {
+ const resolvedRoot = await fs.realpath(root).catch(() => root)
+ const relative = path.relative(resolvedRoot, targetPath)
+ return relative.length > 0 && !relative.startsWith("..") && !path.isAbsolute(relative)
+ }
+ for (const root of roots) {
+ if (await inside(root)) return
+ }
+ throw new Error(t("skills:errors.outside_skills_root", { source, path: targetPath }))
+ }
+
/**
* Update the mode associations for a skill by modifying its SKILL.md frontmatter.
* @param name - Skill name
@@ -944,24 +1256,61 @@ Add your skill instructions here.
this.assertNotContainerSkill(skill)
- // Read the current SKILL.md file
- const fileContent = await fs.readFile(skill.path, "utf-8")
- const { data: frontmatter, content: body } = parseFrontmatter(fileContent)
-
- // Update the frontmatter with new modeSlugs
- if (newModeSlugs && newModeSlugs.length > 0) {
- frontmatter.modeSlugs = newModeSlugs
- // Remove legacy mode field if present
- delete frontmatter.mode
- } else {
- // Empty/undefined = any mode, remove mode restrictions
- delete frontmatter.modeSlugs
- delete frontmatter.mode
- }
+ // Resolve the link target first: publishing through the temp+rename must update the file
+ // the skill was discovered through, not replace a symlinked SKILL.md with a regular file.
+ // A resolution failure propagates: publishing through the unresolved path could replace a
+ // symlink with a regular file (or write somewhere other than the target the caller saw).
+ const targetPath = await fs.realpath(skill.path)
+ await this.assertTargetWithinSkillsRoots(targetPath, source)
+ // Read, serialise and publish as one queued operation. writeSkillFileAtomically takes the
+ // directory lock before it runs this producer, so another writer in the same directory -
+ // another update, or a stale-sidecar sweep - cannot land between reading SKILL.md and
+ // renaming the staged file over it, and an edit that landed while this call waited in the
+ // queue is read here instead of being silently discarded.
+ // Every step of that queued unit is bound to targetPath, the file this call resolved, and
+ // not to skill.path: a container symlink can be retargeted while the update waits in the
+ // directory queue, and reading through skill.path then composes the new target's contents
+ // and renames them over the file the update was asked for.
+ await this.writeSkillFileAtomically(
+ targetPath,
+ async () => {
+ const fileContent = await fs.readFile(targetPath, "utf-8")
+ const { data: frontmatter, content: body } = parseFrontmatter(fileContent)
+
+ // Update the frontmatter with new modeSlugs
+ if (newModeSlugs && newModeSlugs.length > 0) {
+ frontmatter.modeSlugs = newModeSlugs
+ // Remove legacy mode field if present
+ delete frontmatter.mode
+ } else {
+ // Empty/undefined = any mode, remove mode restrictions
+ delete frontmatter.modeSlugs
+ delete frontmatter.mode
+ }
- // Serialize back to SKILL.md format
- const newContent = matter.stringify({ content: body }, frontmatter)
- await fs.writeFile(skill.path, newContent, "utf-8")
+ // Serialize back to SKILL.md format. lineWidth: -1 prevents long
+ // values from being reflowed into folded block scalars, keeping the
+ // file stable (see issue #859).
+ return matter.stringify({ content: body }, frontmatter, SKILL_YAML_DUMP_OPTIONS)
+ },
+ async (target) => {
+ // Fail closed: a resolution failure must propagate so the staged temp write is removed
+ // and the rename is skipped, rather than publishing through a stale path.
+ const freshTarget = await fs.realpath(target)
+ await this.assertTargetWithinSkillsRoots(freshTarget, source)
+ // Fail closed on a retarget that landed after this call resolved skill.path: the path
+ // the caller named now resolves to a different file, so publishing would report
+ // success for a skill the user is no longer looking at. A resolution failure counts
+ // as a change. The literal message follows the disposal guard inside
+ // writeSkillFileAtomically, which is also a race guard rather than a translated error.
+ const stillResolved = await fs.realpath(skill.path).catch(() => undefined)
+ if (stillResolved !== targetPath) {
+ throw new Error(
+ `Refusing to update skill "${name}": ${skill.path} no longer resolves to ${targetPath}`,
+ )
+ }
+ },
+ )
// Refresh skills list
await this.discoverSkills()
@@ -1052,6 +1401,7 @@ Add your skill instructions here.
}
private async setupFileWatchers(): Promise {
+ if (this.isDisposed) return
// Skip if test environment is detected or VSCode APIs are not available
if (process.env.NODE_ENV === "test" || !vscode.workspace.createFileSystemWatcher) {
return
@@ -1091,6 +1441,7 @@ Add your skill instructions here.
}
private watchDirectory(dirPath: string): void {
+ if (this.isDisposed) return
const watcher = this.createSkillsWatcher(dirPath)
if (watcher) {
this.disposables.push(watcher)
@@ -1142,6 +1493,11 @@ Add your skill instructions here.
async dispose(): Promise {
this.isDisposed = true
+ // Any sidecar still tracked is a write that never reached its rename.
+ for (const temporaryPath of this.activeTempFiles) {
+ await fs.unlink(temporaryPath).catch(() => {})
+ }
+ this.activeTempFiles.clear()
this.disposables.forEach((d) => d.dispose())
this.disposables = []
this.containerWatchers.forEach((w) => w.dispose())
@@ -1152,3 +1508,6 @@ Add your skill instructions here.
this.rootRealPaths.clear()
}
}
+
+
+
diff --git a/src/services/skills/__tests__/SkillsManager.spec.ts b/src/services/skills/__tests__/SkillsManager.spec.ts
index c5fad85a24..4f02752ec7 100644
--- a/src/services/skills/__tests__/SkillsManager.spec.ts
+++ b/src/services/skills/__tests__/SkillsManager.spec.ts
@@ -1,4 +1,5 @@
import * as path from "path"
+import matter from "gray-matter"
// Use vi.hoisted to ensure mocks are available during hoisting
const {
@@ -19,6 +20,7 @@ const {
mockLstat,
mockSymlink,
mockUnlink,
+ mockChmod,
} = vi.hoisted(() => ({
mockReadlink: vi.fn(),
mockCp: vi.fn(),
@@ -37,6 +39,7 @@ const {
mockRmdir: vi.fn(),
mockSymlink: vi.fn(),
mockUnlink: vi.fn(),
+ mockChmod: vi.fn(),
}))
// Platform-agnostic test paths
@@ -72,6 +75,7 @@ vi.mock("fs/promises", () => ({
readlink: mockReadlink,
symlink: mockSymlink,
unlink: mockUnlink,
+ chmod: mockChmod,
},
stat: mockStat,
readFile: mockReadFile,
@@ -87,6 +91,7 @@ vi.mock("fs/promises", () => ({
readlink: mockReadlink,
symlink: mockSymlink,
unlink: mockUnlink,
+ chmod: mockChmod,
}))
// Mock os module
@@ -94,6 +99,20 @@ vi.mock("os", () => ({
homedir: mockHomedir,
}))
+// Keep the real gray-matter parser by default, but let individual tests script
+// the failure shape (e.g. a non-Error throw) to exercise recordDiagnostic's
+// defensive fallbacks (see issue #859). vi.importActual resolves the CJS module
+// to a namespace that exposes the parser as `default`, which the module's
+// declared `export =` type does not carry, so the namespace is bridged through
+// `unknown` once; the double assertion then bridges the mock back to the
+// module's declared type.
+vi.mock("gray-matter", async () => {
+ const actual = await vi.importActual("gray-matter")
+ const realParse = (actual as { default: typeof matter }).default
+ const parse = Object.assign(vi.fn(realParse), actual) as unknown as typeof matter
+ return { default: parse }
+})
+
// Mock vscode
vi.mock("vscode", () => ({
workspace: {
@@ -132,6 +151,7 @@ vi.mock("../../../i18n", () => ({
"skills:errors.already_exists": `Skill "${params?.name}" already exists at ${params?.path}`,
"skills:errors.not_found": `Skill "${params?.name}" not found in ${params?.source}${params?.modeInfo}`,
"skills:errors.move_restore_failed": `Moving the skill failed (${params?.error}) and its original folder couldn't be restored to ${params?.path}. Your skill is safe in ${params?.backupPath}; move it back manually.`,
+ "skills:errors.outside_skills_root": `Refusing to update SKILL.md outside the ${params?.source} skills directories: ${params?.path}`,
}
return translations[key] || key
},
@@ -194,11 +214,16 @@ describe("SkillsManager", () => {
vi.stubGlobal("frontmatterExecuted", executed)
try {
await skillsManager.updateSkillModes("example", "project", ["code"])
- expect(mockWriteFile).toHaveBeenCalledWith(
- p(skillDir, "SKILL.md"),
- expect.stringContaining(instructions),
- "utf-8",
- )
+ // The publish is atomic: the payload is staged as .SKILL.md...tmp in the
+ // skill's own directory and renamed over SKILL.md, so the write assertion names the
+ // staged file and the rename names the target. main's landed row asserted the direct
+ // fs.writeFile(skill.path, content, "utf-8") that this branch replaced.
+ expect(mockWriteFile).toHaveBeenCalledTimes(1)
+ const staged = String(mockWriteFile.mock.calls[0][0])
+ expect(staged).toMatch(/\.SKILL\.md\.[^/\\]+\.tmp$/)
+ expect(mockRename).toHaveBeenCalledWith(staged, p(skillDir, "SKILL.md"))
+ expect(mockWriteFile.mock.calls[0][2]).toMatchObject({ encoding: "utf-8", flag: "wx" })
+ expect(String(mockWriteFile.mock.calls[0][1])).toContain(instructions)
mockWriteFile.mockClear()
mockReadFile.mockResolvedValue(
`---${language}\n(globalThis.frontmatterExecuted(), {name: "example", description: "Example"})\n---\nBody`,
@@ -487,6 +512,162 @@ description: Name doesn't match directory
expect(skills).toHaveLength(0)
})
+ it("should skip skills with invalid YAML frontmatter and log the real cause (issue #859)", async () => {
+ const badSkillDir = p(globalSkillsDir, "test-skill")
+ const badSkillMd = p(badSkillDir, "SKILL.md")
+
+ mockDirectoryExists.mockImplementation(async (dir: string) => {
+ return dir === globalSkillsDir
+ })
+ mockRealpath.mockImplementation(async (pathArg: string) => pathArg)
+ mockReaddir.mockImplementation(async (dir: string) => {
+ return dir === globalSkillsDir ? ["test-skill"] : []
+ })
+ mockStat.mockImplementation(async (pathArg: string) => {
+ if (pathArg === badSkillDir) {
+ return { isDirectory: () => true }
+ }
+ throw new Error("Not found")
+ })
+ mockFileExists.mockImplementation(async (file: string) => file === badSkillMd)
+ mockReadFile.mockImplementation(async (file: string) => {
+ if (file === badSkillMd) {
+ return `---
+name: test-skill
+description: Use when implementing features. Triggers on: "TDD", "test-driven development"
+---
+
+# Test Skill
+
+Instructions here.`
+ }
+ throw new Error("File not found")
+ })
+
+ const consoleErrorSpy = vi.spyOn(console, "error").mockImplementation(() => {})
+
+ try {
+ await skillsManager.discoverSkills()
+
+ // The skill is skipped...
+ expect(skillsManager.getAllSkills()).toHaveLength(0)
+
+ // ...and the real cause (a YAML syntax error) is reported instead
+ // of the misleading "missing required 'name' field" message.
+ const logged = consoleErrorSpy.mock.calls.map((call) => call.join(" "))
+ expect(logged.some((line) => line.includes("YAMLException"))).toBe(true)
+ expect(logged.some((line) => line.includes("missing required 'name' field"))).toBe(false)
+ // The unescaped-double-quotes hint points at the exact problem.
+ expect(logged.some((line) => line.includes("unescaped double quotes"))).toBe(true)
+
+ // The structured diagnostic captures the parse failure location.
+ const diagnostics = skillsManager.getSkillDiagnostics()
+ expect(diagnostics).toHaveLength(1)
+ expect(diagnostics[0].path).toBe(badSkillMd)
+ expect(diagnostics[0].source).toBe("global")
+ expect(typeof diagnostics[0].message).toBe("string")
+ expect(diagnostics[0].line).toBe(3)
+ } finally {
+ consoleErrorSpy.mockRestore()
+ }
+ })
+
+ it("should log a distinct YAML error for other malformed frontmatter (no quote hint)", async () => {
+ const badSkillDir = p(globalSkillsDir, "broken-skill")
+ const badSkillMd = p(badSkillDir, "SKILL.md")
+
+ mockDirectoryExists.mockImplementation(async (dir: string) => {
+ return dir === globalSkillsDir
+ })
+ mockRealpath.mockImplementation(async (pathArg: string) => pathArg)
+ mockReaddir.mockImplementation(async (dir: string) => {
+ return dir === globalSkillsDir ? ["broken-skill"] : []
+ })
+ mockStat.mockImplementation(async (pathArg: string) => {
+ if (pathArg === badSkillDir) {
+ return { isDirectory: () => true }
+ }
+ throw new Error("Not found")
+ })
+ mockFileExists.mockImplementation(async (file: string) => file === badSkillMd)
+ mockReadFile.mockImplementation(async (file: string) => {
+ if (file === badSkillMd) {
+ return `---
+name broken-skill
+description: Missing colon makes this invalid YAML
+---
+
+# Broken skill`
+ }
+ throw new Error("File not found")
+ })
+
+ const consoleErrorSpy = vi.spyOn(console, "error").mockImplementation(() => {})
+
+ try {
+ await skillsManager.discoverSkills()
+
+ expect(skillsManager.getAllSkills()).toHaveLength(0)
+
+ const logged = consoleErrorSpy.mock.calls.map((call) => call.join(" "))
+ expect(logged.some((line) => line.includes("YAMLException"))).toBe(true)
+ expect(skillsManager.getSkillDiagnostics()).toHaveLength(1)
+ // The unescaped-quotes hint only applies when the description line
+ // actually contains double quotes.
+ expect(logged.some((line) => line.includes("unescaped double quotes"))).toBe(false)
+ } finally {
+ consoleErrorSpy.mockRestore()
+ }
+ })
+
+ it("should skip skills with unterminated frontmatter and a dangling quote (no line hint)", async () => {
+ const badSkillDir = p(globalSkillsDir, "unclosed-skill")
+ const badSkillMd = p(badSkillDir, "SKILL.md")
+
+ mockDirectoryExists.mockImplementation(async (dir: string) => {
+ return dir === globalSkillsDir
+ })
+ mockRealpath.mockImplementation(async (pathArg: string) => pathArg)
+ mockReaddir.mockImplementation(async (dir: string) => {
+ return dir === globalSkillsDir ? ["unclosed-skill"] : []
+ })
+ mockStat.mockImplementation(async (pathArg: string) => {
+ if (pathArg === badSkillDir) {
+ return { isDirectory: () => true }
+ }
+ throw new Error("Not found")
+ })
+ mockFileExists.mockImplementation(async (file: string) => file === badSkillMd)
+ mockReadFile.mockImplementation(async (file: string) => {
+ if (file === badSkillMd) {
+ // Unterminated frontmatter: the opening --- is never closed, and the
+ // dangling double quote makes gray-matter throw. The raw-line lookup
+ // cannot find a closing delimiter, so no quote hint is possible.
+ return `---
+name: unclosed-skill
+description: "unclosed quote
+rest of the file`
+ }
+ throw new Error("File not found")
+ })
+
+ const consoleErrorSpy = vi.spyOn(console, "error").mockImplementation(() => {})
+
+ try {
+ await skillsManager.discoverSkills()
+
+ expect(skillsManager.getAllSkills()).toHaveLength(0)
+
+ const logged = consoleErrorSpy.mock.calls.map((call) => call.join(" "))
+ expect(logged.some((line) => line.includes("YAMLException"))).toBe(true)
+ expect(skillsManager.getSkillDiagnostics()).toHaveLength(1)
+ // Without a closing frontmatter delimiter there is no line to hint at.
+ expect(logged.some((line) => line.includes("unescaped double quotes"))).toBe(false)
+ } finally {
+ consoleErrorSpy.mockRestore()
+ }
+ })
+
it("should skip skills with invalid name formats (spec compliance)", async () => {
const invalidNames = [
"PDF-processing", // uppercase
@@ -2131,7 +2312,12 @@ Instructions`)
mockMkdir.mockResolvedValue(undefined)
mockWriteFile.mockResolvedValue(undefined)
- const createdPath = await skillsManager.createSkill("new-skill", "global", "A new skill description")
+ // Longer than js-yaml's default 80-column fold width: createSkill must
+ // write it as a single description line, not a folded scalar.
+ const description =
+ 'Use when implementing features. Triggers on: "TDD", "test-driven development" and "refactoring" workflows'
+
+ const createdPath = await skillsManager.createSkill("new-skill", "global", description)
expect(createdPath).toBe(p(GLOBAL_ROO_DIR, "skills", "new-skill", "SKILL.md"))
expect(mockMkdir).toHaveBeenCalledWith(p(GLOBAL_ROO_DIR, "skills", "new-skill"), { recursive: true })
@@ -2139,9 +2325,14 @@ Instructions`)
// Verify the content written
const writeCall = mockWriteFile.mock.calls[0]
- expect(writeCall[0]).toBe(p(GLOBAL_ROO_DIR, "skills", "new-skill", "SKILL.md"))
- expect(writeCall[1]).toContain("name: new-skill")
- expect(writeCall[1]).toContain("description: A new skill description")
+ expect(String(writeCall[0])).toMatch(/[/\\]new-skill[/\\]\.SKILL\.md\.[^/\\]+\.tmp$/)
+ expect(mockRename).toHaveBeenCalledWith(writeCall[0], p(GLOBAL_ROO_DIR, "skills", "new-skill", "SKILL.md"))
+ const written = String(writeCall[1])
+ expect(written).toContain("name: new-skill")
+ const descriptionLine = written.split("\n").find((line) => line.startsWith("description:"))
+ // Long descriptions are quoted (js-yaml quotes strings containing quotes).
+ expect(descriptionLine).toBe(`description: '${description}'`)
+ expect(written).not.toContain("> ")
})
it("should create a mode-specific skill with modeSlugs array", async () => {
@@ -2163,137 +2354,962 @@ Instructions`)
expect(writeCall[1]).toContain("- code")
})
- it("should create a project skill", async () => {
+ it("round-trips the issue description and mode slugs through YAML frontmatter", async () => {
mockDirectoryExists.mockResolvedValue(false)
mockRealpath.mockImplementation(async (p: string) => p)
mockReaddir.mockResolvedValue([])
mockFileExists.mockResolvedValue(false)
mockMkdir.mockResolvedValue(undefined)
mockWriteFile.mockResolvedValue(undefined)
+ const description = 'Triggers on: "TDD", "test-driven development"'
- const createdPath = await skillsManager.createSkill("project-skill", "project", "A project skill")
+ await skillsManager.createSkill("tdd-skill", "global", description, ["code", "debug"])
- expect(createdPath).toBe(p(PROJECT_DIR, ".roo", "skills", "project-skill", "SKILL.md"))
+ const generatedContent = mockWriteFile.mock.calls[0][1] as string
+ const parsed = matter(generatedContent)
+ expect(parsed.data).toEqual({
+ name: "tdd-skill",
+ description,
+ modeSlugs: ["code", "debug"],
+ })
+ expect(parsed.content).toBe("\n# Tdd Skill\n\n## Instructions\n\nAdd your skill instructions here.\n")
})
- it("should throw error for invalid skill name", async () => {
- await expect(skillsManager.createSkill("Invalid-Name", "global", "Description")).rejects.toThrow(
- "Skill name must be lowercase letters/numbers/hyphens only",
- )
- })
+ it.each([
+ ["colon-space", "Use when: tests fail"],
+ ["quotes", "Use \"red-green-refactor\" and 'small steps'"],
+ ["hash", "Use tests # not comments"],
+ ["leading punctuation", "- Start from a failing test"],
+ ["multiline", "First line\nSecond line: with # and quotes"],
+ ])("preserves YAML-sensitive %s descriptions", async (_caseName, description) => {
+ mockDirectoryExists.mockResolvedValue(false)
+ mockRealpath.mockImplementation(async (p: string) => p)
+ mockReaddir.mockResolvedValue([])
+ mockFileExists.mockResolvedValue(false)
+ mockMkdir.mockResolvedValue(undefined)
+ mockWriteFile.mockResolvedValue(undefined)
- it("should throw error for skill name that is too long", async () => {
- const longName = "a".repeat(65)
- await expect(skillsManager.createSkill(longName, "global", "Description")).rejects.toThrow(
- "Skill name must be 1-64 characters",
- )
- })
+ await skillsManager.createSkill("yaml-sensitive", "global", description)
- it("should throw error for skill name starting with hyphen", async () => {
- await expect(skillsManager.createSkill("-invalid", "global", "Description")).rejects.toThrow(
- "Skill name must be lowercase letters/numbers/hyphens only",
- )
+ const generatedContent = mockWriteFile.mock.calls[0][1] as string
+ expect(matter(generatedContent).data.description).toBe(description)
})
- it("should throw error for skill name ending with hyphen", async () => {
- await expect(skillsManager.createSkill("invalid-", "global", "Description")).rejects.toThrow(
- "Skill name must be lowercase letters/numbers/hyphens only",
- )
- })
+ it("cleans the temp file and the newly created skill directory when persistence fails", async () => {
+ mockDirectoryExists.mockResolvedValue(false)
+ mockRealpath.mockImplementation(async (p: string) => p)
+ mockReaddir.mockResolvedValue([])
+ mockFileExists.mockResolvedValue(false)
+ const createdDir = p(GLOBAL_ROO_DIR, "skills", "failing-skill")
+ mockMkdir.mockResolvedValue(createdDir)
+ mockWriteFile.mockRejectedValueOnce(Object.assign(new Error("ENOSPC"), { code: "ENOSPC" }))
+ mockUnlink.mockResolvedValue(undefined)
+ mockRm.mockResolvedValue(undefined)
+ mockRmdir.mockResolvedValue(undefined)
- it("should throw error for skill name with consecutive hyphens", async () => {
- await expect(skillsManager.createSkill("invalid--name", "global", "Description")).rejects.toThrow(
- "Skill name must be lowercase letters/numbers/hyphens only",
- )
- })
+ await expect(skillsManager.createSkill("failing-skill", "global", "Description")).rejects.toThrow("ENOSPC")
- it("should throw error for empty description", async () => {
- await expect(skillsManager.createSkill("valid-name", "global", " ")).rejects.toThrow(
- "Skill description must be 1-1024 characters",
- )
+ // The partially written temp file is removed and the directory this call created is
+ // removed only while empty (rmdir, never a recursive rm that could take ancestors
+ // reported by mkdir(recursive) with unrelated skills); the original persistence
+ // error is what the caller sees.
+ expect(mockUnlink).toHaveBeenCalledWith(expect.stringMatching(/\.SKILL\.md\.[^/\\]+\.tmp$/))
+ expect(mockRmdir).toHaveBeenCalledWith(p(GLOBAL_ROO_DIR, "skills", "failing-skill"))
+ expect(mockRm).not.toHaveBeenCalled()
})
- it("should throw error for description that is too long", async () => {
- const longDesc = "d".repeat(1025)
- await expect(skillsManager.createSkill("valid-name", "global", longDesc)).rejects.toThrow(
- "Skill description must be 1-1024 characters",
- )
+ it("leaves a non-empty skill directory alone when the empty-only removal fails", async () => {
+ mockDirectoryExists.mockResolvedValue(false)
+ mockRealpath.mockImplementation(async (p: string) => p)
+ mockReaddir.mockResolvedValue([])
+ mockFileExists.mockResolvedValue(false)
+ mockMkdir.mockResolvedValue(p(GLOBAL_ROO_DIR, "skills", "busy-skill"))
+ mockWriteFile.mockRejectedValueOnce(Object.assign(new Error("ENOSPC"), { code: "ENOSPC" }))
+ mockUnlink.mockResolvedValue(undefined)
+ mockRmdir.mockRejectedValueOnce(Object.assign(new Error("ENOTEMPTY"), { code: "ENOTEMPTY" }))
+
+ // A failed cleanup (the temp file survived, another skill appeared, ...) must not
+ // mask or replace the persistence failure.
+ await expect(skillsManager.createSkill("busy-skill", "global", "Description")).rejects.toThrow("ENOSPC")
+ expect(mockRmdir).toHaveBeenCalledWith(p(GLOBAL_ROO_DIR, "skills", "busy-skill"))
+ expect(mockRm).not.toHaveBeenCalled()
})
- it("should throw error if skill already exists", async () => {
- mockFileExists.mockResolvedValue(true)
+ it("never recursively removes an ancestor reported by recursive mkdir", async () => {
+ mockDirectoryExists.mockResolvedValue(false)
+ mockRealpath.mockImplementation(async (p: string) => p)
+ mockReaddir.mockResolvedValue([])
+ mockFileExists.mockResolvedValue(false)
+ // mkdir(recursive) reports the first ancestor it created; removing that value
+ // recursively could take the sibling skill directories under it with it.
+ mockMkdir.mockResolvedValue(p(GLOBAL_ROO_DIR, "skills"))
+ mockWriteFile.mockRejectedValueOnce(Object.assign(new Error("ENOSPC"), { code: "ENOSPC" }))
+ mockUnlink.mockResolvedValue(undefined)
+ mockRm.mockResolvedValue(undefined)
+ mockRmdir.mockResolvedValue(undefined)
- await expect(skillsManager.createSkill("existing-skill", "global", "Description")).rejects.toThrow(
- "already exists",
- )
+ await expect(skillsManager.createSkill("isolated-skill", "global", "Description")).rejects.toThrow("ENOSPC")
+
+ // Only this skill's directory is considered, and only for an empty-only removal.
+ expect(mockRmdir).toHaveBeenCalledWith(p(GLOBAL_ROO_DIR, "skills", "isolated-skill"))
+ expect(mockRm).not.toHaveBeenCalled()
})
- it("should allow creating a .roo skill when the duplicate lives in the lower-priority .agents root", async () => {
- const agentsSkillDir = p(globalAgentsSkillsDir, "my-skill")
- const agentsSkillMd = p(agentsSkillDir, "SKILL.md")
- const rooSkillMd = p(globalSkillsDir, "my-skill", "SKILL.md")
+ it("preserves an existing file when exclusive staging fails because the name exists", async () => {
+ mockDirectoryExists.mockResolvedValue(false)
+ mockRealpath.mockImplementation(async (p: string) => p)
+ mockReaddir.mockResolvedValue([])
+ mockFileExists.mockResolvedValue(false)
+ mockMkdir.mockResolvedValue(p(GLOBAL_ROO_DIR, "skills", "exists"))
+ const existsError = Object.assign(new Error("EEXIST: file already exists"), { code: "EEXIST" })
+ mockWriteFile.mockRejectedValueOnce(existsError)
+ mockUnlink.mockResolvedValue(undefined)
- mockDirectoryExists.mockImplementation(async (dir: string) => dir === globalAgentsSkillsDir)
- mockRealpath.mockImplementation(async (pathArg: string) => pathArg)
- mockReaddir.mockImplementation(async (dir: string) => (dir === globalAgentsSkillsDir ? ["my-skill"] : []))
- mockStat.mockImplementation(async (pathArg: string) => {
- if (pathArg === agentsSkillDir) return { isDirectory: () => true }
- throw enoent()
- })
- mockFileExists.mockImplementation(async (file: string) => file === agentsSkillMd)
- mockReadFile.mockResolvedValue(`---
-name: my-skill
-description: An agents skill
----
-Instructions`)
- mockMkdir.mockResolvedValue(undefined)
+ await expect(skillsManager.createSkill("exists", "global", "Description")).rejects.toBe(existsError)
+
+ // wx failed before this write owned the path: the existing file must not be unlinked.
+ expect(mockUnlink).not.toHaveBeenCalled()
+ expect(mockRename).not.toHaveBeenCalled()
+ expect(skillsManager["activeTempFiles"].size).toBe(0)
+ })
+
+ it("removes the temp file and rethrows the original error when the create rename fails", async () => {
+ mockDirectoryExists.mockResolvedValue(false)
+ mockRealpath.mockImplementation(async (p: string) => p)
+ mockReaddir.mockResolvedValue([])
+ mockFileExists.mockResolvedValue(false)
+ mockMkdir.mockResolvedValue(p(GLOBAL_ROO_DIR, "skills", "rename-fails"))
mockWriteFile.mockResolvedValue(undefined)
+ const renameError = Object.assign(new Error("EEXIST: rename failed"), { code: "EEXIST" })
+ mockRename.mockRejectedValueOnce(renameError)
+ mockUnlink.mockResolvedValue(undefined)
+ mockRmdir.mockResolvedValue(undefined)
- await skillsManager.discoverSkills()
- expect(skillsManager.getSkill("my-skill", "global")?.path).toBe(agentsSkillMd)
+ await expect(skillsManager.createSkill("rename-fails", "global", "Description")).rejects.toBe(renameError)
- const created = await skillsManager.createSkill("my-skill", "global", "Description")
+ const temporaryPath = String(mockWriteFile.mock.calls[0][0])
+ expect(temporaryPath).toMatch(/\.SKILL\.md\.[^/\\]+\.tmp$/)
+ expect(mockUnlink).toHaveBeenCalledWith(temporaryPath)
+ // The half-created skill directory goes as well: rmdir (not rm) so only the empty
+ // directory this call introduced is removed, and no recursive removal is reached.
+ expect(mockRmdir).toHaveBeenCalledWith(p(GLOBAL_ROO_DIR, "skills", "rename-fails"))
+ expect(mockRm).not.toHaveBeenCalled()
+ expect(skillsManager["activeTempFiles"].size).toBe(0)
+ })
- expect(created).toBe(rooSkillMd)
- expect(mockWriteFile).toHaveBeenCalledWith(rooSkillMd, expect.any(String), "utf-8")
+ it("does not remove a pre-existing skill directory when persistence fails", async () => {
+ mockDirectoryExists.mockResolvedValue(false)
+ mockRealpath.mockImplementation(async (p: string) => p)
+ mockReaddir.mockResolvedValue([])
+ mockFileExists.mockResolvedValue(false)
+ // mkdir resolves undefined when the directory already existed: it is not ours to remove.
+ mockMkdir.mockResolvedValue(undefined)
+ mockWriteFile.mockRejectedValueOnce(new Error("EACCES"))
+ mockUnlink.mockResolvedValue(undefined)
+ mockRm.mockResolvedValue(undefined)
+
+ await expect(skillsManager.createSkill("owned-skill", "global", "Description")).rejects.toThrow("EACCES")
+
+ expect(mockRm).not.toHaveBeenCalled()
+ expect(mockRmdir).not.toHaveBeenCalled()
+ expect(mockUnlink).toHaveBeenCalledWith(expect.stringMatching(/\.SKILL\.md\.[^/\\]+\.tmp$/))
})
- })
- describe("deleteSkill", () => {
- it("should delete an existing skill", async () => {
- const testSkillDir = p(globalSkillsDir, "test-skill")
- const testSkillMd = p(testSkillDir, "SKILL.md")
+ it("should create a project skill", async () => {
+ mockDirectoryExists.mockResolvedValue(false)
+ mockRealpath.mockImplementation(async (p: string) => p)
+ mockReaddir.mockResolvedValue([])
+ mockFileExists.mockResolvedValue(false)
+ mockMkdir.mockResolvedValue(undefined)
+ mockWriteFile.mockResolvedValue(undefined)
- // Setup: skill exists
- mockDirectoryExists.mockImplementation(async (dir: string) => {
- return dir === globalSkillsDir
- })
+ const createdPath = await skillsManager.createSkill("project-skill", "project", "A project skill")
- mockRealpath.mockImplementation(async (pathArg: string) => pathArg)
+ expect(createdPath).toBe(p(PROJECT_DIR, ".roo", "skills", "project-skill", "SKILL.md"))
+ })
- mockReaddir.mockImplementation(async (dir: string) => {
- if (dir === globalSkillsDir) {
- return ["test-skill"]
- }
- return []
- })
+ it("should escape double quotes in the description so the created skill loads (issue #859)", async () => {
+ mockDirectoryExists.mockResolvedValue(false)
+ mockRealpath.mockImplementation(async (p: string) => p)
+ mockReaddir.mockResolvedValue([])
+ mockFileExists.mockResolvedValue(false)
+ mockMkdir.mockResolvedValue(undefined)
+ mockWriteFile.mockResolvedValue(undefined)
+ // Deliberately longer than js-yaml's default 80-column fold width: without
+ // lineWidth: -1 the serializer wraps this into a rolled scalar.
+ const description =
+ 'Use when implementing features. Triggers on: "TDD", "test-driven development", "red-green-refactor" and "refactoring" workflows'
+ const createdPath = await skillsManager.createSkill("test-skill", "global", description)
+
+ // The written frontmatter must be valid YAML that round-trips the
+ // description, with the raw value quoted instead of unescaped.
+ const writtenContent = String(mockWriteFile.mock.calls[0][1])
+ const parsed = matter(writtenContent)
+ expect(parsed.data.name).toBe("test-skill")
+ expect(parsed.data.description).toBe(description)
+ expect(writtenContent).toContain(`description: '${description}'`)
+
+ // Re-discovery loads the created skill instead of silently skipping it.
+ mockDirectoryExists.mockImplementation(async (dir: string) => dir === globalSkillsDir)
+ mockReaddir.mockImplementation(async (dir: string) => (dir === globalSkillsDir ? ["test-skill"] : []))
mockStat.mockImplementation(async (pathArg: string) => {
- if (pathArg === testSkillDir) {
+ if (pathArg === p(globalSkillsDir, "test-skill")) {
return { isDirectory: () => true }
}
throw new Error("Not found")
})
+ mockFileExists.mockImplementation(async (file: string) => file === createdPath)
+ mockReadFile.mockImplementation(async (file: string) =>
+ file === createdPath ? writtenContent : Promise.reject(new Error("File not found")),
+ )
- mockFileExists.mockImplementation(async (file: string) => {
- return file === testSkillMd
- })
-
- mockReadFile.mockResolvedValue(`---
-name: test-skill
-description: A test skill
----
-Instructions`)
+ await skillsManager.discoverSkills()
+
+ const skills = skillsManager.getAllSkills()
+ expect(skills).toHaveLength(1)
+ expect(skills[0].name).toBe("test-skill")
+ expect(skills[0].description).toBe(description)
+ })
+
+ it("should quote descriptions that would otherwise parse as YAML non-strings", async () => {
+ mockDirectoryExists.mockResolvedValue(false)
+ mockRealpath.mockImplementation(async (p: string) => p)
+ mockReaddir.mockResolvedValue([])
+ mockFileExists.mockResolvedValue(false)
+ mockMkdir.mockResolvedValue(undefined)
+ mockWriteFile.mockResolvedValue(undefined)
+
+ await skillsManager.createSkill("flag-skill", "global", "yes")
+
+ const writtenContent = String(mockWriteFile.mock.calls[0][1])
+ const parsed = matter(writtenContent)
+ // Without quoting, js-yaml resolves "yes" to a boolean and the skill
+ // is rejected with a misleading "missing required 'description' field".
+ expect(typeof parsed.data.description).toBe("string")
+ expect(parsed.data.description).toBe("yes")
+ })
+
+ it("should rewrite modeSlugs via gray-matter serialization without reflowing the description", async () => {
+ const skillDir = p(globalSkillsDir, "modes-skill")
+ const skillMd = p(skillDir, "SKILL.md")
+ const description = 'Use when implementing features. Triggers on: "TDD", "test-driven development"'
+ const originalContent = `---
+name: modes-skill
+description: '${description}'
+---
+
+# Modes Skill
+
+## Instructions
+
+Body here.`
+
+ // Initial discovery so the skill is registered.
+ mockDirectoryExists.mockImplementation(async (dir: string) => dir === globalSkillsDir)
+ mockReaddir.mockImplementation(async (dir: string) => (dir === globalSkillsDir ? ["modes-skill"] : []))
+ mockStat.mockImplementation(async (pathArg: string) => {
+ if (pathArg === skillDir) {
+ return { isDirectory: () => true }
+ }
+ throw new Error("Not found")
+ })
+ mockFileExists.mockImplementation(async (file: string) => file === skillMd)
+ mockReadFile.mockResolvedValue(originalContent)
+ mockWriteFile.mockResolvedValue(undefined)
+
+ await skillsManager.discoverSkills()
+ expect(skillsManager.getAllSkills()).toHaveLength(1)
+
+ // Apply a mode restriction; the file is rewritten with the new slugs.
+ await skillsManager.updateSkillModes("modes-skill", "global", ["code"])
+
+ expect(mockWriteFile).toHaveBeenCalledTimes(1)
+ const rewritten = String(mockWriteFile.mock.calls[0][1])
+ // The rewrite lands through the same atomic temp+rename path as createSkill.
+ expect(String(mockWriteFile.mock.calls[0][0])).toMatch(/\.SKILL\.md\.[^/\\]+\.tmp$/)
+ expect(mockRename).toHaveBeenCalledWith(mockWriteFile.mock.calls[0][0], skillMd)
+ const parsed = matter(rewritten)
+ // The description survives the round-trip exactly and stays quoted.
+ expect(parsed.data.description).toBe(description)
+ expect(rewritten).toContain(`description: '${description}'`)
+ // The new modeSlugs were written and the body is preserved.
+ expect(parsed.data.modeSlugs).toEqual(["code"])
+ expect(rewritten).toContain("Body here.")
+ // lineWidth: -1 keeps the value on a single line: without it js-yaml folds
+ // a description this long across several lines, so pin the exact line and
+ // the absence of any continuation.
+ const descriptionLine = rewritten.split("\n").find((line) => line.startsWith("description:"))
+ expect(descriptionLine).toBe(`description: '${description}'`)
+ expect(rewritten).not.toContain("> ")
+
+ // Clearing the restriction removes modeSlugs from the frontmatter.
+ await skillsManager.updateSkillModes("modes-skill", "global", [])
+
+ const rewritten2 = String(mockWriteFile.mock.calls[1][1])
+ const parsed2 = matter(rewritten2)
+ expect(parsed2.data.modeSlugs).toBeUndefined()
+ expect(parsed2.data.description).toBe(description)
+ })
+
+ it("preserves the existing SKILL.md permission bits through the atomic rewrite", async () => {
+ // rename replaces the target's inode: without an explicit chmod the new file gets
+ // the process default mode, so a user-restricted SKILL.md (0600) would come back
+ // readable by other local users after an unrelated mode-restriction edit.
+ const skillDir = p(globalSkillsDir, "mode-preserved-skill")
+ const skillMd = p(skillDir, "SKILL.md")
+ const originalContent = `---
+name: mode-preserved-skill
+description: 'Mode preserved'
+---
+
+Body.`
+
+ mockDirectoryExists.mockImplementation(async (dir: string) => dir === globalSkillsDir)
+ mockRealpath.mockImplementation(async (pathArg: string) => pathArg)
+ mockReaddir.mockImplementation(async (dir: string) =>
+ dir === globalSkillsDir ? ["mode-preserved-skill"] : [],
+ )
+ mockStat.mockImplementation(async (pathArg: string) => {
+ if (pathArg === skillDir) {
+ return { isDirectory: () => true }
+ }
+ if (pathArg === skillMd) {
+ // 0600 regular file: the mode the rewrite must keep.
+ return { isDirectory: () => false, mode: 0o100600 }
+ }
+ throw new Error("Not found")
+ })
+ mockFileExists.mockImplementation(async (file: string) => file === skillMd)
+ mockReadFile.mockResolvedValue(originalContent)
+ mockWriteFile.mockResolvedValue(undefined)
+
+ await skillsManager.discoverSkills()
+ expect(skillsManager.getAllSkills()).toHaveLength(1)
+ await skillsManager.updateSkillModes("mode-preserved-skill", "global", ["code"])
+
+ const temporaryPath = mockWriteFile.mock.calls[0][0] as string
+ expect(mockChmod).toHaveBeenCalledWith(temporaryPath, 0o600)
+ // The mode has to be in place before the rename publishes the file.
+ expect(mockChmod.mock.invocationCallOrder[0]).toBeLessThan(mockRename.mock.invocationCallOrder[0])
+ expect(mockRename).toHaveBeenCalledWith(temporaryPath, skillMd)
+ })
+
+ it("propagates a realpath failure instead of writing through the unresolved path", async () => {
+ const skillDir = p(globalSkillsDir, "unresolvable-skill")
+ const skillMd = p(skillDir, "SKILL.md")
+ mockDirectoryExists.mockImplementation(async (dir: string) => dir === globalSkillsDir)
+ mockReaddir.mockImplementation(async (dir: string) =>
+ dir === globalSkillsDir ? ["unresolvable-skill"] : [],
+ )
+ mockStat.mockImplementation(async (pathArg: string) => {
+ if (pathArg === skillDir) {
+ return { isDirectory: () => true }
+ }
+ throw enoent()
+ })
+ mockFileExists.mockImplementation(async (file: string) => file === skillMd)
+ mockReadFile.mockResolvedValue("---\nname: unresolvable-skill\ndescription: A skill\n---\nInstructions")
+
+ await skillsManager.discoverSkills()
+ // The discovered path resolves, but the publish-time resolution fails: the write must
+ // not fall back to the unresolved (potentially symlinked) path.
+ const resolutionError = Object.assign(new Error("ENOENT: no such file or directory"), { code: "ENOENT" })
+ mockRealpath.mockRejectedValueOnce(resolutionError)
+
+ await expect(skillsManager.updateSkillModes("unresolvable-skill", "global", ["code"])).rejects.toBe(
+ resolutionError,
+ )
+ expect(mockWriteFile).not.toHaveBeenCalled()
+ expect(mockRename).not.toHaveBeenCalled()
+ })
+
+ it("removes the temp file and rethrows the original error when the update rename fails", async () => {
+ const skillDir = p(globalSkillsDir, "rename-update")
+ const skillMd = p(skillDir, "SKILL.md")
+ mockDirectoryExists.mockImplementation(async (dir: string) => dir === globalSkillsDir)
+ mockReaddir.mockImplementation(async (dir: string) => (dir === globalSkillsDir ? ["rename-update"] : []))
+ mockStat.mockImplementation(async (pathArg: string) => {
+ if (pathArg === skillDir) {
+ return { isDirectory: () => true }
+ }
+ throw enoent()
+ })
+ mockFileExists.mockImplementation(async (file: string) => file === skillMd)
+ mockReadFile.mockResolvedValue("---\nname: rename-update\ndescription: A skill\n---\nInstructions")
+ mockRealpath.mockImplementation(async (pathArg: string) => pathArg)
+ mockWriteFile.mockResolvedValue(undefined)
+ const renameError = Object.assign(new Error("EIO: rename failed"), { code: "EIO" })
+ mockRename.mockRejectedValueOnce(renameError)
+ mockUnlink.mockResolvedValue(undefined)
+
+ await skillsManager.discoverSkills()
+
+ await expect(skillsManager.updateSkillModes("rename-update", "global", ["code"])).rejects.toBe(renameError)
+
+ const temporaryPath = String(mockWriteFile.mock.calls[0][0])
+ expect(temporaryPath).toMatch(/\.SKILL\.md\.[^/\\]+\.tmp$/)
+ expect(mockWriteFile.mock.calls[0][2]).toEqual(expect.objectContaining({ flag: "wx" }))
+ expect(mockUnlink).toHaveBeenCalledWith(temporaryPath)
+ // The existing SKILL.md was never replaced: the only write went to the temp sidecar and
+ // the failed rename never committed.
+ expect(mockWriteFile).toHaveBeenCalledTimes(1)
+ expect(mockRename).toHaveBeenCalledWith(temporaryPath, skillMd)
+ // The existing SKILL.md and its directory remain untouched.
+ expect(mockReadFile).toHaveBeenCalledWith(skillMd, "utf-8")
+ expect(mockWriteFile).not.toHaveBeenCalledWith(skillMd, expect.anything(), expect.anything())
+ expect(mockRmdir).not.toHaveBeenCalled()
+ expect(mockRm).not.toHaveBeenCalled()
+ expect(skillsManager["activeTempFiles"].size).toBe(0)
+ })
+
+ it("queues a second update's read behind the first update's rename", async () => {
+ // Both calls queue on the skill directory. Reading SKILL.md outside that queue let the
+ // second call read before the first had published, so the first rename committed a
+ // value the second call had already read past. Pinning the event order pins the fix.
+ const skillDir = p(globalSkillsDir, "queue-order")
+ const skillMd = p(skillDir, "SKILL.md")
+ const skillContent = "---\nname: queue-order\ndescription: A skill\n---\nInstructions"
+ const events: string[] = []
+ mockDirectoryExists.mockImplementation(async (dir: string) => dir === globalSkillsDir)
+ mockReaddir.mockImplementation(async (dir: string) => (dir === globalSkillsDir ? ["queue-order"] : []))
+ mockStat.mockImplementation(async (pathArg: string) => {
+ if (pathArg === skillDir) {
+ return { isDirectory: () => true }
+ }
+ throw enoent()
+ })
+ mockFileExists.mockImplementation(async (file: string) => file === skillMd)
+ mockRealpath.mockImplementation(async (pathArg: string) => pathArg)
+ mockReadFile.mockResolvedValue(skillContent)
+ mockWriteFile.mockResolvedValue(undefined)
+ mockRename.mockResolvedValue(undefined)
+ await skillsManager.discoverSkills()
+ // Discovery is finished reading: from here every read of this SKILL.md belongs to an
+ // update, so the recorded order is the write path's own.
+ mockDirectoryExists.mockResolvedValue(false)
+ // What SKILL.md holds right now. A rename publishes what that update staged, so from the
+ // first rename on the file no longer holds the text the first update read. Returning one
+ // constant for both reads let a producer whose queued read was discarded look correct,
+ // because nothing distinguished the two reads.
+ let diskContent = skillContent
+ const editedContent =
+ "---\nname: queue-order\ndescription: A skill\nmodeSlugs:\n - code\n---\nInstructions edited after the first rename"
+ const stagedPayloads: string[] = []
+ mockReadFile.mockImplementation(async (file: string) => {
+ if (file === skillMd) {
+ events.push("read")
+ }
+ return diskContent
+ })
+ mockWriteFile.mockImplementation(async (_file: string, payload: string) => {
+ stagedPayloads.push(payload)
+ })
+ mockRename.mockImplementation(async (_from: string, to: string) => {
+ if (to === skillMd) {
+ events.push("rename")
+ diskContent = editedContent
+ }
+ })
+
+ const first = skillsManager.updateSkillModes("queue-order", "global", ["code"])
+ const second = skillsManager.updateSkillModes("queue-order", "global", ["debug"])
+ await Promise.all([first, second])
+
+ // Each update reads and publishes before the next update reads.
+ expect(events).toEqual(["read", "rename", "read", "rename"])
+ expect(mockRename).toHaveBeenCalledTimes(2)
+ expect(stagedPayloads.length).toBe(2)
+ // The second update's staged payload carries the body that follows the first rename: an
+ // update whose queued read was discarded would republish the body the first update read.
+ expect(stagedPayloads[0]).not.toContain("edited after the first rename")
+ expect(stagedPayloads[1]).toContain("edited after the first rename")
+ })
+
+ it("binds the queued read and the publish to the target resolved before the queue", async () => {
+ // The path discovery saw is a link whose resolution this update must keep. The retarget
+ // lands after this call resolved the link and while it waits in the directory queue,
+ // which is the window where reading through the link would compose the new target's
+ // contents and rename them over the file the update was asked for.
+ const skillDir = p(globalSkillsDir, "retargeted")
+ const linkMd = p(skillDir, "SKILL.md")
+ const originalTarget = p(globalSkillsDir, "shared-target", "SKILL.md")
+ const movedTarget = p(globalSkillsDir, "moved-target", "SKILL.md")
+ const originalContent =
+ "---\nname: retargeted\ndescription: A skill\n---\nInstructions on the file the update was asked for"
+ const movedContent =
+ "---\nname: retargeted\ndescription: A skill\n---\nInstructions on the file the link moved to"
+ let retargeted = false
+ mockDirectoryExists.mockImplementation(async (dir: string) => dir === globalSkillsDir)
+ mockReaddir.mockImplementation(async (dir: string) => (dir === globalSkillsDir ? ["retargeted"] : []))
+ mockStat.mockImplementation(async (pathArg: string) => {
+ if (pathArg === skillDir) {
+ return { isDirectory: () => true }
+ }
+ throw enoent()
+ })
+ mockFileExists.mockImplementation(async (file: string) => file === linkMd)
+ // Both targets stay inside the skills roots, so the publish-time containment check cannot
+ // be what rejects this update.
+ mockRealpath.mockImplementation(async (pathArg: string) => {
+ if (pathArg === linkMd) {
+ return retargeted ? movedTarget : originalTarget
+ }
+ return pathArg
+ })
+ mockReadFile.mockImplementation(async (file: string) => {
+ if (file === originalTarget) {
+ // The queued read is the moment the retarget becomes visible.
+ retargeted = true
+ return originalContent
+ }
+ return file === linkMd || file === movedTarget ? movedContent : originalContent
+ })
+ mockWriteFile.mockResolvedValue(undefined)
+ mockUnlink.mockResolvedValue(undefined)
+ mockRename.mockResolvedValue(undefined)
+
+ await skillsManager.discoverSkills()
+
+ await expect(skillsManager.updateSkillModes("retargeted", "global", ["code"])).rejects.toThrow(
+ "no longer resolves to",
+ )
+ // Discovery read through the link; every read that belongs to the update read the target.
+ expect(mockReadFile.mock.calls.filter((call: unknown[]) => call[0] === linkMd).length).toBe(1)
+ expect(mockReadFile.mock.calls.some((call: unknown[]) => call[0] === originalTarget)).toBe(true)
+ // The payload was composed from the original target, and nothing was renamed over it.
+ expect(String(mockWriteFile.mock.calls[0][1])).toContain("the file the update was asked for")
+ expect(mockRename).not.toHaveBeenCalled()
+ expect(mockUnlink).toHaveBeenCalledWith(String(mockWriteFile.mock.calls[0][0]))
+ })
+
+ it("fails closed when the pre-rename target resolution fails", async () => {
+ const skillDir = p(globalSkillsDir, "resolution-fails")
+ const skillMd = p(skillDir, "SKILL.md")
+ mockDirectoryExists.mockImplementation(async (dir: string) => dir === globalSkillsDir)
+ mockReaddir.mockImplementation(async (dir: string) => (dir === globalSkillsDir ? ["resolution-fails"] : []))
+ mockStat.mockImplementation(async (pathArg: string) => {
+ if (pathArg === skillDir) {
+ return { isDirectory: () => true }
+ }
+ throw enoent()
+ })
+ mockFileExists.mockImplementation(async (file: string) => file === skillMd)
+ mockReadFile.mockResolvedValue("---\nname: resolution-fails\ndescription: A skill\n---\nInstructions")
+ // The first resolution succeeds; the immediate pre-rename resolution fails and must
+ // propagate instead of publishing through the stale path.
+ let resolutions = 0
+ mockRealpath.mockImplementation(async (pathArg: string) => {
+ if (pathArg === skillMd) {
+ resolutions += 1
+ if (resolutions === 1) {
+ return skillMd
+ }
+ throw Object.assign(new Error("EIO: resolution failed"), { code: "EIO" })
+ }
+ return pathArg
+ })
+ mockWriteFile.mockResolvedValue(undefined)
+ mockUnlink.mockResolvedValue(undefined)
+
+ await skillsManager.discoverSkills()
+
+ await expect(skillsManager.updateSkillModes("resolution-fails", "global", ["code"])).rejects.toThrow(
+ "EIO: resolution failed",
+ )
+ const temporaryPath = String(mockWriteFile.mock.calls[0][0])
+ expect(mockUnlink).toHaveBeenCalledWith(temporaryPath)
+ expect(mockRename).not.toHaveBeenCalled()
+ })
+
+ it("refuses to update a SKILL.md that resolves outside the skills roots", async () => {
+ const skillDir = p(globalSkillsDir, "escaping")
+ const skillMd = p(skillDir, "SKILL.md")
+ const outsidePath = p("/outside/root", "SKILL.md")
+ mockDirectoryExists.mockImplementation(async (dir: string) => dir === globalSkillsDir)
+ mockReaddir.mockImplementation(async (dir: string) => (dir === globalSkillsDir ? ["escaping"] : []))
+ mockStat.mockImplementation(async (pathArg: string) => {
+ if (pathArg === skillDir) {
+ return { isDirectory: () => true }
+ }
+ throw enoent()
+ })
+ mockFileExists.mockImplementation(async (file: string) => file === skillMd)
+ mockReadFile.mockResolvedValue("---\nname: escaping\ndescription: A skill\n---\nInstructions")
+ // Discovery saw the root path, but the publish-time resolution points outside every
+ // configured skills root: a direct skill-dir symlink must not let the write escape.
+ mockRealpath.mockImplementation(async (pathArg: string) => (pathArg === skillMd ? outsidePath : pathArg))
+ mockWriteFile.mockResolvedValue(undefined)
+ mockRename.mockResolvedValue(undefined)
+
+ await skillsManager.discoverSkills()
+
+ await expect(skillsManager.updateSkillModes("escaping", "global", ["code"])).rejects.toThrow(
+ /Refusing to update SKILL\.md outside the global skills directories/,
+ )
+ expect(mockWriteFile).not.toHaveBeenCalled()
+ expect(mockRename).not.toHaveBeenCalled()
+ })
+
+ it("should throw error for invalid skill name", async () => {
+ await expect(skillsManager.createSkill("Invalid-Name", "global", "Description")).rejects.toThrow(
+ "Skill name must be lowercase letters/numbers/hyphens only",
+ )
+ })
+
+ it("should throw error for skill name that is too long", async () => {
+ const longName = "a".repeat(65)
+ await expect(skillsManager.createSkill(longName, "global", "Description")).rejects.toThrow(
+ "Skill name must be 1-64 characters",
+ )
+ })
+
+ it("should throw error for skill name starting with hyphen", async () => {
+ await expect(skillsManager.createSkill("-invalid", "global", "Description")).rejects.toThrow(
+ "Skill name must be lowercase letters/numbers/hyphens only",
+ )
+ })
+
+ it("should throw error for skill name ending with hyphen", async () => {
+ await expect(skillsManager.createSkill("invalid-", "global", "Description")).rejects.toThrow(
+ "Skill name must be lowercase letters/numbers/hyphens only",
+ )
+ })
+
+ it("should throw error for skill name with consecutive hyphens", async () => {
+ await expect(skillsManager.createSkill("invalid--name", "global", "Description")).rejects.toThrow(
+ "Skill name must be lowercase letters/numbers/hyphens only",
+ )
+ })
+
+ it("should throw error for empty description", async () => {
+ await expect(skillsManager.createSkill("valid-name", "global", " ")).rejects.toThrow(
+ "Skill description must be 1-1024 characters",
+ )
+ })
+
+ it("should throw error for description that is too long", async () => {
+ const longDesc = "d".repeat(1025)
+ await expect(skillsManager.createSkill("valid-name", "global", longDesc)).rejects.toThrow(
+ "Skill description must be 1-1024 characters",
+ )
+ })
+
+ it("should throw error if skill already exists", async () => {
+ mockFileExists.mockResolvedValue(true)
+
+ await expect(skillsManager.createSkill("existing-skill", "global", "Description")).rejects.toThrow(
+ "already exists",
+ )
+ })
+
+ it("should allow creating a .roo skill when the duplicate lives in the lower-priority .agents root", async () => {
+ const agentsSkillDir = p(globalAgentsSkillsDir, "my-skill")
+ const agentsSkillMd = p(agentsSkillDir, "SKILL.md")
+ const rooSkillMd = p(globalSkillsDir, "my-skill", "SKILL.md")
+
+ mockDirectoryExists.mockImplementation(async (dir: string) => dir === globalAgentsSkillsDir)
+ mockRealpath.mockImplementation(async (pathArg: string) => pathArg)
+ mockReaddir.mockImplementation(async (dir: string) => (dir === globalAgentsSkillsDir ? ["my-skill"] : []))
+ mockStat.mockImplementation(async (pathArg: string) => {
+ if (pathArg === agentsSkillDir) return { isDirectory: () => true }
+ throw enoent()
+ })
+ mockFileExists.mockImplementation(async (file: string) => file === agentsSkillMd)
+ mockReadFile.mockResolvedValue(`---
+name: my-skill
+description: An agents skill
+---
+Instructions`)
+ mockMkdir.mockResolvedValue(undefined)
+ mockWriteFile.mockResolvedValue(undefined)
+
+ await skillsManager.discoverSkills()
+ expect(skillsManager.getSkill("my-skill", "global")?.path).toBe(agentsSkillMd)
+
+ const created = await skillsManager.createSkill("my-skill", "global", "Description")
+
+ expect(created).toBe(rooSkillMd)
+ const staged = mockWriteFile.mock.calls[0][0]
+ expect(String(staged)).toMatch(/\.SKILL\.md\.[^/\\]+\.tmp$/)
+ expect(mockRename).toHaveBeenCalledWith(staged, rooSkillMd)
+ })
+ })
+
+ describe("skill diagnostics", () => {
+ it("reports malformed YAML with location while retaining valid skills", async () => {
+ const validSkillDir = p(globalSkillsDir, "valid-skill")
+ const malformedSkillDir = p(globalSkillsDir, "malformed-skill")
+ const validSkillPath = p(validSkillDir, "SKILL.md")
+ const malformedSkillPath = p(malformedSkillDir, "SKILL.md")
+ mockDirectoryExists.mockImplementation(async (dir: string) => dir === globalSkillsDir)
+ mockRealpath.mockImplementation(async (pathArg: string) => pathArg)
+ mockReaddir.mockImplementation(async (dir: string) =>
+ dir === globalSkillsDir ? ["valid-skill", "malformed-skill"] : [],
+ )
+ mockStat.mockResolvedValue({ isDirectory: () => true })
+ mockFileExists.mockImplementation(async (file: string) =>
+ [validSkillPath, malformedSkillPath].includes(file),
+ )
+ mockReadFile.mockImplementation(async (file: string) => {
+ if (file === validSkillPath) {
+ return "---\nname: valid-skill\ndescription: Still visible\n---\nValid instructions"
+ }
+ return '---\nname: malformed-skill\ndescription: Triggers on: "TDD"\n---\nBroken instructions'
+ })
+
+ await skillsManager.discoverSkills()
+
+ expect(skillsManager.getSkillsMetadata()).toEqual([
+ expect.objectContaining({ name: "valid-skill", description: "Still visible" }),
+ ])
+ expect(skillsManager.getSkillDiagnostics()).toEqual([
+ expect.objectContaining({
+ path: malformedSkillPath,
+ source: "global",
+ message: expect.any(String),
+ line: 3,
+ column: expect.any(Number),
+ }),
+ ])
+ })
+
+ it("serializes overlapping scans so an older scan cannot append stale diagnostics", async () => {
+ const skillDir = p(globalSkillsDir, "flaky-skill")
+ const skillPath = p(skillDir, "SKILL.md")
+ const staleContent = `---
+name: flaky-skill
+description: "Broken "quote" frontmatter
+---
+
+Body.`
+ const goodContent = `---
+name: flaky-skill
+description: Healthy after repair
+---
+
+Body.`
+
+ mockDirectoryExists.mockImplementation(async (dir: string) => dir === globalSkillsDir)
+ mockRealpath.mockImplementation(async (pathArg: string) => pathArg)
+ mockReaddir.mockImplementation(async (dir: string) => (dir === globalSkillsDir ? ["flaky-skill"] : []))
+ mockStat.mockResolvedValue({ isDirectory: () => true })
+ mockFileExists.mockImplementation(async (file: string) => file === skillPath)
+
+ // The first scan's read is delayed (as when a watcher fires while the
+ // file is still being written) and observes malformed content. A second
+ // scan started before that read resolves must run afterwards, and its
+ // result must win.
+ let resolveFirstRead!: (content: string) => void
+ const firstRead = new Promise((resolve) => {
+ resolveFirstRead = resolve
+ })
+ let reads = 0
+ mockReadFile.mockImplementation(async () => {
+ reads += 1
+ return reads === 1 ? firstRead : goodContent
+ })
+
+ const first = skillsManager.discoverSkills()
+ const second = skillsManager.discoverSkills()
+ resolveFirstRead(staleContent)
+ await Promise.all([first, second])
+
+ expect(skillsManager.getSkillsMetadata()).toEqual([
+ expect.objectContaining({ name: "flaky-skill", description: "Healthy after repair" }),
+ ])
+ expect(skillsManager.getSkillDiagnostics()).toEqual([])
+ })
+
+ it("does not expose a half-built snapshot to a reader while a scan is in progress", async () => {
+ const stablePath = p(globalSkillsDir, "stable-skill", "SKILL.md")
+ const slowPath = p(globalSkillsDir, "slow-skill", "SKILL.md")
+ const stableContent = `---
+name: stable-skill
+description: Stable before the scan
+---
+
+Body.`
+ const slowContent = `---
+name: slow-skill
+description: Loaded after the scan completes
+---
+
+Body.`
+
+ mockDirectoryExists.mockImplementation(async (dir: string) => dir === globalSkillsDir)
+ mockRealpath.mockImplementation(async (pathArg: string) => pathArg)
+ // The second scan sees an extra skill, and that skill's read is parked, so
+ // the reader runs while the scan is mid-flight. Committing incrementally
+ // would let the reader see the scan after the clear but before the slow
+ // skill was loaded.
+ let entries = ["stable-skill"]
+ mockReaddir.mockImplementation(async (dir: string) => (dir === globalSkillsDir ? entries : []))
+ mockStat.mockResolvedValue({ isDirectory: () => true })
+ mockFileExists.mockImplementation(async (file: string) => file === stablePath || file === slowPath)
+ let resolveSlowRead!: (content: string) => void
+ const slowRead = new Promise((resolve) => {
+ resolveSlowRead = resolve
+ })
+ mockReadFile.mockImplementation(async (file: string) => (file === slowPath ? slowRead : stableContent))
+
+ await skillsManager.discoverSkills()
+ expect(skillsManager.getSkillsMetadata()).toHaveLength(1)
+
+ // Slow skill first: the reader runs after the scan started but before any of
+ // its own skills were added, so an incremental commit would show an empty list.
+ entries = ["slow-skill", "stable-skill"]
+ const scan = skillsManager.discoverSkills()
+ await vi.waitFor(() => expect(mockReadFile.mock.calls.map((c) => c[0])).toContain(slowPath))
+ expect(skillsManager.getSkillsMetadata()).toHaveLength(1)
+ expect(skillsManager.getSkillDiagnostics()).toEqual([])
+
+ resolveSlowRead(slowContent)
+ await scan
+
+ expect(skillsManager.getSkillsMetadata()).toHaveLength(2)
+ })
+ it("does not hint at unescaped quotes when the parse error is on another line", async () => {
+ const skillDir = p(globalSkillsDir, "hint-skill")
+ const skillPath = p(skillDir, "SKILL.md")
+
+ mockDirectoryExists.mockImplementation(async (dir: string) => dir === globalSkillsDir)
+ mockRealpath.mockImplementation(async (pathArg: string) => pathArg)
+ mockReaddir.mockImplementation(async (dir: string) => (dir === globalSkillsDir ? ["hint-skill"] : []))
+ mockStat.mockResolvedValue({ isDirectory: () => true })
+ mockFileExists.mockImplementation(async (file: string) => file === skillPath)
+ // The description is a valid single-quoted value that itself contains
+ // double quotes; the YAML error is on the unclosed name line instead,
+ // so the unescaped-quotes hint must not fire.
+ mockReadFile.mockResolvedValue(`---
+name: "unclosed
+description: 'Triggers on "TDD" - valid quotes'
+---
+
+Body.`)
+
+ const consoleErrorSpy = vi.spyOn(console, "error").mockImplementation(() => {})
+
+ try {
+ await skillsManager.discoverSkills()
+
+ const logged = consoleErrorSpy.mock.calls.map((call) => call.join(" "))
+ expect(logged.some((line) => line.includes("unescaped double quotes"))).toBe(false)
+ expect(skillsManager.getSkillDiagnostics()).toEqual([
+ expect.objectContaining({ path: skillPath, source: "global", line: 4 }),
+ ])
+ } finally {
+ consoleErrorSpy.mockRestore()
+ }
+ })
+
+ it("keeps reporting the same malformed skill on a re-scan (gray-matter cache must not swallow the error)", async () => {
+ const skillDir = p(globalSkillsDir, "cached-bad-skill")
+ const skillPath = p(skillDir, "SKILL.md")
+
+ mockDirectoryExists.mockImplementation(async (dir: string) => dir === globalSkillsDir)
+ mockRealpath.mockImplementation(async (pathArg: string) => pathArg)
+ mockReaddir.mockImplementation(async (dir: string) => (dir === globalSkillsDir ? ["cached-bad-skill"] : []))
+ mockStat.mockResolvedValue({ isDirectory: () => true })
+ mockFileExists.mockImplementation(async (file: string) => file === skillPath)
+ mockReadFile.mockResolvedValue(`---
+name: cached-bad-skill
+description: "Broken "quote" description
+---
+
+Body.`)
+
+ await skillsManager.discoverSkills()
+ expect(skillsManager.getSkillsMetadata()).toEqual([])
+ expect(skillsManager.getSkillDiagnostics()).toHaveLength(1)
+
+ // A re-scan of the identical (unchanged) content must keep reporting the
+ // parse failure. gray-matter keeps a global content-keyed cache that it
+ // populates before parsing, so without bypassing it the first throw is
+ // cached with an empty data object and every later parse of the same
+ // content silently returns that object instead of re-throwing - which
+ // would resurface the misleading "missing required 'name' field" symptom
+ // from issue #859.
+ await skillsManager.discoverSkills()
+ expect(skillsManager.getSkillsMetadata()).toEqual([])
+ expect(skillsManager.getSkillDiagnostics()).toHaveLength(1)
+ expect(skillsManager.getSkillDiagnostics()[0]).toEqual(
+ expect.objectContaining({ path: skillPath, source: "global" }),
+ )
+ })
+
+ it("records a diagnostic from a non-Error parse failure without location details", async () => {
+ const skillDir = p(globalSkillsDir, "raw-error-skill")
+ const skillPath = p(skillDir, "SKILL.md")
+
+ mockDirectoryExists.mockImplementation(async (dir: string) => dir === globalSkillsDir)
+ mockRealpath.mockImplementation(async (pathArg: string) => pathArg)
+ mockReaddir.mockImplementation(async (dir: string) => (dir === globalSkillsDir ? ["raw-error-skill"] : []))
+ mockStat.mockResolvedValue({ isDirectory: () => true })
+ mockFileExists.mockImplementation(async (file: string) => file === skillPath)
+ mockReadFile.mockResolvedValue(`---
+name: raw-error-skill
+description: Healthy
+---
+
+Body.`)
+ // Script a parse failure that is a plain string (no YAML reason, no
+ // mark, not an Error) so every defensive fallback in recordDiagnostic
+ // is exercised.
+ vi.mocked(matter).mockImplementationOnce(() => {
+ throw "gray-matter exploded"
+ })
+
+ await skillsManager.discoverSkills()
+
+ expect(skillsManager.getSkillsMetadata()).toEqual([])
+ expect(skillsManager.getSkillDiagnostics()).toEqual([
+ {
+ path: skillPath,
+ source: "global",
+ message: "gray-matter exploded",
+ line: undefined,
+ column: undefined,
+ },
+ ])
+ })
+ })
+
+ describe("deleteSkill", () => {
+ it("should delete an existing skill", async () => {
+ const testSkillDir = p(globalSkillsDir, "test-skill")
+ const testSkillMd = p(testSkillDir, "SKILL.md")
+
+ // Setup: skill exists
+ mockDirectoryExists.mockImplementation(async (dir: string) => {
+ return dir === globalSkillsDir
+ })
+
+ mockRealpath.mockImplementation(async (pathArg: string) => pathArg)
+
+ mockReaddir.mockImplementation(async (dir: string) => {
+ if (dir === globalSkillsDir) {
+ return ["test-skill"]
+ }
+ return []
+ })
+
+ mockStat.mockImplementation(async (pathArg: string) => {
+ if (pathArg === testSkillDir) {
+ return { isDirectory: () => true }
+ }
+ throw new Error("Not found")
+ })
+
+ mockFileExists.mockImplementation(async (file: string) => {
+ return file === testSkillMd
+ })
+
+ mockReadFile.mockResolvedValue(`---
+name: test-skill
+description: A test skill
+---
+Instructions`)
mockRm.mockResolvedValue(undefined)
@@ -3339,4 +4355,224 @@ Instructions`)
})
})
})
+ it("stops creating watchers once the manager is disposed", async () => {
+ const createWatcher = vi.mocked(vscode.workspace.createFileSystemWatcher)
+ const originalNodeEnv = process.env.NODE_ENV
+ process.env.NODE_ENV = "development"
+ try {
+ createWatcher.mockClear()
+ await skillsManager["setupFileWatchers"]()
+ expect(createWatcher).toHaveBeenCalled()
+
+ createWatcher.mockClear()
+ await skillsManager.dispose()
+ await skillsManager["setupFileWatchers"]()
+ expect(createWatcher).not.toHaveBeenCalled()
+ } finally {
+ process.env.NODE_ENV = originalNodeEnv
+ }
+ })
+
+ it("sweeps only a staged sidecar left by a previous host", async () => {
+ const staleName = ".SKILL.md.123.abc.tmp"
+ const freshName = ".SKILL.md.456.def.tmp"
+ mockReaddir.mockImplementation(async (_dir: string, options?: { withFileTypes?: boolean }) => {
+ if (options?.withFileTypes) {
+ return []
+ }
+ return [staleName, freshName]
+ })
+ mockStat.mockImplementation(async (pathArg: string) => {
+ if (pathArg.endsWith(staleName)) {
+ // Older than the stale threshold: abandoned by a previous host.
+ return { mtimeMs: Date.now() - 60 * 60 * 1000 }
+ }
+ if (pathArg.endsWith(freshName)) {
+ return { mtimeMs: Date.now() }
+ }
+ throw enoent()
+ })
+ mockUnlink.mockResolvedValue(undefined)
+
+ await skillsManager["sweepStaleSkillTempFiles"]()
+
+ expect(mockUnlink).toHaveBeenCalledWith(p(globalSkillsDir, staleName))
+ // A fresh matching sidecar may belong to a live write and must survive.
+ expect(mockUnlink).not.toHaveBeenCalledWith(p(globalSkillsDir, freshName))
+ })
+
+ it("revisits fresh sidecars once the delayed sweep fires", async () => {
+ // The first sweep skips sidecars younger than the freshness window because they may belong to
+ // a live write in another process, and nothing else ever revisits them. The one delayed retry
+ // is what does, so both halves are pinned: no second sweep inside the window, one after it.
+ vi.useFakeTimers()
+ // vi.useFakeTimers() takes over Date as well as the timers, so a sidecar stamped with the
+ // planted reading ages exactly as the clock is advanced: the retry's verdict changes because
+ // the window closed, not because the fixture changed.
+ const sidecarName = ".SKILL.md.789.ghi.tmp"
+ const sidecarPath = p(globalSkillsDir, sidecarName)
+ // What the retry changes is the sidecar's age relative to now, and this suite's fake timers do
+ // not fake Date (measured: the two fires land milliseconds apart on the real clock), so the
+ // fixture ages the sidecar between the fires instead of pretending the clock carried it past
+ // the window.
+ let sidecarAgeMs = 0
+ mockReaddir.mockImplementation(async (_dir: string, options?: { withFileTypes?: boolean }) =>
+ options?.withFileTypes ? [] : [sidecarName],
+ )
+ mockStat.mockImplementation(async (pathArg: string) =>
+ pathArg.endsWith(sidecarName) ? { mtimeMs: Date.now() - sidecarAgeMs } : Promise.reject(enoent()),
+ )
+ mockUnlink.mockResolvedValue(undefined)
+ const unlinkedSoFar = () => mockUnlink.mock.calls.map((call) => String(call[0]))
+ let sweeps = 0
+ const originalSweep = skillsManager["sweepStaleSkillTempFiles"]
+ skillsManager["sweepStaleSkillTempFiles"] = async () => {
+ sweeps += 1
+ // Count the fires and let the real sweep run beneath the counter: a counter that swallowed
+ // the body would pin the timing without proving the removal the retry exists to perform.
+ // call() rather than originalSweep(): the captured method is unbound, and an unbound call
+ // loses the manager instance, throws inside the sweep, and gets swallowed by the retry's own
+ // catch - which is how the first version of this test passed while never removing anything.
+ await originalSweep.call(skillsManager)
+ if (sweeps === 1) {
+ // The retry only makes sense once the freshness window has closed on this sidecar.
+ sidecarAgeMs = 10 * 60 * 1000
+ }
+ }
+ try {
+ await skillsManager.initialize()
+ expect(sweeps).toBe(1)
+ expect(unlinkedSoFar(), "the first sweep leaves a fresh sidecar alone").not.toContain(sidecarPath)
+ // SKILL_TEMP_SIDECAR_STALE_MS is ten minutes and module-private, so the window is written
+ // here and the assertions below pin which side of it fires.
+ await vi.advanceTimersByTimeAsync(10 * 60 * 1000 - 1)
+ expect(sweeps).toBe(1)
+ expect(unlinkedSoFar()).not.toContain(sidecarPath)
+ await vi.advanceTimersByTimeAsync(1)
+ expect(sweeps).toBe(2)
+ // The removal itself: the retry is what turns a skipped sidecar into a deleted one.
+ expect(unlinkedSoFar(), "the delayed sweep removes the sidecar the first sweep skipped").toContain(
+ sidecarPath,
+ )
+ } finally {
+ skillsManager["sweepStaleSkillTempFiles"] = originalSweep
+ vi.useRealTimers()
+ }
+ })
+
+ it("cancels the delayed sweep when disposal lands inside the window", async () => {
+ // A host that stops inside the freshness window must not sweep again after it: dispose()
+ // clears the retry timer, and without that clear the pending callback would run.
+ vi.useFakeTimers()
+ let sweeps = 0
+ const originalSweep = skillsManager["sweepStaleSkillTempFiles"]
+ skillsManager["sweepStaleSkillTempFiles"] = async () => {
+ sweeps += 1
+ }
+ try {
+ await skillsManager.initialize()
+ expect(sweeps).toBe(1)
+ await skillsManager.dispose()
+ await vi.advanceTimersByTimeAsync(10 * 60 * 1000 + 1)
+ expect(sweeps).toBe(1)
+ } finally {
+ skillsManager["sweepStaleSkillTempFiles"] = originalSweep
+ vi.useRealTimers()
+ }
+ })
+
+ it("shares one directory queue across symlink aliases", async () => {
+ const order: string[] = []
+ let releaseFirst!: () => void
+ const firstGate = new Promise((resolve) => {
+ releaseFirst = resolve
+ })
+ const alias = p("/alias", "skills")
+ mockRealpath.mockImplementation(async (pathArg: string) => (pathArg === alias ? globalSkillsDir : pathArg))
+
+ const first = skillsManager["withDirectoryLock"](alias, async () => {
+ order.push("first:start")
+ await firstGate
+ order.push("first:end")
+ })
+ try {
+ // The lock key is resolved through realpath asynchronously before the operation runs.
+ await vi.waitFor(() => expect(order).toEqual(["first:start"]))
+ const second = skillsManager["withDirectoryLock"](globalSkillsDir, async () => {
+ order.push("second")
+ })
+ await Promise.resolve()
+ // The alias resolves to the same real directory, so the second operation waits.
+ expect(order).toEqual(["first:start"])
+
+ releaseFirst()
+ await Promise.all([first, second])
+ expect(order).toEqual(["first:start", "first:end", "second"])
+ } finally {
+ // Never leave the shared queue holding a gate if an assertion above fails.
+ releaseFirst()
+ await first.catch(() => undefined)
+ }
+ })
+
+ it("does not start watchers when initialization runs after disposal", async () => {
+ const createWatcher = vi.mocked(vscode.workspace.createFileSystemWatcher)
+ await skillsManager.dispose()
+ createWatcher.mockClear()
+
+ await skillsManager.initialize()
+
+ expect(createWatcher).not.toHaveBeenCalled()
+ })
+
+ it("rejects a queued write once the manager is disposed", async () => {
+ await skillsManager.dispose()
+ mockWriteFile.mockResolvedValue(undefined)
+ mockUnlink.mockResolvedValue(undefined)
+
+ await expect(
+ skillsManager["writeSkillFileAtomically"](p(globalSkillsDir, "SKILL.md"), "content"),
+ ).rejects.toThrow("SkillsManager is disposed")
+ expect(mockWriteFile).not.toHaveBeenCalled()
+ expect(mockRename).not.toHaveBeenCalled()
+ })
+
+ it("never runs a queued directory operation after the manager is disposed", async () => {
+ let releaseFirst!: () => void
+ const firstGate = new Promise((resolve) => {
+ releaseFirst = resolve
+ })
+ let firstStarted = false
+ let secondRan = false
+
+ const first = skillsManager["withDirectoryLock"](globalSkillsDir, async () => {
+ firstStarted = true
+ await firstGate
+ })
+ await vi.waitFor(() => expect(firstStarted).toBe(true))
+
+ // The second operation is queued behind the first and must be rejected after disposal
+ // without running its callback.
+ const second = skillsManager["withDirectoryLock"](globalSkillsDir, async () => {
+ secondRan = true
+ })
+ await skillsManager.dispose()
+ releaseFirst()
+
+ await first
+ await expect(second).rejects.toThrow("SkillsManager is disposed")
+ expect(secondRan).toBe(false)
+ })
+
+ it("removes tracked temp sidecars on dispose", async () => {
+ mockUnlink.mockResolvedValue(undefined)
+ skillsManager["activeTempFiles"].add("/mock/skills/foo/.SKILL.md.123.abc.tmp")
+
+ await skillsManager.dispose()
+
+ expect(mockUnlink).toHaveBeenCalledWith("/mock/skills/foo/.SKILL.md.123.abc.tmp")
+ expect(skillsManager["activeTempFiles"].size).toBe(0)
+ })
})
+
+
diff --git a/src/shared/skills.ts b/src/shared/skills.ts
index f5151181f6..6dc2cbf8ad 100644
--- a/src/shared/skills.ts
+++ b/src/shared/skills.ts
@@ -20,6 +20,15 @@ export interface SkillMetadata {
modeSlugs?: string[]
}
+/** A user-actionable problem found while loading a SKILL.md file. */
+export interface SkillDiagnostic {
+ path: string
+ source: "global" | "project"
+ message: string
+ line?: number
+ column?: number
+}
+
/**
* Full skill content (loaded on activation)
*/
diff --git a/webview-ui/playwright/gallery/stories.tsx b/webview-ui/playwright/gallery/stories.tsx
index 6459aad7aa..d9f6afa503 100644
--- a/webview-ui/playwright/gallery/stories.tsx
+++ b/webview-ui/playwright/gallery/stories.tsx
@@ -518,4 +518,81 @@ export const stories: Record = {
)
},
+
+ "skills-settings-diagnostics": async () => {
+ const [{ AppProviders }, { SkillsSettings }] = await Promise.all([
+ import("../AppProviders"),
+ import("@/components/settings/SkillsSettings"),
+ ])
+ // Deterministic diagnostics: one project skill with a YAML location, one global
+ // skill without position data, so the alert's path/location/message rendering is
+ // fully covered by the screenshot.
+ const skills = [
+ {
+ name: "diagnostics-demo",
+ description: "Demo skill that loads successfully next to the broken ones",
+ path: "/workspace/.roo/skills/diagnostics-demo/SKILL.md",
+ source: "project" as const,
+ },
+ ]
+ const skillDiagnostics = [
+ {
+ path: "/workspace/.roo/skills/broken-skill/SKILL.md",
+ source: "project" as const,
+ message: "Invalid YAML frontmatter: unexpected end of the stream",
+ line: 3,
+ column: 12,
+ },
+ {
+ path: "/home/user/.roo/skills/legacy-mode/SKILL.md",
+ source: "global" as const,
+ message: "Missing required 'description' field",
+ },
+ ]
+ return (
+
+
+
+
+
+ )
+ },
+ "skills-settings-many-diagnostics": async () => {
+ const [{ AppProviders }, { SkillsSettings }] = await Promise.all([
+ import("../AppProviders"),
+ import("@/components/settings/SkillsSettings"),
+ ])
+ // Fourteen diagnostics so the alert list is taller than the bounded height the
+ // header gives it. Every third one carries position data and the rest do not, so
+ // both row shapes are laid out while the header competes with the skills list for
+ // the height of the pane.
+ const skills = [
+ {
+ name: "healthy-skill",
+ description: "Skill that loads successfully next to the broken ones",
+ path: "/workspace/.roo/skills/healthy-skill/SKILL.md",
+ source: "project" as const,
+ },
+ ]
+ const skillDiagnostics = Array.from({ length: 14 }, (_, index) => ({
+ path: `/workspace/.roo/skills/skill-${index + 1}/SKILL.md`,
+ source: index % 2 === 0 ? ("project" as const) : ("global" as const),
+ message:
+ index % 3 === 0
+ ? `Invalid YAML frontmatter: unexpected end of the stream at line ${index + 1}`
+ : "Missing required 'description' field",
+ ...(index % 3 === 0 ? { line: index + 1, column: 12 } : {}),
+ }))
+ return (
+
+
+
+
+
+ )
+ },
}
diff --git a/webview-ui/src/components/settings/SkillsSettings.tsx b/webview-ui/src/components/settings/SkillsSettings.tsx
index b6de39df5c..7140cb9925 100644
--- a/webview-ui/src/components/settings/SkillsSettings.tsx
+++ b/webview-ui/src/components/settings/SkillsSettings.tsx
@@ -1,5 +1,5 @@
import React, { useState, useEffect, useMemo, useCallback } from "react"
-import { Plus, Globe, Folder, Edit, Trash2, Settings } from "lucide-react"
+import { Plus, Globe, Folder, Edit, Trash2, Settings, TriangleAlert } from "lucide-react"
import { Trans } from "react-i18next"
import { useAppTranslation } from "@/i18n/TranslationContext"
@@ -35,8 +35,9 @@ import { CreateSkillDialog } from "./CreateSkillDialog"
export const SkillsSettings: React.FC = () => {
const { t } = useAppTranslation()
- const { cwd, skills: rawSkills, customModes } = useExtensionState()
+ const { cwd, skills: rawSkills, skillDiagnostics: rawSkillDiagnostics, customModes } = useExtensionState()
const skills = useMemo(() => rawSkills ?? [], [rawSkills])
+ const skillDiagnostics = useMemo(() => rawSkillDiagnostics ?? [], [rawSkillDiagnostics])
const [deleteDialogOpen, setDeleteDialogOpen] = useState(false)
const [skillToDelete, setSkillToDelete] = useState(null)
@@ -233,6 +234,34 @@ export const SkillsSettings: React.FC = () => {
}}
/>
+ {skillDiagnostics.length > 0 && (
+
+
+
+
{t("settings:skills.diagnostics.title")}
+
+ {t("settings:skills.diagnostics.description")}
+
+
+ {skillDiagnostics.map((diagnostic) => {
+ const location = diagnostic.line
+ ? `:${diagnostic.line}${diagnostic.column ? `:${diagnostic.column}` : ""}`
+ : ""
+ return (
+
+
+ {diagnostic.path + location}
+
+ : {diagnostic.message}
+
+ )
+ })}
+
+
+
+ )}
{/* Add Skill button */}
setCreateDialogOpen(true)}>
diff --git a/webview-ui/src/components/settings/__tests__/SkillsSettings.spec.tsx b/webview-ui/src/components/settings/__tests__/SkillsSettings.spec.tsx
index 67c820d8ce..6ba330dd77 100644
--- a/webview-ui/src/components/settings/__tests__/SkillsSettings.spec.tsx
+++ b/webview-ui/src/components/settings/__tests__/SkillsSettings.spec.tsx
@@ -1,6 +1,6 @@
import { renderWithExtensionState, screen, fireEvent, waitFor } from "@/utils/test-utils"
-import type { SkillMetadata } from "@roo-code/types"
+import type { SkillDiagnostic, SkillMetadata } from "@roo-code/types"
import { vscode } from "@/utils/vscode"
@@ -164,10 +164,15 @@ vi.mock("@/context/ExtensionStateContext", () => ({
useExtensionState: () => mockExtensionState,
}))
-const renderSkillsSettings = (skills: SkillMetadata[] = mockSkills, cwd?: string) => {
+const renderSkillsSettings = (
+ skills: SkillMetadata[] = mockSkills,
+ cwd?: string,
+ skillDiagnostics: SkillDiagnostic[] = [],
+) => {
// Update the mock state before rendering
mockExtensionState = {
skills,
+ skillDiagnostics,
cwd: cwd !== undefined ? cwd : "/workspace",
customModes: [],
}
@@ -193,6 +198,165 @@ describe("SkillsSettings", () => {
expect(vscode.postMessage).toHaveBeenCalledWith({ type: "requestSkills" })
})
+ it("displays an actionable malformed-skill warning with file location and message", () => {
+ renderSkillsSettings(mockSkills, undefined, [
+ {
+ path: "/workspace/.roo/skills/broken/SKILL.md",
+ source: "project",
+ message: "bad indentation of a mapping entry",
+ line: 3,
+ column: 20,
+ },
+ ])
+
+ const warning = screen.getByRole("alert")
+ expect(warning).toHaveTextContent("settings:skills.diagnostics.title")
+ expect(warning).toHaveTextContent("settings:skills.diagnostics.description")
+ expect(warning).toHaveTextContent("/workspace/.roo/skills/broken/SKILL.md:3:20")
+ expect(warning).toHaveTextContent("bad indentation of a mapping entry")
+ expect(screen.getByText("global-skill")).toBeInTheDocument()
+ })
+
+ it("does not show the malformed-skill warning when skillDiagnostics is absent from state", () => {
+ mockExtensionState = {
+ skills: mockSkills,
+ cwd: "/workspace",
+ customModes: [],
+ }
+
+ renderWithExtensionState( )
+
+ expect(screen.queryByRole("alert")).not.toBeInTheDocument()
+ expect(screen.getByText("settings:sections.skills")).toBeInTheDocument()
+ expect(screen.getByText("project-skill")).toBeInTheDocument()
+ })
+
+ it("renders diagnostics with and without line/column locations", () => {
+ renderSkillsSettings(mockSkills, undefined, [
+ {
+ path: "/workspace/.roo/skills/broken-2/SKILL.md",
+ source: "project",
+ message: "unexpected end of the stream",
+ },
+ {
+ path: "/workspace/.roo/skills/broken-3/SKILL.md",
+ source: "project",
+ message: "bad indentation of a mapping entry",
+ line: 7,
+ },
+ {
+ path: "/workspace/.roo/skills/broken-4/SKILL.md",
+ source: "project",
+ message: "found character that cannot start any token",
+ line: 12,
+ column: 3,
+ },
+ ])
+
+ const warning = screen.getByRole("alert")
+ const rows = Array.from(warning.querySelectorAll("li"))
+ expect(rows.map((row) => row.textContent)).toEqual([
+ "/workspace/.roo/skills/broken-2/SKILL.md: unexpected end of the stream",
+ "/workspace/.roo/skills/broken-3/SKILL.md:7: bad indentation of a mapping entry",
+ "/workspace/.roo/skills/broken-4/SKILL.md:12:3: found character that cannot start any token",
+ ])
+ })
+
+ it("shows diagnostics that arrive after the settings view is already mounted", () => {
+ const view = renderSkillsSettings(mockSkills, undefined, [])
+
+ expect(screen.queryByRole("alert")).not.toBeInTheDocument()
+
+ // The extension pushes a fresh diagnostics list through the extension state while the view stays
+ // mounted. The memoized list has to follow that value, or the warning freezes at first render.
+ mockExtensionState = {
+ ...mockExtensionState,
+ skillDiagnostics: [
+ {
+ path: "/workspace/.roo/skills/late/SKILL.md",
+ source: "project",
+ message: "bad indentation of a mapping entry",
+ line: 4,
+ column: 9,
+ },
+ ],
+ }
+ view.rerender( )
+
+ const warning = screen.getByRole("alert")
+ expect(warning.querySelector("span")?.textContent).toBe("/workspace/.roo/skills/late/SKILL.md:4:9")
+ expect(warning).toHaveTextContent("bad indentation of a mapping entry")
+ })
+
+ it("keeps each diagnostic row in its own element when the diagnostics list is reordered", () => {
+ const view = renderSkillsSettings(mockSkills, undefined, [
+ {
+ path: "/workspace/.roo/skills/broken-2/SKILL.md",
+ source: "project",
+ message: "unexpected end of the stream",
+ },
+ {
+ path: "/workspace/.roo/skills/broken-3/SKILL.md",
+ source: "project",
+ message: "bad indentation of a mapping entry",
+ line: 7,
+ },
+ {
+ path: "/workspace/.roo/skills/broken-4/SKILL.md",
+ source: "project",
+ message: "found character that cannot start any token",
+ line: 12,
+ column: 3,
+ },
+ ])
+
+ const created = Array.from(screen.getByRole("alert").querySelectorAll("li"))
+ // Every row is keyed by the diagnostic it reports, so a reordered list must reuse the element the
+ // row was created in. Position-matched rows move row-local state and selection away from the
+ // diagnostic the reader is looking at.
+ created.forEach((row, index) => {
+ row.dataset.initialPosition = String(index)
+ })
+ expect(created.map((row) => row.textContent)).toEqual([
+ "/workspace/.roo/skills/broken-2/SKILL.md: unexpected end of the stream",
+ "/workspace/.roo/skills/broken-3/SKILL.md:7: bad indentation of a mapping entry",
+ "/workspace/.roo/skills/broken-4/SKILL.md:12:3: found character that cannot start any token",
+ ])
+
+ mockExtensionState = {
+ ...mockExtensionState,
+ skillDiagnostics: [
+ {
+ path: "/workspace/.roo/skills/broken-4/SKILL.md",
+ source: "project",
+ message: "found character that cannot start any token",
+ line: 12,
+ column: 3,
+ },
+ {
+ path: "/workspace/.roo/skills/broken-3/SKILL.md",
+ source: "project",
+ message: "bad indentation of a mapping entry",
+ line: 7,
+ },
+ {
+ path: "/workspace/.roo/skills/broken-2/SKILL.md",
+ source: "project",
+ message: "unexpected end of the stream",
+ },
+ ],
+ }
+ view.rerender( )
+
+ const reordered = Array.from(screen.getByRole("alert").querySelectorAll("li"))
+ expect(reordered.map((row) => row.textContent)).toEqual([
+ "/workspace/.roo/skills/broken-4/SKILL.md:12:3: found character that cannot start any token",
+ "/workspace/.roo/skills/broken-3/SKILL.md:7: bad indentation of a mapping entry",
+ "/workspace/.roo/skills/broken-2/SKILL.md: unexpected end of the stream",
+ ])
+ expect(reordered.map((row) => row.dataset.initialPosition)).toEqual(["2", "1", "0"])
+ })
+
it("displays project skills section when in a workspace", () => {
renderSkillsSettings()
diff --git a/webview-ui/src/components/settings/__tests__/SkillsSettings.visual.tsx b/webview-ui/src/components/settings/__tests__/SkillsSettings.visual.tsx
new file mode 100644
index 0000000000..0cbe85d72c
--- /dev/null
+++ b/webview-ui/src/components/settings/__tests__/SkillsSettings.visual.tsx
@@ -0,0 +1,55 @@
+import { expect, test } from "../../../../playwright/coverage-fixture"
+import { collectBoundedLayoutFailures } from "../../../../playwright/layout-contracts"
+import { mountedStory } from "../../../../playwright/mounted-story"
+
+test("renders the diagnostics story deterministically", async ({ mount, page }) => {
+ await page.setViewportSize({ width: 520, height: 480 })
+ const component = mountedStory(await mount("skills-settings-diagnostics"))
+ const story = component.getByTestId("skills-settings-story")
+
+ // Behavioural assertions for the diagnostics alert live in the SkillsSettings Vitest
+ // suite; this test only pins the deterministic state and its screenshot.
+ await expect(story).toHaveScreenshot("skills-settings-diagnostics.png")
+ await expect.poll(() => story.evaluate(collectBoundedLayoutFailures)).toEqual([])
+})
+
+test("keeps the skills list reachable when many diagnostics arrive", async ({ mount, page }) => {
+ // The pane height is fixed by the story on purpose: the failure this case guards is a
+ // height race inside the settings pane, and a story that inherits its height from its
+ // own content cannot lose that race. The viewport is taller than the pane so that the
+ // pane, and not the browser window, decides what is reachable.
+ await page.setViewportSize({ width: 520, height: 700 })
+ const component = mountedStory(await mount("skills-settings-many-diagnostics"))
+ const story = component.getByTestId("skills-settings-story")
+
+ const layout = await story.evaluate((element: HTMLElement) => {
+ const pane = element.getBoundingClientRect()
+ const alert = element.querySelector("[role='alert']")
+ const list = alert ? alert.querySelector("ul") : null
+ const scroller = element.querySelector(".flex-1.overflow-y-auto")
+ const addSkill = Array.from(element.querySelectorAll("button")).find((button) =>
+ (button.textContent || "").includes("Add Skill"),
+ )
+ return {
+ diagnosticsListScrolls:
+ Boolean(list) && (list as HTMLElement).scrollHeight > (list as HTMLElement).clientHeight,
+ diagnosticsListOverflowY: list ? getComputedStyle(list).overflowY : "",
+ addSkillInsidePane:
+ Boolean(addSkill) &&
+ Math.round((addSkill as HTMLElement).getBoundingClientRect().bottom) <= Math.round(pane.bottom),
+ skillsScrollerHeight: scroller ? Math.round(scroller.getBoundingClientRect().height) : 0,
+ }
+ })
+
+ // Bounding the diagnostics list is what keeps all three true at once. Assertions are
+ // measured here rather than taken from collectBoundedLayoutFailures because that helper
+ // flags the skills scroller for its own scrolled content in both configurations at this
+ // fixture size, so it cannot tell the bounded list from the unbounded one.
+ expect(layout.diagnosticsListScrolls).toBe(true)
+ // scrollHeight measures content extent, not user scrollability: a clipped list reports
+ // an overflowing scrollHeight too. The computed longhand is asserted alongside it so
+ // the bound cannot regress into a list no user can scroll.
+ expect(["auto", "scroll"].indexOf(layout.diagnosticsListOverflowY)).toBeGreaterThanOrEqual(0)
+ expect(layout.addSkillInsidePane).toBe(true)
+ expect(layout.skillsScrollerHeight).toBeGreaterThanOrEqual(40)
+})
diff --git a/webview-ui/src/components/settings/__tests__/__screenshots__/skills-settings-diagnostics.png b/webview-ui/src/components/settings/__tests__/__screenshots__/skills-settings-diagnostics.png
new file mode 100644
index 0000000000..ef8b40fd9b
Binary files /dev/null and b/webview-ui/src/components/settings/__tests__/__screenshots__/skills-settings-diagnostics.png differ
diff --git a/webview-ui/src/context/ExtensionStateContext.tsx b/webview-ui/src/context/ExtensionStateContext.tsx
index 38bec0fd8b..401e62d339 100644
--- a/webview-ui/src/context/ExtensionStateContext.tsx
+++ b/webview-ui/src/context/ExtensionStateContext.tsx
@@ -16,6 +16,7 @@ import {
type ExtensionState,
type MarketplaceInstalledMetadata,
type SkillMetadata,
+ type SkillDiagnostic,
type RuleMetadata,
type Command,
type McpServer,
@@ -163,6 +164,7 @@ export interface ExtensionStateContextType extends ExtensionState {
showWorktreesInHomeScreen: boolean
setShowWorktreesInHomeScreen: (value: boolean) => void
skills?: SkillMetadata[]
+ skillDiagnostics: SkillDiagnostic[]
rules: RuleMetadata[]
}
@@ -324,6 +326,10 @@ export const createInitialExtensionState = (): ExtensionState => ({
type ExtensionStateProviderInitialState = Partial & {
routerModels?: RouterModels
+ // The skill state lives outside ExtensionState; the fixture and tests seed it here so the
+ // initial-state contract covers every value the provider exposes.
+ skills?: SkillMetadata[]
+ skillDiagnostics?: SkillDiagnostic[]
}
export const ExtensionStateContextProvider: React.FC<{
@@ -382,7 +388,10 @@ export const ExtensionStateContextProvider: React.FC<{
global: {},
},
)
- const [skills, setSkills] = useState([])
+ const [skills, setSkills] = useState(() => initialState?.skills ?? [])
+ const [skillDiagnostics, setSkillDiagnostics] = useState(
+ () => initialState?.skillDiagnostics ?? [],
+ )
const [rules, setRules] = useState([])
const [includeTaskHistoryInEnhance, setIncludeTaskHistoryInEnhance] = useState(
() => initialState?.includeTaskHistoryInEnhance ?? true,
@@ -541,9 +550,8 @@ export const ExtensionStateContextProvider: React.FC<{
break
}
case "skills": {
- if (message.skills) {
- setSkills(message.skills)
- }
+ setSkills(message.skills ?? [])
+ setSkillDiagnostics(message.skillDiagnostics ?? [])
break
}
case "rules": {
@@ -777,6 +785,7 @@ export const ExtensionStateContextProvider: React.FC<{
includeCurrentCost,
setIncludeCurrentCost,
skills,
+ skillDiagnostics,
rules,
showWorktreesInHomeScreen: state.showWorktreesInHomeScreen ?? true,
setShowWorktreesInHomeScreen: (value) =>
diff --git a/webview-ui/src/context/__tests__/ExtensionStateContext.spec.tsx b/webview-ui/src/context/__tests__/ExtensionStateContext.spec.tsx
index 7158097960..3ba2a8bf90 100644
--- a/webview-ui/src/context/__tests__/ExtensionStateContext.spec.tsx
+++ b/webview-ui/src/context/__tests__/ExtensionStateContext.spec.tsx
@@ -11,6 +11,8 @@ import {
type MarketplaceItem,
type MarketplaceInstalledMetadata,
type RouterModels,
+ type SkillDiagnostic,
+ type SkillMetadata,
DEFAULT_CHECKPOINT_TIMEOUT_SECONDS,
DEFAULT_DIFF_FUZZY_THRESHOLD,
DEFAULT_WRITE_DELAY_MS,
@@ -76,6 +78,17 @@ const RulesTestComponent = () => {
return {JSON.stringify(rules)}
}
+const SkillsTestComponent = () => {
+ const { skills, skillDiagnostics } = useExtensionState()
+
+ return (
+
+
{JSON.stringify(skills)}
+
{JSON.stringify(skillDiagnostics)}
+
+ )
+}
+
const ChatFontSizeTestComponent = () => {
const { chatFontSize, setChatFontSize } = useExtensionState()
@@ -702,6 +715,117 @@ describe("ExtensionStateContext", () => {
expect(JSON.parse(screen.getByTestId("rules").textContent!)).toEqual([])
})
+ it("updates skills and skill diagnostics from incoming skills message", () => {
+ render(
+
+
+ ,
+ )
+
+ act(() => {
+ window.dispatchEvent(
+ new MessageEvent("message", {
+ data: {
+ type: "skills",
+ skills: [
+ {
+ name: "good-skill",
+ description: "A healthy skill",
+ path: "/workspace/.roo/skills/good-skill/SKILL.md",
+ source: "project",
+ },
+ ],
+ skillDiagnostics: [
+ {
+ path: "/workspace/.roo/skills/bad-skill/SKILL.md",
+ source: "project",
+ message: "bad indentation of a mapping entry",
+ line: 3,
+ },
+ ],
+ },
+ }),
+ )
+ })
+
+ expect(JSON.parse(screen.getByTestId("skills").textContent!)).toEqual([
+ expect.objectContaining({ name: "good-skill" }),
+ ])
+ expect(JSON.parse(screen.getByTestId("skill-diagnostics").textContent!)).toEqual([
+ expect.objectContaining({
+ path: "/workspace/.roo/skills/bad-skill/SKILL.md",
+ source: "project",
+ message: "bad indentation of a mapping entry",
+ line: 3,
+ }),
+ ])
+ })
+
+ it("clears stored skills and diagnostics when later skills messages omit them", () => {
+ render(
+
+
+ ,
+ )
+
+ // A message with both skills and a diagnostic populates the state...
+ act(() => {
+ window.dispatchEvent(
+ new MessageEvent("message", {
+ data: {
+ type: "skills",
+ skills: [
+ {
+ name: "good-skill",
+ description: "A healthy skill",
+ path: "/workspace/.roo/skills/good-skill/SKILL.md",
+ source: "project",
+ },
+ ],
+ skillDiagnostics: [
+ {
+ path: "/workspace/.roo/skills/bad-skill/SKILL.md",
+ source: "project",
+ message: "bad indentation of a mapping entry",
+ line: 3,
+ },
+ ],
+ },
+ }),
+ )
+ })
+
+ expect(JSON.parse(screen.getByTestId("skills").textContent!)).toEqual([
+ expect.objectContaining({ name: "good-skill" }),
+ ])
+ expect(JSON.parse(screen.getByTestId("skill-diagnostics").textContent!)).toEqual([
+ expect.objectContaining({
+ path: "/workspace/.roo/skills/bad-skill/SKILL.md",
+ source: "project",
+ message: "bad indentation of a mapping entry",
+ line: 3,
+ }),
+ ])
+
+ // ...and a later message that omits skillDiagnostics must clear the
+ // stored diagnostics instead of leaving them stale.
+ act(() => {
+ window.dispatchEvent(new MessageEvent("message", { data: { type: "skills", skills: [] } }))
+ })
+
+ expect(JSON.parse(screen.getByTestId("skills").textContent!)).toEqual([])
+ expect(JSON.parse(screen.getByTestId("skill-diagnostics").textContent!)).toEqual([])
+
+ // A message that omits skills entirely defaults the skills state the
+ // same way.
+ act(() => {
+ window.dispatchEvent(new MessageEvent("message", { data: { type: "skills" } }))
+ })
+
+ expect(JSON.parse(screen.getByTestId("skills").textContent!)).toEqual([])
+ expect(JSON.parse(screen.getByTestId("skill-diagnostics").textContent!)).toEqual([])
+ })
+
it("initializes with soundEnabled set to false", () => {
render(
@@ -776,6 +900,49 @@ describe("ExtensionStateContext", () => {
})
})
+ it("initializes skills and skillDiagnostics from initialState", () => {
+ const seededSkills: SkillMetadata[] = [
+ {
+ name: "seeded-skill",
+ description: "A seeded skill",
+ path: "/workspace/.roo/skills/seeded-skill/SKILL.md",
+ source: "project",
+ },
+ ]
+ const seededDiagnostics: SkillDiagnostic[] = [
+ {
+ path: "/workspace/.roo/skills/seeded-skill/SKILL.md",
+ source: "project",
+ message: "bad indentation of a mapping entry",
+ line: 2,
+ },
+ ]
+
+ render(
+
+
+ ,
+ )
+
+ expect(JSON.parse(screen.getByTestId("skills").textContent!)).toEqual([
+ expect.objectContaining({ name: "seeded-skill" }),
+ ])
+ expect(JSON.parse(screen.getByTestId("skill-diagnostics").textContent!)).toEqual([
+ expect.objectContaining({ path: "/workspace/.roo/skills/seeded-skill/SKILL.md" }),
+ ])
+ })
+
+ it("defaults skills and skillDiagnostics to empty arrays when initialState omits them", () => {
+ render(
+
+
+ ,
+ )
+
+ expect(JSON.parse(screen.getByTestId("skills").textContent!)).toEqual([])
+ expect(JSON.parse(screen.getByTestId("skill-diagnostics").textContent!)).toEqual([])
+ })
+
it("updates showRooIgnoredFiles through setShowRooIgnoredFiles", () => {
render(
diff --git a/webview-ui/src/i18n/__tests__/write-delay-labels.spec.ts b/webview-ui/src/i18n/__tests__/write-delay-labels.spec.ts
new file mode 100644
index 0000000000..569dd2e563
--- /dev/null
+++ b/webview-ui/src/i18n/__tests__/write-delay-labels.spec.ts
@@ -0,0 +1,21 @@
+import en from "../locales/en/settings.json"
+import zhCn from "../locales/zh-CN/settings.json"
+import zhTw from "../locales/zh-TW/settings.json"
+
+const delayLabel = (bundle: { autoApprove: { write: { delayLabel: string } } }): string =>
+ bundle.autoApprove.write.delayLabel
+
+describe("autoApprove.write.delayLabel locales", () => {
+ it("describes a delay AFTER the write, not an inspection window before it", () => {
+ // The setting delays the write-completion path so diagnostics can run after the file is
+ // on disk. A label that promises a window before approval describes behaviour the code
+ // does not have, which is what the zh-CN bundle used to say.
+ expect(delayLabel(en)).toContain("after writes")
+ expect(delayLabel(zhTw)).toContain("寫入後")
+ expect(delayLabel(zhCn)).toContain("写入后")
+ })
+
+ it("keeps the stale pre-write phrasing out of the zh-CN bundle", () => {
+ expect(delayLabel(zhCn)).not.toContain("再自动批准写入")
+ })
+})
diff --git a/webview-ui/src/i18n/locales/ca/settings.json b/webview-ui/src/i18n/locales/ca/settings.json
index 551782a3fd..d0a997002b 100644
--- a/webview-ui/src/i18n/locales/ca/settings.json
+++ b/webview-ui/src/i18n/locales/ca/settings.json
@@ -6,7 +6,8 @@
"cancel": "Cancel·lar",
"select": "Seleccionar",
"add": "Afegir capçalera",
- "remove": "Eliminar"
+ "remove": "Eliminar",
+ "reset": "Restablir"
},
"search": {
"placeholder": "Cercar configuració...",
@@ -249,7 +250,9 @@
"bedrockRegionRequired": "Es requereix la regió d'AWS",
"ollamaBaseUrlRequired": "Cal una URL base d'Ollama",
"baseUrlRequired": "Cal una URL base",
- "openRouterApiKeyRequired": "Clau API d'OpenRouter és requerida"
+ "openRouterApiKeyRequired": "Clau API d'OpenRouter és requerida",
+ "bedrockProfileRequired": "Es requereix el perfil d'AWS",
+ "modelDimensionMinValue": "La dimensió del model ha de ser superior a 0"
},
"optional": "opcional",
"advancedConfigLabel": "Configuració avançada",
@@ -263,7 +266,21 @@
"workspaceToggleLabel": "Activar la indexació per a aquest espai de treball",
"workspaceDisabledMessage": "La indexació està configurada però no habilitada per a aquest espai de treball.",
"autoEnableDefaultLabel": "Habilitar automàticament la indexació per a nous espais de treball",
- "sembleProvider": "Semble - Local"
+ "sembleProvider": "Semble - Local",
+ "providerLabel": "Proveïdor d'embeddings",
+ "selectProviderPlaceholder": "Seleccionar proveïdor",
+ "openAiCompatibleModelDimensionLabel": "Dimensió d'Embedding:",
+ "openAiCompatibleModelDimensionPlaceholder": "p. ex., 1536",
+ "openAiCompatibleModelDimensionDescription": "La dimensió d'embedding (mida de sortida) per al teu model. Consulta la documentació del teu proveïdor per a aquest valor. Valors comuns: 384, 768, 1536, 3072.",
+ "selectModelPlaceholder": "Seleccionar model",
+ "ollamaUrlLabel": "URL d'Ollama:",
+ "qdrantKeyLabel": "Clau de Qdrant:",
+ "unsavedSettingsMessage": "Si us plau, deseu la configuració abans d'iniciar el procés d'indexació.",
+ "settingsTitle": "Configuració d'indexació",
+ "disabledMessage": "La indexació de la base de codi està actualment deshabilitada. Habiliteu-la a la configuració global per configurar les opcions d'indexació.",
+ "saveSuccess": "Configuració desada correctament",
+ "close": "Tancar",
+ "searchMinScoreResetTooltip": "Restablir al valor per defecte (0.4)"
},
"autoApprove": {
"toggleShortcut": "Pots configurar una drecera global per a aquesta configuració a les preferències del teu IDE .",
@@ -288,7 +305,8 @@
"protected": {
"label": "Incloure fitxers protegits",
"description": "Permetre a Zoo crear i editar fitxers protegits (com .rooignore i fitxers de configuració .roo/) sense requerir aprovació."
- }
+ },
+ "delayLabel": "Retard després d'escriptura per permetre que els diagnòstics detectin possibles problemes"
},
"allowlists": {
"label": "Llistes de permisos",
@@ -338,7 +356,8 @@
"deniedCommandsDescription": "Prefixos de comandes que es rebutjaran automàticament sense requerir aprovació. En cas de conflicte amb comandes permeses, la coincidència de prefix més llarga té prioritat. Afegeix * per denegar totes les comandes.",
"commandPlaceholder": "Introduïu prefix de comanda (ex. 'git ')",
"deniedCommandPlaceholder": "Introduïu prefix de comanda a denegar (ex. 'rm -rf')",
- "addButton": "Afegir"
+ "addButton": "Afegir",
+ "autoDenied": "Les comandes amb el prefix `{{prefix}}` han estat prohibides per l'usuari. No eludeixis aquesta restricció executant una altra comanda."
},
"apiRequestLimit": {
"title": "Màximes Sol·licituds",
@@ -350,7 +369,9 @@
},
"maxLimits": {
"description": "Fes sol·licituds automàticament fins a aquests límits abans de demanar aprovació per continuar."
- }
+ },
+ "disabledAriaLabel": "Aprovació automàtica desactivada: seleccioneu primer les opcions",
+ "selectOptionsFirst": "Seleccioneu almenys una opció a continuació per activar l'aprovació automàtica"
},
"providers": {
"configProfile": "Perfil de configuració",
@@ -461,7 +482,8 @@
"label": "Actualitzar models",
"loading": "Actualitzant la llista de models...",
"success": "Llista de models actualitzada correctament!",
- "error": "No s'ha pogut actualitzar la llista de models. Si us plau, torneu-ho a provar."
+ "error": "No s'ha pogut actualitzar la llista de models. Si us plau, torneu-ho a provar.",
+ "hint": "Si us plau, torneu a obrir la configuració per veure els models més recents."
},
"getRequestyApiKey": "Obtenir clau API de Requesty",
"getRequestyBaseUrl": "URL base",
@@ -590,7 +612,10 @@
"speculativeDecoding": "Habilitar descodificació especulativa",
"draftModelId": "ID del model d'esborrany",
"draftModelDesc": "El model d'esborrany ha de ser de la mateixa família de models perquè la descodificació especulativa funcioni correctament.",
- "description": "LM Studio permet executar models localment al vostre ordinador. Per a instruccions sobre com començar, consulteu la seva Guia d'inici ràpid . També necessitareu iniciar la funció de Servidor Local de LM Studio per utilitzar-la amb aquesta extensió. Nota: Zoo Code utilitza prompts complexos i funciona millor amb models Claude. Els models menys capaços poden no funcionar com s'espera."
+ "description": "LM Studio permet executar models localment al vostre ordinador. Per a instruccions sobre com començar, consulteu la seva Guia d'inici ràpid . També necessitareu iniciar la funció de Servidor Local de LM Studio per utilitzar-la amb aquesta extensió. Nota: Zoo Code utilitza prompts complexos i funciona millor amb models Claude. Els models menys capaços poden no funcionar com s'espera.",
+ "modelId": "ID del model",
+ "selectDraftModel": "Seleccionar model d'esborrany",
+ "noModelsFound": "No s'han trobat models d'esborrany. Assegureu-vos que LM Studio s'està executant amb el mode servidor habilitat."
},
"ollama": {
"baseUrl": "URL base (opcional)",
@@ -601,7 +626,8 @@
"thinking": "Activa el raonament",
"thinkingHelp": "Activa el raonament natiu d'Ollama per a models de raonament (p. ex. qwen3, deepseek-r1). Quan està activat, el raonament del model es transmet i es mostra per separat. Els models no compatibles ignoraran aquesta configuració.",
"description": "Ollama permet executar models localment al vostre ordinador. Per a instruccions sobre com començar, consulteu la Guia d'inici ràpid.",
- "warning": "Nota: Zoo Code utilitza prompts complexos i funciona millor amb models Claude. Els models menys capaços poden no funcionar com s'espera."
+ "warning": "Nota: Zoo Code utilitza prompts complexos i funciona millor amb models Claude. Els models menys capaços poden no funcionar com s'espera.",
+ "modelId": "ID del model"
},
"openRouter": {
"providerRouting": {
@@ -646,7 +672,11 @@
"description": "Cost per milió de tokens per escriure a la caché. Aquest és el preu cobrat quan s'emmagatzema un prompt per primera vegada."
}
},
- "resetDefaults": "Restablir als valors per defecte"
+ "resetDefaults": "Restablir als valors per defecte",
+ "computerUse": {
+ "label": "Ús de l'ordinador",
+ "description": "Aquest model és capaç d'interactuar amb un navegador?"
+ }
},
"rateLimitSeconds": {
"label": "Límit de freqüència",
@@ -686,6 +716,19 @@
"signInDescription": "Inicia sessió per utilitzar Zoo Gateway amb el teu compte",
"authenticated": "Autenticat",
"authenticatedAs": "Autenticat com a {{name}}"
+ },
+ "providerDocumentation": "Documentació de {{provider}}",
+ "model": "Model",
+ "useHostHeader": "Utilitzar capçalera Host personalitzada",
+ "awsServiceTierStandardDesc": "Rendiment i cost equilibrats",
+ "awsServiceTierFlexDesc": "Cost menor, latència més alta per a tasques no crítiques",
+ "awsServiceTierPriorityDesc": "Rendiment més ràpid per a aplicacions crítiques",
+ "claudeCode": {
+ "pathLabel": "Ruta del Codi Claude",
+ "description": "Ruta opcional al teu CLI de Claude Code. Per defecte, 'claude' si no s'estableix.",
+ "placeholder": "Per defecte: claude",
+ "maxTokensLabel": "Tokens màxims de sortida",
+ "maxTokensDescription": "Nombre màxim de tokens de sortida per a les respostes de Claude Code. El valor per defecte és 8000."
}
},
"checkpoints": {
@@ -713,7 +756,8 @@
"contextManagement": {
"description": "Controleu quina informació s'inclou a la finestra de context de la IA, afectant l'ús de token i la qualitat de resposta",
"autoCondenseContext": {
- "name": "Activar automàticament la condensació intel·ligent de context"
+ "name": "Activar automàticament la condensació intel·ligent de context",
+ "description": "Quan està activat, Zoo condensarà automàticament el context quan s'assoleixi el llindar. Quan està desactivat, encara pots activar manualment la condensació de context."
},
"openTabs": {
"label": "Límit de context de pestanyes obertes",
@@ -755,7 +799,8 @@
"defaultProfile": "Per defecte global (tots els perfils)",
"defaultDescription": "Quan el context arribi a aquest percentatge, es condensarà automàticament per a tots els perfils tret que tinguin configuracions personalitzades",
"profileDescription": "Llindar personalitzat només per a aquest perfil (substitueix el per defecte global)",
- "usesGlobal": "(utilitza global {{threshold}}%)"
+ "usesGlobal": "(utilitza global {{threshold}}%)",
+ "inheritDescription": "Aquest perfil hereta el llindar per defecte global ({{threshold}}%)"
},
"maxImageFileSize": {
"label": "Mida màxima d'arxiu d'imatge",
@@ -782,6 +827,32 @@
"enableSubfolderRules": {
"label": "Activa les regles dels subdirectoris",
"description": "Descobreix i carrega recursivament fitxers .roo/rules i AGENTS.md des de subdirectoris. Útil per a monorepos amb regles per paquet."
+ },
+ "autoCondenseContextPercent": {
+ "label": "Llindar per activar la condensació intel·ligent de context",
+ "description": "Quan la finestra de context assoleix aquest llindar, Zoo la condensarà automàticament."
+ },
+ "condensingApiConfiguration": {
+ "label": "Configuració d'API per a la condensació de context",
+ "description": "Seleccioneu quina configuració d'API utilitzar per a les operacions de condensació de context. Deixeu-ho sense seleccionar per utilitzar la configuració activa actual.",
+ "useCurrentConfig": "Per defecte"
+ },
+ "customCondensingPrompt": {
+ "label": "Indicació personalitzada de condensació de context",
+ "description": "Personalitzeu la indicació del sistema utilitzada per a la condensació de context. Deixeu-ho buit per utilitzar la indicació per defecte.",
+ "placeholder": "Introduïu aquí la vostra indicació de condensació personalitzada...\n\nPodeu utilitzar la mateixa estructura que la indicació per defecte:\n- Conversa anterior\n- Treball actual\n- Conceptes tècnics clau\n- Fitxers i codi rellevants\n- Resolució de problemes\n- Tasques pendents i següents passos",
+ "reset": "Restablir als valors per defecte",
+ "hint": "Buit = utilitzar indicació per defecte"
+ },
+ "maxReadFile": {
+ "label": "Llindar d'auto-truncament de lectura de fitxers",
+ "description": "Zoo llegeix aquest nombre de línies quan el model omet els valors d'inici/final. Si aquest nombre és menor que el total del fitxer, Zoo genera un índex de números de línia de les definicions de codi. Casos especials: -1 indica a Zoo que llegeixi tot el fitxer (sense indexació), i 0 indica que no llegeixi cap línia i proporcioni només índexs de línia per a un context mínim. Valors més baixos minimitzen l'ús inicial de context, permetent lectures posteriors de rangs de línies precisos. Les sol·licituds amb inici/final explícits no estan limitades per aquesta configuració.",
+ "lines": "línies",
+ "always_full_read": "Llegeix sempre el fitxer sencer"
+ },
+ "maxConcurrentFileReads": {
+ "label": "Límit de lectures simultànies",
+ "description": "Nombre màxim de fitxers que l'eina 'read_file' pot processar simultàniament. Els valors més alts poden accelerar la lectura de múltiples fitxers petits però augmenten l'ús de memòria."
}
},
"terminal": {
@@ -790,7 +861,8 @@
"description": "Mostra replegada la sortida de les ordres, inclosa la del terminal en línia. Podeu desplegar-la manualment. Això no canvia com s’executen les ordres."
},
"basic": {
- "label": "Configuració del terminal: Bàsica"
+ "label": "Configuració del terminal: Bàsica",
+ "description": "Configuració bàsica del terminal"
},
"advanced": {
"label": "Configuració del terminal: Avançat",
@@ -847,6 +919,14 @@
"description": "Per defecte, Zoo Code utilitza la shell que VS Code té configurada. Seleccioneu un perfil de la llista per triar un perfil de shell amb ruta explícita exposat per VS Code. Els perfils de només font (p. ex., l'entrada integrada de PowerShell) no es poden llistar aquí. <0>Més informació0>",
"configureButton": "Trieu el perfil predeterminat a VS Code",
"noProfiles": "(no s'han trobat perfils amb ruta a terminal.integrated.profiles)"
+ },
+ "outputLineLimit": {
+ "label": "Límit de sortida del terminal",
+ "description": "Conserva les primeres i últimes línies i descarta les del mig per mantenir-se sota el límit. Redueix per estalviar tokens; augmenta per donar a Zoo més detalls del mig. Zoo veu un marcador on s'ha omès el contingut.<0>Aprèn-ne més0>"
+ },
+ "outputCharacterLimit": {
+ "label": "Límit de caràcters del terminal",
+ "description": "Anul·la el límit de línies per evitar problemes de memòria imposant un límit dur a la mida de sortida. Si se supera, manté l'inici i el final i mostra un marcador a Zoo on s'ha omès el contingut. <0>Aprèn-ne més0>"
}
},
"advancedSettings": {
@@ -856,6 +936,23 @@
"todoList": {
"label": "Habilitar eina de llista de tasques",
"description": "Quan està habilitat, Zoo pot crear i gestionar llistes de tasques per fer el seguiment del progrés de les tasques. Això ajuda a organitzar tasques complexes en passos manejables."
+ },
+ "diff": {
+ "label": "Habilitar edició mitjançant diffs",
+ "description": "Quan està habilitat, Zoo podrà editar fitxers més ràpidament i rebutjarà automàticament escriptures completes de fitxers truncats",
+ "strategy": {
+ "label": "Estratègia de diff",
+ "options": {
+ "standard": "Estàndard (Bloc únic)",
+ "multiBlock": "Experimental: Diff multi-bloc",
+ "unified": "Experimental: Diff unificat"
+ },
+ "descriptions": {
+ "standard": "L'estratègia de diff estàndard aplica canvis a un sol bloc de codi alhora.",
+ "unified": "L'estratègia de diff unificat pren múltiples enfocaments per aplicar diffs i tria el millor enfocament.",
+ "multiBlock": "L'estratègia de diff multi-bloc permet actualitzar múltiples blocs de codi en un fitxer en una sola sol·licitud."
+ }
+ }
}
},
"experimental": {
@@ -995,7 +1092,8 @@
"reservedKeys": "El cos addicional no pot sobreescriure els camps gestionats per Zoo Code: {{keys}}."
},
"arn": {
- "regionMismatch": "Avís: La regió del vostre ARN ({{arnRegion}}) no coincideix amb la regió seleccionada ({{region}}). Això pot causar problemes d'accés. El proveïdor utilitzarà la regió de l'ARN."
+ "regionMismatch": "Avís: La regió del vostre ARN ({{arnRegion}}) no coincideix amb la regió seleccionada ({{region}}). Això pot causar problemes d'accés. El proveïdor utilitzarà la regió de l'ARN.",
+ "invalidFormat": "Format ARN no vàlid. Si us plau, comproveu els requisits del format."
},
"modelAvailability": "L'ID de model ({{modelId}}) que heu proporcionat no està disponible. Si us plau, trieu un altre model.",
"modelDeprecated": "Aquest model ja no està disponible. Si us plau, seleccioneu un model diferent.",
@@ -1022,6 +1120,11 @@
"inputPrice": "p. ex. 0.0001",
"outputPrice": "p. ex. 0.0002",
"cacheWritePrice": "p. ex. 0.00005"
+ },
+ "modelId": {
+ "lmStudio": "p. ex. meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "p. ex. lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "p. ex. llama3.1"
}
},
"defaults": {
@@ -1051,7 +1154,9 @@
"input": "Entrada",
"output": "Sortida",
"cacheReads": "Lectures de memòria cau"
- }
+ },
+ "label": "Nivell de servei",
+ "tooltip": "Per a un processament més ràpid de les sol·licituds de l'API, proveu el nivell de servei de processament prioritari. Per a preus més baixos amb una latència més alta, proveu el nivell de processament flexible."
},
"ui": {
"collapseThinking": {
@@ -1101,7 +1206,8 @@
"intro": "Per mantenir el teu context lleuger, et recomanem que només facis disponibles skills per als modes que les necessiten.",
"anyMode": "Qualsevol mode (disponible a tot arreu)",
"save": "Desar",
- "cancel": "Cancel·lar"
+ "cancel": "Cancel·lar",
+ "description": "Tria quins modes poden usar aquesta skill"
},
"createDialog": {
"title": "Crear Nova Skill",
@@ -1111,7 +1217,11 @@
"sourceLabel": "Ubicació",
"modeLabel": "Mode (opcional)",
"create": "Crear",
- "cancel": "Cancel·lar"
+ "cancel": "Cancel·lar",
+ "descriptionLabel": "Descripció",
+ "modePlaceholder": "Qualsevol mode",
+ "modeHint": "Restringeix aquesta skill a un mode específic",
+ "modeAny": "Qualsevol mode"
},
"source": {
"global": "Global (disponible en tots els projectes)",
@@ -1124,7 +1234,13 @@
"descriptionRequired": "La descripció és obligatòria",
"descriptionTooLong": "La descripció ha de tenir com a màxim 1024 caràcters"
},
- "footer": "Crea les teves pròpies skills amb el mode Skill Writer, disponible al Modes Marketplace ."
+ "footer": "Crea les teves pròpies skills amb el mode Skill Writer, disponible al Modes Marketplace .",
+ "modeAny": "Qualsevol mode",
+ "modeCount": "{{count}} modes",
+ "diagnostics": {
+ "title": "No s'han pogut carregar algunes skills",
+ "description": "Corrigeu el frontmatter YAML dels fitxers SKILL.md esmentats i, a continuació, torneu a obrir o actualitzar aquesta pàgina."
+ }
},
"language": {
"description": "Idioma i visualització de data i hora.",
@@ -1161,5 +1277,12 @@
"relative": "fa 5 min",
"hover": "(en passar el cursor: {{value}})"
}
- }
+ },
+ "promptCaching": {
+ "label": "Desactivar la memòria cau de prompts",
+ "description": "Quan està marcat, Zoo no utilitzarà la memòria cau de prompts per a aquest model."
+ },
+ "limitMaxTokensDescription": "Limitar el nombre màxim de tokens en la resposta",
+ "maxOutputTokensLabel": "Tokens màxims de sortida",
+ "maxTokensGenerateDescription": "Tokens màxims a generar en la resposta"
}
diff --git a/webview-ui/src/i18n/locales/de/settings.json b/webview-ui/src/i18n/locales/de/settings.json
index 4d320d4968..7a2dfd46bd 100644
--- a/webview-ui/src/i18n/locales/de/settings.json
+++ b/webview-ui/src/i18n/locales/de/settings.json
@@ -6,7 +6,8 @@
"cancel": "Abbrechen",
"select": "Auswählen",
"add": "Header hinzufügen",
- "remove": "Entfernen"
+ "remove": "Entfernen",
+ "reset": "Zurücksetzen"
},
"search": {
"placeholder": "Einstellungen durchsuchen...",
@@ -248,7 +249,9 @@
"bedrockRegionRequired": "AWS-Region erforderlich",
"ollamaBaseUrlRequired": "Ollama-Basis-URL ist erforderlich",
"baseUrlRequired": "Basis-URL ist erforderlich",
- "openRouterApiKeyRequired": "OpenRouter API-Schlüssel ist erforderlich"
+ "openRouterApiKeyRequired": "OpenRouter API-Schlüssel ist erforderlich",
+ "bedrockProfileRequired": "AWS-Profil erforderlich",
+ "modelDimensionMinValue": "Modellabmessung muss größer als 0 sein"
},
"optional": "optional",
"advancedConfigLabel": "Erweiterte Konfiguration",
@@ -262,7 +265,21 @@
"workspaceToggleLabel": "Indexierung für diesen Arbeitsbereich aktivieren",
"workspaceDisabledMessage": "Indexierung ist konfiguriert, aber nicht für diesen Arbeitsbereich aktiviert.",
"autoEnableDefaultLabel": "Indexierung für neue Arbeitsbereiche automatisch aktivieren",
- "sembleProvider": "Semble - Lokal"
+ "sembleProvider": "Semble - Lokal",
+ "settingsTitle": "Indexierungseinstellungen",
+ "disabledMessage": "Codebase-Indexierung ist derzeit deaktiviert. Aktiviere sie in den globalen Einstellungen, um Indexierungsoptionen zu konfigurieren.",
+ "providerLabel": "Embeddings-Anbieter",
+ "selectProviderPlaceholder": "Anbieter auswählen",
+ "openAiCompatibleModelDimensionLabel": "Embedding-Dimension:",
+ "openAiCompatibleModelDimensionPlaceholder": "z.B. 1536",
+ "openAiCompatibleModelDimensionDescription": "Die Embedding-Dimension (Ausgabegröße) für Ihr Modell. Überprüfen Sie die Dokumentation Ihres Anbieters für diesen Wert. Übliche Werte: 384, 768, 1536, 3072.",
+ "selectModelPlaceholder": "Modell auswählen",
+ "ollamaUrlLabel": "Ollama-URL:",
+ "qdrantKeyLabel": "Qdrant-Schlüssel:",
+ "unsavedSettingsMessage": "Bitte speichere deine Einstellungen, bevor du den Indexierungsprozess startest.",
+ "saveSuccess": "Einstellungen erfolgreich gespeichert",
+ "close": "Schließen",
+ "searchMinScoreResetTooltip": "Auf Standardwert zurücksetzen (0.4)"
},
"autoApprove": {
"toggleShortcut": "Du kannst in deinen IDE-Einstellungen einen globalen Shortcut für diese Einstellung konfigurieren.",
@@ -287,7 +304,8 @@
"protected": {
"label": "Geschützte Dateien einbeziehen",
"description": "Zoo erlauben, geschützte Dateien (wie .rooignore und .roo/ Konfigurationsdateien) ohne Genehmigung zu erstellen und zu bearbeiten."
- }
+ },
+ "delayLabel": "Verzögerung nach Schreibvorgängen, damit Diagnosefunktionen potenzielle Probleme erkennen können"
},
"allowlists": {
"label": "Zulassungslisten",
@@ -337,7 +355,8 @@
"deniedCommandsDescription": "Befehlspräfixe, die automatisch verweigert werden, ohne nach Genehmigung zu fragen. Bei Konflikten mit erlaubten Befehlen hat die längste Präfix-Übereinstimmung Vorrang. Fügen Sie * hinzu, um alle Befehle zu verweigern.",
"commandPlaceholder": "Befehlspräfix eingeben (z.B. 'git ')",
"deniedCommandPlaceholder": "Befehlspräfix zum Verweigern eingeben (z.B. 'rm -rf')",
- "addButton": "Hinzufügen"
+ "addButton": "Hinzufügen",
+ "autoDenied": "Befehle mit dem Präfix `{{prefix}}` wurden vom Benutzer verboten. Umgehe diese Beschränkung nicht durch das Ausführen eines anderen Befehls."
},
"apiRequestLimit": {
"title": "Maximale Anfragen",
@@ -349,7 +368,9 @@
},
"maxLimits": {
"description": "Anfragen bis zu diesen Grenzwerten automatisch stellen, bevor um Genehmigung zur Fortsetzung gebeten wird."
- }
+ },
+ "disabledAriaLabel": "Automatische Genehmigung deaktiviert - zuerst Optionen auswählen",
+ "selectOptionsFirst": "Wähle mindestens eine Option unten aus, um die automatische Genehmigung zu aktivieren"
},
"providers": {
"configProfile": "Konfigurationsprofil",
@@ -460,7 +481,8 @@
"label": "Modelle aktualisieren",
"loading": "Modellliste wird aktualisiert...",
"success": "Modellliste erfolgreich aktualisiert!",
- "error": "Fehler beim Aktualisieren der Modellliste. Bitte versuche es erneut."
+ "error": "Fehler beim Aktualisieren der Modellliste. Bitte versuche es erneut.",
+ "hint": "Bitte öffne die Einstellungen erneut, um die neuesten Modelle zu sehen."
},
"getRequestyApiKey": "Requesty API-Schlüssel erhalten",
"getRequestyBaseUrl": "Basis-URL",
@@ -589,7 +611,10 @@
"speculativeDecoding": "Spekulatives Dekodieren aktivieren",
"draftModelId": "Entwurfsmodell-ID",
"draftModelDesc": "Das Entwurfsmodell muss aus derselben Modellfamilie stammen, damit das spekulative Dekodieren korrekt funktioniert.",
- "description": "LM Studio ermöglicht es dir, Modelle lokal auf deinem Computer auszuführen. Eine Anleitung zum Einstieg findest du in ihrem Schnellstart-Guide . Du musst auch die lokale Server -Funktion von LM Studio starten, um es mit dieser Erweiterung zu verwenden. Hinweis: Zoo Code verwendet komplexe Prompts und funktioniert am besten mit Claude-Modellen. Weniger leistungsfähige Modelle funktionieren möglicherweise nicht wie erwartet."
+ "description": "LM Studio ermöglicht es dir, Modelle lokal auf deinem Computer auszuführen. Eine Anleitung zum Einstieg findest du in ihrem Schnellstart-Guide . Du musst auch die lokale Server -Funktion von LM Studio starten, um es mit dieser Erweiterung zu verwenden. Hinweis: Zoo Code verwendet komplexe Prompts und funktioniert am besten mit Claude-Modellen. Weniger leistungsfähige Modelle funktionieren möglicherweise nicht wie erwartet.",
+ "modelId": "Modell-ID",
+ "selectDraftModel": "Entwurfsmodell auswählen",
+ "noModelsFound": "Keine Entwurfsmodelle gefunden. Bitte stelle sicher, dass LM Studio mit aktiviertem Servermodus läuft."
},
"ollama": {
"baseUrl": "Basis-URL (optional)",
@@ -600,7 +625,8 @@
"thinking": "Denken aktivieren",
"thinkingHelp": "Aktiviere das native Denken von Ollama für Reasoning-Modelle (z. B. qwen3, deepseek-r1). Wenn aktiviert, wird das Reasoning des Modells separat gestreamt und angezeigt. Nicht unterstützte Modelle ignorieren diese Einstellung.",
"description": "Ollama ermöglicht es dir, Modelle lokal auf deinem Computer auszuführen. Eine Anleitung zum Einstieg findest du im Schnellstart-Guide.",
- "warning": "Hinweis: Zoo Code verwendet komplexe Prompts und funktioniert am besten mit Claude-Modellen. Weniger leistungsfähige Modelle funktionieren möglicherweise nicht wie erwartet."
+ "warning": "Hinweis: Zoo Code verwendet komplexe Prompts und funktioniert am besten mit Claude-Modellen. Weniger leistungsfähige Modelle funktionieren möglicherweise nicht wie erwartet.",
+ "modelId": "Modell-ID"
},
"openRouter": {
"providerRouting": {
@@ -645,7 +671,11 @@
"description": "Kosten pro Million Tokens für das Schreiben in den Cache. Dies ist der Preis, der beim ersten Cachen eines Prompts berechnet wird."
}
},
- "resetDefaults": "Auf Standardwerte zurücksetzen"
+ "resetDefaults": "Auf Standardwerte zurücksetzen",
+ "computerUse": {
+ "label": "Computer-Nutzung",
+ "description": "Ist dieses Modell in der Lage, mit einem Browser zu interagieren?"
+ }
},
"rateLimitSeconds": {
"label": "Ratenbegrenzung",
@@ -685,6 +715,19 @@
"signInDescription": "Melde dich an, um Zoo Gateway mit deinem Konto zu nutzen",
"authenticated": "Authentifiziert",
"authenticatedAs": "Authentifiziert als {{name}}"
+ },
+ "providerDocumentation": "{{provider}}-Dokumentation",
+ "model": "Modell",
+ "useHostHeader": "Benutzerdefinierten Host-Header verwenden",
+ "awsServiceTierStandardDesc": "Ausgewogene Leistung und Kosten",
+ "awsServiceTierFlexDesc": "Niedrigere Kosten, höhere Latenz für unkritische Aufgaben",
+ "awsServiceTierPriorityDesc": "Schnellste Leistung für geschäftskritische Anwendungen",
+ "claudeCode": {
+ "pathLabel": "Claude-Code-Pfad",
+ "description": "Optionaler Pfad zu Ihrer Claude Code CLI. Standard ist 'claude', wenn nicht festgelegt.",
+ "placeholder": "Standard: claude",
+ "maxTokensLabel": "Maximale Ausgabe-Tokens",
+ "maxTokensDescription": "Maximale Anzahl an Ausgabe-Tokens für Claude Code-Antworten. Standard ist 8000."
}
},
"checkpoints": {
@@ -712,7 +755,8 @@
"contextManagement": {
"description": "Steuern Sie, welche Informationen im KI-Kontextfenster enthalten sind, was den Token-Verbrauch und die Antwortqualität beeinflusst",
"autoCondenseContext": {
- "name": "Intelligente Kontextkomprimierung automatisch auslösen"
+ "name": "Intelligente Kontextkomprimierung automatisch auslösen",
+ "description": "Wenn aktiviert, wird Zoo automatisch den Kontext komprimieren, wenn der Schwellenwert erreicht wird. Wenn deaktiviert, können Sie die Kontextkomprimierung weiterhin manuell auslösen."
},
"openTabs": {
"label": "Geöffnete Tabs Kontextlimit",
@@ -754,7 +798,8 @@
"defaultProfile": "Globaler Standard (alle Profile)",
"defaultDescription": "Wenn der Kontext diesen Prozentsatz erreicht, wird er automatisch für alle Profile komprimiert, es sei denn, sie haben benutzerdefinierte Einstellungen",
"profileDescription": "Benutzerdefinierter Schwellenwert nur für dieses Profil (überschreibt globalen Standard)",
- "usesGlobal": "(verwendet global {{threshold}}%)"
+ "usesGlobal": "(verwendet global {{threshold}}%)",
+ "inheritDescription": "Dieses Profil erbt den globalen Standard-Schwellenwert ({{threshold}}%)"
},
"maxImageFileSize": {
"label": "Maximale Bilddateigröße",
@@ -781,6 +826,32 @@
"enableSubfolderRules": {
"label": "Unterordner-Regeln aktivieren",
"description": "Rekursiv .roo/rules und AGENTS.md-Dateien aus Unterverzeichnissen laden. Nützlich für Monorepos mit paketspezifischen Regeln."
+ },
+ "autoCondenseContextPercent": {
+ "label": "Schwellenwert für intelligente Kontextkomprimierung",
+ "description": "Wenn das Kontextfenster diesen Schwellenwert erreicht, wird Zoo es automatisch komprimieren."
+ },
+ "condensingApiConfiguration": {
+ "label": "API-Konfiguration für Kontextkomprimierung",
+ "description": "Wählen Sie, welche API-Konfiguration für Kontextkomprimierungsoperationen verwendet werden soll. Lassen Sie unausgewählt, um die aktuelle aktive Konfiguration zu verwenden.",
+ "useCurrentConfig": "Aktuelle Konfiguration verwenden"
+ },
+ "customCondensingPrompt": {
+ "label": "Benutzerdefinierter Kontextkomprimierungs-Prompt",
+ "description": "Passen Sie den System-Prompt an, der für die Kontextkomprimierung verwendet wird. Lassen Sie leer, um den Standard-Prompt zu verwenden.",
+ "placeholder": "Geben Sie hier Ihren benutzerdefinierten Komprimierungs-Prompt ein...\n\nSie können die gleiche Struktur wie der Standard-Prompt verwenden:\n- Vorherige Konversation\n- Aktuelle Arbeit\n- Wichtige technische Konzepte\n- Relevante Dateien und Code\n- Problemlösung\n- Ausstehende Aufgaben und nächste Schritte",
+ "reset": "Auf Standard zurücksetzen",
+ "hint": "Leer = Standard-Prompt verwenden"
+ },
+ "maxConcurrentFileReads": {
+ "label": "Gleichzeitige Dateilesungen Limit",
+ "description": "Maximale Anzahl von Dateien, die das 'read_file'-Tool gleichzeitig verarbeiten kann. Höhere Werte können das Lesen mehrerer kleiner Dateien beschleunigen, erhöhen aber den Speicherverbrauch."
+ },
+ "maxReadFile": {
+ "label": "Schwellenwert für automatische Dateilesekürzung",
+ "description": "Zoo liest diese Anzahl von Zeilen, wenn das Modell keine Start-/Endwerte angibt. Wenn diese Zahl kleiner als die Gesamtzahl der Zeilen ist, erstellt Zoo einen Zeilennummernindex der Codedefinitionen. Spezialfälle: -1 weist Zoo an, die gesamte Datei zu lesen (ohne Indexierung), und 0 weist an, keine Zeilen zu lesen und nur Zeilenindizes für minimalen Kontext bereitzustellen. Niedrigere Werte minimieren die anfängliche Kontextnutzung und ermöglichen präzise nachfolgende Zeilenbereich-Lesungen. Explizite Start-/End-Anfragen sind von dieser Einstellung nicht begrenzt.",
+ "lines": "Zeilen",
+ "always_full_read": "Immer die gesamte Datei lesen"
}
},
"terminal": {
@@ -789,7 +860,8 @@
"description": "Befehlsausgaben werden zunächst eingeklappt, auch im Inline-Terminal. Bei Bedarf manuell aufklappen. Die Befehlsausführung bleibt unverändert."
},
"basic": {
- "label": "Terminal-Einstellungen: Grundlegend"
+ "label": "Terminal-Einstellungen: Grundlegend",
+ "description": "Grundlegende Terminal-Einstellungen"
},
"advanced": {
"label": "Terminal-Einstellungen: Erweitert",
@@ -846,6 +918,14 @@
"description": "Standardmäßig verwendet Zoo Code die in VS Code konfigurierte Shell. Wähle ein Shell-Profil aus der Liste, um ein pfadbasiertes Shell-Profil zu verwenden, das VS Code bereitstellt. Quellenbasierte Profile (z. B. der integrierte PowerShell-Eintrag) können hier nicht aufgelistet werden. <0>Mehr erfahren0>",
"configureButton": "Standardprofil in VS Code auswählen",
"noProfiles": "(keine pfadbasierten Profile in terminal.integrated.profiles gefunden)"
+ },
+ "outputLineLimit": {
+ "label": "Terminal-Ausgabelimit",
+ "description": "Behält erste und letzte Zeilen und verwirft die mittleren, um unter dem Limit zu bleiben. Niedriger für Token-Ersparnis; höher für mehr Details aus der Mitte für Zoo. Zoo sieht einen Platzhalter, wo Inhalt übersprungen wird.<0>Mehr erfahren0>"
+ },
+ "outputCharacterLimit": {
+ "label": "Terminal-Zeichenlimit",
+ "description": "Überschreibt das Zeilenlimit, um Speicherprobleme durch eine harte Obergrenze für die Ausgabegröße zu vermeiden. Bei Überschreitung behält es Anfang und Ende und zeigt Zoo einen Platzhalter, wo Inhalt übersprungen wird. <0>Mehr erfahren0>"
}
},
"advancedSettings": {
@@ -855,6 +935,23 @@
"todoList": {
"label": "Todo-Listen-Tool aktivieren",
"description": "Wenn aktiviert, kann Zoo Todo-Listen erstellen und verwalten, um den Aufgabenfortschritt zu verfolgen. Dies hilft, komplexe Aufgaben in überschaubare Schritte zu organisieren."
+ },
+ "diff": {
+ "label": "Bearbeitung durch Diffs aktivieren",
+ "description": "Wenn aktiviert, kann Zoo Dateien schneller bearbeiten und lehnt automatisch abgeschnittene vollständige Dateischreibvorgänge ab",
+ "strategy": {
+ "label": "Diff-Strategie",
+ "options": {
+ "standard": "Standard (Einzelblock)",
+ "multiBlock": "Experimentell: Mehrblock-Diff",
+ "unified": "Experimentell: Einheitliches Diff"
+ },
+ "descriptions": {
+ "standard": "Die Standard-Diff-Strategie wendet Änderungen jeweils auf einen einzelnen Codeblock an.",
+ "unified": "Die einheitliche Diff-Strategie wendet mehrere Ansätze zur Anwendung von Diffs an und wählt den besten Ansatz.",
+ "multiBlock": "Die Mehrblock-Diff-Strategie ermöglicht das Aktualisieren mehrerer Codeblöcke in einer Datei in einer Anfrage."
+ }
+ }
}
},
"experimental": {
@@ -993,7 +1090,8 @@
"reservedKeys": "Der zusätzliche Body kann von Zoo Code verwaltete Felder nicht überschreiben: {{keys}}."
},
"arn": {
- "regionMismatch": "Warnung: Die Region in deiner ARN ({{arnRegion}}) stimmt nicht mit deiner ausgewählten Region ({{region}}) überein. Dies kann zu Zugriffsproblemen führen. Der Anbieter wird die Region aus der ARN verwenden."
+ "regionMismatch": "Warnung: Die Region in deiner ARN ({{arnRegion}}) stimmt nicht mit deiner ausgewählten Region ({{region}}) überein. Dies kann zu Zugriffsproblemen führen. Der Anbieter wird die Region aus der ARN verwenden.",
+ "invalidFormat": "Ungültiges ARN-Format. Bitte überprüfe die Formatanforderungen."
},
"modelAvailability": "Die von dir angegebene Modell-ID ({{modelId}}) ist nicht verfügbar. Bitte wähle ein anderes Modell.",
"modelDeprecated": "Dieses Modell ist nicht mehr verfügbar. Bitte wähle ein anderes Modell.",
@@ -1020,6 +1118,11 @@
"inputPrice": "z.B. 0.0001",
"outputPrice": "z.B. 0.0002",
"cacheWritePrice": "z.B. 0.00005"
+ },
+ "modelId": {
+ "lmStudio": "z.B. meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "z.B. lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "z.B. llama3.1"
}
},
"defaults": {
@@ -1049,7 +1152,9 @@
"input": "Eingabe",
"output": "Ausgabe",
"cacheReads": "Cache-Lesevorgänge"
- }
+ },
+ "label": "Service-Stufe",
+ "tooltip": "Für eine schnellere Verarbeitung von API-Anfragen, probiere die Prioritäts-Verarbeitungsstufe. Für niedrigere Preise bei höherer Latenz, probiere die Flex-Verarbeitungsstufe."
},
"ui": {
"collapseThinking": {
@@ -1099,7 +1204,8 @@
"intro": "Um deinen Kontext leicht zu halten, empfehlen wir, Skills nur für die Modi verfügbar zu machen, die sie benötigen.",
"anyMode": "Beliebiger Modus (überall verfügbar)",
"save": "Speichern",
- "cancel": "Abbrechen"
+ "cancel": "Abbrechen",
+ "description": "Wähle aus, welche Modi diesen Skill nutzen können"
},
"createDialog": {
"title": "Neuen Skill erstellen",
@@ -1109,7 +1215,11 @@
"sourceLabel": "Speicherort",
"modeLabel": "Modus (optional)",
"create": "Erstellen",
- "cancel": "Abbrechen"
+ "cancel": "Abbrechen",
+ "descriptionLabel": "Beschreibung",
+ "modePlaceholder": "Beliebiger Modus",
+ "modeAny": "Beliebiger Modus",
+ "modeHint": "Beschränke diesen Skill auf einen bestimmten Modus"
},
"source": {
"global": "Global (in allen Projekten verfügbar)",
@@ -1122,7 +1232,13 @@
"descriptionRequired": "Beschreibung ist erforderlich",
"descriptionTooLong": "Beschreibung muss 1024 Zeichen oder weniger sein"
},
- "footer": "Erstelle deine eigenen Skills mit dem Skill Writer Modus, verfügbar im Modes Marketplace ."
+ "footer": "Erstelle deine eigenen Skills mit dem Skill Writer Modus, verfügbar im Modes Marketplace .",
+ "modeAny": "Beliebiger Modus",
+ "modeCount": "{{count}} Modi",
+ "diagnostics": {
+ "title": "Einige Skills konnten nicht geladen werden",
+ "description": "Korrigiere das YAML-Frontmatter in den aufgeführten SKILL.md-Dateien und öffne diese Seite anschließend erneut oder aktualisiere sie."
+ }
},
"language": {
"description": "Sprache sowie Datums- und Zeitanzeige.",
@@ -1159,5 +1275,12 @@
"relative": "vor 5 Min.",
"hover": "(Hover: {{value}})"
}
- }
+ },
+ "promptCaching": {
+ "label": "Prompt-Caching deaktivieren",
+ "description": "Wenn aktiviert, wird Zoo für dieses Modell kein Prompt-Caching verwenden."
+ },
+ "limitMaxTokensDescription": "Begrenze die maximale Anzahl von Tokens in der Antwort",
+ "maxOutputTokensLabel": "Maximale Ausgabe-Tokens",
+ "maxTokensGenerateDescription": "Maximale Tokens, die in der Antwort generiert werden"
}
diff --git a/webview-ui/src/i18n/locales/en/settings.json b/webview-ui/src/i18n/locales/en/settings.json
index 4655ed7fbe..745bac4c89 100644
--- a/webview-ui/src/i18n/locales/en/settings.json
+++ b/webview-ui/src/i18n/locales/en/settings.json
@@ -4,6 +4,7 @@
"save": "Save",
"done": "Done",
"cancel": "Cancel",
+ "reset": "Reset",
"select": "Select",
"add": "Add Header",
"remove": "Remove"
@@ -173,6 +174,8 @@
"editSkill": "Edit skill",
"deleteSkill": "Delete skill",
"configureModes": "Mode availability",
+ "modeAny": "Any mode",
+ "modeCount": "{{count}} modes",
"deleteDialog": {
"title": "Delete Skill",
"description": "Are you sure you want to delete the skill \"{{name}}\"? This action cannot be undone.",
@@ -181,6 +184,7 @@
},
"modeDialog": {
"title": "Configure Skill Modes",
+ "description": "Choose which modes can use this skill",
"intro": "To keep your context light, we recommend only making skills available for the modes that need them.",
"anyMode": "Any mode (available everywhere)",
"save": "Save",
@@ -190,9 +194,13 @@
"title": "Create New Skill",
"nameLabel": "Name",
"namePlaceholder": "my-skill-name (Lowercase letters, numbers, and hyphens only)",
+ "descriptionLabel": "Description",
"descriptionPlaceholder": "Describe when this skill should be used and its contents...",
"sourceLabel": "Location",
"modeLabel": "Mode (optional)",
+ "modePlaceholder": "Any mode",
+ "modeAny": "Any mode",
+ "modeHint": "Restrict this skill to a specific mode",
"create": "Create",
"cancel": "Cancel"
},
@@ -207,7 +215,11 @@
"descriptionRequired": "Description is required",
"descriptionTooLong": "Description must be 1024 characters or less"
},
- "footer": "Create your own skills with the Skill Writer mode, available in the Modes Marketplace ."
+ "footer": "Create your own skills with the Skill Writer mode, available in the Modes Marketplace .",
+ "diagnostics": {
+ "title": "Some skills could not be loaded",
+ "description": "Fix the YAML frontmatter in the listed SKILL.md files, then reopen or refresh this page."
+ }
},
"ui": {
"collapseThinking": {
@@ -245,7 +257,11 @@
"statusTitle": "Status",
"enableLabel": "Enable Codebase Indexing",
"enableDescription": "Enable code indexing for improved search and context understanding",
+ "settingsTitle": "Indexing Settings",
+ "disabledMessage": "Codebase indexing is currently disabled. Enable it in the global settings to configure indexing options.",
+ "providerLabel": "Embeddings Provider",
"embedderProviderLabel": "Embedder Provider",
+ "selectProviderPlaceholder": "Select provider",
"openaiProvider": "OpenAI",
"ollamaProvider": "Ollama",
"geminiProvider": "Gemini",
@@ -275,23 +291,31 @@
"openAiCompatibleBaseUrlLabel": "Base URL",
"openAiCompatibleApiKeyLabel": "API Key",
"openAiCompatibleApiKeyPlaceholder": "Enter your API key",
+ "openAiCompatibleModelDimensionLabel": "Embedding Dimension:",
"modelDimensionLabel": "Model Dimension",
+ "openAiCompatibleModelDimensionPlaceholder": "e.g., 1536",
+ "openAiCompatibleModelDimensionDescription": "The embedding dimension (output size) for your model. Check your provider's documentation for this value. Common values: 384, 768, 1536, 3072.",
"modelLabel": "Model",
"modelPlaceholder": "Enter model name",
"selectModel": "Select a model",
+ "selectModelPlaceholder": "Select model",
+ "ollamaUrlLabel": "Ollama URL:",
"ollamaBaseUrlLabel": "Ollama Base URL",
"qdrantUrlLabel": "Qdrant URL",
+ "qdrantKeyLabel": "Qdrant Key:",
"qdrantApiKeyLabel": "Qdrant API Key",
"qdrantApiKeyPlaceholder": "Enter your Qdrant API key (optional)",
"setupConfigLabel": "Setup",
"advancedConfigLabel": "Advanced Configuration",
"searchMinScoreLabel": "Search Score Threshold",
"searchMinScoreDescription": "Minimum similarity score (0.0-1.0) required for search results. Lower values return more results but may be less relevant. Higher values return fewer but more relevant results.",
+ "searchMinScoreResetTooltip": "Reset to default value (0.4)",
"searchMaxResultsLabel": "Maximum Search Results",
"searchMaxResultsDescription": "Maximum number of search results to return when querying the codebase index. Higher values provide more context but may include less relevant results.",
"resetToDefault": "Reset to default",
"startIndexingButton": "Start Indexing",
"clearIndexDataButton": "Clear Index Data",
+ "unsavedSettingsMessage": "Please save your settings before starting the indexing process.",
"clearDataDialog": {
"title": "Are you sure?",
"description": "This action cannot be undone. This will permanently delete your codebase index data.",
@@ -304,6 +328,7 @@
"qdrantUrlPlaceholder": "http://localhost:6333",
"saveError": "Failed to save settings",
"modelDimensions": "({{dimension}} dimensions)",
+ "saveSuccess": "Settings saved successfully",
"saving": "Saving...",
"saveSettings": "Save",
"indexingStatuses": {
@@ -312,6 +337,7 @@
"indexed": "Indexed",
"error": "Error"
},
+ "close": "Close",
"validation": {
"qdrantUrlRequired": "Qdrant URL is required",
"invalidQdrantUrl": "Invalid Qdrant URL",
@@ -326,9 +352,11 @@
"mistralApiKeyRequired": "Mistral API key is required",
"vercelAiGatewayApiKeyRequired": "Vercel AI Gateway API key is required",
"bedrockRegionRequired": "AWS region is required",
+ "bedrockProfileRequired": "AWS profile is required",
"openRouterApiKeyRequired": "OpenRouter API key is required",
"ollamaBaseUrlRequired": "Ollama base URL is required",
- "baseUrlRequired": "Base URL is required"
+ "baseUrlRequired": "Base URL is required",
+ "modelDimensionMinValue": "Model dimension must be greater than 0"
},
"optional": "optional",
"stopIndexingButton": "Stop Indexing",
@@ -352,6 +380,7 @@
"write": {
"label": "Write",
"description": "Automatically create and edit files without requiring approval",
+ "delayLabel": "Delay after writes to allow diagnostics to detect potential problems",
"outsideWorkspace": {
"label": "Include files outside workspace",
"description": "Allow Zoo to create and edit files outside the current workspace without requiring approval."
@@ -409,7 +438,8 @@
"deniedCommandsDescription": "Command prefixes that will be automatically denied without asking for approval. In case of conflicts with allowed commands, the longest prefix match takes precedence. Add * to deny all commands.",
"commandPlaceholder": "Enter command prefix (e.g., 'git ')",
"deniedCommandPlaceholder": "Enter command prefix to deny (e.g., 'rm -rf')",
- "addButton": "Add"
+ "addButton": "Add",
+ "autoDenied": "Commands with the prefix `{{prefix}}` have been forbidden by the user. Do not bypass this restriction by running another command."
},
"apiRequestLimit": {
"title": "Max Count",
@@ -422,13 +452,17 @@
"maxLimits": {
"description": "Automatically make requests up to these limits before asking for approval to continue."
},
- "toggleAriaLabel": "Toggle auto-approval"
+ "toggleAriaLabel": "Toggle auto-approval",
+ "disabledAriaLabel": "Auto-approval disabled - select options first",
+ "selectOptionsFirst": "Select at least one option below to enable auto-approval"
},
"providers": {
+ "providerDocumentation": "{{provider}} documentation",
"configProfile": "Configuration Profile",
"description": "Save different API configurations to quickly switch between providers and settings.",
"apiProvider": "API Provider",
"apiProviderDocs": "Provider Docs",
+ "model": "Model",
"nameEmpty": "Name cannot be empty",
"nameExists": "A profile with this name already exists",
"deleteProfile": "Delete Profile",
@@ -520,6 +554,7 @@
},
"useCustomBaseUrl": "Use custom base URL",
"useReasoning": "Enable reasoning",
+ "useHostHeader": "Use custom Host header",
"customHeaders": "Custom Headers",
"headerName": "Header name",
"headerValue": "Header value",
@@ -531,6 +566,7 @@
"requestyApiKey": "Requesty API Key",
"refreshModels": {
"label": "Refresh Models",
+ "hint": "Please reopen the settings to see the latest models.",
"loading": "Refreshing models list...",
"success": "Models list refreshed successfully!",
"error": "Failed to refresh models list. Please try again."
@@ -623,8 +659,11 @@
"awsGlobalInference": "Use Global inference (auto-select optimal AWS Region)",
"awsServiceTier": "Service Tier",
"awsServiceTierStandard": "Standard",
+ "awsServiceTierStandardDesc": "Balanced performance and cost",
"awsServiceTierFlex": "Flex (50% discount)",
+ "awsServiceTierFlexDesc": "Lower cost, higher latency for non-critical tasks",
"awsServiceTierPriority": "Priority (75% premium)",
+ "awsServiceTierPriorityDesc": "Fastest performance for mission-critical applications",
"awsServiceTierNote": "Service tiers affect pricing and performance. Flex offers 50% discount with higher latency, Priority offers 25% better performance with 75% premium.",
"awsBedrockVpc": {
"useCustomVpcEndpoint": "Use custom VPC endpoint",
@@ -659,13 +698,17 @@
"googleCloudRegion": "Google Cloud Region",
"lmStudio": {
"baseUrl": "Base URL (optional)",
+ "modelId": "Model ID",
"speculativeDecoding": "Enable Speculative Decoding",
"draftModelId": "Draft Model ID",
"draftModelDesc": "Draft model must be from the same model family for speculative decoding to work correctly.",
+ "selectDraftModel": "Select Draft Model",
+ "noModelsFound": "No draft models found. Please ensure LM Studio is running with Server Mode enabled.",
"description": "LM Studio allows you to run models locally on your computer. For instructions on how to get started, see their quickstart guide . You will also need to start LM Studio's local server feature to use it with this extension. Note: Zoo Code uses complex prompts and works best with Claude models. Less capable models may not work as expected."
},
"ollama": {
"baseUrl": "Base URL (optional)",
+ "modelId": "Model ID",
"apiKey": "Ollama API Key",
"apiKeyHelp": "Optional API key for Ollama instances that need authentication, or for cloud services. Zoo Code sends the key only to HTTPS or loopback endpoints. A remote HTTP endpoint gets no key, because the key would travel in plain text. Use HTTPS for a remote instance that needs a key. Leave this empty for a local installation.",
"numCtx": "Context Window Size (num_ctx)",
@@ -703,6 +746,10 @@
"label": "Image Support",
"description": "Is this model capable of processing and understanding images?"
},
+ "computerUse": {
+ "label": "Computer Use",
+ "description": "Is this model capable of interacting with a browser?"
+ },
"promptCache": {
"label": "Prompt Caching",
"description": "Is this model capable of caching prompts?"
@@ -758,7 +805,14 @@
"low": "Low",
"description": "Controls how detailed the model's responses are. Low verbosity produces concise answers, while high verbosity provides thorough explanations."
},
- "setReasoningLevel": "Enable Reasoning Effort"
+ "setReasoningLevel": "Enable Reasoning Effort",
+ "claudeCode": {
+ "pathLabel": "Claude Code Path",
+ "description": "Optional path to your Claude Code CLI. Defaults to 'claude' if not set.",
+ "placeholder": "Default: claude",
+ "maxTokensLabel": "Max Output Tokens",
+ "maxTokensDescription": "Maximum number of output tokens for Claude Code responses. Default is 8000."
+ }
},
"checkpoints": {
"timeout": {
@@ -784,8 +838,25 @@
},
"contextManagement": {
"description": "Control what information is included in the AI's context window, affecting token usage and response quality",
+ "autoCondenseContextPercent": {
+ "label": "Threshold to trigger intelligent context condensing",
+ "description": "When the context window reaches this threshold, Zoo will automatically condense it."
+ },
+ "condensingApiConfiguration": {
+ "label": "API Configuration for Context Condensing",
+ "description": "Select which API configuration to use for context condensing operations. Leave unselected to use the current active configuration.",
+ "useCurrentConfig": "Default"
+ },
+ "customCondensingPrompt": {
+ "label": "Custom Context Condensing Prompt",
+ "description": "Customize the system prompt used for context condensing. Leave empty to use the default prompt.",
+ "placeholder": "Enter your custom condensing prompt here...\n\nYou can use the same structure as the default prompt:\n- Previous Conversation\n- Current Work\n- Key Technical Concepts\n- Relevant Files and Code\n- Problem Solving\n- Pending Tasks and Next Steps",
+ "reset": "Reset to Default",
+ "hint": "Empty = use default prompt"
+ },
"autoCondenseContext": {
- "name": "Automatically trigger intelligent context condensing"
+ "name": "Automatically trigger intelligent context condensing",
+ "description": "When enabled, Zoo will automatically condense the context when the threshold is reached. When disabled, you can still manually trigger context condensing."
},
"openTabs": {
"label": "Open tabs context limit",
@@ -799,6 +870,16 @@
"label": "Show .rooignore'd files in lists and searches",
"description": "When enabled, files matching patterns in .rooignore will be shown in lists with a lock symbol. When disabled, these files will be completely hidden from file lists and searches."
},
+ "maxConcurrentFileReads": {
+ "label": "Concurrent file reads limit",
+ "description": "Maximum number of files the 'read_file' tool can process concurrently. Higher values may speed up reading multiple small files but increase memory usage."
+ },
+ "maxReadFile": {
+ "label": "File read auto-truncate threshold",
+ "description": "Zoo reads this number of lines when the model omits start/end values. If this number is less than the file's total, Zoo generates a line number index of code definitions. Special cases: -1 instructs Zoo to read the entire file (without indexing), and 0 instructs it to read no lines and provides line indexes only for minimal context. Lower values minimize initial context usage, enabling precise subsequent line-range reads. Explicit start/end requests are not limited by this setting.",
+ "lines": "lines",
+ "always_full_read": "Always read entire file"
+ },
"maxImageFileSize": {
"label": "Max image file size",
"mb": "MB",
@@ -837,6 +918,7 @@
"defaultProfile": "Global Default (all profiles)",
"defaultDescription": "When context reaches this percentage, it will be automatically condensed for all profiles unless they have custom settings",
"profileDescription": "Custom threshold for this profile only (overrides global default)",
+ "inheritDescription": "This profile inherits the global default threshold ({{threshold}}%)",
"usesGlobal": "(uses global {{threshold}}%)"
},
"includeCurrentTime": {
@@ -862,12 +944,21 @@
"description": "Start command output collapsed, including Inline Terminal output. Expand it manually when needed. This does not change how commands run."
},
"basic": {
- "label": "Terminal Settings: Basic"
+ "label": "Terminal Settings: Basic",
+ "description": "Basic terminal settings"
},
"advanced": {
"label": "Terminal Settings: Advanced",
"description": "These settings apply only when 'Use Inline Terminal' is disabled. They affect the VS Code terminal only and may require restarting the IDE."
},
+ "outputLineLimit": {
+ "label": "Terminal output limit",
+ "description": "Keeps the first and last lines and drops the middle to stay under the limit. Lower to save tokens; raise to give Zoo more middle detail. Zoo sees a placeholder where the content is skipped.<0>Learn more0>"
+ },
+ "outputCharacterLimit": {
+ "label": "Terminal character limit",
+ "description": "Overrides the line limit to prevent memory issues by enforcing a hard cap on output size. If exceeded, keeps the beginning and end and shows a placeholder to Zoo where content is skipped. <0>Learn more0>"
+ },
"outputPreviewSize": {
"label": "Command output preview size",
"description": "Controls how much command output Zoo sees directly. Full output is always saved and accessible when needed.",
@@ -925,6 +1016,23 @@
"title": "Advanced settings"
},
"advanced": {
+ "diff": {
+ "label": "Enable editing through diffs",
+ "description": "When enabled, Zoo will be able to edit files more quickly and will automatically reject truncated full-file writes",
+ "strategy": {
+ "label": "Diff strategy",
+ "options": {
+ "standard": "Standard (Single block)",
+ "multiBlock": "Experimental: Multi-block diff",
+ "unified": "Experimental: Unified diff"
+ },
+ "descriptions": {
+ "standard": "Standard diff strategy applies changes to a single code block at a time.",
+ "unified": "Unified diff strategy takes multiple approaches to applying diffs and chooses the best approach.",
+ "multiBlock": "Multi-block diff strategy allows updating multiple code blocks in a file in one request."
+ }
+ }
+ },
"todoList": {
"label": "Enable todo list tool",
"description": "When enabled, Zoo can create and manage todo lists to track task progress. This helps organize complex tasks into manageable steps."
@@ -996,6 +1104,10 @@
"description": "Prepares the set_thinking_effort tool for later support: this setting stores the preference only, and the tool's per-request behavior arrives in follow-up work. (experimental)"
}
},
+ "promptCaching": {
+ "label": "Disable prompt caching",
+ "description": "When checked, Zoo will not use prompt caching for this model."
+ },
"temperature": {
"useCustom": "Use custom temperature",
"description": "Controls randomness in the model's responses.",
@@ -1066,6 +1178,7 @@
"reservedKeys": "Extra Body cannot override Zoo Code-managed fields: {{keys}}."
},
"arn": {
+ "invalidFormat": "Invalid ARN format. Please check the format requirements.",
"regionMismatch": "Warning: The region in your ARN ({{arnRegion}}) does not match your selected region ({{region}}). This may cause access issues. The provider will use the region from the ARN."
},
"modelAvailability": "The model ID ({{modelId}}) you provided is not available. Please choose a different model.",
@@ -1087,6 +1200,11 @@
"projectId": "Enter Project ID...",
"customArn": "Enter ARN (e.g. arn:aws:bedrock:us-east-1:123456789012:foundation-model/my-model)",
"baseUrl": "Enter base URL...",
+ "modelId": {
+ "lmStudio": "e.g. meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "e.g. lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "e.g. llama3.1"
+ },
"numbers": {
"maxTokens": "e.g. 4096",
"contextWindow": "e.g. 128000",
@@ -1106,6 +1224,9 @@
},
"includeMaxOutputTokens": "Include max output tokens",
"includeMaxOutputTokensDescription": "Send max output tokens parameter in API requests. Some providers may not support this.",
+ "limitMaxTokensDescription": "Limit the maximum number of tokens in the response",
+ "maxOutputTokensLabel": "Max output tokens",
+ "maxTokensGenerateDescription": "Maximum tokens to generate in response",
"openAiCodexSpeed": {
"label": "Speed",
"tooltip": "Fast uses Codex priority processing for about 1.5x speed and consumes more subscription quota.",
@@ -1113,6 +1234,8 @@
"fast": "Fast (1.5x speed, increased usage)"
},
"serviceTier": {
+ "label": "Service tier",
+ "tooltip": "For faster processing of API requests, try the priority processing service tier. For lower prices with higher latency, try the flex processing tier.",
"standard": "Standard",
"flex": "Flex",
"priority": "Priority",
diff --git a/webview-ui/src/i18n/locales/es/settings.json b/webview-ui/src/i18n/locales/es/settings.json
index 27623532b0..6e6dc9b379 100644
--- a/webview-ui/src/i18n/locales/es/settings.json
+++ b/webview-ui/src/i18n/locales/es/settings.json
@@ -6,7 +6,8 @@
"cancel": "Cancelar",
"select": "Seleccionar",
"add": "Añadir encabezado",
- "remove": "Eliminar"
+ "remove": "Eliminar",
+ "reset": "Restablecer"
},
"search": {
"placeholder": "Buscar configuración...",
@@ -249,7 +250,9 @@
"bedrockRegionRequired": "Se requiere la región de AWS",
"ollamaBaseUrlRequired": "Se requiere la URL base de Ollama",
"baseUrlRequired": "Se requiere la URL base",
- "openRouterApiKeyRequired": "Se requiere la clave API de OpenRouter"
+ "openRouterApiKeyRequired": "Se requiere la clave API de OpenRouter",
+ "bedrockProfileRequired": "Se requiere el perfil de AWS",
+ "modelDimensionMinValue": "La dimensión del modelo debe ser mayor que 0"
},
"optional": "opcional",
"advancedConfigLabel": "Configuración avanzada",
@@ -263,7 +266,21 @@
"workspaceToggleLabel": "Activar indexación para este espacio de trabajo",
"workspaceDisabledMessage": "La indexación está configurada pero no habilitada para este espacio de trabajo.",
"autoEnableDefaultLabel": "Habilitar automáticamente la indexación para nuevos espacios de trabajo",
- "sembleProvider": "Semble - Local"
+ "sembleProvider": "Semble - Local",
+ "settingsTitle": "Configuración de indexación",
+ "disabledMessage": "La indexación de código está actualmente deshabilitada. Habilítala en la configuración global para configurar las opciones de indexación.",
+ "providerLabel": "Proveedor de embeddings",
+ "selectProviderPlaceholder": "Seleccionar proveedor",
+ "openAiCompatibleModelDimensionLabel": "Dimensión de Embedding:",
+ "openAiCompatibleModelDimensionPlaceholder": "ej., 1536",
+ "openAiCompatibleModelDimensionDescription": "La dimensión de embedding (tamaño de salida) para tu modelo. Consulta la documentación de tu proveedor para este valor. Valores comunes: 384, 768, 1536, 3072.",
+ "selectModelPlaceholder": "Seleccionar modelo",
+ "ollamaUrlLabel": "URL de Ollama:",
+ "qdrantKeyLabel": "Clave de Qdrant:",
+ "unsavedSettingsMessage": "Por favor guarda tus ajustes antes de iniciar el proceso de indexación.",
+ "saveSuccess": "Configuración guardada exitosamente",
+ "close": "Cerrar",
+ "searchMinScoreResetTooltip": "Restablecer al valor predeterminado (0.4)"
},
"autoApprove": {
"toggleShortcut": "Puedes configurar un atajo global para esta configuración en las preferencias de tu IDE .",
@@ -288,7 +305,8 @@
"protected": {
"label": "Incluir archivos protegidos",
"description": "Permitir a Zoo crear y editar archivos protegidos (como .rooignore y archivos de configuración .roo/) sin requerir aprobación."
- }
+ },
+ "delayLabel": "Retraso después de escritura para permitir que los diagnósticos detecten posibles problemas"
},
"allowlists": {
"label": "Listas de permitidos",
@@ -338,7 +356,8 @@
"deniedCommandsDescription": "Prefijos de comandos que serán automáticamente denegados sin pedir aprobación. En caso de conflictos con comandos permitidos, la coincidencia de prefijo más larga tiene prioridad. Añade * para denegar todos los comandos.",
"commandPlaceholder": "Ingrese prefijo de comando (ej. 'git ')",
"deniedCommandPlaceholder": "Ingrese prefijo de comando a denegar (ej. 'rm -rf')",
- "addButton": "Añadir"
+ "addButton": "Añadir",
+ "autoDenied": "Los comandos con el prefijo `{{prefix}}` han sido prohibidos por el usuario. No eludes esta restricción ejecutando otro comando."
},
"apiRequestLimit": {
"title": "Solicitudes máximas",
@@ -350,7 +369,9 @@
},
"maxLimits": {
"description": "Realizar automáticamente solicitudes hasta estos límites antes de pedir aprobación para continuar."
- }
+ },
+ "disabledAriaLabel": "Aprobación automática desactivada: seleccione primero las opciones",
+ "selectOptionsFirst": "Selecciona al menos una opción a continuación para habilitar la aprobación automática"
},
"providers": {
"configProfile": "Perfil de configuración",
@@ -461,7 +482,8 @@
"label": "Actualizar modelos",
"loading": "Actualizando lista de modelos...",
"success": "¡Lista de modelos actualizada correctamente!",
- "error": "Error al actualizar la lista de modelos. Por favor, inténtalo de nuevo."
+ "error": "Error al actualizar la lista de modelos. Por favor, inténtalo de nuevo.",
+ "hint": "Por favor, vuelve a abrir la configuración para ver los modelos más recientes."
},
"getRequestyApiKey": "Obtener clave API de Requesty",
"getRequestyBaseUrl": "URL base",
@@ -590,7 +612,10 @@
"speculativeDecoding": "Habilitar decodificación especulativa",
"draftModelId": "ID del modelo borrador",
"draftModelDesc": "El modelo borrador debe ser de la misma familia de modelos para que la decodificación especulativa funcione correctamente.",
- "description": "LM Studio le permite ejecutar modelos localmente en su computadora. Para obtener instrucciones sobre cómo comenzar, consulte su guía de inicio rápido . También necesitará iniciar la función de servidor local de LM Studio para usarlo con esta extensión. Nota: Zoo Code utiliza prompts complejos y funciona mejor con modelos Claude. Los modelos menos capaces pueden no funcionar como se espera."
+ "description": "LM Studio le permite ejecutar modelos localmente en su computadora. Para obtener instrucciones sobre cómo comenzar, consulte su guía de inicio rápido . También necesitará iniciar la función de servidor local de LM Studio para usarlo con esta extensión. Nota: Zoo Code utiliza prompts complejos y funciona mejor con modelos Claude. Los modelos menos capaces pueden no funcionar como se espera.",
+ "modelId": "ID del modelo",
+ "selectDraftModel": "Seleccionar modelo borrador",
+ "noModelsFound": "No se encontraron modelos borrador. Asegúrese de que LM Studio esté ejecutándose con el Modo Servidor habilitado."
},
"ollama": {
"baseUrl": "URL base (opcional)",
@@ -601,7 +626,8 @@
"thinking": "Activar razonamiento",
"thinkingHelp": "Activa el razonamiento nativo de Ollama para modelos de razonamiento (p. ej. qwen3, deepseek-r1). Cuando está activado, el razonamiento del modelo se transmite y se muestra por separado. Los modelos no compatibles ignorarán esta configuración.",
"description": "Ollama le permite ejecutar modelos localmente en su computadora. Para obtener instrucciones sobre cómo comenzar, consulte la guía de inicio rápido.",
- "warning": "Nota: Zoo Code utiliza prompts complejos y funciona mejor con modelos Claude. Los modelos menos capaces pueden no funcionar como se espera."
+ "warning": "Nota: Zoo Code utiliza prompts complejos y funciona mejor con modelos Claude. Los modelos menos capaces pueden no funcionar como se espera.",
+ "modelId": "ID del modelo"
},
"openRouter": {
"providerRouting": {
@@ -646,7 +672,11 @@
"description": "Costo por millón de tokens para escribir en el caché. Este es el precio que se cobra cuando se almacena un prompt en caché por primera vez."
}
},
- "resetDefaults": "Restablecer valores predeterminados"
+ "resetDefaults": "Restablecer valores predeterminados",
+ "computerUse": {
+ "label": "Uso del ordenador",
+ "description": "¿Es este modelo capaz de interactuar con un navegador?"
+ }
},
"rateLimitSeconds": {
"label": "Límite de tasa",
@@ -686,6 +716,19 @@
"signInDescription": "Inicia sesión para usar Zoo Gateway con tu cuenta",
"authenticated": "Autenticado",
"authenticatedAs": "Autenticado como {{name}}"
+ },
+ "providerDocumentation": "Documentación de {{provider}}",
+ "model": "Modelo",
+ "useHostHeader": "Usar encabezado Host personalizado",
+ "awsServiceTierStandardDesc": "Rendimiento y costo equilibrados",
+ "awsServiceTierFlexDesc": "Menor costo, mayor latencia para tareas no críticas",
+ "awsServiceTierPriorityDesc": "Rendimiento más rápido para aplicaciones críticas",
+ "claudeCode": {
+ "pathLabel": "Ruta de Claude Code",
+ "description": "Ruta opcional a su CLI de Claude Code. Por defecto, es 'claude' si no se establece.",
+ "placeholder": "Por defecto: claude",
+ "maxTokensLabel": "Tokens máximos de salida",
+ "maxTokensDescription": "Número máximo de tokens de salida para las respuestas de Claude Code. El valor predeterminado es 8000."
}
},
"checkpoints": {
@@ -713,7 +756,8 @@
"contextManagement": {
"description": "Controle qué información se incluye en la ventana de contexto de la IA, afectando el uso de token y la calidad de respuesta",
"autoCondenseContext": {
- "name": "Activar automáticamente la condensación inteligente de contexto"
+ "name": "Activar automáticamente la condensación inteligente de contexto",
+ "description": "Cuando está habilitado, Zoo condensará automáticamente el contexto cuando se alcance el umbral. Cuando está deshabilitado, aún puedes activar manualmente la condensación de contexto."
},
"openTabs": {
"label": "Límite de contexto de pestañas abiertas",
@@ -765,7 +809,8 @@
"defaultProfile": "Predeterminado global (todos los perfiles)",
"defaultDescription": "Cuando el contexto alcance este porcentaje, se condensará automáticamente para todos los perfiles a menos que tengan configuraciones personalizadas",
"profileDescription": "Umbral personalizado solo para este perfil (anula el predeterminado global)",
- "usesGlobal": "(usa global {{threshold}}%)"
+ "usesGlobal": "(usa global {{threshold}}%)",
+ "inheritDescription": "Este perfil hereda el umbral predeterminado global ({{threshold}}%)"
},
"includeCurrentTime": {
"label": "Incluir hora actual en el contexto",
@@ -782,6 +827,32 @@
"enableSubfolderRules": {
"label": "Activar reglas de subcarpetas",
"description": "Descubrir y cargar recursivamente archivos .roo/rules y AGENTS.md desde subdirectorios. Útil para monorepos con reglas por paquete."
+ },
+ "autoCondenseContextPercent": {
+ "label": "Umbral para activar la condensación inteligente de contexto",
+ "description": "Cuando la ventana de contexto alcanza este umbral, Zoo la condensará automáticamente."
+ },
+ "condensingApiConfiguration": {
+ "label": "Configuración de API para condensación de contexto",
+ "description": "Seleccione qué configuración de API usar para operaciones de condensación de contexto. Deje sin seleccionar para usar la configuración activa actual.",
+ "useCurrentConfig": "Usar configuración actual"
+ },
+ "customCondensingPrompt": {
+ "label": "Prompt personalizado para condensación de contexto",
+ "description": "Personalice el prompt del sistema utilizado para la condensación de contexto. Deje vacío para usar el prompt predeterminado.",
+ "placeholder": "Ingrese su prompt de condensación personalizado aquí...\n\nPuede usar la misma estructura que el prompt predeterminado:\n- Conversación anterior\n- Trabajo actual\n- Conceptos técnicos clave\n- Archivos y código relevantes\n- Resolución de problemas\n- Tareas pendientes y próximos pasos",
+ "reset": "Restablecer a predeterminado",
+ "hint": "Vacío = usar prompt predeterminado"
+ },
+ "maxReadFile": {
+ "label": "Umbral de auto-truncado de lectura de archivos",
+ "description": "Zoo lee este número de líneas cuando el modelo omite valores de inicio/fin. Si este número es menor que el total del archivo, Zoo genera un índice de números de línea de las definiciones de código. Casos especiales: -1 indica a Zoo que lea el archivo completo (sin indexación), y 0 indica que no lea líneas y proporcione solo índices de línea para un contexto mínimo. Valores más bajos minimizan el uso inicial de contexto, permitiendo lecturas posteriores de rangos de líneas precisos. Las solicitudes con inicio/fin explícitos no están limitadas por esta configuración.",
+ "lines": "líneas",
+ "always_full_read": "Siempre leer el archivo completo"
+ },
+ "maxConcurrentFileReads": {
+ "label": "Límite de lecturas simultáneas",
+ "description": "Número máximo de archivos que la herramienta 'read_file' puede procesar simultáneamente. Valores más altos pueden acelerar la lectura de múltiples archivos pequeños pero aumentan el uso de memoria."
}
},
"terminal": {
@@ -790,7 +861,8 @@
"description": "Muestra contraída la salida de comandos, incluida la del terminal en línea. Puede expandirla manualmente. Esto no cambia cómo se ejecutan los comandos."
},
"basic": {
- "label": "Configuración del terminal: Básica"
+ "label": "Configuración del terminal: Básica",
+ "description": "Configuración básica del terminal"
},
"advanced": {
"label": "Configuración del terminal: Avanzada",
@@ -847,6 +919,14 @@
"description": "De forma predeterminada, Zoo Code usa la shell que VS Code tiene configurada. Selecciona un perfil de shell de la lista para elegir un perfil de shell con ruta expuesto por VS Code. Los perfiles solo de fuente (p. ej., la entrada integrada de PowerShell) no se pueden listar aquí. <0>Más información0>",
"configureButton": "Elegir perfil predeterminado en VS Code",
"noProfiles": "(no se encontraron perfiles con ruta en terminal.integrated.profiles)"
+ },
+ "outputLineLimit": {
+ "label": "Límite de salida del terminal",
+ "description": "Mantiene las primeras y últimas líneas y descarta las intermedias para mantenerse bajo el límite. Reduce para ahorrar tokens; aumenta para dar a Zoo más detalles intermedios. Zoo ve un marcador donde se omite el contenido.<0>Más información0>"
+ },
+ "outputCharacterLimit": {
+ "label": "Límite de caracteres del terminal",
+ "description": "Anula el límite de líneas para evitar problemas de memoria imponiendo un límite estricto al tamaño de salida. Si se excede, mantiene el inicio y el final y muestra un marcador a Zoo donde se omite el contenido. <0>Más información0>"
}
},
"advancedSettings": {
@@ -856,6 +936,23 @@
"todoList": {
"label": "Habilitar herramienta de lista de tareas",
"description": "Cuando está habilitado, Zoo puede crear y gestionar listas de tareas para hacer seguimiento del progreso. Esto ayuda a organizar tareas complejas en pasos manejables."
+ },
+ "diff": {
+ "label": "Habilitar edición a través de diffs",
+ "description": "Cuando está habilitado, Zoo podrá editar archivos más rápidamente y rechazará automáticamente escrituras completas de archivos truncados",
+ "strategy": {
+ "label": "Estrategia de diff",
+ "options": {
+ "standard": "Estándar (Bloque único)",
+ "multiBlock": "Experimental: Diff multi-bloque",
+ "unified": "Experimental: Diff unificado"
+ },
+ "descriptions": {
+ "standard": "La estrategia de diff estándar aplica cambios a un solo bloque de código a la vez.",
+ "unified": "La estrategia de diff unificado toma múltiples enfoques para aplicar diffs y elige el mejor enfoque.",
+ "multiBlock": "La estrategia de diff multi-bloque permite actualizar múltiples bloques de código en un archivo en una sola solicitud."
+ }
+ }
}
},
"experimental": {
@@ -995,7 +1092,8 @@
"reservedKeys": "El cuerpo adicional no puede sobrescribir los campos gestionados por Zoo Code: {{keys}}."
},
"arn": {
- "regionMismatch": "Advertencia: La región en su ARN ({{arnRegion}}) no coincide con su región seleccionada ({{region}}). Esto puede causar problemas de acceso. El proveedor usará la región del ARN."
+ "regionMismatch": "Advertencia: La región en su ARN ({{arnRegion}}) no coincide con su región seleccionada ({{region}}). Esto puede causar problemas de acceso. El proveedor usará la región del ARN.",
+ "invalidFormat": "Formato de ARN no válido. Por favor, verifique los requisitos de formato."
},
"modelAvailability": "El ID de modelo ({{modelId}}) que proporcionó no está disponible. Por favor, elija un modelo diferente.",
"modelDeprecated": "Este modelo ya no está disponible. Por favor, elija un modelo diferente.",
@@ -1022,6 +1120,11 @@
"inputPrice": "ej. 0.0001",
"outputPrice": "ej. 0.0002",
"cacheWritePrice": "ej. 0.00005"
+ },
+ "modelId": {
+ "lmStudio": "ej. meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "ej. lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "ej. llama3.1"
}
},
"defaults": {
@@ -1051,7 +1154,9 @@
"input": "Entrada",
"output": "Salida",
"cacheReads": "Lecturas de caché"
- }
+ },
+ "label": "Nivel de servicio",
+ "tooltip": "Para un procesamiento más rápido de las solicitudes de API, prueba el nivel de servicio de procesamiento prioritario. Para precios más bajos con mayor latencia, prueba el nivel de procesamiento flexible."
},
"ui": {
"collapseThinking": {
@@ -1101,7 +1206,8 @@
"intro": "Para mantener tu contexto ligero, recomendamos que solo hagas disponibles las skills para los modos que las necesitan.",
"anyMode": "Cualquier modo (disponible en todas partes)",
"save": "Guardar",
- "cancel": "Cancelar"
+ "cancel": "Cancelar",
+ "description": "Elige qué modos pueden usar esta skill"
},
"createDialog": {
"title": "Crear Nueva Skill",
@@ -1111,7 +1217,11 @@
"sourceLabel": "Ubicación",
"modeLabel": "Modo (opcional)",
"create": "Crear",
- "cancel": "Cancelar"
+ "cancel": "Cancelar",
+ "descriptionLabel": "Descripción",
+ "modePlaceholder": "Cualquier modo",
+ "modeHint": "Restringe esta skill a un modo específico",
+ "modeAny": "Cualquier modo"
},
"source": {
"global": "Global (disponible en todos los proyectos)",
@@ -1124,7 +1234,13 @@
"descriptionRequired": "La descripción es obligatoria",
"descriptionTooLong": "La descripción debe tener como máximo 1024 caracteres"
},
- "footer": "Crea tus propias skills con el modo Skill Writer, disponible en el Modes Marketplace ."
+ "footer": "Crea tus propias skills con el modo Skill Writer, disponible en el Modes Marketplace .",
+ "modeAny": "Cualquier modo",
+ "modeCount": "{{count}} modos",
+ "diagnostics": {
+ "title": "No se pudieron cargar algunas skills",
+ "description": "Corrige el frontmatter YAML en los archivos SKILL.md enumerados y luego vuelve a abrir o actualizar esta página."
+ }
},
"language": {
"description": "Idioma y visualización de fecha y hora.",
@@ -1161,5 +1277,12 @@
"relative": "hace 5 min",
"hover": "(al pasar el cursor: {{value}})"
}
- }
+ },
+ "promptCaching": {
+ "label": "Desactivar caché de prompts",
+ "description": "Cuando está marcado, Zoo no utilizará el caché de prompts para este modelo."
+ },
+ "limitMaxTokensDescription": "Limitar el número máximo de tokens en la respuesta",
+ "maxOutputTokensLabel": "Tokens máximos de salida",
+ "maxTokensGenerateDescription": "Tokens máximos a generar en la respuesta"
}
diff --git a/webview-ui/src/i18n/locales/fr/settings.json b/webview-ui/src/i18n/locales/fr/settings.json
index 0efde01694..2eb15233a2 100644
--- a/webview-ui/src/i18n/locales/fr/settings.json
+++ b/webview-ui/src/i18n/locales/fr/settings.json
@@ -6,7 +6,8 @@
"cancel": "Annuler",
"select": "Sélectionner",
"add": "Ajouter un en-tête",
- "remove": "Supprimer"
+ "remove": "Supprimer",
+ "reset": "Réinitialiser"
},
"search": {
"placeholder": "Rechercher les paramètres...",
@@ -249,7 +250,9 @@
"bedrockRegionRequired": "La région AWS est requise",
"ollamaBaseUrlRequired": "L'URL de base Ollama est requise",
"baseUrlRequired": "L'URL de base est requise",
- "openRouterApiKeyRequired": "Clé API OpenRouter est requise"
+ "openRouterApiKeyRequired": "Clé API OpenRouter est requise",
+ "bedrockProfileRequired": "Le profil AWS est requis",
+ "modelDimensionMinValue": "La dimension du modèle doit être supérieure à 0"
},
"optional": "optionnel",
"advancedConfigLabel": "Configuration avancée",
@@ -263,7 +266,21 @@
"workspaceToggleLabel": "Activer l'indexation pour cet espace de travail",
"workspaceDisabledMessage": "L'indexation est configurée mais non activée pour cet espace de travail.",
"autoEnableDefaultLabel": "Activer automatiquement l'indexation pour les nouveaux espaces de travail",
- "sembleProvider": "Semble - Local"
+ "sembleProvider": "Semble - Local",
+ "settingsTitle": "Paramètres d'indexation",
+ "disabledMessage": "L'indexation de la base de code est actuellement désactivée. Activez-la dans les paramètres globaux pour configurer les options d'indexation.",
+ "providerLabel": "Fournisseur d'embeddings",
+ "selectProviderPlaceholder": "Sélectionner un fournisseur",
+ "openAiCompatibleModelDimensionLabel": "Dimension d'Embedding :",
+ "openAiCompatibleModelDimensionPlaceholder": "ex., 1536",
+ "openAiCompatibleModelDimensionDescription": "La dimension d'embedding (taille de sortie) pour votre modèle. Consultez la documentation de votre fournisseur pour cette valeur. Valeurs courantes : 384, 768, 1536, 3072.",
+ "selectModelPlaceholder": "Sélectionner un modèle",
+ "ollamaUrlLabel": "URL Ollama :",
+ "qdrantKeyLabel": "Clé Qdrant :",
+ "unsavedSettingsMessage": "Merci d'enregistrer tes paramètres avant de démarrer le processus d'indexation.",
+ "saveSuccess": "Paramètres sauvegardés avec succès",
+ "close": "Fermer",
+ "searchMinScoreResetTooltip": "Réinitialiser à la valeur par défaut (0.4)"
},
"autoApprove": {
"toggleShortcut": "Vous pouvez configurer un raccourci global pour ce paramètre dans les préférences de votre IDE .",
@@ -288,7 +305,8 @@
"protected": {
"label": "Inclure les fichiers protégés",
"description": "Permettre à Zoo de créer et modifier des fichiers protégés (comme .rooignore et les fichiers de configuration .roo/) sans nécessiter d'approbation."
- }
+ },
+ "delayLabel": "Délai après les écritures pour permettre aux diagnostics de détecter les problèmes potentiels"
},
"allowlists": {
"label": "Listes d'autorisation",
@@ -338,7 +356,8 @@
"deniedCommandsDescription": "Préfixes de commandes qui seront automatiquement refusés sans demander d'approbation. En cas de conflit avec les commandes autorisées, la correspondance de préfixe la plus longue prend la priorité. Ajoutez * pour refuser toutes les commandes.",
"commandPlaceholder": "Entrez le préfixe de commande (ex. 'git ')",
"deniedCommandPlaceholder": "Entrez le préfixe de commande à refuser (ex. 'rm -rf')",
- "addButton": "Ajouter"
+ "addButton": "Ajouter",
+ "autoDenied": "Les commandes avec le préfixe `{{prefix}}` ont été interdites par l'utilisateur. Ne contourne pas cette restriction en exécutant une autre commande."
},
"apiRequestLimit": {
"title": "Requêtes maximales",
@@ -350,7 +369,9 @@
},
"maxLimits": {
"description": "Effectuer automatiquement des requêtes jusqu'à ces limites avant de demander une autorisation pour continuer."
- }
+ },
+ "disabledAriaLabel": "Approbation automatique désactivée - sélectionnez d'abord les options",
+ "selectOptionsFirst": "Sélectionnez au moins une option ci-dessous pour activer l'approbation automatique"
},
"providers": {
"configProfile": "Profil de configuration",
@@ -461,7 +482,8 @@
"label": "Actualiser les modèles",
"loading": "Actualisation de la liste des modèles...",
"success": "Liste des modèles actualisée avec succès !",
- "error": "Échec de l'actualisation de la liste des modèles. Veuillez réessayer."
+ "error": "Échec de l'actualisation de la liste des modèles. Veuillez réessayer.",
+ "hint": "Veuillez rouvrir les paramètres pour voir les modèles les plus récents."
},
"getRequestyApiKey": "Obtenir la clé API Requesty",
"getRequestyBaseUrl": "URL de base",
@@ -590,7 +612,10 @@
"speculativeDecoding": "Activer le décodage spéculatif",
"draftModelId": "ID du modèle brouillon",
"draftModelDesc": "Le modèle brouillon doit être de la même famille de modèles pour que le décodage spéculatif fonctionne correctement.",
- "description": "LM Studio vous permet d'exécuter des modèles localement sur votre ordinateur. Pour obtenir des instructions sur la mise en route, consultez leur guide de démarrage rapide . Vous devrez également démarrer la fonction serveur local de LM Studio pour l'utiliser avec cette extension. Remarque : Zoo Code utilise des prompts complexes et fonctionne mieux avec les modèles Claude. Les modèles moins performants peuvent ne pas fonctionner comme prévu."
+ "description": "LM Studio vous permet d'exécuter des modèles localement sur votre ordinateur. Pour obtenir des instructions sur la mise en route, consultez leur guide de démarrage rapide . Vous devrez également démarrer la fonction serveur local de LM Studio pour l'utiliser avec cette extension. Remarque : Zoo Code utilise des prompts complexes et fonctionne mieux avec les modèles Claude. Les modèles moins performants peuvent ne pas fonctionner comme prévu.",
+ "modelId": "ID du modèle",
+ "selectDraftModel": "Sélectionner le modèle brouillon",
+ "noModelsFound": "Aucun modèle brouillon trouvé. Veuillez vous assurer que LM Studio est en cours d'exécution avec le mode serveur activé."
},
"ollama": {
"baseUrl": "URL de base (optionnel)",
@@ -601,7 +626,8 @@
"thinking": "Activer le raisonnement",
"thinkingHelp": "Active le raisonnement natif d'Ollama pour les modèles de raisonnement (par ex. qwen3, deepseek-r1). Lorsqu'il est activé, le raisonnement du modèle est diffusé et affiché séparément. Les modèles non compatibles ignoreront ce paramètre.",
"description": "Ollama vous permet d'exécuter des modèles localement sur votre ordinateur. Pour obtenir des instructions sur la mise en route, consultez le guide de démarrage rapide.",
- "warning": "Remarque : Zoo Code utilise des prompts complexes et fonctionne mieux avec les modèles Claude. Les modèles moins performants peuvent ne pas fonctionner comme prévu."
+ "warning": "Remarque : Zoo Code utilise des prompts complexes et fonctionne mieux avec les modèles Claude. Les modèles moins performants peuvent ne pas fonctionner comme prévu.",
+ "modelId": "ID du modèle"
},
"openRouter": {
"providerRouting": {
@@ -646,7 +672,11 @@
"description": "Coût par million de tokens pour l'écriture dans le cache. C'est le prix facturé lors de la première mise en cache d'un prompt."
}
},
- "resetDefaults": "Réinitialiser les valeurs par défaut"
+ "resetDefaults": "Réinitialiser les valeurs par défaut",
+ "computerUse": {
+ "label": "Utilisation de l'ordinateur",
+ "description": "Ce modèle est-il capable d'interagir avec un navigateur ?"
+ }
},
"rateLimitSeconds": {
"label": "Limite de débit",
@@ -686,6 +716,19 @@
"signInDescription": "Connectez-vous pour utiliser Zoo Gateway avec votre compte",
"authenticated": "Authentifié",
"authenticatedAs": "Authentifié en tant que {{name}}"
+ },
+ "providerDocumentation": "Documentation {{provider}}",
+ "model": "Modèle",
+ "useHostHeader": "Utiliser un en-tête Host personnalisé",
+ "awsServiceTierStandardDesc": "Performances et coûts équilibrés",
+ "awsServiceTierFlexDesc": "Coût inférieur, latence plus élevée pour les tâches non critiques",
+ "awsServiceTierPriorityDesc": "Performances optimales pour les applications critiques",
+ "claudeCode": {
+ "pathLabel": "Chemin du code Claude",
+ "description": "Chemin facultatif vers votre CLI Claude Code. La valeur par défaut est 'claude' si non défini.",
+ "placeholder": "Défaut : claude",
+ "maxTokensLabel": "Jetons de sortie max",
+ "maxTokensDescription": "Nombre maximum de jetons de sortie pour les réponses de Claude Code. La valeur par défaut est 8000."
}
},
"checkpoints": {
@@ -713,7 +756,8 @@
"contextManagement": {
"description": "Contrôlez quelles informations sont incluses dans la fenêtre de contexte de l'IA, affectant l'utilisation de token et la qualité des réponses",
"autoCondenseContext": {
- "name": "Déclencher automatiquement la condensation intelligente du contexte"
+ "name": "Déclencher automatiquement la condensation intelligente du contexte",
+ "description": "Lorsque cette option est activée, Zoo condensera automatiquement le contexte lorsque le seuil est atteint. Lorsqu'elle est désactivée, vous pouvez toujours déclencher manuellement la condensation du contexte."
},
"openTabs": {
"label": "Limite de contexte des onglets ouverts",
@@ -765,7 +809,8 @@
"defaultProfile": "Par défaut global (tous les profils)",
"defaultDescription": "Lorsque le contexte atteint ce pourcentage, il sera automatiquement condensé pour tous les profils sauf s'ils ont des paramètres personnalisés",
"profileDescription": "Seuil personnalisé pour ce profil uniquement (remplace le défaut global)",
- "usesGlobal": "(utilise global {{threshold}}%)"
+ "usesGlobal": "(utilise global {{threshold}}%)",
+ "inheritDescription": "Ce profil hérite du seuil par défaut global ({{threshold}}%)"
},
"includeCurrentTime": {
"label": "Inclure l'heure actuelle dans le contexte",
@@ -782,6 +827,32 @@
"enableSubfolderRules": {
"label": "Activer les règles des sous-dossiers",
"description": "Découvrir et charger récursivement les fichiers .roo/rules et AGENTS.md depuis les sous-répertoires. Utile pour les monorepos avec des règles par package."
+ },
+ "autoCondenseContextPercent": {
+ "label": "Seuil de déclenchement de la condensation intelligente du contexte",
+ "description": "Lorsque la fenêtre de contexte atteint ce seuil, Zoo la condensera automatiquement."
+ },
+ "condensingApiConfiguration": {
+ "label": "Configuration API pour la condensation du contexte",
+ "description": "Sélectionnez quelle configuration API utiliser pour les opérations de condensation du contexte. Laissez non sélectionné pour utiliser la configuration active actuelle.",
+ "useCurrentConfig": "Par défaut"
+ },
+ "customCondensingPrompt": {
+ "label": "Prompt personnalisé de condensation du contexte",
+ "description": "Personnalisez le prompt système utilisé pour la condensation du contexte. Laissez vide pour utiliser le prompt par défaut.",
+ "placeholder": "Entrez votre prompt de condensation personnalisé ici...\n\nVous pouvez utiliser la même structure que le prompt par défaut :\n- Conversation précédente\n- Travail en cours\n- Concepts techniques clés\n- Fichiers et code pertinents\n- Résolution de problèmes\n- Tâches en attente et prochaines étapes",
+ "reset": "Réinitialiser par défaut",
+ "hint": "Vide = utiliser le prompt par défaut"
+ },
+ "maxReadFile": {
+ "label": "Seuil d'auto-troncature de lecture de fichier",
+ "description": "Zoo lit ce nombre de lignes lorsque le modèle omet les valeurs de début/fin. Si ce nombre est inférieur au total du fichier, Zoo génère un index des numéros de ligne des définitions de code. Cas spéciaux : -1 indique à Zoo de lire le fichier entier (sans indexation), et 0 indique de ne lire aucune ligne et de fournir uniquement les index de ligne pour un contexte minimal. Des valeurs plus basses minimisent l'utilisation initiale du contexte, permettant des lectures ultérieures de plages de lignes précises. Les requêtes avec début/fin explicites ne sont pas limitées par ce paramètre.",
+ "lines": "lignes",
+ "always_full_read": "Toujours lire le fichier entier"
+ },
+ "maxConcurrentFileReads": {
+ "label": "Limite de lectures simultanées",
+ "description": "Nombre maximum de fichiers que l'outil 'read_file' peut traiter simultanément. Des valeurs plus élevées peuvent accélérer la lecture de plusieurs petits fichiers mais augmentent l'utilisation de la mémoire."
}
},
"terminal": {
@@ -790,7 +861,8 @@
"description": "Replie la sortie des commandes, y compris celle du terminal intégré. Dépliez-la manuellement si nécessaire. Cela ne change pas leur exécution."
},
"basic": {
- "label": "Paramètres du terminal : Base"
+ "label": "Paramètres du terminal : Base",
+ "description": "Paramètres de base du terminal"
},
"advanced": {
"label": "Paramètres du terminal : Avancé",
@@ -847,6 +919,14 @@
"description": "Par défaut, Zoo Code utilise le shell configuré dans VS Code. Sélectionnez un profil shell dans la liste pour choisir un profil shell avec chemin exposé par VS Code. Les profils source uniquement (ex. : l'entrée PowerShell intégrée) ne peuvent pas être listés ici. <0>En savoir plus0>",
"configureButton": "Choisir le profil par défaut dans VS Code",
"noProfiles": "(aucun profil avec chemin trouvé dans terminal.integrated.profiles)"
+ },
+ "outputLineLimit": {
+ "label": "Limite de sortie du terminal",
+ "description": "Conserve les premières et dernières lignes et supprime celles du milieu pour rester sous la limite. Réduire pour économiser des jetons ; augmenter pour donner à Zoo plus de détails intermédiaires. Zoo voit un espace réservé là où le contenu est ignoré.<0>En savoir plus0>"
+ },
+ "outputCharacterLimit": {
+ "label": "Limite de caractères du terminal",
+ "description": "Remplace la limite de lignes pour éviter les problèmes de mémoire en imposant un plafond strict sur la taille de sortie. Si dépassé, conserve le début et la fin et affiche un espace réservé à Zoo là où le contenu est ignoré. <0>En savoir plus0>"
}
},
"advancedSettings": {
@@ -856,6 +936,23 @@
"todoList": {
"label": "Activer l'outil de liste de tâches",
"description": "Lorsqu'activé, Zoo peut créer et gérer des listes de tâches pour suivre la progression. Cela aide à organiser les tâches complexes en étapes gérables."
+ },
+ "diff": {
+ "label": "Activer l'édition via des diffs",
+ "description": "Lorsque cette option est activée, Zoo pourra éditer des fichiers plus rapidement et rejettera automatiquement les écritures de fichiers complets tronqués",
+ "strategy": {
+ "label": "Stratégie de diff",
+ "options": {
+ "standard": "Standard (Bloc unique)",
+ "multiBlock": "Expérimental : Diff multi-blocs",
+ "unified": "Expérimental : Diff unifié"
+ },
+ "descriptions": {
+ "standard": "La stratégie de diff standard applique les modifications à un seul bloc de code à la fois.",
+ "unified": "La stratégie de diff unifié prend plusieurs approches pour appliquer les diffs et choisit la meilleure approche.",
+ "multiBlock": "La stratégie de diff multi-blocs permet de mettre à jour plusieurs blocs de code dans un fichier en une seule requête."
+ }
+ }
}
},
"experimental": {
@@ -995,7 +1092,8 @@
"reservedKeys": "Le corps supplémentaire ne peut pas remplacer les champs gérés par Zoo Code : {{keys}}."
},
"arn": {
- "regionMismatch": "Attention : La région dans votre ARN ({{arnRegion}}) ne correspond pas à votre région sélectionnée ({{region}}). Cela peut causer des problèmes d'accès. Le fournisseur utilisera la région de l'ARN."
+ "regionMismatch": "Attention : La région dans votre ARN ({{arnRegion}}) ne correspond pas à votre région sélectionnée ({{region}}). Cela peut causer des problèmes d'accès. Le fournisseur utilisera la région de l'ARN.",
+ "invalidFormat": "Format ARN invalide. Veuillez vérifier les exigences de format."
},
"modelAvailability": "L'ID de modèle ({{modelId}}) que vous avez fourni n'est pas disponible. Veuillez choisir un modèle différent.",
"modelDeprecated": "Ce modèle n'est plus disponible. Veuillez sélectionner un modèle différent.",
@@ -1022,6 +1120,11 @@
"inputPrice": "ex. 0.0001",
"outputPrice": "ex. 0.0002",
"cacheWritePrice": "ex. 0.00005"
+ },
+ "modelId": {
+ "lmStudio": "ex. meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "ex. lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "ex. llama3.1"
}
},
"defaults": {
@@ -1051,7 +1154,9 @@
"input": "Entrée",
"output": "Sortie",
"cacheReads": "Lectures du cache"
- }
+ },
+ "label": "Niveau de service",
+ "tooltip": "Pour un traitement plus rapide des demandes d'API, essayez le niveau de service de traitement prioritaire. Pour des prix plus bas avec une latence plus élevée, essayez le niveau de traitement flexible."
},
"ui": {
"collapseThinking": {
@@ -1101,7 +1206,8 @@
"intro": "Pour garder votre contexte léger, nous vous recommandons de ne mettre les skills à disposition que pour les modes qui en ont besoin.",
"anyMode": "N'importe quel mode (disponible partout)",
"save": "Enregistrer",
- "cancel": "Annuler"
+ "cancel": "Annuler",
+ "description": "Choisissez les modes qui peuvent utiliser cette skill"
},
"createDialog": {
"title": "Créer une Nouvelle Skill",
@@ -1111,7 +1217,11 @@
"sourceLabel": "Emplacement",
"modeLabel": "Mode (optionnel)",
"create": "Créer",
- "cancel": "Annuler"
+ "cancel": "Annuler",
+ "descriptionLabel": "Description",
+ "modePlaceholder": "N'importe quel mode",
+ "modeHint": "Restreindre cette skill à un mode spécifique",
+ "modeAny": "N'importe quel mode"
},
"source": {
"global": "Globale (disponible dans tous les projets)",
@@ -1124,7 +1234,13 @@
"descriptionRequired": "La description est obligatoire",
"descriptionTooLong": "La description doit contenir au maximum 1024 caractères"
},
- "footer": "Créez vos propres skills avec le mode Skill Writer, disponible dans le Modes Marketplace ."
+ "footer": "Créez vos propres skills avec le mode Skill Writer, disponible dans le Modes Marketplace .",
+ "modeAny": "N'importe quel mode",
+ "modeCount": "{{count}} modes",
+ "diagnostics": {
+ "title": "Certaines skills n'ont pas pu être chargées",
+ "description": "Corrigez le frontmatter YAML des fichiers SKILL.md listés, puis rouvrez ou actualisez cette page."
+ }
},
"language": {
"description": "Langue et affichage de la date et de l'heure.",
@@ -1161,5 +1277,12 @@
"relative": "il y a 5 min",
"hover": "(survol : {{value}})"
}
- }
+ },
+ "promptCaching": {
+ "label": "Désactiver la mise en cache des prompts",
+ "description": "Lorsque cette option est cochée, Zoo n'utilisera pas la mise en cache des prompts pour ce modèle."
+ },
+ "limitMaxTokensDescription": "Limiter le nombre maximum de tokens dans la réponse",
+ "maxOutputTokensLabel": "Tokens de sortie maximum",
+ "maxTokensGenerateDescription": "Tokens maximum à générer dans la réponse"
}
diff --git a/webview-ui/src/i18n/locales/hi/settings.json b/webview-ui/src/i18n/locales/hi/settings.json
index c0101cd92e..8bc2283be7 100644
--- a/webview-ui/src/i18n/locales/hi/settings.json
+++ b/webview-ui/src/i18n/locales/hi/settings.json
@@ -6,7 +6,8 @@
"cancel": "रद्द करें",
"select": "चुनें",
"add": "हेडर जोड़ें",
- "remove": "हटाएं"
+ "remove": "हटाएं",
+ "reset": "रीसेट करें"
},
"search": {
"placeholder": "सेटिंग्स खोजें...",
@@ -248,7 +249,9 @@
"bedrockRegionRequired": "AWS क्षेत्र आवश्यक है",
"ollamaBaseUrlRequired": "Ollama आधार URL आवश्यक है",
"baseUrlRequired": "आधार URL आवश्यक है",
- "openRouterApiKeyRequired": "OpenRouter API कुंजी आवश्यक है"
+ "openRouterApiKeyRequired": "OpenRouter API कुंजी आवश्यक है",
+ "bedrockProfileRequired": "AWS प्रोफ़ाइल आवश्यक है",
+ "modelDimensionMinValue": "मॉडल आयाम 0 से बड़ा होना चाहिए"
},
"optional": "वैकल्पिक",
"advancedConfigLabel": "उन्नत कॉन्फ़िगरेशन",
@@ -262,7 +265,21 @@
"workspaceToggleLabel": "इस वर्कस्पेस के लिए इंडेक्सिंग सक्षम करें",
"workspaceDisabledMessage": "इंडेक्सिंग कॉन्फ़िगर की गई है लेकिन इस वर्कस्पेस के लिए सक्षम नहीं है।",
"autoEnableDefaultLabel": "नए वर्कस्पेस के लिए स्वचालित रूप से इंडेक्सिंग सक्षम करें",
- "sembleProvider": "Semble - स्थानीय"
+ "sembleProvider": "Semble - स्थानीय",
+ "providerLabel": "एम्बेडिंग प्रदाता",
+ "selectProviderPlaceholder": "प्रदाता चुनें",
+ "openAiCompatibleModelDimensionLabel": "एम्बेडिंग आयाम:",
+ "openAiCompatibleModelDimensionPlaceholder": "उदा., 1536",
+ "openAiCompatibleModelDimensionDescription": "आपके मॉडल के लिए एम्बेडिंग आयाम (आउटपुट साइज)। इस मान के लिए अपने प्रदाता के दस्तावेज़ीकरण की जांच करें। सामान्य मान: 384, 768, 1536, 3072।",
+ "selectModelPlaceholder": "मॉडल चुनें",
+ "ollamaUrlLabel": "Ollama URL:",
+ "qdrantKeyLabel": "Qdrant कुंजी:",
+ "unsavedSettingsMessage": "इंडेक्सिंग प्रक्रिया शुरू करने से पहले कृपया अपनी सेटिंग्स सहेजें।",
+ "settingsTitle": "इंडेक्सिंग सेटिंग्स",
+ "disabledMessage": "कोडबेस इंडेक्सिंग वर्तमान में अक्षम है। इंडेक्सिंग विकल्पों को कॉन्फ़िगर करने के लिए इसे ग्लोबल सेटिंग्स में सक्षम करें।",
+ "saveSuccess": "सेटिंग्स सफलतापूर्वक सहेजी गईं",
+ "close": "बंद करें",
+ "searchMinScoreResetTooltip": "डिफ़ॉल्ट मान पर रीसेट करें (0.4)"
},
"autoApprove": {
"toggleShortcut": "आप अपनी आईडीई वरीयताओं में इस सेटिंग के लिए एक वैश्विक शॉर्टकट कॉन्फ़िगर कर सकते हैं।",
@@ -287,7 +304,8 @@
"protected": {
"label": "संरक्षित फाइलें शामिल करें",
"description": "Zoo को अनुमोदन की आवश्यकता के बिना संरक्षित फाइलें (.rooignore और .roo/ कॉन्फ़िगरेशन फाइलें जैसी) बनाने और संपादित करने की अनुमति दें।"
- }
+ },
+ "delayLabel": "लिखने के बाद विलंब ताकि डायग्नोस्टिक संभावित समस्याओं का पता लगा सकें"
},
"allowlists": {
"label": "अनुमति सूचियाँ",
@@ -337,7 +355,8 @@
"deniedCommandsDescription": "कमांड प्रीफिक्स जो स्वचालित रूप से अस्वीकार हो जाएंगे बिना अनुमोदन की आवश्यकता के। अनुमत कमांड के साथ संघर्ष के मामले में, सबसे लंबा प्रीफिक्स मैच प्राथमिकता लेता है। सभी कमांड अस्वीकार करने के लिए * जोड़ें।",
"commandPlaceholder": "कमांड प्रीफिक्स दर्ज करें (उदा. 'git ')",
"deniedCommandPlaceholder": "अस्वीकार करने के लिए कमांड प्रीफिक्स दर्ज करें (उदा. 'rm -rf')",
- "addButton": "जोड़ें"
+ "addButton": "जोड़ें",
+ "autoDenied": "प्रीफिक्स `{{prefix}}` वाले कमांड उपयोगकर्ता द्वारा प्रतिबंधित किए गए हैं। दूसरा कमांड चलाकर इस प्रतिबंध को दरकिनार न करें।"
},
"apiRequestLimit": {
"title": "अधिकतम अनुरोध",
@@ -349,7 +368,9 @@
},
"maxLimits": {
"description": "स्वचालित रूप से जारी रखने के लिए अनुमोदन माँगने से पहले इन सीमाओं तक अनुरोध करें।"
- }
+ },
+ "disabledAriaLabel": "स्वतः-अनुमोदन अक्षम - पहले विकल्प चुनें",
+ "selectOptionsFirst": "स्वतः-अनुमोदन सक्षम करने के लिए नीचे से कम से कम एक विकल्प चुनें"
},
"providers": {
"configProfile": "कॉन्फिगरेशन प्रोफाइल",
@@ -460,7 +481,8 @@
"label": "मॉडल रिफ्रेश करें",
"loading": "मॉडल सूची अपडेट हो रही है...",
"success": "मॉडल सूची सफलतापूर्वक अपडेट की गई!",
- "error": "मॉडल सूची अपडेट करने में विफल। कृपया पुनः प्रयास करें।"
+ "error": "मॉडल सूची अपडेट करने में विफल। कृपया पुनः प्रयास करें।",
+ "hint": "नवीनतम मॉडल देखने के लिए कृपया सेटिंग्स को फिर से खोलें।"
},
"getRequestyApiKey": "Requesty API कुंजी प्राप्त करें",
"getRequestyBaseUrl": "बेस URL",
@@ -589,7 +611,10 @@
"speculativeDecoding": "स्पेक्युलेटिव डिकोडिंग सक्षम करें",
"draftModelId": "ड्राफ्ट मॉडल ID",
"draftModelDesc": "स्पेक्युलेटिव डिकोडिंग के सही काम करने के लिए ड्राफ्ट मॉडल को समान मॉडल परिवार से होना चाहिए।",
- "description": "LM Studio आपको अपने कंप्यूटर पर स्थानीय रूप से मॉडल चलाने की अनुमति देता है। आरंभ करने के निर्देशों के लिए, उनकी क्विकस्टार्ट गाइड देखें। आपको इस एक्सटेंशन के साथ उपयोग करने के लिए LM Studio की स्थानीय सर्वर सुविधा भी शुरू करनी होगी। नोट: Zoo Code जटिल प्रॉम्प्ट्स का उपयोग करता है और Claude मॉडल के साथ सबसे अच्छा काम करता है। कम क्षमता वाले मॉडल अपेक्षित रूप से काम नहीं कर सकते हैं।"
+ "description": "LM Studio आपको अपने कंप्यूटर पर स्थानीय रूप से मॉडल चलाने की अनुमति देता है। आरंभ करने के निर्देशों के लिए, उनकी क्विकस्टार्ट गाइड देखें। आपको इस एक्सटेंशन के साथ उपयोग करने के लिए LM Studio की स्थानीय सर्वर सुविधा भी शुरू करनी होगी। नोट: Zoo Code जटिल प्रॉम्प्ट्स का उपयोग करता है और Claude मॉडल के साथ सबसे अच्छा काम करता है। कम क्षमता वाले मॉडल अपेक्षित रूप से काम नहीं कर सकते हैं।",
+ "modelId": "मॉडल ID",
+ "selectDraftModel": "ड्राफ्ट मॉडल चुनें",
+ "noModelsFound": "कोई ड्राफ्ट मॉडल नहीं मिला। कृपया सुनिश्चित करें कि LM Studio सर्वर मोड सक्षम के साथ चल रहा है।"
},
"ollama": {
"baseUrl": "बेस URL (वैकल्पिक)",
@@ -600,7 +625,8 @@
"thinking": "थिंकिंग सक्षम करें",
"thinkingHelp": "रीजनिंग मॉडल (जैसे qwen3, deepseek-r1) के लिए Ollama की नेटिव थिंकिंग सक्षम करें। सक्षम होने पर, मॉडल का रीजनिंग अलग से स्ट्रीम और प्रदर्शित होता है। असमर्थित मॉडल इस सेटिंग को अनदेखा कर देंगे।",
"description": "Ollama आपको अपने कंप्यूटर पर स्थानीय रूप से मॉडल चलाने की अनुमति देता है। आरंभ करने के निर्देशों के लिए, उनकी क्विकस्टार्ट गाइड देखें।",
- "warning": "नोट: Zoo Code जटिल प्रॉम्प्ट्स का उपयोग करता है और Claude मॉडल के साथ सबसे अच्छा काम करता है। कम क्षमता वाले मॉडल अपेक्षित रूप से काम नहीं कर सकते हैं।"
+ "warning": "नोट: Zoo Code जटिल प्रॉम्प्ट्स का उपयोग करता है और Claude मॉडल के साथ सबसे अच्छा काम करता है। कम क्षमता वाले मॉडल अपेक्षित रूप से काम नहीं कर सकते हैं।",
+ "modelId": "मॉडल ID"
},
"openRouter": {
"providerRouting": {
@@ -645,7 +671,11 @@
"description": "कैश में लिखने के लिए प्रति मिलियन टोकन की लागत। यह वह मूल्य है जो पहली बार प्रॉम्प्ट को कैश करने पर लगाया जाता है।"
}
},
- "resetDefaults": "डिफ़ॉल्ट पर रीसेट करें"
+ "resetDefaults": "डिफ़ॉल्ट पर रीसेट करें",
+ "computerUse": {
+ "label": "कंप्यूटर उपयोग",
+ "description": "क्या यह मॉडल ब्राउज़र के साथ इंटरैक्ट करने में सक्षम है? (उदा. Claude Sonnet)।"
+ }
},
"rateLimitSeconds": {
"label": "दर सीमा",
@@ -685,6 +715,19 @@
"signInDescription": "अपने खाते के साथ Zoo Gateway का उपयोग करने के लिए साइन इन करें",
"authenticated": "प्रमाणित",
"authenticatedAs": "{{name}} के रूप में प्रमाणित"
+ },
+ "providerDocumentation": "{{provider}} दस्तावेज़ीकरण",
+ "model": "मॉडल",
+ "useHostHeader": "कस्टम होस्ट हेडर का उपयोग करें",
+ "awsServiceTierStandardDesc": "संतुलित प्रदर्शन और लागत",
+ "awsServiceTierFlexDesc": "कम लागत, गैर-महत्वपूर्ण कार्यों के लिए उच्च विलंबता",
+ "awsServiceTierPriorityDesc": "मिशन-क्रिटिकल एप्लिकेशन के लिए सबसे तेज़ प्रदर्शन",
+ "claudeCode": {
+ "pathLabel": "क्लाउड कोड पथ",
+ "description": "आपके क्लाउड कोड सीएलआई का वैकल्पिक पथ। यदि सेट नहीं है तो डिफ़ॉल्ट 'claude' है।",
+ "placeholder": "डिफ़ॉल्ट: claude",
+ "maxTokensLabel": "अधिकतम आउटपुट टोकन",
+ "maxTokensDescription": "Claude Code प्रतिक्रियाओं के लिए आउटपुट टोकन की अधिकतम संख्या। डिफ़ॉल्ट 8000 है।"
}
},
"checkpoints": {
@@ -712,7 +755,8 @@
"contextManagement": {
"description": "AI के संदर्भ विंडो में शामिल जानकारी को नियंत्रित करें, जो token उपयोग और प्रतिक्रिया गुणवत्ता को प्रभावित करता है",
"autoCondenseContext": {
- "name": "बुद्धिमान संदर्भ संघनन को स्वचालित रूप से ट्रिगर करें"
+ "name": "बुद्धिमान संदर्भ संघनन को स्वचालित रूप से ट्रिगर करें",
+ "description": "जब सक्षम हो, तो Zoo स्वचालित रूप से संदर्भ को संघनित करेगा जब सीमा पहुंच जाएगी। जब अक्षम हो, तो आप अभी भी मैन्युअल रूप से संदर्भ संघनन को ट्रिगर कर सकते हैं।"
},
"openTabs": {
"label": "खुले टैब संदर्भ सीमा",
@@ -754,7 +798,8 @@
"defaultProfile": "वैश्विक डिफ़ॉल्ट (सभी प्रोफ़ाइल)",
"defaultDescription": "जब संदर्भ इस प्रतिशत तक पहुंचता है, तो यह सभी प्रोफ़ाइल के लिए स्वचालित रूप से संघनित हो जाएगा जब तक कि उनकी कस्टम सेटिंग्स न हों",
"profileDescription": "केवल इस प्रोफ़ाइल के लिए कस्टम सीमा (वैश्विक डिफ़ॉल्ट को ओवरराइड करता है)",
- "usesGlobal": "(वैश्विक {{threshold}}% का उपयोग करता है)"
+ "usesGlobal": "(वैश्विक {{threshold}}% का उपयोग करता है)",
+ "inheritDescription": "यह प्रोफ़ाइल वैश्विक डिफ़ॉल्ट सीमा को इनहेरिट करता है ({{threshold}}%)"
},
"maxImageFileSize": {
"label": "अधिकतम छवि फ़ाइल आकार",
@@ -781,6 +826,32 @@
"enableSubfolderRules": {
"label": "सबफ़ोल्डर नियम सक्षम करें",
"description": "उपनिर्देशिकाओं से .roo/rules और AGENTS.md फ़ाइलों को पुनरावर्ती रूप से खोजें और लोड करें। प्रति-पैकेज नियमों वाले मोनोरेपो के लिए उपयोगी।"
+ },
+ "autoCondenseContextPercent": {
+ "label": "बुद्धिमान संदर्भ संघनन को ट्रिगर करने की सीमा",
+ "description": "जब संदर्भ विंडो इस सीमा तक पहुंचती है, तो Zoo इसे स्वचालित रूप से संघनित कर देगा।"
+ },
+ "condensingApiConfiguration": {
+ "label": "संदर्भ संघनन के लिए API कॉन्फ़िगरेशन",
+ "description": "संदर्भ संघनन कार्यों के लिए किस API कॉन्फ़िगरेशन का उपयोग करना है, यह चुनें। वर्तमान सक्रिय कॉन्फ़िगरेशन का उपयोग करने के लिए अचयनित छोड़ें।",
+ "useCurrentConfig": "डिफ़ॉल्ट"
+ },
+ "customCondensingPrompt": {
+ "label": "कस्टम संदर्भ संघनन प्रॉम्प्ट",
+ "description": "संदर्भ संघनन के लिए कस्टम सिस्टम प्रॉम्प्ट। डिफ़ॉल्ट प्रॉम्प्ट का उपयोग करने के लिए खाली छोड़ें।",
+ "placeholder": "अपना कस्टम संघनन प्रॉम्प्ट यहाँ दर्ज करें...\n\nआप डिफ़ॉल्ट प्रॉम्प्ट जैसी ही संरचना का उपयोग कर सकते हैं:\n- पिछली बातचीत\n- वर्तमान कार्य\n- प्रमुख तकनीकी अवधारणाएँ\n- प्रासंगिक फ़ाइलें और कोड\n- समस्या समाधान\n- लंबित कार्य और अगले चरण",
+ "reset": "डिफ़ॉल्ट पर रीसेट करें",
+ "hint": "खाली = डिफ़ॉल्ट प्रॉम्प्ट का उपयोग करें"
+ },
+ "maxReadFile": {
+ "label": "फ़ाइल पढ़ने का स्वचालित काटने की सीमा",
+ "description": "जब मॉडल प्रारंभ/अंत मान नहीं देता है, तो Zoo इतनी पंक्तियाँ पढ़ता है। यदि यह संख्या फ़ाइल की कुल पंक्तियों से कम है, तो Zoo कोड परिभाषाओं का पंक्ति क्रमांक इंडेक्स बनाता है। विशेष मामले: -1 Zoo को पूरी फ़ाइल पढ़ने का निर्देश देता है (इंडेक्सिंग के बिना), और 0 कोई पंक्ति न पढ़ने और न्यूनतम संदर्भ के लिए केवल पंक्ति इंडेक्स प्रदान करने का निर्देश देता है। कम मान प्रारंभिक संदर्भ उपयोग को कम करते हैं, जो बाद में सटीक पंक्ति श्रेणी पढ़ने की अनुमति देता है। स्पष्ट प्रारंभ/अंत अनुरोध इस सेटिंग से सीमित नहीं हैं।",
+ "lines": "पंक्तियाँ",
+ "always_full_read": "हमेशा पूरी फ़ाइल पढ़ें"
+ },
+ "maxConcurrentFileReads": {
+ "label": "एक साथ फ़ाइल पढ़ने की सीमा",
+ "description": "'read_file' टूल द्वारा एक साथ प्रोसेस की जा सकने वाली अधिकतम फ़ाइलों की संख्या। उच्च मान कई छोटी फ़ाइलों को पढ़ने की गति बढ़ा सकते हैं लेकिन मेमोरी उपयोग बढ़ा देते हैं।"
}
},
"terminal": {
@@ -789,7 +860,8 @@
"description": "इनलाइन टर्मिनल सहित कमांड आउटपुट को संक्षिप्त दिखाएँ। ज़रूरत पड़ने पर इसे मैन्युअल रूप से फैलाएँ। इससे कमांड चलाने का तरीका नहीं बदलता।"
},
"basic": {
- "label": "टर्मिनल सेटिंग्स: मूल"
+ "label": "टर्मिनल सेटिंग्स: मूल",
+ "description": "मूल टर्मिनल सेटिंग्स"
},
"advanced": {
"label": "टर्मिनल सेटिंग्स: उन्नत",
@@ -846,6 +918,14 @@
"description": "डिफ़ॉल्ट रूप से Zoo Code VS Code में कॉन्फ़िगर की गई शेल का उपयोग करता है। VS Code द्वारा प्रदर्शित पथ-आधारित शेल प्रोफ़ाइल चुनने के लिए सूची से एक शेल प्रोफ़ाइल चुनें। केवल-स्रोत प्रोफ़ाइल (जैसे, अंतर्निर्मित PowerShell प्रविष्टि) यहाँ सूचीबद्ध नहीं किए जा सकते। <0>अधिक जानें0>",
"configureButton": "VS Code में डिफ़ॉल्ट प्रोफ़ाइल चुनें",
"noProfiles": "(terminal.integrated.profiles में कोई पथ-आधारित प्रोफ़ाइल नहीं मिली)"
+ },
+ "outputLineLimit": {
+ "label": "टर्मिनल आउटपुट सीमा",
+ "description": "सीमा के अंदर रहने के लिए पहली और आखिरी पंक्तियाँ रखता है और बीच वाली हटा देता है। token बचाने के लिए कम करें; Zoo को अधिक मध्य विवरण देने के लिए बढ़ाएं। Zoo उस स्थान पर प्लेसहोल्डर देखता है जहां सामग्री छोड़ी गई है।<0>अधिक जानें0>"
+ },
+ "outputCharacterLimit": {
+ "label": "टर्मिनल वर्ण सीमा",
+ "description": "मेमोरी समस्याओं को रोकने के लिए आउटपुट आकार पर कठोर सीमा लगाकर लाइन सीमा को ओवरराइड करता है। यदि पार हो जाती है, तो शुरुआत और अंत रखता है और Zoo को प्लेसहोल्डर दिखाता है जहां सामग्री छोड़ी गई है। <0>अधिक जानें0>"
}
},
"advancedSettings": {
@@ -855,6 +935,23 @@
"todoList": {
"label": "टूडू सूची टूल सक्षम करें",
"description": "जब सक्षम हो, तो Zoo कार्य प्रगति को ट्रैक करने के लिए टूडू सूचियाँ बना और प्रबंधित कर सकता है। यह जटिल कार्यों को प्रबंधनीय चरणों में व्यवस्थित करने में मदद करता है।"
+ },
+ "diff": {
+ "label": "diffs के माध्यम से संपादन सक्षम करें",
+ "description": "जब सक्षम होता है, Zoo फाइलों को तेजी से संपादित कर सकेगा और स्वचालित रूप से काटे गए पूर्ण-फाइल लेखन को अस्वीकार करेगा।",
+ "strategy": {
+ "label": "Diff रणनीति",
+ "options": {
+ "standard": "मानक (एकल ब्लॉक)",
+ "multiBlock": "प्रायोगिक: मल्टी-ब्लॉक diff",
+ "unified": "प्रायोगिक: एकीकृत diff"
+ },
+ "descriptions": {
+ "standard": "मानक diff रणनीति एक समय में एक कोड ब्लॉक पर परिवर्तन लागू करती है।",
+ "unified": "एकीकृत diff रणनीति diffs लागू करने के लिए कई दृष्टिकोण लेती है और सर्वोत्तम दृष्टिकोण चुनती है।",
+ "multiBlock": "मल्टी-ब्लॉक diff रणनीति एक अनुरोध में एक फाइल में कई कोड ब्लॉक अपडेट करने की अनुमति देती है।"
+ }
+ }
}
},
"experimental": {
@@ -993,7 +1090,8 @@
"reservedKeys": "अतिरिक्त बॉडी Zoo Code द्वारा प्रबंधित फ़ील्ड को ओवरराइड नहीं कर सकती: {{keys}}।"
},
"arn": {
- "regionMismatch": "चेतावनी: आपके ARN में क्षेत्र ({{arnRegion}}) आपके चयनित क्षेत्र ({{region}}) से मेल नहीं खाता। इससे पहुंच संबंधी समस्याएं हो सकती हैं। प्रदाता ARN से क्षेत्र का उपयोग करेगा।"
+ "regionMismatch": "चेतावनी: आपके ARN में क्षेत्र ({{arnRegion}}) आपके चयनित क्षेत्र ({{region}}) से मेल नहीं खाता। इससे पहुंच संबंधी समस्याएं हो सकती हैं। प्रदाता ARN से क्षेत्र का उपयोग करेगा।",
+ "invalidFormat": "अमान्य ARN प्रारूप। कृपया प्रारूप आवश्यकताएं जांचें।"
},
"modelAvailability": "आपके द्वारा प्रदान की गई मॉडल ID ({{modelId}}) उपलब्ध नहीं है। कृपया कोई अन्य मॉडल चुनें।",
"modelDeprecated": "यह मॉडल अब उपलब्ध नहीं है। कृपया कोई अन्य मॉडल चुनें।",
@@ -1020,6 +1118,11 @@
"inputPrice": "उदा. 0.0001",
"outputPrice": "उदा. 0.0002",
"cacheWritePrice": "उदा. 0.00005"
+ },
+ "modelId": {
+ "lmStudio": "उदा. meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "उदा. lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "उदा. llama3.1"
}
},
"defaults": {
@@ -1049,7 +1152,9 @@
"input": "इनपुट",
"output": "आउटपुट",
"cacheReads": "कैश रीड"
- }
+ },
+ "label": "सेवा स्तर",
+ "tooltip": "API अनुरोधों के तेज़ प्रसंस्करण के लिए, प्राथमिकता प्रसंस्करण सेवा स्तर का प्रयास करें। उच्च विलंबता के साथ कम कीमतों के लिए, फ्लेक्स प्रसंस्करण स्तर का प्रयास करें।"
},
"ui": {
"collapseThinking": {
@@ -1099,7 +1204,8 @@
"intro": "अपना संदर्भ हल्का रखने के लिए, हम अनुशंसा करते हैं कि Skill को केवल उन मोड के लिए उपलब्ध बनाएं जिन्हें इसकी आवश्यकता है।",
"anyMode": "कोई भी मोड (हर जगह उपलब्ध)",
"save": "सहेजें",
- "cancel": "रद्द करें"
+ "cancel": "रद्द करें",
+ "description": "चुनें कि कौन से मोड इस Skill का उपयोग कर सकते हैं"
},
"createDialog": {
"title": "नया Skill बनाएं",
@@ -1109,7 +1215,11 @@
"sourceLabel": "स्थान",
"modeLabel": "मोड (वैकल्पिक)",
"create": "बनाएं",
- "cancel": "रद्द करें"
+ "cancel": "रद्द करें",
+ "descriptionLabel": "विवरण",
+ "modePlaceholder": "कोई भी मोड",
+ "modeHint": "इस skill को किसी विशिष्ट मोड तक सीमित करें",
+ "modeAny": "कोई भी मोड"
},
"source": {
"global": "ग्लोबल (सभी प्रोजेक्ट्स में उपलब्ध)",
@@ -1122,7 +1232,13 @@
"descriptionRequired": "विवरण आवश्यक है",
"descriptionTooLong": "विवरण 1024 वर्णों से अधिक नहीं होना चाहिए"
},
- "footer": "Skill Writer मोड के साथ अपने स्वयं के Skills बनाएं, Modes Marketplace में उपलब्ध।"
+ "footer": "Skill Writer मोड के साथ अपने स्वयं के Skills बनाएं, Modes Marketplace में उपलब्ध।",
+ "modeAny": "कोई भी मोड",
+ "modeCount": "{{count}} मोड",
+ "diagnostics": {
+ "title": "कुछ skills लोड नहीं हो सके",
+ "description": "सूचीबद्ध SKILL.md फ़ाइलों में YAML frontmatter को ठीक करें, फिर इस पृष्ठ को फिर से खोलें या रिफ़्रेश करें।"
+ }
},
"language": {
"description": "भाषा और तारीख़/समय का प्रदर्शन।",
@@ -1159,5 +1275,12 @@
"relative": "5 मिनट पहले",
"hover": "(होवर: {{value}})"
}
- }
+ },
+ "promptCaching": {
+ "label": "प्रॉम्प्ट कैशिंग अक्षम करें",
+ "description": "जब चेक किया जाता है, तो Zoo इस मॉडल के लिए प्रॉम्प्ट कैशिंग का उपयोग नहीं करेगा।"
+ },
+ "limitMaxTokensDescription": "प्रतिक्रिया में टोकन की अधिकतम संख्या सीमित करें",
+ "maxOutputTokensLabel": "अधिकतम आउटपुट टोकन",
+ "maxTokensGenerateDescription": "प्रतिक्रिया में उत्पन्न करने के लिए अधिकतम टोकन"
}
diff --git a/webview-ui/src/i18n/locales/id/settings.json b/webview-ui/src/i18n/locales/id/settings.json
index 060629cfb9..8c3d690b22 100644
--- a/webview-ui/src/i18n/locales/id/settings.json
+++ b/webview-ui/src/i18n/locales/id/settings.json
@@ -6,7 +6,8 @@
"cancel": "Batal",
"select": "Pilih",
"add": "Tambah Header",
- "remove": "Hapus"
+ "remove": "Hapus",
+ "reset": "Reset"
},
"search": {
"placeholder": "Cari pengaturan...",
@@ -247,7 +248,9 @@
"bedrockRegionRequired": "Wilayah AWS diperlukan",
"ollamaBaseUrlRequired": "URL dasar Ollama diperlukan",
"baseUrlRequired": "URL dasar diperlukan",
- "openRouterApiKeyRequired": "Kunci API OpenRouter diperlukan"
+ "openRouterApiKeyRequired": "Kunci API OpenRouter diperlukan",
+ "bedrockProfileRequired": "Profil AWS diperlukan",
+ "modelDimensionMinValue": "Dimensi model harus lebih besar dari 0"
},
"optional": "opsional",
"advancedConfigLabel": "Konfigurasi Lanjutan",
@@ -261,7 +264,21 @@
"workspaceToggleLabel": "Aktifkan pengindeksan untuk ruang kerja ini",
"workspaceDisabledMessage": "Pengindeksan dikonfigurasi tetapi tidak diaktifkan untuk ruang kerja ini.",
"autoEnableDefaultLabel": "Aktifkan pengindeksan secara otomatis untuk ruang kerja baru",
- "sembleProvider": "Semble - Lokal"
+ "sembleProvider": "Semble - Lokal",
+ "providerLabel": "Provider Embeddings",
+ "selectProviderPlaceholder": "Pilih provider",
+ "openAiCompatibleModelDimensionLabel": "Dimensi Embedding:",
+ "openAiCompatibleModelDimensionPlaceholder": "misalnya, 1536",
+ "openAiCompatibleModelDimensionDescription": "Dimensi embedding (ukuran output) untuk model kamu. Periksa dokumentasi provider kamu untuk nilai ini. Nilai umum: 384, 768, 1536, 3072.",
+ "selectModelPlaceholder": "Pilih model",
+ "ollamaUrlLabel": "Ollama URL:",
+ "qdrantKeyLabel": "Qdrant Key:",
+ "unsavedSettingsMessage": "Silakan simpan pengaturan kamu sebelum memulai proses pengindeksan.",
+ "settingsTitle": "Pengaturan Pengindeksan",
+ "disabledMessage": "Pengindeksan codebase saat ini dinonaktifkan. Aktifkan di pengaturan global untuk mengkonfigurasi opsi pengindeksan.",
+ "saveSuccess": "Pengaturan berhasil disimpan",
+ "close": "Tutup",
+ "searchMinScoreResetTooltip": "Reset ke nilai default (0.4)"
},
"autoApprove": {
"toggleShortcut": "Anda dapat mengonfigurasi pintasan global untuk pengaturan ini di preferensi IDE Anda .",
@@ -286,7 +303,8 @@
"protected": {
"label": "Sertakan file yang dilindungi",
"description": "Izinkan Zoo membuat dan mengedit file yang dilindungi (seperti .rooignore dan file konfigurasi .roo/) tanpa memerlukan persetujuan."
- }
+ },
+ "delayLabel": "Delay setelah menulis untuk memungkinkan diagnostik mendeteksi masalah potensial"
},
"allowlists": {
"label": "Daftar izin",
@@ -336,7 +354,8 @@
"deniedCommandsDescription": "Prefix perintah yang akan ditolak secara otomatis tanpa memerlukan persetujuan. Dalam kasus konflik dengan perintah yang diizinkan, pencocokan prefix terpanjang diprioritaskan. Tambahkan * untuk menolak semua perintah.",
"commandPlaceholder": "Masukkan prefix perintah (misalnya, 'git ')",
"deniedCommandPlaceholder": "Masukkan prefix perintah untuk ditolak (misalnya, 'rm -rf')",
- "addButton": "Tambah"
+ "addButton": "Tambah",
+ "autoDenied": "Perintah dengan awalan `{{prefix}}` telah dilarang oleh pengguna. Jangan menghindari pembatasan ini dengan menjalankan perintah lain."
},
"apiRequestLimit": {
"title": "Permintaan Maks",
@@ -348,7 +367,9 @@
},
"maxLimits": {
"description": "Secara otomatis membuat permintaan hingga batas ini sebelum meminta persetujuan untuk melanjutkan."
- }
+ },
+ "disabledAriaLabel": "Persetujuan otomatis dinonaktifkan - pilih opsi terlebih dahulu",
+ "selectOptionsFirst": "Pilih setidaknya satu opsi di bawah ini untuk mengaktifkan persetujuan otomatis"
},
"providers": {
"configProfile": "Profil Konfigurasi",
@@ -459,7 +480,8 @@
"label": "Refresh Model",
"loading": "Merefresh daftar model...",
"success": "Daftar model berhasil direfresh!",
- "error": "Gagal merefresh daftar model. Silakan coba lagi."
+ "error": "Gagal merefresh daftar model. Silakan coba lagi.",
+ "hint": "Silakan buka kembali pengaturan untuk melihat model terbaru."
},
"getRequestyApiKey": "Dapatkan Requesty API Key",
"getRequestyBaseUrl": "Base URL",
@@ -588,7 +610,10 @@
"speculativeDecoding": "Aktifkan Speculative Decoding",
"draftModelId": "Draft Model ID",
"draftModelDesc": "Draft model harus dari keluarga model yang sama agar speculative decoding bekerja dengan benar.",
- "description": "LM Studio memungkinkan kamu menjalankan model secara lokal di komputer. Untuk instruksi cara memulai, lihat panduan quickstart mereka. Kamu juga perlu memulai fitur local server LM Studio untuk menggunakannya dengan ekstensi ini. Catatan: Zoo Code menggunakan prompt kompleks dan bekerja terbaik dengan model Claude. Model yang kurang mampu mungkin tidak bekerja seperti yang diharapkan."
+ "description": "LM Studio memungkinkan kamu menjalankan model secara lokal di komputer. Untuk instruksi cara memulai, lihat panduan quickstart mereka. Kamu juga perlu memulai fitur local server LM Studio untuk menggunakannya dengan ekstensi ini. Catatan: Zoo Code menggunakan prompt kompleks dan bekerja terbaik dengan model Claude. Model yang kurang mampu mungkin tidak bekerja seperti yang diharapkan.",
+ "modelId": "Model ID",
+ "selectDraftModel": "Pilih Draft Model",
+ "noModelsFound": "Tidak ada draft model ditemukan. Pastikan LM Studio berjalan dengan Server Mode diaktifkan."
},
"ollama": {
"baseUrl": "Base URL (opsional)",
@@ -599,7 +624,8 @@
"thinking": "Aktifkan Thinking",
"thinkingHelp": "Aktifkan thinking native Ollama untuk model reasoning (mis. qwen3, deepseek-r1). Saat diaktifkan, reasoning model dialirkan dan ditampilkan secara terpisah. Model yang tidak didukung akan mengabaikan pengaturan ini.",
"description": "Ollama memungkinkan kamu menjalankan model secara lokal di komputer. Untuk instruksi cara memulai, lihat panduan quickstart mereka.",
- "warning": "Catatan: Zoo Code menggunakan prompt kompleks dan bekerja terbaik dengan model Claude. Model yang kurang mampu mungkin tidak bekerja seperti yang diharapkan."
+ "warning": "Catatan: Zoo Code menggunakan prompt kompleks dan bekerja terbaik dengan model Claude. Model yang kurang mampu mungkin tidak bekerja seperti yang diharapkan.",
+ "modelId": "Model ID"
},
"openRouter": {
"providerRouting": {
@@ -644,7 +670,11 @@
"description": "Biaya per juta token untuk menulis ke cache. Ini adalah harga yang dikenakan ketika prompt di-cache untuk pertama kalinya."
}
},
- "resetDefaults": "Reset ke Default"
+ "resetDefaults": "Reset ke Default",
+ "computerUse": {
+ "label": "Computer Use",
+ "description": "Apakah model ini mampu berinteraksi dengan browser?"
+ }
},
"rateLimitSeconds": {
"label": "Rate limit",
@@ -684,6 +714,19 @@
"signInDescription": "Masuk untuk menggunakan Zoo Gateway dengan akun Anda",
"authenticated": "Terautentikasi",
"authenticatedAs": "Terautentikasi sebagai {{name}}"
+ },
+ "providerDocumentation": "Dokumentasi {{provider}}",
+ "model": "Model",
+ "useHostHeader": "Gunakan Host header kustom",
+ "awsServiceTierStandardDesc": "Performa dan biaya yang seimbang",
+ "awsServiceTierFlexDesc": "Biaya lebih rendah, latensi lebih tinggi untuk tugas non-kritikal",
+ "awsServiceTierPriorityDesc": "Performa tercepat untuk aplikasi mission-critical",
+ "claudeCode": {
+ "pathLabel": "Jalur Kode Claude",
+ "description": "Jalur opsional ke Claude Code CLI Anda. Defaultnya adalah 'claude' jika tidak diatur.",
+ "placeholder": "Default: claude",
+ "maxTokensLabel": "Token Output Maks",
+ "maxTokensDescription": "Jumlah maksimum token output untuk respons Claude Code. Default adalah 8000."
}
},
"checkpoints": {
@@ -711,7 +754,8 @@
"contextManagement": {
"description": "Kontrol informasi apa yang disertakan dalam context window AI, mempengaruhi penggunaan token dan kualitas respons",
"autoCondenseContext": {
- "name": "Secara otomatis memicu kondensasi konteks cerdas"
+ "name": "Secara otomatis memicu kondensasi konteks cerdas",
+ "description": "Ketika diaktifkan, Zoo akan secara otomatis mengondensasi konteks ketika ambang batas tercapai. Ketika dinonaktifkan, kamu masih dapat memicu kondensasi konteks secara manual."
},
"diagnostics": {
"includeMessages": {
@@ -741,7 +785,8 @@
"defaultProfile": "Default Global (semua profil)",
"defaultDescription": "Ketika konteks mencapai persentase ini, akan secara otomatis dikondensasi untuk semua profil kecuali mereka memiliki pengaturan kustom",
"profileDescription": "Ambang batas kustom untuk profil ini saja (menimpa default global)",
- "usesGlobal": "(menggunakan global {{threshold}}%)"
+ "usesGlobal": "(menggunakan global {{threshold}}%)",
+ "inheritDescription": "Profil ini mewarisi ambang batas default global ({{threshold}}%)"
},
"openTabs": {
"label": "Batas konteks tab terbuka",
@@ -780,6 +825,32 @@
"enableSubfolderRules": {
"label": "Aktifkan aturan subfolder",
"description": "Temukan dan muat file .roo/rules dan AGENTS.md secara rekursif dari subdirektori. Berguna untuk monorepo dengan aturan per-paket."
+ },
+ "autoCondenseContextPercent": {
+ "label": "Ambang batas untuk memicu kondensasi konteks cerdas",
+ "description": "Ketika context window mencapai ambang batas ini, Zoo akan secara otomatis mengondensasikannya."
+ },
+ "condensingApiConfiguration": {
+ "label": "Konfigurasi API untuk Kondensasi Konteks",
+ "description": "Pilih konfigurasi API mana yang akan digunakan untuk operasi kondensasi konteks. Biarkan tidak dipilih untuk menggunakan konfigurasi aktif saat ini.",
+ "useCurrentConfig": "Default"
+ },
+ "customCondensingPrompt": {
+ "label": "Prompt Kondensasi Konteks Kustom",
+ "description": "Kustomisasi system prompt yang digunakan untuk kondensasi konteks. Biarkan kosong untuk menggunakan prompt default.",
+ "placeholder": "Masukkan prompt kondensasi kustom kamu di sini...\n\nKamu dapat menggunakan struktur yang sama dengan prompt default:\n- Previous Conversation\n- Current Work\n- Key Technical Concepts\n- Relevant Files and Code\n- Problem Solving\n- Pending Tasks and Next Steps",
+ "reset": "Reset ke Default",
+ "hint": "Kosong = gunakan prompt default"
+ },
+ "maxConcurrentFileReads": {
+ "label": "Batas pembacaan file bersamaan",
+ "description": "Jumlah maksimum file yang dapat diproses oleh tool 'read_file' secara bersamaan. Nilai yang lebih tinggi dapat mempercepat pembacaan beberapa file kecil tetapi meningkatkan penggunaan memori."
+ },
+ "maxReadFile": {
+ "label": "Ambang batas auto-truncate pembacaan file",
+ "description": "Zoo membaca sejumlah baris ini ketika model menghilangkan nilai start/end. Jika angka ini kurang dari total file, Zoo menghasilkan indeks nomor baris dari definisi kode. Kasus khusus: -1 menginstruksikan Zoo untuk membaca seluruh file (tanpa indexing), dan 0 menginstruksikannya untuk tidak membaca baris dan hanya menyediakan indeks baris untuk konteks minimal. Nilai yang lebih rendah meminimalkan penggunaan konteks awal, memungkinkan pembacaan rentang baris yang tepat selanjutnya. Permintaan start/end eksplisit tidak dibatasi oleh pengaturan ini.",
+ "lines": "baris",
+ "always_full_read": "Selalu baca seluruh file"
}
},
"terminal": {
@@ -788,7 +859,8 @@
"description": "Tampilkan keluaran perintah dalam keadaan diciutkan, termasuk terminal inline. Perluas secara manual bila diperlukan. Cara perintah dijalankan tidak berubah."
},
"basic": {
- "label": "Pengaturan Terminal: Dasar"
+ "label": "Pengaturan Terminal: Dasar",
+ "description": "Pengaturan terminal dasar"
},
"advanced": {
"label": "Pengaturan Terminal: Lanjutan",
@@ -845,6 +917,14 @@
"description": "Secara default Zoo Code menggunakan shell yang dikonfigurasi VS Code. Pilih profil shell dari daftar untuk memilih profil shell berbasis jalur yang diekspos oleh VS Code. Profil hanya sumber (mis., entri PowerShell bawaan) tidak dapat tercantum di sini. <0>Pelajari lebih lanjut0>",
"configureButton": "Pilih profil default di VS Code",
"noProfiles": "(tidak ada profil berbasis jalur di terminal.integrated.profiles)"
+ },
+ "outputLineLimit": {
+ "label": "Batas keluaran terminal",
+ "description": "Menyimpan baris pertama dan terakhir dan membuang yang tengah agar tetap di bawah batas. Turunkan untuk menghemat token; naikkan untuk memberi Zoo lebih banyak detail tengah. Zoo melihat placeholder di mana konten dilewati.<0>Pelajari lebih lanjut0>"
+ },
+ "outputCharacterLimit": {
+ "label": "Batas karakter terminal",
+ "description": "Override batas baris untuk mencegah masalah memori dengan memberlakukan cap keras pada ukuran output. Jika terlampaui, simpan awal dan akhir lalu tampilkan placeholder ke Zoo di mana konten dilewati. <0>Pelajari lebih lanjut0>"
}
},
"advancedSettings": {
@@ -854,6 +934,23 @@
"todoList": {
"label": "Aktifkan alat daftar tugas",
"description": "Saat diaktifkan, Zoo dapat membuat dan mengelola daftar tugas untuk melacak kemajuan tugas. Ini membantu mengatur tugas kompleks menjadi langkah-langkah yang dapat dikelola."
+ },
+ "diff": {
+ "label": "Aktifkan editing melalui diff",
+ "description": "Ketika diaktifkan, Zoo akan dapat mengedit file lebih cepat dan akan secara otomatis menolak penulisan file penuh yang terpotong",
+ "strategy": {
+ "label": "Strategi diff",
+ "options": {
+ "standard": "Standard (Single block)",
+ "multiBlock": "Eksperimental: Multi-block diff",
+ "unified": "Eksperimental: Unified diff"
+ },
+ "descriptions": {
+ "standard": "Strategi diff standard menerapkan perubahan ke satu blok kode pada satu waktu.",
+ "unified": "Strategi unified diff mengambil beberapa pendekatan untuk menerapkan diff dan memilih pendekatan terbaik.",
+ "multiBlock": "Strategi multi-block diff memungkinkan memperbarui beberapa blok kode dalam file dalam satu permintaan."
+ }
+ }
}
},
"experimental": {
@@ -991,7 +1088,8 @@
"reservedKeys": "Body Tambahan tidak dapat menimpa field yang dikelola Zoo Code: {{keys}}."
},
"arn": {
- "regionMismatch": "Peringatan: Region di ARN kamu ({{arnRegion}}) tidak cocok dengan region yang kamu pilih ({{region}}). Ini dapat menyebabkan masalah akses. Provider akan menggunakan region dari ARN."
+ "regionMismatch": "Peringatan: Region di ARN kamu ({{arnRegion}}) tidak cocok dengan region yang kamu pilih ({{region}}). Ini dapat menyebabkan masalah akses. Provider akan menggunakan region dari ARN.",
+ "invalidFormat": "Format ARN tidak valid. Silakan periksa persyaratan format."
},
"modelAvailability": "Model ID ({{modelId}}) yang kamu berikan tidak tersedia. Silakan pilih model yang berbeda.",
"modelDeprecated": "Model ini tidak lagi tersedia. Silakan pilih model yang berbeda.",
@@ -1018,6 +1116,11 @@
"inputPrice": "misalnya 0.0001",
"outputPrice": "misalnya 0.0002",
"cacheWritePrice": "misalnya 0.00005"
+ },
+ "modelId": {
+ "lmStudio": "misalnya meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "misalnya lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "misalnya llama3.1"
}
},
"defaults": {
@@ -1047,7 +1150,9 @@
"input": "Input",
"output": "Output",
"cacheReads": "Pembacaan cache"
- }
+ },
+ "label": "Tingkat layanan",
+ "tooltip": "Untuk pemrosesan permintaan API yang lebih cepat, coba tingkat layanan pemrosesan prioritas. Untuk harga lebih rendah dengan latensi lebih tinggi, coba tingkat pemrosesan fleksibel."
},
"ui": {
"collapseThinking": {
@@ -1097,7 +1202,8 @@
"intro": "Untuk menjaga konteks Anda tetap ringan, kami merekomendasikan hanya membuat skills tersedia untuk mode yang membutuhkannya.",
"anyMode": "Mode apa pun (tersedia di mana-mana)",
"save": "Simpan",
- "cancel": "Batal"
+ "cancel": "Batal",
+ "description": "Pilih mode mana yang dapat menggunakan skill ini"
},
"createDialog": {
"title": "Buat Skill Baru",
@@ -1107,7 +1213,11 @@
"sourceLabel": "Lokasi",
"modeLabel": "Mode (opsional)",
"create": "Buat",
- "cancel": "Batal"
+ "cancel": "Batal",
+ "descriptionLabel": "Deskripsi",
+ "modePlaceholder": "Mode apa saja",
+ "modeHint": "Batasi skill ini ke mode tertentu",
+ "modeAny": "Mode apa saja"
},
"source": {
"global": "Global (tersedia di semua proyek)",
@@ -1120,7 +1230,13 @@
"descriptionRequired": "Deskripsi diperlukan",
"descriptionTooLong": "Deskripsi harus 1024 karakter atau kurang"
},
- "footer": "Buat skills Anda sendiri dengan mode Skill Writer, tersedia di Modes Marketplace ."
+ "footer": "Buat skills Anda sendiri dengan mode Skill Writer, tersedia di Modes Marketplace .",
+ "modeAny": "Mode apa saja",
+ "modeCount": "{{count}} mode",
+ "diagnostics": {
+ "title": "Beberapa skill tidak dapat dimuat",
+ "description": "Perbaiki frontmatter YAML di file SKILL.md yang tercantum, lalu buka ulang atau muat ulang halaman ini."
+ }
},
"language": {
"description": "Bahasa dan tampilan tanggal/waktu.",
@@ -1157,5 +1273,12 @@
"relative": "5 menit lalu",
"hover": "(arahkan kursor: {{value}})"
}
- }
+ },
+ "promptCaching": {
+ "label": "Nonaktifkan prompt caching",
+ "description": "Ketika dicentang, Zoo tidak akan menggunakan prompt caching untuk model ini."
+ },
+ "limitMaxTokensDescription": "Batasi jumlah maksimum token dalam respons",
+ "maxOutputTokensLabel": "Token output maksimum",
+ "maxTokensGenerateDescription": "Token maksimum untuk dihasilkan dalam respons"
}
diff --git a/webview-ui/src/i18n/locales/it/settings.json b/webview-ui/src/i18n/locales/it/settings.json
index 4c8cc0fbec..4cc552d8be 100644
--- a/webview-ui/src/i18n/locales/it/settings.json
+++ b/webview-ui/src/i18n/locales/it/settings.json
@@ -6,7 +6,8 @@
"cancel": "Annulla",
"select": "Seleziona",
"add": "Aggiungi intestazione",
- "remove": "Rimuovi"
+ "remove": "Rimuovi",
+ "reset": "Ripristina"
},
"search": {
"placeholder": "Cerca impostazioni...",
@@ -249,7 +250,9 @@
"bedrockRegionRequired": "La regione AWS è richiesta",
"ollamaBaseUrlRequired": "È richiesto l'URL di base di Ollama",
"baseUrlRequired": "È richiesto l'URL di base",
- "openRouterApiKeyRequired": "Chiave API OpenRouter è richiesta"
+ "openRouterApiKeyRequired": "Chiave API OpenRouter è richiesta",
+ "bedrockProfileRequired": "Il profilo AWS è richiesto",
+ "modelDimensionMinValue": "La dimensione del modello deve essere maggiore di 0"
},
"optional": "opzionale",
"advancedConfigLabel": "Configurazione avanzata",
@@ -263,7 +266,21 @@
"workspaceToggleLabel": "Abilita l'indicizzazione per questo workspace",
"workspaceDisabledMessage": "L'indicizzazione è configurata ma non abilitata per questo workspace.",
"autoEnableDefaultLabel": "Abilita automaticamente l'indicizzazione per i nuovi workspace",
- "sembleProvider": "Semble - Locale"
+ "sembleProvider": "Semble - Locale",
+ "providerLabel": "Fornitore di embedding",
+ "selectProviderPlaceholder": "Seleziona fornitore",
+ "openAiCompatibleModelDimensionLabel": "Dimensione Embedding:",
+ "openAiCompatibleModelDimensionPlaceholder": "es., 1536",
+ "openAiCompatibleModelDimensionDescription": "La dimensione dell'embedding (dimensione di output) per il tuo modello. Controlla la documentazione del tuo provider per questo valore. Valori comuni: 384, 768, 1536, 3072.",
+ "selectModelPlaceholder": "Seleziona modello",
+ "ollamaUrlLabel": "URL Ollama:",
+ "qdrantKeyLabel": "Chiave Qdrant:",
+ "unsavedSettingsMessage": "Per favore salva le tue impostazioni prima di avviare il processo di indicizzazione.",
+ "settingsTitle": "Impostazioni di indicizzazione",
+ "disabledMessage": "L'indicizzazione del codebase è attualmente disabilitata. Abilitala nelle impostazioni globali per configurare le opzioni di indicizzazione.",
+ "saveSuccess": "Impostazioni salvate con successo",
+ "close": "Chiudi",
+ "searchMinScoreResetTooltip": "Ripristina al valore predefinito (0.4)"
},
"autoApprove": {
"toggleShortcut": "Puoi configurare una scorciatoia globale per questa impostazione nelle preferenze del tuo IDE .",
@@ -288,7 +305,8 @@
"protected": {
"label": "Includi file protetti",
"description": "Permetti a Zoo di creare e modificare file protetti (come .rooignore e file di configurazione .roo/) senza richiedere approvazione."
- }
+ },
+ "delayLabel": "Ritardo dopo le scritture per consentire alla diagnostica di rilevare potenziali problemi"
},
"allowlists": {
"label": "Liste di autorizzazione",
@@ -338,7 +356,8 @@
"deniedCommandsDescription": "Prefissi di comandi che verranno automaticamente negati senza richiedere approvazione. In caso di conflitti con comandi consentiti, la corrispondenza del prefisso più lungo ha la precedenza. Aggiungi * per negare tutti i comandi.",
"commandPlaceholder": "Inserisci prefisso comando (es. 'git ')",
"deniedCommandPlaceholder": "Inserisci prefisso comando da negare (es. 'rm -rf')",
- "addButton": "Aggiungi"
+ "addButton": "Aggiungi",
+ "autoDenied": "I comandi con il prefisso `{{prefix}}` sono stati vietati dall'utente. Non aggirare questa restrizione eseguendo un altro comando."
},
"apiRequestLimit": {
"title": "Richieste massime",
@@ -350,7 +369,9 @@
},
"maxLimits": {
"description": "Esegui automaticamente richieste fino a questi limiti prima di chiedere l'approvazione per continuare."
- }
+ },
+ "disabledAriaLabel": "Approvazione automatica disabilitata - seleziona prima le opzioni",
+ "selectOptionsFirst": "Seleziona almeno un'opzione qui sotto per abilitare l'approvazione automatica"
},
"providers": {
"configProfile": "Profilo di configurazione",
@@ -461,7 +482,8 @@
"label": "Aggiorna modelli",
"loading": "Aggiornamento dell'elenco dei modelli...",
"success": "Elenco dei modelli aggiornato con successo!",
- "error": "Impossibile aggiornare l'elenco dei modelli. Riprova."
+ "error": "Impossibile aggiornare l'elenco dei modelli. Riprova.",
+ "hint": "Riapri le impostazioni per vedere i modelli più recenti."
},
"getRequestyApiKey": "Ottieni chiave API Requesty",
"getRequestyBaseUrl": "URL base",
@@ -590,7 +612,10 @@
"speculativeDecoding": "Abilita decodifica speculativa",
"draftModelId": "ID modello bozza",
"draftModelDesc": "Per un corretto funzionamento della decodifica speculativa, il modello bozza deve provenire dalla stessa famiglia di modelli.",
- "description": "LM Studio ti permette di eseguire modelli localmente sul tuo computer. Per iniziare, consulta la loro guida rapida . Dovrai anche avviare la funzionalità server locale di LM Studio per utilizzarlo con questa estensione. Nota: Zoo Code utilizza prompt complessi e funziona meglio con i modelli Claude. I modelli con capacità inferiori potrebbero non funzionare come previsto."
+ "description": "LM Studio ti permette di eseguire modelli localmente sul tuo computer. Per iniziare, consulta la loro guida rapida . Dovrai anche avviare la funzionalità server locale di LM Studio per utilizzarlo con questa estensione. Nota: Zoo Code utilizza prompt complessi e funziona meglio con i modelli Claude. I modelli con capacità inferiori potrebbero non funzionare come previsto.",
+ "modelId": "ID modello",
+ "selectDraftModel": "Seleziona modello bozza",
+ "noModelsFound": "Nessun modello bozza trovato. Assicurati che LM Studio sia in esecuzione con la modalità server abilitata."
},
"ollama": {
"baseUrl": "URL base (opzionale)",
@@ -601,7 +626,8 @@
"thinking": "Abilita ragionamento",
"thinkingHelp": "Abilita il ragionamento nativo di Ollama per i modelli di ragionamento (es. qwen3, deepseek-r1). Quando abilitato, il ragionamento del modello viene trasmesso e mostrato separatamente. I modelli non supportati ignoreranno questa impostazione.",
"description": "Ollama ti permette di eseguire modelli localmente sul tuo computer. Per iniziare, consulta la guida rapida.",
- "warning": "Nota: Zoo Code utiliza prompt complessi e funziona meglio con i modelli Claude. I modelli con capacità inferiori potrebbero non funzionare come previsto."
+ "warning": "Nota: Zoo Code utiliza prompt complessi e funziona meglio con i modelli Claude. I modelli con capacità inferiori potrebbero non funzionare come previsto.",
+ "modelId": "ID modello"
},
"openRouter": {
"providerRouting": {
@@ -646,7 +672,11 @@
"description": "Costo per milione di token per scrivere nella cache. Questo prezzo viene applicato quando si memorizza un prompt nella cache per la prima volta."
}
},
- "resetDefaults": "Ripristina valori predefiniti"
+ "resetDefaults": "Ripristina valori predefiniti",
+ "computerUse": {
+ "label": "Uso del computer",
+ "description": "Il modello è in grado di interagire con il browser?"
+ }
},
"rateLimitSeconds": {
"label": "Limite di frequenza",
@@ -686,6 +716,19 @@
"signInDescription": "Accedi per utilizzare Zoo Gateway con il tuo account",
"authenticated": "Autenticato",
"authenticatedAs": "Autenticato come {{name}}"
+ },
+ "providerDocumentation": "Documentazione {{provider}}",
+ "model": "Modello",
+ "useHostHeader": "Usa intestazione Host personalizzata",
+ "awsServiceTierStandardDesc": "Prestazioni e costo equilibrati",
+ "awsServiceTierFlexDesc": "Costo inferiore, latenza più alta per attività non critiche",
+ "awsServiceTierPriorityDesc": "Prestazioni più veloci per applicazioni mission-critical",
+ "claudeCode": {
+ "pathLabel": "Percorso Claude Code",
+ "description": "Percorso facoltativo per la tua CLI Claude Code. Predefinito 'claude' se non impostato.",
+ "placeholder": "Predefinito: claude",
+ "maxTokensLabel": "Token di output massimi",
+ "maxTokensDescription": "Numero massimo di token di output per le risposte di Claude Code. Il valore predefinito è 8000."
}
},
"checkpoints": {
@@ -713,7 +756,8 @@
"contextManagement": {
"description": "Controlla quali informazioni sono incluse nella finestra di contesto dell'IA, influenzando l'utilizzo di token e la qualità delle risposte",
"autoCondenseContext": {
- "name": "Attiva automaticamente la condensazione intelligente del contesto"
+ "name": "Attiva automaticamente la condensazione intelligente del contesto",
+ "description": "Quando abilitato, Zoo condenserà automaticamente il contesto quando viene raggiunta la soglia. Quando disabilitato, puoi ancora attivare manualmente la condensazione del contesto."
},
"openTabs": {
"label": "Limite contesto schede aperte",
@@ -755,7 +799,8 @@
"defaultProfile": "Predefinito globale (tutti i profili)",
"defaultDescription": "Quando il contesto raggiunge questa percentuale, verrà automaticamente condensato per tutti i profili a meno che non abbiano impostazioni personalizzate",
"profileDescription": "Soglia personalizzata solo per questo profilo (sovrascrive il predefinito globale)",
- "usesGlobal": "(usa globale {{threshold}}%)"
+ "usesGlobal": "(usa globale {{threshold}}%)",
+ "inheritDescription": "Questo profilo eredita la soglia predefinita globale ({{threshold}}%)"
},
"maxImageFileSize": {
"label": "Dimensione massima file immagine",
@@ -782,6 +827,32 @@
"enableSubfolderRules": {
"label": "Abilita regole sottocartelle",
"description": "Scopri e carica ricorsivamente i file .roo/rules e AGENTS.md dalle sottodirectory. Utile per i monorepo con regole per pacchetto."
+ },
+ "autoCondenseContextPercent": {
+ "label": "Soglia per attivare la condensazione intelligente del contesto",
+ "description": "Quando la finestra di contesto raggiunge questa soglia, Zoo la condenserà automaticamente."
+ },
+ "condensingApiConfiguration": {
+ "label": "Configurazione API per la condensazione del contesto",
+ "description": "Seleziona quale configurazione API utilizzare per le operazioni di condensazione del contesto. Lascia deselezionato per utilizzare la configurazione attiva corrente.",
+ "useCurrentConfig": "Predefinito"
+ },
+ "customCondensingPrompt": {
+ "label": "Prompt personalizzato condensazione contesto",
+ "description": "Prompt di sistema personalizzato per la condensazione del contesto. Lascia vuoto per utilizzare il prompt predefinito.",
+ "placeholder": "Inserisci qui il tuo prompt di condensazione personalizzato...\n\nPuoi utilizzare la stessa struttura del prompt predefinito:\n- Conversazione precedente\n- Lavoro attuale\n- Concetti tecnici chiave\n- File e codice pertinenti\n- Risoluzione dei problemi\n- Attività in sospeso e prossimi passi",
+ "reset": "Ripristina predefinito",
+ "hint": "Vuoto = usa prompt predefinito"
+ },
+ "maxReadFile": {
+ "label": "Soglia di auto-troncamento lettura file",
+ "description": "Zoo legge questo numero di righe quando il modello omette i valori di inizio/fine. Se questo numero è inferiore al totale del file, Zoo genera un indice dei numeri di riga delle definizioni di codice. Casi speciali: -1 indica a Zoo di leggere l'intero file (senza indicizzazione), e 0 indica di non leggere righe e fornire solo indici di riga per un contesto minimo. Valori più bassi minimizzano l'utilizzo iniziale del contesto, permettendo successive letture precise di intervalli di righe. Le richieste con inizio/fine espliciti non sono limitate da questa impostazione.",
+ "lines": "righe",
+ "always_full_read": "Leggi sempre l'intero file"
+ },
+ "maxConcurrentFileReads": {
+ "label": "Limite letture simultanee",
+ "description": "Numero massimo di file che lo strumento 'read_file' può elaborare contemporaneamente. Valori più alti possono velocizzare la lettura di più file piccoli ma aumentano l'utilizzo della memoria."
}
},
"terminal": {
@@ -790,7 +861,8 @@
"description": "Mostra compresso l’output dei comandi, incluso quello del terminale inline. Espandilo manualmente quando necessario. L’esecuzione dei comandi non cambia."
},
"basic": {
- "label": "Impostazioni terminale: Base"
+ "label": "Impostazioni terminale: Base",
+ "description": "Impostazioni base del terminale"
},
"advanced": {
"label": "Impostazioni terminale: Avanzate",
@@ -847,6 +919,14 @@
"description": "Per impostazione predefinita Zoo Code usa la shell configurata in VS Code. Seleziona un profilo shell dall'elenco per scegliere un profilo shell con percorso esposto da VS Code. I profili solo sorgente (es. la voce PowerShell integrata) non possono essere elencati qui. <0>Ulteriori informazioni0>",
"configureButton": "Scegli il profilo predefinito in VS Code",
"noProfiles": "(nessun profilo con percorso trovato in terminal.integrated.profiles)"
+ },
+ "outputLineLimit": {
+ "label": "Limite output terminale",
+ "description": "Mantiene le prime e ultime righe e scarta quelle centrali per rimanere sotto il limite. Abbassa per risparmiare token; alza per dare a Zoo più dettagli centrali. Zoo vede un segnaposto dove il contenuto viene saltato.<0>Scopri di più0>"
+ },
+ "outputCharacterLimit": {
+ "label": "Limite caratteri terminale",
+ "description": "Sovrascrive il limite di righe per prevenire problemi di memoria imponendo un limite rigido alla dimensione di output. Se superato, mantiene l'inizio e la fine e mostra un segnaposto a Zoo dove il contenuto viene saltato. <0>Scopri di più0>"
}
},
"advancedSettings": {
@@ -856,6 +936,23 @@
"todoList": {
"label": "Abilita strumento lista di cose da fare",
"description": "Quando abilitato, Zoo può creare e gestire liste di cose da fare per tracciare il progresso delle attività. Questo aiuta a organizzare attività complesse in passaggi gestibili."
+ },
+ "diff": {
+ "label": "Abilita modifica tramite diff",
+ "description": "Quando abilitato, Zoo sarà in grado di modificare i file più velocemente e rifiuterà automaticamente scritture di file completi troncati",
+ "strategy": {
+ "label": "Strategia diff",
+ "options": {
+ "standard": "Standard (Blocco singolo)",
+ "multiBlock": "Sperimentale: Diff multi-blocco",
+ "unified": "Sperimentale: Diff unificato"
+ },
+ "descriptions": {
+ "standard": "La strategia diff standard applica modifiche a un singolo blocco di codice alla volta.",
+ "unified": "La strategia diff unificato adotta diversi approcci per applicare i diff e sceglie il migliore.",
+ "multiBlock": "La strategia diff multi-blocco consente di aggiornare più blocchi di codice in un file in una singola richiesta."
+ }
+ }
}
},
"experimental": {
@@ -995,7 +1092,8 @@
"reservedKeys": "Il corpo aggiuntivo non può sovrascrivere i campi gestiti da Zoo Code: {{keys}}."
},
"arn": {
- "regionMismatch": "Attenzione: La regione nel tuo ARN ({{arnRegion}}) non corrisponde alla regione selezionata ({{region}}). Questo potrebbe causare problemi di accesso. Il provider utilizzerà la regione dall'ARN."
+ "regionMismatch": "Attenzione: La regione nel tuo ARN ({{arnRegion}}) non corrisponde alla regione selezionata ({{region}}). Questo potrebbe causare problemi di accesso. Il provider utilizzerà la regione dall'ARN.",
+ "invalidFormat": "Formato ARN non valido. Verificare i requisiti del formato."
},
"modelAvailability": "L'ID modello ({{modelId}}) fornito non è disponibile. Seleziona un modello diverso.",
"modelDeprecated": "Questo modello non è più disponibile. Seleziona un modello diverso.",
@@ -1022,6 +1120,11 @@
"inputPrice": "es. 0.0001",
"outputPrice": "es. 0.0002",
"cacheWritePrice": "es. 0.00005"
+ },
+ "modelId": {
+ "lmStudio": "es. meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "es. lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "es. llama3.1"
}
},
"defaults": {
@@ -1051,7 +1154,9 @@
"input": "Input",
"output": "Output",
"cacheReads": "Letture cache"
- }
+ },
+ "label": "Livello di servizio",
+ "tooltip": "Per un'elaborazione più rapida delle richieste API, prova il livello di servizio di elaborazione prioritaria. Per prezzi più bassi con una latenza maggiore, prova il livello di elaborazione flessibile."
},
"ui": {
"collapseThinking": {
@@ -1101,7 +1206,8 @@
"intro": "Per mantenere il tuo contesto leggero, consigliamo di rendere le skills disponibili solo per le modalità che le richiedono.",
"anyMode": "Qualsiasi modalità (disponibile ovunque)",
"save": "Salva",
- "cancel": "Annulla"
+ "cancel": "Annulla",
+ "description": "Scegli quali modalità possono utilizzare questa skill"
},
"createDialog": {
"title": "Crea Nuova Skill",
@@ -1111,7 +1217,11 @@
"sourceLabel": "Posizione",
"modeLabel": "Modalità (opzionale)",
"create": "Crea",
- "cancel": "Annulla"
+ "cancel": "Annulla",
+ "descriptionLabel": "Descrizione",
+ "modePlaceholder": "Qualsiasi modalità",
+ "modeHint": "Limita questa skill a una modalità specifica",
+ "modeAny": "Qualsiasi modalità"
},
"source": {
"global": "Globale (disponibile in tutti i progetti)",
@@ -1124,7 +1234,13 @@
"descriptionRequired": "La descrizione è obbligatoria",
"descriptionTooLong": "La descrizione deve essere di massimo 1024 caratteri"
},
- "footer": "Crea le tue skill con la modalità Skill Writer, disponibile in Modes Marketplace ."
+ "footer": "Crea le tue skill con la modalità Skill Writer, disponibile in Modes Marketplace .",
+ "modeAny": "Qualsiasi modalità",
+ "modeCount": "{{count}} modalità",
+ "diagnostics": {
+ "title": "Impossibile caricare alcune skills",
+ "description": "Correggi il frontmatter YAML nei file SKILL.md elencati, quindi riapri o aggiorna questa pagina."
+ }
},
"language": {
"description": "Lingua e visualizzazione di data e ora.",
@@ -1161,5 +1277,12 @@
"relative": "5 min fa",
"hover": "(al passaggio del mouse: {{value}})"
}
- }
+ },
+ "promptCaching": {
+ "label": "Disattiva la cache dei prompt",
+ "description": "Quando selezionato, Zoo non utilizzerà la cache dei prompt per questo modello."
+ },
+ "limitMaxTokensDescription": "Limita il numero massimo di token nella risposta",
+ "maxOutputTokensLabel": "Token di output massimi",
+ "maxTokensGenerateDescription": "Token massimi da generare nella risposta"
}
diff --git a/webview-ui/src/i18n/locales/ja/settings.json b/webview-ui/src/i18n/locales/ja/settings.json
index 25e9c126aa..bb6b5bfb3c 100644
--- a/webview-ui/src/i18n/locales/ja/settings.json
+++ b/webview-ui/src/i18n/locales/ja/settings.json
@@ -6,7 +6,8 @@
"cancel": "キャンセル",
"select": "選択",
"add": "ヘッダーを追加",
- "remove": "削除"
+ "remove": "削除",
+ "reset": "リセット"
},
"search": {
"placeholder": "設定を検索...",
@@ -247,7 +248,9 @@
"bedrockRegionRequired": "AWS リージョンは必須です",
"ollamaBaseUrlRequired": "OllamaのベースURLが必要です",
"baseUrlRequired": "ベースURLが必要です",
- "openRouterApiKeyRequired": "OpenRouter APIキーが必要です"
+ "openRouterApiKeyRequired": "OpenRouter APIキーが必要です",
+ "bedrockProfileRequired": "AWS プロファイルは必須です",
+ "modelDimensionMinValue": "モデルの次元は0より大きくなければなりません"
},
"optional": "オプション",
"advancedConfigLabel": "詳細設定",
@@ -261,7 +264,21 @@
"workspaceToggleLabel": "このワークスペースのインデックス作成を有効にする",
"workspaceDisabledMessage": "インデックス作成は設定済みですが、このワークスペースでは有効になっていません。",
"autoEnableDefaultLabel": "新しいワークスペースのインデックス作成を自動的に有効にする",
- "sembleProvider": "Semble - ローカル"
+ "sembleProvider": "Semble - ローカル",
+ "providerLabel": "埋め込みプロバイダー",
+ "selectProviderPlaceholder": "プロバイダーを選択",
+ "openAiCompatibleModelDimensionLabel": "埋め込みディメンション:",
+ "openAiCompatibleModelDimensionPlaceholder": "例:1536",
+ "openAiCompatibleModelDimensionDescription": "モデルの埋め込みディメンション(出力サイズ)。この値についてはプロバイダーのドキュメントを確認してください。一般的な値:384、768、1536、3072。",
+ "selectModelPlaceholder": "モデルを選択",
+ "ollamaUrlLabel": "Ollama URL:",
+ "qdrantKeyLabel": "Qdrantキー:",
+ "unsavedSettingsMessage": "インデックス作成プロセスを開始する前に設定を保存してください。",
+ "settingsTitle": "インデックス設定",
+ "disabledMessage": "コードベースインデックスは現在無効になっています。グローバル設定で有効にしてインデックスオプションを構成してください。",
+ "saveSuccess": "設定が正常に保存されました",
+ "close": "閉じる",
+ "searchMinScoreResetTooltip": "デフォルト値(0.4)にリセット"
},
"autoApprove": {
"toggleShortcut": "IDEの環境設定 で、この設定のグローバルショートカットを設定できます。",
@@ -286,7 +303,8 @@
"protected": {
"label": "保護されたファイルを含める",
"description": "Zooが保護されたファイル(.rooignoreや.roo/設定ファイルなど)を承認なしで作成・編集することを許可します。"
- }
+ },
+ "delayLabel": "診断が潜在的な問題を検出できるよう、書き込み後に遅延を設ける"
},
"allowlists": {
"label": "許可リスト",
@@ -336,7 +354,8 @@
"deniedCommandsDescription": "承認を求めることなく自動的に拒否されるコマンドプレフィックス。許可されたコマンドとの競合がある場合、最長プレフィックスマッチが優先されます。すべてのコマンドを拒否するには * を追加します。",
"commandPlaceholder": "コマンドプレフィックスを入力(例:'git ')",
"deniedCommandPlaceholder": "拒否するコマンドプレフィックスを入力(例:'rm -rf')",
- "addButton": "追加"
+ "addButton": "追加",
+ "autoDenied": "プレフィックス `{{prefix}}` を持つコマンドはユーザーによって禁止されています。別のコマンドを実行してこの制限を回避しないでください。"
},
"apiRequestLimit": {
"title": "最大リクエスト数",
@@ -348,7 +367,9 @@
},
"maxLimits": {
"description": "これらの上限まで自動的にリクエストを行い、その後継続の承認を求めます。"
- }
+ },
+ "disabledAriaLabel": "自動承認が無効です - 最初にオプションを選択してください",
+ "selectOptionsFirst": "自動承認を有効にするには、以下のオプションを少なくとも1つ選択してください"
},
"providers": {
"configProfile": "設定プロファイル",
@@ -459,7 +480,8 @@
"label": "モデルを更新",
"loading": "モデルリストを更新中...",
"success": "モデルリストが正常に更新されました!",
- "error": "モデルリストの更新に失敗しました。もう一度お試しください。"
+ "error": "モデルリストの更新に失敗しました。もう一度お試しください。",
+ "hint": "最新のモデルを表示するには設定を再度開いてください。"
},
"getRequestyApiKey": "Requesty APIキーを取得",
"getRequestyBaseUrl": "ベースURL",
@@ -588,7 +610,10 @@
"speculativeDecoding": "推論デコーディングを有効化",
"draftModelId": "ドラフトモデルID",
"draftModelDesc": "推論デコーディングが正しく機能するには、ドラフトモデルは同じモデルファミリーから選択する必要があります。",
- "description": "LM Studioを使用すると、ローカルコンピューターでモデルを実行できます。始め方については、クイックスタートガイド をご覧ください。また、この拡張機能で使用するには、LM Studioのローカルサーバー 機能を起動する必要があります。注意: Zoo Codeは複雑なプロンプトを使用し、Claudeモデルで最適に動作します。能力の低いモデルは期待通りに動作しない場合があります。"
+ "description": "LM Studioを使用すると、ローカルコンピューターでモデルを実行できます。始め方については、クイックスタートガイド をご覧ください。また、この拡張機能で使用するには、LM Studioのローカルサーバー 機能を起動する必要があります。注意: Zoo Codeは複雑なプロンプトを使用し、Claudeモデルで最適に動作します。能力の低いモデルは期待通りに動作しない場合があります。",
+ "modelId": "モデルID",
+ "selectDraftModel": "ドラフトモデルを選択",
+ "noModelsFound": "ドラフトモデルが見つかりません。LM Studioがサーバーモードで実行されていることを確認してください。"
},
"ollama": {
"baseUrl": "ベースURL(オプション)",
@@ -599,7 +624,8 @@
"thinking": "思考を有効化",
"thinkingHelp": "推論モデル(例: qwen3、deepseek-r1)に対してOllamaのネイティブな思考を有効にします。有効にすると、モデルの推論が個別にストリーミングおよび表示されます。サポートされていないモデルはこの設定を無視します。",
"description": "Ollamaを使用すると、ローカルコンピューターでモデルを実行できます。始め方については、クイックスタートガイドをご覧ください。",
- "warning": "注意:Zoo Codeは複雑なプロンプトを使用し、Claudeモデルで最適に動作します。能力の低いモデルは期待通りに動作しない場合があります。"
+ "warning": "注意:Zoo Codeは複雑なプロンプトを使用し、Claudeモデルで最適に動作します。能力の低いモデルは期待通りに動作しない場合があります。",
+ "modelId": "モデルID"
},
"openRouter": {
"providerRouting": {
@@ -644,7 +670,11 @@
"description": "キャッシュへの書き込みの100万トークンあたりのコスト。これはプロンプトが初めてキャッシュされる際に課金される価格です。"
}
},
- "resetDefaults": "デフォルトにリセット"
+ "resetDefaults": "デフォルトにリセット",
+ "computerUse": {
+ "label": "コンピューター使用",
+ "description": "このモデルはブラウザとの対話が可能ですか?"
+ }
},
"rateLimitSeconds": {
"label": "レート制限",
@@ -684,6 +714,19 @@
"signInDescription": "Zoo Gateway をアカウントで使用するにはサインインしてください",
"authenticated": "認証済み",
"authenticatedAs": "{{name}} として認証済み"
+ },
+ "providerDocumentation": "{{provider}}のドキュメント",
+ "model": "モデル",
+ "useHostHeader": "カスタムHostヘッダーを使用",
+ "awsServiceTierStandardDesc": "バランスの取れたパフォーマンスとコスト",
+ "awsServiceTierFlexDesc": "低コスト、非クリティカルなタスクのレイテンシが高い",
+ "awsServiceTierPriorityDesc": "ミッションクリティカルなアプリケーション向けの最速パフォーマンス",
+ "claudeCode": {
+ "pathLabel": "クロードコードパス",
+ "description": "Claude Code CLIへのオプションパス。設定されていない場合、デフォルトは「claude」です。",
+ "placeholder": "デフォルト:claude",
+ "maxTokensLabel": "最大出力トークン",
+ "maxTokensDescription": "Claude Codeレスポンスの最大出力トークン数。デフォルトは8000です。"
}
},
"checkpoints": {
@@ -711,7 +754,8 @@
"contextManagement": {
"description": "AIのコンテキストウィンドウに含まれる情報を制御し、token使用量とレスポンスの品質に影響します",
"autoCondenseContext": {
- "name": "インテリジェントなコンテキスト圧縮を自動的にトリガーする"
+ "name": "インテリジェントなコンテキスト圧縮を自動的にトリガーする",
+ "description": "有効にすると、Zooは閾値に達したときに自動的にコンテキストを圧縮します。無効にすると、手動でコンテキスト圧縮をトリガーできます。"
},
"openTabs": {
"label": "オープンタブコンテキスト制限",
@@ -753,7 +797,8 @@
"defaultProfile": "グローバルデフォルト(全プロファイル)",
"defaultDescription": "コンテキストがこの割合に達すると、カスタム設定がない限り、すべてのプロファイルで自動的に圧縮されます",
"profileDescription": "このプロファイルのみのカスタムしきい値(グローバルデフォルトを上書き)",
- "usesGlobal": "(グローバル {{threshold}}% を使用)"
+ "usesGlobal": "(グローバル {{threshold}}% を使用)",
+ "inheritDescription": "このプロファイルはグローバルデフォルトしきい値を継承します({{threshold}}%)"
},
"maxImageFileSize": {
"label": "最大画像ファイルサイズ",
@@ -780,6 +825,32 @@
"enableSubfolderRules": {
"label": "サブフォルダルールを有効化",
"description": "サブディレクトリから.roo/rulesとAGENTS.mdファイルを再帰的に検出してロードします。パッケージごとのルールを持つモノレポに便利です。"
+ },
+ "autoCondenseContextPercent": {
+ "label": "インテリジェントなコンテキスト圧縮をトリガーするしきい値",
+ "description": "コンテキストウィンドウがこのしきい値に達すると、Zooは自動的に圧縮します。"
+ },
+ "condensingApiConfiguration": {
+ "label": "コンテキスト圧縮用のAPI設定",
+ "description": "コンテキスト圧縮操作に使用するAPI設定を選択します。選択しない場合は現在のアクティブな設定が使用されます。",
+ "useCurrentConfig": "現在の設定を使用"
+ },
+ "customCondensingPrompt": {
+ "label": "カスタムコンテキスト圧縮プロンプト",
+ "description": "コンテキスト圧縮に使用するシステムプロンプトをカスタマイズします。空のままにするとデフォルトのプロンプトが使用されます。",
+ "placeholder": "ここにカスタム圧縮プロンプトを入力してください...\n\nデフォルトプロンプトと同じ構造を使用できます:\n- 過去の会話\n- 現在の作業\n- 重要な技術的概念\n- 関連するファイルとコード\n- 問題解決\n- 保留中のタスクと次のステップ",
+ "reset": "デフォルトにリセット",
+ "hint": "空 = デフォルトプロンプトを使用"
+ },
+ "maxReadFile": {
+ "label": "ファイル読み込み自動切り詰めしきい値",
+ "description": "モデルが開始/終了の値を指定しない場合、Zooはこの行数を読み込みます。この数がファイルの総行数より少ない場合、Zooはコード定義の行番号インデックスを生成します。特殊なケース:-1はZooにファイル全体を読み込むよう指示し(インデックス作成なし)、0は行を読み込まず最小限のコンテキストのために行インデックスのみを提供するよう指示します。低い値は初期コンテキスト使用量を最小限に抑え、後続の正確な行範囲の読み込みを可能にします。明示的な開始/終了の要求はこの設定による制限を受けません。",
+ "lines": "行",
+ "always_full_read": "常にファイル全体を読み込む"
+ },
+ "maxConcurrentFileReads": {
+ "label": "同時ファイル読み取り制限",
+ "description": "read_file ツールが同時に処理できるファイルの最大数。値を高くすると複数の小さなファイルの読み取りが速くなる可能性がありますが、メモリ使用量が増加します。"
}
},
"terminal": {
@@ -788,7 +859,8 @@
"description": "インラインターミナルを含むコマンド出力を折りたたんで表示します。必要に応じて手動で展開できます。コマンドの実行方法は変わりません。"
},
"basic": {
- "label": "ターミナル設定:基本"
+ "label": "ターミナル設定:基本",
+ "description": "基本的なターミナル設定"
},
"advanced": {
"label": "ターミナル設定:詳細",
@@ -845,6 +917,14 @@
"description": "デフォルトでは Zoo Code は VS Code に設定されたシェルを使用します。VS Code が公開するパスベースのシェルプロファイルを選択するには一覧からシェルプロファイルを選択してください。ソースのみのプロファイル(例:組み込みの PowerShell エントリ)はここに表示できません。 <0>詳細を見る0>",
"configureButton": "VS Code でデフォルトプロファイルを選択",
"noProfiles": "(terminal.integrated.profiles にパスベースのプロファイルが見つかりません)"
+ },
+ "outputLineLimit": {
+ "label": "ターミナル出力制限",
+ "description": "制限内に収めるため最初と最後の行を保持し、中間を削除します。トークンを節約するには下げる;Zooに中間の詳細を与えるには上げる。Zooはコンテンツがスキップされた箇所にプレースホルダーを表示します。<0>詳細情報0>"
+ },
+ "outputCharacterLimit": {
+ "label": "ターミナル文字制限",
+ "description": "出力サイズにハードキャップを適用してメモリ問題を防ぐため、行制限を上書きします。超過した場合、最初と最後を保持し、コンテンツがスキップされた箇所にZooにプレースホルダーを表示します。<0>詳細情報0>"
}
},
"advancedSettings": {
@@ -854,6 +934,23 @@
"todoList": {
"label": "ToDoリストツールを有効にする",
"description": "有効にすると、Zooはタスクの進捗を追跡するためのToDoリストを作成・管理できます。これにより、複雑なタスクを管理しやすいステップに整理できます。"
+ },
+ "diff": {
+ "label": "diff経由の編集を有効化",
+ "description": "有効にすると、Zooはファイルをより迅速に編集でき、切り詰められた全ファイル書き込みを自動的に拒否します。",
+ "strategy": {
+ "label": "Diff戦略",
+ "options": {
+ "standard": "標準(単一ブロック)",
+ "multiBlock": "実験的:マルチブロックdiff",
+ "unified": "実験的:統合diff"
+ },
+ "descriptions": {
+ "standard": "標準diff戦略は一度に1つのコードブロックに変更を適用します。",
+ "unified": "統合diff戦略はdiffを適用するための複数のアプローチを取り、最良のアプローチを選択します。",
+ "multiBlock": "マルチブロックdiff戦略は、1つのリクエストでファイル内の複数のコードブロックを更新できます。"
+ }
+ }
}
},
"experimental": {
@@ -991,7 +1088,8 @@
"reservedKeys": "追加ボディではZoo Codeが管理するフィールドを上書きできません:{{keys}}。"
},
"arn": {
- "regionMismatch": "警告:ARN内のリージョン({{arnRegion}})が選択したリージョン({{region}})と一致しません。これによりアクセスの問題が発生する可能性があります。プロバイダーはARNのリージョンを使用します。"
+ "regionMismatch": "警告:ARN内のリージョン({{arnRegion}})が選択したリージョン({{region}})と一致しません。これによりアクセスの問題が発生する可能性があります。プロバイダーはARNのリージョンを使用します。",
+ "invalidFormat": "ARNの形式が無効です。フォーマット要件を確認してください。"
},
"modelAvailability": "指定されたモデルID({{modelId}})は利用できません。別のモデルを選択してください。",
"modelDeprecated": "このモデルは利用できなくなりました。別のモデルを選択してください。",
@@ -1018,6 +1116,11 @@
"inputPrice": "例:0.0001",
"outputPrice": "例:0.0002",
"cacheWritePrice": "例:0.00005"
+ },
+ "modelId": {
+ "lmStudio": "例:meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "例:lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "例:llama3.1"
}
},
"defaults": {
@@ -1047,7 +1150,9 @@
"input": "入力",
"output": "出力",
"cacheReads": "キャッシュ読み取り"
- }
+ },
+ "label": "サービスティア",
+ "tooltip": "APIリクエストをより速く処理するには、優先処理サービスティアをお試しください。低価格でレイテンシが高い場合は、フレックス処理ティアをお試しください。"
},
"ui": {
"collapseThinking": {
@@ -1097,7 +1202,8 @@
"intro": "コンテキストを軽く保つために、必要なモードのみでスキルを利用可能にすることをお勧めします。",
"anyMode": "任意のモード(どこでも利用可能)",
"save": "保存",
- "cancel": "キャンセル"
+ "cancel": "キャンセル",
+ "description": "このスキルを使用できるモードを選択します"
},
"createDialog": {
"title": "新しいスキルを作成",
@@ -1107,7 +1213,11 @@
"sourceLabel": "場所",
"modeLabel": "モード(オプション)",
"create": "作成",
- "cancel": "キャンセル"
+ "cancel": "キャンセル",
+ "descriptionLabel": "説明",
+ "modePlaceholder": "全てのモード",
+ "modeHint": "このスキルを特定のモードに制限する",
+ "modeAny": "全てのモード"
},
"source": {
"global": "グローバル(すべてのプロジェクトで利用可能)",
@@ -1120,7 +1230,13 @@
"descriptionRequired": "説明は必須です",
"descriptionTooLong": "説明は1024文字以内である必要があります"
},
- "footer": "スキルライターモードで独自のスキルを作成します。モードマーケットプレイス で入手可能です。"
+ "footer": "スキルライターモードで独自のスキルを作成します。モードマーケットプレイス で入手可能です。",
+ "modeAny": "任意のモード",
+ "modeCount": "{{count}} モード",
+ "diagnostics": {
+ "title": "一部のスキルを読み込めませんでした",
+ "description": "該当する SKILL.md ファイルの YAML フロントマターを修正してから、このページを再表示してください。"
+ }
},
"language": {
"description": "言語と日付/時刻の表示。",
@@ -1157,5 +1273,12 @@
"relative": "5分前",
"hover": "(ホバー: {{value}})"
}
- }
+ },
+ "promptCaching": {
+ "label": "プロンプトキャッシュを無効化",
+ "description": "チェックすると、Zooはこのモデルに対してプロンプトキャッシュを使用しません。"
+ },
+ "limitMaxTokensDescription": "レスポンスの最大トークン数を制限する",
+ "maxOutputTokensLabel": "最大出力トークン",
+ "maxTokensGenerateDescription": "レスポンスで生成する最大トークン数"
}
diff --git a/webview-ui/src/i18n/locales/ko/settings.json b/webview-ui/src/i18n/locales/ko/settings.json
index 2e28bc3526..d9db4a9e79 100644
--- a/webview-ui/src/i18n/locales/ko/settings.json
+++ b/webview-ui/src/i18n/locales/ko/settings.json
@@ -6,7 +6,8 @@
"cancel": "취소",
"select": "선택",
"add": "헤더 추가",
- "remove": "삭제"
+ "remove": "삭제",
+ "reset": "초기화"
},
"search": {
"placeholder": "설정 검색...",
@@ -247,7 +248,9 @@
"bedrockRegionRequired": "AWS 리전이 필요합니다",
"ollamaBaseUrlRequired": "Ollama 기본 URL이 필요합니다",
"baseUrlRequired": "기본 URL이 필요합니다",
- "openRouterApiKeyRequired": "OpenRouter API 키가 필요합니다"
+ "openRouterApiKeyRequired": "OpenRouter API 키가 필요합니다",
+ "bedrockProfileRequired": "AWS 프로필이 필요합니다",
+ "modelDimensionMinValue": "모델 차원은 0보다 커야 합니다"
},
"optional": "선택 사항",
"advancedConfigLabel": "고급 구성",
@@ -261,7 +264,21 @@
"workspaceToggleLabel": "이 워크스페이스에 대한 인덱싱 활성화",
"workspaceDisabledMessage": "인덱싱이 구성되었지만 이 워크스페이스에서는 활성화되지 않았습니다.",
"autoEnableDefaultLabel": "새 워크스페이스에 대한 인덱싱 자동 활성화",
- "sembleProvider": "Semble - 로컬"
+ "sembleProvider": "Semble - 로컬",
+ "providerLabel": "임베딩 제공자",
+ "selectProviderPlaceholder": "제공자 선택",
+ "openAiCompatibleModelDimensionLabel": "임베딩 차원:",
+ "openAiCompatibleModelDimensionPlaceholder": "예: 1536",
+ "openAiCompatibleModelDimensionDescription": "모델의 임베딩 차원(출력 크기)입니다. 이 값에 대해서는 제공업체의 문서를 확인하세요. 일반적인 값: 384, 768, 1536, 3072.",
+ "selectModelPlaceholder": "모델 선택",
+ "ollamaUrlLabel": "Ollama URL:",
+ "qdrantKeyLabel": "Qdrant 키:",
+ "unsavedSettingsMessage": "인덱싱 프로세스를 시작하기 전에 설정을 저장해 주세요.",
+ "settingsTitle": "인덱싱 설정",
+ "disabledMessage": "코드베이스 인덱싱이 현재 비활성화되어 있습니다. 인덱싱 옵션을 구성하려면 전역 설정에서 활성화하세요.",
+ "saveSuccess": "설정이 성공적으로 저장되었습니다",
+ "close": "닫기",
+ "searchMinScoreResetTooltip": "기본값(0.4)으로 재설정"
},
"autoApprove": {
"toggleShortcut": "IDE 환경 설정 에서 이 설정에 대한 전역 바로 가기를 구성할 수 있습니다.",
@@ -286,7 +303,8 @@
"protected": {
"label": "보호된 파일 포함",
"description": "Zoo가 보호된 파일(.rooignore 및 .roo/ 구성 파일 등)을 승인 없이 생성하고 편집할 수 있도록 허용합니다."
- }
+ },
+ "delayLabel": "진단이 잠재적 문제를 감지할 수 있도록 쓰기 후 지연"
},
"allowlists": {
"label": "허용 목록",
@@ -336,7 +354,8 @@
"deniedCommandsDescription": "승인을 요청하지 않고 자동으로 거부될 명령 접두사. 허용된 명령과 충돌하는 경우 가장 긴 접두사 일치가 우선됩니다. 모든 명령을 거부하려면 * 추가",
"commandPlaceholder": "명령 접두사 입력(예: 'git ')",
"deniedCommandPlaceholder": "거부할 명령 접두사 입력(예: 'rm -rf')",
- "addButton": "추가"
+ "addButton": "추가",
+ "autoDenied": "접두사 `{{prefix}}`를 가진 명령어는 사용자에 의해 금지되었습니다. 다른 명령어를 실행하여 이 제한을 우회하지 마세요."
},
"apiRequestLimit": {
"title": "최대 요청 수",
@@ -348,7 +367,9 @@
},
"maxLimits": {
"description": "이러한 한도까지 자동으로 요청을 수행한 후, 계속 진행하기 위한 승인을 요청합니다."
- }
+ },
+ "disabledAriaLabel": "자동 승인 비활성화됨 - 먼저 옵션을 선택하세요",
+ "selectOptionsFirst": "자동 승인을 활성화하려면 아래에서 하나 이상의 옵션을 선택하세요"
},
"providers": {
"configProfile": "구성 프로필",
@@ -459,7 +480,8 @@
"label": "모델 새로고침",
"loading": "모델 목록 새로고침 중...",
"success": "모델 목록이 성공적으로 새로고침되었습니다!",
- "error": "모델 목록 새로고침에 실패했습니다. 다시 시도해 주세요."
+ "error": "모델 목록 새로고침에 실패했습니다. 다시 시도해 주세요.",
+ "hint": "최신 모델을 보려면 설정을 다시 열어주세요."
},
"getRequestyApiKey": "Requesty API 키 받기",
"getRequestyBaseUrl": "기본 URL",
@@ -588,7 +610,10 @@
"speculativeDecoding": "추론 디코딩 활성화",
"draftModelId": "초안 모델 ID",
"draftModelDesc": "추론 디코딩이 올바르게 작동하려면 초안 모델이 동일한 모델 패밀리에서 와야 합니다.",
- "description": "LM Studio를 사용하면 컴퓨터에서 로컬로 모델을 실행할 수 있습니다. 시작하는 방법은 빠른 시작 가이드 를 참조하세요. 이 확장 프로그램과 함께 사용하려면 LM Studio의 로컬 서버 기능도 시작해야 합니다. 참고: Zoo Code는 복잡한 프롬프트를 사용하며 Claude 모델에서 가장 잘 작동합니다. 덜 강력한 모델은 예상대로 작동하지 않을 수 있습니다."
+ "description": "LM Studio를 사용하면 컴퓨터에서 로컬로 모델을 실행할 수 있습니다. 시작하는 방법은 빠른 시작 가이드 를 참조하세요. 이 확장 프로그램과 함께 사용하려면 LM Studio의 로컬 서버 기능도 시작해야 합니다. 참고: Zoo Code는 복잡한 프롬프트를 사용하며 Claude 모델에서 가장 잘 작동합니다. 덜 강력한 모델은 예상대로 작동하지 않을 수 있습니다.",
+ "modelId": "모델 ID",
+ "selectDraftModel": "초안 모델 선택",
+ "noModelsFound": "초안 모델을 찾을 수 없습니다. LM Studio가 서버 모드로 실행 중인지 확인하세요."
},
"ollama": {
"baseUrl": "기본 URL (선택사항)",
@@ -599,7 +624,8 @@
"thinking": "추론 활성화",
"thinkingHelp": "추론 모델(예: qwen3, deepseek-r1)에 대해 Ollama의 네이티브 추론을 활성화합니다. 활성화하면 모델의 추론이 별도로 스트리밍되고 표시됩니다. 지원하지 않는 모델은 이 설정을 무시합니다.",
"description": "Ollama를 사용하면 컴퓨터에서 로컬로 모델을 실행할 수 있습니다. 시작하는 방법은 빠른 시작 가이드를 참조하세요.",
- "warning": "참고: Zoo Code는 복잡한 프롬프트를 사용하며 Claude 모델에서 가장 잘 작동합니다. 덜 강력한 모델은 예상대로 작동하지 않을 수 있습니다."
+ "warning": "참고: Zoo Code는 복잡한 프롬프트를 사용하며 Claude 모델에서 가장 잘 작동합니다. 덜 강력한 모델은 예상대로 작동하지 않을 수 있습니다.",
+ "modelId": "모델 ID"
},
"openRouter": {
"providerRouting": {
@@ -644,7 +670,11 @@
"description": "캐시에 쓰기의 백만 토큰당 비용입니다. 이는 프롬프트가 처음 캐시될 때 청구되는 가격입니다."
}
},
- "resetDefaults": "기본값으로 재설정"
+ "resetDefaults": "기본값으로 재설정",
+ "computerUse": {
+ "label": "컴퓨터 사용",
+ "description": "이 모델이 브라우저와 상호 작용할 수 있습니까?"
+ }
},
"rateLimitSeconds": {
"label": "속도 제한",
@@ -684,6 +714,19 @@
"signInDescription": "계정으로 Zoo Gateway를 사용하려면 로그인하세요",
"authenticated": "인증됨",
"authenticatedAs": "{{name}}(으)로 인증됨"
+ },
+ "providerDocumentation": "{{provider}} 문서",
+ "model": "모델",
+ "useHostHeader": "사용자 정의 Host 헤더 사용",
+ "awsServiceTierStandardDesc": "균형 잡힌 성능 및 비용",
+ "awsServiceTierFlexDesc": "낮은 비용, 중요하지 않은 작업을 위한 높은 지연 시간",
+ "awsServiceTierPriorityDesc": "미션 크리티컬 애플리케이션을 위한 최고 성능",
+ "claudeCode": {
+ "pathLabel": "클로드 코드 경로",
+ "description": "Claude Code CLI의 선택적 경로입니다. 설정하지 않으면 'claude'가 기본값입니다.",
+ "placeholder": "기본값: claude",
+ "maxTokensLabel": "최대 출력 토큰",
+ "maxTokensDescription": "Claude Code 응답의 최대 출력 토큰 수. 기본값은 8000입니다."
}
},
"checkpoints": {
@@ -711,7 +754,8 @@
"contextManagement": {
"description": "AI의 컨텍스트 창에 포함되는 정보를 제어하여 token 사용량과 응답 품질에 영향을 미칩니다",
"autoCondenseContext": {
- "name": "지능적 컨텍스트 압축 자동 트리거"
+ "name": "지능적 컨텍스트 압축 자동 트리거",
+ "description": "활성화되면 Zoo는 임계값에 도달했을 때 자동으로 컨텍스트를 압축합니다. 비활성화되면 여전히 수동으로 컨텍스트 압축을 트리거할 수 있습니다."
},
"openTabs": {
"label": "열린 탭 컨텍스트 제한",
@@ -753,7 +797,8 @@
"defaultProfile": "글로벌 기본값 (모든 프로필)",
"defaultDescription": "컨텍스트가 이 비율에 도달하면 사용자 정의 설정이 없는 한 모든 프로필에 대해 자동으로 압축됩니다",
"profileDescription": "이 프로필만을 위한 사용자 정의 임계값 (글로벌 기본값 재정의)",
- "usesGlobal": "(글로벌 {{threshold}}% 사용)"
+ "usesGlobal": "(글로벌 {{threshold}}% 사용)",
+ "inheritDescription": "이 프로필은 글로벌 기본 임계값을 상속합니다 ({{threshold}}%)"
},
"maxImageFileSize": {
"label": "최대 이미지 파일 크기",
@@ -780,6 +825,32 @@
"enableSubfolderRules": {
"label": "하위 폴더 규칙 활성화",
"description": "하위 디렉토리에서 .roo/rules 및 AGENTS.md 파일을 재귀적으로 검색하고 로드합니다. 패키지별 규칙이 있는 모노레포에 유용합니다."
+ },
+ "autoCondenseContextPercent": {
+ "label": "지능적 컨텍스트 압축을 트리거하는 임계값",
+ "description": "컨텍스트 창이 이 임계값에 도달하면 Zoo가 자동으로 압축합니다."
+ },
+ "condensingApiConfiguration": {
+ "label": "컨텍스트 압축을 위한 API 설정",
+ "description": "컨텍스트 압축 작업에 사용할 API 설정을 선택하세요. 선택하지 않으면 현재 활성화된 설정을 사용합니다.",
+ "useCurrentConfig": "기본값"
+ },
+ "customCondensingPrompt": {
+ "label": "사용자 지정 컨텍스트 압축 프롬프트",
+ "description": "컨텍스트 압축을 위한 사용자 지정 시스템 프롬프트입니다. 기본 프롬프트를 사용하려면 비워 두세요.",
+ "placeholder": "여기에 사용자 정의 압축 프롬프트를 입력하세요...\n\n기본 프롬프트와 동일한 구조를 사용할 수 있습니다:\n- 이전 대화\n- 현재 작업\n- 주요 기술 개념\n- 관련 파일 및 코드\n- 문제 해결\n- 보류 중인 작업 및 다음 단계",
+ "reset": "기본값으로 재설정",
+ "hint": "비어있음 = 기본 프롬프트 사용"
+ },
+ "maxReadFile": {
+ "label": "파일 읽기 자동 축소 임계값",
+ "description": "모델이 시작/끝 값을 지정하지 않을 때 Zoo가 읽는 줄 수입니다. 이 수가 파일의 총 줄 수보다 적으면 Zoo는 코드 정의의 줄 번호 인덱스를 생성합니다. 특수한 경우: -1은 Zoo에게 전체 파일을 읽도록 지시하고(인덱싱 없이), 0은 줄을 읽지 않고 최소한의 컨텍스트를 위해 줄 인덱스만 제공하도록 지시합니다. 낮은 값은 초기 컨텍스트 사용을 최소화하고, 이후 정확한 줄 범위 읽기를 가능하게 합니다. 명시적 시작/끝 요청은 이 설정의 제한을 받지 않습니다.",
+ "lines": "줄",
+ "always_full_read": "항상 전체 파일 읽기"
+ },
+ "maxConcurrentFileReads": {
+ "label": "동시 파일 읽기 제한",
+ "description": "read_file 도구가 동시에 처리할 수 있는 최대 파일 수입니다. 높은 값은 여러 작은 파일을 읽는 속도를 높일 수 있지만 메모리 사용량이 증가합니다."
}
},
"terminal": {
@@ -788,7 +859,8 @@
"description": "인라인 터미널을 포함한 명령 출력을 접어서 표시합니다. 필요할 때 수동으로 펼칠 수 있습니다. 명령 실행 방식은 변경되지 않습니다."
},
"basic": {
- "label": "터미널 설정: 기본"
+ "label": "터미널 설정: 기본",
+ "description": "기본 터미널 설정"
},
"advanced": {
"label": "터미널 설정: 고급",
@@ -845,6 +917,14 @@
"description": "기본적으로 Zoo Code는 VS Code에 구성된 쉘을 사용합니다. VS Code가 노출하는 경로 기반 쉘 프로필을 선택하려면 목록에서 셸 프로필을 선택하세요. 소스 전용 프로필(예: 내장 PowerShell 항목)은 여기에 나열할 수 없습니다. <0>자세히 알아보기0>",
"configureButton": "VS Code에서 기본 프로필 선택",
"noProfiles": "(terminal.integrated.profiles에 경로 기반 프로필이 없습니다)"
+ },
+ "outputLineLimit": {
+ "label": "터미널 출력 제한",
+ "description": "제한 내로 유지하기 위해 첫 줄과 마지막 줄을 유지하고 중간을 삭제합니다. 토큰을 절약하려면 낮추고; Zoo에게 더 많은 중간 세부 정보를 제공하려면 높입니다. Zoo는 콘텐츠가 건너뛴 곳에 자리 표시자를 봅니다.<0>자세히 알아보기0>"
+ },
+ "outputCharacterLimit": {
+ "label": "터미널 문자 제한",
+ "description": "출력 크기에 대한 엄격한 상한을 적용하여 메모리 문제를 방지하기 위해 줄 제한을 재정의합니다. 초과하면 시작과 끝을 유지하고 내용이 생략된 곳에 Zoo에게 자리 표시자를 표시합니다. <0>자세히 알아보기0>"
}
},
"advancedSettings": {
@@ -854,6 +934,23 @@
"todoList": {
"label": "할 일 목록 도구 활성화",
"description": "활성화하면 Zoo가 작업 진행 상황을 추적하기 위한 할 일 목록을 만들고 관리할 수 있습니다. 이는 복잡한 작업을 관리 가능한 단계로 구성하는 데 도움이 됩니다."
+ },
+ "diff": {
+ "label": "diff를 통한 편집 활성화",
+ "description": "활성화되면 Zoo는 파일을 더 빠르게 편집할 수 있으며 잘린 전체 파일 쓰기를 자동으로 거부합니다",
+ "strategy": {
+ "label": "Diff 전략",
+ "options": {
+ "standard": "표준(단일 블록)",
+ "multiBlock": "실험적: 다중 블록 diff",
+ "unified": "실험적: 통합 diff"
+ },
+ "descriptions": {
+ "standard": "표준 diff 전략은 한 번에 하나의 코드 블록에 변경 사항을 적용합니다.",
+ "unified": "통합 diff 전략은 diff를 적용하는 여러 접근 방식을 취하고 최상의 접근 방식을 선택합니다.",
+ "multiBlock": "다중 블록 diff 전략은 하나의 요청으로 파일의 여러 코드 블록을 업데이트할 수 있습니다."
+ }
+ }
}
},
"experimental": {
@@ -991,7 +1088,8 @@
"reservedKeys": "추가 본문은 Zoo Code에서 관리하는 필드를 재정의할 수 없습니다: {{keys}}."
},
"arn": {
- "regionMismatch": "경고: ARN의 리전({{arnRegion}})이 선택한 리전({{region}})과 일치하지 않습니다. 접근 문제가 발생할 수 있습니다. 제공자는 ARN의 리전을 사용합니다."
+ "regionMismatch": "경고: ARN의 리전({{arnRegion}})이 선택한 리전({{region}})과 일치하지 않습니다. 접근 문제가 발생할 수 있습니다. 제공자는 ARN의 리전을 사용합니다.",
+ "invalidFormat": "ARN 형식이 잘못되었습니다. 형식 요구사항을 확인하세요."
},
"modelAvailability": "제공한 모델 ID({{modelId}})를 사용할 수 없습니다. 다른 모델을 선택하세요.",
"modelDeprecated": "이 모델은 더 이상 사용할 수 없습니다. 다른 모델을 선택하세요.",
@@ -1018,6 +1116,11 @@
"inputPrice": "예: 0.0001",
"outputPrice": "예: 0.0002",
"cacheWritePrice": "예: 0.00005"
+ },
+ "modelId": {
+ "lmStudio": "예: meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "예: lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "예: llama3.1"
}
},
"defaults": {
@@ -1047,7 +1150,9 @@
"input": "입력",
"output": "출력",
"cacheReads": "캐시 읽기"
- }
+ },
+ "label": "서비스 등급",
+ "tooltip": "API 요청을 더 빠르게 처리하려면 우선 처리 서비스 등급을 사용해 보세요. 더 낮은 가격에 더 높은 지연 시간을 원하시면 플렉스 처리 등급을 사용해 보세요."
},
"ui": {
"collapseThinking": {
@@ -1097,7 +1202,8 @@
"intro": "컨텍스트를 가볍게 유지하기 위해 필요한 모드에서만 스킬을 사용 가능하게 하는 것을 권장합니다.",
"anyMode": "모든 모드 (모든 곳에서 사용 가능)",
"save": "저장",
- "cancel": "취소"
+ "cancel": "취소",
+ "description": "이 스킬을 사용할 수 있는 모드를 선택합니다"
},
"createDialog": {
"title": "새 스킬 만들기",
@@ -1107,7 +1213,11 @@
"sourceLabel": "위치",
"modeLabel": "모드 (선택사항)",
"create": "만들기",
- "cancel": "취소"
+ "cancel": "취소",
+ "descriptionLabel": "설명",
+ "modePlaceholder": "모든 모드",
+ "modeHint": "이 스킬을 특정 모드로 제한",
+ "modeAny": "모든 모드"
},
"source": {
"global": "전역 (모든 프로젝트에서 사용 가능)",
@@ -1120,7 +1230,13 @@
"descriptionRequired": "설명은 필수입니다",
"descriptionTooLong": "설명은 1024자 이하여야 합니다"
},
- "footer": "스킬 작성자 모드로 자신만의 스킬을 만들 수 있습니다. 모드 마켓플레이스 에서 사용 가능합니다."
+ "footer": "스킬 작성자 모드로 자신만의 스킬을 만들 수 있습니다. 모드 마켓플레이스 에서 사용 가능합니다.",
+ "modeAny": "모든 모드",
+ "modeCount": "{{count}} 모드",
+ "diagnostics": {
+ "title": "일부 스킬을 불러오지 못했습니다",
+ "description": "열거된 SKILL.md 파일의 YAML frontmatter를 수정한 후, 이 페이지를 다시 열거나 새로고침해 주세요."
+ }
},
"language": {
"description": "언어 및 날짜/시간 표시.",
@@ -1157,5 +1273,12 @@
"relative": "5분 전",
"hover": "(호버: {{value}})"
}
- }
+ },
+ "promptCaching": {
+ "label": "프롬프트 캐싱 비활성화",
+ "description": "체크하면 Zoo가 이 모델에 대해 프롬프트 캐싱을 사용하지 않습니다."
+ },
+ "limitMaxTokensDescription": "응답에서 최대 토큰 수 제한",
+ "maxOutputTokensLabel": "최대 출력 토큰",
+ "maxTokensGenerateDescription": "응답에서 생성할 최대 토큰 수"
}
diff --git a/webview-ui/src/i18n/locales/nl/settings.json b/webview-ui/src/i18n/locales/nl/settings.json
index 76c0880328..eecc733cee 100644
--- a/webview-ui/src/i18n/locales/nl/settings.json
+++ b/webview-ui/src/i18n/locales/nl/settings.json
@@ -6,7 +6,8 @@
"cancel": "Annuleren",
"select": "Selecteren",
"add": "Header toevoegen",
- "remove": "Verwijderen"
+ "remove": "Verwijderen",
+ "reset": "Resetten"
},
"search": {
"placeholder": "Instellingen zoeken...",
@@ -248,7 +249,9 @@
"bedrockRegionRequired": "AWS-regio is vereist",
"ollamaBaseUrlRequired": "Ollama basis-URL is vereist",
"baseUrlRequired": "Basis-URL is vereist",
- "openRouterApiKeyRequired": "OpenRouter API-sleutel is vereist"
+ "openRouterApiKeyRequired": "OpenRouter API-sleutel is vereist",
+ "bedrockProfileRequired": "AWS-profiel is vereist",
+ "modelDimensionMinValue": "Modelafmeting moet groter zijn dan 0"
},
"optional": "optioneel",
"advancedConfigLabel": "Geavanceerde configuratie",
@@ -262,7 +265,21 @@
"workspaceToggleLabel": "Indexering inschakelen voor deze werkruimte",
"workspaceDisabledMessage": "Indexering is geconfigureerd maar niet ingeschakeld voor deze werkruimte.",
"autoEnableDefaultLabel": "Indexering automatisch inschakelen voor nieuwe werkruimtes",
- "sembleProvider": "Semble - Lokaal"
+ "sembleProvider": "Semble - Lokaal",
+ "providerLabel": "Embeddings provider",
+ "selectProviderPlaceholder": "Selecteer provider",
+ "openAiCompatibleModelDimensionLabel": "Embedding Dimensie:",
+ "openAiCompatibleModelDimensionPlaceholder": "bijv., 1536",
+ "openAiCompatibleModelDimensionDescription": "De embedding dimensie (uitvoergrootte) voor uw model. Controleer de documentatie van uw provider voor deze waarde. Veelvoorkomende waarden: 384, 768, 1536, 3072.",
+ "selectModelPlaceholder": "Selecteer model",
+ "ollamaUrlLabel": "Ollama URL:",
+ "qdrantKeyLabel": "Qdrant-sleutel:",
+ "unsavedSettingsMessage": "Sla je instellingen op voordat je het indexeringsproces start.",
+ "settingsTitle": "Indexeringsinstellingen",
+ "disabledMessage": "Codebase-indexering is momenteel uitgeschakeld. Schakel het in de algemene instellingen in om indexeringsopties te configureren.",
+ "saveSuccess": "Instellingen succesvol opgeslagen",
+ "close": "Sluiten",
+ "searchMinScoreResetTooltip": "Reset naar standaardwaarde (0.4)"
},
"autoApprove": {
"toggleShortcut": "U kunt een globale sneltoets voor deze instelling configureren in de voorkeuren van uw IDE .",
@@ -287,7 +304,8 @@
"protected": {
"label": "Inclusief beschermde bestanden",
"description": "Sta Zoo toe om beschermde bestanden (zoals .rooignore en .roo/ configuratiebestanden) aan te maken en te bewerken zonder goedkeuring."
- }
+ },
+ "delayLabel": "Vertraging na schrijven om diagnostiek de kans te geven mogelijke problemen te detecteren"
},
"allowlists": {
"label": "Toelatingslijsten",
@@ -337,7 +355,8 @@
"deniedCommandsDescription": "Commando-prefixen die automatisch worden geweigerd zonder om goedkeuring te vragen. Bij conflicten met toegestane commando's heeft de langste prefixovereenkomst voorrang. Voeg * toe om alle commando's te weigeren.",
"commandPlaceholder": "Voer commando-prefix in (bijv. 'git ')",
"deniedCommandPlaceholder": "Voer te weigeren commando-prefix in (bijv. 'rm -rf')",
- "addButton": "Toevoegen"
+ "addButton": "Toevoegen",
+ "autoDenied": "Commando's met het prefix `{{prefix}}` zijn verboden door de gebruiker. Omzeil deze beperking niet door een ander commando uit te voeren."
},
"apiRequestLimit": {
"title": "Maximale verzoeken",
@@ -349,7 +368,9 @@
},
"maxLimits": {
"description": "Automatisch verzoeken indienen tot aan deze limieten voordat om goedkeuring wordt gevraagd om door te gaan."
- }
+ },
+ "disabledAriaLabel": "Automatisch goedkeuren uitgeschakeld - selecteer eerst opties",
+ "selectOptionsFirst": "Selecteer ten minste één optie hieronder om automatische goedkeuring in te schakelen"
},
"providers": {
"configProfile": "Configuratieprofiel",
@@ -460,7 +481,8 @@
"label": "Modellen verversen",
"loading": "Modellenlijst wordt vernieuwd...",
"success": "Modellenlijst succesvol vernieuwd!",
- "error": "Kan modellenlijst niet vernieuwen. Probeer het opnieuw."
+ "error": "Kan modellenlijst niet vernieuwen. Probeer het opnieuw.",
+ "hint": "Open de instellingen opnieuw om de nieuwste modellen te zien."
},
"getRequestyApiKey": "Requesty API-sleutel ophalen",
"getRequestyBaseUrl": "Basis-URL",
@@ -589,7 +611,10 @@
"speculativeDecoding": "Speculatieve decodering inschakelen",
"draftModelId": "Draft Model-ID",
"draftModelDesc": "Draft-model moet uit dezelfde modelfamilie komen voor correcte speculatieve decodering.",
- "description": "LM Studio laat je modellen lokaal op je computer draaien. Zie hun quickstart-gids voor instructies. Je moet ook de lokale server -functie van LM Studio starten om het met deze extensie te gebruiken. Let op: Zoo Code gebruikt complexe prompts en werkt het beste met Claude-modellen. Minder krachtige modellen werken mogelijk niet zoals verwacht."
+ "description": "LM Studio laat je modellen lokaal op je computer draaien. Zie hun quickstart-gids voor instructies. Je moet ook de lokale server -functie van LM Studio starten om het met deze extensie te gebruiken. Let op: Zoo Code gebruikt complexe prompts en werkt het beste met Claude-modellen. Minder krachtige modellen werken mogelijk niet zoals verwacht.",
+ "modelId": "Model-ID",
+ "selectDraftModel": "Selecteer draft-model",
+ "noModelsFound": "Geen draft-modellen gevonden. Zorg dat LM Studio draait met Server Mode ingeschakeld."
},
"ollama": {
"baseUrl": "Basis-URL (optioneel)",
@@ -600,7 +625,8 @@
"thinking": "Redeneren inschakelen",
"thinkingHelp": "Schakel Ollama's native redeneren in voor redeneringsmodellen (bijv. qwen3, deepseek-r1). Indien ingeschakeld, wordt de redenering van het model apart gestreamd en weergegeven. Niet-ondersteunde modellen negeren deze instelling.",
"description": "Ollama laat je modellen lokaal op je computer draaien. Zie hun quickstart-gids voor instructies.",
- "warning": "Let op: Zoo Code gebruikt complexe prompts en werkt het beste met Claude-modellen. Minder krachtige modellen werken mogelijk niet zoals verwacht."
+ "warning": "Let op: Zoo Code gebruikt complexe prompts en werkt het beste met Claude-modellen. Minder krachtige modellen werken mogelijk niet zoals verwacht.",
+ "modelId": "Model-ID"
},
"openRouter": {
"providerRouting": {
@@ -645,7 +671,11 @@
"description": "Kosten per miljoen tokens voor het schrijven naar de cache. Dit is de prijs die wordt gerekend wanneer een prompt voor het eerst wordt gecachet."
}
},
- "resetDefaults": "Standaardwaarden herstellen"
+ "resetDefaults": "Standaardwaarden herstellen",
+ "computerUse": {
+ "label": "Computergebruik",
+ "description": "Kan dit model met een browser werken?"
+ }
},
"rateLimitSeconds": {
"label": "Snelheidslimiet",
@@ -685,6 +715,19 @@
"signInDescription": "Log in om Zoo Gateway met je account te gebruiken",
"authenticated": "Geauthenticeerd",
"authenticatedAs": "Geauthenticeerd als {{name}}"
+ },
+ "providerDocumentation": "{{provider}} documentatie",
+ "model": "Model",
+ "useHostHeader": "Aangepaste Host-header gebruiken",
+ "awsServiceTierStandardDesc": "Gebalanceerde prestaties en kosten",
+ "awsServiceTierFlexDesc": "Lagere kosten, hogere latency voor niet-kritieke taken",
+ "awsServiceTierPriorityDesc": "Snelste prestaties voor kritieke toepassingen",
+ "claudeCode": {
+ "pathLabel": "Claude Code Pad",
+ "description": "Optioneel pad naar uw Claude Code CLI. Standaard 'claude' als niet ingesteld.",
+ "placeholder": "Standaard: claude",
+ "maxTokensLabel": "Max Output Tokens",
+ "maxTokensDescription": "Maximaal aantal output-tokens voor Claude Code-reacties. Standaard is 8000."
}
},
"checkpoints": {
@@ -712,7 +755,8 @@
"contextManagement": {
"description": "Bepaal welke informatie wordt opgenomen in het contextvenster van de AI, wat invloed heeft op tokengebruik en antwoordkwaliteit",
"autoCondenseContext": {
- "name": "Automatisch intelligente contextcompressie activeren"
+ "name": "Automatisch intelligente contextcompressie activeren",
+ "description": "Wanneer ingeschakeld, zal Zoo automatisch de context comprimeren wanneer de drempel wordt bereikt. Wanneer uitgeschakeld, kun je nog steeds handmatig contextcompressie activeren."
},
"openTabs": {
"label": "Limiet geopende tabbladen in context",
@@ -764,7 +808,8 @@
"defaultProfile": "Globale standaard (alle profielen)",
"defaultDescription": "Wanneer de context dit percentage bereikt, wordt het automatisch gecomprimeerd voor alle profielen tenzij ze aangepaste instellingen hebben",
"profileDescription": "Aangepaste drempelwaarde alleen voor dit profiel (overschrijft globale standaard)",
- "usesGlobal": "(gebruikt globaal {{threshold}}%)"
+ "usesGlobal": "(gebruikt globaal {{threshold}}%)",
+ "inheritDescription": "Dit profiel erft de globale standaard drempelwaarde ({{threshold}}%)"
},
"includeCurrentTime": {
"label": "Huidige tijd opnemen in context",
@@ -781,6 +826,32 @@
"enableSubfolderRules": {
"label": "Submap-regels inschakelen",
"description": "Recursief .roo/rules en AGENTS.md-bestanden uit submappen ontdekken en laden. Handig voor monorepo's met regels per pakket."
+ },
+ "autoCondenseContextPercent": {
+ "label": "Drempelwaarde om intelligente contextcompressie te activeren",
+ "description": "Wanneer het contextvenster deze drempelwaarde bereikt, zal Zoo het automatisch comprimeren."
+ },
+ "condensingApiConfiguration": {
+ "label": "API-configuratie voor contextcondensatie",
+ "description": "Selecteer welke API-configuratie gebruikt moet worden voor contextcondensatie. Laat leeg om de huidige actieve configuratie te gebruiken.",
+ "useCurrentConfig": "Standaard"
+ },
+ "customCondensingPrompt": {
+ "label": "Aangepaste contextcondensatieprompt",
+ "description": "Aangepaste systeemprompt voor contextcondensatie. Laat leeg om de standaardprompt te gebruiken.",
+ "placeholder": "Voer hier je aangepaste condensatieprompt in...\n\nJe kunt dezelfde structuur gebruiken als de standaardprompt:\n- Vorig gesprek\n- Huidig werk\n- Belangrijke technische concepten\n- Relevante bestanden en code\n- Probleemoplossing\n- Openstaande taken en volgende stappen",
+ "reset": "Herstellen naar standaard",
+ "hint": "Leeg = gebruik standaardprompt"
+ },
+ "maxReadFile": {
+ "label": "Automatisch afkappen bij bestandslezen",
+ "description": "Zoo leest dit aantal regels wanneer het model geen begin/eindwaarden opgeeft. Als dit aantal lager is dan het totaal, genereert Zoo een index van codelijnen. Speciale gevallen: -1 laat Zoo het hele bestand lezen (zonder indexering), 0 leest geen regels en geeft alleen een minimale index. Lagere waarden minimaliseren het initiële contextgebruik en maken precieze vervolg-leesopdrachten mogelijk. Expliciete begin/eind-aanvragen worden niet door deze instelling beperkt.",
+ "lines": "regels",
+ "always_full_read": "Altijd volledig bestand lezen"
+ },
+ "maxConcurrentFileReads": {
+ "label": "Limiet gelijktijdige bestandslezingen",
+ "description": "Maximum aantal bestanden dat de 'read_file' tool tegelijkertijd kan verwerken. Hogere waarden kunnen het lezen van meerdere kleine bestanden versnellen maar verhogen het geheugengebruik."
}
},
"terminal": {
@@ -789,7 +860,8 @@
"description": "Toon opdrachtuitvoer ingeklapt, ook van de inline-terminal. Klap deze indien nodig handmatig uit. Dit verandert de uitvoering van opdrachten niet."
},
"basic": {
- "label": "Terminalinstellingen: Basis"
+ "label": "Terminalinstellingen: Basis",
+ "description": "Basis terminalinstellingen"
},
"advanced": {
"label": "Terminalinstellingen: Geavanceerd",
@@ -846,6 +918,14 @@
"description": "Standaard gebruikt Zoo Code de shell die in VS Code is geconfigureerd. Selecteer een shell-profiel uit de lijst om een pad-gebaseerd shell-profiel te gebruiken dat VS Code beschikbaar stelt. Uitsluitend op bron gebaseerde profielen (bijv. de ingebouwde PowerShell-vermelding) kunnen hier niet worden vermeld. <0>Meer informatie0>",
"configureButton": "Standaardprofiel kiezen in VS Code",
"noProfiles": "(geen profielen met pad gevonden in terminal.integrated.profiles)"
+ },
+ "outputLineLimit": {
+ "label": "Terminaluitvoerlimiet",
+ "description": "Behoudt eerste en laatste regels en verwijdert middelste om onder de limiet te blijven. Verlaag om tokens te besparen; verhoog om Zoo meer tussendetails te geven. Zoo ziet een placeholder waar inhoud wordt overgeslagen.<0>Meer informatie0>"
+ },
+ "outputCharacterLimit": {
+ "label": "Terminal-tekenlimiet",
+ "description": "Overschrijft de regellimiet om geheugenproblemen te voorkomen door een harde limiet op uitvoergrootte af te dwingen. Bij overschrijding behoudt het begin en einde en toont een placeholder aan Zoo waar inhoud wordt overgeslagen. <0>Meer informatie0>"
}
},
"advancedSettings": {
@@ -855,6 +935,23 @@
"todoList": {
"label": "Takenlijst-tool inschakelen",
"description": "Wanneer ingeschakeld, kan Zoo takenlijsten maken en beheren om de voortgang van taken bij te houden. Dit helpt complexe taken te organiseren in beheersbare stappen."
+ },
+ "diff": {
+ "label": "Bewerken via diffs inschakelen",
+ "description": "Indien ingeschakeld kan Zoo sneller bestanden bewerken en worden afgekorte volledige-bestandswijzigingen automatisch geweigerd",
+ "strategy": {
+ "label": "Diff-strategie",
+ "options": {
+ "standard": "Standaard (één blok)",
+ "multiBlock": "Experimenteel: Multi-block diff",
+ "unified": "Experimenteel: Unified diff"
+ },
+ "descriptions": {
+ "standard": "Standaard diff-strategie past wijzigingen toe op één codeblok tegelijk.",
+ "unified": "Unified diff-strategie gebruikt meerdere methoden om diffs toe te passen en kiest de beste aanpak.",
+ "multiBlock": "Multi-block diff-strategie laat toe om meerdere codeblokken in één verzoek bij te werken."
+ }
+ }
}
},
"experimental": {
@@ -993,7 +1090,8 @@
"reservedKeys": "De extra body kan door Zoo Code beheerde velden niet overschrijven: {{keys}}."
},
"arn": {
- "regionMismatch": "Waarschuwing: De regio in je ARN ({{arnRegion}}) komt niet overeen met je geselecteerde regio ({{region}}). Dit kan toegangsfouten veroorzaken. De provider gebruikt de regio uit de ARN."
+ "regionMismatch": "Waarschuwing: De regio in je ARN ({{arnRegion}}) komt niet overeen met je geselecteerde regio ({{region}}). Dit kan toegangsfouten veroorzaken. De provider gebruikt de regio uit de ARN.",
+ "invalidFormat": "Ongeldig ARN-formaat. Controleer de formaatvereisten."
},
"modelAvailability": "Het opgegeven model-ID ({{modelId}}) is niet beschikbaar. Kies een ander model.",
"modelDeprecated": "Dit model is niet meer beschikbaar. Kies een ander model.",
@@ -1020,6 +1118,11 @@
"inputPrice": "bijv. 0.0001",
"outputPrice": "bijv. 0.0002",
"cacheWritePrice": "bijv. 0.00005"
+ },
+ "modelId": {
+ "lmStudio": "bijv. meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "bijv. lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "bijv. llama3.1"
}
},
"defaults": {
@@ -1049,7 +1152,9 @@
"input": "Invoer",
"output": "Uitvoer",
"cacheReads": "Cache leest"
- }
+ },
+ "label": "Serviceniveau",
+ "tooltip": "Voor snellere verwerking van API-verzoeken, probeer het prioriteitsverwerkingsniveau. Voor lagere prijzen met hogere latentie, probeer het flexverwerkingsniveau."
},
"ui": {
"collapseThinking": {
@@ -1099,7 +1204,8 @@
"intro": "Om je context licht te houden, raden we aan skills alleen beschikbaar te maken voor de modi die ze nodig hebben.",
"anyMode": "Elke modus (overal beschikbaar)",
"save": "Opslaan",
- "cancel": "Annuleren"
+ "cancel": "Annuleren",
+ "description": "Kies welke modi deze skill kunnen gebruiken"
},
"createDialog": {
"title": "Nieuwe Skill maken",
@@ -1109,7 +1215,11 @@
"sourceLabel": "Locatie",
"modeLabel": "Modus (optioneel)",
"create": "Maken",
- "cancel": "Annuleren"
+ "cancel": "Annuleren",
+ "descriptionLabel": "Beschrijving",
+ "modePlaceholder": "Elke modus",
+ "modeHint": "Beperk deze skill tot een specifieke modus",
+ "modeAny": "Elke modus"
},
"source": {
"global": "Globaal (beschikbaar in alle projecten)",
@@ -1122,7 +1232,13 @@
"descriptionRequired": "Beschrijving is verplicht",
"descriptionTooLong": "Beschrijving moet maximaal 1024 tekens zijn"
},
- "footer": "Maak je eigen skills met de Skill Writer modus, beschikbaar in de Modes Marketplace ."
+ "footer": "Maak je eigen skills met de Skill Writer modus, beschikbaar in de Modes Marketplace .",
+ "modeAny": "Elke modus",
+ "modeCount": "{{count}} modus",
+ "diagnostics": {
+ "title": "Sommige skills konden niet worden geladen",
+ "description": "Corrigeer de YAML-frontmatter in de opgesomde SKILL.md-bestanden en open daarna deze pagina opnieuw of vernieuw deze."
+ }
},
"language": {
"description": "Taal en weergave van datum en tijd.",
@@ -1159,5 +1275,12 @@
"relative": "5 min geleden",
"hover": "(bij aanwijzen: {{value}})"
}
- }
+ },
+ "promptCaching": {
+ "label": "Prompt caching uitschakelen",
+ "description": "Indien aangevinkt, gebruikt Zoo geen prompt caching voor dit model."
+ },
+ "limitMaxTokensDescription": "Beperk het maximale aantal tokens in het antwoord",
+ "maxOutputTokensLabel": "Maximale output tokens",
+ "maxTokensGenerateDescription": "Maximale tokens om te genereren in het antwoord"
}
diff --git a/webview-ui/src/i18n/locales/pl/settings.json b/webview-ui/src/i18n/locales/pl/settings.json
index fd09d548c5..021bd1be9d 100644
--- a/webview-ui/src/i18n/locales/pl/settings.json
+++ b/webview-ui/src/i18n/locales/pl/settings.json
@@ -6,7 +6,8 @@
"cancel": "Anuluj",
"select": "Wybierz",
"add": "Dodaj nagłówek",
- "remove": "Usuń"
+ "remove": "Usuń",
+ "reset": "Resetuj"
},
"search": {
"placeholder": "Szukaj ustawień...",
@@ -250,7 +251,9 @@
"bedrockRegionRequired": "Region AWS jest wymagany",
"ollamaBaseUrlRequired": "Wymagany jest bazowy adres URL Ollama",
"baseUrlRequired": "Wymagany jest bazowy adres URL",
- "openRouterApiKeyRequired": "Wymagany jest klucz API OpenRouter"
+ "openRouterApiKeyRequired": "Wymagany jest klucz API OpenRouter",
+ "bedrockProfileRequired": "Profil AWS jest wymagany",
+ "modelDimensionMinValue": "Wymiar modelu musi być większy niż 0"
},
"optional": "opcjonalny",
"advancedConfigLabel": "Konfiguracja zaawansowana",
@@ -264,7 +267,21 @@
"workspaceToggleLabel": "Włącz indeksowanie dla tego workspace'a",
"workspaceDisabledMessage": "Indeksowanie jest skonfigurowane, ale nie włączone dla tego workspace'a.",
"autoEnableDefaultLabel": "Automatycznie włączaj indeksowanie dla nowych workspace'ów",
- "sembleProvider": "Semble - Lokalny"
+ "sembleProvider": "Semble - Lokalny",
+ "providerLabel": "Dostawca osadzania",
+ "selectProviderPlaceholder": "Wybierz dostawcę",
+ "openAiCompatibleModelDimensionLabel": "Wymiar Embeddingu:",
+ "openAiCompatibleModelDimensionPlaceholder": "np., 1536",
+ "openAiCompatibleModelDimensionDescription": "Wymiar embeddingu (rozmiar wyjściowy) dla twojego modelu. Sprawdź dokumentację swojego dostawcy, aby uzyskać tę wartość. Typowe wartości: 384, 768, 1536, 3072.",
+ "selectModelPlaceholder": "Wybierz model",
+ "ollamaUrlLabel": "URL Ollama:",
+ "qdrantKeyLabel": "Klucz Qdrant:",
+ "unsavedSettingsMessage": "Zapisz swoje ustawienia przed rozpoczęciem procesu indeksowania.",
+ "settingsTitle": "Ustawienia indeksowania",
+ "disabledMessage": "Indeksowanie bazy kodu jest obecnie wyłączone. Włącz je w ustawieniach globalnych, aby skonfigurować opcje indeksowania.",
+ "saveSuccess": "Ustawienia zapisane pomyślnie",
+ "close": "Zamknij",
+ "searchMinScoreResetTooltip": "Zresetuj do wartości domyślnej (0.4)"
},
"autoApprove": {
"toggleShortcut": "Możesz skonfigurować globalny skrót dla tego ustawienia w preferencjach swojego IDE .",
@@ -289,7 +306,8 @@
"protected": {
"label": "Uwzględnij pliki chronione",
"description": "Pozwól Zoo na tworzenie i edycję plików chronionych (takich jak .rooignore i pliki konfiguracyjne .roo/) bez konieczności zatwierdzania."
- }
+ },
+ "delayLabel": "Opóźnienie po zapisach, aby umożliwić diagnostyce wykrycie potencjalnych problemów"
},
"allowlists": {
"label": "Listy dozwolonych",
@@ -339,7 +357,8 @@
"deniedCommandsDescription": "Prefiksy poleceń, które będą automatycznie odrzucane bez pytania o zatwierdzenie. W przypadku konfliktów z dozwolonymi poleceniami, najdłuższe dopasowanie prefiksu ma pierwszeństwo. Dodaj * aby odrzucić wszystkie polecenia.",
"commandPlaceholder": "Wprowadź prefiks polecenia (np. 'git ')",
"deniedCommandPlaceholder": "Wprowadź prefiks polecenia do odrzucenia (np. 'rm -rf')",
- "addButton": "Dodaj"
+ "addButton": "Dodaj",
+ "autoDenied": "Polecenia z prefiksem `{{prefix}}` zostały zabronione przez użytkownika. Nie obchodź tego ograniczenia uruchamiając inne polecenie."
},
"apiRequestLimit": {
"title": "Maksymalna liczba żądań",
@@ -351,7 +370,9 @@
},
"maxLimits": {
"description": "Automatycznie składaj zapytania do tych limitów przed poproszeniem o zgodę na kontynuowanie."
- }
+ },
+ "disabledAriaLabel": "Automatyczne zatwierdzanie wyłączone - najpierw wybierz opcje",
+ "selectOptionsFirst": "Wybierz co najmniej jedną opcję poniżej, aby włączyć automatyczne zatwierdzanie"
},
"providers": {
"configProfile": "Profil konfiguracji",
@@ -462,7 +483,8 @@
"label": "Odśwież modele",
"loading": "Odświeżanie listy modeli...",
"success": "Lista modeli została pomyślnie odświeżona!",
- "error": "Nie udało się odświeżyć listy modeli. Spróbuj ponownie."
+ "error": "Nie udało się odświeżyć listy modeli. Spróbuj ponownie.",
+ "hint": "Proszę ponownie otworzyć ustawienia, aby zobaczyć najnowsze modele."
},
"getRequestyApiKey": "Uzyskaj klucz API Requesty",
"getRequestyBaseUrl": "Bazowy URL",
@@ -591,7 +613,10 @@
"speculativeDecoding": "Włącz dekodowanie spekulacyjne",
"draftModelId": "ID modelu szkicu",
"draftModelDesc": "Aby dekodowanie spekulacyjne działało poprawnie, model szkicu musi pochodzić z tej samej rodziny modeli.",
- "description": "LM Studio pozwala na lokalne uruchamianie modeli na twoim komputerze. Aby rozpocząć, zapoznaj się z ich przewodnikiem szybkiego startu . Będziesz również musiał uruchomić funkcję serwera lokalnego LM Studio, aby używać go z tym rozszerzeniem. Uwaga: Zoo Code używa złożonych podpowiedzi i działa najlepiej z modelami Claude. Modele o niższych możliwościach mogą nie działać zgodnie z oczekiwaniami."
+ "description": "LM Studio pozwala na lokalne uruchamianie modeli na twoim komputerze. Aby rozpocząć, zapoznaj się z ich przewodnikiem szybkiego startu . Będziesz również musiał uruchomić funkcję serwera lokalnego LM Studio, aby używać go z tym rozszerzeniem. Uwaga: Zoo Code używa złożonych podpowiedzi i działa najlepiej z modelami Claude. Modele o niższych możliwościach mogą nie działać zgodnie z oczekiwaniami.",
+ "modelId": "ID modelu",
+ "selectDraftModel": "Wybierz model szkicu",
+ "noModelsFound": "Nie znaleziono modeli szkicu. Upewnij się, że LM Studio jest uruchomione z włączonym trybem serwera."
},
"ollama": {
"baseUrl": "URL bazowy (opcjonalnie)",
@@ -602,7 +627,8 @@
"thinking": "Włącz wnioskowanie",
"thinkingHelp": "Włącz natywne wnioskowanie Ollama dla modeli wnioskujących (np. qwen3, deepseek-r1). Po włączeniu wnioskowanie modelu jest przesyłane i wyświetlane oddzielnie. Nieobsługiwane modele zignorują to ustawienie.",
"description": "Ollama pozwala na lokalne uruchamianie modeli na twoim komputerze. Aby rozpocząć, zapoznaj się z przewodnikiem szybkiego startu.",
- "warning": "Uwaga: Zoo Code używa złożonych podpowiedzi i działa najlepiej z modelami Claude. Modele o niższych możliwościach mogą nie działać zgodnie z oczekiwaniami."
+ "warning": "Uwaga: Zoo Code używa złożonych podpowiedzi i działa najlepiej z modelami Claude. Modele o niższych możliwościach mogą nie działać zgodnie z oczekiwaniami.",
+ "modelId": "ID modelu"
},
"openRouter": {
"providerRouting": {
@@ -647,7 +673,11 @@
"description": "Koszt za milion tokenów za zapis do bufora. Ta cena jest naliczana przy pierwszym buforowaniu podpowiedzi."
}
},
- "resetDefaults": "Przywróć domyślne"
+ "resetDefaults": "Przywróć domyślne",
+ "computerUse": {
+ "label": "Użycie komputera",
+ "description": "Czy model jest w stanie wchodzić w interakcję z przeglądarką?"
+ }
},
"rateLimitSeconds": {
"label": "Limit szybkości",
@@ -687,6 +717,19 @@
"signInDescription": "Zaloguj się, aby korzystać z Zoo Gateway ze swoim kontem",
"authenticated": "Uwierzytelniono",
"authenticatedAs": "Uwierzytelniono jako {{name}}"
+ },
+ "providerDocumentation": "Dokumentacja {{provider}}",
+ "model": "Model",
+ "useHostHeader": "Użyj niestandardowego nagłówka Host",
+ "awsServiceTierStandardDesc": "Zrównoważona wydajność i koszt",
+ "awsServiceTierFlexDesc": "Niższy koszt, wyższe opóźnienie dla zadań niekrytycznych",
+ "awsServiceTierPriorityDesc": "Najszybsza wydajność dla aplikacji krytycznych",
+ "claudeCode": {
+ "pathLabel": "Ścieżka Claude Code",
+ "description": "Opcjonalna ścieżka do Twojego CLI Claude Code. Domyślnie 'claude', jeśli nie ustawiono.",
+ "placeholder": "Domyślnie: claude",
+ "maxTokensLabel": "Maksymalna liczba tokenów wyjściowych",
+ "maxTokensDescription": "Maksymalna liczba tokenów wyjściowych dla odpowiedzi Claude Code. Domyślnie 8000."
}
},
"checkpoints": {
@@ -714,7 +757,8 @@
"contextManagement": {
"description": "Kontroluj, jakie informacje są zawarte w oknie kontekstu AI, wpływając na zużycie token i jakość odpowiedzi",
"autoCondenseContext": {
- "name": "Automatycznie wyzwalaj inteligentną kondensację kontekstu"
+ "name": "Automatycznie wyzwalaj inteligentną kondensację kontekstu",
+ "description": "Gdy włączone, Zoo automatycznie skondensuje kontekst po osiągnięciu progu. Gdy wyłączone, nadal możesz ręcznie wyzwolić kondensację kontekstu."
},
"openTabs": {
"label": "Limit kontekstu otwartych kart",
@@ -756,7 +800,8 @@
"defaultProfile": "Globalny domyślny (wszystkie profile)",
"defaultDescription": "Gdy kontekst osiągnie ten procent, zostanie automatycznie skondensowany dla wszystkich profili, chyba że mają niestandardowe ustawienia",
"profileDescription": "Niestandardowy próg tylko dla tego profilu (zastępuje globalny domyślny)",
- "usesGlobal": "(używa globalnego {{threshold}}%)"
+ "usesGlobal": "(używa globalnego {{threshold}}%)",
+ "inheritDescription": "Ten profil dziedziczy globalny domyślny próg ({{threshold}}%)"
},
"maxImageFileSize": {
"label": "Maksymalny rozmiar pliku obrazu",
@@ -783,6 +828,32 @@
"enableSubfolderRules": {
"label": "Włącz reguły podfolderów",
"description": "Rekursywnie odkrywaj i ładuj pliki .roo/rules i AGENTS.md z podkatalogów. Przydatne dla monorepo z regułami dla poszczególnych pakietów."
+ },
+ "autoCondenseContextPercent": {
+ "label": "Próg wyzwalający inteligentną kondensację kontekstu",
+ "description": "Gdy okno kontekstu osiągnie ten próg, Zoo automatycznie je skondensuje."
+ },
+ "condensingApiConfiguration": {
+ "label": "Konfiguracja API dla kondensacji kontekstu",
+ "description": "Wybierz, którą konfigurację API używać do operacji kondensacji kontekstu. Pozostaw niewybrane, aby użyć aktualnej aktywnej konfiguracji.",
+ "useCurrentConfig": "Domyślna"
+ },
+ "customCondensingPrompt": {
+ "label": "Niestandardowy monit kondensacji kontekstu",
+ "description": "Niestandardowy monit systemowy dla kondensacji kontekstu. Pozostaw puste, aby użyć domyślnego monitu.",
+ "placeholder": "Wprowadź tutaj swój niestandardowy monit kondensacji...\n\nMożesz użyć tej samej struktury co domyślny monit:\n- Poprzednia rozmowa\n- Aktualna praca\n- Kluczowe koncepcje techniczne\n- Istotne pliki i kod\n- Rozwiązywanie problemów\n- Oczekujące zadania i następne kroki",
+ "reset": "Przywróć domyślne",
+ "hint": "Puste = użyj domyślnego monitu"
+ },
+ "maxReadFile": {
+ "label": "Próg automatycznego skracania odczytu pliku",
+ "description": "Zoo odczytuje tę liczbę linii, gdy model nie określa wartości początkowej/końcowej. Jeśli ta liczba jest mniejsza niż całkowita liczba linii pliku, Zoo generuje indeks numerów linii definicji kodu. Przypadki specjalne: -1 nakazuje Zoo odczytać cały plik (bez indeksowania), a 0 nakazuje nie czytać żadnych linii i dostarczyć tylko indeksy linii dla minimalnego kontekstu. Niższe wartości minimalizują początkowe użycie kontekstu, umożliwiając późniejsze precyzyjne odczyty zakresów linii. Jawne żądania początku/końca nie są ograniczone tym ustawieniem.",
+ "lines": "linii",
+ "always_full_read": "Zawsze czytaj cały plik"
+ },
+ "maxConcurrentFileReads": {
+ "label": "Limit jednoczesnych odczytów",
+ "description": "Maksymalna liczba plików, które narzędzie 'read_file' może przetwarzać jednocześnie. Wyższe wartości mogą przyspieszyć odczyt wielu małych plików, ale zwiększają zużycie pamięci."
}
},
"terminal": {
@@ -791,7 +862,8 @@
"description": "Wyniki poleceń, także z terminala wbudowanego, są początkowo zwinięte. Można je ręcznie rozwinąć. Nie zmienia to sposobu wykonywania poleceń."
},
"basic": {
- "label": "Ustawienia terminala: Podstawowe"
+ "label": "Ustawienia terminala: Podstawowe",
+ "description": "Podstawowe ustawienia terminala"
},
"advanced": {
"label": "Ustawienia terminala: Zaawansowane",
@@ -848,6 +920,14 @@
"description": "Domyślnie Zoo Code używa powłoki skonfigurowanej w VS Code. Wybierz profil powłoki z listy, aby użyć profilu ze ścieżką udostępnionego przez VS Code. Profile tylko ze źródłem (np. wbudowany wpis PowerShell) nie mogą być tutaj wyświetlone. <0>Dowiedz się więcej0>",
"configureButton": "Wybierz domyślny profil w VS Code",
"noProfiles": "(brak profili ze ścieżką w terminal.integrated.profiles)"
+ },
+ "outputLineLimit": {
+ "label": "Limit wyjścia terminala",
+ "description": "Zachowuje pierwsze i ostatnie linie i odrzuca środkowe, aby zmieścić się w limicie. Zmniejsz, aby oszczędzać tokeny; zwiększ, aby dać Zoo więcej szczegółów ze środka. Zoo widzi symbol zastępczy tam, gdzie treść jest pomijana.<0>Dowiedz się więcej0>"
+ },
+ "outputCharacterLimit": {
+ "label": "Limit znaków terminala",
+ "description": "Zastępuje limit linii, aby zapobiec problemom z pamięcią, narzucając twardy limit rozmiaru wyjścia. W przypadku przekroczenia zachowuje początek i koniec i pokazuje symbol zastępczy Zoo tam, gdzie treść jest pomijana. <0>Dowiedz się więcej0>"
}
},
"advancedSettings": {
@@ -857,6 +937,23 @@
"todoList": {
"label": "Włącz narzędzie listy zadań",
"description": "Po włączeniu Zoo może tworzyć i zarządzać listami zadań do śledzenia postępu zadań. Pomaga to organizować złożone zadania w łatwe do zarządzania kroki."
+ },
+ "diff": {
+ "label": "Włącz edycję przez różnice",
+ "description": "Gdy włączone, Zoo będzie w stanie edytować pliki szybciej i automatycznie odrzuci obcięte pełne zapisy plików",
+ "strategy": {
+ "label": "Strategia diff",
+ "options": {
+ "standard": "Standardowa (Pojedynczy blok)",
+ "multiBlock": "Eksperymentalna: Diff wieloblokowy",
+ "unified": "Eksperymentalna: Diff ujednolicony"
+ },
+ "descriptions": {
+ "standard": "Standardowa strategia diff stosuje zmiany do jednego bloku kodu na raz.",
+ "unified": "Strategia diff ujednoliconego stosuje wiele podejść do zastosowania różnic i wybiera najlepsze podejście.",
+ "multiBlock": "Strategia diff wieloblokowego pozwala na aktualizację wielu bloków kodu w pliku w jednym żądaniu."
+ }
+ }
}
},
"experimental": {
@@ -997,7 +1094,8 @@
"reservedKeys": "Dodatkowa treść nie może nadpisywać pól zarządzanych przez Zoo Code: {{keys}}."
},
"arn": {
- "regionMismatch": "Ostrzeżenie: Region w Twoim ARN ({{arnRegion}}) nie zgadza się z wybranym regionem ({{region}}). Może to powodować problemy z dostępem. Dostawca użyje regionu z ARN."
+ "regionMismatch": "Ostrzeżenie: Region w Twoim ARN ({{arnRegion}}) nie zgadza się z wybranym regionem ({{region}}). Może to powodować problemy z dostępem. Dostawca użyje regionu z ARN.",
+ "invalidFormat": "Nieprawidłowy format ARN. Sprawdź wymagania dotyczące formatu."
},
"modelAvailability": "Podane ID modelu ({{modelId}}) jest niedostępne. Wybierz inny model.",
"modelDeprecated": "Ten model nie jest już dostępny. Wybierz inny model.",
@@ -1024,6 +1122,11 @@
"inputPrice": "np. 0.0001",
"outputPrice": "np. 0.0002",
"cacheWritePrice": "np. 0.00005"
+ },
+ "modelId": {
+ "lmStudio": "np. meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "np. lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "np. llama3.1"
}
},
"defaults": {
@@ -1053,7 +1156,9 @@
"input": "Wejście",
"output": "Wyjście",
"cacheReads": "Odczyty z pamięci podręcznej"
- }
+ },
+ "label": "Poziom usług",
+ "tooltip": "Aby szybciej przetwarzać żądania API, wypróbuj priorytetowy poziom usług. Aby uzyskać niższe ceny przy wyższej latencji, wypróbuj elastyczny poziom usług."
},
"ui": {
"collapseThinking": {
@@ -1103,7 +1208,8 @@
"intro": "Aby utrzymać lekki kontekst, zalecamy udostępnienie umiejętności tylko trybom, które ich potrzebują.",
"anyMode": "Dowolny tryb (dostępny wszędzie)",
"save": "Zapisz",
- "cancel": "Anuluj"
+ "cancel": "Anuluj",
+ "description": "Wybierz, które tryby mogą korzystać z tej umiejętności"
},
"createDialog": {
"title": "Utwórz Nową Umiejętność",
@@ -1113,7 +1219,11 @@
"sourceLabel": "Lokalizacja",
"modeLabel": "Tryb (opcjonalnie)",
"create": "Utwórz",
- "cancel": "Anuluj"
+ "cancel": "Anuluj",
+ "descriptionLabel": "Opis",
+ "modePlaceholder": "Dowolny tryb",
+ "modeHint": "Ogranicz tę umiejętność do określonego trybu",
+ "modeAny": "Dowolny tryb"
},
"source": {
"global": "Globalnie (dostępne we wszystkich projektach)",
@@ -1126,7 +1236,13 @@
"descriptionRequired": "Opis jest wymagany",
"descriptionTooLong": "Opis musi mieć maksymalnie 1024 znaki"
},
- "footer": "Twórz własne umiejętności za pomocą trybu Skill Writer, dostępnego w Modes Marketplace ."
+ "footer": "Twórz własne umiejętności za pomocą trybu Skill Writer, dostępnego w Modes Marketplace .",
+ "modeAny": "Dowolny tryb",
+ "modeCount": "{{count}} tryby",
+ "diagnostics": {
+ "title": "Nie udało się załadować niektórych skills",
+ "description": "Popraw frontmatter YAML w wymienionych plikach SKILL.md, a następnie otwórz ponownie lub odśwież tę stronę."
+ }
},
"language": {
"description": "Język oraz wyświetlanie daty i godziny.",
@@ -1163,5 +1279,12 @@
"relative": "5 min temu",
"hover": "(po najechaniu: {{value}})"
}
- }
+ },
+ "promptCaching": {
+ "label": "Wyłącz buforowanie promptów",
+ "description": "Po zaznaczeniu, Zoo nie będzie używać buforowania promptów dla tego modelu."
+ },
+ "limitMaxTokensDescription": "Ogranicz maksymalną liczbę tokenów w odpowiedzi",
+ "maxOutputTokensLabel": "Maksymalne tokeny wyjściowe",
+ "maxTokensGenerateDescription": "Maksymalne tokeny do wygenerowania w odpowiedzi"
}
diff --git a/webview-ui/src/i18n/locales/pt-BR/settings.json b/webview-ui/src/i18n/locales/pt-BR/settings.json
index 47256c7d6b..29ec551213 100644
--- a/webview-ui/src/i18n/locales/pt-BR/settings.json
+++ b/webview-ui/src/i18n/locales/pt-BR/settings.json
@@ -6,7 +6,8 @@
"cancel": "Cancelar",
"select": "Selecionar",
"add": "Adicionar cabeçalho",
- "remove": "Remover"
+ "remove": "Remover",
+ "reset": "Redefinir"
},
"search": {
"placeholder": "Pesquisar configurações...",
@@ -249,7 +250,9 @@
"bedrockRegionRequired": "A região da AWS é obrigatória",
"ollamaBaseUrlRequired": "A URL base do Ollama é obrigatória",
"baseUrlRequired": "A URL base é obrigatória",
- "openRouterApiKeyRequired": "Chave API do OpenRouter é obrigatória"
+ "openRouterApiKeyRequired": "Chave API do OpenRouter é obrigatória",
+ "bedrockProfileRequired": "O perfil da AWS é obrigatório",
+ "modelDimensionMinValue": "A dimensão do modelo deve ser maior que 0"
},
"optional": "opcional",
"advancedConfigLabel": "Configuração Avançada",
@@ -263,7 +266,21 @@
"workspaceToggleLabel": "Ativar indexação para este workspace",
"workspaceDisabledMessage": "A indexação está configurada, mas não ativada para este workspace.",
"autoEnableDefaultLabel": "Ativar indexação automaticamente para novos workspaces",
- "sembleProvider": "Semble - Local"
+ "sembleProvider": "Semble - Local",
+ "providerLabel": "Provedor de Embeddings",
+ "selectProviderPlaceholder": "Selecionar provedor",
+ "openAiCompatibleModelDimensionLabel": "Dimensão de Embedding:",
+ "openAiCompatibleModelDimensionPlaceholder": "ex., 1536",
+ "openAiCompatibleModelDimensionDescription": "A dimensão de embedding (tamanho de saída) para seu modelo. Verifique a documentação do seu provedor para este valor. Valores comuns: 384, 768, 1536, 3072.",
+ "selectModelPlaceholder": "Selecionar modelo",
+ "ollamaUrlLabel": "URL Ollama:",
+ "qdrantKeyLabel": "Chave Qdrant:",
+ "unsavedSettingsMessage": "Por favor, salve suas configurações antes de iniciar o processo de indexação.",
+ "settingsTitle": "Configurações de Indexação",
+ "disabledMessage": "A indexação da base de código está atualmente desativada. Ative-a nas configurações globais para configurar as opções de indexação.",
+ "saveSuccess": "Configurações salvas com sucesso",
+ "close": "Fechar",
+ "searchMinScoreResetTooltip": "Redefinir para o valor padrão (0.4)"
},
"autoApprove": {
"toggleShortcut": "Você pode configurar um atalho global para esta configuração nas preferências do seu IDE .",
@@ -288,7 +305,8 @@
"protected": {
"label": "Incluir arquivos protegidos",
"description": "Permitir que o Zoo crie e edite arquivos protegidos (como .rooignore e arquivos de configuração .roo/) sem exigir aprovação."
- }
+ },
+ "delayLabel": "Atraso após escritas para permitir que diagnósticos detectem problemas potenciais"
},
"allowlists": {
"label": "Listas de permissão",
@@ -338,7 +356,8 @@
"deniedCommandsDescription": "Prefixos de comandos que serão automaticamente negados sem pedir aprovação. Em caso de conflitos com comandos permitidos, a correspondência de prefixo mais longa tem precedência. Adicione * para negar todos os comandos.",
"commandPlaceholder": "Digite o prefixo do comando (ex. 'git ')",
"deniedCommandPlaceholder": "Digite o prefixo do comando para negar (ex. 'rm -rf')",
- "addButton": "Adicionar"
+ "addButton": "Adicionar",
+ "autoDenied": "Comandos com o prefixo `{{prefix}}` foram proibidos pelo usuário. Não contorne esta restrição executando outro comando."
},
"apiRequestLimit": {
"title": "Máximo de Solicitações",
@@ -350,7 +369,9 @@
},
"maxLimits": {
"description": "Fazer solicitações automaticamente até estes limites antes de pedir aprovação para continuar."
- }
+ },
+ "disabledAriaLabel": "Aprovação automática desativada - selecione as opções primeiro",
+ "selectOptionsFirst": "Selecione pelo menos uma opção abaixo para habilitar a aprovação automática"
},
"providers": {
"configProfile": "Perfil de configuração",
@@ -461,7 +482,8 @@
"label": "Atualizar modelos",
"loading": "Atualizando lista de modelos...",
"success": "Lista de modelos atualizada com sucesso!",
- "error": "Falha ao atualizar a lista de modelos. Por favor, tente novamente."
+ "error": "Falha ao atualizar a lista de modelos. Por favor, tente novamente.",
+ "hint": "Por favor, reabra as configurações para ver os modelos mais recentes."
},
"getRequestyApiKey": "Obter chave de API Requesty",
"getRequestyBaseUrl": "URL Base",
@@ -590,7 +612,10 @@
"speculativeDecoding": "Ativar Decodificação Especulativa",
"draftModelId": "ID do Modelo de Rascunho",
"draftModelDesc": "O modelo de rascunho deve ser da mesma família de modelos para que a decodificação especulativa funcione corretamente.",
- "description": "O LM Studio permite que você execute modelos localmente em seu computador. Para instruções sobre como começar, veja o guia de início rápido deles. Você também precisará iniciar o recurso de servidor local do LM Studio para usá-lo com esta extensão. Nota: O Zoo Code usa prompts complexos e funciona melhor com modelos Claude. Modelos menos capazes podem não funcionar como esperado."
+ "description": "O LM Studio permite que você execute modelos localmente em seu computador. Para instruções sobre como começar, veja o guia de início rápido deles. Você também precisará iniciar o recurso de servidor local do LM Studio para usá-lo com esta extensão. Nota: O Zoo Code usa prompts complexos e funciona melhor com modelos Claude. Modelos menos capazes podem não funcionar como esperado.",
+ "modelId": "ID do Modelo",
+ "selectDraftModel": "Selecionar Modelo de Rascunho",
+ "noModelsFound": "Nenhum modelo de rascunho encontrado. Certifique-se de que o LM Studio esteja em execução com o Modo Servidor ativado."
},
"ollama": {
"baseUrl": "URL Base (opcional)",
@@ -601,7 +626,8 @@
"thinking": "Ativar raciocínio",
"thinkingHelp": "Ativa o raciocínio nativo do Ollama para modelos de raciocínio (ex.: qwen3, deepseek-r1). Quando ativado, o raciocínio do modelo é transmitido e exibido separadamente. Modelos não compatíveis ignorarão esta configuração.",
"description": "O Ollama permite que você execute modelos localmente em seu computador. Para instruções sobre como começar, veja o guia de início rápido deles.",
- "warning": "Nota: O Zoo Code usa prompts complexos e funciona melhor com modelos Claude. Modelos menos capazes podem não funcionar como esperado."
+ "warning": "Nota: O Zoo Code usa prompts complexos e funciona melhor com modelos Claude. Modelos menos capazes podem não funcionar como esperado.",
+ "modelId": "ID do Modelo"
},
"openRouter": {
"providerRouting": {
@@ -646,7 +672,11 @@
"description": "Custo por milhão de tokens para escrita no cache. Este é o preço cobrado quando um prompt é armazenado em cache pela primeira vez."
}
},
- "resetDefaults": "Restaurar Padrões"
+ "resetDefaults": "Restaurar Padrões",
+ "computerUse": {
+ "label": "Uso do Computador",
+ "description": "Este modelo é capaz de interagir com um navegador?"
+ }
},
"rateLimitSeconds": {
"label": "Limite de taxa",
@@ -686,6 +716,19 @@
"signInDescription": "Entre para usar o Zoo Gateway com sua conta",
"authenticated": "Autenticado",
"authenticatedAs": "Autenticado como {{name}}"
+ },
+ "providerDocumentation": "Documentação do {{provider}}",
+ "model": "Modelo",
+ "useHostHeader": "Usar cabeçalho Host personalizado",
+ "awsServiceTierStandardDesc": "Desempenho e custo equilibrados",
+ "awsServiceTierFlexDesc": "Custo mais baixo, latência mais alta para tarefas não críticas",
+ "awsServiceTierPriorityDesc": "Desempenho mais rápido para aplicações críticas",
+ "claudeCode": {
+ "pathLabel": "Caminho do Claude Code",
+ "description": "Caminho opcional para o seu Claude Code CLI. O padrão é 'claude' se não for definido.",
+ "placeholder": "Padrão: claude",
+ "maxTokensLabel": "Tokens de saída máximos",
+ "maxTokensDescription": "Número máximo de tokens de saída para respostas do Claude Code. O padrão é 8000."
}
},
"checkpoints": {
@@ -713,7 +756,8 @@
"contextManagement": {
"description": "Controle quais informações são incluídas na janela de contexto da IA, afetando o uso de token e a qualidade da resposta",
"autoCondenseContext": {
- "name": "Acionar automaticamente a condensação inteligente de contexto"
+ "name": "Acionar automaticamente a condensação inteligente de contexto",
+ "description": "Quando habilitado, o Zoo condensará automaticamente o contexto quando o limite for atingido. Quando desabilitado, você ainda pode acionar manualmente a condensação de contexto."
},
"openTabs": {
"label": "Limite de contexto de abas abertas",
@@ -755,7 +799,8 @@
"defaultProfile": "Padrão Global (todos os perfis)",
"defaultDescription": "Quando o contexto atingir essa porcentagem, será automaticamente condensado para todos os perfis, a menos que tenham configurações personalizadas",
"profileDescription": "Limite personalizado apenas para este perfil (substitui o padrão global)",
- "usesGlobal": "(usa global {{threshold}}%)"
+ "usesGlobal": "(usa global {{threshold}}%)",
+ "inheritDescription": "Este perfil herda o limite padrão global ({{threshold}}%)"
},
"maxImageFileSize": {
"label": "Tamanho máximo do arquivo de imagem",
@@ -782,6 +827,32 @@
"enableSubfolderRules": {
"label": "Ativar regras de subpastas",
"description": "Descobrir e carregar recursivamente arquivos .roo/rules e AGENTS.md de subdiretórios. Útil para monorepos com regras por pacote."
+ },
+ "autoCondenseContextPercent": {
+ "label": "Limite para acionar a condensação inteligente de contexto",
+ "description": "Quando a janela de contexto atingir este limite, o Zoo a condensará automaticamente."
+ },
+ "condensingApiConfiguration": {
+ "label": "Configuração de API para Condensação de Contexto",
+ "description": "Selecione qual configuração de API usar para operações de condensação de contexto. Deixe desmarcado para usar a configuração ativa atual.",
+ "useCurrentConfig": "Padrão"
+ },
+ "customCondensingPrompt": {
+ "label": "Prompt Personalizado de Condensação de Contexto",
+ "description": "Prompt de sistema personalizado para condensação de contexto. Deixe em branco para usar o prompt padrão.",
+ "placeholder": "Digite seu prompt de condensação personalizado aqui...\n\nVocê pode usar a mesma estrutura do prompt padrão:\n- Conversa Anterior\n- Trabalho Atual\n- Conceitos Técnicos Principais\n- Arquivos e Código Relevantes\n- Resolução de Problemas\n- Tarefas Pendentes e Próximos Passos",
+ "reset": "Restaurar Padrão",
+ "hint": "Vazio = usar prompt padrão"
+ },
+ "maxReadFile": {
+ "label": "Limite de auto-truncamento de leitura de arquivo",
+ "description": "O Zoo lê este número de linhas quando o modelo omite valores de início/fim. Se este número for menor que o total do arquivo, o Zoo gera um índice de números de linha das definições de código. Casos especiais: -1 instrui o Zoo a ler o arquivo inteiro (sem indexação), e 0 instrui a não ler linhas e fornecer apenas índices de linha para contexto mínimo. Valores mais baixos minimizam o uso inicial de contexto, permitindo leituras posteriores precisas de intervalos de linhas. Requisições com início/fim explícitos não são limitadas por esta configuração.",
+ "lines": "linhas",
+ "always_full_read": "Sempre ler o arquivo inteiro"
+ },
+ "maxConcurrentFileReads": {
+ "label": "Limite de leituras simultâneas",
+ "description": "Número máximo de arquivos que a ferramenta 'read_file' pode processar simultaneamente. Valores mais altos podem acelerar a leitura de vários arquivos pequenos, mas aumentam o uso de memória."
}
},
"terminal": {
@@ -790,7 +861,8 @@
"description": "Mostra recolhida a saída dos comandos, incluindo a do terminal inline. Expanda manualmente quando necessário. Isso não altera a execução dos comandos."
},
"basic": {
- "label": "Configurações do terminal: Básicas"
+ "label": "Configurações do terminal: Básicas",
+ "description": "Configurações básicas do terminal"
},
"advanced": {
"label": "Configurações do Terminal: Avançado",
@@ -847,6 +919,14 @@
"description": "Por padrão, o Zoo Code usa o shell configurado no VS Code. Selecione um perfil de shell na lista para escolher um perfil de shell com caminho exposto pelo VS Code. Perfis somente de fonte (ex.: a entrada integrada do PowerShell) não podem ser listados aqui. <0>Saiba mais0>",
"configureButton": "Escolher perfil padrão no VS Code",
"noProfiles": "(nenhum perfil com caminho encontrado em terminal.integrated.profiles)"
+ },
+ "outputLineLimit": {
+ "label": "Limite de saída do terminal",
+ "description": "Mantém as primeiras e últimas linhas e descarta as do meio para ficar abaixo do limite. Diminua para economizar tokens; aumente para dar ao Zoo mais detalhes do meio. O Zoo vê um placeholder onde o conteúdo é pulado.<0>Saiba mais0>"
+ },
+ "outputCharacterLimit": {
+ "label": "Limite de caracteres do terminal",
+ "description": "Substitui o limite de linhas para evitar problemas de memória, impondo um limite rígido no tamanho da saída. Se excedido, mantém o início e o fim e mostra um placeholder para o Zoo onde o conteúdo é pulado. <0>Saiba mais0>"
}
},
"advancedSettings": {
@@ -856,6 +936,23 @@
"todoList": {
"label": "Habilitar ferramenta de lista de tarefas",
"description": "Quando habilitado, o Zoo pode criar e gerenciar listas de tarefas para acompanhar o progresso das tarefas. Isso ajuda a organizar tarefas complexas em etapas gerenciáveis."
+ },
+ "diff": {
+ "label": "Ativar edição através de diffs",
+ "description": "Quando ativado, o Zoo poderá editar arquivos mais rapidamente e rejeitará automaticamente escritas completas de arquivos truncados",
+ "strategy": {
+ "label": "Estratégia de diff",
+ "options": {
+ "standard": "Padrão (Bloco único)",
+ "multiBlock": "Experimental: Diff multi-bloco",
+ "unified": "Experimental: Diff unificado"
+ },
+ "descriptions": {
+ "standard": "A estratégia de diff padrão aplica alterações a um único bloco de código por vez.",
+ "unified": "A estratégia de diff unificado adota várias abordagens para aplicar diffs e escolhe a melhor abordagem.",
+ "multiBlock": "A estratégia de diff multi-bloco permite atualizar vários blocos de código em um arquivo em uma única requisição."
+ }
+ }
}
},
"experimental": {
@@ -995,7 +1092,8 @@
"reservedKeys": "O corpo adicional não pode sobrescrever os campos gerenciados pelo Zoo Code: {{keys}}."
},
"arn": {
- "regionMismatch": "Aviso: A região em seu ARN ({{arnRegion}}) não corresponde à região selecionada ({{region}}). Isso pode causar problemas de acesso. O provedor usará a região do ARN."
+ "regionMismatch": "Aviso: A região em seu ARN ({{arnRegion}}) não corresponde à região selecionada ({{region}}). Isso pode causar problemas de acesso. O provedor usará a região do ARN.",
+ "invalidFormat": "Formato de ARN inválido. Por favor, verifique os requisitos de formato."
},
"modelAvailability": "O ID do modelo ({{modelId}}) que você forneceu não está disponível. Por favor, escolha outro modelo.",
"modelDeprecated": "Este modelo não está mais disponível. Por favor, selecione um modelo diferente.",
@@ -1022,6 +1120,11 @@
"inputPrice": "ex: 0.0001",
"outputPrice": "ex: 0.0002",
"cacheWritePrice": "ex: 0.00005"
+ },
+ "modelId": {
+ "lmStudio": "ex: meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "ex: lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "ex: llama3.1"
}
},
"defaults": {
@@ -1051,7 +1154,9 @@
"input": "Entrada",
"output": "Saída",
"cacheReads": "Leituras de cache"
- }
+ },
+ "label": "Nível de serviço",
+ "tooltip": "Para um processamento mais rápido das solicitações de API, experimente o nível de serviço de processamento prioritário. Para preços mais baixos com maior latência, experimente o nível de processamento flexível."
},
"ui": {
"collapseThinking": {
@@ -1101,7 +1206,8 @@
"intro": "Para manter seu contexto leve, recomendamos tornar skills disponíveis apenas para os modos que os precisam.",
"anyMode": "Qualquer modo (disponível em qualquer lugar)",
"save": "Salvar",
- "cancel": "Cancelar"
+ "cancel": "Cancelar",
+ "description": "Escolha quais modos podem usar esta skill"
},
"createDialog": {
"title": "Criar Nova Skill",
@@ -1111,7 +1217,11 @@
"sourceLabel": "Localização",
"modeLabel": "Modo (opcional)",
"create": "Criar",
- "cancel": "Cancelar"
+ "cancel": "Cancelar",
+ "descriptionLabel": "Descrição",
+ "modePlaceholder": "Qualquer modo",
+ "modeHint": "Restrinja esta skill a um modo específico",
+ "modeAny": "Qualquer modo"
},
"source": {
"global": "Global (disponível em todos os projetos)",
@@ -1124,7 +1234,13 @@
"descriptionRequired": "A descrição é obrigatória",
"descriptionTooLong": "A descrição deve ter no máximo 1024 caracteres"
},
- "footer": "Crie suas próprias skills com o modo Skill Writer, disponível em Modes Marketplace ."
+ "footer": "Crie suas próprias skills com o modo Skill Writer, disponível em Modes Marketplace .",
+ "modeAny": "Qualquer modo",
+ "modeCount": "{{count}} modos",
+ "diagnostics": {
+ "title": "Não foi possível carregar algumas skills",
+ "description": "Corrija o frontmatter YAML nos arquivos SKILL.md listados e, em seguida, reabra ou atualize esta página."
+ }
},
"language": {
"description": "Idioma e exibição de data e hora.",
@@ -1161,5 +1277,12 @@
"relative": "há 5 min",
"hover": "(ao passar o mouse: {{value}})"
}
- }
+ },
+ "promptCaching": {
+ "label": "Desativar cache de prompts",
+ "description": "Quando marcado, o Zoo não usará o cache de prompts para este modelo."
+ },
+ "limitMaxTokensDescription": "Limitar o número máximo de tokens na resposta",
+ "maxOutputTokensLabel": "Tokens máximos de saída",
+ "maxTokensGenerateDescription": "Tokens máximos para gerar na resposta"
}
diff --git a/webview-ui/src/i18n/locales/ru/settings.json b/webview-ui/src/i18n/locales/ru/settings.json
index 7bd2cd6c3e..3e93b53ae8 100644
--- a/webview-ui/src/i18n/locales/ru/settings.json
+++ b/webview-ui/src/i18n/locales/ru/settings.json
@@ -6,7 +6,8 @@
"cancel": "Отмена",
"select": "Выбрать",
"add": "Добавить заголовок",
- "remove": "Удалить"
+ "remove": "Удалить",
+ "reset": "Сбросить"
},
"search": {
"placeholder": "Поиск параметров...",
@@ -250,7 +251,9 @@
"bedrockRegionRequired": "Требуется регион AWS",
"ollamaBaseUrlRequired": "Требуется базовый URL Ollama",
"baseUrlRequired": "Требуется базовый URL",
- "openRouterApiKeyRequired": "Требуется ключ API OpenRouter"
+ "openRouterApiKeyRequired": "Требуется ключ API OpenRouter",
+ "bedrockProfileRequired": "Требуется профиль AWS",
+ "modelDimensionMinValue": "Размерность модели должна быть больше 0"
},
"optional": "необязательно",
"advancedConfigLabel": "Расширенная конфигурация",
@@ -264,7 +267,21 @@
"workspaceToggleLabel": "Включить индексацию для этого рабочего пространства",
"workspaceDisabledMessage": "Индексация настроена, но не включена для этого рабочего пространства.",
"autoEnableDefaultLabel": "Автоматически включать индексацию для новых рабочих пространств",
- "sembleProvider": "Semble - Локальный"
+ "sembleProvider": "Semble - Локальный",
+ "providerLabel": "Провайдер эмбеддингов",
+ "selectProviderPlaceholder": "Выберите провайдера",
+ "openAiCompatibleModelDimensionLabel": "Размерность эмбеддинга:",
+ "openAiCompatibleModelDimensionPlaceholder": "напр., 1536",
+ "openAiCompatibleModelDimensionDescription": "Размерность эмбеддинга (размер выходных данных) для вашей модели. Проверьте документацию вашего провайдера для этого значения. Распространенные значения: 384, 768, 1536, 3072.",
+ "selectModelPlaceholder": "Выберите модель",
+ "ollamaUrlLabel": "URL Ollama:",
+ "qdrantKeyLabel": "Ключ Qdrant:",
+ "unsavedSettingsMessage": "Пожалуйста, сохрани настройки перед запуском процесса индексации.",
+ "settingsTitle": "Настройки индексации",
+ "disabledMessage": "Индексация кодовой базы в настоящее время отключена. Включите ее в глобальных настройках для настройки параметров индексации.",
+ "saveSuccess": "Настройки успешно сохранены",
+ "close": "Закрыть",
+ "searchMinScoreResetTooltip": "Сбросить к значению по умолчанию (0.4)"
},
"autoApprove": {
"toggleShortcut": "Вы можете настроить глобальное сочетание клавиш для этого параметра в настройках вашей IDE .",
@@ -289,7 +306,8 @@
"protected": {
"label": "Включить защищенные файлы",
"description": "Разрешить Zoo создавать и редактировать защищенные файлы (такие как .rooignore и файлы конфигурации .roo/) без необходимости одобрения."
- }
+ },
+ "delayLabel": "Задержка после записи для диагностики возможных проблем"
},
"allowlists": {
"label": "Списки разрешений",
@@ -339,7 +357,8 @@
"deniedCommandsDescription": "Префиксы команд, которые будут автоматически отклонены без запроса одобрения. В случае конфликтов с разрешенными командами, приоритет имеет самое длинное совпадение префикса. Добавьте * чтобы запретить все команды.",
"commandPlaceholder": "Введите префикс команды (например, 'git ')",
"deniedCommandPlaceholder": "Введите префикс команды для запрета (например, 'rm -rf')",
- "addButton": "Добавить"
+ "addButton": "Добавить",
+ "autoDenied": "Команды с префиксом `{{prefix}}` были запрещены пользователем. Не обходи это ограничение, выполняя другую команду."
},
"apiRequestLimit": {
"title": "Максимум запросов",
@@ -351,7 +370,9 @@
},
"maxLimits": {
"description": "Автоматически выполнять запросы до указанных лимитов, прежде чем запрашивать разрешение на продолжение."
- }
+ },
+ "disabledAriaLabel": "Автоодобрение отключено - сначала выберите опции",
+ "selectOptionsFirst": "Выберите хотя бы один вариант ниже, чтобы включить автоодобрение"
},
"providers": {
"configProfile": "Профиль конфигурации",
@@ -462,7 +483,8 @@
"label": "Обновить модели",
"loading": "Обновление списка моделей...",
"success": "Список моделей успешно обновлен!",
- "error": "Не удалось обновить список моделей. Пожалуйста, попробуйте снова."
+ "error": "Не удалось обновить список моделей. Пожалуйста, попробуйте снова.",
+ "hint": "Пожалуйста, откройте настройки заново, чтобы увидеть последние модели."
},
"getRequestyApiKey": "Получить Requesty API-ключ",
"getRequestyBaseUrl": "Базовый URL",
@@ -591,7 +613,10 @@
"speculativeDecoding": "Включить speculative decoding",
"draftModelId": "ID черновой модели",
"draftModelDesc": "Черновая модель должна быть из той же семьи моделей для корректной работы speculative decoding.",
- "description": "LM Studio позволяет запускать модели локально на вашем компьютере. Для начала ознакомьтесь с кратким руководством . Также необходимо включить локальный сервер LM Studio для работы с этим расширением. Примечание: Zoo Code использует сложные подсказки и лучше всего работает с моделями Claude. Менее мощные модели могут работать некорректно."
+ "description": "LM Studio позволяет запускать модели локально на вашем компьютере. Для начала ознакомьтесь с кратким руководством . Также необходимо включить локальный сервер LM Studio для работы с этим расширением. Примечание: Zoo Code использует сложные подсказки и лучше всего работает с моделями Claude. Менее мощные модели могут работать некорректно.",
+ "modelId": "ID модели",
+ "selectDraftModel": "Выбрать черновую модель",
+ "noModelsFound": "Черновых моделей не найдено. Проверьте, что LM Studio запущен с включённым серверным режимом."
},
"ollama": {
"baseUrl": "Базовый URL (опционально)",
@@ -602,7 +627,8 @@
"thinking": "Включить рассуждение",
"thinkingHelp": "Включает собственное рассуждение Ollama для моделей рассуждения (например, qwen3, deepseek-r1). При включении рассуждение модели передаётся и отображается отдельно. Неподдерживаемые модели проигнорируют эту настройку.",
"description": "Ollama позволяет запускать модели локально на вашем компьютере. Для начала ознакомьтесь с кратким руководством.",
- "warning": "Примечание: Zoo Code использует сложные подсказки и лучше всего работает с моделями Claude. Менее мощные модели могут работать некорректно."
+ "warning": "Примечание: Zoo Code использует сложные подсказки и лучше всего работает с моделями Claude. Менее мощные модели могут работать некорректно.",
+ "modelId": "ID модели"
},
"openRouter": {
"providerRouting": {
@@ -647,7 +673,11 @@
"description": "Стоимость за миллион токенов при записи в кэш. Взимается при первом кэшировании подсказки."
}
},
- "resetDefaults": "Сбросить к значениям по умолчанию"
+ "resetDefaults": "Сбросить к значениям по умолчанию",
+ "computerUse": {
+ "label": "Использование компьютера",
+ "description": "Может ли эта модель взаимодействовать с браузером?"
+ }
},
"rateLimitSeconds": {
"label": "Лимит скорости",
@@ -687,6 +717,19 @@
"signInDescription": "Войдите, чтобы использовать Zoo Gateway с вашей учетной записью",
"authenticated": "Аутентифицирован",
"authenticatedAs": "Аутентифицирован как {{name}}"
+ },
+ "providerDocumentation": "Документация {{provider}}",
+ "model": "Модель",
+ "useHostHeader": "Использовать пользовательский Host-заголовок",
+ "awsServiceTierStandardDesc": "Сбалансированная производительность и стоимость",
+ "awsServiceTierFlexDesc": "Более низкая стоимость, более высокая задержка для некритичных задач",
+ "awsServiceTierPriorityDesc": "Максимальная производительность для критичных приложений",
+ "claudeCode": {
+ "pathLabel": "Путь к Claude Code",
+ "description": "Необязательный путь к вашему Claude Code CLI. По умолчанию используется 'claude', если не установлено.",
+ "placeholder": "По умолчанию: claude",
+ "maxTokensLabel": "Макс. выходных токенов",
+ "maxTokensDescription": "Максимальное количество выходных токенов для ответов Claude Code. По умолчанию 8000."
}
},
"checkpoints": {
@@ -714,7 +757,8 @@
"contextManagement": {
"description": "Управляйте, какая информация включается в окно контекста ИИ, что влияет на расход токенов и качество ответов",
"autoCondenseContext": {
- "name": "Автоматически запускать интеллектуальное сжатие контекста"
+ "name": "Автоматически запускать интеллектуальное сжатие контекста",
+ "description": "Когда включено, Zoo будет автоматически сжимать контекст при достижении порога. Когда отключено, вы все еще можете вручную запускать сжатие контекста."
},
"openTabs": {
"label": "Лимит контекста открытых вкладок",
@@ -756,7 +800,8 @@
"defaultProfile": "Глобальный по умолчанию (все профили)",
"defaultDescription": "Когда контекст достигнет этого процента, он будет автоматически сжат для всех профилей, если у них нет пользовательских настроек",
"profileDescription": "Пользовательский порог только для этого профиля (переопределяет глобальный по умолчанию)",
- "usesGlobal": "(использует глобальный {{threshold}}%)"
+ "usesGlobal": "(использует глобальный {{threshold}}%)",
+ "inheritDescription": "Этот профиль наследует глобальный порог по умолчанию ({{threshold}}%)"
},
"maxImageFileSize": {
"label": "Максимальный размер файла изображения",
@@ -783,6 +828,32 @@
"enableSubfolderRules": {
"label": "Включить правила подпапок",
"description": "Рекурсивно обнаруживать и загружать файлы .roo/rules и AGENTS.md из подкаталогов. Полезно для монорепозиториев с правилами для каждого пакета."
+ },
+ "autoCondenseContextPercent": {
+ "label": "Порог для запуска интеллектуального сжатия контекста",
+ "description": "Когда контекстное окно достигает этого порога, Zoo автоматически его сожмёт."
+ },
+ "condensingApiConfiguration": {
+ "label": "Конфигурация API для сжатия контекста",
+ "description": "Выберите конфигурацию API для операций сжатия контекста. Оставьте невыбранным, чтобы использовать текущую активную конфигурацию.",
+ "useCurrentConfig": "По умолчанию"
+ },
+ "customCondensingPrompt": {
+ "label": "Пользовательская подсказка для сжатия контекста",
+ "description": "Пользовательская системная подсказка для сжатия контекста. Оставьте пустым, чтобы использовать подсказку по умолчанию.",
+ "placeholder": "Введите здесь свой пользовательский промпт для сжатия...\n\nВы можете использовать ту же структуру, что и в промпте по умолчанию:\n- Предыдущий разговор\n- Текущая работа\n- Ключевые технические концепции\n- Соответствующие файлы и код\n- Решение проблем\n- Ожидающие задачи и следующие шаги",
+ "reset": "Сбросить на значение по умолчанию",
+ "hint": "Пусто = использовать промпт по умолчанию"
+ },
+ "maxReadFile": {
+ "label": "Порог автообрезки при чтении файла",
+ "description": "Zoo читает столько строк, если модель не указала явно начало/конец. Если число меньше общего количества строк в файле, Zoo создаёт индекс определений кода по строкам. Особые случаи: -1 — Zoo читает весь файл (без индексации), 0 — не читает строки, а создаёт только минимальный индекс. Меньшие значения минимизируют начальный контекст, позволяя точнее читать нужные диапазоны строк. Явные запросы начала/конца не ограничиваются этим параметром.",
+ "lines": "строк",
+ "always_full_read": "Всегда читать весь файл"
+ },
+ "maxConcurrentFileReads": {
+ "label": "Лимит одновременного чтения",
+ "description": "Максимальное количество файлов, которые инструмент 'read_file' может обрабатывать одновременно. Более высокие значения могут ускорить чтение нескольких небольших файлов, но увеличивают использование памяти."
}
},
"terminal": {
@@ -791,7 +862,8 @@
"description": "Вывод команд, включая встроенный терминал, сначала свёрнут. При необходимости разверните его вручную. Способ выполнения команд не меняется."
},
"basic": {
- "label": "Настройки терминала: Основные"
+ "label": "Настройки терминала: Основные",
+ "description": "Основные настройки терминала"
},
"advanced": {
"label": "Настройки терминала: Расширенные",
@@ -848,6 +920,14 @@
"description": "По умолчанию Zoo Code использует оболочку, настроенную в VS Code. Выберите профиль оболочки из списка, чтобы указать профиль оболочки с путём, предоставленный VS Code. Профили только с источником (например, встроенная запись PowerShell) не могут быть перечислены здесь. <0>Подробнее0>",
"configureButton": "Выбрать профиль по умолчанию в VS Code",
"noProfiles": "(профили с путём в terminal.integrated.profiles не найдены)"
+ },
+ "outputLineLimit": {
+ "label": "Лимит вывода терминала",
+ "description": "Сохраняет первые и последние строки и отбрасывает средние, чтобы остаться в пределах лимита. Уменьшите для экономии токенов; увеличьте, чтобы дать Zoo больше деталей из середины. Zoo видит заполнитель там, где контент пропущен.<0>Подробнее0>"
+ },
+ "outputCharacterLimit": {
+ "label": "Лимит символов терминала",
+ "description": "Переопределяет лимит строк для предотвращения проблем с памятью, устанавливая жёсткое ограничение на размер вывода. При превышении сохраняет начало и конец и показывает Zoo заполнитель там, где контент пропущен. <0>Подробнее0>"
}
},
"advancedSettings": {
@@ -857,6 +937,23 @@
"todoList": {
"label": "Включить инструмент списка задач",
"description": "При включении Zoo может создавать и управлять списками задач для отслеживания прогресса. Это помогает организовать сложные задачи в управляемые шаги."
+ },
+ "diff": {
+ "label": "Включить редактирование через диффы",
+ "description": "Если включено, Zoo сможет быстрее редактировать файлы и автоматически отклонять усечённые полные записи",
+ "strategy": {
+ "label": "Стратегия диффа",
+ "options": {
+ "standard": "Стандартная (один блок)",
+ "multiBlock": "Экспериментально: Мультиблочный дифф",
+ "unified": "Экспериментально: Унифицированный дифф"
+ },
+ "descriptions": {
+ "standard": "Стандартная стратегия применяет изменения к одному блоку кода за раз.",
+ "unified": "Унифицированная стратегия использует несколько подходов к применению диффов и выбирает лучший.",
+ "multiBlock": "Мультиблочная стратегия позволяет обновлять несколько блоков кода в файле за один запрос."
+ }
+ }
}
},
"experimental": {
@@ -997,7 +1094,8 @@
"reservedKeys": "Дополнительное тело не может переопределять поля, управляемые Zoo Code: {{keys}}."
},
"arn": {
- "regionMismatch": "Внимание: регион в вашем ARN ({{arnRegion}}) не совпадает с выбранным регионом ({{region}}). Это может вызвать проблемы с доступом. Провайдер будет использовать регион из ARN."
+ "regionMismatch": "Внимание: регион в вашем ARN ({{arnRegion}}) не совпадает с выбранным регионом ({{region}}). Это может вызвать проблемы с доступом. Провайдер будет использовать регион из ARN.",
+ "invalidFormat": "Неверный формат ARN. Проверьте требования к формату."
},
"modelAvailability": "ID модели ({{modelId}}), который вы указали, недоступен. Пожалуйста, выберите другую модель.",
"modelDeprecated": "Эта модель больше недоступна. Пожалуйста, выберите другую модель.",
@@ -1024,6 +1122,11 @@
"inputPrice": "например, 0.0001",
"outputPrice": "например, 0.0002",
"cacheWritePrice": "например, 0.00005"
+ },
+ "modelId": {
+ "lmStudio": "например, meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "например, lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "например, llama3.1"
}
},
"defaults": {
@@ -1053,7 +1156,9 @@
"input": "Вход",
"output": "Выход",
"cacheReads": "Чтения из кэша"
- }
+ },
+ "label": "Уровень обслуживания",
+ "tooltip": "Для более быстрой обработки запросов API попробуйте уровень обслуживания с приоритетной обработкой. Для более низких цен с более высокой задержкой попробуйте уровень гибкой обработки."
},
"ui": {
"collapseThinking": {
@@ -1103,7 +1208,8 @@
"intro": "Чтобы сохранить контекст легким, мы рекомендуем делать навыки доступными только для режимов, которые их требуют.",
"anyMode": "Любой режим (доступно везде)",
"save": "Сохранить",
- "cancel": "Отмена"
+ "cancel": "Отмена",
+ "description": "Выберите, какие режимы могут использовать этот навык"
},
"createDialog": {
"title": "Создать Новый Навык",
@@ -1113,7 +1219,11 @@
"sourceLabel": "Расположение",
"modeLabel": "Режим (необязательно)",
"create": "Создать",
- "cancel": "Отмена"
+ "cancel": "Отмена",
+ "descriptionLabel": "Описание",
+ "modePlaceholder": "Любой режим",
+ "modeHint": "Ограничьте этот навык определенным режимом",
+ "modeAny": "Любой режим"
},
"source": {
"global": "Глобальный (доступен во всех проектах)",
@@ -1126,7 +1236,13 @@
"descriptionRequired": "Описание обязательно",
"descriptionTooLong": "Описание должно быть не более 1024 символов"
},
- "footer": "Создавайте собственные навыки с режимом Skill Writer, доступным в Modes Marketplace ."
+ "footer": "Создавайте собственные навыки с режимом Skill Writer, доступным в Modes Marketplace .",
+ "modeAny": "Любой режим",
+ "modeCount": "{{count}} режимов",
+ "diagnostics": {
+ "title": "Не удалось загрузить некоторые skills",
+ "description": "Исправьте YAML frontmatter в перечисленных файлах SKILL.md, затем снова откройте или обновите эту страницу."
+ }
},
"language": {
"description": "Язык и отображение даты и времени.",
@@ -1163,5 +1279,12 @@
"relative": "5 мин назад",
"hover": "(при наведении: {{value}})"
}
- }
+ },
+ "promptCaching": {
+ "label": "Отключить кэширование промптов",
+ "description": "Если отмечено, Zoo не будет использовать кэширование промптов для этой модели."
+ },
+ "limitMaxTokensDescription": "Ограничить максимальное количество токенов в ответе",
+ "maxOutputTokensLabel": "Максимальные выходные токены",
+ "maxTokensGenerateDescription": "Максимальные токены для генерации в ответе"
}
diff --git a/webview-ui/src/i18n/locales/tr/settings.json b/webview-ui/src/i18n/locales/tr/settings.json
index 3cc4b0f554..37db4fe757 100644
--- a/webview-ui/src/i18n/locales/tr/settings.json
+++ b/webview-ui/src/i18n/locales/tr/settings.json
@@ -6,7 +6,8 @@
"cancel": "İptal",
"select": "Seç",
"add": "Başlık Ekle",
- "remove": "Kaldır"
+ "remove": "Kaldır",
+ "reset": "Sıfırla"
},
"search": {
"placeholder": "Ayarları ara...",
@@ -248,7 +249,9 @@
"bedrockRegionRequired": "AWS bölgesi gereklidir",
"ollamaBaseUrlRequired": "Ollama temel URL'si gereklidir",
"baseUrlRequired": "Temel URL'si gereklidir",
- "openRouterApiKeyRequired": "OpenRouter API anahtarı gereklidir"
+ "openRouterApiKeyRequired": "OpenRouter API anahtarı gereklidir",
+ "bedrockProfileRequired": "AWS profili gereklidir",
+ "modelDimensionMinValue": "Model boyutu 0'dan büyük olmalıdır"
},
"optional": "isteğe bağlı",
"advancedConfigLabel": "Gelişmiş Yapılandırma",
@@ -262,7 +265,21 @@
"workspaceToggleLabel": "Bu çalışma alanı için indekslemeyi etkinleştir",
"workspaceDisabledMessage": "İndeksleme yapılandırıldı ancak bu çalışma alanı için etkinleştirilmedi.",
"autoEnableDefaultLabel": "Yeni çalışma alanları için indekslemeyi otomatik etkinleştir",
- "sembleProvider": "Semble - Yerel"
+ "sembleProvider": "Semble - Yerel",
+ "providerLabel": "Gömme Sağlayıcısı",
+ "selectProviderPlaceholder": "Sağlayıcı seç",
+ "openAiCompatibleModelDimensionLabel": "Gömme Boyutu:",
+ "openAiCompatibleModelDimensionPlaceholder": "örn., 1536",
+ "openAiCompatibleModelDimensionDescription": "Modeliniz için gömme boyutu (çıktı boyutu). Bu değer için sağlayıcınızın belgelerine bakın. Yaygın değerler: 384, 768, 1536, 3072.",
+ "selectModelPlaceholder": "Model seç",
+ "ollamaUrlLabel": "Ollama URL:",
+ "qdrantKeyLabel": "Qdrant Anahtarı:",
+ "unsavedSettingsMessage": "İndeksleme işlemini başlatmadan önce lütfen ayarlarını kaydet.",
+ "settingsTitle": "İndeksleme Ayarları",
+ "disabledMessage": "Kod tabanı indeksleme şu anda devre dışı. İndeksleme seçeneklerini yapılandırmak için genel ayarlarda etkinleştirin.",
+ "saveSuccess": "Ayarlar başarıyla kaydedildi",
+ "close": "Kapat",
+ "searchMinScoreResetTooltip": "Varsayılan değere sıfırla (0.4)"
},
"autoApprove": {
"toggleShortcut": "IDE tercihlerinizde bu ayar için genel bir kısayol yapılandırabilirsiniz.",
@@ -287,7 +304,8 @@
"protected": {
"label": "Korumalı dosyaları dahil et",
"description": "Zoo'nun korumalı dosyaları (.rooignore ve .roo/ yapılandırma dosyaları gibi) onay gerektirmeden oluşturmasına ve düzenlemesine izin ver."
- }
+ },
+ "delayLabel": "Tanılamanın potansiyel sorunları tespit etmesine izin vermek için yazmalardan sonra gecikme"
},
"allowlists": {
"label": "İzin listeleri",
@@ -337,7 +355,8 @@
"deniedCommandsDescription": "Onay istenmeden otomatik olarak reddedilecek komut önekleri. İzin verilen komutlarla çakışma durumunda, en uzun önek eşleşmesi öncelik alır. Tüm komutları reddetmek için * ekleyin.",
"commandPlaceholder": "Komut öneki girin (örn. 'git ')",
"deniedCommandPlaceholder": "Reddetmek için komut öneki girin (örn. 'rm -rf')",
- "addButton": "Ekle"
+ "addButton": "Ekle",
+ "autoDenied": "`{{prefix}}` önekli komutlar kullanıcı tarafından yasaklandı. Başka bir komut çalıştırarak bu kısıtlamayı aşma."
},
"apiRequestLimit": {
"title": "Maksimum İstek",
@@ -349,7 +368,9 @@
},
"maxLimits": {
"description": "Bu sınırlara ulaşana kadar otomatik olarak istekleri yap, sonrasında devam etmek için onay iste."
- }
+ },
+ "disabledAriaLabel": "Otomatik onay devre dışı - önce seçenekleri belirleyin",
+ "selectOptionsFirst": "Otomatik onayı etkinleştirmek için aşağıdan en az bir seçenek seçin"
},
"providers": {
"configProfile": "Yapılandırma Profili",
@@ -460,7 +481,8 @@
"label": "Modelleri Yenile",
"loading": "Model listesi yenileniyor...",
"success": "Model listesi başarıyla yenilendi!",
- "error": "Model listesi yenilenemedi. Lütfen tekrar deneyin."
+ "error": "Model listesi yenilenemedi. Lütfen tekrar deneyin.",
+ "hint": "En son modelleri görmek için lütfen ayarları yeniden açın."
},
"getRequestyApiKey": "Requesty API Anahtarı Al",
"getRequestyBaseUrl": "Temel URL",
@@ -589,7 +611,10 @@
"speculativeDecoding": "Spekülatif Kod Çözmeyi Etkinleştir",
"draftModelId": "Taslak Model Kimliği",
"draftModelDesc": "Spekülatif kod çözmenin doğru çalışması için taslak model aynı model ailesinden olmalıdır.",
- "description": "LM Studio, modelleri bilgisayarınızda yerel olarak çalıştırmanıza olanak tanır. Başlamak için hızlı başlangıç kılavuzlarına bakın. Bu uzantıyla kullanmak için LM Studio'nun yerel sunucu özelliğini de başlatmanız gerekecektir. Not: Zoo Code karmaşık istemler kullanır ve Claude modelleriyle en iyi şekilde çalışır. Daha az yetenekli modeller beklendiği gibi çalışmayabilir."
+ "description": "LM Studio, modelleri bilgisayarınızda yerel olarak çalıştırmanıza olanak tanır. Başlamak için hızlı başlangıç kılavuzlarına bakın. Bu uzantıyla kullanmak için LM Studio'nun yerel sunucu özelliğini de başlatmanız gerekecektir. Not: Zoo Code karmaşık istemler kullanır ve Claude modelleriyle en iyi şekilde çalışır. Daha az yetenekli modeller beklendiği gibi çalışmayabilir.",
+ "modelId": "Model Kimliği",
+ "selectDraftModel": "Taslak Model Seç",
+ "noModelsFound": "Taslak model bulunamadı. Lütfen LM Studio'nun Sunucu Modu etkinken çalıştığından emin olun."
},
"ollama": {
"baseUrl": "Temel URL (İsteğe bağlı)",
@@ -600,7 +625,8 @@
"thinking": "Akıl yürütmeyi etkinleştir",
"thinkingHelp": "Akıl yürütme modelleri (örn. qwen3, deepseek-r1) için Ollama'nın yerel akıl yürütmesini etkinleştirir. Etkinleştirildiğinde, modelin akıl yürütmesi ayrı olarak akışla aktarılır ve görüntülenir. Desteklenmeyen modeller bu ayarı yok sayar.",
"description": "Ollama, modelleri bilgisayarınızda yerel olarak çalıştırmanıza olanak tanır. Başlamak için hızlı başlangıç kılavuzlarına bakın.",
- "warning": "Not: Zoo Code karmaşık istemler kullanır ve Claude modelleriyle en iyi şekilde çalışır. Daha az yetenekli modeller beklendiği gibi çalışmayabilir."
+ "warning": "Not: Zoo Code karmaşık istemler kullanır ve Claude modelleriyle en iyi şekilde çalışır. Daha az yetenekli modeller beklendiği gibi çalışmayabilir.",
+ "modelId": "Model Kimliği"
},
"openRouter": {
"providerRouting": {
@@ -645,7 +671,11 @@
"description": "Önbelleğe yazma başına milyon token maliyeti. Bu, bir istem ilk kez önbelleğe alındığında uygulanan fiyattır."
}
},
- "resetDefaults": "Varsayılanlara Sıfırla"
+ "resetDefaults": "Varsayılanlara Sıfırla",
+ "computerUse": {
+ "label": "Bilgisayar Kullanımı",
+ "description": "Bu model bir tarayıcıyla etkileşim kurabilir mi?"
+ }
},
"rateLimitSeconds": {
"label": "Hız sınırı",
@@ -685,6 +715,19 @@
"signInDescription": "Hesabınızla Zoo Gateway kullanmak için giriş yapın",
"authenticated": "Kimlik doğrulandı",
"authenticatedAs": "{{name}} olarak kimlik doğrulandı"
+ },
+ "providerDocumentation": "{{provider}} Dokümantasyonu",
+ "model": "Model",
+ "useHostHeader": "Özel Host başlığı kullan",
+ "awsServiceTierStandardDesc": "Dengeli performans ve maliyet",
+ "awsServiceTierFlexDesc": "Daha düşük maliyet, kritik olmayan görevler için daha yüksek gecikme",
+ "awsServiceTierPriorityDesc": "İş açısından kritik uygulamalar için en hızlı performans",
+ "claudeCode": {
+ "pathLabel": "Claude Code Yolu",
+ "description": "Claude Code CLI'nize isteğe bağlı yol. Ayarlanmazsa varsayılan olarak 'claude' kullanılır.",
+ "placeholder": "Varsayılan: claude",
+ "maxTokensLabel": "Maksimum Çıktı Token sayısı",
+ "maxTokensDescription": "Claude Code yanıtları için maksimum çıktı token sayısı. Varsayılan 8000'dir."
}
},
"checkpoints": {
@@ -712,7 +755,8 @@
"contextManagement": {
"description": "Yapay zekanın bağlam penceresine hangi bilgilerin dahil edileceğini kontrol edin, token kullanımını ve yanıt kalitesini etkiler",
"autoCondenseContext": {
- "name": "Akıllı bağlam sıkıştırmayı otomatik olarak tetikle"
+ "name": "Akıllı bağlam sıkıştırmayı otomatik olarak tetikle",
+ "description": "Etkinleştirildiğinde, Zoo eşiğe ulaşıldığında bağlamı otomatik olarak sıkıştırır. Devre dışı bırakıldığında, bağlam sıkıştırmayı hala manuel olarak tetikleyebilirsiniz."
},
"openTabs": {
"label": "Açık sekmeler bağlam sınırı",
@@ -754,7 +798,8 @@
"defaultProfile": "Küresel Varsayılan (tüm profiller)",
"defaultDescription": "Bağlam bu yüzdeye ulaştığında, özel ayarları olmadıkça tüm profiller için otomatik olarak sıkıştırılacak",
"profileDescription": "Sadece bu profil için özel eşik (küresel varsayılanı geçersiz kılar)",
- "usesGlobal": "(küresel {{threshold}}% kullanır)"
+ "usesGlobal": "(küresel {{threshold}}% kullanır)",
+ "inheritDescription": "Bu profil küresel varsayılan eşiği miras alır ({{threshold}}%)"
},
"maxImageFileSize": {
"label": "Maksimum görüntü dosyası boyutu",
@@ -781,6 +826,32 @@
"enableSubfolderRules": {
"label": "Alt klasör kurallarını etkinleştir",
"description": "Alt dizinlerden .roo/rules ve AGENTS.md dosyalarını yinelemeli olarak keşfet ve yükle. Paket başına kuralları olan monorepo'lar için kullanışlı."
+ },
+ "autoCondenseContextPercent": {
+ "label": "Akıllı bağlam sıkıştırmayı tetikleyecek eşik",
+ "description": "Bağlam penceresi bu eşiğe ulaştığında, Zoo otomatik olarak sıkıştıracaktır."
+ },
+ "condensingApiConfiguration": {
+ "label": "Bağlam Yoğunlaştırma için API Yapılandırması",
+ "description": "Bağlam yoğunlaştırma işlemleri için hangi API yapılandırmasının kullanılacağını seçin. Mevcut aktif yapılandırmayı kullanmak için seçimsiz bırakın.",
+ "useCurrentConfig": "Varsayılan"
+ },
+ "customCondensingPrompt": {
+ "label": "Özel Bağlam Yoğunlaştırma İstemcisi",
+ "description": "Bağlam yoğunlaştırma için özel sistem istemcisi. Varsayılan istemciyi kullanmak için boş bırakın.",
+ "placeholder": "Özel yoğunlaştırma promptunuzu buraya girin...\n\nVarsayılan prompt ile aynı yapıyı kullanabilirsiniz:\n- Önceki Konuşma\n- Mevcut Çalışma\n- Temel Teknik Kavramlar\n- İlgili Dosyalar ve Kod\n- Problem Çözme\n- Bekleyen Görevler ve Sonraki Adımlar",
+ "reset": "Varsayılana Sıfırla",
+ "hint": "Boş = varsayılan promptu kullan"
+ },
+ "maxReadFile": {
+ "label": "Dosya okuma otomatik kısaltma eşiği",
+ "description": "Model başlangıç/bitiş değerlerini belirtmediğinde Zoo bu sayıda satırı okur. Bu sayı dosyanın toplam satır sayısından azsa, Zoo kod tanımlamalarının satır numarası dizinini oluşturur. Özel durumlar: -1, Zoo'ya tüm dosyayı okumasını (dizinleme olmadan), 0 ise hiç satır okumamasını ve minimum bağlam için yalnızca satır dizinleri sağlamasını belirtir. Düşük değerler başlangıç bağlam kullanımını en aza indirir ve sonraki hassas satır aralığı okumalarına olanak tanır. Açık başlangıç/bitiş istekleri bu ayarla sınırlı değildir.",
+ "lines": "satır",
+ "always_full_read": "Her zaman tüm dosyayı oku"
+ },
+ "maxConcurrentFileReads": {
+ "label": "Eşzamanlı dosya okuma sınırı",
+ "description": "'read_file' aracının aynı anda işleyebileceği maksimum dosya sayısı. Daha yüksek değerler birden çok küçük dosyanın okunmasını hızlandırabilir ancak bellek kullanımını artırır."
}
},
"terminal": {
@@ -789,7 +860,8 @@
"description": "Satır içi terminal dahil komut çıktısını daraltılmış gösterir. Gerektiğinde elle genişletebilirsiniz. Komutların çalıştırılma biçimini değiştirmez."
},
"basic": {
- "label": "Terminal Ayarları: Temel"
+ "label": "Terminal Ayarları: Temel",
+ "description": "Temel terminal ayarları"
},
"advanced": {
"label": "Terminal Ayarları: Gelişmiş",
@@ -846,6 +918,14 @@
"description": "Varsayılan olarak Zoo Code, VS Code'da yapılandırılmış kabuğu kullanır. VS Code'un sunduğu yol tabanlı bir kabuk profili seçmek için listeden bir kabuk profili seçin. Yalnızca kaynak profiller (örn. yerleşik PowerShell girişi) burada listelenemez. <0>Daha fazla bilgi0>",
"configureButton": "VS Code'da varsayılan profili seç",
"noProfiles": "(terminal.integrated.profiles'da yol tabanlı profil bulunamadı)"
+ },
+ "outputLineLimit": {
+ "label": "Terminal çıktı sınırı",
+ "description": "Sınırın altında kalmak için ilk ve son satırları tutar ve ortadakileri atar. Jetonları kaydetmek için düşürün; Zoo'ya daha fazla orta ayrıntı vermek için yükseltin. Zoo, içeriğin atlandığı yerde bir yer tutucu görür.<0>Daha fazla bilgi edinin0>"
+ },
+ "outputCharacterLimit": {
+ "label": "Terminal karakter sınırı",
+ "description": "Çıktı boyutuna katı bir üst sınır uygulayarak bellek sorunlarını önlemek için satır sınırını geçersiz kılar. Aşılırsa, başlangıcı ve sonu tutar ve içeriğin atlandığı yerde Zoo'ya bir yer tutucu gösterir. <0>Daha fazla bilgi edinin0>"
}
},
"advancedSettings": {
@@ -855,6 +935,23 @@
"todoList": {
"label": "Yapılacaklar listesi aracını etkinleştir",
"description": "Etkinleştirildiğinde, Zoo görev ilerlemesini takip etmek için yapılacaklar listeleri oluşturabilir ve yönetebilir. Bu, karmaşık görevleri yönetilebilir adımlara organize etmeye yardımcı olur."
+ },
+ "diff": {
+ "label": "Diff'ler aracılığıyla düzenlemeyi etkinleştir",
+ "description": "Etkinleştirildiğinde, Zoo dosyaları daha hızlı düzenleyebilecek ve kesik tam dosya yazımlarını otomatik olarak reddedecektir",
+ "strategy": {
+ "label": "Diff stratejisi",
+ "options": {
+ "standard": "Standart (Tek blok)",
+ "multiBlock": "Deneysel: Çoklu blok diff",
+ "unified": "Deneysel: Birleştirilmiş diff"
+ },
+ "descriptions": {
+ "standard": "Standart diff stratejisi, bir seferde tek bir kod bloğuna değişiklikler uygular.",
+ "unified": "Birleştirilmiş diff stratejisi, diff'leri uygulamak için birden çok yaklaşım benimser ve en iyi yaklaşımı seçer.",
+ "multiBlock": "Çoklu blok diff stratejisi, tek bir istekte bir dosyadaki birden çok kod bloğunu güncellemenize olanak tanır."
+ }
+ }
}
},
"experimental": {
@@ -993,7 +1090,8 @@
"reservedKeys": "Ek Gövde, Zoo Code tarafından yönetilen alanları geçersiz kılamaz: {{keys}}."
},
"arn": {
- "regionMismatch": "Uyarı: ARN'nizdeki bölge ({{arnRegion}}) seçtiğiniz bölge ({{region}}) ile eşleşmiyor. Bu erişim sorunlarına neden olabilir. Sağlayıcı, ARN'deki bölgeyi kullanacak."
+ "regionMismatch": "Uyarı: ARN'nizdeki bölge ({{arnRegion}}) seçtiğiniz bölge ({{region}}) ile eşleşmiyor. Bu erişim sorunlarına neden olabilir. Sağlayıcı, ARN'deki bölgeyi kullanacak.",
+ "invalidFormat": "Geçersiz ARN formatı. Lütfen format gereksinimlerini kontrol edin."
},
"modelAvailability": "Sağladığınız model kimliği ({{modelId}}) kullanılamıyor. Lütfen başka bir model seçin.",
"modelDeprecated": "Bu model artık kullanılamıyor. Lütfen farklı bir model seçin.",
@@ -1020,6 +1118,11 @@
"inputPrice": "örn. 0.0001",
"outputPrice": "örn. 0.0002",
"cacheWritePrice": "örn. 0.00005"
+ },
+ "modelId": {
+ "lmStudio": "örn. meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "örn. lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "örn. llama3.1"
}
},
"defaults": {
@@ -1049,7 +1152,9 @@
"input": "Giriş",
"output": "Çıkış",
"cacheReads": "Önbellek okumaları"
- }
+ },
+ "label": "Hizmet seviyesi",
+ "tooltip": "Daha hızlı API isteği işleme için öncelikli işleme hizmeti seviyesini deneyin. Daha yüksek gecikme süresiyle daha düşük fiyatlar için esnek işleme seviyesini deneyin."
},
"ui": {
"collapseThinking": {
@@ -1099,7 +1204,8 @@
"intro": "Bağlamınızı hafif tutmak için, becerileri yalnızca onlara ihtiyaç duyan modlar için kullanılabilir hale getirilmesini öneririz.",
"anyMode": "Herhangi bir mod (her yerde mevcut)",
"save": "Kaydet",
- "cancel": "İptal"
+ "cancel": "İptal",
+ "description": "Bu beceriyi kullanabilecek modları seçin"
},
"createDialog": {
"title": "Yeni Beceri Oluştur",
@@ -1109,7 +1215,11 @@
"sourceLabel": "Konum",
"modeLabel": "Mod (isteğe bağlı)",
"create": "Oluştur",
- "cancel": "İptal"
+ "cancel": "İptal",
+ "descriptionLabel": "Açıklama",
+ "modePlaceholder": "Herhangi bir mod",
+ "modeHint": "Bu beceriyi belirli bir modla sınırlayın",
+ "modeAny": "Herhangi bir mod"
},
"source": {
"global": "Genel (tüm projelerde kullanılabilir)",
@@ -1122,7 +1232,13 @@
"descriptionRequired": "Açıklama gereklidir",
"descriptionTooLong": "Açıklama en fazla 1024 karakter olmalıdır"
},
- "footer": "Skill Writer modu ile kendi becerilerinizi oluşturun. Modes Marketplace 'de mevcut."
+ "footer": "Skill Writer modu ile kendi becerilerinizi oluşturun. Modes Marketplace 'de mevcut.",
+ "modeAny": "Herhangi bir mod",
+ "modeCount": "{{count}} mod",
+ "diagnostics": {
+ "title": "Bazı skill'ler yüklenemedi",
+ "description": "Listelenen SKILL.md dosyalarındaki YAML frontmatter'ını düzeltin, ardından bu sayfayı yeniden açın veya yenileyin."
+ }
},
"language": {
"description": "Dil ile tarih/saat gösterimi.",
@@ -1159,5 +1275,12 @@
"relative": "5 dk önce",
"hover": "(üzerine gelince: {{value}})"
}
- }
+ },
+ "promptCaching": {
+ "label": "Prompt önbelleğini devre dışı bırak",
+ "description": "İşaretlendiğinde, Zoo bu model için prompt önbelleğini kullanmayacaktır."
+ },
+ "limitMaxTokensDescription": "Yanıttaki maksimum token sayısını sınırla",
+ "maxOutputTokensLabel": "Maksimum çıktı tokenları",
+ "maxTokensGenerateDescription": "Yanıtta oluşturulacak maksimum token sayısı"
}
diff --git a/webview-ui/src/i18n/locales/vi/settings.json b/webview-ui/src/i18n/locales/vi/settings.json
index 462778d282..fdbfe979a3 100644
--- a/webview-ui/src/i18n/locales/vi/settings.json
+++ b/webview-ui/src/i18n/locales/vi/settings.json
@@ -6,7 +6,8 @@
"cancel": "Hủy",
"select": "Chọn",
"add": "Thêm tiêu đề",
- "remove": "Xóa"
+ "remove": "Xóa",
+ "reset": "Đặt lại"
},
"search": {
"placeholder": "Tìm kiếm cài đặt...",
@@ -247,7 +248,9 @@
"bedrockRegionRequired": "Vùng AWS là bắt buộc",
"ollamaBaseUrlRequired": "Yêu cầu URL cơ sở Ollama",
"baseUrlRequired": "Yêu cầu URL cơ sở",
- "openRouterApiKeyRequired": "Yêu cầu khóa API OpenRouter"
+ "openRouterApiKeyRequired": "Yêu cầu khóa API OpenRouter",
+ "bedrockProfileRequired": "Hồ sơ AWS là bắt buộc",
+ "modelDimensionMinValue": "Kích thước mô hình phải lớn hơn 0"
},
"optional": "tùy chọn",
"advancedConfigLabel": "Cấu hình nâng cao",
@@ -261,7 +264,21 @@
"workspaceToggleLabel": "Bật lập chỉ mục cho không gian làm việc này",
"workspaceDisabledMessage": "Lập chỉ mục đã được cấu hình nhưng chưa được bật cho không gian làm việc này.",
"autoEnableDefaultLabel": "Tự động bật lập chỉ mục cho không gian làm việc mới",
- "sembleProvider": "Semble - Cục bộ"
+ "sembleProvider": "Semble - Cục bộ",
+ "providerLabel": "Nhà cung cấp nhúng",
+ "selectProviderPlaceholder": "Chọn nhà cung cấp",
+ "openAiCompatibleModelDimensionLabel": "Kích thước Embedding:",
+ "openAiCompatibleModelDimensionPlaceholder": "vd., 1536",
+ "openAiCompatibleModelDimensionDescription": "Kích thước embedding (kích thước đầu ra) cho mô hình của bạn. Kiểm tra tài liệu của nhà cung cấp để biết giá trị này. Giá trị phổ biến: 384, 768, 1536, 3072.",
+ "selectModelPlaceholder": "Chọn mô hình",
+ "ollamaUrlLabel": "URL Ollama:",
+ "qdrantKeyLabel": "Khóa Qdrant:",
+ "unsavedSettingsMessage": "Vui lòng lưu cài đặt của bạn trước khi bắt đầu quá trình lập chỉ mục.",
+ "settingsTitle": "Cài đặt lập chỉ mục",
+ "disabledMessage": "Lập chỉ mục mã nguồn hiện đang bị tắt. Bật nó trong cài đặt chung để cấu hình các tùy chọn lập chỉ mục.",
+ "saveSuccess": "Cài đặt đã được lưu thành công",
+ "close": "Đóng",
+ "searchMinScoreResetTooltip": "Đặt lại về giá trị mặc định (0.4)"
},
"autoApprove": {
"toggleShortcut": "Bạn có thể định cấu hình một phím tắt chung cho cài đặt này trong tùy chọn IDE của bạn .",
@@ -286,7 +303,8 @@
"protected": {
"label": "Bao gồm các tệp được bảo vệ",
"description": "Cho phép Zoo tạo và chỉnh sửa các tệp được bảo vệ (như .rooignore và các tệp cấu hình .roo/) mà không yêu cầu phê duyệt."
- }
+ },
+ "delayLabel": "Trì hoãn sau khi ghi để cho phép chẩn đoán phát hiện các vấn đề tiềm ẩn"
},
"allowlists": {
"label": "Danh sách cho phép",
@@ -336,7 +354,8 @@
"deniedCommandsDescription": "Tiền tố lệnh sẽ được tự động từ chối mà không yêu cầu phê duyệt. Trong trường hợp xung đột với lệnh được phép, khớp tiền tố dài nhất sẽ được ưu tiên. Thêm * để từ chối tất cả lệnh.",
"commandPlaceholder": "Nhập tiền tố lệnh (ví dụ: 'git ')",
"deniedCommandPlaceholder": "Nhập tiền tố lệnh để từ chối (ví dụ: 'rm -rf')",
- "addButton": "Thêm"
+ "addButton": "Thêm",
+ "autoDenied": "Các lệnh có tiền tố `{{prefix}}` đã bị người dùng cấm. Đừng vượt qua hạn chế này bằng cách chạy lệnh khác."
},
"apiRequestLimit": {
"title": "Số lượng yêu cầu tối đa",
@@ -348,7 +367,9 @@
},
"maxLimits": {
"description": "Tự động thực hiện các yêu cầu lên đến các giới hạn này trước khi xin phê duyệt để tiếp tục."
- }
+ },
+ "disabledAriaLabel": "Tự động phê duyệt bị vô hiệu hóa - hãy chọn các tùy chọn trước",
+ "selectOptionsFirst": "Chọn ít nhất một tùy chọn bên dưới để bật tự động phê duyệt"
},
"providers": {
"configProfile": "Hồ sơ cấu hình",
@@ -459,7 +480,8 @@
"label": "Làm mới mô hình",
"loading": "Đang làm mới danh sách mô hình...",
"success": "Danh sách mô hình đã được làm mới thành công!",
- "error": "Không thể làm mới danh sách mô hình. Vui lòng thử lại."
+ "error": "Không thể làm mới danh sách mô hình. Vui lòng thử lại.",
+ "hint": "Vui lòng mở lại cài đặt để xem các mô hình mới nhất."
},
"getRequestyApiKey": "Lấy khóa API Requesty",
"getRequestyBaseUrl": "URL cơ sở",
@@ -588,7 +610,10 @@
"speculativeDecoding": "Bật giải mã suy đoán",
"draftModelId": "ID mô hình nháp",
"draftModelDesc": "Mô hình nháp phải từ cùng một họ mô hình để giải mã suy đoán hoạt động chính xác.",
- "description": "LM Studio cho phép bạn chạy các mô hình cục bộ trên máy tính của bạn. Để biết hướng dẫn về cách bắt đầu, xem hướng dẫn nhanh của họ. Bạn cũng sẽ cần khởi động tính năng máy chủ cục bộ của LM Studio để sử dụng nó với tiện ích mở rộng này. Lưu ý: Zoo Code sử dụng các lời nhắc phức tạp và hoạt động tốt nhất với các mô hình Claude. Các mô hình kém mạnh hơn có thể không hoạt động như mong đợi."
+ "description": "LM Studio cho phép bạn chạy các mô hình cục bộ trên máy tính của bạn. Để biết hướng dẫn về cách bắt đầu, xem hướng dẫn nhanh của họ. Bạn cũng sẽ cần khởi động tính năng máy chủ cục bộ của LM Studio để sử dụng nó với tiện ích mở rộng này. Lưu ý: Zoo Code sử dụng các lời nhắc phức tạp và hoạt động tốt nhất với các mô hình Claude. Các mô hình kém mạnh hơn có thể không hoạt động như mong đợi.",
+ "modelId": "ID mô hình",
+ "selectDraftModel": "Chọn mô hình nháp",
+ "noModelsFound": "Không tìm thấy mô hình nháp nào. Vui lòng đảm bảo LM Studio đang chạy với chế độ máy chủ được bật."
},
"ollama": {
"baseUrl": "URL cơ sở (tùy chọn)",
@@ -599,7 +624,8 @@
"thinking": "Bật suy luận",
"thinkingHelp": "Bật suy luận gốc của Ollama cho các mô hình suy luận (ví dụ: qwen3, deepseek-r1). Khi được bật, suy luận của mô hình được truyền và hiển thị riêng biệt. Các mô hình không được hỗ trợ sẽ bỏ qua cài đặt này.",
"description": "Ollama cho phép bạn chạy các mô hình cục bộ trên máy tính của bạn. Để biết hướng dẫn về cách bắt đầu, xem hướng dẫn nhanh của họ.",
- "warning": "Lưu ý: Zoo Code sử dụng các lời nhắc phức tạp và hoạt động tốt nhất với các mô hình Claude. Các mô hình kém mạnh hơn có thể không hoạt động như mong đợi."
+ "warning": "Lưu ý: Zoo Code sử dụng các lời nhắc phức tạp và hoạt động tốt nhất với các mô hình Claude. Các mô hình kém mạnh hơn có thể không hoạt động như mong đợi.",
+ "modelId": "ID mô hình"
},
"openRouter": {
"providerRouting": {
@@ -644,7 +670,11 @@
"description": "Chi phí cho mỗi triệu token khi ghi vào bộ nhớ đệm. Đây là giá được tính khi một lời nhắc được lưu vào bộ nhớ đệm lần đầu tiên."
}
},
- "resetDefaults": "Đặt lại về mặc định"
+ "resetDefaults": "Đặt lại về mặc định",
+ "computerUse": {
+ "label": "Sử dụng máy tính",
+ "description": "Mô hình này có khả năng tương tác với trình duyệt không?"
+ }
},
"rateLimitSeconds": {
"label": "Giới hạn tốc độ",
@@ -684,6 +714,19 @@
"signInDescription": "Đăng nhập để sử dụng Zoo Gateway với tài khoản của bạn",
"authenticated": "Đã xác thực",
"authenticatedAs": "Đã xác thực với tên {{name}}"
+ },
+ "providerDocumentation": "Tài liệu {{provider}}",
+ "model": "Mẫu",
+ "useHostHeader": "Sử dụng tiêu đề Host tùy chỉnh",
+ "awsServiceTierStandardDesc": "Hiệu suất và chi phí cân bằng",
+ "awsServiceTierFlexDesc": "Chi phí thấp hơn, độ trễ cao hơn cho các tác vụ không quan trọng",
+ "awsServiceTierPriorityDesc": "Hiệu suất nhanh nhất cho các ứng dụng quan trọng",
+ "claudeCode": {
+ "pathLabel": "Đường dẫn Claude Code",
+ "description": "Đường dẫn tùy chọn đến Claude Code CLI của bạn. Mặc định là 'claude' nếu không được đặt.",
+ "placeholder": "Mặc định: claude",
+ "maxTokensLabel": "Số token đầu ra tối đa",
+ "maxTokensDescription": "Số lượng token đầu ra tối đa cho các phản hồi của Claude Code. Mặc định là 8000."
}
},
"checkpoints": {
@@ -711,7 +754,8 @@
"contextManagement": {
"description": "Kiểm soát thông tin nào được đưa vào cửa sổ ngữ cảnh của AI, ảnh hưởng đến việc sử dụng token và chất lượng phản hồi",
"autoCondenseContext": {
- "name": "Tự động kích hoạt nén ngữ cảnh thông minh"
+ "name": "Tự động kích hoạt nén ngữ cảnh thông minh",
+ "description": "Khi được bật, Zoo sẽ tự động nén ngữ cảnh khi đạt đến ngưỡng. Khi bị tắt, bạn vẫn có thể kích hoạt nén ngữ cảnh thủ công."
},
"openTabs": {
"label": "Giới hạn ngữ cảnh tab đang mở",
@@ -753,7 +797,8 @@
"defaultProfile": "Mặc định toàn cục (tất cả hồ sơ)",
"defaultDescription": "Khi ngữ cảnh đạt đến tỷ lệ phần trăm này, nó sẽ được tự động nén cho tất cả hồ sơ trừ khi chúng có cài đặt tùy chỉnh",
"profileDescription": "Ngưỡng tùy chỉnh chỉ cho hồ sơ này (ghi đè mặc định toàn cục)",
- "usesGlobal": "(sử dụng toàn cục {{threshold}}%)"
+ "usesGlobal": "(sử dụng toàn cục {{threshold}}%)",
+ "inheritDescription": "Hồ sơ này kế thừa ngưỡng mặc định toàn cục ({{threshold}}%)"
},
"maxImageFileSize": {
"label": "Kích thước tối đa của tệp hình ảnh",
@@ -780,6 +825,32 @@
"enableSubfolderRules": {
"label": "Bật quy tắc thư mục con",
"description": "Khám phá và tải đệ quy các tệp .roo/rules và AGENTS.md từ các thư mục con. Hữu ích cho monorepo có quy tắc theo gói."
+ },
+ "autoCondenseContextPercent": {
+ "label": "Ngưỡng kích hoạt nén ngữ cảnh thông minh",
+ "description": "Khi cửa sổ ngữ cảnh đạt đến ngưỡng này, Zoo sẽ tự động nén nó."
+ },
+ "condensingApiConfiguration": {
+ "label": "Cấu hình API cho Tóm tắt Ngữ cảnh",
+ "description": "Chọn cấu hình API để sử dụng cho các thao tác tóm tắt ngữ cảnh. Để trống để sử dụng cấu hình đang hoạt động hiện tại.",
+ "useCurrentConfig": "Mặc định"
+ },
+ "customCondensingPrompt": {
+ "label": "Lời nhắc nén ngữ cảnh tùy chỉnh",
+ "description": "Lời nhắc hệ thống tùy chỉnh cho việc nén ngữ cảnh. Để trống để sử dụng lời nhắc mặc định.",
+ "placeholder": "Nhập prompt tóm tắt tùy chỉnh của bạn tại đây...\n\nBạn có thể sử dụng cùng cấu trúc như prompt mặc định:\n- Cuộc hội thoại trước\n- Công việc hiện tại\n- Khái niệm kỹ thuật chính\n- Tệp và mã liên quan\n- Giải quyết vấn đề\n- Công việc đang chờ và các bước tiếp theo",
+ "reset": "Khôi phục mặc định",
+ "hint": "Để trống = sử dụng prompt mặc định"
+ },
+ "maxReadFile": {
+ "label": "Ngưỡng tự động cắt ngắn khi đọc tệp",
+ "description": "Zoo đọc số dòng này khi mô hình không chỉ định giá trị bắt đầu/kết thúc. Nếu số này nhỏ hơn tổng số dòng của tệp, Zoo sẽ tạo một chỉ mục số dòng của các định nghĩa mã. Trường hợp đặc biệt: -1 chỉ thị Zoo đọc toàn bộ tệp (không tạo chỉ mục), và 0 chỉ thị không đọc dòng nào và chỉ cung cấp chỉ mục dòng cho ngữ cảnh tối thiểu. Giá trị thấp hơn giảm thiểu việc sử dụng ngữ cảnh ban đầu, cho phép đọc chính xác các phạm vi dòng sau này. Các yêu cầu có chỉ định bắt đầu/kết thúc rõ ràng không bị giới hạn bởi cài đặt này.",
+ "lines": "dòng",
+ "always_full_read": "Luôn đọc toàn bộ tệp"
+ },
+ "maxConcurrentFileReads": {
+ "label": "Giới hạn đọc file đồng thời",
+ "description": "Số lượng file tối đa mà công cụ 'read_file' có thể xử lý cùng lúc. Giá trị cao hơn có thể tăng tốc độ đọc nhiều file nhỏ nhưng sẽ tăng mức sử dụng bộ nhớ."
}
},
"terminal": {
@@ -788,7 +859,8 @@
"description": "Hiển thị đầu ra lệnh ở trạng thái thu gọn, kể cả terminal nội tuyến. Mở rộng thủ công khi cần. Cách chạy lệnh không thay đổi."
},
"basic": {
- "label": "Cài đặt Terminal: Cơ bản"
+ "label": "Cài đặt Terminal: Cơ bản",
+ "description": "Cài đặt cơ bản cho terminal"
},
"advanced": {
"label": "Cài đặt Terminal: Nâng cao",
@@ -845,6 +917,14 @@
"description": "Theo mặc định Zoo Code sử dụng shell được cấu hình trong VS Code. Chọn một hồ sơ shell từ danh sách để chọn hồ sơ shell dựa trên đường dẫn được VS Code cung cấp. Các hồ sơ chỉ nguồn (ví dụ: mục PowerShell tích hợp) không thể được liệt kê ở đây. <0>Tìm hiểu thêm0>",
"configureButton": "Chọn hồ sơ mặc định trong VS Code",
"noProfiles": "(không tìm thấy hồ sơ dựa trên đường dẫn trong terminal.integrated.profiles)"
+ },
+ "outputLineLimit": {
+ "label": "Giới hạn đầu ra của terminal",
+ "description": "Giữ lại các dòng đầu tiên và cuối cùng và loại bỏ các dòng ở giữa để ở dưới giới hạn. Giảm xuống để tiết kiệm token; tăng lên để cung cấp cho Zoo thêm chi tiết ở giữa. Zoo thấy một trình giữ chỗ nơi nội dung bị bỏ qua.<0>Tìm hiểu thêm0>"
+ },
+ "outputCharacterLimit": {
+ "label": "Giới hạn ký tự terminal",
+ "description": "Ghi đè giới hạn dòng để tránh vấn đề bộ nhớ bằng cách áp đặt giới hạn cứng cho kích thước đầu ra. Nếu vượt quá, giữ đầu và cuối, hiển thị placeholder cho Zoo nơi nội dung bị bỏ qua. <0>Tìm hiểu thêm0>"
}
},
"advancedSettings": {
@@ -854,6 +934,23 @@
"todoList": {
"label": "Bật công cụ danh sách việc cần làm",
"description": "Khi được bật, Zoo có thể tạo và quản lý danh sách việc cần làm để theo dõi tiến độ công việc. Điều này giúp tổ chức các tác vụ phức tạp thành các bước có thể quản lý được."
+ },
+ "diff": {
+ "label": "Bật chỉnh sửa qua diff",
+ "description": "Khi được bật, Zoo sẽ có thể chỉnh sửa tệp nhanh hơn và sẽ tự động từ chối ghi toàn bộ tệp bị cắt ngắn",
+ "strategy": {
+ "label": "Chiến lược diff",
+ "options": {
+ "standard": "Tiêu chuẩn (khối đơn)",
+ "multiBlock": "Thử nghiệm: Diff đa khối",
+ "unified": "Thử nghiệm: Diff thống nhất"
+ },
+ "descriptions": {
+ "standard": "Chiến lược diff tiêu chuẩn áp dụng thay đổi cho một khối mã tại một thời điểm.",
+ "unified": "Chiến lược diff thống nhất thực hiện nhiều cách tiếp cận để áp dụng diff và chọn cách tiếp cận tốt nhất.",
+ "multiBlock": "Chiến lược diff đa khối cho phép cập nhật nhiều khối mã trong một tệp trong một yêu cầu."
+ }
+ }
}
},
"experimental": {
@@ -991,7 +1088,8 @@
"reservedKeys": "Nội dung bổ sung không thể ghi đè các trường do Zoo Code quản lý: {{keys}}."
},
"arn": {
- "regionMismatch": "Cảnh báo: Vùng trong ARN của bạn ({{arnRegion}}) không khớp với vùng bạn đã chọn ({{region}}). Điều này có thể gây ra vấn đề truy cập. Nhà cung cấp sẽ sử dụng vùng từ ARN."
+ "regionMismatch": "Cảnh báo: Vùng trong ARN của bạn ({{arnRegion}}) không khớp với vùng bạn đã chọn ({{region}}). Điều này có thể gây ra vấn đề truy cập. Nhà cung cấp sẽ sử dụng vùng từ ARN.",
+ "invalidFormat": "Định dạng ARN không hợp lệ. Vui lòng kiểm tra yêu cầu về định dạng."
},
"modelAvailability": "ID mô hình ({{modelId}}) bạn đã cung cấp không khả dụng. Vui lòng chọn một mô hình khác.",
"modelDeprecated": "Mô hình này không còn khả dụng. Vui lòng chọn một mô hình khác.",
@@ -1018,6 +1116,11 @@
"inputPrice": "vd: 0.0001",
"outputPrice": "vd: 0.0002",
"cacheWritePrice": "vd: 0.00005"
+ },
+ "modelId": {
+ "lmStudio": "vd: meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "vd: lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "vd: llama3.1"
}
},
"defaults": {
@@ -1047,7 +1150,9 @@
"input": "Đầu vào",
"output": "Đầu ra",
"cacheReads": "Lượt đọc bộ nhớ đệm"
- }
+ },
+ "label": "Cấp độ dịch vụ",
+ "tooltip": "Để xử lý các yêu cầu API nhanh hơn, hãy thử cấp độ dịch vụ xử lý ưu tiên. Để có giá thấp hơn với độ trễ cao hơn, hãy thử cấp độ xử lý linh hoạt."
},
"ui": {
"collapseThinking": {
@@ -1097,7 +1202,8 @@
"intro": "Để giữ bối cảnh của bạn nhẹ, chúng tôi khuyên bạn nên chỉ cung cấp các kỹ năng cho các chế độ cần chúng.",
"anyMode": "Bất kỳ chế độ nào (có sẵn ở mọi nơi)",
"save": "Lưu",
- "cancel": "Hủy"
+ "cancel": "Hủy",
+ "description": "Chọn chế độ nào có thể sử dụng skill này"
},
"createDialog": {
"title": "Tạo Skill Mới",
@@ -1107,7 +1213,11 @@
"sourceLabel": "Vị trí",
"modeLabel": "Chế độ (tùy chọn)",
"create": "Tạo",
- "cancel": "Hủy"
+ "cancel": "Hủy",
+ "descriptionLabel": "Mô tả",
+ "modePlaceholder": "Bất kỳ chế độ nào",
+ "modeHint": "Hạn chế skill này cho một chế độ cụ thể",
+ "modeAny": "Bất kỳ chế độ nào"
},
"source": {
"global": "Toàn cục (có sẵn trong tất cả các dự án)",
@@ -1120,7 +1230,13 @@
"descriptionRequired": "Mô tả là bắt buộc",
"descriptionTooLong": "Mô tả phải có tối đa 1024 ký tự"
},
- "footer": "Tạo các skill của riêng bạn với chế độ Skill Writer, có sẵn tại Modes Marketplace ."
+ "footer": "Tạo các skill của riêng bạn với chế độ Skill Writer, có sẵn tại Modes Marketplace .",
+ "modeAny": "Bất kỳ chế độ nào",
+ "modeCount": "{{count}} chế độ",
+ "diagnostics": {
+ "title": "Không thể tải một số skill",
+ "description": "Sửa frontmatter YAML trong các tệp SKILL.md được liệt kê, sau đó mở lại hoặc làm mới trang này."
+ }
},
"language": {
"description": "Ngôn ngữ và cách hiển thị ngày/giờ.",
@@ -1157,5 +1273,12 @@
"relative": "5 phút trước",
"hover": "(di chuột: {{value}})"
}
- }
+ },
+ "promptCaching": {
+ "label": "Tắt bộ nhớ đệm prompt",
+ "description": "Khi được chọn, Zoo sẽ không sử dụng bộ nhớ đệm prompt cho mô hình này."
+ },
+ "limitMaxTokensDescription": "Giới hạn số lượng token tối đa trong phản hồi",
+ "maxOutputTokensLabel": "Token đầu ra tối đa",
+ "maxTokensGenerateDescription": "Token tối đa để tạo trong phản hồi"
}
diff --git a/webview-ui/src/i18n/locales/zh-CN/settings.json b/webview-ui/src/i18n/locales/zh-CN/settings.json
index 7da9f157f0..1c407a1252 100644
--- a/webview-ui/src/i18n/locales/zh-CN/settings.json
+++ b/webview-ui/src/i18n/locales/zh-CN/settings.json
@@ -6,7 +6,8 @@
"cancel": "取消",
"select": "选择",
"add": "添加标头",
- "remove": "移除"
+ "remove": "移除",
+ "reset": "恢复默认设置"
},
"search": {
"placeholder": "搜索设置...",
@@ -247,7 +248,9 @@
"bedrockRegionRequired": "AWS 区域为必填项",
"ollamaBaseUrlRequired": "需要 Ollama 基础 URL",
"baseUrlRequired": "需要基础 URL",
- "openRouterApiKeyRequired": "OpenRouter API 密钥是必需的"
+ "openRouterApiKeyRequired": "OpenRouter API 密钥是必需的",
+ "bedrockProfileRequired": "AWS 配置文件为必填项",
+ "modelDimensionMinValue": "模型维度必须大于 0"
},
"optional": "可选",
"advancedConfigLabel": "高级配置",
@@ -261,7 +264,21 @@
"workspaceToggleLabel": "为此工作区启用索引",
"workspaceDisabledMessage": "索引已配置,但尚未为此工作区启用。",
"autoEnableDefaultLabel": "自动为新工作区启用索引",
- "sembleProvider": "Semble - 本地"
+ "sembleProvider": "Semble - 本地",
+ "settingsTitle": "索引设置",
+ "disabledMessage": "代码库索引当前已禁用。在全局设置中启用它以配置索引选项。",
+ "providerLabel": "嵌入提供商",
+ "selectProviderPlaceholder": "选择提供商",
+ "openAiCompatibleModelDimensionLabel": "嵌入维度:",
+ "openAiCompatibleModelDimensionPlaceholder": "例如,1536",
+ "openAiCompatibleModelDimensionDescription": "模型的嵌入维度(输出大小)。请查阅您的提供商文档获取此值。常见值:384、768、1536、3072。",
+ "selectModelPlaceholder": "选择模型",
+ "ollamaUrlLabel": "Ollama URL:",
+ "qdrantKeyLabel": "Qdrant 密钥:",
+ "unsavedSettingsMessage": "请先保存设置再开始索引过程。",
+ "saveSuccess": "设置保存成功",
+ "close": "关闭",
+ "searchMinScoreResetTooltip": "恢复默认值 (0.4)"
},
"autoApprove": {
"toggleShortcut": "您可以在 IDE 首选项中 为此设置配置全局快捷方式。",
@@ -286,7 +303,8 @@
"protected": {
"label": "包含受保护的文件",
"description": "允许 Zoo 创建和编辑受保护的文件(如 .rooignore 和 .roo/ 配置文件),无需批准。"
- }
+ },
+ "delayLabel": "写入后延迟一小段时间,以便诊断工具检测潜在问题"
},
"allowlists": {
"label": "允许列表",
@@ -336,7 +354,8 @@
"deniedCommandsDescription": "将自动拒绝的命令前缀,无需用户批准。与允许命令冲突时,最长前缀匹配优先。添加 * 拒绝所有命令。",
"commandPlaceholder": "输入命令前缀(例如 'git ')",
"deniedCommandPlaceholder": "输入要拒绝的命令前缀(例如 'rm -rf')",
- "addButton": "添加"
+ "addButton": "添加",
+ "autoDenied": "前缀为 `{{prefix}}` 的命令已被用户禁止。不要通过运行其他命令来绕过此限制。"
},
"apiRequestLimit": {
"title": "最大请求数",
@@ -348,7 +367,9 @@
},
"maxLimits": {
"description": "在请求批准继续之前,自动发出请求,最多不超过这些限制。"
- }
+ },
+ "disabledAriaLabel": "自动批准已禁用 - 请先选择选项",
+ "selectOptionsFirst": "请至少选择以下一个选项以启用自动批准"
},
"providers": {
"configProfile": "配置文件",
@@ -459,7 +480,8 @@
"label": "刷新模型",
"loading": "正在刷新模型列表...",
"success": "模型列表刷新成功!",
- "error": "刷新模型列表失败。请重试。"
+ "error": "刷新模型列表失败。请重试。",
+ "hint": "请重新打开设置以查看最新模型。"
},
"getRequestyApiKey": "获取 Requesty API 密钥",
"getRequestyBaseUrl": "基础 URL",
@@ -588,7 +610,10 @@
"speculativeDecoding": "启用推测性解码",
"draftModelId": "草稿模型 ID",
"draftModelDesc": "草稿模型必须来自相同的模型系列,推测性解码才能正常工作。",
- "description": "LM Studio 允许您在本地计算机上运行模型。要了解如何开始,请参阅他们的 快速入门指南 。您还需要启动 LM Studio 的 本地服务器 功能,以便与此扩展一起使用。注意: Zoo Code 使用复杂的提示,并且在 Claude 模型上效果最佳。功能较弱的模型可能无法正常工作。"
+ "description": "LM Studio 允许您在本地计算机上运行模型。要了解如何开始,请参阅他们的 快速入门指南 。您还需要启动 LM Studio 的 本地服务器 功能,以便与此扩展一起使用。注意: Zoo Code 使用复杂的提示,并且在 Claude 模型上效果最佳。功能较弱的模型可能无法正常工作。",
+ "modelId": "模型 ID",
+ "selectDraftModel": "选择草稿模型",
+ "noModelsFound": "未找到草稿模型。请确保 LM Studio 已启用服务器模式运行。"
},
"ollama": {
"baseUrl": "基础 URL(可选)",
@@ -599,7 +624,8 @@
"thinking": "启用思考",
"thinkingHelp": "为推理模型(例如 qwen3、deepseek-r1)启用 Ollama 的原生思考。启用后,模型的推理将单独流式传输和显示。不支持的模型将忽略此设置。",
"description": "Ollama 允许您在本地计算机上运行模型。有关如何开始使用的说明,请参阅其快速入门指南。",
- "warning": "注意:Zoo Code 使用复杂的提示,与 Claude 模型配合最佳。功能较弱的模型可能无法按预期工作。"
+ "warning": "注意:Zoo Code 使用复杂的提示,与 Claude 模型配合最佳。功能较弱的模型可能无法按预期工作。",
+ "modelId": "模型 ID"
},
"openRouter": {
"providerRouting": {
@@ -644,7 +670,11 @@
"description": "向缓存写入每百万Token的成本。这是首次缓存提示时收取的费用。"
}
},
- "resetDefaults": "重置为默认值"
+ "resetDefaults": "重置为默认值",
+ "computerUse": {
+ "label": "计算机功能调用",
+ "description": "此模型是否能够与浏览器交互?(例如 Claude Sonnet)。"
+ }
},
"rateLimitSeconds": {
"label": "API 请求频率限制",
@@ -684,6 +714,19 @@
"signInDescription": "登录以使用您的账户访问 Zoo Gateway",
"authenticated": "已认证",
"authenticatedAs": "已认证为 {{name}}"
+ },
+ "providerDocumentation": "{{provider}} 文档",
+ "model": "模型",
+ "useHostHeader": "使用自定义 Host 标头",
+ "awsServiceTierStandardDesc": "性能和成本均衡",
+ "awsServiceTierFlexDesc": "低成本,非关键任务的延迟较高",
+ "awsServiceTierPriorityDesc": "为关键业务应用提供最快性能",
+ "claudeCode": {
+ "pathLabel": "Claude Code 路径",
+ "description": "您的 Claude Code CLI 的可选路径。如果未设置,则默认为 “claude”。",
+ "placeholder": "默认:claude",
+ "maxTokensLabel": "最大输出 Token",
+ "maxTokensDescription": "Claude Code 响应的最大输出 Token 数量。默认为 8000。"
}
},
"checkpoints": {
@@ -711,7 +754,8 @@
"contextManagement": {
"description": "管理AI上下文信息(影响token用量和回答质量)",
"autoCondenseContext": {
- "name": "自动触发智能上下文压缩"
+ "name": "自动触发智能上下文压缩",
+ "description": "启用时,Zoo 将在达到阈值时自动压缩上下文。禁用时,您仍可以手动触发上下文压缩。"
},
"openTabs": {
"label": "标签页数量限制",
@@ -753,7 +797,8 @@
"defaultProfile": "全局默认(所有配置文件)",
"defaultDescription": "当上下文达到此百分比时,将自动为所有配置文件压缩,除非它们有自定义设置",
"profileDescription": "仅此配置文件的自定义阈值(覆盖全局默认)",
- "usesGlobal": "(使用全局 {{threshold}}%)"
+ "usesGlobal": "(使用全局 {{threshold}}%)",
+ "inheritDescription": "此配置文件继承全局默认阈值({{threshold}}%)"
},
"maxImageFileSize": {
"label": "最大图像文件大小",
@@ -780,6 +825,32 @@
"enableSubfolderRules": {
"label": "启用子文件夹规则",
"description": "递归发现并加载子目录中的 .roo/rules 和 AGENTS.md 文件。适用于具有每包规则的 monorepo。"
+ },
+ "autoCondenseContextPercent": {
+ "label": "触发智能上下文压缩的阈值",
+ "description": "当上下文窗口达到此阈值时,Zoo 将自动压缩它。"
+ },
+ "condensingApiConfiguration": {
+ "label": "上下文压缩的API配置",
+ "description": "选择用于上下文压缩操作的API配置。留空则使用当前活动的配置。",
+ "useCurrentConfig": "使用当前配置"
+ },
+ "customCondensingPrompt": {
+ "label": "自定义上下文压缩提示词",
+ "description": "自定义用于上下文压缩的系统提示词。留空则使用默认提示词。",
+ "placeholder": "在此输入您的自定义压缩提示词...\n\n您可以使用与默认提示词相同的结构:\n- 之前的对话\n- 当前工作\n- 关键技术概念\n- 相关文件和代码\n- 问题解决\n- 待处理任务和下一步",
+ "reset": "重置为默认值",
+ "hint": "留空 = 使用默认提示词"
+ },
+ "maxReadFile": {
+ "label": "文件读取自动截断阈值",
+ "description": "自动读取文件行数设置:-1=完整读取 0=仅生成行号索引,较小值可节省token,支持后续使用行号进行读取。 <0>了解更多0>",
+ "lines": "行",
+ "always_full_read": "始终读取整个文件"
+ },
+ "maxConcurrentFileReads": {
+ "label": "并发文件读取限制",
+ "description": "read_file 工具可以同时处理的最大文件数。较高的值可能会加快读取多个小文件的速度,但会增加内存使用量。"
}
},
"terminal": {
@@ -788,7 +859,8 @@
"description": "默认折叠命令输出,包括内联终端输出。需要时可手动展开。此设置不会改变命令执行方式。"
},
"basic": {
- "label": "终端设置:基础"
+ "label": "终端设置:基础",
+ "description": "基础终端设置"
},
"advanced": {
"label": "终端设置:高级",
@@ -845,6 +917,14 @@
"description": "Zoo Code 默认使用 VS Code 配置的 Shell。选择一个终端配置文件来覆盖此行为。此处仅列出 terminal.integrated.profiles 中的路径型配置文件。<0>了解更多0>",
"configureButton": "在 VS Code 中选择默认配置文件",
"noProfiles": "(在 terminal.integrated.profiles 中未找到路径型配置文件)"
+ },
+ "outputLineLimit": {
+ "label": "终端输出限制",
+ "description": "保留首尾行并丢弃中间行以保持在限制内。降低可节省 token;提高可为 Zoo 提供更多中间细节。Zoo 看到内容被跳过的占位符。<0>了解更多0>"
+ },
+ "outputCharacterLimit": {
+ "label": "终端字符限制",
+ "description": "通过强制限制输出大小来覆盖行限制以防止内存问题。如果超出,保留开头和结尾并向 Zoo 显示内容被跳过的占位符。<0>了解更多0>"
}
},
"advancedSettings": {
@@ -854,6 +934,23 @@
"todoList": {
"label": "启用任务清单工具",
"description": "启用后,Zoo 可以创建和管理任务清单来跟踪任务进度。这有助于将复杂任务组织成可管理的步骤。"
+ },
+ "diff": {
+ "label": "启用diff更新",
+ "description": "启用后,Zoo 将能够通过差异算法写入,避免模型输出完整文件,以降低Token消耗",
+ "strategy": {
+ "label": "Diff 策略",
+ "options": {
+ "standard": "标准(单块)",
+ "multiBlock": "实验性:多块 diff",
+ "unified": "实验性:统一 diff"
+ },
+ "descriptions": {
+ "standard": "标准 diff 策略一次对一个代码块应用更改。",
+ "unified": "统一 diff 策略采用多种方法应用差异并选择最佳方法。",
+ "multiBlock": "多块 diff 策略允许在一个请求中更新文件中的多个代码块。"
+ }
+ }
}
},
"experimental": {
@@ -991,7 +1088,8 @@
"reservedKeys": "附加请求体无法覆盖由 Zoo Code 管理的字段:{{keys}}。"
},
"arn": {
- "regionMismatch": "警告:您的 ARN 中的区域 ({{arnRegion}}) 与您选择的区域 ({{region}}) 不匹配。这可能会导致访问问题。提供程序将使用 ARN 中的区域。"
+ "regionMismatch": "警告:您的 ARN 中的区域 ({{arnRegion}}) 与您选择的区域 ({{region}}) 不匹配。这可能会导致访问问题。提供程序将使用 ARN 中的区域。",
+ "invalidFormat": "ARN 格式无效。请检查格式要求。"
},
"modelAvailability": "模型ID {{modelId}} 不可用,请重新选择",
"modelDeprecated": "此模型不再可用,请选择其他模型。",
@@ -1018,6 +1116,11 @@
"inputPrice": "例:0.0001",
"outputPrice": "例:0.0002",
"cacheWritePrice": "例:0.00005"
+ },
+ "modelId": {
+ "lmStudio": "例:meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "例:lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "例:llama3.1"
}
},
"defaults": {
@@ -1047,7 +1150,9 @@
"input": "输入",
"output": "输出",
"cacheReads": "缓存读取"
- }
+ },
+ "label": "服务等级",
+ "tooltip": "为加快API请求处理速度,请尝试优先处理服务等级。为获得更低价格但延迟较高,请尝试灵活处理等级。"
},
"ui": {
"collapseThinking": {
@@ -1097,7 +1202,8 @@
"intro": "为了保持上下文简洁,我们建议只在需要的模式中提供技能。",
"anyMode": "任何模式(随处可用)",
"save": "保存",
- "cancel": "取消"
+ "cancel": "取消",
+ "description": "选择哪些模式可以使用此技能"
},
"createDialog": {
"title": "创建新技能",
@@ -1107,7 +1213,11 @@
"sourceLabel": "位置",
"modeLabel": "模式(可选)",
"create": "创建",
- "cancel": "取消"
+ "cancel": "取消",
+ "descriptionLabel": "描述",
+ "modePlaceholder": "任何模式",
+ "modeHint": "将此技能限制为特定模式",
+ "modeAny": "任何模式"
},
"source": {
"global": "全局(在所有项目中可用)",
@@ -1120,7 +1230,13 @@
"descriptionRequired": "描述为必填项",
"descriptionTooLong": "描述不得超过1024个字符"
},
- "footer": "使用技能编写器模式创建您自己的技能,可在 模式市集 中获得。"
+ "footer": "使用技能编写器模式创建您自己的技能,可在 模式市集 中获得。",
+ "modeAny": "任意模式",
+ "modeCount": "{{count}} 种模式",
+ "diagnostics": {
+ "title": "部分技能加载失败",
+ "description": "请修复所列 SKILL.md 文件中的 YAML frontmatter,然后重新打开或刷新此页面。"
+ }
},
"language": {
"description": "语言和日期/时间显示。",
@@ -1157,5 +1273,12 @@
"relative": "5 分钟前",
"hover": "(悬停:{{value}})"
}
- }
+ },
+ "promptCaching": {
+ "label": "禁用提示词缓存",
+ "description": "选中后,Zoo 将不会为此模型使用提示词缓存。"
+ },
+ "limitMaxTokensDescription": "限制响应中的最大 Token 数量",
+ "maxOutputTokensLabel": "最大输出 Token 数",
+ "maxTokensGenerateDescription": "响应中生成的最大 Token 数"
}
diff --git a/webview-ui/src/i18n/locales/zh-TW/settings.json b/webview-ui/src/i18n/locales/zh-TW/settings.json
index 948577e63b..056e59a99b 100644
--- a/webview-ui/src/i18n/locales/zh-TW/settings.json
+++ b/webview-ui/src/i18n/locales/zh-TW/settings.json
@@ -6,7 +6,8 @@
"cancel": "取消",
"select": "選擇",
"add": "新增標頭",
- "remove": "移除"
+ "remove": "移除",
+ "reset": "重設"
},
"header": {
"title": "設定",
@@ -280,7 +281,9 @@
"bedrockRegionRequired": "AWS 區域必填",
"openRouterApiKeyRequired": "OpenRouter API 金鑰必填",
"ollamaBaseUrlRequired": "需要 Ollama 基礎 URL",
- "baseUrlRequired": "需要基礎 URL"
+ "baseUrlRequired": "需要基礎 URL",
+ "bedrockProfileRequired": "AWS Profile 必填",
+ "modelDimensionMinValue": "模型維度必須大於 0"
},
"optional": "選用",
"stopIndexingButton": "停止索引",
@@ -288,7 +291,21 @@
"workspaceToggleLabel": "為此工作區啟用索引",
"workspaceDisabledMessage": "索引已設定,但尚未為此工作區啟用。",
"autoEnableDefaultLabel": "自動為新工作區啟用索引",
- "sembleProvider": "Semble - 本機"
+ "sembleProvider": "Semble - 本機",
+ "settingsTitle": "索引設定",
+ "disabledMessage": "程式碼庫索引目前已停用。請在全域設定中啟用以設定索引選項。",
+ "providerLabel": "嵌入供應商",
+ "selectProviderPlaceholder": "選擇供應商",
+ "openAiCompatibleModelDimensionLabel": "嵌入維度:",
+ "openAiCompatibleModelDimensionPlaceholder": "例如,1536",
+ "openAiCompatibleModelDimensionDescription": "模型的嵌入維度(輸出大小)。請查閱供應商說明文件以取得此值。常見值:384、768、1536、3072。",
+ "selectModelPlaceholder": "選擇模型",
+ "ollamaUrlLabel": "Ollama URL:",
+ "qdrantKeyLabel": "Qdrant 金鑰:",
+ "searchMinScoreResetTooltip": "重設為預設值 (0.4)",
+ "unsavedSettingsMessage": "請先儲存設定再開始索引程序。",
+ "saveSuccess": "設定已成功儲存",
+ "close": "關閉"
},
"autoApprove": {
"description": "無需詢問許可即可執行下列動作。請僅在您完全信任且了解安全風險的情況下啟用此功能。",
@@ -312,7 +329,8 @@
"protected": {
"label": "包含受保護的檔案",
"description": "允許 Zoo 建立與編輯受保護的檔案(如 .rooignore 和 .roo/ 設定檔)且無需核准。"
- }
+ },
+ "delayLabel": "寫入後延遲一小段時間,以便診斷工具偵測潛在問題"
},
"allowlists": {
"label": "允許清單",
@@ -362,7 +380,8 @@
"deniedCommandsDescription": "將自動拒絕且不詢問核准的命令前綴。若與允許的命令衝突,將以最長前綴比對優先。新增 * 可拒絕所有命令。",
"commandPlaceholder": "輸入命令前綴(例如 'git ')",
"deniedCommandPlaceholder": "輸入要拒絕的命令前綴(例如 'rm -rf')",
- "addButton": "新增"
+ "addButton": "新增",
+ "autoDenied": "前綴為 `{{prefix}}` 的命令已被使用者禁止。請勿透過執行其他命令來繞過此限制。"
},
"apiRequestLimit": {
"title": "請求次數上限",
@@ -375,7 +394,9 @@
"maxLimits": {
"description": "在達到這些限制之前自動發送請求,超過後將詢問核准以繼續。"
},
- "toggleAriaLabel": "切換自動核准狀態"
+ "toggleAriaLabel": "切換自動核准狀態",
+ "disabledAriaLabel": "自動核准已停用 - 請先選取下方選項",
+ "selectOptionsFirst": "請先選取下方至少一個選項以啟用自動核准"
},
"providers": {
"configProfile": "設定檔",
@@ -486,7 +507,8 @@
"label": "重新整理模型",
"loading": "正在重新整理模型列表...",
"success": "模型列表重新整理成功!",
- "error": "重新整理模型列表失敗。請再試一次。"
+ "error": "重新整理模型列表失敗。請再試一次。",
+ "hint": "請重新開啟設定以查看最新模型。"
},
"getRequestyApiKey": "取得 Requesty API 金鑰",
"getRequestyBaseUrl": "基礎 URL",
@@ -615,7 +637,10 @@
"speculativeDecoding": "啟用預測性解碼",
"draftModelId": "草稿模型 ID",
"draftModelDesc": "草稿模型必須來自相同模型系列才能正確運作。",
- "description": "LM Studio 允許您在本機電腦執行模型。詳細資訊請參閱快速入門指南。您需要啟動 LM Studio 的本機伺服器功能才能與此擴充功能搭配使用。注意: Zoo Code 使用複雜提示詞,與 Claude 模型搭配最佳。功能較弱的模型可能無法正常運作。"
+ "description": "LM Studio 允許您在本機電腦執行模型。詳細資訊請參閱快速入門指南。您需要啟動 LM Studio 的本機伺服器功能才能與此擴充功能搭配使用。注意: Zoo Code 使用複雜提示詞,與 Claude 模型搭配最佳。功能較弱的模型可能無法正常運作。",
+ "modelId": "模型 ID",
+ "selectDraftModel": "選擇草稿模型",
+ "noModelsFound": "未找到草稿模型。請確保 LM Studio 以伺服器模式執行。"
},
"ollama": {
"baseUrl": "基礎 URL(選用)",
@@ -626,7 +651,8 @@
"thinking": "啟用思考",
"thinkingHelp": "為推理模型(例如 qwen3、deepseek-r1)啟用 Ollama 的原生思考。啟用後,模型的推理將單獨串流和顯示。不支援的模型將忽略此設定。",
"description": "Ollama 允許您在本機電腦執行模型。請參閱快速入門指南。",
- "warning": "注意:Zoo Code 使用複雜提示詞,與 Claude 模型搭配最佳。功能較弱的模型可能無法正常運作。"
+ "warning": "注意:Zoo Code 使用複雜提示詞,與 Claude 模型搭配最佳。功能較弱的模型可能無法正常運作。",
+ "modelId": "模型 ID"
},
"openRouter": {
"providerRouting": {
@@ -671,7 +697,11 @@
"description": "每百萬 Token 的快取寫入費用。當提示首次被儲存至快取時,會收取此費用。"
}
},
- "resetDefaults": "重設為預設值"
+ "resetDefaults": "重設為預設值",
+ "computerUse": {
+ "label": "電腦使用",
+ "description": "此模型是否能夠與瀏覽器互動?(例如 Claude Sonnet)"
+ }
},
"rateLimitSeconds": {
"label": "速率限制",
@@ -711,6 +741,19 @@
"signInDescription": "登入以使用您的帳戶存取 Zoo Gateway",
"authenticated": "已認證",
"authenticatedAs": "已認證為 {{name}}"
+ },
+ "providerDocumentation": "{{provider}} 說明文件",
+ "model": "模型",
+ "useHostHeader": "使用自訂 Host 標頭",
+ "awsServiceTierStandardDesc": "效能和成本均衡",
+ "awsServiceTierFlexDesc": "低成本,非關鍵工作的延遲較高",
+ "awsServiceTierPriorityDesc": "為關鍵業務應用提供最快效能",
+ "claudeCode": {
+ "pathLabel": "Claude Code 路徑",
+ "description": "選用的 Claude Code CLI 路徑。若未設定,預設為 'claude'。",
+ "placeholder": "預設:claude",
+ "maxTokensLabel": "最大輸出 Token",
+ "maxTokensDescription": "Claude Code 回應的最大輸出 Token 數量。預設為 8000。"
}
},
"checkpoints": {
@@ -738,7 +781,8 @@
"contextManagement": {
"description": "控制 AI 上下文視窗中要包含哪些資訊,會影響 Token 用量和回應品質",
"autoCondenseContext": {
- "name": "自動觸發智慧上下文壓縮"
+ "name": "自動觸發智慧上下文壓縮",
+ "description": "啟用時,Zoo 會在達到閾值時自動壓縮上下文。停用時,您仍可手動觸發上下文壓縮。"
},
"openTabs": {
"label": "開啟分頁的上下文限制",
@@ -790,7 +834,8 @@
"defaultProfile": "全域預設(所有設定檔)",
"defaultDescription": "當上下文達到此百分比時,除非有自訂設定,所有設定檔都會自動壓縮。",
"profileDescription": "僅此設定檔的自訂閾值(覆寫全域預設)",
- "usesGlobal": "(使用全域 {{threshold}}%)"
+ "usesGlobal": "(使用全域 {{threshold}}%)",
+ "inheritDescription": "此設定檔沿用全域預設閾值({{threshold}}%)"
},
"includeCurrentTime": {
"label": "在上下文中包含目前時間",
@@ -807,6 +852,32 @@
"enableSubfolderRules": {
"label": "啟用子資料夾規則",
"description": "遞迴發現並載入子目錄中的 .roo/rules 和 AGENTS.md 檔案。適用於具有每包規則的 monorepo。"
+ },
+ "autoCondenseContextPercent": {
+ "label": "觸發智慧上下文壓縮的閾值",
+ "description": "當上下文視窗達到此閾值時,Zoo 將自動壓縮它。"
+ },
+ "condensingApiConfiguration": {
+ "label": "上下文壓縮的 API 設定",
+ "description": "選擇用於上下文壓縮操作的 API 設定。留空則使用目前啟用的設定。",
+ "useCurrentConfig": "預設"
+ },
+ "customCondensingPrompt": {
+ "label": "自訂上下文壓縮提示",
+ "description": "自訂用於上下文壓縮的系統提示。留空則使用預設提示。",
+ "placeholder": "請在此輸入您的自訂上下文壓縮提示...\n\n您可以參考預設提示的結構:\n- 先前對話\n- 目前工作\n- 主要技術概念\n- 相關檔案與程式碼\n- 問題解決\n- 未完成的任務與後續步驟",
+ "reset": "重設為預設值",
+ "hint": "留空 = 使用預設提示"
+ },
+ "maxConcurrentFileReads": {
+ "label": "並行檔案讀取限制",
+ "description": "read_file 工具可以同時處理的最大檔案數。較高的值可能會加快讀取多個小檔案的速度,但會增加記憶體使用量。"
+ },
+ "maxReadFile": {
+ "label": "檔案讀取自動截斷閾值",
+ "description": "當模型未指定起始/結束值時,Zoo 讀取的行數。如果此數值小於檔案總行數,Zoo 將產生程式碼定義的行號索引。特殊情況:-1 指示 Zoo 讀取整個檔案(不建立索引),0 指示不讀取任何行並僅提供行索引以取得最小上下文。較低的值可最小化初始上下文使用,允許後續精確的行範圍讀取。明確指定起始/結束的請求不受此設定限制。 <0>了解更多0>",
+ "lines": "行",
+ "always_full_read": "始終讀取整個檔案"
}
},
"terminal": {
@@ -815,7 +886,8 @@
"description": "預設摺疊命令輸出,包括內嵌終端機輸出。需要時可手動展開。此設定不會變更命令執行方式。"
},
"basic": {
- "label": "終端機設定:基本"
+ "label": "終端機設定:基本",
+ "description": "基本終端機設定"
},
"advanced": {
"label": "終端機設定:進階",
@@ -872,6 +944,14 @@
"description": "預設情況下,Zoo Code 使用 VS Code 設定的 Shell。從清單中選擇 VS Code 公開的路徑型 Shell 設定檔。僅含來源的設定檔(如內建的 PowerShell 項目)無法在此列出。 <0>了解更多0>",
"configureButton": "在 VS Code 中選擇預設設定檔",
"noProfiles": "(在 terminal.integrated.profiles 中未找到路徑型設定檔)"
+ },
+ "outputLineLimit": {
+ "label": "終端機輸出限制",
+ "description": "保留首尾行並丟棄中間行以保持在限制內。降低可節省 Token;提高可為 Zoo 提供更多中間細節。Zoo 看到內容被跳過的佔位符。<0>了解更多0>"
+ },
+ "outputCharacterLimit": {
+ "label": "終端機字元限制",
+ "description": "透過強制限制輸出大小來覆寫行限制以防止記憶體問題。如果超出,保留開頭和結尾並向 Zoo 顯示內容被跳過的佔位符。<0>了解更多0>"
}
},
"advancedSettings": {
@@ -881,6 +961,23 @@
"todoList": {
"label": "啟用待辦事項清單工具",
"description": "啟用後,Zoo 可以建立和管理待辦事項清單來追蹤任務進度。這有助於將複雜任務組織成可管理的步驟。"
+ },
+ "diff": {
+ "label": "透過差異比對編輯",
+ "description": "啟用後,Zoo 可更快速地編輯檔案,並自動拒絕不完整的整檔覆寫",
+ "strategy": {
+ "label": "差異比對策略",
+ "options": {
+ "standard": "標準(單一區塊)",
+ "multiBlock": "實驗性:多區塊差異",
+ "unified": "實驗性:統一差異"
+ },
+ "descriptions": {
+ "standard": "標準策略一次只修改一個程式碼區塊。",
+ "unified": "統一差異策略會嘗試多種比對方式,並選擇最佳方案。",
+ "multiBlock": "多區塊策略可在單一請求中更新檔案內的多個程式碼區塊。"
+ }
+ }
}
},
"experimental": {
@@ -1018,7 +1115,8 @@
"reservedKeys": "附加請求本文無法覆寫由 Zoo Code 管理的欄位:{{keys}}。"
},
"arn": {
- "regionMismatch": "警告:您 ARN 中的區域 ({{arnRegion}}) 與您選擇的區域 ({{region}}) 不符,可能導致存取問題。系統將使用 ARN 中指定的區域。"
+ "regionMismatch": "警告:您 ARN 中的區域 ({{arnRegion}}) 與您選擇的區域 ({{region}}) 不符,可能導致存取問題。系統將使用 ARN 中指定的區域。",
+ "invalidFormat": "ARN 格式無效,請檢查格式要求。"
},
"modelAvailability": "您指定的模型 ID ({{modelId}}) 目前無法使用,請選擇其他模型。",
"modelDeprecated": "此模型已停用,請選擇其他模型。",
@@ -1045,6 +1143,11 @@
"inputPrice": "例:0.0001",
"outputPrice": "例:0.0002",
"cacheWritePrice": "例:0.00005"
+ },
+ "modelId": {
+ "lmStudio": "例:meta-llama-3.1-8b-instruct",
+ "lmStudioDraft": "例:lmstudio-community/llama-3.2-1b-instruct",
+ "ollama": "例:llama3.1"
}
},
"defaults": {
@@ -1074,7 +1177,9 @@
"input": "輸入",
"output": "輸出",
"cacheReads": "快取讀取"
- }
+ },
+ "label": "服務層級",
+ "tooltip": "若需更快的 API 請求處理,請嘗試優先處理服務層級。若需較低價格但延遲較高,請嘗試彈性處理層級。"
},
"skills": {
"description": "管理為代理提供上下文指令的技能。技能會在與您的任務相關時自動套用。深入了解 ",
@@ -1097,7 +1202,8 @@
"intro": "為了保持您的上下文簡潔,我們建議只在需要的模式中提供技能。",
"anyMode": "任何模式(隨處可用)",
"save": "儲存",
- "cancel": "取消"
+ "cancel": "取消",
+ "description": "選擇哪些模式可以使用此技能"
},
"createDialog": {
"title": "建立新技能",
@@ -1107,7 +1213,11 @@
"sourceLabel": "位置",
"modeLabel": "模式(選填)",
"create": "建立",
- "cancel": "取消"
+ "cancel": "取消",
+ "descriptionLabel": "說明",
+ "modePlaceholder": "任何模式",
+ "modeHint": "將此技能限制為特定模式",
+ "modeAny": "任何模式"
},
"source": {
"global": "全域(在所有專案中可用)",
@@ -1120,7 +1230,13 @@
"descriptionRequired": "說明為必填",
"descriptionTooLong": "說明不得超過1024個字元"
},
- "footer": "使用技能編寫器模式建立您自己的技能,可在 模式市集 中取得。"
+ "footer": "使用技能編寫器模式建立您自己的技能,可在 模式市集 中取得。",
+ "modeAny": "任意模式",
+ "modeCount": "{{count}} 種模式",
+ "diagnostics": {
+ "title": "部分技能無法載入",
+ "description": "請修正所列 SKILL.md 檔案中的 YAML frontmatter,然後重新開啟或重新整理此頁面。"
+ }
},
"language": {
"description": "語言與日期/時間顯示。",
@@ -1157,5 +1273,12 @@
"relative": "5 分鐘前",
"hover": "(懸停:{{value}})"
}
- }
+ },
+ "promptCaching": {
+ "label": "停用提示詞快取",
+ "description": "勾選後,Zoo 將不會為此模型使用提示詞快取。"
+ },
+ "limitMaxTokensDescription": "限制回應中的最大 Token 數量",
+ "maxOutputTokensLabel": "最大輸出 Token 數",
+ "maxTokensGenerateDescription": "回應中產生的最大 Token 數"
}