Skip to content
dsh.fish
Bundle

dsh-deepseek-chat

A lightweight Ask DeepSeek chat panel for DeepSeek Harness.

Source
lhenlihai-hub
stars
2 stars
License
MIT
Updated
Updated 18 hours ago

Readme

# dsh-deepseek-chat

[English](README.en.md) | 中文

为 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) Web UI 添加一个独立的「问 DeepSeek」聊天窗口。

> 已经能在 DeepSeek Harness 中正常使用 DeepSeek?安装插件并重启 Web UI 后即可直接使用,不会再次要求输入 API Key。

## 安装

已有 `dsh` 命令:

```bash
dsh plugin --profile web add github:lhenlihai-hub/dsh-deepseek-chat
dsh web
```

使用官方 `npx` 启动方式、没有全局 `dsh` 命令:

```bash
npx --yes --package @deepseek-ai/dsh --package pnpm dsh plugin --profile web add github:lhenlihai-hub/dsh-deepseek-chat
npx @deepseek-ai/dsh web
```

如果 Web UI 正在运行,请先停止再重新启动。无需下载压缩包、克隆仓库或在本地构建。

## 使用

- 点击页面右侧的「问 DeepSeek」打开独立聊天窗口。
- 从窗口顶部切换用户已配置的 DeepSeek 模型。
- 在主会话中选中文字,可直接「引用并问 DeepSeek」。
- 支持流式输出、思考过程、停止生成和新对话。
- 自动适配中文/英文界面与明暗主题。

插件对话与主 Agent 会话相互独立,关闭或新建插件对话不会修改主会话。

## API 与隐私

- 插件没有 API Key 输入框。
- 插件不会读取、保存或向浏览器发送 API Key。
- 所有请求都通过 dsh 的 `ctx.llm`,使用用户已经配置的 DeepSeek 路由和模型。
- 如果尚未配置 DeepSeek,插件只会提示前往 dsh **设置 → 模型**。

## 卸载

在插件窗口中打开 **设置 → 卸载插件 → 确认**,或执行:

```bash
dsh plugin --profile web remove dsh-deepseek-chat
```

没有全局 `dsh` 命令时:

```bash
npx --yes --package @deepseek-ai/dsh --package pnpm dsh plugin --profile web remove dsh-deepseek-chat
```

重启 Web UI 后生效。

## 开发

```bash
npm install
npm run typecheck
npm run build
```

`lib/` 是供 GitHub 直接安装使用的预构建文件。

## 开源协议

[MIT](LICENSE)

Install

dsh plugin --profile web add github:lhenlihai-hub/dsh-deepseek-chat

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