DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Deck — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@onetest/dsh-deck

Deck

DeepSeek Harness 的 Octodeck 演示文稿功能:演示文稿工具、实时预览服务器和演示文稿画布

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @onetest/dsh-deck@0.3.1
README兼容性版本

兼容性与来源证明

Deck 以 @onetest/dsh-deck 发布,当前版本为 0.3.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.3.1stable
2026/8/28
0.3.0stable
2026/8/28
0.2.2stable
2026/8/24
查看其余 3 个版本收起版本
0.2.1stable
2026/8/22
0.2.0stable
2026/8/22
0.1.0stable
2026/8/22

相关插件

正在加载相关插件…

最新版
0.3.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
3.7 MB
文件数
100
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
34
最近提交
2026/8/28
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 productivity-workflow 分类下经过校验的插件。

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Codex Ui@michengai/dsh-codex-uiDSH Codex UI — 为 DeepSeek Harness Web 提供 Codex 风格侧栏、工作区会话树、全局搜索和轮次导航Automation@michengai/dsh-automation在独立 DSH Session 中按计划执行编码任务,支持 Web 设置页与 Agent 双入口管理。

README

@onetest/dsh-deck

Render Octodeck presentation decks inside a DeepSeek Harness session. The model creates a deck, edits its slides as ordinary TypeScript, and the deck updates in the browser while you watch.

One package carries both halves. Its node half mounts the deck capability, a Vite preview server on the harness's own HTTP server, the deck_create / deck_view tools, and the export route; its dsh.client half ships the browser bundle that renders the deck card in the transcript and the floating canvas, with its theme switcher and export buttons. The harness's client scanner reads dsh.client independently of dsh.bundle, so a single Loader row contributes both — there is no second package to publish or keep in version lockstep.

Status

Developed against DeepSeek Harness 0.1.1-rc.2, and verified end to end in a real harness: installed into a profile, mounted by the loader, driven by a local model through Ollama, and rendering its deck on the canvas.

Requirements

  • Node ^22.19 || >=24
  • Nothing beyond the package. The Octodeck framework and themes are vendored into it at build time and resolved from inside the package, so an installed copy serves a deck as readily as this checkout does. Vendoring is a build step rather than a published dependency, so a copy built without it fails loudly at server start, naming the resolved path and the step that fills it.

Build

npm install
npm run build  --workspace @onetest/dsh-deck   # node half -> lib/, and vendors the framework
npm run bundle --workspace @onetest/dsh-deck   # browser half -> lib/client.js
npm run typecheck --workspace @onetest/dsh-deck
npm test --workspace @onetest/dsh-deck

build runs scripts/vendor-framework.mjs first, copying src/framework and src/themes from the repository root into vendor/src/. The preview server compiles those at request time, so they must be present — a package built without that step fails loudly at server start rather than serving a broken deck.

Install into a harness

npm run build  --workspace @onetest/dsh-deck   # node half + vendored framework
npm run bundle --workspace @onetest/dsh-deck   # browser half

dsh plugin --profile web add file:/path/to/octodeck/packages/dsh-deck
# append "@onetest/dsh-deck" to dsh.profile.bundles in $DSH_HOME/profiles/web/package.json
dsh --profile web

Ask for a deck in any session. The deck lands in the session's selected workspace under .deck/<name>/, and a compact row in the transcript opens it on the canvas. Nothing has to be selected first: the tools mount on the host plane, so they are in every session's catalog, and the guidance arrives as the bundled skill below.

Run the preview server directly

Useful for working on the plugin itself without a harness. It boots the real plugin code — the same mountPreviewRoute a harness would call — against an HTTP server whose upgrade dispatch matches the harness contract.

import { createServer } from 'node:http'
import { URL } from 'node:url'
import { resolveDeck } from '@onetest/dsh-deck/lib/definition.js'
import { scaffoldDeck } from '@onetest/dsh-deck/lib/octodeck/scaffold.js'
import { mountPreviewRoute } from '@onetest/dsh-deck/lib/host/preview-route.js'

const workspace = process.cwd()
await scaffoldDeck(resolveDeck({ name: 'launch' }, workspace))

const routes = []
const upgrades = new Map()
const ctx = {
  logger: console,
  effect(fn) {
    const result = fn()
    if (result instanceof Promise) result.then(dispose => routes.push(dispose))
    else routes.push(result)
  },
  webServer: {
    register(route) { routes.push(route); return () => {} },
    registerUpgrade(route) { upgrades.set(route.path, route.handler); return () => {} },
  },
}
mountPreviewRoute(ctx, { workspace, base: '/deck' })
await new Promise(resolve => setTimeout(resolve, 1500))

