- Add core Zoom implementation (src/zoom/) - Add Zoom channel plugin extension (extensions/zoom/) - Add Zoom onboarding adapter for QuickStart wizard - Add comprehensive Zoom documentation - Export Zoom types and adapters in plugin SDK - Add Zoom to channel documentation index - Fix format-staged.js to use node oxfmt directly (ESM compat) - Fix pre-commit hook to use Node 22 via nvm Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
27 lines
764 B
TypeScript
27 lines
764 B
TypeScript
import type { HistoryEntry } from "../auto-reply/reply/history.js";
|
|
import type { MoltbotConfig } from "../config/config.js";
|
|
import type { SessionScope } from "../config/sessions.js";
|
|
import type { DmPolicy } from "../config/types.js";
|
|
import type { RuntimeEnv } from "../runtime.js";
|
|
import type { ResolvedZoomAccount } from "./config.js";
|
|
|
|
export type ZoomMonitorContext = {
|
|
cfg: MoltbotConfig;
|
|
accountId: string;
|
|
account: ResolvedZoomAccount;
|
|
runtime: RuntimeEnv;
|
|
|
|
historyLimit: number;
|
|
channelHistories: Map<string, HistoryEntry[]>;
|
|
sessionScope: SessionScope;
|
|
mainKey: string;
|
|
|
|
dmEnabled: boolean;
|
|
dmPolicy: DmPolicy;
|
|
allowFrom: string[];
|
|
|
|
textLimit: number;
|
|
replyToMode: "off" | "first" | "all";
|
|
removeAckAfterReply: boolean;
|
|
};
|