npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

openclaw-lumecoder-auth

v0.8.0

Published

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

Readme

openclaw-lumecoder-auth

npm version npm downloads license

Lumecoder provider 插件,用于 Clawdbot / OpenClaw

通过 Lumecoder API 访问 Gemini 模型(稳定、低延迟、适合 Agent / 长上下文场景)。

官网:https://lumecoder.com

本插件适用于 OpenClaw 生态,以下示例以 Clawdbot CLI 为例。如使用 OpenClaw,将命令中的 clawdbot 替换为 openclaw

特性

  • ✅ 支持 Gemini 2.5 / 3(Flash / Pro)
  • ✅ Gemini 1M+ 超长上下文窗口
  • ✅ OpenClaw / Clawdbot 原生 Provider
  • ✅ CLI / Session / Slash Command 全支持
  • ✅ 支持图像输入

快速开始

1. 安装 Clawdbot

curl -fsSL https://clawd.bot/install.sh | bash

安装过程中,选择模型时选择 Skip for now

2. 安装 Lumecoder 插件

# 安装插件
clawdbot plugins install openclaw-lumecoder-auth

# 启用插件
clawdbot plugins enable openclaw-lumecoder-auth

# 重启 gateway(插件启用后需要重启才会加载 provider)
clawdbot gateway restart

3. 配置 API Key

clawdbot models auth login --provider lumecoder

按提示输入你的 API Key(从 https://lumecoder.com 后台获取)。

4. 设置默认模型

clawdbot models set lumecoder-gemini/gemini-2.5-flash

5. 开始使用

clawdbot agent --local --session-id test -m "你好"

获取 API Key

  1. 访问 https://lumecoder.com
  2. 注册并登录账号
  3. 进入后台「API 密钥」菜单
  4. 创建新的 API Key(格式为 sk-...

支持的模型

Gemini 模型 (lumecoder-gemini/)

| Model ID | 描述 | 适用场景 | |----------|------|----------| | lumecoder-gemini/gemini-2.5-flash | Gemini 2.5 Flash (1M) | 快速响应、长上下文 | | lumecoder-gemini/gemini-3-pro-preview | Gemini 3 Pro Preview (2M) | 最强推理、超长上下文 |

切换模型

在会话中使用斜杠命令:

# 切换模型
/model lumecoder-gemini/gemini-2.5-flash

# 查看 lumecoder 所有模型
/models lumecoder-gemini

# 查看当前模型状态
/model status

或使用命令行:

# Gemini 2.5 Flash(快速响应、长上下文)
clawdbot models set lumecoder-gemini/gemini-2.5-flash

# Gemini 3 Pro(最强推理、超长上下文 2M)
clawdbot models set lumecoder-gemini/gemini-3-pro-preview

使用示例

# 使用默认模型
clawdbot agent --local --session-id myproject -m "分析这段代码"

# 切换到 Gemini 2.5 Flash(快速响应、长上下文)
clawdbot models set lumecoder-gemini/gemini-2.5-flash

# 切换到 Gemini 3 Pro(最强推理、超长上下文 2M)
clawdbot models set lumecoder-gemini/gemini-3-pro-preview

环境变量(可选)

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

export LUMECODER_API_KEY=sk-your-api-key

常见问题

插件未加载

确保插件已启用并重启 gateway:

clawdbot plugins list
clawdbot plugins enable openclaw-lumecoder-auth
clawdbot gateway restart

API Key 无效

重新配置 API Key:

clawdbot models auth login --provider lumecoder

查看配置

cat ~/.clawdbot/clawdbot.json | grep -A 10 lumecoder

详细安装教程

License

MIT


This is a community provider plugin, not officially affiliated with Google or OpenClaw.