aether-code 0.35.3 → 0.35.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.
- package/bin/aether-code.js +1 -1
- package/package.json +1 -1
- package/src/repl.js +9 -10
package/bin/aether-code.js
CHANGED
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import readline from "node:readline";
|
|
29
29
|
import { c, errorLine, divider, setTerminalTitle } from "../src/render.js";
|
|
30
30
|
|
|
31
|
-
const VERSION = "0.35.
|
|
31
|
+
const VERSION = "0.35.4";
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* Try to start MCP servers from ~/.aether/mcp.json. Returns a started
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aether-code",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.4",
|
|
4
4
|
"description": "Uncensored AI coding agent for your terminal — Claude Code alternative with MCP support. Reads code, writes files, runs commands. Drives IDA Pro, Roblox Studio, Wireshark, Blender, and any MCP server. No refusal layer.",
|
|
5
5
|
"homepage": "https://trynoguard.com",
|
|
6
6
|
"repository": {
|
package/src/repl.js
CHANGED
|
@@ -9,7 +9,7 @@ import { c, errorLine, turnStats } from "./render.js";
|
|
|
9
9
|
import { autoUpdate } from "./update-check.js";
|
|
10
10
|
import { promptBox, EXIT_SIGNAL } from "./box-input.js";
|
|
11
11
|
|
|
12
|
-
const VERSION = "0.35.
|
|
12
|
+
const VERSION = "0.35.4";
|
|
13
13
|
const MODEL_NAME = "Aether Core";
|
|
14
14
|
|
|
15
15
|
const MODEL_ALIASES = {
|
|
@@ -88,11 +88,14 @@ export async function runRepl({ cwd: initialCwd, autoYes: initialAutoYes, unsafe
|
|
|
88
88
|
let extraLines = 0;
|
|
89
89
|
if (updateMsg) { console.log(updateMsg); extraLines++; }
|
|
90
90
|
|
|
91
|
-
// Push prompt to bottom
|
|
91
|
+
// Push prompt to bottom — use cursor positioning (not filler) so the banner
|
|
92
|
+
// stays visible. Filler breaks on cmd.exe when process.stdout.rows returns
|
|
93
|
+
// the scroll-buffer height (~300) instead of the visible window height (~25).
|
|
92
94
|
const rows = process.stdout.rows || 24;
|
|
93
|
-
const
|
|
94
|
-
const
|
|
95
|
-
|
|
95
|
+
const promptHeight = 4; // rule + "> " input + rule + status bar
|
|
96
|
+
const contentEnd = bannerLineCount + extraLines + 1;
|
|
97
|
+
const promptRow = Math.max(contentEnd + 1, rows - promptHeight + 1);
|
|
98
|
+
process.stdout.write(`\x1b[${promptRow};1H`);
|
|
96
99
|
|
|
97
100
|
const inputHistory = [];
|
|
98
101
|
|
|
@@ -141,11 +144,7 @@ export async function runRepl({ cwd: initialCwd, autoYes: initialAutoYes, unsafe
|
|
|
141
144
|
credits: result.totalCredits ?? 0,
|
|
142
145
|
});
|
|
143
146
|
if (stats) console.log(stats);
|
|
144
|
-
|
|
145
|
-
const rowsNow = process.stdout.rows || 24;
|
|
146
|
-
const promptHeight = 4; // rule + prompt + rule + status
|
|
147
|
-
const gap = Math.max(0, rowsNow - promptHeight - 1);
|
|
148
|
-
for (let i = 0; i < gap; i++) console.log("");
|
|
147
|
+
console.log("");
|
|
149
148
|
}
|
|
150
149
|
}
|
|
151
150
|
|