const page = routes.find(route => route && route.kind === 'prefix')
const server = createServer((req, res) => page.handler(req, res))
// The harness dispatches upgrades by exact pathname; mirror that or HMR will not connect.
server.on('upgrade', (req, socket, head) => {
  const handler = upgrades.get(new URL(req.url, 'http://x').pathname)
  if (handler) handler(req, socket, head)
  else socket.destroy()
})
server.listen(4599)

deck_create's returned route is the URL to open. Edit the deck's slides.ts and the browser updates without any tool call.

What a deck looks like

deck_create writes only deck-owned files into the workspace — the framework, the Vite config, and node_modules stay inside the plugin:

<selected workspace>/.deck/<name>/
  deck.json     title and theme
  slides.ts     the deck; edit this
  deck.css      deck-local styles

The workspace is the one the session selected, read from its session header per call — so one Host serves sessions rooted in different directories.

Slides are plain TypeScript, so the full framework is available:

import { TitleSlide, HeaderSlide, Bullets } from 'octodeck/framework'
import type { Slide } from 'octodeck/framework'

export const slides: Slide[] = [
  () => TitleSlide({ title: 'Q3 Review', subtitle: 'Revenue and roadmap' }),
  () => HeaderSlide({ title: 'Highlights' }, Bullets(['Up 40%', 'Two launches'])),
]

Tools the model sees

ToolArgumentsReturns
deck_createname (required, lowercase letters, digits, dashes), theme, titledeckId, directory, slidesPath, route, theme
deck_viewname (required)deckId, route, slideCount, theme

Themes: midnight (default), protocol, primer, radiant, commit, octo-glass.

Exporting a deck

The canvas header carries a theme switcher and an Export menu offering three formats. All three are produced without launching a browser: the deck is already rendering in one, so the canvas measures it in a hidden 1280×720 same-origin iframe and posts the measurements to the node half, which assembles the file.

FormatProduced byNeeds the canvas open
HTMLa Vite single-file build, server-sideno
PPTXmeasured slides → OOXMLyes
PDFmeasured slides → vector PDFyes

Each artifact is both written to <deck>/export/<name>-<theme>.<ext> and downloaded, so the model can reference the file on disk and you get it without a file hunt.

Export follows the theme the canvas is showing, not the one in deck.json. Switching themes in the header is preview-only — it never rewrites what the model authored — so you can compare all six and export whichever you prefer.

Which format renders faithfully where

macOSWindows
PDFfonts embedded, exactfonts embedded, exact
HTMLfonts inlined, exactfonts inlined, exact
PPTXfonts substitutedfonts embedded, exact

PowerPoint for Mac ignores embedded fonts entirely — a platform limitation, not an export defect. The file does carry them, and Windows PowerPoint uses them. Prefer PDF when the deck must look right on any machine.

The routes, if you want to drive them yourself, are GET {base}/@export/{key}/html?theme=&mode= and POST {base}/@export/{key}/{pptx|pdf} with a { raw, theme, mode } body. @export rather than export because export is a legal deck name and would otherwise shadow a real deck.

Configuration

The bundle's cordis patch sets one field, validated at load — a malformed value fails the plugin's fiber rather than passing silently:

- id: deck
  name: '@onetest/dsh-deck'
  config:
    base: /deck        # must be a non-empty string beginning with '/'

Bundled skill

The package ships one skill, octodeck-deck (assets/octodeck-deck.md), registered on ctx.skills from the host plane — so it lands in the global layer and reaches every session's catalog whatever preset that session composed. The model loads it when a deck task matches its description; a user can invoke it directly with /octodeck-deck.

The registration is optional: ctx.inject(['skills'], …) mounts that half only once a skill registry resolves, so a deployment without one still gets the deck tools. The body is read from the packaged asset on every load rather than captured at mount, which keeps an edited asset live in a development checkout without restarting the host.

The installed copy

Mounting also writes the skill to $DSH_HOME/skills/octodeck-deck/SKILL.md, so the guidance is a file you can read, edit, and override — the way the preset this replaced was a directory you could open. The copy is stamped with this package's name and version in its frontmatter, which is what decides the three cases:

