import { createRemoteRuntimeEvents } from './runtime-events-client.js';
function asUiEvents(runtimeEvents) {
    return {
        sessions: runtimeEvents.session,
        turns: runtimeEvents.turn,
        tools: runtimeEvents.tools,
        providers: runtimeEvents.providers,
        agents: runtimeEvents.agents,
        workflows: runtimeEvents.workflows,
        planner: runtimeEvents.planner,
        ops: runtimeEvents.ops,
    };
}
export function createRemoteUiRuntimeEvents(connect) {
    return asUiEvents(createRemoteRuntimeEvents(connect));
}
