dsh plugins中文
← Back to popular plugin directory

OpenCode Go plans to use readings docked in the editor

xv-chang/dsh-opencode-go-usage-dock · skills

DeepSeek Harness plugin: OpenCode Go plan usage readout docked under the composer, aligned with the input bar width.

★ 0GitHub stars
0Forks
2026-08-16Last updated
JavaScriptLanguage
MITLicense

Project overview

插件行 config 可调项: Key · 默认值 · 含义 Key: baseUrl · 默认值: https://opencode.ai/zen/go/v1/usage · 含义: 用量接口地址 Key: timeoutMs · 默认值: 15000 · 含义: 请求超时(毫秒) API Key 配置

仅从 DSH 凭据库 解析: $DSHHOME/.credentials.yaml 中的 OPENCODEGOAPIKEY(或环境变量)。

双端插件。Host 发布 opencodeUsage Typert Remote 服务;Client 挂载它、注册 conversation.composer.dock 槽位并渲染读数条。通信走 harness 的 /api RPC 通道。 文件 · 职责 文件: index.js · 职责: Host 半 — OpencodeUsageGateway(TypertRemoteService,服务键 opencodeUsage) 文件: typert.host.js · 职责: 手写 Typert host manifest,通过 exports["./typert"] 注册 文件: client.js · 职责: window.ModuleLoader.load 格式浏览器 bundle — 挂载 Remote、注册 dock 槽位、渲染读数条 文件: package.json · 职责: 双面声明:main + exports["./client"] + exports["./typert"] + dsh.client + dsh.bundle 用量接口

Install command

dsh plugin --profile web add github:xv-chang/dsh-opencode-go-usage-dock
View GitHub repository ↗Back to popular plugin directory