@elnora-ai/cli 1.3.2 → 1.3.4

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/dist/cli.js +4 -4
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -25,7 +25,7 @@ var VERSION, PRODUCTION_BASE_URL, BASE_URL, AI_SERVER_URL, ENDPOINTS, DEFAULT_HE
25
25
  var init_config = __esm({
26
26
  "src/lib/config.ts"() {
27
27
  "use strict";
28
- VERSION = true ? "1.3.2" : process.env.npm_package_version ?? "0.0.0-dev";
28
+ VERSION = true ? "1.3.4" : process.env.npm_package_version ?? "0.0.0-dev";
29
29
  PRODUCTION_BASE_URL = "https://platform.elnora.ai/api/v1";
30
30
  BASE_URL = process.env.ELNORA_API_URL ?? PRODUCTION_BASE_URL;
31
31
  AI_SERVER_URL = process.env.ELNORA_AI_SERVER_URL ?? "https://platform.elnora.ai/ai-server";
@@ -4892,7 +4892,7 @@ function detectInstallMethod() {
4892
4892
  function getUpdateInstruction(method) {
4893
4893
  switch (method) {
4894
4894
  case "npm":
4895
- return "npm update -g @elnora-ai/cli";
4895
+ return "npm install -g @elnora-ai/cli@latest";
4896
4896
  case "homebrew":
4897
4897
  return "brew upgrade elnora";
4898
4898
  case "binary":
@@ -4933,7 +4933,7 @@ async function installBinaryUpdate(latest) {
4933
4933
  const platformInfo = getPlatformTarget();
4934
4934
  if (!platformInfo) {
4935
4935
  console.error(`Unsupported platform: ${process.platform}.`);
4936
- console.error("Try: npm update -g @elnora-ai/cli");
4936
+ console.error("Try: npm install -g @elnora-ai/cli@latest");
4937
4937
  process.exitCode = 1;
4938
4938
  return;
4939
4939
  }
@@ -5027,7 +5027,7 @@ function addUpdateCommand(program2) {
5027
5027
  console.error(msg);
5028
5028
  if (method === "npm") {
5029
5029
  console.error("Installed via npm. Run:");
5030
- console.error(` npm update -g @elnora-ai/cli`);
5030
+ console.error(` npm install -g @elnora-ai/cli@latest`);
5031
5031
  return;
5032
5032
  }
5033
5033
  if (method === "homebrew") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elnora-ai/cli",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "description": "Elnora AI Platform CLI",
5
5
  "type": "module",
6
6
  "bin": {