Skip to content

Conversation

@bokelley
Copy link
Contributor

@bokelley bokelley commented Nov 7, 2025

Summary

  • Fixed MCP response handling to return both human-readable messages and structured data (matching JavaScript client)
  • Added message field to TaskResult for protocol messages like "Found 42 creative formats"
  • Updated MCP adapter to extract message from content array and data from structuredContent
  • Improved CLI: pretty mode shows both message and response, --json mode outputs only data for scripting

Test Plan

  • All 97 tests pass with new message extraction coverage
  • Verified against live creative agent: correctly retrieves 42 formats with message

🤖 Generated with Claude Code

bokelley and others added 2 commits November 7, 2025 05:38
Updated Python SDK to match JavaScript client behavior: MCP responses now return
both the human-readable message (from content array) and structured data (from
structuredContent). Added message field to TaskResult, updated MCP adapter to
extract both fields, and improved CLI output with message display and --json mode
for scripting. All tests pass with new message extraction coverage.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@bokelley bokelley merged commit 696a3aa into main Nov 7, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants