DSH Connect CodeWay: Bridging Huawei Cloud's CodeWay Gateway as an OpenAI-Compatible Provider
dsh-connect-madao, maintained by XLNC-L, wraps the Huawei Cloud CodeArts Agent (Madao) gateway as a DSH model Provider. The plugin exposes an OpenAI-compatible /v1 endpoint locally, handling IAM STS token acquisition, SDK-HMAC-SHA256 request signing, P-256 key negotiation, and SM4-GCM encryption/decryption. On startup, it fetches approximately 12 models and updates cordis.patch.yml. It supports streaming reasoning_content, tool_calls, reasoning_effort, and image input on select models, and ships with a settings panel and a Madao status capsule. Installation is available via the DSH Plugin Marketplace, by adding the plugin (npm package name or github:XLNC-L/dsh-connect-madao), or by writing to the profile via pnpm. Credentials can be supplied through environment variables, an AK/SK credential file, or by borrowing the active Madao client login session. Before use, be mindful of constraints such as Madao service permissions, concurrent session limits, and the absence of a gateway check-in API.
Read More