Commit Graph

552 Commits

Author SHA1 Message Date
Peter Steinberger
5e69d7e75b fix: land discord everyone mention gating 2026-04-04 02:12:10 +09:00
geekhuashan
6ba490ec7b fix(discord): guard @everyone shortcut against bot-authored messages
Preserve the !author.bot || sender.isPluralKit guard when short-circuiting
wasMentioned on mentionedEveryone, so bot relay messages don't spuriously
trigger mention-gate logic. Add test coverage for the wasMentioned path.
2026-04-04 02:12:10 +09:00
geekhuashan
0b69119f1b fix(discord): detect @everyone mentions in message preflight 2026-04-04 02:12:10 +09:00
Peter Steinberger
3c07b126ed fix(ci): restore discord action loader 2026-04-03 18:07:31 +01:00
Peter Steinberger
54cd0859d3 test(ci): align discord ack removal expectation 2026-04-03 17:58:33 +01:00
Peter Steinberger
911e3974f7 refactor: clarify Discord classic fallback 2026-04-04 01:58:06 +09:00
Peter Steinberger
f076e97a3c fix(ci): restore discord ack cleanup 2026-04-03 17:54:44 +01:00
Vincent Koc
ddaef48421 fix(ci): restore discord reaction account context 2026-04-04 01:50:34 +09:00
Tak Hoffman
51f6bc4940 fix: honor selected account in setup status 2026-04-03 11:50:09 -05:00
Peter Steinberger
958cebcc87 fix: preserve Discord component-only media behavior (#60361) (thanks @geekhuashan) 2026-04-04 01:46:32 +09:00
geekhuashan
0e07c8973e fix(discord): forward mediaReadFile and mediaAccess in component classic message path
Forward mediaReadFile and mediaAccess through the sendMessageDiscord shortcut
in sendDiscordComponentMessage, so local-file media works correctly when
falling back to classic Discord messages. Add test coverage.
2026-04-04 01:46:32 +09:00
geekhuashan
efbb9a1296 fix(discord): downgrade text-only component+media to classic message and auto-append file block 2026-04-04 01:46:32 +09:00
Peter Steinberger
1512fab782 test: remove discord channel partial mocks 2026-04-03 17:33:45 +01:00
Peter Steinberger
570ed4285e refactor: extract Discord ack reaction helpers 2026-04-04 01:28:04 +09:00
Peter Steinberger
cf4d3c4daf refactor: share Discord ack reaction runtime context 2026-04-04 01:19:57 +09:00
Tak Hoffman
832810a5bb fix: honor discord action discovery account config 2026-04-03 11:18:26 -05:00
Peter Steinberger
b7f524abaa fix: resolve post-rebase gate follow-ups for #60081 2026-04-04 00:53:45 +09:00
Peter Steinberger
bf6bd7432a fix: harden discord ack auth and gate fallout (#60081) (thanks @FunJim) 2026-04-04 00:53:45 +09:00
FunJim
c1741abc3c test(discord): update ack reaction assertions to expect propagated cfg
The implementation fix propagates the hydrated cfg to reactMessageDiscord
and removeReactionDiscord. Update test assertions to expect the cfg
property in the options argument using expect.objectContaining to handle
the dynamic session store path.
2026-04-04 00:53:45 +09:00
FunJim
b51214ec3e fix(discord): pass hydrated config to ack reactions to fix SecretRef resolution
When extracting `reactMessageDiscord`, it defaulted to reading the raw config (which contains `SecretRef`s) if a hydrated `cfg` was omitted. We now pass the pre-resolved `cfg` context into the reaction options so the plugin SDK resolves the token via memory rather than the raw file.
2026-04-04 00:53:45 +09:00
Vincent Koc
eb3481fca9 refactor(discord): lazy-load actions and audit 2026-04-04 00:40:30 +09:00
Tak Hoffman
3d8a039149 fix: honor legacy setup dm policy accounts 2026-04-03 10:34:18 -05:00
Vincent Koc
d755709ddd refactor(discord): lazy-load cross-context ui 2026-04-04 00:31:29 +09:00
Tak Hoffman
dae0400a8f fix: honor discord account guild policy config 2026-04-03 10:24:42 -05:00
Vincent Koc
f71ef47288 fix(ci): disable automatic clawhub release workflow 2026-04-04 00:20:28 +09:00
Vincent Koc
a592cd67cb fix(ci): bump clawhub plugin versions for release gate 2026-04-04 00:20:27 +09:00
Peter Steinberger
2e779a1b20 refactor(discord): share thread starter snapshot parsing 2026-04-04 00:17:57 +09:00
Tak Hoffman
30c0dc3d47 fix: honor discord account replyToMode 2026-04-03 10:14:42 -05:00
Peter Steinberger
2da3b45ce7 test: reduce discord component partial mocks 2026-04-03 16:13:09 +01:00
Vincent Koc
702a200844 fix(ci): guard optional discord reaction cleanup 2026-04-04 00:09:32 +09:00
Tak Hoffman
30fc29c9b0 fix: honor discord status reactions toggle 2026-04-03 10:05:17 -05:00
Vincent Koc
6366010884 fix(ci): route extension test helpers through public sdk seams 2026-04-04 00:03:48 +09:00
Hiroshi Tanaka
e9a1f7818c fix(discord): extract forwarded message text in thread starter resolution (#60139)
resolveDiscordThreadStarter only checked content and embeds, returning
null for forwarded messages where the text lives in message_snapshots.

Add a local resolveStarterForwardedText helper that extracts text
directly from the message_snapshots array on the REST response object.
This avoids fragile type casts and keeps the change self-contained
within threading.ts.

Fixes #60129
2026-04-04 00:02:42 +09:00
Vincent Koc
3b69b8e3c4 fix(ci): route extension test helpers through sdk testing 2026-04-03 23:39:06 +09:00
Vincent Koc
06ed0eaad5 fix(ci): narrow discord subagent hook types 2026-04-03 23:28:03 +09:00
Vincent Koc
690c58baa2 refactor(discord): lazy-load subagent hooks 2026-04-03 23:22:34 +09:00
Vincent Koc
ac20eed335 fix(ci): route extension tests through sdk seams 2026-04-03 23:15:57 +09:00
Vincent Koc
ed166ba338 test(contracts): extract narrow channel contract helpers 2026-04-03 23:14:45 +09:00
Vincent Koc
efeee6f921 fix(ci): use plugin registry test bridges 2026-04-03 23:03:15 +09:00
Vincent Koc
4b2c7404e5 test(types): remove remaining testing barrel references 2026-04-03 23:03:02 +09:00
Vincent Koc
d2427c19e0 fix(ci): restore extension runtime seams 2026-04-03 22:57:28 +09:00
Vincent Koc
9b83e462cf test(channels): use narrow active registries in sticky tests 2026-04-03 22:57:16 +09:00
Vincent Koc
1ad9fe0b52 test(discord): use direct channel test helper 2026-04-03 22:51:37 +09:00
Vincent Koc
3b358414d3 test(channels): use direct contract helper imports 2026-04-03 22:46:58 +09:00
Onur
fa9e1e3d8e CI: add ClawHub plugin release workflow (#59179)
* CI: add ClawHub plugin release workflow

* CI: harden ClawHub plugin release workflow

* CI: finish ClawHub plugin release hardening

* CI: watch shared ClawHub release inputs

* CI: harden ClawHub publish workflow

* CI: watch more ClawHub release deps

* CI: match shared release inputs by prefix

* CI: pin ClawHub publish source commit

* CI: refresh pinned ClawHub release commit

* CI: rename ClawHub plugin release environment

---------

Co-authored-by: Onur Solmaz <onur@solmaz.io>
2026-04-03 15:40:07 +02:00
Peter Steinberger
85bd5b3ce7 fix(ci): refresh protocol models and align channel tests 2026-04-03 14:13:32 +01:00
Vincent Koc
8735dd7d19 fix(ci): restore channel helper seams 2026-04-03 21:43:32 +09:00
Vincent Koc
01a163c7f3 fix(discord): restore runtime action seam 2026-04-03 21:43:32 +09:00
Vincent Koc
56ead96f48 test(discord): use direct system event helpers 2026-04-03 21:39:30 +09:00
Peter Steinberger
f59d0eac68 refactor(plugin-runtime): remove plugin-specific core seams 2026-04-03 13:08:39 +01:00