@jelou/cli 1.69.4 → 1.71.0

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/jelou +26 -2
  2. package/package.json +43 -11
package/bin/jelou CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  const { execFileSync } = require("child_process");
4
+ const fs = require("fs");
4
5
  const {
5
6
  PLATFORMS,
6
7
  platformKey,
@@ -36,9 +37,32 @@ if (!binPath) {
36
37
  process.exit(1);
37
38
  }
38
39
 
40
+ // `platformBinaryPath()` resolves via require.resolve of the package.json, so it
41
+ // returns a path even when the binary file itself has been deleted (the classic
42
+ // antivirus-quarantine case: the package dir survives, the .exe does not). Guard
43
+ // against it explicitly — otherwise execFileSync throws ENOENT and the catch
44
+ // below would exit 0 (see the guard fix), reading as silent success.
45
+ if (!fs.existsSync(binPath)) {
46
+ console.error(
47
+ `@jelou/cli: platform binary is missing at\n ${binPath}\n\n` +
48
+ `The ${pkg} package is installed but its executable is gone. The most\n` +
49
+ `common cause is antivirus / endpoint-security software quarantining or\n` +
50
+ `deleting the unsigned binary. Check your antivirus quarantine, allowlist\n` +
51
+ `the binary, then reinstall:\n\n` +
52
+ ` npm uninstall -g @jelou/cli\n` +
53
+ ` npm install -g @jelou/cli\n\n` +
54
+ `You can also download a release binary manually from\n` +
55
+ `https://github.com/JelouLatam/jelou-cli/releases\n`,
56
+ );
57
+ process.exit(1);
58
+ }
59
+
39
60
  try {
40
61
  execFileSync(binPath, process.argv.slice(2), { stdio: "inherit" });
41
62
  } catch (err) {
42
- if (err.status !== undefined) process.exit(err.status);
43
- throw err;
63
+ // Only a real child exit carries a numeric err.status. Signal death
64
+ // (err.status === null, err.signal set) and spawn failures like ENOENT
65
+ // (err.status === null, err.code === "ENOENT") must NOT map to exit 0.
66
+ if (typeof err.status === "number") process.exit(err.status);
67
+ process.exit(1);
44
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jelou/cli",
3
- "version": "1.69.4",
3
+ "version": "1.71.0",
4
4
  "description": "Build AI agents on the Jelou platform — from your terminal or your AI editor.",
5
5
  "author": "Jelou Inc. (https://jelou.ai)",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -23,11 +23,11 @@
23
23
  "THIRD_PARTY_NOTICES.md"
24
24
  ],
25
25
  "optionalDependencies": {
26
- "@jelou/cli-darwin-arm64": "1.69.4",
27
- "@jelou/cli-darwin-x64": "1.69.4",
28
- "@jelou/cli-linux-x64": "1.69.4",
29
- "@jelou/cli-linux-arm64": "1.69.4",
30
- "@jelou/cli-win32-x64": "1.69.4"
26
+ "@jelou/cli-darwin-arm64": "1.71.0",
27
+ "@jelou/cli-darwin-x64": "1.71.0",
28
+ "@jelou/cli-linux-x64": "1.71.0",
29
+ "@jelou/cli-linux-arm64": "1.71.0",
30
+ "@jelou/cli-win32-x64": "1.71.0"
31
31
  },
32
32
  "keywords": [
33
33
  "jelou",
@@ -58,13 +58,45 @@
58
58
  "jelou": {
59
59
  "minVersion": "1.65.0",
60
60
  "release_notes": {
61
- "version": "1.69.4",
62
- "date": "2026-07-16",
63
- "headline": "The build-workflow skill now documents the full CODE-node Memory v2 API, so generated CODE nodes can use the whole surface.",
61
+ "version": "1.71.0",
62
+ "date": "2026-07-18",
63
+ "headline": "New `jelou voice` command group and CLI tool authoring, plus a batch of workflow-authoring fixes that stop `jelou push` from touching your canvas.",
64
64
  "highlights": [
65
65
  {
66
- "type": "improved",
67
- "text": "The bundled `jelou-build-workflow` skill now documents the complete CODE-node **Memory v2** API — `getFile` + `FileHandle` (`.toUrl()` sync, `await .toBase64()/.toRaw()`), `set(key, value, TTL?)`, `get(key, default?)`, `delete(key | [keys])`, and `setFile` with its MIME allowlist and size/TTL limits (JSON 5KB/1d, File 10MB/1w). Previously only the `get/set/getJson/setJson` subset was documented, so generated CODE nodes never used the rest even though the runtime already supported it."
66
+ "type": "new",
67
+ "text": "`jelou voice` inspect the voice service: `voice calls list/get/recording/stats/export/metrics`, `voice numbers list`, and `voice status`."
68
+ },
69
+ {
70
+ "type": "new",
71
+ "text": "`jelou workflow tool create` / `update` / `delete` / `clone`, plus `tool input add` and `tool output add` — author tools from the CLI. `clone` copies inputs and outputs too."
72
+ },
73
+ {
74
+ "type": "fixed",
75
+ "text": "`jelou push` no longer re-arranges your canvas — hand-placed node positions are preserved and sticky notes stay where you put them."
76
+ },
77
+ {
78
+ "type": "fixed",
79
+ "text": "New CODE nodes always use Memory v2, so `$memory.setJson` / `getJson` work at runtime instead of throwing."
80
+ },
81
+ {
82
+ "type": "fixed",
83
+ "text": "HTTP and CODE nodes can end a flow — no forced END node, and an unwired `failed` branch keeps its workspace error handler."
84
+ },
85
+ {
86
+ "type": "fixed",
87
+ "text": "Validation errors now surface the real field and reason instead of coming back empty."
88
+ },
89
+ {
90
+ "type": "fixed",
91
+ "text": "`jelou channels connect --to agent` now works — it was missing a required field and failed every time."
92
+ },
93
+ {
94
+ "type": "fixed",
95
+ "text": "Renaming a workflow no longer reports a false `POST_PUSH_DIVERGENCE`."
96
+ },
97
+ {
98
+ "type": "fixed",
99
+ "text": "The npm wrapper now fails loudly with an antivirus-aware message when its binary is missing, instead of silently exiting 0."
68
100
  }
69
101
  ]
70
102
  }