편집자 노트

SailingLoong/loongport-dsh

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

이것은 DeepSeek Harness(DSH) 플러그인입니다. 이 사이트는 GitHub README, 설치 정보, 유지보수 상태, 공개 보안 시그널을 모아 보여줍니다.

업스트림에서 중국어 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

REPOSITORY SIGNALS

보안 및 설치 증거

이 점수는 공개 저장소 메타데이터와 이 사이트에 등록된 설치 증거에만 기반하며, 코드 보안 감사와 다릅니다.

출처 추적 가능

공개 플러그인 카탈로그에서 왔으며, 공개 GitHub 저장소로 연결됩니다.

라이선스

저장소가 MIT 라이선스를 선언했습니다.

유지보수 활동

최근 180일 내 코드 업데이트가 있습니다.

설치 증거

재현 가능한 정확한 설치 메타데이터가 아직 등록되지 않았습니다. 저장소 설명에 따라 직접 확인하세요.

설치 라이프사이클 스크립트

검사한 패키지 메타데이터에 설치 라이프사이클 스크립트가 선언되지 않았습니다.