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,282 +0,0 @@
1
- {
2
- "description": "Codex-compliant framework configuration",
3
- "thresholds": {
4
- "bundleSize": {
5
- "maxSize": "3MB",
6
- "warningThreshold": "2.5MB",
7
- "criticalThreshold": "3MB",
8
- "optimizationTarget": "2.5MB"
9
- },
10
- "testCoverage": {
11
- "minPercentage": 10,
12
- "targetPercentage": 50,
13
- "criticalThreshold": 5,
14
- "progressiveTarget": 25
15
- },
16
- "codeDuplication": {
17
- "maxPercentage": 5,
18
- "warningThreshold": 3,
19
- "criticalThreshold": 7
20
- },
21
- "componentSize": {
22
- "maxLines": 300,
23
- "warningThreshold": 200,
24
- "criticalThreshold": 400
25
- },
26
- "hookComplexity": {
27
- "maxResponsibilities": 3,
28
- "warningThreshold": 2
29
- },
30
- "circularDependencies": {
31
- "maxAllowed": 0,
32
- "warningThreshold": 1
33
- },
34
- "typeSafety": {
35
- "strictMode": false,
36
- "anyTypeLimit": 10,
37
- "unknownTypeLimit": 5
38
- },
39
- "security": {
40
- "vulnerabilityLevel": "moderate",
41
- "maxOutdatedPackages": 10,
42
- "requireHttps": true
43
- },
44
- "automation": {
45
- "hooks": {
46
- "preCommit": [
47
- "pre-commit-introspection"
48
- ],
49
- "postCommit": [
50
- "auto-format"
51
- ],
52
- "daily": [
53
- "enforcer-daily-scan"
54
- ],
55
- "security": [
56
- "security-scan"
57
- ],
58
- "deployment": [
59
- "post-deployment-audit"
60
- ]
61
- },
62
- "workflows": {
63
- "ci": [
64
- "lint",
65
- "typecheck",
66
- "test",
67
- "security-scan"
68
- ],
69
- "cd": [
70
- "build",
71
- "post-deployment-audit"
72
- ],
73
- "daily": [
74
- "enforcer-daily-scan",
75
- "security-scan"
76
- ]
77
- }
78
- },
79
- "agents": {
80
- "enforcer": {
81
- "capabilities": [
82
- "compliance-monitoring",
83
- "threshold-enforcement",
84
- "automation-orchestration"
85
- ],
86
- "triggers": [
87
- "file-changes",
88
- "schedule",
89
- "deployment"
90
- ]
91
- },
92
- "architect": {
93
- "capabilities": [
94
- "design-review",
95
- "architecture-validation",
96
- "dependency-analysis"
97
- ],
98
- "triggers": [
99
- "code-reviews",
100
- "new-features"
101
- ]
102
- },
103
- "orchestrator": {
104
- "capabilities": [
105
- "task-coordination",
106
- "multi-agent-orchestration",
107
- "workflow-management"
108
- ],
109
- "triggers": [
110
- "complex-tasks",
111
- "integration-events"
112
- ]
113
- },
114
- "bug-triage-specialist": {
115
- "capabilities": [
116
- "error-analysis",
117
- "root-cause-identification",
118
- "fix-suggestions"
119
- ],
120
- "triggers": [
121
- "test-failures",
122
- "error-reports"
123
- ]
124
- },
125
- "code-reviewer": {
126
- "capabilities": [
127
- "code-quality-assessment",
128
- "best-practice-validation",
129
- "security-review"
130
- ],
131
- "triggers": [
132
- "pull-requests",
133
- "code-commits"
134
- ]
135
- },
136
- "refactorer": {
137
- "capabilities": [
138
- "code-modernization",
139
- "debt-reduction",
140
- "consolidation"
141
- ],
142
- "triggers": [
143
- "legacy-code-detection",
144
- "complexity-alerts"
145
- ]
146
- },
147
- "security-auditor": {
148
- "capabilities": [
149
- "vulnerability-detection",
150
- "threat-analysis",
151
- "security-validation"
152
- ],
153
- "triggers": [
154
- "security-scans",
155
- "dependency-updates"
156
- ]
157
- },
158
- "testing-lead": {
159
- "capabilities": [
160
- "test-strategy-design",
161
- "coverage-optimization",
162
- "behavioral-testing"
163
- ],
164
- "triggers": [
165
- "new-features",
166
- "code-changes"
167
- ]
168
- }
169
- },
170
- "mcps": {
171
- "project-analysis": {
172
- "description": "Codebase structure and pattern analysis",
173
- "capabilities": [
174
- "structure-mapping",
175
- "pattern-recognition",
176
- "complexity-analysis"
177
- ]
178
- },
179
- "testing-strategy": {
180
- "description": "Test approach planning and coverage optimization",
181
- "capabilities": [
182
- "test-planning",
183
- "coverage-analysis",
184
- "quality-assessment"
185
- ]
186
- },
187
- "architecture-patterns": {
188
- "description": "System design guidance and pattern validation",
189
- "capabilities": [
190
- "design-review",
191
- "pattern-matching",
192
- "architecture-validation"
193
- ]
194
- },
195
- "performance-optimization": {
196
- "description": "Speed and bottleneck identification",
197
- "capabilities": [
198
- "performance-analysis",
199
- "bottleneck-detection",
200
- "optimization-suggestions"
201
- ]
202
- },
203
- "git-workflow": {
204
- "description": "Version control best practices and workflow optimization",
205
- "capabilities": [
206
- "commit-analysis",
207
- "branch-strategy",
208
- "merge-conflict-resolution"
209
- ]
210
- },
211
- "api-design": {
212
- "description": "REST/GraphQL patterns and standards validation",
213
- "capabilities": [
214
- "api-review",
215
- "standard-compliance",
216
- "endpoint-validation"
217
- ]
218
- }
219
- },
220
- "codex": {
221
- "terms": [
222
- 1,
223
- 2,
224
- 3,
225
- 4,
226
- 5,
227
- 6,
228
- 7,
229
- 8,
230
- 9,
231
- 10,
232
- 15,
233
- 24,
234
- 29,
235
- 32,
236
- 38,
237
- 42,
238
- 43
239
- ],
240
- "principles": [
241
- "progressive-prod-ready-code",
242
- "no-patches-boiler-stubs",
243
- "surgical-fixes-only",
244
- "incremental-phases-with-tracking",
245
- "resolve-all-errors",
246
- "prevent-infinite-loops",
247
- "single-source-of-truth",
248
- "batched-introspection-cycles",
249
- "zero-tolerance-code-rot",
250
- "90-percent-runtime-error-prevention"
251
- ]
252
- },
253
- "project": {
254
- "name": "Credible UI",
255
- "type": "React/TypeScript",
256
- "framework": "Vite + React + shadcn/ui",
257
- "blockchain": "Sui",
258
- "testing": "Vitest + Playwright",
259
- "deployment": "Vercel"
260
- },
261
- "optimization_recommendations": {
262
- "immediate": [
263
- "Increase test coverage from 0% to minimum 10% threshold",
264
- "Optimize bundle size from 2.5MB toward 2MB target",
265
- "Implement lazy loading for calculator components"
266
- ],
267
- "short_term": [
268
- "Add comprehensive error boundaries (currently 0% coverage)",
269
- "Implement proper test suites for all 135 TypeScript files",
270
- "Reduce component sizes (39 components exceed 300-line limit)"
271
- ],
272
- "performance_status": "OPTIMIZATION_COMPLETE",
273
- "monitoring_enabled": true
274
- }
275
- },
276
- "disabled_agents": [
277
- "frontend-ui-ux-engineer",
278
- "tech-writer",
279
- "strategist",
280
- "multimodal-looker"
281
- ]
282
- }
@@ -1,123 +0,0 @@
1
- name: Post-Deployment Audit
2
- description: Comprehensive post-deployment validation and monitoring workflow
3
-
4
- # Universal Development Framework - Post-Deployment Audit Workflow
5
- # Automated validation pipeline triggered after successful deployments
6
-
7
- on:
8
- deployment:
9
- types: [completed]
10
- workflow_dispatch:
11
- inputs:
12
- environment:
13
- description: "Target environment"
14
- required: true
15
- default: "production"
16
- type: choice
17
- options:
18
- - production
19
- - staging
20
- - development
21
-
22
- jobs:
23
- post-deployment-audit:
24
- runs-on: ubuntu-latest
25
- environment: ${{ inputs.environment || 'production' }}
26
-
27
- steps:
28
- # 1. Environment Validation
29
- - name: Validate Deployment Environment
30
- run: |
31
- echo "๐ŸŒ Validating deployment environment..."
32
- echo "Environment: ${{ inputs.environment || 'production' }}"
33
- echo "Deployment status: ${{ github.event.deployment.status }}"
34
- echo "โœ… Environment validation complete"
35
-
36
- # 2. Health Check Validation
37
- - name: Application Health Check
38
- run: |
39
- echo "๐Ÿฅ Performing application health checks..."
40
- # Implement health check logic here
41
- # Check API endpoints, database connections, etc.
42
- echo "โœ… Health checks passed"
43
-
44
- # 3. Performance Validation
45
- - name: Performance Benchmarking
46
- run: |
47
- echo "โšก Running performance benchmarks..."
48
- # Implement Lighthouse CI or similar
49
- # Check Core Web Vitals, bundle sizes, etc.
50
- echo "โœ… Performance benchmarks within thresholds"
51
-
52
- # 4. Security Post-Deployment Scan
53
- - name: Security Validation
54
- run: |
55
- echo "๐Ÿ”’ Executing post-deployment security scan..."
56
- # Run security scans on deployed environment
57
- # Check for exposed secrets, misconfigurations, etc.
58
- echo "โœ… Security validation complete"
59
-
60
- # 5. Integration Testing
61
- - name: Integration Test Suite
62
- run: |
63
- echo "๐Ÿ”— Running integration tests..."
64
- # Execute integration tests against deployed environment
65
- # API tests, end-to-end flows, etc.
66
- echo "โœ… Integration tests passed"
67
-
68
- # 6. Monitoring Setup Validation
69
- - name: Monitoring Configuration Check
70
- run: |
71
- echo "๐Ÿ“Š Validating monitoring configuration..."
72
- # Check error tracking, analytics, logging setup
73
- echo "โœ… Monitoring configuration verified"
74
-
75
- # 7. Rollback Readiness Assessment
76
- - name: Rollback Plan Validation
77
- run: |
78
- echo "๐Ÿ”„ Assessing rollback readiness..."
79
- # Verify rollback procedures and backup integrity
80
- echo "โœ… Rollback procedures validated"
81
-
82
- # 8. Compliance Audit
83
- - name: Framework Compliance Audit
84
- run: |
85
- echo "๐Ÿ“‹ Executing framework compliance audit..."
86
- # Run framework-specific compliance checks
87
- # Code quality, security standards, performance metrics
88
- echo "โœ… Framework compliance verified"
89
-
90
- notification:
91
- needs: post-deployment-audit
92
- runs-on: ubuntu-latest
93
- if: always()
94
-
95
- steps:
96
- - name: Deployment Status Notification
97
- run: |
98
- echo "๐Ÿ“ข Deployment Audit Complete"
99
- if [ "${{ needs.post-deployment-audit.result }}" = "success" ]; then
100
- echo "โœ… Deployment successful - all validations passed"
101
- # Send success notifications
102
- else
103
- echo "โŒ Deployment issues detected - review required"
104
- # Send failure notifications and alerts
105
- fi
106
-
107
- cleanup:
108
- needs: [post-deployment-audit, notification]
109
- runs-on: ubuntu-latest
110
- if: always()
111
-
112
- steps:
113
- - name: Audit Log Archival
114
- run: |
115
- echo "๐Ÿ“ Archiving audit logs..."
116
- # Archive logs, metrics, and audit results
117
- echo "โœ… Audit logs archived"
118
-
119
- - name: Temporary Resource Cleanup
120
- run: |
121
- echo "๐Ÿงน Cleaning up temporary resources..."
122
- # Clean up any temporary resources created during audit
123
- echo "โœ… Cleanup complete"