chore(deps): bump @modelcontextprotocol/sdk from 1.29.0 to 1.32.0 in /packages/opencode
Bumps @modelcontextprotocol/sdk from 1.29.0 to 1.32.0.
Release notes
Sourced from @modelcontextprotocol/sdk's releases.
1.32.0
Upgrade notes
- Redirects: the HTTP client transports now follow a redirect only when it stays on the same origin (same scheme, host and port; http to https on the same host is allowed). A deployment whose endpoint redirects to another host or port either configures the final URL or sets
redirectPolicy: 'follow'onStreamableHTTPClientTransportorSSEClientTransport. In browsers, a redirected request fails unless that option is set.- New options, both off unless you set them:
maxToolInputElementsonMcpServerlimits the number of array elements and object members in a tool call's arguments.expectedResourceonrequireBearerAuthaccepts only tokens issued for this server (the token's audience).What's Changed
- [v1.x] fix(client): follow redirects only within the endpoint's origin by
@claude[bot] in modelcontextprotocol/typescript-sdk#2902- docs: point SECURITY.md at GitHub Security Advisories (v1.x) by
@claude[bot] in modelcontextprotocol/typescript-sdk#2910- [v1.x] examples: close idle sessions and cap the session map by
@maxisbeyin modelcontextprotocol/typescript-sdk#2914- [v1.x] fix(tasks): keep tasks of the in-memory task store within the session that created them by
@claude[bot] in modelcontextprotocol/typescript-sdk#2925- [v1.x] feat(server): add maxToolInputElements option to limit the number of elements in tool-call arguments by
@claude[bot] in modelcontextprotocol/typescript-sdk#2927- [v1.x] fix(server): accept tools/call and prompts/get requests that omit arguments by
@raashish1601in modelcontextprotocol/typescript-sdk#2045- [v1.x] feat(auth): add expectedResource to requireBearerAuth by
@claude[bot] in modelcontextprotocol/typescript-sdk#2930- [v1.x] test(e2e): cover tools/call and prompts/get without arguments by
@claude[bot] in modelcontextprotocol/typescript-sdk#2931- chore: bump version to 1.32.0 by
@claude[bot] in modelcontextprotocol/typescript-sdk#2935New Contributors
@raashish1601made their first contribution in modelcontextprotocol/typescript-sdk#2045Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.31.0...1.32.0
1.31.0
Upgrade notes
- Stored OAuth tokens and client information now include an
issuerfield. Storage that rejects unknown fields needs to allow it.- Pass
expectedIssuerwhen constructingClientCredentialsProvider,PrivateKeyJwtProviderorStaticPrivateKeyJwtProvider. Constructing them without it is deprecated.What's Changed
- [v1.x] Bind stored OAuth credentials to the authorization server that issued them by
@maxisbeyin modelcontextprotocol/typescript-sdk#2888- chore: bump version to 1.31.0 by
@claude[bot] in modelcontextprotocol/typescript-sdk#2890Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.30.1...1.31.0
1.30.1
What's Changed
- [v1.x] fix(server): read HTTP request bodies with a size limit and bound JSON-RPC batch length by
@maxisbeyin modelcontextprotocol/typescript-sdk#2717- fix(auth): preserve resource URI without trailing slash (#1968) by
@MukundaKattain modelcontextprotocol/typescript-sdk#1972- chore: bump version to 1.30.1 by
@claude[bot] in modelcontextprotocol/typescript-sdk#2848New Contributors
@MukundaKattamade their first contribution in modelcontextprotocol/typescript-sdk#1972Full Changelog: https://github.com/modelcontextprotocol/typescript-sdk/compare/1.30.0...1.30.1
1.30.0
What's Changed
- fix(server): prioritize zod issues and format them by
@mozmo15in modelcontextprotocol/typescript-sdk#1503- chore(ci): switch publish to OIDC trusted publishing by
@felixweinbergerin modelcontextprotocol/typescript-sdk#1839- Add end-to-end test suite by
@felixweinbergerin modelcontextprotocol/typescript-sdk#2167- v1 stdio buffer limit by
@KKonstantinovin modelcontextprotocol/typescript-sdk#2239
... (truncated)
Commits
32549b0chore: bump version to 1.32.0 (#2935)588d51d[v1.x] test(e2e): cover tools/call and prompts/get without arguments (#2931)5a0724d[v1.x] feat(auth): add expectedResource to requireBearerAuth (#2930)0ca0b62[v1.x] fix(server): accept tools/call and prompts/get requests that omit argu...fd26801[v1.x] feat(server): add maxToolInputElements option to limit the number of e...727075b[v1.x] fix(tasks): keep tasks of the in-memory task store within the session ...0ff6377[v1.x] examples: close idle sessions and cap the session map (#2914)c2ce003docs: point SECURITY.md at GitHub Security Advisories (v1.x) (#2910)30bfe51[v1.x] fix(client): follow redirects only within the endpoint's origin (#2902)4b0051fchore: bump version to 1.31.0 (#2890)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for @modelcontextprotocol/sdk since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Bumps @modelcontextprotocol/sdk from 1.29.0 to 1.32.0 in packages/opencode.
Migration
- HTTP client transports now follow redirects only within the same origin; set
redirectPolicy: 'follow'to keep the old behavior. - Stored OAuth tokens and client info now include an
issuerfield, and constructing the token providers withoutexpectedIssueris deprecated. - HTTP request bodies are read with a size limit and JSON-RPC batch length is bounded.