René's URL Explorer Experiment


Title: fix(agentic): do not advertise an output schema devframe cannot derive by erkamyaman · Pull Request #400 · devframes/devframe · GitHub

Open Graph Title: fix(agentic): do not advertise an output schema devframe cannot derive by erkamyaman · Pull Request #400 · devframes/devframe

X Title: fix(agentic): do not advertise an output schema devframe cannot derive by erkamyaman · Pull Request #400 · devframes/devframe

Description: An RPC function whose returns validator has no Standard JSON Schema converter degrades to the permissive { type: 'object', additionalProperties: true } schema. That is fine as documentation, but it is also advertised as the MCP outputSchema, which obliges the tool to return a matching object on every call. So any such function returning an array or a primitive fails tools/call, with the SDK rejecting the server's own response: -32602 Invalid tools/call result: [{ "expected": "record", "code": "invalid_type", "path": ["structuredContent"], "message": "Invalid input: expected record, received array" }] Found via a valibot-based devframe tool where four of five RPC tools returned v.array(...) and every tools/call failed. Object-returning ones worked, which is what made it look selective. returnToJsonSchema now yields no schema when the validator has no native converter, so the result travels as text content only. Guarding structuredContent at call time instead does not work: the client then rejects the response for advertising an output schema without returning structured content. Validators with a native converter (zod 4) are unaffected. Args keep their permissive fallback, since that schema is a container devframe does construct rather than one inferred from the validator. Updated the to-json-schema unit test that asserted the old fallback, and added an MCP-level test that fails on main with the error above.

Open Graph Description: An RPC function whose returns validator has no Standard JSON Schema converter degrades to the permissive { type: 'object', additionalProperties: true } schema. That is fine as documentation...

X Description: An RPC function whose returns validator has no Standard JSON Schema converter degrades to the permissive { type: 'object', additionalProperties: true } schema. That is fine as docum...

