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

traeclaw

v0.3.0

Published

OpenClaw plugin that delegates IDE tasks to a local TraeClaw instance.

Readme

OpenClaw Trae 插件

中文 | English

这个插件让 OpenClaw 可以通过 TraeClaw 调用本地 Trae 桌面端,把 Trae 当作一个 IDE 工具使用。

目标链路:

OpenClaw -> trae_delegate -> TraeClaw -> Trae 桌面端

这不是模型提供方接入。OpenClaw 继续使用自己的 LLM,这个插件只负责把 IDE 工作委托给 Trae。

持续更新版安装

如果你希望后续通过 OpenClaw 直接收插件更新,优先用 npm 安装版:

openclaw plugins install traeclaw
openclaw plugins enable trae-ide

后续发布新版本后,用户更新:

openclaw plugins update trae-ide

注意:

  • npm 包内已经包含完整 TraeClaw runtime
  • 用户执行 openclaw plugins update trae-ide 时,插件和网关能力会一起更新
  • 如果启用 autoStart,插件会优先拉起包内自带的 quickstart 入口,不需要额外本地仓库

暴露的工具

  • trae_status
  • trae_new_chat
  • trae_delegate

斜杠命令

  • /Trae <任务>
  • /Trae process <任务>

在 OpenClaw 对话输入框里直接输入 /Trae,插件会:

  1. 自动确保 TraeClaw 已启动
  2. 新建一个 Trae 对话
  3. 把你在 /Trae 后面的任务直接交给 Trae 执行
  4. 默认只把 Trae 的最终回复回传到 OpenClaw

如果你需要把过程信息也一起回传,再用:

  • /Trae process <任务>

例如:

/Trae 分析当前仓库,并实现缺失的登录错误提示
/Trae process 分析当前仓库,并把执行过程也一起返回

推荐接入方式

  1. 先启动 TraeClaw。
    • Windows:start-traeapi.cmd
    • macOS:start-traeapi.command
  2. 在 OpenClaw 中从本地路径加载本插件。
  3. tools.alsoAllow 放行插件工具。
  4. 重启 OpenClaw Gateway。
  5. 让 OpenClaw 调用 trae_statustrae_new_chattrae_delegate

如果启用了 autoStart,插件会优先使用仓库自带的 quickstart 启动入口:

  • Windows:start-traeapi.cmd
  • macOS:start-traeapi.command

相关文档:

示例配置

关键注意点

请使用:

  • tools.alsoAllow
  • agents.list[].tools.alsoAllow

不要只写插件专用的 tools.allow。否则 OpenClaw 可能能看到插件,但 agent 实际仍然调不到 trae_delegate

快速验证

重启 OpenClaw 后:

  1. 确认插件已经加载
  2. 让 OpenClaw 执行:Use trae_status exactly once and tell me whether Trae is ready.
  3. 再让 OpenClaw 执行:Use trae_delegate exactly once and ask Trae to summarize this project.