nexrall-code 0.5.37 → 0.5.38

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 +4 -13
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -62320,7 +62320,7 @@ var InkReadlineAdapter = class extends EventEmitter3 {
62320
62320
  };
62321
62321
 
62322
62322
  // src/commands/chat.ts
62323
- var CLI_VERSION = "0.5.37";
62323
+ var CLI_VERSION = "0.5.38";
62324
62324
  var MODEL_LABELS = {
62325
62325
  turbo: "Nexrall Turbo",
62326
62326
  pro: "Nexrall Pro",
@@ -63141,11 +63141,7 @@ ${summaryText}` }] },
63141
63141
  case "/init": {
63142
63142
  const nexrallMdPath = path3.join(workDir, "nexrall.md");
63143
63143
  if (fs7.existsSync(nexrallMdPath)) {
63144
- const rl2 = readline3.createInterface({ input: process.stdin, output: process.stdout });
63145
- const answer = await new Promise((resolve3) => rl2.question(source_default.yellow(" nexrall.md already exists. Overwrite? [y/n] "), (a) => {
63146
- rl2.close();
63147
- resolve3(a.trim());
63148
- }));
63144
+ const answer = await new Promise((resolve3) => rl.question(source_default.yellow(" nexrall.md already exists. Overwrite? [y/n] "), (a) => resolve3(a.trim())));
63149
63145
  if (answer !== "y" && answer !== "yes") {
63150
63146
  console.log(source_default.dim(" Cancelled."));
63151
63147
  rl.prompt();
@@ -63202,13 +63198,8 @@ ${dirList}`;
63202
63198
  const wantsClear = memArgs.includes("clear");
63203
63199
  const memScope = wantsGlobalOnly ? "global" : "project";
63204
63200
  if (wantsClear) {
63205
- rl.pause();
63206
- const rl2 = readline3.createInterface({ input: process.stdin, output: process.stdout });
63207
63201
  const label = memScope === "global" ? "GLOBAL" : "this PROJECT's";
63208
- const answer = await new Promise((resolve3) => rl2.question(source_default.yellow(` Clear ${label} memory? This cannot be undone. [y/n] `), (a) => {
63209
- rl2.close();
63210
- resolve3(a.trim());
63211
- }));
63202
+ const answer = await new Promise((resolve3) => rl.question(source_default.yellow(` Clear ${label} memory? This cannot be undone. [y/n] `), (a) => resolve3(a.trim())));
63212
63203
  if (answer === "y" || answer === "yes") {
63213
63204
  (0, import_code_core3.clearMemory)(memScope, workDir);
63214
63205
  console.log(source_default.green(` ${memScope === "global" ? "Global" : "Project"} memory cleared.`));
@@ -63735,7 +63726,7 @@ function pluginListCommand() {
63735
63726
 
63736
63727
  // src/index.ts
63737
63728
  var program2 = new Command();
63738
- program2.name("nex").description("Nexrall Code \u2014 AI coding assistant (powered by Nexrall)").version("0.5.37");
63729
+ program2.name("nex").description("Nexrall Code \u2014 AI coding assistant (powered by Nexrall)").version("0.5.38");
63739
63730
  program2.command("auth").description("Login to your Nexrall account").action(authCommand);
63740
63731
  program2.command("logout").description("Log out of your Nexrall account").action(logoutCommand);
63741
63732
  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.37",
3
+ "version": "0.5.38",
4
4
  "description": "Nexrall Code — AI coding assistant for your terminal (headless agent for scripts, CI and automation)",
5
5
  "keywords": [
6
6
  "ai",