nexrall-code 0.5.41 → 0.5.42
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.
- package/dist/index.js +5 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -53366,14 +53366,10 @@ async function updateCommand(opts) {
|
|
|
53366
53366
|
}
|
|
53367
53367
|
|
|
53368
53368
|
// src/ui/screen.ts
|
|
53369
|
-
function
|
|
53369
|
+
function prepareSessionScreen() {
|
|
53370
53370
|
if (!process.stdout.isTTY)
|
|
53371
53371
|
return;
|
|
53372
|
-
process.stdout.write("\x1B[
|
|
53373
|
-
}
|
|
53374
|
-
function disableAltScreen() {
|
|
53375
|
-
if (process.stdout.isTTY)
|
|
53376
|
-
process.stdout.write("\x1B[?1049l");
|
|
53372
|
+
process.stdout.write("\x1B[2J\x1B[3J\x1B[H");
|
|
53377
53373
|
}
|
|
53378
53374
|
var NEX_LOGO = [
|
|
53379
53375
|
"\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557",
|
|
@@ -62370,7 +62366,7 @@ var InkReadlineAdapter = class extends EventEmitter3 {
|
|
|
62370
62366
|
};
|
|
62371
62367
|
|
|
62372
62368
|
// src/commands/chat.ts
|
|
62373
|
-
var CLI_VERSION = "0.5.
|
|
62369
|
+
var CLI_VERSION = "0.5.42";
|
|
62374
62370
|
var MODEL_LABELS = {
|
|
62375
62371
|
turbo: "Nexrall Turbo",
|
|
62376
62372
|
pro: "Nexrall Pro",
|
|
@@ -62829,10 +62825,9 @@ async function startChatSession(options) {
|
|
|
62829
62825
|
const nexrallMd = readNexrallMd(workDir);
|
|
62830
62826
|
const interactive = !headless && !options.prompt && !options.stdinText;
|
|
62831
62827
|
if (interactive) {
|
|
62832
|
-
|
|
62828
|
+
prepareSessionScreen();
|
|
62833
62829
|
process.on("exit", () => {
|
|
62834
62830
|
stopInkTerminal();
|
|
62835
|
-
disableAltScreen();
|
|
62836
62831
|
});
|
|
62837
62832
|
await startInkTerminal();
|
|
62838
62833
|
}
|
|
@@ -63776,7 +63771,7 @@ function pluginListCommand() {
|
|
|
63776
63771
|
|
|
63777
63772
|
// src/index.ts
|
|
63778
63773
|
var program2 = new Command();
|
|
63779
|
-
program2.name("nex").description("Nexrall Code \u2014 AI coding assistant (powered by Nexrall)").version("0.5.
|
|
63774
|
+
program2.name("nex").description("Nexrall Code \u2014 AI coding assistant (powered by Nexrall)").version("0.5.42");
|
|
63780
63775
|
program2.command("auth").description("Login to your Nexrall account").action(authCommand);
|
|
63781
63776
|
program2.command("logout").description("Log out of your Nexrall account").action(logoutCommand);
|
|
63782
63777
|
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) => {
|