Commit graph typescript-sdk/test
Author SHA1 Message Date
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
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
Christian Sidak
bdfd7f0154
fix: retrieve stored result from tasks/result for failed tasks (#1930)
Co-authored-by: Christian-Sidak <csidak@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
Co-authored-by: Konstantin Konstantinov <konstantin@mach5technology.com>
2026-04-20 14:56:04 +03: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
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
Tapan Chugh
f73a5af4bc
Add _meta support to registerPrompt (#1629)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-31 10:56:30 +00:00
Felix Weinberger
8822c96315
fix(examples): return 404 for unknown session IDs, 400 for missing (#1770) 2026-03-30 21:00:11 +00:00
Wils Dawson
9d083923d5
SEP-2207: Refresh token guidance (#1523) 2026-03-30 18:11:55 +01:00
Konstantin Konstantinov
e86b1835cc
[v2] Minor task-related refactors (#1758)
Co-authored-by: Luca Chang <lucalc@amazon.com>
Co-authored-by: Luca Chang <131398524+LucaButBoring@users.noreply.github.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-27 20:25:06 +00: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
Tapan Chugh
677511b5a7
Allow servers / clients to advertise extensions in the capability object (#1630)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 00:37:05 +00:00
Paul Carleton
9aed95a79b
feat: add auth-test-server for OAuth conformance testing (#1384)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2026-03-23 16:49:21 +00:00
Konstantin Konstantinov
a7c7896a56
Remove prefix on over-the-wire ProtocolErrors (#1727)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-23 17:46:32 +02: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
Felix Weinberger
54051729c6
chore(deps): bump conformance to 0.1.15, port auth/pre-registration from v1.x (#1650) 2026-03-13 14:49:30 +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
Konstantin Konstantinov
049f26ef53
v2 ci: add Bun and Deno integration tests (#1607)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 21:38:17 +02:00
Giulio Leone
26c7242d67
fix: registerCapabilities registers logging/setLevel handler (#1605)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-03-05 11:28:32 +02:00
Konstantin Konstantinov
5a2c8a69c9
v2 flaky test fix (#1616) 2026-03-05 00:55:02 +02:00
Konstantin Konstantinov
f88c376c52
v2 refactor!: remove Zod schema parameter from public-facing APIs (#1606) 2026-03-04 20:34:47 +02:00
Luca Chang
91f6a277c4
feat: add streaming methods for elicitation and sampling (#1210)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-02-11 17:14:58 +02:00
Matt
8654c7fd3a
Fix: Respect explicit listChanged: false capability setting (#1513) 2026-02-10 11:24:47 +01:00
Felix Weinberger
7bb79ebbbb
refactor: replace RequestHandlerExtra with structured context types (#1467) 2026-02-03 20:35:02 +00:00
Matt
be5670f4fa
feat!: drop Zod v3 support (#1460) 2026-02-03 19:48:08 +00:00
Matt
bc883afe3c
feat: auto-select JSON Schema validator based on runtime (#1456) 2026-02-03 19:22:39 +00:00
Konstantin Konstantinov
1fb7b25697
v2: Move conformance into workspace (#1470) 2026-02-03 19:56:49 +02:00
Konstantin Konstantinov
0f0a4eb7c8
v2: Errors refactor (ProtocolError, SdkError, OAuthError) (#1454) 2026-02-03 18:41:22 +02:00
Matt
f6e8204b86
fix: replace schema-based handlers with string method names (#1446) 2026-02-02 23:57:07 +00:00
Felix Weinberger
64f27820fa
fix: remove cyclic workspace dependency between test-helpers and client/server (#1444) 2026-02-02 17:30:09 +00:00
Peder Holdgaard Pedersen
00249ce86d
feat(client): return empty lists when server lacks capability (#1386)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-01-26 15:44:21 +00:00
Christopher Tso
4b5fdcba02
fix: handle OAuth error responses returned with HTTP 200 status (#1343)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Paul Carleton <paulcarletonjr@gmail.com>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-01-26 15:13:34 +00:00
suram
b2326afea6
fix(server): handle undefined arguments for tools with all optional params (#1404)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2026-01-23 18:36:40 +00:00
Konstantin Konstantinov
dcf708d892
v2 - clean deprecated methods and exports (#1419)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-01-23 16:39:14 +00:00
Konstantin Konstantinov
9fc7e28f48
v2 ESlint fixes (#1403)
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
2026-01-20 12:21:53 +00:00
Ola Hungerford
2edbe8c82e
Use correct schema for client sampling validation when tools are present (#1347)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Paul Carleton <paulcarletonjr@gmail.com>
2026-01-19 16:40:59 +00:00
Konstantin Konstantinov
f495077e08
[v2] Decouple server from express and hono - http framework-agnostic MCP server (#1326) 2026-01-16 12:13:25 +02:00
Felix Weinberger
8a1b457361
fix: v2 follow-up improvements (#1318) 2025-12-19 16:46:21 +02:00
Konstantin Konstantinov
71ae3acee0
[v2] Мonorepo, sdk-client, sdk-server, sdk-core package split (#1279) 2025-12-19 14:19:02 +01:00
Matt
67ba7adbb7
feat: fetch transport (#1209)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2025-12-15 17:28:10 +00:00
Felix Weinberger
9941294df9
Fix Zod v4 schema description extraction (#1296) 2025-12-15 17:46:11 +02:00
Felix Weinberger
06a4fd2332
Follow-up fixes for PR #1242 (#1274) 2025-12-09 14:21:02 +02:00
Konstantin Konstantinov
a606fb1790
SPEC COMPLIANCE: Remove loose/passthrough types not allowed/defined by MCP spec + Task types (#1242) 2025-12-09 11:52:23 +00:00
Konstantin Konstantinov
4d6c3b8284
Flaky test fix on Types.test.ts (#1244)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2025-12-08 21:40:18 +00:00
Matt
fbf5fc9b02
Protocol date validation (#1247) 2025-12-08 17:46:34 +00:00
Konstantin Konstantinov
5a9de1c638
Relocate tests under /test (#1220) 2025-12-05 23:56:12 +00:00