Skip to content

fix(auto-reply): tighten silent token prefix streaming (cherry-pick openclaw#600 2/4)#1065

Merged
alexey-pelykh merged 2 commits into
mainfrom
cherry-pick/e64d72299e
Mar 12, 2026
Merged

fix(auto-reply): tighten silent token prefix streaming (cherry-pick openclaw#600 2/4)#1065
alexey-pelykh merged 2 commits into
mainfrom
cherry-pick/e64d72299e

Conversation

@alexey-pelykh

Copy link
Copy Markdown

Summary

  • Cherry-pick of upstream commit e64d72299e (issue fix(queue): deduplicate followup queue entries openclaw/openclaw#600, commit 2 of 4)
  • Adds isSilentReplyPrefixText checks to agent-runner-execution, streaming-directives, and typing controller
  • Prevents partial silent-token prefixes (e.g. "NO_" mid-stream) from triggering typing indicators or being forwarded

Cherry-pick details

Test plan

  • Existing + new tests for isSilentReplyPrefixText
  • CI green

🤖 Generated with Claude Code

Cherry-picked-from: openclaw/openclaw@e64d72299e

alexey-pelykh and others added 2 commits March 12, 2026 00:53
Add isSilentReplyPrefixText checks alongside isSilentReplyText in
agent-runner-execution, streaming-directives, and typing controller.
This prevents partial silent-token prefixes from triggering typing
indicators or being sent as replies.

Cherry-picked-from: openclaw/openclaw@e64d72299e
Co-Authored-By: Ayaan Zaidi <zaidi@uplause.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The cherry-picked commit imports HEARTBEAT_TOKEN in
agent-runner-execution.ts but the constant was not defined in the
fork's tokens.ts. Add the export to fix the build.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@alexey-pelykh alexey-pelykh merged commit 9f89ca9 into main Mar 12, 2026
7 checks passed
@alexey-pelykh alexey-pelykh deleted the cherry-pick/e64d72299e branch March 12, 2026 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant