@whalent/agent 0.3.298 → 0.3.299

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whalent/agent",
3
- "version": "0.3.298",
3
+ "version": "0.3.299",
4
4
  "description": "Stable wrapper for Whalent Agent core runtime",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -11,7 +11,6 @@
11
11
  "dist/index.cjs",
12
12
  "dist/core.cjs",
13
13
  "dist/jupyter_sidecar.py",
14
- "scripts/preinstall-check.cjs",
15
14
  "package.json",
16
15
  "README.md"
17
16
  ],
@@ -26,7 +25,6 @@
26
25
  "build:terminal-helper:all": "node scripts/build-terminal-helper.mjs --all",
27
26
  "build:tray-helper": "node scripts/build-tray-helper.mjs",
28
27
  "build:tray-helper:all": "node scripts/build-tray-helper.mjs --all",
29
- "preinstall": "node scripts/preinstall-check.cjs",
30
28
  "prepublishOnly": "node build.mjs",
31
29
  "start": "node dist/index.cjs",
32
30
  "test": "tsx --test src/*.test.ts src/providers/*.test.ts"
@@ -54,7 +52,7 @@
54
52
  "yaml": "^2.4.0"
55
53
  },
56
54
  "optionalDependencies": {
57
- "@whalent/agent-core": "0.3.298",
55
+ "@whalent/agent-core": "0.3.299",
58
56
  "node-pty": "^1.1.0"
59
57
  },
60
58
  "devDependencies": {
@@ -1,19 +0,0 @@
1
- #!/usr/bin/env node
2
- 'use strict';
3
-
4
- const major = Number.parseInt(process.versions.node.split('.')[0] || '0', 10);
5
-
6
- if (major < 20) {
7
- console.error(`
8
- [whalent-agent] Unsupported Node.js ${process.version}.
9
-
10
- Whalent Agent requires Node.js 20 or newer because it depends on native
11
- PTY/SQLite modules.
12
-
13
- Recommended fix:
14
- nvm install 20
15
- nvm use 20
16
- npm install -g @whalent/agent@latest --prefer-online --registry=https://registry.npmjs.org
17
- `);
18
- process.exit(1);
19
- }