This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/openclaw/dist/helpers-DfgBr1D5.js
T

10 lines
415 B
JavaScript

import { E as DEFAULT_ACCOUNT_ID } from "./agent-scope-jm0ZdXwM.js";
//#region src/channels/plugins/helpers.ts
function resolveChannelDefaultAccountId(params) {
const accountIds = params.accountIds ?? params.plugin.config.listAccountIds(params.cfg);
return params.plugin.config.defaultAccountId?.(params.cfg) ?? accountIds[0] ?? DEFAULT_ACCOUNT_ID;
}
//#endregion
export { resolveChannelDefaultAccountId as t };