0xray 4.0.0 → 4.0.2

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 (59) hide show
  1. package/.mcp.json +15 -55
  2. package/.xray/features.json +2 -2
  3. package/AGENTS-consumer.md +6 -6
  4. package/AGENTS.md +9 -9
  5. package/README.md +19 -19
  6. package/SKILLS.md +2 -2
  7. package/dist/AGENTS.md +9 -9
  8. package/dist/CHANGELOG.md +54 -2
  9. package/dist/README.md +19 -19
  10. package/dist/SKILLS.md +2 -2
  11. package/dist/cli/commands/foundry-mint-wear.d.ts +2 -0
  12. package/dist/cli/commands/foundry-mint-wear.js +14 -0
  13. package/dist/cli/commands/hermes-install.js +2 -0
  14. package/dist/cli/commands/openclaw-install.js +2 -0
  15. package/dist/cli/commands/opencode-install.js +2 -0
  16. package/dist/cli/index.js +10 -1
  17. package/dist/enforcement/enforcer-tools.d.ts +7 -0
  18. package/dist/enforcement/enforcer-tools.js +18 -109
  19. package/dist/integrations/grok/grok-cli.js +2 -0
  20. package/dist/integrations/hermes-agent/bridge.mjs +7 -0
  21. package/dist/integrations/openclaw/plugin/xray-pre-tool/package.json +4 -2
  22. package/dist/processors/implementations/version-compliance-processor.d.ts +3 -34
  23. package/dist/processors/implementations/version-compliance-processor.js +8 -135
  24. package/opencode.json +0 -8
  25. package/package.json +15 -14
  26. package/scripts/foundry/CHANGELOG.md +34 -0
  27. package/scripts/foundry/LICENSE +21 -0
  28. package/scripts/foundry/README.md +67 -0
  29. package/scripts/foundry/ci-monitor.mjs +115 -0
  30. package/scripts/foundry/cli.js +2 -0
  31. package/scripts/foundry/cli.mjs +55 -0
  32. package/scripts/foundry/docs-build.mjs +38 -0
  33. package/scripts/foundry/hooks.mjs +36 -0
  34. package/scripts/foundry/mill-root.mjs +62 -0
  35. package/scripts/foundry/mint-suit.cjs +313 -0
  36. package/scripts/foundry/mint.mjs +33 -0
  37. package/scripts/foundry/package.json +53 -0
  38. package/scripts/foundry/reconcile-version.mjs +150 -0
  39. package/scripts/foundry/release-gate.mjs +100 -0
  40. package/scripts/foundry/release.mjs +266 -0
  41. package/scripts/foundry/validate-release-docs.mjs +316 -0
  42. package/scripts/foundry/version-manager.mjs +444 -0
  43. package/scripts/node/ci-cd-auto-fix.cjs +12 -257
  44. package/scripts/node/consumer-install-smoke.mjs +57 -2
  45. package/scripts/node/enforce-version-compliance.sh +5 -20
  46. package/scripts/node/enforce-version-compliance.ts +13 -113
  47. package/scripts/node/foundry-shim.mjs +19 -0
  48. package/scripts/node/github-actions-monitor.cjs +13 -18
  49. package/scripts/node/postinstall.cjs +36 -1
  50. package/scripts/node/reconcile-version.mjs +3 -146
  51. package/scripts/node/release-gate.mjs +3 -74
  52. package/scripts/node/release.mjs +3 -171
  53. package/scripts/node/validate-release-docs.mjs +3 -285
  54. package/scripts/node/version-manager.mjs +3 -708
  55. package/src/integrations/openclaw/plugin/xray-pre-tool/package.json +4 -2
  56. package/xray/features.json +2 -2
  57. package/scripts/node/release.js +0 -17
  58. package/scripts/node/sync-versions.mjs +0 -18
  59. package/scripts/node/universal-version-manager.js +0 -1043
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "xray-pre-tool",
3
- "version": "4.0.0",
3
+ "version": "4.0.2",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "description": "0xRay constitution + temperament PreToolUse for OpenClaw",
7
7
  "openclaw": {
8
- "extensions": ["./index.js"]
8
+ "extensions": [
9
+ "./index.js"
10
+ ]
9
11
  }
10
12
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "./features.schema.json",
3
- "version": "4.0.0",
3
+ "version": "4.0.2",
4
4
  "description": "0xRay Framework - Unified Feature Configuration",
5
5
  "suit_temperament": {
6
6
  "profile": "auto",
@@ -182,4 +182,4 @@
182
182
  "onChain": false
183
183
  }
184
184
  }
185
- }
185
+ }
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env node
2
- /**
3
- * @deprecated Use release.mjs — npm run release:patch|minor|major
4
- */
5
- import { execSync } from "child_process";
6
- import path from "path";
7
- import { fileURLToPath } from "url";
8
-
9
- const __dirname = path.dirname(fileURLToPath(import.meta.url));
10
- const rootDir = path.resolve(__dirname, "../..");
11
-
12
- console.error("\n⚠️ release.js is deprecated. Use: npm run release:patch (release.mjs)\n");
13
-
14
- const bump = process.argv.find((a) => ["patch", "minor", "major"].includes(a)) || "patch";
15
- const dry = process.argv.includes("--dry-run") ? " --dry-run" : "";
16
-
17
- execSync(`node scripts/node/release.mjs ${bump}${dry}`, { cwd: rootDir, stdio: "inherit" });
@@ -1,18 +0,0 @@
1
- #!/usr/bin/env node
2
- /**
3
- * @deprecated Use: node scripts/node/version-manager.mjs --artifacts-only
4
- * SSOT for version strings is package.json (see reconcile-version.mjs).
5
- */
6
- import { execSync } from "child_process";
7
- import path from "path";
8
- import { fileURLToPath } from "url";
9
-
10
- const rootDir = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../..");
11
-
12
- console.warn("\n⚠️ sync-versions.mjs is deprecated.");
13
- console.warn(" Use: node scripts/node/version-manager.mjs --artifacts-only\n");
14
-
15
- execSync("node scripts/node/version-manager.mjs --artifacts-only", {
16
- cwd: rootDir,
17
- stdio: "inherit",
18
- });