aether-code 0.16.1 → 0.16.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 +15 -5
package/bin/aether-code.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aether-code",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.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
|
@@ -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.16.
|
|
20
|
+
const VERSION = "0.16.2";
|
|
21
21
|
const MODEL_NAME = "Aether Core";
|
|
22
22
|
|
|
23
23
|
const SHORTCUTS = `
|
|
@@ -84,11 +84,21 @@ export async function runRepl({ cwd: initialCwd, autoYes: initialAutoYes, maxTur
|
|
|
84
84
|
const updateNudge = await updatePromise;
|
|
85
85
|
if (updateNudge) console.log(updateNudge + "\n");
|
|
86
86
|
|
|
87
|
-
// Input: the Ink boxed input (bordered, Claude-style) when
|
|
88
|
-
// with a readline fallback
|
|
89
|
-
//
|
|
87
|
+
// Input: the Ink boxed input (bordered, Claude-style) when the terminal
|
|
88
|
+
// renders it cleanly, with a readline fallback otherwise.
|
|
89
|
+
//
|
|
90
|
+
// The legacy Windows console (cmd.exe / conhost) mishandles Ink's live
|
|
91
|
+
// redraw + raw-mode: typed characters ghost (the console echoes what Ink
|
|
92
|
+
// already drew) and the box border tears on each keystroke. Windows Terminal
|
|
93
|
+
// (sets WT_SESSION) and non-Windows render Ink correctly. So we default to
|
|
94
|
+
// the clean prompt on legacy Windows console; AETHER_INK=1 forces Ink there
|
|
95
|
+
// for anyone who wants to try it, AETHER_NO_INK=1 forces the plain prompt.
|
|
90
96
|
const inputHistory = [];
|
|
91
|
-
const
|
|
97
|
+
const legacyWinConsole = process.platform === "win32" && !process.env.WT_SESSION;
|
|
98
|
+
const useInk =
|
|
99
|
+
!!process.stdin.isTTY &&
|
|
100
|
+
process.env.AETHER_NO_INK !== "1" &&
|
|
101
|
+
(process.env.AETHER_INK === "1" || !legacyWinConsole);
|
|
92
102
|
let inkBroken = false;
|
|
93
103
|
let rl = null;
|
|
94
104
|
|