DeepSeek Harness 插件

liwuzhan/agent-native-trade#dsh-plugin

Star 数 ★ 1 分类 工具与能力 收录于 2026-08-24

为模型原生交易提供目录检索、交易方联络、合同签名、结算协调、人工任务交接和签名评价回执工具。

安装

# Release 预构建包

dsh plugin --profile web add "https://github.com/liwuzhan/agent-native-trade/releases/latest/download/agent-trade-dsh-plugin.tgz"

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:liwuzhan/agent-native-trade#path:/packages/dsh-plugin

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

该插件的 README 只有英文版本。

This is the installable DeepSeek Harness bundle for the agent-native-trade protocol. It adds 23 catalog, contact, deal, event, receipt, settlement, and human-task tools plus one compact workflow skill to an existing DSH profile.

Install

Install the prebuilt release tarball into the profile you use:

dsh plugin --profile web add \
  https://github.com/liwuzhan/agent-native-trade/releases/latest/download/agent-trade-dsh-plugin.tgz

The package is self-contained: it does not need a repository checkout, AGENT_TRADE_REPO, a compiler, or an install-time build permission. Its local loopback maildrop works without an external account.

To use AgentMail instead, configure the DSH process environment:

export AGENT_TRADE_CONTACT_PROVIDER=agentmail
export AGENTMAIL_API_KEY=...
export AGENT_TRADE_CONTACT_INBOX_ID=...

Optional identity and storage settings:

export AGENT_TRADE_AGENT_ID=agent_buyer
export AGENT_TRADE_DATA_DIR="$HOME/.agent-trade/buyer"

Catalog discovery and receipt announcements default to the community indexer. Replace or disable that client default before starting DSH when needed:

export AGENT_TRADE_INDEXERS='https://deepcrop.site,https://another-indexer.example'
# export AGENT_TRADE_INDEXERS=''  # disable remote indexers

Secrets belong in the machine's environment or secret store, never in the profile patch, model prompt, repository, or trade artifacts.

Verify a local checkout

node packages/dsh-plugin/scripts/build-bundle.mjs
npm test --prefix integrations/deepseek-harness/plugin
cd packages/dsh-plugin
mkdir -p release
npm pack --pack-destination release
dsh plugin --profile agent-trade-smoke add \
  ./release/agent-trade-dsh-integration-0.2.1.tgz
dsh --profile agent-trade-smoke --dump-config

The dump must contain both agent-trade-tools and agent-trade-skills.

Compatibility

  • Node.js 24 or newer.
  • DeepSeek Harness versions compatible with @deepseek-ai/dsh-skill-filesystem 0.1.1 prereleases or 0.1.x stable.
  • The legacy buyer/seller preset installer remains supported; when it supplies AGENT_TRADE_REPO, the plugin uses the checkout daemon for development.

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。