feat(voice): 提升桌面端语音交互与本地任务执行支持

This commit is contained in:
Blizzard
2026-07-24 16:40:25 +08:00
parent e9a8b9b4c6
commit aba88193d8
33 changed files with 1909 additions and 102 deletions
+4 -2
View File
@@ -15,9 +15,11 @@ import (
)
// App 经 Wails v3 的 Service 绑定暴露给前端,承载只有桌面端能做的原生能力:
// 文件读写、系统"另存为"框、用系统默认应用打开、原生通知。
// 文件读写、系统"另存为"框、用系统默认应用打开、原生通知、本地执行 runnerJARVIS 的手)
// v3 中不再需要注入 ctx——对话框经 application.Get().Dialog 获取。
type App struct{}
type App struct {
runner LocalRunner // 本地执行器(localrunner.go):用户显式开启才连接
}
// Ping 供前端探活 Go 桥是否就绪。
func (a *App) Ping() string { return "sundynix-desktop ok" }