feat(slack): add configurable streaming modes for draft previews#18555
Merged
steipete merged 4 commits intoopenclaw:mainfrom Feb 16, 2026
Merged
feat(slack): add configurable streaming modes for draft previews#18555steipete merged 4 commits intoopenclaw:mainfrom
steipete merged 4 commits intoopenclaw:mainfrom
Conversation
|
This seems to break Slack formatting. |
18 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
chat.updatereplace: in-place replacement updatesstatus_final: stable status updates + separate final answerappend: append-only growth (never replaces earlier text)clear, media/no-final cleanup)token: ctx.botTokenon updatesWhy
Different teams prefer different streaming UX patterns. This change allows Slack users to choose the style that fits them while preventing stale draft artifacts and preserving safe fallback behavior.
Changes
src/slack/draft-stream.tssrc/slack/stream-mode.tssrc/slack/monitor/message-handler/dispatch.tssrc/config/types.slack.tssrc/config/zod-schema.providers-core.tssrc/config/schema.help.tssrc/config/schema.labels.tssrc/slack/draft-stream.test.tssrc/slack/stream-mode.test.tsDependency
Depends on Slack Block Kit foundation stack (starting at #18180 through #18500).
If reviewing before dependencies merge, review tip commit:
865918d96.Validation
pnpm vitest run src/slack/stream-mode.test.ts src/slack/draft-stream.test.ts src/slack/monitor/slash.test.ts src/slack/monitor/events/interactions.test.tspnpm tsgopnpm checkNotes