tsunami-code 3.12.3 → 3.12.4
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/index.js +1 -1
- package/lib/ui.js +8 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import { listMemories, readMemory, saveMemory, deleteMemory, getMemdirPath } from './lib/memdir.js';
|
|
28
28
|
import { execSync, spawn } from 'child_process';
|
|
29
29
|
|
|
30
|
-
const VERSION = '3.12.
|
|
30
|
+
const VERSION = '3.12.4';
|
|
31
31
|
const CONFIG_DIR = join(os.homedir(), '.tsunami-code');
|
|
32
32
|
const CONFIG_FILE = join(CONFIG_DIR, 'config.json');
|
|
33
33
|
const DEFAULT_SERVER = 'https://radiometric-reita-amuck.ngrok-free.dev';
|
package/lib/ui.js
CHANGED
|
@@ -154,6 +154,14 @@ export function createUI({ planMode: initPlanMode = false, onLine, onTab, onExit
|
|
|
154
154
|
drawBox();
|
|
155
155
|
goOutputArea();
|
|
156
156
|
process.stdout.write('\n');
|
|
157
|
+
// Echo submitted message with grey background (Claude Code style)
|
|
158
|
+
if (line) {
|
|
159
|
+
const cols = process.stdout.columns || 80;
|
|
160
|
+
const echo = chalk.level > 0
|
|
161
|
+
? chalk.bgGray.white((' ❯ ' + line).padEnd(cols))
|
|
162
|
+
: dim(' ❯ ' + line);
|
|
163
|
+
process.stdout.write(echo + '\n');
|
|
164
|
+
}
|
|
157
165
|
onLine(line);
|
|
158
166
|
}
|
|
159
167
|
return;
|