fix: enrich MCP get_meeting structured content (#255)#256
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The get_meeting structuredContent change added 5 Vitest tests, bumping MINUTES_TEST_COUNT 1115 -> 1120. Regenerated site/lib/release.ts so the Site Release Link Consistency check passes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
Fixes #255.
get_meetingreturned the full markdown incontent[0].textbut itsstructuredContentwas an envelope only (path,view,speaker_map,recording_health,overlay_applied). MCP-App hosts and structured-content-preferring clients surfacestructuredContentand deprioritize the text block, so callers saw "envelope-only" even though the transcript and synthesis were present on disk.This is general
get_meetingbehavior, not native-call-specific — the reporter just hit it on long, real meetings consumed through a structured workflow.Change
structuredContentnow mirrors what's on disk:titlesummary(parsed from the## Summarysection via a newextractMarkdownSection()helper)action_items,decisions,intents(from frontmatter)body(the full transcript)speaker_map/recording_health/overlay_appliedThe raw markdown still rides in
content[0].text, so text-first clients don't regress. Both the no-CLI fallback path and the CLI-backed overlay path are enriched. The CLI path keepsArray.isArray()guards (raw JSON), while the no-CLI path relies onminutes-sdk's already-normalized arrays.Commitments are intentionally excluded — they aren't a meeting frontmatter field; they stay surfaced through
get_meeting_insights/track_commitments.Verification
tscclean;vitest57/57 (incl. new enriched-payload +extractMarkdownSectiontests)minutes get --jsonagainst a native-call-shaped meeting and applied the handler mapping against the built module — enriched payload came out with all fieldscontent[0].textviadata.contentand ignores the newstructuredContentkeys)🤖 Generated with Claude Code