@michengai/dsh-im-connect 1.0.30 → 1.0.32

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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.32] - 2026-11-09
4
+
5
+ ### Full multi-language README documentation & language navigation
6
+
7
+ - Dedicated documentation across 8 languages: provide comprehensive native README files for Japanese (`README.ja.md`), Spanish (`README.es.md`), French (`README.fr.md`), German (`README.de.md`), Russian (`README.ru.md`), and Portuguese (`README.pt.md`).
8
+ - Accurate localized detail display: plugin marketplace and details view now match the host's active locale with its dedicated native manual.
9
+ - Header language switcher: add an 8-language switcher navigation bar at the top of all README files for quick access.
10
+
11
+ ## [1.0.31] - 2026-11-09
12
+
13
+ ### Full 8-language i18n & streamlined plugin management
14
+
15
+ - Native 8-language support: provide full interface and manifest localization across Simplified Chinese, English, Japanese, Spanish, French, German, Russian, and Portuguese (Brazil), offering a seamless native experience across all supported host locales.
16
+ - Document fallback for global users: align plugin detail pages with host language fallbacks, ensuring non-Chinese environments display the comprehensive English documentation.
17
+ - Streamlined settings experience: remove obsolete update controls and buttons from the settings header, fully delegating plugin lifecycles and updates to the official DSH plugin manager.
18
+
3
19
  ## [1.0.30] - 2026-11-08
4
20
 
5
21
  ### Telegram collapsible thinking message & visual settings
@@ -1,5 +1,21 @@
1
1
  # 更新日志
2
2
 
3
+ ## [1.0.32] - 2026-11-09
4
+
5
+ ### 全语言 README 使用手册与导航互链
6
+
7
+ - 全套官方语言使用说明:新增日语(`README.ja.md`)、西班牙语(`README.es.md`)、法语(`README.fr.md`)、德语(`README.de.md`)、俄语(`README.ru.md`)与葡萄牙语(`README.pt.md`)完整独立使用手册。
8
+ - 详情与市场文档精准展示:插件市场与详情页与当前宿主语言 100% 对应展示对应语种的 README 手册,告别非中英语种下的文档回退。
9
+ - 头部快速语言导航:在全部 8 门语言 README 顶部提供一键切换语言导航栏,方便全球开发者无缝查阅。
10
+
11
+ ## [1.0.31] - 2026-11-09
12
+
13
+ ### 全语言国际化支持与插件中心体验对齐
14
+
15
+ - 全面支持官方 8 门语言:完整支持简体中文、英语、日语、西班牙语、法语、德语、俄语与葡萄牙语(巴西),包括插件市场简介与即时通讯管理面板的全部界面文案,跨语言切换自然顺畅。
16
+ - 详情与使用说明文档对齐:优化插件市场与插件中心的详情文档路由,非中文环境默认展示完整的英文使用手册,方便全球用户查阅接入指引。
17
+ - 管理界面精简与对齐官方生态:移除设置面板内冗余的自制更新入口与开关,版本升级与生命周期完全由 DSH 官方插件管理统一接管,保持设置面板专注高效。
18
+
3
19
  ## [1.0.30] - 2026-11-08
4
20
 
5
21
  ### Telegram 思考过程可折叠展示与设置选项
