goku54477/dsh-opencode-provider
goku54477★ 0TypeScript最后同步: 2026-08-20
Use OpenCode models, including free models, inside DeepSeek Harness without a separate provider API key.
README 摘要
dsh-opencode-provider Use models available through a local OpenCode server inside DeepSeek Harness without a DeepSeek API key. Architecture The adapter serializes the full DSH conversation (system prompt + messages) into a single prompt string, sends it to the OpenCode server, and translates the SSE event stream into DSH StreamChunk values. OpenCode runs its own internal agent/tool loop, so the adapter exposes text output only — structured DSH tool calling is not available. Verified Features - No API key required — connects to a local OpenCode server over plain HTTP - Streaming — text deltas are delivered as they arrive - Cancellation — abort signal tears down the SSE stream and interrupts the session - Timeouts — configurable SSE establishment (10 s), prompt admission (10 s), and terminal completion (120 s) limits - Retry policy — provider-level retry config forwarded to DSH runtime - Live SSE event formats — handles both legacy ( session.text.delta , session.execution.succeeded ) and current ( session.next.text.delta , session.next.step.ended ) event envelopes - Graceful fallback — unknown SSE events are skipped; non-JSON lines are ignored; data.wrapper envelopes are unwrapped de…
在 GitHub 查看完整 README →分类
🌊 The original agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
★ 68,716
volcengine/OpenVikingSelf-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
★ 31,761
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 23,757