Runtime + origin registry
A KeysProxy ready to route keys.* envelopes
import { createKeysProxy, originRegistry, createShellBridge } from '@kehto/shell';
const bridge = createShellBridge(hooks);
const keysProxy = createKeysProxy({
runtime: bridge.runtime,
originRegistry,
});
// Host-app-initiated action trigger:
keysProxy.emit('win-editor', { type: 'keys.action', actionId: 'editor.save' });
Factory for the canonical keys-domain proxy.