4t145
923e87af4d
feat: Sse server auto ping ( #74 )
...
1. auto ping in sse stream every second to make cursor happy
2. configurable sse keep alive
---------
Co-authored-by: = <=>
2025-04-01 10:54:09 +08:00
Eitan Yarmush
588a013090
feat(transport): Sse client transport trait ( #67 )
...
* feat: created transport trait and impl
* feat(transport): abstract sse transport from the client definition
* test: add test with js server (#65 )
* fix: use prefix to check mime type
* fix(test): fix tool deserialization error (#68 )
* ci: add documentation generation job (#59 )
* ci: add documentation generation job
1. add doc ci in workflow
2. remove the readme in rmcp crate
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
* docs: fix doc test in README.md
1) fix doc test in readme
2) fix some fmt
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
---------
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
* fix(notification): fix wrongly error report in notification (#70 )
* chore: fix lint errors by creating a type alias
* chore: resolve conflict
* chore: fix fmt
* chore: revert
---------
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
Co-authored-by: Jefry Dewangga <jefrydco@gmail.com>
Co-authored-by: 4t145 <u4t145@163.com>
Co-authored-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-03-31 16:22:54 +08:00
4t145
145b5de322
fix(notification): fix wrongly error report in notification ( #70 )
2025-03-31 13:50:27 +08:00
jokemanfire
b91fe54409
ci: add documentation generation job ( #59 )
...
* ci: add documentation generation job
1. add doc ci in workflow
2. remove the readme in rmcp crate
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
* docs: fix doc test in README.md
1) fix doc test in readme
2) fix some fmt
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
---------
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-03-31 13:46:31 +08:00
4t145
0eea9aad4a
fix(test): fix tool deserialization error ( #68 )
2025-03-31 13:05:35 +08:00
jokemanfire
0e2b115c10
fix(server): add error enum while deal server info ( #51 )
...
1. wrap the error type for more standardized
2. add more information in error for debug trace
3. wrap helper func for more user-friendly code
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-03-30 00:35:41 +08:00
jokemanfire
0a2f13a1f4
style: fmt the project ( #54 )
...
add rustfmt.toml
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-03-28 23:50:46 +08:00
Wang Ruobiao
59bfb6e748
refactor(sse_server): separate router and server startup ( #52 )
...
* feat: expose axum router
* feat: add axum_router example with SSE server implementation
* refactor: simplify SseServer configuration handling in server setup
* docs: add warning to SseServer::new about potential post_path issues with embedded routers
2025-03-28 22:06:50 +08:00
4t145
0be6067326
Move whole rmcp crate to offcial rust sdk ( #44 )
...
* get rid of async-trait
* move rmcp to official-rust-sdk
* replace master with main
* update readme, change license
* fix typo
* Update README.md
Co-authored-by: Jefry Dewangga <jefrydco@gmail.com>
* fix typos
---------
Co-authored-by: = <=>
Co-authored-by: Jefry Dewangga <jefrydco@gmail.com>
2025-03-27 17:33:41 -04:00