Zum Hauptinhalt springen
G

dsh-browser-favorites

gmlzyqzs/dsh-browser-favorites

A star at the right end of the conversation header that keeps web pages and opens each one as a Browser tab in the right sidebar, with a per-row "open in system browser" fallback for sites that refuse to be embedded. The list lives in the browser's local storage, so it is shared by every conversation in the profile; the star appears only while a conversation is open.

Installation

dsh plugin --profile web add github:gmlzyqzs/dsh-browser-favorites

README

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

  1. Open a conversation. A star appears at the right end of its title bar, just left of the ... menu.
  2. Click the star: the favorites list opens under the button.
  3. Paste an address and press Enter — example.com is enough, https:// is added for you — or click 收藏 / Add.
  4. Click an entry to open it in the right sidebar's Browser. Each row also has Open in system browser (the same window.open the Browser toolbar uses), Rename, and Delete; a deleted entry can be restored for six seconds with Undo.
  5. 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/https only, 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.

Ähnliche Plugins