返回 DeepSeek-Reasonix
messages_en.go
根目录 / internal / i18n / messages_en.go
1 package i18n
2
3 // English is the baseline catalogue. The drift-guard test reflects over its
4 // fields, so every other catalogue must populate the same set.
5 var English = Messages{
6 WelcomeTitleFmt: "Welcome to %s",
7 NoConfigYet: "No configuration found yet — let's set it up.",
8
9 InitHint: "Project memory (AGENTS.md) is generated in-session: run `reasonix`, then `/init` — the model analyzes the codebase and writes it. For configuration, use `reasonix setup`.",
10
11 ChatTip: "Context is kept across turns. Type 'exit' or Ctrl-D to quit.",
12 TurnCancelled: "cancelled — back to prompt",
13 InterruptedRecovery: "This turn was interrupted. Partial output is kept for reference; only completed tool pairs and a bounded recovery summary enter the next model turn. Inspect the workspace before continuing or reverting changes.",
14 FinalReadinessRecovery: "Task work or completion checks are paused. Run /continue-checks to preserve completed evidence and finish the remaining work.",
15 ReadinessContinuing: "Reasonix is finishing the remaining task work or checks automatically.",
16 RecoveryPaused: "Automatic retries paused. Reasonix stopped repeated attempts and kept completed work. Send “Continue” to start a fresh attempt, or add instructions to change direction.",
17 CompletionUncertain: "Completion could not be confirmed. The current result and completed work are kept. Send \"continue\" to resume, or restate what should change.",
18 ReasoningReplayRepair: "The model provider rejected this conversation's stored thinking blocks. Reasonix removed them from the provider-visible history and retried once.",
19 ImageRequestRecovery: "This image could not be included. Attach it again and resend; if it still fails, check the image model settings. Your conversation is kept",
20 ImageReplayUnavailable: "Some earlier or tool images could not be processed. Continuing with available text; see details for the cause.",
21 ExtensionRequestRecovery: "An extension could not prepare a usable model request. Review the recently enabled extensions in settings and retry; your conversation is kept",
22 ExtensionBlockRecovery: "Review the extension's reason and settings before retrying. Repeatedly resending the same message will not resolve this block.",
23 ContextLimitRecovery: "Automatic context recovery could not fit this request. Shorten the latest message or choose a model with a larger context window. The original history is kept",
24 SessionSaveRecovery: "The conversation could not be saved. Keep it open and export a backup if available. Check free disk space and folder permissions before resuming",
25 EmptyFinal: "No visible answer was produced; asking the assistant to respond again.",
26 NoDeliverableOutput: "This turn did not complete: the model produced no answer, even after recovery. Send a message to continue, or switch models and try again.",
27 ExecutorHandoff: "The assistant answered before taking action; asking it to use the required tools.",
28 ToolBudget: "Tool round limit reached; asking the assistant to summarize progress.",
29 TaskBudget: "This task reached its spend budget; asking for a final answer.",
30 LoopGuard: "The assistant is not making progress; asking it to change approach.",
31 ProgressGuard: "The assistant keeps repeating work without new evidence; asking it to change approach.",
32 OperationNeedsUser: "The same change failed the same way twice; it is paused for you instead of being retried.",
33 SoftBudgetConverge: "Converging a long read-only investigation.",
34 EvidenceNudge: "Several mutations are unverified; asking for the cheapest discriminating check.",
35 ReasoningGovernor: "Exploration phase with expensive thinking; riding reduced reasoning depth until evidence work starts.",
36 UnappliedSteerFmt: "Guidance was not applied because the turn ended before it could be processed. Send it again if it is still needed:\n%s",
37 DeprecatedContextRetention: "agent.keep and agent.recent_keep are deprecated.",
38 FinishReasonLength: "response truncated: hit max output tokens",
39 FinishReasonContentFilter: "response blocked by content filter",
40 FinishReasonRepetition: "response truncated: model repetition detected",
41 StreamInterruptedIdleTimeout: "model stream stalled: no data arrived before the idle timeout; check the provider gateway or network proxy",
42 StreamInterruptedPrematureEOF: "model stream ended before completion; the provider gateway or network proxy dropped the connection",
43 StreamInterruptedConnectionReset: "model connection was reset; check the provider gateway or network proxy",
44 ToolOutputTruncatedFmt: "tool output truncated: %d of %d bytes elided",
45 IncompleteReadFinishBlocked: "Reasonix refused to finish because a file read still has unread content.",
46 ReadContinuationRequired: "Reasonix is continuing or narrowing an incomplete file read before allowing changes or completion.",
47 IncompleteReadDetected: "Reasonix detected an incomplete file read and armed a host continuation.",
48 ReadStrategyRequired: "The complete file did not fit the dynamic context budget; Reasonix entered restricted search/read mode.",
49 ReadStrategyProgress: "Reasonix recorded valid progress in a restricted read strategy.",
50 ReadStrategyResolved: "Reasonix validated a narrowed read strategy receipt.",
51 ReadLocalSafetyPaged: "Reasonix safely paged a large local read_file result.",
52 ReadCompleted: "Reasonix finished recovering the complete file read.",
53 ReadRestrictedStrategyFmt: "read_file switched to restricted strategy: estimated_tokens=%d budget_tokens=%d",
54 ContextRecoveryAdjustBudget: "Adjusted the output budget to fit the shared context window.",
55 PromptTruncatedByServerNotice: "The provider accepted this request but silently dropped part of the prompt, so the model did not receive the full instructions or tool definitions. Raise the server's own context length (for Ollama: OLLAMA_CONTEXT_LENGTH, or a Modelfile num_ctx), then set context_window to match.",
56 ContextRecoveryCompacted: "Compacted context after a shared-window overflow and retried.",
57 PlannerFallback: "Planner failed; continuing this turn with the executor only.",
58 PlannerSafetyFallback: "Planner stopped at a safety boundary without a final plan; continuing this turn with the executor.",
59 PlannerPlanAwaitingApproval: "Plan ready; execution was not started without approval.",
60 PlannerPlanNotApproved: "Plan not approved; nothing was executed. Reply to continue.",
61 PlannerPlanOnly: "Plan ready; the request explicitly excluded execution.",
62 CapabilityProxyFmt: "capability proxy: %s → %s",
63 ReceiptVerified: "nothing left unverified",
64 ReceiptGapsHeader: "not verified:",
65 ReceiptRisksHeader: "declared risks:",
66 ReceiptMore: "and %d more",
67 ReceiptGapKinds: map[string]string{
68 "unbacked_claim": "claimed but unsupported",
69 "unproven_criterion": "criterion without proof",
70 "missing_check": "expected check never passed",
71 "failed_verification": "verification failed",
72 "stale_verification": "verified before the last change",
73 "unverified_change": "changed with nothing verifying it",
74 "unreviewed_change": "changed, never looked at again",
75 "declared_unverified": "declared unverified",
76 },
77 NoSessionToResume: "no saved session to resume — start a new one with `reasonix`",
78 ResumeRequiresTTY: "--resume needs an interactive terminal; pass --continue for the most recent session",
79 AmbiguousResumeHint: "run again with `--resume <id>` using one of the ids above",
80 PickSessionLabel: "Resume which session?",
81
82 ResumeBusy: "finish or cancel the current turn before resuming",
83 ResumeBadIndexFmt: "pick a session 1–%d (run /resume to list)",
84 ResumeAlreadyActive: "already in that session",
85 ResumedTitle: "resumed session",
86
87 RenameUsage: "usage: /rename <new title> or /rename <n> <new title>",
88 RenameNoSession: "no active session to rename",
89 RenameDoneFmt: "session renamed to %q",
90 ResumePickTitle: "Resume a saved session",
91 ResumePickHint: "↑/↓ move · Enter resume · Esc cancel",
92 ResumeRecoveryBadgeFmt: "[recovery copy · parent %s]",
93
94 ChatThinking: "thinking…",
95 ChatThoughtForFmt: "thought for %ds",
96 ChatStatusThinkingFmt: "%s thinking… (%ds · Esc cancels)",
97 TurnPhaseWorking: "working",
98 ReadStatusReadingFmt: "reading %s",
99 ReadStatusCoveredFmt: "reading %s · lines %s",
100 ReadStatusDoneFmt: "read %s · lines %s",
101 ReadStatusPausedFmt: "read paused: %s",
102 ReadStatusRecovery: "remaining content could not be verified within the reading budget; inspect a smaller range or continue independent work; full review is incomplete",
103 TurnPhaseChecking: "checking",
104 TurnPhaseVerifying: "verifying",
105 TurnPhaseReviewing: "reviewing",
106 CompletionSummaryBlocked: "This turn is blocked; review the changes for details.",
107 CompletionSummaryNeedsAttention: "This turn still has verification or review gaps.",
108 ChatToolWorkingFmt: "%s working · %ds",
109 ChatSubagentPhaseQueued: "queued",
110 ChatSubagentPhaseRunning: "running",
111 ChatSubagentPhaseReasoning: "reasoning",
112 ChatSubagentPhaseResponding: "responding",
113 ChatSubagentPhaseTool: "using tools",
114 ChatSubagentPhaseRetrying: "retrying",
115 ChatSubagentPhaseCompleted: "completed",
116 ChatSubagentPhaseFailed: "failed",
117 ChatSubagentPhaseCancelled: "cancelled",
118 ChatSubagentProgressFmt: "%s · %ds · %ds ago",
119 ChatSubagentProgressDoneFmt: "%s · %ds",
120 ChatSubagentPreviewLabel: "▎",
121 ChatStatusRetryingFmt: "%s retrying (%d/%d)… (Esc cancels)",
122 ChatStatusCancellingFmt: "%s stopping… (%ds · Ctrl+C exits)",
123 ChatStatusIdle: "ready",
124 ChatStatusCycleHint: "Shift+Tab read-only/workspace/YOLO/plan · Ctrl+Y YOLO",
125 ChatStatusCycleHintCompact: "Shift+Tab read-only/workspace/YOLO/plan · Ctrl+Y YOLO",
126 ChatTurnReceiptLabel: "TURN",
127 RateBandPeak: "peak",
128 RateBandOffPeak: "off-peak",
129 RateBandMixed: "mixed rates",
130 ChatStatusModelLabel: "MODEL",
131 ChatStatusEffortLabel: "EFFORT",
132 ChatStatusPresetLabel: "PRESET",
133 ChatStatusCacheLabel: "CACHE",
134 ChatStatusContextLabel: "CTX",
135 ChatStatusCompactLabel: "COMPACT",
136 ChatStatusJobsLabel: "JOBS",
137 ChatStatusBalanceLabel: "BAL",
138 ChatStatusCostLabel: "COST",
139 ChatStatusCacheNowFmt: "turn hit %s",
140 ChatStatusCacheAvgFmt: "avg %s",
141 ChatStatusPlanApproval: "1 execute · 2 revise · 3 exit without executing · n/Esc keeps planning · PgUp/PgDn/Ctrl+Home/End scrolls",
142 PlanApprovalPrompt: "Plan ready above — choose what to do next",
143 PlanApprovalChoices: "1. Start execution\n2. Revise plan (keep planning)\n3. Exit without executing\nChoose [1/2/3] (y starts; n/Esc keeps planning)",
144 ChatStatusToolApproval: "1 approve once · 2 allow scope this session · 3/4 prefix or save when offered · n/Esc deny · Ctrl-C cancels turn",
145 AskTypeSomething: "Type something else",
146 AskTypingHint: "type below, Enter to confirm",
147 AskChatInstead: "None — just chat",
148 ChatStatusQuestion: "↑/↓ move · number to pick · space multi · Enter confirm · ←/→ switch · Esc cancel",
149 StatusResumePicker: "↑/↓ move · Enter resume · Esc cancel",
150 AskSubmitTitle: "Submit answers",
151 AskUnanswered: "(unanswered)",
152 AskSubmitHint: "Enter submits · ← returns to edit",
153 ElicitURLHint: "o opens the link · Enter accepts · d declines · Esc cancels",
154 ElicitConfirmOnly: "Confirm with Enter; d declines; Esc cancels.",
155 ElicitUnanswered: "(unanswered)",
156 ElicitSubmit: "Submit",
157 ElicitSubmitHint: "Enter edits the field · tab advances · on Submit: Enter accepts, d declines, Esc cancels",
158 ToolApprovalPromptFmt: "Permission required\n\nWill call tool %s%s.\n%s\n%s",
159 ToolApprovalChoices: "1. Allow once\n2. Allow %s for this session\n3. Deny\nChoose [1/2/3] (y/a/n also work)",
160 BashPrefixChoices: "1. Allow once\n2. Allow %s for this session\n3. Deny\nChoose [1/2/3] (y/a/n also work)",
161 PlanModeReadOnlyCommandChoices: "1. Trust once\n2. Trust this prefix for this session\n3. Always trust this prefix for plan mode (save to config)\n4. Deny\nChoose [1/2/3/4] (y/a/p/n also work)",
162 FreshHumanApprovalChoices: "1. Allow once\n2. Deny\nChoose [1/2] (y/n also work)",
163 RecoveryApprovalChoices: "1. Continue once\n2. Try another approach",
164 RecoveryPlanChangeChoices: "1. Adopt the new plan and continue\n2. Do not adopt; let Auto adjust",
165 RecoveryPlanDecisionPrompt: "The execution plan needs your decision",
166 RecoveryPlanBeforeFmt: "Previous plan: %s",
167 RecoveryPlanAfterFmt: "Proposed plan: %s",
168 RecoveryTaskGrantChoices: "1. Continue once\n2. Continue and allow similar actions in this task\n3. Try another approach",
169 SandboxEscapeApprovalChoices: "1. Allow once\n2. Use real environment for this session\n3. Deny\nChoose [1/2/3] (y/a/n also work)",
170 ApprovalNeededFmt: "approval needed: %s",
171 ApprovalNeededWithSubjectFmt: "approval needed: %s %s",
172 ToolApprovalSourceFmt: "Source: %s",
173 ToolApprovalBuiltIn: "built-in tool",
174 ToolApprovalImageUse: "It will read provided image input for image understanding.",
175 ApprovalToolLabelBash: "bash",
176 ApprovalToolLabelEditFile: "edit file",
177 ApprovalToolLabelWriteFile: "write file",
178 ApprovalToolLabelMultiEdit: "multi edit",
179 ApprovalToolLabelMoveFile: "move file",
180 ApprovalToolLabelWebFetch: "web fetch",
181 ApprovalToolLabelRunSkill: "run skill",
182 ApprovalToolLabelRemember: "remember",
183 ApprovalToolLabelForget: "forget",
184 ApprovalToolLabelSandboxEscape: "bash sandbox escape",
185 ApprovalToolLabelPlanModeReadOnly: "plan-mode read-only command",
186 MemoryApprovalSaveUpdate: "Save/update memory",
187 MemoryApprovalBodyLabel: "body",
188 MemoryApprovalArchiveFmt: "Archive memory %q",
189 PlanModeBashTrustSubjectFmt: "Trust %q as a read-only command prefix while planning\nCommand: %s",
190 PlanModeBashTrustReason: "This bash command is not in Reasonix's built-in read-only set. Confirm only if this exact prefix is read-only for planning and research. Permission presets cannot answer this trust prompt.",
191 PlanModeBashTrustDeclined: "the user declined to trust this bash command as read-only for plan mode - do not retry it; continue with other trusted read-only tools or ask how to proceed.",
192 SandboxEscapeSubjectFallback: "run shell command unconfined once",
193 SandboxEscapeSubjectPrefix: "run unconfined once: ",
194 SandboxEscapeWrapReason: "Windows does not provide an OS-level Bash sandbox for this command. Run it unconfined one time? This bypasses OS isolation for this command only.",
195 SandboxEscapeRuntimeReason: "The OS sandbox could not start this command. Run it unconfined one time? This bypasses OS isolation for this command only.",
196 SandboxEscapeDeclined: "the user declined to run this command without the OS sandbox - do not retry it unconfined; ask how they would like to proceed.",
197 ApprovalToolLabelConfigWrite: "Reasonix config write",
198 ConfigWriteSubjectPrefix: "write Reasonix config: ",
199 ConfigWriteReason: "This write targets a Reasonix-managed configuration file outside the workspace. It can change providers, sandbox rules, permissions, and MCP servers for future sessions, so it needs your explicit approval.",
200 ConfigWriteDeclined: "the user declined this Reasonix config write - do not retry it; ask how they would like to proceed.",
201 ConfigWriteApprovalChoices: "1. Allow once\n2. Allow for this session\n3. Deny\nChoose [1/2/3] (y/a/n also work)",
202 WriteAccessApprovalChoices: "1. Allow once\n2. Allow this scope for the session\n3. Deny\nChoose [1/2/3] (y/a/n also work)",
203 WriteAccessHomeWarning: "This grants write access to your entire home directory. Reasonix session and runtime-state files stay protected.",
204 WriteAccessMergedPermissionHint: "This choice also authorizes the current matching tool operation.",
205 WriteAccessProjectHint: "Adding to the project writes [sandbox].allow_write (and the matching permission rule if needed) in this workspace's reasonix.toml.",
206 PermissionSavedFmt: "permission saved to %s: %s",
207 PermissionAlreadyAllowedFmt: "permission already covered in %s: %s",
208 PermissionSaveFailedFmt: "permission save failed for %s: %v",
209 PlanModeReadOnlyCommandTrustSavedFmt: "plan-mode read-only command trust saved to %s: %s",
210 PlanModeReadOnlyCommandTrustAlreadyFmt: "plan-mode read-only command trust already saved in %s: %s",
211 PlanModeReadOnlyCommandTrustFailedFmt: "plan-mode read-only command trust save failed for %s: %v",
212 DiffFoldedFmt: "… +%d more lines",
213 DiffFoldEnabledFmt: "diff folded to %d lines (/diff-fold to expand)",
214 DiffFoldDisabled: "diff expanded — showing all lines (/diff-fold to fold)",
215
216 OutputStyleNone: "no output styles available",
217 ThemeHeader: "themes:",
218 ThemeHint: "switch with /theme <auto|light|dark|style>",
219 ThemeChangedFmt: "theme switched to %s / %s",
220 ThemeUnknownFmt: "unknown theme %q",
221 LanguageHeader: "languages:",
222 LanguageHint: "switch with /language <auto|en|zh>",
223 LanguageChangedFmt: "language set to %s (resolved: %s)",
224 CurrencyHeader: "fee display currency:",
225 CurrencyHint: "switch with /currency <auto|CNY|USD>",
226 CurrencyChangedFmt: "fee display currency set to %s (resolved: %s)",
227 RuntimeRefreshBusy: "finish or cancel active work and stop background jobs before changing this setting",
228 RuntimeRefreshUnavailable: "runtime refresh is unavailable in this session",
229
230 CompactionWorking: "compacting conversation…",
231 CompactionTitle: "Context compacted",
232 CompactionUnit: "messages",
233 CompactionAuto: "auto",
234 CompactionManual: "manual",
235 CompactionStopping: "stopping compaction…",
236 CompactionSaving: "saving compaction result…",
237 CompactionNoHistory: "No history to compact",
238 CompactionStopped: "Compaction stopped",
239 CompactionStoppedPartial: "Compaction stopped; part of the context was compacted",
240 CompactionRecoveryRequired: "Compaction needs recovery",
241 CompactionInterrupted: "The previous compaction was interrupted",
242 CompactionEstimatedTokens: "estimated tokens",
243
244 ExtFormFieldsHint: "fields are collected through the usual prompts",
245 ExtRunActionFmt: "run %s",
246 SlashCompactFailed: "compaction failed",
247 SlashNewDone: "new session started — previous transcript saved",
248 SlashNewFailed: "could not start a new session",
249 SlashClearPrompt: "Clear current context without saving?",
250 SlashClearDone: "current context cleared",
251 SlashClearFailed: "could not clear current context",
252 SlashClsDone: "screen cleared",
253 SlashUnknown: "unknown command",
254 SlashUnknownSentAsMessage: "sent as a regular message",
255 SlashTodoCleared: "task list dismissed",
256
257 SkillPickerAvailableFmt: "%d available",
258 SkillPickerMatchingFmt: "%d matching · %d total",
259 SkillPickerHint: "↑↓ navigate · Space toggle · Enter save · / search · s sources · r rescan · Esc cancel",
260 SkillPickerDetailHint: "↑↓ navigate · Enter select · Space toggle · Esc back",
261 SkillPickerSearchEmpty: "No skills match your search",
262 SkillPickerSearchPlaceholder: "Search skills...",
263 SkillPickerSourceTitle: "Sources",
264 SkillPickerSourceActiveFmt: "%d active",
265 SkillPickerSourceHint: "↑↓ navigate · Enter skills · d diagnostics · s skills · r rescan · Esc close",
266 SkillPickerDiagHidden: "d show diagnostics",
267 SkillPickerDiagShown: "d hide diagnostics",
268 SkillPickerBuiltinSource: "builtin",
269 SkillPickerRescanned: "skills rescanned",
270 SkillPickerNoDescription: "(no description)",
271 SkillPickerScopeProject: "project",
272 SkillPickerScopeCustom: "custom",
273 SkillPickerScopeGlobal: "global",
274 SkillPickerScopeBuiltin: "builtin",
275 SkillPickerSubagent: "subagent",
276 SkillPickerAvailableLabel: "on",
277 SkillPickerDisabledLabel: "off",
278 SkillPickerNoChanges: "Skills dialog dismissed: No changes",
279 SkillPickerSourceSkillsHint: "↑↓ navigate · Space toggle · Enter details · Esc sources",
280 SkillPickerSourceSkillsEmpty: "No skills in this source",
281 SkillPickerActionToggle: "Toggle enabled",
282 SkillPickerActionDelete: "Delete skill",
283 SkillPickerDeleteTitleFmt: "Delete skill /%s?",
284 SkillPickerDeleteConfirm: "Delete",
285 SkillPickerDeleteCancel: "Cancel",
286 SkillPickerDeleteHint: "Enter confirm · y delete · n/Esc cancel",
287 SkillPickerDeletedFmt: "deleted skill %s",
288 SkillPickerMoreAboveFmt: "↑ %d more above",
289 SkillPickerMoreBelowFmt: "↓ %d more below",
290 SkillPickerTokenFmt: "~%d tok",
291 SkillPickerDetailMetaFmt: "Scope: %s Run as: %s",
292 SkillPickerSkillsUnit: "skills",
293 SkillPickerLinesUnit: "lines",
294 SkillPickerStatusLabel: "skill picker",
295 SkillPickerStatusOK: "ok",
296 SkillPickerStatusMissing: "missing",
297 SkillPickerStatusNotDir: "not-directory",
298 SkillPickerStatusUnreadable: "unreadable",
299 SlashPromptEmpty: "the MCP prompt returned no content to send",
300 SlashMCPNone: "no MCP servers configured — add a [[plugins]] entry in reasonix.toml",
301 CtrlCQuitHint: "press Ctrl+C again to quit",
302 CompHintSlash: "↑/↓ move · Tab/Enter select · Esc close",
303 CompHintFile: "↑/↓ move · Tab/Enter open folder or pick file · Esc close",
304 MouseCopiedHint: "copied to clipboard",
305 ClipboardCopyOSC52Hint: "copy sent via OSC 52 — terminal permission may be required",
306 ClipboardCopyFallbackHint: "native clipboard unavailable — copy sent via OSC 52",
307 ClipboardTextPasteRemoteHint: "mouse paste cannot read your local clipboard or PRIMARY selection over SSH — use the terminal paste shortcut or /mouse",
308 ClipboardTextPasteFailedFmt: "paste text failed: %v",
309 ClipboardImagePastingHint: "Pasting image…",
310 ClipboardImagePasteFailedFmt: "paste image failed: %v",
311 ClipboardPasteEmptyNotice: "clipboard holds no pasteable text or supported image (PNG/JPEG/GIF/WebP)",
312 MouseCaptureOnHint: "mouse capture on — in-app drag-select/scrollbar/wheel active",
313 MouseCaptureOffHint: "mouse capture off — your terminal now handles selection and right-click",
314 MouseCaptureTag: "native mouse",
315
316 ShellExecEmpty: "usage: !<command> (e.g. !ls -la)",
317 ShellExecFailedFmt: "shell command failed: %v",
318 ShellExecTimeoutFmt: "shell command timed out (> %s)",
319 ShellModeHint: "Enter runs shell · Esc cancels · click output to expand",
320
321 CmdNew: "start new session; save transcript",
322 CmdClear: "discard current context",
323 CmdCls: "clear screen only (keep LLM context)",
324 CmdCompact: "compact context",
325 CmdContinueChecks: "continue a paused final-readiness check",
326 CmdContext: "show context window, thresholds, and last maintenance",
327 CmdRewind: "rewind to an earlier turn",
328 CmdTree: "show conversation branches",
329 CmdBranch: "create a conversation branch",
330 CmdSwitchBranch: "switch conversation branch",
331 CmdResume: "resume a saved session",
332 CmdRename: "rename a session",
333 CmdModel: "switch model",
334 CmdStatus: "show session status",
335 CmdWorkMode: "session quality floor: standard or delivery",
336 CmdDocs: "search version-matched embedded documentation",
337 CmdMemory: "inspect instructions, memory, and recovery",
338 CmdMigrate: "retry legacy data migration",
339 CmdGoal: "set or clear the active goal",
340 CmdRemember: "save a memory note",
341 CmdForget: "archive a saved memory",
342 CmdMcp: "MCP servers",
343 CmdRemote: "remote SSH hosts",
344 CmdHooks: "manage hooks",
345 CmdPlugins: "manage plugin packages",
346 CmdPasteImage: "paste clipboard image",
347 CmdOutputStyle: "list output styles",
348 CmdTheme: "switch CLI theme",
349 CmdLanguage: "switch CLI language",
350 CmdCurrency: "switch fee display currency",
351 CmdSkill: "manage skills",
352 CmdVerbose: "toggle thinking text",
353 CmdReloadCmd: "reload custom commands",
354 CmdReload: "reload the agent runtime (tools, skills, commands, hooks, providers) keeping this session",
355 CmdDiffFold: "toggle diff fold/expand",
356 CmdSandbox: "show sandbox status",
357 CmdEffort: "set reasoning effort",
358 CmdMouse: "toggle in-app mouse capture (off = native terminal selection/right-click)",
359 CmdReasonLang: "set visible reasoning language",
360 CmdHelp: "list commands",
361 CmdWeb: "continue this session in the Web UI",
362 CmdTodo: "dismiss the task list",
363 CmdQuit: "exit the session",
364 CmdCopy: "pick a response to copy to clipboard",
365 CmdExport: "export session as markdown",
366 SlashCopyDone: "copied response to clipboard",
367 SlashCopyEmpty: "no assistant response to copy",
368 SlashCopyListHeader: "pick a response to copy:",
369 SlashExportDoneFmt: "session exported to %s",
370 SlashExportEmpty: "no messages to export",
371 ArgSkillShow: "show a skill's body",
372 ArgSkillNew: "scaffold a new skill",
373 ArgSkillPaths: "show discovery paths",
374 ArgMcpAdd: "connect a server",
375 ArgMcpRemove: "disconnect a server",
376 ArgMcpConnected: "connected",
377 ArgHooksList: "list active hooks",
378 ArgModelCurrent: "current",
379 ArgEffortAuto: "use the model default",
380 ArgEffortLow: "lighter reasoning",
381 ArgEffortMedium: "balanced reasoning",
382 ArgEffortHigh: "deeper reasoning",
383 ArgEffortXHigh: "extra deep reasoning",
384 ArgEffortMax: "maximum reasoning",
385 ArgPresetStandard: "adaptive default posture",
386 ArgPresetDelivery: "delivery completion gates",
387 ArgThemeCurrent: "current",
388 ArgLanguageAuto: "auto-detect from REASONIX_LANG / locale",
389 ArgLanguageEn: "English",
390 ArgLanguageZh: "中文",
391
392 ListModelsHeaderFmt: "models (active: %s)",
393 ListModelsHint: "switch with the model switcher, or type /model <provider/model>",
394 ListMemorySaved: "saved memories",
395 ListMemoryArchived: "archived memories",
396 ListMemoryNone: "memory: none — add with “/remember <note>” or run /init to generate AGENTS.md",
397 ListSkillsHeaderFmt: "skills (%d)",
398 ListSkillsNone: "skills: none defined — invoke a built-in like /init, or author one with install_skill",
399 ListHooksHeaderFmt: "hooks (%d active)",
400 ListHooksNone: "hooks: none active — configure in .reasonix/settings.json (project) or <Reasonix home>/settings.json (global)",
401 ListMcpHeader: "mcp servers",
402 ListMcpNone: "mcp: no servers connected — add one in reasonix.toml ([[plugins]]) or a project .mcp.json",
403
404 MemoryEditHint: "edit doc files or use “/remember <note>”; doc edits apply next session",
405 ForgetUsage: "usage: /forget <name> — the slug shown under “saved memories” in /memory",
406 ForgetDoneFmt: "forgot and archived memory: %s",
407 QuickRememberEmpty: "nothing to remember",
408 QuickRememberDoneFmt: "remembered → %s",
409 GoalEmpty: "goal: none — set one with /goal <objective>",
410 GoalCurrentFmt: "goal: %s",
411 GoalSetFmt: "goal set → %s",
412 GoalCleared: "goal cleared",
413 GoalNotRunning: "no running goal to pause",
414 GoalNotPaused: "no paused or blocked goal to resume",
415 GoalPaused: "goal paused — /goal resume continues it",
416 GoalPausedReason: "paused by the user",
417 GoalPausedFmt: "goal is paused (%s) — use /goal resume to continue",
418 GoalRuntimeFmt: "runtime: turns %d · requests %d · tokens %d · work time %s",
419 GoalRuntimeLastReason: "last reason",
420 ModelSwitchUnavailable: "model switching is unavailable in this session",
421 ModelSwitchBusy: "finish or cancel active work and stop background jobs before switching models",
422 ModelAlreadyOnFmt: "already on %s",
423 ModelSwitchingFmt: "switching to %s…",
424 ModelSwitchedFmt: "switched to %s (conversation carried over; prompt cache resets)",
425 ModelListHeader: "models (/model <provider/model> to switch)",
426 RuntimeSwitchPending: "wait for the current runtime switch to finish",
427 RuntimeReloadQueued: "reload queued — will run when the current work finishes",
428 RuntimeReloaded: "runtime reloaded",
429 RuntimeReloadedGenerationFmt: "runtime reloaded (generation %d)",
430 WorkModeUsage: "usage: /preset <legacy-value> (retired; recognized values use standard execution)",
431 WorkModeDeprecatedNotice: "Execution modes have been retired. Recognized legacy values are accepted for compatibility and use standard execution.",
432 QualityFloorApplied: "Execution modes have been retired; standard execution remains active.",
433 RewindNone: "nothing to rewind yet",
434 RewindCodeConversation: "Code + conversation",
435 RewindConversationOnly: "Conversation only",
436 RewindCodeOnly: "Code only",
437 RewindFork: "Fork",
438 RewindSummarizeFrom: "Compress after here (history kept)",
439 RewindSummarizeUpto: "Compress before here (history kept)",
440 RewindPickTitle: "⟲ Rewind — pick a turn",
441 RewindPickHint: "↑/↓ move · Enter choose · Esc close",
442 RewindRestoreTitleFmt: "⟲ Restore to turn %d ",
443 RewindApplyHint: "↑/↓ · Enter apply · Esc back",
444 RewindCoverageTitle: "⚠ Partial file coverage",
445 RewindCoverageWarningFmt: "%d coverage gap(s) mean some file changes may not be restored.",
446 RewindConfirmHint: "Enter/y confirm · Esc back",
447 RewindUnavailableFmt: "rewind unavailable: %s",
448 RewindEmpty: "(empty)",
449
450 EnterAPIKeysHeader: "Enter API keys (Enter to skip and set later):",
451 WroteFileFmt: "Wrote %s",
452 SetupComplete: "Setup complete.",
453 SetupCancelled: "setup cancelled.",
454 TryHintFmt: "Try: %s",
455 NextHint: "Next: set your API key (run `reasonix setup` or export DEEPSEEK_API_KEY=...), then run `reasonix run \"your task\"`.",
456 ConfirmReconfigureFmt: "%s already exists. Reconfigure and overwrite?",
457 NotOverwritingFmt: "%s already exists; not overwriting",
458 SetupManagerTitle: "Provider configuration",
459 SetupAddOpenAI: "Add OpenAI-compatible provider",
460 SetupAddAnthropic: "Add Anthropic-compatible provider",
461 SetupProviderExistsFmt: "Provider %q already exists. Manage the existing provider to edit its models or settings.",
462 SetupSaveExit: "Save and exit",
463 SetupSaveExitDesc: "write staged changes",
464 SetupCancel: "Cancel",
465 SetupCancelDesc: "discard all staged changes",
466 SetupModelsUnit: "models",
467 SetupKeySet: "key set",
468 SetupKeyMissing: "key missing",
469 SetupDefaultBadge: "default",
470 SetupProviderActionsFmt: "Manage %s",
471 SetupEditProvider: "Edit provider",
472 SetupUpdateKey: "Update API key",
473 SetupTestRefresh: "Test connection / refresh models",
474 SetupSetDefault: "Set default model",
475 SetupRemoveProvider: "Remove provider",
476 SetupBack: "Back",
477 SetupPromptModels: "Models (comma-separated)",
478 SetupSharedKeyWarningFmt: "%s is also used by %s at %s. Share this credential?",
479 SetupKeyEnvTakenFmt: "%s is already used by provider %s; saving this key under it would replace that provider's key.",
480 SetupKeyEnvStoredFmt: "%s already holds a saved credential; saving this key under it would overwrite that value.",
481 SetupKeyEnvSettingFmt: "%s is read by a bot or remote-host setting; saving this key under it would hand that setting your key.",
482 SetupKeyEnvShellFmt: "%s is already set in the environment Reasonix runs in; saving this key under it would override that value.",
483 SetupKeyEnvRetry: "Enter another name, or press Enter to let Reasonix choose a private variable.",
484 SetupPromptAPIKeyFmt: "Enter new value for %s",
485 SetupSelectDefaultModel: "Select default model",
486 SetupConfirmRemoveFmt: "Remove provider %s?",
487 SetupSummaryTitle: "Pending changes:",
488 SetupSummaryAddedFmt: "Added: %s",
489 SetupSummaryEditedFmt: "Edited: %s",
490 SetupSummaryRemovedFmt: "Removed: %s",
491 SetupSummaryDefaultFmt: "Default model: %s",
492 SetupSummaryKeysFmt: "API keys updated: %d",
493 SetupSummaryNoChanges: "No changes",
494 SetupConfirmSave: "Save these changes?",
495 SetupConcurrentChangeFmt: "Configuration changed while setup was open (%s). No staged setup changes were saved; run setup again to review the latest configuration.",
496
497 // model fetching
498 FetchingModelsFmt: "Fetching models for %s...",
499 FetchModelsSuccessFmt: "Found %d models for %s",
500 FetchModelsFailedFmt: "Failed to fetch models for %s: %v",
501 FetchModelsUsingPresetsFmt: "Live fetch unavailable for %s, using preset model list",
502 SelectModelsLabel: "Select models to enable for %s",
503 CustomFetchEmpty: "/models returned an empty list — falling back to manual entry",
504 AnthropicFetchEmpty: "/models returned an empty list — Anthropic-compatible providers usually don't expose one, falling back to manual entry",
505 APIKeyAlreadySetFmt: "reusing existing value for %s",
506 APIKeyResetPromptFmt: "Re-enter %s?",
507 InvalidAPIKeyEnvFmt: "%q is not a valid API Key variable name. Use letters, numbers, and underscores (for example, MY_PROVIDER_API_KEY); do not enter a model name.",
508 RepairedAPIKeyEnvFmt: "provider %s: replaced invalid API Key variable name %q with %q",
509
510 // custom provider
511 CustomProviderDesc: "Add third-party OpenAI compatible model",
512 CustomAddMethodLabel: "Add third-party OpenAI compatible model - Select add method",
513 CustomMethodManual: "Enter model name manually",
514 CustomMethodURL: "Fetch models from URL",
515 CustomPromptModel: "Enter model name",
516 CustomPromptBaseURL: "Enter Base URL",
517 CustomPromptKeyEnv: "API Key variable name (press Enter to let Reasonix choose; not the model name)",
518 CustomPromptAPIKey: "Enter API Key",
519 CustomPromptWindow: "Context window in tokens (a value below the model's real window makes compaction fire early)",
520 CustomAddedFmt: "Added custom model: %s",
521
522 // Anthropic compatible provider
523 AnthropicProviderDesc: "Add third-party Anthropic compatible model",
524 AnthropicAddMethodLabel: "Add third-party Anthropic compatible model - Select add method",
525 AnthropicMethodManual: "Enter model name manually",
526 AnthropicMethodURL: "Fetch models from URL",
527 AnthropicPromptModel: "Enter model name",
528 AnthropicPromptBaseURL: "Enter Base URL",
529 AnthropicPromptKeyEnv: "API Key variable name (press Enter to let Reasonix choose; not the model name)",
530 AnthropicPromptAPIKey: "Enter API Key",
531 AnthropicAddedFmt: "Added Anthropic compatible model: %s",
532 AnthropicFetchingModelsFmt: "Fetching models for %s...",
533 AnthropicFetchModelsSuccessFmt: "Found %d models for %s",
534 AnthropicFetchModelsFailedFmt: "Failed to fetch models for %s: %v",
535 AnthropicSelectModelsLabel: "Select models to enable for %s",
536
537 RemoteConnectingFmt: "connecting to %s…",
538 RemoteConnectedFmt: "connected to %s",
539 RemoteReconnectingFmt: "reconnecting to %s (attempt %d)…",
540 RemoteDegradedFmt: "connected to %s, but some forwards are down",
541 RemoteDisconnected: "disconnected (remote serve keeps running)",
542 RemoteServeReadyFmt: "remote serve ready: %s",
543 RemoteHostKeyPromptFmt: "unknown host key for %s\n type: %s\n fingerprint: %s",
544 RemotePassphrasePromptFmt: "passphrase for %s:",
545 RemotePasswordPromptFmt: "password for %s:",
546 RemoteBootstrapStepFmt: "remote serve: %s %s",
547 RemoteNoHostsHint: "no remote hosts configured; add one with `reasonix remote add <name> [user@]host`",
548
549 UnknownCommandFmt: "unknown command %q",
550 UsageRunHint: "usage: reasonix -p [--model NAME] <task>",
551 ErrorPrefix: "error:",
552 ReconfigureOnUnknownModel: "Configured model is no longer available — re-running setup.",
553 WriteConfigErr: "write config:",
554 WriteEnvErr: "write .env:",
555
556 ProviderErrBadRequest: "Malformed request (HTTP 400): the request body was rejected. This is likely a bug — please report it if it persists.",
557 ProviderErrContextOverflowFmt: "This request exceeds the shared context window: prompt %d + completion %d = %d tokens, but the window is %d. Compact, retry with a smaller output cap, fork, or rewind, then send again.",
558 ProviderErrAuth: "Authentication failed (HTTP 401): your API key is missing or unset. Add it to .env or run `reasonix setup`.",
559 ProviderErrAuthRejected: "Authentication failed (HTTP 401): the server rejected your API key. It may be wrong or expired, or the provider hit a transient auth/quota issue. Try again shortly, or check the key in .env / run `reasonix setup`.",
560 ProviderErrModelFormatMismatch: "Model/API format mismatch: the server does not support this model on the selected provider route. This is not an invalid API key; choose a provider route that supports the model.",
561 ProviderErrOpenCodeGoGrokRoute: "For OpenCode Go, use the OpenCode Go Responses preset with `grok-4.5`.",
562 ProviderErrQuotaExhaustedFmt: "%s: provider credits or subscription quota exhausted (HTTP %d). Check your account allowance before continuing.",
563 ProviderErrReasonMissing: "The upstream rejected the request but did not provide a specific reason.",
564 ProviderErrStreamInterruptedFmt: "Model stream interrupted. The partial response was kept; send again when ready.\nDetails: %s",
565 ProviderErrDisconnectedFmt: "Model connection closed before completion. Check the provider or proxy before sending again.\nDetails: %s",
566 ProviderErrNonStreamingFmt: "The model endpoint answered with a complete page instead of a stream. Point request_url or base_url at a full API endpoint, not a gateway root, before sending again.\nDetails: %s",
567 SearchSourcesNotProvided: "Search completed; the provider did not supply usable structured sources.",
568 SearchModelUnavailable: "Assigned web search model is unavailable; no other account will be used.",
569 ProtocolRecoveryLabel: "Recover from valid history",
570 ProviderErrInsufficientBalance: "Insufficient balance (HTTP 402): your account is out of credit. Top up your account, then retry.",
571 ProviderErrNotFound: "Request endpoint not found (HTTP 404). Check the API format and request address.",
572 ProviderErrUnprocessable: "Invalid parameters (HTTP 422): a request parameter was rejected. This is likely a bug — please report it if it persists.",
573 ProviderErrInputSensitive: "MiniMax rejected the input during content review (error 1026). The review may include conversation history and tool results; adjust the relevant content or start a new session with only the necessary context. Repeating the same request is unlikely to help.",
574 ProviderErrOutputSensitive: "MiniMax rejected the generated output during content review (error 1027). Adjust the request and try again, or use another provider if the rejection persists.",
575 ProviderErrRateLimited: "Rate limit reached (HTTP 429): too many requests (TPM/RPM). Slow down or try again shortly.",
576 ProviderErrServer: "Server error (HTTP 500): the provider hit an internal fault. Please try again later.",
577 ProviderErrServerBusy: "Server busy (HTTP 503): the provider is overloaded. Please try again shortly.",
578 ProviderErrWaitExhaustedFmt: "Reasonix stopped waiting after %s: the provider stayed unreachable through every retry. Check your network, proxy, or the provider's status page, then send the message again.",
579
580 SelectOneHint: "(↑/↓ · Enter · q to cancel; / to search)",
581 SelectManyHint: "(↑/↓ · Space · Enter · q; / to search)",
582
583 SelectMoreAboveFmt: " ↑ %d more above",
584 SelectMoreBelowFmt: " ↓ %d more below",
585 SelectSearchHint: "/ to search · type to filter · Esc cancel search",
586
587 CmdProvider: "switch provider",
588 ProviderListHeader: "providers (/provider <name> to switch)",
589 ProviderAlreadyOnFmt: "already using provider %s",
590 ProviderUnknownFmt: "unknown provider %q",
591 ProviderPickLabel: "Select a model from %s",
592 ProviderNoModelsFmt: "provider %s has no configured models",
593
594 // self-update
595 UpgradeChecking: "Checking for updates…",
596 UpgradeChannelDeprecated: "Release channels are retired; using the official release.",
597 UpgradeDevBuild: "dev builds cannot self-update",
598 UpgradeFetchFailed: "failed to check for updates: %v",
599 UpgradeInvalidVersion: "remote version is not valid semver",
600 UpgradeAlreadyLatest: "Already on the latest version.",
601 UpgradeForcing: "Reinstalling the same version…",
602 UpgradeAvailableFmt: "Current: %s → Latest: %s",
603 UpgradeNoAssetFmt: "no binary found for %s",
604 UpgradeDownloadingFmt: "Downloading %s (%s)…",
605 UpgradeDownloadFailed: "download failed: %v",
606 UpgradeVerifying: "Verifying checksum…",
607 UpgradeChecksumFailed: "could not fetch checksum file: %v",
608 UpgradeChecksumMismatchFmt: "SHA256 mismatch: got %s, want %s",
609 UpgradeChecksumNotFoundFmt: "%s not found in SHA256SUMS",
610 UpgradeExtractFailed: "failed to extract binary: %v",
611 UpgradeApplying: "Replacing binary…",
612 UpgradeApplyFailed: "failed to apply update: %v",
613 UpgradeSuccessFmt: "Updated %s → %s",
614
615 ReportNoPending: "No pending CLI crash reports.",
616 ReportHeaderFmt: "CLI crash report %s",
617 ReportCapturedFmt: "Captured: %s",
618 ReportPreviewOnlyFmt: "Preview only. Run `reasonix report send %s` to send this report.",
619 ReportSendPrompt: "Send this sanitized report to crash.reasonix.io?",
620 ReportKept: "Report kept locally.",
621 ReportDeletedFmt: "Deleted CLI crash report %s.",
622 ReportSentFmt: "Sent CLI crash report %s.",
623 ReportConfigFailedFmt: "cannot load network configuration: %v",
624 ReportUploadFailedFmt: "report upload failed; the local report was kept: %v",
625 ReportSentDeleteFailedFmt: "report was sent but the local copy could not be deleted: %v",
626 ReportUsageBody: `Usage:
627 reasonix report preview the newest local report and confirm sending
628 reasonix report list list local CLI crash reports
629 reasonix report show [ID] preview a report (newest when ID is omitted)
630 reasonix report send [ID] send a reviewed report and delete it after success
631 reasonix report delete [ID] delete a local report without sending`,
632
633 CLITelemetryConsentNotice: "Reasonix can send anonymous, content-free CLI usage statistics to crash.reasonix.io: a random install ID, version, OS, and fixed quality buckets. It never sends prompts, answers, code, paths, model or tool content, or environment variables. You can disable this later with `reasonix config telemetry off`.",
634 CLITelemetryConsentPrompt: "Allow anonymous CLI usage statistics?",
635 CLITelemetryConsentInvalid: "Please answer y or n.",
636 CLITelemetryConsentSaveFailedFmt: "CLI telemetry remains disabled because the preference could not be saved: %v",
637 CLITelemetryConsentCleanupFailedFmt: "CLI telemetry is disabled, but pending statistics could not be deleted: %v",
638
639 UsageBody: `reasonix — a config- and plugin-driven coding agent (multi-model)
640
641 Usage:
642 reasonix [--model NAME] [-c|--continue] [-r|--resume [QUERY]] [--permission-mode MODE] [--effort LEVEL] [--add-dir PATH] interactive session
643 reasonix -p|--print [--model NAME] [--output-format text|json|stream-json] [--allowed-tools RULES] [--add-dir PATH] <task>
644 reasonix run [--model NAME] [--max-steps N] [-c|--continue] [--resume PATH] [--copy] [--output-format FORMAT] <task>
645 reasonix run --events-jsonl [--model NAME] <task> emit redacted structured events as JSONL
646 reasonix review [--base BRANCH] [--commit SHA] [--model NAME] AI-powered code review on local diffs
647 reasonix web [--model NAME] [--addr HOST:PORT] [--no-open] start the local Web UI and open it in the default browser
648 reasonix serve [--model NAME] [--addr HOST:PORT] [--auth none|token|password] [--token STR] [--password STR] [--hash-password] serve over HTTP+SSE (with optional auth)
649 reasonix acp [--model NAME] serve Agent Client Protocol over stdio (also: reasonix --acp)
650 reasonix setup [path] interactive config wizard; writes reasonix.toml (+ .env)
651 reasonix config reasoning-language [auto|zh|en] configure visible reasoning language
652 reasonix config compact-ratio [--local] [30..85] configure automatic compaction threshold
653 reasonix config telemetry [auto|on|off] configure content-free CLI usage metrics
654 reasonix report [list|show|send|delete] [ID] review and explicitly send local CLI crash reports
655 reasonix mcp <add|remove|list|import> manage MCP servers in reasonix.toml
656 reasonix subagent <list|create|edit|delete|try|run> manage and run isolated subagent profiles
657 reasonix init show how to generate project memory (AGENTS.md)
658 reasonix doctor [--json] print redacted local diagnostics
659 reasonix doctor session <branch-id> [--zip] [--out PATH] export a session conflict diagnostic zip
660 reasonix session list --json [--dir PATH] list redacted sessions for machine clients
661 reasonix session show|status <machine-session-id> --json [--dir PATH] query one redacted session
662 reasonix session recovery [<machine-session-id>] --json [--dir PATH] query redacted recovery state
663 reasonix hook list|status --json [--dir PATH] inspect redacted hook state
664 reasonix trust [--dir PATH] [--yes|--revoke] review and approve programs this project runs
665 reasonix task list|show|status|events|stop|cancel|monitor|tmux --json [--dir PATH]
666 inspect or control redacted tasks
667 reasonix bot start|doctor|weixin-login multi-channel IM bot gateway
668 reasonix upgrade [--check] [--force] update to the latest official release (also: reasonix update)
669 reasonix completion bash|zsh|fish print a shell completion script to stdout
670 reasonix version [--verbose|--json] print version (single line) or build metadata
671 reasonix --version | -v single-line version (script-safe)
672 reasonix help
673
674 Examples:
675 reasonix
676 reasonix --continue
677 reasonix --resume provider-config
678 reasonix web
679 reasonix run "implement the TODOs in main.go"
680 reasonix run --model mimo-pro "add unit tests for this function"
681 reasonix -p "summarize this repository" --output-format json
682 reasonix subagent run review "review the current changes"
683 echo "explain this code" | reasonix run
684
685 Configuration:
686 Resolution: flag > ./reasonix.toml > <Reasonix home>/config.toml > built-in defaults
687 Secrets come from the environment via api_key_env (e.g. DEEPSEEK_API_KEY).
688 Run 'reasonix setup' to scaffold a config; see docs/SPEC.md.
689 `,
690 }
691
691 lines GO