aether-code 0.34.0 → 0.34.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/box-input.js +4 -2
- package/src/repl.js +11 -5
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.34.
|
|
31
|
+
const VERSION = "0.34.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.34.
|
|
3
|
+
"version": "0.34.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/box-input.js
CHANGED
|
@@ -123,8 +123,10 @@ export function promptBox({ history = [], placeholder = "Message Aether...", mod
|
|
|
123
123
|
" \xB7 " + "@file for images",
|
|
124
124
|
) + imgNote;
|
|
125
125
|
|
|
126
|
-
process.stdout.
|
|
127
|
-
|
|
126
|
+
const termCols = process.stdout.columns || 80;
|
|
127
|
+
const bottomBar = c.cyan(" " + "─".repeat(termCols - 2));
|
|
128
|
+
process.stdout.write(promptLine + "\n" + barPrefix + statusText + "\n" + bottomBar + "\n");
|
|
129
|
+
drawn = 3;
|
|
128
130
|
};
|
|
129
131
|
|
|
130
132
|
const finish = (result) => {
|
package/src/repl.js
CHANGED
|
@@ -9,7 +9,7 @@ import { c, errorLine } 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.34.
|
|
12
|
+
const VERSION = "0.34.2";
|
|
13
13
|
const MODEL_NAME = "Aether Core";
|
|
14
14
|
|
|
15
15
|
const MODEL_ALIASES = {
|
|
@@ -90,9 +90,13 @@ export async function runRepl({ cwd: initialCwd, autoYes: initialAutoYes, unsafe
|
|
|
90
90
|
|
|
91
91
|
// Push prompt to bottom of screen — big empty gap like Claude Code
|
|
92
92
|
const rows = process.stdout.rows || 24;
|
|
93
|
-
const
|
|
94
|
-
const
|
|
93
|
+
const cols = process.stdout.columns || 80;
|
|
94
|
+
const promptRuleW = cols - 2;
|
|
95
|
+
const promptLines = 3; // "> " input + status bar + bottom rule
|
|
96
|
+
const bottomRuleLines = 1; // rule above prompt
|
|
97
|
+
const filler = Math.max(0, rows - bannerLineCount - extraLines - promptLines - bottomRuleLines - 1);
|
|
95
98
|
for (let i = 0; i < filler; i++) console.log("");
|
|
99
|
+
console.log(c.cyan(" " + "─".repeat(promptRuleW)));
|
|
96
100
|
|
|
97
101
|
const inputHistory = [];
|
|
98
102
|
|
|
@@ -259,7 +263,7 @@ function printBanner(state) {
|
|
|
259
263
|
if (plan) modelParts.push(c.cyan(plan));
|
|
260
264
|
const modelLine = modelParts.join(c.dim(" \xB7 "));
|
|
261
265
|
|
|
262
|
-
const ruleW =
|
|
266
|
+
const ruleW = cols - 2;
|
|
263
267
|
const leftW = Math.min(Math.floor(cols * 0.5), 45);
|
|
264
268
|
const twoCol = cols >= 70;
|
|
265
269
|
|
|
@@ -275,6 +279,8 @@ function printBanner(state) {
|
|
|
275
279
|
pr("");
|
|
276
280
|
pr(" " + topRule);
|
|
277
281
|
|
|
282
|
+
const bottomRule = c.cyan(" " + "─".repeat(ruleW));
|
|
283
|
+
|
|
278
284
|
if (twoCol) {
|
|
279
285
|
const row = (left, right) => {
|
|
280
286
|
pr(" " + padRight(left, leftW) + " " + VL + " " + right);
|
|
@@ -301,7 +307,7 @@ function printBanner(state) {
|
|
|
301
307
|
pr(centerIn(c.dim(shortenPath(state.cwd, 50)), cols - 4));
|
|
302
308
|
}
|
|
303
309
|
|
|
304
|
-
pr(
|
|
310
|
+
pr(bottomRule);
|
|
305
311
|
|
|
306
312
|
return printed;
|
|
307
313
|
}
|