dsh-effort-menu 1.0.0 → 1.0.1
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 +11 -7
- package/README.zh-CN.md +11 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
A replacement model menu for the [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) composer: pick a model and set its reasoning effort in the same popup.
|
|
4
4
|
|
|
5
5
|
[](./LICENSE)
|
|
6
|
-
[](#compatibility)
|
|
7
7
|
|
|
8
8
|
English | [简体中文](./README.zh-CN.md)
|
|
9
9
|
|
|
@@ -35,23 +35,27 @@ Hovering the provider row opens a flyout with every provider's models.
|
|
|
35
35
|
|
|
36
36
|
## Install
|
|
37
37
|
|
|
38
|
-
Requires
|
|
38
|
+
Requires DSH `0.2.2-rc.1` or newer, with a build that ships the `dsh-client-ui-conversation`, `dsh-client-ui-model-selection` and `dsh-client-locale` client packages (see [Compatibility](#compatibility)).
|
|
39
39
|
|
|
40
40
|
### Web
|
|
41
41
|
|
|
42
42
|
With a CLI-managed profile, one command installs it into `web`.
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
|
-
dsh plugin --profile web add
|
|
45
|
+
dsh plugin --profile web add dsh-effort-menu
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
There is no build step. The browser half is the committed `client.js`. Restart `dsh web`, or reload the page.
|
|
49
49
|
|
|
50
50
|
### Desktop
|
|
51
51
|
|
|
52
|
-
The `desktop` profile is managed by the app
|
|
52
|
+
The `desktop` profile is managed by the app. Fully quit the app before using the CLI, or keep it running and install the checkout directory through **Plugin Manager**.
|
|
53
53
|
|
|
54
54
|
```sh
|
|
55
|
+
# CLI install, with the desktop app fully quit
|
|
56
|
+
dsh plugin --profile desktop add dsh-effort-menu
|
|
57
|
+
|
|
58
|
+
# Or clone it and point Plugin Manager at the directory
|
|
55
59
|
git clone https://github.com/xuanfenglajiao/dsh-effort-menu.git
|
|
56
60
|
```
|
|
57
61
|
|
|
@@ -65,7 +69,7 @@ If you would rather not use the CLI, edit the profile's own `package.json`.
|
|
|
65
69
|
|
|
66
70
|
```json
|
|
67
71
|
"dependencies": {
|
|
68
|
-
"dsh-effort-menu": "
|
|
72
|
+
"dsh-effort-menu": "^1.0.0"
|
|
69
73
|
}
|
|
70
74
|
```
|
|
71
75
|
|
|
@@ -81,7 +85,7 @@ Run `pnpm install` in that directory and restart `dsh web`.
|
|
|
81
85
|
|
|
82
86
|
```json
|
|
83
87
|
"dependencies": {
|
|
84
|
-
"dsh-effort-menu": "
|
|
88
|
+
"dsh-effort-menu": "^1.0.0"
|
|
85
89
|
}
|
|
86
90
|
```
|
|
87
91
|
|
|
@@ -91,7 +95,7 @@ Run `pnpm install` and restart the app.
|
|
|
91
95
|
|
|
92
96
|
## Compatibility
|
|
93
97
|
|
|
94
|
-
- Developed and tested on DeepSeek Harness Desktop 44.7.0 (DSH `0.2.2-rc.1`) on Windows 11
|
|
98
|
+
- Supports DSH `0.2.2-rc.1` and newer. Developed and tested on DeepSeek Harness Desktop 44.7.0 (DSH `0.2.2-rc.1`) on Windows 11; earlier DSH versions are not supported.
|
|
95
99
|
- The current model must expose `reasoning.efforts` for the slider to have anything to show. Otherwise the menu says the model provides no levels.
|
|
96
100
|
- Renders nothing in subagent sessions.
|
|
97
101
|
|
package/README.zh-CN.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
给 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 输入框换一个模型菜单,选模型和调思考强度在同一个弹层里完成。
|
|
4
4
|
|
|
5
5
|
[](./LICENSE)
|
|
6
|
-
[](#兼容性)
|
|
7
7
|
|
|
8
8
|
[English](./README.md) | 简体中文
|
|
9
9
|
|
|
@@ -35,23 +35,27 @@
|
|
|
35
35
|
|
|
36
36
|
## 安装
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
需要 DSH `0.2.2-rc.1` 或更新版本,并自带 `dsh-client-ui-conversation`、`dsh-client-ui-model-selection` 和 `dsh-client-locale` 三个客户端包(见[兼容性](#兼容性))。
|
|
39
39
|
|
|
40
40
|
### Web 端
|
|
41
41
|
|
|
42
42
|
用 CLI 管理 profile 时,一条命令装进 `web`。
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
|
-
dsh plugin --profile web add
|
|
45
|
+
dsh plugin --profile web add dsh-effort-menu
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
本插件没有构建步骤,浏览器端就是仓库里提交的 `client.js`。装完重启 `dsh web`,或者刷新页面。
|
|
49
49
|
|
|
50
50
|
### 桌面端
|
|
51
51
|
|
|
52
|
-
`desktop` profile
|
|
52
|
+
`desktop` profile 由应用管理。先完全退出桌面应用,再用 CLI 安装;或者不退出,打开应用内的 **Plugin Manager** 选择安装这个目录。
|
|
53
53
|
|
|
54
54
|
```sh
|
|
55
|
+
# CLI 安装,需要先完全退出桌面应用
|
|
56
|
+
dsh plugin --profile desktop add dsh-effort-menu
|
|
57
|
+
|
|
58
|
+
# 或者克隆下来,在 Plugin Manager 里选择这个目录
|
|
55
59
|
git clone https://github.com/xuanfenglajiao/dsh-effort-menu.git
|
|
56
60
|
```
|
|
57
61
|
|
|
@@ -65,7 +69,7 @@ git clone https://github.com/xuanfenglajiao/dsh-effort-menu.git
|
|
|
65
69
|
|
|
66
70
|
```json
|
|
67
71
|
"dependencies": {
|
|
68
|
-
"dsh-effort-menu": "
|
|
72
|
+
"dsh-effort-menu": "^1.0.0"
|
|
69
73
|
}
|
|
70
74
|
```
|
|
71
75
|
|
|
@@ -81,7 +85,7 @@ git clone https://github.com/xuanfenglajiao/dsh-effort-menu.git
|
|
|
81
85
|
|
|
82
86
|
```json
|
|
83
87
|
"dependencies": {
|
|
84
|
-
"dsh-effort-menu": "
|
|
88
|
+
"dsh-effort-menu": "^1.0.0"
|
|
85
89
|
}
|
|
86
90
|
```
|
|
87
91
|
|
|
@@ -91,7 +95,7 @@ git clone https://github.com/xuanfenglajiao/dsh-effort-menu.git
|
|
|
91
95
|
|
|
92
96
|
## 兼容性
|
|
93
97
|
|
|
94
|
-
-
|
|
98
|
+
- 支持 DSH `0.2.2-rc.1` 及更新版本。开发和测试用的是 DeepSeek Harness Desktop 44.7.0(DSH `0.2.2-rc.1`),Windows 11;更早的 DSH 版本不受支持。
|
|
95
99
|
- 当前模型必须公布 `reasoning.efforts`,滑杆才有内容可显示。否则菜单会提示该模型没有可选档位。
|
|
96
100
|
- 在子代理会话中不渲染任何内容。
|
|
97
101
|
|
package/package.json
CHANGED