ruby_llm-mcp 0.2.1 → 0.3.0
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/README.md +112 -22
- data/lib/ruby_llm/chat.rb +8 -2
- data/lib/ruby_llm/mcp/capabilities.rb +3 -3
- data/lib/ruby_llm/mcp/client.rb +98 -20
- data/lib/ruby_llm/mcp/parameter.rb +11 -1
- data/lib/ruby_llm/mcp/prompt.rb +17 -6
- data/lib/ruby_llm/mcp/providers/anthropic/complex_parameter_support.rb +25 -6
- data/lib/ruby_llm/mcp/providers/gemini/complex_parameter_support.rb +61 -0
- data/lib/ruby_llm/mcp/providers/openai/complex_parameter_support.rb +19 -5
- data/lib/ruby_llm/mcp/requests/{completion.rb → completion_prompt.rb} +3 -13
- data/lib/ruby_llm/mcp/requests/completion_resource.rb +40 -0
- data/lib/ruby_llm/mcp/resource.rb +22 -44
- data/lib/ruby_llm/mcp/resource_template.rb +79 -0
- data/lib/ruby_llm/mcp/tool.rb +62 -17
- data/lib/ruby_llm/mcp/transport/sse.rb +10 -6
- data/lib/ruby_llm/mcp/transport/stdio.rb +51 -14
- data/lib/ruby_llm/mcp/transport/streamable.rb +11 -4
- data/lib/ruby_llm/mcp/version.rb +1 -1
- metadata +6 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_llm-mcp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Vice
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -118,9 +118,11 @@ files:
|
|
118
118
|
- lib/ruby_llm/mcp/parameter.rb
|
119
119
|
- lib/ruby_llm/mcp/prompt.rb
|
120
120
|
- lib/ruby_llm/mcp/providers/anthropic/complex_parameter_support.rb
|
121
|
+
- lib/ruby_llm/mcp/providers/gemini/complex_parameter_support.rb
|
121
122
|
- lib/ruby_llm/mcp/providers/openai/complex_parameter_support.rb
|
122
123
|
- lib/ruby_llm/mcp/requests/base.rb
|
123
|
-
- lib/ruby_llm/mcp/requests/
|
124
|
+
- lib/ruby_llm/mcp/requests/completion_prompt.rb
|
125
|
+
- lib/ruby_llm/mcp/requests/completion_resource.rb
|
124
126
|
- lib/ruby_llm/mcp/requests/initialization.rb
|
125
127
|
- lib/ruby_llm/mcp/requests/notification.rb
|
126
128
|
- lib/ruby_llm/mcp/requests/prompt_call.rb
|
@@ -131,6 +133,7 @@ files:
|
|
131
133
|
- lib/ruby_llm/mcp/requests/tool_call.rb
|
132
134
|
- lib/ruby_llm/mcp/requests/tool_list.rb
|
133
135
|
- lib/ruby_llm/mcp/resource.rb
|
136
|
+
- lib/ruby_llm/mcp/resource_template.rb
|
134
137
|
- lib/ruby_llm/mcp/tool.rb
|
135
138
|
- lib/ruby_llm/mcp/transport/sse.rb
|
136
139
|
- lib/ruby_llm/mcp/transport/stdio.rb
|