openclaw/src/auto-reply/reply
Lalit Singh cd1480d637 fix(discord): respect replyToMode in threads
Previously, when replying in Discord threads, the replyToMode setting
was ignored because existingId was checked before replyToMode. This
caused reply references to be added even when replyToMode was set to
'off'.

This fix moves the replyToMode check before the existingId check,
ensuring that replyToMode: 'off' is respected in all contexts including
threads.
2026-01-28 15:42:30 +01:00
..
exec chore(gate): fix lint and protocol 2026-01-18 06:31:02 +00:00
queue refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
abort.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
abort.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agent-runner-execution.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agent-runner-helpers.ts fix(slack): respect verbose setting and preserve thread context for tool notifications 2026-01-21 06:29:36 +00:00
agent-runner-memory.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agent-runner-payloads.ts fix: send text between tool calls to channel immediately 2026-01-15 20:55:52 -08:00
agent-runner-utils.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agent-runner-utils.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agent-runner.authprofileid-fallback.test.ts test(auto-reply): drop auth profile on provider fallback 2026-01-20 23:07:33 -04:00
agent-runner.block-streaming.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
agent-runner.claude-cli.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
agent-runner.heartbeat-typing.runreplyagent-typing-heartbeat.resets-corrupted-gemini-sessions-deletes-transcripts.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agent-runner.heartbeat-typing.runreplyagent-typing-heartbeat.retries-after-compaction-failure-by-resetting-session.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agent-runner.heartbeat-typing.runreplyagent-typing-heartbeat.signals-typing-block-replies.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agent-runner.heartbeat-typing.runreplyagent-typing-heartbeat.signals-typing-normal-runs.test.ts test: align NO_REPLY typing expectations 2026-01-21 17:12:50 +00:00
agent-runner.heartbeat-typing.runreplyagent-typing-heartbeat.still-replies-even-if-session-reset-fails.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agent-runner.memory-flush.runreplyagent-memory-flush.increments-compaction-count-flush-compaction-completes.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agent-runner.memory-flush.runreplyagent-memory-flush.runs-memory-flush-turn-updates-session-metadata.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agent-runner.memory-flush.runreplyagent-memory-flush.skips-memory-flush-cli-providers.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agent-runner.memory-flush.runreplyagent-memory-flush.skips-memory-flush-sandbox-workspace-is-read.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agent-runner.memory-flush.runreplyagent-memory-flush.uses-configured-prompts-memory-flush-runs.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agent-runner.messaging-tools.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
agent-runner.reasoning-tags.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
agent-runner.response-usage-footer.test.ts test(usage): cover modes and full footer 2026-01-18 06:01:25 +00:00
agent-runner.ts fix: guard cli session update 2026-01-24 11:21:34 +00:00
audio-tags.ts refactor: consolidate reply/media helpers 2026-01-10 02:41:16 +01:00
bash-command.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
block-reply-coalescer.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
block-reply-pipeline.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
block-streaming.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
body.ts refactor: harden session store updates 2026-01-15 23:41:34 +00:00
commands-allowlist.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
commands-approve.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
commands-approve.ts feat(discord): add exec approval forwarding to DMs (#1621) 2026-01-24 20:56:40 +00:00
commands-bash.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
commands-compact.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
commands-config.ts fix: enforce plugin config schemas (#1272) (thanks @thewilloftheshadow) 2026-01-20 11:03:17 +00:00
commands-context-report.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
commands-context.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
commands-core.ts feat(discord): add exec approval forwarding to DMs (#1621) 2026-01-24 20:56:40 +00:00
commands-info.test.ts fix: tighten commands output + telegram pagination (#2504) 2026-01-27 02:43:14 -05:00
commands-info.ts fix: tighten commands output + telegram pagination (#2504) 2026-01-27 02:43:14 -05:00
commands-models.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
commands-parsing.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
commands-plugin.ts feat: Add Line plugin (#1630) 2026-01-25 12:22:36 +00:00
commands-policy.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
commands-session.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
commands-status.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
commands-subagents.ts fix: sanitize assistant session text (#1456) (thanks @zerone0x) 2026-01-23 07:05:31 +00:00
commands-tts.ts fix(gateway): gracefully handle AbortError and transient network errors (#2451) 2026-01-26 19:51:53 -06:00
commands-types.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
commands.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
commands.ts refactor(auto-reply): split reply pipeline 2026-01-14 09:11:16 +00:00
config-commands.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
config-value.ts style: fix biome formatting 2026-01-10 02:11:43 +00:00
debug-commands.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
directive-handling.auth.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
directive-handling.fast-lane.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
directive-handling.impl.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
directive-handling.model-picker.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
directive-handling.model.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
directive-handling.model.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
directive-handling.parse.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
directive-handling.persist.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
directive-handling.queue-validation.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
directive-handling.shared.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
directive-handling.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
directives.ts fix(telegram): honor linkPreview on fallback (#1730) 2026-01-25 07:55:39 +00:00
dispatch-from-config.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
dispatch-from-config.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
exec.ts feat: add /exec session overrides 2026-01-18 06:12:54 +00:00
followup-runner.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
followup-runner.ts Add per-sender group tool policies and fix precedence (#1757) 2026-01-26 21:12:33 -08:00
formatting.test.ts test: consolidate auto-reply unit coverage 2026-01-23 18:34:33 +00:00
get-reply-directives-apply.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
get-reply-directives-utils.ts feat: add /exec session overrides 2026-01-18 06:12:54 +00:00
get-reply-directives.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
get-reply-inline-actions.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
get-reply-run.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
get-reply.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
groups.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
history.test.ts test: cover typing and history helpers 2026-01-23 23:34:30 +00:00
history.ts fix: refresh history key order for LRU eviction 2026-01-26 17:22:18 -06:00
inbound-context.ts refactor(security): harden CommandAuthorized plumbing 2026-01-17 10:19:34 +00:00
inbound-dedupe.ts feat: add matrix channel plugin 2026-01-15 08:40:37 +00:00
inbound-sender-meta.ts fix: tidy iMessage/Signal sender envelopes (#1080) - thanks @tyler6204 2026-01-17 08:29:54 +00:00
inbound-text.ts fix: finalize inbound contexts 2026-01-17 05:06:39 +00:00
line-directives.test.ts feat: Add Line plugin (#1630) 2026-01-25 12:22:36 +00:00
line-directives.ts feat: Add Line plugin (#1630) 2026-01-25 12:22:36 +00:00
memory-flush.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
memory-flush.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
mentions.test.ts test: cover explicit mention gating across channels 2026-01-24 11:09:33 +00:00
mentions.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
model-selection.inherit-parent.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
model-selection.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
normalize-reply.test.ts feat: Add Line plugin (#1630) 2026-01-25 12:22:36 +00:00
normalize-reply.ts feat: Add Line plugin (#1630) 2026-01-25 12:22:36 +00:00
provider-dispatcher.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
queue.collect-routing.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
queue.ts fix: hard-abort clears queues on /stop 2026-01-16 21:15:25 +00:00
reply-directives.ts refactor: unify inline directives and media fetch 2026-01-10 03:01:04 +01:00
reply-dispatcher.ts chore: format reply dispatcher 2026-01-15 05:31:03 +00:00
reply-elevated.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
reply-inline.ts feat(slash-commands): usage footer modes 2026-01-18 05:35:35 +00:00
reply-payloads.ts feat: Add Line plugin (#1630) 2026-01-25 12:22:36 +00:00
reply-reference.ts fix(discord): respect replyToMode in threads 2026-01-28 15:42:30 +01:00
reply-routing.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
reply-tags.ts refactor: unify inline directives and media fetch 2026-01-10 03:01:04 +01:00
reply-threading.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
response-prefix-template.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
response-prefix-template.ts feat: add dynamic template variables to messages.responsePrefix (#923) 2026-01-14 23:05:08 -05:00
route-reply.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
route-reply.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
session-reset-model.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
session-resets.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
session-updates.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
session-usage.ts fix: guard cli session update 2026-01-24 11:21:34 +00:00
session.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
session.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
stage-sandbox-media.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
streaming-directives.ts fix: carry reply tags across streamed chunks 2026-01-22 08:01:34 +00:00
subagents-utils.test.ts feat(slash-commands): usage footer modes 2026-01-18 05:35:35 +00:00
subagents-utils.ts feat(slash-commands): usage footer modes 2026-01-18 05:35:35 +00:00
test-ctx.ts style: oxfmt 2026-01-17 10:26:08 +00:00
test-helpers.ts fix(typing): keep tool-start ttl mode-safe (#452, thanks @thesash) 2026-01-08 06:18:35 +00:00
typing-mode.ts feat: implement short ID mapping for BlueBubbles messages and enhance reply context caching 2026-01-21 00:45:01 -08:00
typing.test.ts test: consolidate auto-reply unit coverage 2026-01-23 18:34:33 +00:00
typing.ts feat: enhance BlueBubbles functionality by implementing macOS version checks for message editing and improving server info caching 2026-01-20 12:07:54 +00:00