dsh-persona-dafeiyu
Persona library plugin for DeepSeek Harness: built-in personas, import your own, switch without restart.
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Badge for your README
Markdown
[](/listings/huaizhuanghub--dsh-persona-dafeiyu)HTML
<a href="/listings/huaizhuanghub--dsh-persona-dafeiyu"><img src="/api/listings/huaizhuanghub--dsh-persona-dafeiyu/badge.svg" alt="findsafeskills safety rating" /></a>Install
Install instructions from the README
As written by the repo's author. findsafeskills has not verified these steps.
前置条件
- Node.js ≥ 20 - DSH `0.2.0-rc.2`(兼容性见文末)
方式 A:从 npm 安装(推荐)
本包已发布到 npm,**不需要克隆仓库、不需要构建**。
**界面上装**:侧边栏 → **插件** → **添加插件** → 输入包名:
dsh-persona-dafeiyu
**命令行装**:
dsh plugin --profile <profile> add dsh-persona-dafeiyu
`<profile>` 换成你自己的 profile 名。DSH 随安装自带的模板只有 `acp` / `web` / `headless` / `sdk` / `sdk-minimal`,你自己建的那个叫什么就用什么。
> 本包是纯 JavaScript、**没有构建脚本**,所以不会触发 pnpm 的「允许运行构建脚本」提示—— > 输入包名即可装好,这是最省事的方式。
方式 B:从源码目录安装(改代码时用)
git clone https://github.com/huaizhuanghub/dsh-persona-dafeiyu.git cd dsh-persona-dafeiyu (Get-Location).Path
最后一行打印的绝对路径,下面安装命令要用到。然后:
dsh plugin --profile <profile> add "<本仓库绝对路径>"
或者在插件页「添加插件」里填这个绝对路径。
本包**没有运行时依赖**(`@deepseek-ai/*` 全是 optional peer,由 DSH 运行时提供), 所以克隆后不需要 `npm install` 就能直接跑自检。
两种方式都会把本包写进 profile 的 `dsh.profile.bundles`。
生效时机与「免重启」的边界
- **切换人设不需要重启**:那是运行中的插件按需重算段落文本,下一个请求立即生效。 - 但**插件代码本身**(`lib/index.js` / `lib/client.js`)更新后,要让宿主与浏览器拿到新版本, 仍需**重启 DeepSeek Harness**(客户端 bundle 至少要刷新页面)。这是加载机制,不是人设切换。
安装位置提醒
本地目录安装是 `link:`(pnpm 建软链接指向本目录),所以**别把本目录删掉**再重启。 想彻底自包含,可以先 `npm pack` 出 tgz 再安装。
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.