dsh-hello 0.1.7 → 0.1.9
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/README.de.md +74 -0
- package/README.es.md +74 -0
- package/README.fr.md +74 -0
- package/README.ja.md +74 -0
- package/README.md +44 -565
- package/README.pt.md +74 -0
- package/README.ru.md +74 -0
- package/README.zh.md +74 -0
- package/connect.md +521 -0
- package/icon.svg +5 -0
- package/lib/client.js +233 -2
- package/lib/http.d.ts +1 -0
- package/lib/http.d.ts.map +1 -1
- package/lib/http.js +10 -0
- package/lib/http.js.map +1 -1
- package/lib/index.js +80 -3
- package/lib/index.js.map +2 -2
- package/lib/protocol.d.ts +14 -0
- package/lib/protocol.d.ts.map +1 -1
- package/lib/routes.d.ts.map +1 -1
- package/lib/routes.js +16 -1
- package/lib/routes.js.map +1 -1
- package/lib/terminal-routes.d.ts.map +1 -1
- package/lib/terminal-routes.js +9 -0
- package/lib/terminal-routes.js.map +1 -1
- package/lib/terminal.d.ts +4 -1
- package/lib/terminal.d.ts.map +1 -1
- package/lib/terminal.js +60 -2
- package/lib/terminal.js.map +1 -1
- package/package.json +10 -2
package/README.de.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# DSH Hello
|
|
2
|
+
|
|
3
|
+
[English](https://github.com/ada87/dsh-hello/blob/main/README.md) | [中文](https://github.com/ada87/dsh-hello/blob/main/README.zh.md) | [日本語](https://github.com/ada87/dsh-hello/blob/main/README.ja.md) | [Español](https://github.com/ada87/dsh-hello/blob/main/README.es.md) | [Français](https://github.com/ada87/dsh-hello/blob/main/README.fr.md) | Deutsch | [Русский](https://github.com/ada87/dsh-hello/blob/main/README.ru.md) | [Português](https://github.com/ada87/dsh-hello/blob/main/README.pt.md)
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/dsh-hello)
|
|
6
|
+
[](https://github.com/ada87/dsh-hello/blob/main/LICENSE)
|
|
7
|
+
[](https://github.com/ada87/dsh-hello/blob/main/docs/COMPATIBILITY.md)
|
|
8
|
+
|
|
9
|
+
1. **Deine Sitzungen, überall.** Alle Workspaces, Live-Status, offene Vorgänge, angeheftete und ungelesene Sitzungen, mit Suche über die ganze Liste.
|
|
10
|
+
2. **Antworten, ohne den Laptop zu öffnen.** Folge der Ausgabe, reihe eine Nachricht hinter dem laufenden Turn ein oder greife mitten im Turn ein.
|
|
11
|
+
3. **Tool-Aufrufe freigeben und Fragen beantworten.** Einmal erlauben, das Tool für die Sitzung erlauben oder ablehnen, mit Vorschau von Befehl, Diff und URL.
|
|
12
|
+
4. **Ein echtes Terminal und der Workspace.** Öffne ein PTY im Sitzungsordner, sieh dir Code, Markdown, PDF und Office-Dateien an und durchstöbere Sitzungsmedien.
|
|
13
|
+
5. **Benachrichtigungen, wenn du gehst.** Optional FCM/APNs oder Webhooks zu WeCom, ntfy, Bark und ServerChan ohne Google-Dienste.
|
|
14
|
+
6. **Direkte Verbindung.** Die App spricht über dieses Plugin mit deinem eigenen Host: kein Konto, kein Relay, ein Token pro Gerät.
|
|
15
|
+
|
|
16
|
+

|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
Öffne **Plugins → Plugin hinzufügen**, gib `dsh-hello` ein und installiere es. Starte `dsh web` neu, wenn das Terminal es verlangt.
|
|
21
|
+
|
|
22
|
+
| 1. Plugins | 2. Plugin hinzufügen |
|
|
23
|
+
|---|---|
|
|
24
|
+
| <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/install-plugins.png" width="420" alt="Plugins öffnen"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/install-add.png" width="420" alt="dsh-hello hinzufügen"> |
|
|
25
|
+
|
|
26
|
+
Öffne dann **Einstellungen → DSH Hello**. Die Seite zeigt einen vierstelligen Kopplungscode und einen QR-Code.
|
|
27
|
+
|
|
28
|
+
| 3. Einstellungen | 4. Telefon koppeln |
|
|
29
|
+
|---|---|
|
|
30
|
+
| <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/install-settings.png" width="300" alt="Einstellungsmenü"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/install-pair.png" width="300" alt="Kopplungscode und QR-Code"> |
|
|
31
|
+
|
|
32
|
+
Per Kommandozeile:
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
dsh plugin --profile web add dsh-hello
|
|
36
|
+
# starte dsh web neu, wenn das Ergebnis es verlangt
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Telefon koppeln
|
|
40
|
+
|
|
41
|
+
Öffne die App und gehe zu **Verbindung → Server hinzufügen → Plugin-Kopplung**; scanne den QR-Code oder gib den Code ein.
|
|
42
|
+
|
|
43
|
+
- Der Code ist standardmäßig **einmalig** und läuft nach fünf Minuten ab; in den Einstellungen gibt es **Dauerhaft** und **Gesperrt**.
|
|
44
|
+
- Jedes Gerät erhält ein eigenes Token und lässt sich unter **Einstellungen → DSH Hello** umbenennen oder widerrufen.
|
|
45
|
+
- Vier Ziffern sind bequem, aber wenig entropisch. Halte dsh in einem vertrauenswürdigen LAN oder Tailscale, oder erhöhe die Codelänge, bevor du es ins Internet stellst.
|
|
46
|
+
|
|
47
|
+
## Verwendung
|
|
48
|
+
|
|
49
|
+
- **Sitzungen**: Die Schublade gruppiert Sitzungen nach Workspace und zeigt Status, offene Freigaben und ungelesenes Gewicht.
|
|
50
|
+
- **Chat**: Verlauf lesen, einreihen oder eingreifen, Modell wechseln und einen abgeschlossenen Turn abzweigen.
|
|
51
|
+
- **Freigaben und Fragen**: vom Telefon beantworten, mit Vorschau von Befehl, Diff, URL oder Dateipfad.
|
|
52
|
+
- **Terminal, Dateien und Medien**: eine echte Shell im Sitzungsordner, hervorgehobener Code, Dokumentvorschauen und nach Monat gruppierte Bilder.
|
|
53
|
+
- **Automatisierung**: geplante Aufgaben ansehen, sofort ausführen, pausieren oder den Zustellverlauf lesen.
|
|
54
|
+
- **Einstellungen → DSH Hello**: Kopplungscode, Sperre, Freigaberichtlinie und Geräteliste.
|
|
55
|
+
|
|
56
|
+
| Sitzungen | Chat | Terminal |
|
|
57
|
+
|:--:|:--:|:--:|
|
|
58
|
+
| <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/sessions.png" width="220" alt="Sitzungsliste"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/chat.png" width="220" alt="Chat mit Tool-Aufrufen"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/terminal.png" width="220" alt="Terminal"> |
|
|
59
|
+
| **Dateien** | **Medien** | **Automatisierung** |
|
|
60
|
+
| <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/files.png" width="220" alt="Workspace-Dateien"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/media.png" width="220" alt="Sitzungsmedien"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/automation.png" width="220" alt="Geplante Aufgabe"> |
|
|
61
|
+
|
|
62
|
+
## Voraussetzungen
|
|
63
|
+
|
|
64
|
+
- dsh **0.2.2 – 0.2.x** auf dem Host, mit dem Profil `web`.
|
|
65
|
+
- Die **DSH Hello**-App für Android und iOS: <https://dsh.xdnote.com/>. Sie ist ein Drittanbieter-Client ohne Verbindung zu DeepSeek.
|
|
66
|
+
- HTTPS oder Tailscale außerhalb eines vertrauenswürdigen Netzes. Unverschlüsseltes HTTP ist eine bewusste Entscheidung; die App warnt vor dem Koppeln.
|
|
67
|
+
|
|
68
|
+
## Dokumentation
|
|
69
|
+
|
|
70
|
+
- [Referenz](https://github.com/ada87/dsh-hello/blob/main/docs/REFERENCE.md): Konfiguration, HTTP-API, Push, Sicherheitsmodell und Entwicklung.
|
|
71
|
+
- [Kompatibilität](https://github.com/ada87/dsh-hello/blob/main/docs/COMPATIBILITY.md): getestete dsh-Versionen und Supportfenster.
|
|
72
|
+
- [Erweitern](https://github.com/ada87/dsh-hello/blob/main/docs/EXTENDING.md): konfigurieren, mit einem Begleit-Plugin erweitern oder forken.
|
|
73
|
+
|
|
74
|
+
MIT
|
package/README.es.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# DSH Hello
|
|
2
|
+
|
|
3
|
+
[English](https://github.com/ada87/dsh-hello/blob/main/README.md) | [中文](https://github.com/ada87/dsh-hello/blob/main/README.zh.md) | [日本語](https://github.com/ada87/dsh-hello/blob/main/README.ja.md) | Español | [Français](https://github.com/ada87/dsh-hello/blob/main/README.fr.md) | [Deutsch](https://github.com/ada87/dsh-hello/blob/main/README.de.md) | [Русский](https://github.com/ada87/dsh-hello/blob/main/README.ru.md) | [Português](https://github.com/ada87/dsh-hello/blob/main/README.pt.md)
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/dsh-hello)
|
|
6
|
+
[](https://github.com/ada87/dsh-hello/blob/main/LICENSE)
|
|
7
|
+
[](https://github.com/ada87/dsh-hello/blob/main/docs/COMPATIBILITY.md)
|
|
8
|
+
|
|
9
|
+
1. **Tus sesiones, en todas partes.** Todos los espacios de trabajo, estado de ejecución en vivo, recuento de pendientes, fijadas y no leídas, con búsqueda en toda la lista.
|
|
10
|
+
2. **Responde sin abrir el portátil.** Sigue la salida, pon un mensaje en cola tras el turno actual o interrumpe al agente a mitad de turno.
|
|
11
|
+
3. **Aprueba llamadas y responde preguntas.** Permite una vez, permite la herramienta para la sesión o deniega, con vistas previas de comandos, diffs y URL.
|
|
12
|
+
4. **Una terminal real y el espacio de trabajo.** Abre un PTY en el directorio de la sesión, previsualiza código, Markdown, PDF y Office, y explora los medios de la sesión.
|
|
13
|
+
5. **Avisos cuando te vas.** FCM/APNs opcional, o webhooks a WeCom, ntfy, Bark y ServerChan sin servicios de Google.
|
|
14
|
+
6. **Conexión directa.** La app habla con tu propio Host a través de este plugin: sin cuenta, sin intermediario, un token por dispositivo.
|
|
15
|
+
|
|
16
|
+

|
|
17
|
+
|
|
18
|
+
## Instalación
|
|
19
|
+
|
|
20
|
+
Abre **Complementos → Añadir complemento**, escribe `dsh-hello` e instala. Reinicia `dsh web` si la terminal lo pide.
|
|
21
|
+
|
|
22
|
+
| 1. Complementos | 2. Añadir complemento |
|
|
23
|
+
|---|---|
|
|
24
|
+
| <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/install-plugins.png" width="420" alt="Abrir complementos"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/install-add.png" width="420" alt="Añadir dsh-hello"> |
|
|
25
|
+
|
|
26
|
+
Después abre **Ajustes → DSH Hello**. La página muestra un código de cuatro dígitos y un código QR.
|
|
27
|
+
|
|
28
|
+
| 3. Ajustes | 4. Emparejar el teléfono |
|
|
29
|
+
|---|---|
|
|
30
|
+
| <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/install-settings.png" width="300" alt="Menú de ajustes"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/install-pair.png" width="300" alt="Código de emparejamiento y QR"> |
|
|
31
|
+
|
|
32
|
+
Desde la línea de comandos:
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
dsh plugin --profile web add dsh-hello
|
|
36
|
+
# reinicia dsh web si el resultado lo pide
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Empareja el teléfono
|
|
40
|
+
|
|
41
|
+
Abre la app, ve a **Conexión → Añadir servidor → Emparejamiento por plugin** y escanea el QR o escribe el código.
|
|
42
|
+
|
|
43
|
+
- El código es de **un solo uso** por defecto y caduca a los cinco minutos; en Ajustes puedes pasar a **Permanente** o **Bloqueado**.
|
|
44
|
+
- Cada dispositivo recibe su propio token y se puede renombrar o revocar en **Ajustes → DSH Hello**.
|
|
45
|
+
- Cuatro dígitos son cómodos pero tienen poca entropía. Mantén dsh en una LAN de confianza o Tailscale, o aumenta la longitud del código antes de exponerlo a internet.
|
|
46
|
+
|
|
47
|
+
## Uso
|
|
48
|
+
|
|
49
|
+
- **Sesiones**: el panel agrupa las sesiones por espacio de trabajo y muestra estado, aprobaciones pendientes y peso de no leídas.
|
|
50
|
+
- **Chat**: lee la conversación, pon en cola o interrumpe, cambia de modelo y bifurca un turno terminado.
|
|
51
|
+
- **Aprobaciones y preguntas**: responde desde el teléfono con vistas previas de comandos, diffs, URL o rutas.
|
|
52
|
+
- **Terminal, archivos y medios**: un shell real en la carpeta de la sesión, código con resaltado, documentos previsualizables e imágenes por mes.
|
|
53
|
+
- **Automatizaciones**: consulta tareas programadas, ejecuta una ahora, pausa o revisa el historial de entregas.
|
|
54
|
+
- **Ajustes → DSH Hello**: código de emparejamiento, bloqueo, política de aprobación y tabla de dispositivos.
|
|
55
|
+
|
|
56
|
+
| Sesiones | Chat | Terminal |
|
|
57
|
+
|:--:|:--:|:--:|
|
|
58
|
+
| <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/sessions.png" width="220" alt="Lista de sesiones"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/chat.png" width="220" alt="Chat con llamadas a herramientas"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/terminal.png" width="220" alt="Terminal"> |
|
|
59
|
+
| **Archivos** | **Medios** | **Automatizaciones** |
|
|
60
|
+
| <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/files.png" width="220" alt="Archivos del espacio de trabajo"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/media.png" width="220" alt="Medios de la sesión"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/automation.png" width="220" alt="Tarea programada"> |
|
|
61
|
+
|
|
62
|
+
## Requisitos
|
|
63
|
+
|
|
64
|
+
- dsh **0.2.2 – 0.2.x** en el Host, con el perfil `web`.
|
|
65
|
+
- La app **DSH Hello** para Android e iOS: <https://dsh.xdnote.com/>. Es un cliente de terceros, sin relación con DeepSeek.
|
|
66
|
+
- HTTPS o Tailscale fuera de una red de confianza. El HTTP sin cifrar es una decisión deliberada y la app avisa antes de emparejar.
|
|
67
|
+
|
|
68
|
+
## Documentación
|
|
69
|
+
|
|
70
|
+
- [Referencia](https://github.com/ada87/dsh-hello/blob/main/docs/REFERENCE.md): configuración, API HTTP, notificaciones, seguridad y desarrollo.
|
|
71
|
+
- [Compatibilidad](https://github.com/ada87/dsh-hello/blob/main/docs/COMPATIBILITY.md): versiones de dsh probadas y ventana de soporte.
|
|
72
|
+
- [Ampliación](https://github.com/ada87/dsh-hello/blob/main/docs/EXTENDING.md): configurar, ampliar con un complemento o bifurcar.
|
|
73
|
+
|
|
74
|
+
MIT
|
package/README.fr.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# DSH Hello
|
|
2
|
+
|
|
3
|
+
[English](https://github.com/ada87/dsh-hello/blob/main/README.md) | [中文](https://github.com/ada87/dsh-hello/blob/main/README.zh.md) | [日本語](https://github.com/ada87/dsh-hello/blob/main/README.ja.md) | [Español](https://github.com/ada87/dsh-hello/blob/main/README.es.md) | Français | [Deutsch](https://github.com/ada87/dsh-hello/blob/main/README.de.md) | [Русский](https://github.com/ada87/dsh-hello/blob/main/README.ru.md) | [Português](https://github.com/ada87/dsh-hello/blob/main/README.pt.md)
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/dsh-hello)
|
|
6
|
+
[](https://github.com/ada87/dsh-hello/blob/main/LICENSE)
|
|
7
|
+
[](https://github.com/ada87/dsh-hello/blob/main/docs/COMPATIBILITY.md)
|
|
8
|
+
|
|
9
|
+
1. **Vos sessions, partout.** Tous les espaces de travail, l'état d'exécution en direct, le nombre d'éléments en attente, les épinglés et les non lus, avec une recherche sur toute la liste.
|
|
10
|
+
2. **Répondez sans ouvrir le portable.** Suivez la sortie, mettez un message en file derrière le tour en cours ou interrompez l'agent en pleine exécution.
|
|
11
|
+
3. **Validez les appels d'outils et répondez aux questions.** Autorisez une fois, autorisez l'outil pour la session ou refusez, avec un aperçu des commandes, des diffs et des URL.
|
|
12
|
+
4. **Un vrai terminal et l'espace de travail.** Ouvrez un PTY dans le dossier de la session, prévisualisez le code, Markdown, PDF et Office, et parcourez les médias de la session.
|
|
13
|
+
5. **Des notifications quand vous partez.** FCM/APNs en option, ou des webhooks vers WeCom, ntfy, Bark et ServerChan sans services Google.
|
|
14
|
+
6. **Connexion directe.** L'app parle à votre propre Host via ce plugin : sans compte, sans relais, un jeton par appareil.
|
|
15
|
+
|
|
16
|
+

|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
Ouvrez **Extensions → Ajouter une extension**, saisissez `dsh-hello` et installez. Redémarrez `dsh web` si le terminal le demande.
|
|
21
|
+
|
|
22
|
+
| 1. Extensions | 2. Ajouter une extension |
|
|
23
|
+
|---|---|
|
|
24
|
+
| <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/install-plugins.png" width="420" alt="Ouvrir les extensions"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/install-add.png" width="420" alt="Ajouter dsh-hello"> |
|
|
25
|
+
|
|
26
|
+
Ouvrez ensuite **Réglages → DSH Hello**. La page affiche un code d'appairage à quatre chiffres et un QR code.
|
|
27
|
+
|
|
28
|
+
| 3. Réglages | 4. Appairer le téléphone |
|
|
29
|
+
|---|---|
|
|
30
|
+
| <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/install-settings.png" width="300" alt="Menu des réglages"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/install-pair.png" width="300" alt="Code d'appairage et QR code"> |
|
|
31
|
+
|
|
32
|
+
En ligne de commande :
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
dsh plugin --profile web add dsh-hello
|
|
36
|
+
# redémarrez dsh web si le résultat le demande
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Appairer le téléphone
|
|
40
|
+
|
|
41
|
+
Ouvrez l'app, puis **Connexion → Ajouter un serveur → Appairage par plugin**, et scannez le QR code ou saisissez le code.
|
|
42
|
+
|
|
43
|
+
- Le code est **à usage unique** par défaut et expire après cinq minutes ; les Réglages proposent les modes **Permanent** et **Verrouillé**.
|
|
44
|
+
- Chaque appareil reçoit son propre jeton et peut être renommé ou révoqué dans **Réglages → DSH Hello**.
|
|
45
|
+
- Quatre chiffres sont pratiques mais peu entropiques. Gardez dsh sur un LAN de confiance ou Tailscale, ou augmentez la longueur du code avant de l'exposer à internet.
|
|
46
|
+
|
|
47
|
+
## Utilisation
|
|
48
|
+
|
|
49
|
+
- **Sessions** : le tiroir regroupe les sessions par espace de travail et affiche l'état, les validations en attente et le poids des non lues.
|
|
50
|
+
- **Chat** : lisez la conversation, mettez en file ou interrompez, changez de modèle et bifurquez un tour terminé.
|
|
51
|
+
- **Validations et questions** : répondez depuis le téléphone avec des aperçus de commandes, diffs, URL ou chemins.
|
|
52
|
+
- **Terminal, fichiers et médias** : un vrai shell dans le dossier de la session, du code coloré, des documents prévisualisables et des images classées par mois.
|
|
53
|
+
- **Automatisations** : consultez les tâches planifiées, exécutez-en une, mettez-la en pause ou lisez l'historique des livraisons.
|
|
54
|
+
- **Réglages → DSH Hello** : code d'appairage, verrouillage, politique de validation et table des appareils.
|
|
55
|
+
|
|
56
|
+
| Sessions | Chat | Terminal |
|
|
57
|
+
|:--:|:--:|:--:|
|
|
58
|
+
| <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/sessions.png" width="220" alt="Liste des sessions"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/chat.png" width="220" alt="Chat et appels d'outils"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/terminal.png" width="220" alt="Terminal"> |
|
|
59
|
+
| **Fichiers** | **Médias** | **Automatisations** |
|
|
60
|
+
| <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/files.png" width="220" alt="Fichiers de l'espace de travail"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/media.png" width="220" alt="Médias de la session"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/automation.png" width="220" alt="Tâche planifiée"> |
|
|
61
|
+
|
|
62
|
+
## Prérequis
|
|
63
|
+
|
|
64
|
+
- dsh **0.2.2 – 0.2.x** sur le Host, avec le profil `web`.
|
|
65
|
+
- L'app **DSH Hello** pour Android et iOS : <https://dsh.xdnote.com/>. C'est un client tiers, sans lien avec DeepSeek.
|
|
66
|
+
- HTTPS ou Tailscale en dehors d'un réseau de confiance. Le HTTP en clair est un choix assumé et l'app avertit avant l'appairage.
|
|
67
|
+
|
|
68
|
+
## Documentation
|
|
69
|
+
|
|
70
|
+
- [Référence](https://github.com/ada87/dsh-hello/blob/main/docs/REFERENCE.md) : configuration, API HTTP, notifications, sécurité et développement.
|
|
71
|
+
- [Compatibilité](https://github.com/ada87/dsh-hello/blob/main/docs/COMPATIBILITY.md) : versions de dsh testées et fenêtre de support.
|
|
72
|
+
- [Extension](https://github.com/ada87/dsh-hello/blob/main/docs/EXTENDING.md) : configurer, étendre avec une extension ou forker.
|
|
73
|
+
|
|
74
|
+
MIT
|
package/README.ja.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# DSH Hello
|
|
2
|
+
|
|
3
|
+
[English](https://github.com/ada87/dsh-hello/blob/main/README.md) | [中文](https://github.com/ada87/dsh-hello/blob/main/README.zh.md) | 日本語 | [Español](https://github.com/ada87/dsh-hello/blob/main/README.es.md) | [Français](https://github.com/ada87/dsh-hello/blob/main/README.fr.md) | [Deutsch](https://github.com/ada87/dsh-hello/blob/main/README.de.md) | [Русский](https://github.com/ada87/dsh-hello/blob/main/README.ru.md) | [Português](https://github.com/ada87/dsh-hello/blob/main/README.pt.md)
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/dsh-hello)
|
|
6
|
+
[](https://github.com/ada87/dsh-hello/blob/main/LICENSE)
|
|
7
|
+
[](https://github.com/ada87/dsh-hello/blob/main/docs/COMPATIBILITY.md)
|
|
8
|
+
|
|
9
|
+
1. **セッションをどこへでも。** ワークスペースごとに全セッションを表示し、実行状態、保留件数、ピン留め、未読をリアルタイムに反映。一覧全体を検索できます。
|
|
10
|
+
2. **PC に戻らず返信。** 出力を追いながら、現在のターンの後ろにメッセージを並べるか、実行中にそのまま割り込みます。
|
|
11
|
+
3. **スマホで承認と回答。** 1 回だけ許可、このセッションでツールを許可、拒否から選択。コマンド、diff、URL のプレビュー付きです。
|
|
12
|
+
4. **本物のターミナルとワークスペース。** セッションディレクトリで PTY を開き、コード、Markdown、PDF、Office ファイルをプレビューし、セッションのメディアを閲覧できます。
|
|
13
|
+
5. **離れても通知。** FCM/APNs は任意。Google サービスなしで WeCom、ntfy、Bark、ServerChan の Webhook も使えます。
|
|
14
|
+
6. **直接接続。** アプリはこのプラグイン経由で自分の Host に接続します。アカウントも中継も不要で、デバイスごとに 1 トークンです。
|
|
15
|
+
|
|
16
|
+

|
|
17
|
+
|
|
18
|
+
## インストール
|
|
19
|
+
|
|
20
|
+
**プラグイン → プラグインを追加** を開き、`dsh-hello` を入力してインストールします。ターミナルに指示が出たら `dsh web` を再起動してください。
|
|
21
|
+
|
|
22
|
+
| 1. プラグイン | 2. プラグインを追加 |
|
|
23
|
+
|---|---|
|
|
24
|
+
| <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/install-plugins.png" width="420" alt="プラグインを開く"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/install-add.png" width="420" alt="dsh-hello を追加"> |
|
|
25
|
+
|
|
26
|
+
次に **設定 → DSH Hello** を開きます。4 桁のペアリングコードと QR コードが表示されます。
|
|
27
|
+
|
|
28
|
+
| 3. 設定 | 4. スマホをペアリング |
|
|
29
|
+
|---|---|
|
|
30
|
+
| <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/install-settings.png" width="300" alt="設定メニュー"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/install-pair.png" width="300" alt="ペアリングコードと QR コード"> |
|
|
31
|
+
|
|
32
|
+
コマンドラインからもインストールできます。
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
dsh plugin --profile web add dsh-hello
|
|
36
|
+
# 必要なら dsh web を再起動
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## スマホをペアリング
|
|
40
|
+
|
|
41
|
+
アプリで **接続 → サーバーを追加 → プラグイン ペアリング** を開き、QR コードを読み取るかコードを入力します。
|
|
42
|
+
|
|
43
|
+
- コードは既定で**ワンタイム**で、5 分後に失効します。設定で**常時**または**ロック**に変更できます。
|
|
44
|
+
- デバイスごとに固有のトークンが発行され、**設定 → DSH Hello** で名前の変更や失効ができます。
|
|
45
|
+
- 4 桁は便利ですが推測されやすい値です。dsh は信頼できる LAN か Tailscale 内に置き、インターネットへ公開する前にコード長を増やしてください。
|
|
46
|
+
|
|
47
|
+
## 使い方
|
|
48
|
+
|
|
49
|
+
- **セッション**:ドロワーがワークスペースごとにまとめ、実行状態、承認待ち、未読の重みを表示します。
|
|
50
|
+
- **チャット**:履歴を読み、キューまたは割り込みで送信し、モデルを切り替え、完了したターンを分岐できます。
|
|
51
|
+
- **承認と質問**:コマンド、diff、URL、ファイルパスのプレビュー付きでスマホから回答します。
|
|
52
|
+
- **ターミナル、ファイル、メディア**:セッションフォルダーで本物のシェルを開き、コードをハイライト表示し、ドキュメントをプレビューできます。
|
|
53
|
+
- **自動化**:スケジュールされたタスクを確認し、今すぐ実行、一時停止、配信履歴の閲覧ができます。
|
|
54
|
+
- **設定 → DSH Hello**:ペアリングコード、ロック、承認ポリシー、ペアリング済みデバイスの一覧。
|
|
55
|
+
|
|
56
|
+
| セッション | チャット | ターミナル |
|
|
57
|
+
|:--:|:--:|:--:|
|
|
58
|
+
| <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/sessions.png" width="220" alt="セッション一覧"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/chat.png" width="220" alt="チャットとツール呼び出し"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/terminal.png" width="220" alt="ターミナル"> |
|
|
59
|
+
| **ファイル** | **メディア** | **自動化** |
|
|
60
|
+
| <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/files.png" width="220" alt="ワークスペースのファイル"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/media.png" width="220" alt="セッションのメディア"> | <img src="https://raw.githubusercontent.com/ada87/dsh-hello/main/docs/images/automation.png" width="220" alt="スケジュールされたタスク"> |
|
|
61
|
+
|
|
62
|
+
## 動作環境
|
|
63
|
+
|
|
64
|
+
- Host で dsh **0.2.2 – 0.2.x** が動作し、`web` プロファイルが有効であること。
|
|
65
|
+
- Android と iOS の **DSH Hello** アプリ:<https://dsh.xdnote.com/>。DeepSeek とは無関係のサードパーティ製クライアントです。
|
|
66
|
+
- 信頼できるネットワークの外からは HTTPS または Tailscale を使用してください。平文 HTTP は意図的な選択で、アプリはペアリング前に警告します。
|
|
67
|
+
|
|
68
|
+
## ドキュメント
|
|
69
|
+
|
|
70
|
+
- [リファレンス](https://github.com/ada87/dsh-hello/blob/main/docs/REFERENCE.md):設定、HTTP API、プッシュ、セキュリティモデル、開発。
|
|
71
|
+
- [互換性](https://github.com/ada87/dsh-hello/blob/main/docs/COMPATIBILITY.md):テスト済みの dsh バージョンとサポート範囲。
|
|
72
|
+
- [拡張](https://github.com/ada87/dsh-hello/blob/main/docs/EXTENDING.md):設定で拡張するか、プラグインを併用するか、fork するか。
|
|
73
|
+
|
|
74
|
+
MIT
|