aether-code 0.35.1 → 0.35.3
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 -4
- package/src/repl.js +10 -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.3";
|
|
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.3",
|
|
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
|
@@ -61,7 +61,7 @@ function grabClipboardImage() {
|
|
|
61
61
|
return null;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
export function promptBox({ history = [], placeholder = "
|
|
64
|
+
export function promptBox({ history = [], placeholder = "", mode = "review" } = {}) {
|
|
65
65
|
return new Promise((resolve) => {
|
|
66
66
|
if (!process.stdin.isTTY) {
|
|
67
67
|
const rl = readline.createInterface({ input: process.stdin, output: process.stdout });
|
|
@@ -124,9 +124,9 @@ export function promptBox({ history = [], placeholder = "Message Aether...", mod
|
|
|
124
124
|
) + imgNote;
|
|
125
125
|
|
|
126
126
|
const termCols = process.stdout.columns || 80;
|
|
127
|
-
const
|
|
128
|
-
process.stdout.write(promptLine + "\n" +
|
|
129
|
-
drawn =
|
|
127
|
+
const rule = c.cyan(" " + "─".repeat(termCols - 2));
|
|
128
|
+
process.stdout.write(rule + "\n" + promptLine + "\n" + rule + "\n" + barPrefix + statusText + "\n");
|
|
129
|
+
drawn = 4;
|
|
130
130
|
};
|
|
131
131
|
|
|
132
132
|
const finish = (result) => {
|
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.3";
|
|
13
13
|
const MODEL_NAME = "Aether Core";
|
|
14
14
|
|
|
15
15
|
const MODEL_ALIASES = {
|
|
@@ -90,13 +90,9 @@ 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
|
|
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);
|
|
93
|
+
const promptLines = 4; // rule + "> " input + rule + status bar
|
|
94
|
+
const filler = Math.max(0, rows - bannerLineCount - extraLines - promptLines - 1);
|
|
98
95
|
for (let i = 0; i < filler; i++) console.log("");
|
|
99
|
-
console.log(c.cyan(" " + "─".repeat(promptRuleW)));
|
|
100
96
|
|
|
101
97
|
const inputHistory = [];
|
|
102
98
|
|
|
@@ -139,13 +135,17 @@ export async function runRepl({ cwd: initialCwd, autoYes: initialAutoYes, unsafe
|
|
|
139
135
|
|
|
140
136
|
const stats = turnStats({
|
|
141
137
|
elapsed,
|
|
142
|
-
tokensIn:
|
|
143
|
-
tokensOut:
|
|
138
|
+
tokensIn: 0,
|
|
139
|
+
tokensOut: 0,
|
|
144
140
|
tools: 0,
|
|
145
141
|
credits: result.totalCredits ?? 0,
|
|
146
142
|
});
|
|
147
143
|
if (stats) console.log(stats);
|
|
148
|
-
|
|
144
|
+
// Chatbox layout — pin prompt to bottom, content scrolls up
|
|
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("");
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
|