Commit graph typescript-sdk/packages
Author SHA1 Message Date
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
732abe0ac4
docs: replace the typedoc site with VitePress (v2 + v1 reface) (#2395) 2026-06-30 16:03:19 +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
e4e8b22dff
feat(codemod): manifest handling overhaul and fixes from migrating sample dependents (#2393) 2026-06-30 15:01:07 +01:00
Felix Weinberger
6cc7b1cb66
feat(node): export toWebRequest(), the IncomingMessage→Request conversion inside toNodeHandler (#2390) 2026-06-30 11:47:44 +01:00
Konstantin Konstantinov
36055d5bbd
codemod iterations (#2386) 2026-06-29 20:16:37 +03: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
b96a94c6b1
docs(migration): close guide gaps surfaced by real v1-to-v2 migrations (#2382) 2026-06-29 15:16:07 +01:00
Felix Weinberger
9f8ba61279
fix(codemod): keep request() result schemas the call still needs (#2383) 2026-06-29 15:00:39 +01:00
Felix Weinberger
ba27d201e1
feat(examples): add a reference host/server pair — cli-client + todos-server (#2380) 2026-06-29 13:58:32 +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
7ea6fde1b6
test(client): cover refresh retry after invalid token 401 (#2367)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-06-25 13:59:30 +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
Felix Weinberger
6312f2a3ec
fix(middleware): stop bundling workspace type graphs into .d.ts (avoids dts-gen OOM) (#2339) 2026-06-23 10:26:49 +01:00
Matt
78fbe2736d
feat(core): reserved trace context _meta keys and propagation docs (SEP-414) (#2270)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-06-15 12:32:08 +00: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
542d5c9586
v2: SdkError tests + codemod (#2137) 2026-06-10 20:15:15 +03:00
Konstantin Konstantinov
f563440cfd
codemod iterations round 1 (#2274) 2026-06-10 20:14:47 +03:00
Konstantin Konstantinov
1b53a415ea
Port of #2239 (v1.x) to v2 (#2275) 2026-06-10 20:14:36 +03:00
Felix Weinberger
8d55531dab
feat(core): per-revision spec reference types and the 2026-07-28 wire contract surface (#2252) 2026-06-08 18:31:57 +01:00
Konstantin Konstantinov
ab552c30d5
codemod improvements (#2156) 2026-06-02 20:19:45 +03:00
Felix Weinberger
db28156a23
fix(types): restore task wire types removed with the task feature (#2248) 2026-06-02 16:08:53 +01: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
Konstantin Konstantinov
e03bca90c1
v2 backcompat: server legacy package (#2206)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-06-01 14:33:32 +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
48251fe2cb
feat: add v2 codemod draft (#1950) 2026-05-21 14:13:33 +01:00
Konstantin Konstantinov
4f226c1e35
v2 backwards compat: SdkError status code (#2049) 2026-05-21 08:09:32 +03:00
Konstantin Konstantinov
22595b9685
v2 backwards compat: specTypeSchema exported - synchronous StandardSchemaV1 (#2047) 2026-05-15 16:51:48 +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
4fbcfcd176
refactor(specTypeSchema): drop as unknown as casts; add allowlist drift guard (#1993) 2026-04-30 16:03:09 +03:00
Felix Weinberger
96db044fe9
feat(core): add isSpecType / specTypeSchemas Records for runtime validation of spec types (#1887) 2026-04-30 13:16:23 +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
7cccc2aca8
feat(express): restore Resource-Server auth glue (requireBearerAuth, mcpAuthMetadataRouter) (#1907) 2026-04-28 14:18:33 +00:00
Felix Weinberger
2a7611d46b
fix(packages): add types/typesVersions for legacy moduleResolution: node (#1898) 2026-04-28 13:51:03 +00:00
Felix Weinberger
5433f40597
fix(node): make hono an optional peer dependency (#1896) 2026-04-28 13:47:38 +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
Felix Weinberger
b256546750
fix(core): fall back to z.toJSONSchema for zod schemas without ~standard.jsonSchema (#1895)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-04-28 12:37:08 +00:00
Felix Weinberger
42cb6b2b72
feat(compat): export InMemoryTransport from public API surface (#1834)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-04-27 13:24:05 +01:00