legion-mcp 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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/legion/mcp/context_compiler.rb +6 -0
- 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: dbc548bee22e23b6829490dcb7df334ae19c470f4f0d5d9148831b125083e323
|
|
4
|
+
data.tar.gz: 56bc136cb3b5801dce2d7fed3ba947ff9de1abd64c3dd996caa67cdffca49cd1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 62db181395833185ab2e9b11b7ef3281a2e49761aab8d61feabce4fd19389fe768af86b26d0e24501ebb0ca2237ec87bd820ca18417b4eda3e77921fade69508
|
|
7
|
+
data.tar.gz: f5f1429b9cd74bcfaaf61083a38c5c5245644beee9e6ae3910ccb947f0f6809b8e9ef664bdce3d6a4ad3b9ec493788d92bb587c0d53bde7b75d7bed3b5a0fef0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# legion-mcp Changelog
|
|
2
2
|
|
|
3
|
+
## [0.8.1] - 2026-04-14
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- `ContextCompiler::CATEGORIES` now includes a `:skills` category listing all four `legion.skill.*` tools (`legion.skill.list`, `legion.skill.describe`, `legion.skill.invoke`, `legion.skill.cancel`). Previously they were absent from `CATEGORIES` so `compressed_catalog` never surfaced them and `legion.do intent:"list all skills"` would misroute to an auto-discovered swarm-github runner, returning "missing keywords: :owner, :repo, :pull_number"
|
|
7
|
+
- `ContextCompiler#keyword_score_map` now adds a +3 bonus per intent keyword that matches tool name terms (split on `.`), preventing semantic-score drift from lifting generic runner stubs above correctly-named skill tools when embeddings are active
|
|
8
|
+
|
|
3
9
|
## [0.8.0] - 2026-04-12
|
|
4
10
|
|
|
5
11
|
### Added
|
|
@@ -71,6 +71,10 @@ module Legion
|
|
|
71
71
|
tools: %w[legion.eval_list legion.eval_run legion.eval_results],
|
|
72
72
|
summary: 'Evaluation management - list evaluators, run evaluations, view results.'
|
|
73
73
|
},
|
|
74
|
+
skills: {
|
|
75
|
+
tools: %w[legion.skill.list legion.skill.describe legion.skill.invoke legion.skill.cancel],
|
|
76
|
+
summary: 'Skill management - list, describe, invoke, and cancel LLM skills.'
|
|
77
|
+
},
|
|
74
78
|
meta: {
|
|
75
79
|
tools: %w[legion.do legion.tools legion.plan_action legion.structural_index],
|
|
76
80
|
summary: 'Meta-tools - natural language routing, tool discovery, planning, structural index.'
|
|
@@ -214,6 +218,8 @@ module Legion
|
|
|
214
218
|
tool_index.values.to_h do |entry|
|
|
215
219
|
haystack = "#{entry[:name].downcase} #{entry[:description].downcase}"
|
|
216
220
|
score = keywords.count { |kw| haystack.include?(kw) }
|
|
221
|
+
name_terms = entry[:name].downcase.tr('._-', ' ').split
|
|
222
|
+
score += (keywords & name_terms).length * 3
|
|
217
223
|
[entry[:name], score]
|
|
218
224
|
end
|
|
219
225
|
end
|
data/lib/legion/mcp/version.rb
CHANGED