ext-apps/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Olivier Chafik 728b0bf38e Keep the 1.x handler registration forms as deprecated overloads
Consumers on 1.x wrote setRequestHandler(Schema, handler) and
setNotificationHandler(Schema, handler) with a whole-message Zod schema.
SDK 2.0 keys handlers by method name, so App and AppBridge now accept
that form as a third, deprecated overload: a small helper detects the
schema, extracts the method literal, forwards to the 2.x
(method, { params }, handler) form, and hands the legacy handler the
reassembled { method, params } message plus a 1.x-shaped extra
(signal, requestId, sessionId, _meta). A one-time console warning
points at the new form. The double-registration guard applies to both
forms.

The AppRequest, AppNotification and AppResult unions that 1.x fed to
the SDK's Protocol generics come back as deprecated type aliases, since
they leaked through the root entry and cost nothing to keep.

Both go away in 3.0.
2026-09-08 14:24:25 +01:00
..
favicons Add Security documentation section and SEO improvements (#524) 2026-03-06 13:45:15 +00:00
agent-skills.md Add Security documentation section and SEO improvements (#524) 2026-03-06 13:45:15 +00:00
authorization.md refactor: finish MCP SDK v2 migration 2026-07-14 17:07:30 -07:00
csp-cors.md Add Security documentation section and SEO improvements (#524) 2026-03-06 13:45:15 +00:00
index.html Add API docs (#29) 2025-11-27 22:09:22 +00:00
mcp-theme.css fix(readme): use picture element for theme-aware logo (#545) 2026-03-10 17:33:40 +00:00
migrate-to-2.md Keep the 1.x handler registration forms as deprecated overloads 2026-09-08 14:24:25 +01:00
migrate_from_openai_apps.md refactor: finish MCP SDK v2 migration 2026-07-14 17:07:30 -07:00
overview.md Document the 2.x install matrix and add a migration guide 2026-09-08 13:58:37 +01:00
patterns.md refactor: finish MCP SDK v2 migration 2026-07-14 17:07:30 -07:00
patterns.tsx refactor: finish MCP SDK v2 migration 2026-07-14 17:07:30 -07:00
quickstart-success.png Rewrite Quickstart guide with type-checked code examples 2026-01-24 09:41:51 -06:00
quickstart.md Document the 2.x install matrix and add a migration guide 2026-09-08 13:58:37 +01:00
testing-mcp-apps.md Document the 2.x install matrix and add a migration guide 2026-09-08 13:58:37 +01:00