Commit Graph

547 Commits (acd8966ff054511b541ab1020377055b2694de09)

Author SHA1 Message Date
Vincent Koc 3da235bf39 fix(telegram): force paginated commands callbacks 8 months ago
Peter Steinberger 15d5878d91
test: update telegram paginated commands expectations 8 months ago
tarouca bf0f4d93f0
fix: restore Telegram DM voice-note transcription (#61008) (thanks @manueltarouca)
* fix(telegram): enable voice-note transcription in DMs

The preflight transcription condition only triggered for group chats
(isGroup && requireMention), so voice notes sent in direct messages
were never transcribed -- they arrived as raw <media:audio> placeholders.

This regression was introduced when the Telegram channel was moved from
src/telegram/ to extensions/telegram/, losing the fix from c15385fc94.

Widen the condition to fire whenever there is audio and no accompanying
text, regardless of chat type. Group-specific guards (requireMention,
disableAudioPreflight, senderAllowedForAudioPreflight) still apply
only in group contexts.

* fix: restore Telegram DM voice-note transcription (#61008) (thanks @manueltarouca)

---------

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
8 months ago
Neerav Makwana 22175faaec
fix: trim menu descriptions before dropping commands (#61129) (thanks @neeravmakwana)
* fix(telegram): trim menu descriptions before dropping commands

* fix: note Telegram command menu trimming (#61129) (thanks @neeravmakwana)

---------

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
8 months ago
Peter Steinberger 496df07804
fix(extensions): align provider helper surfaces 8 months ago
Gustavo Madeira Santana e627f53d24
core: dedupe approval not-found handling (#60932)
Merged via squash.

Prepared head SHA: 108221fdfe0e84c486df21effc9d81318df85674
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
8 months ago
Peter Steinberger 4dbc66b1ed
fix: remove bundled channel startup reentry 8 months ago
Vincent Koc 9cc300be78 fix(ci): restore main follow-up checks 8 months ago
Peter Steinberger edfaa01d1d
refactor(plugin-sdk): split runtime helper seams 8 months ago
Ayaan Zaidi cfc52fcf2b fix(telegram): trust local bot api media roots 8 months ago
Peter Steinberger 3a3f88a80a
refactor(media): move provider defaults into media metadata 8 months ago
Peter Steinberger fd75d214f2
style(extensions): format channel integration updates 8 months ago
Peter Steinberger b0e1551eb8
refactor(extensions): add channel-owned config schema seams 8 months ago
Peter Steinberger 406f06dcc5 fix: preserve linked install unsafe flag and baseline regressions 8 months ago
Peter Steinberger 7e69c2f6a7
test: trim remaining mock drift 8 months ago
Peter Steinberger a3a06524f2
fix(ci): restore session and setup fallbacks 8 months ago
fumin 43272d27f8 fix(telegram): compare full provider/model in models picker 8 months ago
Peter Steinberger ab318de8b7
test(plugins): finish moving contract coverage 8 months ago
Peter Steinberger e4b5027c5e
refactor(plugins): move extension seams into extensions 8 months ago
Peter Steinberger 4481c41368
fix(ci): repair slack feishu and telegram regressions 8 months ago
Tak Hoffman f7f467b042
fix: honor telegram default debounce account 8 months ago
Peter Steinberger 63443acc2b
fix(ci): repair telegram test harness config 8 months ago
Vincent Koc 88d3b73c6d fix(types): annotate portable exported helper types 8 months ago
Peter Steinberger 8e8f8d0745
test: trim more extension importOriginal usage 8 months ago
Tak Hoffman d2ca915a7f
fix: honor telegram default action account 8 months ago
Peter Steinberger 3fb6e3e91f
test: trim more extension importOriginal usage 8 months ago
Peter Steinberger 6eca4e0136
test: trim extension partial mocks 8 months ago
Peter Steinberger eea069bdc3
fix(ci): repair bundled and extension test drift 8 months ago
Peter Steinberger 53f8c2047a
fix(ci): restore channel approval and lifecycle harnesses 8 months ago
Peter Steinberger 13bc70397a
test: trim test partial mocks 8 months ago
Peter Steinberger 181bd6327f
test(plugins): fix rebase fallout 8 months ago
Peter Steinberger 03a43fe231
refactor(plugins): genericize core channel seams 8 months ago
Peter Steinberger 856592cf00
fix(outbound): restore generic delivery and security seams 8 months ago
Peter Steinberger ab96520bba
refactor(plugins): move channel behavior into plugins 8 months ago
Gustavo Madeira Santana e588a363f9 fix: respect approval request filters in ambiguity checks 8 months ago
Peter Steinberger 3fd27211b1
fix(ci): stabilize channel approval and monitor tests 8 months ago
Gustavo Madeira Santana dc306013e1
Approvals: scope foreign-channel account routing (#60417)
Merged via squash.

Prepared head SHA: 3ad6cae91f6ed527fb968493776141eb44fdfa91
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
8 months ago
Tak Hoffman 638e831bca
fix: honor telegram default account setup policy 8 months ago
Peter Steinberger 379c329f81
test: trim dispatch and command partial mocks 8 months ago
Peter Steinberger 14c863dc4a
test: reduce telegram media harness imports 8 months ago
Tak Hoffman 51f6bc4940
fix: honor selected account in setup status 8 months ago
Peter Steinberger e263b5d7b6
test: split telegram channel coverage 8 months ago
Tak Hoffman fb8048a188
fix: honor telegram action discovery account config 8 months ago
Peter Steinberger c563cdc901 fix(telegram): allow target approvals fallback 8 months ago
Shakker 27a8ef1284 refactor: narrow telegram message context runtime imports 8 months ago
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>
8 months ago
Peter Steinberger bf6bd7432a fix: harden discord ack auth and gate fallout (#60081) (thanks @FunJim) 8 months ago
Tak Hoffman b1026a0b28
fix: honor account-scoped setup dm policy 8 months ago
Vincent Koc 745aa26420 fix(ci): remove duplicate migrated test imports 8 months ago
Peter Steinberger 1dfcdbdf91
fix(testing): repair bundled plugin helper imports 8 months ago