namespace Notify.Ipc; /// /// 一条投递给 Host 的弹窗请求,经 spool 文件传递 /// public sealed class NotifyMessage { public string Title { get; set; } = ""; public string Message { get; set; } = ""; // true = 需要输入(青色边框) public bool InputMode { get; set; } // true = 常驻,不自动消失 public bool Sticky { get; set; } // 触发该通知的会话 id public string? SessionId { get; set; } // 点击 toast 时要激活的目标窗口句柄,0 表示无 public long TargetHwnd { get; set; } // 目标若为 Windows Terminal,激活后要切回的标签 RuntimeId public string? WtRuntimeId { get; set; } // 调用方 App 的 exe 路径,用于显示其图标 public string? IconPath { get; set; } }