DSH Plugins Marketplace

DSH Plugins

Plugins

/

Security & Audit

/

dsh-llm-motomoto

H

dsh-llm-motomoto

Manifest valid

DeepSeek Harness bundle for MotoMoto's OpenAI-compatible endpoint: pi-ai provider route + Settings status card

UI (client)hasBundlePatch

dsh-llm-motomoto

A DeepSeek Harness bundle that adds MotoMoto to the model selector through the built-in llm-pi-ai adapter, plus a status card in Settings - Plugins modelled on the AgentRouter bundle.

The relay is Codex-only

Probing settled three facts, and the bundle is built around them:

ProbeResult
POST /v1/chat/completions (any User-Agent)Hangs — the path is not wired
POST /v1/responses + harness User-AgentRejected: bad_response_status_code / openai_error
POST /v1/responses + Codex CLI User-AgentStreams: response.created ...

So the route speaks api: openai-responses, and the runtime half fences globalThis.fetch to give relay requests the Codex client identity:

  • User-Agent is rewritten to the Codex CLI value (default codex_cli_rs/0.46.0 (Windows 10.0.26200; x86_64) WindowsTerminal) — the harness's own attribution header cannot be suppressed any other way: the pi-ai adapter strips configured headers colliding with it before appending its own.
  • originator: codex_cli_rs is added, matching the official client.
  • Request-body fields the Codex backend rejects are deleted from JSON bodies (default strip list: max_output_tokens — the official client never sends it, and the backend answers 400 Unsupported parameter otherwise). The list is the stripBodyParams setting: the next upstream complaint is a settings edit, not a release.
  • Requests to every other host pass through untouched; unloading the plugin restores the replaced fetch.

An upstream server_is_overloaded / 502 Upstream service temporarily unavailable is the relay's OpenAI pool being briefly busy — retry.

How the layers compose

dsh-settings resolves the llm-pi-ai section as mergeLayers(base, user): this bundle's patch is the base, the llm-pi-ai: section of ~/.dsh/settings.yaml merges over it — objects merge per key, arrays replace wholesale. A route you edit in the models settings page therefore wins field by field, while a fresh install still serves the default route before any user configuration exists.

The default route:

  • Base URL: https://motomoto.lol/v1 (OpenAI Responses API)
  • Model: gpt-5.6-terra (text input; low/medium/high reasoning efforts)
  • Credential reference: MOTOMOTO_API_KEY
  • Context window: 262,144

Route compat notes: the Responses protocol takes only supportsDeveloperRole, supportsStrictMode, supportsLongCacheRetention — completions-only keys (thinkingFormat, supportsReasoningEffort, chatTemplateKwargs, ...) on the same route crash the whole adapter at load.

Where to look after installing

  1. Model picker — the MotoMoto group.
  2. Settings - Plugins — the "MotoMoto" status card, reporting the live route (group, endpoint, credential reference, models).

Security notice

The API key is never stored in this package. Provide it as the MOTOMOTO_API_KEY credential.

Install from this source directory

git clone https://github.com/HandsYe/dsh-llm-motomoto
dsh plugin --profile desktop add "file:<克隆下来的仓库路径>"

Then fully restart the desktop app. Verify the load:

Select-String -Path "$env:APPDATA\DSH Desktop\logs\dsh-*.log" -Pattern 'llm-motomoto' | Select-Object -Last 5

Test

npm install
npm test

18 offline checks: patch shape, manifest, secret scan, the client bundle's registration and rendering, and the fence's identity rewrite, body strip, and unload behavior.

Uninstall

dsh plugin --profile desktop remove dsh-llm-motomoto

Comments

Loading…

Similar plugins

dsh-model-probe

by xiaomao49

DeepSeek Harness plugin to audit and correct llm-pi-ai model capability declarations by probing the endpoint itself: out-of-range maxTokens, contextWindow, reasoning levels, image input.

Development & InfrastructureModels & ProvidersManifest valid

★ 0

MIT

JavaScript

Sep 14, 2026

dsh plugin --profile web add dsh-model-probe

by Retr67

DeepSeek Harness (DSH) plugin: one-click OpenCode Go model sync in the settings panel - fetch all server models, probe availability & vision, write back to llm-pi-ai config

Manifest valid

★ 4

MIT

JavaScript

Oct 27, 2026

dsh plugin --profile web add dsh-opencode-models

by pigman18

Exposes every model of every provider configured in DeepSeek Harness through one OpenAI-compatible endpoint on a fixed loopback port, with a sidebar page for the base URL, key, port and model ids.

Models & ProvidersManifest valid

★ 0

MIT

JavaScript

Nov 13, 2026

dsh plugin --profile web add dsh-openai-gateway

by Skeltx

Module API provider (moduleapi.pro) for DeepSeek Harness - one key, all models. Activates the built-in llm-pi-ai adapter with a moduleapi route.

Manifest valid

★ 0

MIT

Python

Nov 16, 2026

dsh plugin --profile web add dsh-moduleapi

by dingyiliao

Provider-card OAuth controls and fallback commands for DeepSeek Harness pi-ai

Terminal & ClientsManifest valid

★ 0

MIT

TypeScript

Nov 3, 2026

dsh plugin --profile web add @dingyiliao/dsh-pi-ai-auth

by imchangchang

dsh LLM provider plugin: self-maintained pi-ai bridge, model selector, provider quota/billing and settings UI for DeepSeek Harness

Development & InfrastructureManifest valid

★ 1

MIT

TypeScript

Oct 1, 2026

dsh plugin --profile web add @dsh-one/dsh-llm-provider