Repository navigation
feat(agent): Deliver completed assistant messages - #969
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
dcramer
force-pushed
the
feat/assistant-message-delivery
branch
from
July 21, 2026 02:47
bf4d4da to
0c138f0
Compare
dcramer
force-pushed
the
feat/assistant-message-delivery
branch
from
July 21, 2026 04:26
0c138f0 to
8bddba1
Compare
Post each completed visible assistant message through an awaited delivery callback, and keep the local provider behavior aligned. Replace the general-purpose sendMessage tool with sendFiles for explicit attachment delivery.
dcramer
force-pushed
the
feat/assistant-message-delivery
branch
from
July 21, 2026 05:05
8bddba1 to
ffa2392
Compare
dcramer
marked this pull request as ready for review
July 21, 2026 15:08
dcramer
force-pushed
the
feat/assistant-message-delivery
branch
from
July 21, 2026 16:03
9c1353d to
7de4a73
Compare
dcramer
force-pushed
the
feat/assistant-message-delivery
branch
from
July 21, 2026 16:20
fef2c3e to
22626cd
Compare
Send every completed visible model message through the provider delivery callback in model order. Keep failure fallback and turn completion separate from ordinary assistant delivery, and use the same contract for Slack, resumed, dispatched, and local turns. Replace terminal-message delivery planning with focused integration and eval coverage for complete, distinct progress and answer messages.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a6021c3. Configure here.
This branch was successfully deployed
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.

Junior now delivers every completed, visible assistant model message to the active destination in model order, before the agent advances to tools or another model turn. Slack mentions, resumed turns, dispatches, and the local CLI all use the same narrow
onAssistantMessage({ text })callback. Thinking, no-reply markers, raw tool payloads, and text-only execution deferrals remain hidden; failed runs append the safe failure response even when an earlier progress message was already visible.The runtime no longer has a separate terminal-message delivery plan, marker, identifier, or success path. Completion still requires a finished answer or explicit no-reply, and accepted messages are persisted individually with ordered turn-scoped IDs. This also makes run identity explicit through
conversationIdandturnIdinstead of a generic routing/correlation bag. Ordinary model messages now share one Slack delivery path and no longer receive the former final-only dashboard footer; authorization notices retain their existing footer.The former general-purpose
sendMessagetool is narrowed to file-onlysendFiles({ files }), since ordinary model text is delivered automatically. Integration coverage owns the exact completed-message boundary and failure behavior, while model evals verify that progress and the finished answer appear as distinct, complete messages without fragments, cumulative drafts, or duplicate replies, and that generated files are uploaded alongside normal assistant text. Skill guidance also stops encouraging defaultallowed-toolslists when the runtime does not require them.