aether-code 0.35.0 → 0.35.1
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 +13 -6
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.1";
|
|
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.1",
|
|
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
|
@@ -5,11 +5,11 @@ import path from "node:path";
|
|
|
5
5
|
import { runAgent } from "./agent.js";
|
|
6
6
|
import { fetchBalance, AetherError } from "./api.js";
|
|
7
7
|
import { runSetup } from "./setup.js";
|
|
8
|
-
import { c, errorLine } from "./render.js";
|
|
8
|
+
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.1";
|
|
13
13
|
const MODEL_NAME = "Aether Core";
|
|
14
14
|
|
|
15
15
|
const MODEL_ALIASES = {
|
|
@@ -114,6 +114,7 @@ export async function runRepl({ cwd: initialCwd, autoYes: initialAutoYes, unsafe
|
|
|
114
114
|
continue;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
const t0 = Date.now();
|
|
117
118
|
const result = await runAgent({
|
|
118
119
|
initialPrompt: line,
|
|
119
120
|
priorMessages: state.messages.length > 0 ? state.messages : undefined,
|
|
@@ -124,6 +125,7 @@ export async function runRepl({ cwd: initialCwd, autoYes: initialAutoYes, unsafe
|
|
|
124
125
|
maxTurns: state.maxTurns,
|
|
125
126
|
mcpManager,
|
|
126
127
|
});
|
|
128
|
+
const elapsed = Date.now() - t0;
|
|
127
129
|
|
|
128
130
|
state.sessionCredits += result.totalCredits ?? 0;
|
|
129
131
|
state.sessionIn += result.totalIn ?? 0;
|
|
@@ -135,10 +137,15 @@ export async function runRepl({ cwd: initialCwd, autoYes: initialAutoYes, unsafe
|
|
|
135
137
|
console.log("\n" + errorLine(result.error.message || String(result.error)));
|
|
136
138
|
}
|
|
137
139
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
const stats = turnStats({
|
|
141
|
+
elapsed,
|
|
142
|
+
tokensIn: result.totalIn ?? 0,
|
|
143
|
+
tokensOut: result.totalOut ?? 0,
|
|
144
|
+
tools: 0,
|
|
145
|
+
credits: result.totalCredits ?? 0,
|
|
146
|
+
});
|
|
147
|
+
if (stats) console.log(stats);
|
|
148
|
+
console.log("");
|
|
142
149
|
}
|
|
143
150
|
}
|
|
144
151
|
|