mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-23 19:08:22 -06:00
9e4381eb1c
* refactor(channels): canonicalize bundled setup contracts * test(matrix): use scoped environment fixtures
23 lines
900 B
TypeScript
23 lines
900 B
TypeScript
// ClickClack plugin module exposes a setup-only channel surface.
|
|
import type { ChannelPlugin } from "openclaw/plugin-sdk/channel-core";
|
|
import { clickClackConfigAdapter, clickClackMeta } from "./channel-config.js";
|
|
import { clickClackConfigSchema } from "./config-schema.js";
|
|
import { clickClackSetupContract } from "./setup-core.js";
|
|
import { clickClackSetupWizard } from "./setup-surface.js";
|
|
import type { ResolvedClickClackAccount } from "./types.js";
|
|
|
|
export const clickClackSetupPlugin: ChannelPlugin<ResolvedClickClackAccount> = {
|
|
id: "clickclack",
|
|
meta: clickClackMeta,
|
|
capabilities: {
|
|
chatTypes: ["direct", "group"],
|
|
threads: true,
|
|
blockStreaming: true,
|
|
},
|
|
reload: { configPrefixes: ["channels.clickclack"] },
|
|
configSchema: clickClackConfigSchema,
|
|
config: clickClackConfigAdapter,
|
|
setupContract: clickClackSetupContract,
|
|
setupWizard: clickClackSetupWizard,
|
|
};
|