You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v0.8.43 - stop four silent failures around mcptoon call
A bare call argument is an error instead of a silent drop.mcptoon call
applied key=value pairs and discarded every other token without a word. An
unquoted value containing spaces arrives as several argv items, so requirements=有 空格 的 中文 applied requirements=有 and threw away the rest:
the tool then ran on truncated input and reported success. The parser now names
the offending token and shows the quoting that works. tests/test_call_bare_arg.py pins both the message and the stronger property
that a rejected call never reaches the server with a shortened argument set.
--stdin accepts a BOM-prefixed payload. The reader decoded with plain utf-8, which keeps a Windows BOM as U+FEFF, so json.loads rejected the whole
payload with "Unexpected UTF-8 BOM (decode using utf-8-sig)". On Windows both
natural ways to produce a payload — Out-File -Encoding utf8 and a plain
PowerShell pipe — prepend one, which made --stdin unusable for the ordinary
spelling of "give it a file". utf-8-sig strips a leading BOM and is
byte-identical to utf-8 when there is none, so a BOM-less payload cannot
regress; both directions are pinned in tests/test_stdin_bom.py.
The [mcptoon smart: ...] notice no longer corrupts stdout. It was appended
to the rendered JSON body, which is right for the MCP bridge (the model has to
learn its payload was cut) but turned CLI stdout into valid JSON followed by a
sentence: --json, | jq and json.loads all failed with "Extra data: line 2
column 1". The CLI now emits it on stderr; the MCP path is unchanged. tests/test_smart_notice_stderr.py pins both sides.
An MCP error is no longer swallowed when the server attaches structured
content._extract_content returned structuredContent before checking isError, and a server is allowed to send both — openmotion does
(structuredContent.result.error). The error object therefore came back as
ordinary data and the CLI exited 0, so mcptoon call ... && next ran next
after a failure. isError is the authoritative signal and is now checked first,
pinned by tests/test_extract_content_iserror.py.
Changed
--auto says which server it chose when a tool name is ambiguous. A tool
present on several servers used to resolve to the most recently used one with no
output at all — generate_image exists on both blender-mcp and comfy-mcp —
which made a wrong-server result read as a wrong-tool result. The note goes to
stderr and names every candidate, so --json consumers keep a clean stream.
A tool that only one server exposes prints nothing.