From 5c8477df1bbb85158adb7d5af6f0b53fb025465d Mon Sep 17 00:00:00 2001 From: Hudson Hou Date: Fri, 6 Nov 2026 13:14:00 +0800 Subject: [PATCH] catalog: add dsh-zotero-workspace (Zotero literature workspace tab) --- src/client/plugins-tabs.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/client/plugins-tabs.ts b/src/client/plugins-tabs.ts index db4b9425..fb5fdf9b 100644 --- a/src/client/plugins-tabs.ts +++ b/src/client/plugins-tabs.ts @@ -228,4 +228,16 @@ export const builtinTabPlugins: readonly PluginEntry[] = [ // and better-sidebar 0.17.1 + DSH 0.1.1-rc.x (stable). install: 'cd ~/.dsh && dsh plugin --profile web add dsh-better-sidebar && dsh plugin --profile web add dsh-turn-outline', }, + { + id: 'dsh-zotero-workspace', + name: 'Zotero 文献工作台', + url: 'https://github.com/hudsonhou/dsh-zotero-workspace', + description: 'Zotero library in the DSH right sidebar: collection tree, item list/detail, rendered PDF and parsed Markdown in place, one-click citation plus PDF/MD paths into the current conversation. Read-only (local Zotero API, no MCP); registers a native DSH right-sidebar tab and reuses better-sidebar file preview when installed.', + // Standalone plugin (no better-sidebar peer): it registers through the + // host's native right-Sidebar tab registry because its tab needs the + // session-level inputActions to put the citation into the composer; when + // better-sidebar is installed, that same tab opens PDF/Markdown through + // this plugin's openFile. Install from the tagged GitHub release. + install: 'cd ~/.dsh && dsh plugin --profile web add "github:hudsonhou/dsh-zotero-workspace#v0.1.0"', + }, ]