chore: fix code formatting

This commit is contained in:
Buns Enchantress
2026-02-03 05:50:36 -06:00
parent 66ab70190b
commit 6721f5b0b7
963 changed files with 35240 additions and 8588 deletions

View File

@@ -49,7 +49,11 @@ export type PluginRuntime = {
channel: {
text: {
chunkMarkdownText(text: string, limit: number): string[];
resolveTextChunkLimit(cfg: OpenClawConfig, channel: string, accountId?: string): number;
resolveTextChunkLimit(
cfg: OpenClawConfig,
channel: string,
accountId?: string,
): number;
hasControlCommand(text: string, cfg: OpenClawConfig): boolean;
};
reply: {
@@ -76,7 +80,11 @@ export type PluginRuntime = {
}): { sessionKey: string; accountId: string };
};
pairing: {
buildPairingReply(params: { channel: string; idLine: string; code: string }): string;
buildPairingReply(params: {
channel: string;
idLine: string;
code: string;
}): string;
readAllowFromStore(channel: string): Promise<string[]>;
upsertPairingRequest(params: {
channel: string;
@@ -85,7 +93,9 @@ export type PluginRuntime = {
}): Promise<{ code: string; created: boolean }>;
};
media: {
fetchRemoteMedia(params: { url: string }): Promise<{ buffer: Buffer; contentType?: string }>;
fetchRemoteMedia(params: {
url: string;
}): Promise<{ buffer: Buffer; contentType?: string }>;
saveMediaBuffer(
buffer: Uint8Array,
contentType: string | undefined,