Commit graph typescript-sdk/src/shared/protocol.test.ts
Author SHA1 Message Date
Konstantin Konstantinov
f59996ae66
SEP-1319: Decouple Request Payloads, Remove passthrough iteration, Typecheck fixes (#1086) 2025-11-07 16:50:20 +00:00
Inna Harper
1150b1d843
run prettier (#995) 2025-10-02 18:21:00 +01:00
Jesse
af61a086ae
feat(protocol): Debounce notifications to improve network efficiancy (#746) 2025-07-15 09:40:17 +01:00
Samuel Jensen
9edb619600 make protocol class not overwrite existing hooks when connecting transports 2025-06-20 19:59:30 +02:00
ihrpr
eed97c9d17
Merge branch 'main' into ihrpr/elicitation 2025-06-10 14:43:35 +01:00
ihrpr
cdcb00975c
fix build and add tests 2025-05-29 14:59:47 +01:00
ihrpr
04cbbfbb0d
elicitation example 2025-05-21 16:59:37 -04:00
Basil Hosmer
d37de9b110
Add support for message field in progress notifications
Implements the new optional message field for progress notifications as
defined in the MCP specification update. This allows servers to provide
descriptive status updates alongside progress values.

Changes:
- Add optional message field to ProgressSchema in types.ts
- Add tests for progress notifications with message field
- Update protocol tests to verify message field handling

Refs: https://github.com/modelcontextprotocol/modelcontextprotocol/pull/197

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-16 15:18:28 -04:00
Tuomas
d63324e34e Fix resetTimeoutOnProgress option not being checked, add test 2025-02-25 11:32:24 -06:00
Tuomas
28415d3917 Refactor progress notification timeout handling in protocol 2025-02-19 12:23:16 -06:00
Tuomas
7f6c0465f5 Add timeout reset on progress notifications 2025-02-17 15:57:02 -06:00
Justin Spahr-Summers
c14a5d44bf
Tests for mergeCapabilities 2025-01-07 14:34:00 +00:00
Sumitesh Naithani
21e3d465ca chore: updated documentation comment in ErrorCode enum and set protocol test timeout to 0 2025-01-03 06:59:01 +05:30
Sumitesh Naithani
8fa0a5c88b test: added tests for checking correct error codes are thrown on request timeout and connection closed scenarios 2024-12-23 00:10:14 +05:30