Commit graph typescript-sdk/packages/server
Author SHA1 Message Date
github-actions[bot]
35f6856a17
Version Packages (beta) (#2416)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-02 13:26:04 +01:00
Felix Weinberger
3c7ddafa05
test(conformance): bump referee to 0.2.0-alpha.9; arm SEP-2575 diagnostic fixtures; fix post-dispatch -32021 HTTP status (#2399) 2026-07-02 13:17:08 +01:00
Matt
f172626a8e
feat(packaging): ship CommonJS builds alongside ESM for v2 packages (#2405) 2026-07-01 19:40:37 +03:00
github-actions[bot]
2dcf10bea5
Version Packages (beta) (#2404)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-30 23:42:35 +01:00
Felix Weinberger
a4002596b9
chore: enter beta prerelease mode (#2402) 2026-06-30 23:05:07 +01:00
github-actions[bot]
e7137a7031
Version Packages (alpha) (#2375)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2026-06-30 21:57:31 +01:00
Felix Weinberger
b153505428
docs: rebuild the v2 documentation around a task-based page tree (#2397) 2026-06-30 21:18:42 +01:00
Felix Weinberger
801111ea15
fix(packaging): inline the fast-uri URIComponent type; drop stale typesVersions (#2394) 2026-06-30 15:47:59 +01:00
Felix Weinberger
6cc7b1cb66
feat(node): export toWebRequest(), the IncomingMessage→Request conversion inside toNodeHandler (#2390) 2026-06-30 11:47:44 +01:00
Felix Weinberger
f0bf785239
Serve input_required handlers on 2025-era connections via a legacy fulfilment shim (#2381) 2026-06-29 16:43:43 +01:00
Felix Weinberger
1823aae891
Implement MCP 2026-07-28 (#2286)
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com>
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-26 14:01:10 +01:00
github-actions[bot]
e4227d135c
Version Packages (alpha) (#1845)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-25 20:44:33 +01:00
Konstantin Konstantinov
0fb8406d83
v2: codemod iterations, canonical zod schema exports from sdk-shared (#2354)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
2026-06-25 19:42:44 +01:00
Matt
ee732d64b6
chore: switch to module ESNext + moduleResolution bundler (#2095) 2026-06-25 11:49:17 +01:00
Konstantin Konstantinov
c59dc3aa1a
feat(server): expose icons on registerTool/registerPrompt (McpServer) (#2353) 2026-06-23 23:40:41 +03:00
Matt
e84c3e9ad0
fix(server,client): non-SEP draft spec conformance (eager list handlers, pagination docs, path-sanitization note) (#2269)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-06-15 12:25:35 +00:00
Matt
49c0a711c8
feat: deprecate roots, sampling, and logging runtime APIs (SEP-2577) (#2268)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-06-15 12:19:45 +00:00
Felix Weinberger
e8c7180109
fix(server): bound resumability version gates to supported versions, pin the unsupported-version rejection format (#2280) 2026-06-12 15:40:42 +01:00
Konstantin Konstantinov
1b53a415ea
Port of #2239 (v1.x) to v2 (#2275) 2026-06-10 20:14:36 +03:00
Felix Weinberger
c8d7401b46
[SEP-2663] refactor!: remove 2025-11 experimental tasks (#2128) 2026-06-02 12:04:18 +00:00
Felix Weinberger
86276ed073
feat(server): retain the negotiated protocol version and expose getNegotiatedProtocolVersion() (#2230) 2026-06-01 16:56:48 +01: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
Christian Sidak
2c0c481cb9
fix: add | undefined to transport option callbacks for exactOptionalPropertyTypes (#1855)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-04 02:12:25 +01: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
e15a8ef3be
feat(compat): registerTool/registerPrompt accept raw Zod shape, auto-wrap with z.object() (#1901)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-04-29 16:34:01 +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
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
Clay
df4b6cc88d
fix: prevent stack overflow in transport close with re-entrancy guard (#1788)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-04-02 12:59:31 +00: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
Luis Reche
689148dc72
fix(server): propagate negotiated protocol version to transport (#1660)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-31 16:27:40 +00: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
Konstantin Konstantinov
2fd7f5ff26
v2: Web standards Request object in ctx (#1822)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-31 12:02:37 +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
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
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
kenzo
78bae7426d
fix(server): call onerror callback for all transport errors (#1433)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-25 20:28:28 +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
不做了睡大觉
f1ade75b67
fix: handle EPIPE errors in StdioServerTransport to prevent process crash (#1568)
Co-authored-by: User <user@example.com>
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-25 20:15:35 +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
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
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
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
f88c376c52
v2 refactor!: remove Zod schema parameter from public-facing APIs (#1606) 2026-03-04 20:34:47 +02:00