@michengai/dsh-codex-ui 2.0.19 → 2.0.21

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 (60) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/CHANGELOG.zh-CN.md +11 -0
  3. package/README.de.md +196 -0
  4. package/README.en.md +8 -5
  5. package/README.es.md +196 -0
  6. package/README.fr.md +196 -0
  7. package/README.ja.md +196 -0
  8. package/README.md +8 -5
  9. package/README.pt.md +196 -0
  10. package/README.ru.md +196 -0
  11. package/README.zh-CN.md +8 -5
  12. package/lib/client.js +1292 -69
  13. package/lib/desktop-menu-plugin.mjs +1 -1
  14. package/lib/index.mjs +266 -734
  15. package/lib/session-title-plugin.mjs +1246 -26
  16. package/locale/composer/de.json +6 -0
  17. package/locale/composer/es.json +6 -0
  18. package/locale/composer/fr.json +6 -0
  19. package/locale/composer/ja.json +6 -0
  20. package/locale/composer/pt.json +6 -0
  21. package/locale/composer/ru.json +6 -0
  22. package/locale/de.json +7 -0
  23. package/locale/desktop-menu/de.json +6 -0
  24. package/locale/desktop-menu/es.json +6 -0
  25. package/locale/desktop-menu/fr.json +6 -0
  26. package/locale/desktop-menu/ja.json +6 -0
  27. package/locale/desktop-menu/pt.json +6 -0
  28. package/locale/desktop-menu/ru.json +6 -0
  29. package/locale/en.json +2 -1
  30. package/locale/es.json +7 -0
  31. package/locale/fr.json +7 -0
  32. package/locale/ja.json +7 -0
  33. package/locale/pt.json +7 -0
  34. package/locale/ru.json +7 -0
  35. package/locale/session-title/de.json +6 -0
  36. package/locale/session-title/es.json +6 -0
  37. package/locale/session-title/fr.json +6 -0
  38. package/locale/session-title/ja.json +6 -0
  39. package/locale/session-title/pt.json +6 -0
  40. package/locale/session-title/ru.json +6 -0
  41. package/locale/settings-skin/de.json +6 -0
  42. package/locale/settings-skin/es.json +6 -0
  43. package/locale/settings-skin/fr.json +6 -0
  44. package/locale/settings-skin/ja.json +6 -0
  45. package/locale/settings-skin/pt.json +6 -0
  46. package/locale/settings-skin/ru.json +6 -0
  47. package/locale/sidebar/de.json +6 -0
  48. package/locale/sidebar/es.json +6 -0
  49. package/locale/sidebar/fr.json +6 -0
  50. package/locale/sidebar/ja.json +6 -0
  51. package/locale/sidebar/pt.json +6 -0
  52. package/locale/sidebar/ru.json +6 -0
  53. package/locale/theme/de.json +6 -0
  54. package/locale/theme/es.json +6 -0
  55. package/locale/theme/fr.json +6 -0
  56. package/locale/theme/ja.json +6 -0
  57. package/locale/theme/pt.json +6 -0
  58. package/locale/theme/ru.json +6 -0
  59. package/locale/zh.json +2 -1
  60. package/package.json +32 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.21] - 2026-11-10
4
+
5
+ - **Native Companion Plugin Installation and Updates**: The About section's companion plugin list now delegates directly to host native plugin management, enabling seamless in-place installation, version upgrades, and batch synchronization for all companion extensions with real-time progress indicators.
6
+ - **Precise Diagnostic Feedback Across All 8 Languages**: When network timeouts, missing packages, or build blocks occur, error prompts clearly specify the underlying cause and actionable recommendations. Concurrent installation attempts and special plugin states present clear, localized guidance across all 8 supported languages.
7
+ - **Immediate State Synchronization During Batch Updates**: Batch update operations now immediately reflect installed extensions in the UI as they finish, ensuring completed updates are visible right away without requiring a page reload.
8
+
9
+ ## [2.0.20] - 2026-11-09
10
+
11
+ - **Full Support for All 8 Official DeepSeek Harness Languages**: Seamlessly integrated with the official localization system, providing native translations for Chinese, English, Japanese, Spanish, French, German, Russian, and Portuguese (`zh`, `en`, `ja`, `es`, `fr`, `de`, `ru`, `pt`). All starter suggestions, fullscreen settings workbench, sidebar partitions, context menus, and desktop window controls adapt immediately when switching languages.
12
+ - **Multilingual Semantic Session Titles**: Auto-generated session titles now fully support all 8 official languages. Starting a conversation in Japanese, Russian, German, or other supported languages produces natural, consistent category tags and themes tailored to the selected language.
13
+
3
14
  ## [2.0.19] - 2026-11-05
4
15
 
5
16
  - **Mark Sessions as Unread / Read from Row Menu**: Right-click any conversation row or open its action menu to toggle sessions between "Mark as unread" and "Mark as read". Marked unread conversations instantly restore native green status dots and update the sidebar unread counter badge; opening or remarking clears them cleanly. The action item is neatly placed directly after "Pin session" and works consistently across all host versions.
@@ -1,5 +1,16 @@
1
1
  # 更新日志
2
2
 
3
+ ## [2.0.21] - 2026-11-10
4
+
5
+ - **配套插件管理支持原生安装与更新**:关于页「配套管理插件」全面接入宿主官方原生插件管理能力,支持一键单独安装、版本升级或批量同步更新未安装与落后版本的插件,操作过程展示官方阶段进度条。
6
+ - **精准故障诊断与 8 语言错误指引**:当网络超时、依赖包未找到或构建受阻时,提示条明确指出具体原因与操作建议;并发安装或重复触发时给出清晰状态反馈,所有错误与警告在全部 8 门内置语言下均有完整地道翻译。
7
+ - **批量更新即时同步**:批量更新多个插件时,成功安装的项目在界面上即刻更新为已生效状态,不再因个别插件失败而整页停留在旧状态。
8
+
9
+ ## [2.0.20] - 2026-11-09
10
+
11
+ - **全量支持 DeepSeek Harness 官方 8 门内置语言**:深度适配官方多语言架构,完整支持中文、英语、日语、西班牙语、法语、德语、俄语与葡萄牙语(`zh`, `en`, `ja`, `es`, `fr`, `de`, `ru`, `pt`)。无论宿主环境切换为哪种语言,输入框增强建议、全屏设置面板、侧边栏分区、右键菜单与桌面窗口菜单均以对应语言原生呈现。
12
+ - **多语言智能会话标题**:会话标题自动提取与分类全面打通 8 门语言。在日语、俄语、德语等不同语言环境下发起对话时,智能生成的会话标题将自动采用契合当前语言的类型前缀与主题表达,不再出现语言混杂。
13
+
3
14
  ## [2.0.19] - 2026-11-05
