dsh-session-sync 0.2.32 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ARCHITECTURE.md +10 -3
- package/CHANGELOG.md +22 -0
- package/README.en.md +455 -0
- package/README.es.md +455 -0
- package/README.hi.md +455 -0
- package/README.md +271 -214
- package/README.pt.md +455 -0
- package/cordis.patch.yml +11 -0
- package/index.mjs +69 -4
- package/lib/constants.mjs +10 -1
- package/lib/cwdmap.mjs +248 -0
- package/lib/encrypted.mjs +10 -1
- package/lib/engine.mjs +77 -5
- package/lib/git.mjs +25 -1
- package/lib/mirror.mjs +294 -35
- package/lib/projection.mjs +191 -0
- package/lib/render.mjs +17 -2
- package/lib/sessionlog.mjs +142 -0
- package/package.json +2 -1
- package/types.d.ts +34 -0
- package/README-es.md +0 -392
- package/README-hi.md +0 -392
- package/README-pt.md +0 -392
- package/README-zh.md +0 -394
package/README-es.md
DELETED
|
@@ -1,392 +0,0 @@
|
|
|
1
|
-
<div align="center">
|
|
2
|
-
|
|
3
|
-
# 🔄 dsh-session-sync
|
|
4
|
-
- **Canal 1024 store**: `npm i -g dsh1024` una vez, luego `dsh1024 plugin --profile web add dsh-session-sync` (cuenta para el ranking de instalaciones de [deepseek1024.com](https://deepseek1024.com)).
|
|
5
|
-
|
|
6
|
-
**Sincronización de sesiones entre dispositivos para DeepSeek Harness — un espejo git dedicado de tu almacén de sesiones.**
|
|
7
|
-
|
|
8
|
-
*Sincroniza tus sesiones entre dispositivos, conserva ambos lados ante cualquier conflicto, nunca pierdas un turno.*
|
|
9
|
-
|
|
10
|
-
[](LICENSE)
|
|
11
|
-
[](https://gitee.com/perrylink/dsh-session-sync)
|
|
12
|
-
[](https://github.com/topics/dsh-plugin)
|
|
13
|
-
[](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
|
|
14
|
-
[](https://dsh.market/)
|
|
15
|
-
[](#)
|
|
16
|
-
[](https://github.com/PerryLink/dsh-session-sync/actions)
|
|
17
|
-
[](https://github.com/PerryLink/dsh-session-sync/releases)
|
|
18
|
-
[](https://www.npmjs.com/package/dsh-session-sync)
|
|
19
|
-
[](https://www.npmjs.com/package/dsh-session-sync)
|
|
20
|
-
[](https://dshfind.com/es/plugins/PerryLink/dsh-session-sync?ref=badge)
|
|
21
|
-
|
|
22
|
-
[English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
|
|
23
|
-
|
|
24
|
-
```sh
|
|
25
|
-
dsh plugin --profile <name> add dsh-session-sync
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
</div>
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
**📖 Base de conocimiento del ecosistema** — datos medidos, no marketing: [guía de desarrollo · datos de selección · criterios de mantenimiento](https://perrylink.github.io/dsh-plugin-guide/).
|
|
35
|
-
|
|
36
|
-
<!-- star-cta -->
|
|
37
|
-
## Instalación y desinstalación
|
|
38
|
-
|
|
39
|
-
- **Canal git** (último `main`): `dsh plugin --profile web add github:PerryLink/dsh-session-sync` (equivalente a instalar desde `git+https://github.com/PerryLink/dsh-session-sync.git`). Sin paso de compilación — `index.mjs` y `lib/` son los artefactos publicados.
|
|
40
|
-
- **Canal npm** (versiones publicadas): `dsh plugin --profile web add dsh-session-sync`.
|
|
41
|
-
- **Canal tarball**: `pnpm pack` en este repositorio, luego `dsh plugin --profile web add ./dsh-session-sync-<version>.tgz`.
|
|
42
|
-
- **Desinstalar**: `dsh plugin --profile web remove dsh-session-sync` (o elimina la fila del parche de perfil).
|
|
43
|
-
|
|
44
|
-
## ⭐ 如果它帮到了你
|
|
45
|
-
|
|
46
|
-
Este plugin forma parte de la [familia de plugins DSH](https://github.com/PerryLink) (más de 40, todos Apache-2.0). Si te resulta útil, **dale una estrella**: no desbloquea nada, pero ayuda a que la siguiente persona lo encuentre antes.
|
|
47
|
-
|
|
48
|
-
*English:* part of a 95 plugin family for DeepSeek Harness. If it is useful, **a star helps the next person find it** — nothing is gated behind it.
|
|
49
|
-
|
|
50
|
-
## What is dsh-session-sync?
|
|
51
|
-
|
|
52
|
-
Sincronización de sesiones entre dispositivos para DeepSeek Harness — un espejo git dedicado de tu almacén de sesiones.
|
|
53
|
-
|
|
54
|
-
Sincroniza tus sesiones entre dispositivos, conserva ambos lados ante cualquier conflicto, nunca pierdas un turno.
|
|
55
|
-
|
|
56
|
-

|
|
57
|
-
|
|
58
|
-
*Resumen del flujo: solicitud → política/revisión → veredicto. Los ejemplos siguientes usan la superficie de comandos real.*
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
*La misma ejecución, animada.*
|
|
62
|
-
|
|
63
|
-
## Compatibilidad
|
|
64
|
-
|
|
65
|
-
| Superficie | Estado |
|
|
66
|
-
|---|---|
|
|
67
|
-
| Harness | DeepSeek Harness `dsh-v0.2.1-alpha.1` (tag de GitHub, verificado el 2026-09-25: cadena completa de puertas contra los peers `0.1.7-rc.2` fijados). Línea de dependencias npm `0.1.7-rc.2`, peers `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0`. (adaptado el 2026-10-04): el aviso de fork por conflicto lleva el source kind propio del plugin (producer-owned) - el harness retiró el kind compartido `plugin` y lo rechaza al releer. |
|
|
68
|
-
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
69
|
-
| Plataformas | Cualquier lugar donde `git` y DSH se ejecuten (espejo basado en git; sin código específico de plataforma) |
|
|
70
|
-
| Modelo | Los modelos solo texto funcionan plenamente; no se requiere visión ni capacidad extra |
|
|
71
|
-
|
|
72
|
-
## Qué obtienes
|
|
73
|
-
|
|
74
|
-
`dsh-session-sync` refleja tu almacén de sesiones de DSH en un árbol de trabajo git dedicado y lo sincroniza con un remoto que **tú** controlas — sin servicio en la nube, sin almacenamiento de terceros:
|
|
75
|
-
|
|
76
|
-
- **Comando `/sync`** — `status` (rama, remoto saneado, delante/detrás, archivos sucios, forks), `diff`, `log`, `pull`, `push`, `help`.
|
|
77
|
-
- **Herramientas `sync_status` / `sync_pull` / `sync_push`** — la misma superficie para el modelo, dentro de un turno.
|
|
78
|
-
- **Resolución de conflictos append-only** — los registros de sesión son append-only; ante cualquier divergencia el plugin conserva **ambos** lados (la versión local se conserva, la remota se preserva como archivos fork) y nunca sobrescribe en silencio. Las sesiones divergentes también pueden bifurcarse a nivel de sesión.
|
|
79
|
-
- **Modos automáticos** — pull al iniciar, push tras cada turno cerrado y pull periódico, todos configurables y reversibles.
|
|
80
|
-
- **Escrituras con confirmación** — `pull`/`push` preguntan primero (mediante `userQuestions` o `approval`); las superficies de solo lectura nunca preguntan; sin respondedor la operación falla cerrada.
|
|
81
|
-
|
|
82
|
-
```text
|
|
83
|
-
dispositivo A remoto (tu repositorio git) dispositivo B
|
|
84
|
-
$DSH_HOME/sessions ──espejo──▶ commit ──push──▶ [sessions] ──pull──▶ merge (conservar ambos + fork)
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
## Inicio rápido
|
|
88
|
-
|
|
89
|
-
```sh
|
|
90
|
-
dsh plugin --profile web add github:PerryLink/dsh-session-sync
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
```sh
|
|
94
|
-
# 1. instala el bundle en tu perfil
|
|
95
|
-
dsh plugin --profile web add github:PerryLink/dsh-session-sync
|
|
96
|
-
|
|
97
|
-
# o desde npm (versiones publicadas)
|
|
98
|
-
dsh plugin --profile web add dsh-session-sync
|
|
99
|
-
|
|
100
|
-
# 2. apúntalo a un remoto git privado y verifica la fila
|
|
101
|
-
dsh --profile web --dump-config | grep -A2 'id: session-sync'
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
Luego configura el remoto en tu parche de perfil (un repositorio **privado** es la base) y sincroniza:
|
|
105
|
-
|
|
106
|
-
```yaml
|
|
107
|
-
- insert:
|
|
108
|
-
- id: session-sync
|
|
109
|
-
name: dsh-session-sync
|
|
110
|
-
config:
|
|
111
|
-
remote: git@github.com:you/your-dsh-sessions.git
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
```
|
|
115
|
-
> /sync status
|
|
116
|
-
> /sync pull
|
|
117
|
-
> /sync push
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
### Ejemplos
|
|
121
|
-
|
|
122
|
-
Son los puntos de entrada reales; instala y llama a uno.
|
|
123
|
-
|
|
124
|
-
#### Ejemplo detallado
|
|
125
|
-
|
|
126
|
-
**Comando**
|
|
127
|
-
|
|
128
|
-
~~~sh
|
|
129
|
-
/sync help
|
|
130
|
-
~~~
|
|
131
|
-
|
|
132
|
-
**Salida**
|
|
133
|
-
|
|
134
|
-
~~~text
|
|
135
|
-
sync: usage — /sync [status | pull | push | diff | log | help]
|
|
136
|
-
status show mirror state (default): branch, remote, ahead/behind, dirty, forks
|
|
137
|
-
pull fetch + merge remote changes (keep-both; confirms first)
|
|
138
|
-
push mirror + commit + push local changes (confirms first)
|
|
139
|
-
diff uncommitted changes + HEAD..remote stat (read-only)
|
|
140
|
-
log last commits in the sync repository
|
|
141
|
-
~~~
|
|
142
|
-
|
|
143
|
-
*Observado en `index.mjs:754-765 (registered /sync handler)`*
|
|
144
|
-
|
|
145
|
-
#### Rama de fallo
|
|
146
|
-
|
|
147
|
-
**Entrada**
|
|
148
|
-
|
|
149
|
-
~~~text
|
|
150
|
-
/sync push
|
|
151
|
-
~~~
|
|
152
|
-
|
|
153
|
-
**Salida**
|
|
154
|
-
|
|
155
|
-
~~~text
|
|
156
|
-
sync: cancelled: approval requires an open turn; /sync commands run between turns — mount userQuestions or set confirmVia: userQuestions
|
|
157
|
-
~~~
|
|
158
|
-
|
|
159
|
-
*Observado en `plugins/dsh-session-sync/lib/gate.mjs:134-137; plugins/dsh-session-sync/index.mjs:792-794; plugins/dsh-session-sync/test/gate.test.mjs:80-88; plugins/dsh-session-sync/README.md:246`*
|
|
160
|
-
|
|
161
|
-
#### Ejemplos breves
|
|
162
|
-
|
|
163
|
-
- `/sync diff`
|
|
164
|
-
- `/sync pull`
|
|
165
|
-
|
|
166
|
-
## Configuración
|
|
167
|
-
|
|
168
|
-
Todos los ajustes son campos de `Config` de Schemastery (modificables desde cordis.yml). Una sobrescritura dirigida por id reemplaza toda la fila — repite cada clave que necesites. `cordis.patch.yml` documenta cada clave en línea.
|
|
169
|
-
|
|
170
|
-
| Clave | Valor predeterminado | Significado |
|
|
171
|
-
|---|---|---|
|
|
172
|
-
| `enabled` | `true` | Interruptor maestro; `false` desregistra el comando, las herramientas, los oyentes y los modos automáticos |
|
|
173
|
-
| `backend` | `git` | Backend de sincronización: `git` (espejo en texto plano) o `encrypted` (contenido del espejo cifrado con age) |
|
|
174
|
-
| `sessionRoot` | `''` | Raíz del almacén de sesiones; vacío = `$DSH_HOME/sessions` (si faltan ambos, falla la carga) |
|
|
175
|
-
| `repoDir` | `''` | Raíz del árbol de trabajo; vacío = `$DSH_HOME/dsh-session-sync/repo` |
|
|
176
|
-
| `remote` | `''` | Dirección remota (requerida antes de pull/push; status/diff funcionan sin ella) |
|
|
177
|
-
| `branch` | `main` | Nombre de la rama remota |
|
|
178
|
-
| `gitBin` | `git` | Ruta del ejecutable git |
|
|
179
|
-
| `ageBin` | `age` | Ruta del ejecutable age (se sondea con `backend: encrypted`; si falta, degrada a texto plano) |
|
|
180
|
-
| `ageRecipient` | `''` | Destinatario age (clave pública o cadena de identidad); vacío = no se puede cifrar, degrada a texto plano |
|
|
181
|
-
| `ageIdentity` | `''` | Ruta a una clave secreta age sin frase de paso (para descifrar); vacío = degrada a texto plano |
|
|
182
|
-
| `autoPullOnStart` | `false` | Hace pull una vez al montar el plugin (la configuración es la concesión; sin reconfirmar) |
|
|
183
|
-
| `autoPushOnTurnEnd` | `false` | Hace push tras cada turno cerrado |
|
|
184
|
-
| `pullIntervalMinutes` | `0` | Pull periódico cada N minutos (`0` = apagado, máx. `10080`) |
|
|
185
|
-
| `confirmVia` | `auto` | Canal de confirmación: `auto` (primero userQuestions, luego approval), `userQuestions`, `approval` |
|
|
186
|
-
| `graceMs` | `10000` | Periodo de gracia para matar git (ms) |
|
|
187
|
-
| `commandTimeoutMs` | `120000` | Tiempo de espera por comando (ms) |
|
|
188
|
-
| `maxOutputBytes` | `262144` | Límite de salida recolectada por flujo (bytes) |
|
|
189
|
-
| `commitName` | `dsh-session-sync` | Nombre del autor del commit |
|
|
190
|
-
| `commitEmail` | `dsh-session-sync@localhost` | Correo del autor del commit |
|
|
191
|
-
| `registerCommand` | `true` | Registra el comando `/sync` |
|
|
192
|
-
| `registerTools` | `true` | Registra las herramientas `sync_*` cuando el servicio tools está presente |
|
|
193
|
-
|
|
194
|
-
Ejemplo de sobrescritura en tu parche de perfil:
|
|
195
|
-
|
|
196
|
-
```yaml
|
|
197
|
-
- insert:
|
|
198
|
-
- id: session-sync
|
|
199
|
-
name: dsh-session-sync
|
|
200
|
-
config:
|
|
201
|
-
remote: git@github.com:you/your-dsh-sessions.git
|
|
202
|
-
branch: main
|
|
203
|
-
autoPushOnTurnEnd: true
|
|
204
|
-
pullIntervalMinutes: 30
|
|
205
|
-
confirmVia: userQuestions
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
## Herramientas y superficies
|
|
209
|
-
|
|
210
|
-
| Superficie | Solo lectura | Requiere confirmación | Notas |
|
|
211
|
-
|---|---|---|---|
|
|
212
|
-
| `/sync status` | ✅ | — | Rama, remoto saneado, delante/detrás, archivos sucios, archivos fork, último pull/push |
|
|
213
|
-
| `/sync diff` | ✅ | — | Cambios sin commit + estadística `HEAD..remote` (solo lectura) |
|
|
214
|
-
| `/sync log` | ✅ | — | Últimos commits del repositorio de sincronización |
|
|
215
|
-
| `/sync pull` | | ✅ | Fetch + merge con semántica de conservar ambos; lo local se conserva, lo remoto se preserva como forks |
|
|
216
|
-
| `/sync push` | | ✅ | Espejo + commit + push; nunca fuerza push, reconcilia y reintenta una vez ante rechazo |
|
|
217
|
-
| `sync_status` | ✅ | — | Los mismos datos que `/sync status` para el modelo |
|
|
218
|
-
| `sync_pull` | | ✅ | Pull invocable por el modelo |
|
|
219
|
-
| `sync_push` | | ✅ | Push invocable por el modelo |
|
|
220
|
-
|
|
221
|
-
## Permisos y datos
|
|
222
|
-
|
|
223
|
-
- **Permisos**: las operaciones mutadoras cruzan la puerta de confirmación (`confirmVia`); el plugin nunca reimplementa ni elude los servicios `userQuestions`/`approval` del harness. Los modos automáticos están cubiertos por la concesión de configuración y nunca reconfirman.
|
|
224
|
-
- **Datos**: los metadatos de sincronización (id de dispositivo, último pull/push, última cabecera de push, último error) viven en el dominio de almacenamiento `session-sync`. Los archivos de sesión se copian como bytes opacos — el plugin nunca los analiza. El id de dispositivo también se escribe en `device.txt` en el repositorio de sincronización para la atribución de forks entre dispositivos.
|
|
225
|
-
- **Registro de sesión**: `sync/push`, `sync/pull` y `sync/conflict` están declarados en `types.d.ts`; se anexan solo cuando el host registra los tipos (ver Limitaciones conocidas). Todo lo escrito o mostrado se sanea. El único mensaje duradero que el plugin escribe —el aviso de fork por conflicto— lleva el source kind propio del plugin (producer-owned, `dsh-session-sync`); el harness retiró el kind compartido `plugin` y lo rechaza al releer una sesión.
|
|
226
|
-
|
|
227
|
-
## Límites de seguridad
|
|
228
|
-
|
|
229
|
-
- **Nunca sobrescribe en silencio.** El merge de tres vías append-only conserva ambos lados ante cualquier divergencia; los archivos fork nunca se eliminan y git nunca fuerza push, resetea, rebase ni cambia de rama.
|
|
230
|
-
- **Contención de rutas.** Los archivos se reflejan como bytes opacos con enlaces simbólicos rechazados y cada ruta unida se comprueba por contención (`PATH_UNSAFE` falla alto).
|
|
231
|
-
- **Salida saneada.** Las credenciales de URL remota, los tokens y los secretos `key=value` se redactan antes de llegar al modelo o al registro; la visualización de rutas rechaza todo lo que esté fuera de su raíz.
|
|
232
|
-
- **Sin almacenamiento de credenciales.** El plugin no almacena credenciales; las credenciales de git viven en tu helper de credenciales normal. Las identidades/destinatarios age los gestionas tú, y las claves nunca entran en el repositorio de sincronización.
|
|
233
|
-
- **Endurecimiento de git.** git se ejecuta con `GIT_TERMINAL_PROMPT=0` y `GIT_OPTIONAL_LOCKS=0`, acotado por plazo y señal, con un límite de salida por flujo.
|
|
234
|
-
- **Falla cerrada.** La falta de respondedor de confirmación, de remoto o una ruta insegura rechaza la operación alto.
|
|
235
|
-
|
|
236
|
-
## Cifrado y modelo de amenazas
|
|
237
|
-
|
|
238
|
-
`backend: encrypted` añade una capa **age** opcional sobre el espejo: los bytes de sesión se cifran en archivos `encrypted/**/*.age` antes de commitear y subir, y se descifran de vuelta al espejo local en texto plano antes de fusionar. La fusión a tres bandas siempre se ejecuta en texto plano localmente, por lo que la semántica append-only de conservar ambos lados no cambia.
|
|
239
|
-
|
|
240
|
-
Qué **protege** el cifrado:
|
|
241
|
-
|
|
242
|
-
- **El contenido del espejo en reposo en el remoto.** Los archivos de sesión que subes son texto cifrado age; el host remoto, sus operadores y cualquiera que clone el repositorio no ven los bytes de sesión en claro sin la clave privada.
|
|
243
|
-
|
|
244
|
-
Qué **no** protege (la frontera):
|
|
245
|
-
|
|
246
|
-
- **Las claves e identidades age son tuyas.** Los archivos de destinatario/identidad nunca son distribuidos, almacenados ni rotados por el plugin. Si una clave se filtra, el contenido del espejo que protege queda expuesto. Usa una identidad sin frase de contraseña y mantenla fuera del repositorio.
|
|
247
|
-
- **El remoto sigue siendo en la práctica un repositorio privado.** Los metadatos de git — mensajes de commit, el `.gitignore`, la estructura de rutas `encrypted/`, los nombres de rama y la actividad de push/fetch — siguen siendo visibles para el host remoto. El cifrado oculta el *contenido*, no el hecho de que sincronizas, ni la forma de tu árbol de sesiones.
|
|
248
|
-
- **El texto plano sigue existiendo localmente.** El espejo en `<repoDir>/sessions/` es texto plano en disco; el cifrado protege la copia transmitida/remota, no el cifrado del disco local ni el almacén de sesiones en vivo.
|
|
249
|
-
- **La degradación elegante significa texto plano.** Con `backend: encrypted`, si falta `age`, o `ageRecipient`/`ageIdentity` están vacíos, el plugin cae al camino git en texto plano **y avisa explícitamente** en el estado/registro — nunca finge cifrar. Revisa la advertencia en `/sync status` antes de confiar en el remoto como cifrado.
|
|
250
|
-
|
|
251
|
-
Línea base: con `backend: git` (el predeterminado), los bytes de sesión se almacenan sin cifrar en **tu** remoto git — usa un repositorio privado.
|
|
252
|
-
|
|
253
|
-
## Limitaciones conocidas
|
|
254
|
-
|
|
255
|
-
- **El cifrado es opcional.** `backend: encrypted` añade una capa age (ver «Cifrado y modelo de amenazas» arriba); si falta `age` o las claves, cae a texto plano con una advertencia explícita. Con `backend: git` (el predeterminado), los bytes de sesión se almacenan sin cifrar en **tu** remoto git — usa un repositorio privado.
|
|
256
|
-
- **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).
|
|
257
|
-
- **Eventos de sesión en `0.1.0-rc.6`/`0.1.0-rc.8`/`0.1.1-rc.2`/`0.1.2-alpha.2`/`0.1.2-alpha.3`/`0.1.2-rc.1`/`0.1.7-alpha.2`.** 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`.
|
|
258
|
-
- **`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. La comprobación de turno abierto lee la proyección de sesión `turnBoundary` del host: una composición sin `@deepseek-ai/dsh-session-projection` no puede verificar el estado del turno y falla en cerrado con ese motivo.
|
|
259
|
-
- **Los artefactos privados del host no se sincronizan.** `session.lock` (el arriendo de sesión del harness) y los archivos de staging `session.migration.*.tmp` nunca se reflejan ni se eliminan: son estado de ejecución, no contenido sincronizable. Los registros de sesión (`session.jsonl`, `session.v[1-9]*.jsonl[.zstd]`) siguen siendo la carga útil reflejada.
|
|
260
|
-
|
|
261
|
-
## Desarrollo
|
|
262
|
-
|
|
263
|
-
```sh
|
|
264
|
-
pnpm install # node ^22.19 || >=24
|
|
265
|
-
pnpm run typecheck && pnpm run typecheck:ci # tsc --checkJs contra los peers 0.1.7-alpha.2 publicados
|
|
266
|
-
pnpm test # node --test (13 archivos de test; la suite git del motor se omite sin git)
|
|
267
|
-
pnpm run verify:self-contained # las specs de dependencias resuelven desde el registro
|
|
268
|
-
pnpm run verify:artifacts # archivos publicados presentes + index.mjs importable
|
|
269
|
-
pnpm run check:readmes # consistencia de los cinco README
|
|
270
|
-
pnpm pack # el tarball publicado
|
|
271
|
-
```
|
|
272
|
-
|
|
273
|
-
No hay paso de compilación: ESM puro, `index.mjs` y `lib/` son los artefactos publicados.
|
|
274
|
-
|
|
275
|
-
## Topics
|
|
276
|
-
|
|
277
|
-
`dsh`, `dsh-plugin`, `deepseek-harness`, `deepseek`, `cordis`, `session-sync`, `session`, `git`, `sync`, `cross-device`
|
|
278
|
-
|
|
279
|
-
## Contribuyentes
|
|
280
|
-
|
|
281
|
-
- [@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.
|
|
282
|
-
|
|
283
|
-
## PerryLink DSH Plugin Family
|
|
284
|
-
|
|
285
|
-
Este proyecto forma parte de la familia de plugins de DeepSeek Harness de [PerryLink](https://github.com/PerryLink). El registro permanece plegado abajo para que cada README conserve una primera pantalla corta; expándelo para ver cada fila y su estado.
|
|
286
|
-
|
|
287
|
-
<details>
|
|
288
|
-
<summary>Expandir todos los plugins</summary>
|
|
289
|
-
|
|
290
|
-
| Plugin | Estado |
|
|
291
|
-
|---|---|
|
|
292
|
-
| **[dsh-aqua-input-check](https://github.com/PerryLink/dsh-aqua-input-check)** | |
|
|
293
|
-
| **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** | |
|
|
294
|
-
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | |
|
|
295
|
-
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | |
|
|
296
|
-
| **[dsh-bid-ca-precheck](https://github.com/PerryLink/dsh-bid-ca-precheck)** | |
|
|
297
|
-
| **[dsh-bid-qual-check](https://github.com/PerryLink/dsh-bid-qual-check)** | |
|
|
298
|
-
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | |
|
|
299
|
-
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | |
|
|
300
|
-
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | |
|
|
301
|
-
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | |
|
|
302
|
-
| **[dsh-contract-stance](https://github.com/PerryLink/dsh-contract-stance)** | |
|
|
303
|
-
| **[dsh-customs-doc-check](https://github.com/PerryLink/dsh-customs-doc-check)** | |
|
|
304
|
-
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | |
|
|
305
|
-
| **[dsh-demurrage-ledger](https://github.com/PerryLink/dsh-demurrage-ledger)** | |
|
|
306
|
-
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | |
|
|
307
|
-
| **[dsh-drill-script-check](https://github.com/PerryLink/dsh-drill-script-check)** | |
|
|
308
|
-
| **[dsh-eia-guide-check](https://github.com/PerryLink/dsh-eia-guide-check)** | |
|
|
309
|
-
| **[dsh-emergency-plan](https://github.com/PerryLink/dsh-emergency-plan)** | |
|
|
310
|
-
| **[dsh-essay-rubric-check](https://github.com/PerryLink/dsh-essay-rubric-check)** | |
|
|
311
|
-
| **[dsh-evidence-check](https://github.com/PerryLink/dsh-evidence-check)** | |
|
|
312
|
-
| **[dsh-export-ctl-check](https://github.com/PerryLink/dsh-export-ctl-check)** | |
|
|
313
|
-
| **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | |
|
|
314
|
-
| **[dsh-fmea-table-check](https://github.com/PerryLink/dsh-fmea-table-check)** | |
|
|
315
|
-
| **[dsh-forecast-penalty](https://github.com/PerryLink/dsh-forecast-penalty)** | |
|
|
316
|
-
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | |
|
|
317
|
-
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | |
|
|
318
|
-
| **[dsh-gongwen-flow-check](https://github.com/PerryLink/dsh-gongwen-flow-check)** | |
|
|
319
|
-
| **[dsh-gongwen-word-check](https://github.com/PerryLink/dsh-gongwen-word-check)** | |
|
|
320
|
-
| **[dsh-guard-plan-qc](https://github.com/PerryLink/dsh-guard-plan-qc)** | |
|
|
321
|
-
| **[dsh-hazchem-check](https://github.com/PerryLink/dsh-hazchem-check)** | |
|
|
322
|
-
| **[dsh-hazplan-check](https://github.com/PerryLink/dsh-hazplan-check)** | |
|
|
323
|
-
| **[dsh-hidden-risk-map](https://github.com/PerryLink/dsh-hidden-risk-map)** | |
|
|
324
|
-
| **[dsh-hs-classify](https://github.com/PerryLink/dsh-hs-classify)** | |
|
|
325
|
-
| **[dsh-icd-rule-check](https://github.com/PerryLink/dsh-icd-rule-check)** | |
|
|
326
|
-
| **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | |
|
|
327
|
-
| **[dsh-lawcite-adapter](https://github.com/PerryLink/dsh-lawcite-adapter)** | |
|
|
328
|
-
| **[dsh-laya](https://github.com/PerryLink/dsh-laya)** | |
|
|
329
|
-
| **[dsh-lc-doc-check](https://github.com/PerryLink/dsh-lc-doc-check)** | |
|
|
330
|
-
| **[dsh-learning-gap-check](https://github.com/PerryLink/dsh-learning-gap-check)** | |
|
|
331
|
-
| **[dsh-library](https://github.com/PerryLink/dsh-library)** | |
|
|
332
|
-
| **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | |
|
|
333
|
-
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | |
|
|
334
|
-
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | |
|
|
335
|
-
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | |
|
|
336
|
-
| **[dsh-medrec-qc](https://github.com/PerryLink/dsh-medrec-qc)** | |
|
|
337
|
-
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | |
|
|
338
|
-
| **[dsh-nsfc-form-check](https://github.com/PerryLink/dsh-nsfc-form-check)** | |
|
|
339
|
-
| **[dsh-nurse-record-check](https://github.com/PerryLink/dsh-nurse-record-check)** | |
|
|
340
|
-
| **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | |
|
|
341
|
-
| **[dsh-origin-rvc-check](https://github.com/PerryLink/dsh-origin-rvc-check)** | |
|
|
342
|
-
| **[dsh-ota-review-check](https://github.com/PerryLink/dsh-ota-review-check)** | |
|
|
343
|
-
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | |
|
|
344
|
-
| **[dsh-paper-doc-adapter](https://github.com/PerryLink/dsh-paper-doc-adapter)** | |
|
|
345
|
-
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | |
|
|
346
|
-
| **[dsh-permit-report-check](https://github.com/PerryLink/dsh-permit-report-check)** | |
|
|
347
|
-
| **[dsh-pipeline-check](https://github.com/PerryLink/dsh-pipeline-check)** | |
|
|
348
|
-
| **[dsh-pleading-draft](https://github.com/PerryLink/dsh-pleading-draft)** | |
|
|
349
|
-
| **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | |
|
|
350
|
-
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | |
|
|
351
|
-
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | |
|
|
352
|
-
| **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | |
|
|
353
|
-
| **[dsh-policy-brief-draft](https://github.com/PerryLink/dsh-policy-brief-draft)** | |
|
|
354
|
-
| **[dsh-power-loss-split](https://github.com/PerryLink/dsh-power-loss-split)** | |
|
|
355
|
-
| **[dsh-power-ticket-check](https://github.com/PerryLink/dsh-power-ticket-check)** | |
|
|
356
|
-
| **[dsh-ppap-check](https://github.com/PerryLink/dsh-ppap-check)** | |
|
|
357
|
-
| **[dsh-protest-deadline](https://github.com/PerryLink/dsh-protest-deadline)** | |
|
|
358
|
-
| **[dsh-railway-window](https://github.com/PerryLink/dsh-railway-window)** | |
|
|
359
|
-
| **[dsh-repair-order-qc](https://github.com/PerryLink/dsh-repair-order-qc)** | |
|
|
360
|
-
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | |
|
|
361
|
-
| **[dsh-review-reply-check](https://github.com/PerryLink/dsh-review-reply-check)** | |
|
|
362
|
-
| **[dsh-rulefile-check](https://github.com/PerryLink/dsh-rulefile-check)** | |
|
|
363
|
-
| **[dsh-safety-brief-check](https://github.com/PerryLink/dsh-safety-brief-check)** | |
|
|
364
|
-
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | |
|
|
365
|
-
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | |
|
|
366
|
-
| **[dsh-site-log-check](https://github.com/PerryLink/dsh-site-log-check)** | |
|
|
367
|
-
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | |
|
|
368
|
-
| **[dsh-soe-decision-check](https://github.com/PerryLink/dsh-soe-decision-check)** | |
|
|
369
|
-
| **[dsh-soilwater-check](https://github.com/PerryLink/dsh-soilwater-check)** | |
|
|
370
|
-
| **[dsh-sop-sync-check](https://github.com/PerryLink/dsh-sop-sync-check)** | |
|
|
371
|
-
| **[dsh-spc-gbt-adapter](https://github.com/PerryLink/dsh-spc-gbt-adapter)** | |
|
|
372
|
-
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | |
|
|
373
|
-
| **[dsh-tender-extract](https://github.com/PerryLink/dsh-tender-extract)** | |
|
|
374
|
-
| **[dsh-tender-matrix](https://github.com/PerryLink/dsh-tender-matrix)** | |
|
|
375
|
-
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | |
|
|
376
|
-
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | |
|
|
377
|
-
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | |
|
|
378
|
-
| **[dsh-warranty-calc](https://github.com/PerryLink/dsh-warranty-calc)** | |
|
|
379
|
-
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 CONGELADO — ver el README del repositorio |
|
|
380
|
-
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 CONGELADO — ver el README del repositorio |
|
|
381
|
-
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 CONGELADO — ver el README del repositorio |
|
|
382
|
-
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 CONGELADO — ver el README del repositorio |
|
|
383
|
-
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 CONGELADO — ver el README del repositorio |
|
|
384
|
-
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 RETIRADO — ver el README del repositorio |
|
|
385
|
-
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 RETIRADO — ver el README del repositorio |
|
|
386
|
-
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 RETIRADO — ver el README del repositorio |
|
|
387
|
-
|
|
388
|
-
</details>
|
|
389
|
-
|
|
390
|
-
## Licencia
|
|
391
|
-
|
|
392
|
-
[LICENSE](LICENSE) (Apache License 2.0) © 2026 dsh-session-sync contributors
|