@whalent/agent-core 0.3.82 → 0.3.87
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.
- package/dist/index.cjs +7 -7
- package/package.json +5 -3
- package/scripts/preinstall-check.cjs +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whalent/agent-core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.87",
|
|
4
4
|
"description": "Core runtime for Whalent Agent",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -19,10 +19,12 @@
|
|
|
19
19
|
"license": "UNLICENSED",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@anthropic-ai/claude-agent-sdk": "^0.2.138",
|
|
22
|
-
"better-sqlite3": "^11.10.0",
|
|
23
22
|
"node-pty": "^1.1.0"
|
|
24
23
|
},
|
|
24
|
+
"optionalDependencies": {
|
|
25
|
+
"better-sqlite3": "^12.10.0"
|
|
26
|
+
},
|
|
25
27
|
"engines": {
|
|
26
|
-
"node": ">=20.0.0
|
|
28
|
+
"node": ">=20.0.0"
|
|
27
29
|
}
|
|
28
30
|
}
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
const major = Number.parseInt(process.versions.node.split('.')[0] || '0', 10);
|
|
5
5
|
|
|
6
|
-
if (major
|
|
6
|
+
if (major < 20) {
|
|
7
7
|
console.error(`
|
|
8
8
|
[whalent-agent] Unsupported Node.js ${process.version}.
|
|
9
9
|
|
|
10
|
-
Whalent Agent
|
|
11
|
-
|
|
10
|
+
Whalent Agent requires Node.js 20 or newer because it depends on native
|
|
11
|
+
PTY/SQLite modules.
|
|
12
12
|
|
|
13
13
|
Recommended fix:
|
|
14
14
|
nvm install 20
|