rtk-ai/rtk

OpenClaw plugin not working with OpenClaw v2026.5.7

Open

#1 810 ouverte le 9 mai 2026

Voir sur GitHub
 (1 commentaire) (1 réaction) (0 assignés)Rust (2 914 forks)batch import
area:apibughelp wantedplatform:macospriority:medium

Métriques du dépôt

Stars
 (48 085 stars)
Métriques de merge PR
 (Merge moyen 11j 1h) (45 PRs mergées en 30 j)

Description

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.

Guide contributeur