FoundDone
nothinginstalled
this package's copy, older versionreplaced
this package's copy, this version or newerleft alone
a file this package did not writeleft alone

A skill of that name you authored yourself is never overwritten — it outranks a shipped one by intent, and losing it silently would be worse than shipping nothing. The write is never fatal either: the bundled provider above already serves the skill, so a home that cannot be written costs visibility rather than the capability, and the failure is logged.

Because the installed copy sits in a user root (rank 400) and the bundled provider is bundled (rank 600), the file wins while it exists — editing it is how you override the shipped guidance. Deleting it restores the packaged one at the next session.

The copy outlives the plugin. Uninstall the package and the file remains, describing deck_create and deck_view to sessions that no longer have them; delete it yourself. The preset this replaced had the same property.

This replaced a deck-creator agent preset. The preset put the same guidance in every session's system prompt, and to do so had to restate a composition — file tools, a shell — that the deployment's own preset already provides, silently dropping everything it did not restate (todos, plan mode, compaction, subagents). Skill guidance costs one catalog line until it is loaded, works in an ordinary session, and can be edited without recomposing one. If you copied the preset into $DSH_HOME/.agent-presets/deck-creator, delete it.

Known limitations

Registering the bundle is a manual step. dsh plugin --profile web add installs the package but does not add it to the profile's bundle list; append "@onetest/dsh-deck" to dsh.profile.bundles in $DSH_HOME/profiles/web/package.json yourself.

Updates are a page reload, not an in-place hot update. A deck's slides.ts is reached through a dynamic import() the transform pipeline does not rewrite, so it never enters Vite's hot-update graph and Vite reloads the page instead. The deck updates, but returns to slide 1 each time.

Deck files are written with node:fs directly, bypassing the harness's filesystem capability and its sandbox and approval policy. Every other file-writing tool in the harness goes through that seam.

Export is client-initiated; there is no deck_export tool. PPTX and PDF need the deck measured in a browser, and the server has no renderer of its own — that is the direct cost of exporting without shipping a headless browser. The model can read an exported file, but cannot produce one unattended.

PPTX fonts substitute on macOS. Embedded fonts in a .pptx are a Windows PowerPoint feature; see the table above.

Cabinet Grotesk is not bundled, so primer's display face falls back in exports. It is Fontshare-licensed and not redistributable here. Geist, Geist Mono, Inter, and Switzer are bundled and cover the other five themes.

PDF connector arrowheads are not drawn. Diagram nodes, connectors, and labels all export; the small arrow markers on connector ends do not.

dsh plugin add exits nonzero on a clean install. pnpm declines to run esbuild's build script (ERR_PNPM_IGNORED_BUILDS, pulled in through vite) and the CLI reports pnpm failed in profile directory. The install is fine — esbuild's prebuilt binary ships in its platform package — so the plugin works; only the exit code is misleading. Nothing in this package can suppress it: pnpm.onlyBuiltDependencies is declared by the consuming project, and the profile's package.json belongs to the harness.

Not built yet: headless slide capture. The design covers it as a later phase.

Publishing

npm run build  --workspace @onetest/dsh-deck
npm run bundle --workspace @onetest/dsh-deck
npm test       --workspace @onetest/dsh-deck

cd packages/dsh-deck
npm pack --dry-run          # inspect the payload before it leaves
npm publish                 # publishConfig.access is already "public"

Check the dry run lists all four of these, because each is something a consumer cannot work without and none is produced by tsc:

PathWhy it must ship
vendor/src/framework/**, vendor/src/themes/**The framework sources the preview server compiles. Absent, every deck fails to render.
runtime/**The deck host page and its entry module.
cordis.patch.ymlThe bundle patch; without it the package is not installable as a bundle.
assets/**The octodeck-deck skill body, read on every load and copied into $DSH_HOME/skills.
package.jsonRead at mount for the version stamped on the installed skill copy.

prepack re-runs the vendor step, so a publish from a clean checkout still carries the framework.

Publishing needs an authenticated npm session with rights to the @onetest scope (npm whoami should answer). Bump version first — npm refuses to overwrite a published version.

Design

docs/design/2026-08-21-deck-capability-and-canvas.md records the architecture, the alternatives that were rejected, and per-criterion acceptance status.

docs/design/2026-08-22-dsh-deck-handoff.md is the working handoff: what is proven versus assumed, the non-obvious constraints already discovered, and what was deliberately deferred. Read it before changing this package.