@weibaohui/dsh-sync 0.1.1 → 0.1.3
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/README.md +1 -11
- package/client/bundle.js +2 -2
- package/client/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @weibaohui/dsh-sync
|
|
2
2
|
|
|
3
|
-
[](https://github.com/topics/dsh-plugin)
|
|
4
4
|
[](https://www.npmjs.com/package/@weibaohui/dsh-sync)
|
|
5
5
|
|
|
6
6
|
**多机同步插件**:让多台机器上的 dsh 通过一个私有 GitCode 仓库保持一致——技能、会话、设置、插件清单都能同步。
|
|
@@ -32,13 +32,3 @@ dsh plugin --profile web add @weibaohui/dsh-sync -w
|
|
|
32
32
|
3. 按需开关四类同步内容
|
|
33
33
|
4. 之后每次修改,通过同步操作把本机变更推成 PR;多机之间即可保持一致
|
|
34
34
|
5. 出现冲突时,会话界面会出现「AI 解决冲突」按钮,点一下即可
|
|
35
|
-
|
|
36
|
-
## 发版(维护者)
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
npm version patch # bump + commit + tag
|
|
40
|
-
git push --follow-tags
|
|
41
|
-
gh release create vX.Y.Z --generate-notes # 创建 Release 触发自动发布到 npm
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
发布由 GitHub Actions 完成(Release published 触发;打 tag 不发布),走 npm Trusted Publishing 免 token。
|
package/client/bundle.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Regenerate with: npm run build:client
|
|
3
3
|
*/
|
|
4
4
|
window.__ModuleLoader__.load({
|
|
5
|
-
id: "dsh-
|
|
5
|
+
id: "@weibaohui/dsh-sync",
|
|
6
6
|
factory: (require) => {
|
|
7
7
|
var module = { exports: {} }
|
|
8
8
|
var exports = module.exports
|
|
@@ -459,7 +459,7 @@ window.__ModuleLoader__.load({
|
|
|
459
459
|
|
|
460
460
|
// ── Plugin plane contract ────────────────────────────────────────────────
|
|
461
461
|
|
|
462
|
-
const CLIENT_NAME = 'dsh-
|
|
462
|
+
const CLIENT_NAME = '@weibaohui/dsh-sync'
|
|
463
463
|
|
|
464
464
|
module.exports = {
|
|
465
465
|
name: CLIENT_NAME,
|
package/client/index.js
CHANGED
|
@@ -449,7 +449,7 @@ function SettingsSlotComponent(props) {
|
|
|
449
449
|
|
|
450
450
|
// ── Plugin plane contract ────────────────────────────────────────────────
|
|
451
451
|
|
|
452
|
-
const CLIENT_NAME = 'dsh-
|
|
452
|
+
const CLIENT_NAME = '@weibaohui/dsh-sync'
|
|
453
453
|
|
|
454
454
|
module.exports = {
|
|
455
455
|
name: CLIENT_NAME,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weibaohui/dsh-sync",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "dsh 插件 · 多机同步:让多台机器上的 dsh 通过一个私有 GitCode 仓库保持一致——技能、会话、设置、插件清单四类内容各有独立开关;变更走分支 → PR → 合并,冲突显化为待合并 PR,支持 AI 一键解决冲突;强制私有仓库,pull 不覆盖本地改动。",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"dsh",
|