Arborsm/dsh-plugin-devin-bridge

Arborsm★ 1TypeScript最后同步: 2026-08-19

在 GitHub 打开

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

README 摘要

dsh-plugin-devin-bridge English 中文 A dsh LLM adapter plugin that bridges Devin's Connect RPC API into the dsh model provider system, enabling dsh's internal agent loop to use Devin-hosted models ( glm-5.2 , swe-1.7 , and any other model Devin exposes) as backends. How it works The plugin registers a devin provider route on ctx.llm via the dsh LLM seam ( LlmAdapter ). When dsh's agent loop routes a request to provider: devin , the adapter: 1. Translates dsh's GenerateOptions (messages, tools, system prompt, images) into Devin's GetChatMessageRequest protobuf 2. Streams the response from Devin's Connect RPC endpoint 3. Decodes each GetChatMessageResponse frame into dsh's StreamChunk protocol (text deltas, reasoning deltas, tool-call deltas, usage, finish) Installation Token resolution The adapter needs a Devin session token (format: devin-session-token$ ) to authenticate. It resolves the token in priority order: 1. Settings panel — set token in the dsh settings UI (marked as secret, auto-redacted in wire responses) 2. Entry config — config.token in the plugin composition 3. Devin CLI credentials — automatically read from credentials.toml created by devin auth login : - Windows: %APPD…

在 GitHub 查看完整 README →
工具/开发devindsh-pluginopenaiproxyagent

分类