dsh-session-sync 0.2.32 → 0.2.33
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/CHANGELOG.md +9 -0
- package/README.en.md +430 -0
- package/{README-es.md → README.es.md} +214 -176
- package/README.hi.md +430 -0
- package/README.md +248 -216
- package/README.pt.md +430 -0
- package/index.mjs +13 -1
- package/lib/constants.mjs +4 -1
- package/lib/engine.mjs +9 -2
- package/lib/git.mjs +25 -1
- package/package.json +1 -1
- package/README-hi.md +0 -392
- package/README-pt.md +0 -392
- package/README-zh.md +0 -394
package/README-hi.md
DELETED
|
@@ -1,392 +0,0 @@
|
|
|
1
|
-
<div align="center">
|
|
2
|
-
|
|
3
|
-
# 🔄 dsh-session-sync
|
|
4
|
-
- **1024 स्टोर चैनल**: एक बार `npm i -g dsh1024`, फिर `dsh1024 plugin --profile web add dsh-session-sync` ([deepseek1024.com](https://deepseek1024.com) इंस्टॉल रैंकिंग में गिना जाता है)।
|
|
5
|
-
|
|
6
|
-
**DeepSeek Harness के लिए क्रॉस-डिवाइस सत्र सिंक — आपके सत्र स्टोर का एक समर्पित git मिरर।**
|
|
7
|
-
|
|
8
|
-
*अपने सत्रों को डिवाइसों के बीच सिंक करें, किसी भी टकराव में दोनों पक्ष रखें, कभी कोई टर्न न खोएँ।*
|
|
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/hi/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
|
-
**📖 इकोसिस्टम नॉलेज बेस** — मापे गए आँकड़े, मार्केटिंग नहीं: [डेवलपमेंट गाइड · चयन डेटा · रखरखाव मानदंड](https://perrylink.github.io/dsh-plugin-guide/)।
|
|
35
|
-
|
|
36
|
-
<!-- star-cta -->
|
|
37
|
-
## इंस्टॉल और अनइंस्टॉल
|
|
38
|
-
|
|
39
|
-
- **git चैनल** (नवीनतम `main`): `dsh plugin --profile web add github:PerryLink/dsh-session-sync` (`git+https://github.com/PerryLink/dsh-session-sync.git` से इंस्टॉल करने के बराबर)। कोई बिल्ड चरण नहीं — `index.mjs` और `lib/` ही प्रकाशित आर्टिफ़ैक्ट हैं।
|
|
40
|
-
- **npm चैनल** (प्रकाशित संस्करण): `dsh plugin --profile web add dsh-session-sync`।
|
|
41
|
-
- **tarball चैनल**: इस रिपॉज़िटरी में `pnpm pack` चलाएँ, फिर `dsh plugin --profile web add ./dsh-session-sync-<version>.tgz`।
|
|
42
|
-
- **अनइंस्टॉल**: `dsh plugin --profile web remove dsh-session-sync` (या प्रोफ़ाइल पैच से पंक्ति हटाएँ)।
|
|
43
|
-
|
|
44
|
-
## ⭐ 如果它帮到了你
|
|
45
|
-
|
|
46
|
-
यह प्लगइन [DSH प्लगइन परिवार](https://github.com/PerryLink) का हिस्सा है (95 प्लगइन, सभी Apache-2.0)। अगर यह उपयोगी लगे, तो **एक स्टार दें** — इससे कोई सुविधा अनलॉक नहीं होती, पर अगला व्यक्ति इसे खोज में आसानी से पा लेता है।
|
|
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
|
-
DeepSeek Harness के लिए क्रॉस-डिवाइस सत्र सिंक — आपके सत्र स्टोर का एक समर्पित git मिरर।
|
|
53
|
-
|
|
54
|
-
अपने सत्रों को डिवाइसों के बीच सिंक करें, किसी भी टकराव में दोनों पक्ष रखें, कभी कोई टर्न न खोएँ।
|
|
55
|
-
|
|
56
|
-

|
|
57
|
-
|
|
58
|
-
*कार्यप्रवाह: अनुरोध → नीति/समीक्षा → निर्णय। नीचे के उदाहरण वास्तविक कमांड सतह का उपयोग करते हैं।*
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
*वही रन, एनिमेटेड।*
|
|
62
|
-
|
|
63
|
-
## संगतता
|
|
64
|
-
|
|
65
|
-
| सतह | स्थिति |
|
|
66
|
-
|---|---|
|
|
67
|
-
| Harness | DeepSeek Harness `dsh-v0.2.1-alpha.1` (GitHub टैग, 2026-09-25 को सत्यापित: पिन किए गए `0.1.7-rc.2` peers के विरुद्ध पूर्ण गेट श्रृंखला)। 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`। (2026-10-04 को अनुकूलित): टकराव फ़ोर्क सूचना प्लगइन का अपना producer-owned source kind रखती है - हार्नेस ने साझा `plugin` kind सेवानिवृत्त कर दिया है और पुनः-पठन पर उसे अस्वीकार करता है। |
|
|
68
|
-
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
69
|
-
| प्लेटफ़ॉर्म | जहाँ भी `git` और DSH चलते हैं (git-आधारित मिरर; कोई प्लेटफ़ॉर्म-विशिष्ट कोड नहीं) |
|
|
70
|
-
| मॉडल | केवल-टेक्स्ट मॉडल पूर्ण रूप से समर्थित; विज़न या अतिरिक्त क्षमता की आवश्यकता नहीं |
|
|
71
|
-
|
|
72
|
-
## आपको क्या मिलता है
|
|
73
|
-
|
|
74
|
-
`dsh-session-sync` आपके DSH सत्र स्टोर को एक समर्पित git वर्कट्री में मिरर करता है और उसे एक ऐसे रिमोट से सिंक करता है जिसे **आप** नियंत्रित करते हैं — कोई क्लाउड सेवा नहीं, कोई तृतीय-पक्ष स्टोरेज नहीं:
|
|
75
|
-
|
|
76
|
-
- **`/sync` कमांड** — `status` (ब्रांच, सैनिटाइज़ किया गया रिमोट, आगे/पीछे, गंदी फ़ाइलें, फ़ोर्क), `diff`, `log`, `pull`, `push`, `help`।
|
|
77
|
-
- **`sync_status` / `sync_pull` / `sync_push` टूल** — मॉडल के लिए वही सतह, एक टर्न के अंदर।
|
|
78
|
-
- **Append-only टकराव समाधान** — सत्र लॉग append-only होते हैं; किसी भी विचलन पर प्लगइन **दोनों** पक्ष रखता है (स्थानीय संस्करण रखा जाता है, रिमोट संस्करण फ़ोर्क फ़ाइलों के रूप में संरक्षित रहता है) और कभी चुपचाप ओवरराइट नहीं करता। विचलित सत्र सत्र-स्तर पर भी फ़ोर्क हो सकते हैं।
|
|
79
|
-
- **स्वचालित मोड** — स्टार्ट पर pull, हर बंद टर्न के बाद push, और आवधिक pull, सभी कॉन्फ़िगर करने योग्य और प्रतिवर्ती।
|
|
80
|
-
- **पुष्टि-गेटेड लेखन** — `pull`/`push` पहले पूछते हैं (`userQuestions` या `approval` के माध्यम से); केवल-पठन सतहें कभी नहीं पूछतीं; बिना उत्तरदाता के ऑपरेशन बंद-असफल होता है।
|
|
81
|
-
|
|
82
|
-
```text
|
|
83
|
-
डिवाइस A रिमोट (आपका git रिपॉज़िटरी) डिवाइस B
|
|
84
|
-
$DSH_HOME/sessions ──मिरर──▶ commit ──push──▶ [sessions] ──pull──▶ merge (दोनों रखें + fork)
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
## त्वरित शुरुआत
|
|
88
|
-
|
|
89
|
-
```sh
|
|
90
|
-
dsh plugin --profile web add github:PerryLink/dsh-session-sync
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
```sh
|
|
94
|
-
# 1. बंडल को अपने प्रोफ़ाइल में इंस्टॉल करें
|
|
95
|
-
dsh plugin --profile web add github:PerryLink/dsh-session-sync
|
|
96
|
-
|
|
97
|
-
# या npm से (प्रकाशित संस्करण)
|
|
98
|
-
dsh plugin --profile web add dsh-session-sync
|
|
99
|
-
|
|
100
|
-
# 2. इसे एक निजी git रिमोट की ओर इंगित करें और पंक्ति सत्यापित करें
|
|
101
|
-
dsh --profile web --dump-config | grep -A2 'id: session-sync'
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
फिर अपने प्रोफ़ाइल पैच में रिमोट सेट करें (एक **निजी** रिपॉज़िटरी आधार है) और सिंक करें:
|
|
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
|
-
### उदाहरण
|
|
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
|
-
|
|
166
|
-
## कॉन्फ़िगरेशन
|
|
167
|
-
|
|
168
|
-
सभी ट्यूनेबल Schemastery `Config` फ़ील्ड हैं (cordis.yml से बदले जा सकते हैं)। id-लक्षित ओवरराइड पूरी पंक्ति को बदल देता है — जो कुंजियाँ चाहिए उन्हें दोबारा लिखें। `cordis.patch.yml` हर कुंजी को इनलाइन दस्तावेज़ित करता है।
|
|
169
|
-
|
|
170
|
-
| कुंजी | डिफ़ॉल्ट | अर्थ |
|
|
171
|
-
|---|---|---|
|
|
172
|
-
| `enabled` | `true` | मास्टर स्विच; `false` कमांड, टूल, लिसनर और स्वचालित मोड हटा देता है |
|
|
173
|
-
| `backend` | `git` | सिंक बैकएंड: `git` (सादा-पाठ मिरर) या `encrypted` (age-एन्क्रिप्टेड मिरर सामग्री) |
|
|
174
|
-
| `sessionRoot` | `''` | सत्र स्टोर रूट; खाली = `$DSH_HOME/sessions` (दोनों अनुपस्थित होने पर लोड असफल) |
|
|
175
|
-
| `repoDir` | `''` | सिंक वर्कट्री रूट; खाली = `$DSH_HOME/dsh-session-sync/repo` |
|
|
176
|
-
| `remote` | `''` | रिमोट पता (pull/push से पहले आवश्यक; status/diff इसके बिना काम करते हैं) |
|
|
177
|
-
| `branch` | `main` | रिमोट ब्रांच का नाम |
|
|
178
|
-
| `gitBin` | `git` | git एक्ज़ीक्यूटेबल पथ |
|
|
179
|
-
| `ageBin` | `age` | age एक्ज़ीक्यूटेबल पथ (`backend: encrypted` पर जाँचा जाता है; अनुपस्थित होने पर सादे-पाठ पर डाउनग्रेड) |
|
|
180
|
-
| `ageRecipient` | `''` | age प्राप्तकर्ता (सार्वजनिक कुंजी या पहचान स्ट्रिंग); खाली = एन्क्रिप्ट नहीं हो सकता, सादे-पाठ पर डाउनग्रेड |
|
|
181
|
-
| `ageIdentity` | `''` | पासफ़्रेज़-रहित age गुप्त कुंजी का पथ (डिक्रिप्शन के लिए); खाली = सादे-पाठ पर डाउनग्रेड |
|
|
182
|
-
| `autoPullOnStart` | `false` | प्लगइन माउंट होने पर एक बार pull करें (कॉन्फ़िग ही अनुमति है; पुनः पुष्टि नहीं) |
|
|
183
|
-
| `autoPushOnTurnEnd` | `false` | हर बंद टर्न के बाद push करें |
|
|
184
|
-
| `pullIntervalMinutes` | `0` | हर N मिनट में आवधिक pull (`0` = बंद, अधिकतम `10080`) |
|
|
185
|
-
| `confirmVia` | `auto` | पुष्टि चैनल: `auto` (पहले userQuestions, फिर approval), `userQuestions`, `approval` |
|
|
186
|
-
| `graceMs` | `10000` | git को मारने की अनुग्रह अवधि (ms) |
|
|
187
|
-
| `commandTimeoutMs` | `120000` | प्रति-कमांड टाइमआउट (ms) |
|
|
188
|
-
| `maxOutputBytes` | `262144` | प्रति-स्ट्रीम एकत्रित आउटपुट सीमा (बाइट्स) |
|
|
189
|
-
| `commitName` | `dsh-session-sync` | कमिट लेखक नाम |
|
|
190
|
-
| `commitEmail` | `dsh-session-sync@localhost` | कमिट लेखक ईमेल |
|
|
191
|
-
| `registerCommand` | `true` | `/sync` कमांड पंजीकृत करें |
|
|
192
|
-
| `registerTools` | `true` | tools सेवा उपस्थित होने पर `sync_*` टूल पंजीकृत करें |
|
|
193
|
-
|
|
194
|
-
आपके प्रोफ़ाइल पैच में ओवरराइड का उदाहरण:
|
|
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
|
-
## टूल और सतहें
|
|
209
|
-
|
|
210
|
-
| सतह | केवल-पठन | पुष्टि आवश्यक | नोट्स |
|
|
211
|
-
|---|---|---|---|
|
|
212
|
-
| `/sync status` | ✅ | — | ब्रांच, सैनिटाइज़ किया रिमोट, आगे/पीछे, गंदी फ़ाइलें, फ़ोर्क फ़ाइलें, अंतिम pull/push |
|
|
213
|
-
| `/sync diff` | ✅ | — | अनकमिटेड बदलाव + `HEAD..remote` आँकड़े (केवल-पठन) |
|
|
214
|
-
| `/sync log` | ✅ | — | सिंक रिपॉज़िटरी के अंतिम कमिट |
|
|
215
|
-
| `/sync pull` | | ✅ | Fetch + merge दोनों-रखें अर्थ के साथ; स्थानीय रखा जाता है, रिमोट फ़ोर्क के रूप में संरक्षित |
|
|
216
|
-
| `/sync push` | | ✅ | मिरर + commit + push; कभी force-push नहीं करता, अस्वीकृति पर एक बार सुलह करके पुनः प्रयास |
|
|
217
|
-
| `sync_status` | ✅ | — | मॉडल के लिए `/sync status` जैसे ही तथ्य |
|
|
218
|
-
| `sync_pull` | | ✅ | मॉडल-कॉल करने योग्य pull |
|
|
219
|
-
| `sync_push` | | ✅ | मॉडल-कॉल करने योग्य push |
|
|
220
|
-
|
|
221
|
-
## अनुमतियाँ और डेटा
|
|
222
|
-
|
|
223
|
-
- **अनुमतियाँ**: परिवर्तनकारी ऑपरेशन पुष्टि द्वार (`confirmVia`) को पार करते हैं; प्लगइन कभी भी हार्नेस की `userQuestions`/`approval` सेवाओं को फिर से लागू या बायपास नहीं करता। स्वचालित मोड कॉन्फ़िग अनुदान से आच्छादित हैं और कभी पुनः पुष्टि नहीं करते।
|
|
224
|
-
- **डेटा**: सिंक मेटाडेटा (डिवाइस id, अंतिम pull/push, अंतिम push head, अंतिम त्रुटि) `session-sync` स्टोरेज डोमेन में रहता है। सत्र फ़ाइलें अपारदर्शी बाइट्स के रूप में कॉपी होती हैं — प्लगइन उन्हें कभी पार्स नहीं करता। डिवाइस id क्रॉस-डिवाइस फ़ोर्क श्रेय के लिए सिंक रिपॉज़िटरी में `device.txt` में भी लिखा जाता है।
|
|
225
|
-
- **सत्र लॉग**: `sync/push`, `sync/pull`, और `sync/conflict` `types.d.ts` में घोषित हैं; वे केवल तभी जोड़े जाते हैं जब होस्ट प्रकारों को पंजीकृत करता है (ज्ञात सीमाएँ देखें)। जो कुछ भी लिखा या दिखाया जाता है वह सैनिटाइज़ किया जाता है। प्लगइन जो एकमात्र टिकाऊ संदेश लिखता है — टकराव फ़ोर्क सूचना — वह प्लगइन का अपना producer-owned source kind (`dsh-session-sync`) रखती है; हार्नेस ने साझा `plugin` kind सेवानिवृत्त कर दिया है और सत्र पुनः-पठन पर उसे अस्वीकार करता है।
|
|
226
|
-
|
|
227
|
-
## सुरक्षा सीमाएँ
|
|
228
|
-
|
|
229
|
-
- **कभी चुपचाप ओवरराइट नहीं।** Append-only तीन-तरफ़ा मर्ज किसी भी विचलन पर दोनों पक्ष रखता है; फ़ोर्क फ़ाइलें कभी नहीं हटतीं, और git कभी force-push, reset, rebase या ब्रांच स्विच नहीं करता।
|
|
230
|
-
- **पथ संरोधन।** फ़ाइलें अपारदर्शी बाइट्स के रूप में मिरर होती हैं, सिमलिंक अस्वीकृत होते हैं, और हर जोड़े गए पथ की संरोधन जाँच होती है (`PATH_UNSAFE` तेज़ी से असफल)।
|
|
231
|
-
- **सैनिटाइज़ किया आउटपुट।** रिमोट-URL क्रेडेंशियल, टोकन और `key=value` रहस्य मॉडल या लॉग तक पहुँचने से पहले हटा दिए जाते हैं; पथ प्रदर्शन अपनी रूट के बाहर सब कुछ अस्वीकार करता है।
|
|
232
|
-
- **कोई क्रेडेंशियल स्टोरेज नहीं।** प्लगइन स्वयं कोई क्रेडेंशियल संग्रहीत नहीं करता; git क्रेडेंशियल आपके सामान्य git credential helper में रहते हैं। age पहचान/प्राप्तकर्ता फ़ाइलें आपके प्रबंधन की हैं, और कुंजियाँ कभी सिंक रिपॉज़िटरी में नहीं जातीं।
|
|
233
|
-
- **git कठोरीकरण।** git `GIT_TERMINAL_PROMPT=0` और `GIT_OPTIONAL_LOCKS=0` के साथ चलता है, समय-सीमा और सिग्नल से सीमित, प्रति-स्ट्रीम आउटपुट सीमा के साथ।
|
|
234
|
-
- **बंद-असफल।** पुष्टि उत्तरदाता, रिमोट की अनुपस्थिति, या असुरक्षित पथ ऑपरेशन को तेज़ी से अस्वीकार करता है।
|
|
235
|
-
|
|
236
|
-
## एन्क्रिप्शन और ख़तरा मॉडल
|
|
237
|
-
|
|
238
|
-
`backend: encrypted` मिरर के ऊपर एक वैकल्पिक **age** परत जोड़ता है: सत्र बाइट्स कमिट और push से पहले `encrypted/**/*.age` फ़ाइलों में एन्क्रिप्ट होते हैं, और मर्ज से पहले स्थानीय सादे-पाठ मिरर में वापस डिक्रिप्ट होते हैं। तीन-तरफ़ा मर्ज हमेशा स्थानीय रूप से सादे-पाठ पर चलता है, इसलिए append-only दोनों-रखें अर्थ अपरिवर्तित रहते हैं।
|
|
239
|
-
|
|
240
|
-
एन्क्रिप्शन क्या **सुरक्षित** करता है:
|
|
241
|
-
|
|
242
|
-
- **रिमोट में मिरर सामग्री।** आप जो सत्र फ़ाइलें push करते हैं वे age सिफरटेक्स्ट होती हैं; रिमोट होस्ट, उसके संचालक और रिपॉज़िटरी क्लोन करने वाला कोई भी व्यक्ति निजी कुंजी के बिना सादे-पाठ सत्र बाइट्स नहीं देख सकता।
|
|
243
|
-
|
|
244
|
-
क्या यह **सुरक्षित नहीं** करता (सीमा):
|
|
245
|
-
|
|
246
|
-
- **कुंजियाँ और age पहचान आपके प्रबंधन की हैं।** प्राप्तकर्ता/पहचान फ़ाइलें प्लगइन द्वारा कभी शिप, स्टोर या रोटेट नहीं होतीं। कुंजी लीक होने पर उससे सुरक्षित मिरर सामग्री उजागर होती है। पासफ़्रेज़-रहित पहचान उपयोग करें और उसे रिपॉज़िटरी से बाहर रखें।
|
|
247
|
-
- **रिमोट व्यवहार में निजी रिपॉज़िटरी ही रहता है।** git मेटाडेटा — कमिट संदेश, `.gitignore`, `encrypted/` पथ संरचना, ब्रांच नाम और push/fetch गतिविधि — रिमोट होस्ट को दिखता रहता है। एन्क्रिप्शन *सामग्री* छिपाता है, यह तथ्य नहीं कि आप सिंक करते हैं, न ही आपके सत्र वृक्ष का आकार।
|
|
248
|
-
- **सादा पाठ स्थानीय रूप से रहता है।** `<repoDir>/sessions/` का मिरर डिस्क पर सादा पाठ है; एन्क्रिप्शन प्रेषित/रिमोट प्रति की रक्षा करता है, स्थानीय डिस्क एन्क्रिप्शन या लाइव सत्र स्टोर की नहीं।
|
|
249
|
-
- **graceful degradation का अर्थ सादा पाठ है।** `backend: encrypted` के साथ, यदि `age` गायब है, या `ageRecipient`/`ageIdentity` खाली है, तो प्लगइन सादे-पाठ git पथ पर गिर जाता है **और स्थिति/लॉग में स्पष्ट चेतावनी देता है** — यह कभी चुपचाप एन्क्रिप्ट होने का दिखावा नहीं करता। रिमोट को एन्क्रिप्टेड मानने से पहले `/sync status` में चेतावनी जाँचें।
|
|
250
|
-
|
|
251
|
-
आधार: `backend: git` (डिफ़ॉल्ट) के साथ सत्र बाइट्स **आपके** git रिमोट में अनएन्क्रिप्टेड रहते हैं — निजी रिपॉज़िटरी उपयोग करें।
|
|
252
|
-
|
|
253
|
-
## ज्ञात सीमाएँ
|
|
254
|
-
|
|
255
|
-
- **एन्क्रिप्शन वैकल्पिक है।** `backend: encrypted` एक age परत जोड़ता है (ऊपर «एन्क्रिप्शन और ख़तरा मॉडल» देखें); `age` या कुंजियाँ गायब होने पर यह स्पष्ट चेतावनी के साथ सादे-पाठ पर गिर जाता है। `backend: git` (डिफ़ॉल्ट) के साथ सत्र बाइट्स **आपके** git रिमोट में अनएन्क्रिप्टेड रहते हैं — एक निजी रिपॉज़िटरी का उपयोग करें।
|
|
256
|
-
- **git आवश्यक।** प्लगइन को `git` एक्ज़ीक्यूटेबल और `subprocess` सेवा चाहिए; उनके बिना, सिंक ऑपरेशन स्पष्ट कारण से असफल होते हैं (प्रोफ़ाइलें बूट होती रहती हैं)।
|
|
257
|
-
- **`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` पर सत्र ईवेंट।** हार्नेस अभी `sync/*` प्रकार पंजीकृत नहीं करता, इसलिए सत्र-लॉग जोड़ छोड़ दिए जाते हैं (सत्र लोड होते रहते हैं); प्लगइन उन्हें स्वतः सक्षम करता है जब कोई होस्ट प्रकार पंजीकृत करता है या `Session.append` पर `ignorable` लिफ़ाफ़ा उजागर करता है।
|
|
258
|
-
- **टर्न के बीच `approval`।** `/sync` टर्न के बीच चलता है, जहाँ `approval` चैनल के पास जोड़ने के लिए कोई खुला टर्न नहीं होता; कमांड-संचालित सिंक के लिए `confirmVia: userQuestions` का उपयोग करें, या टर्न के अंदर टूल द्वारा सिंक चलाएँ। खुले टर्न की जाँच होस्ट के `turnBoundary` सत्र प्रोजेक्शन से होती है: `@deepseek-ai/dsh-session-projection` के बिना संयोजन टर्न स्थिति सत्यापित नहीं कर सकता और उसी कारण के साथ फ़ेल-क्लोज़्ड रहता है।
|
|
259
|
-
- **होस्ट-निजी आर्टिफ़ैक्ट सिंक नहीं होते।** `session.lock` (हार्नेस सत्र लीज़) और `session.migration.*.tmp` स्टेजिंग फ़ाइलें कभी मिरर या हटाई नहीं जातीं — ये रनटाइम स्थिति हैं, सिंक-योग्य सामग्री नहीं। सत्र लॉग (`session.jsonl`, `session.v[1-9]*.jsonl[.zstd]`) ही मिरर की जाने वाली पेलोड रहते हैं।
|
|
260
|
-
|
|
261
|
-
## विकास
|
|
262
|
-
|
|
263
|
-
```sh
|
|
264
|
-
pnpm install # node ^22.19 || >=24
|
|
265
|
-
pnpm run typecheck && pnpm run typecheck:ci # प्रकाशित 0.1.7-alpha.2 peers के विरुद्ध tsc --checkJs
|
|
266
|
-
pnpm test # node --test (13 टेस्ट फ़ाइलें; git इंजन सुइट बिना git के छोड़ी जाती है)
|
|
267
|
-
pnpm run verify:self-contained # निर्भरता spec रजिस्ट्री से हल होती हैं
|
|
268
|
-
pnpm run verify:artifacts # प्रकाशित फ़ाइलें उपस्थित + index.mjs import योग्य
|
|
269
|
-
pnpm run check:readmes # पाँच-भाषा README संगतता
|
|
270
|
-
pnpm pack # प्रकाशित tarball
|
|
271
|
-
```
|
|
272
|
-
|
|
273
|
-
कोई बिल्ड चरण नहीं: शुद्ध ESM, `index.mjs` और `lib/` ही प्रकाशित आर्टिफ़ैक्ट हैं।
|
|
274
|
-
|
|
275
|
-
## Topics
|
|
276
|
-
|
|
277
|
-
`dsh`, `dsh-plugin`, `deepseek-harness`, `deepseek`, `cordis`, `session-sync`, `session`, `git`, `sync`, `cross-device`
|
|
278
|
-
|
|
279
|
-
## योगदानकर्ता
|
|
280
|
-
|
|
281
|
-
- [@PerryLink](https://github.com/PerryLink) — निर्माता और अनुरक्षक: git मिरर इंजन, append-only दोनों-रखें मर्ज, `/sync` कमांड और `sync_*` टूल, स्वचालित मोड, सैनिटाइज़र, और पाँच-भाषा दस्तावेज़।
|
|
282
|
-
|
|
283
|
-
## PerryLink DSH Plugin Family
|
|
284
|
-
|
|
285
|
-
यह प्रोजेक्ट [PerryLink](https://github.com/PerryLink) के DeepSeek Harness प्लगइन परिवार का हिस्सा है। पूरी सूची नीचे संक्षिप्त रखी गई है ताकि हर README की पहली स्क्रीन छोटी रहे; हर पंक्ति और उसकी स्थिति देखने के लिए इसे खोलें।
|
|
286
|
-
|
|
287
|
-
<details>
|
|
288
|
-
<summary>सभी प्लगइन खोलें</summary>
|
|
289
|
-
|
|
290
|
-
| प्लगइन | स्थिति |
|
|
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)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
380
|
-
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
381
|
-
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
382
|
-
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
383
|
-
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
|
|
384
|
-
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 सेवानिवृत्त — रिपॉज़िटरी README देखें |
|
|
385
|
-
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 सेवानिवृत्त — रिपॉज़िटरी README देखें |
|
|
386
|
-
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 सेवानिवृत्त — रिपॉज़िटरी README देखें |
|
|
387
|
-
|
|
388
|
-
</details>
|
|
389
|
-
|
|
390
|
-
## लाइसेंस
|
|
391
|
-
|
|
392
|
-
[LICENSE](LICENSE) (Apache License 2.0) © 2026 dsh-session-sync contributors
|