feat(catalog): add dsh-server-deck to the tab plugin catalog

- npm-published dual-mount plugin (native Servers tab via
  ctx.betterSidebar.registerTab, standalone drawer fallback)
- card dashboard per host: online state, OS, uptime, CPU/mem/disk
  meters, latency; click-to-open xterm.js interactive terminal
- ~/.ssh/config import with git-hosting alias filtering
- description key pluginServerDeckDesc added to all 21 locale files
  (zh/en in locales.ts + 19 language files)
This commit is contained in:
meyaomiao
2026-08-29 16:31:52 +08:00
committed by Menghuan1918
parent b2ab82cefd
commit 6a9a458849
21 changed files with 31 additions and 0 deletions
+10
View File
@@ -95,6 +95,16 @@ 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-sidenote',
},
{
id: 'dsh-server-deck',
name: 'dsh-server-deck 服务器甲板',
url: 'https://github.com/meyaomiao/DSH-server-deck',
description: () => t('pluginServerDeckDesc'),
// Published on npm; dual-mount like flowglass — registers the native
// "Servers" tab when better-sidebar is present, standalone drawer
// otherwise. Install the prerequisite first.
install: 'cd ~/.dsh && dsh plugin --profile web add dsh-better-sidebar && dsh plugin --profile web add dsh-server-deck@latest',
},
{
id: 'dsh-ssh-tunnel',
name: 'dsh-ssh-tunnel SSH 隧道',