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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
The motion-guide prompt no longer repeats what Claude Code already shows from the server instructions. Claude Code cuts the instructions at 4,096 characters, so the conventions and the first design rules (format, copy, type, layout, timing, holds, polish) were in the model's context twice. The rules past the cut (editing footage, footage framing, text over video, sound, counting, before finishing, and the run_jsx rule) stay in the guide. Claude Code's guide is about 1,090 tokens instead of 1,680. Other clients, which may not show the server instructions to the model, get the whole guide as before.
Tool definitions use shorter forms that mean the same in JSON Schema: plain-type anyOf members become one type list ("type": ["integer", "null"]), no "type" beside a string const, no empty additionalProperties. That is about 100 tokens less, on every request in clients that send the definitions with each message; descriptions are unchanged and zod checks every value as before.
The server is built on the MCP TypeScript SDK v2 (@modelcontextprotocol/server 2.3) instead of v1 (@modelcontextprotocol/sdk, which now gets only bug and security fixes). Clients see the same tool list, instructions, prompt and results as before. Bad-argument errors are now explained from the schema's own issues instead of the SDK's wording, so they keep their BAD_ARGS format and "did you mean" hints whatever the SDK says.
Fixed
Calling a tool that does not exist returns a NOT_FOUND error with the closest tool name as a hint, in the usual {error: {code, message, hint}} format (it was the SDK's raw text).