dsh-oc-tui 0.1.4 → 0.2.0-pre.13

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.
@@ -0,0 +1,548 @@
1
+ // The English source catalog: the single place every user-facing TUI string is
2
+ // defined. Translations in the sibling files carry exactly the same keys.
3
+ //
4
+ // Rules for translators:
5
+ // - keep `{placeholders}` verbatim (their names are substituted, not painted);
6
+ // - plural entries use CLDR categories as suffixes (`key.one`, `key.other`,
7
+ // `key.few`, `key.many`, `key.zero`, `key.two`) and must at least carry
8
+ // `key.other`; `key.one` is required wherever English has one;
9
+ // - keep leading/trailing spaces: several strings are composed by
10
+ // concatenation (a label followed by a hint);
11
+ // - do not translate product names, command names, protocol names, file names
12
+ // or model ids (`dsh`, `dsh-oc-tui`, `DeepSeek Harness`, `MCP`, `/help`,
13
+ // `Ctrl+P`, `Esc`, `stdio`, `HTTP`, `SSE`...).
14
+ export default {
15
+ // ---- shared chrome ------------------------------------------------------
16
+ 'common.selectBack': 'Enter select · Esc back',
17
+ 'common.selectConfirmBack': '↑/↓ select · Enter confirm · Esc back',
18
+ 'common.selectContinueExit': '↑/↓ select · Enter continue · Esc exit',
19
+ 'common.escBack': 'Esc back',
20
+ 'common.escClose': 'Esc close',
21
+ 'common.escCancel': 'Esc cancel',
22
+ 'common.working': 'Working…',
23
+ 'common.pleaseWait': 'please wait',
24
+ 'common.on': 'on',
25
+ 'common.off': 'off',
26
+ 'common.unavailable': 'unavailable',
27
+ 'common.selected': 'selected',
28
+ 'common.default': 'default',
29
+ 'common.system': 'system',
30
+ 'common.installed': '(installed)',
31
+ 'common.more': '… {count} more',
32
+ 'common.moreLines': '… {count} more lines',
33
+ 'common.clickExpand': ' · click to expand',
34
+ 'common.clickCollapse': ' · click to collapse',
35
+ 'common.unknown': 'unknown',
36
+ 'common.emptyMessage': '[empty message]',
37
+
38
+ // ---- stored setting values ---------------------------------------------
39
+ // The ids stay English in the settings file; these are the labels the rows
40
+ // show. `tv()` also falls back to `common.*` and then to the raw id, so a
41
+ // value with no entry here still renders (technical ids deliberately have
42
+ // none: `halfblock`, `chip`, `stdio`, `http`, `sse`).
43
+ 'value.queue': 'queue',
44
+ 'value.steer': 'steer',
45
+ 'value.auto': 'auto',
46
+ 'value.local': 'local',
47
+ 'value.textOnly': 'text only',
48
+ 'value.textImage': 'text + image',
49
+
50
+ // ---- title screen -------------------------------------------------------
51
+ 'splash.hint': 'Ask anything... "Fix broken tests"',
52
+ 'splash.shortcutSettings': 'settings',
53
+ 'splash.shortcutThinking': 'thinking',
54
+
55
+ // ---- command-line help (dsh --profile tui --help) -----------------------
56
+ 'startup.description': 'Boot the DeepSeek Harness terminal UI.',
57
+ 'startup.helpOption': 'show this help',
58
+ 'startup.resume': 'resume an existing persisted session by id',
59
+ 'startup.model': 'default model id for new sessions',
60
+ 'startup.provider': 'default provider route for new sessions',
61
+ 'startup.sidebar': 'show the session sidebar (default)',
62
+ 'startup.noSidebar': 'start without the sidebar',
63
+ 'startup.examples': 'Examples:',
64
+ 'startup.exampleFresh': 'start a fresh session',
65
+ 'startup.exampleResume': 'resume a persisted session',
66
+
67
+ // ---- header / sidebar / status row -------------------------------------
68
+ 'header.workspace': 'WORKSPACE',
69
+ 'sidebar.sessions': 'SESSIONS',
70
+ 'sidebar.recent': 'RECENT',
71
+ 'sidebar.newSession': '+ New session',
72
+ 'status.model': 'model',
73
+ 'status.draftTokens': '{count} draft tok',
74
+ 'status.ctrlP': 'ctrl+p commands',
75
+ 'status.interrupt': 'interrupt: ctrl+c',
76
+
77
+ // ---- composer command hints --------------------------------------------
78
+ 'hint.help': 'show help',
79
+ 'hint.settings': 'open settings',
80
+ 'hint.new': 'new session',
81
+ 'hint.resume': 'resume session',
82
+ 'hint.model': 'select model',
83
+ 'hint.provider': 'select provider',
84
+ 'hint.rewind': 'rewind picker',
85
+ 'hint.stats': 'session stats & token usage',
86
+ 'hint.clear': 'clear view',
87
+ 'hint.cancel': 'cancel running turn',
88
+ 'hint.quit': 'exit',
89
+ 'hint.compact': 'compact context',
90
+ 'hint.goal': 'manage goal',
91
+
92
+ // ---- transcript blocks --------------------------------------------------
93
+ 'transcript.turns.one': '{count} turn',
94
+ 'transcript.turns.other': '{count} turns',
95
+ 'transcript.steps.one': '{count} step',
96
+ 'transcript.steps.other': '{count} steps',
97
+ 'transcript.thinking': ' thinking',
98
+ 'transcript.streaming': ' · streaming…',
99
+ 'transcript.steeringBadge': ' ⟲ steering',
100
+ 'transcript.tasks': 'tasks',
101
+ 'transcript.systemPrompt': ' system prompt',
102
+ 'transcript.pendingInput': ' pending input · ',
103
+ 'transcript.steering': ' steering',
104
+ 'transcript.queued': ' queued',
105
+ 'note.systemReminder': 'system-reminder',
106
+ 'note.compaction': 'compaction',
107
+
108
+ // ---- images and mermaid -------------------------------------------------
109
+ 'image.attachment': '🖼 image attachment',
110
+ 'image.rendering': '⏳ rendering image…',
111
+ 'image.renderFailed': '⚠ image render failed · {error}',
112
+ 'image.mermaidRendering': '⏳ rendering mermaid diagram…',
113
+ 'image.mermaidTooWide': '↔ mermaid diagram needs {width} columns, this pane has {budget}',
114
+ 'image.altFallback': 'image',
115
+
116
+ // ---- composer / approval prompt ----------------------------------------
117
+ 'composer.imageHint': 'Pasted image: use a multimodal model/plugin or deepseek-v4-flash-vision-exp, otherwise the image cannot be read',
118
+ 'composer.approval': 'Approval · ',
119
+ 'composer.summary': 'Summary · ',
120
+ 'composer.origin': 'Origin · ',
121
+ 'composer.risk': 'Risk · ',
122
+ 'composer.approvalHint': 'y allow · n deny · Esc cancel',
123
+ 'risk.low': 'low',
124
+ 'risk.medium': 'medium',
125
+ 'risk.high': 'high',
126
+ 'composer.effortHint': 'Tab / ←/→ adjust · Esc close',
127
+
128
+ // ---- right status rail --------------------------------------------------
129
+ 'rail.model': 'MODEL',
130
+ 'rail.thinking': 'THINKING',
131
+ 'rail.context': 'CONTEXT',
132
+ 'rail.session': 'SESSION',
133
+ 'rail.goal': 'GOAL',
134
+ 'rail.subagents': 'SUBAGENTS',
135
+ 'rail.noData': '—',
136
+ 'rail.percentUsed': '{percent}% used',
137
+ 'rail.tokens': '~{used} / {window} tokens',
138
+ 'rail.cacheHit': 'cache {percent}% hit',
139
+ 'rail.breakdown': 'system {system} · tools {tools} · messages {messages}',
140
+ 'rail.contextPending': 'shown once usage is reported',
141
+ 'rail.subagentCounts': '{running} running · {total} total',
142
+ 'rail.unreadable': '{label} (unreadable)',
143
+ 'rail.more': '… +{count} more',
144
+ 'rail.round': ' · round {started}/{max}',
145
+ 'goal.active': 'active',
146
+ 'goal.paused': 'paused',
147
+ 'goal.blocked': 'blocked',
148
+ 'goal.complete': 'complete',
149
+
150
+ // ---- session stats window ----------------------------------------------
151
+ 'stats.title': 'session stats',
152
+ 'stats.hint': 'click the strip or /stats',
153
+ 'stats.usage': 'usage',
154
+ 'stats.duration': 'duration',
155
+ 'stats.speed': 'speed',
156
+ 'stats.tokens': 'tokens',
157
+ 'stats.cache': 'cache',
158
+ 'stats.context': 'context',
159
+ 'stats.noSteps': 'no completed step yet',
160
+ 'stats.llmTime': 'LLM {value}',
161
+ 'stats.toolTime': 'tools {value}',
162
+ 'stats.ttft': 'TTFT avg {value}',
163
+ 'stats.tokensPerSecond': '{value} tok/s',
164
+ 'stats.cacheRate': 'cache {percent}%',
165
+ 'stats.inOut': 'in {input} · out {output}',
166
+ 'stats.cacheDetail': '{percent}% hit · read {read} · write {write} · miss {miss}',
167
+ 'stats.contextUsed': 'used {percent}% ~{used} / {window}',
168
+ 'stats.systemPrompt': 'system prompt',
169
+ 'stats.tools': 'tools',
170
+ 'stats.messages': 'messages',
171
+ 'stats.compositionUnavailable': 'composition unavailable',
172
+ 'stats.contextPending': 'context occupancy appears once a request reports usage',
173
+
174
+ // ---- questions modal ----------------------------------------------------
175
+ 'questions.title': 'Question',
176
+ 'questions.titleOf': 'Question {index} of {total}',
177
+ 'questions.defer': 'Esc defer',
178
+ 'questions.range': '{from}-{to} of {total} PgUp/PgDn',
179
+ 'questions.other': 'Other: ',
180
+ 'questions.answer': 'Answer: ',
181
+ 'questions.placeholder': 'type your own answer',
182
+ 'questions.hintCustom': 'Enter confirm · Esc back',
183
+ 'questions.hintMulti': 'Space toggle · Enter continue · Up/Down move',
184
+ 'questions.hintSingle': 'Enter select · Up/Down move',
185
+
186
+ // ---- secret prompt ------------------------------------------------------
187
+ 'secret.hint': 'Enter to submit · Esc to cancel',
188
+
189
+ // ---- settings dialog chrome --------------------------------------------
190
+ 'settings.title': 'Settings',
191
+ 'settings.menu': 'MENU',
192
+ 'settings.shared': 'Shared with DeepSeek Harness WebUI',
193
+ 'settings.footerEdit': 'Enter save · Esc cancel',
194
+ 'settings.footerMenu': '↑/↓ move · Tab menu · Enter select · Esc back',
195
+ 'settings.footerPlain': '↑/↓ move · Enter select · Esc back',
196
+ 'settings.confirmHint': '{text} · Y / N',
197
+ 'settings.confirmDefault': 'Y confirm · N cancel',
198
+ 'settings.confirmDeleteSession': 'Ctrl+D again to delete',
199
+ 'settings.confirmChange': 'Confirm this change?',
200
+ 'settings.deleteTwice': 'Press Ctrl+D again to delete ',
201
+ 'settings.deleteMcpTwice': 'Press Delete again to remove ',
202
+ 'settings.noSession': 'no session selected',
203
+ 'settings.noSessions': 'no sessions available',
204
+ 'settings.noMcp': 'no MCP server selected',
205
+ 'settings.noOptions': 'no available options for {label}',
206
+ 'settings.saved': 'saved to DSH settings',
207
+ 'settings.providerRemoved': 'provider removed',
208
+ 'settings.conflict': 'settings changed elsewhere; reloaded',
209
+ 'settings.error': 'settings: {error}',
210
+ 'settings.dshSettings': 'DSH settings',
211
+ 'settings.optionList': 'Enter select · Esc back',
212
+
213
+ // ---- settings left menu -------------------------------------------------
214
+ 'menu.main': 'Main',
215
+ 'menu.model': 'Model',
216
+ 'menu.update': 'Update',
217
+ 'menu.mcp': 'MCP',
218
+
219
+ // ---- settings rows: main tab -------------------------------------------
220
+ 'settings.general': 'General',
221
+ 'settings.graphics': 'Graphics',
222
+ 'settings.sessions': 'Sessions',
223
+ 'settings.system': 'System',
224
+ 'settings.busyEnter': 'Busy Enter',
225
+ 'settings.defaultPreset': 'Default preset',
226
+ 'settings.permissionPreset': 'Permission preset',
227
+ 'settings.permissionDangerConfirm': 'Enable unrestricted tool and file access?',
228
+ 'settings.graphicsRendering': 'Graphics rendering',
229
+ 'settings.noProtocolFallback': 'No-protocol fallback',
230
+ 'settings.imageHeightCap': 'Image height cap (rows)',
231
+ 'settings.mermaidRendering': 'Mermaid rendering',
232
+ 'settings.newSession': 'New session',
233
+ 'settings.manageSessions': 'Manage sessions',
234
+ 'settings.providerConfig': 'Provider API config',
235
+ 'settings.updateManager': 'Update manager',
236
+ 'settings.settingsFile': 'Settings file',
237
+ 'settings.language': 'Language',
238
+ 'settings.languageSystem': 'System ({language})',
239
+ 'settings.languageSaved': 'language: {language}',
240
+
241
+ // ---- model tab ----------------------------------------------------------
242
+ 'model.title': 'Model',
243
+ 'model.subtitle': 'Enter selects a listed model as default',
244
+ 'model.defaultSection': 'Default',
245
+ 'model.defaultProvider': 'Default provider',
246
+ 'model.defaultModel': 'Default model',
247
+ 'model.reasoning': 'Reasoning',
248
+ 'model.providerUrl': 'Provider URL',
249
+ 'model.providerApiKey': 'Provider API key',
250
+ 'model.displayName': 'Display name',
251
+ 'model.wireProtocol': 'Wire protocol',
252
+ 'model.defaultImageInput': 'Default image input',
253
+ 'model.models': 'Models',
254
+ 'model.fetch': 'fetch…',
255
+ 'model.selectedCount': '{count} selected',
256
+ 'model.removeProvider': 'Remove provider',
257
+ 'model.removeProviderConfirm': 'Remove {name} and its managed credential?',
258
+ 'model.noModels': 'no models available',
259
+ 'model.noModelsReturned': 'provider returned no models',
260
+ 'model.fetchUnavailable': 'auto-fetch unavailable — saved models · Enter toggle',
261
+ 'model.fetchOk': 'auto-fetched · Enter toggle · Esc back',
262
+ 'model.fetching': 'Fetching models…',
263
+ 'model.autoFetching': 'auto-fetching…',
264
+ 'model.credentialConfigured': 'configured ({source})',
265
+ 'model.credentialMissing': 'not configured',
266
+ 'model.defaultTag': 'default',
267
+ 'model.providerUnavailable': 'provider is no longer available',
268
+ 'model.namespaceUnavailable': 'provider settings namespace is unavailable',
269
+ 'model.apiKeyEmpty': 'API key cannot be empty',
270
+ 'model.credentialsUnavailable': 'credentials service is unavailable',
271
+ 'model.noProviderModels': 'selected provider has no available models',
272
+
273
+ // ---- MCP tab ------------------------------------------------------------
274
+ 'mcp.title': 'MCP',
275
+ 'mcp.subtitle': 'Enter edit · Del remove · Esc back',
276
+ 'mcp.editSubtitle': 'Enter edit · Esc back',
277
+ 'mcp.servers': 'MCP servers',
278
+ 'mcp.empty': 'No MCP server configured',
279
+ 'mcp.add': 'Add MCP server',
280
+ 'mcp.scope': 'scope',
281
+ 'mcp.scopeUserPrefix': 'user · {path}',
282
+ 'mcp.scopePathPrefix': 'path · {path}',
283
+ 'mcp.configFiles': 'Config files',
284
+ 'mcp.userScope': 'user (all sessions)',
285
+ 'mcp.secrets': 'Secrets',
286
+ 'mcp.secretsPlain': 'plain text in the config files',
287
+ 'mcp.loaded': 'loaded',
288
+ 'mcp.notCreated': 'not created yet',
289
+ 'mcp.type.stdio': 'Local command',
290
+ 'mcp.type.http': 'HTTP',
291
+ 'mcp.type.sse': 'SSE',
292
+ 'mcp.state.connected': '● connected',
293
+ 'mcp.state.tools.one': '● {count} tool',
294
+ 'mcp.state.tools.other': '● {count} tools',
295
+ 'mcp.state.pending': '… connecting',
296
+ 'mcp.state.disabled': '○ disabled',
297
+ 'mcp.state.idle': '○ not connected',
298
+ 'mcp.form.add': 'Add MCP server',
299
+ 'mcp.form.edit': 'Edit MCP server · {name}',
300
+ 'mcp.titleAdd': 'MCP · add',
301
+ 'mcp.titleEdit': 'MCP · edit',
302
+ 'mcp.field.name': 'Name',
303
+ 'mcp.field.type': 'Type',
304
+ 'mcp.field.timeout': 'Timeout (ms)',
305
+ 'mcp.field.command': 'Command',
306
+ 'mcp.field.args': 'Arguments',
307
+ 'mcp.field.env': 'Environment (JSON)',
308
+ 'mcp.field.url': 'URL',
309
+ 'mcp.field.headers': 'Headers (JSON)',
310
+ 'mcp.field.scope': 'Scope',
311
+ 'mcp.field.path': 'Path',
312
+ 'mcp.field.enabled': 'Enabled',
313
+ 'mcp.field.save': 'Save',
314
+ 'mcp.field.remove': 'Remove',
315
+ 'mcp.choice.stdio': 'Local command (stdio)',
316
+ 'mcp.choice.http': 'HTTP (streamable)',
317
+ 'mcp.choice.sse': 'SSE (legacy HTTP+SSE)',
318
+ 'mcp.choice.scopeUser': 'User — every session',
319
+ 'mcp.choice.scopePath': 'Path — sessions under a directory',
320
+ 'mcp.removeConfirm': 'Remove this MCP server and disconnect it?',
321
+ 'mcp.saved': 'MCP server saved',
322
+ 'mcp.added': 'MCP server added',
323
+ 'mcp.removed': 'MCP server removed',
324
+ 'mcp.error.name': 'name must be 1-32 characters of letters, digits, "-" or "_"',
325
+ 'mcp.error.duplicate': 'an MCP server named "{name}" is already configured',
326
+ 'mcp.error.timeout': 'timeoutMs must be a whole number between 1 and {max}',
327
+ 'mcp.error.pathNeeded': 'a path-scoped server needs a directory',
328
+ 'mcp.error.pathAbsolute': 'the path scope must be an absolute directory',
329
+ 'mcp.error.commandNeeded': 'a stdio server needs a command',
330
+ 'mcp.error.urlParse': 'URL cannot be parsed',
331
+ 'mcp.error.urlScheme': 'URL must use http or https',
332
+ 'mcp.error.pathNotDir': 'the path scope is not a directory: {path}',
333
+ 'mcp.error.configIsDir': 'the config file path is a directory: {path}',
334
+ 'mcp.error.notFound': 'no MCP server named "{name}" is configured',
335
+ 'mcp.error.documentGone': 'the document defining "{name}" is gone: {error}',
336
+ 'mcp.error.noClient': 'the host provides no MCP client',
337
+ 'mcp.error.connectTimeout': 'connecting to {name} timed out',
338
+ 'mcp.error.json': 'the document is not valid JSON: {error}',
339
+ 'mcp.error.jsonObject': 'the document must be a JSON object',
340
+ 'mcp.error.serversObject': '"servers" must be a JSON object',
341
+ 'mcp.error.argsArray': 'arguments must be a JSON array of strings',
342
+ 'mcp.error.argsTypes': 'arguments must be strings or numbers',
343
+ 'mcp.error.argsUnclosed': 'arguments have an unclosed quote',
344
+ 'mcp.error.envObject': '{label} must be a JSON object',
345
+ 'mcp.error.envValue': '{label} value "{name}" must be a string, number or boolean',
346
+ 'mcp.error.header': 'invalid HTTP header "{name}"',
347
+ 'mcp.error.envName': 'invalid environment name "{name}"',
348
+
349
+ // ---- rewind -------------------------------------------------------------
350
+ 'rewind.title': 'Rewind',
351
+ 'rewind.restoreTo': 'Restore to the point before: {label}',
352
+ 'rewind.restorePrompt': 'Restore the conversation to the point before…',
353
+ 'rewind.empty': 'Nothing to rewind to yet.',
354
+ 'rewind.option.conversation': 'Restore conversation',
355
+ 'rewind.option.both': 'Restore conversation and files',
356
+ 'rewind.option.code': 'Restore files',
357
+ 'rewind.option.cancel': 'Cancel',
358
+ 'rewind.current': '(current)',
359
+ 'rewind.noPoints': 'no user messages to rewind to',
360
+ 'rewind.unknownPoint': 'unknown rewind point "{selector}" — use a number or last',
361
+ 'rewind.noPoint': 'no rewind point {n} — 1..{count}',
362
+ 'rewind.notGit': 'not a git worktree',
363
+ 'rewind.noBackup': 'no backup location',
364
+ 'rewind.filesNotRestored': 'files not restored',
365
+ 'rewind.filesNotRestoredReason': 'files not restored ({reason})',
366
+ 'rewind.restored.one': 'restored {count} tracked file from HEAD',
367
+ 'rewind.restored.other': 'restored {count} tracked files from HEAD',
368
+ 'rewind.removed.one': 'removed {count} new file',
369
+ 'rewind.removed.other': 'removed {count} new files',
370
+ 'rewind.skipped': 'skipped {count}',
371
+ 'rewind.previousSaved': 'previous content saved in {path}',
372
+ 'rewind.noChanges': 'no file changes after this point',
373
+ 'rewind.image': '[image]',
374
+ 'rewind.images': '[{count} images]',
375
+ 'rewind.emptyMessage': '(empty)',
376
+
377
+ // ---- update tab ---------------------------------------------------------
378
+ 'update.title': 'Update',
379
+ 'update.checking': 'Checking versions…',
380
+ 'update.fetching': 'fetching from npm registry…',
381
+ 'update.fetchingVersions': 'Fetching versions…',
382
+ 'update.versionsSubtitle': 'Enter download · Esc back',
383
+ 'update.installed': 'Installed',
384
+ 'update.latest': 'Latest (npm tag)',
385
+ 'update.status': 'Status',
386
+ 'update.versions': 'Versions',
387
+ 'update.selectVersion': 'Select version…',
388
+ 'update.restartApply': 'Restart to apply {version}',
389
+ 'update.enterRestart': 'Enter restart',
390
+ 'update.discard': 'Discard downloaded {version}',
391
+ 'update.actions': 'Actions',
392
+ 'update.checkNow': 'Check now',
393
+ 'update.checkingShort': 'Checking…',
394
+ 'update.startupCheck': 'Startup check',
395
+ 'update.profile': 'profile',
396
+ 'update.dshPackage': 'dsh (@deepseek-ai/dsh)',
397
+ 'update.statusCorrupt': 'Install damaged — reinstall below',
398
+ 'update.statusError': 'Registry check failed: {error}',
399
+ 'update.statusAvailable': 'Update available → {version}',
400
+ 'update.statusUpToDate': 'Up to date',
401
+ 'update.statusNoStable': 'No stable release — pick from Versions',
402
+ 'update.notOnPath': 'not found on PATH',
403
+ 'update.subtitleStaged': '{package} {version} downloaded — restart to apply',
404
+ 'update.subtitleIdle': 'Enter select · download, then restart to apply',
405
+ 'update.download': 'Download',
406
+ 'update.contacting': 'contacting the registry…',
407
+ 'update.version': 'Version',
408
+ 'update.savingTo': 'Saving to',
409
+ 'update.escCancels': 'Esc cancels',
410
+ 'update.restartApplyQ': 'Restart to apply {label} {version}? (already downloaded)',
411
+ 'update.downloadQ': 'Download {label} {version} and restart to apply?',
412
+ 'update.localSwitch': ' — switches the local install to a registry version',
413
+ 'update.downloaded': 'downloaded · restart to apply',
414
+ 'update.downloadedToast': '{label} {version} downloaded · apply it from the Update tab',
415
+ 'update.downloadedConfirm': 'Downloaded restart to apply {label} {version}? (y/n)',
416
+ 'update.alreadyDownloadedConfirm': 'Already downloaded · restart to apply {label} {version}? (y/n)',
417
+ 'update.downloadCancelled': 'download cancelled',
418
+ 'update.downloadFailed': 'download failed: {error}',
419
+ 'update.stagedGone': 'the staged download is gone — pick the version again',
420
+ 'update.locks.one': 'cannot apply while dsh runs in {count} other process — close it and retry',
421
+ 'update.locks.other': 'cannot apply while dsh runs in {count} other processes — close them and retry',
422
+ 'update.noNpm': 'cannot apply: npm was not found',
423
+ 'update.noDshCli': 'cannot apply: the dsh CLI was not found',
424
+ 'update.installerFailed': 'cannot start the installer — restart dsh to apply {label}',
425
+ 'update.applying': 'applying {label} · exiting, restarting…',
426
+ 'update.stagedDiscarded': 'staged download discarded',
427
+ 'update.tagCached': 'cached',
428
+ 'update.tagStaged': 'staged',
429
+ 'update.installFailed': 'Install failed (exit {code}) — retry from Versions',
430
+ 'update.installFailedRetry': 'open Update → dsh-oc-tui → Versions, then pick a version to download again',
431
+ 'update.installUnreadable': 'install reported success but the installed version is {installed} (expected {expected}) — repair: {repair}',
432
+ 'update.registryUnreachable': 'registry unreachable: {error}',
433
+ 'update.notOnRegistry': '{package} is not on the registry',
434
+ 'update.registryHttp': 'registry returned HTTP {status} for {package}',
435
+ 'update.noTarballUrl': 'registry response carries no tarball URL',
436
+ 'update.downloadHttp': 'download failed: HTTP {status} for {url}',
437
+ 'update.downloadEmpty': 'download failed: empty response body',
438
+ 'update.integrityFailed': 'integrity check failed for {file} — download discarded',
439
+ 'update.npmMissing': 'npm not found on PATH',
440
+ 'update.npmViewFailed': 'npm view {package} exited {code}',
441
+ 'update.timedOut': '\n(timed out after {ms}ms)',
442
+ 'update.noOutput': '(no output)',
443
+
444
+ // ---- commands -----------------------------------------------------------
445
+ 'command.settings': 'Open the TUI settings pages',
446
+ 'command.help': 'Show the TUI key and command reference',
447
+ 'command.stats': 'Show session token and cache statistics',
448
+ 'command.new': 'Start a new session',
449
+ 'command.resume': 'Resume a persisted session',
450
+ 'command.clear': 'Clear the transcript',
451
+ 'command.cancel': 'Cancel the running turn',
452
+ 'command.rewind': 'Rewind the session to an earlier point',
453
+ 'command.quit': 'Leave the TUI',
454
+
455
+ // ---- help overlay -------------------------------------------------------
456
+ 'help.title': 'DeepSeek Harness TUI — help',
457
+ 'help.enter': 'Enter',
458
+ 'help.enterDesc': 'send message',
459
+ 'help.ctrlEnter': 'Ctrl+Enter',
460
+ 'help.ctrlEnterDesc': 'insert newline',
461
+ 'help.ctrlC': 'Ctrl+C',
462
+ 'help.ctrlCDesc': 'cancel running turn; press again to quit',
463
+ 'help.ctrlP': 'Ctrl+P',
464
+ 'help.ctrlPDesc': 'open settings',
465
+ 'help.ctrlE': 'Ctrl+E',
466
+ 'help.ctrlEDesc': 'toggle thinking slider',
467
+ 'help.tab': 'Tab',
468
+ 'help.tabDesc': 'cycle thinking intensity',
469
+ 'help.ctrlN': 'Ctrl+N',
470
+ 'help.ctrlNDesc': 'new session',
471
+ 'help.ctrlD': 'Ctrl+D',
472
+ 'help.ctrlDDesc': 'delete session in Manage sessions (press twice)',
473
+ 'help.pg': 'PgUp / PgDn',
474
+ 'help.pgDesc': 'scroll transcript',
475
+ 'help.shiftArrows': 'Shift+↑/↓',
476
+ 'help.shiftArrowsDesc': 'scroll status rail (wide windows)',
477
+ 'help.upDown': 'Up / Down',
478
+ 'help.upDownDesc': 'caret up/down; history at edges',
479
+ 'help.mouse': 'Mouse drag',
480
+ 'help.mouseDesc': 'select text; right-click copies',
481
+ 'help.wheel': 'Wheel',
482
+ 'help.wheelDesc': 'scroll transcript / settings',
483
+ 'help.escEsc': 'Esc Esc',
484
+ 'help.escEscDesc': 'rewind picker',
485
+ 'help.esc': 'Esc',
486
+ 'help.escDesc': 'close overlay · cancel turn · clear prompt',
487
+ 'help.commands': 'Commands:',
488
+
489
+ // ---- session manager / toasts ------------------------------------------
490
+ 'session.newTitle': 'New session',
491
+ 'session.noSaved': 'No saved sessions',
492
+ 'session.manageTitle': 'Manage sessions',
493
+ 'session.manageSubtitle': 'Enter open · Ctrl+D twice to delete · Esc back',
494
+ 'session.loading': 'Loading sessions...',
495
+ 'session.deleted': 'deleted session {label}',
496
+ 'session.deleteFailed': 'delete session: {error}',
497
+ 'session.deleteNotFound': 'persisted session directory was not found',
498
+ 'session.deleteCancelled': 'delete cancelled',
499
+ 'session.resumed': 'session {id} resumed',
500
+ 'session.started': 'session {id} started',
501
+ 'session.openFailed': 'failed to open session: {error}',
502
+ 'session.forkSummary': '{label} from {parent} · {files}',
503
+ 'session.forkDropped': ' · dropped {count} inherited pending input',
504
+ 'session.conversationOnly': 'conversation only',
505
+ 'session.rewindLabel': 'rewind #{n}',
506
+ 'session.files': 'files: {summary}',
507
+ 'session.error': 'error: {error}',
508
+ 'session.interruptFirst': 'interrupt the running turn first (/cancel)',
509
+ 'session.interruptFirstEsc': 'interrupt the running turn first (Esc or /cancel)',
510
+ 'session.startFirst': 'start a session first',
511
+ 'session.noReasoningLevels': 'current model exposes no reasoning levels',
512
+ 'session.settingsUnavailable': 'settings unavailable',
513
+ 'session.interruptRequested': 'interrupt requested',
514
+ 'session.nothingToInterrupt': 'nothing to interrupt',
515
+ 'session.noSessionRunning': 'no session running',
516
+ 'session.promptCleared': 'prompt cleared',
517
+ 'session.exitAgain': 'press Ctrl+C again to exit',
518
+ 'session.usageResume': 'usage: /resume <sessionId>',
519
+ 'session.currentModel': 'current model: {model}',
520
+ 'session.modelSet': 'model set to {model} (applies to the next request)',
521
+ 'session.currentProvider': 'current provider: {provider}',
522
+ 'session.providerSet': 'provider set to {provider} (applies to the next request)',
523
+ 'session.unknownCommand': 'unknown command /{name} — try /help',
524
+ 'session.queryMissing': 'session query is not mounted in this profile',
525
+ 'session.listHeader': 'sessions:',
526
+ 'session.noPersisted': 'no persisted sessions',
527
+ 'session.listFailed': 'failed to list sessions: {error}',
528
+ 'session.modelNoImages': 'model "{model}" does not support image input',
529
+ 'session.imageAttachFailed': 'image attach failed: {error}',
530
+ 'session.attachmentsUnavailable': 'attachments service unavailable; image cannot be read',
531
+ 'session.copied.one': 'copied {count} line to clipboard',
532
+ 'session.copied.other': 'copied {count} lines to clipboard',
533
+ 'session.valueRequired': 'a value is required',
534
+ 'session.minChars': 'at least {count} characters',
535
+ 'session.maxChars': 'at most {count} characters',
536
+ 'session.answerRequired': 'select an option or type an answer',
537
+ 'session.typeAnswer': 'type an answer or press Esc',
538
+ 'session.updatesAvailable': 'Updates: {list} — Ctrl+P → Update',
539
+ 'session.versionsError': 'versions: {error}',
540
+ 'session.mcpError': 'MCP: {error}',
541
+ 'session.noClipboard': 'no clipboard path available',
542
+ 'session.unsupportedInteraction': 'unsupported interaction kind: {kind}',
543
+
544
+ // ---- tool activity summaries -------------------------------------------
545
+ 'tool.run': 'run {command}',
546
+ 'tool.askUser': 'ask user',
547
+ 'tool.askQuestions': 'ask {count} questions',
548
+ }