mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 17:05:55 +01:00
`transform` read `reflect` with `as_str`, `copy` with `as_bool` and passed `origin` through unchecked. A `reflect` of `42` or `true` skipped the reflect step and reported success for the steps before it, a `copy` of `"yes"` transformed the original instead of a copy, and an `origin` that was not two numbers fell back to the selection centre. The handler now checks all three before it selects `ids` or runs a step, and returns an error that names the argument. A null value of any of the three is left out. The tool description and the `transform` row in docs/mcp.md say so. Fixes #6448