Skip to content

OpenClaw plugin not working with OpenClaw v2026.5.7 #1810

Closed as duplicate

Description

@olveww-dot

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.

Activity

  1. added
    bug
    help wanted
    on May 27, 2026
  2. pszymkowiak commented on May 27, 2026

    @pszymkowiak
    Collaborator

    wshm · Automated triage by AI

    🔍 Automated Triage

    🐛 Category bug
    🟡 Priority medium
    🎯 Confidence 78%

    Summary

    OpenClaw plugin's before_tool_call hook is incompatible with OpenClaw v2026.5.7's changed plugin API; plugin needs updating to the new hook/extension interface.

    📁 Relevant files
    • openclaw/package.json

    Triaged automatically by wshm · This is an automated analysis, not a human review.

  3. KuSh commented on Sep 13, 2026

    @KuSh
    Collaborator

    Closing as a duplicate of #1717, which tracks the same problem with the more complete discussion. Please follow up there; if your case differs in a way that issue does not cover, comment here and it can be reopened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:apibughelp wantedplatform:macospriority:medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions