跳到主要内容
    ↑↓ 选择↵ 打开esc 关闭
    中文English
    ugur-murat-alt

    2 Cmdc

    v0.1.0工具与命令
    opencode2-cmdc

    OpenCode V2 plugin that starts a local Command Code Go subscription bridge.

    GitHub 星标

    0

    月装机量

    127

    近 7 天 127

    综合评分SCORE

    32.9

    生态多维模型

    最近提交

    4 天前

    2026-08-15

    快速安装与配置

    opencode.json

    写入当前项目的 opencode.json,只对这个仓库生效。

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["opencode2-cmdc@0.1.0"]
    }

    opencode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。

    OpenCode V2 plugin for a Command Code Go subscription.

    The plugin starts a loopback-only OpenAI-compatible bridge at http://127.0.0.1:8788/v1. It reads Command Code authentication at runtime from the existing Command Code login; it does not write credentials or alter other OpenCode providers or models.

    Authenticate with Command Code first:

    cmd login
    

    The bridge is derived from the MIT-licensed hermes-commandcode-provider project and supports its Command Code model/event protocol.

    OpenCode setup

    OpenCode V2's current plugin catalog API does not create new provider/model records at runtime. Install this plugin normally, then register the bridge as an OpenAI-compatible commandcode provider in your OpenCode provider config. This plugin never rewrites an existing provider, model, or default model.