dsh-oc-tui 0.2.0 → 0.3.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.
Files changed (50) hide show
  1. package/README.md +21 -563
  2. package/bin/mcp-sse-bridge.mjs +499 -499
  3. package/docs/assets/conversation.png +0 -0
  4. package/docs/assets/cover.png +0 -0
  5. package/docs/assets/home.png +0 -0
  6. package/docs/assets/settings.png +0 -0
  7. package/docs/dsh-std-/346/216/245/345/205/245/350/257/264/346/230/216.md +566 -0
  8. package/docs/user-guide.md +616 -0
  9. package/docs//347/224/250/346/210/267/346/211/213/345/206/214.md +607 -593
  10. package/dsh-plugin.json +69 -69
  11. package/lib/boot-block.js +129 -0
  12. package/lib/diagnostics.js +162 -120
  13. package/lib/dsh-version.js +161 -0
  14. package/lib/git-branch.js +157 -157
  15. package/lib/i18n.js +283 -283
  16. package/lib/image.js +2 -1
  17. package/lib/index.js +5183 -4812
  18. package/lib/locales/ar.js +670 -635
  19. package/lib/locales/de.js +639 -604
  20. package/lib/locales/en.js +35 -0
  21. package/lib/locales/es.js +639 -604
  22. package/lib/locales/fr.js +639 -604
  23. package/lib/locales/id.js +641 -606
  24. package/lib/locales/it.js +639 -604
  25. package/lib/locales/ja.js +639 -604
  26. package/lib/locales/ko.js +639 -604
  27. package/lib/locales/nl.js +639 -604
  28. package/lib/locales/pl.js +653 -618
  29. package/lib/locales/pt-BR.js +639 -604
  30. package/lib/locales/ru.js +653 -618
  31. package/lib/locales/tr.js +639 -604
  32. package/lib/locales/vi.js +641 -606
  33. package/lib/locales/zh-CN.js +640 -605
  34. package/lib/locales/zh-TW.js +640 -605
  35. package/lib/markdown.js +101 -27
  36. package/lib/mcp-monitor.js +189 -0
  37. package/lib/mcp-skill.js +93 -93
  38. package/lib/mcp.js +865 -838
  39. package/lib/model-route.js +66 -0
  40. package/lib/providers.js +712 -712
  41. package/lib/screenshot.js +140 -0
  42. package/lib/splash-opencode.js +29 -26
  43. package/lib/startup.js +66 -48
  44. package/lib/term.js +53 -11
  45. package/lib/themes.js +101 -0
  46. package/lib/ui.js +685 -443
  47. package/lib/updates.js +5 -2
  48. package/lib/web-settings.js +52 -21
  49. package/package.json +160 -146
  50. package/skills/mcp-import/SKILL.md +216 -216
