Repository navigation
fix(skill): match generate_chart's real output - #4
Open
wonderchang wants to merge 1 commit into
Open
wonderchang wants to merge 1 commit into
wonderchang wants to merge 1 commit into
Conversation
generate_chart returns a PNG plus an ECharts or Vega-Lite spec. Hosts with MCP Apps support render the chart widget themselves, so tell the model not to render it again; otherwise show the PNG. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GDozhzVwo9FaV1NTp4zEH4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
generate_chartreturns a PNG plus an ECharts or Vega-Lite spec (perwren-ui/docs/integrations/mcp-server.mdin WrenAI-saas). The skill only mentioned an image or a Vega-Lite spec.ui://widget/image-viewer.htmlwidget (openai/outputTemplateandui.resourceUri). Hosts that render it (ChatGPT, Claude) would show the chart twice if the model also renders the spec, so the skill now says not to.Test plan
list_projects, and a chart question. Antigravity showed the static PNG once, with no widget and no duplicate.scripts/sync-hosts.sh --check,agy plugin validate --strict,claude plugin validate --strict --profile directory🤖 Generated with Claude Code
https://claude.ai/code/session_01GDozhzVwo9FaV1NTp4zEH4