插件目录 / Knowledge / dsh-anysearch-refs
dsh-anysearch-refs
已验证 · 实测可装 v587d
功能简介
A DSH sidebar plugin that shows AnySearch references as cards, with the search query, source snippets and highlighted keywords in the right sidebar.一个 DSH 侧边栏插件,把 AnySearch 的搜索结果以卡片形式展示在右侧侧边栏中,包括搜索词、来源摘要和关键词高亮。
可用 — 实测通过,早期项目
A DSH sidebar plugin that shows AnySearch references as cards, with the search query, source snippets and highlighted keywords in the right sidebar.一个 DSH 侧边栏插件,把 AnySearch 的搜索结果以卡片形式展示在右侧侧边栏中,包括搜索词、来源摘要和关键词高亮。 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-anysearch-refs
What
A DSH sidebar plugin that shows AnySearch references as cards, with the search query, source snippets and highlighted keywords in the right sidebar.
It captures anysearch_search / anysearch_batch_search tool results and renders them in a dedicated DSH sidebar tab. Each card shows a favicon fetched from <hostname>/favicon.ico as a non-blocking background task (3s timeout, https→http fallback, cached locally in assets/.favicon); multi-word queries are split into keywords and let you highlight up to 3 of them from a dropdown, with an 8-color cycling palette that adapts to light/dark skins. Single-keyword queries keep the plain highlight.
Each query block is collapsible via the header chevron: searches from the latest agent turn stay expanded by default while earlier turns collapse to a compact summary strip (stacked site icons + total source count), and your manual expand/collapse choice is remembered per session. Hovering the query keyword shows the full request metadata (request id, result count, latency).

Overview: AnySearch reference cards in the right sidebar.

Keyword dropdown with multiple highlight selections.
Status: early iteration. If you send a PR, please rebase onto the latest
main.
Prerequisites
Install these separately in your DSH profile first:
| Package | Purpose |
|---|---|
@anysearch/anysearch-dsh |
AnySearch data source / tool events |
dsh-better-sidebar |
Right sidebar / tab hosting |
Installation
For normal users, these three commands are enough — no pnpm needed:
dsh plugin --profile web add @anysearch/anysearch-dsh
dsh plugin --profile web add dsh-better-sidebar
dsh plugin --profile web add github:v587d/dsh-anysearch-refs
Then restart dsh web and hard-refresh the browser (Ctrl+Shift+R / Cmd+Shift+R).
Build from source
Developers only:
pnpm install
pnpm run build
pnpm run check
Contributing
- Rebase onto the latest
mainbefore PR. - Run
pnpm run checkbefore pushing. - Do not modify DSH core or
dsh-better-sidebarsource.
License
MIT
这是什么
一个 DSH 侧边栏插件,把 AnySearch 的搜索结果以卡片形式展示在右侧侧边栏中,包括搜索词、来源摘要和关键词高亮。
它捕获 anysearch_search / anysearch_batch_search 的工具结果,并在 DSH 侧边栏中单独展示。每张卡片左上角展示通过 <主机名>/favicon.ico 获取的站点 favicon(后台任务、3 秒超时、https→http 回退,并在 assets/.favicon 本地持久化缓存,失败时降级为主机名首字母徽标);多词查询按空格分词后,可在下拉框中勾选高亮(至多 3 个关键词),使用随明暗皮肤自适应的 8 色循环调色板;单词查询保持原有高亮样式。
每个 query 块可通过表头箭头折叠:最近一轮 agent turn 的搜索默认展开,更早轮次自动收起为一条摘要(站点图标叠加 + 来源总数),手动展开/收起的选择按会话记忆在 localStorage 中。悬停 query 关键词可查看完整请求信息(request id、结果数、耗时)。

整体效果:右侧侧边栏中的 AnySearch 引用卡片。

关键词下拉:多选高亮效果。
状态:早期迭代中。如果提交 PR,请先 rebase 到最新的
main。
前置依赖
需要先在 DSH profile 中单独安装:
| 包 | 作用 |
|---|---|
@anysearch/anysearch-dsh |
AnySearch 数据源 / 工具事件 |
dsh-better-sidebar |
右侧侧边栏 / tab 容器 |
安装
普通用户只需要这三条命令,不需要 pnpm:
dsh plugin --profile web add @anysearch/anysearch-dsh
dsh plugin --profile web add dsh-better-sidebar
dsh plugin --profile web add github:v587d/dsh-anysearch-refs
然后重启 dsh web,并在浏览器中硬刷新(Ctrl+Shift+R / Cmd+Shift+R)。
源码构建
仅开发者需要:
pnpm install
pnpm run build
pnpm run check
贡献
- 提交 PR 前请 rebase 到最新
main。 - 推送前运行
pnpm run check。 - 不要修改 DSH 核心或
dsh-better-sidebar源码。
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-anysearch-refs」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:v587d/dsh-anysearch-refs Headless(CLI)profile:
dsh plugin --profile headless add github:v587d/dsh-anysearch-refs 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。