DeepSeek Harness 插件

pollyreach-dsh-plugin

PollyReach phone-call tools and skill for DeepSeek Harness(英文原文)

跳到安装方式

来源信息

GitHub 仓库
PollyReach/pollyreach-dsh-plugin
最近更新
2026年8月18日
分类
工具与能力
GitHub stars
4
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/PollyReach/pollyreach-dsh-plugin
插件名:pollyreach-dsh-plugin
作者:PollyReach

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-pollyreach

A distributable DeepSeek Harness bundle for PollyReach. It registers seven native model-callable tools plus the PollyReach skill, and includes secure shell CLIs for manual use.

Included capabilities

  • Register and securely persist a PollyReach credential.
  • Complete account activation and retrieve the assigned phone number.
  • Submit outbound phone tasks and poll for full results.
  • Check credit balance without treating a zero balance as an invalid token.
  • Retrieve unread incoming-call data without flattening the API response.
  • Update the inbound answering prompt.

Requirements

  • Node.js 22.19 or newer.
  • DeepSeek Harness @deepseek-ai/dsh developer preview compatible with dsh-tools 0.0.1-rc.1.
  • curl and jq only if you use the optional shell scripts.

Install

Install a local checkout into an existing profile:

dsh plugin --profile demo add /absolute/path/to/pollyreach-dsh-plugin
dsh --profile demo --dump-config
dsh --profile demo

Install a packed release:

npm pack
dsh plugin --profile demo add ./dsh-pollyreach-1.0.3.tgz

After publishing to npm, users can install it with:

dsh plugin --profile demo add dsh-pollyreach@1.0.3

Remove it with:

dsh plugin --profile demo remove dsh-pollyreach

The bundle contributes cordis.patch.yml; users do not need to edit the generated profile manifest manually.

Native tools

ToolPurpose
pollyreach_registerRegister and atomically save a new credential
pollyreach_activation_statusCheck/poll activation and save the assigned number
pollyreach_send_callSubmit one outbound task
pollyreach_query_callPoll for the actual outbound result
pollyreach_balanceReturn the complete balance response
pollyreach_inbound_callsReturn unread incoming-call data
pollyreach_update_inbound_promptChange incoming-call behavior

The plugin also registers SKILL.md through ctx.skills, so the Harness skill catalog can load behavioral guidance on demand.

Configuration

Override defaults in the profile's cordis.patch.yml. Patch rows replace the whole config object, so include every value you want to preserve:

- id: pollyreach-tools
  name: dsh-pollyreach
  config:
    apiBaseUrl: https://api.pollyreach.ai
    credentialsPath: ~/.config/PollyReach/key.json
    source: openclaw
    requestTimeoutMs: 30000
    pollIntervalMs: 2000
    activationMaxAttempts: 60
    queryMaxAttempts: 300
    inboundMaxAttempts: 10

source defaults to openclaw because that is the current PollyReach device-registration API contract, even though the client runtime is DeepSeek Harness.

Credential security

The registration tool stores this shape at ~/.config/PollyReach/key.json:

{
  "token": "redacted",
  "agent_name": "my-agent",
  "activation_url": "https://agent.pollyreach.ai/auth?code=example",
  "ai_virtual_phone": null
}

The directory is created with restrictive permissions and the file is atomically written with mode 0600. The token is intentionally omitted from the registration tool result. Never commit the real file; examples/key.example.json contains placeholders only.

Optional shell CLI

The scripts are useful for diagnostics outside the model tool pipeline:

scripts/register.sh "Agent Name" "AI agent powered by DeepSeek Harness"
scripts/activation.sh
scripts/send.sh 'Call +1... and ask ...'
scripts/query.sh
scripts/balance.sh
scripts/inbound.sh
scripts/prompt_update.sh 'Answer professionally and take a detailed message.'

They read the same credential file automatically; tokens are never command-line arguments. Tests can override endpoints and paths with POLLYREACH_API_BASE_URL and POLLYREACH_CREDENTIALS_FILE.

Validate and package

npm install
npm run check
npm run pack:check

No real PollyReach account is required for tests; network calls are mocked. Before publishing, test the packed tarball against a disposable dsh profile:

npm pack
dsh plugin --profile pollyreach-smoke add ./dsh-pollyreach-1.0.3.tgz
dsh --profile pollyreach-smoke --dump-config

Compatibility note

This package targets the current DeepSeek Harness developer preview (@deepseek-ai/dsh 0.1.0-rc.7 and @deepseek-ai/dsh-tools 0.0.1-rc.1). Preview APIs may change; update and retest the pinned peer version before publishing a new release.

License

MIT