using System.Text.Json.Serialization; namespace Notify.Cli; /// /// Claude Code 钩子经 stdin 传入的 JSON /// public sealed class HookInput { [JsonPropertyName("session_id")] public string? SessionId { get; set; } [JsonPropertyName("prompt")] public string? Prompt { get; set; } [JsonPropertyName("notification_type")] public string? NotificationType { get; set; } [JsonPropertyName("message")] public string? Message { get; set; } [JsonPropertyName("tool_name")] public string? ToolName { get; set; } }