dsh-oc-tui 0.2.0-pre.13 → 0.2.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/lib/locales/en.js CHANGED
@@ -51,6 +51,7 @@ export default {
51
51
  'splash.hint': 'Ask anything... "Fix broken tests"',
52
52
  'splash.shortcutSettings': 'settings',
53
53
  'splash.shortcutThinking': 'thinking',
54
+ 'splash.shortcutBranches': 'branches',
54
55
 
55
56
  // ---- command-line help (dsh --profile tui --help) -----------------------
56
57
  'startup.description': 'Boot the DeepSeek Harness terminal UI.',
@@ -82,6 +83,7 @@ export default {
82
83
  'hint.model': 'select model',
83
84
  'hint.provider': 'select provider',
84
85
  'hint.rewind': 'rewind picker',
86
+ 'hint.branch': 'switch git branch',
85
87
  'hint.stats': 'session stats & token usage',
86
88
  'hint.clear': 'clear view',
87
89
  'hint.cancel': 'cancel running turn',
@@ -269,6 +271,59 @@ export default {
269
271
  'model.apiKeyEmpty': 'API key cannot be empty',
270
272
  'model.credentialsUnavailable': 'credentials service is unavailable',
271
273
  'model.noProviderModels': 'selected provider has no available models',
274
+ 'model.addCount.one': '{count} available',
275
+ 'model.addCount.other': '{count} available',
276
+
277
+ // ---- add-provider flow --------------------------------------------------
278
+ 'provider.add': 'Add provider',
279
+ 'provider.empty': 'no provider configured yet',
280
+ 'provider.pickSubtitle': 'Enter pick · Esc back',
281
+ 'provider.catalog': 'Installed providers',
282
+ 'provider.catalogEmpty': 'every installed provider is already configured',
283
+ 'provider.custom': 'Custom API — declare an endpoint',
284
+ 'provider.form.catalog': 'Adopt an installed provider',
285
+ 'provider.form.custom': 'Declare a custom provider',
286
+ 'provider.formSubtitle': 'Enter edit · Esc back',
287
+ 'provider.field.route': 'Route id',
288
+ 'provider.field.addModel': 'Add model by id',
289
+ 'provider.field.save': 'Save provider',
290
+ 'provider.hint.route': 'lowercase letters, digits and dashes · key stored as {ref}',
291
+ 'provider.error.route': 'route id must start with a letter and use lowercase letters, digits and dashes',
292
+ 'provider.error.routeNeeded': 'choose a provider',
293
+ 'provider.error.taken': 'a provider already uses this route id',
294
+ 'provider.error.baseUrl': 'the endpoint must be an http or https URL',
295
+ 'provider.error.baseUrlNeeded': 'a custom provider needs an endpoint',
296
+ 'provider.error.apiNeeded': 'choose the wire protocol this endpoint speaks',
297
+ 'provider.error.modelsNeeded': 'a custom provider needs at least one model',
298
+ 'provider.error.modelId': 'model {index} needs an id',
299
+ 'provider.error.modelDuplicate': 'model "{id}" is listed twice',
300
+ 'provider.added': 'provider added',
301
+ 'provider.accountManaged': 'signed in with your DeepSeek account',
302
+ 'provider.search': 'Search',
303
+ 'provider.searchPlaceholder': 'type to filter',
304
+ 'provider.searchEmpty': 'no provider matches "{query}"',
305
+
306
+ // ---- one model's entry --------------------------------------------------
307
+ 'model.edit': 'Edit model',
308
+ 'model.editHint': 'e edit · Del remove',
309
+ 'model.refresh': 'Refresh catalog',
310
+ 'model.selectAll': 'Select all',
311
+ 'model.fetchRefused': 'the endpoint answered with no model list',
312
+ 'model.notSaved': 'this model is not saved yet',
313
+ 'model.removed': 'model removed',
314
+ 'model.form.add': 'Add model',
315
+ 'model.form.edit': 'Model · {id}',
316
+ 'model.form.save': 'Save model',
317
+ 'model.form.remove': 'Remove from provider',
318
+ 'model.form.removeConfirm': 'Remove this model from the provider?',
319
+ 'model.field.id': 'Model id',
320
+ 'model.field.name': 'Display name',
321
+ 'model.field.contextWindow': 'Context window',
322
+ 'model.field.maxTokens': 'Max output tokens',
323
+ 'model.field.input': 'Input',
324
+ 'model.error.idNeeded': 'a model needs an id',
325
+ 'model.error.idDuplicate': 'model "{id}" is already listed',
326
+ 'model.error.capacity': 'context window and max tokens must be whole numbers (256K, 1M)',
272
327
 
273
328
  // ---- MCP tab ------------------------------------------------------------
274
329
  'mcp.title': 'MCP',
@@ -374,6 +429,24 @@ export default {
374
429
  'rewind.images': '[{count} images]',
375
430
  'rewind.emptyMessage': '(empty)',
376
431
 
432
+ // ---- git branch switcher (empty page) ------------------------------------
433
+ 'git.title': 'Git Branches',
434
+ 'git.subtitle': 'Current: {branch} · {path}',
435
+ 'git.local': 'Local branches',
436
+ 'git.remote': 'Remote branches',
437
+ 'git.empty': 'No branches in this repository.',
438
+ 'git.detached': '(detached)',
439
+ 'git.switched': 'Switched to branch {branch}',
440
+ 'git.switchFailed': 'Cannot switch to {branch}: {error}',
441
+ 'git.pullDone': 'Updates pulled',
442
+ 'git.pullFailed': 'Cannot pull updates: {error}',
443
+ 'git.listFailed': 'Cannot list branches: {error}',
444
+ 'git.notRepo': 'not a git worktree',
445
+ 'git.gitMissing': 'git is not available on PATH',
446
+ 'git.timedOut': 'git timed out',
447
+ 'git.onlyTitleScreen': 'Branch switching is only available on the empty page — use /new to leave the session',
448
+ 'git.footer': '↑/↓ select · Enter switch · P pull · R refresh · Esc close',
449
+
377
450
  // ---- update tab ---------------------------------------------------------
378
451
  'update.title': 'Update',
379
452
  'update.checking': 'Checking versions…',
@@ -450,6 +523,7 @@ export default {
450
523
  'command.clear': 'Clear the transcript',
451
524
  'command.cancel': 'Cancel the running turn',
452
525
  'command.rewind': 'Rewind the session to an earlier point',
526
+ 'command.branch': 'Switch git branches on the empty page',
453
527
  'command.quit': 'Leave the TUI',
454
528
 
455
529
  // ---- help overlay -------------------------------------------------------
@@ -468,6 +542,8 @@ export default {
468
542
  'help.tabDesc': 'cycle thinking intensity',
469
543
  'help.ctrlN': 'Ctrl+N',
470
544
  'help.ctrlNDesc': 'new session',
545
+ 'help.ctrlG': 'Ctrl+G',
546
+ 'help.ctrlGDesc': 'switch git branch (empty page)',
471
547
  'help.ctrlD': 'Ctrl+D',
472
548
  'help.ctrlDDesc': 'delete session in Manage sessions (press twice)',
473
549
  'help.pg': 'PgUp / PgDn',
@@ -545,4 +621,7 @@ export default {
545
621
  'tool.run': 'run {command}',
546
622
  'tool.askUser': 'ask user',
547
623
  'tool.askQuestions': 'ask {count} questions',
624
+
625
+ // ---- host diagnostics ----------------------------------------------------
626
+ 'diagnostics.notice': 'Host diagnostics logged to {path}',
548
627
  }