Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

feat: 添加 DSH OPS 并优先展示中文插件描述 (#1178)

Hairy798f534fbdca
diff --git a/README.en.md b/README.en.md
index c7bb937c..7de2b19b 100644
--- a/README.en.md
+++ b/README.en.md
@@ -82,6 +82,7 @@ Setup offers the following community plugins for installation on demand.
- [DSH Market](https://github.com/dsh-market/dsh-market) — Community plugin market
- [DSH Rewind](https://github.com/SiriLee/dsh-rewind) — Conversation rewind and workspace backups
- [DSH IM](https://github.com/xmanrui/dsh-im) — IM channels and bot management
+- [DSH OPS](https://github.com/T-Auto/dsh-ops) — Low-level operations tools to reduce token usage and task execution time
Request new or updated presets via [Issues](https://github.com/dsh-tauri/deepseek-harness-desktop/issues). Available versions follow the manifest's core compatibility rules.
diff --git a/README.es.md b/README.es.md
index f5937a6b..ba2f1366 100644
--- a/README.es.md
+++ b/README.es.md
@@ -82,6 +82,7 @@ El asistente ofrece los siguientes plugins comunitarios para instalar a demanda.
- [DSH Market](https://github.com/dsh-market/dsh-market) — Mercado de plugins comunitarios
- [DSH Rewind](https://github.com/SiriLee/dsh-rewind) — Retroceso de conversación y backups del workspace
- [DSH IM](https://github.com/xmanrui/dsh-im) — Canales IM y gestión de bots
+- [DSH OPS](https://github.com/T-Auto/dsh-ops) — Herramientas de operaciones de bajo nivel para reducir el consumo de tokens y el tiempo de ejecución
Pedí preajustes nuevos o actualizados mediante [Issues](https://github.com/dsh-tauri/deepseek-harness-desktop/issues). Las versiones disponibles siguen las reglas de compatibilidad del manifiesto.
diff --git a/README.md b/README.md
index 4e9801d2..a19afae2 100644
--- a/README.md
+++ b/README.md
@@ -81,6 +81,7 @@
- [DSH Market](https://github.com/dsh-market/dsh-market) — 社区插件市场
- [DSH Rewind](https://github.com/SiriLee/dsh-rewind) — 对话回退与工作区备份
- [DSH IM](https://github.com/xmanrui/dsh-im) — IM 渠道与机器人管理
+- [DSH OPS](https://github.com/T-Auto/dsh-ops) — 底层操作工具,减少 Token 消耗与任务耗时
新增或更新预设请提交 [Issue](https://github.com/dsh-tauri/deepseek-harness-desktop/issues);可用版本由清单中的内核兼容规则决定。
diff --git a/src-tauri/resources/manifest.jsonc b/src-tauri/resources/manifest.jsonc
index fea3847a..dbf06388 100644
--- a/src-tauri/resources/manifest.jsonc
+++ b/src-tauri/resources/manifest.jsonc
@@ -195,7 +195,7 @@
"id": "billion-context",
"spec": "billion-context",
"name": "Billion Context",
- "description": "基本稳定可用 A context-compression plugin for small context windows (a 100K context is enough), token savings (5x fewer tokens), and month-long single sessions (billions of tokens).上下文压缩插件,兼顾小窗口(100k上下文足矣)省token(省5倍token)和超长会话(数月级别几十亿token单会话)。billion-context is all you need",
+ "description": "基本稳定可用。上下文压缩插件,兼顾小窗口(100K 上下文足矣)、节省 Token(用量减少至约五分之一)和超长会话(数月级别、几十亿 Token 单会话)。 | A context-compression plugin for small context windows (a 100K context is enough), token savings (5x fewer tokens), and month-long single sessions (billions of tokens). billion-context is all you need",
"repo": "https://github.com/ranxianglei/billion-context",
"recommended": true,
"checked": false,
@@ -240,11 +240,21 @@
}
]
},
+ {
+ "id": "dsh-ops",
+ "spec": "dsh-ops",
+ "name": "DSH OPS",
+ "description": "DSH 底层操作工具插件,旨在减少 Token 消耗与任务耗时。 | A toolkit for low-level operations in DSH, designed to reduce token usage and task execution time.",
+ "repo": "https://github.com/T-Auto/dsh-ops",
+ "recommended": true,
+ "checked": false,
+ "version": "latest"
+ },
{
"id": "@changfenhuang/dsh-genui",
"spec": "@changfenhuang/dsh-genui",
"name": "DSH GenUI",
- "description": "GenUI for DeepSeek Harness: interactive UI components rendered inline in assistant replies via the dsh-ui fence — layout, charts, plots, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model. Ships the fence-teaching host plugin, the browser renderer (client half), and the genui skill.",
+ "description": "交互式界面插件,通过 dsh-ui 代码块在助手回复中直接呈现布局、图表、绘图、表单、测验、Mermaid 和 3D 场景,并将交互事件回传模型。内含宿主插件、浏览器渲染器和 genui 技能。 | GenUI for DeepSeek Harness: interactive UI components rendered inline in assistant replies via the dsh-ui fence — layout, charts, plots, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model. Ships the fence-teaching host plugin, the browser renderer (client half), and the genui skill.",
"repo": "https://github.com/omdsh-dev/dsh-genui",
"recommended": false,
"checked": false,
@@ -254,7 +264,7 @@
"id": "dsh-context",
"spec": "dsh-context",
"name": "DSH Context",
- "description": "The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details, understanding how the context is made of, and how it evolves. 一站式 DeepSeek Harness 上下文可视化插件,Context 面板及浏览器和侧边栏与 Context 命令,透视上下文组成、演进、压缩、剪枝等事件与动作。",
+ "description": "一站式 DeepSeek Harness 上下文可视化插件,Context 面板及浏览器和侧边栏与 Context 命令,透视上下文组成、演进、压缩、剪枝等事件与动作。 | The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details, understanding how the context is made of, and how it evolves.",
"repo": "https://github.com/bowenliang123/dsh-context",
"recommended": false,
"checked": false,
diff --git a/src/layout/components/setup-preinstall.tsx b/src/layout/components/setup-preinstall.tsx
index ff834492..cb3c5641 100644
--- a/src/layout/components/setup-preinstall.tsx
+++ b/src/layout/components/setup-preinstall.tsx
@@ -1,7 +1,7 @@
import type { IconComponent } from './loadable'
import type { PluginProcess } from '@/store/modules/plugins'
import type { PreinstallPlugin } from '@/store/modules/preinstall'
-import { ArrowUpRightFromSquare, ArrowUturnCcwLeft, Comments, Copy, Cubes3Overlap, Layers, LayoutSideContentLeft, PlugConnection, ShoppingCart, Sparkles, Xmark } from '@gravity-ui/icons'
+import { ArrowUpRightFromSquare, ArrowUturnCcwLeft, Comments, Copy, Cubes3Overlap, FileText, Gear, Layers, LayoutSideContentLeft, PlugConnection, ShoppingCart, Sparkles, Xmark } from '@gravity-ui/icons'
import { Button, Card, Checkbox, Chip, ScrollShadow, Spinner, Switch, Typography } from '@heroui/react'
import { useMount } from '@reause/core'
import { invoke } from '@tauri-apps/api/core'
@@ -54,6 +54,8 @@ const PLUGIN_ICONS: Record<string, IconComponent | undefined> = {
'dsh-better-sidebar': LayoutSideContentLeft,
'dsh-rewind-plugin': ArrowUturnCcwLeft,
'billion-context': Cubes3Overlap,
+ 'dsh-office-kit': FileText,
+ 'dsh-ops': Gear,
'@xmanrui/dsh-im': Comments,
'@changfenhuang/dsh-genui': Sparkles,
'dsh-context': Layers,
diff --git a/test/plugin-presets.test.ts b/test/plugin-presets.test.ts
index 6d2d6af3..10be28a4 100644
--- a/test/plugin-presets.test.ts
+++ b/test/plugin-presets.test.ts
@@ -38,6 +38,31 @@ describe('community plugin presets', () => {
expect(ids[ids.indexOf('dsh-office-kit') + 1]).toBe('dshmarket')
})
+ it('recommends DSH OPS without preselecting it immediately before DSH GenUI', () => {
+ expect(presets.filter(plugin => plugin.id === 'dsh-ops')).toMatchObject([
+ {
+ spec: 'dsh-ops',
+ name: 'DSH OPS',
+ repo: 'https://github.com/T-Auto/dsh-ops',
+ recommended: true,
+ checked: false,
+ version: 'latest',
+ },
+ ])
+ const ids = presets.map(plugin => plugin.id)
+ expect(ids[ids.indexOf('dsh-ops') + 1]).toBe('@changfenhuang/dsh-genui')
+ })
+
+ it.each([
+ ['@changfenhuang/dsh-genui', /^交互式界面插件/],
+ ['dsh-context', /^一站式 DeepSeek Harness 上下文可视化插件/],
+ ['billion-context', /^基本稳定可用。上下文压缩插件/],
+ ])('%s leads its description with Chinese', (id, prefix) => {
+ expect(presets.filter(plugin => plugin.id === id)).toMatchObject([
+ { description: expect.stringMatching(prefix) },
+ ])
+ })
+
it('keeps DSH Market unselected and ordered after Billion Context', () => {
const ids = presets.map(plugin => plugin.id)
expect(ids.indexOf('dshmarket')).toBeGreaterThan(ids.indexOf('billion-context'))
@@ -51,7 +76,7 @@ describe('community plugin presets', () => {
id: '@changfenhuang/dsh-genui',
spec: '@changfenhuang/dsh-genui',
name: 'DSH GenUI',
- description: 'GenUI for DeepSeek Harness: interactive UI components rendered inline in assistant replies via the dsh-ui fence — layout, charts, plots, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model. Ships the fence-teaching host plugin, the browser renderer (client half), and the genui skill.',
+ description: '交互式界面插件,通过 dsh-ui 代码块在助手回复中直接呈现布局、图表、绘图、表单、测验、Mermaid 和 3D 场景,并将交互事件回传模型。内含宿主插件、浏览器渲染器和 genui 技能。 | GenUI for DeepSeek Harness: interactive UI components rendered inline in assistant replies via the dsh-ui fence — layout, charts, plots, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model. Ships the fence-teaching host plugin, the browser renderer (client half), and the genui skill.',
repo: 'https://github.com/omdsh-dev/dsh-genui',
recommended: false,
checked: false,
@@ -61,13 +86,13 @@ describe('community plugin presets', () => {
id: 'dsh-context',
spec: 'dsh-context',
name: 'DSH Context',
- description: 'The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details, understanding how the context is made of, and how it evolves. 一站式 DeepSeek Harness 上下文可视化插件,Context 面板及浏览器和侧边栏与 Context 命令,透视上下文组成、演进、压缩、剪枝等事件与动作。',
+ description: '一站式 DeepSeek Harness 上下文可视化插件,Context 面板及浏览器和侧边栏与 Context 命令,透视上下文组成、演进、压缩、剪枝等事件与动作。 | The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details, understanding how the context is made of, and how it evolves.',
repo: 'https://github.com/bowenliang123/dsh-context',
recommended: false,
checked: false,
version: 'latest',
},
- ])('lists $id once as an optional preset with its GitHub About description', (expected) => {
+ ])('lists $id once as an optional preset with its Chinese-first bilingual description', (expected) => {
expect(presets.filter(plugin => plugin.id === expected.id)).toEqual([expected])
})
})