aether-code 0.19.0 → 0.20.0

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.
@@ -26,7 +26,7 @@ import {
26
26
  import readline from "node:readline";
27
27
  import { c, errorLine, divider, setTerminalTitle } from "../src/render.js";
28
28
 
29
- const VERSION = "0.19.0";
29
+ const VERSION = "0.20.0";
30
30
 
31
31
  /**
32
32
  * Try to start MCP servers from ~/.aether/mcp.json. Returns a started
@@ -214,12 +214,12 @@ async function main() {
214
214
 
215
215
  console.log("\n" + divider());
216
216
  if (result.ok) {
217
- console.log(c.green(c.bold(" Done")) + c.gray(` ${result.turns} turn${result.turns === 1 ? "" : "s"} · ${result.totalCredits} credits · ${result.totalIn}→${result.totalOut} tokens`));
217
+ console.log(c.green(c.bold(" Done")) + c.gray(` ${result.turns} turn${result.turns === 1 ? "" : "s"} · ${result.totalCredits} credits · ${result.totalIn}→${result.totalOut} tokens`));
218
218
  if (typeof result.balance === "number") {
219
219
  console.log(c.gray(` balance: ${result.balance.toLocaleString()} credits`));
220
220
  }
221
221
  } else {
222
- console.log(c.red(c.bold(" Stopped")) + c.gray(` ${result.totalCredits} credits used · ${result.totalIn}→${result.totalOut} tokens`));
222
+ console.log(c.red(c.bold("× Stopped")) + c.gray(` ${result.totalCredits} credits used · ${result.totalIn}→${result.totalOut} tokens`));
223
223
  if (result.error) console.log(errorLine(result.error.message));
224
224
  }
225
225
  console.log(divider());
@@ -242,14 +242,14 @@ async function handleConfig(rest) {
242
242
  process.stderr.write(c.yellow("warning: keys normally start with ak_live_; saving anyway.\n"));
243
243
  }
244
244
  writeConfigFile({ apiKey: key });
245
- console.log(`${c.green("")} API key saved to ${CONFIG_PATH}`);
245
+ console.log(`${c.green("")} API key saved to ${CONFIG_PATH}`);
246
246
  return;
247
247
  }
248
248
  if (sub === "set-base") {
249
249
  const url = rest[1];
250
250
  if (!url) die("config set-base: missing URL argument.");
251
251
  writeConfigFile({ baseUrl: url });
252
- console.log(`${c.green("")} Base URL saved.`);
252
+ console.log(`${c.green("")} Base URL saved.`);
253
253
  return;
254
254
  }
255
255
  if (sub === "path") {
@@ -342,7 +342,7 @@ async function handleMcp(rest) {
342
342
  const cmdArgs = post.slice(1);
343
343
  try {
344
344
  const entry = addServer({ name, command, args: cmdArgs, env });
345
- console.log(`${c.green("")} Added MCP server "${c.cyan(name)}".`);
345
+ console.log(`${c.green("")} Added MCP server "${c.cyan(name)}".`);
346
346
  const argsStr = entry.args && entry.args.length > 0 ? " " + entry.args.join(" ") : "";
347
347
  console.log(c.gray(` ${entry.command}${argsStr}`));
348
348
  console.log(c.gray("Restart the agent (or run `aether`) to attach it."));
@@ -357,7 +357,7 @@ async function handleMcp(rest) {
357
357
  if (!name) die("aether mcp remove: missing <name>");
358
358
  try {
359
359
  removeServer({ name });
360
- console.log(`${c.green("")} Removed MCP server "${c.cyan(name)}".`);
360
+ console.log(`${c.green("")} Removed MCP server "${c.cyan(name)}".`);
361
361
  } catch (e) {
362
362
  die(e.message || String(e));
363
363
  }
@@ -430,7 +430,7 @@ async function handleMcp(rest) {
430
430
  args: resolved.args,
431
431
  env: resolved.env,
432
432
  });
433
- console.log(`${c.green("")} Installed MCP server "${c.cyan(entry.id)}".`);
433
+ console.log(`${c.green("")} Installed MCP server "${c.cyan(entry.id)}".`);
434
434
  console.log(c.gray(` ${added.command}${added.args ? " " + added.args.join(" ") : ""}`));
435
435
  console.log(c.gray("Restart aether (or run `aether`) to attach it."));
436
436
  } catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aether-code",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
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/diff.js CHANGED
@@ -30,11 +30,12 @@ export function unifiedDiff(oldText, newText, filename) {
30
30
  for (const l of changedNew) lines.push(c.green(`+ ${l}`));
31
31
  if (suffix > 0) lines.push(c.gray(` …${suffix} unchanged line${suffix === 1 ? "" : "s"} below…`));
32
32
 
33
- // Cap output so massive writes don't flood the terminal
34
- if (lines.length > 60) {
35
- return [...lines.slice(0, 30), c.gray(` …${lines.length - 60} more lines hidden…`), ...lines.slice(-30)].join(
36
- "\n",
37
- );
33
+ // Cap output so writes don't flood the terminal — a short preview is enough
34
+ // (skip-permissions auto-applies; the full file is on disk to inspect).
35
+ const MAX = 14;
36
+ if (lines.length > MAX) {
37
+ const shown = lines.slice(0, MAX - 1);
38
+ return [...shown, c.gray(` …${lines.length - shown.length} more lines (see the file)…`)].join("\n");
38
39
  }
39
40
  return lines.join("\n");
40
41
  }
package/src/render.js CHANGED
@@ -69,7 +69,7 @@ export function setTerminalTitle(title) {
69
69
  // plan) just get a check — the detail was already printed.
70
70
  export function toolSummary(name, result) {
71
71
  const ok = result.ok;
72
- const mark = ok ? c.green("") : c.red("");
72
+ const mark = ok ? c.green("") : c.red("×");
73
73
  const out = result.output ?? "";
74
74
  const firstLine = out.split("\n").find((l) => l.trim()) ?? "";
75
75
 
@@ -136,7 +136,7 @@ export function makeTokenStripper() {
136
136
  }
137
137
 
138
138
  export function toolResult(text, ok = true) {
139
- const prefix = ok ? c.green(" ") : c.red(" ");
139
+ const prefix = ok ? c.green(" ") : c.red(" × ");
140
140
  // First line bold-ish, then dim continuation
141
141
  const lines = text.split("\n");
142
142
  const head = lines[0].slice(0, 200);
package/src/repl.js CHANGED
@@ -17,7 +17,7 @@ import { c, errorLine } from "./render.js";
17
17
  import { checkForUpdate } from "./update-check.js";
18
18
  import { promptBoxed, EXIT_SIGNAL } from "./ink-input.js";
19
19
 
20
- const VERSION = "0.19.0";
20
+ const VERSION = "0.20.0";
21
21
  const MODEL_NAME = "Aether Core";
22
22
 
23
23
  const SHORTCUTS = `
package/src/setup.js CHANGED
@@ -112,7 +112,7 @@ export async function runSetup() {
112
112
  process.stdout.write(c.gray("Verifying..."));
113
113
  try {
114
114
  const me = await fetchBalance();
115
- console.log(c.green(" "));
115
+ console.log(c.green(" "));
116
116
  console.log("");
117
117
  console.log(c.green(c.bold("Setup complete.")));
118
118
  console.log(
@@ -123,7 +123,7 @@ export async function runSetup() {
123
123
  saved = true;
124
124
  break;
125
125
  } catch (err) {
126
- console.log(c.red(" "));
126
+ console.log(c.red(" ×"));
127
127
  if (err instanceof AetherError && err.status === 401) {
128
128
  console.log(errorLine("Server rejected that key (401). Double-check you copied it correctly."));
129
129
  } else {
package/src/tools.js CHANGED
@@ -787,7 +787,7 @@ function renderTodos(todos) {
787
787
  for (const t of todos) {
788
788
  const icon =
789
789
  t.status === "completed"
790
- ? c.green("")
790
+ ? c.green("")
791
791
  : t.status === "in_progress"
792
792
  ? c.yellow("→")
793
793
  : c.dim("·");