package/lib/locales/en.js CHANGED
@@ -46,6 +46,8 @@ export default {
46
46
  'value.local': 'local',
47
47
  'value.textOnly': 'text only',
48
48
  'value.textImage': 'text + image',
49
+ 'value.show': 'show',
50
+ 'value.hide': 'hide',
49
51
 
50
52
  // ---- title screen -------------------------------------------------------
51
53
  'splash.hint': 'Ask anything... "Fix broken tests"',
@@ -96,6 +98,7 @@ export default {
96
98
  'transcript.turns.other': '{count} turns',
97
99
  'transcript.steps.one': '{count} step',
98
100
  'transcript.steps.other': '{count} steps',
101
+ 'transcript.modelChanged': 'Model changed from {from} to {to}',
99
102
  'transcript.thinking': ' thinking',
100
103
  'transcript.streaming': ' · streaming…',
101
104
  'transcript.steeringBadge': ' ⟲ steering',
@@ -106,6 +109,7 @@ export default {
106
109
  'transcript.queued': ' queued',
107
110
  'note.systemReminder': 'system-reminder',
108
111
  'note.compaction': 'compaction',
112
+ 'note.runtimeContext': 'runtime context',
109
113
 
110
114
  // ---- images and mermaid -------------------------------------------------
111
115
  'image.attachment': '🖼 image attachment',
@@ -116,6 +120,8 @@ export default {
116
120
  'image.altFallback': 'image',
117
121
 
118
122
  // ---- composer / approval prompt ----------------------------------------
123
+ 'composer.keys': "Enter send · Ctrl+Enter newline · Ctrl+P settings",
124
+ 'composer.commandKeys': "↑/↓ select · Tab complete · Esc close",
119
125
  'composer.imageHint': 'Pasted image: use a multimodal model/plugin or deepseek-v4-flash-vision-exp, otherwise the image cannot be read',
120
126
  'composer.approval': 'Approval · ',
121
127
  'composer.summary': 'Summary · ',
@@ -188,6 +194,19 @@ export default {
188
194
  // ---- secret prompt ------------------------------------------------------
189
195
  'secret.hint': 'Enter to submit · Esc to cancel',
190
196
 
197
+ // ---- boot gate: the dsh version this build may run on ----
198
+ 'boot.unsupportedTitle': 'Unsupported dsh version',
199
+ 'boot.unverifiedTitle': 'Unverified dsh version',
200
+ 'boot.runningLabel': 'running dsh',
201
+ 'boot.supportedLabel': 'supported',
202
+ 'boot.recommendedLabel': 'recommended',
203
+ 'boot.verifiedLabel': 'verified',
204
+ 'boot.unsupportedBody': 'This dsh-oc-tui build supports {range} only, and {version} is outside it. Sessions cannot run until dsh matches a supported version.',
205
+ 'boot.unverifiedBody': 'This dsh-oc-tui build was verified against {verified}, not {version}. Install {recommended} to be sure it works.',
206
+ 'boot.installHint': 'Install the recommended dsh, then start this profile again:',
207
+ 'boot.updatePluginHint': 'If a newer dsh-oc-tui already supports this dsh, update the plugin instead:',
208
+ 'boot.exitHint': 'Esc or Ctrl+C exits',
209
+
191
210
  // ---- settings dialog chrome --------------------------------------------
192
211
  'settings.title': 'Settings',
193
212
  'settings.menu': 'MENU',
@@ -223,6 +242,8 @@ export default {
223
242
  'settings.graphics': 'Graphics',
224
243
  'settings.sessions': 'Sessions',
225
244
  'settings.system': 'System',
245
+ 'settings.developer': 'Developer',
246
+ 'settings.contextDetails': 'Context details',
226
247
  'settings.busyEnter': 'Busy Enter',
227
248
  'settings.defaultPreset': 'Default preset',
228
249
  'settings.permissionPreset': 'Permission preset',
@@ -237,6 +258,12 @@ export default {
237
258
  'settings.updateManager': 'Update manager',
238
259
  'settings.settingsFile': 'Settings file',
239
260
  'settings.language': 'Language',
261
+ 'settings.theme': 'Theme',
262
+ 'theme.deepseek': 'DeepSeek Standard',
263
+ 'theme.github-dark': 'GitHub Dark',
264
+ 'theme.dracula': 'Dracula',
265
+ 'theme.vscode-dark': 'VS Code Dark+',
266
+ 'theme.nord': 'Nord',
240
267
  'settings.languageSystem': 'System ({language})',
241
268
  'settings.languageSaved': 'language: {language}',
242
269
 
@@ -350,6 +377,8 @@ export default {
350
377
  'mcp.state.pending': '… connecting',
351
378
  'mcp.state.disabled': '○ disabled',
352
379
  'mcp.state.idle': '○ not connected',
380
+ 'mcp.notice.connected': "MCP {name}: connected",
381
+ 'mcp.notice.failed': "MCP {name}: connection failed",
353
382
  'mcp.form.add': 'Add MCP server',
354
383
  'mcp.form.edit': 'Edit MCP server · {name}',
355
384
  'mcp.titleAdd': 'MCP · add',
@@ -624,4 +653,10 @@ export default {
624
653
 
625
654
  // ---- host diagnostics ----------------------------------------------------
626
655
  'diagnostics.notice': 'Host diagnostics logged to {path}',
656
+
657
+ // ---- screenshots --------------------------------------------------------
658
+ "screenshot.shortcut": "Screenshot",
659
+ "screenshot.directory": "Screenshot folder",
660
+ "screenshot.saved": "Screenshot saved",
661
+ "screenshot.failed": "Screenshot failed",
627
662
  }