mirror of
https://github.com/atxp-dev/cli.git
synced 2026-09-14 20:46:39 +08:00
3464db95c2
Switch from synchronous blocking MCP calls to async initiate+poll pattern for slow generation tools, avoiding timeout issues and showing a spinner during generation. - image: image_create_image_async + image_get_image_async (3s poll) - music: music_create_async + music_get_async (5s poll) - video: create_video + wait_for_video (10s poll) - Extract getClient() and extractResult() from call-tool.ts for reuse Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>