Arborsm/dsh-plugin-devin-bridge0

dsh-plugin-devin-bridge

Devin Connect 反代为 OpenAI Chat Completions 兼容协议的 dsh 插件,服务 glm-5.2 / swe-1.7。

AI Analysis

核心用于将 Devin 平台的能力接入到标准的 OpenAI 客户端中。适合需要调用 Devin 专属模型进行软件工程任务的用户。

Package
dsh-plugin-devin-bridge
Version
0.1.0
License
MIT
Last updated
Aug 19, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Arborsm/dsh-plugin-devin-bridge

Configuration

Edit cordis.patch.yml in the repository (or the copy installed in your profile) and fill in your Devin session token:

- insert:
    - id: devin-bridge
      name: dsh-plugin-devin-bridge
      config:
        baseUrl: "https://server.codeium.com"
        token: "devin-session-token$..."   # required
        model: "glm-5-2"                    # default model uid
        proxy: ""                           # optional outbound proxy
        forceHttp1: true                    # force HTTP/1.1 to Devin
        apiKey: ""                          # optional /v1/* access key
fieldrequireddescription
baseUrlyesDevin Connect endpoint, usually https://server.codeium.com.
tokenyesDevin session token, format devin-session-token$.
modelnoDefault model uid when the request does not specify one. Defaults to glm-5-2.
proxynoOutbound proxy URL. Supports http://, https://, socks5://, socks5h://.
forceHttp1noForce HTTP/1.1 to Devin. Defaults to true.
apiKeynoProtect /v1/* with Authorization: Bearer . Empty = no auth.

Usage

Once the profile is running, any OpenAI-compatible client works:

from openai import OpenAI
client = OpenAI(
    base_url="http://127.0.0.1:/v1",
    api_key="",
)
resp = client.chat.completions.create(
    model="glm-5-2",
    messages=[{"role": "user", "content": "Hello"}],
    stream=True,
)
for chunk in resp:
    print(chunk.choices[0].delta.content or "", end="")

List available models:

curl http://127.0.0.1:/v1/models \
  -H "Authorization: Bearer "