reasonix 0.34.1 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dashboard/app.css +16 -14
- package/dashboard/dist/app.js +77 -18
- package/dashboard/dist/app.js.map +1 -1
- package/dist/cli/{chat-TD6GR3QK.js → chat-RGMYAOY2.js} +18 -17
- package/dist/cli/{chunk-SA4UGZPG.js → chunk-2MCYGFLK.js} +15 -10
- package/dist/cli/chunk-2MCYGFLK.js.map +1 -0
- package/dist/cli/{chunk-SW3CCXEV.js → chunk-4Q3GRJIU.js} +2 -2
- package/dist/cli/{chunk-5JXXEPDM.js → chunk-BHLHOS5Y.js} +8 -2
- package/dist/cli/chunk-BHLHOS5Y.js.map +1 -0
- package/dist/cli/{chunk-F3ILWP2L.js → chunk-BJ376EN3.js} +9 -8
- package/dist/cli/chunk-BJ376EN3.js.map +1 -0
- package/dist/cli/{chunk-2AWTGJ2C.js → chunk-CRPQUBP6.js} +26 -9
- package/dist/cli/{chunk-2AWTGJ2C.js.map → chunk-CRPQUBP6.js.map} +1 -1
- package/dist/cli/{chunk-EINEIIIW.js → chunk-EN4LAZW5.js} +563 -250
- package/dist/cli/chunk-EN4LAZW5.js.map +1 -0
- package/dist/cli/{chunk-OERAGRJX.js → chunk-IPCPEZWQ.js} +2 -2
- package/dist/cli/{chunk-U3V2ZQ5J.js → chunk-KJQIA4US.js} +6 -2
- package/dist/cli/chunk-KJQIA4US.js.map +1 -0
- package/dist/cli/{chunk-Q36KBLSU.js → chunk-MLXUGPJE.js} +292 -35
- package/dist/cli/chunk-MLXUGPJE.js.map +1 -0
- package/dist/cli/{chunk-SX6L4HZZ.js → chunk-QPNZWUZF.js} +53 -6
- package/dist/cli/chunk-QPNZWUZF.js.map +1 -0
- package/dist/cli/{chunk-LNTORE5K.js → chunk-QRUQ2BFT.js} +159 -40
- package/dist/cli/chunk-QRUQ2BFT.js.map +1 -0
- package/dist/cli/{chunk-KZHMKOJH.js → chunk-T52GAWPP.js} +25 -3
- package/dist/cli/chunk-T52GAWPP.js.map +1 -0
- package/dist/cli/{chunk-I6YIAK6C.js → chunk-UNMYFZPZ.js} +2 -2
- package/dist/cli/{update-4TJWRUIN.js → chunk-WJ3YX4PZ.js} +51 -12
- package/dist/cli/chunk-WJ3YX4PZ.js.map +1 -0
- package/dist/cli/{chunk-RXGEGA7K.js → chunk-XQIFIB3U.js} +18 -7
- package/dist/cli/{chunk-RXGEGA7K.js.map → chunk-XQIFIB3U.js.map} +1 -1
- package/dist/cli/{chunk-2EBODRRO.js → chunk-ZJR4QLXB.js} +5 -1
- package/dist/cli/{chunk-2EBODRRO.js.map → chunk-ZJR4QLXB.js.map} +1 -1
- package/dist/cli/{chunk-6TMHAK5D.js → chunk-ZU45XW3P.js} +2 -2
- package/dist/cli/code-KJB3WDU6.js +435 -0
- package/dist/cli/code-KJB3WDU6.js.map +1 -0
- package/dist/cli/{commands-MEZPSEHV.js → commands-FE2UDFBC.js} +3 -3
- package/dist/cli/{commit-CE4EFTUQ.js → commit-3IAGB22T.js} +5 -4
- package/dist/cli/commit-3IAGB22T.js.map +1 -0
- package/dist/cli/{doctor-YASM64X6.js → doctor-DKD34EFD.js} +7 -7
- package/dist/cli/index.js +35 -33
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/{mcp-LDFK5QJI.js → mcp-2RDEQST6.js} +2 -2
- package/dist/cli/{mcp-browse-FYHEITCM.js → mcp-browse-VM5GLRBQ.js} +2 -2
- package/dist/cli/{mcp-inspect-T2HBR22P.js → mcp-inspect-CWSVCZUQ.js} +3 -3
- package/dist/cli/{prompt-V47QKSAR.js → prompt-YEKXMNNV.js} +3 -3
- package/dist/cli/{replay-JEDLU7F2.js → replay-D7RT2DR7.js} +3 -3
- package/dist/cli/replay-D7RT2DR7.js.map +1 -0
- package/dist/cli/{run-NHD2RSTD.js → run-FK5UBIIM.js} +13 -12
- package/dist/cli/run-FK5UBIIM.js.map +1 -0
- package/dist/cli/{server-MC4A4WAJ.js → server-W4XJK4GX.js} +17 -17
- package/dist/cli/{server-MC4A4WAJ.js.map → server-W4XJK4GX.js.map} +1 -1
- package/dist/cli/{sessions-ZHWJEW4L.js → sessions-YZXWMIWW.js} +10 -10
- package/dist/cli/{setup-DK43MT47.js → setup-IIAJXHP4.js} +196 -130
- package/dist/cli/setup-IIAJXHP4.js.map +1 -0
- package/dist/cli/update-GUCWB4UN.js +13 -0
- package/dist/cli/update-GUCWB4UN.js.map +1 -0
- package/dist/cli/{version-O362UKPM.js → version-DWD6RLIU.js} +12 -12
- package/dist/index.d.ts +19 -2
- package/dist/index.js +543 -78
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/cli/chunk-5JXXEPDM.js.map +0 -1
- package/dist/cli/chunk-EINEIIIW.js.map +0 -1
- package/dist/cli/chunk-F3ILWP2L.js.map +0 -1
- package/dist/cli/chunk-KZHMKOJH.js.map +0 -1
- package/dist/cli/chunk-LNTORE5K.js.map +0 -1
- package/dist/cli/chunk-Q36KBLSU.js.map +0 -1
- package/dist/cli/chunk-SA4UGZPG.js.map +0 -1
- package/dist/cli/chunk-SX6L4HZZ.js.map +0 -1
- package/dist/cli/chunk-U3V2ZQ5J.js.map +0 -1
- package/dist/cli/code-TGUOQBRJ.js +0 -153
- package/dist/cli/code-TGUOQBRJ.js.map +0 -1
- package/dist/cli/commit-CE4EFTUQ.js.map +0 -1
- package/dist/cli/replay-JEDLU7F2.js.map +0 -1
- package/dist/cli/run-NHD2RSTD.js.map +0 -1
- package/dist/cli/setup-DK43MT47.js.map +0 -1
- package/dist/cli/update-4TJWRUIN.js.map +0 -1
- /package/dist/cli/{chat-TD6GR3QK.js.map → chat-RGMYAOY2.js.map} +0 -0
- /package/dist/cli/{chunk-SW3CCXEV.js.map → chunk-4Q3GRJIU.js.map} +0 -0
- /package/dist/cli/{chunk-OERAGRJX.js.map → chunk-IPCPEZWQ.js.map} +0 -0
- /package/dist/cli/{chunk-I6YIAK6C.js.map → chunk-UNMYFZPZ.js.map} +0 -0
- /package/dist/cli/{chunk-6TMHAK5D.js.map → chunk-ZU45XW3P.js.map} +0 -0
- /package/dist/cli/{commands-MEZPSEHV.js.map → commands-FE2UDFBC.js.map} +0 -0
- /package/dist/cli/{doctor-YASM64X6.js.map → doctor-DKD34EFD.js.map} +0 -0
- /package/dist/cli/{mcp-LDFK5QJI.js.map → mcp-2RDEQST6.js.map} +0 -0
- /package/dist/cli/{mcp-browse-FYHEITCM.js.map → mcp-browse-VM5GLRBQ.js.map} +0 -0
- /package/dist/cli/{mcp-inspect-T2HBR22P.js.map → mcp-inspect-CWSVCZUQ.js.map} +0 -0
- /package/dist/cli/{prompt-V47QKSAR.js.map → prompt-YEKXMNNV.js.map} +0 -0
- /package/dist/cli/{sessions-ZHWJEW4L.js.map → sessions-YZXWMIWW.js.map} +0 -0
- /package/dist/cli/{version-O362UKPM.js.map → version-DWD6RLIU.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
t
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MLXUGPJE.js";
|
|
5
5
|
|
|
6
6
|
// src/hooks.ts
|
|
7
7
|
import { spawn } from "child_process";
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
formatHookOutcomeMessage,
|
|
206
206
|
runHooks
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=chunk-
|
|
208
|
+
//# sourceMappingURL=chunk-IPCPEZWQ.js.map
|
|
@@ -151,6 +151,10 @@ var SkillStore = class {
|
|
|
151
151
|
}
|
|
152
152
|
/** Scaffold a new skill stub at the chosen scope. Refuses to overwrite. */
|
|
153
153
|
create(name, scope) {
|
|
154
|
+
return this.createWithContent(name, scope, skillStubBody(name));
|
|
155
|
+
}
|
|
156
|
+
/** Like `create` but writes caller-supplied file contents instead of the stub — used by the scaffold tool. */
|
|
157
|
+
createWithContent(name, scope, content) {
|
|
154
158
|
if (!isValidSkillName(name)) {
|
|
155
159
|
return { error: `invalid skill name: "${name}" \u2014 use letters, digits, _, -, .` };
|
|
156
160
|
}
|
|
@@ -165,7 +169,7 @@ var SkillStore = class {
|
|
|
165
169
|
}
|
|
166
170
|
mkdirSync(dirname(flat), { recursive: true });
|
|
167
171
|
try {
|
|
168
|
-
writeFileSync(flat,
|
|
172
|
+
writeFileSync(flat, content, { encoding: "utf8", flag: "wx" });
|
|
169
173
|
} catch (err) {
|
|
170
174
|
if (err.code === "EEXIST") {
|
|
171
175
|
return { error: `skill "${name}" already exists at ${flat}` };
|
|
@@ -476,4 +480,4 @@ export {
|
|
|
476
480
|
SkillStore,
|
|
477
481
|
applySkillsIndex
|
|
478
482
|
};
|
|
479
|
-
//# sourceMappingURL=chunk-
|
|
483
|
+
//# sourceMappingURL=chunk-KJQIA4US.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/prompt-fragments.ts","../../src/memory/project.ts","../../src/skills.ts"],"sourcesContent":["/** Shared prompt fragments — single source so house-style rules can't drift across agent/subagent/skill prompts. */\n\n/** Embedded literally — no interpolation, so prefix-cache hash stays stable across sessions. */\nexport const TUI_FORMATTING_RULES = `Formatting (rendered in a TUI with a real markdown renderer):\n- Tabular data → GitHub-Flavored Markdown tables with ASCII pipes (\\`| col | col |\\` header + \\`| --- | --- |\\` separator). Never use Unicode box-drawing characters (│ ─ ┼ ┌ ┐ └ ┘ ├ ┤) — they look intentional but break terminal word-wrap and render as garbled columns at narrow widths.\n- Keep table cells short (one phrase each). If a cell needs a paragraph, use bullets below the table instead.\n- Code, file paths with line ranges, and shell commands → fenced code blocks (\\`\\`\\`).\n- Do NOT draw decorative frames around content with \\`┌──┐ │ └──┘\\` characters. The renderer adds its own borders; extra ASCII art adds noise and shatters at narrow widths.\n- For flow charts and diagrams: a plain bullet list with \\`→\\` or \\`↓\\` between steps. Don't try to draw boxes-and-arrows in ASCII; it never survives word-wrap.`;\n\nexport const ESCALATION_CONTRACT = `Cost-aware escalation (when you're running on deepseek-v4-flash):\n\nIf a task CLEARLY exceeds what flash can do well — complex cross-file architecture refactors, subtle concurrency / security / correctness invariants you can't resolve with confidence, or a design trade-off you'd be guessing at — output the marker as the FIRST line of your response (nothing before it, not even whitespace on a separate line). This aborts the current call and retries this turn on deepseek-v4-pro, one shot.\n\nTwo accepted forms:\n- \\`<<<NEEDS_PRO>>>\\` — bare marker, no rationale.\n- \\`<<<NEEDS_PRO: <one-sentence reason>>>>\\` — preferred. The reason text appears in the user-visible warning (\"⇧ flash requested escalation — <your reason>\"), so they understand WHY a more expensive call is happening. Keep it under ~150 chars, no newlines, no nested \\`>\\` characters. Examples: \\`<<<NEEDS_PRO: cross-file refactor across 6 modules with circular imports>>>\\` or \\`<<<NEEDS_PRO: subtle session-token race; flash would likely miss the locking invariant>>>\\`.\n\nDo NOT emit any other content in the same response when you request escalation. Use this sparingly: normal tasks — reading files, small edits, clear bug fixes, straightforward feature additions — stay on flash. Request escalation ONLY when you would otherwise produce a guess or a visibly-mediocre answer. If in doubt, attempt the task on flash first; the system also escalates automatically if you hit 3+ repair / SEARCH-mismatch errors in a single turn (the user sees a typed breakdown).`;\n\nexport const NEGATIVE_CLAIM_RULE = `Negative claims (\"X is missing\", \"Y isn't implemented\", \"there's no Z\") are the #1 hallucination shape. They feel safe to write because no citation seems possible — but that's exactly why you must NOT write them on instinct.\n\nIf you have a search tool (\\`search_content\\`, \\`grep\\`, web search), call it FIRST before asserting absence:\n- Returns matches → you were wrong; correct yourself and cite the matches.\n- Returns nothing → state the absence WITH the search query as evidence: \\`No callers of \\\\\\`foo()\\\\\\` found (search_content \"foo\").\\`\n\nIf you have no search tool, qualify hard: \"I haven't verified — this is a guess.\" Never assert absence with fake authority.`;\n","/** REASONIX.md pinned into ImmutablePrefix.system; edits invalidate the prefix-cache fingerprint. */\n\nimport { existsSync, readFileSync } from \"node:fs\";\nimport { join } from \"node:path\";\n\nexport const PROJECT_MEMORY_FILE = \"REASONIX.md\";\nexport const PROJECT_MEMORY_MAX_CHARS = 8000;\n\nexport interface ProjectMemory {\n /** Absolute path the memory was read from. */\n path: string;\n /** Post-truncation content (may include a \"… (truncated N chars)\" marker). */\n content: string;\n /** Original byte length before truncation. */\n originalChars: number;\n /** True iff `originalChars > PROJECT_MEMORY_MAX_CHARS`. */\n truncated: boolean;\n}\n\n/** Empty / whitespace-only files return null so they don't perturb the cache prefix. */\nexport function readProjectMemory(rootDir: string): ProjectMemory | null {\n const path = join(rootDir, PROJECT_MEMORY_FILE);\n if (!existsSync(path)) return null;\n let raw: string;\n try {\n raw = readFileSync(path, \"utf8\");\n } catch {\n return null;\n }\n const trimmed = raw.trim();\n if (!trimmed) return null;\n const originalChars = trimmed.length;\n const truncated = originalChars > PROJECT_MEMORY_MAX_CHARS;\n const content = truncated\n ? `${trimmed.slice(0, PROJECT_MEMORY_MAX_CHARS)}\\n… (truncated ${\n originalChars - PROJECT_MEMORY_MAX_CHARS\n } chars)`\n : trimmed;\n return { path, content, originalChars, truncated };\n}\n\nexport function memoryEnabled(): boolean {\n const env = process.env.REASONIX_MEMORY;\n if (env === \"off\" || env === \"false\" || env === \"0\") return false;\n return true;\n}\n\n/** Deterministic — same memory file always yields the same prefix hash. */\nexport function applyProjectMemory(basePrompt: string, rootDir: string): string {\n if (!memoryEnabled()) return basePrompt;\n const mem = readProjectMemory(rootDir);\n if (!mem) return basePrompt;\n return `${basePrompt}\n\n# Project memory (REASONIX.md)\n\nThe user pinned these notes about this project — treat them as authoritative context for every turn:\n\n\\`\\`\\`\n${mem.content}\n\\`\\`\\`\n`;\n}\n","/** Project scope wins over global. Only names+descriptions enter the prefix; bodies load lazily into the append-only log. */\n\nimport { existsSync, mkdirSync, readFileSync, readdirSync, statSync, writeFileSync } from \"node:fs\";\nimport { homedir } from \"node:os\";\nimport { dirname, join, resolve } from \"node:path\";\nimport { NEGATIVE_CLAIM_RULE, TUI_FORMATTING_RULES } from \"./prompt-fragments.js\";\n\nexport const SKILLS_DIRNAME = \"skills\";\nexport const SKILL_FILE = \"SKILL.md\";\n/** Cap on the pinned skills-index block, mirrors memory-index cap. */\nexport const SKILLS_INDEX_MAX_CHARS = 4000;\n/** Skill identifier shape — alnum + `_` + `-` + interior `.`, 1-64 chars. */\nconst VALID_SKILL_NAME = /^[a-zA-Z0-9][a-zA-Z0-9._-]{0,63}$/;\n\nexport type SkillScope = \"project\" | \"global\" | \"builtin\";\n\n/** inline = body enters parent log; subagent = isolated child loop, only final answer returns. */\nexport type SkillRunAs = \"inline\" | \"subagent\";\n\nexport interface Skill {\n /** Canonical name — sanitized, matches the directory / filename stem. */\n name: string;\n /** One-line description shown in the pinned index. */\n description: string;\n /** Full markdown body (post-frontmatter). Loaded on demand. */\n body: string;\n /** Which scope this skill was loaded from. */\n scope: SkillScope;\n /** Absolute path to the SKILL.md (or {name}.md) file, or \"(builtin)\" for shipped defaults. */\n path: string;\n /** Parsed `allowed-tools` frontmatter — when present, the spawned subagent's registry is scoped to these literal tool names. */\n allowedTools?: readonly string[];\n runAs: SkillRunAs;\n /** Subagent model override; only meaningful when `runAs === \"subagent\"`. */\n model?: string;\n}\n\nexport interface SkillStoreOptions {\n /** Override `$HOME` — tests point this at a tmpdir. */\n homeDir?: string;\n /** Required for project-scope skills; omit to read only the global scope. */\n projectRoot?: string;\n /** Suppress bundled built-ins — for tests asserting exact list contents. */\n disableBuiltins?: boolean;\n}\n\nfunction parseFrontmatter(raw: string): { data: Record<string, string>; body: string } {\n const lines = raw.split(/\\r?\\n/);\n if (lines[0] !== \"---\") return { data: {}, body: raw };\n const end = lines.indexOf(\"---\", 1);\n if (end < 0) return { data: {}, body: raw };\n const data: Record<string, string> = {};\n for (let i = 1; i < end; i++) {\n const line = lines[i];\n if (!line) continue;\n const m = line.match(/^([a-zA-Z_][a-zA-Z0-9_-]*):\\s*(.*)$/);\n if (m?.[1]) data[m[1]] = (m[2] ?? \"\").trim();\n }\n return {\n data,\n body: lines\n .slice(end + 1)\n .join(\"\\n\")\n .replace(/^\\n+/, \"\"),\n };\n}\n\nfunction isValidSkillName(name: string): boolean {\n return VALID_SKILL_NAME.test(name);\n}\n\nfunction parseAllowedTools(raw: string | undefined): readonly string[] | undefined {\n if (raw === undefined) return undefined;\n const names = raw\n .split(\",\")\n .map((s) => s.trim())\n .filter(Boolean);\n return names.length > 0 ? Object.freeze(names) : undefined;\n}\n\nexport class SkillStore {\n private readonly homeDir: string;\n private readonly projectRoot: string | undefined;\n private readonly disableBuiltins: boolean;\n\n constructor(opts: SkillStoreOptions = {}) {\n this.homeDir = opts.homeDir ?? homedir();\n this.projectRoot = opts.projectRoot ? resolve(opts.projectRoot) : undefined;\n this.disableBuiltins = opts.disableBuiltins === true;\n }\n\n /** True iff this store was configured with a project root. */\n hasProjectScope(): boolean {\n return this.projectRoot !== undefined;\n }\n\n /** Project scope first so per-repo skill overrides a global with the same name. */\n roots(): Array<{ dir: string; scope: SkillScope }> {\n const out: Array<{ dir: string; scope: SkillScope }> = [];\n if (this.projectRoot) {\n out.push({\n dir: join(this.projectRoot, \".reasonix\", SKILLS_DIRNAME),\n scope: \"project\",\n });\n }\n out.push({ dir: join(this.homeDir, \".reasonix\", SKILLS_DIRNAME), scope: \"global\" });\n return out;\n }\n\n /** Higher-priority root wins on collision (project > global > builtin); sorted for stable prefix hash. */\n list(): Skill[] {\n const byName = new Map<string, Skill>();\n for (const { dir, scope } of this.roots()) {\n if (!existsSync(dir)) continue;\n let entries: import(\"node:fs\").Dirent[];\n try {\n entries = readdirSync(dir, { withFileTypes: true });\n } catch {\n continue;\n }\n for (const entry of entries) {\n const skill = this.readEntry(dir, scope, entry);\n if (!skill) continue;\n if (!byName.has(skill.name)) byName.set(skill.name, skill);\n }\n }\n // Builtins last so user/project files override on name collision.\n if (!this.disableBuiltins) {\n for (const skill of BUILTIN_SKILLS) {\n if (!byName.has(skill.name)) byName.set(skill.name, skill);\n }\n }\n return [...byName.values()].sort((a, b) => a.name.localeCompare(b.name));\n }\n\n /** Scaffold a new skill stub at the chosen scope. Refuses to overwrite. */\n create(name: string, scope: \"project\" | \"global\"): { path: string } | { error: string } {\n return this.createWithContent(name, scope, skillStubBody(name));\n }\n\n /** Like `create` but writes caller-supplied file contents instead of the stub — used by the scaffold tool. */\n createWithContent(\n name: string,\n scope: \"project\" | \"global\",\n content: string,\n ): { path: string } | { error: string } {\n if (!isValidSkillName(name)) {\n return { error: `invalid skill name: \"${name}\" — use letters, digits, _, -, .` };\n }\n if (scope === \"project\" && !this.projectRoot) {\n return { error: \"project scope requires a workspace — run from `reasonix code`\" };\n }\n const root =\n scope === \"project\"\n ? join(this.projectRoot ?? \"\", \".reasonix\", SKILLS_DIRNAME)\n : join(this.homeDir, \".reasonix\", SKILLS_DIRNAME);\n const flat = join(root, `${name}.md`);\n const folder = join(root, name, SKILL_FILE);\n if (existsSync(folder)) {\n return { error: `skill \"${name}\" already exists at ${folder}` };\n }\n mkdirSync(dirname(flat), { recursive: true });\n try {\n writeFileSync(flat, content, { encoding: \"utf8\", flag: \"wx\" });\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code === \"EEXIST\") {\n return { error: `skill \"${name}\" already exists at ${flat}` };\n }\n throw err;\n }\n return { path: flat };\n }\n\n /** Resolve one skill by name. Returns `null` if not found or malformed. */\n read(name: string): Skill | null {\n if (!isValidSkillName(name)) return null;\n for (const { dir, scope } of this.roots()) {\n if (!existsSync(dir)) continue;\n const dirCandidate = join(dir, name, SKILL_FILE);\n if (existsSync(dirCandidate) && statSync(dirCandidate).isFile()) {\n return this.parse(dirCandidate, name, scope);\n }\n const flatCandidate = join(dir, `${name}.md`);\n if (existsSync(flatCandidate) && statSync(flatCandidate).isFile()) {\n return this.parse(flatCandidate, name, scope);\n }\n }\n if (!this.disableBuiltins) {\n for (const skill of BUILTIN_SKILLS) {\n if (skill.name === name) return skill;\n }\n }\n return null;\n }\n\n private readEntry(dir: string, scope: SkillScope, entry: import(\"node:fs\").Dirent): Skill | null {\n if (entry.isDirectory()) {\n if (!isValidSkillName(entry.name)) return null;\n const file = join(dir, entry.name, SKILL_FILE);\n if (!existsSync(file)) return null;\n return this.parse(file, entry.name, scope);\n }\n if (entry.isFile() && entry.name.endsWith(\".md\")) {\n const stem = entry.name.slice(0, -3);\n if (!isValidSkillName(stem)) return null;\n return this.parse(join(dir, entry.name), stem, scope);\n }\n return null;\n }\n\n private parse(path: string, stem: string, scope: SkillScope): Skill | null {\n let raw: string;\n try {\n raw = readFileSync(path, \"utf8\");\n } catch {\n return null;\n }\n const { data, body } = parseFrontmatter(raw);\n const name = data.name && isValidSkillName(data.name) ? data.name : stem;\n return {\n name,\n description: (data.description ?? \"\").trim(),\n body: body.trim(),\n scope,\n path,\n allowedTools: parseAllowedTools(data[\"allowed-tools\"]),\n runAs: parseRunAs(data.runAs),\n model: data.model?.startsWith(\"deepseek-\") ? data.model : undefined,\n };\n }\n}\n\n/** Unknown values default to the safe (non-spawning) `inline` mode. */\nfunction parseRunAs(raw: string | undefined): SkillRunAs {\n return raw?.trim() === \"subagent\" ? \"subagent\" : \"inline\";\n}\n\n/** Stub markdown for `/skill new` — minimal frontmatter + scaffolding the user fills in. */\nfunction skillStubBody(name: string): string {\n return `---\nname: ${name}\ndescription: One-liner — what does this skill do?\n---\n\n# ${name}\n\nReplace this body with the playbook the model should follow when this skill is invoked.\n\nTips:\n- Reference tools by name (run_command, edit_file, search_content, ...)\n- Add \\`runAs: subagent\\` to frontmatter to spawn an isolated subagent loop\n- Add \\`allowed-tools: read_file, search_content\\` to scope a subagent's tools\n`;\n}\n\n/** Subagent tag goes AFTER the name in brackets — leading-marker tags get copied into `name` arg verbatim. */\nfunction skillIndexLine(s: Pick<Skill, \"name\" | \"description\" | \"runAs\">): string {\n const safeDesc = s.description.replace(/\\n/g, \" \").trim();\n const tag = s.runAs === \"subagent\" ? \" [🧬 subagent]\" : \"\";\n const max = 130 - s.name.length - tag.length;\n const clipped = safeDesc.length > max ? `${safeDesc.slice(0, Math.max(1, max - 1))}…` : safeDesc;\n return clipped ? `- ${s.name}${tag} — ${clipped}` : `- ${s.name}${tag}`;\n}\n\n/** Bodies stay out — prefix must stay short + cacheable; bodies load on demand. */\nexport function applySkillsIndex(basePrompt: string, opts: SkillStoreOptions = {}): string {\n const store = new SkillStore(opts);\n const skills = store.list().filter((s) => s.description);\n if (skills.length === 0) return basePrompt;\n const lines = skills.map(skillIndexLine);\n const joined = lines.join(\"\\n\");\n const truncated =\n joined.length > SKILLS_INDEX_MAX_CHARS\n ? `${joined.slice(0, SKILLS_INDEX_MAX_CHARS)}\\n… (truncated ${\n joined.length - SKILLS_INDEX_MAX_CHARS\n } chars)`\n : joined;\n return [\n basePrompt,\n \"\",\n \"# Skills — playbooks you can invoke\",\n \"\",\n 'One-liner index. Each entry is either a built-in or a user-authored playbook. Call `run_skill({ name: \"<skill-name>\", arguments: \"<task>\" })` — the `name` is JUST the skill identifier (e.g. `\"explore\"`), NOT the `[🧬 subagent]` tag that appears after it. Entries tagged `[🧬 subagent]` spawn an **isolated subagent** — its tool calls and reasoning never enter your context, only its final answer does. Use subagent skills for tasks that would otherwise flood your context (deep exploration, multi-step research, anything where you only need the conclusion). Plain skills are inlined: their body becomes a tool result you read and act on directly. The user can also invoke a skill via `/skill <name>`.',\n \"\",\n \"```\",\n truncated,\n \"```\",\n ].join(\"\\n\");\n}\n\nconst BUILTIN_EXPLORE_BODY = `You are running as an exploration subagent. Your job is to investigate the codebase the parent agent pointed you at, then return one focused, distilled answer.\n\nHow to operate:\n- Use read_file, search_files, search_content, directory_tree, list_directory, get_file_info as your primary tools. Stay read-only.\n- For \"find all places that call / reference / use X\" questions, use \\`search_content\\` (content grep) — NOT \\`search_files\\` (which only matches file names). This is the most common subagent mistake; using the wrong tool gives empty results and you waste your iter budget chasing a phantom.\n- Cast a wide net first (search_content for symbol references, directory_tree for structure) to map the territory; then read the 3-10 most relevant files in full.\n- Don't read every file — be selective. Aim for breadth on the first pass, depth only where the question demands it.\n- Stop exploring as soon as you can answer the question. The parent doesn't see your tool calls, so over-exploration is pure waste.\n\nYour final answer:\n- One paragraph (or a few short bullets). Lead with the conclusion.\n- Cite specific file paths + line ranges when they support the answer.\n- If the question can't be answered from what you found, say so plainly and suggest where to look next.\n- No follow-up offers, no \"let me know if you need more.\" The parent will ask again if they need more.\n\n${NEGATIVE_CLAIM_RULE}\n\n${TUI_FORMATTING_RULES}\n\nThe 'task' the parent gave you is the question you must answer. Treat any other reading of it as scope creep.`;\n\nconst BUILTIN_RESEARCH_BODY = `You are running as a research subagent. Your job is to gather information from code AND the web, synthesize it, and return one focused conclusion.\n\nHow to operate:\n- Combine code reading (read_file, search_files) with web tools (web_search, web_fetch) as appropriate to the question.\n- For \"how does X work\" / \"is Y supported\" questions: web first to find the canonical reference, then verify against the local code.\n- For \"what's our policy on Z\" / \"where do we use Q\": local code first, web only if you need to compare against external standards.\n- Cap yourself at ~10 tool calls. If you can't converge in 10, return what you have plus a note about what's missing.\n\nYour final answer:\n- One paragraph (or short bullets). Lead with the conclusion.\n- Cite both code (file:line) AND web sources (URL) when they back the answer.\n- Distinguish \"I verified this in code\" from \"I read this on a docs page\" — the parent will trust the former more.\n- If the answer is uncertain, say so. Don't invent confidence.\n\n${NEGATIVE_CLAIM_RULE}\n\n${TUI_FORMATTING_RULES}\n\nThe 'task' the parent gave you is the research question. Stay on it.`;\n\nconst BUILTIN_REVIEW_BODY = `You are running as a code-review subagent. Your job is to inspect the changes the user is about to ship — usually the current git branch vs its upstream — and produce a focused review the parent can hand back to the user.\n\nHow to operate:\n- Default scope: the current branch's diff vs the default branch. If the user's task names a specific commit range or files, honor that instead.\n- Discover scope first: \\`run_command git status\\`, \\`git diff --stat\\`, \\`git log --oneline\\` to see what changed. Then \\`git diff\\` (or \\`git diff <base>...HEAD\\`) for the actual hunks.\n- Read the touched files (\\`read_file\\`) when the diff alone doesn't carry enough context — function signatures, surrounding invariants, callers.\n- For \"any callers depending on this?\" questions: \\`search_content\\` against the symbol BEFORE asserting impact.\n- Stay read-only. Never \\`run_command git commit\\`, never write files, never propose SEARCH/REPLACE blocks. The parent decides whether to act on your findings.\n- Cap yourself at ~12 tool calls. If the diff is too big to review in one pass, pick the riskiest 2-3 files and say so explicitly.\n\nWhat to look for, in priority order:\n1. **Correctness bugs** — off-by-one, null/undefined handling, race conditions, wrong sign / wrong operator, edge cases the code doesn't handle.\n2. **Security** — injection (SQL, shell, path traversal), secrets in code, missing authz checks, unsafe deserialization.\n3. **Behavior changes the diff hides** — renames that miss callers, removed branches that were load-bearing, error-handling that now swallows what used to surface.\n4. **Tests** — does the change have tests for the new behavior? Are existing tests still meaningful, or did the change make them tautological?\n5. **Style + consistency** — only flag deviations that matter (unsafe \\`any\\`, missing types in TypeScript, inconsistent error shape). Don't pile on cosmetic nits if the substance is clean.\n\nYour final answer:\n- Lead with a one-sentence verdict: \"ship as-is\" / \"minor nits, OK to ship after\" / \"blocking issues, do not ship\".\n- Then a short bulleted list of issues, each with: file:line citation + the problem in one sentence + what to change.\n- Group by severity if you have more than 4 items: **Blocking**, **Should-fix**, **Nits**.\n- If everything looks clean, say so plainly. Don't manufacture concerns.\n\n${NEGATIVE_CLAIM_RULE}\n\n${TUI_FORMATTING_RULES}\n\nThe 'task' the parent gave you describes WHAT to review (a branch, a file set, or \"the pending changes\"). Stay on it; don't redesign the feature.`;\n\nconst BUILTIN_SECURITY_REVIEW_BODY = `You are running as a security-review subagent. Your job is to inspect the changes the user is about to ship — usually the current git branch vs its upstream — through a security lens specifically, and report exploitable issues.\n\nHow to operate:\n- Default scope: the current branch's diff vs the default branch. If the user names a different range or a directory, honor that.\n- Discover scope first: \\`git status\\`, \\`git diff --stat\\`, \\`git diff <base>...HEAD\\`. Read touched files (\\`read_file\\`) when the diff alone doesn't carry security context — auth checks, input validation, the actual handler that calls into the changed function.\n- Use \\`search_content\\` to verify \"is this user-controlled input ever sanitized later?\" / \"are there other call sites that depend on this validation?\" before asserting impact.\n- Stay read-only. Never write, never run destructive commands, never propose SEARCH/REPLACE blocks. The parent decides what to act on.\n- Cap yourself at ~12 tool calls. If the diff is too big, focus on the riskiest 2-3 files and say so explicitly.\n\nThreat model — flag with severity:\n\n**CRITICAL** (do-not-ship):\n- SQL / NoSQL / shell / template injection — user input concatenated into a query, command, or template without parameterization.\n- Path traversal — user-controlled filenames touching the filesystem without canonicalization + sandbox check.\n- Authentication / authorization missing — endpoints / actions that should require a session check but don't.\n- Hardcoded secrets — API keys, passwords, signing tokens visible in the diff.\n- Deserialization of untrusted input — \\`pickle.loads\\`, \\`yaml.load\\` (non-safe), \\`eval\\`, \\`Function()\\`, \\`unserialize()\\`.\n- Cryptographic mistakes — homemade crypto, weak hashes (MD5/SHA-1) for passwords, missing IVs, ECB mode, predictable nonces.\n\n**HIGH**:\n- XSS — user input rendered into HTML without escaping (or wrong escaping context).\n- SSRF — fetching URLs from user input without an allowlist.\n- Race conditions in security-relevant code — TOCTOU on auth/file checks.\n- Open redirects — user-controlled URL passed to a redirect helper.\n- Insufficient logging on security events (login failure, permission denial) — only flag if the codebase clearly DOES log elsewhere.\n\n**MEDIUM**:\n- Verbose error messages leaking internal paths / stack traces / SQL.\n- Missing rate limiting on a credential / token endpoint.\n- Cross-origin / cookie-flag issues (missing \\`Secure\\` / \\`HttpOnly\\` / \\`SameSite\\`).\n\nThings to NOT pile on (out of scope here — the regular /review covers them):\n- Style, formatting, naming.\n- Performance, refactor opportunities, test coverage gaps that aren't security-relevant.\n- \"Should be a constant\" / \"extract this helper\" — irrelevant to ship-blocking.\n\nYour final answer:\n- Lead with a one-sentence verdict: \"no security issues found\", \"minor concerns\", or \"blocking issues\".\n- Then a list grouped by severity. Each item: file:line + 1-sentence threat + 1-sentence fix direction (no full SEARCH/REPLACE — the user / parent agent will write that).\n- If clean, say so plainly. Don't manufacture findings.\n\n${NEGATIVE_CLAIM_RULE}\n\n${TUI_FORMATTING_RULES}\n\nThe 'task' the parent gave you names what to review. Stay on it; don't redesign the feature.`;\n\nconst BUILTIN_TEST_BODY = `You are running as the parent agent — this skill is INLINED, not a subagent. The user invoked /test (or asked you to \"run the tests and fix failures\"). Your job: run the project's test suite, diagnose any failure, propose fixes as SEARCH/REPLACE edit blocks, then re-run. Repeat until green or you hit a wall you should escalate.\n\nHow to operate:\n\n1. **Detect the test command**.\n - Look for \\`package.json\\` → \\`scripts.test\\` first (most common: \\`npm test\\`, \\`pnpm test\\`, \\`yarn test\\`).\n - If no package.json or no test script: try \\`pytest\\`, \\`go test ./...\\`, \\`cargo test\\` based on what files exist (pyproject.toml/requirements.txt → pytest; go.mod → go test; Cargo.toml → cargo test).\n - If you can't tell, ASK the user for the command — don't guess. One question, one tool call to confirm.\n\n2. **Run it via run_command** (typical timeout 120s, bigger if the suite is large). Capture stdout + stderr.\n\n3. **Read the failures**. Pull out: which test names failed, the actual error/traceback, the file + line that threw. Don't just paraphrase — locate the exact assertion or stack frame.\n\n4. **Propose fixes**. For each distinct failure:\n - If the failure is in PRODUCTION code (test catches a real bug) → propose a SEARCH/REPLACE that fixes the production code.\n - If the failure is in TEST code (test is wrong, codebase is right) → propose a SEARCH/REPLACE that updates the test, AND say so explicitly: \"This is a test bug, not a production bug — updating the assertion.\"\n - If the failure is environmental (missing dep, wrong node version, missing fixture file) → say so and stop. Don't try to install packages or change config without checking with the user.\n\n5. **Apply + re-run**. After the user accepts the edit blocks, run the test command again. Iterate.\n\n6. **Stop conditions**:\n - All tests pass → report green, summarize what changed.\n - Same test still failing after 2 fix attempts on the same line → STOP. Tell the user \"I've tried twice, it's still failing — here's what I think is happening, want me to try a different angle?\". Don't loop indefinitely.\n - 3+ unrelated failures → fix one at a time, smallest first, so each pass narrows the surface.\n\nDon't:\n- Run \\`npm install\\` / \\`pip install\\` / \\`cargo update\\` without asking — those mutate lockfiles and have global effects.\n- Disable, skip, or delete failing tests to \"make it green\". If a test seems wrong, update its assertion with a one-sentence explanation, but never add \\`.skip\\` / \\`it.skip\\` / \\`@pytest.mark.skip\\`.\n- Modify the test runner config (vitest.config, jest.config, etc.) to silence failures.\n\nLead each turn with a one-line status: \"▸ running \\`npm test\\` ...\" → \"▸ 2 failures in tests/foo.test.ts — first is …\" → so the user always knows where you are without scrolling tool output.`;\n\nconst BUILTIN_SKILLS: readonly Skill[] = Object.freeze([\n Object.freeze<Skill>({\n name: \"explore\",\n description:\n \"Explore the codebase in an isolated subagent — wide-net read-only investigation that returns one distilled answer. Best for: 'find all places that...', 'how does X work across the project', 'survey the code for Y'.\",\n body: BUILTIN_EXPLORE_BODY,\n scope: \"builtin\",\n path: \"(builtin)\",\n runAs: \"subagent\",\n }),\n Object.freeze<Skill>({\n name: \"research\",\n description:\n \"Research a question by combining web search + code reading in an isolated subagent. Best for: 'is X feature supported by lib Y', 'what's the canonical way to do Z', 'compare our impl against the spec'.\",\n body: BUILTIN_RESEARCH_BODY,\n scope: \"builtin\",\n path: \"(builtin)\",\n runAs: \"subagent\",\n }),\n Object.freeze<Skill>({\n name: \"review\",\n description:\n \"Review the pending changes (current branch diff by default) in an isolated subagent — flags correctness, security, missing tests, hidden behavior changes; reports verdict + per-issue file:line. Read-only; the parent decides what to act on.\",\n body: BUILTIN_REVIEW_BODY,\n scope: \"builtin\",\n path: \"(builtin)\",\n runAs: \"subagent\",\n }),\n Object.freeze<Skill>({\n name: \"security-review\",\n description:\n \"Security-focused review of the current branch diff in an isolated subagent — flags injection/authz/secrets/deserialization/path-traversal/crypto issues, severity-tagged. Read-only. Use when shipping changes that touch auth, input parsing, file IO, or external requests.\",\n body: BUILTIN_SECURITY_REVIEW_BODY,\n scope: \"builtin\",\n path: \"(builtin)\",\n runAs: \"subagent\",\n }),\n Object.freeze<Skill>({\n name: \"test\",\n description:\n \"Run the project's test suite, diagnose failures, propose SEARCH/REPLACE fixes, re-run until green (or stop after 2 fix attempts on the same failure). Inlined — runs in the parent loop so you see the edit blocks and can /apply them. Detects npm/pnpm/yarn/pytest/go/cargo.\",\n body: BUILTIN_TEST_BODY,\n scope: \"builtin\",\n path: \"(builtin)\",\n runAs: \"inline\",\n }),\n]);\n"],"mappings":";;;A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A,IACnB,MAAM;AAAA,IACN,aACE;AAAA,IACF,MAAM;AAAA,IACN,OAAO;AAAA,IACP,MAAM;AAAA,IACN,OAAO;AAAA,EACT,CAAC;AAAA,EACD,OAAO,OAAc;AAAA,IACnB,MAAM;AAAA,IACN,aACE;AAAA,IACF,MAAM;AAAA,IACN,OAAO;AAAA,IACP,MAAM;AAAA,IACN,OAAO;AAAA,EACT,CAAC;AAAA,EACD,OAAO,OAAc;AAAA,IACnB,MAAM;AAAA,IACN,aACE;AAAA,IACF,MAAM;AAAA,IACN,OAAO;AAAA,IACP,MAAM;AAAA,IACN,OAAO;AAAA,EACT,CAAC;AAAA,EACD,OAAO,OAAc;AAAA,IACnB,MAAM;AAAA,IACN,aACE;AAAA,IACF,MAAM;AAAA,IACN,OAAO;AAAA,IACP,MAAM;AAAA,IACN,OAAO;AAAA,EACT,CAAC;AACH,CAAC;","names":["existsSync","readFileSync","join","join","existsSync","readFileSync"]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
loadLanguage,
|
|
4
4
|
saveLanguage
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BHLHOS5Y.js";
|
|
6
6
|
|
|
7
7
|
// src/i18n/EN.ts
|
|
8
8
|
var EN = {
|
|
@@ -79,14 +79,15 @@ var EN = {
|
|
|
79
79
|
sections: [
|
|
80
80
|
{
|
|
81
81
|
rows: [
|
|
82
|
-
{ key: "
|
|
82
|
+
{ key: "drag", text: "select text \u2014 terminal-native, no modifier needed" },
|
|
83
83
|
{
|
|
84
84
|
key: "right-click",
|
|
85
|
-
text: "
|
|
85
|
+
text: "your terminal's native menu (paste / copy on Windows Terminal etc.)"
|
|
86
86
|
},
|
|
87
|
+
{ key: "wheel", text: "scrolls chat history (works on web/cloud/SSH terminals too)" },
|
|
87
88
|
{
|
|
88
|
-
key: "
|
|
89
|
-
text: "
|
|
89
|
+
key: "\u2191 / \u2193",
|
|
90
|
+
text: "scroll chat \xB7 use Ctrl+P / Ctrl+N for prompt history + multi-line cursor"
|
|
90
91
|
}
|
|
91
92
|
]
|
|
92
93
|
}
|
|
@@ -101,7 +102,11 @@ var EN = {
|
|
|
101
102
|
rows: [
|
|
102
103
|
{ key: "Enter", text: "submit the prompt" },
|
|
103
104
|
{ key: "Shift+Enter", text: "insert a newline in the prompt" },
|
|
104
|
-
{ key: "
|
|
105
|
+
{ key: "\u2191 / \u2193", text: "scroll chat history (mouse wheel routes here too)" },
|
|
106
|
+
{
|
|
107
|
+
key: "Ctrl+P / Ctrl+N",
|
|
108
|
+
text: "previous / next prompt history \xB7 cursor up / down in a multi-line draft"
|
|
109
|
+
},
|
|
105
110
|
{ key: "Ctrl+A / Ctrl+E", text: "jump to start / end of the current line" },
|
|
106
111
|
{ key: "Ctrl+W", text: "delete the word before the cursor" },
|
|
107
112
|
{ key: "Ctrl+U", text: "clear the entire prompt buffer" },
|
|
@@ -109,10 +114,6 @@ var EN = {
|
|
|
109
114
|
{ key: "Shift+Tab", text: "edit-gate: toggle review \u2194 AUTO mode" },
|
|
110
115
|
{ key: "Esc", text: "dismiss picker \xB7 abort the running model turn" },
|
|
111
116
|
{ key: "Ctrl+C", text: "abort the running model turn (NOT copy \u2014 see clipboard)" },
|
|
112
|
-
{
|
|
113
|
-
key: "\u2191 / \u2193",
|
|
114
|
-
text: "scroll chat history (PromptInput cursor when buffer non-empty)"
|
|
115
|
-
},
|
|
116
117
|
{ key: "PgUp / PgDn", text: "scroll chat history a page at a time" },
|
|
117
118
|
{ key: "End", text: "jump chat to the most recent line" }
|
|
118
119
|
]
|
|
@@ -120,18 +121,18 @@ var EN = {
|
|
|
120
121
|
{
|
|
121
122
|
title: "mouse",
|
|
122
123
|
rows: [
|
|
123
|
-
{ key: "wheel", text: "scrolls
|
|
124
|
-
{ key: "
|
|
125
|
-
{ key: "
|
|
124
|
+
{ key: "wheel", text: "scrolls chat history (works on web/cloud/SSH terminals too)" },
|
|
125
|
+
{ key: "drag", text: "selects text natively \u2014 direct copy works, no modifier" },
|
|
126
|
+
{ key: "right-click", text: "terminal-native (paste menu on Windows Terminal etc.)" }
|
|
126
127
|
]
|
|
127
128
|
},
|
|
128
129
|
{
|
|
129
130
|
title: "copy / paste",
|
|
130
131
|
rows: [
|
|
131
|
-
{ key: "select text", text: "
|
|
132
|
+
{ key: "select text", text: "drag to select \u2014 terminal-native (no modifier needed)" },
|
|
132
133
|
{
|
|
133
134
|
key: "copy",
|
|
134
|
-
text: "Ctrl+Shift+C (Win/Linux) \xB7 Cmd+C (macOS) \u2014
|
|
135
|
+
text: "Ctrl+Shift+C (Win/Linux) \xB7 Cmd+C (macOS) \u2014 or auto-copy-on-select if your terminal does it"
|
|
135
136
|
},
|
|
136
137
|
{ key: "paste", text: "Ctrl+V or Ctrl+Shift+V (Win/Linux) \xB7 Cmd+V (macOS)" },
|
|
137
138
|
{
|
|
@@ -149,7 +150,7 @@ var EN = {
|
|
|
149
150
|
]
|
|
150
151
|
}
|
|
151
152
|
],
|
|
152
|
-
footer: "
|
|
153
|
+
footer: "Wheel\u2192\u2191/\u2193 via DECSET 1007 (alternate-scroll) \u2014 wheel scrolls chat on most terminals (web/cloud/SSH included) without disturbing native selection. Drag to select stays modifier-free. Pass --no-mouse to opt out."
|
|
153
154
|
},
|
|
154
155
|
tipShownOnce: "shown once",
|
|
155
156
|
modelOverride: "override the default model",
|
|
@@ -350,8 +351,22 @@ var EN = {
|
|
|
350
351
|
apiKeyGetOne: "Get one at: https://platform.deepseek.com/api_keys",
|
|
351
352
|
apiKeySavedLocally: "Saved locally to {path}",
|
|
352
353
|
apiKeyInputLabel: "key \u203A ",
|
|
353
|
-
apiKeyInvalid: "
|
|
354
|
+
apiKeyInvalid: "Key looks too short \u2014 paste the full token (16+ chars, no spaces).",
|
|
354
355
|
apiKeyPreview: "preview: {redacted}",
|
|
356
|
+
themeTitle: "Choose a theme",
|
|
357
|
+
themeSubtitle: "Preview updates live as you navigate. Change later with /theme.",
|
|
358
|
+
themeSampleHeading: "Sample",
|
|
359
|
+
themeFooter: "[\u2191\u2193] navigate \xB7 [Enter] confirm \xB7 [Esc] cancel",
|
|
360
|
+
themeCaption: {
|
|
361
|
+
default: "GitHub dark (default)",
|
|
362
|
+
dark: "Cool dark tones",
|
|
363
|
+
light: "Clean light mode",
|
|
364
|
+
"tokyo-night": "Tokyo Night palette",
|
|
365
|
+
"github-dark": "GitHub dark",
|
|
366
|
+
"github-light": "GitHub light",
|
|
367
|
+
"high-contrast": "Accessibility"
|
|
368
|
+
},
|
|
369
|
+
reviewLabelTheme: "Theme",
|
|
355
370
|
presetTitle: "Pick a preset",
|
|
356
371
|
mcpTitle: "Which MCP servers should Reasonix wire up for you?",
|
|
357
372
|
mcpUserArgsHint: "(you'll provide {arg})",
|
|
@@ -378,6 +393,68 @@ var EN = {
|
|
|
378
393
|
selectFooter: "[\u2191\u2193] navigate \xB7 [Enter] confirm \xB7 [Esc] cancel",
|
|
379
394
|
stepCounter: "Step {step}/{total} \xB7 "
|
|
380
395
|
},
|
|
396
|
+
planFlow: {
|
|
397
|
+
approveCardTitle: "Approve plan",
|
|
398
|
+
approveCardMetaRight: "awaiting",
|
|
399
|
+
openQuestionsBanner: "\u25B2 the plan flags open questions or risks \u2014 pick {refine} to write concrete answers before the model moves on.",
|
|
400
|
+
openQuestionsHeader: "Open questions / risks",
|
|
401
|
+
truncatedBodyMore: "\u2026 {n} more line above in scrollback",
|
|
402
|
+
truncatedBodyMorePlural: "\u2026 {n} more lines above in scrollback",
|
|
403
|
+
picker: {
|
|
404
|
+
accept: "accept",
|
|
405
|
+
acceptHint: "run it now, in order",
|
|
406
|
+
refine: "refine",
|
|
407
|
+
refineHint: "give the agent more guidance, draft a new plan",
|
|
408
|
+
revise: "revise",
|
|
409
|
+
reviseHint: "edit the plan inline before running (skip / reorder steps)",
|
|
410
|
+
reject: "reject",
|
|
411
|
+
rejectHint: "discard, agent will retry from scratch"
|
|
412
|
+
},
|
|
413
|
+
refineFooter: "\u23CE send \xB7 esc return to picker",
|
|
414
|
+
refineQuestionsHeading: "Answer these or describe the change you want:",
|
|
415
|
+
modes: {
|
|
416
|
+
approve: {
|
|
417
|
+
title: "approving \u2014 any last instructions?",
|
|
418
|
+
hint: "Answer questions the plan raised, add constraints, or just press Enter to approve as-is.",
|
|
419
|
+
blankHint: " (Enter with blank = approve without extra instructions.)"
|
|
420
|
+
},
|
|
421
|
+
refine: {
|
|
422
|
+
title: "refining \u2014 what should the model change?",
|
|
423
|
+
hint: "Describe what's wrong or missing, or answer questions the plan raised.",
|
|
424
|
+
blankHint: " (Enter with blank = let the model pick safe defaults for any open questions.)"
|
|
425
|
+
},
|
|
426
|
+
reject: {
|
|
427
|
+
title: "rejecting \u2014 tell the model why (optional)",
|
|
428
|
+
hint: "Say what the model got wrong about your goal, or what you actually want instead.",
|
|
429
|
+
blankHint: " (Enter with blank = cancel without explanation; the model will ask what you want.)"
|
|
430
|
+
},
|
|
431
|
+
"checkpoint-revise": {
|
|
432
|
+
title: "revising \u2014 what should change before the next step?",
|
|
433
|
+
hint: "Scope change, skip steps, alternative approach \u2014 the model adjusts the remaining plan.",
|
|
434
|
+
blankHint: " (Enter with blank = continue with the current plan.)"
|
|
435
|
+
},
|
|
436
|
+
"choice-custom": {
|
|
437
|
+
title: "custom answer \u2014 type whatever fits",
|
|
438
|
+
hint: "Free-form reply. The model reads it verbatim and proceeds \u2014 no need to match the listed options.",
|
|
439
|
+
blankHint: " (Enter with blank = ask the model what you actually want.)"
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
checkpoint: {
|
|
443
|
+
title: "Checkpoint \u2014 step done",
|
|
444
|
+
continue: "Continue \u2014 run the next step",
|
|
445
|
+
continueHint: "Model resumes with the next step.",
|
|
446
|
+
revise: "Revise \u2014 give feedback before the next step",
|
|
447
|
+
reviseHint: "Stay paused, type guidance; model adjusts the remaining plan.",
|
|
448
|
+
stop: "Stop \u2014 end the plan here",
|
|
449
|
+
stopHint: "Model summarizes what was done and ends."
|
|
450
|
+
},
|
|
451
|
+
stepList: {
|
|
452
|
+
counter: "{total} steps",
|
|
453
|
+
counterSingular: "{total} step",
|
|
454
|
+
counterDone: "{done}/{total} done ({pct}%) \xB7 {total} steps",
|
|
455
|
+
counterDoneSingular: "{done}/{total} done ({pct}%) \xB7 {total} step"
|
|
456
|
+
}
|
|
457
|
+
},
|
|
381
458
|
app: {
|
|
382
459
|
walkCancelledRemaining: "\u25B8 walk cancelled \u2014 {count} block(s) still pending.",
|
|
383
460
|
walkCancelled: "\u25B8 walk cancelled.",
|
|
@@ -533,8 +610,8 @@ var EN = {
|
|
|
533
610
|
updateNpxForce: "to force a refresh sooner: `npm cache clean --force`.",
|
|
534
611
|
updateUpgradeHint: "to upgrade, exit this session and run:",
|
|
535
612
|
updateUpgradeCmd1: " reasonix update (interactive, dry-run supported via --dry-run)",
|
|
536
|
-
updateUpgradeCmd2: "
|
|
537
|
-
updateInSessionDisabled: "in-session install is deliberately disabled \u2014 the
|
|
613
|
+
updateUpgradeCmd2: " {command} (direct)",
|
|
614
|
+
updateInSessionDisabled: "in-session install is deliberately disabled \u2014 the install spawn would",
|
|
538
615
|
updateInSessionDisabled2: "corrupt this TUI's rendering and Windows can lock the running binary.",
|
|
539
616
|
statsNoData: "no usage data yet.",
|
|
540
617
|
statsEveryTurn: "every turn you run here appends one record \u2014 this session's turns",
|
|
@@ -788,6 +865,56 @@ var EN = {
|
|
|
788
865
|
newCreated: "\u25B8 created skill: {name}\n {path}\n edit it, then `/skill {name}` to invoke",
|
|
789
866
|
newError: "\u25B2 /skill new failed: {reason}"
|
|
790
867
|
}
|
|
868
|
+
},
|
|
869
|
+
cardTitles: {
|
|
870
|
+
usage: "usage",
|
|
871
|
+
context: "context",
|
|
872
|
+
search: "search",
|
|
873
|
+
subagent: "subagent",
|
|
874
|
+
reply: "reply",
|
|
875
|
+
reasoning: "reasoning",
|
|
876
|
+
reasoningAborted: "reasoning (aborted)",
|
|
877
|
+
reasoningEllipsis: "reasoning\u2026",
|
|
878
|
+
error: "error"
|
|
879
|
+
},
|
|
880
|
+
cardLabels: {
|
|
881
|
+
prompt: "prompt",
|
|
882
|
+
reason: "reason",
|
|
883
|
+
output: "output",
|
|
884
|
+
cache: "cache",
|
|
885
|
+
session: "session",
|
|
886
|
+
balance: "balance",
|
|
887
|
+
turn: "turn",
|
|
888
|
+
system: "system",
|
|
889
|
+
tools: "tools",
|
|
890
|
+
log: "log",
|
|
891
|
+
input: "input",
|
|
892
|
+
topTools: "top tools",
|
|
893
|
+
logMsgs: "log msgs",
|
|
894
|
+
hitSingular: "{count} hit \xB7 {files} file",
|
|
895
|
+
hitsPlural: "{count} hits \xB7 {files} files",
|
|
896
|
+
moreHitSingular: "\u22EE +{count} more hit",
|
|
897
|
+
moreHitsPlural: "\u22EE +{count} more hits",
|
|
898
|
+
earlierLine: "\u22EE {count} earlier line (use /tool to read full)",
|
|
899
|
+
earlierLines: "\u22EE {count} earlier lines (use /tool to read full)",
|
|
900
|
+
earlierStackLine: "\u22EE {count} earlier stack line hidden",
|
|
901
|
+
earlierStackLines: "\u22EE {count} earlier stack lines hidden",
|
|
902
|
+
agent: "agent \xB7 {name}",
|
|
903
|
+
response: "response",
|
|
904
|
+
writing: "writing \u2026",
|
|
905
|
+
tok: "tok",
|
|
906
|
+
pilcrow: "\xB6",
|
|
907
|
+
aborted: "aborted",
|
|
908
|
+
truncatedByEsc: "[truncated by esc]",
|
|
909
|
+
rejected: "rejected",
|
|
910
|
+
exit: "exit {code}",
|
|
911
|
+
bytesIn: "{bytes} in",
|
|
912
|
+
elapsedSec: "{secs}s",
|
|
913
|
+
stackTrace: "stack trace",
|
|
914
|
+
retries: "retries",
|
|
915
|
+
reasoningLabel: "reasoning \xB7 {count} \xB6",
|
|
916
|
+
runningLabel: "running",
|
|
917
|
+
workingLabel: "working"
|
|
791
918
|
}
|
|
792
919
|
};
|
|
793
920
|
|
|
@@ -863,14 +990,15 @@ var zhCN = {
|
|
|
863
990
|
sections: [
|
|
864
991
|
{
|
|
865
992
|
rows: [
|
|
866
|
-
{ key: "\
|
|
993
|
+
{ key: "\u62D6\u52A8", text: "\u76F4\u63A5\u9009\u4E2D\u6587\u672C \u2014 \u7EC8\u7AEF\u539F\u751F\uFF0C\u4E0D\u9700\u8981\u6309 Shift" },
|
|
867
994
|
{
|
|
868
995
|
key: "\u53F3\u952E",
|
|
869
|
-
text: "\
|
|
996
|
+
text: "\u7EC8\u7AEF\u539F\u751F\u83DC\u5355\uFF08Windows Terminal \u7B49\u7684\u590D\u5236 / \u7C98\u8D34\uFF09"
|
|
870
997
|
},
|
|
998
|
+
{ key: "\u6EDA\u8F6E", text: "\u6EDA\u52A8\u804A\u5929\u8BB0\u5F55\uFF08Web / \u4E91\u7AEF / SSH \u7EC8\u7AEF\u4E5F\u80FD\u7528\uFF09" },
|
|
871
999
|
{
|
|
872
|
-
key: "
|
|
873
|
-
text: "\
|
|
1000
|
+
key: "\u2191 / \u2193",
|
|
1001
|
+
text: "\u6EDA\u52A8\u804A\u5929 \xB7 \u8F93\u5165\u6846\u5386\u53F2 + \u591A\u884C\u5149\u6807\u7528 Ctrl+P / Ctrl+N"
|
|
874
1002
|
}
|
|
875
1003
|
]
|
|
876
1004
|
}
|
|
@@ -885,7 +1013,11 @@ var zhCN = {
|
|
|
885
1013
|
rows: [
|
|
886
1014
|
{ key: "Enter", text: "\u63D0\u4EA4\u8F93\u5165" },
|
|
887
1015
|
{ key: "Shift+Enter", text: "\u5728\u8F93\u5165\u6846\u4E2D\u63D2\u5165\u6362\u884C" },
|
|
888
|
-
{ key: "
|
|
1016
|
+
{ key: "\u2191 / \u2193", text: "\u6EDA\u52A8\u804A\u5929\u8BB0\u5F55\uFF08\u9F20\u6807\u6EDA\u8F6E\u4E5F\u8D70\u8FD9\u6761\u8DEF\u5F84\uFF09" },
|
|
1017
|
+
{
|
|
1018
|
+
key: "Ctrl+P / Ctrl+N",
|
|
1019
|
+
text: "\u4E0A\u4E00\u6761 / \u4E0B\u4E00\u6761\u8F93\u5165\u5386\u53F2 \xB7 \u591A\u884C\u8349\u7A3F\u4E2D\u6309\u884C\u79FB\u52A8\u5149\u6807"
|
|
1020
|
+
},
|
|
889
1021
|
{ key: "Ctrl+A / Ctrl+E", text: "\u8DF3\u5230\u5F53\u524D\u884C\u7684\u5F00\u5934 / \u7ED3\u5C3E" },
|
|
890
1022
|
{ key: "Ctrl+W", text: "\u5220\u9664\u5149\u6807\u524D\u7684\u4E00\u4E2A\u8BCD" },
|
|
891
1023
|
{ key: "Ctrl+U", text: "\u6E05\u7A7A\u6574\u4E2A\u8F93\u5165\u7F13\u51B2\u533A" },
|
|
@@ -893,7 +1025,6 @@ var zhCN = {
|
|
|
893
1025
|
{ key: "Shift+Tab", text: "\u7F16\u8F91\u95E8\u63A7\uFF1A\u5207\u6362 \u9884\u89C8 \u2194 \u81EA\u52A8 \u6A21\u5F0F" },
|
|
894
1026
|
{ key: "Esc", text: "\u5173\u95ED\u5F39\u51FA\u9009\u62E9\u5668 \xB7 \u4E2D\u6B62\u5F53\u524D\u6A21\u578B\u56DE\u5408" },
|
|
895
1027
|
{ key: "Ctrl+C", text: "\u4E2D\u6B62\u5F53\u524D\u6A21\u578B\u56DE\u5408\uFF08\u4E0D\u662F\u590D\u5236 \u2014 \u89C1\u526A\u8D34\u677F\u6BB5\uFF09" },
|
|
896
|
-
{ key: "\u2191 / \u2193", text: "\u6EDA\u52A8\u804A\u5929\u8BB0\u5F55\uFF08\u7F13\u51B2\u533A\u975E\u7A7A\u65F6\u4E3A\u5149\u6807\u79FB\u52A8\uFF09" },
|
|
897
1028
|
{ key: "PgUp / PgDn", text: "\u6574\u9875\u6EDA\u52A8\u804A\u5929\u8BB0\u5F55" },
|
|
898
1029
|
{ key: "End", text: "\u8DF3\u5230\u804A\u5929\u7684\u6700\u65B0\u4E00\u884C" }
|
|
899
1030
|
]
|
|
@@ -901,18 +1032,18 @@ var zhCN = {
|
|
|
901
1032
|
{
|
|
902
1033
|
title: "\u9F20\u6807",
|
|
903
1034
|
rows: [
|
|
904
|
-
{ key: "\u6EDA\u8F6E", text: "\u6EDA\u52A8\u804A\u5929\u8BB0\u5F55" },
|
|
905
|
-
{ key: "\
|
|
906
|
-
{ key: "\
|
|
1035
|
+
{ key: "\u6EDA\u8F6E", text: "\u6EDA\u52A8\u804A\u5929\u8BB0\u5F55\uFF08Web / \u4E91\u7AEF / SSH \u7EC8\u7AEF\u4E5F\u80FD\u7528\uFF09" },
|
|
1036
|
+
{ key: "\u62D6\u52A8", text: "\u539F\u751F\u9009\u4E2D\u6587\u672C \u2014 \u76F4\u63A5\u590D\u5236\uFF0C\u4E0D\u9700\u8981\u4FEE\u9970\u952E" },
|
|
1037
|
+
{ key: "\u53F3\u952E", text: "\u7EC8\u7AEF\u539F\u751F\uFF08Windows Terminal \u7B49\u7684\u7C98\u8D34\u83DC\u5355\uFF09" }
|
|
907
1038
|
]
|
|
908
1039
|
},
|
|
909
1040
|
{
|
|
910
1041
|
title: "\u590D\u5236 / \u7C98\u8D34",
|
|
911
1042
|
rows: [
|
|
912
|
-
{ key: "\u9009\u4E2D\u6587\u5B57", text: "\u62D6\u52A8\
|
|
1043
|
+
{ key: "\u9009\u4E2D\u6587\u5B57", text: "\u76F4\u63A5\u62D6\u52A8 \u2014 \u7EC8\u7AEF\u539F\u751F\uFF08\u4E0D\u9700\u8981\u4EFB\u4F55\u4FEE\u9970\u952E\uFF09" },
|
|
913
1044
|
{
|
|
914
1045
|
key: "\u590D\u5236",
|
|
915
|
-
text: "Ctrl+Shift+C\uFF08Win/Linux\uFF09\xB7 Cmd+C\uFF08macOS\uFF09\u2014 \u9009\u4E2D\
|
|
1046
|
+
text: "Ctrl+Shift+C\uFF08Win/Linux\uFF09\xB7 Cmd+C\uFF08macOS\uFF09\u2014 \u6216\u9009\u4E2D\u5373\u590D\u5236\uFF08\u770B\u7EC8\u7AEF\u8BBE\u7F6E\uFF09"
|
|
916
1047
|
},
|
|
917
1048
|
{ key: "\u7C98\u8D34", text: "Ctrl+V \u6216 Ctrl+Shift+V\uFF08Win/Linux\uFF09\xB7 Cmd+V\uFF08macOS\uFF09" },
|
|
918
1049
|
{
|
|
@@ -930,7 +1061,7 @@ var zhCN = {
|
|
|
930
1061
|
]
|
|
931
1062
|
}
|
|
932
1063
|
],
|
|
933
|
-
footer: "\
|
|
1064
|
+
footer: "\u901A\u8FC7 DECSET 1007\uFF08alternate-scroll\uFF09\uFF0C\u7EC8\u7AEF\u628A\u6EDA\u8F6E\u7FFB\u8BD1\u6210 \u2191/\u2193 \u53D1\u7ED9\u5E94\u7528 \u2014 \u5927\u591A\u6570\u7EC8\u7AEF\uFF08\u542B Web / \u4E91\u7AEF / SSH\uFF09\u90FD\u80FD\u6EDA\uFF0C\u4E14\u4E0D\u5F71\u54CD\u7EC8\u7AEF\u539F\u751F\u9009\u533A\u3002\u76F4\u63A5\u62D6\u52A8\u9009\u4E2D\u6587\u672C\u65E0\u9700 Shift\u3002\u4F20\u5165 --no-mouse \u53EF\u5173\u95ED\u3002"
|
|
934
1065
|
},
|
|
935
1066
|
tipShownOnce: "\u4EC5\u663E\u793A\u4E00\u6B21",
|
|
936
1067
|
modelOverride: "\u8986\u76D6\u9ED8\u8BA4\u6A21\u578B",
|
|
@@ -1135,8 +1266,22 @@ var zhCN = {
|
|
|
1135
1266
|
apiKeyGetOne: "\u5728\u6B64\u83B7\u53D6\uFF1Ahttps://platform.deepseek.com/api_keys",
|
|
1136
1267
|
apiKeySavedLocally: "\u4FDD\u5B58\u5728\u672C\u5730\uFF1A{path}",
|
|
1137
1268
|
apiKeyInputLabel: "key \u203A ",
|
|
1138
|
-
apiKeyInvalid: "\
|
|
1269
|
+
apiKeyInvalid: "key \u957F\u5EA6\u4E0D\u8DB3\u2014\u2014\u8BF7\u7C98\u8D34\u5B8C\u6574 token\uFF0816+ \u5B57\u7B26\uFF0C\u4E0D\u542B\u7A7A\u683C\uFF09\u3002",
|
|
1139
1270
|
apiKeyPreview: "\u9884\u89C8\uFF1A{redacted}",
|
|
1271
|
+
themeTitle: "\u9009\u62E9\u4E3B\u9898",
|
|
1272
|
+
themeSubtitle: "\u65B9\u5411\u952E\u5207\u6362\u65F6\u5373\u65F6\u9884\u89C8\u6548\u679C\uFF0C\u4E4B\u540E\u53EF\u7528 /theme \u66F4\u6539\u3002",
|
|
1273
|
+
themeSampleHeading: "\u793A\u4F8B",
|
|
1274
|
+
themeFooter: "[\u2191\u2193] \u79FB\u52A8 \xB7 [Enter] \u786E\u8BA4 \xB7 [Esc] \u53D6\u6D88",
|
|
1275
|
+
themeCaption: {
|
|
1276
|
+
default: "GitHub \u6DF1\u8272\uFF08\u9ED8\u8BA4\uFF09",
|
|
1277
|
+
dark: "\u6DF1\u8272\u8C03",
|
|
1278
|
+
light: "\u6E05\u723D\u6D45\u8272",
|
|
1279
|
+
"tokyo-night": "\u4E1C\u4EAC\u591C\u8272",
|
|
1280
|
+
"github-dark": "GitHub \u6DF1\u8272",
|
|
1281
|
+
"github-light": "GitHub \u6D45\u8272",
|
|
1282
|
+
"high-contrast": "\u9AD8\u5BF9\u6BD4\u5EA6\uFF08\u65E0\u969C\u788D\uFF09"
|
|
1283
|
+
},
|
|
1284
|
+
reviewLabelTheme: "\u4E3B\u9898",
|
|
1140
1285
|
presetTitle: "\u9009\u62E9\u9884\u8BBE",
|
|
1141
1286
|
mcpTitle: "Reasonix \u8981\u4E3A\u4F60\u63A5\u5165\u54EA\u4E9B MCP \u670D\u52A1\u5668\uFF1F",
|
|
1142
1287
|
mcpUserArgsHint: "\uFF08\u9700\u8981\u4F60\u63D0\u4F9B {arg}\uFF09",
|
|
@@ -1163,6 +1308,68 @@ var zhCN = {
|
|
|
1163
1308
|
selectFooter: "[\u2191\u2193] \u79FB\u52A8 \xB7 [Enter] \u786E\u8BA4 \xB7 [Esc] \u53D6\u6D88",
|
|
1164
1309
|
stepCounter: "\u6B65\u9AA4 {step}/{total} \xB7 "
|
|
1165
1310
|
},
|
|
1311
|
+
planFlow: {
|
|
1312
|
+
approveCardTitle: "\u786E\u8BA4\u8BA1\u5212",
|
|
1313
|
+
approveCardMetaRight: "\u7B49\u5F85\u4E2D",
|
|
1314
|
+
openQuestionsBanner: "\u25B2 \u8BA1\u5212\u4E2D\u6807\u8BB0\u4E86\u5F85\u786E\u8BA4\u7684\u95EE\u9898\u6216\u98CE\u9669 \u2014\u2014 \u8BF7\u9009 {refine} \u7ED9\u51FA\u660E\u786E\u7B54\u6848\uFF0C\u518D\u8BA9\u6A21\u578B\u7EE7\u7EED\u3002",
|
|
1315
|
+
openQuestionsHeader: "\u5F85\u786E\u8BA4 / \u98CE\u9669",
|
|
1316
|
+
truncatedBodyMore: "\u2026 \u8FD8\u6709 {n} \u884C\u5728\u4E0A\u65B9\u6EDA\u52A8\u5386\u53F2\u4E2D",
|
|
1317
|
+
truncatedBodyMorePlural: "\u2026 \u8FD8\u6709 {n} \u884C\u5728\u4E0A\u65B9\u6EDA\u52A8\u5386\u53F2\u4E2D",
|
|
1318
|
+
picker: {
|
|
1319
|
+
accept: "\u91C7\u7EB3",
|
|
1320
|
+
acceptHint: "\u7ACB\u5373\u6309\u987A\u5E8F\u6267\u884C",
|
|
1321
|
+
refine: "\u7EC6\u5316",
|
|
1322
|
+
refineHint: "\u7ED9\u6A21\u578B\u66F4\u591A\u6307\u5F15\uFF0C\u91CD\u65B0\u51FA\u4E00\u7248\u8BA1\u5212",
|
|
1323
|
+
revise: "\u6539\u5199",
|
|
1324
|
+
reviseHint: "\u5728\u6267\u884C\u524D\u5C31\u5730\u7F16\u8F91\u8BA1\u5212\uFF08\u8DF3\u8FC7 / \u91CD\u6392\u6B65\u9AA4\uFF09",
|
|
1325
|
+
reject: "\u9A73\u56DE",
|
|
1326
|
+
rejectHint: "\u4E22\u5F03\uFF0C\u8BA9\u6A21\u578B\u4ECE\u5934\u518D\u6765"
|
|
1327
|
+
},
|
|
1328
|
+
refineFooter: "\u23CE \u53D1\u9001 \xB7 esc \u8FD4\u56DE\u9009\u9879",
|
|
1329
|
+
refineQuestionsHeading: "\u56DE\u7B54\u4EE5\u4E0B\u95EE\u9898\uFF0C\u6216\u76F4\u63A5\u8BF4\u660E\u4F60\u60F3\u8981\u7684\u4FEE\u6539\uFF1A",
|
|
1330
|
+
modes: {
|
|
1331
|
+
approve: {
|
|
1332
|
+
title: "\u91C7\u7EB3 \u2014\u2014 \u8FD8\u6709\u8865\u5145\u6307\u793A\u5417\uFF1F",
|
|
1333
|
+
hint: "\u56DE\u7B54\u8BA1\u5212\u4E2D\u7684\u95EE\u9898\u3001\u8865\u5145\u7EA6\u675F\uFF0C\u6216\u76F4\u63A5\u56DE\u8F66\u6309\u73B0\u72B6\u91C7\u7EB3\u3002",
|
|
1334
|
+
blankHint: "\uFF08\u7559\u7A7A\u56DE\u8F66 = \u4E0D\u9644\u52A0\u6307\u793A\u76F4\u63A5\u91C7\u7EB3\u3002\uFF09"
|
|
1335
|
+
},
|
|
1336
|
+
refine: {
|
|
1337
|
+
title: "\u7EC6\u5316 \u2014\u2014 \u6A21\u578B\u5E94\u8BE5\u6539\u4EC0\u4E48\uFF1F",
|
|
1338
|
+
hint: "\u8BF4\u660E\u95EE\u9898\u5728\u54EA\u3001\u7F3A\u4EC0\u4E48\uFF0C\u6216\u8005\u56DE\u7B54\u8BA1\u5212\u63D0\u51FA\u7684\u7591\u95EE\u3002",
|
|
1339
|
+
blankHint: "\uFF08\u7559\u7A7A\u56DE\u8F66 = \u8BA9\u6A21\u578B\u5BF9\u6240\u6709\u5F85\u786E\u8BA4\u95EE\u9898\u9009\u7528\u5B89\u5168\u9ED8\u8BA4\u3002\uFF09"
|
|
1340
|
+
},
|
|
1341
|
+
reject: {
|
|
1342
|
+
title: "\u9A73\u56DE \u2014\u2014 \u544A\u8BC9\u6A21\u578B\u539F\u56E0\uFF08\u53EF\u9009\uFF09",
|
|
1343
|
+
hint: "\u8BF4\u660E\u6A21\u578B\u5BF9\u4F60\u7684\u76EE\u6807\u7406\u89E3\u9519\u5728\u54EA\u91CC\uFF0C\u6216\u4F60\u771F\u6B63\u60F3\u8981\u4EC0\u4E48\u3002",
|
|
1344
|
+
blankHint: "\uFF08\u7559\u7A7A\u56DE\u8F66 = \u4E0D\u89E3\u91CA\u76F4\u63A5\u53D6\u6D88\uFF1B\u6A21\u578B\u4F1A\u53CD\u8FC7\u6765\u95EE\u4F60\u60F3\u8981\u4EC0\u4E48\u3002\uFF09"
|
|
1345
|
+
},
|
|
1346
|
+
"checkpoint-revise": {
|
|
1347
|
+
title: "\u6539\u5199 \u2014\u2014 \u4E0B\u4E00\u6B65\u524D\u8981\u8C03\u6574\u4EC0\u4E48\uFF1F",
|
|
1348
|
+
hint: "\u8303\u56F4\u8C03\u6574\u3001\u8DF3\u8FC7\u6B65\u9AA4\u3001\u6362\u4E2A\u601D\u8DEF \u2014\u2014 \u6A21\u578B\u4F1A\u636E\u6B64\u4FEE\u6539\u5269\u4F59\u6B65\u9AA4\u3002",
|
|
1349
|
+
blankHint: "\uFF08\u7559\u7A7A\u56DE\u8F66 = \u6309\u5F53\u524D\u8BA1\u5212\u7EE7\u7EED\u3002\uFF09"
|
|
1350
|
+
},
|
|
1351
|
+
"choice-custom": {
|
|
1352
|
+
title: "\u81EA\u5B9A\u4E49\u56DE\u7B54 \u2014\u2014 \u60F3\u8BF4\u4EC0\u4E48\u90FD\u884C",
|
|
1353
|
+
hint: "\u81EA\u7531\u6587\u672C\u3002\u6A21\u578B\u4F1A\u539F\u6837\u8BFB\u53D6\u5E76\u7EE7\u7EED \u2014\u2014 \u4E0D\u5FC5\u5339\u914D\u5019\u9009\u9879\u3002",
|
|
1354
|
+
blankHint: "\uFF08\u7559\u7A7A\u56DE\u8F66 = \u8BA9\u6A21\u578B\u53CD\u8FC7\u6765\u95EE\u4F60\u60F3\u8981\u4EC0\u4E48\u3002\uFF09"
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
checkpoint: {
|
|
1358
|
+
title: "\u68C0\u67E5\u70B9 \u2014\u2014 \u5F53\u524D\u6B65\u9AA4\u5DF2\u5B8C\u6210",
|
|
1359
|
+
continue: "\u7EE7\u7EED \u2014\u2014 \u6267\u884C\u4E0B\u4E00\u6B65",
|
|
1360
|
+
continueHint: "\u6A21\u578B\u4ECE\u4E0B\u4E00\u6B65\u7EE7\u7EED\u3002",
|
|
1361
|
+
revise: "\u8C03\u6574 \u2014\u2014 \u5728\u4E0B\u4E00\u6B65\u524D\u7ED9\u53CD\u9988",
|
|
1362
|
+
reviseHint: "\u5148\u6682\u505C\uFF0C\u8F93\u5165\u6307\u5F15\uFF1B\u6A21\u578B\u4F1A\u8C03\u6574\u5269\u4F59\u8BA1\u5212\u3002",
|
|
1363
|
+
stop: "\u505C\u6B62 \u2014\u2014 \u5728\u6B64\u7ED3\u675F\u8BA1\u5212",
|
|
1364
|
+
stopHint: "\u6A21\u578B\u603B\u7ED3\u5DF2\u5B8C\u6210\u7684\u5DE5\u4F5C\u5E76\u7ED3\u675F\u3002"
|
|
1365
|
+
},
|
|
1366
|
+
stepList: {
|
|
1367
|
+
counter: "{total} \u4E2A\u6B65\u9AA4",
|
|
1368
|
+
counterSingular: "{total} \u4E2A\u6B65\u9AA4",
|
|
1369
|
+
counterDone: "{done}/{total} \u5DF2\u5B8C\u6210\uFF08{pct}%\uFF09 \xB7 \u5171 {total} \u6B65",
|
|
1370
|
+
counterDoneSingular: "{done}/{total} \u5DF2\u5B8C\u6210\uFF08{pct}%\uFF09 \xB7 \u5171 {total} \u6B65"
|
|
1371
|
+
}
|
|
1372
|
+
},
|
|
1166
1373
|
app: {
|
|
1167
1374
|
walkCancelledRemaining: "\u25B8 \u6D4F\u89C8\u5DF2\u53D6\u6D88 \u2014 \u8FD8\u6709 {count} \u4E2A\u5F85\u5904\u7406\u7F16\u8F91\u5757\u3002",
|
|
1168
1375
|
walkCancelled: "\u25B8 \u6D4F\u89C8\u5DF2\u53D6\u6D88\u3002",
|
|
@@ -1318,8 +1525,8 @@ var zhCN = {
|
|
|
1318
1525
|
updateNpxForce: "\u8981\u5F3A\u5236\u5237\u65B0\uFF1A`npm cache clean --force`\u3002",
|
|
1319
1526
|
updateUpgradeHint: "\u8981\u5347\u7EA7\uFF0C\u8BF7\u9000\u51FA\u6B64\u4F1A\u8BDD\u5E76\u8FD0\u884C\uFF1A",
|
|
1320
1527
|
updateUpgradeCmd1: " reasonix update \uFF08\u4EA4\u4E92\u5F0F\uFF0C\u652F\u6301 --dry-run \u9884\u89C8\uFF09",
|
|
1321
|
-
updateUpgradeCmd2: "
|
|
1322
|
-
updateInSessionDisabled: "\u4F1A\u8BDD\u5185\u5B89\u88C5\u88AB\u523B\u610F\u7981\u7528 \u2014
|
|
1528
|
+
updateUpgradeCmd2: " {command} \uFF08\u76F4\u63A5\u5B89\u88C5\uFF09",
|
|
1529
|
+
updateInSessionDisabled: "\u4F1A\u8BDD\u5185\u5B89\u88C5\u88AB\u523B\u610F\u7981\u7528 \u2014 \u5B89\u88C5\u547D\u4EE4\u4F1A",
|
|
1323
1530
|
updateInSessionDisabled2: "\u7834\u574F\u6B64 TUI \u7684\u6E32\u67D3\uFF0C\u4E14 Windows \u53EF\u80FD\u9501\u5B9A\u8FD0\u884C\u4E2D\u7684\u4E8C\u8FDB\u5236\u6587\u4EF6\u3002",
|
|
1324
1531
|
statsNoData: "\u5C1A\u65E0\u4F7F\u7528\u6570\u636E\u3002",
|
|
1325
1532
|
statsEveryTurn: "\u60A8\u5728\u6B64\u8FD0\u884C\u7684\u6BCF\u4E00\u8F6E\u90FD\u4F1A\u8FFD\u52A0\u4E00\u6761\u8BB0\u5F55 \u2014 \u6B64\u4F1A\u8BDD\u7684\u8F6E\u6B21",
|
|
@@ -1573,6 +1780,56 @@ var zhCN = {
|
|
|
1573
1780
|
newCreated: "\u25B8 \u5DF2\u521B\u5EFA\u6280\u80FD\uFF1A{name}\n {path}\n \u7F16\u8F91\u540E\u7528 `/skill {name}` \u8C03\u7528",
|
|
1574
1781
|
newError: "\u25B2 /skill new \u5931\u8D25\uFF1A{reason}"
|
|
1575
1782
|
}
|
|
1783
|
+
},
|
|
1784
|
+
cardTitles: {
|
|
1785
|
+
usage: "\u7528\u91CF",
|
|
1786
|
+
context: "\u4E0A\u4E0B\u6587",
|
|
1787
|
+
search: "\u641C\u7D22",
|
|
1788
|
+
subagent: "\u5B50\u4EE3\u7406",
|
|
1789
|
+
reply: "\u56DE\u590D",
|
|
1790
|
+
reasoning: "\u63A8\u7406\u4E2D",
|
|
1791
|
+
reasoningAborted: "\u63A8\u7406\uFF08\u5DF2\u4E2D\u6B62\uFF09",
|
|
1792
|
+
reasoningEllipsis: "\u63A8\u7406\u4E2D\u2026",
|
|
1793
|
+
error: "\u9519\u8BEF"
|
|
1794
|
+
},
|
|
1795
|
+
cardLabels: {
|
|
1796
|
+
prompt: "\u63D0\u793A",
|
|
1797
|
+
reason: "\u63A8\u7406",
|
|
1798
|
+
output: "\u8F93\u51FA",
|
|
1799
|
+
cache: "\u7F13\u5B58",
|
|
1800
|
+
session: "\u4F1A\u8BDD",
|
|
1801
|
+
balance: "\u4F59\u989D",
|
|
1802
|
+
turn: "\u8F6E",
|
|
1803
|
+
system: "\u7CFB\u7EDF",
|
|
1804
|
+
tools: "\u5DE5\u5177",
|
|
1805
|
+
log: "\u65E5\u5FD7",
|
|
1806
|
+
input: "\u8F93\u5165",
|
|
1807
|
+
topTools: "Top \u5DE5\u5177",
|
|
1808
|
+
logMsgs: "\u65E5\u5FD7\u6D88\u606F",
|
|
1809
|
+
hitSingular: "{count} \u6761\u7ED3\u679C \xB7 {files} \u4E2A\u6587\u4EF6",
|
|
1810
|
+
hitsPlural: "{count} \u6761\u7ED3\u679C \xB7 {files} \u4E2A\u6587\u4EF6",
|
|
1811
|
+
moreHitSingular: "\u22EE +{count} \u6761\u7ED3\u679C",
|
|
1812
|
+
moreHitsPlural: "\u22EE +{count} \u6761\u7ED3\u679C",
|
|
1813
|
+
earlierLine: "\u22EE \u524D {count} \u884C\uFF08\u4F7F\u7528 /tool \u9605\u8BFB\u5168\u6587\uFF09",
|
|
1814
|
+
earlierLines: "\u22EE \u524D {count} \u884C\uFF08\u4F7F\u7528 /tool \u9605\u8BFB\u5168\u6587\uFF09",
|
|
1815
|
+
earlierStackLine: "\u22EE \u524D {count} \u884C\u5806\u6808\u5DF2\u9690\u85CF",
|
|
1816
|
+
earlierStackLines: "\u22EE \u524D {count} \u884C\u5806\u6808\u5DF2\u9690\u85CF",
|
|
1817
|
+
agent: "\u4EE3\u7406 \xB7 {name}",
|
|
1818
|
+
response: "\u56DE\u590D",
|
|
1819
|
+
writing: "\u8F93\u51FA\u4E2D \u2026",
|
|
1820
|
+
tok: "tok",
|
|
1821
|
+
pilcrow: "\xB6",
|
|
1822
|
+
aborted: "\u5DF2\u4E2D\u6B62",
|
|
1823
|
+
truncatedByEsc: "[\u5DF2\u88AB Esc \u622A\u65AD]",
|
|
1824
|
+
rejected: "\u5DF2\u62D2\u7EDD",
|
|
1825
|
+
exit: "\u9000\u51FA\u7801 {code}",
|
|
1826
|
+
bytesIn: "{bytes} \u8F93\u5165",
|
|
1827
|
+
elapsedSec: "{secs}\u79D2",
|
|
1828
|
+
stackTrace: "\u5806\u6808\u8DDF\u8E2A",
|
|
1829
|
+
retries: "\u6B21\u91CD\u8BD5",
|
|
1830
|
+
reasoningLabel: "\u63A8\u7406 \xB7 {count} \xB6",
|
|
1831
|
+
runningLabel: "\u8FD0\u884C\u4E2D",
|
|
1832
|
+
workingLabel: "\u5DE5\u4F5C\u4E2D"
|
|
1576
1833
|
}
|
|
1577
1834
|
};
|
|
1578
1835
|
|
|
@@ -1663,4 +1920,4 @@ export {
|
|
|
1663
1920
|
tObj,
|
|
1664
1921
|
t
|
|
1665
1922
|
};
|
|
1666
|
-
//# sourceMappingURL=chunk-
|
|
1923
|
+
//# sourceMappingURL=chunk-MLXUGPJE.js.map
|