Skills Plugins MCP Prompt Model 导航 博客 资讯 我的中心
开发与运行时 #deepseek-harness#dsh#dsh-plugin

dsh-github-sidebar

A DSH (DeepSeek Harness) client plugin that adds a GitHub info sidebar to the chat window's right details column: the top pane lists repositories under a GitHub topic (e.g. dsh-plugin) sorted by stars, the bottom pane lists a repository's discussions with

olympianz @olympianz ⬇ 2 ★ 0 main

安装

dsh plugin --profile web add github:olympianz/dsh-github-sidebar
下载安装清单

需要可复现安装时,可在仓库后追加 #commit 固定提交。

A DSH (DeepSeek Harness) client plugin that adds a GitHub info sidebar to the chat window's right details column: the top pane lists repositories under a GitHub topic (e.g. dsh-plugin) sorted by stars, the bottom pane lists a repository's discussions with

该插件未提供要点说明,请参考仓库 README。

deepseek-harnessdshdsh-plugin
  1. 安装并启动 DeepSeek Harness:npx @deepseek-ai/dsh web
  2. 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
  3. 用 dsh plugins list 确认已安装,必要时重启 Harness 生效

插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。

代码仓库github.com/olympianz/dsh-github-sidebar
许可证MIT
主要语言main
下载量2
GitHub 星标0
最近推送2026-08-26
收录日期2026-09-19
分类开发与运行时

事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。

以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。

# dsh-github-sidebar

A [DeepSeek Harness (DSH)](https://github.com/deepseek-ai/deepseek-harness) **client plugin** that adds a GitHub info sidebar to the chat window's right `details` column, with two stacked panes:

- **Top pane — topic repos by stars**: lists repositories under a GitHub topic (default `dsh-plugin`), sorted by stars descending, 10 per page with pagination. Uses the public GitHub REST Search API (no token needed).
- **Bottom pane — discussions**: lists a repository's discussions (default `deepseek-ai/deepseek-harness`), sortable by **newest** (server-side, near → far), **most comments**, and **pinned first** (client-side, fetches the full list then sorts), 10 per page with pagination. Uses the GitHub GraphQL API (a token is required).

## Features

- ✨ Right-side GitHub sidebar inside the DSH chat window (auto-opens the details column).
- ⭐ Topic repos sorted by stars, pageable.
- 💬 Discussions with 3 sort dimensions + pagination.
- 🔑 Token entered in the panel itself (stored in `localStorage`, sent only to `api.github.com`).

## Installation

Install into your DSH profile (installs the host bundle and registers the client plugin):

```sh
dsh plugin --profile web add dsh-github-sidebar
# or, when running dsh from a source checkout:
pnpm dsh plugin --profile web add dsh-github-sidebar
```

Or install directly from this repository:

```sh
dsh plugin --profile web add https://github.com/Olympianz/dsh-github-sidebar
```

Then **restart dsh** (`dsh web`) and refresh the page — the client plugin set is scanned at startup.

## Usage

1. Open a session.
2. The right `details` column auto-opens showing **GitHub Sidebar**.
3. **Top pane**: browse topic repositories sorted by stars; use pagination buttons to flip pages.
4. **Bottom pane**:
   - Switch sort with **Newest / Most comments / Pinned first**.
   - Paste a GitHub token (GraphQL requires one) and press **Save**.

## Configuration

All defaults are hardcoded in the panel for now; the host half exposes a `Config` schema (`topic`, `owner`, `repo`, `pageSize`) that can be overridden in `cordis.yml`, but the browser half does not read it yet. The token is entered in the panel (per-user, persisted in `localStorage`).

## Development

```sh
pnpm install
pnpm run bundle     # build lib/client.js (tsdown)
pnpm run watch      # rebuild on change
pnpm run typecheck  # tsc --noEmit (best-effort)
```

`lib/client.js` is committed so that installing from GitHub works without a build step. Regenerate it after changing `src/client`.

## Publishing

See [CONTRIBUTING.md](./CONTRIBUTING.md#publishing) for the full guide. Short version:

1. Create a GitHub repository (e.g. `dsh-github-sidebar`), push this directory, and add the topics **`dsh-plugin`**, `deepseek-harness`, `dsh` on the repo's Topics page.
2. Publish to npm so users can `dsh plugin add dsh-github-sidebar`:
   ```sh
   npm login
   npm publish
   ```

## Known limitations

- The `details` column is a single-occupant slot: the GitHub panel **replaces** the default call/trajectory details in the right column. A true "coexist toggle" would require modifying DSH's `ui-conversation` `DetailsPanel` (a DSH source change).
- Sorting discussions by comments/pinned fetches the full discussion list first (more GraphQL requests; watch rate limits on large repos).
- The token lives in `localStorage` (exposed in the browser). A server-side host proxy would keep it out of the browser; not implemented yet.
- Details-column visibility is maintained by auto-opening it; some layout transitions (session switches) may briefly close it before the plugin re-opens it.

## License

[MIT](./LICENSE)

数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。