nexrall-code 0.5.61 → 0.5.62

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/index.js +5 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -18885,13 +18885,13 @@ var require_modePolicy = __commonJS({
18885
18885
  return "confirm";
18886
18886
  if (mode === "plan")
18887
18887
  return "deny";
18888
- if (req.bypass)
18888
+ if (req.bypass || mode === "auto")
18889
18889
  return "allow";
18890
18890
  if (exports.FILE_WRITE_TOOLS.has(tool) || exports.FILE_MUTATE_TOOLS.has(tool)) {
18891
18891
  return mode === "ask" ? "ask" : "allow";
18892
18892
  }
18893
18893
  if (exports.BASH_TOOLS.has(tool)) {
18894
- return mode === "auto" ? "allow" : "ask";
18894
+ return "ask";
18895
18895
  }
18896
18896
  return "ask";
18897
18897
  }
@@ -18904,7 +18904,7 @@ var require_modePolicy = __commonJS({
18904
18904
  case "edit":
18905
18905
  return "edit \u2014 edits files freely; asks before shell commands";
18906
18906
  case "auto":
18907
- return "auto \u2014 edits and runs commands; still confirms irreversible actions";
18907
+ return "auto \u2014 runs every tool on its own; still confirms irreversible actions";
18908
18908
  }
18909
18909
  }
18910
18910
  function parseMode2(raw) {
@@ -64751,7 +64751,7 @@ var InkReadlineAdapter = class extends EventEmitter3 {
64751
64751
  };
64752
64752
 
64753
64753
  // src/commands/chat.ts
64754
- var CLI_VERSION = "0.5.61";
64754
+ var CLI_VERSION = "0.5.62";
64755
64755
  var MODEL_LABELS = {
64756
64756
  "claude-sonnet-5": "Claude Sonnet 5",
64757
64757
  "claude-opus-5": "Claude Opus 5",
@@ -66454,7 +66454,7 @@ function pluginSourceRemoveCommand(name, opts) {
66454
66454
 
66455
66455
  // src/index.ts
66456
66456
  var program2 = new Command();
66457
- program2.name("nex").description("Nexrall Code \u2014 AI coding assistant (powered by Nexrall)").version("0.5.61").enablePositionalOptions();
66457
+ program2.name("nex").description("Nexrall Code \u2014 AI coding assistant (powered by Nexrall)").version("0.5.62").enablePositionalOptions();
66458
66458
  program2.command("auth").description("Login to your Nexrall account").action(authCommand);
66459
66459
  program2.command("logout").description("Log out of your Nexrall account").action(logoutCommand);
66460
66460
  program2.command("update").description("Update nex to the latest version").option("-c, --check", "Check for updates without installing").option("-y, --yes", "Skip confirmation prompt").action(async (opts) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexrall-code",
3
- "version": "0.5.61",
3
+ "version": "0.5.62",
4
4
  "description": "Nexrall Code — AI coding assistant for your terminal (headless agent for scripts, CI and automation)",
5
5
  "keywords": [
6
6
  "ai",
@@ -39,7 +39,7 @@
39
39
  "release": "node build.js && node scripts/upload-release.cjs"
40
40
  },
41
41
  "dependencies": {
42
- "@nexrall/code-core": "^1.4.35",
42
+ "@nexrall/code-core": "^1.4.36",
43
43
  "chalk": "^5.3.0",
44
44
  "commander": "^12.0.0",
45
45
  "diff": "^5.2.0",