Commit Graph

19 Commits

Author SHA1 Message Date
Misaka_Company
e0a66c7a8c Convert desktop to EchoType Bridge: pipe injection via TIP
- Add EchoType to TextInjectionMode enum (becomes default)
- Add WriteToEchoTypePipe(): write [UINT32 cch][WCHAR text] to
  \.\pipe\EchoType\pid_<PID> via NamedPipeClientStream
- InsertText(): route to EchoType pipe when mode is EchoType
- TrayApplicationContext: add 'EchoType (recommended)' to input mode menu
- Update tray branding: 'EchoType Bridge' in tooltips and balloon tips
- AppLogger: log to %LocalAppData%\EchoType\bridge.log

The bridge keeps WebSocket server + UDP discovery + audio control
unchanged. Text injection now goes through the EchoType TIP's
composition-commit mechanism for atomic insertion, falling back to
clipboard and SendInput as secondary options.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-12 15:06:30 +08:00
Misaka
30da1680f2 Add system mute control via setMute action
Introduce a setMute protocol action and an NAudio-backed
AudioControlService so the Android client can toggle the Windows
render endpoint mute state over WebSocket.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 22:12:13 +08:00
Misaka
ad9a9021cc Send service info on WebSocket connect 2026-05-17 16:42:29 +08:00
Misaka
4f6c1e2060 Document desktop single-file publish 2026-05-17 15:16:31 +08:00
Misaka
cbbadd547d Add WebSocket heartbeat, client cleanup, and connection toast notifications
- Add heartbeat ping every 5 seconds to detect stale connections
- Replace clients when same IP reconnects instead of accumulating
- Remove unavailable clients on connect and heartbeat probe
- Marshal UI updates to UI thread via SynchronizationContext
- Show balloon toast on device connect/disconnect
- Add disposal safety check for UpdateTrayStatus

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-17 12:34:02 +08:00
Misaka
32ef8fb1ac Add application icon resources and set as project icon
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-17 09:08:46 +08:00
Misaka
0611966be9 Add tray status icons 2026-05-16 21:02:30 +08:00
Misaka
4caa21c4d2 Add desktop discovery responder 2026-05-16 20:36:12 +08:00
Misaka
4f6e817a76 Ignore desktop language service caches 2026-05-16 08:13:00 +08:00
Misaka
1b335d720d Add desktop input mode switch 2026-05-15 22:53:00 +08:00
Misaka
046a27ecf9 Paste submitted text via clipboard 2026-05-15 22:50:09 +08:00
Misaka
0c2cbbfccd Temporarily switch to English layout for injection 2026-05-15 22:44:31 +08:00
Misaka
ddd15f1067 Revert clipboard input path 2026-05-15 22:38:17 +08:00
Misaka
6b3e8e02f2 Paste submitted text to preserve punctuation 2026-05-15 22:35:31 +08:00
Misaka
1b4267a6ff Append submitted Android text on desktop 2026-05-15 22:31:55 +08:00
Misaka
a6602206c5 Replace focused text from Android source 2026-05-15 22:09:31 +08:00
Misaka
d4b7a23e38 Add desktop diagnostics and resilient message handling 2026-05-15 21:29:55 +08:00
Misaka
4c314c510b Implement desktop sync protocol handling 2026-05-15 21:19:27 +08:00
Misaka
498251ad79 Initialize Windows desktop skeleton 2026-05-15 20:12:07 +08:00