891128fec3
- P1b: 点击通知切回 Windows Terminal 原标签(源生成 COM UIAutomation,AOT 友好) - Toast 设为工具窗口(WS_EX_TOOLWINDOW),从任务栏与 Alt+Tab 隐藏 - 投递改为落盘队列 spool + FileSystemWatcher,CLI 毫秒级返回不阻塞 Claude Code - 移除命名管道(PipeServer/PipeClient/PipeMessage),新增 NotificationSpool/SpoolWatcher - NativeAOT 发布配置 + scripts/build.bat(vcvars 自动配置 MSVC 工具链) - .gitattributes 保证 .bat 用 CRLF
27 lines
722 B
C#
27 lines
722 B
C#
namespace Notify.Ipc;
|
|
|
|
/// <summary>
|
|
/// 一条投递给 Host 的弹窗请求,经 spool 文件传递
|
|
/// </summary>
|
|
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; }
|
|
}
|