github-actions[bot]
6728191660
chore: release v0.3.0 ( #307 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-16 16:28:56 -04:00
dependabot[bot]
83c15ebcb3
chore(deps): update darling requirement from 0.20 to 0.21 ( #318 )
...
Updates the requirements on [darling](https://github.com/TedDriggs/darling ) to permit the latest version.
- [Release notes](https://github.com/TedDriggs/darling/releases )
- [Changelog](https://github.com/TedDriggs/darling/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TedDriggs/darling/compare/v0.20.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: darling
dependency-version: 0.21.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: jokemanfire <hu.dingyang@zte.com.cn>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-15 09:15:39 +08:00
4t145
e615300fea
feat: unified error type ( #308 )
...
* feat: unified error type
* fix: use type id to compare transport type
2025-07-09 11:23:39 +08:00
github-actions[bot]
ee80903091
chore: release v0.2.1 ( #302 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-02 21:55:28 -04:00
Alex Hancock
c6dcbd72e4
chore(docs): Minor README updates ( #301 )
...
* chore(docs): minor readme updates
* fix: correct typos in changelog
2025-07-02 21:50:32 -04:00
github-actions[bot]
c0f372001f
chore: release v0.2.0 ( #300 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-02 14:50:51 -04:00
4t145
8e1490bcd8
feat: add progress notification handling and related structures ( #282 )
...
* feat: add progress notification handling and related structures
also fix some lifetime bugs of tool macro
* fix: fmt
2025-06-25 14:30:22 +08:00
4t145
1f7f4d3055
refactor: refactor tool macros and router implementation ( #261 )
...
* refactor: refactor tool macros and router implementation
- Updated the `#[tool(tool_box)]` macro to `#[tool_router]` across various modules for consistency.
- Enhanced the `Calculator`, `Counter`, and `GenericService` structs to utilize `ToolRouter` for handling tool calls.
- Introduced `Parameters` struct for better parameter handling in tool functions.
- Added new methods for listing tools and calling tools in server handlers.
- Improved test cases to reflect changes in tool routing and parameter handling.
- Updated documentation and examples to align with the new router structure.
* fix: fix fmt and build error
* fix: fix test failure
* docs: documents for macros, fix ci
* fix: fix ci
* fix: fix wrongly replaced documents
* fix: remove useless file
* fix: change the parameter format for tool_router
* fix: update extract_doc_line to handle existing documentation and clean up unused code in server handler
* doc: update document for macro and examples
* doc: update readme and add contribute guide
* fix: fix type
2025-06-24 04:01:22 +08:00
Pete Hayman
4e8686ff47
fix: generic ServerHandler ( #223 )
2025-05-26 14:13:34 +08:00
jokemanfire
c1c4c9a0c9
doc: use hierarchical readme for publishing ( #198 )
2025-05-19 13:15:49 +08:00
Abhay Agarwal
68ddea3ad5
feat(server): add annotation to tool macro ( #184 )
...
skip serializing the tool annotations if none, fixes mcp inspector
2025-05-18 16:04:58 +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
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
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
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
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
Bob Liu
6a648b8827
chore: fix typos ( #79 )
2025-04-02 01:15:01 +08:00
4t145
0eea9aad4a
fix(test): fix tool deserialization error ( #68 )
2025-03-31 13:05:35 +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
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