Spracherkennung für: .ts vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
import { buildChannelConfigSchema } from "openclaw/plugin-sdk/channel-config-schema";
import { z } from "openclaw/plugin-sdk/zod";
const QaChannelActionConfigSchema = z
.object({
messages: z.boolean().optional(),
reactions: z.boolean().optional(),
search: z.boolean().optional(),
threads: z.boolean().optional(),
})
.strict();
export const QaChannelAccountConfigSchema = z
.object({
name: z.string().optional(),
enabled: z.boolean().optional(),
baseUrl: z.string().url().optional(),
botUserId: z.string().optional(),
botDisplayName: z.string().optional(),
pollTimeoutMs: z.number().int().min(100).max(30_000).optional(),
allowFrom: z.array(z.union([z.string(), z.number()])).optional(),
defaultTo: z.string().optional(),
actions: QaChannelActionConfigSchema.optional(),
})
.strict();
export const QaChannelConfigSchema = QaChannelAccountConfigSchema.extend({
accounts: z.record(z.string(), QaChannelAccountConfigSchema.partial()).optional(),
defaultAccount: z.string().optional(),
}).strict();
export const qaChannelPluginConfigSchema = buildChannelConfigSchema(QaChannelConfigSchema);
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-04-27)
¤
*© Formatika GbR, Deutschland