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 и пресетом агента по умолчанию.
Links
More in this category
Ebony-Vinyl/dsh-our-free-model★ 89228
Adds free model lanes to DeepSeek Harness — DeepSeek V4.1 Flash, Kimi K3 and others — with no login, sign-up or API key, plus a local OpenAI-compatible gateway, fallback routing and a usage dashboard.
dingminhua/dsh-connect-workbuddy★ 2083
Connects locally signed-in WorkBuddy models, CN and international alike, to DSH, reading each model's credit multiplier from the upstream catalog on every refresh, with per-model image input toggles, account switching backed by an auto-failing-over pool, manual daily check-in, and read-only credit overviews shown as compact pills on the card and in the composer.
Alice-Marx/dsh-model-router★ 1023
Routes DeepSeek Harness work across configured model APIs and supported vendor CLIs with dependency-aware packages and cost previews.
V1ki/dsh-plugin-subscriptions★ 644
Use ChatGPT (Codex), Claude, and Grok subscriptions as DeepSeek Harness LLM providers, with Settings login, model catalogs, usage, plus image_generate, video_generate, and x_search tools.
XDTrees/dsh-workbuddy-xdpool★ 631
Merge every locally signed-in WorkBuddy account into DeepSeek Harness as one auto-failing-over model pool (multi-account rotation, live credits, and a model catalog showing per-model credit multipliers and free/night-discount tags).
XDTrees/dsh-xdpool★ 631
Merge every locally signed-in WorkBuddy account into DeepSeek Harness as one auto-failing-over model pool: multi-account rotation, 429 cooldowns, live credits, a model catalog with per-model credit multipliers and free/night-discount tags, QR-code login for 13 vendors, and aggregate free-tier channels. Accounts persist across restarts.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.