DeepSeek Harness Plugin

FengHuoLinShan/novelAssist-dsh#novelcraft-dsh

Stars ★ 1 Downloads (30d) 1,060 Category Workflow & Automation Added 2026-09-19 npm novelcraft-dsh

Long-form novel writing plugin: each book is a git repository of frontmatter files, with 39 DSH domain tools and a web writing UI. Deep import drafts candidates, AI adoption into canonical assets requires DSH approval, and deterministic continuity checks ship with a report-only benchmark. Independent open source (MIT), not an official DeepSeek product; requires Node >= 24.11.0 and currently targets DSH 0.1.2-rc.1.

Install

# from npm (prebuilt)

dsh plugin --profile web add novelcraft-dsh

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:FengHuoLinShan/novelAssist-dsh#path:/plugin

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

NovelCraft 的 DSH 官方 bundle 形态:单个包同时安装宿主插件、39 个领域工具、认证 Connection RPC 和 Web 写作界面。

当前版本针对 DSH 0.1.2-rc.1,不修改 DSH 安装包。

DSH 安装请显式选择 @deepseek-ai/dsh@0.1.2-rc.1;不要使用仍指向旧版本的 npm latest 标签。

安装

dsh plugin --profile web add novelcraft-dsh
dsh --profile web

默认 Vault 目录是 ~/Novels,默认不启用低频巡检与 BGE 嵌入。模型密钥只通过 DSH credentials 管理,不进入 Vault 或插件配置。

配置

在 $DSH_HOME/profiles/web/cordis.patch.yml 中按 novelcraft 行覆盖配置;DSH patch 会整体替换 config,因此需完整重述保留的字段。

- update:
    - id: novelcraft
      config:
        llm:
          provider: deepseek
          model: deepseek-v4-flash
        vaultsDir: ~/Novels
        watch:
          enabled: false
          intervalMinutes: 60

卸载

dsh plugin --profile web remove novelcraft-dsh

源码验收

npm run pack:plugin 构建并检查 tarball。npm run smoke:plugin 接收 DSH_BIN、 PLUGIN_TARBALL 和全新或空的 DSH_HOME,经官方 CLI 安装并验证 Web/client/RPC;CI 使用 独立的 DSH rc.1 runtime,不访问真实 Vault 或模型密钥。

源码、安全边界和完整文档:https://github.com/FengHuoLinShan/novelAssist-dsh

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.