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

@descartes_1/debox

v1.0.8

Published

DeBox 的 OpenClaw channel plugin(channel id: `debox`)。

Readme

debox-openclaw-plugin

DeBox 的 OpenClaw channel plugin(channel id: debox)。

目标是提供更原生、更稳定的 gateway 接入版本:

  • 使用 channels["debox"] 账户配置模型
  • 通过 gateway.startAccount 托管生命周期
  • 用 DeBox Bot API 长轮询收消息
  • 通过 OpenClaw gateway 原生消息管线处理消息
  • 支持 OpenClaw 主动发消息到 DeBox
  • 按会话串行处理,降低重复回复和乱序风险

目录

  • index.ts: OpenClaw 插件入口
  • src/channel.ts: channel plugin 定义
  • src/gateway.ts: 轮询、去重、排队、接入 OpenClaw reply dispatcher
  • src/outbound.ts: 主动发消息
  • src/debox-sdk/*: 从现有 debox_plugin 整理出的 DeBox SDK
  • skills/debox-cron/SKILL.md: DeBox 定时提醒技能(cron 调度 + 正确投递参数)
  • skills/debox-message/SKILL.md: DeBox 文本消息投递技能(目标地址与能力边界)

配置

推荐放在 ~/.openclaw/openclaw.json:

{
  "channels": {
    "debox": {
      "enabled": true,
      "token": "YOUR_DEBOX_BOT_TOKEN",
      "apiHost": "https://open.debox.pro",
      "timeout": 30,
      "pollIntervalMs": 500,
      "maxProcessingTimeMs": 60000
    }
  }
}

也支持命名账户:

{
  "channels": {
    "debox": {
      "accounts": {
        "work": {
          "enabled": true,
          "token": "YOUR_DEBOX_BOT_TOKEN"
        }
      }
    }
  }
}

OpenClaw 处理链路

插件通过 runtime 的 channel.reply.dispatchReplyWithBufferedBlockDispatcher 进入 OpenClaw 原生处理链路,插件内不再维护独立 /v1/responses 调用分支。

安装

在插件目录执行:

npm install
npm run build
openclaw plugins install .
openclaw channels add --channel debox --token "YOUR_DEBOX_BOT_TOKEN"

发布到 npm 市场

发布步骤见 PUBLISH.md

快速发布命令:

./publishnpm.sh

与旧版 debox_plugin 的差异

  • 配置模型统一为 channels.debox 账户结构,不再混用 channelsplugins.entries
  • 生命周期走 OpenClaw channel gateway,而不是在入口里自行拼路由和全局状态
  • 轮询加入 update 去重、错误退避、按 chat 串行队列
  • 主动发送走 channel outbound,而不是只支持入站轮询回复
  • 文档和目录结构可直接继续迭代