JSPM

moltbot-duckcoding-auth

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q35854F
  • License MIT

DuckCoding CodeX provider 插件(OpenClaw/Clawdbot)- 通过 DuckCoding API 访问 CodeX 模型

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (moltbot-duckcoding-auth) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    moltbot-duckcoding-auth

    npm version npm downloads license

    DuckCoding CodeX provider 插件,用于 OpenClaw / Clawdbot(原 Moltbot)。

    通过 DuckCoding API 访问 CodeX 模型。官网:https://duckcoding.com

    安装

    openclaw plugins install moltbot-duckcoding-auth

    或通过 npm 安装:

    npm install moltbot-duckcoding-auth

    启用插件:

    openclaw plugins enable moltbot-duckcoding-auth

    如果你使用 clawdbot,将命令中的 openclaw 替换为 clawdbot

    认证

    安装后使用 DuckCoding API Key 认证:

    openclaw models auth login --provider duckcoding --set-default

    请使用 CodeX专用(Droid/OpenClaw) 的 Key。

    支持的模型

    Provider Model ID 描述
    CodeX duckcoding/gpt-5.2-codex GPT 5.2 CodeX (400K context)

    使用

    # 使用默认模型(GPT 5.2 CodeX)
    openclaw agent --message "你好"
    
    # 指定模型
    openclaw agent --model duckcoding/gpt-5.2-codex --message "你好"
    
    # 查看可用模型
    openclaw models list | grep duckcoding

    环境变量

    也可以通过环境变量设置 API Key:

    export DUCKCODING_API_KEY=your-api-key

    License

    MIT