dsh-session-sync 0.2.30 → 0.2.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ARCHITECTURE.md +0 -0
- package/CHANGELOG.md +16 -0
- package/LICENSE +0 -0
- package/PRIVACY.md +11 -0
- package/README-es.md +53 -4
- package/README-hi.md +53 -4
- package/README-pt.md +53 -4
- package/README-zh.md +53 -4
- package/README.md +54 -6
- package/SECURITY.md +0 -0
- package/THIRD_PARTY_NOTICES.md +0 -0
- package/cordis.patch.yml +0 -0
- package/icon.svg +1 -0
- package/index.mjs +0 -0
- package/lib/age.mjs +0 -0
- package/lib/backend.mjs +0 -0
- package/lib/constants.mjs +0 -0
- package/lib/domain.mjs +0 -0
- package/lib/encrypted.mjs +0 -0
- package/lib/engine.mjs +0 -0
- package/lib/errors.mjs +0 -0
- package/lib/gate.mjs +0 -0
- package/lib/git.mjs +0 -0
- package/lib/merge.mjs +0 -0
- package/lib/mirror.mjs +0 -0
- package/lib/paths.mjs +0 -0
- package/lib/render.mjs +0 -0
- package/lib/sanitize.mjs +0 -0
- package/lib/status.mjs +0 -0
- package/package.json +43 -34
- package/types.d.ts +0 -0
package/ARCHITECTURE.md
CHANGED
|
File without changes
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.32] - 2026-11-05
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- **Host 0.2.2 line support.** devDependencies move from 0.2.1-rc.2 to 0.2.2-rc.1, cordis to 4.1.0 / include 1.1.0 / loader 1.1.0, and schemastery to ~3.19.0 so a single copy resolves against `@deepseek-ai/dsh-llm` 0.2.2. `engines.dsh` appends `>=0.2.2-0 <0.3.0` (append-only) and `engines.node` becomes `^22.19.0 || >=24.9.0`.
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Add `@deepseek-ai/dsh-package-manifest`: `@deepseek-ai/dsh-llm` 0.2.2's published types import it but its manifest does not declare it.
|
|
12
|
+
|
|
13
|
+
## [0.2.31] - 2026-10-24
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- **Pin `zod` to 4.4.3 and ignore its dependabot bumps until the host packages align.** The npm-minor-patch group pulled `zod@4.6.7` alongside the host's `4.4.3`; the duplicated `ZodType` identity breaks `tsc` and the profile/bare-import gates. The exact pin keeps one zod identity.
|
|
18
|
+
|
|
3
19
|
## [0.2.30] - 2026-10-19
|
|
4
20
|
|
|
5
21
|
### Fixed
|
package/LICENSE
CHANGED
|
File without changes
|
package/PRIVACY.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Privacy
|
|
2
|
+
|
|
3
|
+
`dsh-session-sync` is a local DeepSeek Harness plugin.
|
|
4
|
+
|
|
5
|
+
- It reads only the workspace files, configuration and tool inputs needed for its documented features.
|
|
6
|
+
- It does not add telemetry, analytics, advertising or a hosted account, and it sends no data to PerryLink.
|
|
7
|
+
- Any network access or external service used by the plugin is documented in its README and is controlled by the user's own configuration.
|
|
8
|
+
- It writes no data outside the DSH profile, the workspace, and the host's own session/log storage. The host controls that storage and its retention.
|
|
9
|
+
- Removing the package removes its code; it does not delete host logs, workspace files or documents you already created.
|
|
10
|
+
|
|
11
|
+
This statement covers the npm package, not the DSH host or any other plugin in the profile.
|
package/README-es.md
CHANGED
|
@@ -53,9 +53,10 @@ Sincronización de sesiones entre dispositivos para DeepSeek Harness — un espe
|
|
|
53
53
|
|
|
54
54
|
Sincroniza tus sesiones entre dispositivos, conserva ambos lados ante cualquier conflicto, nunca pierdas un turno.
|
|
55
55
|
|
|
56
|
-

|
|
57
|
+
|
|
58
|
+
*Resumen del flujo: solicitud → política/revisión → veredicto. Los ejemplos siguientes usan la superficie de comandos real.*
|
|
57
59
|
|
|
58
|
-

