v1.2.2
Fix: clients no longer fail job/file with invalid type ... expected string or map
The action enum was emitted as a JSON-Schema $ref into $defs. Clients (Claude Desktop, codex, n8n) drop $defs, so the $ref resolved to nothing — the model couldn't see action is a string enum and sent a non-string placeholder (null, then true), failing deserialization before dispatch.
#[schemars(inline)]onJobAction/FileAction→ the enum is now inlined on the property ({"type":"string","enum":[…]}), no$ref/$defs. Documented fix (MCP python-sdk #1373).lenient_actioncoerces any non-stringaction— and an omitted key — to the read-onlylistdefault instead of dead-ending the call.filestays strict (destructive actions, no safe default).
Supersedes v1.2.1 (null-only tolerance). MCP clients must reconnect/restart to drop the cached old tool schema.
Install: sudo dpkg -i mcp-ssh_1.2.2-1_amd64.deb