legion-mcp 0.5.5 → 0.5.6
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/CLAUDE.md +9 -3
- data/README.md +6 -4
- data/lib/legion/mcp/override_broadcast.rb +2 -1
- 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: c9e0929e9bf734d95007fba20225c5cc02ef7116f999c90de380f18eb3753929
|
|
4
|
+
data.tar.gz: dff5f7f858ca527c917620be9c05996d33f33fe8847617a79d267414f02810bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 979b0bb726e1cdbe455335be790e50bbd1f282b62bb857b6d865fa046a35eb7ce9eee3a914d44990a5a51452e8e0c0c4532419cba44f65f73aef16808030ce48
|
|
7
|
+
data.tar.gz: e786d20f88f1f75a982cb2c9fda17e1094b82ff748aed02395f6556624492c356bca8ace07ea249923f0a4a0c407c6f75c1252345fbad5cf823abf6e227f8e29
|
data/CHANGELOG.md
CHANGED
data/CLAUDE.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Standalone gem providing the Model Context Protocol (MCP) server for LegionIO. Extracted from LegionIO to enable independent versioning and reuse. Includes semantic tool matching, observation pipeline, context compilation, tiered inference (Tier 0/1/2), and tool governance.
|
|
8
8
|
|
|
9
9
|
**GitHub**: https://github.com/LegionIO/legion-mcp
|
|
10
|
-
**Version**: 0.
|
|
10
|
+
**Version**: 0.5.5
|
|
11
11
|
**License**: Apache-2.0
|
|
12
12
|
**Ruby**: >= 3.4
|
|
13
13
|
|
|
@@ -25,7 +25,7 @@ Legion::MCP
|
|
|
25
25
|
├── PatternStore # 4-layer degrading storage (L0 memory, L1 cache, L2 local SQLite)
|
|
26
26
|
├── TierRouter # Confidence-gated tier selection (Tier 0/1/2)
|
|
27
27
|
├── ContextGuard # Staleness, rapid-fire, anomaly detection guards
|
|
28
|
-
├── Tools/ #
|
|
28
|
+
├── Tools/ # 41 MCP::Tool subclasses (legion.* namespace)
|
|
29
29
|
└── Resources/ # RunnerCatalog, ExtensionInfo
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -75,10 +75,16 @@ All optional dependencies use `defined?()` guards:
|
|
|
75
75
|
| `lib/legion/mcp/pattern_store.rb` | 4-layer degrading storage (L0/L1/L2) with thread-safe access |
|
|
76
76
|
| `lib/legion/mcp/tier_router.rb` | Confidence-gated tier selection, tool chain execution |
|
|
77
77
|
| `lib/legion/mcp/context_guard.rb` | Staleness, rapid-fire, anomaly detection |
|
|
78
|
-
| `lib/legion/mcp/tools/` |
|
|
78
|
+
| `lib/legion/mcp/tools/` | 41 MCP::Tool subclasses (legion.* namespace) |
|
|
79
79
|
| `lib/legion/mcp/tools/do_action.rb` | Natural language intent routing with Tier 0 fast path |
|
|
80
80
|
| `lib/legion/mcp/tools/discover_tools.rb` | Dynamic tool discovery with context |
|
|
81
81
|
| `lib/legion/mcp/tools/run_task.rb` | Execute runner function via dot notation |
|
|
82
|
+
| `legion.mind_growth_status` | Current growth cycle state |
|
|
83
|
+
| `legion.mind_growth_propose` | Trigger concept proposal (category, description, name) |
|
|
84
|
+
| `legion.mind_growth_approve` | Approve a proposal by ID |
|
|
85
|
+
| `legion.mind_growth_build_queue` | List approved proposals ready to build |
|
|
86
|
+
| `legion.mind_growth_cognitive_profile` | Current architecture analysis |
|
|
87
|
+
| `legion.mind_growth_health` | Extension fitness validation |
|
|
82
88
|
| `lib/legion/mcp/resources/runner_catalog.rb` | `legion://runners` resource |
|
|
83
89
|
| `lib/legion/mcp/resources/extension_info.rb` | `legion://extensions/{name}` resource template |
|
|
84
90
|
|
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
MCP (Model Context Protocol) server for the LegionIO framework. Provides semantic tool matching, observation pipeline, context compilation, and tiered behavioral intelligence (Tier 0/1/2 routing).
|
|
4
4
|
|
|
5
|
-
**Version**: 0.
|
|
5
|
+
**Version**: 0.5.5
|
|
6
6
|
|
|
7
7
|
Extracted from [LegionIO](https://github.com/LegionIO/LegionIO) for independent versioning and reuse.
|
|
8
8
|
|
|
@@ -15,7 +15,7 @@ gem 'legion-mcp'
|
|
|
15
15
|
Or in a Gemfile:
|
|
16
16
|
|
|
17
17
|
```ruby
|
|
18
|
-
gem 'legion-mcp', '~> 0.
|
|
18
|
+
gem 'legion-mcp', '~> 0.5'
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Architecture
|
|
@@ -32,7 +32,7 @@ Legion::MCP
|
|
|
32
32
|
├── PatternStore # 4-layer degrading storage (L0 memory → L1 cache → L2 SQLite)
|
|
33
33
|
├── TierRouter # Confidence-gated tier selection (0/1/2)
|
|
34
34
|
├── ContextGuard # Staleness, rapid-fire, anomaly detection
|
|
35
|
-
├── Tools/ #
|
|
35
|
+
├── Tools/ # 41 MCP::Tool subclasses (legion.* namespace)
|
|
36
36
|
└── Resources/ # RunnerCatalog, ExtensionInfo
|
|
37
37
|
```
|
|
38
38
|
|
|
@@ -77,7 +77,7 @@ All persistence wraps in `begin/rescue => nil` — failed writes never block Tie
|
|
|
77
77
|
|
|
78
78
|
## Tools
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
41 MCP tools in the `legion.*` namespace:
|
|
81
81
|
|
|
82
82
|
| Tool | Purpose |
|
|
83
83
|
|------|---------|
|
|
@@ -95,6 +95,8 @@ All persistence wraps in `begin/rescue => nil` — failed writes never block Tie
|
|
|
95
95
|
| `legion.list_workers` / `show_worker` / `worker_lifecycle` / `worker_costs` | Worker management |
|
|
96
96
|
| `legion.team_summary` / `routing_stats` | Team and routing metrics |
|
|
97
97
|
| `legion.rbac_assignments` / `rbac_check` / `rbac_grants` | Access control |
|
|
98
|
+
| `legion.mind_growth_status` / `mind_growth_propose` / `mind_growth_approve` | Cognitive architecture growth |
|
|
99
|
+
| `legion.mind_growth_build_queue` / `mind_growth_cognitive_profile` / `mind_growth_health` | Growth analysis and health |
|
|
98
100
|
|
|
99
101
|
## Resources
|
|
100
102
|
|
|
@@ -54,7 +54,8 @@ module Legion
|
|
|
54
54
|
knowledge_domain: 'system',
|
|
55
55
|
context: { tool: tool, lex: lex, confidence: confidence, tests: tests }
|
|
56
56
|
)
|
|
57
|
-
rescue StandardError
|
|
57
|
+
rescue StandardError => e
|
|
58
|
+
Legion::Logging.warn("OverrideBroadcast#store_to_apollo failed: #{e.message}") if defined?(Legion::Logging)
|
|
58
59
|
nil
|
|
59
60
|
end
|
|
60
61
|
|
data/lib/legion/mcp/version.rb
CHANGED