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.
- package/.grok-plugin/plugin.json +1 -1
- package/.xray/features.json +1 -1
- package/dist/CHANGELOG.md +13 -0
- package/dist/integrations/hooks/goggles-planes.json +1 -1
- package/dist/integrations/openclaw/plugin/xray-pre-tool/package.json +1 -1
- package/docs-site/docs/plates/activity-log.md +1 -1
- package/docs-site/docs/plates/cursor-compact.md +1 -1
- package/docs-site/docs/plates/grok-compact.md +1 -1
- package/docs-site/docs/plates/grokbot.md +1 -1
- package/docs-site/docs/plates/house.md +1 -1
- package/docs-site/docs/plates/index.md +1 -1
- package/docs-site/docs/plates/inference-files.md +1 -1
- package/docs-site/docs/plates/kept-line.md +1 -1
- package/docs-site/docs/plates/lens-gate.md +1 -1
- package/docs-site/docs/plates/lens-page.md +1 -1
- package/docs-site/docs/plates/live-mesh.md +41 -0
- package/docs-site/docs/plates/notes-page.md +1 -1
- package/docs-site/docs/plates/package-face.md +1 -1
- package/docs-site/docs/plates/payload-heat.md +1 -1
- package/docs-site/docs/plates/pickup-stamp.md +1 -1
- package/docs-site/docs/plates/pre-tool.md +1 -1
- package/docs-site/docs/plates/record-map.md +1 -1
- package/docs-site/docs/plates/reflection-page.md +1 -1
- package/docs-site/docs/plates/review.md +1 -1
- package/docs-site/docs/plates/session-capture.md +1 -1
- package/docs-site/docs/plates/site-manual.md +1 -1
- package/docs-site/docs/plates/stamp-plate.md +1 -1
- package/docs-site/docs/plates/station-card.md +1 -1
- package/docs-site/docs/plates/station-heat.md +1 -1
- package/docs-site/docs/plates/suit-organs.md +1 -1
- package/docs-site/docs/plates/suit-settings.md +1 -1
- package/docs-site/docs/plates/suit-wear.md +1 -1
- package/docs-site/docs/plates/trail-state.md +1 -1
- package/docs-site/docs/plates/work-fresh.md +1 -1
- package/docs-site/docs/plates/write-home.md +1 -1
- package/package.json +2 -1
- package/scripts/node/playwright-smoke-server.cjs +27 -0
- package/src/integrations/openclaw/plugin/xray-pre-tool/package.json +1 -1
- package/vendor/@0xray/repertoire/dist/orchestrator-bridge/RepertoireOrchestratorBridge.js +4 -1
- package/vendor/@0xray/repertoire/dist/paths.js +3 -0
- package/xray/features.json +1 -1
- package/.opencode/agents/api-design.yml +0 -31
- package/.opencode/agents/architect.yml +0 -15
- package/.opencode/agents/architecture-patterns.yml +0 -14
- package/.opencode/agents/auto-format.yml +0 -14
- package/.opencode/agents/backend-engineer.yml +0 -12
- package/.opencode/agents/boot-orchestrator.yml +0 -14
- package/.opencode/agents/bug-triage-specialist.yml +0 -15
- package/.opencode/agents/code-analyzer.yml +0 -12
- package/.opencode/agents/code-reviewer.yml +0 -14
- package/.opencode/agents/content-creator.yml +0 -12
- package/.opencode/agents/database-engineer.yml +0 -12
- package/.opencode/agents/devops-engineer.yml +0 -12
- package/.opencode/agents/framework-compliance-audit.yml +0 -14
- package/.opencode/agents/frontend-engineer.yml +0 -12
- package/.opencode/agents/frontend-ui-ux-engineer.yml +0 -12
- package/.opencode/agents/git-workflow.yml +0 -15
- package/.opencode/agents/growth-strategist.yml +0 -12
- package/.opencode/agents/hermes-agent.yml +0 -12
- package/.opencode/agents/inference-improve.yml +0 -12
- package/.opencode/agents/lint.yml +0 -14
- package/.opencode/agents/log-monitor.yml +0 -12
- package/.opencode/agents/mobile-developer.yml +0 -12
- package/.opencode/agents/model-health-check.yml +0 -12
- package/.opencode/agents/multimodal-looker.yml +0 -12
- package/.opencode/agents/performance-analysis.yml +0 -12
- package/.opencode/agents/performance-engineer.yml +0 -12
- package/.opencode/agents/performance-optimization.yml +0 -12
- package/.opencode/agents/processor-pipeline.yml +0 -14
- package/.opencode/agents/project-analysis.yml +0 -12
- package/.opencode/agents/refactorer.yml +0 -12
- package/.opencode/agents/researcher.yml +0 -12
- package/.opencode/agents/security-auditor.yml +0 -12
- package/.opencode/agents/security-scan.yml +0 -12
- package/.opencode/agents/seo-consultant.yml +0 -12
- package/.opencode/agents/session-management.yml +0 -12
- package/.opencode/agents/state-manager.yml +0 -12
- package/.opencode/agents/storyteller.yml +0 -12
- package/.opencode/agents/strategist.yml +0 -12
- package/.opencode/agents/tech-writer.yml +0 -12
- package/.opencode/agents/testing-best-practices.yml +0 -12
- package/.opencode/agents/testing-lead.yml +0 -12
- package/.opencode/agents/ui-ux-design.yml +0 -12
- package/.opencode/codex.codex +0 -8
- package/.opencode/commands/auto-format.md +0 -99
- package/.opencode/commands/auto-summary-capture.md +0 -90
- package/.opencode/commands/dependency-audit.md +0 -184
- package/.opencode/commands/enforcer-daily-scan.md +0 -137
- package/.opencode/commands/framework-compliance-audit.md +0 -205
- package/.opencode/commands/interactive-validator.md +0 -75
- package/.opencode/commands/job-summary-logger.md +0 -68
- package/.opencode/commands/lint.md +0 -11
- package/.opencode/commands/mode-switch.md +0 -95
- package/.opencode/commands/model-health-check.md +0 -186
- package/.opencode/commands/performance-analysis.md +0 -144
- package/.opencode/commands/pre-commit-introspection.md +0 -185
- package/.opencode/commands/pre-commit-introspection.sh +0 -133
- package/.opencode/commands/security-scan.md +0 -157
- package/.opencode/commands/sisyphus-validation.md +0 -128
- package/.opencode/commands/summary-logger.md +0 -83
- package/.opencode/enforcer-config.json +0 -282
- 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,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: 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: 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
|
package/.opencode/codex.codex
DELETED
|
@@ -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"
|