actionmcp 0.111.0 → 0.111.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/action_mcp/server/tools.rb +4 -1
- data/lib/action_mcp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 278cf7ec84daea1af24b29413c1a0d4a0c56793f8aebff32c2ca10953bde715b
|
|
4
|
+
data.tar.gz: 1bf9dbb492f66f611523a6c802a84565470ff5323459a76d420ab7d5393a826b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 243bb2bf2d3c844e25b7a83fd74f7aa1c004742124caa1da723d30c25a24ec8211e6eb98f96ea0e53eaa429d66a334a770ffcf6e2186b1096c451ef1e268195a
|
|
7
|
+
data.tar.gz: 6b4cfd0bd035f6af788ae8e61215fa6a64e88177369a62a5a507c67c3812494dd06832c26753519c77c826e9985747469443ecc9a073d713a4e7424cc64f6866
|
|
@@ -125,7 +125,10 @@ module ActionMCP
|
|
|
125
125
|
send_jsonrpc_response(request_id, result: result.to_h)
|
|
126
126
|
end
|
|
127
127
|
rescue ArgumentError => e
|
|
128
|
-
# Handle parameter validation errors
|
|
128
|
+
# Handle parameter validation errors (e.g. alias conflicts)
|
|
129
|
+
send_jsonrpc_error(request_id, :invalid_params, e.message)
|
|
130
|
+
rescue ActiveModel::UnknownAttributeError => e
|
|
131
|
+
# Undeclared param on a strict tool — message already names the key + tool
|
|
129
132
|
send_jsonrpc_error(request_id, :invalid_params, e.message)
|
|
130
133
|
rescue StandardError => e
|
|
131
134
|
# Log the actual error for debugging
|
data/lib/action_mcp/version.rb
CHANGED