Commit Graph

3626 Commits

Author SHA1 Message Date
Shakker b53dcb9380 test: fix bluebubbles monitor route typing 2026-04-04 01:07:28 +09:00
Shakker da120962b9 test: fix image generation runtime test types 2026-04-04 01:07:28 +09:00
Shakker 383eea86dc test: move image generation runtime coverage to owner 2026-04-04 01:07:28 +09:00
Shakker e1143fb95f test: tighten bluebubbles monitor runtime typing 2026-04-04 01:07:28 +09:00
Shakker 27a8ef1284 refactor: narrow telegram message context runtime imports 2026-04-04 01:07:28 +09:00
Shakker 71b5a7c35b test: slim shared plugin runtime mock 2026-04-04 01:07:28 +09:00
chi 33e6a6724d
fix(telegram): enable HTML formatting for model switch messages (#60042)
* fix(telegram): enable HTML formatting for model switch messages

The model switch confirmation message was displaying raw Markdown
(**text**) instead of bold formatting because parse_mode was not set.

Changes:
- Add optional extra parameter to editMessageWithButtons for parse_mode
- Change format from Markdown ** to HTML <b> tags
- Pass parse_mode: 'HTML' when editing model switch message

Fixes the issue where model names appeared as **provider/model**
instead of bold text in Telegram.

* fix(telegram): escape HTML entities in model switch confirmation

Add defensive `escapeHtml` helper to sanitize `selection.provider`
and `selection.model` before interpolating them into the HTML
callback message. This prevents potential API rejection (HTTP 400)
if future provider or model names contain `<`, `>`, or `&`.

Addresses review feedback on unescaped HTML interpolation.

* test(telegram): cover HTML model switch confirmation

---------

Co-authored-by: Frank Yang <frank.ekn@gmail.com>
2026-04-04 00:05:09 +08:00
Tak Hoffman 7c738ad036
fix: honor whatsapp heartbeat account allowFrom 2026-04-03 11:04:00 -05:00
Vincent Koc 3d799ba004 fix(ci): tighten whatsapp and openai transport types 2026-04-04 01:02:41 +09:00
Tak Hoffman 8805c7b55b
fix: honor imessage setup dm policy accounts 2026-04-03 10:56:55 -05:00
Tak Hoffman d114b4e033
fix: honor signal setup dm policy accounts 2026-04-03 10:54:40 -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
Tak Hoffman 27ced5c1d3
fix: honor line setup dm policy accounts 2026-04-03 10:52:03 -05:00
Vincent Koc f02f3b925d refactor(zalouser): lazy-load async runtime surfaces 2026-04-04 00:51:22 +09:00
Tak Hoffman d1883470e7
fix: honor whatsapp setup dm policy accounts 2026-04-03 10:49:39 -05:00
Vincent Koc 62b736a8c2 refactor(whatsapp): lazy-load login tool 2026-04-04 00:47:33 +09:00
Tak Hoffman 69d018ce4f
fix: honor zalouser setup dm policy accounts 2026-04-03 10:44:46 -05:00
Tak Hoffman 4107a5a4f0
fix: honor zalo setup dm policy accounts 2026-04-03 10:42:23 -05:00
Vincent Koc eb3481fca9 refactor(discord): lazy-load actions and audit 2026-04-04 00:40:30 +09:00
Peter Steinberger 3aac90fc85 fix: restore browser-config sdk compatibility 2026-04-03 16:39:47 +01:00
Shakker 35541377d1 test: split whatsapp setup surface coverage 2026-04-03 16:39:47 +01:00
Shakker e7cb9dec43 refactor: add approval auth runtime subpath 2026-04-03 16:39:47 +01:00
Shakker 6e3203a728 refactor: narrow whatsapp chunking imports 2026-04-03 16:39:47 +01:00
Shakker 4615ddf89b test: trim whatsapp channel test barrels 2026-04-03 16:39:47 +01:00
Shakker 6d6060d3ec perf: split whatsapp targets facade 2026-04-03 16:39:47 +01:00
Shakker 4528f8779e test: localize browser config env helper 2026-04-03 16:39:47 +01:00
Shakker a5b23f17fb perf: split browser config sdk support 2026-04-03 16:39:47 +01:00
Shakker f41a67b118 fix: restore browser and whatsapp boundary contracts 2026-04-03 16:39:47 +01:00
Shakker 2e520d112d refactor: split browser sdk imports for sandbox and audit 2026-04-03 16:39:47 +01:00
Tak Hoffman 625201bddc
fix: honor bluebubbles setup dm policy accounts 2026-04-03 10:39:32 -05:00
Tak Hoffman 6a28756e98
fix: honor nextcloud setup dm policy accounts 2026-04-03 10:37:07 -05:00
Tak Hoffman 3d8a039149
fix: honor legacy setup dm policy accounts 2026-04-03 10:34:18 -05:00
Peter Steinberger 904d9db132
fix(ci): repair whatsapp harness mocking 2026-04-03 16:32:47 +01:00
Vincent Koc d755709ddd refactor(discord): lazy-load cross-context ui 2026-04-04 00:31:29 +09:00
Tak Hoffman b1026a0b28
fix: honor account-scoped setup dm policy 2026-04-03 10:31:00 -05:00
Peter Steinberger c6b8109bd8
fix(ci): use sdk seams in whatsapp test harnesses 2026-04-03 16:29:53 +01:00
Vincent Koc f1f6b98639 test(contracts): isolate slack outbound harness 2026-04-04 00:26:16 +09:00
Vincent Koc 79aa212789 refactor(whatsapp): lazy-load send and action runtimes 2026-04-04 00:25:02 +09:00
Tak Hoffman dae0400a8f
fix: honor discord account guild policy config 2026-04-03 10:24:42 -05:00
Vincent Koc 745aa26420 fix(ci): remove duplicate migrated test imports 2026-04-04 00:24:20 +09: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 1dfcdbdf91
fix(testing): repair bundled plugin helper imports 2026-04-03 16:19:39 +01:00
Tak Hoffman e3fea41b59
fix: honor telegram account topic mention config 2026-04-03 10:19:11 -05:00
Peter Steinberger 2e779a1b20
refactor(discord): share thread starter snapshot parsing 2026-04-04 00:17:57 +09:00
Tak Hoffman a3541a1cce
fix: honor telegram account replyToMode 2026-04-03 10:16:05 -05:00
Tak Hoffman 30c0dc3d47
fix: honor discord account replyToMode 2026-04-03 10:14:42 -05:00