0xray 4.0.39 → 4.0.40

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 (102) hide show
  1. package/.grok-plugin/plugin.json +1 -1
  2. package/.xray/features.json +1 -1
  3. package/dist/CHANGELOG.md +13 -0
  4. package/dist/integrations/hooks/goggles-planes.json +1 -1
  5. package/dist/integrations/openclaw/plugin/xray-pre-tool/package.json +1 -1
  6. package/docs-site/docs/plates/activity-log.md +1 -1
  7. package/docs-site/docs/plates/cursor-compact.md +1 -1
  8. package/docs-site/docs/plates/grok-compact.md +1 -1
  9. package/docs-site/docs/plates/grokbot.md +1 -1
  10. package/docs-site/docs/plates/house.md +1 -1
  11. package/docs-site/docs/plates/index.md +1 -1
  12. package/docs-site/docs/plates/inference-files.md +1 -1
  13. package/docs-site/docs/plates/kept-line.md +1 -1
  14. package/docs-site/docs/plates/lens-gate.md +1 -1
  15. package/docs-site/docs/plates/lens-page.md +1 -1
  16. package/docs-site/docs/plates/live-mesh.md +41 -0
  17. package/docs-site/docs/plates/notes-page.md +1 -1
  18. package/docs-site/docs/plates/package-face.md +1 -1
  19. package/docs-site/docs/plates/payload-heat.md +1 -1
  20. package/docs-site/docs/plates/pickup-stamp.md +1 -1
  21. package/docs-site/docs/plates/pre-tool.md +1 -1
  22. package/docs-site/docs/plates/record-map.md +1 -1
  23. package/docs-site/docs/plates/reflection-page.md +1 -1
  24. package/docs-site/docs/plates/review.md +1 -1
  25. package/docs-site/docs/plates/session-capture.md +1 -1
  26. package/docs-site/docs/plates/site-manual.md +1 -1
  27. package/docs-site/docs/plates/stamp-plate.md +1 -1
  28. package/docs-site/docs/plates/station-card.md +1 -1
  29. package/docs-site/docs/plates/station-heat.md +1 -1
  30. package/docs-site/docs/plates/suit-organs.md +1 -1
  31. package/docs-site/docs/plates/suit-settings.md +1 -1
  32. package/docs-site/docs/plates/suit-wear.md +1 -1
  33. package/docs-site/docs/plates/trail-state.md +1 -1
  34. package/docs-site/docs/plates/work-fresh.md +1 -1
  35. package/docs-site/docs/plates/write-home.md +1 -1
  36. package/package.json +2 -1
  37. package/scripts/node/playwright-smoke-server.cjs +27 -0
  38. package/src/integrations/openclaw/plugin/xray-pre-tool/package.json +1 -1
  39. package/vendor/@0xray/repertoire/dist/orchestrator-bridge/RepertoireOrchestratorBridge.js +4 -1
  40. package/vendor/@0xray/repertoire/dist/paths.js +3 -0
  41. package/xray/features.json +1 -1
  42. package/.opencode/agents/api-design.yml +0 -31
  43. package/.opencode/agents/architect.yml +0 -15
  44. package/.opencode/agents/architecture-patterns.yml +0 -14
  45. package/.opencode/agents/auto-format.yml +0 -14
  46. package/.opencode/agents/backend-engineer.yml +0 -12
  47. package/.opencode/agents/boot-orchestrator.yml +0 -14
  48. package/.opencode/agents/bug-triage-specialist.yml +0 -15
  49. package/.opencode/agents/code-analyzer.yml +0 -12
  50. package/.opencode/agents/code-reviewer.yml +0 -14
  51. package/.opencode/agents/content-creator.yml +0 -12
  52. package/.opencode/agents/database-engineer.yml +0 -12
  53. package/.opencode/agents/devops-engineer.yml +0 -12
  54. package/.opencode/agents/framework-compliance-audit.yml +0 -14
  55. package/.opencode/agents/frontend-engineer.yml +0 -12
  56. package/.opencode/agents/frontend-ui-ux-engineer.yml +0 -12
  57. package/.opencode/agents/git-workflow.yml +0 -15
  58. package/.opencode/agents/growth-strategist.yml +0 -12
  59. package/.opencode/agents/hermes-agent.yml +0 -12
  60. package/.opencode/agents/inference-improve.yml +0 -12
  61. package/.opencode/agents/lint.yml +0 -14
  62. package/.opencode/agents/log-monitor.yml +0 -12
  63. package/.opencode/agents/mobile-developer.yml +0 -12
  64. package/.opencode/agents/model-health-check.yml +0 -12
  65. package/.opencode/agents/multimodal-looker.yml +0 -12
  66. package/.opencode/agents/performance-analysis.yml +0 -12
  67. package/.opencode/agents/performance-engineer.yml +0 -12
  68. package/.opencode/agents/performance-optimization.yml +0 -12
  69. package/.opencode/agents/processor-pipeline.yml +0 -14
  70. package/.opencode/agents/project-analysis.yml +0 -12
  71. package/.opencode/agents/refactorer.yml +0 -12
  72. package/.opencode/agents/researcher.yml +0 -12
  73. package/.opencode/agents/security-auditor.yml +0 -12
  74. package/.opencode/agents/security-scan.yml +0 -12
  75. package/.opencode/agents/seo-consultant.yml +0 -12
  76. package/.opencode/agents/session-management.yml +0 -12
  77. package/.opencode/agents/state-manager.yml +0 -12
  78. package/.opencode/agents/storyteller.yml +0 -12
  79. package/.opencode/agents/strategist.yml +0 -12
  80. package/.opencode/agents/tech-writer.yml +0 -12
  81. package/.opencode/agents/testing-best-practices.yml +0 -12
  82. package/.opencode/agents/testing-lead.yml +0 -12
  83. package/.opencode/agents/ui-ux-design.yml +0 -12
  84. package/.opencode/codex.codex +0 -8
  85. package/.opencode/commands/auto-format.md +0 -99
  86. package/.opencode/commands/auto-summary-capture.md +0 -90
  87. package/.opencode/commands/dependency-audit.md +0 -184
  88. package/.opencode/commands/enforcer-daily-scan.md +0 -137
  89. package/.opencode/commands/framework-compliance-audit.md +0 -205
  90. package/.opencode/commands/interactive-validator.md +0 -75
  91. package/.opencode/commands/job-summary-logger.md +0 -68
  92. package/.opencode/commands/lint.md +0 -11
  93. package/.opencode/commands/mode-switch.md +0 -95
  94. package/.opencode/commands/model-health-check.md +0 -186
  95. package/.opencode/commands/performance-analysis.md +0 -144
  96. package/.opencode/commands/pre-commit-introspection.md +0 -185
  97. package/.opencode/commands/pre-commit-introspection.sh +0 -133
  98. package/.opencode/commands/security-scan.md +0 -157
  99. package/.opencode/commands/sisyphus-validation.md +0 -128
  100. package/.opencode/commands/summary-logger.md +0 -83
  101. package/.opencode/enforcer-config.json +0 -282
  102. package/.opencode/workflows/post-deployment-audit.yml +0 -123
