dsh-workspace-migrate 0.5.3 → 0.5.5

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.
Files changed (2) hide show
  1. package/README.md +7 -0
  2. package/package.json +55 -54
package/README.md CHANGED
@@ -2,12 +2,17 @@
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/dsh-workspace-migrate)](https://www.npmjs.com/package/dsh-workspace-migrate)
4
4
  [![DSH Plugin Store](https://img.shields.io/badge/DSH%20Plugin%20Store-listed-4C8DFF)](https://www.dshplugin.store/plugin/lij0000-arch/dsh-workspace-migrate)
5
+ [![dshopen](https://img.shields.io/badge/dshopen.org-listed-2EA44F)](https://dshopen.org/plugins/dsh-workspace-migrate)
5
6
  [![release](https://img.shields.io/github/v/release/lij0000-arch/dsh-workspace-migrate?label=release)](https://github.com/lij0000-arch/dsh-workspace-migrate/releases)
6
7
  [![stars](https://img.shields.io/github/stars/lij0000-arch/dsh-workspace-migrate)](https://github.com/lij0000-arch/dsh-workspace-migrate)
7
8
  [![license](https://img.shields.io/github/license/lij0000-arch/dsh-workspace-migrate)](LICENSE)
8
9
 
9
10
  换电脑,把 DeepSeek Harness 里的**项目、对话和文件**一起带走,而且搬过去的旧对话还能接着聊。
10
11
 
12
+ > 已被 [awesome-dsh-plugin](https://awesome-dsh-plugin.com/zh/p/lij0000-arch/dsh-workspace-migrate/) 收录 · npm 周下载 700+ · 适配 DSH 0.2.1(rc.2 – rc.5)
13
+
14
+ > ⚠️ **请安装 0.5.3 及以上**。0.5.2 及更早版本的本地接口只做了同源检查,缺少宿主身份认证;0.5.3 起每个请求都过 `ctx.connection` 凭据校验,无认证服务时直接返回 503。
15
+
11
16
  **和别的迁移工具不一样的三点:**
12
17
 
13
18
  - **按工作区选**,不是整机全量:勾哪个项目就带走哪个项目的会话、归属、置顶/归档、文件和附件。
@@ -30,6 +35,8 @@ dsh plugin --profile desktop add dsh-workspace-migrate
30
35
  1. **旧电脑**:设置 → 迁移 → 导出(旧电脑)→ 勾项目 → 开始导出,得到一个文件夹,拷到新电脑。
31
36
  2. **新电脑**:设置 → 迁移 → 导入 → 选包 → 填**新根目录** → 导入前体检 → 开始导入。
32
37
 
38
+ ![设置 → 迁移 → 导出(旧电脑):勾选要带走的工作区,项目名与路径已打码](https://raw.githubusercontent.com/lij0000-arch/dsh-workspace-migrate/main/docs/images/export-page.png)
39
+
33
40
  完成后刷新页面,项目、对话、文件都在新位置,旧对话可以继续。
34
41
 
35
42
  ## 用之前先知道
package/package.json CHANGED
@@ -1,54 +1,55 @@
1
- {
2
- "name": "dsh-workspace-migrate",
3
- "version": "0.5.3",
4
- "private": false,
5
- "type": "module",
6
- "description": "把 DeepSeek Harness 的工作区、项目成果和对话内容整体迁到另一台电脑",
7
- "license": "MIT",
8
- "keywords": [
9
- "dsh-plugin",
10
- "deepseek-harness",
11
- "migration",
12
- "backup",
13
- "workspace",
14
- "session"
15
- ],
16
- "engines": {
17
- "dsh": "^0.2.1-rc.2"
18
- },
19
- "repository": {
20
- "type": "git",
21
- "url": "git+https://github.com/lij0000-arch/dsh-workspace-migrate.git"
22
- },
23
- "homepage": "https://github.com/lij0000-arch/dsh-workspace-migrate#readme",
24
- "bugs": {
25
- "url": "https://github.com/lij0000-arch/dsh-workspace-migrate/issues"
26
- },
27
- "exports": {
28
- ".": "./index.js",
29
- "./client": "./client.js",
30
- "./locale/*.json": "./locale/*.json",
31
- "./icon": "./icon.svg"
32
- },
33
- "files": [
34
- "index.js",
35
- "client.js",
36
- "cordis.patch.yml",
37
- "locale/*.json",
38
- "icon.svg",
39
- "README.md",
40
- "LICENSE"
41
- ],
42
- "dsh": {
43
- "bundle": {
44
- "patch": "./cordis.patch.yml"
45
- },
46
- "client": {
47
- "platform": "web",
48
- "immediately": true,
49
- "inject": [
50
- "@deepseek-ai/dsh-client-ui-settings"
51
- ]
52
- }
53
- }
54
- }
1
+ {
2
+ "name": "dsh-workspace-migrate",
3
+ "version": "0.5.5",
4
+ "private": false,
5
+ "type": "module",
6
+ "description": "把 DeepSeek Harness 的工作区、项目成果和对话内容整体迁到另一台电脑",
7
+ "license": "MIT",
8
+ "keywords": [
9
+ "dsh-plugin",
10
+ "deepseek-harness",
11
+ "migration",
12
+ "backup",
13
+ "workspace",
14
+ "session",
15
+ "dsh"
16
+ ],
17
+ "engines": {
18
+ "dsh": "\u003e=0.2.1-rc.2 \u003c0.3.0 || \u003e=0.2.2-rc.1 \u003c0.3.0"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/lij0000-arch/dsh-workspace-migrate.git"
23
+ },
24
+ "homepage": "https://github.com/lij0000-arch/dsh-workspace-migrate#readme",
25
+ "bugs": {
26
+ "url": "https://github.com/lij0000-arch/dsh-workspace-migrate/issues"
27
+ },
28
+ "exports": {
29
+ ".": "./index.js",
30
+ "./client": "./client.js",
31
+ "./locale/*.json": "./locale/*.json",
32
+ "./icon": "./icon.svg"
33
+ },
34
+ "files": [
35
+ "index.js",
36
+ "client.js",
37
+ "cordis.patch.yml",
38
+ "locale/*.json",
39
+ "icon.svg",
40
+ "README.md",
41
+ "LICENSE"
42
+ ],
43
+ "dsh": {
44
+ "bundle": {
45
+ "patch": "./cordis.patch.yml"
46
+ },
47
+ "client": {
48
+ "platform": "web",
49
+ "immediately": true,
50
+ "inject": [
51
+ "@deepseek-ai/dsh-client-ui-settings"
52
+ ]
53
+ }
54
+ }
55
+ }