DeepSeek Harness 插件

loongport-dsh

LoongPort DeepSeek Harness (dsh) Cordis bundle and setup CLI(英文原文)

跳到安装方式

来源信息

GitHub 仓库
SailingLoong/loongport-dsh
最近更新
2026年8月17日
分类
界面增强
GitHub stars
2
载体类型
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/SailingLoong/loongport-dsh
插件名:loongport-dsh
作者:SailingLoong

检查来源文件

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

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

loongport

loongport is a DeepSeek Harness (DSH) Cordis bundle for verified LoongPort OpenAI-compatible providers. It also includes an advanced CLI for custom endpoints.

Install in DeepSeek Harness

Install the public package into the DSH profile you use:

dsh plugin --profile <profile> add loongport

Open Settings → LoongPort in DSH, then:

1. Select a verified provider. The default is DeepSeek's official API at https://api.deepseek.com/v1; BestAPI (https://api.bestapi.store/v1) is the verified relay option. 2. If you need an account, use the provider's Register or Sign in link. It opens the provider's own website in your browser. 3. Generate an API key with the provider and paste it into the dialog. 4. Select deepseek-v4-flash or deepseek-v4-pro, then save.

The signed LoongPort directory is the authority for provider identity, URLs, available models, and any published invitation code. VeriDrop data, when shown, is only a display-only health observation and cannot change provider configuration. DSH credentials store API keys; the Settings page only retains whether a key is configured.

Version 0.2.0 does not automate browser authorization, collect browser sessions, or access cookies/local storage. Registration/login and API-key creation remain on the provider's site.

Advanced custom endpoint

For a manually supplied OpenAI-compatible endpoint, run the CLI directly:

LOONGPORT_API_KEY='your-api-key' npx loongport dsh setup \
  --base-url https://relay.example.com/v1 \
  --model model-id \
  --write

The API key is read only from LOONGPORT_API_KEY; never place it in a command argument. You can repeat --model to register more than one model.

By default, the command performs a dry run. Add --write to update DSH's configuration. It uses $DSH_HOME when set, otherwise ~/.dsh, and writes:

  • settings.yaml: one selected llm-pi-ai.providers.<route> entry
  • .credentials.yaml: the selected credential name and API key (owner-only)

Other DSH settings, provider routes, and credentials are preserved. The command uses DSH's built-in llm-pi-ai transport; it does not implement its own streaming, retries, or tool calls.

Options

--base-url <url>              OpenAI-compatible HTTP(S) endpoint (required)
--model <id>                  Model to expose; repeat for multiple models (required)
--route <name>                DSH provider route (default: loongport)
--credential-name <name>      DSH credential key (default: LOONGPORT_API_KEY)
--write                       Apply changes; omitted means dry run

The CLI remains an explicit advanced path. It supports manually provisioned OpenAI-compatible endpoints, but does not automate third-party browser login, relay discovery, desktop-app bridging, or automatic tier switching.

Maintainers

Agents and maintainers should read the [agent guide](docs/maintainers/agent-guide.md) before changing the package and follow the [release runbook](docs/maintainers/releasing.md) before publishing.

License

[MIT](LICENSE)