@@ -1,12 +0,0 @@
1
- name: frontend-ui-ux-engineer
2
- skill: frontend-ui-ux-engineer
3
- description: "frontend ui ux engineer specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,15 +0,0 @@
1
- name: git-workflow
2
- skill: git-workflow
3
- description: "Git workflow management and collaboration specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - git_operations
9
- - branch_management
10
- - merge_conflicts
11
- - workflow_automation
12
-
13
- quality:
14
- test_coverage: recommended
15
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: growth-strategist
2
- skill: growth-strategist
3
- description: "growth strategist specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: hermes-agent
2
- skill: hermes-agent
3
- description: "hermes agent specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: inference-improve
2
- skill: inference-improve
3
- description: "inference improve specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,14 +0,0 @@
1
- name: lint
2
- skill: lint
3
- description: "Code linting and static analysis specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - linting
9
- - static_analysis
10
- - code_quality
11
-
12
- quality:
13
- test_coverage: recommended
14
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: log-monitor
2
- skill: log-monitor
3
- description: "log monitor specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: mobile-developer
2
- skill: mobile-developer
3
- description: "mobile developer specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: model-health-check
2
- skill: model-health-check
3
- description: "model health check specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: multimodal-looker
2
- skill: multimodal-looker
3
- description: "multimodal looker specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: performance-analysis
2
- skill: performance-analysis
3
- description: "performance analysis specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: performance-engineer
2
- skill: performance-engineer
3
- description: "performance engineer specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: performance-optimization
2
- skill: performance-optimization
3
- description: "performance optimization specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,14 +0,0 @@
1
- name: processor-pipeline
2
- skill: processor-pipeline
3
- description: "Data processing pipeline management specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - pipeline_management
9
- - data_processing
10
- - workflow_orchestration
11
-
12
- quality:
13
- test_coverage: required
14
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: project-analysis
2
- skill: project-analysis
3
- description: "project analysis specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: refactorer
2
- skill: refactoring-strategies
3
- description: "refactoring strategies specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: researcher
2
- skill: researcher
3
- description: "researcher specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: security-auditor
2
- skill: security-audit
3
- description: "security audit specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: security-scan
2
- skill: security-scan
3
- description: "security scan specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: seo-consultant
2
- skill: seo-consultant
3
- description: "seo consultant specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: session-management
2
- skill: session-management
3
- description: "session management specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: state-manager
2
- skill: state-manager
3
- description: "state manager specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: storyteller
2
- skill: storyteller
3
- description: "storyteller specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: strategist
2
- skill: strategist
3
- description: "strategist specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: tech-writer
2
- skill: tech-writer
3
- description: "tech writer specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: testing-best-practices
2
- skill: testing-best-practices
3
- description: "testing best practices specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: testing-lead
2
- skill: testing-strategy
3
- description: "testing strategy specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,12 +0,0 @@
1
- name: ui-ux-design
2
- skill: ui-ux-design
3
- description: "ui ux design specialist"
4
- version: "1.0.0"
5
- mode: subagent
6
-
7
- capabilities:
8
- - domain_specialization
9
-
10
- quality:
11
- test_coverage: recommended
12
- type_safety: strict
@@ -1,8 +0,0 @@
1
- {
2
- "version": "3.3.1",
3
- "terms": [
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
5
- ],
6
- "framework": "xray Universal Development Codex",
7
- "compliance": "99.6% Error Prevention"
8
- }
@@ -1,99 +0,0 @@
1
- ---
2
- name: auto-format
3
- description: Automated code formatting hook with Prettier and framework-specific formatters
4
- ---
5
-
6
- #!/bin/bash
7
-
8
- # xray - Auto Format Hook
9
-
10
- # Ensures consistent code formatting across all files
11
-
12
- echo "🎨 xray - Auto Format"
13
- echo "================================================"
14
-
15
- # Initialize status
16
-
17
- FORMATTED=true
18
- CHANGES_MADE=()
19
-
20
- # Check for Prettier availability
21
-
22
- if command -v npx &> /dev/null; then
23
- echo "🔧 Running Prettier formatting..."
24
-
25
- # Format all supported file types
26
- if npx prettier --write "**/*.{js,jsx,ts,tsx,json,css,scss,md}" --ignore-path .gitignore > /dev/null 2>&1; then
27
- echo "✅ Prettier formatting completed"
28
- CHANGES_MADE+=("Prettier formatting applied")
29
- else
30
- echo "⚠️ Prettier formatting failed or no files to format"
31
- fi
32
-
33
- else
34
- echo "⚠️ npx/prettier not available"
35
- FORMATTED=false
36
- fi
37
-
38
- # Framework-specific formatting (React/TypeScript)
39
-
40
- if [ -f "package.json" ] && command -v npm &> /dev/null; then # ESLint auto-fix if available
41
- if npm run lint:fix > /dev/null 2>&1 2>/dev/null; then
42
- echo "🔨 ESLint auto-fix applied"
43
- CHANGES_MADE+=("ESLint auto-fix applied")
44
- fi
45
-
46
- # TypeScript compilation check
47
- if npm run typecheck > /dev/null 2>&1; then
48
- echo "✅ TypeScript compilation successful"
49
- else
50
- echo "⚠️ TypeScript compilation issues detected"
51
- FORMATTED=false
52
- fi
53
-
54
- fi
55
-
56
- # Format shell scripts if shfmt available
57
-
58
- if command -v shfmt &> /dev/null; then
59
- echo "🐚 Formatting shell scripts..."
60
- find . -name "\*.sh" -type f -exec shfmt -w -i 2 {} \; > /dev/null 2>&1
61
- if [ $? -eq 0 ]; then
62
- echo "✅ Shell scripts formatted"
63
- CHANGES_MADE+=("Shell scripts formatted")
64
- fi
65
- fi
66
-
67
- # Format Python files if black available
68
-
69
- if command -v black &> /dev/null; then
70
- echo "🐍 Formatting Python files..."
71
- black . > /dev/null 2>&1
72
- if [ $? -eq 0 ]; then
73
- echo "✅ Python files formatted"
74
- CHANGES_MADE+=("Python files formatted")
75
- fi
76
- fi
77
-
78
- # Check for unstaged changes
79
-
80
- if git diff --quiet && git diff --staged --quiet; then
81
- echo "📋 No formatting changes detected"
82
- else
83
- echo "📝 Formatting changes applied:"
84
- for change in "${CHANGES_MADE[@]}"; do
85
- echo " - $change"
86
- done
87
- fi
88
-
89
- # Final status
90
-
91
- if [ "$FORMATTED" = true ]; then
92
- echo ""
93
- echo "✅ Code formatting completed successfully"
94
- echo "🎯 xray: FORMATTING OPERATIONAL"
95
- else
96
- echo ""
97
- echo "⚠️ Some formatting operations failed"
98
- echo "Manual review recommended"
99
- fi
@@ -1,90 +0,0 @@
1
- #!/bin/bash
2
-
3
- # xray - Auto Summary Capture
4
-
5
- # Monitors for 'job done print summary' signal and automatically logs summaries
6
-
7
- # 🚨 CRITICAL RULE: REFACTORING LOG IS APPEND-ONLY 🚨
8
-
9
- #
10
-
11
- # The REFACTORING_LOG.md file serves as an immutable audit trail of the project's evolution.
12
-
13
- # This file must NEVER be edited or modified after creation - only NEW entries may be appended.
14
-
15
- #
16
-
17
- # ❌ NEVER edit existing entries
18
-
19
- # ❌ NEVER delete entries
20
-
21
- # ❌ NEVER reorder entries
22
-
23
- # ❌ NEVER modify timestamps or content
24
-
25
- #
26
-
27
- # ✅ ONLY append new entries to the end
28
-
29
- # ✅ ONLY add new information, never change old information
30
-
31
- # ✅ ONLY use this automated logging system for consistency
32
-
33
- #
34
-
35
- # This ensures the refactoring log remains a reliable, immutable record of all changes.
36
-
37
- # If you need to correct information, append a new entry documenting the correction.
38
-
39
- #
40
-
41
- # 🚨 VIOLATION OF THIS RULE WILL BREAK THE PROJECT'S HISTORICAL RECORD 🚨
42
-
43
- echo "📝 xray - Auto Summary Capture"
44
- echo "======================================"
45
- echo "Monitoring for 'job done print summary' signals..."
46
- echo "All AI-generated summaries will be automatically logged to REFACTORING_LOG.md"
47
- echo ""
48
-
49
- # Create a temporary file to capture the summary
50
-
51
- TEMP_FILE=$(mktemp)
52
- CAPTURING=false
53
-
54
- # Function to log captured summary
55
-
56
- log_summary() {
57
- if [ -s "$TEMP_FILE" ]; then
58
- echo "📝 Captured AI summary - logging to REFACTORING_LOG.md..."
59
-
60
- # Log the captured content
61
- export XRAY_SUMMARY_CONTENT="$(cat "$TEMP_FILE")"
62
- tail -n +6 .opencode/commands/summary-logger.md | bash 2>/dev/null || true
63
-
64
- # Clear temp file
65
- > "$TEMP_FILE"
66
- CAPTURING=false
67
-
68
- echo "✅ Summary automatically logged!"
69
- echo ""
70
- fi
71
-
72
- }
73
-
74
- # Monitor for the signal (this would be integrated into the AI workflow)
75
-
76
- # For now, demonstrate the concept
77
-
78
- echo "🔄 Auto-capture system ready. When AI outputs 'job done print summary',"
79
- echo " the following summary content will be automatically captured and logged."
80
- echo ""
81
- echo "Example usage:"
82
- echo "1. AI completes task"
83
- echo "2. AI outputs: 'job done print summary'"
84
- echo "3. AI outputs summary content"
85
- echo "4. System automatically logs to REFACTORING_LOG.md"
86
- echo ""
87
-
88
- # Clean up
89
-
90
- rm -f "$TEMP_FILE"