feat(cli): ring bell on task completion in kilo run

Alert the user when headless mode finishes processing.
This commit is contained in:
Alex Alecu
2026-03-18 14:14:24 +02:00
parent 4794d32e98
commit 271144dd70
+2
View File
@@ -28,6 +28,7 @@ import { SkillTool } from "../../tool/skill"
import { BashTool } from "../../tool/bash"
import { TodoWriteTool } from "../../tool/todo"
import { Locale } from "../../util/locale"
import { bell } from "../../kilocode/bell" // kilocode_change
import { importCloudSession, validateCloudFork } from "@/kilocode/cloud-session" // kilocode_change
type ToolProps<T extends Tool.Info> = {
@@ -566,6 +567,7 @@ export const RunCommand = cmd({
event.properties.sessionID === sessionID &&
event.properties.status.type === "idle"
) {
bell() // kilocode_change
break
}