jokemanfire
0847c17fa1
feat: add clippy config ( #162 )
...
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-05-08 10:15:17 +08:00
Andrew Culberson
6c2e6e22ee
feat(oauth): fixes + cache client credentials ( #157 )
...
credentials optimize
2025-05-08 09:18:35 +08:00
Mauro Sardara
52c0651158
feat: allow use of reqwest without ring provider ( #155 )
...
Signed-off-by: Mauro Sardara <msardara@cisco.com>
2025-05-08 02:58:03 +08:00
4t145
09474d4769
fix(test): skip serialize tool's annotation if empty ( #160 )
...
* fix(test): skip serialize tool's annotation if empty
1. skip serialize tool's annotation if empty
2. close js server and client when close
* fix(test): fix test with js, don't close too early
2025-05-07 15:22:24 +08:00
jokemanfire
afb8a905e5
chore: add oauth2 support ( #130 )
...
1.add oauth2 server and client example
2.add oauth2 impl in sse
3.add auth doc
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-04-29 17:52:59 +08:00
Paul Ellenbogen
b1542a6153
fix: fix resource leak ( #136 )
...
When a running service is dropped, its connections should be closed and its resources should be
cleaned up.
This changes the default from leaving services running to closing them. Library users who want
their services to remain running should call `waiting` on their running service, in a new task
where necessary.
Co-authored-by: Paul Ellenbogen <pe5@cs.princeton.edu>
2025-04-28 17:56:20 +08:00
jokemanfire
5e4d447b32
chore: make cli command in simple-chat ( #145 )
...
add config,chat,help command
2025-04-27 09:10:51 +08:00
Eucalypt
6c2c02454d
chore: disable unix_socket example on windows ( #146 )
2025-04-26 14:27:15 +08:00
jokemanfire
18346b94e4
fix(rmcp-macros): fix extract_doc_line code ( #142 )
...
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-04-20 11:00:59 +08:00
jokemanfire
b6fabc8836
chore: make proxy in simple-chat configure ( #134 )
...
and remove some prints and some useless codes
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-04-20 11:00:47 +08:00
Sandipsinh Dilipsinh Rathod
3a97917cd7
feat(rmcp-macro): generate description from docs ( #141 )
...
* feat: generate description from docs
* fix logic to extract doc
* fmt
* chore: undo unnecessary changes in `Cargo.toml`
* chore: undo unnecessary changes in `Cargo.toml`
* chore: remove unnecessary code in tests
* create `extract_doc_line`
* fmt
* make sure the string is not empty
* avoid multilayer nesting
* fmt
2025-04-18 10:56:16 +08:00
z9rtm
9d6f9a2e0d
ci: security ( #133 )
...
* ci: add security audit job to workflow
2025-04-15 09:10:04 +08:00
jokemanfire
04a0a2cefb
docs: fix doc in simple-chat ( #129 )
2025-04-14 17:22:45 +08:00
Nora
9fc1cc0e0e
chore: remove un-used tower.rs ( #125 )
...
Signed-off-by: nora-coder-dot <nora6677@gmail.com>
Co-authored-by: nora-coder-dot <nora6677@gmail.com>
2025-04-11 16:11:28 +08:00
Ofer Affias
82239581ed
docs: fix typo and clarify instructions ( #124 )
2025-04-11 09:05:48 +08:00
Luke Francl
dffae27cf0
docs: update calculator example description ( #115 )
...
The example in the README uses "sum" for both `sum` and `sub`. I changed it to "difference". For consistency, I also updated the example code to use the same term.
2025-04-10 20:04:15 +08:00
jokemanfire
19e6d4596c
docs: fix the url ( #120 )
...
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-04-10 17:16:09 +08:00
jokemanfire
2125698fdc
docs: add a simple chat client for example ( #119 )
...
1. optimize the readme in root
2. add example
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-04-10 16:52:25 +08:00
4t145
31da5ff02d
fix(handler): do call handler methods when initialize server ( #118 )
2025-04-10 15:06:45 +08:00
Rik Huijzer
d0962ec9ee
docs: add an overview to rmcp/src/lib.rs ( #116 )
2025-04-10 09:11:35 +08:00
Rik Huijzer
1fc5be641f
ci: harden release action ( #113 )
2025-04-10 09:07:53 +08:00
Rik Huijzer
583a513448
fix: fix 2 cargo warnings ( #112 )
...
* fix: fix 3 cargo warnings
* revert `version = "1.0"` removal
2025-04-09 18:09:33 +08:00
Ruangyot Nanchiang
feb224c9aa
Fix typo for Claude desktop config file path correction and add more example for Windows, Linux, and MacOS ( #107 )
...
* fix(typo): claude desktop config file path correction
2025-04-09 10:50:26 +08:00
jokemanfire
7ae2728c54
fix(macros): add error deal ( #109 )
...
1.Check whether the parameters include aggregated parameters and individual parameters
2.Check if the toolbox attribute is default
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-04-09 10:15:33 +08:00
z9rtm
a1112bcdfe
ci: add code coverage job to CI workflow ( #111 )
...
add code coverage job
2025-04-09 08:55:57 +08:00
Rik Huijzer
fdfb5274e8
docs: give macOS link and clarify missing UI ( #110 )
...
fix doc in examples/README.md.
2025-04-09 08:55:07 +08:00
Eitan Yarmush
6a423048fa
feat: extensions to context ( #102 )
2025-04-08 10:01:17 +08:00
Sandipsinh Dilipsinh Rathod
938ecbe2fb
fix(server): schemars compilation errors ( #104 )
2025-04-08 09:41:55 +08:00
4t145
b9be9797d1
fix(test): fix test introduced by #97 ( #101 )
2025-04-07 17:31:56 +08:00
byeblack
d6a26fcd31
fix(rig-integration): implement ToolEmbeddingDyn trait for McpToolAdaptor ( #99 )
...
- Added ToolEmbeddingDyn trait for McpToolAdaptor to enable dynamic loading of McpTool
- Enhanced logging to record details
Co-authored-by: byeblack <byeblack@misaki.red>
2025-04-07 10:28:19 +08:00
Jonathan Hendler
910d3b39db
test(context): test context request handling and refactor for reusable client-server tests ( #97 )
2025-04-07 10:13:05 +08:00
jokemanfire
36834f37d0
fix(macro): add generics marco types support ( #98 )
...
add generic marco support
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-04-07 10:01:28 +08:00
4t145
68375460df
feat: revision-2025-03-26 without streamable http ( #84 )
...
1. Suppot revision 2025-03-26 data types
2. Support meta, progress tokne, and extensions in request/notification,
3. Remove `Message`, use `JsonRpcMessage` directly
2025-04-07 09:47:39 +08:00
A₿del ∞/21M
cced5e9c2f
chore: fix broken wasi example link ( #100 )
...
fix doc's link in example
2025-04-07 09:37:52 +08:00
Jonathan Hendler
72e7533e41
test(logging): Add tests for logging ( #96 )
...
* test(logging): implement basic logging functionality
* test(logging): add comprehensive server transport tests
2025-04-05 20:45:57 +08:00
Ruangyot Nanchiang
57f2ba265f
Add Claude desktop quick start and update Cargo.toml of examples/servers, examples/clients ( #94 )
...
* feat(readme): add Claude Desktop quick start guide
* fix(readme): correct typo in Claude Desktop instructions
2025-04-05 13:07:31 +08:00
Jonathan Hendler
2744cde0d9
fix(typo): nit language corrections ( #90 )
2025-04-04 12:20:48 +08:00
Bob Liu
6a74451c15
fix: fix rig chat agent output format ( #86 )
2025-04-03 13:48:38 +08:00
Alex Kesling
af51779c0a
fix(typo): s/marcos/macros/ ( #85 )
2025-04-02 17:41:07 -07:00
jokemanfire
c30d8063e3
ci: add spell check ( #82 )
...
for code greater use spell check
Signed-off-by: jokemanfire <hu.dingyang@zte.com.cn>
2025-04-02 13:55:37 +08:00
z9rtm
d5c4bf09c2
Adopt Devcontainer for Development Environment ( #81 )
...
* chore: add devcontainer setting
* docs: add Dev Container setup instructions to README and create DEVCONTAINER.md
2025-04-02 12:16:49 +08:00
Bob Liu
6a648b8827
chore: fix typos ( #79 )
2025-04-02 01:15:01 +08:00
jokemanfire
4ca00c2052
fix(client): add error enum while deal client info ( #76 )
...
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-04-01 21:15:48 +08:00
4t145
2c0cafdde3
feat(tool): allow tool call return a serializable value in json format ( #75 ) ( #78 )
2025-04-01 15:53:01 +08:00
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
Todsaporn Banjerdkit
59c975887e
docs: format and fix typo ( #72 )
2025-03-31 16:13:17 +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