|
|
59
60
|
|
|
60
61
|
*La misma ejecución, animada.*
|
|
61
62
|
|
|
@@ -116,6 +117,52 @@ Luego configura el remoto en tu parche de perfil (un repositorio **privado** es
|
|
|
116
117
|
> /sync push
|
|
117
118
|
```
|
|
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
|
+
|
|
119
166
|
## Configuración
|
|
120
167
|
|
|
121
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.
|
|
@@ -233,7 +280,7 @@ No hay paso de compilación: ESM puro, `index.mjs` y `lib/` son los artefactos p
|
|
|
233
280
|
|
|
234
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.
|
|
235
282
|
|
|
236
|
-
##
|
|
283
|
+
## PerryLink DSH Plugin Family
|
|
237
284
|
|
|
238
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.
|
|
239
286
|
|
|
@@ -338,6 +385,8 @@ Este proyecto forma parte de la familia de plugins de DeepSeek Harness de [Perry
|
|
|
338
385
|
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 RETIRADO — ver el README del repositorio |
|
|
339
386
|
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 RETIRADO — ver el README del repositorio |
|
|
340
387
|
|
|
341
|
-
</details
|
|
388
|
+
</details>
|
|
389
|
+
|
|
390
|
+
## Licencia
|
|
342
391
|
|
|
343
392
|
[LICENSE](LICENSE) (Apache License 2.0) © 2026 dsh-session-sync contributors
|
package/README-hi.md
CHANGED
|
@@ -53,9 +53,10 @@ DeepSeek Harness के लिए क्रॉस-डिवाइस सत्
|
|
|
53
53
|
|
|
54
54
|
अपने सत्रों को डिवाइसों के बीच सिंक करें, किसी भी टकराव में दोनों पक्ष रखें, कभी कोई टर्न न खोएँ।
|
|
55
55
|
|
|
56
|
-

|
|
57
|
+
|
|
58
|
+
*कार्यप्रवाह: अनुरोध → नीति/समीक्षा → निर्णय। नीचे के उदाहरण वास्तविक कमांड सतह का उपयोग करते हैं।*
|
|
57
59
|
|
|
58
|
-

|
|
59
60
|
|
|
60
61
|
*वही रन, एनिमेटेड।*
|
|
61
62
|
|
|
@@ -116,6 +117,52 @@ dsh --profile web --dump-config | grep -A2 'id: session-sync'
|
|
|
116
117
|
> /sync push
|
|
117
118
|
```
|
|
118
119
|
|
|
120
|
+
### उदाहरण
|
|
121
|
+
|
|
122
|
+
ये वास्तविक प्रवेश बिंदु हैं; इंस्टॉल के बाद एक चलाएँ।
|
|
123
|
+
|
|
124
|
+
#### विस्तृत उदाहरण
|
|
125
|
+
|
|
126
|
+
**कमांड**
|
|
127
|
+
|
|
128
|
+
~~~sh
|
|
129
|
+
/sync help
|
|
130
|
+
~~~
|
|
131
|
+
|
|
132
|
+
**आउटपुट**
|
|
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
|
+
*स्रोत `index.mjs:754-765 (registered /sync handler)`*
|
|
144
|
+
|
|
145
|
+
#### विफलता शाखा
|
|
146
|
+
|
|
147
|
+
**इनपुट**
|
|
148
|
+
|
|
149
|
+
~~~text
|
|
150
|
+
/sync push
|
|
151
|
+
~~~
|
|
152
|
+
|
|
153
|
+
**आउटपुट**
|
|
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
|
+
*स्रोत `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
|
+
#### संक्षिप्त उदाहरण
|
|
162
|
+
|
|
163
|
+
- `/sync diff`
|
|
164
|
+
- `/sync pull`
|
|
165
|
+
|
|
119
166
|
## कॉन्फ़िगरेशन
|
|
120
167
|
|
|
121
168
|
सभी ट्यूनेबल Schemastery `Config` फ़ील्ड हैं (cordis.yml से बदले जा सकते हैं)। id-लक्षित ओवरराइड पूरी पंक्ति को बदल देता है — जो कुंजियाँ चाहिए उन्हें दोबारा लिखें। `cordis.patch.yml` हर कुंजी को इनलाइन दस्तावेज़ित करता है।
|
|
@@ -233,7 +280,7 @@ pnpm pack # प्रकाशित ta
|
|
|
233
280
|
|
|
234
281
|
- [@PerryLink](https://github.com/PerryLink) — निर्माता और अनुरक्षक: git मिरर इंजन, append-only दोनों-रखें मर्ज, `/sync` कमांड और `sync_*` टूल, स्वचालित मोड, सैनिटाइज़र, और पाँच-भाषा दस्तावेज़।
|
|
235
282
|
|
|
236
|
-
## PerryLink DSH
|
|
283
|
+
## PerryLink DSH Plugin Family
|
|
237
284
|
|
|
238
285
|
यह प्रोजेक्ट [PerryLink](https://github.com/PerryLink) के DeepSeek Harness प्लगइन परिवार का हिस्सा है। पूरी सूची नीचे संक्षिप्त रखी गई है ताकि हर README की पहली स्क्रीन छोटी रहे; हर पंक्ति और उसकी स्थिति देखने के लिए इसे खोलें।
|
|
239
286
|
|
|
@@ -338,6 +385,8 @@ pnpm pack # प्रकाशित ta
|
|
|
338
385
|
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 सेवानिवृत्त — रिपॉज़िटरी README देखें |
|
|
339
386
|
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 सेवानिवृत्त — रिपॉज़िटरी README देखें |
|
|
340
387
|
|
|
341
|
-
</details
|
|
388
|
+
</details>
|
|
389
|
+
|
|
390
|
+
## लाइसेंस
|
|
342
391
|
|
|
343
392
|
[LICENSE](LICENSE) (Apache License 2.0) © 2026 dsh-session-sync contributors
|
package/README-pt.md
CHANGED
|
@@ -53,9 +53,10 @@ Sincronização de sessões entre dispositivos para o DeepSeek Harness — um es
|
|
|
53
53
|
|
|
54
54
|
Sincronize suas sessões entre dispositivos, mantenha os dois lados em qualquer conflito, nunca perca um turno.
|
|
55
55
|
|
|
56
|
-

|
|
57
|
+
|
|
58
|
+
*Visão geral do fluxo: solicitação → política/revisão → veredito. Os exemplos abaixo usam a superfície real de comandos.*
|
|
57
59
|
|
|
58
|
-

|
|
59
60
|
|
|
60
61
|
*A mesma execução, animada.*
|
|
61
62
|
|
|
@@ -116,6 +117,52 @@ Depois defina o remoto no seu patch de perfil (um repositório **privado** é a
|
|
|
116
117
|
> /sync push
|
|
117
118
|
```
|
|
118
119
|
|
|
120
|
+
### Exemplos
|
|
121
|
+
|
|
122
|
+
São os pontos de entrada reais; instale e chame um.
|
|
123
|
+
|
|
124
|
+
#### Exemplo detalhado
|
|
125
|
+
|
|
126
|
+
**Comando**
|
|
127
|
+
|
|
128
|
+
~~~sh
|
|
129
|
+
/sync help
|
|
130
|
+
~~~
|
|
131
|
+
|
|
132
|
+
**Saída**
|
|
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 em `index.mjs:754-765 (registered /sync handler)`*
|
|
144
|
+
|
|
145
|
+
#### Ramo de falha
|
|
146
|
+
|
|
147
|
+
**Entrada**
|
|
148
|
+
|
|
149
|
+
~~~text
|
|
150
|
+
/sync push
|
|
151
|
+
~~~
|
|
152
|
+
|
|
153
|
+
**Saída**
|
|
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 em `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
|
+
#### Exemplos breves
|
|
162
|
+
|
|
163
|
+
- `/sync diff`
|
|
164
|
+
- `/sync pull`
|
|
165
|
+
|
|
119
166
|
## Configuração
|
|
120
167
|
|
|
121
168
|
Todos os ajustes são campos de `Config` do Schemastery (alteráveis pelo cordis.yml). Uma sobrescrita direcionada por id substitui a linha inteira — repita cada chave de que você precisa. O `cordis.patch.yml` documenta cada chave em linha.
|
|
@@ -233,7 +280,7 @@ Não há etapa de compilação: ESM puro, `index.mjs` e `lib/` são os artefatos
|
|
|
233
280
|
|
|
234
281
|
- [@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.
|
|
235
282
|
|
|
236
|
-
##
|
|
283
|
+
## PerryLink DSH Plugin Family
|
|
237
284
|
|
|
238
285
|
Este projeto faz parte da família de plugins do DeepSeek Harness da [PerryLink](https://github.com/PerryLink). O registro fica recolhido abaixo para que cada README mantenha uma primeira tela curta; expanda para ver cada linha e seu status.
|
|
239
286
|
|
|
@@ -338,6 +385,8 @@ Este projeto faz parte da família de plugins do DeepSeek Harness da [PerryLink]
|
|
|
338
385
|
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 RETIRADO — ver o README do repositório |
|
|
339
386
|
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 RETIRADO — ver o README do repositório |
|
|
340
387
|
|
|
341
|
-
</details
|
|
388
|
+
</details>
|
|
389
|
+
|
|
390
|
+
## Licença
|
|
342
391
|
|
|
343
392
|
[LICENSE](LICENSE) (Apache License 2.0) © 2026 dsh-session-sync contributors
|
package/README-zh.md
CHANGED
|
@@ -48,9 +48,10 @@ DeepSeek Harness 的跨设备会话同步 —— 为你的会话存储建立专
|
|
|
48
48
|
|
|
49
49
|
在设备间同步会话,冲突时两边都保留,绝不丢失任何一轮。
|
|
50
50
|
|
|
51
|
-

|
|
52
|
+
|
|
53
|
+
*工作流概览:请求 → 策略/复核 → 判定。下面的示例使用实际命令面。*
|
|
52
54
|
|
|
53
|
-

|
|
54
55
|
|
|
55
56
|
*同一次运行,动图版。*
|
|
56
57
|
|
|
@@ -118,6 +119,52 @@ dsh --profile web --dump-config | grep -A2 'id: session-sync'
|
|
|
118
119
|
- **tarball 通道**:在本仓库执行 `pnpm pack`,然后 `dsh plugin --profile web add ./dsh-session-sync-<version>.tgz`。
|
|
119
120
|
- **卸载**:`dsh plugin --profile web remove dsh-session-sync`(或从 profile patch 删除该行)。
|
|
120
121
|
|
|
122
|
+
### 示例
|
|
123
|
+
|
|
124
|
+
以下为插件真实入口;安装后调用一个即可。
|
|
125
|
+
|
|
126
|
+
#### 详细示例
|
|
127
|
+
|
|
128
|
+
**命令**
|
|
129
|
+
|
|
130
|
+
~~~sh
|
|
131
|
+
/sync help
|
|
132
|
+
~~~
|
|
133
|
+
|
|
134
|
+
**输出**
|
|
135
|
+
|
|
136
|
+
~~~text
|
|
137
|
+
sync: usage — /sync [status | pull | push | diff | log | help]
|
|
138
|
+
status show mirror state (default): branch, remote, ahead/behind, dirty, forks
|
|
139
|
+
pull fetch + merge remote changes (keep-both; confirms first)
|
|
140
|
+
push mirror + commit + push local changes (confirms first)
|
|
141
|
+
diff uncommitted changes + HEAD..remote stat (read-only)
|
|
142
|
+
log last commits in the sync repository
|
|
143
|
+
~~~
|
|
144
|
+
|
|
145
|
+
*来源 `index.mjs:754-765 (registered /sync handler)`*
|
|
146
|
+
|
|
147
|
+
#### 失败分支
|
|
148
|
+
|
|
149
|
+
**输入**
|
|
150
|
+
|
|
151
|
+
~~~text
|
|
152
|
+
/sync push
|
|
153
|
+
~~~
|
|
154
|
+
|
|
155
|
+
**输出**
|
|
156
|
+
|
|
157
|
+
~~~text
|
|
158
|
+
sync: cancelled: approval requires an open turn; /sync commands run between turns — mount userQuestions or set confirmVia: userQuestions
|
|
159
|
+
~~~
|
|
160
|
+
|
|
161
|
+
*来源 `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`*
|
|
162
|
+
|
|
163
|
+
#### 简短示例
|
|
164
|
+
|
|
165
|
+
- `/sync diff`
|
|
166
|
+
- `/sync pull`
|
|
167
|
+
|
|
121
168
|
## 配置
|
|
122
169
|
|
|
123
170
|
所有可调项都是 Schemastery `Config` 字段(可从 cordis.yml 覆盖)。按 id 的覆盖会替换整行 —— 重述你需要的每个键。`cordis.patch.yml` 对每个键都有行内注释。
|
|
@@ -235,7 +282,7 @@ pnpm pack # 发布 tarball
|
|
|
235
282
|
|
|
236
283
|
- [@PerryLink](https://github.com/PerryLink) —— 创建者与维护者:git 镜像引擎、append-only 两边保留合并、`/sync` 命令与 `sync_*` 工具、自动模式、脱敏器与五语文档。
|
|
237
284
|
|
|
238
|
-
## PerryLink DSH
|
|
285
|
+
## PerryLink DSH Plugin Family
|
|
239
286
|
|
|
240
287
|
本项目是 [PerryLink](https://github.com/PerryLink) 维护的 DeepSeek Harness 插件家族成员。完整名单默认折叠,避免每个 README 的首屏被长表淹没;点击展开可查看每一行及其状态。
|
|
241
288
|
|
|
@@ -340,6 +387,8 @@ pnpm pack # 发布 tarball
|
|
|
340
387
|
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 已退役 — 见仓库 README |
|
|
341
388
|
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 已退役 — 见仓库 README |
|
|
342
389
|
|
|
343
|
-
</details
|
|
390
|
+
</details>
|
|
391
|
+
|
|
392
|
+
## 许可证
|
|
344
393
|
|
|
345
394
|
[LICENSE](LICENSE) (Apache License 2.0) © 2026 dsh-session-sync contributors
|
package/README.md
CHANGED
|
@@ -56,11 +56,11 @@ Cross-device session sync for DeepSeek Harness — a dedicated git mirror of you
|
|
|
56
56
|
|
|
57
57
|
Sync your sessions between devices, keep both sides on any conflict, never lose a turn.
|
|
58
58
|
|
|
59
|
-

|
|
60
|
+
|
|
61
|
+
*Workflow overview: request → policy / review → verdict. The examples below use the real command surface.*
|
|
60
62
|
|
|
61
|
-

|
|
62
63
|
|
|
63
|
-
*The same run, animated.*
|
|
64
64
|
|
|
65
65
|
## Compatibility
|
|
66
66
|
|
|
@@ -119,6 +119,52 @@ Then set the remote in your profile patch (a **private** repository is the basel
|
|
|
119
119
|
> /sync push
|
|
120
120
|
```
|
|
121
121
|
|
|
122
|
+
### Examples
|
|
123
|
+
|
|
124
|
+
These are the plugin's real entry points; install once, then call one.
|
|
125
|
+
|
|
126
|
+
#### Detailed example
|
|
127
|
+
|
|
128
|
+
**Command**
|
|
129
|
+
|
|
130
|
+
~~~sh
|
|
131
|
+
/sync help
|
|
132
|
+
~~~
|
|
133
|
+
|
|
134
|
+
**Output**
|
|
135
|
+
|
|
136
|
+
~~~text
|
|
137
|
+
sync: usage — /sync [status | pull | push | diff | log | help]
|
|
138
|
+
status show mirror state (default): branch, remote, ahead/behind, dirty, forks
|
|
139
|
+
pull fetch + merge remote changes (keep-both; confirms first)
|
|
140
|
+
push mirror + commit + push local changes (confirms first)
|
|
141
|
+
diff uncommitted changes + HEAD..remote stat (read-only)
|
|
142
|
+
log last commits in the sync repository
|
|
143
|
+
~~~
|
|
144
|
+
|
|
145
|
+
*Observed from `index.mjs:754-765 (registered /sync handler)`*
|
|
146
|
+
|
|
147
|
+
#### Failure branch
|
|
148
|
+
|
|
149
|
+
**Input**
|
|
150
|
+
|
|
151
|
+
~~~text
|
|
152
|
+
/sync push
|
|
153
|
+
~~~
|
|
154
|
+
|
|
155
|
+
**Output**
|
|
156
|
+
|
|
157
|
+
~~~text
|
|
158
|
+
sync: cancelled: approval requires an open turn; /sync commands run between turns — mount userQuestions or set confirmVia: userQuestions
|
|
159
|
+
~~~
|
|
160
|
+
|
|
161
|
+
*Observed from `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`*
|
|
162
|
+
|
|
163
|
+
#### Brief examples
|
|
164
|
+
|
|
165
|
+
- `/sync diff`
|
|
166
|
+
- `/sync pull`
|
|
167
|
+
|
|
122
168
|
## Configuration
|
|
123
169
|
|
|
124
170
|
All tunables are Schemastery `Config` fields (changeable from cordis.yml). An id-targeted override replaces the whole row — restate every key you need. `cordis.patch.yml` documents each key inline.
|
|
@@ -252,10 +298,10 @@ This project is part of the DeepSeek Harness plugin family from [PerryLink](http
|
|
|
252
298
|
| **[dsh-aqua-input-check](https://github.com/PerryLink/dsh-aqua-input-check)** | |
|
|
253
299
|
| **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** | |
|
|
254
300
|
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | |
|
|
255
|
-
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** |
|
|
301
|
+
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | 🧊 FROZEN — see the repo README |
|
|
256
302
|
| **[dsh-bid-ca-precheck](https://github.com/PerryLink/dsh-bid-ca-precheck)** | |
|
|
257
303
|
| **[dsh-bid-qual-check](https://github.com/PerryLink/dsh-bid-qual-check)** | |
|
|
258
|
-
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** |
|
|
304
|
+
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | 🧊 FROZEN — see the repo README |
|
|
259
305
|
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | |
|
|
260
306
|
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | |
|
|
261
307
|
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | |
|
|
@@ -345,6 +391,8 @@ This project is part of the DeepSeek Harness plugin family from [PerryLink](http
|
|
|
345
391
|
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 RETIRED — see the repo README |
|
|
346
392
|
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 RETIRED — see the repo README |
|
|
347
393
|
|
|
348
|
-
</details
|
|
394
|
+
</details>
|
|
395
|
+
|
|
396
|
+
## License
|
|
349
397
|
|
|
350
398
|
[LICENSE](LICENSE) (Apache License 2.0) © 2026 dsh-session-sync contributors
|
package/SECURITY.md
CHANGED
|
File without changes
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
File without changes
|
package/cordis.patch.yml
CHANGED
|
File without changes
|
package/icon.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" role="img" aria-label="dsh-session-sync"><rect width="128" height="128" rx="24" fill="#0f172a"/><circle cx="64" cy="64" r="44" fill="none" stroke="#211efd" stroke-width="6"/><text x="64" y="78" fill="#f8fafc" text-anchor="middle" font-family="ui-monospace,monospace" font-size="38" font-weight="700">SS</text></svg>
|
package/index.mjs
CHANGED
|
File without changes
|
package/lib/age.mjs
CHANGED
|
File without changes
|
package/lib/backend.mjs
CHANGED
|
File without changes
|
package/lib/constants.mjs
CHANGED
|
File without changes
|
package/lib/domain.mjs
CHANGED
|
File without changes
|
package/lib/encrypted.mjs
CHANGED
|
File without changes
|
package/lib/engine.mjs
CHANGED
|
File without changes
|
package/lib/errors.mjs
CHANGED
|
File without changes
|
package/lib/gate.mjs
CHANGED
|
File without changes
|
package/lib/git.mjs
CHANGED
|
File without changes
|
package/lib/merge.mjs
CHANGED
|
File without changes
|
package/lib/mirror.mjs
CHANGED
|
File without changes
|
package/lib/paths.mjs
CHANGED
|
File without changes
|
package/lib/render.mjs
CHANGED
|
File without changes
|
package/lib/sanitize.mjs
CHANGED
|
File without changes
|
package/lib/status.mjs
CHANGED
|
File without changes
|
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.2.
|
|
4
|
+
"version": "0.2.32",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/PerryLink/dsh-session-sync.git"
|
|
@@ -36,13 +36,20 @@
|
|
|
36
36
|
"CHANGELOG.md",
|
|
37
37
|
"SECURITY.md",
|
|
38
38
|
"LICENSE",
|
|
39
|
-
"THIRD_PARTY_NOTICES.md"
|
|
39
|
+
"THIRD_PARTY_NOTICES.md",
|
|
40
|
+
"PRIVACY.md",
|
|
41
|
+
"icon.svg"
|
|
40
42
|
],
|
|
41
43
|
"dsh": {
|
|
42
44
|
"manifestVersion": 1,
|
|
43
45
|
"bundle": {
|
|
44
46
|
"patch": "./cordis.patch.yml"
|
|
45
|
-
}
|
|
47
|
+
},
|
|
48
|
+
"capabilities": [
|
|
49
|
+
"network:egress",
|
|
50
|
+
"subprocess"
|
|
51
|
+
],
|
|
52
|
+
"labels": []
|
|
46
53
|
},
|
|
47
54
|
"dshWorkshop": {
|
|
48
55
|
"schema": "omdsh-workshop-package/v1",
|
|
@@ -94,15 +101,15 @@
|
|
|
94
101
|
},
|
|
95
102
|
"peerDependencies": {
|
|
96
103
|
"@deepseek-ai/cordis": "^4.0.5-alpha.1",
|
|
97
|
-
"@deepseek-ai/dsh-commands": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
98
|
-
"@deepseek-ai/dsh-llm": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
99
|
-
"@deepseek-ai/dsh-session": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
100
|
-
"@deepseek-ai/dsh-session-projection": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
101
|
-
"@deepseek-ai/dsh-storage": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
102
|
-
"@deepseek-ai/dsh-storage-domain": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
103
|
-
"@deepseek-ai/dsh-storage-json": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
104
|
-
"@deepseek-ai/dsh-subprocess": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
105
|
-
"@deepseek-ai/dsh-tools": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
104
|
+
"@deepseek-ai/dsh-commands": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
|
|
105
|
+
"@deepseek-ai/dsh-llm": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
|
|
106
|
+
"@deepseek-ai/dsh-session": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
|
|
107
|
+
"@deepseek-ai/dsh-session-projection": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
|
|
108
|
+
"@deepseek-ai/dsh-storage": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
|
|
109
|
+
"@deepseek-ai/dsh-storage-domain": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
|
|
110
|
+
"@deepseek-ai/dsh-storage-json": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
|
|
111
|
+
"@deepseek-ai/dsh-subprocess": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
|
|
112
|
+
"@deepseek-ai/dsh-tools": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0",
|
|
106
113
|
"@deepseek-ai/schemastery": "^3.18.5-alpha.1"
|
|
107
114
|
},
|
|
108
115
|
"peerDependenciesMeta": {
|
|
@@ -111,30 +118,31 @@
|
|
|
111
118
|
}
|
|
112
119
|
},
|
|
113
120
|
"dependencies": {
|
|
114
|
-
"zod": "
|
|
121
|
+
"zod": "4.4.3"
|
|
115
122
|
},
|
|
116
123
|
"devDependencies": {
|
|
117
|
-
"@deepseek-ai/dsh-attachment": "0.2.
|
|
118
|
-
"@deepseek-ai/cordis": "^4.0
|
|
119
|
-
"@deepseek-ai/cordis-plugin-include": "^1.0
|
|
120
|
-
"@deepseek-ai/cordis-plugin-loader": "^1.0
|
|
121
|
-
"@deepseek-ai/dsh-commands": "0.2.
|
|
122
|
-
"@deepseek-ai/dsh-llm": "0.2.
|
|
123
|
-
"@deepseek-ai/dsh-session": "0.2.
|
|
124
|
-
"@deepseek-ai/dsh-session-format-v3-to-v4": "0.2.
|
|
125
|
-
"@deepseek-ai/dsh-storage": "0.2.
|
|
126
|
-
"@deepseek-ai/dsh-storage-domain": "0.2.
|
|
127
|
-
"@deepseek-ai/dsh-storage-json": "0.2.
|
|
128
|
-
"@deepseek-ai/dsh-subprocess": "0.2.
|
|
129
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.
|
|
130
|
-
"@deepseek-ai/dsh-tools": "0.2.
|
|
131
|
-
"@deepseek-ai/dsh-user-approval": "0.2.
|
|
132
|
-
"@deepseek-ai/dsh-user-questions": "0.2.
|
|
133
|
-
"@deepseek-ai/schemastery": "
|
|
124
|
+
"@deepseek-ai/dsh-attachment": "0.2.2-rc.1",
|
|
125
|
+
"@deepseek-ai/cordis": "^4.1.0",
|
|
126
|
+
"@deepseek-ai/cordis-plugin-include": "^1.1.0",
|
|
127
|
+
"@deepseek-ai/cordis-plugin-loader": "^1.1.0",
|
|
128
|
+
"@deepseek-ai/dsh-commands": "0.2.2-rc.1",
|
|
129
|
+
"@deepseek-ai/dsh-llm": "0.2.2-rc.1",
|
|
130
|
+
"@deepseek-ai/dsh-session": "0.2.2-rc.1",
|
|
131
|
+
"@deepseek-ai/dsh-session-format-v3-to-v4": "0.2.2-rc.1",
|
|
132
|
+
"@deepseek-ai/dsh-storage": "0.2.2-rc.1",
|
|
133
|
+
"@deepseek-ai/dsh-storage-domain": "0.2.2-rc.1",
|
|
134
|
+
"@deepseek-ai/dsh-storage-json": "0.2.2-rc.1",
|
|
135
|
+
"@deepseek-ai/dsh-subprocess": "0.2.2-rc.1",
|
|
136
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.2-rc.1",
|
|
137
|
+
"@deepseek-ai/dsh-tools": "0.2.2-rc.1",
|
|
138
|
+
"@deepseek-ai/dsh-user-approval": "0.2.2-rc.1",
|
|
139
|
+
"@deepseek-ai/dsh-user-questions": "0.2.2-rc.1",
|
|
140
|
+
"@deepseek-ai/schemastery": "~3.19.0",
|
|
134
141
|
"@types/node": "^22.19.0",
|
|
135
142
|
"oxlint": "0.18.1",
|
|
136
143
|
"typescript": "^5.9.0",
|
|
137
|
-
"@deepseek-ai/dsh-working-directory": "0.2.
|
|
144
|
+
"@deepseek-ai/dsh-working-directory": "0.2.2-rc.1",
|
|
145
|
+
"@deepseek-ai/dsh-package-manifest": "0.2.2-rc.1"
|
|
138
146
|
},
|
|
139
147
|
"scripts": {
|
|
140
148
|
"typecheck": "tsc -p tsconfig.check.json",
|
|
@@ -160,8 +168,8 @@
|
|
|
160
168
|
"cross-device"
|
|
161
169
|
],
|
|
162
170
|
"engines": {
|
|
163
|
-
"node": "^22.19.0 || >=24.
|
|
164
|
-
"dsh": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0"
|
|
171
|
+
"node": "^22.19.0 || >=24.9.0",
|
|
172
|
+
"dsh": ">=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 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0 || >=0.2.2-0 <0.3.0"
|
|
165
173
|
},
|
|
166
174
|
"packageManager": "pnpm@11.7.0",
|
|
167
175
|
"publishConfig": {
|
|
@@ -171,5 +179,6 @@
|
|
|
171
179
|
"funding": {
|
|
172
180
|
"type": "individual",
|
|
173
181
|
"url": "https://github.com/sponsors/PerryLink"
|
|
174
|
-
}
|
|
182
|
+
},
|
|
183
|
+
"icon": "icon.svg"
|
|
175
184
|
}
|
package/types.d.ts
CHANGED
|
File without changes
|