feat(cli): add bell() utility for terminal attention requests

Write ASCII BEL character to stdout when running in a TTY.
Causes dock bounce on macOS, taskbar flash on Windows,
and urgency hint on Linux.
This commit is contained in:
Alex Alecu
2026-03-18 14:12:58 +02:00
parent 4aaf83da80
commit c626678d9a
+6
View File
@@ -0,0 +1,6 @@
// kilocode_change - new file
export function bell() {
if (process.stdout.isTTY) {
process.stdout.write("\x07")
}
}