* Recommend dsh-turn-review in the add-tab-plugin catalog. * feat: curate dsh-git-forge and dsh-ssh-tunnel in recommended tab plugins Add both community tab plugins to the Side card "add tab plugin" catalog (plugins-tabs.ts + zh/en descriptions), keep alphabetical id order, and note them under v0.13.0 recent updates. * ✨ 推荐插件目录新增 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: thirsty5034 <thirsty5034@users.noreply.github.com> Co-authored-by: mlosun <mlosun@qq.com> Co-authored-by: Iwctwbh <iwctwbh@gmail.com> Co-authored-by: Menghuan1918 <menghuan2003@outlook.com>
88 lines
4.3 KiB
TypeScript
88 lines
4.3 KiB
TypeScript
/**
|
|
* The built-in catalog of TAB-registration plugins (sidebar pages),
|
|
* shown in the "add tab plugin" modal (Side card settings → 侧边栏内容 grid
|
|
* → the dashed card). Adding an entry: append one object here (unique
|
|
* `id` = npm package name, `url` = GitHub repo, `description` =
|
|
* i18n-friendly (add a `pluginXxxDesc` key in locales.ts), `install` = the
|
|
* full one-line install script — it starts with `cd ~/.dsh` so the install
|
|
* runs with the DSH home as the working directory). Data integrity is
|
|
* guarded by `tests/plugin-list.spec.ts`.
|
|
*/
|
|
import { t } from './locales.ts'
|
|
import type { PluginEntry } from './plugins-shared.ts'
|
|
|
|
/** Tab-registration plugins (alphabetical order). */
|
|
export const builtinTabPlugins: readonly PluginEntry[] = [
|
|
{
|
|
id: '@dsh-external/dsh-sentinel',
|
|
name: 'dsh-sentinel 唤醒系统',
|
|
url: 'https://github.com/fuhefei/dsh-sentinel',
|
|
description: () => t('pluginSentinelDesc'),
|
|
// The official one-line bundle-channel install (git source, build
|
|
// artifacts committed — no build step needed). The `github:…` form is
|
|
// the upstream's documented command, `cd ~/.dsh` keeps the profile
|
|
// context consistent with the other entries.
|
|
install: 'cd ~/.dsh && dsh plugin --profile web add "github:fuhefei/dsh-sentinel#v0.7.0"',
|
|
},
|
|
{
|
|
id: 'dsh-docs-panel',
|
|
name: 'dsh-docs-panel 全局文档',
|
|
url: 'https://github.com/mlosun/dsh-docs-panel',
|
|
description: () => t('pluginDocsPanelDesc'),
|
|
// dsh-docs-panel hard-depends on dsh-better-sidebar (required peer), so
|
|
// 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-forge',
|
|
name: 'dsh-git-forge Git 凭据',
|
|
url: 'https://github.com/thirsty5034/dsh-git-forge',
|
|
description: () => t('pluginGitForgeDesc'),
|
|
// Peer-depends on dsh-better-sidebar (Git Forge tab). Install the
|
|
// prerequisite first; package is GitHub-sourced until npm publish.
|
|
install: 'cd ~/.dsh && dsh plugin --profile web add dsh-better-sidebar && dsh plugin --profile web add "dsh-git-forge@github:thirsty5034/dsh-git-forge"',
|
|
},
|
|
{
|
|
id: 'dsh-git-remotes',
|
|
name: 'dsh-git-remotes Git 远程',
|
|
url: 'https://github.com/yq04/dsh-git-remotes',
|
|
description: () => t('pluginGitRemotesDesc'),
|
|
install: 'cd ~/.dsh && dsh plugin --profile web add dsh-better-sidebar && dsh plugin --profile web add git+https://github.com/yq04/dsh-git-remotes.git',
|
|
},
|
|
{
|
|
id: 'dsh-sidebar-qa',
|
|
name: 'dsh-sidebar-qa 划选追问',
|
|
url: 'https://github.com/ChenRuoT/dsh-sidebar-qa',
|
|
description: () => t('pluginSidebarQaDesc'),
|
|
// dsh-sidebar-qa hard-depends on dsh-better-sidebar (required peer), so
|
|
// 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 git+https://github.com/ChenRuoT/dsh-sidebar-qa.git',
|
|
},
|
|
{
|
|
id: 'dsh-ssh-tunnel',
|
|
name: 'dsh-ssh-tunnel SSH 隧道',
|
|
url: 'https://github.com/thirsty5034/dsh-ssh-tunnel',
|
|
description: () => t('pluginSshTunnelDesc'),
|
|
// Peer-depends on dsh-better-sidebar (SSH Tunnel tab + center terminal/SFTP).
|
|
// Install the prerequisite first; package is GitHub-sourced until npm publish.
|
|
install: 'cd ~/.dsh && dsh plugin --profile web add dsh-better-sidebar && dsh plugin --profile web add "dsh-ssh-tunnel@github:thirsty5034/dsh-ssh-tunnel"',
|
|
},
|
|
{
|
|
id: 'dsh-turn-review',
|
|
name: 'dsh-turn-review 本轮审查',
|
|
url: 'https://github.com/yq04/dsh-turn-review',
|
|
description: () => t('pluginTurnReviewDesc'),
|
|
// Needs dsh-better-sidebar (optional peer) for the tab; no model tools.
|
|
install: 'cd ~/.dsh && dsh plugin --profile web add dsh-better-sidebar && dsh plugin --profile web add git+https://github.com/yq04/dsh-turn-review.git',
|
|
},
|
|
]
|