Skip to main content

Module wire

Module wire 

Source
Expand description

Canonical InjectionCommand wire, unchanged and shared with the lightweight SDK.

Structs§

InjectionCommand
A single platform-neutral injection command.

Enums§

Kind
The command discriminant, serialized as the lowercase "type" field.

Constants§

KNOWN_KEYS
Semantic key names recognised across platforms (the Swift source’s documented set). Transports map these to native key events; this is the shared reference list, exposed so transports agree on the vocabulary.
WIRE_VERSION
Current wire schema version. Bump on an incompatible wire change.

Functions§

is_known_key
Returns whether name is in the shared KNOWN_KEYS vocabulary.
parse_send_tokens
Parse a semantic omni send token list into an InjectionCommand.