Skip to main content

Module helper

Module helper 

Source
Expand description

The WSL bridge: the Linux CLI keeps one teams.exe desktop-helper running and talks newline-delimited JSON over its stdin and stdout. The helper exits when stdin closes. The protocol number is the whole contract: a helper is accepted when it speaks this CLI’s protocol, whatever its version or build, which are only reported. Bump it when either side would misread the other (desktop::tests::the_protocol_is_pinned). hello and its version and protocol fields never change. Protocol 2 adds sending; protocol 4 adds recipient search and once-only chat creation. protocol 3 adds explicit account-type selection to reads, sends and send checks.

Structs§

HelperClient
One helper per CLI process, started on first use and restarted once if it dies.

Constants§

PROTOCOL