返回目录
其他 插件

dsh-plugin-my-bench

tangliguang/dsh-plugin-my-bench

该仓库暂未提供项目说明。

Stars
1
Forks
0
Issues
0
更新
8 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:tangliguang/dsh-plugin-my-bench

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

my-bench

A minimal DeepSeek Harness UI plugin that adds one sidebar page of its own: an icon in the left column, and a full page in the main area when it is selected.

It is the smallest complete example of a Client-half plugin: bundle manifest, loader patch, empty Host module, and a client.js that registers into sidebar.panellist and main.

Install

From the Harness Web UI: sidebar Plugins → Add plugin → local directory, pointing at this directory. For a Git install, give the repository URL instead:

git+https://github.com/<you>/my-bench.git

After installing, refresh the page (the Client half does not need an app restart).

What you should see

  1. The Plugins page lists my-bench with this title and icon.
  2. The left column gains a 🛠 entry at the bottom (order: 20).
  3. Selecting it opens the page in the main area.

Layout

File Purpose
package.json dsh.bundle.patch makes it installable; dsh.client makes it a browser bundle
cordis.patch.yml inserts the my-bench row
index.js Host half; empty here, and where tools would be registered
client.js registers the sidebar entry and the page; owns all UI text
locale/*.json meta.title / meta.description shown in the Plugins page
icon.svg icon shown in the Plugins page

Extending

  • Add a tool: register it in index.js with ctx.tools.register(defineTool({...})).
  • Show tool output: call it from BenchPage through the Client remote service, or subscribe to a session projection.
  • Change the surface: swap sidebar.panellist + main for conversation.composer.dock or conversation.view.

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类其他
规则置信度低

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。