DeepSeek Harness Plugin

Skeltx/dsh-moduleapi

Stars ★ 0 Category Models & Providers Added 2026-11-27

Registers Module API (moduleapi.pro) as a model provider - one key, the full 26-model catalog (GPT, Claude, Gemini, DeepSeek, GLM, Grok), with reasoning levels and image input where the model supports it.

Install

# from a prebuilt release tarball

dsh plugin --profile web add -w "https://github.com/Skeltx/dsh-moduleapi/releases/download/v0.1.1/dsh-moduleapi-0.1.1.tgz"

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:Skeltx/dsh-moduleapi

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

Провайдер Module API (moduleapi.pro) для DeepSeek Harness. Модуль API — OpenAI-совместимый шлюз с одним ключом на все модели (DeepSeek, GPT, Claude, Gemini, Grok и др.).

Плагин активирует штатный мульти-провайдерный адаптер dsh-llm-pi-ai маршрутом moduleapi → https://moduleapi.pro/v1 (OpenAI Chat Completions). Ключ не хранится в конфиге — читается из credential store по референсу MODULEAPI_API_KEY.

Установка

Нужен установленный Node.js — всё остальное подтягивается автоматически.

cd %USERPROFILE%\.dsh\profiles\desktop

:: 1. прописать плагин в манифест профиля (зависимость + бандл):
node -e "const{readFileSync,writeFileSync}=require('fs');const m=JSON.parse(readFileSync('package.json','utf8'));m.dependencies=m.dependencies||{};m.dependencies['dsh-moduleapi']='github:Skeltx/dsh-moduleapi';m.dsh=m.dsh||{};m.dsh.profile=m.dsh.profile||{};m.dsh.profile.bundles=m.dsh.profile.bundles||[];if(!m.dsh.profile.bundles.includes('dsh-moduleapi'))m.dsh.profile.bundles.push('dsh-moduleapi');writeFileSync('package.json',JSON.stringify(m,null,2)+'\n');console.log('manifest ok')"

:: 2. установить пакет (pnpm подтянется через npx)
npx pnpm@latest install

:: 3. перезапустить DeepSeek Harness — готово.

После запуска в выборе модели появится провайдер Module API с пятью моделями.

Ключ

Два варианта:

  • GUI (рекомендуется): Settings → Models → карточка Module API → поле API key — ключ сохранится в credential store по референсу MODULEAPI_API_KEY.
  • Вручную: дописать в ~/.dsh/.credentials.yaml:
refs:
  MODULEAPI_API_KEY: sk-ВАШ_КЛЮЧ

CLI-клиент (без Harness)

client/moduleapi.py — автономный клиент на чистом Python:

python client\moduleapi.py check
python client\moduleapi.py ask "Привет" --model deepseek-v4-flash --stream

Модели (v0.1.1)

Все 26 моделей каталога ModuleAPI, включая:

id название мышление фото
deepseek-v4-flash DeepSeek V4.1 Flash off/low/medium/high/max ✅
deepseek-v4-pro DeepSeek V4.1 Pro off/low/medium/high/max —
gpt-5.4 … gpt-6.1-sol семейства GPT-5/6 minimal/low/medium/high ✅
gpt-oss-120b GPT-OSS 120B low/medium/high —
claude-sonnet-5 и др. Claude 7 моделей off/low/medium/high ✅
gemini-3.7-flash / 3.8-flash Gemini Flash off/low/high ✅
gemini-3.1-flash-image генерация картинок — (генерация)
glm-5.3 GLM 5.3 off/high —
grok-4.7 Grok 4.7 off/low/high ✅

Мышление (reasoningEfforts) и ввод картинок (input) указаны только там, где они реально есть у модели.

Удаление

Убрать dsh-moduleapi из dsh.profile.bundles и dependencies в %USERPROFILE%\.dsh\profiles\desktop\package.json, затем npx pnpm@latest install.

Roadmap

  • v0.2 — собственный адаптер со всеми 26 моделями Module API и пресетом агента по умолчанию.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.