diff --git a/apps/zk-circuits/package.json b/apps/zk-circuits/package.json index a1d26a1a..414f8195 100644 --- a/apps/zk-circuits/package.json +++ b/apps/zk-circuits/package.json @@ -36,6 +36,6 @@ "author": "AITBC Team", "license": "MIT", "engines": { - "node": ">=22.22.0" + "node": ">=24.14.0" } } diff --git a/config/.nvmrc b/config/.nvmrc index 85e50277..d845d9d8 100644 --- a/config/.nvmrc +++ b/config/.nvmrc @@ -1 +1 @@ -22.22.0 +24.14.0 diff --git a/docs/1_project/3_infrastructure.md b/docs/1_project/3_infrastructure.md index 01a3b557..26ef6fee 100644 --- a/docs/1_project/3_infrastructure.md +++ b/docs/1_project/3_infrastructure.md @@ -20,7 +20,7 @@ Internet → aitbc.bubuit.net (HTTPS :443) │ │ Container: aitbc (10.1.223.1) │ │ │ │ Access: ssh aitbc-cascade │ │ │ │ OS: Debian 13 Trixie │ │ -│ │ Node.js: 22+ │ │ +│ │ Node.js: 24+ │ │ │ │ Python: 3.13.5+ │ │ │ │ GPU Access: None (CPU-only mode) │ │ │ │ Miner Service: Not needed │ │ @@ -103,7 +103,7 @@ Internet → aitbc.bubuit.net (HTTPS :443) - **Hostname**: `at1` (primary development workstation) - **Environment**: Windsurf development environment - **OS**: Debian 13 Trixie (development environment) -- **Node.js**: 22+ (current tested: v22.22.x) +- **Node.js**: 24+ (current tested: v24.14.x) - **Python**: 3.13.5+ (minimum requirement, strictly enforced) - **GPU Access**: **Primary GPU access location** - all GPU workloads must run on at1 - **Architecture**: x86_64 Linux with CUDA GPU support @@ -136,7 +136,7 @@ aitbc-mock-coordinator.service # Mock coordinator on port 8020 **Service Details:** - **Working Directory**: `/opt/aitbc/` (standard path for all services) - **Python Environment**: `/opt/aitbc/.venv/bin/python` (Python 3.13.5+) -- **Node.js Environment**: System Node.js 22+ (current tested: v22.22.x) +- **Node.js Environment**: System Node.js 24+ (current tested: v24.14.x) - **User**: oib - **Restart Policy**: always (with 5s delay) @@ -204,7 +204,7 @@ ls -la /opt/aitbc/systemd # Should show symlink to windsurf system └── systemd -> /home/oib/windsurf/aitbc/systemd/ # Node.js environment -node --version # Should show v22.22.x +node --version # Should show v24.14.x npm --version # Should show compatible version ``` @@ -217,7 +217,7 @@ ls -la /opt/aitbc/ # Should show individual symlinks, not s ls -la /opt/aitbc/apps/blockchain-node # Should point to windsurf project python3 --version # Should show Python 3.13.5 ls -la /home/oib/windsurf/aitbc/.venv/bin/python # Check development venv -node --version # Should show v22.22.x +node --version # Should show v24.14.x npm --version # Should show compatible version # Test symlink resolution @@ -307,7 +307,7 @@ ssh aitbc1-cascade # Direct SSH to aitbc1 container (incus) - Purpose: secondary AITBC dev environment (incus container) - Host: 10.1.223.40 (Debian 13 Trixie), accessible via new SSH alias `aitbc1-cascade` - OS: Debian 13 Trixie (development environment) -- Node.js: 22+ (current tested: v22.22.x) +- Node.js: 24+ (current tested: v24.14.x) - Python: 3.13.5+ (minimum requirement, strictly enforced) - Proxy device: incus proxy on host maps 127.0.0.1:18001 → 127.0.0.1:8000 inside container - AppArmor profile: unconfined (incus raw.lxc) @@ -353,9 +353,9 @@ ssh aitbc1-cascade # Direct SSH to aitbc1 container (incus) | Web UI | 8016 | python | 3.13.5 | /app/ | ✅ | | Geographic Load Balancer | 8017 | python | 3.13.5 | /api/loadbalancer/* | ✅ | -**Python 3.13.5 and Node.js 22+ Upgrade Complete** (2026-03-05): +**Python 3.13.5 and Node.js 24+ Upgrade Complete** (2026-03-05): - All services upgraded to Python 3.13.5 -- Node.js upgraded to 22+ (current tested: v22.22.x) +- Node.js upgraded to 24+ (current tested: v24.14.x) - Virtual environments updated and verified - API routing fixed for external access - Services fully operational with enhanced performance @@ -381,7 +381,7 @@ All Python services in the AITBC container run on **Python 3.13.5** with isolate **Verification Commands:** ```bash ssh aitbc-cascade "python3 --version" # Should show Python 3.13.5 -ssh aitbc-cascade "node --version" # Should show v22.22.x +ssh aitbc-cascade "node --version" # Should show v24.14.x ssh aitbc-cascade "npm --version" # Should show compatible version ssh aitbc-cascade "ls -la /opt/*/.venv/bin/python" # Check venv symlinks ssh aitbc-cascade "curl -s http://127.0.0.1:8000/v1/health" # Coordinator API health diff --git a/docs/1_project/aitbc.md b/docs/1_project/aitbc.md index 03266891..ea975209 100644 --- a/docs/1_project/aitbc.md +++ b/docs/1_project/aitbc.md @@ -25,7 +25,7 @@ This guide provides comprehensive deployment instructions for the **aitbc server ### **Software Requirements** - **Operating System**: Debian 13 Trixie (primary) or Ubuntu 22.04+ (alternative) - **Python**: 3.13.5+ (strictly enforced - platform requires 3.13+ features) -- **Node.js**: 22+ (current tested: v22.22.x) +- **Node.js**: 24+ (current tested: v24.14.x) - **Database**: SQLite (default) or PostgreSQL (production) ### **Network Requirements** diff --git a/docs/1_project/aitbc1.md b/docs/1_project/aitbc1.md index 1a3814f6..1deb20bd 100644 --- a/docs/1_project/aitbc1.md +++ b/docs/1_project/aitbc1.md @@ -176,9 +176,9 @@ python3 --version # Should show 3.13.x ### **🔥 Issue 1b: Node.js Version Compatibility** -**Current Status**: Node.js v22.22.x (tested and compatible) +**Current Status**: Node.js v24.14.x (tested and compatible) -**Note**: Current Node.js version v22.22.x meets the minimum requirement of 22.0.0 and is fully compatible with AITBC platform. +**Note**: Current Node.js version v24.14.x meets the minimum requirement of 24.14.0 and is fully compatible with AITBC platform. ### **🔥 Issue 1c: Operating System Compatibility** diff --git a/packages/js/aitbc-sdk/package.json b/packages/js/aitbc-sdk/package.json index 82806fe4..25992c5c 100644 --- a/packages/js/aitbc-sdk/package.json +++ b/packages/js/aitbc-sdk/package.json @@ -60,7 +60,7 @@ }, "homepage": "https://aitbc.bubuit.net/docs/", "engines": { - "node": ">=22.22.0" + "node": ">=24.14.0" }, "publishConfig": { "access": "public" diff --git a/packages/solidity/aitbc-token/package.json b/packages/solidity/aitbc-token/package.json index 499124da..01981801 100644 --- a/packages/solidity/aitbc-token/package.json +++ b/packages/solidity/aitbc-token/package.json @@ -25,6 +25,6 @@ "@openzeppelin/contracts": "^5.0.2" }, "engines": { - "node": ">=22.22.0" + "node": ">=24.14.0" } } diff --git a/scripts/validate-requirements.sh b/scripts/validate-requirements.sh index 85b11b32..b63296e7 100755 --- a/scripts/validate-requirements.sh +++ b/scripts/validate-requirements.sh @@ -62,15 +62,16 @@ check_nodejs() { echo "Found Node.js version: $NODE_VERSION" - # Check minimum version 22.0.0 - if [ "$NODE_MAJOR" -lt 22 ]; then - WARNINGS+=("Node.js version $NODE_VERSION is below minimum requirement 22.0.0") + # Check minimum version 24.0.0 + if [ "$NODE_MAJOR" -lt 24 ]; then + WARNINGS+=("Node.js version $NODE_VERSION is below minimum requirement 24.14.0") return 0 fi - # Check if version is too new (beyond 22.x) - if [ "$NODE_MAJOR" -gt 22 ]; then - WARNINGS+=("Node.js version $NODE_VERSION is newer than tested 22.x series") + # Check if version is too new (beyond 24.x) + if [ "$NODE_MAJOR" -gt 24 ]; then + WARNINGS+=("Node.js version $NODE_VERSION is newer than tested 24.x series") + return 0 fi echo -e "${GREEN}✅ Node.js version check passed${NC}"