Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
modelcontextprotocol
/
typescript-sdk
Public
Notifications
You must be signed in to change notification settings
Fork
2k
Star
13.1k
Code
Issues
277
Pull requests
260
Actions
Projects
Security and quality
3
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
fix(core): make instanceof on SDK error classes work across bundled copies
- #2384
#2384
Merged
felixweinberger
merged 11 commits into
main
modelcontextprotocol/typescript-sdk:main
from
fweinberger/cross-bundle-error-instanceof
modelcontextprotocol/typescript-sdk:fweinberger/cross-bundle-error-instanceof
Copy head branch name to clipboard
Jul 6, 2026
Conversation
Commits
11
(11)
Checks
Files changed
Merged
fix(core): make instanceof on SDK error classes work across bundled copies
#2384
felixweinberger
merged 11 commits into
main
modelcontextprotocol/typescript-sdk:main
from
fweinberger/cross-bundle-error-instanceof
modelcontextprotocol/typescript-sdk:fweinberger/cross-bundle-error-instanceof
Copy head branch name to clipboard
Commits
Commits on Jul 2, 2026
fix(core): make instanceof on SDK error classes work across bundled copies
Show description for 9ba03d8
felixweinberger
committed
9ba03d8
View commit details
Copy full SHA for 9ba03d8
Browse repository at this point
fix(core): only honor own-property brands in cross-bundle instanceof
Show description for 02d279e
felixweinberger
committed
02d279e
View commit details
Copy full SHA for 02d279e
Browse repository at this point
fix(core): address review findings on cross-bundle error branding
Show description for 368cca3
felixweinberger
committed
368cca3
View commit details
Copy full SHA for 368cca3
Browse repository at this point
docs,test: reconcile stale cross-bundle instanceof notes; fix vacuous brand-leak assertion
Show description for dbf9b54
felixweinberger
committed
dbf9b54
View commit details
Copy full SHA for dbf9b54
Browse repository at this point
fix(client): brand the OAuth flow error family and UnauthorizedError; enforce participation with conformance tests
Show description for 7b8f3ec
felixweinberger
committed
7b8f3ec
View commit details
Copy full SHA for 7b8f3ec
Browse repository at this point
fix(client): propagate UnauthorizedError from the negotiation probe instead of taking the legacy fallback
Show description for 05d7e6e
felixweinberger
committed
05d7e6e
View commit details
Copy full SHA for 05d7e6e
Browse repository at this point
Merge branch 'main' into fweinberger/cross-bundle-error-instanceof
felixweinberger
authored
b4e9cd2
View commit details
Copy full SHA for b4e9cd2
Browse repository at this point
docs,test: fix two stale prose sites — errors.md recap bullet and the probe test block header
Show description for bedf5c8
felixweinberger
committed
bedf5c8
View commit details
Copy full SHA for bedf5c8
Browse repository at this point
Commits on Jul 6, 2026
Merge branch 'main' into fweinberger/cross-bundle-error-instanceof
felixweinberger
authored
4c7bbed
View commit details
Copy full SHA for 4c7bbed
Browse repository at this point
feat(core,client): add static isInstance() guards to the branded error hierarchies
Show description for 00c95e6
felixweinberger
committed
00c95e6
View commit details
Copy full SHA for 00c95e6
Browse repository at this point
Merge branch 'main' into fweinberger/cross-bundle-error-instanceof
felixweinberger
authored
7d6ed17
View commit details
Copy full SHA for 7d6ed17
Browse repository at this point
You can’t perform that action at this time.