# -*- coding: utf-8 -*- """临时 toast:本次完成事项""" import base64, subprocess t = "TPV 基类别名解析恢复完成" b = "定位 EdgeCaseTest Test12 回归根因:ClassGenMixin 拆分(47ac2dd)时丢失 _resolve_base_alias,cs 别名基类被当真实父类致 CsPoint 未注册。已恢复别名解析并接入 _get_parent_class/_collect_parents,提交 TPV e770fef,待重建验证" ps = ( "Add-Type -AssemblyName System.Runtime.WindowsRuntime\n" "[Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null\n" "[Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null\n" "$t = '" + t + "'\n" "$b = '" + b + "'\n" "$xml = [Windows.Data.Xml.Dom.XmlDocument]::new()\n" "$xml.LoadXml('' + $t + '' + $b + '')\n" "$toast = [Windows.UI.Notifications.ToastNotification]::new($xml)\n" "[Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier('TraeCode').Show($toast)\n" ) b64 = base64.b64encode(ps.encode('utf-16-le')).decode() r = subprocess.run(['powershell', '-NoProfile', '-EncodedCommand', b64], capture_output=True, text=True) print('rc=', r.returncode)