Back to home@v587d

dsh-anysearch-refs

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 的搜索结果以卡片形式展示在右侧侧边栏中,包括搜索词、来源摘要和关键词高亮。

Stars
2
Language
TypeScript
Created
Aug 19, 2026
Updated
Aug 19, 2026
GitHub repo

Introduction

dsh-anysearch-refs

DSH Plugin DSH Web MIT license

English · 中文

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.

screenshot-1

Status: early iteration. If you send a PR, please rebase onto the latest main.

Prerequisites

Install these separately in your DSH profile first:

PackagePurpose
@anysearch/anysearch-dshAnySearch data source / tool events
dsh-better-sidebarRight 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 main before PR.
  • Run pnpm run check before pushing.
  • Do not modify DSH core or dsh-better-sidebar source.

License

MIT


这是什么

一个 DSH 侧边栏插件,把 AnySearch 的搜索结果以卡片形式展示在右侧侧边栏中,包括搜索词、来源摘要和关键词高亮。

它捕获 anysearch_search / anysearch_batch_search 的工具结果,并在 DSH 侧边栏中单独展示。

screenshot-1

状态:早期迭代中。如果提交 PR,请先 rebase 到最新的 main

前置依赖

需要先在 DSH profile 中单独安装:

作用
@anysearch/anysearch-dshAnySearch 数据源 / 工具事件
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