Skip to content
dsh.fish
Bundle

dsh-resize

Add page zoom control settings for DeepSeek Harness.

Source
RyensX
License
AGPL-3.0-only
Updated
Updated 18 days ago

Readme

# dsh-resize

**中文** | [English](docs/README_EN.md)

为 DeepSeek Harness 添加页面缩放控制设置。

## 功能

- 在 DSH 设置中新增一级“页面设置”页面。
- 支持通过滑块和输入在 50%–150% 之间调节整个界面的显示缩放。

## 开发与验证

需要 Node.js `^22.19.0 || >=24.0.0` 和 pnpm:

```sh
pnpm install
pnpm verify
```

`pnpm verify` 会依次执行 TypeScript 类型检查、单元/组件测试、Host 与 Web client 构建,以及 DSH lazy-CJS bundle 交接验证。

## 安装

在插件 checkout 中执行:

```bash
dsh plugin --profile web add .
```

或使用绝对路径 link:

```sh
dsh plugin --profile web add /absolute/path/to/dsh-resize
```

也可以先运行 `pnpm pack`,再安装生成的 `.tgz` 文件。插件通过自己的 `cordis.patch.yml` 自动启用,不需要修改 DeepSeek Harness 源码。

从 Git 仓库安装时,pnpm 10 会在首次执行 `prepare` 前要求显式允许构建;请只对已审查并固定 commit 的源码授予该权限。

## 兼容性

当前版本面向 DeepSeek Harness `0.1.0-rc.8`。Harness 尚处于 developer preview,升级 DSH 后应重新运行 `pnpm verify` 并做一次实际页面验证。

## License

MIT

Install

dsh plugin --profile web add github:RyensX/dsh-resize

Profile: web

  • This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source