mirror of
https://github.com/yexi-by/dsh-unrestricted.git
synced 2026-12-01 02:50:22 +08:00
修复:改用共享 /api Fetch 路由注册插件 RPC,兼容无 webServer 注入的 Connection(v0.2.11)
This commit is contained in:
1 parent
ae6c7663fe
commit
849fc35ac5
12 files changed
+266
-46
No files matched your search
@@ -92,19 +92,12 @@ DSH 发起请求时会先组装全局系统提示词(System Prompt)。在普
|
||||
|
||||
## 安装与更新
|
||||
|
||||
使用 Desktop `0.2.1-rc.5` 或官方发布 tag `dsh-v0.2.2-rc.3` 时,请在对应 profile 的 `cordis.patch.yml` 给 `connection` 行补充以下依赖,已有配置保留在同一行。
|
||||
|
||||
```yaml
|
||||
- id: connection
|
||||
inject: [webStartup, webServer]
|
||||
```
|
||||
|
||||
```sh
|
||||
# Web 端安装指定版本
|
||||
dsh plugin --profile web add github:yexi-by/dsh-unrestricted#v0.2.10
|
||||
dsh plugin --profile web add github:yexi-by/dsh-unrestricted#v0.2.11
|
||||
|
||||
# 桌面端安装指定版本(使用桌面端内置 CLI)
|
||||
& "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add github:yexi-by/dsh-unrestricted#v0.2.10
|
||||
& "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add github:yexi-by/dsh-unrestricted#v0.2.11
|
||||
```
|
||||
|
||||
安装后重启 `dsh web` 或 DSH 桌面端,按下方[使用说明](#使用说明)启用。
|
||||
@@ -115,7 +108,7 @@ dsh plugin --profile web add github:yexi-by/dsh-unrestricted#v0.2.10
|
||||
|
||||
```sh
|
||||
dsh plugin --profile web remove dsh-unrestricted
|
||||
dsh plugin --profile web add github:yexi-by/dsh-unrestricted#v0.2.10
|
||||
dsh plugin --profile web add github:yexi-by/dsh-unrestricted#v0.2.11
|
||||
```
|
||||
|
||||
更新后重启 `dsh web` 或 DSH 桌面端。
|
||||
|
||||
Reference in new issue
Block a user