datagrout-conduit 0.8.0 → 0.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c586cb9aae6cf748677d41c1b453bc4ed896e440b68d43451a50c5ed3333282d
4
- data.tar.gz: bda496e4dc74051928c73115e6c69a23515e3b930ba82ccbe5bfedd12131e00b
3
+ metadata.gz: fd14b15aedac0053578b8851d4f0bb7295be8fde2f8495010eb8f0591193f91a
4
+ data.tar.gz: 33ba69cb106483c8bdfe1bd28f9e0f08135a6bcdbb1ef385c94d2ea014a2f304
5
5
  SHA512:
6
- metadata.gz: 856a644371b034af39a9e6caf6ea15ff6c088c0d504c0ef22094f35f70f46eadf7bf6ed85967a14484872f7a8d49f1e2064400d34325c8700032dfbb3d45f134
7
- data.tar.gz: 4f34ee08b4d4e126bde2a8b053ec2f9443ae31f1b1aa332eac6649d88944a736a3f31f6ac87880a685f246a4a68fab56c1bb86f720fa1e0adb5df6d08b2d48df
6
+ metadata.gz: f168042023a468b2039c42236e29d0b0671d64c8fa807a4c58fd5eab5a2db1ef9c51049dc5f53fe8555eea86818eb513436b27eeac1d8e366d5823c1076a1b89
7
+ data.tar.gz: d5ee5d3d4fb4931072596811daabb01d527f08eac8f3a080a83ed700cb8069716c71489cc8cc92f2831ee740b09af5bb1f16f9c98f1a6eaaaa4fd6e63241a889
data/README.md CHANGED
@@ -9,13 +9,13 @@ Connect to remote MCP and JSONRPC servers, invoke tools, discover capabilities w
9
9
  Add to your Gemfile:
10
10
 
11
11
  ```ruby
12
- gem "datagrout-conduit", "~> 0.8.0"
12
+ gem "datagrout-conduit", "~> 0.8.1"
13
13
  ```
14
14
 
15
15
  Or install directly:
16
16
 
17
17
  ```sh
18
- gem install datagrout-conduit -v 0.8.0
18
+ gem install datagrout-conduit -v 0.8.1
19
19
  ```
20
20
 
21
21
  ## Quick Start
@@ -173,6 +173,20 @@ module DatagroutConduit
173
173
  # Standard MCP Methods
174
174
  # ================================================================
175
175
 
176
+ # Whether a tool name is one of DataGrout's own (the semantic discovery
177
+ # and execution tools) rather than a third-party integration tool.
178
+ #
179
+ # Third-party tools are named +integration@version/tool@version+. DataGrout's
180
+ # own tools reach a client in two spellings depending on the transport: the
181
+ # canonical +data-grout@1/discovery.perform@1+ over WebSocket, the short
182
+ # +discovery.perform+ over HTTP MCP. Treating "contains @" as "third party"
183
+ # kept only the short form, so a WebSocket client with the intelligent
184
+ # interface on saw zero tools.
185
+ def self.dg_native_tool?(name)
186
+ name = name.to_s
187
+ !name.include?("@") || name.start_with?("data-grout@", "data-grout/")
188
+ end
189
+
176
190
  def list_tools
177
191
  ensure_initialized!
178
192
 
@@ -194,7 +208,7 @@ module DatagroutConduit
194
208
  end
195
209
 
196
210
  if @use_intelligent_interface
197
- all_tools.reject! { |t| t.name.include?("@") }
211
+ all_tools.select! { |t| self.class.dg_native_tool?(t.name) }
198
212
  end
199
213
 
200
214
  all_tools
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DatagroutConduit
4
- VERSION = "0.8.0"
4
+ VERSION = "0.8.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datagrout-conduit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - DataGrout
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-09-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: faraday
@@ -162,7 +161,6 @@ metadata:
162
161
  source_code_uri: https://github.com/DataGrout/conduit-sdk/tree/main/ruby
163
162
  changelog_uri: https://github.com/DataGrout/conduit-sdk/blob/main/CHANGELOG.md
164
163
  bug_tracker_uri: https://github.com/DataGrout/conduit-sdk/issues
165
- post_install_message:
166
164
  rdoc_options: []
167
165
  require_paths:
168
166
  - lib
@@ -177,8 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
175
  - !ruby/object:Gem::Version
178
176
  version: '0'
179
177
  requirements: []
180
- rubygems_version: 3.5.22
181
- signing_key:
178
+ rubygems_version: 4.0.16
182
179
  specification_version: 4
183
180
  summary: Production-ready MCP client with mTLS, OAuth 2.1, and semantic discovery
184
181
  test_files: []