package/README.de.md ADDED
@@ -0,0 +1,171 @@
1
+ <p align="center">
2
+ <img src="assets/branding/dsh-banner.png" alt="DSH IM Connect" width="100%">
3
+ </p>
4
+
5
+ <div align="center">
6
+
7
+ # DSH IM Connect
8
+
9
+ **Verbinden Sie Feishu, Lark, DingTalk, WeCom, WeChat, QQ, Telegram, Discord und Slack mit Ihrem lokalen DeepSeek Harness-Agenten**
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) · [Änderungsprotokoll](CHANGELOG.md) · [Apache-2.0](LICENSE)
12
+
13
+ [![Lizenz: Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](LICENSE)
14
+ [![npm-Paket](https://img.shields.io/npm/v/%40michengai%2Fdsh-im-connect.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-im-connect)
15
+ [![npm-Downloads](https://img.shields.io/npm/dt/%40michengai%2Fdsh-im-connect.svg?label=npm%20downloads)](https://www.npmjs.com/package/@michengai/dsh-im-connect)
16
+ [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-im-connect)
17
+ [![Node.js 22 oder neuer](https://img.shields.io/badge/Node.js-22%20or%20later-339933.svg?logo=node.js&logoColor=white)](https://nodejs.org/)
18
+ [![Kanäle](https://img.shields.io/badge/channels-9-238636.svg)](#-unterstützte-kanäle)
19
+ </div>
20
+
21
+ > DSH IM Connect ist ein von der Community gepflegtes Plugin für DeepSeek Harness (DSH) und kein offizielles Produkt von DeepSeek AI.
22
+
23
+ ## Funktionsübersicht
24
+
25
+ Auch wenn Sie nicht am Computer sitzen, können Sie über Ihren gewohnten Messenger Aufgaben an Ihr lokales DSH übergeben, Antworten erhalten, Rückfragen beantworten und Werkzeug-Genehmigungen direkt im Chat durchführen.
26
+
27
+ - **Unterstützung führender Messenger**: DingTalk, Feishu, Lark, WeChat, WeCom, QQ, Telegram, Discord und Slack.
28
+ - **Individuelle Kontenverwaltung**: Fügen Sie mehrere Konten pro Dienst hinzu und konfigurieren Sie Arbeitsbereich, Modell, Denkaufwand, Berechtigungen und Versandmodi individuell.
29
+ - **Mobile Aufgabensteuerung**: Aufgaben senden, Antworten lesen und Auswahlen treffen. Autorisierte Benutzer können Tool-Aufrufe direkt in privaten Chats genehmigen oder ablehnen.
30
+ - **Isolierte Sitzungen**: Jeder Messenger-Chat ist einer eigenen Sitzung zugeordnet und im Web-Arbeitsbereich unter „Kanäle“ einsehbar.
31
+ - **Einfache Verbindung via QR-Code oder Anmeldedaten**: Schnell eingerichtet unter „Einstellungen → IM-Assistent“ mit vollständiger Kontrolle über den Nachrichtenempfang.
32
+ - **Präzise Zugriffskontrolle**: Gruppenchats reagieren auf @Erwähnungen; Direktnachrichten folgen den hinterlegten Richtlinien.
33
+
34
+ ## Wer kann den Assistenten steuern?
35
+
36
+ Eingehende Nachrichten werden anhand des Absenders geprüft, bevor Befehle oder Werkzeug-Genehmigungen ausgeführt werden.
37
+
38
+ | Anwendungsfall | Verhalten |
39
+ |---|---|
40
+ | Gruppe ohne @Erwähnung des Bots | Wird ignoriert; keine Antwort oder Genehmigungsanfrage. Erwähnungen anderer Mitglieder lösen nichts aus |
41
+ | Gruppe mit expliziter @Erwähnung | Keine Kopplung erforderlich: Jedes Gruppenmitglied kann Aufgaben anstoßen |
42
+ | Direktnachricht vom QR-Scanner | Nutzer von WeChat, Feishu, Lark und QQ, die den QR-Code gescannt haben, landen automatisch auf der Whitelist |
43
+ | Direktnachricht von anderen Nutzern | Landet in der Warteliste der Einstellungen, bis ein Administrator die Freigabe erteilt |
44
+ | Direktnachricht nach QR-Kopplung ohne Identität | QR-Kopplungen bei DingTalk und WeCom liefern nur Bot-Zugangsdaten; der Nutzer muss freigegeben werden |
45
+ | Direktnachricht mit manuellen Anmeldedaten | Telegram, Discord, Slack sowie manuell konfigurierte Konten erfordern für jeden privaten Chat eine Freigabe |
46
+ | Direktnachricht ohne userId | Wird abgewiesen |
47
+ | Werkzeug-Genehmigung | Antworten Sie mit `Genehmigen` oder `Ablehnen` (`Approve` / `Deny`) im verknüpften Chat. Erfolgt innerhalb von 5 Minuten keine Antwort, wird die Aktion sicher abgebrochen |
48
+ | Interaktive Auswahl | Antworten Sie mit der Ziffer oder dem Text der gewünschten Option. Bei Gruppenchats darf nur der Aufgabeninitiator antworten |
49
+
50
+ ## 📡 Unterstützte Kanäle
51
+
52
+ <p align="center">
53
+ <code>🔔 DingTalk</code>&nbsp;
54
+ <code>🐦 Feishu</code>&nbsp;
55
+ <code>🌐 Lark</code>&nbsp;
56
+ <code>💬 WeChat</code>&nbsp;
57
+ <code>🏢 WeCom</code>&nbsp;
58
+ <code>🐧 QQ</code>&nbsp;
59
+ <code>✈️ Telegram</code>&nbsp;
60
+ <code>🎮 Discord</code>&nbsp;
61
+ <code>💬 Slack</code>
62
+ </p>
63
+
64
+ | Kanal | Kopplungsmethode | Empfang | Versand |
65
+ |---|---|---|---|
66
+ | **🔔 DingTalk** | QR-Code / Manuell | Webhook | Webhook / Interaktive Karten |
67
+ | **🐦 Feishu** | QR-Code / Manuell | Long Polling / Events | Open API / Interaktive Nachrichten |
68
+ | **🌐 Lark** | QR-Code / Manuell | Long Polling / Events | Open API / Interaktive Nachrichten |
69
+ | **💬 WeChat** | QR-Code | Offizielles Synchron-Polling | Natives Synchronisationsprotokoll |
70
+ | **🏢 WeCom** | QR-Code / Manuell | Interne Rückrufe | Webhook / Formatierte Karten |
71
+ | **🐧 QQ** | QR-Code / Manuell | Offizielles WebSocket / Webhook | OpenAPI / Rich Markdown |
72
+ | **✈️ Telegram** | Bot-Token | Long Polling (getUpdates) | Telegram Bot API / Einklappbare Zitate |
73
+ | **🎮 Discord** | Bot-Token | Gateway-WebSocket | REST-API |
74
+ | **💬 Slack** | Bot-Token & App-Token | Socket Mode WebSocket | Web-API / Block Kit |
75
+
76
+ ## Bild- und Dateiverarbeitung
77
+
78
+ Senden Sie Screenshots, Diagramme oder Dokumente direkt in den Chat. Das Vision-Modell von DSH verarbeitet sie unmittelbar zusammen mit Ihren Arbeitsanweisungen. Generierte Ergebnisse (ZIP-Archive, Berichte, Bilder) werden als herunterladbare Dateien zurückgesendet.
79
+
80
+ ## Schnelles Aktionsmenü
81
+
82
+ Geben Sie `/menu` im Chat ein, um interaktive Schaltflächen aufzurufen, mit denen Sie Sitzungen wechseln oder Modelle mit einem Fingertipp anpassen können.
83
+
84
+ ## Plugin-Konfiguration
85
+
86
+ Erreichbar über die Verwaltung unter **Plugins → @michengai/dsh-im-connect**:
87
+
88
+ ### 1. Position der Verknüpfung (`location`)
89
+ - **Standard**: Nur Einstellungen (`settings`)
90
+ - **Optionen**: `both` (Seitenleiste & Einstellungen), `sidebar` (nur Seitenleiste) oder `settings` (nur globales Einstellungsmenü).
91
+
92
+ ### 2. IM-Sitzungen im Aufgabenbaum anzeigen (`taskTreeSessions`)
93
+ - **Standard**: Deaktiviert (`false`)
94
+ - **Funktion**: Filtert Messenger-Chats aus der Hauptbaumansicht heraus, um die Übersichtlichkeit im täglichen Entwicklungsalltag zu wahren.
95
+
96
+ ### 3. Update-Sperre über Cordis-Konfiguration (`updater` / `onlineUpdate`)
97
+ - **Standard**: Nicht gesperrt (`undefined`)
98
+ - **Funktion**: Für isolierte Unternehmensnetzwerke kann der interne Update-Endpunkt über `cordis.patch.yml` dauerhaft deaktiviert werden:
99
+ ```yaml
100
+ - id: im-connect
101
+ config:
102
+ updater: false # oder onlineUpdate: false
103
+ ```
104
+ Nach der Sperrung liefert der Endpunkt HTTP 403 und überlässt die Versionsverwaltung vollständig dem offiziellen DSH-Paketmanager.
105
+
106
+ ### 4. Auslöserichtlinie für Telegram-Gruppen (`mentionPolicy` / `freeChatGroups`)
107
+ - **Standard**: `addressed` (reagiert nur auf @Erwähnungen oder direkte Antworten).
108
+ - **Funktion**: Erlaubt die Festlegung von Whitelist-Gruppen für die direkte Kommunikation ohne @Erwähnung.
109
+
110
+ ### 5. Einklappbare Denkprozess-Anzeige (`thinkingDisplay`)
111
+ - **Standard**: Aus (`off`)
112
+ - **Funktion**: Übermittelt den Denkprozess des Modells auf Telegram als einklappbaren Zitatblock (`<blockquote expandable>`).
113
+
114
+ ## Nutzung und Befehle
115
+
116
+ Öffnen Sie **Einstellungen → IM-Assistent**, wählen Sie **Konto hinzufügen** und konfigurieren Sie Arbeitsbereich, Modell, Berechtigungen und Versandmodus.
117
+
118
+ | Ziel | Aktion | Hinweise |
119
+ | --- | --- | --- |
120
+ | Konto hinzufügen | Auf **Konto hinzufügen** unter dem gewünschten Kanal klicken | Mehrere Konten pro Kanal möglich |
121
+ | Einstellungen bearbeiten | Auf „Einstellungen“ in der Kontozeile klicken | Sofort wirksam |
122
+ | Empfang anhalten | Schalter **Nachrichten empfangen** deaktivieren | Zugangsdaten bleiben erhalten |
123
+ | Neue Sitzung | `/new` oder `/clear` senden | Startet eine frische Sitzung |
124
+ | Status / Hilfe | `/status` oder `/help` senden | Zeigt aktive Sitzung und Befehle |
125
+ | Agenten-Voreinstellungen | `/presets`, `/preset <Nummer/ID>` | Wechselt das Agentenprofil |
126
+ | Modell & Denkaufwand | `/models`, `/model <Name>`, `/reasoning [Stufe]` | Passt das Modell zur Laufzeit an |
127
+ | Sitzungsverwaltung | `/sessions`, `/session <Nummer/ID>`, `/rename <Titel>`, `/fork` | Sitzungen auflisten, wechseln, umbenennen oder forken |
128
+ | Zustellwiederherstellung | `/delivery`, `/delivery retry <ID>` | Sendet unterbrochene Nachrichten erneut |
129
+
130
+ ### Automatische Telegram-Themenbenennung
131
+
132
+ Foren-Themen in Telegram werden automatisch anhand des ersten Antworttitels benannt. Eine manuelle Synchronisation ist jederzeit über `/rename <Titel>` möglich.
133
+
134
+ ### Segmentierte Antworten
135
+
136
+ Ermöglicht das Aufteilen langer Antworten in mehrere aufeinanderfolgende kurze Nachrichten für bessere Lesbarkeit auf Smartphones (derzeit auf QQ aktiv).
137
+
138
+ ### Automatische Sitzungsrotation
139
+
140
+ Wenn seit der letzten Nachricht eine konfigurierte Zeitspanne vergangen ist (z. B. 1 Stunde, 6 Stunden), startet die nächste Nachricht automatisch eine neue Sitzung.
141
+
142
+ ### Slack-Anbindung
143
+
144
+ 1. Erstellen Sie eine App unter Slack API (`api.slack.com/apps`).
145
+ 2. Unter **OAuth & Permissions → Bot Token Scopes** Berechtigungen für Nachrichten, Dateien, Reaktionen und Erwähnungen erteilen.
146
+ 3. Installieren Sie die App und kopieren Sie das Bot-Token (`xoxb-`).
147
+ 4. Aktivieren Sie den **Socket Mode** und generieren Sie ein App-Level-Token (`xapp-`).
148
+ 5. Hinterlegen Sie beide Token in DSH für eine sichere WebSocket-Verbindung.
149
+
150
+ ## Sicherheit und Zugriffsgrenzen
151
+
152
+ - **Verwaltungs-API**: Läuft unter `/api/dsh-im-connect` mit nativer Sitzungsauthentifizierung.
153
+ - **Schlüsselspeicher**: Anmeldedaten werden verschlüsselt im Tresor des Hosts verwaltet.
154
+ - **Werkzeug-Genehmigung**: Erlaubt die sichere Autorisierung direkt im Chat ohne Browser-Wechsel.
155
+
156
+ ## Entwicklung und Tests
157
+
158
+ ```powershell
159
+ [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
160
+ $OutputEncoding = [System.Text.Encoding]::UTF8
161
+ git clone https://github.com/MichengAI/dsh-im-connect.git
162
+ cd dsh-im-connect
163
+ npm install
164
+ npm test
165
+ dsh plugin --profile web add .
166
+ ```
167
+
168
+ ## Lizenz
169
+
170
+ Sicherheitsrichtlinien finden Sie unter [SECURITY.md](SECURITY.md).
171
+ Lizenziert unter [Apache License 2.0](LICENSE).
package/README.en.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  **Connect Feishu, Lark, DingTalk, WeCom, WeChat, QQ, Telegram, Discord, and Slack to local DeepSeek Harness**
10
10
 
11
- [简体中文](README.md) · [Changelog](CHANGELOG.md) · [QQ reference notes](docs/01-当前工作/I022-QQ直接引用接入/00-迭代总览.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) · [Changelog](CHANGELOG.md) · [QQ reference notes](docs/01-当前工作/I022-QQ直接引用接入/00-迭代总览.md) · [Apache-2.0](LICENSE)
12
12
 
13
13
  [![License: Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](LICENSE)
14
14
  [![npm package](https://img.shields.io/npm/v/%40michengai%2Fdsh-im-connect.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-im-connect)
@@ -240,7 +240,7 @@ The configuration output should contain `im-connect`. Restart DSH Web and hard-r
240
240
  The plugin follows standard DSH bundle configuration conventions. Options are located at:
241
241
  > **Sidebar → Plugins → Click `@michengai/dsh-im-connect`** (the host's `plugins.bundle.config` slot).
242
242
 
243
- Native configuration options are provided here. Their values are persisted in `channels.json` under the plugin's `stateDir` and survive restarts; they are not equivalent Cordis YAML options. `location` and `taskTreeSessions` are managed through this UI, while `onlineUpdate` is also subject to the host lock described below:
243
+ Native configuration options are provided here. Their values are persisted in `channels.json` under the plugin's `stateDir` and survive restarts; they are not equivalent Cordis YAML options. `location` and `taskTreeSessions` are managed through this UI:
244
244
 
245
245
  ### 1. Entry Location (`location`)
246
246
  - **Default**: Settings only (`settings`)
@@ -250,20 +250,7 @@ Native configuration options are provided here. Their values are persisted in `c
250
250
  - **Settings only (`settings`)**: Unregisters the sidebar icon (gracefully switching active views if currently open) and retains only the entry in **Settings → IM Assistant**.
251
251
  - **Effect**: Clicking the sidebar icon opens the IM Assistant management page directly in the primary workspace with a **960px centered container** (matching host plugin manager conventions). This eliminates vertical scrolling constraints in narrow settings dialogs; state is synchronized live across both entry points.
252
252
 
253
- ### 2. Online Updates (`onlineUpdate` / `updater`)
254
- - **Default**: Enabled (`true`)
255
- - **Description**: Controls whether the plugin checks for and installs updates from npm.
256
- - **Effect**:
257
- - **Dynamic UI Sync**: Disabling the toggle hides the **Check for updates** button and version badge in the header immediately without requiring a full page reload;
258
- - **Endpoint Guard**: When disabled, the update API route returns `HTTP 403` for all check and install requests, preventing unreviewed updates;
259
- - **Host / Platform Lock**: For curated plugin indexes (such as VibeDev) or restricted enterprise environments, this can be locked directly via Cordis configuration (bundle patch) without needing UI interaction:
260
- ```yaml
261
- updater: false # or onlineUpdate: false
262
- ```
263
- Once configured, the updater is disabled at startup, the update action stays hidden, and the online-update switch is disabled. The host lock takes precedence over the user's choice in `channels.json` and cannot be lifted through the UI. Removing the host lock restores the saved user preference.
264
- - **Update Modes**: When a newer release is available, **Update automatically** runs only when the DSH CLI or Desktop update service is available; otherwise, the dialog provides a profile-specific manual command to copy and run.
265
-
266
- ### 3. Show IM Sessions in Task Tree (`taskTreeSessions`)
253
+ ### 2. Show IM Sessions in Task Tree (`taskTreeSessions`)
267
254
  - **Default**: Disabled (`false`, hides IM sessions in the workspace task tree by default to keep daily workspaces clean)
268
255
  - **Description**: Controls whether messaging channel sessions appear in the official workspace task tree.
269
256
  - **Effect**:
@@ -271,6 +258,16 @@ Native configuration options are provided here. Their values are persisted in `c
271
258
  - **Channels Tab Preserved**: Filtering applies only to the official workspace tree. All channel sessions remain fully available and accessible at any time under the sidebar's **Channels** tab;
272
259
  - **Lightweight Pipeline Collaboration**: Implemented via the `NativeTabRegistry.sessionFilters` inter-plugin protocol without invasive host hijacking. Toggling takes effect immediately and interoperates smoothly with Automation and Archive Manager. Non-supporting host shells degrade gracefully with a one-time warning.
273
260
 
261
+ ### 3. Cordis Host-Level Online Update Lock (`updater` / `onlineUpdate`)
262
+ - **Default**: Unlocked (`undefined`)
263
+ - **Description**: For enterprise intranets, offline environments, or curated plugin distribution platforms, update endpoints can be explicitly locked and disabled directly in Cordis configuration (e.g. `cordis.patch.yml`):
264
+ ```yaml
265
+ - id: im-connect
266
+ config:
267
+ updater: false # or onlineUpdate: false
268
+ ```
269
+ Once locked, plugin update endpoints are disabled (returning HTTP 403), delegating lifecycle and updates entirely to official DSH plugin management and market mechanisms.
270
+
274
271
  ### 4. Telegram group trigger policy (`mentionPolicy` / `freeChatGroups`)
275
272
  - **Default**: `addressed` — in groups the bot only reacts to an @mention, a reply to it, or a direct message.
276
273
  - **What it does**: to let a group chat with the bot without @mentioning it, configure the trigger policy directly in **Settings → IM Assistant → Telegram Account Details**, or in `channels.json`:
package/README.es.md ADDED
@@ -0,0 +1,171 @@
1
+ <p align="center">
2
+ <img src="assets/branding/dsh-banner.png" alt="DSH IM Connect" width="100%">
3
+ </p>
4
+
5
+ <div align="center">
6
+
7
+ # DSH IM Connect
8
+
9
+ **Conecte Feishu, Lark, DingTalk, WeCom, WeChat, QQ, Telegram, Discord y Slack a su instancia local de DeepSeek Harness**
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) · [Registro de cambios](CHANGELOG.md) · [Apache-2.0](LICENSE)
12
+
13
+ [![Licencia: Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](LICENSE)
14
+ [![Paquete npm](https://img.shields.io/npm/v/%40michengai%2Fdsh-im-connect.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-im-connect)
15
+ [![Descargas npm](https://img.shields.io/npm/dt/%40michengai%2Fdsh-im-connect.svg?label=npm%20downloads)](https://www.npmjs.com/package/@michengai/dsh-im-connect)
16
+ [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-im-connect)
17
+ [![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/)
18
+ [![Canales](https://img.shields.io/badge/channels-9-238636.svg)](#-canales-compatibles)
19
+ </div>
20
+
21
+ > DSH IM Connect es un complemento para DeepSeek Harness (DSH) mantenido por la comunidad, no un producto oficial de DeepSeek AI.
22
+
23
+ ## Resumen de características
24
+
25
+ Incluso cuando esté lejos de su ordenador, envíe tareas a su DSH local a través de su aplicación de mensajería habitual, reciba respuestas, conteste preguntas y gestione la aprobación de herramientas en el mismo chat.
26
+
27
+ - **Conecte plataformas populares**: DingTalk, Feishu, Lark, WeChat, WeCom, QQ, Telegram, Discord y Slack.
28
+ - **Configuración individual por cuenta**: Añada múltiples cuentas en la misma plataforma; configure por separado el espacio de trabajo, modelo, nivel de razonamiento, permisos, acceso privado y método de envío.
29
+ - **Interacción directa desde el móvil**: Envíe instrucciones, lea respuestas y responda preguntas de opción única o múltiple; los usuarios aprobados pueden autorizar o rechazar la ejecución de herramientas directamente en chats privados.
30
+ - **Gestión independiente de sesiones**: Cada conversación de mensajería cuenta con una sesión aislada, consultable en la pestaña "Canales" del espacio de trabajo web.
31
+ - **Vinculación rápida por código QR o credenciales**: Conéctese fácilmente desde "Configuración → Asistente IM" y controle la recepción de mensajes por cuenta.
32
+ - **Control de acceso flexible**: Los grupos responden mediante menciones directas (@), mientras que los mensajes directos siguen las reglas de admisión configuradas.
33
+
34
+ ## ¿Quién puede interactuar con el asistente?
35
+
36
+ Los mensajes entrantes se evalúan según el remitente antes de procesar comandos, aprobaciones de herramientas o inyecciones de contexto.
37
+
38
+ | Caso de uso | Comportamiento |
39
+ |---|---|
40
+ | Grupo sin mención (@) al bot | Se ignora sin responder ni generar solicitudes de aprobación; mencionar a otros miembros tampoco activa el bot |
41
+ | Grupo con mención explícita (@) al bot | No requiere vinculación previa: cualquier participante del grupo puede enviar tareas |
42
+ | Mensaje directo del usuario que escaneó el QR | Los usuarios de WeChat, Feishu, Lark y QQ que hayan escaneado el código QR se añaden automáticamente a la lista blanca |
43
+ | Mensaje directo de otros usuarios | Aparecen en la lista de espera de configuración hasta que un administrador los apruebe |
44
+ | Mensaje directo tras vinculación QR sin identidad de usuario | La vinculación rápida de DingTalk y WeCom solo devuelve credenciales del bot, por lo que el usuario debe ser aprobado en configuración |
45
+ | Mensaje directo mediante credenciales manuales | Telegram, Discord, Slack y vinculaciones manuales de DingTalk, WeCom y QQ requieren aprobación previa para cada chat privado |
46
+ | Mensaje directo sin identificador (userId) | Se rechaza automáticamente |
47
+ | Aprobación de herramientas | Responda `Aprobar` o `Rechazar` (`Approve` / `Deny`) directamente en el chat vinculado; válido en grupos y privados sin necesidad de abrir la interfaz web. Si no se responde en 5 minutos, la acción se cancela de forma segura |
48
+ | Selección interactiva | Responda con el número de opción o el texto en la conversación correspondiente; para selección múltiple use comas. En grupos, solo el iniciador de la tarea puede responder |
49
+
50
+ ## 📡 Canales compatibles
51
+
52
+ <p align="center">
53
+ <code>🔔 DingTalk</code>&nbsp;
54
+ <code>🐦 Feishu</code>&nbsp;
55
+ <code>🌐 Lark</code>&nbsp;
56
+ <code>💬 WeChat</code>&nbsp;
57
+ <code>🏢 WeCom</code>&nbsp;
58
+ <code>🐧 QQ</code>&nbsp;
59
+ <code>✈️ Telegram</code>&nbsp;
60
+ <code>🎮 Discord</code>&nbsp;
61
+ <code>💬 Slack</code>
62
+ </p>
63
+
64
+ | Canal | Método de vinculación | Recepción | Envío |
65
+ |---|---|---|---|
66
+ | **🔔 DingTalk** | Código QR / Manual | Webhook | Webhook / Tarjetas interactivas |
67
+ | **🐦 Feishu** | Código QR / Manual | Long Polling / Eventos | Open API / Mensajes interactivos |
68
+ | **🌐 Lark** | Código QR / Manual | Long Polling / Eventos | Open API / Mensajes interactivos |
69
+ | **💬 WeChat** | Código QR | Sondeo oficial sincronizado | Protocolo de sincronización nativo |
70
+ | **🏢 WeCom** | Código QR / Manual | Callback interno | Webhook / Tarjetas de mensajes |
71
+ | **🐧 QQ** | Código QR / Manual | WebSocket oficial / Webhook | OpenAPI / Markdown enriquecido |
72
+ | **✈️ Telegram** | Bot Token | Long Polling (getUpdates) | Telegram Bot API / Citas plegables |
73
+ | **🎮 Discord** | Bot Token | Gateway WebSocket | REST API |
74
+ | **💬 Slack** | Bot Token & App Token | Socket Mode WebSocket | Web API / Block Kit |
75
+
76
+ ## Entrada de imágenes y archivos
77
+
78
+ Envíe capturas de pantalla, fotos o documentos (PDF, código, texto) directamente a la conversación. El modelo de visión de DSH los procesará automáticamente junto con sus instrucciones. Si DSH genera archivos (ZIP, texto, imágenes), se enviarán de vuelta a la conversación como archivos adjuntos nativos.
79
+
80
+ ## Menú de acciones y comandos
81
+
82
+ Escriba `/menu` en el chat para desplegar botones interactivos que permiten cambiar de sesión, crear nuevas tareas o modificar modelos con un solo toque.
83
+
84
+ ## Configuración del complemento
85
+
86
+ Disponible desde el panel de administración en **Complementos → @michengai/dsh-im-connect**:
87
+
88
+ ### 1. Ubicación del acceso (`location`)
89
+ - **Predeterminado**: Solo configuración (`settings`)
90
+ - **Opciones**: `both` (barra lateral y ajustes), `sidebar` (solo barra lateral), o `settings` (solo en el menú de configuración global).
91
+
92
+ ### 2. Mostrar sesiones de IM en el árbol de tareas (`taskTreeSessions`)
93
+ - **Predeterminado**: Desactivado (`false`)
94
+ - **Función**: Oculta las conversaciones de mensajería del árbol de tareas principal para evitar saturar el espacio de desarrollo diario.
95
+
96
+ ### 3. Bloqueo de actualizaciones por configuración Cordis (`updater` / `onlineUpdate`)
97
+ - **Predeterminado**: Sin bloqueo (`undefined`)
98
+ - **Función**: Para entornos corporativos o sin conexión a Internet, deshabilite los puntos de enlace de actualización declarándolo en `cordis.patch.yml`:
99
+ ```yaml
100
+ - id: im-connect
101
+ config:
102
+ updater: false # o onlineUpdate: false
103
+ ```
104
+ Al bloquearse, el punto de actualización del complemento responde con HTTP 403, delegando el ciclo de vida al gestor oficial de DSH.
105
+
106
+ ### 4. Política de activación en grupos de Telegram (`mentionPolicy` / `freeChatGroups`)
107
+ - **Predeterminado**: `addressed` (solo responde a menciones @ o respuestas directas al bot).
108
+ - **Función**: Configure si desea que el bot responda a todos los mensajes o defina una lista blanca de grupos sin necesidad de mención.
109
+
110
+ ### 5. Mensaje de pensamiento plegable (`thinkingDisplay`)
111
+ - **Predeterminado**: Desactivado (`off`)
112
+ - **Función**: Envía la cadena de pensamiento del modelo en Telegram dentro de un bloque de cita plegable (`<blockquote expandable>`).
113
+
114
+ ## Uso y comandos
115
+
116
+ Abra **Configuración → Asistente IM**, elija **Añadir cuenta** en el canal deseado y configure el espacio de trabajo, modelo, permisos y modo de envío.
117
+
118
+ | Objetivo | Acción | Notas |
119
+ | --- | --- | --- |
120
+ | Añadir cuenta | Seleccione **Añadir cuenta**, elija las preferencias y escanee o ingrese credenciales | Múltiples cuentas permitidas por canal |
121
+ | Modificar ajustes | Haga clic en Configuración en la fila de la cuenta | Cambios aplicados de inmediato |
122
+ | Pausar recepción | Desactive el interruptor **Recibir mensajes** | Las credenciales se conservan |
123
+ | Nueva sesión | Envíe `/new` o `/clear` | Inicia una sesión limpia en el canal |
124
+ | Estado / Ayuda | Envíe `/status` o `/help` | Muestra la sesión actual y comandos disponibles |
125
+ | Presets de agente | `/presets`, `/preset <número/ID>` | Cambia el perfil de agente activo |
126
+ | Modelo y razonamiento | `/models`, `/model <nombre>`, `/reasoning [nivel]` | Ajusta el modelo y esfuerzo de razonamiento |
127
+ | Gestión de sesiones | `/sessions`, `/session <número/ID>`, `/rename <título>`, `/fork` | Lista, cambia, renombra o bifurca sesiones |
128
+ | Recuperación de entregas | `/delivery`, `/delivery retry <ID>` | Reenvía mensajes que fallaron por desconexión |
129
+
130
+ ### Nombres automáticos de temas en Telegram
131
+
132
+ Los temas de foros en Telegram se nombran automáticamente a partir del primer título de la sesión. Puede sincronizarlos manualmente con `/rename <título>`.
133
+
134
+ ### Respuestas segmentadas
135
+
136
+ Permite dividir respuestas extensas en varios mensajes cortos sucesivos para una lectura más natural (activo actualmente en QQ).
137
+
138
+ ### Rotación por inactividad
139
+
140
+ Si transcurre un período prolongado desde el último mensaje (ej. 1 hora, 6 horas), el siguiente mensaje iniciará automáticamente una nueva sesión.
141
+
142
+ ### Conexión con Slack
143
+
144
+ 1. Cree una aplicación en Slack API (`api.slack.com/apps`).
145
+ 2. En **OAuth & Permissions → Bot Token Scopes**, añada los permisos de lectura, escritura, archivos y menciones.
146
+ 3. Instale la app en su espacio de trabajo y obtenga el Bot Token (`xoxb-`).
147
+ 4. Active **Socket Mode** y cree un App-Level Token (`xapp-`).
148
+ 5. Configure ambos tokens en DSH para conectar mediante WebSocket nativo.
149
+
150
+ ## Permisos y seguridad
151
+
152
+ - **API de gestión**: Utiliza `/api/dsh-im-connect` bajo las políticas de autenticación y protección de sesión nativas de DSH.
153
+ - **Almacenamiento de secretos**: Los tokens se resguardan de forma segura en las credenciales protegidas del host.
154
+ - **Aprobación de herramientas**: Permite autorizar comandos directamente en el chat sin exponer la consola web.
155
+
156
+ ## Desarrollo y pruebas
157
+
158
+ ```powershell
159
+ [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
160
+ $OutputEncoding = [System.Text.Encoding]::UTF8
161
+ git clone https://github.com/MichengAI/dsh-im-connect.git
162
+ cd dsh-im-connect
163
+ npm install
164
+ npm test
165
+ dsh plugin --profile web add .
166
+ ```
167
+
168
+ ## Licencia
169
+
170
+ Consulte las directrices de seguridad en [SECURITY.md](SECURITY.md).
171
+ Distribuido bajo la [Licencia Apache 2.0](LICENSE).
package/README.fr.md ADDED
@@ -0,0 +1,171 @@
1
+ <p align="center">
2
+ <img src="assets/branding/dsh-banner.png" alt="DSH IM Connect" width="100%">
3
+ </p>
4
+
5
+ <div align="center">
6
+
7
+ # DSH IM Connect
8
+
9
+ **Connectez Feishu, Lark, DingTalk, WeCom, WeChat, QQ, Telegram, Discord et Slack à votre agent local DeepSeek Harness**
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) · [Journal des modifications](CHANGELOG.md) · [Apache-2.0](LICENSE)
12
+
13
+ [![Licence : Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](LICENSE)
14
+ [![Paquet npm](https://img.shields.io/npm/v/%40michengai%2Fdsh-im-connect.svg?label=npm%20package)](https://www.npmjs.com/package/@michengai/dsh-im-connect)
15
+ [![Téléchargements npm](https://img.shields.io/npm/dt/%40michengai%2Fdsh-im-connect.svg?label=npm%20downloads)](https://www.npmjs.com/package/@michengai/dsh-im-connect)
16
+ [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](https://github.com/MichengAI/dsh-im-connect)
17
+ [![Node.js 22 ou supérieur](https://img.shields.io/badge/Node.js-22%20or%20later-339933.svg?logo=node.js&logoColor=white)](https://nodejs.org/)
18
+ [![Canaux](https://img.shields.io/badge/channels-9-238636.svg)](#-canaux-pris-en-charge)
19
+ </div>
20
+
21
+ > DSH IM Connect est une extension pour DeepSeek Harness (DSH) maintenue par la communauté, et non un produit officiel de DeepSeek AI.
22
+
23
+ ## Aperçu des fonctionnalités
24
+
25
+ Même loin de votre poste de travail, assignez des tâches à votre DSH local via votre application de messagerie préférée, suivez les réponses, répondez aux questions et gérez l'approbation des outils au sein du même fil de discussion.
26
+
27
+ - **Prise en charge des plateformes majeures** : DingTalk, Feishu, Lark, WeChat, WeCom, QQ, Telegram, Discord et Slack.
28
+ - **Gestion multicompte indépendante** : Ajoutez plusieurs comptes sur un même service en configurant individuellement l'espace de travail, le modèle, l'effort de raisonnement, les autorisations et le mode de transmission.
29
+ - **Interactions fluides sur mobile** : Envoyez des instructions, consultez les résultats et répondez aux choix multiples. Les utilisateurs autorisés peuvent valider ou rejeter l'exécution des outils en message direct.
30
+ - **Sessions isolées et organisées** : Chaque conversation est rattachée à une session dédiée, consultable dans l'onglet « Canaux » de l'interface web.
31
+ - **Connexion rapide par QR code ou identifiants** : Gérez vos accès dans « Paramètres → Assistant IM » et pilotez la réception des messages par compte.
32
+ - **Contrôle d'accès rigoureux** : Déclenchement par mention (@) dans les groupes et politique d'admission personnalisée pour les messages privés.
33
+
34
+ ## Qui peut piloter l'assistant ?
35
+
36
+ Chaque message entrant est authentifié avant le traitement des commandes ou l'approbation des outils.
37
+
38
+ | Cas d'usage | Comportement |
39
+ |---|---|
40
+ | Groupe sans mention (@) du bot | Message ignoré sans réponse ni notification d'approbation ; mentionner d'autres membres ne déclenche rien |
41
+ | Groupe avec mention explicite (@) du bot | Aucune liaison préalable requise : tout participant peut assigner une tâche |
42
+ | Message privé de l'utilisateur ayant scanné le QR | Les utilisateurs de WeChat, Feishu, Lark et QQ ayant scanné le QR code sont automatiquement ajoutés à la liste blanche |
43
+ | Message privé d'autres utilisateurs | Placé en file d'attente d'approbation dans les paramètres jusqu'à validation par un administrateur |
44
+ | Message privé après liaison QR sans identité transmise | Les liaisons QR de DingTalk et WeCom ne renvoient que les accès bot ; une validation dans les paramètres reste nécessaire |
45
+ | Message privé via identifiants manuels | Telegram, Discord, Slack ainsi que DingTalk, WeCom et QQ configurés manuellement nécessitent une approbation par utilisateur |
46
+ | Message privé sans identifiant (userId) | Rejeté systématiquement |
47
+ | Approbation d'outils | Répondez simplement `Approuver` ou `Refuser` (`Approve` / `Deny`) dans la conversation liée ; fonctionne en groupe comme en privé. Sans réponse sous 5 minutes, l'action est annulée en toute sécurité |
48
+ | Sélection interactive | Répondez avec le numéro de l'option ou son libellé ; séparez par des virgules pour les sélections multiples. En groupe, seul l'initiateur peut répondre |
49
+
50
+ ## 📡 Canaux pris en charge
51
+
52
+ <p align="center">
53
+ <code>🔔 DingTalk</code>&nbsp;
54
+ <code>🐦 Feishu</code>&nbsp;
55
+ <code>🌐 Lark</code>&nbsp;
56
+ <code>💬 WeChat</code>&nbsp;
57
+ <code>🏢 WeCom</code>&nbsp;
58
+ <code>🐧 QQ</code>&nbsp;
59
+ <code>✈️ Telegram</code>&nbsp;
60
+ <code>🎮 Discord</code>&nbsp;
61
+ <code>💬 Slack</code>
62
+ </p>
63
+
64
+ | Canal | Méthode de liaison | Réception | Envoi |
65
+ |---|---|---|---|
66
+ | **🔔 DingTalk** | QR Code / Manuel | Webhook | Webhook / Cartes interactives |
67
+ | **🐦 Feishu** | QR Code / Manuel | Long Polling / Événements | Open API / Messages interactifs |
68
+ | **🌐 Lark** | QR Code / Manuel | Long Polling / Événements | Open API / Messages interactifs |
69
+ | **💬 WeChat** | QR Code | Scrutation officielle | Protocole de synchronisation natif |
70
+ | **🏢 WeCom** | QR Code / Manuel | Rappel interne | Webhook / Messages enrichis |
71
+ | **🐧 QQ** | QR Code / Manuel | WebSocket officiel / Webhook | OpenAPI / Markdown enrichi |
72
+ | **✈️ Telegram** | Jeton de bot | Long Polling (getUpdates) | Telegram Bot API / Citations repliables |
73
+ | **🎮 Discord** | Jeton de bot | Passerelle WebSocket | API REST |
74
+ | **💬 Slack** | Bot Token & App Token | Socket Mode WebSocket | Web API / Block Kit |
75
+
76
+ ## Entrée d'images et de fichiers
77
+
78
+ Transmettez captures d'écran, schémas ou pièces jointes (PDF, code, texte) directement dans la discussion. Le modèle de vision DSH les exploitera immédiatement. Les fichiers produits par vos tâches (archives ZIP, rapports, images) vous sont renvoyés sous forme de fichiers téléchargeables.
79
+
80
+ ## Menu d'actions rapides
81
+
82
+ Saisissez `/menu` dans la conversation pour faire apparaître des boutons d'action permettant de basculer de session ou d'ajuster les modèles en un clic.
83
+
84
+ ## Configuration de l'extension
85
+
86
+ Gérée depuis le panneau **Extensions → @michengai/dsh-im-connect** :
87
+
88
+ ### 1. Emplacement du raccourci (`location`)
89
+ - **Défaut** : Paramètres uniquement (`settings`)
90
+ - **Options** : `both` (barre latérale et paramètres), `sidebar` (barre latérale seule), ou `settings` (menu des paramètres uniquement).
91
+
92
+ ### 2. Afficher les sessions IM dans l'arbre des tâches (`taskTreeSessions`)
93
+ - **Défaut** : Désactivé (`false`)
94
+ - **Fonction** : Isole les échanges de messagerie de l'arborescence principale de développement pour préserver la lisibilité de vos projets.
95
+
96
+ ### 3. Verrouillage des mises à jour via Cordis (`updater` / `onlineUpdate`)
97
+ - **Défaut** : Déverrouillé (`undefined`)
98
+ - **Fonction** : Dans les réseaux d'entreprise ou isolés, désactivez les points de mise à jour dans `cordis.patch.yml` :
99
+ ```yaml
100
+ - id: im-connect
101
+ config:
102
+ updater: false # ou onlineUpdate: false
103
+ ```
104
+ Une fois verrouillé, le point d'accès renvoie HTTP 403 et délègue l'intégralité du cycle de vie au gestionnaire officiel de DSH.
105
+
106
+ ### 4. Règle de déclenchement dans les groupes Telegram (`mentionPolicy` / `freeChatGroups`)
107
+ - **Défaut** : `addressed` (répond uniquement aux mentions @ et aux réponses directes).
108
+ - **Fonction** : Définissez une liste blanche de groupes pour autoriser les échanges continus sans mention explicite.
109
+
110
+ ### 5. Affichage repliable de la réflexion (`thinkingDisplay`)
111
+ - **Défaut** : Désactivé (`off`)
112
+ - **Fonction** : Transmet le cheminement de pensée du modèle sous forme de bloc de citation repliable Telegram (`<blockquote expandable>`).
113
+
114
+ ## Utilisation et commandes
115
+
116
+ Ouvrez **Paramètres → Assistant IM**, cliquez sur **Ajouter un compte** et configurez l'espace de travail, le modèle, les droits et le mode d'envoi.
117
+
118
+ | Objectif | Action | Remarques |
119
+ | --- | --- | --- |
120
+ | Ajouter un compte | Cliquez sur **Ajouter un compte** sous le canal souhaité | Plusieurs comptes autorisés |
121
+ | Modifier les réglages | Cliquez sur Paramètres sur la ligne du compte | Prise en compte immédiate |
122
+ | Pause de la réception | Désactivez le commutateur **Recevoir les messages** | Les identifiants sont conservés |
123
+ | Nouvelle session | Envoyez `/new` ou `/clear` | Démarre une session propre sur ce canal |
124
+ | État / Aide | Envoyez `/status` ou `/help` | Affiche la session active et les commandes |
125
+ | Profils d'agent | `/presets`, `/preset <numéro/ID>` | Bascule vers un profil prédéfini |
126
+ | Modèle et raisonnement | `/models`, `/model <nom>`, `/reasoning [niveau]` | Ajuste dynamiquement le modèle |
127
+ | Gestion des sessions | `/sessions`, `/session <numéro/ID>`, `/rename <titre>`, `/fork` | Liste, bascule, renomme ou duplique une session |
128
+ | Récupération des envois | `/delivery`, `/delivery retry <ID>` | Réexpédie les messages interrompus |
129
+
130
+ ### Titrage automatique des sujets Telegram
131
+
132
+ Les sujets de forums Telegram sont automatiquement titrés à partir de la première réponse de l'assistant. Vous pouvez synchroniser le titre à tout moment avec `/rename <titre>`.
133
+
134
+ ### Réponses fragmentées (Segments)
135
+
136
+ Permet de découper les longues réponses en plusieurs messages successifs pour une lecture plus naturelle sur smartphone (actuellement disponible sur QQ).
137
+
138
+ ### Rotation de session après inactivité
139
+
140
+ Si aucun échange n'a eu lieu depuis une durée définie (ex. 1h, 6h), le message suivant ouvre automatiquement une nouvelle session propre.
141
+
142
+ ### Intégration de Slack
143
+
144
+ 1. Créez une application sur Slack API (`api.slack.com/apps`).
145
+ 2. Dans **OAuth & Permissions → Bot Token Scopes**, octroyez les droits pour les messages, fichiers, réactions et mentions.
146
+ 3. Installez l'application dans votre espace de travail et copiez le Bot Token (`xoxb-`).
147
+ 4. Activez le **Socket Mode** et générez un jeton applicatif (`xapp-`).
148
+ 5. Renseignez les deux jetons dans DSH pour établir une connexion WebSocket sécurisée.
149
+
150
+ ## Sécurité et limites d'accès
151
+
152
+ - **API de gestion** : Déployée sur `/api/dsh-im-connect` sous l'authentification native de DSH.
153
+ - **Stockage des secrets** : Les jetons sont chiffrés et protégés dans les coffres système de l'hôte.
154
+ - **Validation des outils** : Autorisez les actions d'un simple message sans basculer sur la console web.
155
+
156
+ ## Développement et tests
157
+
158
+ ```powershell
159
+ [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
160
+ $OutputEncoding = [System.Text.Encoding]::UTF8
161
+ git clone https://github.com/MichengAI/dsh-im-connect.git
162
+ cd dsh-im-connect
163
+ npm install
164
+ npm test
165
+ dsh plugin --profile web add .
166
+ ```
167
+
168
+ ## Licence
169
+
170
+ Consultez les recommandations de sécurité dans [SECURITY.md](SECURITY.md).
171
+ Distribué sous [Licence Apache 2.0](LICENSE).