Commit graph typescript-sdk/packages/client
Author SHA1 Message Date
Felix Weinberger
c8d7401b46
[SEP-2663] refactor!: remove 2025-11 experimental tasks (#2128) 2026-06-02 12:04:18 +00:00
Matt
16d13abf78
feat(client,server): bundle default validators, expose customisation via subpaths (#2088) 2026-05-29 21:39:32 +03:00
Konstantin Konstantinov
5fc42e9be1
fix README.md badges and blockquote icon (#2022)
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
2026-05-22 13:49:17 +03:00
Konstantin Konstantinov
4f226c1e35
v2 backwards compat: SdkError status code (#2049) 2026-05-21 08:09:32 +03:00
Felix Weinberger
db83829c5b
feat(core): custom-method support (3-arg setRequestHandler + request schema overload) (#1974) 2026-04-29 16:38:18 +01:00
Felix Weinberger
9fc9070b7b
refactor(client,server): move stdio transports to ./stdio subpath export (#1871)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-04-29 14:48:36 +01:00
Felix Weinberger
55b1f06cd4
refactor(core): _wrapHandler hook so subclasses don't redeclare setRequestHandler (#1976)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-04-29 13:33:58 +01:00
Felix Weinberger
2a7611d46b
fix(packages): add types/typesVersions for legacy moduleResolution: node (#1898) 2026-04-28 13:51:03 +00:00
Felix Weinberger
434b2f11ec
fix(core): move @cfworker/json-schema out of main barrel into /validators/cf-worker subpath (#1897) 2026-04-28 12:40:18 +00:00
Yusufhan Saçak
9ed62fe7d8
feat(client): support custom claims in PrivateKeyJwtProvider (#1875) 2026-04-14 10:33:53 +00:00
Luis Reche
6bec24a14c
fix: validate clientMetadataUrl at construction time (fail-fast) (#1653)
Co-authored-by: Luis <reche@Luiss-MacBook-Pro.local>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-04-14 10:17:01 +00:00
Konstantin Konstantinov
7ba58dac51
v2: cf workers fix (#1843)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-04-04 08:40:45 +03:00
Niels Kaspers
1eb31236e7
fix(client): preserve custom Accept headers in StreamableHTTPClientTransport (#1655)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2026-04-02 13:52:53 +01:00
github-actions[bot]
0021561942
Version Packages (alpha) (#1841)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-01 17:42:17 +01:00
Konstantin Konstantinov
424cbaeee1
v2 tsdown fix (#1840) 2026-04-01 17:34:06 +01:00
github-actions[bot]
54fa96e7b5
Version Packages (alpha) (#1420)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-01 14:12:33 +01:00
Felix Weinberger
0fabc27742
chore: enter alpha prerelease mode (#1823) 2026-03-31 17:03:33 +01:00
Konstantin Konstantinov
5f32a90f0d
fix(core): make fromJsonSchema() use runtime-aware default validator … (#1825)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-31 12:06:08 +01:00
Anthony
9bc9abc68b
Fix: Handle error responses in Streamable HTTP SSE streams (#1390)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-31 11:53:52 +01:00
Felix Weinberger
fcde488227
chore: drop zod from peerDependencies (kept as direct dependency) (#1824)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-03-31 08:40:40 +03:00
Matan Tsach
d99f3ee527
fix: continue OAuth metadata discovery on 5xx responses (#1632)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
Co-authored-by: Paul Carleton <paulcarletonjr@gmail.com>
2026-03-30 19:11:19 +00:00
Felix Weinberger
045c62a1e0
feat!: remove WebSocketClientTransport (#1783)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-03-30 21:58:26 +03:00
Zwifi
4aec5f7906
Private key jwt scopes (#1443) 2026-03-30 18:19:42 +00:00
Wils Dawson
9d083923d5
SEP-2207: Refresh token guidance (#1523) 2026-03-30 18:11:55 +01:00
Felix Weinberger
6711ed9ae8
feat(client): add reconnectionScheduler to StreamableHTTPClientTransport (#1763)
Co-authored-by: CHOIJEWON <alsrn6040@kakao.com>
2026-03-30 14:02:20 +01:00
Felix Weinberger
527643966e
fix(stdio): always set windowsHide on Windows, not just in Electron (#1772)
Co-authored-by: jnMetaCode <147776183+jnMetaCode@users.noreply.github.com>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-03-30 13:56:11 +03:00
Felix Weinberger
01954e621a
fix: convert remaining capability throws to SdkError (#1761)
Co-authored-by: Matteo Gobbo <info@matteogobbo.it>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-03-26 23:47:07 +02:00
Konstantin Konstantinov
0ed723748b
v2: limit public exports (#1680)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-25 20:25:01 +00:00
Konstantin Konstantinov
462c3fc47d
v2 - RFC Extract Tasks out of protocol.ts into TaskManager (#1673)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2026-03-25 19:58:01 +00:00
Felix Weinberger
e563e63bd2
feat: introduce minimal AuthProvider interface with OAuthClientProvider adapter (#1710) 2026-03-25 13:09:16 +00:00
bhosmer-ant
13a0d345c0
Don't swallow fetch TypeError as CORS in non-browser environments (#1595)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2026-03-25 10:45:59 +00:00
bhosmer-ant
72fe68b266
Restore negotiated protocol version on reconnection transport (#1591)
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-23 14:58:13 +00:00
Felix Weinberger
0784be1a67
feat: support Standard Schema for tool/prompt schemas (#1689)
Co-authored-by: Matt Carey <mcarey@cloudflare.com>
2026-03-23 14:44:38 +00:00
sagar-okta
ccb78f2043
Implement SEP-990 Enterprise Managed OAuth (#1593)
Co-authored-by: Paul Carleton <paulc@anthropic.com>
2026-03-15 14:18:14 +00:00
Anthony
108f2f3ab6
fix: correct error handling for unknown tools and resources (#1389)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-09 18:17:09 +00:00
bhosmer-ant
ad4b2f9cac
Include requestInit options in GET SSE stream request (#1592)
Co-authored-by: De Wildt van Reenen <dewildt@labs.epiuse.com>
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-09 18:05:30 +00:00
Konstantin Konstantinov
f88c376c52
v2 refactor!: remove Zod schema parameter from public-facing APIs (#1606) 2026-03-04 20:34:47 +02:00
Paul Carleton
1a78b0138f
feat: use scopes_supported from resource metadata by default (forward-port #757) (#1614)
Co-authored-by: Anthony Giniers <antogyn@gmail.com>
2026-03-02 17:13:59 +00:00
josef
69a062693f
remove references to npm, clean up package manager usage in workspaces (#1534)
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
2026-03-02 12:13:44 +00:00
bhosmer-ant
9a8f37b366
Default to client_secret_basic when server omits token_endpoint_auth_methods_supported (#1594)
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
2026-03-02 11:31:29 +00:00
Jonathan Hefner
1c4c77ae2c
Add JSDoc descriptions and @example blocks to Client public methods (#1556)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-20 02:32:44 +00:00
Felix Weinberger
dc896e198b
feat: expose discoverOAuthServerInfo() and add provider caching for auth server URL (#1527)
Co-authored-by: hassan123789 <49031989+hassan123789@users.noreply.github.com>
2026-02-13 17:55:12 +00:00
Jonathan Hefner
55857a8f05
ci: add TypeDoc validation to check:all with treatWarningsAsErrors (#1522)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-13 17:36:37 +00:00
Jonathan Hefner
553d6d4a0d
Add sync-snippets script for type-checked examples (#1487)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-13 16:30:49 +00:00
Jonathan Hefner
42b335953a
Add code reference links and backticks to JSDoc comments (#1484)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-02-11 16:40:32 -06:00
Jonathan Hefner
7778c74e1f
docs: fix grammar, typos, and style in JSDoc comments (#1491)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-10 23:51:06 +00:00
Jonathan Hefner
efed431843
docs: add {@link} and @see tags to JSDoc comments (#1490)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-10 23:49:23 +00:00
Jonathan Hefner
64fb21d7a7
docs: add missing code fences to JSDoc @example blocks (#1485)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 23:45:22 +00:00
Felix Weinberger
faeb03ec17
[RFC] refactor: remove vestigial generic type parameters from Protocol, Server, and Client (#1451) 2026-02-03 20:55:32 +00:00
Felix Weinberger
7bb79ebbbb
refactor: replace RequestHandlerExtra with structured context types (#1467) 2026-02-03 20:35:02 +00:00