From 3004604a2da1410d416810e6049ec743c56ee165 Mon Sep 17 00:00:00 2001 From: Iwctwbh Date: Fri, 21 Aug 2026 22:08:06 +0800 Subject: [PATCH] docs: add dsh-flowglass to recommended tab plugins (#261) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ✨ 推荐插件目录新增 dsh-docs-panel(全局文档) - plugins-tabs.ts:追加 dsh-docs-panel Tab 条目(npm 包名 id、GitHub 仓库、 安装命令先装 dsh-better-sidebar 再装本插件,与 dsh-sidebar-qa 同款硬依赖写法) - locales.ts:新增 pluginDocsPanelDesc 的 zh/en 翻译 * docs: recommend dsh-flowglass sidebar tab --------- Co-authored-by: mlosun Co-authored-by: Menghuan1918 --- src/client/locales.ts | 2 ++ src/client/plugins-tabs.ts | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/src/client/locales.ts b/src/client/locales.ts index d9f33ca..86239fa 100644 --- a/src/client/locales.ts +++ b/src/client/locales.ts @@ -304,6 +304,7 @@ export const zh = { openPlugin: '跳转', copyInstall: '复制安装命令', pluginOfficeDesc: '为 better-sidebar 编辑器提供 Office 三件套预览(.docx / .xlsx / .pptx),把重型 Office 渲染库拆出主包、按需安装', + pluginFlowglassDesc: '实时会话流程图:三列泳道展示用户、助手与工具调用,支持并行分组、子代理支线、逐层钻取和实时状态;安装 better-sidebar 后注册原生「流镜」Tab,未安装时保留独立抽屉', pluginGitRemotesDesc: 'better-sidebar Git 远程 Tab:看分支/上游/ahead-behind,fetch(可 prune)、ff-only pull、确认后才 push。不替换内置 Git 的暂存/提交,也不提供 force-push 或模型自动推送', pluginSentinelDesc: '条件驱动的 agent 唤醒系统:文件/进程/端口/HTTP/命令/webhook 传感器,条件达成自动唤醒休眠会话;注册「哨兵」Tab 展示服务器全局监控表', pluginSidebarQaDesc: '基于 better-sidebar 的划选提问tab分页: 对话划选 → 右侧面板提问 → 同工作区独立追问会话(❓追问·主题):快速无思考模型压缩主对话上下文后与引文一起注入,不打断主对话;追问可嵌套、可继续、可归档', @@ -606,6 +607,7 @@ export const en: Record = { openPlugin: 'Open', copyInstall: 'Copy install command', pluginOfficeDesc: 'Office-suite preview (.docx / .xlsx / .pptx) for the better-sidebar editor, keeping the heavy Office render libraries out of the core bundle', + pluginFlowglassDesc: 'Live session flowgraph with three lanes for user, assistant, and tool calls, plus parallel groups, sub-agent branches, drill-down, and live status; registers a native Flowglass tab when better-sidebar is installed and keeps its standalone drawer as a fallback', pluginGitRemotesDesc: 'Git Remotes tab: branch/upstream/ahead-behind, fetch (optional prune), ff-only pull, and push only after an in-tab confirm. Does not replace the built-in Git stage/commit tab, and does not offer force-push or a model auto-push tool', pluginSentinelDesc: 'Condition-driven agent wakeup: file/process/port/http/command/webhook sensors wake dormant sessions when conditions fire; registers a "Sentinel" tab with the server-wide watch table', pluginSidebarQaDesc: 'Select-and-ask: Select conversation text → ask in the right-side panel → a dedicated follow-up session (❓追问) in the same workspace; a fast no-thinking model compresses the main context and injects it with the quote, without interrupting the main conversation. Follow-ups nest, continue, and archive', diff --git a/src/client/plugins-tabs.ts b/src/client/plugins-tabs.ts index d8d51f5..eb81563 100644 --- a/src/client/plugins-tabs.ts +++ b/src/client/plugins-tabs.ts @@ -33,6 +33,15 @@ export const builtinTabPlugins: readonly PluginEntry[] = [ // the install line installs the prerequisite first, then the plugin. install: 'cd ~/.dsh && dsh plugin --profile web add dsh-better-sidebar && dsh plugin --profile web add dsh-docs-panel', }, + { + id: 'dsh-flowglass', + name: 'dsh-flowglass 流镜', + url: 'https://github.com/Iwctwbh/dsh-flowglass', + description: () => t('pluginFlowglassDesc'), + // Flowglass keeps its standalone drawer as a fallback and registers the + // native tab automatically when better-sidebar is present. + install: 'cd ~/.dsh && dsh plugin --profile web add dsh-better-sidebar && dsh plugin --profile web add dsh-flowglass', + }, { id: 'dsh-git-remotes', name: 'dsh-git-remotes Git 远程',