Skip to content

Self-improving AI Employees for everyone

Drop Node 18 (EOL), require Node 20+

trohitg514ae826680f
diff --git a/.github/workflows/predeploy.yml b/.github/workflows/predeploy.yml
index ec37163c..8a83a264 100644
--- a/.github/workflows/predeploy.yml
+++ b/.github/workflows/predeploy.yml
@@ -105,7 +105,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
- node-version: [18, 20, 22]
+ node-version: [20, 22]
steps:
- name: Checkout
uses: actions/checkout@v4
diff --git a/bin/cli.js b/bin/cli.js
index e8ac9c57..7c5dd5dd 100644
--- a/bin/cli.js
+++ b/bin/cli.js
@@ -67,8 +67,8 @@ function checkDeps() {
// Node.js version check
const nodeVersion = parseInt(process.version.slice(1));
- if (nodeVersion < 18) {
- errors.push(`Node.js 18+ required (found ${process.version})`);
+ if (nodeVersion < 20) {
+ errors.push(`Node.js 20+ required (found ${process.version})`);
}
// Python version check
diff --git a/package.json b/package.json
index ea3129cc..2650b881 100644
--- a/package.json
+++ b/package.json
@@ -30,7 +30,7 @@
"machinaos": "./bin/cli.js"
},
"engines": {
- "node": ">=18.0.0"
+ "node": ">=20.0.0"
},
"files": [
"bin/",