@nomad-e/bluma-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.
Files changed (2) hide show
  1. package/dist/main.js +7 -3
  2. package/package.json +2 -1
package/dist/main.js CHANGED
@@ -3038,7 +3038,7 @@ function stopCapturingEarlyInput() {
3038
3038
  }
3039
3039
 
3040
3040
  // src/utils/execFileNoThrow.ts
3041
- import execa2 from "execa";
3041
+ import { execa as execa2 } from "execa";
3042
3042
 
3043
3043
  // src/utils/cwd.ts
3044
3044
  import { AsyncLocalStorage } from "async_hooks";
@@ -3055,7 +3055,7 @@ function getCwd() {
3055
3055
  }
3056
3056
 
3057
3057
  // src/utils/execFileNoThrowPortable.ts
3058
- import execa from "execa";
3058
+ import { execa } from "execa";
3059
3059
 
3060
3060
  // src/utils/execFileNoThrow.ts
3061
3061
  var MS_IN_SECOND = 1e3;
@@ -7354,7 +7354,7 @@ function isRunningWithBun() {
7354
7354
  }
7355
7355
 
7356
7356
  // src/utils/which.ts
7357
- import execa3 from "execa";
7357
+ import { execa as execa3 } from "execa";
7358
7358
 
7359
7359
  // src/utils/execSyncWrapper.ts
7360
7360
  import {
@@ -42994,6 +42994,10 @@ function startBackgroundAgent() {
42994
42994
  console.log(sessionId);
42995
42995
  }
42996
42996
  var argv = process.argv.slice(2);
42997
+ if (argv.includes("--version") || argv.includes("-v")) {
42998
+ console.log(readCliPackageVersion());
42999
+ process.exit(0);
43000
+ }
42997
43001
  if (argv[0] === "agent" && argv.includes("--background")) {
42998
43002
  startBackgroundAgent();
42999
43003
  } else if (argv[0] === "agent") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomad-e/bluma-cli",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "description": "BluMa independent agent for automation and advanced software engineering.",
5
5
  "author": "Alex Fonseca",
6
6
  "license": "Apache-2.0",
@@ -53,6 +53,7 @@
53
53
  "test:watch": "jest --watch",
54
54
  "test:parallel": "node scripts/test-parallel.js",
55
55
  "test:parallel:fast": "TEST_WORKERS=8 node scripts/test-parallel.js",
56
+ "test:pack": "node scripts/test-pack.js",
56
57
  "lint": "eslint src --ext .ts,.tsx",
57
58
  "lint:fix": "eslint src --ext .ts,.tsx --fix",
58
59
  "prepack": "npm run build",