aether-code 0.36.1 → 0.36.2
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 +14 -1
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.36.
|
|
31
|
+
const VERSION = "0.36.2";
|
|
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.36.
|
|
3
|
+
"version": "0.36.2",
|
|
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.36.
|
|
12
|
+
const VERSION = "0.36.2";
|
|
13
13
|
const MODEL_NAME = "Aether Core";
|
|
14
14
|
|
|
15
15
|
const MODEL_ALIASES = {
|
|
@@ -88,6 +88,19 @@ 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 of visible viewport using newline padding.
|
|
92
|
+
// process.stdout.rows is accurate on Windows Terminal (WT_SESSION set),
|
|
93
|
+
// macOS, and Linux. On raw cmd.exe/conhost it returns the scroll-buffer
|
|
94
|
+
// height (~300) instead of the visible viewport — detect and fall back.
|
|
95
|
+
let visibleRows = process.stdout.rows || 24;
|
|
96
|
+
if (process.platform === "win32" && !process.env.WT_SESSION && visibleRows > 60) {
|
|
97
|
+
visibleRows = 24;
|
|
98
|
+
}
|
|
99
|
+
const promptHeight = 4;
|
|
100
|
+
const contentEnd = bannerLineCount + extraLines;
|
|
101
|
+
const gap = Math.max(0, visibleRows - contentEnd - promptHeight);
|
|
102
|
+
if (gap > 0) process.stdout.write("\n".repeat(gap));
|
|
103
|
+
|
|
91
104
|
const inputHistory = [];
|
|
92
105
|
|
|
93
106
|
while (true) {
|