openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
28 lines (27 loc) • 989 B
JavaScript
import { n as callGatewayFromCli } from "./gateway-rpc-CxUN2f1a.mjs";
import { t as registerMeetingPluginCli } from "./plugin-cli-CT2YsMbz.mjs";
//#region src/meeting-bot/browser-plugin-cli.ts
function registerBrowserMeetingCli(e) {
const t = e.descriptor.name;
registerMeetingPluginCli({
...e,
callGateway: e.callGateway ?? callGatewayFromCli,
commandName: t,
methodPrefix: t,
descriptions: {
root: e.descriptor.description,
join: e.joinDescription,
leave: `leave a ${e.meetingLabel}`,
status: `show ${e.meetingLabel} session status`,
setup: `check ${e.meetingLabel} prerequisites`,
testSpeech: "join and verify talk-back output",
testListen: "join in transcribe mode and report caption support"
},
resolveGatewayTimeoutMs: ({ config: n, method: r, requestedTimeoutMs: i }) => e.resolveTimeoutMs(n, {
probe: r === `${t}.testSpeech` || r === `${t}.testListen`,
requestedTimeoutMs: i
})
});
}
//#endregion
export { registerBrowserMeetingCli };