ihrpr
|
5dba9477ff
|
small fixes after suggested changes
|
2025-04-17 17:34:15 +01:00 |
|
ihrpr
|
c053c2e97d
|
handle session termination
|
2025-04-16 11:56:28 +01:00 |
|
ihrpr
|
585dc06708
|
introduce onsessioninitialized to avoid race conditions
|
2025-04-16 11:09:47 +01:00 |
|
ihrpr
|
31f44e0b68
|
add isInitializeRequest and isInitializedNotification utility
|
2025-04-16 10:19:46 +01:00 |
|
ihrpr
|
8bc49f9f34
|
change names to resumptionToken instead of last event id
|
2025-04-15 22:06:10 +01:00 |
|
ihrpr
|
f1c5ef1a8d
|
apply suggested changes
|
2025-04-15 20:40:26 +01:00 |
|
ihrpr
|
f1e6acb17d
|
resumed tool to return value
|
2025-04-15 16:37:31 +01:00 |
|
ihrpr
|
54d6929149
|
don't need to re-initialize when we reconnect a session
|
2025-04-15 11:58:43 +01:00 |
|
ihrpr
|
1359e9fe6a
|
pull transport send options into own named type
|
2025-04-15 11:42:16 +01:00 |
|
ihrpr
|
621e65c42b
|
Merge branch 'resumability' into ihrpr/resume-long-running-requests
|
2025-04-15 11:14:39 +01:00 |
|
ihrpr
|
67a4595ae7
|
improve event store interface
|
2025-04-15 11:03:44 +01:00 |
|
ihrpr
|
583202f81a
|
address client comments
|
2025-04-15 09:24:11 +01:00 |
|
ihrpr
|
7aeb67988a
|
improve comments
|
2025-04-14 09:37:19 +01:00 |
|
ihrpr
|
43cb015844
|
resume long running requst from new client
|
2025-04-13 21:40:15 +01:00 |
|
ihrpr
|
6374f43390
|
limit on retries
|
2025-04-13 15:18:52 +01:00 |
|
ihrpr
|
64fadf3cf2
|
resume streams on error - initial implementation
|
2025-04-13 08:26:49 +01:00 |
|
ihrpr
|
18e4981bd3
|
move get sse stream from a separate method to automatic connection when notifications/initialized received
|
2025-04-11 14:06:51 +01:00 |
|
ihrpr
|
5c5a33021c
|
add GET to examples servers
|
2025-04-10 15:28:39 +01:00 |
|
Antoine Beauvais-Lacasse
|
a76004c92b
|
StreamableHTTPClientTransport cleanup / fixes
* always send headers specified in requestInit option
* avoid doubled onerror call
* use for-await to iterate SSE stream
* remove outdated comments
* simplify requestId tracking
* throw error when response Content-Type is out of spec
|
2025-04-09 21:18:50 -04:00 |
|
ihrpr
|
26929fa9b7
|
fix lint
|
2025-04-09 11:17:34 +01:00 |
|
ihrpr
|
18674007e5
|
remove the _activeStreams map
|
2025-04-09 11:13:28 +01:00 |
|
ihrpr
|
1d18a57a17
|
extract standalone get into a method which can be called by a client
|
2025-04-09 09:50:59 +01:00 |
|
ihrpr
|
15c10a5883
|
fix lint
|
2025-04-08 22:30:15 +01:00 |
|
ihrpr
|
d4ad976401
|
use EventSourceParserStream
|
2025-04-08 21:39:49 +01:00 |
|
ihrpr
|
f1827ced10
|
handle not implemented get
|
2025-04-08 15:04:07 +01:00 |
|
ihrpr
|
c3b446d424
|
multiple streams and initial stream with get
|
2025-04-08 11:11:09 +01:00 |
|
ihrpr
|
640ae5a863
|
initial client implementation
|
2025-04-08 09:43:22 +01:00 |
|
ihrpr
|
251bb9d97d
|
Merge branch 'main' into ihrpr/http-streamable-server
|
2025-04-07 14:29:09 +01:00 |
|
Justin Spahr-Summers
|
58adcd4d60
|
Merge pull request #224 from nanbingxyz/main
✨ (client/index.ts): add optional RequestOptions parameter to connect…
|
2025-04-07 11:31:28 +01:00 |
|
Justin Spahr-Summers
|
a76b2639d7
|
Merge pull request #268 from morinokami/patch-2
fix: Ensure the correct capability is checked for `completion/complete`
|
2025-04-07 11:29:04 +01:00 |
|
Justin Spahr-Summers
|
0c437a81be
|
Merge pull request #231 from Exlau/exlau/sse-cache-control-header-fix
fix: 🐛 can't establish sse when server side enable compress
|
2025-04-07 11:18:32 +01:00 |
|
Justin Spahr-Summers
|
9980cbf438
|
Merge pull request #194 from davolokh/console-error-in-test-removed
console.error pollution logs removed in tests
|
2025-04-07 11:07:02 +01:00 |
|
ihrpr
|
268c9f7469
|
fix test
|
2025-04-06 18:42:46 +01:00 |
|
Shinya Fujino
|
87dc5eb4a2
|
fix: Ensure the correct capability is checked for completion/complete
|
2025-04-06 11:42:18 +09:00 |
|
Exlau
|
e5eecd4308
|
Merge branch 'main' into exlau/sse-cache-control-header-fix
|
2025-04-02 11:16:00 +08:00 |
|
Ironben
|
3139be6cb8
|
Merge branch 'main' into main
|
2025-03-29 01:03:22 +08:00 |
|
Jerome
|
592c91fc86
|
Merge pull request #222 from modelcontextprotocol/praboud/redirect-uri-fix
Correctly pass redirect_uri to tokens call
|
2025-03-28 15:51:02 +00:00 |
|
ExlauChen
|
6c15dcb65f
|
fix: 🐛 can't establish sse when server side enable compress
|
2025-03-28 14:50:59 +08:00 |
|
Ironben
|
b6cfddf04d
|
Merge branch 'main' into main
|
2025-03-26 20:41:54 +08:00 |
|
Justin Spahr-Summers
|
c6635d71d6
|
Fix lints
|
2025-03-26 10:12:19 +00:00 |
|
Ironben
|
b6749998f5
|
✨ (client/index.ts): add optional RequestOptions parameter to connect method to allow additional configuration options
|
2025-03-26 11:54:48 +08:00 |
|
Peter Raboud
|
2a2392be26
|
Correctly pass redirect_uri to tokens call
|
2025-03-25 14:20:34 -07:00 |
|
zhibisora
|
46ae2a17af
|
Fix test for cross-spawn
|
2025-03-16 05:15:50 +08:00 |
|
zhibisora
|
d4bf73b06e
|
Replace native spawn with cross-spawn for improved cross-platform compatibility
|
2025-03-16 05:00:36 +08:00 |
|
Dmitry Volokh
|
fee4bbec58
|
console.error pollution removed in tests
|
2025-03-14 19:54:03 +01:00 |
|
Jerome
|
c521710b86
|
Lint
|
2025-02-25 09:51:17 +00:00 |
|
Jerome
|
8dfa64338e
|
Fixing up tests
|
2025-02-24 13:48:24 +00:00 |
|
Jerome
|
885590c099
|
Fixing tests
|
2025-02-24 13:39:58 +00:00 |
|
Jerome
|
26b47438c6
|
Tidy up CORS error catching
|
2025-02-24 10:39:38 +00:00 |
|
Jerome
|
3b12961e2e
|
Added tests
|
2025-02-23 14:55:30 +00:00 |
|