Files
photocraft/docs
Fabio LussiandClaude Opus 5.5 c3fc37234c control: suggest near matches for unknown command ids and methods
An unknown id passed to engine.execute (or any path that ends in
EngineError::UnknownCommand) now lists up to three registered ids
close to it: typos, case, a truncated id, the same last segment in
another namespace (history.undo -> edit.undo), plus the documented
engine.commands -> command.list mapping. The headless server and the
desktop control server also say when a protocol method is sent through
engine.execute, or an engine command id is sent as a method, and
suggest near method names. Reuses the spell checker's edit distance.

Fixes #3674

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 22:48:57 +02:00
..
…