mirror of
https://github.com/bitbaum/openclaw.git
synced 2026-12-04 05:30:11 +01:00
* fix(channels): enforce documented media limits at byte boundaries Resolve canonical account caps at native byte consumers, publish QA attachments durably, and refresh global media policy without resurrecting manually stopped accounts. Preserve existing local survivor warnings, remote batch atomicity, transport ceilings, and contributor schema work. Co-authored-by: Ayaan Gazali <ayaangazali.work@gmail.com> * fix(qa-channel): serialize preview changes with durable delivery * test(qa-channel): reuse the typed deferred helper * fix(auto-reply): retain media captions when block streaming is off Resolve disabled block delivery at message-end so suppressed text callbacks cannot strip the later attachment caption. Preserve enabled break modes and per-turn precedence using the existing boolean owner. * docs(streaming): clarify captions with block delivery disabled * test(media): rebalance bounded core typecheck shards Keep the existing 720-root ceiling and exact-once canonical coverage by moving media tests into the messaging shard. The plugin/platform shard reached 721 roots with the new media contract coverage; the new allocation is 682 and 526 roots. No runtime or test assertions change. --------- Co-authored-by: Peter Steinberger <steipete@gmail.com>
39 lines
1.6 KiB
TypeScript
39 lines
1.6 KiB
TypeScript
// Imessage API module exposes the plugin public contract.
|
|
import type { OpenClawConfig as RuntimeApiOpenClawConfig } from "openclaw/plugin-sdk/config-contracts";
|
|
|
|
export {
|
|
DEFAULT_ACCOUNT_ID,
|
|
getChatChannelMeta,
|
|
type ChannelPlugin,
|
|
} from "openclaw/plugin-sdk/core";
|
|
export { buildChannelConfigSchema, IMessageConfigSchema } from "./config-api.js";
|
|
export { PAIRING_APPROVED_MESSAGE } from "openclaw/plugin-sdk/channel-status";
|
|
export {
|
|
buildComputedAccountStatusSnapshot,
|
|
collectStatusIssuesFromLastError,
|
|
} from "openclaw/plugin-sdk/status-helpers";
|
|
export { formatTrimmedAllowFromEntries } from "openclaw/plugin-sdk/channel-config-helpers";
|
|
export {
|
|
resolveIMessageConfigAllowFrom,
|
|
resolveIMessageConfigDefaultTo,
|
|
} from "./src/config-accessors.js";
|
|
export { looksLikeIMessageTargetId, normalizeIMessageMessagingTarget } from "./src/normalize.js";
|
|
export { resolveChannelMediaMaxBytes } from "openclaw/plugin-sdk/account-helpers";
|
|
export {
|
|
resolveIMessageGroupRequireMention,
|
|
resolveIMessageGroupToolPolicy,
|
|
} from "./src/group-policy.js";
|
|
|
|
export { monitorIMessageProvider } from "./src/monitor.js";
|
|
export type { MonitorIMessageOpts } from "./src/monitor.js";
|
|
export { probeIMessage } from "./src/probe.js";
|
|
export type { IMessageProbe } from "./src/probe.js";
|
|
export { sendMessageIMessage } from "./src/send.js";
|
|
export { imessageMessageActions } from "./src/actions.js";
|
|
export { setIMessageRuntime } from "./src/runtime.js";
|
|
export { chunkTextForOutbound } from "openclaw/plugin-sdk/text-chunking";
|
|
export type IMessageAccountConfig = Omit<
|
|
NonNullable<NonNullable<RuntimeApiOpenClawConfig["channels"]>["imessage"]>,
|
|
"accounts" | "defaultAccount"
|
|
>;
|