Opengraph URL: https://github.com/devframes/devframe/pull/400

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:71daf5db-b889-30ce-8822-87424918b341
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC446:2BF3D1:B56CF7:FF35AD:6AFB7C64
html-safe-nonceb66688f784c40c19a2a4b4c60113faf48d69e3aaedc4fdd84cd38cf2dd7ff8e7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDQ2OjJCRjNEMTpCNTZDRjc6RkYzNUFEOjZBRkI3QzY0IiwidmlzaXRvcl9pZCI6IjE1OTI4ODk2MjM5NjczOTkwMTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7066d5c6d97fcf523fa84c765dc5c7b7d4113a9447a8d0155335792a74159066
hovercard-subject-tagpull_request:4584868966
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/devframes/devframe/pull/400/files
twitter:imagehttps://avatars.githubusercontent.com/u/88717125?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/88717125?s=400&v=4
og:image:altAn RPC function whose returns validator has no Standard JSON Schema converter degrades to the permissive { type: 'object', additionalProperties: true } schema. That is fine as documentation...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneef32892d4269fb87b55e81cc4ba8d86e0f16aa28446ffbf46cba8be5179ab188
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/devframes/devframe git https://github.com/devframes/devframe.git
octolytics-dimension-user_id279879373
octolytics-dimension-user_logindevframes
octolytics-dimension-repository_id1231722386
octolytics-dimension-repository_nwodevframes/devframe
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1231722386
octolytics-dimension-repository_network_root_nwodevframes/devframe
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebc3703b4dcbe820d1284ef63c88b001c850be25e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/devframes/devframe/pull/400/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdevframes%2Fdevframe%2Fpull%2F400%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdevframes%2Fdevframe%2Fpull%2F400%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=devframes%2Fdevframe
Reloadhttps://github.com/devframes/devframe/pull/400/files
Reloadhttps://github.com/devframes/devframe/pull/400/files
Reloadhttps://github.com/devframes/devframe/pull/400/files
devframeshttps://github.com/devframes
devframehttps://github.com/devframes/devframe
Codehttps://github.com/devframes/devframe
Issues12 (12)https://github.com/devframes/devframe/issues
Pull requests13 (13)https://github.com/devframes/devframe/pulls
Actionshttps://github.com/devframes/devframe/actions
Security and qualityhttps://github.com/devframes/devframe/security
Insightshttps://github.com/devframes/devframe/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fdevframes%2Fdevframe%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fdevframes%2Fdevframe%2Fissues%2Fnew%2Fchoose
antfuhttps://github.com/antfu
devframes:mainhttps://github.com/devframes/devframe/tree/main
erkamyaman:fix/structured-content-non-objecthttps://github.com/erkamyaman/devframe/tree/fix/structured-content-non-object
Conversation 6 https://github.com/devframes/devframe/pull/400
Commits 2 https://github.com/devframes/devframe/pull/400/commits
Checks 3 https://github.com/devframes/devframe/pull/400/checks
Files changed https://github.com/devframes/devframe/pull/400/files
Please reload this pagehttps://github.com/devframes/devframe/pull/400/files
fix(agentic): do not advertise an output schema devframe cannot derive https://github.com/devframes/devframe/pull/400/files#top
Show all changes 2 commits https://github.com/devframes/devframe/pull/400/files
948df8f fix(agentic): do not advertise an output schema devframe cannot derive erkamyaman Sep 20, 2026 https://github.com/devframes/devframe/pull/400/commits/948df8fee17b2d31430f41d13d89972054d1543a
7ef52dc fix(agentic): yield no return schema when conversion fails erkamyaman Sep 20, 2026 https://github.com/devframes/devframe/pull/400/commits/7ef52dc468904c980d1f3d4a75636c1bfea602a2
Clear filters https://github.com/devframes/devframe/pull/400/files
Please reload this pagehttps://github.com/devframes/devframe/pull/400/files
Please reload this pagehttps://github.com/devframes/devframe/pull/400/files
mcp-server.test.ts https://github.com/devframes/devframe/pull/400/files#diff-7ac7e9a9bae251339ab373422092dc488f6e7ffb379dd4cadc02069b36025f46
to-json-schema.test.ts https://github.com/devframes/devframe/pull/400/files#diff-3feabfcc1c47376eb1a8f67906931208a377db5caa17e69575ca05766da75350
to-json-schema.ts https://github.com/devframes/devframe/pull/400/files#diff-1eec871bfede74b70462298e2098cdef8ad42d38c488491b389987d02a357e33
packages/agentic/src/mcp/__tests__/mcp-server.test.tshttps://github.com/devframes/devframe/pull/400/files#diff-7ac7e9a9bae251339ab373422092dc488f6e7ffb379dd4cadc02069b36025f46
View file https://github.com/erkamyaman/devframe/blob/7ef52dc468904c980d1f3d4a75636c1bfea602a2/packages/agentic/src/mcp/__tests__/mcp-server.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/400/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/400/files#diff-7ac7e9a9bae251339ab373422092dc488f6e7ffb379dd4cadc02069b36025f46
https://github.com/devframes/devframe/pull/400/files#diff-7ac7e9a9bae251339ab373422092dc488f6e7ffb379dd4cadc02069b36025f46
https://github.com/devframes/devframe/pull/400/files#diff-7ac7e9a9bae251339ab373422092dc488f6e7ffb379dd4cadc02069b36025f46
packages/devframe/src/agent/__tests__/to-json-schema.test.tshttps://github.com/devframes/devframe/pull/400/files#diff-3feabfcc1c47376eb1a8f67906931208a377db5caa17e69575ca05766da75350
View file https://github.com/erkamyaman/devframe/blob/7ef52dc468904c980d1f3d4a75636c1bfea602a2/packages/devframe/src/agent/__tests__/to-json-schema.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/400/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/400/files#diff-3feabfcc1c47376eb1a8f67906931208a377db5caa17e69575ca05766da75350
packages/devframe/src/agent/to-json-schema.tshttps://github.com/devframes/devframe/pull/400/files#diff-1eec871bfede74b70462298e2098cdef8ad42d38c488491b389987d02a357e33
View file https://github.com/erkamyaman/devframe/blob/7ef52dc468904c980d1f3d4a75636c1bfea602a2/packages/devframe/src/agent/to-json-schema.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/devframes/devframe/pull/400/{{ revealButtonHref }}
https://github.com/devframes/devframe/pull/400/files#diff-1eec871bfede74b70462298e2098cdef8ad42d38c488491b389987d02a357e33
https://github.com/devframes/devframe/pull/400/files#diff-1eec871bfede74b70462298e2098cdef8ad42d38c488491b389987d02a357e33
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.