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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a3e25d857f68078fd0cdee66c754af9f90d463b51e781c77fc98101a4f6417e
4
- data.tar.gz: 210832fec6116565553d64f5903f9c6c2599b4f98d3aaa30a43d78ab6488322b
3
+ metadata.gz: dbc548bee22e23b6829490dcb7df334ae19c470f4f0d5d9148831b125083e323
4
+ data.tar.gz: 56bc136cb3b5801dce2d7fed3ba947ff9de1abd64c3dd996caa67cdffca49cd1
5
5
  SHA512:
6
- metadata.gz: 33a52a4ad2246bc5332cdd9d2fa63c8ba285945b43c56c79b5fb22088315a51f53828ff3ccd3507ad39cc8613459dfa272aaccda73362a364c91acf21d5200bf
7
- data.tar.gz: 4ebbba0174ae96289f20001c0acdaa2d7b475ae671f783cf0297533ddee50bc54ed889f313aff1442c3a840ef2b56637e990f063d412db369048924897518969
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Legion
4
4
  module MCP
5
- VERSION = '0.8.0'
5
+ VERSION = '0.8.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legion-mcp
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
  - Esity