mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 06:21:59 +09:00
* fix(mods): engine.create in the validator's form; claude plugin validate passes on Claude Code 2.1.323+ (0.17.1)
hooks/noun.ts returned { ...added, ...beneath } from engine.create. Claude Code
2.1.323 and later refuse that in `claude plugin validate` ("this engine.create
hook is outside its form: a spread of anything but the value of next(e)"), for
0.16.2 and 0.17.0 alike; 2.1.319 accepted it. Reading beneath.ruflo to keep an
earlier step's noun is refused as well ("$.ruflo is used as a value"), so the
hook now returns { ...beneath, ruflo }. No other plugin defines engine.create,
so $.ruflo is unchanged in practice. The mod loaded and ran on those versions
already; only validation failed.
Tests: claude plugin test plugins/ruflo-mods 209/209 before and after;
claude plugin validate fails before, passes after (2.1.323, 2.1.325, 2.1.326);
headless `claude -p --plugin-dir` probe loads it with plugin_errors null.
Co-Authored-By: ruflo <ruv@ruv.net>
* test(mods): smoke.sh expects 0.17.1
Step 1 pins the plugin.json version; the 0.17.1 bump needs it too
(same as the 0.17.0 bump in 1acb1fc98). smoke.sh: 17 passed, 0 failed.
Co-Authored-By: ruflo <ruv@ruv.net>
---------
Co-authored-by: ruflo <ruv@ruv.net>