dsh-ui-tweaks 0.12.0 → 0.13.0
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/LICENSE +21 -21
- package/README.en.md +3 -3
- package/README.md +3 -3
- package/cordis.patch.yml +12 -12
- package/lib/client.js +385 -88
- package/lib/client.js.map +1 -1
- package/lib/config.js +14 -1
- package/lib/config.js.map +1 -1
- package/lib/index.js +60 -1
- package/lib/index.js.map +1 -1
- package/lib/search-web.js +375 -0
- package/lib/search-web.js.map +1 -0
- package/lib/search.js +567 -0
- package/lib/search.js.map +1 -0
- package/lib/timeline.js +91 -0
- package/lib/timeline.js.map +1 -0
- package/lib/types/client/index.d.ts +41 -0
- package/lib/types/client/index.d.ts.map +1 -1
- package/lib/types/client/search.d.ts +22 -0
- package/lib/types/client/search.d.ts.map +1 -0
- package/lib/types/client/timeline.d.ts +64 -0
- package/lib/types/client/timeline.d.ts.map +1 -0
- package/lib/types/config.d.ts +31 -0
- package/lib/types/config.d.ts.map +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/search-web.d.ts +61 -0
- package/lib/types/search-web.d.ts.map +1 -0
- package/lib/types/search.d.ts +98 -0
- package/lib/types/search.d.ts.map +1 -0
- package/package.json +45 -47
- package/vendor/addon-fit.js +1 -1
- package/vendor/xterm.css +218 -218
- package/vendor/xterm.js +1 -1
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 dsh-ui-tweaks contributors
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 dsh-ui-tweaks contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.en.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# dsh-ui-tweaks
|
|
2
2
|
|
|
3
|
-
> **Version requirement**: this release (v0.
|
|
3
|
+
> **Version requirement**: this release (v0.13.0) requires **DSH v0.1.2-alpha.3 or newer**; the web-search provider id was renamed from `ddg` to the plugin name `dsh-ui-tweaks`, so it no longer collides with other plugins that also register a `ddg` search provider (with web search on, the `searchProvider:` entry in the profile patch is rewritten automatically). The conversation timeline and dialog width have shipped natively in DSH since v0.12.0, so the plugin dropped its own duplicate implementations (the message font size and line-spacing settings were dropped alongside). On an older host, pin the previous version: `npx -y @deepseek-ai/dsh plugin --profile web add dsh-ui-tweaks@0.12.0`.
|
|
4
4
|
|
|
5
5
|
A [DeepSeek Harness](https://deepseek-harness.github.io/deepseek-harness/) (DSH) web plugin that live-tunes the conversation UI from the Settings panel.
|
|
6
6
|
|
|
@@ -71,8 +71,8 @@ The package spec after `add` is forwarded to pnpm verbatim, so versions can be
|
|
|
71
71
|
pinned — `@version` for the npm package, `#tag` for the GitHub source:
|
|
72
72
|
|
|
73
73
|
```bash
|
|
74
|
-
npx -y @deepseek-ai/dsh plugin --profile web add dsh-ui-tweaks@0.
|
|
75
|
-
npx -y @deepseek-ai/dsh plugin --profile web add github:wlj521/dsh-ui-tweaks#v0.
|
|
74
|
+
npx -y @deepseek-ai/dsh plugin --profile web add dsh-ui-tweaks@0.12.0 # pin the npm version
|
|
75
|
+
npx -y @deepseek-ai/dsh plugin --profile web add github:wlj521/dsh-ui-tweaks#v0.12.0 # pin a git tag
|
|
76
76
|
```
|
|
77
77
|
|
|
78
78
|
For GitHub installs, pnpm may ask you to approve the package's build script —
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# dsh-ui-tweaks
|
|
2
2
|
|
|
3
|
-
> **版本要求**:本版本(v0.
|
|
3
|
+
> **版本要求**:本版本(v0.13.0)需要 **DSH v0.1.2-alpha.3 及以上**;网页搜索 provider id 由 `ddg` 改为插件名 `dsh-ui-tweaks`,不再与其他同样以 `ddg` 注册搜索 provider 的插件冲突(开启网页搜索时,profile 补丁里的 `searchProvider:` 会自动改写为新 id)。对话时间线与对话框宽度自 v0.12.0 起已由 DSH 原生提供,插件相应移除了自带的重复实现(消息字体大小与行高设置一并移除)。宿主暂未升级时,可安装上一版继续使用:`npx -y @deepseek-ai/dsh plugin --profile web add dsh-ui-tweaks@0.12.0`。
|
|
4
4
|
|
|
5
5
|
[DeepSeek Harness](https://deepseek-harness.github.io/deepseek-harness/)(DSH)Web UI 插件:在设置面板中实时调整对话界面——代码字号、表格样式、**GitBar**(输入框工具行内的 git 状态胶囊:分支在权限旁、差异在模型前),可开关的**归档管理**(设置中的「归档」页面:查看、恢复或彻底删除已归档会话),可开关的**任务提醒**(会话完成或需要交互时,通过标签页标题闪烁 / 系统通知 / 提示音把你唤回来),以及**缓存命中率两位小数**(把输入框下方统计条的缓存命中百分比改写为精确值)。
|
|
6
6
|
|
|
@@ -73,8 +73,8 @@ npx -y @deepseek-ai/dsh plugin --profile web add github:wlj521/dsh-ui-tweaks
|
|
|
73
73
|
`add` 后面的包说明会**原样转发给 pnpm**,因此可以指定版本——npm 包用 `@版本号`,GitHub 源码用 `#tag`:
|
|
74
74
|
|
|
75
75
|
```bash
|
|
76
|
-
npx -y @deepseek-ai/dsh plugin --profile web add dsh-ui-tweaks@0.
|
|
77
|
-
npx -y @deepseek-ai/dsh plugin --profile web add github:wlj521/dsh-ui-tweaks#v0.
|
|
76
|
+
npx -y @deepseek-ai/dsh plugin --profile web add dsh-ui-tweaks@0.12.0 # 锁定 npm 版本
|
|
77
|
+
npx -y @deepseek-ai/dsh plugin --profile web add github:wlj521/dsh-ui-tweaks#v0.12.0 # 锁定 git tag
|
|
78
78
|
```
|
|
79
79
|
|
|
80
80
|
从 GitHub 安装时,pnpm 可能要求批准该包的构建脚本——把提示的包键加进该 profile 的 `pnpm-workspace.yaml`:
|
package/cordis.patch.yml
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
# dsh-ui-tweaks bundle patch
|
|
2
|
-
#
|
|
3
|
-
# Declared by `dsh.bundle.patch` in package.json: when the plugin is installed
|
|
4
|
-
# through the official CLI —
|
|
5
|
-
#
|
|
6
|
-
# dsh plugin --profile <name> add dsh-ui-tweaks
|
|
7
|
-
#
|
|
8
|
-
# — the command appends `dsh-ui-tweaks` to the profile's bundle stack and this
|
|
9
|
-
# patch mounts the server-side plugin row.
|
|
10
|
-
- insert:
|
|
11
|
-
- id: ui-tweaks
|
|
12
|
-
name: 'dsh-ui-tweaks'
|
|
1
|
+
# dsh-ui-tweaks bundle patch
|
|
2
|
+
#
|
|
3
|
+
# Declared by `dsh.bundle.patch` in package.json: when the plugin is installed
|
|
4
|
+
# through the official CLI —
|
|
5
|
+
#
|
|
6
|
+
# dsh plugin --profile <name> add dsh-ui-tweaks
|
|
7
|
+
#
|
|
8
|
+
# — the command appends `dsh-ui-tweaks` to the profile's bundle stack and this
|
|
9
|
+
# patch mounts the server-side plugin row.
|
|
10
|
+
- insert:
|
|
11
|
+
- id: ui-tweaks
|
|
12
|
+
name: 'dsh-ui-tweaks'
|