dsh-session-sync 0.1.0 → 0.1.2
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/ARCHITECTURE.md +1 -1
- package/CHANGELOG.md +17 -0
- package/README.es.md +41 -5
- package/README.hi.md +41 -5
- package/README.md +41 -5
- package/README.pt.md +41 -5
- package/README.zh.md +41 -5
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/cordis.patch.yml +13 -0
- package/index.mjs +5 -3
- package/lib/gate.mjs +1 -1
- package/package.json +23 -16
package/ARCHITECTURE.md
CHANGED
|
@@ -57,7 +57,7 @@ Fork files are named `<basename>.remote-fork-<UTC timestamp>-<device8>`; mirror
|
|
|
57
57
|
|
|
58
58
|
## Session events (adaptive gate)
|
|
59
59
|
|
|
60
|
-
`sync/push`, `sync/pull`, and `sync/conflict` are declared through `SessionEventMap` declaration merging in `types.d.ts`. At runtime the plugin appends one only when either (a) the host's `KNOWN_SESSION_EVENT_TYPES` already includes the type, or (b) the host `Session.append`
|
|
60
|
+
`sync/push`, `sync/pull`, and `sync/conflict` are declared through `SessionEventMap` declaration merging in `types.d.ts`. At runtime the plugin appends one only when either (a) the host's `KNOWN_SESSION_EVENT_TYPES` already includes the type, or (b) the host `Session.append` exposes the `ignorable` envelope (`probeIgnorableAppend`). On `0.1.0-rc.6` and `0.1.0-rc.8` neither is true (rc.8's `append` takes no envelope for non-surface types; `ignorable` is a read-path marker only), so the gate stays closed and appends are skipped — sessions keep loading. Once a host records the types, appends turn on automatically; the gate is never removed by hand.
|
|
61
61
|
|
|
62
62
|
## Storage domain
|
|
63
63
|
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,23 @@ All notable changes to this project are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.1.2] - 2026-08-21
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Upgraded every `@deepseek-ai/dsh-*` dependency to `0.1.0-rc.8`: devDependencies pin exact `0.1.0-rc.8`, peerDependencies widen to `>=0.1.0-rc.8 <0.2.0`, and `dshWorkshop.compatibility.dshVersions` now lists `0.1.0-rc.8`. The session-event adaptive gate stays closed on rc.8 (the harness still does not record `sync/*` types, and rc.8 `Session.append` takes no `ignorable` envelope for non-surface types), so sessions keep loading unchanged.
|
|
13
|
+
- CI compat probe now verifies the plugin against `@deepseek-ai/dsh-base`/`dsh-headless` at `0.1.0-rc.8`; the five-language READMEs, `AGENTS.md`, `ARCHITECTURE.md`, and `THIRD_PARTY_NOTICES.md` document the rc.8 target.
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- `scripts/loader-runner.mjs` calls the rc.8 `commands.execute(agent, line, images, signal)` signature (empty image batch), so the real-Loader composition tests run against the rc.8 commands registry.
|
|
18
|
+
|
|
19
|
+
## [0.1.1] - 2026-08-17
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
|
|
23
|
+
- The bundle patch now composes the storage stack (`@deepseek-ai/dsh-storage` + `dsh-storage-json` + `dsh-storage-domain`) and declares all three packages, so a bare profile gets the `storageDomain` service the plugin injects instead of hanging with `pending (waiting for service: storageDomain)`.
|
|
24
|
+
|
|
8
25
|
## [0.1.0] - 2026-08-16
|
|
9
26
|
|
|
10
27
|
### Added
|
package/README.es.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# dsh-session-sync
|
|
2
|
-
|
|
3
1
|
<div align="center">
|
|
4
2
|
|
|
3
|
+
# 🔄 dsh-session-sync
|
|
4
|
+
|
|
5
5
|
**Sincronización de sesiones entre dispositivos para DeepSeek Harness — un espejo git dedicado de tu almacén de sesiones.**
|
|
6
6
|
|
|
7
7
|
*Sincroniza tus sesiones entre dispositivos, conserva ambos lados ante cualquier conflicto, nunca pierdas un turno.*
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
| Superficie | Estado |
|
|
26
26
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.0-rc.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.0-rc.8` |
|
|
28
28
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
29
|
| Plataformas | Cualquier lugar donde `git` y DSH se ejecuten (espejo basado en git; sin código específico de plataforma) |
|
|
30
30
|
| Modelo | Los modelos solo texto funcionan plenamente; no se requiere visión ni capacidad extra |
|
|
@@ -151,14 +151,14 @@ Ejemplo de sobrescritura en tu parche de perfil:
|
|
|
151
151
|
|
|
152
152
|
- **Solo backend git.** Los backends de cifrado de extremo a extremo (estilo age/GPG) están reservados pero no implementados; configurar uno falla alto al cargar. Hasta entonces, los bytes de sesión se almacenan sin cifrar en **tu** remoto git — usa un repositorio privado.
|
|
153
153
|
- **Se requiere git.** El plugin necesita el ejecutable `git` y el servicio `subprocess`; sin ellos, las operaciones de sincronización fallan con un motivo claro (los perfiles siguen arrancando).
|
|
154
|
-
- **Eventos de sesión en `0.1.0-rc.6`.** El harness aún no registra los tipos `sync/*`, por lo que
|
|
154
|
+
- **Eventos de sesión en `0.1.0-rc.6`/`0.1.0-rc.8`.** El harness aún no registra los tipos `sync/*`, por lo que los anexos al registro de sesión se omiten (las sesiones siguen cargando); el plugin los habilita automáticamente una vez que un host registra los tipos o expone el envoltorio `ignorable` en `Session.append`.
|
|
155
155
|
- **`approval` entre turnos.** `/sync` se ejecuta entre turnos, donde el canal `approval` no tiene un turno abierto al que adjuntarse; usa `confirmVia: userQuestions` para la sincronización por comando, o impulsa la sincronización mediante las herramientas dentro de un turno.
|
|
156
156
|
|
|
157
157
|
## Desarrollo
|
|
158
158
|
|
|
159
159
|
```sh
|
|
160
160
|
pnpm install # node ^22.19 || >=24
|
|
161
|
-
pnpm run typecheck && pnpm run typecheck:ci # tsc --checkJs contra los peers rc.
|
|
161
|
+
pnpm run typecheck && pnpm run typecheck:ci # tsc --checkJs contra los peers rc.8 publicados
|
|
162
162
|
pnpm test # node --test (6 suites; las suites git se omiten sin git)
|
|
163
163
|
pnpm run verify:self-contained # las specs de dependencias resuelven desde el registro
|
|
164
164
|
pnpm run verify:artifacts # archivos publicados presentes + index.mjs importable
|
|
@@ -176,6 +176,42 @@ No hay paso de compilación: ESM puro, `index.mjs` y `lib/` son los artefactos p
|
|
|
176
176
|
|
|
177
177
|
- [@PerryLink](https://github.com/PerryLink) — creador y mantenedor: motor de espejo git, merge append-only conservando ambos, comando `/sync` y herramientas `sync_*`, modos automáticos, saneadores y documentación en cinco idiomas.
|
|
178
178
|
|
|
179
|
+
## PerryLink DSH Plugin Family
|
|
180
|
+
|
|
181
|
+
Este proyecto es uno de los [29 complementos de DeepSeek Harness](https://github.com/PerryLink) mantenidos por [PerryLink](https://github.com/PerryLink). Si este te ayuda, los demás probablemente también:
|
|
182
|
+
|
|
183
|
+
| Plugin | One-liner |
|
|
184
|
+
|---|---|
|
|
185
|
+
| [dsh-auto-review](https://github.com/PerryLink/dsh-auto-review) | Auto-revisión con segundo modelo en la cadena de aprobación, cerrado ante fallo por defecto |
|
|
186
|
+
| [dsh-background-agents](https://github.com/PerryLink/dsh-background-agents) | Agentes secundarios en segundo plano y duraderos con barra lateral Web, mensajería e interrupción |
|
|
187
|
+
| [dsh-budget](https://github.com/PerryLink/dsh-budget) | Gobernanza de costes para DeepSeek Harness: presupuestos, carbono y latencia en un panel. |
|
|
188
|
+
| [dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind) | Equivalente a /rewind de Claude Code: instantáneas, bifurcaciones y restauración de una vez |
|
|
189
|
+
| [dsh-claude-move](https://github.com/PerryLink/dsh-claude-move) | Migra sesiones, memoria, skills y CLAUDE.md de Claude Code a DSH |
|
|
190
|
+
| [dsh-click](https://github.com/PerryLink/dsh-click) | Control de escritorio nativo multiplataforma para DeepSeek Harness — Windows primero. |
|
|
191
|
+
| [dsh-composer-history](https://github.com/PerryLink/dsh-composer-history) | Historial de entrada estilo terminal para el compositor web: flechas, búsqueda Ctrl+R |
|
|
192
|
+
| [dsh-defend](https://github.com/PerryLink/dsh-defend) | Defensa contra inyección de prompts, jailbreak y fuga de secretos para DeepSeek Harness. |
|
|
193
|
+
| [dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck) | Guardia de disciplina de ingeniería: interrogatorio de requisitos, puertas de test, revisión adversaria |
|
|
194
|
+
| [dsh-draw](https://github.com/PerryLink/dsh-draw) | Enrutamiento unificado de generación de imágenes estáticas para DeepSeek Harness. |
|
|
195
|
+
| [dsh-fast](https://github.com/PerryLink/dsh-fast) | Diagnóstico de rendimiento de solo lectura para DeepSeek Harness. |
|
|
196
|
+
| [dsh-github](https://github.com/PerryLink/dsh-github) | Integración de PR/issues de GitHub para DSH, cada escritura con aprobación |
|
|
197
|
+
| [dsh-library](https://github.com/PerryLink/dsh-library) | Base de conocimiento documental local para DeepSeek Harness. |
|
|
198
|
+
| [dsh-local-ai](https://github.com/PerryLink/dsh-local-ai) | Integración de modelos locales (Ollama) para DeepSeek Harness. |
|
|
199
|
+
| [dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions) | Diagnóstico, formato, completado, acciones y renombrado LSP vía servidores de lenguaje |
|
|
200
|
+
| [dsh-mask](https://github.com/PerryLink/dsh-mask) | Middleware de enmascarado PII para DeepSeek Harness — anonimiza antes del modelo y restaura en la capa de visualización. |
|
|
201
|
+
| [dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel) | Panel MCP de solo lectura: comando /mcp + pestaña de ajustes con estado, herramientas y errores |
|
|
202
|
+
| [dsh-memento](https://github.com/PerryLink/dsh-memento) | Memoria entre sesiones con puerta de aprobación: seam ctx.memory + SQLite + herramienta memory |
|
|
203
|
+
| [dsh-observe](https://github.com/PerryLink/dsh-observe) | Exportador de observabilidad OpenTelemetry y Langfuse para DeepSeek Harness. |
|
|
204
|
+
| [dsh-output-styles](https://github.com/PerryLink/dsh-output-styles) | Cambio de estilos en tiempo de ejecución equivalente a outputStyles de Claude Code |
|
|
205
|
+
| [dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules) | Reglas declarativas allow/deny/ask estilo Claude Code con auditoría |
|
|
206
|
+
| [dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide) | Base de conocimiento de desarrollo de complementos como skill de agente bajo demanda |
|
|
207
|
+
| [dsh-score](https://github.com/PerryLink/dsh-score) | Puntuación de calidad multidimensional para complementos de DeepSeek Harness. |
|
|
208
|
+
| [dsh-session-pin](https://github.com/PerryLink/dsh-session-pin) | Fija sesiones en la barra lateral Web con orden durable |
|
|
209
|
+
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | Sincronización de sesiones entre dispositivos para DeepSeek Harness — un espejo git dedicado de tu almacén de sesiones. |
|
|
210
|
+
| [dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security) | Paquete de skills de auditoría de seguridad: escaneo de secretos, revisión de dependencias y cadena de suministro |
|
|
211
|
+
| [dsh-talk](https://github.com/PerryLink/dsh-talk) | Bucle de sesión con voz para DeepSeek Harness: háblale y escucha su respuesta. |
|
|
212
|
+
| [dsh-test-drive](https://github.com/PerryLink/dsh-test-drive) | Pruebas de instalación y arranque aisladas para complementos de DeepSeek Harness. |
|
|
213
|
+
| [dsh-translate](https://github.com/PerryLink/dsh-translate) | Traducción de parámetros entre proveedores y reparación determinista de JSON para DeepSeek Harness. |
|
|
214
|
+
|
|
179
215
|
## Licencia
|
|
180
216
|
|
|
181
217
|
[LICENSE](LICENSE) (Apache License 2.0) © 2026 dsh-session-sync contributors
|
package/README.hi.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# dsh-session-sync
|
|
2
|
-
|
|
3
1
|
<div align="center">
|
|
4
2
|
|
|
3
|
+
# 🔄 dsh-session-sync
|
|
4
|
+
|
|
5
5
|
**DeepSeek Harness के लिए क्रॉस-डिवाइस सत्र सिंक — आपके सत्र स्टोर का एक समर्पित git मिरर।**
|
|
6
6
|
|
|
7
7
|
*अपने सत्रों को डिवाइसों के बीच सिंक करें, किसी भी टकराव में दोनों पक्ष रखें, कभी कोई टर्न न खोएँ।*
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
| सतह | स्थिति |
|
|
26
26
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.0-rc.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.0-rc.8` |
|
|
28
28
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
29
|
| प्लेटफ़ॉर्म | जहाँ भी `git` और DSH चलते हैं (git-आधारित मिरर; कोई प्लेटफ़ॉर्म-विशिष्ट कोड नहीं) |
|
|
30
30
|
| मॉडल | केवल-टेक्स्ट मॉडल पूर्ण रूप से समर्थित; विज़न या अतिरिक्त क्षमता की आवश्यकता नहीं |
|
|
@@ -151,14 +151,14 @@ dsh --profile web --dump-config | grep -A2 'id: session-sync'
|
|
|
151
151
|
|
|
152
152
|
- **केवल git बैकएंड।** एंड-टू-एंड एन्क्रिप्शन बैकएंड (age/GPG शैली) आरक्षित हैं लेकिन लागू नहीं; एक को कॉन्फ़िगर करना लोड पर तेज़ी से असफल होता है। तब तक, सत्र बाइट्स **आपके** git रिमोट में अनएन्क्रिप्टेड रहते हैं — एक निजी रिपॉज़िटरी का उपयोग करें।
|
|
153
153
|
- **git आवश्यक।** प्लगइन को `git` एक्ज़ीक्यूटेबल और `subprocess` सेवा चाहिए; उनके बिना, सिंक ऑपरेशन स्पष्ट कारण से असफल होते हैं (प्रोफ़ाइलें बूट होती रहती हैं)।
|
|
154
|
-
- **`0.1.0-rc.6` पर सत्र ईवेंट।** हार्नेस अभी `sync/*` प्रकार पंजीकृत नहीं करता, इसलिए
|
|
154
|
+
- **`0.1.0-rc.6`/`0.1.0-rc.8` पर सत्र ईवेंट।** हार्नेस अभी `sync/*` प्रकार पंजीकृत नहीं करता, इसलिए सत्र-लॉग जोड़ छोड़ दिए जाते हैं (सत्र लोड होते रहते हैं); प्लगइन उन्हें स्वतः सक्षम करता है जब कोई होस्ट प्रकार पंजीकृत करता है या `Session.append` पर `ignorable` लिफ़ाफ़ा उजागर करता है।
|
|
155
155
|
- **टर्न के बीच `approval`।** `/sync` टर्न के बीच चलता है, जहाँ `approval` चैनल के पास जोड़ने के लिए कोई खुला टर्न नहीं होता; कमांड-संचालित सिंक के लिए `confirmVia: userQuestions` का उपयोग करें, या टर्न के अंदर टूल द्वारा सिंक चलाएँ।
|
|
156
156
|
|
|
157
157
|
## विकास
|
|
158
158
|
|
|
159
159
|
```sh
|
|
160
160
|
pnpm install # node ^22.19 || >=24
|
|
161
|
-
pnpm run typecheck && pnpm run typecheck:ci # प्रकाशित rc.
|
|
161
|
+
pnpm run typecheck && pnpm run typecheck:ci # प्रकाशित rc.8 peers के विरुद्ध tsc --checkJs
|
|
162
162
|
pnpm test # node --test (6 सुइट; git सुइट बिना git के छोड़े जाते हैं)
|
|
163
163
|
pnpm run verify:self-contained # निर्भरता spec रजिस्ट्री से हल होती हैं
|
|
164
164
|
pnpm run verify:artifacts # प्रकाशित फ़ाइलें उपस्थित + index.mjs import योग्य
|
|
@@ -176,6 +176,42 @@ pnpm pack # प्रकाशित ta
|
|
|
176
176
|
|
|
177
177
|
- [@PerryLink](https://github.com/PerryLink) — निर्माता और अनुरक्षक: git मिरर इंजन, append-only दोनों-रखें मर्ज, `/sync` कमांड और `sync_*` टूल, स्वचालित मोड, सैनिटाइज़र, और पाँच-भाषा दस्तावेज़।
|
|
178
178
|
|
|
179
|
+
## PerryLink DSH Plugin Family
|
|
180
|
+
|
|
181
|
+
यह प्रोजेक्ट [PerryLink](https://github.com/PerryLink) द्वारा अनुरक्षित [29 DeepSeek Harness प्लगइनों](https://github.com/PerryLink) में से एक है। अगर यह आपकी मदद करता है, तो बाकी भी करेंगे:
|
|
182
|
+
|
|
183
|
+
| Plugin | One-liner |
|
|
184
|
+
|---|---|
|
|
185
|
+
| [dsh-auto-review](https://github.com/PerryLink/dsh-auto-review) | अनुमोदन श्रृंखला पर दूसरे मॉडल से स्वतः-समीक्षा, डिफ़ॉल्ट रूप से असफल-बंद |
|
|
186
|
+
| [dsh-background-agents](https://github.com/PerryLink/dsh-background-agents) | Web UI साइडबार, संदेश और रुकावट के साथ स्थायी पृष्ठभूमि चाइल्ड एजेंट |
|
|
187
|
+
| [dsh-budget](https://github.com/PerryLink/dsh-budget) | DeepSeek Harness के लिए लागत प्रशासन: बजट, कार्बन और विलंबता एक पैनल में। |
|
|
188
|
+
| [dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind) | Claude Code /rewind-समतुल्य: स्नैपशॉट, सत्र फोर्क, एक-बार पुनर्स्थापन |
|
|
189
|
+
| [dsh-claude-move](https://github.com/PerryLink/dsh-claude-move) | Claude Code सत्र, स्मृति, skills और CLAUDE.md को DSH में स्थानांतरित करें |
|
|
190
|
+
| [dsh-click](https://github.com/PerryLink/dsh-click) | DeepSeek Harness के लिए क्रॉस-प्लेटफ़ॉर्म नेटिव डेस्कटॉप नियंत्रण — Windows पहले। |
|
|
191
|
+
| [dsh-composer-history](https://github.com/PerryLink/dsh-composer-history) | Web कंपोज़र के लिए टर्मिनल-शैली इनपुट इतिहास: तीर, Ctrl+R खोज |
|
|
192
|
+
| [dsh-defend](https://github.com/PerryLink/dsh-defend) | DeepSeek Harness के लिए प्रॉम्प्ट-इंजेक्शन, जेलब्रेक और सीक्रेट-लीक रक्षा। |
|
|
193
|
+
| [dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck) | इंजीनियरिंग-अनुशासन गार्ड: आवश्यकताएँ पूछताछ, परीक्षण द्वार, विरोधी समीक्षा |
|
|
194
|
+
| [dsh-draw](https://github.com/PerryLink/dsh-draw) | DeepSeek Harness के लिए एकीकृत स्थैतिक-छवि निर्माण रूटिंग। |
|
|
195
|
+
| [dsh-fast](https://github.com/PerryLink/dsh-fast) | DeepSeek Harness के लिए केवल-पठन प्रदर्शन निदान। |
|
|
196
|
+
| [dsh-github](https://github.com/PerryLink/dsh-github) | DSH के लिए GitHub PR/issues एकीकरण, हर लेखन अनुमोदन-द्वारित |
|
|
197
|
+
| [dsh-library](https://github.com/PerryLink/dsh-library) | DeepSeek Harness के लिए स्थानीय दस्तावेज़ ज्ञानकोश। |
|
|
198
|
+
| [dsh-local-ai](https://github.com/PerryLink/dsh-local-ai) | DeepSeek Harness के लिए स्थानीय-मॉडल (Ollama) एकीकरण। |
|
|
199
|
+
| [dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions) | भाषा सर्वरों पर LSP निदान, फ़ॉर्मेटिंग, पूर्णता, कोड क्रियाएँ और नाम बदलना |
|
|
200
|
+
| [dsh-mask](https://github.com/PerryLink/dsh-mask) | DeepSeek Harness के लिए PII मास्किंग मिडलवेयर — मॉडल तक पहुँचने से पहले व्यक्तिगत डेटा अनाम करता है, प्रदर्शन परत पर बहाल करता है। |
|
|
201
|
+
| [dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel) | केवल-पठन MCP रनटाइम पैनल: /mcp कमांड + स्थिति, टूल और त्रुटियों वाला सेटिंग टैब |
|
|
202
|
+
| [dsh-memento](https://github.com/PerryLink/dsh-memento) | अनुमोदन-द्वारित क्रॉस-सत्र स्मृति: ctx.memory seam + SQLite + memory टूल |
|
|
203
|
+
| [dsh-observe](https://github.com/PerryLink/dsh-observe) | DeepSeek Harness के लिए OpenTelemetry और Langfuse अवलोकनीयता निर्यातक। |
|
|
204
|
+
| [dsh-output-styles](https://github.com/PerryLink/dsh-output-styles) | Claude Code outputStyles-समतुल्य रनटाइम शैली स्विचिंग |
|
|
205
|
+
| [dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules) | Claude Code-शैली घोषणात्मक allow/deny/ask अनुमति नियम, ऑडिट के साथ |
|
|
206
|
+
| [dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide) | माँग-पर एजेंट स्किल के रूप में प्लगइन-विकास ज्ञानकोश |
|
|
207
|
+
| [dsh-score](https://github.com/PerryLink/dsh-score) | DeepSeek Harness प्लगइनों के लिए बहु-आयामी गुणवत्ता स्कोरिंग। |
|
|
208
|
+
| [dsh-session-pin](https://github.com/PerryLink/dsh-session-pin) | Web साइडबार में सत्र पिन करें, स्थायी क्रम के साथ |
|
|
209
|
+
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | DeepSeek Harness के लिए क्रॉस-डिवाइस सत्र सिंक — आपके सत्र स्टोर का एक समर्पित git मिरर। |
|
|
210
|
+
| [dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security) | सुरक्षा-ऑडिट स्किल पैक: सीक्रेट स्कैन, निर्भरता और आपूर्ति-श्रृंखला समीक्षा |
|
|
211
|
+
| [dsh-talk](https://github.com/PerryLink/dsh-talk) | DeepSeek Harness के लिए आवाज़-प्रथम सत्र लूप: बोलें और उत्तर सुनें। |
|
|
212
|
+
| [dsh-test-drive](https://github.com/PerryLink/dsh-test-drive) | DeepSeek Harness प्लगइनों के लिए पृथक इंस्टॉल-और-स्मोक परीक्षण। |
|
|
213
|
+
| [dsh-translate](https://github.com/PerryLink/dsh-translate) | DeepSeek Harness के लिए वेंडर पैरामीटर अनुवाद और नियतात्मक JSON मरम्मत। |
|
|
214
|
+
|
|
179
215
|
## लाइसेंस
|
|
180
216
|
|
|
181
217
|
[LICENSE](LICENSE) (Apache License 2.0) © 2026 dsh-session-sync contributors
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# dsh-session-sync
|
|
2
|
-
|
|
3
1
|
<div align="center">
|
|
4
2
|
|
|
3
|
+
# 🔄 dsh-session-sync
|
|
4
|
+
|
|
5
5
|
**Cross-device session sync for DeepSeek Harness — a dedicated git mirror of your session store.**
|
|
6
6
|
|
|
7
7
|
*Sync your sessions between devices, keep both sides on any conflict, never lose a turn.*
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
| Surface | Status |
|
|
26
26
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.0-rc.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.0-rc.8` |
|
|
28
28
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
29
|
| Platforms | Anywhere `git` and DSH run (git-based mirror; no platform-specific code) |
|
|
30
30
|
| Model | Text-only models fully supported; no vision or extra model capability required |
|
|
@@ -151,14 +151,14 @@ Example override in your profile patch:
|
|
|
151
151
|
|
|
152
152
|
- **git backend only.** End-to-end-encryption backends (age/GPG-style) are reserved but not implemented; configuring one fails loudly at load. Until then, session bytes are stored unencrypted in **your** git remote — use a private repository.
|
|
153
153
|
- **git required.** The plugin needs the `git` executable and the `subprocess` service; without them, sync operations fail with a clear reason (profiles keep booting).
|
|
154
|
-
- **Session events on `0.1.0-rc.6`.** The harness does not
|
|
154
|
+
- **Session events on `0.1.0-rc.6`/`0.1.0-rc.8`.** The harness does not record `sync/*` event types, so the session-log appends are skipped (sessions keep loading); the plugin enables them automatically once a host records the types or exposes the `ignorable` envelope on `Session.append`.
|
|
155
155
|
- **`approval` between turns.** `/sync` runs between turns, where the `approval` channel has no open turn to attach to; use `confirmVia: userQuestions` for command-driven sync, or drive sync through the tools inside a turn.
|
|
156
156
|
|
|
157
157
|
## Development
|
|
158
158
|
|
|
159
159
|
```sh
|
|
160
160
|
pnpm install # node ^22.19 || >=24
|
|
161
|
-
pnpm run typecheck && pnpm run typecheck:ci # tsc --checkJs against the published rc.
|
|
161
|
+
pnpm run typecheck && pnpm run typecheck:ci # tsc --checkJs against the published rc.8 peers
|
|
162
162
|
pnpm test # node --test (6 suites; git suites skip without git)
|
|
163
163
|
pnpm run verify:self-contained # dependency specs resolve from the registry
|
|
164
164
|
pnpm run verify:artifacts # shipped files present + index.mjs importable
|
|
@@ -176,6 +176,42 @@ There is no build step: pure ESM, `index.mjs` and `lib/` are the shipped artifac
|
|
|
176
176
|
|
|
177
177
|
- [@PerryLink](https://github.com/PerryLink) — creator and maintainer: git mirror engine, append-only keep-both merge, `/sync` command and `sync_*` tools, auto modes, sanitizers, and the five-language docs.
|
|
178
178
|
|
|
179
|
+
## PerryLink DSH Plugin Family
|
|
180
|
+
|
|
181
|
+
This project is one of the [29 DeepSeek Harness plugins](https://github.com/PerryLink) maintained by [PerryLink](https://github.com/PerryLink). If this one helps you, the others likely will too:
|
|
182
|
+
|
|
183
|
+
| Plugin | One-liner |
|
|
184
|
+
|---|---|
|
|
185
|
+
| [dsh-auto-review](https://github.com/PerryLink/dsh-auto-review) | Second-model auto-review on the approval chain, fail-closed by default |
|
|
186
|
+
| [dsh-background-agents](https://github.com/PerryLink/dsh-background-agents) | Durable background child agents with a Web UI sidebar, messaging and interrupt |
|
|
187
|
+
| [dsh-budget](https://github.com/PerryLink/dsh-budget) | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. |
|
|
188
|
+
| [dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind) | Claude Code /rewind-equivalent: snapshots, session forks, one-shot restore |
|
|
189
|
+
| [dsh-claude-move](https://github.com/PerryLink/dsh-claude-move) | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH |
|
|
190
|
+
| [dsh-click](https://github.com/PerryLink/dsh-click) | Cross-platform native desktop control for DeepSeek Harness — Windows first. |
|
|
191
|
+
| [dsh-composer-history](https://github.com/PerryLink/dsh-composer-history) | Terminal-style input history for the web composer: arrows, Ctrl+R search |
|
|
192
|
+
| [dsh-defend](https://github.com/PerryLink/dsh-defend) | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. |
|
|
193
|
+
| [dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck) | Engineering-discipline guard: requirements grill, test gates, adversary review |
|
|
194
|
+
| [dsh-draw](https://github.com/PerryLink/dsh-draw) | Unified static-image generation routing for DeepSeek Harness. |
|
|
195
|
+
| [dsh-fast](https://github.com/PerryLink/dsh-fast) | Read-only performance diagnostics for DeepSeek Harness. |
|
|
196
|
+
| [dsh-github](https://github.com/PerryLink/dsh-github) | GitHub PR/issues integration for DSH, every write gated by approval |
|
|
197
|
+
| [dsh-library](https://github.com/PerryLink/dsh-library) | Local document knowledge base for DeepSeek Harness. |
|
|
198
|
+
| [dsh-local-ai](https://github.com/PerryLink/dsh-local-ai) | Local-model (Ollama) integration for DeepSeek Harness. |
|
|
199
|
+
| [dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions) | LSP diagnostics, formatting, completion, code actions and rename over language servers |
|
|
200
|
+
| [dsh-mask](https://github.com/PerryLink/dsh-mask) | PII masking middleware for DeepSeek Harness — anonymize personal data before it reaches the model, restore it at the display layer. |
|
|
201
|
+
| [dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel) | Read-only MCP runtime panel: /mcp command + Settings tab with status, tools and errors |
|
|
202
|
+
| [dsh-memento](https://github.com/PerryLink/dsh-memento) | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool |
|
|
203
|
+
| [dsh-observe](https://github.com/PerryLink/dsh-observe) | OpenTelemetry and Langfuse observability exporter for DeepSeek Harness. |
|
|
204
|
+
| [dsh-output-styles](https://github.com/PerryLink/dsh-output-styles) | Claude Code outputStyles-equivalent runtime style switching |
|
|
205
|
+
| [dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules) | Claude Code-style declarative allow/deny/ask permission rules with audit |
|
|
206
|
+
| [dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide) | Plugin-development knowledge base as an on-demand agent skill |
|
|
207
|
+
| [dsh-score](https://github.com/PerryLink/dsh-score) | Multi-dimensional quality scoring for DeepSeek Harness plugins. |
|
|
208
|
+
| [dsh-session-pin](https://github.com/PerryLink/dsh-session-pin) | Pin sessions in the Web sidebar with durable ordering |
|
|
209
|
+
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | Cross-device session sync for DeepSeek Harness — a dedicated git mirror of your session store. |
|
|
210
|
+
| [dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security) | Security-audit skill pack: secret scan, dependency and supply-chain review |
|
|
211
|
+
| [dsh-talk](https://github.com/PerryLink/dsh-talk) | Voice-first session loop for DeepSeek Harness: talk to it, hear it answer. |
|
|
212
|
+
| [dsh-test-drive](https://github.com/PerryLink/dsh-test-drive) | Isolated install-and-smoke test drives for DeepSeek Harness plugins. |
|
|
213
|
+
| [dsh-translate](https://github.com/PerryLink/dsh-translate) | Vendor parameter translation and deterministic JSON repair for DeepSeek Harness. |
|
|
214
|
+
|
|
179
215
|
## License
|
|
180
216
|
|
|
181
217
|
[LICENSE](LICENSE) (Apache License 2.0) © 2026 dsh-session-sync contributors
|
package/README.pt.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# dsh-session-sync
|
|
2
|
-
|
|
3
1
|
<div align="center">
|
|
4
2
|
|
|
3
|
+
# 🔄 dsh-session-sync
|
|
4
|
+
|
|
5
5
|
**Sincronização de sessões entre dispositivos para o DeepSeek Harness — um espelho git dedicado do seu armazenamento de sessões.**
|
|
6
6
|
|
|
7
7
|
*Sincronize suas sessões entre dispositivos, mantenha os dois lados em qualquer conflito, nunca perca um turno.*
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
| Superfície | Status |
|
|
26
26
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.0-rc.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.0-rc.8` |
|
|
28
28
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
29
|
| Plataformas | Qualquer lugar onde `git` e o DSH rodem (espelho baseado em git; sem código específico de plataforma) |
|
|
30
30
|
| Modelo | Modelos somente texto são totalmente suportados; sem necessidade de visão ou capacidade extra |
|
|
@@ -151,14 +151,14 @@ Exemplo de sobrescrita no seu patch de perfil:
|
|
|
151
151
|
|
|
152
152
|
- **Somente backend git.** Backends de criptografia de ponta a ponta (estilo age/GPG) estão reservados mas não implementados; configurar um falha alto ao carregar. Até lá, os bytes da sessão são armazenados sem criptografia no **seu** remoto git — use um repositório privado.
|
|
153
153
|
- **git é necessário.** O plugin precisa do executável `git` e do serviço `subprocess`; sem eles, as operações de sincronização falham com um motivo claro (os perfis continuam iniciando).
|
|
154
|
-
- **Eventos de sessão no `0.1.0-rc.6`.** O harness ainda não registra os tipos `sync/*`, então
|
|
154
|
+
- **Eventos de sessão no `0.1.0-rc.6`/`0.1.0-rc.8`.** O harness ainda não registra os tipos `sync/*`, então os anexos ao registro de sessão são omitidos (as sessões continuam carregando); o plugin os habilita automaticamente quando um host registra os tipos ou expõe o envoltório `ignorable` em `Session.append`.
|
|
155
155
|
- **`approval` entre turnos.** `/sync` roda entre turnos, onde o canal `approval` não tem um turno aberto para se anexar; use `confirmVia: userQuestions` para sincronização por comando, ou conduza a sincronização pelas ferramentas dentro de um turno.
|
|
156
156
|
|
|
157
157
|
## Desenvolvimento
|
|
158
158
|
|
|
159
159
|
```sh
|
|
160
160
|
pnpm install # node ^22.19 || >=24
|
|
161
|
-
pnpm run typecheck && pnpm run typecheck:ci # tsc --checkJs contra os peers rc.
|
|
161
|
+
pnpm run typecheck && pnpm run typecheck:ci # tsc --checkJs contra os peers rc.8 publicados
|
|
162
162
|
pnpm test # node --test (6 suites; suites git são omitidas sem git)
|
|
163
163
|
pnpm run verify:self-contained # as specs de dependência resolvem do registro
|
|
164
164
|
pnpm run verify:artifacts # arquivos publicados presentes + index.mjs importável
|
|
@@ -176,6 +176,42 @@ Não há etapa de compilação: ESM puro, `index.mjs` e `lib/` são os artefatos
|
|
|
176
176
|
|
|
177
177
|
- [@PerryLink](https://github.com/PerryLink) — criador e mantenedor: motor de espelho git, merge append-only mantendo ambos, comando `/sync` e ferramentas `sync_*`, modos automáticos, higienizadores e a documentação em cinco idiomas.
|
|
178
178
|
|
|
179
|
+
## PerryLink DSH Plugin Family
|
|
180
|
+
|
|
181
|
+
Este projeto é um dos [29 complementos do DeepSeek Harness](https://github.com/PerryLink) mantidos por [PerryLink](https://github.com/PerryLink). Se este ajuda você, os outros provavelmente também ajudarão:
|
|
182
|
+
|
|
183
|
+
| Plugin | One-liner |
|
|
184
|
+
|---|---|
|
|
185
|
+
| [dsh-auto-review](https://github.com/PerryLink/dsh-auto-review) | Auto-revisão com segundo modelo na cadeia de aprovação, falha fechada por padrão |
|
|
186
|
+
| [dsh-background-agents](https://github.com/PerryLink/dsh-background-agents) | Agentes filhos em segundo plano e duráveis com barra lateral Web, mensagens e interrupção |
|
|
187
|
+
| [dsh-budget](https://github.com/PerryLink/dsh-budget) | Governança de custos para DeepSeek Harness: orçamentos, carbono e latência em um painel. |
|
|
188
|
+
| [dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind) | Equivalente ao /rewind do Claude Code: instantâneos, bifurcações e restauração de uma vez |
|
|
189
|
+
| [dsh-claude-move](https://github.com/PerryLink/dsh-claude-move) | Migra sessões, memória, skills e CLAUDE.md do Claude Code para o DSH |
|
|
190
|
+
| [dsh-click](https://github.com/PerryLink/dsh-click) | Controle de desktop nativo multiplataforma para DeepSeek Harness — Windows primeiro. |
|
|
191
|
+
| [dsh-composer-history](https://github.com/PerryLink/dsh-composer-history) | Histórico de entrada estilo terminal para o compositor web: setas, busca Ctrl+R |
|
|
192
|
+
| [dsh-defend](https://github.com/PerryLink/dsh-defend) | Defesa contra injeção de prompt, jailbreak e vazamento de segredos para DeepSeek Harness. |
|
|
193
|
+
| [dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck) | Guarda de disciplina de engenharia: sabatina de requisitos, portões de teste, revisão adversária |
|
|
194
|
+
| [dsh-draw](https://github.com/PerryLink/dsh-draw) | Roteamento unificado de geração de imagens estáticas para DeepSeek Harness. |
|
|
195
|
+
| [dsh-fast](https://github.com/PerryLink/dsh-fast) | Diagnóstico de desempenho somente leitura para DeepSeek Harness. |
|
|
196
|
+
| [dsh-github](https://github.com/PerryLink/dsh-github) | Integração de PR/issues do GitHub para DSH, toda escrita com aprovação |
|
|
197
|
+
| [dsh-library](https://github.com/PerryLink/dsh-library) | Base de conhecimento documental local para DeepSeek Harness. |
|
|
198
|
+
| [dsh-local-ai](https://github.com/PerryLink/dsh-local-ai) | Integração de modelos locais (Ollama) para DeepSeek Harness. |
|
|
199
|
+
| [dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions) | Diagnóstico, formatação, completação, ações e renomeação LSP via servidores de linguagem |
|
|
200
|
+
| [dsh-mask](https://github.com/PerryLink/dsh-mask) | Middleware de mascaramento de PII para DeepSeek Harness — anonimiza antes do modelo e restaura na camada de exibição. |
|
|
201
|
+
| [dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel) | Painel MCP somente leitura: comando /mcp + aba de configurações com status, ferramentas e erros |
|
|
202
|
+
| [dsh-memento](https://github.com/PerryLink/dsh-memento) | Memória entre sessões com porta de aprovação: seam ctx.memory + SQLite + ferramenta memory |
|
|
203
|
+
| [dsh-observe](https://github.com/PerryLink/dsh-observe) | Exportador de observabilidade OpenTelemetry e Langfuse para DeepSeek Harness. |
|
|
204
|
+
| [dsh-output-styles](https://github.com/PerryLink/dsh-output-styles) | Troca de estilos em tempo de execução equivalente ao outputStyles do Claude Code |
|
|
205
|
+
| [dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules) | Regras declarativas allow/deny/ask estilo Claude Code com auditoria |
|
|
206
|
+
| [dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide) | Base de conhecimento de desenvolvimento de plugins como skill de agente sob demanda |
|
|
207
|
+
| [dsh-score](https://github.com/PerryLink/dsh-score) | Pontuação de qualidade multidimensional para plugins do DeepSeek Harness. |
|
|
208
|
+
| [dsh-session-pin](https://github.com/PerryLink/dsh-session-pin) | Fixa sessões na barra lateral Web com ordenação durável |
|
|
209
|
+
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | Sincronização de sessões entre dispositivos para DeepSeek Harness — um espelho git dedicado do seu armazenamento de sessões. |
|
|
210
|
+
| [dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security) | Pacote de skills de auditoria de segurança: varredura de segredos, revisão de dependências e cadeia de suprimentos |
|
|
211
|
+
| [dsh-talk](https://github.com/PerryLink/dsh-talk) | Loop de sessão com voz para DeepSeek Harness: fale e ouça a resposta. |
|
|
212
|
+
| [dsh-test-drive](https://github.com/PerryLink/dsh-test-drive) | Testes isolados de instalação e inicialização para plugins do DeepSeek Harness. |
|
|
213
|
+
| [dsh-translate](https://github.com/PerryLink/dsh-translate) | Tradução de parâmetros entre fornecedores e reparo determinístico de JSON para DeepSeek Harness. |
|
|
214
|
+
|
|
179
215
|
## Licença
|
|
180
216
|
|
|
181
217
|
[LICENSE](LICENSE) (Apache License 2.0) © 2026 dsh-session-sync contributors
|
package/README.zh.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# dsh-session-sync
|
|
2
|
-
|
|
3
1
|
<div align="center">
|
|
4
2
|
|
|
3
|
+
# 🔄 dsh-session-sync
|
|
4
|
+
|
|
5
5
|
**DeepSeek Harness 的跨设备会话同步 —— 为你的会话存储建立专用 git 镜像。**
|
|
6
6
|
|
|
7
7
|
*在设备间同步会话,冲突时两边都保留,绝不丢失任何一轮。*
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
| 项目 | 状态 |
|
|
26
26
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.0-rc.
|
|
27
|
+
| Harness | DeepSeek Harness `0.1.0-rc.8` |
|
|
28
28
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
29
|
| 平台 | 任何能运行 `git` 和 DSH 的环境(基于 git 镜像;无平台特定代码) |
|
|
30
30
|
| 模型 | 纯文本模型即可完整支持;无需视觉或额外模型能力 |
|
|
@@ -151,14 +151,14 @@ dsh --profile web --dump-config | grep -A2 'id: session-sync'
|
|
|
151
151
|
|
|
152
152
|
- **仅 git 后端。** 端到端加密后端(age/GPG 风格)为预留、尚未实现;配置它会响亮失败。在此之前,会话字节以未加密形式存放在**你的** git 远端 —— 请使用私有仓库。
|
|
153
153
|
- **依赖 git。** 插件需要 `git` 可执行文件与 `subprocess` 服务;没有它们时同步操作会给出明确原因失败(profile 仍可启动)。
|
|
154
|
-
- **`0.1.0-rc.6` 上的会话事件。** harness 尚未收录 `sync/*`
|
|
154
|
+
- **`0.1.0-rc.6`/`0.1.0-rc.8` 上的会话事件。** harness 尚未收录 `sync/*` 事件类型,因此会话日志追加被跳过(会话仍可加载);宿主收录类型或 `Session.append` 暴露 `ignorable` 信封后插件会自动开启。
|
|
155
155
|
- **轮次间的 `approval`。** `/sync` 在轮次之间运行,`approval` 通道没有开放轮次可挂靠;请对命令式同步使用 `confirmVia: userQuestions`,或在轮次内经工具驱动同步。
|
|
156
156
|
|
|
157
157
|
## 开发
|
|
158
158
|
|
|
159
159
|
```sh
|
|
160
160
|
pnpm install # node ^22.19 || >=24
|
|
161
|
-
pnpm run typecheck && pnpm run typecheck:ci # tsc --checkJs,针对已发布的 rc.
|
|
161
|
+
pnpm run typecheck && pnpm run typecheck:ci # tsc --checkJs,针对已发布的 rc.8 peers
|
|
162
162
|
pnpm test # node --test(6 个套件;git 套件在无 git 时跳过)
|
|
163
163
|
pnpm run verify:self-contained # 依赖 spec 可从 registry 解析
|
|
164
164
|
pnpm run verify:artifacts # 发布文件齐全 + index.mjs 可 import
|
|
@@ -176,6 +176,42 @@ pnpm pack # 发布 tarball
|
|
|
176
176
|
|
|
177
177
|
- [@PerryLink](https://github.com/PerryLink) —— 创建者与维护者:git 镜像引擎、append-only 两边保留合并、`/sync` 命令与 `sync_*` 工具、自动模式、脱敏器与五语文档。
|
|
178
178
|
|
|
179
|
+
## PerryLink DSH Plugin Family
|
|
180
|
+
|
|
181
|
+
本项目是由 [PerryLink](https://github.com/PerryLink) 维护的 [29 个 DeepSeek Harness 插件](https://github.com/PerryLink)之一。如果这个对你有用,其他插件很可能也会:
|
|
182
|
+
|
|
183
|
+
| Plugin | One-liner |
|
|
184
|
+
|---|---|
|
|
185
|
+
| [dsh-auto-review](https://github.com/PerryLink/dsh-auto-review) | 审批链上的第二模型自动审查,默认失败关闭 |
|
|
186
|
+
| [dsh-background-agents](https://github.com/PerryLink/dsh-background-agents) | 持久化后台子代理,带 Web UI 侧边栏、消息与打断 |
|
|
187
|
+
| [dsh-budget](https://github.com/PerryLink/dsh-budget) | DeepSeek Harness 的成本治理:预算、碳排与延迟一屏呈现。 |
|
|
188
|
+
| [dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind) | Claude Code /rewind 等价物:快照、会话分叉、一次性恢复 |
|
|
189
|
+
| [dsh-claude-move](https://github.com/PerryLink/dsh-claude-move) | 将 Claude Code 会话、记忆、技能与 CLAUDE.md 迁入 DSH |
|
|
190
|
+
| [dsh-click](https://github.com/PerryLink/dsh-click) | 跨平台原生桌面控制(DeepSeek Harness),Windows 优先。 |
|
|
191
|
+
| [dsh-composer-history](https://github.com/PerryLink/dsh-composer-history) | Web 输入框的终端式输入历史:方向键、Ctrl+R 搜索 |
|
|
192
|
+
| [dsh-defend](https://github.com/PerryLink/dsh-defend) | DeepSeek Harness 的提示注入、越狱与密钥泄露防护。 |
|
|
193
|
+
| [dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck) | 工程纪律门禁:需求质询、测试门禁、对抗式审查 |
|
|
194
|
+
| [dsh-draw](https://github.com/PerryLink/dsh-draw) | DeepSeek Harness 的统一静态图像生成路由。 |
|
|
195
|
+
| [dsh-fast](https://github.com/PerryLink/dsh-fast) | DeepSeek Harness 的只读性能诊断。 |
|
|
196
|
+
| [dsh-github](https://github.com/PerryLink/dsh-github) | DSH 的 GitHub PR/issue 集成,每次写入都经审批门 |
|
|
197
|
+
| [dsh-library](https://github.com/PerryLink/dsh-library) | DeepSeek Harness 的本地文档知识库。 |
|
|
198
|
+
| [dsh-local-ai](https://github.com/PerryLink/dsh-local-ai) | DeepSeek Harness 的本地模型(Ollama)接入。 |
|
|
199
|
+
| [dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions) | 经语言服务器的 LSP 诊断、格式化、补全、代码操作与重命名 |
|
|
200
|
+
| [dsh-mask](https://github.com/PerryLink/dsh-mask) | DeepSeek Harness 的 PII 脱敏中间件——数据到模型前匿名化,展示层还原。 |
|
|
201
|
+
| [dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel) | 只读 MCP 运行时面板:/mcp 命令 + 带状态、工具与错误的设置页 |
|
|
202
|
+
| [dsh-memento](https://github.com/PerryLink/dsh-memento) | 带审批门的跨会话记忆:ctx.memory 接缝 + SQLite + memory 工具 |
|
|
203
|
+
| [dsh-observe](https://github.com/PerryLink/dsh-observe) | DeepSeek Harness 的 OpenTelemetry 与 Langfuse 可观测导出器。 |
|
|
204
|
+
| [dsh-output-styles](https://github.com/PerryLink/dsh-output-styles) | Claude Code outputStyles 等价的运行时样式切换 |
|
|
205
|
+
| [dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules) | Claude Code 风格声明式 allow/deny/ask 权限规则,带审计 |
|
|
206
|
+
| [dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide) | 按需 agent 技能形式的插件开发知识库 |
|
|
207
|
+
| [dsh-score](https://github.com/PerryLink/dsh-score) | DeepSeek Harness 插件的多指标质量评分。 |
|
|
208
|
+
| [dsh-session-pin](https://github.com/PerryLink/dsh-session-pin) | 在 Web 侧边栏置顶会话,顺序持久化 |
|
|
209
|
+
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | DeepSeek Harness 的跨设备会话同步——会话存储的专用 git 镜像。 |
|
|
210
|
+
| [dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security) | 安全审计技能包:密钥扫描、依赖与供应链审查 |
|
|
211
|
+
| [dsh-talk](https://github.com/PerryLink/dsh-talk) | DeepSeek Harness 的语音优先会话闭环:对它说,听它答。 |
|
|
212
|
+
| [dsh-test-drive](https://github.com/PerryLink/dsh-test-drive) | DeepSeek Harness 插件的隔离式安装冒烟实测。 |
|
|
213
|
+
| [dsh-translate](https://github.com/PerryLink/dsh-translate) | DeepSeek Harness 的厂商参数翻译与确定性 JSON 修复。 |
|
|
214
|
+
|
|
179
215
|
## 许可证
|
|
180
216
|
|
|
181
217
|
[LICENSE](LICENSE) (Apache License 2.0) © 2026 dsh-session-sync contributors
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -13,12 +13,12 @@ published tarball; these are install-time dependencies:
|
|
|
13
13
|
| [typescript](https://github.com/microsoft/TypeScript) | `^5.9.0` | Apache-2.0 | `tsc --checkJs` typecheck gate (`tsconfig.check.json`) |
|
|
14
14
|
| [@deepseek-ai/cordis](https://www.npmjs.com/package/@deepseek-ai/cordis) | `^4.0.1` (peer) | See package | The plugin runtime |
|
|
15
15
|
| [@deepseek-ai/schemastery](https://www.npmjs.com/package/@deepseek-ai/schemastery) | `^3.18.0` (peer) | See package | Configuration schema |
|
|
16
|
-
| `@deepseek-ai/dsh-*` peers | `0.1.0-rc.
|
|
16
|
+
| `@deepseek-ai/dsh-*` peers | `0.1.0-rc.8` (peer) | See packages | Official harness seams (`dsh-session`, `dsh-storage-domain`, `dsh-tools`) |
|
|
17
17
|
|
|
18
18
|
Development-only dependencies (not shipped, used by tests and the typecheck
|
|
19
19
|
gate) add `@deepseek-ai/dsh-commands`, `@deepseek-ai/dsh-llm`, `@deepseek-ai/dsh-storage`,
|
|
20
20
|
`@deepseek-ai/dsh-storage-json`, `@deepseek-ai/dsh-subprocess`, `@deepseek-ai/dsh-user-approval`,
|
|
21
|
-
`@deepseek-ai/dsh-user-questions` at `0.1.0-rc.
|
|
21
|
+
`@deepseek-ai/dsh-user-questions` at `0.1.0-rc.8`, and `@types/node`.
|
|
22
22
|
|
|
23
23
|
At runtime the plugin only talks to the harness services listed as
|
|
24
24
|
peerDependencies; it performs no network requests of its own — all network
|
package/cordis.patch.yml
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
# Every key below is a Config field (Schemastery schema); invalid values fail
|
|
4
4
|
# the profile load loudly. See README.md "Configuration" for the full table.
|
|
5
5
|
- insert:
|
|
6
|
+
- id: storage
|
|
7
|
+
name: '@deepseek-ai/dsh-storage'
|
|
8
|
+
|
|
9
|
+
- id: storage-json
|
|
10
|
+
name: '@deepseek-ai/dsh-storage-json'
|
|
11
|
+
config:
|
|
12
|
+
root: !!js dshHomePath('storages')
|
|
13
|
+
|
|
14
|
+
- id: storage-domain
|
|
15
|
+
name: '@deepseek-ai/dsh-storage-domain'
|
|
16
|
+
config:
|
|
17
|
+
backend: json
|
|
18
|
+
|
|
6
19
|
- id: session-sync
|
|
7
20
|
name: dsh-session-sync
|
|
8
21
|
config:
|
package/index.mjs
CHANGED
|
@@ -59,8 +59,10 @@ export const inject = ['sessions', 'commands', 'storageDomain', 'subprocess']
|
|
|
59
59
|
* 宿主 append 是否盖章 ignorable 信封(运行时能力探测)。
|
|
60
60
|
* 在全新 detached Context 上构造 SessionStore(绝不接入宿主持久化,探测
|
|
61
61
|
* 会话不落盘):追加一条带 { ignorable: true } 的探测事件并回读信封标记。
|
|
62
|
-
* rc.6 的 append
|
|
63
|
-
*
|
|
62
|
+
* rc.6 的 append 静默丢弃未知选项键;rc.8 的 append 对非 surface 类型不接受
|
|
63
|
+
* 信封选项(ignorable 只是读取路径的标记)→ 探测事件均无 ignorable →
|
|
64
|
+
* false(门保持关闭);
|
|
65
|
+
* append 会盖章 ignorable 信封的宿主 → true(sync/* 以 ignorable 落盘)。
|
|
64
66
|
* @returns {boolean} 宿主支持 ignorable 信封。
|
|
65
67
|
*/
|
|
66
68
|
export function probeIgnorableAppend() {
|
|
@@ -72,7 +74,7 @@ export function probeIgnorableAppend() {
|
|
|
72
74
|
ok: true,
|
|
73
75
|
pushed: true,
|
|
74
76
|
head: 'probe',
|
|
75
|
-
// @ts-ignore
|
|
77
|
+
// @ts-ignore non-surface append takes no envelope option — probing it is the point.
|
|
76
78
|
}, /** @type {any} */ ({ ignorable: true }))
|
|
77
79
|
return event?.ignorable === true
|
|
78
80
|
} catch {
|
package/lib/gate.mjs
CHANGED
|
@@ -117,7 +117,7 @@ export async function confirmSync(deps, agent, signal) {
|
|
|
117
117
|
* 会话事件自适应门:决策函数返回是否 append 以及是否带 ignorable 信封。
|
|
118
118
|
* 宿主 KNOWN_SESSION_EVENT_TYPES 收录的类型直接 append;未收录但宿主 append
|
|
119
119
|
* 支持 ignorable 信封(运行时探测)时以 { ignorable: true } append;其余
|
|
120
|
-
* 拒绝(rc.6:未收录类型落盘会让会话下次加载被持久化层拒绝)。
|
|
120
|
+
* 拒绝(rc.6/rc.8:未收录类型落盘会让会话下次加载被持久化层拒绝)。
|
|
121
121
|
* @param {ReadonlySet<string>} knownTypes - KNOWN_SESSION_EVENT_TYPES。
|
|
122
122
|
* @param {boolean} [ignorableAppend] - 宿主 append 是否盖章 ignorable 信封。
|
|
123
123
|
* @returns {(type: string) => {append: boolean, ignorable: boolean}} 决策函数。
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-session-sync",
|
|
3
3
|
"description": "Cross-device sync for DeepSeek Harness sessions: a dedicated git mirror of the session store, append-only three-way merge with keep-both + fork conflict resolution, /sync command, sync_pull/sync_push/sync_status tools, and configurable auto push/pull",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/PerryLink/dsh-session-sync.git"
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
],
|
|
71
71
|
"compatibility": {
|
|
72
72
|
"dshVersions": [
|
|
73
|
-
"0.1.0-rc.
|
|
73
|
+
"0.1.0-rc.8"
|
|
74
74
|
]
|
|
75
75
|
},
|
|
76
76
|
"capability": {
|
|
@@ -88,9 +88,11 @@
|
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
90
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
91
|
-
"@deepseek-ai/dsh-session": "0.1.0-rc.
|
|
92
|
-
"@deepseek-ai/dsh-storage
|
|
93
|
-
"@deepseek-ai/dsh-
|
|
91
|
+
"@deepseek-ai/dsh-session": ">=0.1.0-rc.8 <0.2.0",
|
|
92
|
+
"@deepseek-ai/dsh-storage": ">=0.1.0-rc.8 <0.2.0",
|
|
93
|
+
"@deepseek-ai/dsh-storage-domain": ">=0.1.0-rc.8 <0.2.0",
|
|
94
|
+
"@deepseek-ai/dsh-storage-json": ">=0.1.0-rc.8 <0.2.0",
|
|
95
|
+
"@deepseek-ai/dsh-tools": ">=0.1.0-rc.8 <0.2.0",
|
|
94
96
|
"@deepseek-ai/schemastery": "^3.18.0"
|
|
95
97
|
},
|
|
96
98
|
"dependencies": {
|
|
@@ -99,24 +101,29 @@
|
|
|
99
101
|
},
|
|
100
102
|
"devDependencies": {
|
|
101
103
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
102
|
-
"@deepseek-ai/
|
|
103
|
-
"@deepseek-ai/
|
|
104
|
-
"@deepseek-ai/dsh-
|
|
105
|
-
"@deepseek-ai/dsh-
|
|
106
|
-
"@deepseek-ai/dsh-
|
|
107
|
-
"@deepseek-ai/dsh-storage
|
|
108
|
-
"@deepseek-ai/dsh-
|
|
109
|
-
"@deepseek-ai/dsh-
|
|
110
|
-
"@deepseek-ai/dsh-
|
|
111
|
-
"@deepseek-ai/dsh-
|
|
104
|
+
"@deepseek-ai/cordis-plugin-include": "1.0.6",
|
|
105
|
+
"@deepseek-ai/cordis-plugin-loader": "1.0.2",
|
|
106
|
+
"@deepseek-ai/dsh-commands": "0.1.0-rc.8",
|
|
107
|
+
"@deepseek-ai/dsh-llm": "0.1.0-rc.8",
|
|
108
|
+
"@deepseek-ai/dsh-session": "0.1.0-rc.8",
|
|
109
|
+
"@deepseek-ai/dsh-storage": "0.1.0-rc.8",
|
|
110
|
+
"@deepseek-ai/dsh-storage-domain": "0.1.0-rc.8",
|
|
111
|
+
"@deepseek-ai/dsh-storage-json": "0.1.0-rc.8",
|
|
112
|
+
"@deepseek-ai/dsh-subprocess": "0.1.0-rc.8",
|
|
113
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.0-rc.8",
|
|
114
|
+
"@deepseek-ai/dsh-tools": "0.1.0-rc.8",
|
|
115
|
+
"@deepseek-ai/dsh-user-approval": "0.1.0-rc.8",
|
|
116
|
+
"@deepseek-ai/dsh-user-questions": "0.1.0-rc.8",
|
|
112
117
|
"@deepseek-ai/schemastery": "^3.18.0",
|
|
113
|
-
"@types/node": "^22.19.0"
|
|
118
|
+
"@types/node": "^22.19.0",
|
|
119
|
+
"oxlint": "0.18.1"
|
|
114
120
|
},
|
|
115
121
|
"scripts": {
|
|
116
122
|
"typecheck": "tsc -p tsconfig.check.json",
|
|
117
123
|
"typecheck:ci": "tsc -p tsconfig.check.json",
|
|
118
124
|
"test": "node --test \"test/*.test.mjs\"",
|
|
119
125
|
"coverage": "node --test --experimental-test-coverage \"test/*.test.mjs\"",
|
|
126
|
+
"lint": "oxlint",
|
|
120
127
|
"verify:self-contained": "node scripts/verify-self-contained.mjs",
|
|
121
128
|
"verify:artifacts": "node scripts/verify-artifacts.mjs",
|
|
122
129
|
"check:readmes": "node scripts/verify-readmes.mjs"
|