@oneie/cli 0.5.5 → 0.5.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneie/cli",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "description": "ONE agent CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -20,10 +20,10 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "commander": "^12.0.0",
23
- "@oneie/sdk": "workspace:*",
24
- "@oneie/evals": "workspace:*"
23
+ "@oneie/sdk": "^undefined"
25
24
  },
26
25
  "devDependencies": {
26
+ "@oneie/evals": "workspace:*",
27
27
  "@types/node": "^25.6.0",
28
28
  "tsx": "^4.0.0",
29
29
  "typescript": "^5.4.0",
package/dist/src/eval.js CHANGED
@@ -25,7 +25,17 @@ export function evalCmd() {
25
25
  process.exitCode = 1;
26
26
  }
27
27
  catch (err) {
28
- out({ ok: false, error: err.message });
28
+ const msg = err.message;
29
+ // @oneie/evals is a dev/monorepo-only dependency — it is intentionally not bundled in the
30
+ // published CLI (it is an unpublished workspace sibling, and shipping it as a runtime dep
31
+ // broke `npm i -g @oneie/cli`). Degrade with a clear message instead of a cryptic loader error.
32
+ const missing = /Cannot find (module|package)|ERR_MODULE_NOT_FOUND|@oneie\/evals/.test(msg);
33
+ out({
34
+ ok: false,
35
+ error: missing
36
+ ? 'The `eval` command needs the @oneie/evals package, which is not bundled in the published CLI. Run it from the ONE monorepo, or install @oneie/evals alongside the CLI.'
37
+ : msg,
38
+ });
29
39
  }
30
40
  });
31
41
  return cmd;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oneie/cli",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "description": "ONE agent CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -20,10 +20,10 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "commander": "^12.0.0",
23
- "@oneie/sdk": "workspace:*",
24
- "@oneie/evals": "workspace:*"
23
+ "@oneie/sdk": "^undefined"
25
24
  },
26
25
  "devDependencies": {
26
+ "@oneie/evals": "workspace:*",
27
27
  "@types/node": "^25.6.0",
28
28
  "tsx": "^4.0.0",
29
29
  "typescript": "^5.4.0",