mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 03:03:24 -04:00
What: - clean up Feishu port for lint/type safety and error handling - allow buffers in Feishu media uploads and tighten config merging - increase Discord/Telegram unit test timeouts to reduce parallel flake Why: - backport Feishu support from openclaw-cn - keep local test runs stable under parallel load Tests: - pnpm lint - pnpm build - pnpm vitest run --config vitest.unit.config.ts src/telegram/bot.media.downloads-media-file-path-no-file-download.test.ts --maxWorkers 1 - pnpm vitest run --config vitest.unit.config.ts src/discord/monitor.tool-result.accepts-guild-messages-mentionpatterns-match.test.ts --maxWorkers 1 - pnpm test:all (fails in pnpm test:e2e: missing OPENCLAW_GATEWAY_TOKEN / gateway token mismatch; failing e2e tests include server.ios-client-id, gateway.multi, server.agent/chat/health/hooks/roles-allowlist/sessions-send, media-understanding.auto gemini, directive model list/help)
16 lines
436 B
TypeScript
16 lines
436 B
TypeScript
import type { OpenClawPluginApi } from "openclaw/plugin-sdk";
|
|
import { emptyPluginConfigSchema } from "openclaw/plugin-sdk";
|
|
import { feishuPlugin } from "./src/channel.js";
|
|
|
|
const plugin = {
|
|
id: "feishu",
|
|
name: "Feishu",
|
|
description: "Feishu (Lark) channel plugin",
|
|
configSchema: emptyPluginConfigSchema(),
|
|
register(api: OpenClawPluginApi) {
|
|
api.registerChannel({ plugin: feishuPlugin });
|
|
},
|
|
};
|
|
|
|
export default plugin;
|