Skip to content
dsh.fish
Bundle

dsh-meme-deep-dive

为 DeepSeek Harness Web 提供可自定义 GIF 表情互动的 DSH 插件,支持发送消息和 Deep diving 状态动画。

Source
HackenLeung
stars
1 stars
License
MIT
Updated
Updated 4 days ago

Readme

# dsh-meme-deep-dive

一个为 [DeepSeek Harness Web](https://github.com/deepseek-ai/deepseek-harness) 提供 GIF 表情互动的 DSH 插件

发送消息时,当前选择的 meme 会出现在发送按钮附近;DSH 显示 `Deep diving...` 时,meme 会固定在状态文字左侧。点击 meme 或发送消息时,会显示可自定义的工作文案。

## 功能

- 在设置页切换 meme,并修改工作文案。
- 设置页使用静态 PNG 预览,实际互动使用 GIF。
- 设置保存在当前浏览器的 `localStorage` 中。
- 素材会内嵌到客户端构建产物,运行时不请求本地文件。

## 安装

```bash
dsh plugin --profile web add github:HackenLeung/dsh-meme-deep-dive
```

打开 DSH Web,进入 `设置 -> 插件 -> 插件配置`,即可找到 `Deep dive meme` 卡片,选择 meme 和修改工作文案。

## 本地开发

需要 Node.js 20 或更高版本,以及本地 DSH 环境。

```bash
npm run build
npm run check
```

修改 `src/client.js` 或 `assets/memes/` 下的素材后,先运行 `npm run build` 重新生成 `lib/client.js`,再运行 `npm run check`。之后刷新 DSH Web;如果 DSH 缓存了插件 bundle,需要重启 DSH。

## 兼容性

当前客户端通过 `role="status"`、`Deep diving...` 和包含 `_turnStatus` 的 class 来识别深度思考状态。如果 DSH 的 Web 页面结构发生变化,可能需要同步更新 `src/client.js` 中的选择器。

## 许可证

MIT,作者:[Hacken](https://github.com/HackenLeung)。

Install

dsh plugin --profile web add github:HackenLeung/dsh-meme-deep-dive

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