Repository navigation
Conversation
OpenClaw 2026.9.6 rejects a plugin package without openclaw.extensions, and no longer imports a plugin at Gateway startup unless its manifest sets activation.onStartup, so the before_tool_call hook was never wired. Fixes rtk-ai#4357
📊 Automated PR Analysis
SummaryAdds two missing manifest fields required for the OpenClaw rewrite plugin to install and run on OpenClaw 2026.9.6: an Review Checklist
Linked issues: #4357 Analyzed automatically by wshm · This is an automated analysis, not a human review. |
|
Thanks for splitting this out. You mentioned you don't run a Gateway, so I ran this branch (31ddc10) on a real OpenClaw Gateway in Docker, on 2026.8.35, 2026.9.2, 2026.9.6 and 2026.10.3, against rtk built from
#4093 adds both of your fields and a compiled entry, which makes the copy install work too. I've just reviewed it (#4093 (review)). It has two changes left to make: its committed |
Summary
openclaw/package.json: addopenclaw.extensions: ["./index.ts"]. Without it,openclaw plugins install ./openclawis rejected on OpenClaw 2026.9.6.openclaw/openclaw.plugin.json: addactivation.onStartup: true. Without it, the Gateway no longer imports the plugin at startup, sobefore_tool_callis never wired and the plugin looks installed but does nothing.Fixes #4357
Both fields are also part of #2783 and #4093. Those PRs are broader: #2783 also reworks
index.ts, and #4093 adds adist/build step and Hermes changes. Both currently conflict withdevelop. This PR is limited to the two manifest fields from #4357 so they can land on their own. Happy to close it if you'd rather take one of those.Test plan
npm pack --dry-runinopenclaw/still shipsindex.ts,openclaw.plugin.json,README.md,package.jsoncargo fmt --all && cargo clippy --all-targets && cargo test: n/a, no Rust changed