DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-role-cards

w

dsh-role-cards

Manifest valid

DSH Web Plugin: Role Card + Workspace Card Selector on the New Session UI (Frosted-Glass Card Wall / Horizontal Scroll / Role Theme Colors / Entrance Animations)

UI (client)hasBundlePatch

dsh-role-cards

DSH Web 插件:新建会话界面(hero)的组合角色卡 + 工作区卡选择器。

折叠时是一排小胶囊按钮(🎭 角色 / 📂 工作区);展开时是两行紧凑卡片(角色预设、 系统预设,然后工作区),支持悬停展开详情、滚轮切换、点击选择。

结构

  • src/client/ComboPanel.tsx — 组合面板组件(角色卡 + 工作区卡)
  • src/client/index.ts — 客户端插件入口:注册两个 hero slot
  • src/index.ts — host half(空 apply 占位)
  • src/invariant.ts — invariant 伴随插件
  • lib/ — tsdown 构建产物(lib/client.js 是浏览器 bundle)
  • cordis.patch.yml — bundle patch(profile boot 挂载)
  • tsdown.config.ts — 独立 tsdown 配置(node half + client half)

安装

在 ~/.dsh/profiles/web/package.json:

"dependencies": {
  "dsh-role-cards": "link:D://projects//ds//dsh-role-cards"
}

并把 "dsh-role-cards" 加入 dsh.profile.bundles,然后重启:

pnpm dsh web

构建

pnpm install   # 安装 tsdown / react 等 devDependencies
pnpm build     # tsdown 产出 lib/(index.js + invariant.js + client.js)

也可以直接用 harness 仓库里的 tsdown(无需本地 node_modules):

node D:\projects\ds\deepseek-harness\node_modules\.bin\tsdown.cmd

说明

  • 客户端注册 conversation.hero.agentPreset(渲染 null,顶掉官方 chip)与 conversation.hero.workspace(渲染 ComboPanel);不传 priority,由 client-runner facade 自动分配更低优先级从而胜出。
  • 角色卡显示预设 id 属于 ROLE_IDS(nekomode / luna / akane / rin / mei)时 使用 ROLE_META 的 emoji + tag;其余预设归入「系统模式 / 自定义」系统卡片。
  • 「添加工作区」按钮需要 pickDirectory 注入才可用(当前版本未注入,保持禁用)。

Comments

Loading…

Similar plugins

dsh-cosplay

by liceses

DSH 角色扮演插件:角色卡(系统提示词注入 + 用户提示词改写)、可分享的单文件卡包、复刻原版 UI 的角色页签与首轮选角 chip

Just for FunManifest valid

★ 4

↓ 1.9k/wk

NOASSERTION

TypeScript

Oct 10, 2026

dsh plugin --profile web add dsh-cosplay

by anneqaq

DSH 插件:把模型编写的 SVG/HTML 片段渲染成对话中的内联可视化卡片(图表、流程图、时间线、对比表格),沙箱隔离、无网络、无依赖

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 17, 2026

dsh plugin --profile web add dsh-widget

by linke-e

DeepSeek Harness Web 的开场动画插件:每次 dsh web 页面加载时,在全屏遮罩上播放你选择的开场内容——图片动画或视频——结束后以可配置的过渡效果把画面交还主界面。

Manifest valid

★ 0

MIT

TypeScript

Oct 26, 2026

dsh plugin --profile web add dsh-opening-animation

by chinosk6

Deepseek Harness 角色扮演插件 Role-play conversations, character-card authoring and image generation for DeepSeek Harness

Just for FunManifest valid

★ 24

↓ 593/wk

MIT

TypeScript

Oct 17, 2026

dsh plugin --profile web add dsh-roleplay

by liceses

DSH 插件:把工作区里写好的 HTML 页展示在对话里,并让用户在页面上的表态快速回到 agent 手里。含四套预设样式。

Manifest valid

★ 4

MIT

JavaScript

Nov 2, 2026

dsh plugin --profile web add dsh-showme-html

by suis077

DSH 插件:人设卡 + 跨会话记忆 + 好感度,让 AI 角色在多轮对话里逐渐成长

Manifest valid

★ 0

MIT

JavaScript

Oct 18, 2026

dsh plugin --profile web add dsh-companion