0xray 2.0.1 → 2.1.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.
Files changed (286) hide show
  1. package/.opencode/codex.codex +1 -1
  2. package/.opencode/commands/dependency-audit.md +3 -3
  3. package/.opencode/enforcer-config.json +2 -2
  4. package/.opencode/hooks/post-commit +1 -1
  5. package/.opencode/init.sh +2 -2
  6. package/AGENTS.md +1 -1
  7. package/README.md +2 -2
  8. package/dist/AGENTS.md +1 -1
  9. package/dist/CHANGELOG.md +10 -0
  10. package/dist/README.md +2 -2
  11. package/dist/analytics/routing-refiner.js +1 -1
  12. package/dist/benchmark/performance-benchmark.d.ts +2 -2
  13. package/dist/benchmark/performance-benchmark.js +3 -3
  14. package/dist/cli/commands/hermes-install.js +4 -4
  15. package/dist/cli/commands/mcp-install.js +1 -1
  16. package/dist/cli/commands/openclaw-install.js +1 -1
  17. package/dist/cli/commands/plugin-commands.js +2 -2
  18. package/dist/cli/commands/publish-agent.js +5 -5
  19. package/dist/cli/commands/skill-install.js +1 -1
  20. package/dist/cli/commands/status.js +3 -3
  21. package/dist/cli/commands/storyteller.js +2 -2
  22. package/dist/cli/index.js +8 -8
  23. package/dist/cli/server.js +1 -1
  24. package/dist/core/agent-spawn-gate.d.ts +1 -1
  25. package/dist/core/agent-spawn-gate.js +1 -1
  26. package/dist/core/boot-orchestrator.d.ts +4 -4
  27. package/dist/core/boot-orchestrator.js +27 -27
  28. package/dist/core/bridge.mjs +22 -22
  29. package/dist/core/codex-formatter.js +2 -2
  30. package/dist/core/codex-injector.d.ts +4 -3
  31. package/dist/core/codex-injector.js +11 -10
  32. package/dist/core/config-loader.d.ts +5 -4
  33. package/dist/core/config-loader.js +4 -2
  34. package/dist/core/config-paths.d.ts +9 -8
  35. package/dist/core/config-paths.js +24 -23
  36. package/dist/core/context-loader.d.ts +4 -3
  37. package/dist/core/context-loader.js +7 -5
  38. package/dist/core/features-config.js +1 -1
  39. package/dist/core/index.d.ts +1 -1
  40. package/dist/core/index.js +1 -1
  41. package/dist/core/orchestrator.d.ts +1 -0
  42. package/dist/core/orchestrator.js +3 -2
  43. package/dist/core/system-prompt-generator.js +2 -2
  44. package/dist/core/xray-activation.d.ts +4 -4
  45. package/dist/core/xray-activation.js +29 -24
  46. package/dist/delegation/agent-delegator.d.ts +3 -3
  47. package/dist/delegation/agent-delegator.js +3 -3
  48. package/dist/delegation/metrics-aggregator.d.ts +11 -11
  49. package/dist/delegation/session-coordinator.d.ts +3 -3
  50. package/dist/delegation/voting-coordinator.d.ts +3 -3
  51. package/dist/enforcement/enforcer-tools.js +2 -2
  52. package/dist/enforcement/loaders/codex-loader.d.ts +1 -1
  53. package/dist/enforcement/loaders/codex-loader.js +2 -2
  54. package/dist/index.d.ts +5 -5
  55. package/dist/index.js +6 -6
  56. package/dist/inference/deploy-verifier.js +1 -1
  57. package/dist/inference/inference-cycle.js +7 -7
  58. package/dist/integrations/base/README.md +2 -2
  59. package/dist/integrations/governance/index.js +1 -1
  60. package/dist/integrations/grok/grok-cli.d.ts +1 -1
  61. package/dist/integrations/grok/grok-cli.js +6 -6
  62. package/dist/integrations/grok/hooks/pre-tool-use.js +1 -1
  63. package/dist/integrations/grok/plugin/0xray/.mcp.json +3 -3
  64. package/dist/integrations/grok/plugin/0xray/hooks/hooks.json +2 -2
  65. package/dist/integrations/hermes-agent/__init__.py +77 -71
  66. package/dist/integrations/hermes-agent/__pycache__/__init__.cpython-313.pyc +0 -0
  67. package/dist/integrations/hermes-agent/__pycache__/conftest.cpython-313-pytest-9.0.2.pyc +0 -0
  68. package/dist/integrations/hermes-agent/__pycache__/schemas.cpython-313.pyc +0 -0
  69. package/dist/integrations/hermes-agent/__pycache__/test_plugin.cpython-313-pytest-9.0.2.pyc +0 -0
  70. package/dist/integrations/hermes-agent/__pycache__/test_plugin.cpython-313.pyc +0 -0
  71. package/dist/integrations/hermes-agent/__pycache__/tools.cpython-313.pyc +0 -0
  72. package/dist/integrations/hermes-agent/after-install.md +14 -14
  73. package/dist/integrations/hermes-agent/bridge.mjs +14 -14
  74. package/dist/integrations/hermes-agent/logs/framework/routing-outcomes.json +1 -0
  75. package/dist/integrations/hermes-agent/plugin.yaml +5 -5
  76. package/dist/integrations/hermes-agent/schemas.py +12 -12
  77. package/dist/integrations/hermes-agent/test_plugin.py +128 -125
  78. package/dist/integrations/hermes-agent/tools.py +85 -23
  79. package/dist/integrations/openclaw/README.md +16 -16
  80. package/dist/integrations/openclaw/api-server.d.ts +4 -4
  81. package/dist/integrations/openclaw/api-server.js +9 -9
  82. package/dist/integrations/openclaw/config.js +1 -1
  83. package/dist/integrations/openclaw/hooks/{strray-hooks.d.ts → xray-hooks.d.ts} +4 -4
  84. package/dist/integrations/openclaw/index.d.ts +4 -4
  85. package/dist/integrations/openclaw/index.js +4 -4
  86. package/dist/integrations/openclaw/types.d.ts +1 -1
  87. package/dist/integrations/plugins/plugin-registry.js +2 -2
  88. package/dist/mcps/architect-tools.server.d.ts +2 -2
  89. package/dist/mcps/architect-tools.server.js +4 -4
  90. package/dist/mcps/auto-format.server.d.ts +2 -2
  91. package/dist/mcps/auto-format.server.js +4 -4
  92. package/dist/mcps/boot-orchestrator.server.d.ts +2 -2
  93. package/dist/mcps/boot-orchestrator.server.js +4 -4
  94. package/dist/mcps/config/server-config-registry.d.ts +1 -1
  95. package/dist/mcps/config/server-config-registry.js +7 -7
  96. package/dist/mcps/connection/mcp-connection.js +1 -1
  97. package/dist/mcps/enforcer-tools.server.d.ts +2 -2
  98. package/dist/mcps/enforcer-tools.server.js +4 -4
  99. package/dist/mcps/estimation.server.js +1 -1
  100. package/dist/mcps/framework-compliance-audit.server.d.ts +2 -2
  101. package/dist/mcps/framework-compliance-audit.server.js +4 -4
  102. package/dist/mcps/framework-help.server.js +7 -7
  103. package/dist/mcps/governance.server.js +1 -1
  104. package/dist/mcps/in-process-skill-registry.js +6 -6
  105. package/dist/mcps/knowledge-skills/api-design.server.d.ts +2 -2
  106. package/dist/mcps/knowledge-skills/api-design.server.js +4 -4
  107. package/dist/mcps/knowledge-skills/architecture-patterns.server.d.ts +2 -2
  108. package/dist/mcps/knowledge-skills/architecture-patterns.server.js +4 -4
  109. package/dist/mcps/knowledge-skills/bug-triage-specialist.server.js +1 -1
  110. package/dist/mcps/knowledge-skills/code-analyzer.server.js +1 -1
  111. package/dist/mcps/knowledge-skills/code-review.server.d.ts +2 -2
  112. package/dist/mcps/knowledge-skills/code-review.server.js +4 -4
  113. package/dist/mcps/knowledge-skills/content-creator.server.js +1 -1
  114. package/dist/mcps/knowledge-skills/database-design.server.d.ts +2 -2
  115. package/dist/mcps/knowledge-skills/database-design.server.js +4 -4
  116. package/dist/mcps/knowledge-skills/devops-deployment.server.d.ts +2 -2
  117. package/dist/mcps/knowledge-skills/devops-deployment.server.js +4 -4
  118. package/dist/mcps/knowledge-skills/git-workflow.server.d.ts +2 -2
  119. package/dist/mcps/knowledge-skills/git-workflow.server.js +4 -4
  120. package/dist/mcps/knowledge-skills/growth-strategist.server.js +1 -1
  121. package/dist/mcps/knowledge-skills/log-monitor.server.js +1 -1
  122. package/dist/mcps/knowledge-skills/mobile-development.server.d.ts +2 -2
  123. package/dist/mcps/knowledge-skills/mobile-development.server.js +4 -4
  124. package/dist/mcps/knowledge-skills/multimodal-looker.server.js +1 -1
  125. package/dist/mcps/knowledge-skills/performance-optimization.server.d.ts +2 -2
  126. package/dist/mcps/knowledge-skills/performance-optimization.server.js +4 -4
  127. package/dist/mcps/knowledge-skills/project-analysis.server.js +1 -1
  128. package/dist/mcps/knowledge-skills/refactoring-strategies.server.d.ts +2 -2
  129. package/dist/mcps/knowledge-skills/refactoring-strategies.server.js +4 -4
  130. package/dist/mcps/knowledge-skills/security-audit.server.d.ts +2 -2
  131. package/dist/mcps/knowledge-skills/security-audit.server.js +4 -4
  132. package/dist/mcps/knowledge-skills/seo-consultant.server.js +1 -1
  133. package/dist/mcps/knowledge-skills/session-management.server.js +1 -1
  134. package/dist/mcps/knowledge-skills/skill-invocation.server.js +1 -1
  135. package/dist/mcps/knowledge-skills/strategist.server.js +1 -1
  136. package/dist/mcps/knowledge-skills/tech-writer.server.d.ts +2 -2
  137. package/dist/mcps/knowledge-skills/tech-writer.server.js +5 -5
  138. package/dist/mcps/knowledge-skills/testing-best-practices.server.d.ts +2 -2
  139. package/dist/mcps/knowledge-skills/testing-best-practices.server.js +4 -4
  140. package/dist/mcps/knowledge-skills/testing-strategy.server.d.ts +2 -2
  141. package/dist/mcps/knowledge-skills/testing-strategy.server.js +4 -4
  142. package/dist/mcps/knowledge-skills/ui-ux-design.server.d.ts +2 -2
  143. package/dist/mcps/knowledge-skills/ui-ux-design.server.js +6 -6
  144. package/dist/mcps/lint.server.d.ts +2 -2
  145. package/dist/mcps/lint.server.js +6 -6
  146. package/dist/mcps/mcp-client.js +3 -3
  147. package/dist/mcps/model-health-check.server.d.ts +2 -2
  148. package/dist/mcps/model-health-check.server.js +4 -4
  149. package/dist/mcps/orchestrator/server.js +2 -2
  150. package/dist/mcps/performance-analysis.server.d.ts +2 -2
  151. package/dist/mcps/performance-analysis.server.js +4 -4
  152. package/dist/mcps/processor-pipeline.server.d.ts +2 -2
  153. package/dist/mcps/processor-pipeline.server.js +4 -4
  154. package/dist/mcps/registry.json +1 -1
  155. package/dist/mcps/researcher.server.d.ts +3 -3
  156. package/dist/mcps/researcher.server.js +5 -5
  157. package/dist/mcps/security-scan.server.d.ts +2 -2
  158. package/dist/mcps/security-scan.server.js +4 -4
  159. package/dist/mcps/simulation/server-simulations.js +3 -3
  160. package/dist/mcps/state-manager.server.js +1 -1
  161. package/dist/metrics/agent-metrics.d.ts +4 -4
  162. package/dist/metrics/agent-metrics.js +1 -1
  163. package/dist/orchestrator/enhanced-multi-agent-orchestrator.d.ts +2 -2
  164. package/dist/orchestrator/enhanced-multi-agent-orchestrator.js +2 -2
  165. package/dist/orchestrator/intelligent-commit-batcher.d.ts +1 -1
  166. package/dist/orchestrator/intelligent-commit-batcher.js +3 -3
  167. package/dist/orchestrator/multi-agent-orchestration-coordinator.d.ts +3 -3
  168. package/dist/orchestrator/multi-agent-orchestration-coordinator.js +9 -9
  169. package/dist/orchestrator/orchestrator.d.ts +3 -2
  170. package/dist/orchestrator/orchestrator.js +8 -6
  171. package/dist/orchestrator/universal-registry-bridge.js +1 -1
  172. package/dist/plugin/xray-codex-injection.d.ts +1 -1
  173. package/dist/plugin/xray-codex-injection.js +8 -7
  174. package/dist/postprocessor/PostProcessor.d.ts +2 -2
  175. package/dist/postprocessor/PostProcessor.js +1 -1
  176. package/dist/postprocessor/monitoring/MonitoringEngine.d.ts +2 -2
  177. package/dist/postprocessor/services/RegressionAnalysisService.js +2 -2
  178. package/dist/postprocessor/triggers/GitHookTrigger.js +14 -14
  179. package/dist/processors/implementations/agents-md-validation-processor.js +2 -2
  180. package/dist/processors/implementations/inference-improvement-processor.js +2 -2
  181. package/dist/processors/implementations/log-protection-processor.d.ts +1 -1
  182. package/dist/processors/implementations/log-protection-processor.js +2 -2
  183. package/dist/processors/implementations/publish-preflight-processor.d.ts +1 -1
  184. package/dist/processors/implementations/publish-preflight-processor.js +3 -3
  185. package/dist/processors/implementations/regression-testing-processor.js +2 -2
  186. package/dist/processors/implementations/session-summary-processor.js +2 -2
  187. package/dist/processors/implementations/storytelling-trigger-processor.js +2 -2
  188. package/dist/processors/processor-manager.d.ts +2 -2
  189. package/dist/public/about.html +6 -6
  190. package/dist/public/enterprise.html +1 -1
  191. package/dist/public/features.html +2 -2
  192. package/dist/public/index.html +4 -4
  193. package/dist/reporting/report-formatter.js +1 -1
  194. package/dist/scripts/activate-kernel-pipeline.js +2 -2
  195. package/dist/scripts/pre-command +1 -1
  196. package/dist/services/inference-tuner.js +2 -2
  197. package/dist/session/session-cleanup-manager.d.ts +3 -3
  198. package/dist/session/session-monitor.d.ts +3 -3
  199. package/dist/session/session-state-manager.d.ts +3 -3
  200. package/dist/skills/hermes-agent/SKILL.md +12 -12
  201. package/dist/skills/registry.json +1 -1
  202. package/dist/skills/storyteller/SKILL.md +1 -1
  203. package/dist/skills/xray-orchestrator/SKILL.md +141 -0
  204. package/dist/skills/xray-orchestrator/index.d.ts +13 -0
  205. package/dist/skills/xray-orchestrator/index.js +224 -0
  206. package/dist/state/index.d.ts +2 -1
  207. package/dist/state/index.js +2 -1
  208. package/dist/state/state-manager.d.ts +2 -2
  209. package/dist/state/state-manager.js +5 -4
  210. package/dist/utils/import-resolver.js +1 -1
  211. package/dist/utils/path-resolver.js +2 -2
  212. package/dist/utils/token-manager.js +1 -1
  213. package/dist/validation/estimation-validator.js +1 -1
  214. package/package.json +2 -2
  215. package/scripts/hooks/pre-command +1 -1
  216. package/scripts/hooks/run-hook.js +2 -2
  217. package/scripts/node/auto-reflection-generator.mjs +2 -2
  218. package/scripts/node/postinstall.cjs +1 -1
  219. package/scripts/node/pre-publish-guard.js +16 -10
  220. package/scripts/node/release.js +6 -6
  221. package/scripts/node/release.mjs +11 -11
  222. package/scripts/node/universal-version-manager.js +2 -2
  223. package/scripts/node/version-manager.mjs +1 -1
  224. package/src/integrations/grok/plugin/0xray/.mcp.json +3 -3
  225. package/src/integrations/grok/plugin/0xray/hooks/hooks.json +2 -2
  226. package/src/mcps/architect-tools.server.ts +4 -4
  227. package/src/mcps/auto-format.server.ts +4 -4
  228. package/src/mcps/boot-orchestrator.server.ts +4 -4
  229. package/src/mcps/config/server-config-registry.ts +7 -7
  230. package/src/mcps/connection/mcp-connection.ts +1 -1
  231. package/src/mcps/enforcer-tools.server.ts +4 -4
  232. package/src/mcps/estimation.server.ts +1 -1
  233. package/src/mcps/framework-compliance-audit.server.ts +4 -4
  234. package/src/mcps/framework-help.server.ts +7 -7
  235. package/src/mcps/governance.server.ts +1 -1
  236. package/src/mcps/in-process-skill-registry.ts +6 -6
  237. package/src/mcps/knowledge-skills/api-design.server.test.ts +8 -8
  238. package/src/mcps/knowledge-skills/api-design.server.ts +4 -4
  239. package/src/mcps/knowledge-skills/architecture-patterns.server.ts +4 -4
  240. package/src/mcps/knowledge-skills/bug-triage-specialist.server.ts +1 -1
  241. package/src/mcps/knowledge-skills/code-analyzer.server.ts +1 -1
  242. package/src/mcps/knowledge-skills/code-review.server.ts +4 -4
  243. package/src/mcps/knowledge-skills/content-creator.server.ts +1 -1
  244. package/src/mcps/knowledge-skills/database-design.server.ts +4 -4
  245. package/src/mcps/knowledge-skills/devops-deployment.server.ts +4 -4
  246. package/src/mcps/knowledge-skills/git-workflow.server.ts +4 -4
  247. package/src/mcps/knowledge-skills/growth-strategist.server.ts +1 -1
  248. package/src/mcps/knowledge-skills/log-monitor.server.ts +1 -1
  249. package/src/mcps/knowledge-skills/mobile-development.server.ts +4 -4
  250. package/src/mcps/knowledge-skills/multimodal-looker.server.ts +1 -1
  251. package/src/mcps/knowledge-skills/performance-optimization.server.ts +4 -4
  252. package/src/mcps/knowledge-skills/project-analysis.server.ts +1 -1
  253. package/src/mcps/knowledge-skills/refactoring-strategies.server.ts +4 -4
  254. package/src/mcps/knowledge-skills/security-audit.server.test.ts +23 -23
  255. package/src/mcps/knowledge-skills/security-audit.server.ts +4 -4
  256. package/src/mcps/knowledge-skills/seo-consultant.server.ts +1 -1
  257. package/src/mcps/knowledge-skills/session-management.server.ts +1 -1
  258. package/src/mcps/knowledge-skills/skill-invocation.server.ts +1 -1
  259. package/src/mcps/knowledge-skills/strategist.server.ts +1 -1
  260. package/src/mcps/knowledge-skills/tech-writer.server.ts +5 -5
  261. package/src/mcps/knowledge-skills/testing-best-practices.server.test.ts +28 -28
  262. package/src/mcps/knowledge-skills/testing-best-practices.server.ts +4 -4
  263. package/src/mcps/knowledge-skills/testing-strategy.server.test.ts +19 -19
  264. package/src/mcps/knowledge-skills/testing-strategy.server.ts +4 -4
  265. package/src/mcps/knowledge-skills/ui-ux-design.server.ts +6 -6
  266. package/src/mcps/lint.server.ts +6 -6
  267. package/src/mcps/mcp-client.ts +3 -3
  268. package/src/mcps/model-health-check.server.ts +4 -4
  269. package/src/mcps/orchestrator/server.ts +2 -2
  270. package/src/mcps/performance-analysis.server.ts +4 -4
  271. package/src/mcps/processor-pipeline.server.ts +4 -4
  272. package/src/mcps/registry.json +1 -1
  273. package/src/mcps/researcher.server.ts +5 -5
  274. package/src/mcps/security-scan.server.ts +4 -4
  275. package/src/mcps/simulation/server-simulations.ts +3 -3
  276. package/src/mcps/state-manager.server.ts +1 -1
  277. package/src/opencode/codex.codex +1 -1
  278. package/src/opencode/commands/dependency-audit.md +3 -3
  279. package/src/opencode/enforcer-config.json +2 -2
  280. package/src/skills/hermes-agent/SKILL.md +12 -12
  281. package/src/skills/registry.json +1 -1
  282. package/src/skills/storyteller/SKILL.md +1 -1
  283. package/src/skills/xray-orchestrator/SKILL.md +141 -0
  284. package/src/skills/xray-orchestrator/index.ts +268 -0
  285. package/scripts/validate-stringray-comprehensive.js +0 -636
  286. /package/dist/integrations/openclaw/hooks/{strray-hooks.js → xray-hooks.js} +0 -0
