@companion-ai/feynman 0.2.4 → 0.2.5

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.
Files changed (2) hide show
  1. package/bin/feynman.js +7 -1
  2. package/package.json +4 -4
package/bin/feynman.js CHANGED
@@ -1,2 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import "../dist/index.js";
2
+ const v = process.versions.node.split(".").map(Number);
3
+ if (v[0] < 20) {
4
+ console.error(`feynman requires Node.js 20 or later (you have ${process.versions.node})`);
5
+ console.error("upgrade: https://nodejs.org or nvm install 20");
6
+ process.exit(1);
7
+ }
8
+ import("../dist/index.js");
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@companion-ai/feynman",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "Research-first CLI agent built on Pi and alphaXiv",
5
5
  "type": "module",
6
+ "engines": {
7
+ "node": ">=20.18.1"
8
+ },
6
9
  "bin": {
7
10
  "feynman": "bin/feynman.js"
8
11
  },
@@ -57,9 +60,6 @@
57
60
  "tsx": "^4.21.0",
58
61
  "typescript": "^5.9.3"
59
62
  },
60
- "engines": {
61
- "node": ">=20.18.1"
62
- },
63
63
  "repository": {
64
64
  "type": "git",
65
65
  "url": "git+https://github.com/getcompanion-ai/feynman.git"