0xray 2.2.2 → 2.2.3
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.
- package/.opencode/codex.codex +1 -1
- package/.opencode/commands/dependency-audit.md +3 -3
- package/.opencode/enforcer-config.json +2 -2
- package/README.md +3 -3
- package/dist/CHANGELOG.md +53 -0
- package/dist/README.md +3 -3
- package/dist/analytics/routing-refiner.js +1 -1
- package/dist/core/boot-orchestrator.js +2 -2
- package/dist/core/features-config.js +1 -1
- package/dist/mcps/governance.server.js +1 -1
- package/dist/mcps/knowledge-skills/tech-writer.server.js +1 -1
- package/dist/mcps/registry.json +1 -1
- package/dist/skills/registry.json +1 -1
- package/package.json +1 -1
- package/scripts/node/universal-version-manager.js +3 -3
- package/scripts/node/version-manager.mjs +48 -2
- package/src/mcps/governance.server.ts +1 -1
- package/src/mcps/knowledge-skills/tech-writer.server.ts +1 -1
- package/src/mcps/registry.json +1 -1
- package/src/opencode/codex.codex +1 -1
- package/src/opencode/commands/dependency-audit.md +3 -3
- package/src/opencode/enforcer-config.json +2 -2
- package/src/skills/registry.json +1 -1
- package/xray/codex.json +1 -1
- package/xray/config.json +1 -1
- package/xray/features.json +1 -1
- package/xray/integrations.json +3 -3
package/.opencode/codex.codex
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.2.
|
|
2
|
+
"version": "2.2.2",
|
|
3
3
|
"terms": [
|
|
4
4
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68
|
|
5
5
|
],
|
|
@@ -69,7 +69,7 @@ Comprehensive dependency analysis and security audit for all project dependencie
|
|
|
69
69
|
"vulnerabilities": [
|
|
70
70
|
{
|
|
71
71
|
"package": "lodash",
|
|
72
|
-
"version": "2.2.
|
|
72
|
+
"version": "2.2.2",
|
|
73
73
|
"severity": "high",
|
|
74
74
|
"cve": "CVE-2021-23337",
|
|
75
75
|
"description": "Command injection vulnerability"
|
|
@@ -85,14 +85,14 @@ Security-focused format for CI/CD integration:
|
|
|
85
85
|
|
|
86
86
|
```json
|
|
87
87
|
{
|
|
88
|
-
"version": "2.2.
|
|
88
|
+
"version": "2.2.2",
|
|
89
89
|
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
|
|
90
90
|
"runs": [
|
|
91
91
|
{
|
|
92
92
|
"tool": {
|
|
93
93
|
"driver": {
|
|
94
94
|
"name": "Dependency Audit",
|
|
95
|
-
"version": "2.2.
|
|
95
|
+
"version": "2.2.2"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"results": [...]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"framework": "xray 2.0",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"description": "Codex-compliant framework configuration for Credible UI project",
|
|
5
5
|
"thresholds": {
|
|
6
6
|
"bundleSize": {
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
}
|
|
221
221
|
},
|
|
222
222
|
"codex": {
|
|
223
|
-
"version": "2.2.
|
|
223
|
+
"version": "2.2.2",
|
|
224
224
|
"terms": [
|
|
225
225
|
1,
|
|
226
226
|
2,
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 0xRay — Self-Healing AI Governance OS
|
|
2
2
|
|
|
3
|
-
**v2.
|
|
3
|
+
**v2.2.3** — 41 agents · 44 skills · 15 MCPs servers · 9 codex terms · 160 test files
|
|
4
4
|
|
|
5
5
|
[](https://0xrayai.github.io/xray/)
|
|
6
6
|
|
|
@@ -179,7 +179,7 @@ Every subsystem is configurable via `features.json` (located at `.opencode/xray/
|
|
|
179
179
|
|
|
180
180
|
```json
|
|
181
181
|
{
|
|
182
|
-
"version": "2.2.
|
|
182
|
+
"version": "2.2.2",
|
|
183
183
|
"token_optimization": {
|
|
184
184
|
"enabled": true,
|
|
185
185
|
"max_context_tokens": 20000,
|
|
@@ -277,7 +277,7 @@ Install more skills anytime: `npx 0xray skill:install`
|
|
|
277
277
|
|
|
278
278
|
## Testing & Reliability
|
|
279
279
|
|
|
280
|
-
0xRay is battle-tested with
|
|
280
|
+
0xRay is battle-tested with **160 test files** (2,778+ individual tests) across every subsystem:
|
|
281
281
|
|
|
282
282
|
| Suite | Tests | Status |
|
|
283
283
|
|-------|-------|--------|
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,59 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Conventional Commits](https://www.conventionalcommits.org/).
|
|
6
6
|
|
|
7
|
+
## [2.2.3] - 2026-06-10
|
|
8
|
+
|
|
9
|
+
### 🔄 Changes
|
|
10
|
+
|
|
11
|
+
### 🐛 Bug Fixes
|
|
12
|
+
- fix: make hermes E2E tolerant to model response variance; soft-fail Phase 3/6, keep hard gates on bridge + activity.log (a290fb9ec)
|
|
13
|
+
- fix: sync README counts (41 agents, 44 skills, 15 MCPs, 68 codex terms, 160 tfiles); version-manager now auto-counts codex + tests (a783dc2e6)
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## [2.2.2] - 2026-06-10
|
|
18
|
+
|
|
19
|
+
### 🔄 Changes
|
|
20
|
+
|
|
21
|
+
### 🐛 Bug Fixes
|
|
22
|
+
- fix: make hermes E2E tolerant to model response variance; soft-fail Phase 3/6, keep hard gates on bridge + activity.log (a290fb9ec)
|
|
23
|
+
- fix: sync README counts (41 agents, 44 skills, 15 MCPs, 68 codex terms, 160 tfiles); version-manager now auto-counts codex + tests (a783dc2e6)
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## [2.2.2] - 2026-06-10
|
|
28
|
+
|
|
29
|
+
### 🔄 Changes
|
|
30
|
+
|
|
31
|
+
### 🐛 Bug Fixes
|
|
32
|
+
- fix: sync README counts (41 agents, 44 skills, 15 MCPs, 68 codex terms, 160 tfiles); version-manager now auto-counts codex + tests (a783dc2e6)
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## [2.2.2] - 2026-06-10
|
|
37
|
+
|
|
38
|
+
### 🔄 Changes
|
|
39
|
+
|
|
40
|
+
- Version bump
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## [2.2.2] - 2026-06-10
|
|
45
|
+
|
|
46
|
+
### 🔄 Changes
|
|
47
|
+
|
|
48
|
+
- Version bump
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## [2.2.2] - 2026-06-10
|
|
53
|
+
|
|
54
|
+
### 🔄 Changes
|
|
55
|
+
|
|
56
|
+
- Version bump
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
7
60
|
## [2.2.2] - 2026-06-10
|
|
8
61
|
|
|
9
62
|
### 🔄 Changes
|
package/dist/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 0xRay — Self-Healing AI Governance OS
|
|
2
2
|
|
|
3
|
-
**v2.
|
|
3
|
+
**v2.2.3** — 41 agents · 44 skills · 15 MCPs servers · 9 codex terms · 160 test files
|
|
4
4
|
|
|
5
5
|
[](https://0xrayai.github.io/xray/)
|
|
6
6
|
|
|
@@ -179,7 +179,7 @@ Every subsystem is configurable via `features.json` (located at `.opencode/xray/
|
|
|
179
179
|
|
|
180
180
|
```json
|
|
181
181
|
{
|
|
182
|
-
"version": "2.2.
|
|
182
|
+
"version": "2.2.2",
|
|
183
183
|
"token_optimization": {
|
|
184
184
|
"enabled": true,
|
|
185
185
|
"max_context_tokens": 20000,
|
|
@@ -277,7 +277,7 @@ Install more skills anytime: `npx 0xray skill:install`
|
|
|
277
277
|
|
|
278
278
|
## Testing & Reliability
|
|
279
279
|
|
|
280
|
-
0xRay is battle-tested with
|
|
280
|
+
0xRay is battle-tested with **160 test files** (2,778+ individual tests) across every subsystem:
|
|
281
281
|
|
|
282
282
|
| Suite | Tests | Status |
|
|
283
283
|
|-------|-------|--------|
|
|
@@ -36,7 +36,7 @@ class RoutingRefiner {
|
|
|
36
36
|
const optimizations = this.suggestMappingOptimizations(promptAnalysis, performanceReport);
|
|
37
37
|
const warnings = this.generateWarnings(newMappings, optimizations);
|
|
38
38
|
return {
|
|
39
|
-
version: "2.2.
|
|
39
|
+
version: "2.2.2",
|
|
40
40
|
generatedAt: new Date(),
|
|
41
41
|
summary: {
|
|
42
42
|
newMappings: newMappings.length,
|
|
@@ -717,9 +717,9 @@ export class BootOrchestrator {
|
|
|
717
717
|
try {
|
|
718
718
|
// Consumer runtime compat (XRAY_ env + .xray fallbacks)
|
|
719
719
|
const xrayConfig = {
|
|
720
|
-
version: "2.2.
|
|
720
|
+
version: "2.2.2",
|
|
721
721
|
codex_enabled: true,
|
|
722
|
-
codex_version: "v2.2.
|
|
722
|
+
codex_version: "v2.2.1",
|
|
723
723
|
codex_terms: [
|
|
724
724
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
|
|
725
725
|
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
|
|
@@ -595,7 +595,7 @@ class XrayDocumentationGenerationServer extends XrayKnowledgeSkillBase {
|
|
|
595
595
|
openapi: "3.0.0",
|
|
596
596
|
info: {
|
|
597
597
|
title: "API Documentation",
|
|
598
|
-
version: "2.2.
|
|
598
|
+
version: "2.2.2",
|
|
599
599
|
description: "Generated API documentation",
|
|
600
600
|
},
|
|
601
601
|
servers: [
|
package/dist/mcps/registry.json
CHANGED
package/package.json
CHANGED
|
@@ -147,7 +147,7 @@ function detectCodexInfo() {
|
|
|
147
147
|
return { version: cver.startsWith("v") ? cver : `v${cver}`, termsCount: termCount, lastUpdated: new Date().toISOString().split("T")[0] };
|
|
148
148
|
} catch {}
|
|
149
149
|
}
|
|
150
|
-
return { version: "v2.2.
|
|
150
|
+
return { version: "v2.2.1", termsCount: 68, lastUpdated: new Date().toISOString().split("T")[0] };
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
const detectedCodex = detectCodexInfo();
|
|
@@ -155,7 +155,7 @@ const detectedCodex = detectCodexInfo();
|
|
|
155
155
|
const OFFICIAL_VERSIONS = {
|
|
156
156
|
// Framework version
|
|
157
157
|
framework: {
|
|
158
|
-
version: "2.2.
|
|
158
|
+
version: "2.2.3",
|
|
159
159
|
displayName: "xray: Self-Healing AI Governance OS",
|
|
160
160
|
lastUpdated: "2026-06-10",
|
|
161
161
|
// Counts (auto-calculated, but can be overridden)
|
|
@@ -403,7 +403,7 @@ const UPDATE_PATTERNS = [
|
|
|
403
403
|
pattern: /xray AI v[0-9]+\.[0-9]+\.[0-9]+/g,
|
|
404
404
|
replacement: `xray AI v${OFFICIAL_VERSIONS.framework.version}`,
|
|
405
405
|
},
|
|
406
|
-
// Footer bare version (e.g., "**Version**: 2.2.
|
|
406
|
+
// Footer bare version (e.g., "**Version**: 2.2.2")
|
|
407
407
|
{
|
|
408
408
|
pattern: /\*\*Version\*\*:\s*[0-9]+\.[0-9]+\.[0-9]+/g,
|
|
409
409
|
replacement: `**Version**: ${OFFICIAL_VERSIONS.framework.version}`,
|
|
@@ -158,6 +158,22 @@ function generateChangelogFromCommits(commits) {
|
|
|
158
158
|
return sections.join('\n\n') || '- Version bump';
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
+
function findTestFiles(dir) {
|
|
162
|
+
let count = 0;
|
|
163
|
+
try {
|
|
164
|
+
for (const entry of fs.readdirSync(dir)) {
|
|
165
|
+
const full = path.join(dir, entry);
|
|
166
|
+
const stat = fs.statSync(full);
|
|
167
|
+
if (stat.isDirectory()) {
|
|
168
|
+
count += findTestFiles(full);
|
|
169
|
+
} else if (entry.endsWith('.test.ts') || entry.endsWith('.spec.ts')) {
|
|
170
|
+
count++;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
} catch {}
|
|
174
|
+
return count;
|
|
175
|
+
}
|
|
176
|
+
|
|
161
177
|
/**
|
|
162
178
|
* Count actual framework components
|
|
163
179
|
*/
|
|
@@ -165,7 +181,9 @@ function getFrameworkCounts() {
|
|
|
165
181
|
const counts = {
|
|
166
182
|
agents: 0,
|
|
167
183
|
mcps: 0,
|
|
168
|
-
skills: 0
|
|
184
|
+
skills: 0,
|
|
185
|
+
codexTerms: 0,
|
|
186
|
+
tests: 0
|
|
169
187
|
};
|
|
170
188
|
|
|
171
189
|
// Count agents (.yml files in src/opencode/agents/ — source of truth)
|
|
@@ -200,6 +218,27 @@ function getFrameworkCounts() {
|
|
|
200
218
|
.filter(f => fs.existsSync(path.join(skillsDir, f, 'SKILL.md')))
|
|
201
219
|
.length;
|
|
202
220
|
}
|
|
221
|
+
|
|
222
|
+
// Count codex terms (xray/codex.json is SSOT)
|
|
223
|
+
const codexPath = path.join(rootDir, 'xray/codex.json');
|
|
224
|
+
if (fs.existsSync(codexPath)) {
|
|
225
|
+
try {
|
|
226
|
+
const codex = JSON.parse(fs.readFileSync(codexPath, 'utf-8'));
|
|
227
|
+
counts.codexTerms = Object.keys(codex.terms || codex.rules || codex).length;
|
|
228
|
+
} catch {
|
|
229
|
+
counts.codexTerms = 0;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
// Count test files across all of src/
|
|
234
|
+
try {
|
|
235
|
+
const srcDir = path.join(rootDir, 'src');
|
|
236
|
+
if (fs.existsSync(srcDir)) {
|
|
237
|
+
counts.tests = findTestFiles(srcDir);
|
|
238
|
+
}
|
|
239
|
+
} catch {
|
|
240
|
+
counts.tests = 0;
|
|
241
|
+
}
|
|
203
242
|
|
|
204
243
|
return counts;
|
|
205
244
|
}
|
|
@@ -290,8 +329,15 @@ function updateReadme(counts, newVersion) {
|
|
|
290
329
|
`${counts.agents} agents, ${counts.mcps} MCP servers`
|
|
291
330
|
);
|
|
292
331
|
|
|
332
|
+
// Update only the version in the summary line.
|
|
333
|
+
// Counts are marketing copy — not auto-mutated on release (see audit:counts for observability).
|
|
334
|
+
readme = readme.replace(
|
|
335
|
+
/\*\*v[\d.]+?\*\*/,
|
|
336
|
+
`**v${newVersion}**`
|
|
337
|
+
);
|
|
338
|
+
|
|
293
339
|
fs.writeFileSync(readmePath, readme);
|
|
294
|
-
console.log(`✅ Updated README.md (version: ${newVersion}
|
|
340
|
+
console.log(`✅ Updated README.md (version only: ${newVersion})`);
|
|
295
341
|
}
|
|
296
342
|
|
|
297
343
|
/**
|
|
@@ -888,7 +888,7 @@ class XrayDocumentationGenerationServer extends XrayKnowledgeSkillBase {
|
|
|
888
888
|
openapi: "3.0.0",
|
|
889
889
|
info: {
|
|
890
890
|
title: "API Documentation",
|
|
891
|
-
version: "2.2.
|
|
891
|
+
version: "2.2.2",
|
|
892
892
|
description: "Generated API documentation",
|
|
893
893
|
},
|
|
894
894
|
servers: [
|
package/src/mcps/registry.json
CHANGED
package/src/opencode/codex.codex
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.2.
|
|
2
|
+
"version": "2.2.2",
|
|
3
3
|
"terms": [
|
|
4
4
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68
|
|
5
5
|
],
|
|
@@ -69,7 +69,7 @@ Comprehensive dependency analysis and security audit for all project dependencie
|
|
|
69
69
|
"vulnerabilities": [
|
|
70
70
|
{
|
|
71
71
|
"package": "lodash",
|
|
72
|
-
"version": "2.2.
|
|
72
|
+
"version": "2.2.2",
|
|
73
73
|
"severity": "high",
|
|
74
74
|
"cve": "CVE-2021-23337",
|
|
75
75
|
"description": "Command injection vulnerability"
|
|
@@ -85,14 +85,14 @@ Security-focused format for CI/CD integration:
|
|
|
85
85
|
|
|
86
86
|
```json
|
|
87
87
|
{
|
|
88
|
-
"version": "2.2.
|
|
88
|
+
"version": "2.2.2",
|
|
89
89
|
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
|
|
90
90
|
"runs": [
|
|
91
91
|
{
|
|
92
92
|
"tool": {
|
|
93
93
|
"driver": {
|
|
94
94
|
"name": "Dependency Audit",
|
|
95
|
-
"version": "2.2.
|
|
95
|
+
"version": "2.2.2"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"results": [...]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"framework": "xray 2.0",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"description": "Codex-compliant framework configuration for Credible UI project",
|
|
5
5
|
"thresholds": {
|
|
6
6
|
"bundleSize": {
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
}
|
|
221
221
|
},
|
|
222
222
|
"codex": {
|
|
223
|
-
"version": "2.2.
|
|
223
|
+
"version": "2.2.2",
|
|
224
224
|
"terms": [
|
|
225
225
|
1,
|
|
226
226
|
2,
|
package/src/skills/registry.json
CHANGED
package/xray/codex.json
CHANGED
package/xray/config.json
CHANGED
package/xray/features.json
CHANGED
package/xray/integrations.json
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
"openclaw": {
|
|
5
5
|
"enabled": false,
|
|
6
6
|
"type": "external-service",
|
|
7
|
-
"version": "2.2.
|
|
7
|
+
"version": "2.2.2",
|
|
8
8
|
"config": {}
|
|
9
9
|
},
|
|
10
10
|
"python-bridge": {
|
|
11
11
|
"enabled": false,
|
|
12
12
|
"type": "protocol-bridge",
|
|
13
|
-
"version": "2.2.
|
|
13
|
+
"version": "2.2.2",
|
|
14
14
|
"config": {}
|
|
15
15
|
},
|
|
16
16
|
"react": {
|
|
17
17
|
"enabled": false,
|
|
18
18
|
"type": "framework-adapter",
|
|
19
|
-
"version": "2.2.
|
|
19
|
+
"version": "2.2.2",
|
|
20
20
|
"config": {}
|
|
21
21
|
}
|
|
22
22
|
}
|