legion-settings 1.3.9 → 1.3.10
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/CLAUDE.md +1 -1
- data/CODEOWNERS +29 -0
- data/README.md +1 -1
- data/lib/legion/settings/loader.rb +9 -8
- data/lib/legion/settings/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: 30b9b4ed904f547eb9da80ede6133c372d136629c598d00ca768eaf8f4c92b4a
|
|
4
|
+
data.tar.gz: 3f69fd7e055f4d5622c269daa1e2e47b853b04fab48496fb326217940cbca200
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a6a57cbcdde3dc142e45b609f4559ac5a666adc19e8dc11a9eb93eb4bb53d78eddb202202e124e86f81d2b488a50a41935a9431b220484570ad112546c1207f
|
|
7
|
+
data.tar.gz: 41e2b8cd7b1d3d4ca9e3f521ec58f9e2d06bbc946f45990b16e98c2ced2e5503f0ad295f3fcf02374107731d0cc0ec3c61c863f1bba3e211314d11f27699f726
|
data/CLAUDE.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
Hash-like configuration store for the LegionIO framework. Loads settings from JSON files, directories, and environment variables. Provides a unified `Legion::Settings[:key]` accessor used by all other Legion gems. Includes schema-based validation with type inference, enum constraints, and cross-module checks.
|
|
9
9
|
|
|
10
10
|
**GitHub**: https://github.com/LegionIO/legion-settings
|
|
11
|
-
**Version**: 1.3.
|
|
11
|
+
**Version**: 1.3.9
|
|
12
12
|
**License**: Apache-2.0
|
|
13
13
|
|
|
14
14
|
## Architecture
|
data/CODEOWNERS
CHANGED
|
@@ -1 +1,30 @@
|
|
|
1
|
+
# Default owner — all files
|
|
1
2
|
* @Esity
|
|
3
|
+
|
|
4
|
+
# Core library code
|
|
5
|
+
# lib/ @Esity @future-core-team
|
|
6
|
+
|
|
7
|
+
# Loader (file/env/directory loading, deep merge)
|
|
8
|
+
# lib/legion/settings/loader.rb @Esity @future-core-team
|
|
9
|
+
|
|
10
|
+
# Schema validation
|
|
11
|
+
# lib/legion/settings/schema.rb @Esity @future-core-team
|
|
12
|
+
# lib/legion/settings/validation_error.rb @Esity @future-core-team
|
|
13
|
+
|
|
14
|
+
# Secret resolver (vault://, env://, lease://)
|
|
15
|
+
# lib/legion/settings/resolver.rb @Esity @future-security-team
|
|
16
|
+
|
|
17
|
+
# DNS bootstrap
|
|
18
|
+
# lib/legion/settings/dns_bootstrap.rb @Esity @future-infra-team
|
|
19
|
+
|
|
20
|
+
# Agent loader (role-based profile filtering)
|
|
21
|
+
# lib/legion/settings/agent_loader.rb @Esity @future-core-team
|
|
22
|
+
|
|
23
|
+
# Specs
|
|
24
|
+
# spec/ @Esity @future-contributors
|
|
25
|
+
|
|
26
|
+
# Documentation
|
|
27
|
+
# *.md @Esity @future-docs-team
|
|
28
|
+
|
|
29
|
+
# CI/CD
|
|
30
|
+
# .github/ @Esity
|
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Configuration management module for the [LegionIO](https://github.com/LegionIO/LegionIO) framework. Loads settings from JSON files, directories, and environment variables. Provides a unified `Legion::Settings[:key]` accessor used by all other Legion gems.
|
|
4
4
|
|
|
5
|
-
**Version**: 1.3.
|
|
5
|
+
**Version**: 1.3.9
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -52,23 +52,24 @@ module Legion
|
|
|
52
52
|
},
|
|
53
53
|
cache: { enabled: true, connected: false, driver: 'dalli' },
|
|
54
54
|
extensions: {
|
|
55
|
-
core:
|
|
55
|
+
core: %w[
|
|
56
56
|
lex-node lex-tasker lex-scheduler lex-health lex-ping
|
|
57
57
|
lex-telemetry lex-metering lex-log lex-audit
|
|
58
58
|
lex-conditioner lex-transformer lex-exec lex-lex lex-codegen
|
|
59
59
|
],
|
|
60
|
-
ai:
|
|
61
|
-
gaia:
|
|
62
|
-
categories:
|
|
60
|
+
ai: %w[lex-claude lex-openai lex-gemini],
|
|
61
|
+
gaia: %w[lex-tick lex-mesh lex-apollo lex-cortex],
|
|
62
|
+
categories: {
|
|
63
63
|
core: { type: :list, tier: 1 },
|
|
64
64
|
ai: { type: :list, tier: 2 },
|
|
65
65
|
gaia: { type: :list, tier: 3 },
|
|
66
66
|
agentic: { type: :prefix, tier: 4 }
|
|
67
67
|
},
|
|
68
|
-
blocked:
|
|
69
|
-
reserved_prefixes:
|
|
70
|
-
reserved_words:
|
|
71
|
-
agentic:
|
|
68
|
+
blocked: [],
|
|
69
|
+
reserved_prefixes: %w[core ai agentic gaia],
|
|
70
|
+
reserved_words: %w[transport cache crypt data settings json logging llm rbac legion],
|
|
71
|
+
agentic: { allowed: nil, blocked: [] },
|
|
72
|
+
parallel_pool_size: 24
|
|
72
73
|
},
|
|
73
74
|
reload: false,
|
|
74
75
|
reloading: false,
|