Pure helpers for context-aware keyboard routing.
Extracted from input-context-manager.ts so the allow/block filter and the priority-ordering of fallback contexts can be unit tested without setting up a full InputContextManager instance with bindings, listeners, and a keyboard event source.
Pure helpers for context-aware keyboard routing.
Extracted from input-context-manager.ts so the allow/block filter and the priority-ordering of fallback contexts can be unit tested without setting up a full InputContextManager instance with bindings, listeners, and a keyboard event source.