Commit Graph

1135 Commits

Author SHA1 Message Date
Vincent Koc
41df8191c5 fix(discord): bind draft boundary callbacks 2026-05-03 15:14:51 -07:00
Peter Steinberger
dd32254607 fix(discord): keep progress drafts through interim blocks 2026-05-03 22:58:47 +01:00
Vincent Koc
8beda86416 fix(channels): expose progress draft config hints 2026-05-03 14:21:57 -07:00
Peter Steinberger
be324914cb fix(discord): seed progress drafts at dispatch start 2026-05-03 22:19:25 +01:00
Peter Steinberger
c33e578554 feat: add channel progress drafts
Adds unified progress-draft streaming for chat channels, with docs and per-channel regressions.
2026-05-03 22:01:08 +01:00
Peter Steinberger
52257fd05e docs: clarify Discord bot mentions 2026-05-03 20:11:55 +01:00
Vincent Koc
fa98d01aa1 fix(discord): skip disabled native command cleanup 2026-05-03 11:03:02 -07:00
Peter Steinberger
1c7cbf55b9 test(discord): type tracked target resolver mock 2026-05-03 17:44:13 +01:00
Peter Steinberger
5039a35a33 fix(discord): preserve tracked reaction targets 2026-05-03 17:44:13 +01:00
Peter Steinberger
788cff1df4 Add opt-in reaction tool tracking 2026-05-03 17:44:13 +01:00
Peter Steinberger
0636442cde fix(discord): send early typing cue for accepted DMs
Co-authored-by: chinar-amrutkar <chinar.amrutkar@gmail.com>
2026-05-03 17:10:07 +01:00
Peter Steinberger
77a50db9ea feat(qa): add Mantis Discord status reaction scenario (#76747)
* feat(qa): add Mantis Discord status reaction scenario

* fix(qa): retry Discord rate limits in Mantis runs

* refactor(qa): reuse Discord API retry helper

* fix(qa): import Discord API through package surface

* fix(ci): generate Discord boundary declarations

* fix(ci): keep xai boundary overrides stable
2026-05-03 17:00:06 +01:00
Shuxin Zheng
b8bc8423d2 fix(discord): normalize CJK/whitespace in slash-command description comparison to prevent spurious reconcile PATCH + 429 (#76588)
* fix(discord): normalize whitespace in command description comparison

Discord server-side storage collapses consecutive whitespace and removes
whitespace between adjacent CJK characters when persisting slash-command
descriptions. Our locally-serialized desired descriptors keep the original
whitespace, so commandsEqual returned false on every startup for any
deployment with multi-line or CJK-heavy descriptions.

This caused reconcile to issue a PATCH for every such command on every
gateway restart. Under Discord's per-application rate limit that quickly
produced a burst of 429s and some commands silently failed to register
until the next restart — a recurring symptom behind several Discord deploy
429 reports (#75341, #75888).

Fix: apply the same two normalizations to description strings in
comparableCommand — collapse runs of whitespace to a single space, then
drop whitespace between CJK boundary characters — before JSON-based
equality. This mirrors Discord's storage semantics so round-tripped
descriptions compare equal.

Adds command-deploy.test.ts with regression coverage for:
- server-side default fields ignored (dm_permission, nsfw, version, ids)
- required:false treated as absent (existing behavior)
- CJK descriptions with \n separators normalized
- mixed CJK/ASCII descriptions with consecutive whitespace
- substantive description diffs still flagged
- ASCII whitespace normalization

* fix(discord): normalize localized command descriptions

* fix(discord): ignore null localization maps in command reconcile

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-05-03 16:22:41 +01:00
Peter Steinberger
0949f4fe51 fix(discord): honor explicit tool-only status reactions (#76733) 2026-05-03 15:44:42 +01:00
Josh Avant
b1f8172867 fix(secretrefs): resolve external channel contracts (#76449) 2026-05-02 23:48:11 -05:00
Josh Avant
ba31afb099 fix(discord): surface stalled transport health (#76327)
* fix(discord): surface stalled transport health

* fix(discord): surface stalled transport health

* fix(discord): surface stalled transport health

---------

Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
2026-05-02 22:33:19 -05:00
Peter Steinberger
31161abd40 chore(release): bump version to 2026.5.3 2026-05-03 03:08:47 +01:00
Jason
53bd718a1a fix(cli): avoid model warmup for message actions (#76312)
Summary:
- The PR skips eager context-window warmup for `openclaw message`, forwards Discord/Telegram execution-mode de ... reuses caller-owned manifest metadata during config materialization, and adds tests plus a changelog entry.
- Reproducibility: yes. Source inspection on current main shows `openclaw message` is still eligible for eager context-window warmup and the Discord/Telegram wrappers still drop the gateway execution-mode declarations.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix: type message action routing fallbacks
- PR branch already contained follow-up commit before automerge: docs: credit message latency fix contributor

Validation:
- ClawSweeper review passed for head 9606bb27d5.
- Required merge gates passed before the squash merge.

Prepared head SHA: 9606bb27d5
Review: https://github.com/openclaw/openclaw/pull/76312#issuecomment-4364958708

Co-authored-by: FullerStackDev <263060202+fuller-stack-dev@users.noreply.github.com>
2026-05-03 01:26:00 +00:00
Peter Steinberger
e857c795a8 fix(plugins): allow Discord install repair 2026-05-02 23:48:54 +01:00
Vincent Koc
343e4723d8 fix(discord): persist slash command deploy hash 2026-05-02 14:35:57 -07:00
Peter Steinberger
5551d9fad4 fix: discover source-only plugins in checkouts 2026-05-02 17:33:15 +01:00
Peter Steinberger
7ed58a3efb fix: preserve discord setup channel allowlists (#47788) (thanks @Eldersonar) 2026-05-02 13:01:30 +01:00
Peter Steinberger
3980eaa1c2 fix(discord): harden Carbon parity (#75363)
Summary:
- The PR updates the Discord plugin with REST priority lanes and stale background drops, gateway send/member v ... normalization, explicit component forwarding, one-off component wait helpers, tests, and a changelog entry.
- Reproducibility: yes. The prior scheduler failure has a high-confidence source-level reproduction using one  ... ne pending same-bucket request under fake timers, and the latest head adds a regression test for that path.

ClawSweeper fixups:
- Included follow-up commit: fix(discord): preserve option localizations
- Included follow-up commit: fix(discord): harden component sends
- Included follow-up commit: docs(changelog): note Discord Carbon parity hardening
- Included follow-up commit: fix(discord): harden Carbon parity
- Ran the ClawSweeper repair loop before final review.

Validation:
- ClawSweeper review passed for head 4fa634ef1a.
- Required merge gates passed before the squash merge.

Prepared head SHA: 4fa634ef1a
Review: https://github.com/openclaw/openclaw/pull/75363#issuecomment-4357438917

Co-authored-by: Peter Steinberger <steipete@gmail.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
2026-05-02 11:57:07 +00:00
Peter Steinberger
cd84e9bfb0 fix: preserve discord announce account routing 2026-05-02 12:50:26 +01:00
Peter Steinberger
03df3539e9 fix: suppress discord reconnect exhaustion during shutdown 2026-05-02 12:43:24 +01:00
Peter Steinberger
460a5c131f fix: warn on empty discord native command replies 2026-05-02 12:14:37 +01:00
Peter Steinberger
80da0a0213 chore: bump version to 2026.5.2 2026-05-02 11:58:45 +01:00
Peter Steinberger
ad264a9f5a fix(release): keep core runtime plugins installed 2026-05-02 11:48:34 +01:00
Peter Steinberger
8f94bd9984 fix: preserve discord multipart content type 2026-05-02 11:35:36 +01:00
Peter Steinberger
8631cadf5b fix: normalize discord thread channel metadata 2026-05-02 11:32:18 +01:00
Peter Steinberger
e0a267afc6 fix: avoid repeated discord thread starter context 2026-05-02 11:00:57 +01:00
Peter Steinberger
70dcd81f03 fix: canonicalize discord pluralkit inbound ids 2026-05-02 10:36:20 +01:00
Val Alexander
64fcc8a1aa fix(control-ui): measure and decouple slow refreshes
Add Control UI timing attribution for tab visibility, refresh phases, secondary refresh groups, and gateway RPCs. Decouple slow Overview, Cron, and Nodes secondary refreshes from primary tab feedback, and report Cron runs timing from the controller's real ok/error/skipped load outcome.

Also keeps telemetry secret-safe by excluding request params and response bodies, adds focused regression coverage for RPC attribution and stale/failed background refreshes, and carries the latest-main Discord test fixture correction needed for check:test-types.

Fixes #64004.
2026-05-02 04:33:36 -05:00
Peter Steinberger
d419bcf5c9 fix: preserve discord unicode channel labels 2026-05-02 10:09:48 +01:00
clawsweeper[bot]
26e6860a64 fix(discord): document mention formatting guidance (#75173)
Summary:
- This PR adds Discord outbound mention-format guidance to the Discord plugin prompt hints, Discord channel docs, a focused channel test, and the changelog.
- Reproducibility: not applicable. as a runtime bug reproduction. There is a high-confidence inspection path:  ... lacks the guidance, while the existing formatter/tests and Discord reference establish the expected syntax.

ClawSweeper fixups:
- Included follow-up commit: fix(discord): document mention formatting guidance

Validation:
- ClawSweeper review passed for head bf2734a002.
- Required merge gates passed before the squash merge.

Prepared head SHA: bf2734a002
Review: https://github.com/openclaw/openclaw/pull/75173#issuecomment-4354537199

Co-authored-by: Peter Steinberger <steipete@gmail.com>
Co-authored-by: clawsweeper-repair <clawsweeper-repair@users.noreply.github.com>
Co-authored-by: Peter Steinberger <58493+steipete@users.noreply.github.com>
2026-05-02 09:00:58 +00:00
Peter Steinberger
127da4c3ca fix: preserve discord inbound media filenames 2026-05-02 09:54:09 +01:00
Peter Steinberger
ae31aa6f84 fix: allow discord ack reactions in tool-only guilds 2026-05-02 09:49:00 +01:00
Peter Steinberger
b8ddb8a494 refactor: hide extension helper internals 2026-05-02 09:05:23 +01:00
Peter Steinberger
93e2d90af1 fix(discord): reconnect after missed identify 2026-05-02 08:24:16 +01:00
Peter Steinberger
fc4da581b3 fix(discord): advertise upload-file message action 2026-05-02 07:21:10 +01:00
Peter Steinberger
b21e312b1a fix: harden thread-bound subagent spawning (#75943) 2026-05-02 06:58:07 +01:00
Peter Steinberger
8612af754b feat: simplify thread-bound session spawning 2026-05-02 06:58:07 +01:00
Peter Steinberger
4d801fadab refactor: trim discord access-group wrappers 2026-05-02 05:41:20 +01:00
Peter Steinberger
43121fb096 fix: guard provider-prefixed delivery targets 2026-05-02 05:30:41 +01:00
Peter Steinberger
bca4e440bb fix(discord): suppress bound thread webhook copies 2026-05-02 05:29:55 +01:00
Peter Steinberger
2808840fb5 fix(discord): preserve partially created threads 2026-05-02 05:22:24 +01:00
Peter Steinberger
9f4921c1cd build: prepare next external plugin beta batch 2026-05-02 05:16:10 +01:00
Peter Steinberger
c76ee644c2 fix(discord): consume component panels once 2026-05-02 05:09:38 +01:00
Peter Steinberger
16d8dcbcfc fix(discord): skip disabled reaction listeners 2026-05-02 04:56:13 +01:00
Peter Steinberger
ac58dc2e92 fix(doctor): warn on missing channel env tokens 2026-05-02 04:29:27 +01:00