mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-07 22:09:57 +00:00
Merge remote-tracking branch 'prhead/feat/slack-text-streaming'
# Conflicts: # docs/channels/slack.md # src/config/types.slack.ts # src/slack/monitor/message-handler/dispatch.ts
This commit is contained in:
@@ -125,6 +125,13 @@ export type SlackAccountConfig = {
|
||||
blockStreaming?: boolean;
|
||||
/** Merge streamed block replies before sending. */
|
||||
blockStreamingCoalesce?: BlockStreamingCoalesceConfig;
|
||||
/**
|
||||
* Enable Slack native text streaming (Agents & AI Apps). Default: true.
|
||||
*
|
||||
* Set to `false` to disable native Slack text streaming and use normal reply
|
||||
* delivery behavior only.
|
||||
*/
|
||||
streaming?: boolean;
|
||||
/** Slack stream preview mode (replace|status_final|append). Default: replace. */
|
||||
streamMode?: SlackStreamMode;
|
||||
mediaMaxMb?: number;
|
||||
|
||||
@@ -546,6 +546,7 @@ export const SlackAccountSchema = z
|
||||
chunkMode: z.enum(["length", "newline"]).optional(),
|
||||
blockStreaming: z.boolean().optional(),
|
||||
blockStreamingCoalesce: BlockStreamingCoalesceSchema.optional(),
|
||||
streaming: z.boolean().optional(),
|
||||
mediaMaxMb: z.number().positive().optional(),
|
||||
reactionNotifications: z.enum(["off", "own", "all", "allowlist"]).optional(),
|
||||
reactionAllowlist: z.array(z.union([z.string(), z.number()])).optional(),
|
||||
|
||||
Reference in New Issue
Block a user