dsh-browser-favorites
gmlzyqzs/dsh-browser-favorites
对话标题栏右端的五角星:收藏常看的网址,点一下就在右侧栏的浏览器里打开,每行还能用系统浏览器打开(应对禁止内嵌的站点)。列表存在本机浏览器里,同一个 profile 的每个对话都能用;没有打开对话时按钮不显示。
安装
dsh plugin --profile web add github:gmlzyqzs/dsh-browser-favoritesREADME
dsh-browser-favorites
A star in the DeepSeek Harness conversation header that keeps the web pages you visit often, and opens each one as a Browser tab in the right sidebar — the column the host already uses for pages.
Why
The right sidebar's Browser tabs are session-scoped: close the tab and its address is gone, switch conversations and you get another set. They are a place, not a shelf. This plugin adds the shelf — a list of addresses that outlives every conversation — without adding another surface to the app.
Install
Once published, the plugin market lists it as dsh-browser-favorites:
- In the app: Settings → Plugins → search
dsh-browser-favorites→ install. - CLI:
dsh plugin --profile <profile> add dsh-browser-favorites, then restart that profile. - From a local checkout: Plugins → Add plugin and choose the package directory.
Requires a Web host that provides conversation.session.header.utilities and ctx.sidebarRight (DSH 0.2.x; the plugin declares engines.dsh).
Use it
- Open a conversation. A star appears at the right end of its title bar, just left of the ... menu.
- Click the star: the favorites list opens under the button.
- Paste an address and press Enter —
example.comis enough,https://is added for you — or click 收藏 / Add. - Click an entry to open it in the right sidebar's Browser. Each row also has Open in system browser (the same
window.openthe Browser toolbar uses), Rename, and Delete; a deleted entry can be restored for six seconds with Undo. - The page already open in a Browser tab can be saved with 收藏当前页面 / Save this page. The panel shows the address it will save, because a plugin only sees the address a Browser tab was opened with, not a later in-tab navigation.
What it stores
The list lives in this browser's localStorage (dsh-favorites/items/v1), so it is shared by every conversation in the profile and survives restarts, but it does not travel to another machine or browser. It is not part of a conversation's log. The plugin adds no network request, no Host service, no tool, and no model context; it registers one Client-side action in a header slot.
Limits
- The star appears only while a conversation is open, because the right sidebar it opens belongs to that conversation.
- Addresses follow the Browser tab's own rules:
http/httpsonly, no embedded user name or password, and not the DSH application's own address. Anything else is refused when you add it, with the reason in the panel. - Sites that refuse to be embedded (
X-Frame-Options/CSP) render their own error inside the Browser tab; that is what Open in system browser is for. - At most 200 entries.
License
MIT. See LICENSE.