Commit b872d4b
committed
feat: emit OSC terminal notifications on agent turn completion
Emit OSC 9 and OSC 777 escape sequences when the agent completes
a turn, enabling desktop notifications in supported terminals
(iTerm2, Windows Terminal, GNOME Terminal, rxvt-unicode, etc.).
Only emits when stdout is a TTY to avoid noise in piped/redirected
output.
Fixes #13421 parent 94212ea commit b872d4b
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
444 | 445 | | |
445 | 446 | | |
446 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
447 | 459 | | |
448 | 460 | | |
449 | 461 | | |
| |||
568 | 580 | | |
569 | 581 | | |
570 | 582 | | |
571 | | - | |
| 583 | + | |
572 | 584 | | |
573 | 585 | | |
574 | 586 | | |
| |||
0 commit comments