0xray 2.2.0 → 2.2.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.
- package/.opencode/codex.codex +1 -1
- package/.opencode/commands/dependency-audit.md +3 -3
- package/.opencode/enforcer-config.json +2 -2
- package/.opencode/init.sh +1 -1
- package/AGENTS.md +6 -6
- package/README.md +4 -4
- package/dist/AGENTS.md +6 -6
- package/dist/CHANGELOG.md +8 -0
- package/dist/README.md +4 -4
- package/dist/agents/code-reviewer.js +1 -1
- 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/core/framework-logger.d.ts +1 -0
- package/dist/core/framework-logger.js +27 -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/mcps/simulation/server-simulations.js +1 -1
- package/dist/skills/registry.json +1 -1
- package/package.json +1 -1
- package/scripts/node/universal-version-manager.js +8 -8
- package/scripts/node/validate-mcp-connectivity.js +1 -1
- 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/mcps/simulation/server-simulations.ts +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
|
+
"version": "2.2.0",
|
|
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.
|
|
72
|
+
"version": "2.2.0",
|
|
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.
|
|
88
|
+
"version": "2.2.0",
|
|
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.
|
|
95
|
+
"version": "2.2.0"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"results": [...]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"framework": "xray 2.0",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
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.
|
|
223
|
+
"version": "2.2.0",
|
|
224
224
|
"terms": [
|
|
225
225
|
1,
|
|
226
226
|
2,
|
package/.opencode/init.sh
CHANGED
|
@@ -70,7 +70,7 @@ echo -e "${PURPLE}// ╚█████╔╝██╔╝ ██╗██
|
|
|
70
70
|
echo -e "${PURPLE}// ╚════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ //${NC}" && sleep 0.1
|
|
71
71
|
echo -e "${PURPLE}// //${NC}" && sleep 0.1
|
|
72
72
|
echo -e "${PURPLE}// ⚡ 0xRay: Self-Healing AI Governance OS //${NC}" && sleep 0.1
|
|
73
|
-
echo -e "${PURPLE}// 42 agents · 44 skills ·
|
|
73
|
+
echo -e "${PURPLE}// 42 agents · 44 skills · 39 MCP servers //${NC}" && sleep 0.1
|
|
74
74
|
echo -e "${PURPLE}//═══════════════════════════════════════════════════════//${NC}" && sleep 0.2
|
|
75
75
|
echo -e "${PURPLE}// 🚀 Initializing... //${NC}" && sleep 0.3
|
|
76
76
|
echo -e "${PURPLE}//═══════════════════════════════════════════════════════//${NC}" && sleep 0.2
|
package/AGENTS.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# xray Agents
|
|
2
2
|
|
|
3
|
-
Quick reference for xray AI orchestration framework (
|
|
3
|
+
Quick reference for xray AI orchestration framework (v15 MCPs-centric three-subsystem).
|
|
4
4
|
|
|
5
5
|
## What is xray?
|
|
6
6
|
|
|
7
7
|
xray provides intelligent multi-agent orchestration with automatic delegation and Codex compliance validation under the pure v2 three-subsystem model (Inference + External Governance via Dynamo + Autonomous Engine via thinDispatch 7-flow in MCP orchestrator). Agents operate via `.opencode/agents/*.yml` YML surfaces and 3 dedicated MCP skill servers — no manual setup needed.
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## v15 MCPs-Centric Architecture
|
|
10
10
|
|
|
11
11
|
The v2 release centers on **MCP (Model Context Protocol)** as the primary surface for agent skills. Three agent MCP servers handle governance deliberation:
|
|
12
12
|
|
|
@@ -84,14 +84,14 @@ The Autonomous Engine routes via complexity:
|
|
|
84
84
|
|
|
85
85
|
xray enforces the Universal Development Codex (60 terms) via Dynamo governance. The codex lives in `.opencode/xray/codex.json`.
|
|
86
86
|
|
|
87
|
-
Pure
|
|
87
|
+
Pure v15 MCPs. Clean. Complete.
|
|
88
88
|
|
|
89
89
|
## Session: v2.1.2 Release Polish
|
|
90
90
|
|
|
91
91
|
- Package: `0xray` (npm), `github.com/0xRayAI/xray`. Version `2.0.0`.
|
|
92
92
|
- Renamed `strray-ai` → `0xray` across 60+ source files, CLI help text, grok plugin, hermes-agent bridge (Python + JS), docusaurus config.
|
|
93
93
|
- **12 stale docs git-rm'd**: AGENTS-consumer.md, AGENTS-full.md, CHANGELOG-v1.15.x.md, 7 docs/ files.
|
|
94
|
-
- **AGENTS.md + README.md**: Rewritten
|
|
94
|
+
- **AGENTS.md + README.md**: Rewritten v15 MCPs-centric.
|
|
95
95
|
- **CLI help text**: `npx 0xray` — removed dead `dashboard` command, stale examples.
|
|
96
96
|
- `.npmignore`: removed `src/` (conflicted with `files` field — was silently dropping published sources).
|
|
97
97
|
- `.gitignore`: cleaned stale `.strray/` entries, `strray-ai-*.tgz` → `0xray-*.tgz`.
|
|
@@ -107,5 +107,5 @@ Pure v16 MCPs. Clean. Complete.
|
|
|
107
107
|
- `status.ts` CLI command wired into `index.ts`
|
|
108
108
|
- Orphaned files analyzed (not deleted): `security-audit.ts`, `src/security/` (11 files), `session-capture-processor.ts`, `activate-kernel-pipeline.ts`
|
|
109
109
|
- **Hermes-agent bridge backward compat**: all JS/Python bridge files check for both `strray-ai` (old) and `0xray` (new). Default paths updated to `0xray`.
|
|
110
|
-
- **Test suite**: 162 files,
|
|
111
|
-
- **OpenClaw e2e**: Phase 13 validates `logs/framework/activity.log` via agent tool event → hooks → frameworkLogger pipeline —
|
|
110
|
+
- **Test suite**: 162 files, 2196 tests (+ 44 skipped), 0 failures. Build passes clean.
|
|
111
|
+
- **OpenClaw e2e**: Phase 13 validates `logs/framework/activity.log` via agent tool event → hooks → frameworkLogger pipeline — 2196 tests, 0 failures.
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 0xRay — Self-Healing AI Governance OS
|
|
2
2
|
|
|
3
|
-
**v2.1.3** — 42 agents · 46 skills ·
|
|
3
|
+
**v2.1.3** — 42 agents · 46 skills · 15 MCPs servers · 9 codex terms · ~2,2196 tests
|
|
4
4
|
|
|
5
5
|
[](https://0xrayai.github.io/xray/)
|
|
6
6
|
|
|
@@ -62,7 +62,7 @@ AI coding assistants are powerful but unreliable. They hallucinate APIs, introdu
|
|
|
62
62
|
├─────────────────────────────────────────────────┤
|
|
63
63
|
│ External Governance (Dynamo) │
|
|
64
64
|
│ Codex enforcement · Multi-agent review · SSOT │
|
|
65
|
-
│
|
|
65
|
+
│ 15 MCPs servers (governance + knowledge skills) deliberate proposals │
|
|
66
66
|
├─────────────────────────────────────────────────┤
|
|
67
67
|
│ Autonomous Engine (thinDispatch) │
|
|
68
68
|
│ Task routing · Multi-agent coordination │
|
|
@@ -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.
|
|
182
|
+
"version": "2.2.0",
|
|
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 **~2,
|
|
280
|
+
0xRay is battle-tested with **~2,2196 tests** across every subsystem:
|
|
281
281
|
|
|
282
282
|
| Suite | Tests | Status |
|
|
283
283
|
|-------|-------|--------|
|
package/dist/AGENTS.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# xray Agents
|
|
2
2
|
|
|
3
|
-
Quick reference for xray AI orchestration framework (
|
|
3
|
+
Quick reference for xray AI orchestration framework (v15 MCPs-centric three-subsystem).
|
|
4
4
|
|
|
5
5
|
## What is xray?
|
|
6
6
|
|
|
7
7
|
xray provides intelligent multi-agent orchestration with automatic delegation and Codex compliance validation under the pure v2 three-subsystem model (Inference + External Governance via Dynamo + Autonomous Engine via thinDispatch 7-flow in MCP orchestrator). Agents operate via `.opencode/agents/*.yml` YML surfaces and 3 dedicated MCP skill servers — no manual setup needed.
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## v15 MCPs-Centric Architecture
|
|
10
10
|
|
|
11
11
|
The v2 release centers on **MCP (Model Context Protocol)** as the primary surface for agent skills. Three agent MCP servers handle governance deliberation:
|
|
12
12
|
|
|
@@ -84,14 +84,14 @@ The Autonomous Engine routes via complexity:
|
|
|
84
84
|
|
|
85
85
|
xray enforces the Universal Development Codex (60 terms) via Dynamo governance. The codex lives in `.opencode/xray/codex.json`.
|
|
86
86
|
|
|
87
|
-
Pure
|
|
87
|
+
Pure v15 MCPs. Clean. Complete.
|
|
88
88
|
|
|
89
89
|
## Session: v2.1.2 Release Polish
|
|
90
90
|
|
|
91
91
|
- Package: `0xray` (npm), `github.com/0xRayAI/xray`. Version `2.0.0`.
|
|
92
92
|
- Renamed `strray-ai` → `0xray` across 60+ source files, CLI help text, grok plugin, hermes-agent bridge (Python + JS), docusaurus config.
|
|
93
93
|
- **12 stale docs git-rm'd**: AGENTS-consumer.md, AGENTS-full.md, CHANGELOG-v1.15.x.md, 7 docs/ files.
|
|
94
|
-
- **AGENTS.md + README.md**: Rewritten
|
|
94
|
+
- **AGENTS.md + README.md**: Rewritten v15 MCPs-centric.
|
|
95
95
|
- **CLI help text**: `npx 0xray` — removed dead `dashboard` command, stale examples.
|
|
96
96
|
- `.npmignore`: removed `src/` (conflicted with `files` field — was silently dropping published sources).
|
|
97
97
|
- `.gitignore`: cleaned stale `.strray/` entries, `strray-ai-*.tgz` → `0xray-*.tgz`.
|
|
@@ -107,5 +107,5 @@ Pure v16 MCPs. Clean. Complete.
|
|
|
107
107
|
- `status.ts` CLI command wired into `index.ts`
|
|
108
108
|
- Orphaned files analyzed (not deleted): `security-audit.ts`, `src/security/` (11 files), `session-capture-processor.ts`, `activate-kernel-pipeline.ts`
|
|
109
109
|
- **Hermes-agent bridge backward compat**: all JS/Python bridge files check for both `strray-ai` (old) and `0xray` (new). Default paths updated to `0xray`.
|
|
110
|
-
- **Test suite**: 162 files,
|
|
111
|
-
- **OpenClaw e2e**: Phase 13 validates `logs/framework/activity.log` via agent tool event → hooks → frameworkLogger pipeline —
|
|
110
|
+
- **Test suite**: 162 files, 2196 tests (+ 44 skipped), 0 failures. Build passes clean.
|
|
111
|
+
- **OpenClaw e2e**: Phase 13 validates `logs/framework/activity.log` via agent tool event → hooks → frameworkLogger pipeline — 2196 tests, 0 failures.
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ 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.1] - 2026-06-10
|
|
8
|
+
|
|
9
|
+
### 🔄 Changes
|
|
10
|
+
|
|
11
|
+
- Version bump
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
7
15
|
## [2.2.0] - 2026-06-10
|
|
8
16
|
|
|
9
17
|
### 🚀 Features
|
package/dist/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 0xRay — Self-Healing AI Governance OS
|
|
2
2
|
|
|
3
|
-
**v2.1.3** — 42 agents · 46 skills ·
|
|
3
|
+
**v2.1.3** — 42 agents · 46 skills · 15 MCPs servers · 9 codex terms · ~2,2196 tests
|
|
4
4
|
|
|
5
5
|
[](https://0xrayai.github.io/xray/)
|
|
6
6
|
|
|
@@ -62,7 +62,7 @@ AI coding assistants are powerful but unreliable. They hallucinate APIs, introdu
|
|
|
62
62
|
├─────────────────────────────────────────────────┤
|
|
63
63
|
│ External Governance (Dynamo) │
|
|
64
64
|
│ Codex enforcement · Multi-agent review · SSOT │
|
|
65
|
-
│
|
|
65
|
+
│ 15 MCPs servers (governance + knowledge skills) deliberate proposals │
|
|
66
66
|
├─────────────────────────────────────────────────┤
|
|
67
67
|
│ Autonomous Engine (thinDispatch) │
|
|
68
68
|
│ Task routing · Multi-agent coordination │
|
|
@@ -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.
|
|
182
|
+
"version": "2.2.0",
|
|
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 **~2,
|
|
280
|
+
0xRay is battle-tested with **~2,2196 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.
|
|
39
|
+
version: "2.2.0",
|
|
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.
|
|
720
|
+
version: "2.2.0",
|
|
721
721
|
codex_enabled: true,
|
|
722
|
-
codex_version: "
|
|
722
|
+
codex_version: "v3.0.0",
|
|
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,
|
|
@@ -72,5 +72,6 @@ export declare class FrameworkUsageLogger {
|
|
|
72
72
|
getRecentLogs(count?: number): FrameworkLogEntry[];
|
|
73
73
|
getComponentUsage(component: string): FrameworkLogEntry[];
|
|
74
74
|
printRundown(): void;
|
|
75
|
+
flushSync(): void;
|
|
75
76
|
}
|
|
76
77
|
export declare const frameworkLogger: FrameworkUsageLogger;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { promises as fs, existsSync, mkdirSync } from "fs";
|
|
1
|
+
import { promises as fs, existsSync, mkdirSync, appendFileSync } from "fs";
|
|
2
2
|
import { join } from "path";
|
|
3
3
|
/**
|
|
4
4
|
* Generate a unique job ID for tracking work sessions
|
|
@@ -304,8 +304,34 @@ export class FrameworkUsageLogger {
|
|
|
304
304
|
printRundown() {
|
|
305
305
|
// Framework usage analytics placeholder
|
|
306
306
|
}
|
|
307
|
+
flushSync() {
|
|
308
|
+
if (this.flushing || this.buffer.length === 0)
|
|
309
|
+
return;
|
|
310
|
+
const toWrite = this.buffer.splice(0, this.buffer.length);
|
|
311
|
+
const data = toWrite.join("");
|
|
312
|
+
try {
|
|
313
|
+
const cwd = process.cwd();
|
|
314
|
+
if (!cwd)
|
|
315
|
+
return;
|
|
316
|
+
const logDir = join(cwd, "logs", "framework");
|
|
317
|
+
const logFile = join(logDir, "activity.log");
|
|
318
|
+
if (!existsSync(logDir)) {
|
|
319
|
+
mkdirSync(logDir, { recursive: true });
|
|
320
|
+
}
|
|
321
|
+
appendFileSync(logFile, data);
|
|
322
|
+
}
|
|
323
|
+
catch {
|
|
324
|
+
// flush failure is non-fatal
|
|
325
|
+
}
|
|
326
|
+
}
|
|
307
327
|
}
|
|
308
328
|
export const frameworkLogger = new FrameworkUsageLogger();
|
|
329
|
+
// Flush buffer synchronously on exit so CLI commands don't lose log entries
|
|
330
|
+
if (typeof process !== "undefined" && process.env?.NODE_ENV !== "test") {
|
|
331
|
+
process.on("exit", () => {
|
|
332
|
+
frameworkLogger.flushSync();
|
|
333
|
+
});
|
|
334
|
+
}
|
|
309
335
|
// Startup self-test: verify logger works
|
|
310
336
|
if (typeof process !== "undefined" && process.env?.NODE_ENV !== "test") {
|
|
311
337
|
frameworkLogger.log("system", "logger initialized", "info").catch(() => { });
|
|
@@ -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.
|
|
598
|
+
version: "2.2.0",
|
|
599
599
|
description: "Generated API documentation",
|
|
600
600
|
},
|
|
601
601
|
servers: [
|
package/dist/mcps/registry.json
CHANGED
|
@@ -79,7 +79,7 @@ export const frameworkHelpSimulations = {
|
|
|
79
79
|
type: 'text',
|
|
80
80
|
text: `**0xRay Framework Capabilities:**
|
|
81
81
|
|
|
82
|
-
**
|
|
82
|
+
**41 Specialized Agents:**
|
|
83
83
|
- enforcer: Codex compliance & error prevention
|
|
84
84
|
- architect: System design & technical decisions
|
|
85
85
|
- orchestrator: Multi-agent workflow coordination
|
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: "
|
|
150
|
+
return { version: "v3.0.0", 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.1",
|
|
159
159
|
displayName: "xray: Self-Healing AI Governance OS",
|
|
160
160
|
lastUpdated: "2026-06-10",
|
|
161
161
|
// Counts (auto-calculated, but can be overridden)
|
|
@@ -346,29 +346,29 @@ const UPDATE_PATTERNS = [
|
|
|
346
346
|
},
|
|
347
347
|
|
|
348
348
|
// === BADGE AND COUNT PATTERNS ===
|
|
349
|
-
// Test count in docs badge (e.g., tests-
|
|
349
|
+
// Test count in docs badge (e.g., tests-2196-brightgreen)
|
|
350
350
|
{
|
|
351
351
|
pattern: /tests-[0-9]+(?=-brightgreen)/g,
|
|
352
352
|
replacement: `tests-${OFFICIAL_VERSIONS.framework.tests}`,
|
|
353
353
|
},
|
|
354
|
-
// Test count in npm badge (e.g., tests-
|
|
354
|
+
// Test count in npm badge (e.g., tests-2196%20passed-brightgreen)
|
|
355
355
|
{
|
|
356
356
|
pattern: /tests-[0-9,]+%20passed/g,
|
|
357
357
|
replacement: `tests-${OFFICIAL_VERSIONS.framework.tests}%20passed`,
|
|
358
358
|
},
|
|
359
|
-
// Test count in prose (e.g., "2,
|
|
359
|
+
// Test count in prose (e.g., "2,2196 Tests" or "2196 Tests" but NOT in badge URLs)
|
|
360
360
|
{
|
|
361
361
|
pattern: /(\*\s*✅\s*)([0-9]{1,3},?[0-9]{3})(\s*Tests)/g,
|
|
362
362
|
replacement: (match, p1, p2, p3) => {
|
|
363
363
|
return `${p1}${OFFICIAL_VERSIONS.framework.tests}${p3}`;
|
|
364
364
|
},
|
|
365
365
|
},
|
|
366
|
-
// Test count in feature bullets (e.g., "✅
|
|
366
|
+
// Test count in feature bullets (e.g., "✅ 2196 Tests")
|
|
367
367
|
{
|
|
368
368
|
pattern: /[0-9]+ Tests/g,
|
|
369
369
|
replacement: `${OFFICIAL_VERSIONS.framework.tests} Tests`,
|
|
370
370
|
},
|
|
371
|
-
// Test count in config tree (e.g., "
|
|
371
|
+
// Test count in config tree (e.g., "2196 tests")
|
|
372
372
|
{
|
|
373
373
|
pattern: /[0-9]+ tests/g,
|
|
374
374
|
replacement: `${OFFICIAL_VERSIONS.framework.tests} tests`,
|
|
@@ -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.
|
|
406
|
+
// Footer bare version (e.g., "**Version**: 2.2.0")
|
|
407
407
|
{
|
|
408
408
|
pattern: /\*\*Version\*\*:\s*[0-9]+\.[0-9]+\.[0-9]+/g,
|
|
409
409
|
replacement: `**Version**: ${OFFICIAL_VERSIONS.framework.version}`,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* MCP Server Connectivity Validator
|
|
5
5
|
*
|
|
6
|
-
* Tests all xray
|
|
6
|
+
* Tests all xray v39 MCP servers for proper startup and protocol compliance
|
|
7
7
|
* Validates external integration points that internal tests miss
|
|
8
8
|
*
|
|
9
9
|
* FIXED: Converted to ES module syntax
|
|
@@ -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.
|
|
891
|
+
version: "2.2.0",
|
|
892
892
|
description: "Generated API documentation",
|
|
893
893
|
},
|
|
894
894
|
servers: [
|
package/src/mcps/registry.json
CHANGED
|
@@ -92,7 +92,7 @@ export const frameworkHelpSimulations: Record<string, SimulatorFunction> = {
|
|
|
92
92
|
type: 'text',
|
|
93
93
|
text: `**0xRay Framework Capabilities:**
|
|
94
94
|
|
|
95
|
-
**
|
|
95
|
+
**41 Specialized Agents:**
|
|
96
96
|
- enforcer: Codex compliance & error prevention
|
|
97
97
|
- architect: System design & technical decisions
|
|
98
98
|
- orchestrator: Multi-agent workflow coordination
|
package/src/opencode/codex.codex
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.
|
|
2
|
+
"version": "2.2.0",
|
|
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.
|
|
72
|
+
"version": "2.2.0",
|
|
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.
|
|
88
|
+
"version": "2.2.0",
|
|
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.
|
|
95
|
+
"version": "2.2.0"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"results": [...]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"framework": "xray 2.0",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
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.
|
|
223
|
+
"version": "2.2.0",
|
|
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.
|
|
7
|
+
"version": "2.2.0",
|
|
8
8
|
"config": {}
|
|
9
9
|
},
|
|
10
10
|
"python-bridge": {
|
|
11
11
|
"enabled": false,
|
|
12
12
|
"type": "protocol-bridge",
|
|
13
|
-
"version": "2.
|
|
13
|
+
"version": "2.2.0",
|
|
14
14
|
"config": {}
|
|
15
15
|
},
|
|
16
16
|
"react": {
|
|
17
17
|
"enabled": false,
|
|
18
18
|
"type": "framework-adapter",
|
|
19
|
-
"version": "2.
|
|
19
|
+
"version": "2.2.0",
|
|
20
20
|
"config": {}
|
|
21
21
|
}
|
|
22
22
|
}
|