Agent在实时响应中因为错误而中断时发送系统通知

This commit is contained in:
xintaofei
2026-03-31 15:43:00 +08:00
parent a9f6ce9105
commit 25a2bd0922
12 changed files with 41 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
import { getTransport } from "./transport"
import { isDesktop } from "./transport"
export async function notifyTurnComplete(
export async function sendSystemNotification(
title: string,
body: string
): Promise<void> {