Use OSC 777 for terminal notifications (#25300)

This commit is contained in:
jackyliuxx
2026-04-17 02:45:54 +08:00
committed by GitHub
parent fafe3e35d2
commit ac9025e9fc
21 changed files with 624 additions and 328 deletions
+11 -3
View File
@@ -92,12 +92,20 @@
"type": "boolean"
},
"enableNotifications": {
"title": "Enable Notifications",
"description": "Enable run-event notifications for action-required prompts and session completion.",
"markdownDescription": "Enable run-event notifications for action-required prompts and session completion.\n\n- Category: `General`\n- Requires restart: `no`\n- Default: `false`",
"title": "Enable Terminal Notifications",
"description": "Enable terminal run-event notifications for action-required prompts and session completion.",
"markdownDescription": "Enable terminal run-event notifications for action-required prompts and session completion.\n\n- Category: `General`\n- Requires restart: `no`\n- Default: `false`",
"default": false,
"type": "boolean"
},
"notificationMethod": {
"title": "Terminal Notification Method",
"description": "How to send terminal notifications.",
"markdownDescription": "How to send terminal notifications.\n\n- Category: `General`\n- Requires restart: `no`\n- Default: `auto`",
"default": "auto",
"type": "string",
"enum": ["auto", "osc9", "osc777", "bell"]
},
"checkpointing": {
"title": "Checkpointing",
"description": "Session checkpointing settings.",