rtk-ai/rtk

OpenClaw plugin not working with OpenClaw v2026.5.7

Open

#1,810 建立於 2026年5月9日

在 GitHub 查看
 (1 留言) (1 反應) (0 負責人)Rust (2,914 fork)batch import
area:apibughelp wantedplatform:macospriority:medium

倉庫指標

Star
 (48,085 star)
PR 合併指標
 (平均合併 11天 1小時) (30 天內合併 45 個 PR)

描述

Issue

The OpenClaw plugin from openclaw/ directory does not intercept exec tool calls in OpenClaw v2026.5.7. The before_tool_call hook never fires.

Setup

  • RTK CLI v0.39.0 (brew install)
  • OpenClaw v2026.5.7 (macOS arm64)
  • Plugin installed manually (copied files to global node_modules)

What works

  • rtk git status manually: 687 chars vs 1540 chars (55% savings)
  • Plugin shows "enabled" in openclaw plugins list

What doesn't

  • before_tool_call hook never intercepts exec commands
  • openclaw plugins install ./openclaw fails: "package.json missing openclaw.extensions"

The plugin (PR #358, March 2026) uses api.on("before_tool_call", ...) but current OpenClaw appears to have changed its plugin/hook API. Would appreciate guidance on correct API for v2026.5.7.

貢獻者指南