Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
chore: bump to node 24
David Jimenez4b1decdb951d
diff --git a/Dockerfile b/Dockerfileindex dece2eb73..564ff4bce 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,11 +1,11 @@FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim-# Install Node.js 20 for the WhatsApp bridge+# Install Node.js for the WhatsApp bridgeRUN apt-get update && \apt-get install -y --no-install-recommends curl ca-certificates gnupg git bubblewrap openssh-client && \mkdir -p /etc/apt/keyrings && \curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \- echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" > /etc/apt/sources.list.d/nodesource.list && \+ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_24.x nodistro main" > /etc/apt/sources.list.d/nodesource.list && \apt-get update && \apt-get install -y --no-install-recommends nodejs && \apt-get purge -y gnupg && \diff --git a/bridge/package.json b/bridge/package.jsonindex e91517c4a..83047375c 100644--- a/bridge/package.json+++ b/bridge/package.json@@ -16,7 +16,7 @@"pino": "^9.0.0"},"devDependencies": {- "@types/node": "^20.14.0",+ "@types/node": "^24.0.0","@types/ws": "^8.5.10","typescript": "^5.4.0"},diff --git a/nanobot/channels/whatsapp.py b/nanobot/channels/whatsapp.pyindex 69edb9914..7a19d0007 100644--- a/nanobot/channels/whatsapp.py+++ b/nanobot/channels/whatsapp.py@@ -403,7 +403,7 @@ def _ensure_bridge_setup() -> Path:npm_path = shutil.which("npm")if not npm_path:- raise RuntimeError("npm not found. Please install Node.js >= 18.")+ raise RuntimeError("npm not found. Please install Node.js >= 20.")logger.info("Setting up WhatsApp bridge...")user_bridge.parent.mkdir(parents=True, exist_ok=True)diff --git a/webui/package.json b/webui/package.jsonindex 59494f051..ce7becd1a 100644--- a/webui/package.json+++ b/webui/package.json@@ -39,7 +39,7 @@"@testing-library/jest-dom": "^6.6.3","@testing-library/react": "^16.1.0","@testing-library/user-event": "^14.5.2",- "@types/node": "^22.10.5",+ "@types/node": "^24.0.0","@types/react": "^18.3.18","@types/react-dom": "^18.3.5","@types/react-syntax-highlighter": "^15.5.13",