loom-agent 1.2.19 → 1.2.20
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/package.json +1 -1
- package/src/core/cli.js +1 -1
- package/src/tui-preload.js +4 -5
package/package.json
CHANGED
package/src/core/cli.js
CHANGED
|
@@ -37,7 +37,7 @@ class LoomCLI {
|
|
|
37
37
|
|
|
38
38
|
async start() {
|
|
39
39
|
console.log(LOOM_BASE);
|
|
40
|
-
console.log(`\n Loom Code v1.
|
|
40
|
+
console.log(`\n Loom Code v1.2.20 — AI Coding Agent for the terminal`);
|
|
41
41
|
console.log(` Press Ctrl+C or ESC to interrupt | /help for commands\n`);
|
|
42
42
|
|
|
43
43
|
process.stdin.on('keypress', (str, key) => {
|
package/src/tui-preload.js
CHANGED
|
@@ -21,11 +21,10 @@ if (process.platform === "win32") {
|
|
|
21
21
|
} catch {}
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
//
|
|
25
|
-
//
|
|
26
|
-
//
|
|
27
|
-
|
|
28
|
-
if (process.platform === "win32" && process.env.LOOM_FORCE_VT === "1") {
|
|
24
|
+
// OpenTUI writes VT escape sequences and expects key events instead of cooked
|
|
25
|
+
// console lines. Configure both handles before the renderer starts so this
|
|
26
|
+
// also works when the CLI is launched through npm's Windows shim.
|
|
27
|
+
if (process.platform === "win32") {
|
|
29
28
|
try {
|
|
30
29
|
const { dlopen } = require("bun:ffi");
|
|
31
30
|
const k32 = dlopen("kernel32.dll", {
|