Repository navigation
feat(slack): post a durable-host message as a named author - #28
Merged
1 commit merged intoOct 19, 2026
Merged
1 commit merged into
1 commit merged into
Conversation
Co-Authored-By: Ishaan Jaffer <155045088+ishaan-berri@users.noreply.github.com>
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
ghost
deleted the
devin/1792436576-slack-post-as-sender
branch
October 19, 2026 19:17
This pull request was closed.
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
Hosts that mirror a user's input from another surface (for example Moyai's web UI) can now post it in Slack under that user's name and avatar, the way Devin does, instead of under a bot header.
message_request(..., username=None, icon_url=None)passes through toMessageRequest::new(..., author: Option<&SlackAuthor>, ...). Both fields go only onchat.postMessage;chat.updateignores them. The username is whitespace-collapsed and must be 1-80 chars.icon_urlmust behttps://with no userinfo and at most 2048 chars. Anicon_urlwithout ausernameis rejected.chat:write.customize(see docs/slack.md).thread_contextpreviously attributed our own bot's history messages by sender id. It now uses the customusernamethey were posted with, so the model sees "Ishaan Jaffer: continue" and not a bot message.Link to Devin session: https://app.devin.ai/sessions/86a7a2fbcc4b422ea615fa8f7c82f1a8
Open in Devin Desktop: https://app.devin.ai/desktop/session/86a7a2fbcc4b422ea615fa8f7c82f1a8?variant=devin
Requested by: @ishaan-berri