namespace Notify.Models; /// /// 每会话持久化的状态,由 save 钩子写入、notify 钩子与点击激活读取 /// public sealed class StateData { // 触发时的前台窗口句柄 public long Hwnd { get; set; } // 用户当次输入的 prompt,用作"任务完成"通知的正文 public string Prompt { get; set; } = ""; // 若前台是 Windows Terminal,记录当时选中标签的 RuntimeId,用于点击后切回 public string WtRuntimeId { get; set; } = ""; // 调用方 App 的 exe 路径,用于提取并显示其图标 public string CallerExePath { get; set; } = ""; }