dshbase

插件目录 / Developer / loongport-dsh

loongport-dsh

未验证 SailingLoong

✓ 持续维护 2 位贡献者 基于 13 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

2Stars
0Forks
0未关闭 issue
语言
2026-08-17最近推送
跨平台平台

功能简介

LoongPort npm setup CLI for DeepSeek Harness (dsh) OpenAI-compatible routes

我们的评价
未验证 — 尚未实测

LoongPort npm setup CLI for DeepSeek Harness (dsh) OpenAI-compatible routes 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

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
before changing the package and follow the release runbook
before publishing.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 loongport-dsh」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:SailingLoong/loongport-dsh

Headless(CLI)profile:

dsh plugin --profile headless add github:SailingLoong/loongport-dsh

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-26
备注:验证: install-fail 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7789 个插件 →