@@ -73,7 +73,7 @@ export const researcherSimulations = {
73
73
  * Framework Help server simulations
74
74
  */
75
75
  export const frameworkHelpSimulations = {
76
- strray_get_capabilities: () => ({
76
+ xray_get_capabilities: () => ({
77
77
  content: [
78
78
  {
79
79
  type: 'text',
@@ -104,7 +104,7 @@ export const frameworkHelpSimulations = {
104
104
  },
105
105
  ],
106
106
  }),
107
- strray_get_commands: () => ({
107
+ xray_get_commands: () => ({
108
108
  content: [
109
109
  {
110
110
  type: 'text',
@@ -131,7 +131,7 @@ framework-reporting-system - Generate comprehensive framework reports
131
131
  },
132
132
  ],
133
133
  }),
134
- strray_explain_capability: () => ({
134
+ xray_explain_capability: () => ({
135
135
  content: [
136
136
  {
137
137
  type: 'text',
@@ -16,7 +16,7 @@ class StrRayStateManagerServer {
16
16
  backups = new Map();
17
17
  constructor() {
18
18
  this.server = new Server({
19
- name: "state-manager", version: "2.0.0",
19
+ name: "state-manager", version: "2.0.1",
20
20
  }, {
21
21
  capabilities: {
22
22
  tools: {},
@@ -1,4 +1,4 @@
1
- import { StringRayStateManager } from "../state/state-manager.js";
1
+ import { XrayStateManager } from "../state/state-manager.js";
2
2
  export interface AgentInvocation {
3
3
  id: string;
4
4
  agentName: string;
@@ -99,7 +99,7 @@ export declare class AgentMetricsSystem {
99
99
  private retentionConfig;
100
100
  private cleanupInterval;
101
101
  private initialized;
102
- constructor(stateManager: StringRayStateManager, retentionConfig?: Partial<MetricsRetentionConfig>);
102
+ constructor(stateManager: XrayStateManager, retentionConfig?: Partial<MetricsRetentionConfig>);
103
103
  initialize(): Promise<void>;
104
104
  private startAutoCleanup;
105
105
  private performCleanup;
@@ -164,6 +164,6 @@ export declare class AgentMetricsSystem {
164
164
  updateRetentionConfig(config: Partial<MetricsRetentionConfig>): void;
165
165
  destroy(): void;
166
166
  }
167
- export declare function getAgentMetricsSystem(stateManager?: StringRayStateManager): AgentMetricsSystem;
168
- export declare function initializeAgentMetrics(stateManager: StringRayStateManager): AgentMetricsSystem;
167
+ export declare function getAgentMetricsSystem(stateManager?: XrayStateManager): AgentMetricsSystem;
168
+ export declare function initializeAgentMetrics(stateManager: XrayStateManager): AgentMetricsSystem;
169
169
  export declare function resetAgentMetricsSystem(): void;
@@ -1,4 +1,4 @@
1
- // Consumer runtime compat shim from prior StringRay releases (1-line min per Scope Rule; primary xray paths + XRAY_||STRRAY_ env + .strray fallbacks)
1
+ // Consumer runtime compat shim from prior StringRay releases (1-line min per Scope Rule; primary xray paths + XRAY_||STRRAY_ env + .xray fallbacks)
2
2
  import { frameworkLogger } from "../core/framework-logger.js";
3
3
  const DEFAULT_RETENTION_CONFIG = {
4
4
  maxEntries: 10000,
@@ -2,7 +2,7 @@
2
2
  * Enhanced Multi-Agent Orchestration with Clickable Monitoring
3
3
  * Integrates subagent spawning visibility and lifecycle management
4
4
  */
5
- import { StringRayStateManager } from "../state/state-manager.js";
5
+ import { XrayStateManager } from "../state/state-manager.js";
6
6
  export interface AgentSpawnRequest {
7
7
  agentType: string;
8
8
  task: string;
@@ -73,7 +73,7 @@ export declare class EnhancedMultiAgentOrchestrator {
73
73
  private agentDelegator;
74
74
  private executionContext;
75
75
  private cleanupTimer;
76
- constructor(stateManager?: StringRayStateManager, isMainOrchestrator?: boolean);
76
+ constructor(stateManager?: XrayStateManager, isMainOrchestrator?: boolean);
77
77
  /**
78
78
  * 🚨 SECURITY: Check if currently executing as a subagent
79
79
  * Prevents subagents from spawning other subagents (infinite loops, resource exhaustion)
@@ -2,7 +2,7 @@
2
2
  * Enhanced Multi-Agent Orchestration with Clickable Monitoring
3
3
  * Integrates subagent spawning visibility and lifecycle management
4
4
  */
5
- import { StringRayStateManager } from "../state/state-manager.js";
5
+ import { XrayStateManager } from "../state/state-manager.js";
6
6
  import { frameworkLogger } from "../core/framework-logger.js";
7
7
  import { ComplexityAnalyzer, } from "../delegation/complexity-analyzer.js";
8
8
  import { createAgentDelegator, } from "../delegation/agent-delegator.js";
@@ -17,7 +17,7 @@ export class EnhancedMultiAgentOrchestrator {
17
17
  executionContext;
18
18
  cleanupTimer = null;
19
19
  constructor(stateManager, isMainOrchestrator = false) {
20
- this.stateManager = stateManager || new StringRayStateManager();
20
+ this.stateManager = stateManager || new XrayStateManager();
21
21
  this.complexityAnalyzer = new ComplexityAnalyzer();
22
22
  this.agentDelegator = createAgentDelegator(this.stateManager, strRayConfigLoader);
23
23
  this.state = {
@@ -2,7 +2,7 @@
2
2
  * Intelligent Commit Batcher - Batches related changes for optimal commit history
3
3
  * Implements configurable thresholds for file count, time windows, and risk levels
4
4
  *
5
- * Configuration is read from .strray/features.json -> commit_cycle
5
+ * Configuration is read from .xray/features.json -> commit_cycle
6
6
  */
7
7
  export interface PendingChange {
8
8
  filePath: string;
@@ -2,7 +2,7 @@
2
2
  * Intelligent Commit Batcher - Batches related changes for optimal commit history
3
3
  * Implements configurable thresholds for file count, time windows, and risk levels
4
4
  *
5
- * Configuration is read from .strray/features.json -> commit_cycle
5
+ * Configuration is read from .xray/features.json -> commit_cycle
6
6
  */
7
7
  import * as fs from "fs";
8
8
  import * as path from "path";
@@ -36,8 +36,8 @@ export class IntelligentCommitBatcher {
36
36
  loadFeaturesConfig() {
37
37
  try {
38
38
  const configPaths = [
39
- path.join(process.cwd(), ".strray", "features.json"),
40
- path.join(process.cwd(), ".opencode", "strray", "features.json"),
39
+ path.join(process.cwd(), ".xray", "features.json"),
40
+ path.join(process.cwd(), ".opencode", "xray", "features.json"),
41
41
  ];
42
42
  for (const configPath of configPaths) {
43
43
  if (fs.existsSync(configPath)) {
@@ -8,7 +8,7 @@
8
8
  * @since 2026-01-23
9
9
  */
10
10
  import { TaskDefinition } from "../agents/types.js";
11
- import { StringRayStateManager } from "../state/state-manager.js";
11
+ import { XrayStateManager } from "../state/state-manager.js";
12
12
  export interface OrchestrationWorkflow {
13
13
  id: string;
14
14
  name: string;
@@ -68,13 +68,13 @@ export interface CoordinationMetrics {
68
68
  coordinationEfficiency: number;
69
69
  }
70
70
  export declare class MultiAgentOrchestrationCoordinator {
71
- private strRayOrchestrator;
71
+ private xrayOrchestrator;
72
72
  private enhancedOrchestrator;
73
73
  private agentDelegator;
74
74
  private stateManager;
75
75
  private complexityAnalyzer;
76
76
  private coordinationMetrics;
77
- constructor(stateManager?: StringRayStateManager);
77
+ constructor(stateManager?: XrayStateManager);
78
78
  /**
79
79
  * Initialize the coordination system with all components
80
80
  */
@@ -10,22 +10,22 @@
10
10
  import { KernelOrchestrator } from "../core/orchestrator.js";
11
11
  import { enhancedMultiAgentOrchestrator } from "./enhanced-multi-agent-orchestrator.js";
12
12
  import { createAgentDelegator } from "../delegation/agent-delegator.js";
13
- import { StringRayStateManager } from "../state/state-manager.js";
13
+ import { XrayStateManager } from "../state/state-manager.js";
14
14
  import { frameworkLogger } from "../core/framework-logger.js";
15
15
  import { ComplexityAnalyzer } from "../delegation/complexity-analyzer.js";
16
- import { strRayConfigLoader } from "../core/config-loader.js";
16
+ import { xrayConfigLoader } from "../core/config-loader.js";
17
17
  export class MultiAgentOrchestrationCoordinator {
18
- strRayOrchestrator;
18
+ xrayOrchestrator;
19
19
  enhancedOrchestrator;
20
20
  agentDelegator;
21
21
  stateManager;
22
22
  complexityAnalyzer;
23
23
  coordinationMetrics;
24
24
  constructor(stateManager) {
25
- this.stateManager = stateManager || new StringRayStateManager();
26
- this.strRayOrchestrator = new KernelOrchestrator();
25
+ this.stateManager = stateManager || new XrayStateManager();
26
+ this.xrayOrchestrator = new KernelOrchestrator();
27
27
  this.enhancedOrchestrator = enhancedMultiAgentOrchestrator;
28
- this.agentDelegator = createAgentDelegator(this.stateManager, strRayConfigLoader);
28
+ this.agentDelegator = createAgentDelegator(this.stateManager, xrayConfigLoader);
29
29
  this.complexityAnalyzer = new ComplexityAnalyzer();
30
30
  this.coordinationMetrics = {
31
31
  totalWorkflows: 0,
@@ -43,7 +43,7 @@ export class MultiAgentOrchestrationCoordinator {
43
43
  initializeCoordinationSystem() {
44
44
  // Register coordination components in state manager
45
45
  this.stateManager.set("coordination:main_coordinator", this);
46
- this.stateManager.set("coordination:strray_orchestrator", this.strRayOrchestrator);
46
+ this.stateManager.set("coordination:xray_orchestrator", this.xrayOrchestrator);
47
47
  this.stateManager.set("coordination:enhanced_orchestrator", this.enhancedOrchestrator);
48
48
  this.stateManager.set("coordination:agent_delegator", this.agentDelegator);
49
49
  this.stateManager.set("coordination:metrics", this.coordinationMetrics);
@@ -175,7 +175,7 @@ export class MultiAgentOrchestrationCoordinator {
175
175
  dependencies: [],
176
176
  subagentType: "orchestrator",
177
177
  };
178
- const result = await this.strRayOrchestrator.executeComplexTask(task.description, [task]);
178
+ const result = await this.xrayOrchestrator.executeComplexTask(task.description, [task]);
179
179
  result.forEach((r) => {
180
180
  taskResults.push({
181
181
  success: r.success,
@@ -448,7 +448,7 @@ export class MultiAgentOrchestrationCoordinator {
448
448
  async shutdown() {
449
449
  frameworkLogger.log("orchestration-coordinator", "Shutting down multi-agent orchestration coordinator", "info");
450
450
  await this.enhancedOrchestrator.shutdown();
451
- await this.strRayOrchestrator.getStatus(); // Just get status, no actual shutdown method
451
+ await this.xrayOrchestrator.getStatus(); // Just get status, no actual shutdown method
452
452
  frameworkLogger.log("orchestration-coordinator", "Multi-agent orchestration coordinator shutdown complete", "info");
453
453
  }
454
454
  }
@@ -60,7 +60,7 @@ export interface ConsolidationResult {
60
60
  recommendations: string[];
61
61
  summary: string;
62
62
  }
63
- export declare class StringRayOrchestrator {
63
+ export declare class XrayOrchestrator {
64
64
  private config;
65
65
  private activeTasks;
66
66
  private taskToAgentMap;
@@ -139,4 +139,5 @@ export declare class StringRayOrchestrator {
139
139
  config: OrchestratorConfig;
140
140
  };
141
141
  }
142
- export declare const strRayOrchestrator: StringRayOrchestrator;
142
+ export declare const xrayOrchestrator: XrayOrchestrator;
143
+ export { xrayOrchestrator as strRayOrchestrator, XrayOrchestrator as StringRayOrchestrator };
@@ -13,9 +13,9 @@ import { routingOutcomeTracker } from "../delegation/analytics/outcome-tracker.j
13
13
  import { patternPerformanceTracker } from "../analytics/pattern-performance-tracker.js";
14
14
  import { VotingCoordinator } from "../delegation/voting-coordinator.js";
15
15
  import { getAgentExpertiseLevel } from "../delegation/agent-expertise.js";
16
- import { StringRayStateManager } from "../state/state-manager.js";
16
+ import { XrayStateManager } from "../state/state-manager.js";
17
17
  import fs from "fs";
18
- export class StringRayOrchestrator {
18
+ export class XrayOrchestrator {
19
19
  config;
20
20
  activeTasks = new Map();
21
21
  taskToAgentMap = new Map();
@@ -28,7 +28,7 @@ export class StringRayOrchestrator {
28
28
  conflictResolutionStrategy: loadedConfig?.conflictResolutionStrategy ?? "majority_vote",
29
29
  ...config,
30
30
  };
31
- this.votingCoordinator = new VotingCoordinator(new StringRayStateManager());
31
+ this.votingCoordinator = new VotingCoordinator(new XrayStateManager());
32
32
  }
33
33
  /**
34
34
  * Load orchestrator config from features.json
@@ -36,8 +36,8 @@ export class StringRayOrchestrator {
36
36
  loadOrchestratorConfig() {
37
37
  try {
38
38
  const configPaths = [
39
- ".strray/features.json",
40
- ".opencode/strray/features.json",
39
+ ".xray/features.json",
40
+ ".opencode/xray/features.json",
41
41
  ];
42
42
  for (const configPath of configPaths) {
43
43
  if (fs.existsSync(configPath)) {
@@ -654,4 +654,6 @@ export class StringRayOrchestrator {
654
654
  }
655
655
  }
656
656
  // Export singleton instance
657
- export const strRayOrchestrator = new StringRayOrchestrator();
657
+ export const xrayOrchestrator = new XrayOrchestrator();
658
+ // Backward compat alias
659
+ export { xrayOrchestrator as strRayOrchestrator, XrayOrchestrator as StringRayOrchestrator };
@@ -114,7 +114,7 @@ export class UniversalRegistryBridge {
114
114
  currentAgent = {
115
115
  name: nameMatch[1].trim(),
116
116
  description: "",
117
- version: "2.0.0",
117
+ version: "2.0.1",
118
118
  };
119
119
  inAgent = true;
120
120
  continue;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Consumer runtime compat shim from prior StringRay releases (1-line min per Scope Rule; xray codex injection + XRAY_||STRRAY_ env + .strray fallbacks).
2
+ * Consumer runtime compat shim from prior StringRay releases (1-line min per Scope Rule; xray codex injection + XRAY_||STRRAY_ env + .xray fallbacks).
3
3
  */
4
4
  interface ToolExecuteAfterInput {
5
5
  tool: string;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Consumer runtime compat shim from prior StringRay releases (1-line min per Scope Rule; xray codex injection + XRAY_||STRRAY_ env + .strray fallbacks).
2
+ * Consumer runtime compat shim from prior StringRay releases (1-line min per Scope Rule; xray codex injection + XRAY_||STRRAY_ env + .xray fallbacks).
3
3
  */
4
4
  import * as fs from "fs";
5
5
  import * as path from "path";
@@ -100,7 +100,7 @@ function validateModulePath(resolvedPath, allowedPrefix) {
100
100
  throw new Error(`Module path validation failed: ${normalized} is outside allowed path ${allowed}`);
101
101
  }
102
102
  }
103
- async function loadStringRayComponents() {
103
+ async function loadXrayComponents() {
104
104
  if (_ProcessorManager && _StrRayStateManager && _featuresConfigLoader)
105
105
  return;
106
106
  const logger = await getOrCreateLogger(process.cwd());
@@ -337,7 +337,7 @@ let cachedCodexContexts = null;
337
337
  async function getCodexFileLocations(directory) {
338
338
  const root = directory || process.cwd();
339
339
  const resolved = await resolveCodexPath(root);
340
- resolved.push(path.join(root, ".opencode", "codex.codex"), path.join(root, ".strray", "agents_template.md"), path.join(root, ".opencode", "strray", "agents_template.md"), path.join(root, "AGENTS.md"));
340
+ resolved.push(path.join(root, ".opencode", "codex.codex"), path.join(root, ".xray", "agents_template.md"), path.join(root, ".opencode", "xray", "agents_template.md"), path.join(root, "AGENTS.md"));
341
341
  return resolved;
342
342
  }
343
343
  function readFileContent(filePath) {
@@ -467,7 +467,7 @@ function isWriteEditOperation(tool) {
467
467
  return tool === "write" || tool === "edit" || tool === "multiedit";
468
468
  }
469
469
  function isPublishOperation(tool) {
470
- return tool === "publish" || tool === "release" || tool === "npm-publish" || tool === "strray-release";
470
+ return tool === "publish" || tool === "release" || tool === "npm-publish" || tool === "xray-release";
471
471
  }
472
472
  function resolveAgentName(input) {
473
473
  const globalAgent = globalThis.currentAgent;
@@ -568,7 +568,7 @@ export default async function xrayCodexPlugin(input) {
568
568
  const logger = await getOrCreateLogger(directory);
569
569
  logger.log(`🚀 TOOL EXECUTE BEFORE HOOK FIRED: ${input.tool}`);
570
570
  logger.log(`📥 Full input: ${JSON.stringify(input)}`);
571
- await loadStringRayComponents();
571
+ await loadXrayComponents();
572
572
  if (_featuresConfigLoader && _detectTaskType) {
573
573
  try {
574
574
  const config = _featuresConfigLoader.loadConfig();
@@ -601,7 +601,7 @@ export default async function xrayCodexPlugin(input) {
601
601
  }
602
602
  let stateManager;
603
603
  let processorManager;
604
- const globalState = globalThis.strRayStateManager;
604
+ const globalState = globalThis.xrayStateManager || globalThis.strRayStateManager;
605
605
  if (globalState) {
606
606
  logger.log("🔗 Connecting to booted 0xRay framework");
607
607
  stateManager = globalState;
@@ -609,6 +609,7 @@ export default async function xrayCodexPlugin(input) {
609
609
  else {
610
610
  logger.log("🚀 0xRay framework not booted, initializing...");
611
611
  stateManager = new _StrRayStateManager(await resolveStateDir(directory));
612
+ globalThis.xrayStateManager = stateManager;
612
613
  globalThis.strRayStateManager = stateManager;
613
614
  }
614
615
  processorManager = stateManager.get("processor:manager") ?? null;
@@ -667,7 +668,7 @@ export default async function xrayCodexPlugin(input) {
667
668
  },
668
669
  "tool.execute.after": async (input, _output) => {
669
670
  const logger = await getOrCreateLogger(directory);
670
- await loadStringRayComponents();
671
+ await loadXrayComponents();
671
672
  const { tool, args, result } = input;
672
673
  try {
673
674
  const { routingOutcomeTracker } = await import("../delegation/analytics/outcome-tracker.js");
@@ -7,7 +7,7 @@
7
7
  * @version 1.0.0
8
8
  * @since 2026-01-13
9
9
  */
10
- import { StringRayStateManager } from "../state/state-manager.js";
10
+ import { XrayStateManager } from "../state/state-manager.js";
11
11
  import { SessionMonitor } from "../session/session-monitor.js";
12
12
  import { PostProcessorConfig, PostProcessorResult, PostProcessorContext } from "./types.js";
13
13
  export declare class PostProcessor {
@@ -24,7 +24,7 @@ export declare class PostProcessor {
24
24
  private escalationEngine;
25
25
  private successHandler;
26
26
  private triggers;
27
- constructor(stateManager: StringRayStateManager, sessionMonitor?: SessionMonitor | null, config?: Partial<PostProcessorConfig>);
27
+ constructor(stateManager: XrayStateManager, sessionMonitor?: SessionMonitor | null, config?: Partial<PostProcessorConfig>);
28
28
  /**
29
29
  * Generate automated framework report if conditions are met
30
30
  */
@@ -208,7 +208,7 @@ export class PostProcessor {
208
208
  const fs = await import("fs");
209
209
  const path = await import("path");
210
210
  try {
211
- const configPath = resolveConfigPath("features.json") ?? path.join(process.cwd(), ".opencode", "strray", "features.json");
211
+ const configPath = resolveConfigPath("features.json") ?? path.join(process.cwd(), ".opencode", "xray", "features.json");
212
212
  if (fs.existsSync(configPath)) {
213
213
  const config = JSON.parse(fs.readFileSync(configPath, "utf-8"));
214
214
  return config.processors || {};
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Post-Processor Monitoring Engine
3
3
  */
4
- import { StringRayStateManager } from "../../state/state-manager.js";
4
+ import { XrayStateManager } from "../../state/state-manager.js";
5
5
  import { SessionMonitor } from "../../session/session-monitor.js";
6
6
  import { MonitoringResult } from "../types.js";
7
7
  export interface CIStatus {
@@ -25,7 +25,7 @@ export interface SecurityStatus {
25
25
  export declare class PostProcessorMonitoringEngine {
26
26
  private stateManager;
27
27
  private sessionMonitor?;
28
- constructor(stateManager: StringRayStateManager, sessionMonitor?: SessionMonitor | undefined);
28
+ constructor(stateManager: XrayStateManager, sessionMonitor?: SessionMonitor | undefined);
29
29
  initialize(): Promise<void>;
30
30
  monitorDeployment(commitSha: string): Promise<MonitoringResult>;
31
31
  private checkCIStatus;
@@ -11,7 +11,7 @@
11
11
  import { getKernel } from '../../core/kernel-patterns.js';
12
12
  import { createAgentDelegator } from '../../delegation/agent-delegator.js';
13
13
  import { frameworkLogger } from '../../core/framework-logger.js';
14
- import { StringRayStateManager } from '../../state/state-manager.js';
14
+ import { XrayStateManager } from '../../state/state-manager.js';
15
15
  import { strRayConfigLoader } from '../../core/config-loader.js';
16
16
  /**
17
17
  * Main service for systematic regression analysis
@@ -94,7 +94,7 @@ export class RegressionAnalysisService {
94
94
  conferenceType: 'regression-investigation'
95
95
  };
96
96
  // Create agent delegator for this operation
97
- const stateManager = new StringRayStateManager();
97
+ const stateManager = new XrayStateManager();
98
98
  const agentDelegator = createAgentDelegator(stateManager, strRayConfigLoader);
99
99
  // Analyze delegation strategy
100
100
  const analysis = await agentDelegator.analyzeDelegation(delegationRequest);
@@ -314,7 +314,7 @@ if [ -z "$COMMIT_SHA" ]; then
314
314
  fi
315
315
 
316
316
  # Get repository info
317
- REPO="strray-framework/stringray" # Placeholder for now
317
+ REPO="0xRayAI/xray" # Placeholder for now
318
318
  BRANCH=$(git rev-parse --abbrev-ref HEAD)
319
319
  AUTHOR=$(git log -1 --pretty=format:'%an <%ae>')
320
320
 
@@ -330,25 +330,25 @@ fi
330
330
  cd "$(dirname "$0")/../.." # Navigate to project root
331
331
 
332
332
  # Find the 0xRay plugin in node_modules or current project (development)
333
- STRRAY_PLUGIN=""
334
- if [ -d "node_modules/strray-framework" ]; then
335
- STRRAY_PLUGIN="node_modules/strray-framework"
336
- elif [ -d "node_modules/@strray/strray-framework" ]; then
337
- STRRAY_PLUGIN="node_modules/@strray/strray-framework"
338
- elif [ -d "node_modules/OpenCode/plugins/strray-framework" ]; then
339
- STRRAY_PLUGIN="node_modules/OpenCode/plugins/strray-framework"
333
+ XRAY_PLUGIN=""
334
+ if [ -d "node_modules/0xray" ]; then
335
+ XRAY_PLUGIN="node_modules/0xray"
336
+ elif [ -d "node_modules/@0xray/xray" ]; then
337
+ XRAY_PLUGIN="node_modules/@0xray/xray"
338
+ elif [ -d "node_modules/OpenCode/plugins/0xray" ]; then
339
+ XRAY_PLUGIN="node_modules/OpenCode/plugins/0xray"
340
340
  elif [ -f "dist/postprocessor/PostProcessor.js" ]; then
341
341
  # Development mode - use current project
342
- STRRAY_PLUGIN="."
342
+ XRAY_PLUGIN="."
343
343
  fi
344
344
 
345
- if command -v node >/dev/null 2>&1 && [ -n "$STRRAY_PLUGIN" ]; then
345
+ if command -v node >/dev/null 2>&1 && [ -n "$XRAY_PLUGIN" ]; then
346
346
  # Call a separate script to avoid bash variable issues
347
347
  export COMMIT_SHA="$COMMIT_SHA"
348
348
  export REPO="$REPO"
349
349
  export BRANCH="$BRANCH"
350
350
  export AUTHOR="$AUTHOR"
351
- export STRRAY_PLUGIN="$STRRAY_PLUGIN"
351
+ export XRAY_PLUGIN="$XRAY_PLUGIN"
352
352
  export MONITORING_LEVEL="$MONITORING_LEVEL"
353
353
  export IS_FULL_MONITORING="$([ "$MONITORING_LEVEL" = "full" ] && echo "true" || echo "false")"
354
354
 
@@ -422,7 +422,7 @@ fi
422
422
  // Core inference/logging - NEVER DELETE
423
423
  'activity.log',
424
424
  'framework-activity-',
425
- 'strray-plugin-',
425
+ 'xray-plugin-',
426
426
 
427
427
  // Analysis & reflections - Contains inference data
428
428
  'kernel-',
@@ -441,8 +441,8 @@ fi
441
441
  'reflections/',
442
442
 
443
443
  // Init logs can be cleaned but keep recent
444
- 'strray-init-2026-01-2', // Keep Jan 20s
445
- 'strray-init-2026-01-3', // Keep Jan 30s
444
+ 'xray-init-2026-01-2', // Keep Jan 20s
445
+ 'xray-init-2026-01-3', // Keep Jan 30s
446
446
 
447
447
  // Other important files
448
448
  'current-session.log',
@@ -212,7 +212,7 @@ export class AgentsMdValidationProcessor {
212
212
  "",
213
213
  "## Available Skills",
214
214
  "",
215
- "StringRay ships with 30 framework skills and provides a registry of 10 curated community sources.",
215
+ "Xray ships with 30 framework skills and provides a registry of 10 curated community sources.",
216
216
  "",
217
217
  "```bash",
218
218
  "npx 0xray skill:install # Show starter packs + available sources",
@@ -225,7 +225,7 @@ export class AgentsMdValidationProcessor {
225
225
  "",
226
226
  "## Codex",
227
227
  "",
228
- `StringRay enforces Universal Development Codex (60 terms) for systematic error prevention.`,
228
+ `Xray enforces Universal Development Codex (60 terms) for systematic error prevention.`,
229
229
  "",
230
230
  ].join("\n"),
231
231
  "## CLI Commands": [
@@ -38,8 +38,8 @@ export class InferenceImprovementProcessor extends PostProcessor {
38
38
  loadInferenceConfig() {
39
39
  try {
40
40
  const configPaths = [
41
- path.join(process.cwd(), ".strray", "features.json"),
42
- path.join(process.cwd(), ".opencode", "strray", "features.json"),
41
+ path.join(process.cwd(), ".xray", "features.json"),
42
+ path.join(process.cwd(), ".opencode", "xray", "features.json"),
43
43
  ];
44
44
  for (const configPath of configPaths) {
45
45
  if (fs.existsSync(configPath)) {
@@ -7,7 +7,7 @@
7
7
  * Protected files:
8
8
  * - routing-outcomes.json (routing analytics - NEVER delete)
9
9
  * - activity.log (framework activity - NEVER delete)
10
- * - strray-plugin-*.log (plugin logs)
10
+ * - xray-plugin-*.log (plugin logs)
11
11
  *
12
12
  * Archival flow is ALLOWED:
13
13
  * - framework-activity-*.log.gz (archived/compressed logs)
@@ -7,7 +7,7 @@
7
7
  * Protected files:
8
8
  * - routing-outcomes.json (routing analytics - NEVER delete)
9
9
  * - activity.log (framework activity - NEVER delete)
10
- * - strray-plugin-*.log (plugin logs)
10
+ * - xray-plugin-*.log (plugin logs)
11
11
  *
12
12
  * Archival flow is ALLOWED:
13
13
  * - framework-activity-*.log.gz (archived/compressed logs)
@@ -31,7 +31,7 @@ const ACTIVE_LOG_PATTERNS = [
31
31
  */
32
32
  const ARCHIVE_PATTERNS = [
33
33
  /framework-activity-.+\.log\.gz$/,
34
- /strray-plugin-.+\.log\.gz$/,
34
+ /xray-plugin-.+\.log\.gz$/,
35
35
  ];
36
36
  /**
37
37
  * Directories/files that are protected
@@ -5,7 +5,7 @@
5
5
  * Ensures README.md, AGENTS.md, and reflection documents are up-to-date
6
6
  * before allowing npm publish.
7
7
  *
8
- * Configuration is read from .strray/features.json
8
+ * Configuration is read from .xray/features.json
9
9
  *
10
10
  * @processor_type post
11
11
  * @priority 10 (runs early after post-processing starts)
@@ -5,7 +5,7 @@
5
5
  * Ensures README.md, AGENTS.md, and reflection documents are up-to-date
6
6
  * before allowing npm publish.
7
7
  *
8
- * Configuration is read from .strray/features.json
8
+ * Configuration is read from .xray/features.json
9
9
  *
10
10
  * @processor_type post
11
11
  * @priority 10 (runs early after post-processing starts)
@@ -45,8 +45,8 @@ export class PublishPreflightProcessor extends PostProcessor {
45
45
  loadConfig() {
46
46
  try {
47
47
  const configPaths = [
48
- path.join(process.cwd(), ".strray", "features.json"),
49
- path.join(process.cwd(), ".opencode", "strray", "features.json"),
48
+ path.join(process.cwd(), ".xray", "features.json"),
49
+ path.join(process.cwd(), ".opencode", "xray", "features.json"),
50
50
  ];
51
51
  for (const configPath of configPaths) {
52
52
  if (fs.existsSync(configPath)) {
@@ -14,7 +14,7 @@ export class RegressionTestingProcessor extends PostProcessor {
14
14
  };
15
15
  try {
16
16
  const projectRoot = process.cwd();
17
- const testCountPath = path.join(projectRoot, ".opencode", "strray", "test-count.json");
17
+ const testCountPath = path.join(projectRoot, ".opencode", "xray", "test-count.json");
18
18
  if (!fs.existsSync(testCountPath)) {
19
19
  frameworkLogger.log("regression-testing-processor", "no-baseline", "info", { message: "No test-count.json baseline found" });
20
20
  return result;
@@ -46,7 +46,7 @@ export class RegressionTestingProcessor extends PostProcessor {
46
46
  }
47
47
  getCurrentTestCount(projectRoot) {
48
48
  try {
49
- const testCountPath = path.join(projectRoot, ".opencode", "strray", "test-count.json");
49
+ const testCountPath = path.join(projectRoot, ".opencode", "xray", "test-count.json");
50
50
  if (!fs.existsSync(testCountPath))
51
51
  return 0;
52
52
  const data = JSON.parse(fs.readFileSync(testCountPath, "utf-8"));
@@ -30,8 +30,8 @@ export class SessionSummaryProcessor extends PostProcessor {
30
30
  }
31
31
  loadConfig() {
32
32
  try {
33
- const featuresPath = path.join(process.cwd(), ".opencode", "strray", "features.json");
34
- const altPath = path.join(process.cwd(), ".strray", "features.json");
33
+ const featuresPath = path.join(process.cwd(), ".opencode", "xray", "features.json");
34
+ const altPath = path.join(process.cwd(), ".xray", "features.json");
35
35
  const configPath = fs.existsSync(featuresPath) ? featuresPath :
36
36
  fs.existsSync(altPath) ? altPath : null;
37
37
  if (configPath) {
@@ -34,8 +34,8 @@ export class StorytellingTriggerProcessor extends PostProcessor {
34
34
  }
35
35
  resolveConfigPath(filename) {
36
36
  const candidates = [
37
- path.join(process.cwd(), ".strray", filename),
38
- path.join(process.cwd(), ".opencode", "strray", filename),
37
+ path.join(process.cwd(), ".xray", filename),
38
+ path.join(process.cwd(), ".opencode", "xray", filename),
39
39
  ];
40
40
  for (const candidate of candidates) {
41
41
  if (fs.existsSync(candidate))