dsh-deepseek-chat 0.1.12 → 0.1.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/README.md +22 -3
- package/lib/build-manifest.json +13 -11
- package/lib/client.js +295 -120
- package/lib/types/ui.d.ts +1 -0
- package/lib/types/website-conversation-actions.d.ts +5 -0
- package/lib/types/website-navigation.d.ts +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
CHAT模式 加载真实的 [DeepSeek Chat 官网](https://chat.deepseek.com/),使用官网的聊天功能和账号历史;HARNESS模式 为原 DSH 工作区。
|
|
6
6
|
|
|
7
|
-
当前版本 **0.1.
|
|
7
|
+
当前版本 **0.1.15**(本地修复版,尚未发布 npm) · 适配 **DSH 0.2.0-rc.2 桌面版** · 默认语言为简体中文。
|
|
8
8
|
|
|
9
9
|
## 功能预览
|
|
10
10
|
|
|
@@ -13,6 +13,7 @@ CHAT模式 加载真实的 [DeepSeek Chat 官网](https://chat.deepseek.com/),
|
|
|
13
13
|

|
|
14
14
|
|
|
15
15
|
- 共用 DSH 原侧栏,显示官网对话标题、置顶和日期分组。
|
|
16
|
+
- 每条对话右侧提供“更多操作”:重命名、置顶/取消置顶、分享、删除;菜单和重命名弹窗与 HARNESS 共用 DSH 原生组件,修改由官网保存;分享、删除保留官网确认流程。
|
|
16
17
|
- 点击历史对话继续聊天;顶部“新会话”用于新建官网对话。
|
|
17
18
|
- 点击“对话”右侧的刷新图标,重新加载官网当前页面并更新列表。在其他网页端新建对话后,可用它同步,无需退出 DSH。
|
|
18
19
|
- 搜索筛选已加载的对话标题,聊天正文和输入框由官网提供。
|
|
@@ -54,6 +55,24 @@ dsh plugin --profile desktop add dsh-deepseek-chat
|
|
|
54
55
|
|
|
55
56
|
这是 npm 上的插件包,由 DSH 安装;无需运行独立的 npx 命令。
|
|
56
57
|
|
|
58
|
+
### 升级已有安装
|
|
59
|
+
|
|
60
|
+
已有安装可能继续使用之前锁定的版本。升级到当前版本时,在 DSH 的插件安装输入框中明确输入:
|
|
61
|
+
|
|
62
|
+
```text
|
|
63
|
+
dsh-deepseek-chat@0.1.12
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
使用命令行指定要升级的版本:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
dsh plugin --profile desktop add dsh-deepseek-chat@0.1.12
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
**完整退出并重新打开 DSH**,在插件管理页检查已安装版本为 **0.1.12**。进入 CHAT 后,“对话”标题右侧应显示刷新图标,未登录时登录按钮应有蓝色背景。
|
|
73
|
+
|
|
74
|
+
使用其他 profile 时替换 `desktop`。通过 DSH 官方插件管理器或 CLI 更新,让依赖记录和锁文件一起更新;直接覆盖安装目录中的文件不能保证下次启动仍使用新版。
|
|
75
|
+
|
|
57
76
|
### 使用仓库地址安装
|
|
58
77
|
|
|
59
78
|
在 DSH 的插件安装输入框中粘贴:
|
|
@@ -77,7 +96,7 @@ dsh plugin --profile desktop add https://github.com/xingxingbk-git/dsh-deepseek-
|
|
|
77
96
|
将构建生成的 `.tgz` 文件交给 DSH 官方插件管理器安装,或使用 CLI:
|
|
78
97
|
|
|
79
98
|
```bash
|
|
80
|
-
dsh plugin --profile desktop add /absolute/path/dsh-deepseek-chat-0.1.
|
|
99
|
+
dsh plugin --profile desktop add /absolute/path/dsh-deepseek-chat-0.1.15.tgz
|
|
81
100
|
```
|
|
82
101
|
|
|
83
102
|
将路径替换成你的实际安装包;使用其他 profile 时替换 `desktop`。**安装或更新后,完整退出并重新打开 DSH**,让新插件生效。
|
|
@@ -126,7 +145,7 @@ pnpm install --frozen-lockfile
|
|
|
126
145
|
pnpm package:plugin
|
|
127
146
|
```
|
|
128
147
|
|
|
129
|
-
生成 `artifacts/dsh-deepseek-chat-0.1.
|
|
148
|
+
生成 `artifacts/dsh-deepseek-chat-0.1.15.tgz`,包含 Host、Client、类型声明、图标和 bundle patch。插件管理列表的图标位于 `assets/icon.svg`,替换后重新打包安装即可;SVG 须自包含且不超过 256 KiB。
|
|
130
149
|
|
|
131
150
|
修改源码后执行 `pnpm release:prepare`,并将源码与整个 `lib/` 一起提交。`pnpm check:distribution` 会检查编译产物与源码、版本及安装入口是否一致;旧产物或缺失文件会使检查失败。安装用户不需要执行这些开发命令。
|
|
132
151
|
|
package/lib/build-manifest.json
CHANGED
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"format": 1,
|
|
3
3
|
"name": "dsh-deepseek-chat",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.15",
|
|
5
5
|
"inputs": {
|
|
6
6
|
"assets/icon.svg": "ad1b0fda90c1c1f2a0b9208bc86f5fe8c21d505a1208576be4e3110b26b4f79c",
|
|
7
7
|
"cordis.patch.yml": "05edb71cd276de1251ae67644ec68b54efc26258814956fa0e932d36da741bdc",
|
|
8
|
-
"package.json": "
|
|
8
|
+
"package.json": "acd432f5f0b5f8ab4651681fd7de7dfd4d55169994b8a95bd18fb477f7d59313",
|
|
9
9
|
"pnpm-lock.yaml": "c4f600b0d599b85f6181d295cd5f9f06f1eb0435eeeb2e7cf1a376b3c6a4ca15",
|
|
10
|
-
"scripts/build.mjs": "
|
|
10
|
+
"scripts/build.mjs": "715879e3c25382c35b06db2065b3b13815d1185aa4b9267b68a6257cacee30ec",
|
|
11
11
|
"scripts/check-artifact.mjs": "6fec38fb74e41dfeacef7147280c69854087d0665747d7d65137cc98f9dc673b",
|
|
12
12
|
"scripts/check-distribution.mjs": "72f75de3c9b10d0f7bd5390d37155b42b9d6b167a9d69782bc8ab6cdbdf740c5",
|
|
13
13
|
"scripts/client-contract.mjs": "1e212575218fc985f4405e2eac98b33a969494ff6b2144b1204a6d66963ba894",
|
|
14
14
|
"scripts/distribution-manifest.mjs": "e746c447b03b0e9a86efce7827bbd5d9184c6ccd1f1f0f1c9eb12abfe1b2f3b7",
|
|
15
15
|
"src/authorization.ts": "5f0c1b69e43541ce606349047788df72e442e9cbb3267c8c0caf2c0f556a5589",
|
|
16
|
-
"src/client.ts": "
|
|
16
|
+
"src/client.ts": "89daf45dd171db396208102d76d080e581ca9ef5c6bc9a893e55b139a990cdc8",
|
|
17
17
|
"src/core/mode.ts": "2fe56c319706d86746010bd5551f4ee47e31e12a0ee28effffb719b0696ad70c",
|
|
18
18
|
"src/index.ts": "59edf0d6af2feec3e08da322cabc07a2dc83868312c4daa1074b2a5b12892f57",
|
|
19
19
|
"src/protocol.ts": "5194007a0c06f7b293cc34579ccdc150c23c35b825091667f37a7293594bd29f",
|
|
20
20
|
"src/server.ts": "295c52235fa399967a594b76b1f4c869adccc978ee3c0f3f8f3a12894b81ef9b",
|
|
21
21
|
"src/sidebar-adapter.ts": "edcc051bbcaabb2d09055b231f57253a50a6d9e75acf18adafbf262001b18a48",
|
|
22
|
-
"src/styles.ts": "
|
|
23
|
-
"src/ui.tsx": "
|
|
24
|
-
"src/web-surface.tsx": "
|
|
22
|
+
"src/styles.ts": "e14e7c882d6d3476da96d45dc837ac653247b17e35ae5042dea83eda4531723c",
|
|
23
|
+
"src/ui.tsx": "f98ced07985556ae4d054fa13120ed329d06a8d4d4506f708fe7abca8e7a590c",
|
|
24
|
+
"src/web-surface.tsx": "a13ec7ad7d151877d27e7cb79c80e6bf549cbd08f84a53eeadd56d4667419918",
|
|
25
|
+
"src/website-conversation-actions.ts": "3aee35c114567514f71cca7495dad7ec251cc79ed866571e417323c564e3f59e",
|
|
25
26
|
"src/website-header.ts": "ac4972a28a5f0968de4d5f98d54fbac853f901c7eda00c0849984a2e66f291f3",
|
|
26
|
-
"src/website-navigation.ts": "
|
|
27
|
+
"src/website-navigation.ts": "80810fac9e0c13bf18b4cb4d0832001d6dfb83b3dc0b9eb136baefbf9f38877c",
|
|
27
28
|
"src/website-notice.ts": "65c781bec41e6c2e541d9512cc0051864d64fc3204b3ba5f2e005bdc955f39c9",
|
|
28
29
|
"src/website-session-store.ts": "8ef6d49465e0034f12b763a666b4a90c8c9819fb8baea06dcaba340fd97d72f1",
|
|
29
30
|
"src/website-session.ts": "f2434fafc40adb15b5f16fc8b6152bd8df7e85f5210330a1337502c9a08136d8",
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
"tsconfig.json": "1ad0b3b39537564a180dc7f4084ceb3098b567f509320c77d71bc37aaf4f1879"
|
|
32
33
|
},
|
|
33
34
|
"artifacts": {
|
|
34
|
-
"lib/client.js": "
|
|
35
|
+
"lib/client.js": "48d18e6367f314ae29dce2f93796d8ea4b02499be2d3856318bad8ab6d615618",
|
|
35
36
|
"lib/index.js": "e9c50cc544f24c60d086538ab1283ae0ed2811f23c9bb469916a2e89c3ffb38d",
|
|
36
37
|
"lib/types/authorization.d.ts": "130649eed3635e75c3f50c13de93c52440a27f1b88136ab2297552570c013d49",
|
|
37
38
|
"lib/types/client.d.ts": "a79702d5d86c75e81f1e954b3e9f4a562a6b3082d68d798d6a1b37bd41b908a7",
|
|
@@ -41,10 +42,11 @@
|
|
|
41
42
|
"lib/types/server.d.ts": "62b23f8f9fe9bb16a20274929876c1a34b3ab1e94179567e2e3a56cd67638288",
|
|
42
43
|
"lib/types/sidebar-adapter.d.ts": "9296987e7ecbd76e42d75bbf65d06f3e368dc036501baf931d7eaa9fb923252d",
|
|
43
44
|
"lib/types/styles.d.ts": "305836b3ce5cb256ffb033038b7df2919759976f3ca29395a7cd41bbd5811536",
|
|
44
|
-
"lib/types/ui.d.ts": "
|
|
45
|
+
"lib/types/ui.d.ts": "dcccb0fe08c0b482abd305db39a4d90f66295bb44f9c37931240194f6a28eb10",
|
|
45
46
|
"lib/types/web-surface.d.ts": "71686d72b4a5d6c619ee4ec916bbf7b853a87a7cc4d506fbfd0359191434984f",
|
|
47
|
+
"lib/types/website-conversation-actions.d.ts": "3bfea5b960e2e78ba6a03c060ff606a3b07293028843c481f8d8f3a41d733c19",
|
|
46
48
|
"lib/types/website-header.d.ts": "6379a35e7d35af3fb969802ee2cae969a104dbad937f7b9e371463a0bd7dea9d",
|
|
47
|
-
"lib/types/website-navigation.d.ts": "
|
|
49
|
+
"lib/types/website-navigation.d.ts": "145de0f862a0cdeb13a687486948553ae0c9110e24c73a1ef86b7d8ccd6b3706",
|
|
48
50
|
"lib/types/website-notice.d.ts": "2912746645e3e9facfe167c7b2b2eff584e3b812cab5e106afc7cb2b0259fc15",
|
|
49
51
|
"lib/types/website-session-store.d.ts": "bd641ab5e62ea4dd5f5cbfa823548a5c266c9701bca986fb348482ee69b2e0c0",
|
|
50
52
|
"lib/types/website-session.d.ts": "5ded232b24dd72e7b3c5f0ff505ba0aa818cbde14be7e2099bbbf262ec395a2b",
|