feat: add send connector preflight probes

This commit is contained in:
zhaoyilun
2026-07-10 13:37:08 +08:00
parent b2ce7b0e36
commit 1f99681348
11 changed files with 1307 additions and 25 deletions

View File

@@ -47,6 +47,12 @@ namespace ISphereWinHelper
case "probe_client_runtime":
response = HelperProtocol.Success(requestId, op, RuntimeProbe.ProbeClientRuntime(opArgs));
break;
case "probe_send_entrypoints":
response = HelperProtocol.Success(requestId, op, SendConnectorPreflight.ProbeSendEntrypoints(opArgs));
break;
case "probe_send_uia_controls":
response = SendConnectorPreflight.ProbeSendUiaControls(requestId, op, opArgs);
break;
default:
response = HelperProtocol.Failure(requestId, op, "UNSUPPORTED_OP", "unsupported op: " + op);
break;
@@ -82,7 +88,7 @@ namespace ISphereWinHelper
return new Dictionary<string, object>
{
{ "helper_name", "ISphereWinHelper" },
{ "helper_version", "0.3.0" },
{ "helper_version", "0.4.0" },
{ "protocol", HelperProtocol.Protocol },
{ "runtime", ".NET Framework " + Environment.Version }
};