4
15
 
5
16
  - **会话行右键菜单支持「标记为未读 / 标记为已读」**:在会话列表中右键点击任意会话或点击操作菜单,可直接将已读会话重新标记为未读状态,行首立即恢复原生绿色未读状态点,并同步计入侧边栏水位线计数;再次右键可随时切换为「标记为已读」清除状态。选项在右键菜单中精准排列在「置顶会话」之后,并全面适配各版本宿主。
package/README.de.md ADDED
@@ -0,0 +1,196 @@
1
+ <p align="center">
2
+ <img src="assets/branding/dsh-banner.png" alt="DSH Codex UI" width="100%">
3
+ </p>
4
+
5
+ <div align="center">
6
+
7
+ # DSH Codex UI v2.0
8
+
9
+ **Moderne UI-Suite für DeepSeek Harness: Schneller Eingabeverlauf, Vollbild-Einstellungs-Workbench, physische Milchglas-Themes und modulare Seitenleiste**
10
+
11
+ [简体中文](README.zh-CN.md) · [English](README.en.md) · [日本語](README.ja.md) · [Español](README.es.md) · [Français](README.fr.md) · [Deutsch](README.de.md) · [Русский](README.ru.md) · [Português](README.pt.md)
12
+
13
+ [Änderungsprotokoll](CHANGELOG.md) · [Apache-2.0](LICENSE)
14
+
15
+ [![Lizenz: Apache-2.0](https://img.shields.io/badge/Lizenz-Apache--2.0-blue.svg)](LICENSE)
16
+ [![npm package](https://img.shields.io/npm/v/%40michengai%2Fdsh-codex-ui.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-codex-ui)
17
+ [![npm Downloads](https://img.shields.io/npm/dt/%40michengai%2Fdsh-codex-ui.svg?label=npm%20Downloads&v=2)](https://www.npmjs.com/package/@michengai/dsh-codex-ui)
18
+ [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-codex-ui)
19
+ [![Node.js 22 oder höher](https://img.shields.io/badge/Node.js-22%20or%20later-339933.svg?logo=node.js&logoColor=white)](https://nodejs.org/)
20
+
21
+ </div>
22
+
23
+ > **Hinweis**: DSH Codex UI ist ein von der Community gepflegtes Interface-Plugin für DeepSeek Harness (DSH) und kein offizielles Produkt von DeepSeek AI.
24
+
25
+ ---
26
+
27
+ ## Warum Codex UI 2.0 wählen?
28
+
29
+ Bei der täglichen Nutzung von DeepSeek Harness kann die Standardoberfläche durch enge Dialogfenster, eintönige Farben, unübersichtliche Seitenleisten oder verlorene Eingabeverläufe einschränken. **Codex UI 2.0 wurde von Grund auf neu konzipiert**, basierend auf **sechs entkoppelten Sub-Plugins und integrierter Ökosystem-Verwaltung** mit nativer Ausrichtung und hoher Ausführungsgeschwindigkeit:
30
+
31
+ * 🚀 **Schneller Eingabeverlauf & smarte Vorhersage**: Intelligente Inline-Vorhersage (`Tab` zum Übernehmen, `Alt+Ab/Auf` zum Wechseln), Terminal-Eingabeverlauf (`↑` / `↓`) und anpassbare Breitenregler;
32
+ * 🪟 **Vollbild-Einstellungs-Workbench**: Ersetzt beengte Dialoge durch eine Ambient Ground Diffuslicht-Fläche und schwebende Karten-Arbeitsbereiche;
33
+ * 🎨 **Physisches Milchglas & Themes**: 7 hochwertige Farbpaletten (inklusive Codex Anthrazit und Papierweiß), flache vs. schwebende Glimmer-Layoutmodi, 3 Unschärfe-Stufen und Bodenglanz-Schalter;
34
+ * 🧭 **Modulare Seitenleiste**: Sanftes Akkordeon-Menü und freies Drag-and-Drop-Sortieren; im eingeklappten Zustand **zu 100% am offiziellen 56px-Symbolstreifen ausgerichtet**;
35
+ * 🧠 **Intelligente Sitzungstitel**: Semantische Analyse der ersten Nachricht für normierte Titel, passend für Reasoning-Modelle mit langen Kontexten;
36
+ * 🌐 **Vollständige Unterstützung aller 8 offiziellen Sprachen**: Umfassender Support für Deutsch, Englisch, Chinesisch, Japanisch, Spanisch, Französisch, Russisch und Portugiesisch (`de`, `en`, `zh`, `ja`, `es`, `fr`, `ru`, `pt`), inklusive UI-Texten, Vorschlagskarten, Kontextmenüs und Sitzungstiteln;
37
+ * 🖥️ **Desktop-Fenstermenüs**: Integriert ein Hilfemenü in die Desktop-Titelleiste mit Ansichtsaktualisierung und zuverlässigem Neustart von App und Host;
38
+ * 📦 **Ökosystem-Verwaltung**: Zentrales Dashboard für offizielle und Drittanbieter-Plugins, Versionsprüfung und 1-Klick-Batch-Updates.
39
+
40
+ ---
41
+
42
+ ## Architekturelle Evolution: Warum ein vollständiger Rewrite?
43
+
44
+ ### 1. Das Dilemma der 1.x-Linie: Technische Schulden durch invasive Overrides
45
+ In den Anfangstagen des DSH-Ökosystems gab es weder standardisierte Slots-Registrierungen noch offizielle Primitive-Komponenten. Version 1.x musste DOM-Knoten direkt manipulieren und globale CSS-Stile erzwingen.
46
+ Jedes Host-Update konnte Stile unvorhersehbar zerstören, und beim Deaktivieren von Themes blieben globale Farbdefinitionen oft isoliert zurück.
47
+
48
+ ### 2. Designprinzipien der 2.0: Konsequente Ausrichtung auf offizielle Standards
49
+ Mit Version 2.0.0 wurde der alte Überschreibungscode vollständig **verworfen** und ein modernes Micro-Kernel-Fundament geschaffen:
50
+ * 🏛️ **Konsequente Nutzung offizieller Primitives und Slots**: Keine handgezeichneten CSS-Widgets mehr; ausschließlicher Einsatz der offiziellen `Switch`- und `Button`-Elemente;
51
+ * 🧩 **6 modulare Sub-Plugins**: Saubere Schnittstellen garantieren unabhängige Lebenszyklen und strikte Wartbarkeit;
52
+ * 🛡️ **Fail-Closed Sicherheitskontrakte**: Bei Deaktivierung eines Moduls werden alle injizierten Stile und Einstellungen rückstandslos aus dem DOM entfernt;
53
+ * 🔒 **Saubere Profil-Isolation**: Präzise Auflösung der Profilverzeichnisse verhindert gegenseitige Beeinflussung.
54
+
55
+ ---
56
+
57
+ ## Architektur: 6 Kern-Sub-Plugins und integriertes Modul
58
+
59
+ | Sub-Plugin-ID | Name | Funktionen |
60
+ | :--- | :--- | :--- |
61
+ | `composer` | **Eingabe-Erweiterung (Composer)** | Inline-Vorhersage (`Tab`), Terminal-Verlauf (`↑`/`↓`), Arbeitsbereich-Speicher, Breitenregler und Startkarten. |
62
+ | `settings-skin` | **Natives Einstellungs-Skin (Settings Skin)** | Vollbild-Workbench, schwebendes Kartensystem, Ambient Ground-Hintergrund und native Suche. |
63
+ | `theme` | **Theme & Glasmorphismus (Theme)** | 7 Farbpaletten, Flat vs. Mica-Karten, 3 Material-Presets und Bodenglanz-Effekte. |
64
+ | `sidebar` | **Modulare Seitenleiste (Sidebar)** | Akkordeon-Schublade, Drag-and-Drop-Sortierung, ungelesen/gelesen-Markierung und 56px-Leisten-Treue. |
65
+ | `session-title` | **Sitzungstitel (Session Title)** | Automatische semantische Titelgenerierung mit 8-Sprachen-Support und bis zu 4096 Tokens. |
66
+ | `desktop-menu` | **Desktop-Menüs (Desktop Menus)** | Titelleisten-Hilfemenü für Desktop mit Seiten-Reload und sicherem Neustart von Host und App. |
67
+ | `dependencies` | **Ökosystem-Verwaltung (Integriert)** | Dashboard für DSH-Plugins mit Live-npm-Download-Zahlen und synchronisierten 1-Klick-Updates. |
68
+
69
+ ---
70
+
71
+ ## Live-Vorschau in echter Umgebung
72
+
73
+ > *Alle Bildschirmfotos wurden direkt in laufenden DeepSeek Harness Web-Instanzen über `ego-browser` aufgenommen.*
74
+
75
+ ### 1. Immersiver Arbeitsbereich und Eingabebereich (Dark Mode)
76
+ Codex Dark-Farbpalette mit zentrierten Starter-Aktionen, Aufgabenkarten und Eingabebereich mit variablen Breitenreglern sowie `↑↓`-Verlaufshinweisen.
77
+
78
+ ![Dark Mode Konversation und Eingabe](assets/screenshots/conversation.png)
79
+
80
+ ---
81
+
82
+ ### 2. Papierweißer Arbeitsbereich (Light Mode)
83
+ Codex Light-Farbpalette mit sanftem Ambient Ground Diffuslicht-Farbverlauf für ein ruhiges Leseerlebnis.
84
+
85
+ ![Light Mode Ambient Ground Arbeitsbereich](assets/screenshots/conversation-light.png)
86
+
87
+ ---
88
+
89
+ ### 3. Vollbild-Einstellungs-Workbench (Modulares Kartensystem)
90
+ Großzügige Einstellungs-Workbench mit modular strukturierten Karten, passend zu den aktiven Komponenten.
91
+
92
+ ![Vollbild Einstellungs-Workbench](assets/screenshots/settings-about.png)
93
+
94
+ ---
95
+
96
+ ### 4. Erscheinungsbild und Milchglas-Anpassung
97
+ 7 Farbauswahlkarten, Segmented Controls für Layout-Modus und Material-Weichzeichnung sowie Bodenglanz-Schalter.
98
+
99
+ ---
100
+
101
+ ### 5. Modulare Seitenleisten-Navigation (Ausgeklappt)
102
+ Frei sortierbare Navigationseinträge, Akkordeon-Fach für Werkzeuge und Schnellzugriffszeilen.
103
+
104
+ ![Modulare Seitenleiste Ausgeklappt](assets/screenshots/sidebar.png)
105
+
106
+ ---
107
+
108
+ ### 6. Offizieller nativer 56px-Streifen (Eingeklappt)
109
+ Fügt sich nahtlos in den schmalen 56px-Streifen des Hosts ein, wobei alle Symbole zentriert und der Button für neue Chats stets präsent bleiben.
110
+
111
+ ![Offizieller 56px Streifen Eingeklappt](assets/screenshots/sidebar-collapsed.png)
112
+
113
+ ---
114
+
115
+ ### 7. Erweitertes Kontextmenü für Sitzungen
116
+ Direkte Aktionen an jeder Konversation: Anheften, Umbenennen, Als ungelesen/gelesen markieren, Archivieren, Forken und sicheres Löschen.
117
+
118
+ ![Erweitertes Sitzungskontextmenü](assets/screenshots/session-menu.png)
119
+
120
+ ---
121
+
122
+ ## Host-Kompatibilität
123
+
124
+ * **Unterstützte Generationen**: Vollständige DeepSeek Harness `0.2.x`-Reihe (`>=0.2.0-rc.1 <0.3.0-0`);
125
+ * **Geprüfte Builds**: Alle `0.2.x` Release Candidates (`0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`–`0.2.1-rc.5`, `0.2.2-rc.1`);
126
+ * **Laufzeit-Anforderungen**: Node.js `^22.19.0 || >=24.0.0`, pnpm `^11.0.0`.
127
+
128
+ > ⚠️ **Wichtiger Hinweis**: Aktivieren Sie Codex UI und `ds-bot` nicht gleichzeitig, da beide Modifikationen an der Seitenleiste vornehmen.
129
+
130
+ ---
131
+
132
+ ## Installation & Erste Schritte
133
+
134
+ ### Option A: Installation per KI-Agent (Empfohlen)
135
+
136
+ Senden Sie die folgende Aufforderung an einen Agenten mit Terminal-Zugriff (ersetzen Sie `web` durch Ihr gewünschtes Profil):
137
+
138
+ ```text
139
+ Bitte installiere das DSH-Plugin @michengai/dsh-codex-ui in mein lokales web-Profil mit:
140
+ dsh plugin --profile web add @michengai/dsh-codex-ui@latest --registry=https://registry.npmjs.org/
141
+ Führe danach dsh --profile web --dump-config aus und erinnere mich an das Neuladen des Browsers.
142
+ ```
143
+
144
+ ### Option B: Manuelle Installation
145
+
146
+ In PowerShell oder MSYS Bash ausführen:
147
+
148
+ ```powershell
149
+ [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
150
+ $OutputEncoding = [System.Text.Encoding]::UTF8
151
+ dsh plugin --profile web add @michengai/dsh-codex-ui@latest --registry=https://registry.npmjs.org/
152
+ dsh --profile web --dump-config
153
+ ```
154
+
155
+ Nach der Installation DSH Web neu starten und den Browser mit `Strg + Umschalt + R` (bzw. `Cmd + Shift + R`) neu laden.
156
+
157
+ ---
158
+
159
+ ## Schnellübersicht der Bedienung
160
+
161
+ | Funktion | Anleitung |
162
+ | :--- | :--- |
163
+ | **Eingabevorschlag übernehmen** | `Tab` drücken, wenn vorausschauender Geistertext hinter dem Cursor erscheint; mit `Alt + Ab` / `Alt + Auf` Varianten wechseln oder mit `Esc` verwerfen. |
164
+ | **Vorhersage umschalten** | In **Einstellungen → Codex UI** auf der Karte „Eingabe-Erweiterungen“ umschalten. Kann für das gesamte Profil via `config.prediction: false` in `cordis.patch.yml` deaktiviert werden. |
165
+ | **Eingabeverlauf abrufen** | In leerem Eingabefeld `↑` / `↓` drücken, um durch die letzten 200 Eingaben des aktuellen Arbeitsbereichs zu blättern. |
166
+ | **Breite anpassen** | Bewegen Sie den Mauszeiger über die seitlichen Ränder der Eingabekarte und ziehen Sie die blauen Anfasser. |
167
+ | **Design & Weichzeichnung** | Unter **Einstellungen → Codex UI** aus 7 Paletten wählen und zwischen Flat- und Mica-Karten sowie Unschärfe-Stufen wechseln. |
168
+ | **Seitenleiste sortieren** | Elemente vertikal ziehen; blaue Linien signalisieren die genaue Ablageposition innerhalb oder außerhalb des Mehr-Fachs. |
169
+ | **Seitenleiste einklappen** | Oben auf der Seitenleiste auf Einklappen klicken, um zum offiziellen 56px-Symbolstreifen zu wechseln. |
170
+ | **Plugins aktualisieren** | In **Einstellungen → Codex UI** auf der Karte für Begleit-Plugins auf **Alle installieren/aktualisieren** klicken. |
171
+
172
+ ---
173
+
174
+ ## Ökosystem-Matrix
175
+
176
+ Nutzen Sie Codex UI zusammen mit den offiziellen Begleit-Plugins für einen nahtlosen Entwicklungs-Workflow:
177
+
178
+ | Plugin | Einsatzzweck |
179
+ | :--- | :--- |
180
+ | [Codex UI](https://github.com/MichengAI/dsh-codex-ui) | **UI-Kern**: Schneller Verlauf, Einstellungs-Skin, Milchglas und modulare Seitenleiste |
181
+ | [Agency Agents](https://github.com/MichengAI/dsh-agency-agents) | **Spezialisten-Matrix**: Bereitstellung und Koordination spezialisierter Agentenprofile |
182
+ | [Skills Manager](https://github.com/MichengAI/dsh-skills-manager) | **Skill-Zentrale**: Entdecken, Importieren, Aktivieren und Konfigurieren lokaler Skills |
183
+ | [Archive Manager](https://github.com/MichengAI/dsh-archive-manager) | **Sitzungsarchiv**: Tiefensuche, Wiederherstellung und Bereinigung alter Unterhaltungen |
184
+ | [IM Connect](https://github.com/MichengAI/dsh-im-connect) | **IM-Brücke**: Anbindung an WeChat, DingTalk, Feishu und QQBot |
185
+ | [Automation](https://github.com/MichengAI/dsh-automation) | **Automatisierung**: Cron-gesteuerte Workflows und Protokollierung von Ausführungsnachweisen |
186
+ | [Code Review](https://github.com/MichengAI/dsh-code-review) | **Code-Review**: `/review`-Befehl für autonome Code-Prüfungen mit Subagenten |
187
+ | [Simplify](https://github.com/MichengAI/dsh-simplify) | **Refaktorisierung**: `/simplify`-Befehl für parallele 4-Agenten-Bereinigung |
188
+ | [PUA](https://github.com/MichengAI/dsh-pua) | **Resilienz**: Fehlerbehebung, Hypothesenwechsel und Verifikation von Nachweisen |
189
+ | [BTW](https://github.com/MichengAI/dsh-btw) | **Nebenbei-Fragen**: Kurzzeitige Kontext-Fragen ohne Unterbrechung des Hauptstrangs |
190
+ | [Codex Pet](https://github.com/MichengAI/dsh-codex-pet) | **Desktop-Begleiter**: Interaktives Haustier für Freigaben und Benachrichtigungen |
191
+
192
+ ---
193
+
194
+ ## Lizenz
195
+
196
+ Veröffentlicht unter der [Apache-2.0-Lizenz](LICENSE).
package/README.en.md CHANGED
@@ -8,7 +8,9 @@
8
8
 
9
9
  **Modern Interface Suite for DeepSeek Harness: Rapid Input Recall, Full-Screen Settings Skin, Native Physical Glass Themes, and Modular Sidebar**
10
10
 
11
- [简体中文](README.md) · [Changelog](CHANGELOG.md) · [Apache-2.0](LICENSE)
11
+ [简体中文](README.zh-CN.md) · [English](README.en.md) · [日本語](README.ja.md) · [Español](README.es.md) · [Français](README.fr.md) · [Deutsch](README.de.md) · [Русский](README.ru.md) · [Português](README.pt.md)
12
+
13
+ [Changelog](CHANGELOG.md) · [Apache-2.0](LICENSE)
12
14
 
13
15
  [![License: Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](LICENSE)
14
16
  [![npm package](https://img.shields.io/npm/v/%40michengai%2Fdsh-codex-ui.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-codex-ui)
@@ -24,13 +26,14 @@
24
26
 
25
27
  ## Why Codex UI 2.0?
26
28
 
27
- When working across complex projects in DeepSeek Harness, users often encounter cramped settings modals, plain monocolor palettes, unstructured sidebars, and lost prompt history. **Codex UI 2.0 rearchitects the entire frontend experience through seven decoupled sub-plugins**, delivering a high-performance, non-intrusive, native-grade modern design:
29
+ When working across complex projects in DeepSeek Harness, users often encounter cramped settings modals, plain monocolor palettes, unstructured sidebars, and lost prompt history. **Codex UI 2.0 rearchitects the entire frontend experience through six decoupled sub-plugins and built-in companion management**, delivering a high-performance, non-intrusive, native-grade modern design:
28
30
 
29
31
  * 🚀 **Instant Prompt Recall & Smart Prediction**: Intelligent inline input prediction (`Tab` to accept, `Alt+Down/Up` to cycle), terminal-style input history (`↑` / `↓` quick recall) with isolated workspace memory and adaptive width sizing;
30
32
  * 🪟 **Full-Screen Dual-Island Settings**: Replaces cramped dialogs with Ambient Ground diffuse lighting canvas and dual floating island cards;
31
33
  * 🎨 **Native Physical Glass Themes**: 7 built-in high-quality color schemes (featuring Codex Dark & Paper Light), dual layout modes (Stock Flat vs. Mica Floating), 3-tier material presets, and ground glow switch;
32
34
  * 🧭 **Modular Dynamic Sidebar**: In-place smooth accordion drawer and fluid drag-and-drop reordering; **100% aligned with host official 56px native rail** when collapsed, keeping all icons crisp and New Session permanently visible;
33
35
  * 🧠 **Intelligent Session Titles**: Semantic understanding of initial user prompts, supporting 4096-token reasoning model contexts;
36
+ * 🌐 **Full Official Multilingual i18n Support**: Native localization across all 8 official DeepSeek Harness languages (`zh`, `en`, `ja`, `es`, `fr`, `de`, `ru`, `pt`) for starter suggestions, settings workbench, context menus, and session titles;
34
37
  * 🖥️ **Desktop Native Menus**: Injects a clean Help menu into the official desktop app titlebar, supporting native page reload and reliable cross-platform app/Host restart;
35
38
  * 📦 **Ecosystem Companion Hub**: Centralized inspection, version checking, and 1-click batch upgrades for all official and third-party companion plugins.
36
39
 
@@ -49,14 +52,14 @@ In the early days of the DeepSeek Harness (DSH) plugin ecosystem, host frontend
49
52
  ### 2. The 2.0.0 Rearchitecture Decision: Fully Embracing Host Natives
50
53
  Faced with these compounding challenges, we made the decisive choice in v2.0.0 to **completely scrap all 1.x component override code** and establish a new baseline: **zero-intrusion, micro-kernel decoupling, and native-first engineering**:
51
54
  * 🏛️ **Strict Adoption of Official Primitives & Slots**: Prohibited custom hand-drawn CSS widgets; strictly leveraged official `Switch`, `SegmentedControl`, and `Button` primitives. When collapsed, the sidebar strictly aligns with the official 56px native icon rail;
52
- * 🧩 **Seven Decoupled Micro-Kernel Sub-Plugins**: Broken down into 7 self-contained, high-cohesion sub-plugins with explicit boundaries, enabling independent lifecycle management and streamlined code audits;
55
+ * 🧩 **Six Decoupled Micro-Kernel Sub-Plugins**: Broken down into 6 self-contained, high-cohesion sub-plugins and built-in modules with explicit boundaries, enabling independent lifecycle management and streamlined code audits;
53
56
  * 🛡️ **Fail-Closed Circuit Breaker & Adaptive UI**: Implemented strict fail-closed safety contracts. When a sub-plugin is disabled or unreachable, the runtime physically cleanses all injected tokens/root attributes, while the settings UI **completely hides the defunct card (0 DOM nodes)**, reverting instantly to pristine host defaults without visual clutter;
54
57
  * 🔒 **Authoritative Profile Isolation & Self-Healing**: Unambiguous Profile directory resolution eliminates cross-profile contamination, backed by window-focus self-healing probes for resilient network handling;
55
58
  * 🎨 **Authentic Codex Tech Aesthetic**: Purged legacy green color pollution, strictly adhering to `#339cff` tech-blue, minimalist paper, and charcoal dark tones with dual layout modes and ambient ground reflection glows.
56
59
 
57
60
  ---
58
61
 
59
- ## Architecture: 7 Core Sub-Plugins
62
+ ## Architecture: 6 Core Sub-Plugins & Built-in Modules
60
63
 
61
64
  | Sub-Plugin ID | Name | Capabilities |
62
65
  | :--- | :--- | :--- |
@@ -66,7 +69,7 @@ Faced with these compounding challenges, we made the decisive choice in v2.0.0 t
66
69
  | `sidebar` | **Modular Sidebar** | In-place accordion expansion, smooth drag-and-drop reordering, and right-click “mark as unread / read” for sessions; collapses cleanly into host native 56px icon rail. |
67
70
  | `session-title` | **Intelligent Session Title** | Generates standardized session titles from initial prompt semantics, handling reasoning model outputs up to 4096 tokens. |
68
71
  | `desktop-menu` | **Desktop Native Menus** | Official desktop app titlebar menu integration with instant view reload and reliable cross-platform app/Host restart. |
69
- | `dependencies` | **Companion Management** | Centralized dashboard for official/third-party DSH companion plugins with live npm download counts and 1-click updates. |
72
+ | `dependencies` | **Companion Management (Built-in)** | Centralized dashboard for official/third-party DSH companion plugins with live npm download counts and 1-click updates. |
70
73
 
71
74
  ---
72
75
 
package/README.es.md ADDED
@@ -0,0 +1,196 @@
1
+ <p align="center">
2
+ <img src="assets/branding/dsh-banner.png" alt="DSH Codex UI" width="100%">
3
+ </p>
4
+
5
+ <div align="center">
6
+
7
+ # DSH Codex UI v2.0
8
+
9
+ **Conjunto moderno de mejoras visuales para DeepSeek Harness: Historial de comandos instantáneo, interfaz de configuración en pantalla completa, temas de cristal esmerilado nativo y barra lateral modular**
10
+
11
+ [简体中文](README.zh-CN.md) · [English](README.en.md) · [日本語](README.ja.md) · [Español](README.es.md) · [Français](README.fr.md) · [Deutsch](README.de.md) · [Русский](README.ru.md) · [Português](README.pt.md)
12
+
13
+ [Registro de cambios](CHANGELOG.md) · [Apache-2.0](LICENSE)
14
+
15
+ [![Licencia: Apache-2.0](https://img.shields.io/badge/Licencia-Apache--2.0-blue.svg)](LICENSE)
16
+ [![Paquete npm](https://img.shields.io/npm/v/%40michengai%2Fdsh-codex-ui.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-codex-ui)
17
+ [![Descargas npm](https://img.shields.io/npm/dt/%40michengai%2Fdsh-codex-ui.svg?label=descargas%20npm&v=2)](https://www.npmjs.com/package/@michengai/dsh-codex-ui)
18
+ [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-codex-ui)
19
+ [![Node.js 22 o superior](https://img.shields.io/badge/Node.js-22%20or%20later-339933.svg?logo=node.js&logoColor=white)](https://nodejs.org/)
20
+
21
+ </div>
22
+
23
+ > **Aviso**: DSH Codex UI es un complemento comunitario para DeepSeek Harness (DSH) y no es un producto oficial de DeepSeek AI.
24
+
25
+ ---
26
+
27
+ ## ¿Por qué elegir Codex UI 2.0?
28
+
29
+ En el uso diario de DeepSeek Harness, la interfaz original puede presentar ventanas de configuración estrechas, paletas monocromáticas, listas de complementos difíciles de organizar o pérdida del historial de comandos. **Codex UI 2.0 ha sido rediseñado completamente desde su arquitectura interna hasta su diseño visual**, ofreciendo un ecosistema de **seis subcomplementos desacoplados y gestión de ecosistema integrada**, de alto rendimiento y orientados a la experiencia nativa:
30
+
31
+ * 🚀 **Recuperación rápida y predicción inteligente**: Predicción de entrada en línea (`Tab` para aceptar, `Alt+Abajo/Arriba` para alternar opciones), historial estilo terminal (`↑` / `↓`), y ajuste de ancho adaptable;
32
+ * 🪟 **Panel de configuración en pantalla completa**: Sustituye cuadros de diálogo reducidos por un lienzo con iluminación difusa Ambient Ground y tarjetas flotantes;
33
+ * 🎨 **Temas de cristal físico y mica**: 7 paletas de alta calidad (incluyendo Codex Negro Carbón y Blanco Papel), modos de diseño plano y flotante, 3 niveles de desenfoque y destellos en el suelo;
34
+ * 🧭 **Barra lateral modular**: Acordeón suave y reordenación libre por arrastre; cuando se colapsa, se alinea al 100% con el riel oficial de 56px;
35
+ * 🧠 **Títulos inteligentes de sesión**: Extracción semántica del primer mensaje para generar títulos estructurados adaptados a modelos de razonamiento;
36
+ * 🌐 **Compatibilidad multilingüe con los 8 idiomas oficiales**: Soporte completo para español, inglés, chino, japonés, francés, alemán, ruso y portugués (`es`, `en`, `zh`, `ja`, `fr`, `de`, `ru`, `pt`), adaptando textos, tarjetas de inicio, menús contextuales y títulos de sesión;
37
+ * 🖥️ **Menús de ventana de escritorio**: Integración en la barra de menús del sistema con recarga de vistas y reinicio seguro multiplataforma del Host;
38
+ * 📦 **Gestión del ecosistema**: Panel unificado para complementos oficiales y de terceros, verificación de versiones y actualización en lote en un clic.
39
+
40
+ ---
41
+
42
+ ## Evolución Arquitectónica: ¿Por qué una reescritura total?
43
+
44
+ ### 1. El dilema de la versión 1.x: Deuda técnica por sobrescritura agresiva
45
+ En las primeras etapas del ecosistema DSH, no existían registros de Slots ni componentes headless estables. La versión 1.x recurrió a sobrescribir elementos DOM de forma agresiva e inyectar hojas de estilo CSS globales.
46
+ Esto provocaba que cualquier cambio mínimo en el DOM del Host rompiera los estilos, además de dejar tokens CSS huérfanos al desactivar temas, causando estados incoherentes.
47
+
48
+ ### 2. Principios de diseño de la versión 2.0: Respeto nativo y desacoplamiento
49
+ En 2.0.0 eliminamos todo el código de sobrescritura de 1.x y adoptamos una arquitectura de micro-núcleo:
50
+ * 🏛️ **Uso estricto de componentes nativos y Slots**: Eliminamos widgets CSS dibujados a mano, usando exclusivamente los primitivos oficiales `Switch` y `Button`;
51
+ * 🧩 **6 subcomplementos modulares**: Cada subcomponente posee un ciclo de vida independiente y límites de responsabilidad claros;
52
+ * 🛡️ **Seguridad fail-closed**: Al desactivar un módulo, sus estilos y tarjetas se purgan de inmediato de la memoria y del DOM sin dejar residuos;
53
+ * 🔒 **Aislamiento riguroso de perfiles**: Resolución inequívoca de directorios de perfil para evitar interferencias cruzadas.
54
+
55
+ ---
56
+
57
+ ## Arquitectura: 6 Subcomplementos Principales y Módulo Integrado
58
+
59
+ | ID de Subcomplemento | Nombre | Funcionalidad |
60
+ | :--- | :--- | :--- |
61
+ | `composer` | **Mejoras de Entrada (Composer)** | Predicción inteligente (`Tab`), historial terminal (`↑`/`↓`), almacenamiento por espacio de trabajo, tiradores de ancho y tarjetas de sugerencias. |
62
+ | `settings-skin` | **Configuración Nativa (Settings Skin)** | Distribución en pantalla completa, tarjetas flotantes, fondo Ambient Ground y búsqueda nativa. |
63
+ | `theme` | **Temas y Cristal (Theme)** | 7 paletas de colores, modos Plano vs. Mica Flotante, 3 preajustes de desenfoque y destellos de suelo. |
64
+ | `sidebar` | **Barra Lateral Modular (Sidebar)** | Acordeón integrado, reordenación por arrastre, marcado como no leído/leído y alineación exacta con el riel nativo de 56px. |
65
+ | `session-title` | **Título de Sesión (Session Title)** | Generación estandarizada de títulos según la semántica inicial con soporte de 8 idiomas y hasta 4096 tokens de razonamiento. |
66
+ | `desktop-menu` | **Menús de Escritorio (Desktop Menus)** | Menú de ayuda en la barra de títulos con recarga de página y reinicio seguro del sistema y del Host. |
67
+ | `dependencies` | **Gestor de Ecosistema (Integrado)** | Monitorización de dependencias, recuento de descargas npm en tiempo real y actualización en lote. |
68
+
69
+ ---
70
+
71
+ ## Capturas de Pantalla en Entorno Real
72
+
73
+ > *Todas las capturas han sido tomadas directamente en entornos reales de ejecución de DeepSeek Harness Web usando `ego-browser`.*
74
+
75
+ ### 1. Espacio de trabajo inmersivo y campo de entrada (Modo Oscuro)
76
+ Paleta Codex Dark con acciones destacadas centradas, tarjetas de tareas y campo de entrada inferior con tiradores adaptables e indicación de historial `↑↓`.
77
+
78
+ ![Modo Oscuro Conversación y Entrada](assets/screenshots/conversation.png)
79
+
80
+ ---
81
+
82
+ ### 2. Espacio de trabajo blanco papel (Modo Claro)
83
+ Paleta Codex Light respaldada por el degradado de iluminación difusa Ambient Ground, brindando una lectura agradable y relajante.
84
+
85
+ ![Modo Claro Ambient Ground](assets/screenshots/conversation-light.png)
86
+
87
+ ---
88
+
89
+ ### 3. Panel de configuración en pantalla completa (Tarjetas Modulares)
90
+ Amplio espacio de trabajo organizado en tarjetas dinámicas según los módulos activos del sistema.
91
+
92
+ ![Panel de Configuración Completo](assets/screenshots/settings-about.png)
93
+
94
+ ---
95
+
96
+ ### 4. Personalización de temas y textura de cristal
97
+ 7 tarjetas de paleta de color (Oficial, Codex Negro y Blanco, Mocha, Macchiato, Frappé, Latte), controles de distribución y niveles de desenfoque.
98
+
99
+ ---
100
+
101
+ ### 5. Navegación en barra lateral modular (Expandida)
102
+ Entradas reordenables, cajón tipo acordeón para herramientas complementarias y filas fijadas de acceso rápido.
103
+
104
+ ![Barra Lateral Modular Expandida](assets/screenshots/sidebar.png)
105
+
106
+ ---
107
+
108
+ ### 6. Riel nativo oficial de 56px (Colapsado)
109
+ Se pliega con total fluidez en el riel de iconos compacto de 56px oficial, manteniendo el botón de Nueva Conversación siempre accesible.
110
+
111
+ ![Riel Nativo 56px Colapsado](assets/screenshots/sidebar-collapsed.png)
112
+
113
+ ---
114
+
115
+ ### 7. Menú contextual enriquecido de sesiones
116
+ Acciones inmediatas en cada conversación: Fijar, Renombrar, Marcar como no leído/leído, Archivar, Bifurcar y Eliminación segura.
117
+
118
+ ![Menú Enriquecido de Sesión](assets/screenshots/session-menu.png)
119
+
120
+ ---
121
+
122
+ ## Compatibilidad del Host
123
+
124
+ * **Versiones Soportadas**: Familia DeepSeek Harness `0.2.x` (`>=0.2.0-rc.1 <0.3.0-0`);
125
+ * **Compilaciones Verificadas**: Todos los RC de `0.2.x` (`0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`–`0.2.1-rc.5`, `0.2.2-rc.1`);
126
+ * **Requisitos de Entorno**: Node.js `^22.19.0 || >=24.0.0`, pnpm `^11.0.0`.
127
+
128
+ > ⚠️ **Aviso**: No active simultáneamente Codex UI y `ds-bot`. Ambos rediseñan ranuras de la barra lateral con mecánicas que pueden solaparse.
129
+
130
+ ---
131
+
132
+ ## Instalación y Primeros Pasos
133
+
134
+ ### Opción A: Instalación Asistida por Agente (Recomendado)
135
+
136
+ Envíe la siguiente instrucción a un agente con acceso a la terminal (sustituya `web` por el perfil deseado):
137
+
138
+ ```text
139
+ Instala el complemento @michengai/dsh-codex-ui en mi perfil local web ejecutando:
140
+ dsh plugin --profile web add @michengai/dsh-codex-ui@latest --registry=https://registry.npmjs.org/
141
+ Luego ejecuta dsh --profile web --dump-config para verificar su activación y recarga el navegador.
142
+ ```
143
+
144
+ ### Opción B: Instalación Manual
145
+
146
+ Ejecute en PowerShell o MSYS Bash:
147
+
148
+ ```powershell
149
+ [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
150
+ $OutputEncoding = [System.Text.Encoding]::UTF8
151
+ dsh plugin --profile web add @michengai/dsh-codex-ui@latest --registry=https://registry.npmjs.org/
152
+ dsh --profile web --dump-config
153
+ ```
154
+
155
+ Una vez instalado, reinicie su entorno DSH Web y fuerce la recarga del navegador (`Ctrl + Shift + R` o `Cmd + Shift + R`).
156
+
157
+ ---
158
+
159
+ ## Guía Rápida de Operación
160
+
161
+ | Función | Modo de Uso |
162
+ | :--- | :--- |
163
+ | **Aceptar predicción de entrada** | Pulse `Tab` cuando aparezca el texto proyectado tras el cursor; pulse `Alt + Abajo` / `Alt + Arriba` para alternar sugerencias o `Esc` para descartar. |
164
+ | **Activar/desactivar predicción** | Vaya a **Configuración → Codex UI** y modifique el interruptor en la tarjeta «Mejoras de Entrada». Se puede bloquear en todo el perfil definiendo `config.prediction: false` en `cordis.patch.yml`. |
165
+ | **Historial de comandos** | Pulse `↑` / `↓` en un campo de entrada vacío para desplazarse por los últimos 200 comandos del espacio de trabajo actual. |
166
+ | **Ajustar ancho del campo** | Pase el cursor sobre los bordes laterales de la tarjeta de entrada y arrastre los tiradores azules. |
167
+ | **Cambiar temas y desenfoque** | Vaya a **Configuración → Codex UI**, seleccione una de las 7 paletas y alterne entre los modos de cristal Plano y Mica Flotante. |
168
+ | **Reordenar barra lateral** | Arrastre verticalmente los elementos; las guías azules indican la posición exacta para ingresar o extraer del cajón «Más». |
169
+ | **Plegar barra lateral** | Haga clic en el botón superior de la barra para cambiar al riel oficial compacto de 56px. |
170
+ | **Actualizar complementos** | En **Configuración → Codex UI**, pulse **Instalar/actualizar todo** dentro de la tarjeta de complementos. |
171
+
172
+ ---
173
+
174
+ ## Matriz del Ecosistema
175
+
176
+ Combine Codex UI con los complementos oficiales complementarios para un flujo de desarrollo integrado:
177
+
178
+ | Complemento | Propósito |
179
+ | :--- | :--- |
180
+ | [Codex UI](https://github.com/MichengAI/dsh-codex-ui) | **Núcleo de UI**: Historial rápido, piel de configuración, cristal físico y barra modular |
181
+ | [Agency Agents](https://github.com/MichengAI/dsh-agency-agents) | **Matriz de Especialistas**: Despacho de agentes especializados para distintas tareas |
182
+ | [Skills Manager](https://github.com/MichengAI/dsh-skills-manager) | **Centro de Habilidades**: Búsqueda, importación, activación y gestión de skills locales |
183
+ | [Archive Manager](https://github.com/MichengAI/dsh-archive-manager) | **Gestor de Archivos**: Búsqueda profunda, restauración y limpieza de conversaciones pasadas |
184
+ | [IM Connect](https://github.com/MichengAI/dsh-im-connect) | **Puente IM**: Conexión con WeChat, DingTalk, Feishu y QQBot |
185
+ | [Automation](https://github.com/MichengAI/dsh-automation) | **Automatización**: Tareas programadas con cron y auditoría de ejecución |
186
+ | [Code Review](https://github.com/MichengAI/dsh-code-review) | **Revisión de Código**: Comando `/review` para auditoría de código con subagentes |
187
+ | [Simplify](https://github.com/MichengAI/dsh-simplify) | **Refactorización**: Comando `/simplify` para limpieza concurrente con 4 agentes |
188
+ | [PUA](https://github.com/MichengAI/dsh-pua) | **Resiliencia**: Recuperación de fallos, cambio de hipótesis y verificación de pruebas |
189
+ | [BTW](https://github.com/MichengAI/dsh-btw) | **Consultas Paralelas**: Preguntas contextuales efímeras sin alterar el hilo principal |
190
+ | [Codex Pet](https://github.com/MichengAI/dsh-codex-pet) | **Mascota Virtual**: Mascota interactiva en el escritorio para alertas y aprobaciones |
191
+
192
+ ---
193
+
194
+ ## Licencia
195
+
196
+ Distribuido bajo la [Licencia Apache 2.0](LICENSE).