Files
openclaw/extensions/clickclack/src/channel.setup.ts
Peter Steinberger 9e4381eb1c refactor(channels): unify bundled channel setup contracts (#117106)
* refactor(channels): canonicalize bundled setup contracts

* test(matrix): use scoped environment fixtures
2026-07-31 16:57:29 -07:00

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,
};