dsh-session-sync 0.2.14 → 0.2.15
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 +5 -1
- package/CHANGELOG.md +18 -0
- package/README-es.md +16 -4
- package/README-hi.md +16 -4
- package/README-pt.md +16 -4
- package/README-zh.md +16 -4
- package/README.md +15 -4
- package/index.mjs +25 -9
- package/lib/constants.mjs +10 -0
- package/lib/gate.mjs +39 -1
- package/lib/mirror.mjs +20 -6
- package/lib/paths.mjs +17 -12
- package/package.json +18 -10
package/ARCHITECTURE.md
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
$DSH_HOME/sessions ──byte mirror──▶ <repoDir>/sessions ──git──▶ custom remote
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
1. **Mirror** copies each session file as opaque bytes into the worktree (symlinks refused, deletions only for files that vanished at the source and are
|
|
39
|
+
1. **Mirror** copies each session file as opaque bytes into the worktree (symlinks refused, deletions only for files that vanished at the source and are neither fork files nor host-private artifacts). Host-private artifacts (`session.lock`, the harness session lease, and `session.migration.*.tmp` staging files) are runtime state, not syncable content: the mirror neither copies them in nor deletes them from the worktree.
|
|
40
40
|
2. **Commit** records the mirror as a git commit (plugin identity, never the user's git identity).
|
|
41
41
|
3. **Push/pull** move commits to/from the configured remote over `ctx.subprocess`-driven git.
|
|
42
42
|
|
|
@@ -84,6 +84,10 @@ Auto runs are covered by the config grant and never re-confirm.
|
|
|
84
84
|
- **Sanitize before display/log** — remote-URL credentials, tokens, and `key=value` secrets are redacted before reaching the model or the log.
|
|
85
85
|
- **Bounded subprocesses** — git runs with `GIT_TERMINAL_PROMPT=0` and `GIT_OPTIONAL_LOCKS=0`, deadline- and signal-bounded, with a per-stream output cap.
|
|
86
86
|
|
|
87
|
+
## Upstream asks (recorded, not implemented)
|
|
88
|
+
|
|
89
|
+
- **Session-directory layout version marker.** The mirror maps fork files back to sessions by path shape (`<projectKey>/<sessionId>/<file>` plus the legacy flat form). A version marker in the session-directory layout would let a future plugin declare which layout it understands instead of sniffing segment shapes; recorded here per the 0.1.6 adaptation review (P2, no code change requested).
|
|
90
|
+
|
|
87
91
|
## Backend vocabulary
|
|
88
92
|
|
|
89
93
|
`backend: git` is the plaintext mirror transport. `backend: encrypted` wraps the same git transport with an **age** layer above the mirror: the plaintext mirror (`sessions/`) stays local-only (`.gitignore`), each session file is age-encrypted into `encrypted/**/*.age`, and only ciphertext is committed/pushed. Pulls decrypt the remote/base trees back to plaintext and run the same append-only three-way merge locally, then re-encrypt. When `age` is absent or `ageRecipient`/`ageIdentity` is empty, the encrypted backend **degrades to plaintext git** and warns explicitly (status/log) — it never silently claims encryption. `object-storage` is an interface placeholder and fails loud at load.
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,24 @@ 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.2.15] - 2026-09-18
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- The storage-domain handle no longer leaks across an unmount that lands while `ctx.storageDomain.open` is still in flight. The domain effect is registered synchronously inside the apply frame and owns the handle, so the disposer closes the domain once the open settles instead of throwing `INACTIVE_EFFECT` into a swallowed rejection. The silent `.catch(() => {})` is gone: an open or close failure now warns with its reason, and consumers still await the table promise.
|
|
13
|
+
|
|
14
|
+
- The `approval` confirmation channel reads the open-turn state from the host `turnBoundary` session projection (`openTurnStartSeq`) instead of the removed `Session.events` property. On hosts of the 0.1.6 line the previous read was always `undefined`, so `/sync pull|push` under `confirmVia: approval` failed even inside an open turn; it now proceeds there, and fails closed with an actionable reason when the projection is not composed (`@deepseek-ai/dsh-session-projection` missing) or no turn is open. The conflict path's session-level fork uses the same projection read and skips the fork when the turn state is unavailable (fork files are still preserved).
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Host-private session artifacts are never mirrored or deleted. `session.lock` (the harness session lease) and `session.migration.*.tmp` staging files are per-host runtime state; copying them into the worktree leaked one device's transient state into shared history, and deleting them from the worktree churned commits (a previously committed lock could also be removed by a device that simply had no open session). Both mirror loops now protect them; session logs (`session.jsonl`, `session.v[1-9]*.jsonl[.zstd]`) remain the mirrored payload, and a regression test pins that they still sync. A source-side or target-side `session.lock` no longer changes the mirrored file count.
|
|
19
|
+
|
|
20
|
+
- Fork-path mapping is anchored on the fork file name itself (`forkFileName`'s pattern) instead of a fixed path depth: the session id is the fork file's parent segment, which resolves the host `<projectKey>/<sessionId>/` layout and the legacy flat layout identically and stays correct at any nesting depth.
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- `dsh.manifestVersion: 1`, the canonical three-clause `engines.dsh` range, and an optional peer on `@deepseek-ai/dsh-session-projection` (the open-turn read falls back to a fail-closed reason when it is absent).
|
|
25
|
+
|
|
8
26
|
## [0.2.14] - 2026-09-12
|
|
9
27
|
|
|
10
28
|
### Changed
|
package/README-es.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
*Sincroniza tus sesiones entre dispositivos, conserva ambos lados ante cualquier conflicto, nunca pierdas un turno.*
|
|
9
9
|
|
|
10
10
|
[](LICENSE)
|
|
11
|
+
[](https://gitee.com/perrylink/dsh-session-sync)
|
|
11
12
|
[](https://github.com/topics/dsh-plugin)
|
|
12
13
|
[](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
|
|
13
14
|
[](#)
|
|
@@ -174,14 +175,15 @@ Línea base: con `backend: git` (el predeterminado), los bytes de sesión se alm
|
|
|
174
175
|
- **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.
|
|
175
176
|
- **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).
|
|
176
177
|
- **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`.** 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`.
|
|
177
|
-
- **`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.
|
|
178
|
+
- **`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.
|
|
179
|
+
- **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.
|
|
178
180
|
|
|
179
181
|
## Desarrollo
|
|
180
182
|
|
|
181
183
|
```sh
|
|
182
184
|
pnpm install # node ^22.19 || >=24
|
|
183
185
|
pnpm run typecheck && pnpm run typecheck:ci # tsc --checkJs contra los peers 0.1.5-rc.2 publicados
|
|
184
|
-
pnpm test # node --test (
|
|
186
|
+
pnpm test # node --test (13 archivos de test; la suite git del motor se omite sin git)
|
|
185
187
|
pnpm run verify:self-contained # las specs de dependencias resuelven desde el registro
|
|
186
188
|
pnpm run verify:artifacts # archivos publicados presentes + index.mjs importable
|
|
187
189
|
pnpm run check:readmes # consistencia de los cinco README
|
|
@@ -200,7 +202,7 @@ No hay paso de compilación: ESM puro, `index.mjs` y `lib/` son los artefactos p
|
|
|
200
202
|
|
|
201
203
|
## PerryLink DSH Plugin Family
|
|
202
204
|
|
|
203
|
-
Este proyecto es uno de los [
|
|
205
|
+
Este proyecto es uno de los [40 complementos de DeepSeek Harness](https://github.com/PerryLink) mantenidos por [PerryLink](https://github.com/PerryLink). Si este te ayuda, probablemente los demás también:
|
|
204
206
|
|
|
205
207
|
| Plugin | One-liner |
|
|
206
208
|
|---|---|
|
|
@@ -230,6 +232,7 @@ Este proyecto es uno de los [37 complementos de DeepSeek Harness](https://github
|
|
|
230
232
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Reglas de permisos declarativas allow/deny/ask estilo Claude Code con auditoría | |
|
|
231
233
|
| **[dsh-personal-directive](https://github.com/PerryLink/dsh-personal-directive)** | Inyector de directivas personales con interruptor en la barra superior (edición framework) |
|
|
232
234
|
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | Base de conocimiento de desarrollo de plugins como habilidad de agente bajo demanda | |
|
|
235
|
+
| **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | Zero-dependency static + sandbox smoke detector for DSH plugins | |
|
|
233
236
|
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Puente multicanal de aprobación/preguntas: WeChat/Telegram/Feishu, consola de sesión |
|
|
234
237
|
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | Motor de informes de investigación verificables con evidencia direccionada por contenido | |
|
|
235
238
|
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | Puntuación de calidad multidimensional para plugins de DeepSeek Harness. | |
|
|
@@ -239,7 +242,16 @@ Este proyecto es uno de los [37 complementos de DeepSeek Harness](https://github
|
|
|
239
242
|
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | Pruebas de instalación y humo aisladas para plugins de DeepSeek Harness. | |
|
|
240
243
|
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | Puente de tareas TickTick/Dida365: panel de cabecera de sesión + 11 herramientas |
|
|
241
244
|
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | Traducción de parámetros entre proveedores y reparación determinista de JSON para DeepSeek Harness. | |
|
|
242
|
-
| **[dsh-wechat](https://github.com/
|
|
245
|
+
| **[dsh-wechat](https://github.com/pan17/dsh-wechat)** | Puente WeChat ↔ DSH (bot Tencent iLink): texto/imagen/archivo/voz, aprobaciones en el chat |
|
|
246
|
+
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | Automatic strong/cheap model-tier routing with deterministic risk guards and a `/tier` command | |
|
|
247
|
+
| **[dsh-catalog](https://github.com/PerryLink/dsh-catalog)** | DSH Desktop Market standard catalog source for the PerryLink family | |
|
|
248
|
+
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | Read-only MCP server exposing the certification registry: grades, snapshots and five-dimension evidence | |
|
|
249
|
+
| **[dsh-kit](https://github.com/PerryLink/dsh-kit)** | One-command starter pack that installs the core family | |
|
|
250
|
+
| **[dsh-plugin-certification](https://github.com/PerryLink/dsh-plugin-certification)** | Community certification registry with repro-checkable grades and badges | |
|
|
251
|
+
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | Shared zero-runtime-dependency toolkit for the PerryLink DSH plugins | |
|
|
252
|
+
| **[dsh-plugin-portal](https://github.com/PerryLink/dsh-plugin-portal)** | Zero-dependency static portal rendering the whole plugin family as one page | |
|
|
253
|
+
| **[dsh-plugin-upgrade-015](https://github.com/PerryLink/dsh-plugin-upgrade-015)** | Merged `0.1.3-alpha.1` → `0.1.5-rc.1` upgrade corridor card plus a zero-dependency seam scanner | |
|
|
254
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | |
|
|
243
255
|
|
|
244
256
|
### Instalar desde el mercado de DSH Desktop
|
|
245
257
|
|
package/README-hi.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
*अपने सत्रों को डिवाइसों के बीच सिंक करें, किसी भी टकराव में दोनों पक्ष रखें, कभी कोई टर्न न खोएँ।*
|
|
9
9
|
|
|
10
10
|
[](LICENSE)
|
|
11
|
+
[](https://gitee.com/perrylink/dsh-session-sync)
|
|
11
12
|
[](https://github.com/topics/dsh-plugin)
|
|
12
13
|
[](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
|
|
13
14
|
[](#)
|
|
@@ -174,14 +175,15 @@ dsh --profile web --dump-config | grep -A2 'id: session-sync'
|
|
|
174
175
|
- **एन्क्रिप्शन वैकल्पिक है।** `backend: encrypted` एक age परत जोड़ता है (ऊपर «एन्क्रिप्शन और ख़तरा मॉडल» देखें); `age` या कुंजियाँ गायब होने पर यह स्पष्ट चेतावनी के साथ सादे-पाठ पर गिर जाता है। `backend: git` (डिफ़ॉल्ट) के साथ सत्र बाइट्स **आपके** git रिमोट में अनएन्क्रिप्टेड रहते हैं — एक निजी रिपॉज़िटरी का उपयोग करें।
|
|
175
176
|
- **git आवश्यक।** प्लगइन को `git` एक्ज़ीक्यूटेबल और `subprocess` सेवा चाहिए; उनके बिना, सिंक ऑपरेशन स्पष्ट कारण से असफल होते हैं (प्रोफ़ाइलें बूट होती रहती हैं)।
|
|
176
177
|
- **`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` पर सत्र ईवेंट।** हार्नेस अभी `sync/*` प्रकार पंजीकृत नहीं करता, इसलिए सत्र-लॉग जोड़ छोड़ दिए जाते हैं (सत्र लोड होते रहते हैं); प्लगइन उन्हें स्वतः सक्षम करता है जब कोई होस्ट प्रकार पंजीकृत करता है या `Session.append` पर `ignorable` लिफ़ाफ़ा उजागर करता है।
|
|
177
|
-
- **टर्न के बीच `approval`।** `/sync` टर्न के बीच चलता है, जहाँ `approval` चैनल के पास जोड़ने के लिए कोई खुला टर्न नहीं होता; कमांड-संचालित सिंक के लिए `confirmVia: userQuestions` का उपयोग करें, या टर्न के अंदर टूल द्वारा सिंक चलाएँ।
|
|
178
|
+
- **टर्न के बीच `approval`।** `/sync` टर्न के बीच चलता है, जहाँ `approval` चैनल के पास जोड़ने के लिए कोई खुला टर्न नहीं होता; कमांड-संचालित सिंक के लिए `confirmVia: userQuestions` का उपयोग करें, या टर्न के अंदर टूल द्वारा सिंक चलाएँ। खुले टर्न की जाँच होस्ट के `turnBoundary` सत्र प्रोजेक्शन से होती है: `@deepseek-ai/dsh-session-projection` के बिना संयोजन टर्न स्थिति सत्यापित नहीं कर सकता और उसी कारण के साथ फ़ेल-क्लोज़्ड रहता है।
|
|
179
|
+
- **होस्ट-निजी आर्टिफ़ैक्ट सिंक नहीं होते।** `session.lock` (हार्नेस सत्र लीज़) और `session.migration.*.tmp` स्टेजिंग फ़ाइलें कभी मिरर या हटाई नहीं जातीं — ये रनटाइम स्थिति हैं, सिंक-योग्य सामग्री नहीं। सत्र लॉग (`session.jsonl`, `session.v[1-9]*.jsonl[.zstd]`) ही मिरर की जाने वाली पेलोड रहते हैं।
|
|
178
180
|
|
|
179
181
|
## विकास
|
|
180
182
|
|
|
181
183
|
```sh
|
|
182
184
|
pnpm install # node ^22.19 || >=24
|
|
183
185
|
pnpm run typecheck && pnpm run typecheck:ci # प्रकाशित 0.1.5-rc.2 peers के विरुद्ध tsc --checkJs
|
|
184
|
-
pnpm test # node --test (
|
|
186
|
+
pnpm test # node --test (13 टेस्ट फ़ाइलें; git इंजन सुइट बिना git के छोड़ी जाती है)
|
|
185
187
|
pnpm run verify:self-contained # निर्भरता spec रजिस्ट्री से हल होती हैं
|
|
186
188
|
pnpm run verify:artifacts # प्रकाशित फ़ाइलें उपस्थित + index.mjs import योग्य
|
|
187
189
|
pnpm run check:readmes # पाँच-भाषा README संगतता
|
|
@@ -200,7 +202,7 @@ pnpm pack # प्रकाशित ta
|
|
|
200
202
|
|
|
201
203
|
## PerryLink DSH Plugin Family
|
|
202
204
|
|
|
203
|
-
यह प्रोजेक्ट [PerryLink](https://github.com/PerryLink) द्वारा अनुरक्षित [
|
|
205
|
+
यह प्रोजेक्ट [PerryLink](https://github.com/PerryLink) द्वारा अनुरक्षित [40 DeepSeek Harness प्लगइनों](https://github.com/PerryLink) में से एक है। अगर यह आपकी मदद करता है, तो बाकी भी करेंगे:
|
|
204
206
|
|
|
205
207
|
| Plugin | One-liner |
|
|
206
208
|
|---|---|
|
|
@@ -230,6 +232,7 @@ pnpm pack # प्रकाशित ta
|
|
|
230
232
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | ऑडिट के साथ Claude Code-शैली घोषणात्मक allow/deny/ask अनुमति नियम | |
|
|
231
233
|
| **[dsh-personal-directive](https://github.com/PerryLink/dsh-personal-directive)** | शीर्ष-बार टॉगल के साथ व्यक्तिगत निर्देश इंजेक्टर (फ्रेमवर्क संस्करण) |
|
|
232
234
|
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | माँग पर एजेंट कौशल के रूप में प्लगइन-विकास ज्ञान आधार | |
|
|
235
|
+
| **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | Zero-dependency static + sandbox smoke detector for DSH plugins | |
|
|
233
236
|
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | मल्टी-चैनल अनुमोदन/प्रश्न ब्रिज: WeChat/Telegram/Feishu, सत्र कंसोल |
|
|
234
237
|
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | सामग्री-पता साक्ष्य और सीलबंद संस्करणों वाला सत्यापन-योग्य अनुसंधान-रिपोर्ट इंजन | |
|
|
235
238
|
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | DeepSeek Harness प्लगिनों की बहु-आयामी गुणवत्ता स्कोरिंग। | |
|
|
@@ -239,7 +242,16 @@ pnpm pack # प्रकाशित ta
|
|
|
239
242
|
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | DeepSeek Harness प्लगिनों के लिए पृथक इंस्टॉल-एंड-स्मोक टेस्ट ड्राइव। | |
|
|
240
243
|
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | TickTick/Dida365 कार्य ब्रिज: सत्र-हेडर पैनल + 11 टूल |
|
|
241
244
|
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | DeepSeek Harness के लिए वेंडर पैरामीटर अनुवाद और नियतात्मक JSON मरम्मत। | |
|
|
242
|
-
| **[dsh-wechat](https://github.com/
|
|
245
|
+
| **[dsh-wechat](https://github.com/pan17/dsh-wechat)** | WeChat ↔ DSH ब्रिज (Tencent iLink bot): टेक्स्ट/इमेज/फ़ाइल/आवाज़, चैट में अनुमोदन |
|
|
246
|
+
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | Automatic strong/cheap model-tier routing with deterministic risk guards and a `/tier` command | |
|
|
247
|
+
| **[dsh-catalog](https://github.com/PerryLink/dsh-catalog)** | DSH Desktop Market standard catalog source for the PerryLink family | |
|
|
248
|
+
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | Read-only MCP server exposing the certification registry: grades, snapshots and five-dimension evidence | |
|
|
249
|
+
| **[dsh-kit](https://github.com/PerryLink/dsh-kit)** | One-command starter pack that installs the core family | |
|
|
250
|
+
| **[dsh-plugin-certification](https://github.com/PerryLink/dsh-plugin-certification)** | Community certification registry with repro-checkable grades and badges | |
|
|
251
|
+
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | Shared zero-runtime-dependency toolkit for the PerryLink DSH plugins | |
|
|
252
|
+
| **[dsh-plugin-portal](https://github.com/PerryLink/dsh-plugin-portal)** | Zero-dependency static portal rendering the whole plugin family as one page | |
|
|
253
|
+
| **[dsh-plugin-upgrade-015](https://github.com/PerryLink/dsh-plugin-upgrade-015)** | Merged `0.1.3-alpha.1` → `0.1.5-rc.1` upgrade corridor card plus a zero-dependency seam scanner | |
|
|
254
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | |
|
|
243
255
|
|
|
244
256
|
### DSH Desktop मार्केट से इंस्टॉल करें
|
|
245
257
|
|
package/README-pt.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
*Sincronize suas sessões entre dispositivos, mantenha os dois lados em qualquer conflito, nunca perca um turno.*
|
|
9
9
|
|
|
10
10
|
[](LICENSE)
|
|
11
|
+
[](https://gitee.com/perrylink/dsh-session-sync)
|
|
11
12
|
[](https://github.com/topics/dsh-plugin)
|
|
12
13
|
[](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
|
|
13
14
|
[](#)
|
|
@@ -174,14 +175,15 @@ Linha de base: com `backend: git` (o padrão), os bytes de sessão são armazena
|
|
|
174
175
|
- **A criptografia é opcional.** `backend: encrypted` adiciona uma camada age (veja «Criptografia e modelo de ameaças» acima); se o `age` ou as chaves estiverem ausentes, ele cai para texto simples com um aviso explícito. Com `backend: git` (o padrão), os bytes da sessão são armazenados sem criptografia no **seu** remoto git — use um repositório privado.
|
|
175
176
|
- **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).
|
|
176
177
|
- **Eventos de sessão no `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`.** 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`.
|
|
177
|
-
- **`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.
|
|
178
|
+
- **`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. A verificação de turno aberto lê a projeção de sessão `turnBoundary` do host: uma composição sem `@deepseek-ai/dsh-session-projection` não consegue verificar o estado do turno e falha fechada com esse motivo.
|
|
179
|
+
- **Artefatos privados do host não são sincronizados.** `session.lock` (a lease de sessão do harness) e os arquivos de staging `session.migration.*.tmp` nunca são espelhados nem excluídos: são estado de execução, não conteúdo sincronizável. Os logs de sessão (`session.jsonl`, `session.v[1-9]*.jsonl[.zstd]`) continuam sendo a carga útil espelhada.
|
|
178
180
|
|
|
179
181
|
## Desenvolvimento
|
|
180
182
|
|
|
181
183
|
```sh
|
|
182
184
|
pnpm install # node ^22.19 || >=24
|
|
183
185
|
pnpm run typecheck && pnpm run typecheck:ci # tsc --checkJs contra os peers 0.1.5-rc.2 publicados
|
|
184
|
-
pnpm test # node --test (
|
|
186
|
+
pnpm test # node --test (13 arquivos de teste; a suíte git do motor é omitida sem git)
|
|
185
187
|
pnpm run verify:self-contained # as specs de dependência resolvem do registro
|
|
186
188
|
pnpm run verify:artifacts # arquivos publicados presentes + index.mjs importável
|
|
187
189
|
pnpm run check:readmes # consistência dos cinco README
|
|
@@ -200,7 +202,7 @@ Não há etapa de compilação: ESM puro, `index.mjs` e `lib/` são os artefatos
|
|
|
200
202
|
|
|
201
203
|
## PerryLink DSH Plugin Family
|
|
202
204
|
|
|
203
|
-
Este projeto é um dos [
|
|
205
|
+
Este projeto é um dos [40 plugins de DeepSeek Harness](https://github.com/PerryLink) mantidos por [PerryLink](https://github.com/PerryLink). Se este ajuda você, os outros provavelmente também:
|
|
204
206
|
|
|
205
207
|
| Plugin | One-liner |
|
|
206
208
|
|---|---|
|
|
@@ -230,6 +232,7 @@ Este projeto é um dos [37 plugins de DeepSeek Harness](https://github.com/Perry
|
|
|
230
232
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Regras de permissão declarativas allow/deny/ask estilo Claude Code com auditoria | |
|
|
231
233
|
| **[dsh-personal-directive](https://github.com/PerryLink/dsh-personal-directive)** | Injetor de diretivas pessoais com alternância na barra superior (edição framework) |
|
|
232
234
|
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | Base de conhecimento de desenvolvimento de plugins como habilidade de agente sob demanda | |
|
|
235
|
+
| **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | Zero-dependency static + sandbox smoke detector for DSH plugins | |
|
|
233
236
|
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Ponte multicanal de aprovação/perguntas: WeChat/Telegram/Feishu, console de sessão |
|
|
234
237
|
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | Motor de relatórios de pesquisa verificáveis com evidência endereçada por conteúdo | |
|
|
235
238
|
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | Pontuação de qualidade multidimensional para plugins de DeepSeek Harness. | |
|
|
@@ -239,7 +242,16 @@ Este projeto é um dos [37 plugins de DeepSeek Harness](https://github.com/Perry
|
|
|
239
242
|
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | Test drives isolados de instalação e smoke para plugins de DeepSeek Harness. | |
|
|
240
243
|
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | Ponte de tarefas TickTick/Dida365: painel no cabeçalho da sessão + 11 ferramentas |
|
|
241
244
|
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | Tradução de parâmetros entre fornecedores e reparo determinístico de JSON para DeepSeek Harness. | |
|
|
242
|
-
| **[dsh-wechat](https://github.com/
|
|
245
|
+
| **[dsh-wechat](https://github.com/pan17/dsh-wechat)** | Ponte WeChat ↔ DSH (bot Tencent iLink): texto/imagem/arquivo/voz, aprovações no chat |
|
|
246
|
+
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | Automatic strong/cheap model-tier routing with deterministic risk guards and a `/tier` command | |
|
|
247
|
+
| **[dsh-catalog](https://github.com/PerryLink/dsh-catalog)** | DSH Desktop Market standard catalog source for the PerryLink family | |
|
|
248
|
+
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | Read-only MCP server exposing the certification registry: grades, snapshots and five-dimension evidence | |
|
|
249
|
+
| **[dsh-kit](https://github.com/PerryLink/dsh-kit)** | One-command starter pack that installs the core family | |
|
|
250
|
+
| **[dsh-plugin-certification](https://github.com/PerryLink/dsh-plugin-certification)** | Community certification registry with repro-checkable grades and badges | |
|
|
251
|
+
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | Shared zero-runtime-dependency toolkit for the PerryLink DSH plugins | |
|
|
252
|
+
| **[dsh-plugin-portal](https://github.com/PerryLink/dsh-plugin-portal)** | Zero-dependency static portal rendering the whole plugin family as one page | |
|
|
253
|
+
| **[dsh-plugin-upgrade-015](https://github.com/PerryLink/dsh-plugin-upgrade-015)** | Merged `0.1.3-alpha.1` → `0.1.5-rc.1` upgrade corridor card plus a zero-dependency seam scanner | |
|
|
254
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | |
|
|
243
255
|
|
|
244
256
|
### Instalar a partir do mercado do DSH Desktop
|
|
245
257
|
|
package/README-zh.md
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
> **官方仓库。** 本仓库是 dsh-session-sync 的唯一官方仓库,由 PerryLink 维护。其他账号下的同名仓库与本项目无关。
|
|
11
11
|
|
|
12
12
|
[](LICENSE)
|
|
13
|
+
[](https://gitee.com/perrylink/dsh-session-sync)
|
|
13
14
|
[](https://github.com/topics/dsh-plugin)
|
|
14
15
|
[](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
|
|
15
16
|
[](#)
|
|
@@ -176,14 +177,15 @@ dsh --profile web --dump-config | grep -A2 'id: session-sync'
|
|
|
176
177
|
- **加密可选。** `backend: encrypted` 增加一层 age 加密(见上文「加密与威胁模型」);`age` 或密钥缺失时它会显式告警并降级为明文。`backend: git`(默认)下,会话字节以未加密形式存放在**你的** git 远端 —— 请使用私有仓库。
|
|
177
178
|
- **依赖 git。** 插件需要 `git` 可执行文件与 `subprocess` 服务;没有它们时同步操作会给出明确原因失败(profile 仍可启动)。
|
|
178
179
|
- **`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` 上的会话事件。** harness 尚未收录 `sync/*` 事件类型,因此会话日志追加被跳过(会话仍可加载);宿主收录类型或 `Session.append` 暴露 `ignorable` 信封后插件会自动开启。
|
|
179
|
-
- **轮次间的 `approval`。** `/sync` 在轮次之间运行,`approval` 通道没有开放轮次可挂靠;请对命令式同步使用 `confirmVia: userQuestions
|
|
180
|
+
- **轮次间的 `approval`。** `/sync` 在轮次之间运行,`approval` 通道没有开放轮次可挂靠;请对命令式同步使用 `confirmVia: userQuestions`,或在轮次内经工具驱动同步。开放轮次判定读宿主 `turnBoundary` 会话投影:未组合 `@deepseek-ai/dsh-session-projection` 时无法核实轮次状态,按失败关闭并给出该原因。
|
|
181
|
+
- **宿主私有产物不进同步。** `session.lock`(宿主会话租约)与 `session.migration.*.tmp`(迁移暂存)永不镜像、永不删除——它们是运行时状态而非可同步内容;会话日志(`session.jsonl`、`session.v[1-9]*.jsonl[.zstd]`)仍是镜像载荷。
|
|
180
182
|
|
|
181
183
|
## 开发
|
|
182
184
|
|
|
183
185
|
```sh
|
|
184
186
|
pnpm install # node ^22.19 || >=24
|
|
185
187
|
pnpm run typecheck && pnpm run typecheck:ci # tsc --checkJs,针对已发布的 0.1.5-rc.2 peers
|
|
186
|
-
pnpm test # node --test(
|
|
188
|
+
pnpm test # node --test(13 个测试文件;git 引擎套件在无 git 时跳过)
|
|
187
189
|
pnpm run verify:self-contained # 依赖 spec 可从 registry 解析
|
|
188
190
|
pnpm run verify:artifacts # 发布文件齐全 + index.mjs 可 import
|
|
189
191
|
pnpm run check:readmes # 五语 README 一致性
|
|
@@ -202,7 +204,7 @@ pnpm pack # 发布 tarball
|
|
|
202
204
|
|
|
203
205
|
## PerryLink DSH Plugin Family
|
|
204
206
|
|
|
205
|
-
这是 [PerryLink](https://github.com/PerryLink) 维护的 [
|
|
207
|
+
这是 [PerryLink](https://github.com/PerryLink) 维护的 [40 个 DeepSeek Harness 插件](https://github.com/PerryLink) 之一。如果它能帮到你,其他的也会:
|
|
206
208
|
|
|
207
209
|
| Plugin | One-liner |
|
|
208
210
|
|---|---|
|
|
@@ -232,6 +234,7 @@ pnpm pack # 发布 tarball
|
|
|
232
234
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Claude Code 风格声明式 allow/deny/ask 权限规则,带审计 | |
|
|
233
235
|
| **[dsh-personal-directive](https://github.com/PerryLink/dsh-personal-directive)** | 个人指令注入器:顶栏开关(框架版) |
|
|
234
236
|
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | 作为按需代理技能的插件开发知识库 | |
|
|
237
|
+
| **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | Zero-dependency static + sandbox smoke detector for DSH plugins | |
|
|
235
238
|
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 多渠道审批/提问桥接:微信/Telegram/飞书,会话控制台 |
|
|
236
239
|
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | 可验证研究报告引擎:内容寻址证据账本与封存版本 | |
|
|
237
240
|
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | DeepSeek Harness 插件的多维质量评分。 | |
|
|
@@ -241,7 +244,16 @@ pnpm pack # 发布 tarball
|
|
|
241
244
|
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | DeepSeek Harness 插件的隔离试装冒烟。 | |
|
|
242
245
|
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | TickTick/滴答清单任务桥接:会话头面板 + 11 个工具 |
|
|
243
246
|
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | DeepSeek Harness 的厂商参数翻译与确定性 JSON 修复。 | |
|
|
244
|
-
| **[dsh-wechat](https://github.com/
|
|
247
|
+
| **[dsh-wechat](https://github.com/pan17/dsh-wechat)** | 微信 ↔ DSH 桥接(Tencent iLink 机器人):文本/图片/文件/语音,聊天内审批卡片 |
|
|
248
|
+
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | Automatic strong/cheap model-tier routing with deterministic risk guards and a `/tier` command | |
|
|
249
|
+
| **[dsh-catalog](https://github.com/PerryLink/dsh-catalog)** | DSH Desktop Market standard catalog source for the PerryLink family | |
|
|
250
|
+
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | Read-only MCP server exposing the certification registry: grades, snapshots and five-dimension evidence | |
|
|
251
|
+
| **[dsh-kit](https://github.com/PerryLink/dsh-kit)** | One-command starter pack that installs the core family | |
|
|
252
|
+
| **[dsh-plugin-certification](https://github.com/PerryLink/dsh-plugin-certification)** | Community certification registry with repro-checkable grades and badges | |
|
|
253
|
+
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | Shared zero-runtime-dependency toolkit for the PerryLink DSH plugins | |
|
|
254
|
+
| **[dsh-plugin-portal](https://github.com/PerryLink/dsh-plugin-portal)** | Zero-dependency static portal rendering the whole plugin family as one page | |
|
|
255
|
+
| **[dsh-plugin-upgrade-015](https://github.com/PerryLink/dsh-plugin-upgrade-015)** | Merged `0.1.3-alpha.1` → `0.1.5-rc.1` upgrade corridor card plus a zero-dependency seam scanner | |
|
|
256
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | |
|
|
245
257
|
|
|
246
258
|
### 从 DSH Desktop 市场安装
|
|
247
259
|
|
package/README.md
CHANGED
|
@@ -179,14 +179,15 @@ Baseline: with `backend: git` (the default), session bytes are stored unencrypte
|
|
|
179
179
|
- **age is optional, external.** Encryption depends on the `age` binary on `PATH` (or `ageBin`). No `age` → plaintext fallback with a warning; a passphrase-protected identity cannot be used (decryption would block on a TTY prompt, so it fails closed).
|
|
180
180
|
- **One repoDir per backend.** Switching between `git` and `encrypted` on the same `repoDir` is not supported; use a fresh worktree per backend.
|
|
181
181
|
- **Session events on `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`.** 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`.
|
|
182
|
-
- **`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.
|
|
182
|
+
- **`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. The open-turn check reads the host `turnBoundary` session projection: a composition without `@deepseek-ai/dsh-session-projection` cannot verify the turn state and fails closed with that reason.
|
|
183
|
+
- **Host-private artifacts stay host-private.** `session.lock` (the harness session lease) and `session.migration.*.tmp` staging files are never mirrored or deleted — they are runtime state, not syncable content. Session logs (`session.jsonl`, `session.v[1-9]*.jsonl[.zstd]`) remain the mirrored payload.
|
|
183
184
|
|
|
184
185
|
## Development
|
|
185
186
|
|
|
186
187
|
```sh
|
|
187
188
|
pnpm install # node ^22.19 || >=24
|
|
188
189
|
pnpm run typecheck && pnpm run typecheck:ci # tsc --checkJs against the published 0.1.5-rc.2 peers
|
|
189
|
-
pnpm test # node --test (
|
|
190
|
+
pnpm test # node --test (13 test files; the engine git suite skips without git)
|
|
190
191
|
pnpm run verify:self-contained # dependency specs resolve from the registry
|
|
191
192
|
pnpm run verify:artifacts # shipped files present + index.mjs importable
|
|
192
193
|
pnpm run check:readmes # five-language README consistency
|
|
@@ -205,7 +206,7 @@ There is no build step: pure ESM, `index.mjs` and `lib/` are the shipped artifac
|
|
|
205
206
|
|
|
206
207
|
## PerryLink DSH Plugin Family
|
|
207
208
|
|
|
208
|
-
This project is one of the [
|
|
209
|
+
This project is one of the [40 DeepSeek Harness plugins](https://github.com/PerryLink) maintained by [PerryLink](https://github.com/PerryLink). If this one helps you, the others likely will too:
|
|
209
210
|
|
|
210
211
|
| Plugin | One-liner |
|
|
211
212
|
|---|---|
|
|
@@ -235,6 +236,7 @@ This project is one of the [37 DeepSeek Harness plugins](https://github.com/Perr
|
|
|
235
236
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Claude Code-style declarative allow/deny/ask permission rules with audit | |
|
|
236
237
|
| **[dsh-personal-directive](https://github.com/PerryLink/dsh-personal-directive)** | Personal directive injector with top-bar toggle (framework edition) |
|
|
237
238
|
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | Plugin-development knowledge base as an on-demand agent skill | |
|
|
239
|
+
| **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | Zero-dependency static + sandbox smoke detector for DSH plugins | |
|
|
238
240
|
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console |
|
|
239
241
|
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | Verifiable research-report engine: content-addressed evidence ledger and sealed versions | |
|
|
240
242
|
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | Multi-dimensional quality scoring for DeepSeek Harness plugins. | |
|
|
@@ -244,7 +246,16 @@ This project is one of the [37 DeepSeek Harness plugins](https://github.com/Perr
|
|
|
244
246
|
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | Isolated install-and-smoke test drives for DeepSeek Harness plugins. | |
|
|
245
247
|
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | TickTick/Dida365 task bridge: session-header panel + 11 tools |
|
|
246
248
|
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | Vendor parameter translation and deterministic JSON repair for DeepSeek Harness. | |
|
|
247
|
-
| **[dsh-wechat](https://github.com/
|
|
249
|
+
| **[dsh-wechat](https://github.com/pan17/dsh-wechat)** | WeChat ↔ DSH bridge (Tencent iLink bot): text/image/file/voice, approvals in chat |
|
|
250
|
+
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | Automatic strong/cheap model-tier routing with deterministic risk guards and a `/tier` command | |
|
|
251
|
+
| **[dsh-catalog](https://github.com/PerryLink/dsh-catalog)** | DSH Desktop Market standard catalog source for the PerryLink family | |
|
|
252
|
+
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | Read-only MCP server exposing the certification registry: grades, snapshots and five-dimension evidence | |
|
|
253
|
+
| **[dsh-kit](https://github.com/PerryLink/dsh-kit)** | One-command starter pack that installs the core family | |
|
|
254
|
+
| **[dsh-plugin-certification](https://github.com/PerryLink/dsh-plugin-certification)** | Community certification registry with repro-checkable grades and badges | |
|
|
255
|
+
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | Shared zero-runtime-dependency toolkit for the PerryLink DSH plugins | |
|
|
256
|
+
| **[dsh-plugin-portal](https://github.com/PerryLink/dsh-plugin-portal)** | Zero-dependency static portal rendering the whole plugin family as one page | |
|
|
257
|
+
| **[dsh-plugin-upgrade-015](https://github.com/PerryLink/dsh-plugin-upgrade-015)** | Merged `0.1.3-alpha.1` → `0.1.5-rc.1` upgrade corridor card plus a zero-dependency seam scanner | |
|
|
258
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | |
|
|
248
259
|
|
|
249
260
|
### Install from the DSH Desktop Market
|
|
250
261
|
|
package/index.mjs
CHANGED
|
@@ -55,7 +55,7 @@ import { selectEncryptionMode } from './lib/backend.mjs'
|
|
|
55
55
|
import { detectAge, ageEncrypt, ageDecrypt } from './lib/age.mjs'
|
|
56
56
|
import { collectStatus } from './lib/status.mjs'
|
|
57
57
|
import { renderDiff, renderPull, renderPush, renderStatus, errorValue } from './lib/render.mjs'
|
|
58
|
-
import { confirmSync, hasOpenTurn, makeEventGate, maybeAppendSessionEvent } from './lib/gate.mjs'
|
|
58
|
+
import { confirmSync, hasOpenTurn, makeEventGate, maybeAppendSessionEvent, openTurnFromProjection } from './lib/gate.mjs'
|
|
59
59
|
import { sessionSyncDomainSpec } from './lib/domain.mjs'
|
|
60
60
|
|
|
61
61
|
export const name = PLUGIN_NAME
|
|
@@ -566,12 +566,24 @@ export function apply(ctx, config = {}) {
|
|
|
566
566
|
assertNestingSafe(sessionRoot, repoDir)
|
|
567
567
|
|
|
568
568
|
// --- 同步元数据:ctx.storageDomain 领域 'session-sync'(异步打开,操作路径 await)。
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
}
|
|
574
|
-
tablePromise
|
|
569
|
+
// V2 形态(A02):effect 在 apply 帧内**同步注册**并持有打开句柄——异步 open 期间
|
|
570
|
+
// 卸载时,disposer 仍会等到 promise 落定后关闭句柄,不会出现「INACTIVE_EFFECT
|
|
571
|
+
// 吞掉注册 ⇒ 域句柄永不关闭」。拒绝显式处理(记录原因 + 一次可见告警),不再用
|
|
572
|
+
// 静默的 `.catch(() => {})` 掩盖。
|
|
573
|
+
/** @type {Promise<object>} 打开后的领域 state 表(消费方各自 await)。 */
|
|
574
|
+
let tablePromise
|
|
575
|
+
ctx.effect(() => {
|
|
576
|
+
const opened = ctx.storageDomain.open(sessionSyncDomainSpec)
|
|
577
|
+
tablePromise = opened.then((domain) => domain.table('state'))
|
|
578
|
+
tablePromise.catch((error) => {
|
|
579
|
+
warn(`storage domain open failed: ${error?.message ?? String(error)}`)
|
|
580
|
+
})
|
|
581
|
+
return () => {
|
|
582
|
+
void opened.then((domain) => domain.close()).catch((error) => {
|
|
583
|
+
warn(`storage domain close failed: ${error?.message ?? String(error)}`)
|
|
584
|
+
})
|
|
585
|
+
}
|
|
586
|
+
}, `${PLUGIN_NAME}.domain.close`)
|
|
575
587
|
|
|
576
588
|
/** @type {{deviceId: string, lastPullAt?: number, lastPushAt?: number, lastPushHead?: string, lastError?: string}|undefined} 元数据缓存。 */
|
|
577
589
|
let metaCache
|
|
@@ -687,8 +699,11 @@ export function apply(ctx, config = {}) {
|
|
|
687
699
|
forkPaths: paths,
|
|
688
700
|
diverged: paths.length,
|
|
689
701
|
}, eventGate, warn)
|
|
690
|
-
|
|
691
|
-
|
|
702
|
+
const openTurn = openTurnFromProjection(ctx, session)
|
|
703
|
+
if (openTurn !== false) {
|
|
704
|
+
// true=轮次进行中;undefined=投影缺席。两者都跳过会话级 fork:拿不到
|
|
705
|
+
// 权威轮次状态时绝不在可能开放的轮次里 fork,fork 文件仍全部保留。
|
|
706
|
+
logger.info(`sync conflict on live session ${sessionId}: ${openTurn === true ? 'turn open' : 'turn state unavailable (turnBoundary projection absent)'}, session-level fork skipped (files preserved as forks)`)
|
|
692
707
|
continue
|
|
693
708
|
}
|
|
694
709
|
try {
|
|
@@ -881,6 +896,7 @@ export {
|
|
|
881
896
|
makeEventGate,
|
|
882
897
|
maybeAppendSessionEvent,
|
|
883
898
|
hasOpenTurn,
|
|
899
|
+
openTurnFromProjection,
|
|
884
900
|
resolveSessionRoot,
|
|
885
901
|
resolveRepoDir,
|
|
886
902
|
assertNestingSafe,
|
package/lib/constants.mjs
CHANGED
|
@@ -78,6 +78,16 @@ export const ERROR_CODES = Object.freeze({
|
|
|
78
78
|
// 清理永不删除、永不覆盖匹配该模式的文件(两边保留的持久载体)。
|
|
79
79
|
export const FORK_NAME_RE = /\.remote-fork-\d{14}-[0-9a-z]{8}(?:\.|$)/iu
|
|
80
80
|
|
|
81
|
+
// 宿主私有会话产物:会话租约与迁移暂存文件。宿主在会话目录内自建、自清,属于
|
|
82
|
+
// 运行时状态而非可同步内容——镜像既不把源侧同名文件复制进工作树,也绝不删除
|
|
83
|
+
// 目标侧同名文件(否则一次 pull/commit 会把某设备的瞬时锁状态传播成删除)。
|
|
84
|
+
// 名称来源(session-persistence-jsonl):
|
|
85
|
+
// - lease.ts:40 LEASE_FILENAME = 'session.lock'(flock 租约;仅会话打开期间存在)
|
|
86
|
+
// - generation.ts:725 `session.migration.<token><suffix>.tmp`(迁移暂存,失败自清)
|
|
87
|
+
// 注意:`session.jsonl` / `session.v<N>.jsonl[.zstd]`(session-format/filename.ts 的
|
|
88
|
+
// sessionFormatLogFilename + format.ts 的 logSuffix)是**同步载荷**,不在此列。
|
|
89
|
+
export const HOST_ARTIFACT_NAME_RE = /^(?:session\.lock|session\.migration\..+\.tmp)$/u
|
|
90
|
+
|
|
81
91
|
// 默认值(Config schema 的默认与 DEFAULT_* 常量同源;cordis.yml 可整体覆盖)。
|
|
82
92
|
export const DEFAULTS = Object.freeze({
|
|
83
93
|
ENABLED: true,
|
package/lib/gate.mjs
CHANGED
|
@@ -15,6 +15,9 @@ export const CONFIRM_QUESTION_ID = 'session-sync-confirm'
|
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* 会话当前是否有开放轮次(last turn/start 未被 turn/end 闭合)。
|
|
18
|
+
* 纯函数:只消费调用方给出的**事件数组**。生产取数一律走宿主投影
|
|
19
|
+
* (openTurnFromProjection),不要再用 session.events/snapshotEvents 取事件
|
|
20
|
+
* ——那是对已废弃读路径的依赖。
|
|
18
21
|
* @param {readonly {type: string}[]} [events] - 会话事件。
|
|
19
22
|
* @returns {boolean} 有开放轮次。
|
|
20
23
|
*/
|
|
@@ -27,6 +30,31 @@ export function hasOpenTurn(events) {
|
|
|
27
30
|
return open
|
|
28
31
|
}
|
|
29
32
|
|
|
33
|
+
/**
|
|
34
|
+
* 从宿主 turnBoundary 投影读「是否有开放轮次」。
|
|
35
|
+
* 取数来源:agent-loop 的 turnBoundaryProjectionDefinition(key 'turnBoundary',
|
|
36
|
+
* init.openTurnStartSeq=null,turn/start 置 seq、turn/end 置 null)。投影/服务缺席
|
|
37
|
+
* 或读取抛错一律返回 undefined——**不得回退读死属性**(session.events 在
|
|
38
|
+
* 0.1.6-alpha.2 已删:回退只会得到恒 undefined ⇒ 静默按「无开放轮次」处理)。
|
|
39
|
+
* @param {{get: (name: string) => unknown}} ctx - Cordis ctx(可选服务查找)。
|
|
40
|
+
* @param {object|null|undefined} session - Session。
|
|
41
|
+
* @returns {boolean|undefined} true/false=投影裁决;undefined=投影不可用。
|
|
42
|
+
*/
|
|
43
|
+
export function openTurnFromProjection(ctx, session) {
|
|
44
|
+
if (session === null || session === undefined) return undefined
|
|
45
|
+
const service = ctx?.get?.('sessionProjections')
|
|
46
|
+
if (service === undefined || service === null) return undefined
|
|
47
|
+
const projections = /** @type {{stateOf?: (session: object, key: string) => unknown}} */ (service)
|
|
48
|
+
if (typeof projections.stateOf !== 'function') return undefined
|
|
49
|
+
try {
|
|
50
|
+
const state = /** @type {{openTurnStartSeq?: number|null}|null|undefined} */ (projections.stateOf(session, 'turnBoundary'))
|
|
51
|
+
if (state === undefined || state === null || !('openTurnStartSeq' in state)) return undefined
|
|
52
|
+
return state.openTurnStartSeq !== null
|
|
53
|
+
} catch {
|
|
54
|
+
return undefined
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
30
58
|
/**
|
|
31
59
|
* 选择确认通道:Config.confirmVia 显式指定,'auto' 优先 userQuestions、
|
|
32
60
|
* 其次 approval;两者皆无 → 'none'(失败关闭)。
|
|
@@ -91,7 +119,17 @@ export async function confirmSync(deps, agent, signal) {
|
|
|
91
119
|
if (channel === CONFIRM_CHANNELS.APPROVAL) {
|
|
92
120
|
// 宿主的 approval.request 无开放轮次即抛(审计对必须包在 turn 内);
|
|
93
121
|
// /sync 命令运行于轮次之间,这里前置检测并给出可操作文案。
|
|
94
|
-
|
|
122
|
+
// 取数走宿主 turnBoundary 投影:投影缺席即失败关闭并写明原因,绝不
|
|
123
|
+
// 回退读已删的 session.events(那会让 approval 通道恒失败且原因不可见)。
|
|
124
|
+
const openTurn = openTurnFromProjection(deps.ctx, agent?.session)
|
|
125
|
+
if (openTurn === undefined) {
|
|
126
|
+
return {
|
|
127
|
+
allowed: false,
|
|
128
|
+
channel,
|
|
129
|
+
reason: 'turn state unavailable: the sessionProjections.turnBoundary projection is not composed (mount @deepseek-ai/dsh-session-projection) — approval cannot be verified, set confirmVia: userQuestions',
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
if (!openTurn) {
|
|
95
133
|
return {
|
|
96
134
|
allowed: false,
|
|
97
135
|
channel,
|
package/lib/mirror.mjs
CHANGED
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
// 会话文件一律按不透明字节复制(JSONL/zstd 等物理编码属于宿主,插件不解析)。
|
|
4
4
|
// 安全边界:
|
|
5
5
|
// - 绝不跟随符号链接(源或目标为链接一律跳过并报告,杜绝写出根外);
|
|
6
|
-
// - 删除仅限工作树内、源已不存在、且非 fork
|
|
7
|
-
// - fork 文件(FORK_NAME_RE
|
|
6
|
+
// - 删除仅限工作树内、源已不存在、且非 fork 文件、非宿主私有产物的常规文件;
|
|
7
|
+
// - fork 文件(FORK_NAME_RE)永不复制、永不删除——冲突双方字节的持久载体;
|
|
8
|
+
// - 宿主私有会话产物(HOST_ARTIFACT_NAME_RE:session.lock / 迁移暂存)同样
|
|
9
|
+
// 永不复制、永不删除——运行时状态不属于可同步内容。
|
|
8
10
|
|
|
9
11
|
import { promises as fs } from 'node:fs'
|
|
10
12
|
import path from 'node:path'
|
|
11
|
-
import { FORK_NAME_RE } from './constants.mjs'
|
|
13
|
+
import { FORK_NAME_RE, HOST_ARTIFACT_NAME_RE } from './constants.mjs'
|
|
12
14
|
|
|
13
15
|
/** 递归枚举 root 下全部常规文件(POSIX 相对路径;符号链接跳过并回报)。 */
|
|
14
16
|
async function listFiles(root) {
|
|
@@ -50,8 +52,10 @@ async function writeIfDifferent(target, content) {
|
|
|
50
52
|
|
|
51
53
|
/**
|
|
52
54
|
* 把 sessionRoot 镜像进 <repoDir>/<mirrorDir>/…。
|
|
55
|
+
* 宿主私有会话产物(租约/迁移暂存,HOST_ARTIFACT_NAME_RE)既不复制、也不删除:
|
|
56
|
+
* 它们是运行时状态,同步它们只会把某设备的瞬时状态变成另一侧的删除/噪音。
|
|
53
57
|
* @param {object} deps - {sessionRoot, repoDir, mirrorDir, forkNameRe?}。
|
|
54
|
-
* @returns {Promise<{mirrored: number, unchanged: number, skippedLinks: string[], deleted: string[], forkedPreserved: string[]}>}
|
|
58
|
+
* @returns {Promise<{mirrored: number, unchanged: number, skippedLinks: string[], deleted: string[], forkedPreserved: string[], hostArtifactsSkipped: number, hostArtifactsPreserved: string[]}>}
|
|
55
59
|
*/
|
|
56
60
|
export async function mirrorSessionRoot(deps) {
|
|
57
61
|
const forkRe = deps.forkNameRe ?? FORK_NAME_RE
|
|
@@ -61,7 +65,12 @@ export async function mirrorSessionRoot(deps) {
|
|
|
61
65
|
|
|
62
66
|
let mirrored = 0
|
|
63
67
|
let unchanged = 0
|
|
68
|
+
let hostArtifactsSkipped = 0
|
|
64
69
|
for (const file of source.files) {
|
|
70
|
+
if (HOST_ARTIFACT_NAME_RE.test(path.posix.basename(file.rel))) {
|
|
71
|
+
hostArtifactsSkipped += 1
|
|
72
|
+
continue
|
|
73
|
+
}
|
|
65
74
|
const target = path.join(mirrorRoot, ...file.rel.split('/'))
|
|
66
75
|
targets.add(file.rel)
|
|
67
76
|
const wrote = await writeIfDifferent(target, await fs.readFile(file.absolute))
|
|
@@ -69,9 +78,10 @@ export async function mirrorSessionRoot(deps) {
|
|
|
69
78
|
else unchanged += 1
|
|
70
79
|
}
|
|
71
80
|
|
|
72
|
-
// 删除:目标树中源已不存在、且非 fork
|
|
81
|
+
// 删除:目标树中源已不存在、且非 fork 命名、非宿主私有产物的文件。
|
|
73
82
|
const deleted = []
|
|
74
83
|
const forkedPreserved = []
|
|
84
|
+
const hostArtifactsPreserved = []
|
|
75
85
|
const targetFiles = []
|
|
76
86
|
try {
|
|
77
87
|
const walk = async (dir) => {
|
|
@@ -97,13 +107,17 @@ export async function mirrorSessionRoot(deps) {
|
|
|
97
107
|
forkedPreserved.push(rel)
|
|
98
108
|
continue
|
|
99
109
|
}
|
|
110
|
+
if (HOST_ARTIFACT_NAME_RE.test(basename)) {
|
|
111
|
+
hostArtifactsPreserved.push(rel)
|
|
112
|
+
continue
|
|
113
|
+
}
|
|
100
114
|
if (!targets.has(rel)) {
|
|
101
115
|
await fs.unlink(absolute)
|
|
102
116
|
deleted.push(rel)
|
|
103
117
|
}
|
|
104
118
|
}
|
|
105
119
|
|
|
106
|
-
return { mirrored, unchanged, skippedLinks: source.skipped, deleted, forkedPreserved }
|
|
120
|
+
return { mirrored, unchanged, skippedLinks: source.skipped, deleted, forkedPreserved, hostArtifactsSkipped, hostArtifactsPreserved }
|
|
107
121
|
}
|
|
108
122
|
|
|
109
123
|
/**
|
package/lib/paths.mjs
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// 或 containment 检查(路径越界 = PATH_UNSAFE 响亮失败,绝不静默)。
|
|
6
6
|
|
|
7
7
|
import path from 'node:path'
|
|
8
|
-
import { MIRROR_DIR } from './constants.mjs'
|
|
8
|
+
import { FORK_NAME_RE, MIRROR_DIR } from './constants.mjs'
|
|
9
9
|
import { badConfig, pathUnsafe } from './errors.mjs'
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -106,12 +106,13 @@ export function decodeSegment(segment) {
|
|
|
106
106
|
/**
|
|
107
107
|
* fork 相对路径 → 会话 id。
|
|
108
108
|
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
109
|
+
* 主锚点 = fork 文件名本身(`forkFileName` 的命名规则,FORK_NAME_RE):fork 文件
|
|
110
|
+
* 永远与被 fork 的文件同目录,故会话 id 恒为其**父目录段**——与布局深度无关
|
|
111
|
+
* (宿主 <mirrorDir>/<projectKey>/<sessionId>/<file> 与旧扁平
|
|
112
|
+
* <mirrorDir>/<sessionId>/<file> 同解,深度不再是判据)。
|
|
113
|
+
* 非 fork 路径保留既有宽松映射(≥4 段取第 2 段;3 段且末段形如文件名取第 1 段,
|
|
114
|
+
* 人工批准项①),因为调用方也用它把普通镜像文件归到会话。
|
|
115
|
+
* 其余形态(根级文件、目录、空段/`..`、非镜像前缀)→ undefined。
|
|
115
116
|
* @param {string} forkPath - 镜像相对路径(POSIX 分隔)。
|
|
116
117
|
* @param {string} [mirrorDir] - 镜像目录名(默认 MIRROR_DIR)。
|
|
117
118
|
* @returns {string|undefined} 解码后的会话 id;无法映射时 undefined。
|
|
@@ -120,14 +121,18 @@ export function sessionIdOfForkPath(forkPath, mirrorDir = MIRROR_DIR) {
|
|
|
120
121
|
if (typeof forkPath !== 'string' || forkPath.length === 0) return undefined
|
|
121
122
|
const parts = forkPath.split('/')
|
|
122
123
|
if (parts[0] !== mirrorDir) return undefined
|
|
124
|
+
for (let index = 1; index < parts.length; index += 1) {
|
|
125
|
+
const segment = parts[index]
|
|
126
|
+
if (segment.length === 0 || segment === '.' || segment === '..') return undefined
|
|
127
|
+
}
|
|
128
|
+
const anchor = parts[parts.length - 1]
|
|
129
|
+
if (parts.length >= 3 && FORK_NAME_RE.test(anchor)) {
|
|
130
|
+
return decodeSegment(parts[parts.length - 2])
|
|
131
|
+
}
|
|
123
132
|
if (parts.length >= 4) {
|
|
124
|
-
for (let index = 1; index < parts.length; index += 1) {
|
|
125
|
-
const segment = parts[index]
|
|
126
|
-
if (segment.length === 0 || segment === '.' || segment === '..') return undefined
|
|
127
|
-
}
|
|
128
133
|
return decodeSegment(parts[2])
|
|
129
134
|
}
|
|
130
|
-
if (parts.length === 3 &&
|
|
135
|
+
if (parts.length === 3 && looksLikeFileSegment(parts[2])) {
|
|
131
136
|
return decodeSegment(parts[1])
|
|
132
137
|
}
|
|
133
138
|
return undefined
|
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.15",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/PerryLink/dsh-session-sync.git"
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"THIRD_PARTY_NOTICES.md"
|
|
40
40
|
],
|
|
41
41
|
"dsh": {
|
|
42
|
+
"manifestVersion": 1,
|
|
42
43
|
"bundle": {
|
|
43
44
|
"patch": "./cordis.patch.yml"
|
|
44
45
|
}
|
|
@@ -86,15 +87,21 @@
|
|
|
86
87
|
},
|
|
87
88
|
"peerDependencies": {
|
|
88
89
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
89
|
-
"@deepseek-ai/dsh-commands": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
90
|
-
"@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
91
|
-
"@deepseek-ai/dsh-
|
|
92
|
-
"@deepseek-ai/dsh-storage
|
|
93
|
-
"@deepseek-ai/dsh-storage-
|
|
94
|
-
"@deepseek-ai/dsh-
|
|
95
|
-
"@deepseek-ai/dsh-
|
|
90
|
+
"@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",
|
|
91
|
+
"@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",
|
|
92
|
+
"@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",
|
|
93
|
+
"@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",
|
|
94
|
+
"@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",
|
|
95
|
+
"@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",
|
|
96
|
+
"@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",
|
|
97
|
+
"@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",
|
|
96
98
|
"@deepseek-ai/schemastery": "^3.18.2"
|
|
97
99
|
},
|
|
100
|
+
"peerDependenciesMeta": {
|
|
101
|
+
"@deepseek-ai/dsh-session-projection": {
|
|
102
|
+
"optional": true
|
|
103
|
+
}
|
|
104
|
+
},
|
|
98
105
|
"dependencies": {
|
|
99
106
|
"zod": "^4.4.3"
|
|
100
107
|
},
|
|
@@ -121,7 +128,7 @@
|
|
|
121
128
|
},
|
|
122
129
|
"scripts": {
|
|
123
130
|
"typecheck": "tsc -p tsconfig.check.json",
|
|
124
|
-
"typecheck:ci": "tsc -p tsconfig.check.json",
|
|
131
|
+
"typecheck:ci": "tsc -p tsconfig.check.ci.json",
|
|
125
132
|
"test": "node --test \"test/*.test.mjs\"",
|
|
126
133
|
"coverage": "node --test --experimental-test-coverage \"test/*.test.mjs\"",
|
|
127
134
|
"lint": "oxlint",
|
|
@@ -142,7 +149,8 @@
|
|
|
142
149
|
"cross-device"
|
|
143
150
|
],
|
|
144
151
|
"engines": {
|
|
145
|
-
"node": "^22.19.0 || >=24.0.0"
|
|
152
|
+
"node": "^22.19.0 || >=24.0.0",
|
|
153
|
+
"dsh": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0"
|
|
146
154
|
},
|
|
147
155
|
"packageManager": "pnpm@11.7.0",
|
|
148
156
|
"publishConfig": {
|