legion-mcp 0.6.4 → 0.6.5
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/CHANGELOG.md +5 -0
- data/lib/legion/mcp/function_discovery.rb +2 -5
- data/lib/legion/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: 960717663982065531dc5a3a9cbd6ab7fbbdbe3a3508450b4b939b4daca924f1
|
|
4
|
+
data.tar.gz: e88377ec6855f66b0d1ecfde6ae66f9391c652db2ebd667a618bc7367794bcdf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 286308f3c626cc7d33c82110166a57e2493636bb9d8f38222d85864c3d635eb806c93752edeccf3b99d06a778a2d53c427b8f6623a235096d3b282079bce7fba
|
|
7
|
+
data.tar.gz: c0dd5b889add5d976ee7aa9669acda7cb3e0d2092b2854f721fa8611b37bc8d45b6cb7e77078c3286c2dbf496bbe614fe218756fdff257de17013431b37c1fa2
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.6.5] - 2026-03-28
|
|
6
|
+
|
|
7
|
+
### Removed
|
|
8
|
+
- Legacy `expose_as_mcp_tool` and `mcp_tool_prefix` fallback reads from `FunctionDiscovery#runner_expose_opts` — runners that do not use the definition DSL are no longer exposed; `class_expose` is always `nil` and `prefix` is always `nil` in the opts hash
|
|
9
|
+
|
|
5
10
|
## [0.6.4] - 2026-03-28
|
|
6
11
|
|
|
7
12
|
### Changed
|
|
@@ -33,12 +33,9 @@ module Legion
|
|
|
33
33
|
functions.each { |func_name, meta| register_function(runner_module, func_name, meta, opts) }
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
def runner_expose_opts(
|
|
37
|
-
# @deprecated class_expose/prefix — prefer definition DSL (mcp_exposed:, mcp_tool_prefix:)
|
|
38
|
-
class_expose = runner_module.respond_to?(:expose_as_mcp_tool) ? runner_module.expose_as_mcp_tool : nil
|
|
36
|
+
def runner_expose_opts(_runner_module)
|
|
39
37
|
global_expose = defined?(Legion::Settings) ? (Legion::Settings.dig(:mcp, :auto_expose_runners) || false) : false
|
|
40
|
-
|
|
41
|
-
{ class_expose: class_expose, global_expose: global_expose, prefix: prefix }
|
|
38
|
+
{ class_expose: nil, global_expose: global_expose, prefix: nil }
|
|
42
39
|
end
|
|
43
40
|
|
|
44
41
|
def register_function(runner_module, func_name, meta, opts)
|
data/lib/legion/mcp/version.rb
CHANGED