跳过主要内容
L

dsh-plugin (dsh-caveman)

lornatang/dsh-plugin/packages/workflow/dsh-caveman

为 DeepSeek Harness 提供 Caveman 技能与工具:响应风格、可恢复的工具结果压缩、模型路由、浏览器工具和委派。

安装

dsh plugin --profile web add github:lornatang/dsh-plugin

该插件位于仓库的 packages/workflow/dsh-caveman 子路径下。

README

DeepSeek Harness plugins

This repository contains seven independently installable DeepSeek Harness bundles. Install a bundle with dsh plugin --profile web add <package> and restart that profile.

Pluginnpm package
Atlassian@lornatang/dsh-atlassian
GitHub@lornatang/dsh-github
Notion@lornatang/dsh-notion
Frontgate@lornatang/dsh-frontgate
Codex Security@lornatang/dsh-codex-security
Security Audit@lornatang/dsh-security-audit
Caveman@lornatang/dsh-caveman

Develop a plugin

Each directory under packages/<group>/<plugin>/ contains the plugin's package.json, Cordis patches, and its own npm lockfile. Run the package commands from its directory with Node.js 22.19 or newer.

cd packages/integrations/dsh-notion
npm ci
npm run typecheck
npm test
npm pack

Install the resulting tarball into a test profile with dsh plugin --profile web add ./<filename>.tgz. For a Caveman source build without a matching GitHub Release, set DSH_CAVEMAN_LEARN_BINARY to a locally built analyzer before testing session analysis.

Release a plugin

  1. Update the plugin's version in its package.json and package-lock.json, and update its changelog.
  2. After the change reaches main, push a tag using <plugin>-v<version>, for example dsh-notion-v0.1.12.
  3. The release workflow tests and packs that plugin, then attaches its npm tarball to the corresponding GitHub Release. Caveman releases also build all six analyzer binaries and package their checksums.

To enable npm publishing, authorize Lornatang/dsh-plugin and release.yml as the trusted publisher for the npm packages, then set the GitHub Actions repository variable PUBLISH_TO_NPM to true. Stable versions publish to latest, and prereleases publish to next.

相关插件