mirror of https://github.com/openclaw/openclaw.git
fix(ci): reuse sdk tool auth error for whatsapp
This commit is contained in:
parent
5400980305
commit
52225db134
|
|
@ -14,6 +14,7 @@ export {
|
|||
jsonResult,
|
||||
readReactionParams,
|
||||
readStringParam,
|
||||
ToolAuthorizationError,
|
||||
} from "openclaw/plugin-sdk/channel-actions";
|
||||
export { normalizeE164 } from "openclaw/plugin-sdk/account-resolution";
|
||||
export type { DmPolicy, GroupPolicy } from "openclaw/plugin-sdk/config-runtime";
|
||||
|
|
@ -47,13 +48,6 @@ export type WhatsAppAccountConfig = NonNullable<
|
|||
NonNullable<NonNullable<RuntimeOpenClawConfig["channels"]>["whatsapp"]>["accounts"]
|
||||
>[string];
|
||||
|
||||
export class ToolAuthorizationError extends Error {
|
||||
constructor(message: string) {
|
||||
super(message);
|
||||
this.name = "ToolAuthorizationError";
|
||||
}
|
||||
}
|
||||
|
||||
type MonitorWebChannel = typeof import("./channel.runtime.js").monitorWebChannel;
|
||||
|
||||
let channelRuntimePromise: Promise<typeof import("./channel.runtime.js")> | null = null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue