Peter Steinberger
b3b5945bdc
test: reset telegram dispatch mocks between cases
2026-04-06 05:49:04 +01:00
Peter Steinberger
b62badd8a3
fix: restore main ci type checks
2026-04-06 05:38:25 +01:00
Vincent Koc
4954d025e2
fix(telegram): gate reasoning previews to stream sessions ( #61266 )
2026-04-05 10:22:26 +01:00
Peter Steinberger
03a43fe231
refactor(plugins): genericize core channel seams
2026-04-03 19:09:21 +01:00
Peter Steinberger
ab96520bba
refactor(plugins): move channel behavior into plugins
2026-04-03 19:09:20 +01:00
Peter Steinberger
d2dae50a75
test: trim telegram bot import graph
2026-04-03 13:10:43 +01:00
Vincent Koc
334085fbe9
test(channels): inject telegram reply pipeline for dispatch tests
2026-03-31 20:54:30 +09:00
Vincent Koc
8dfbcaa200
fix(ci): default local low-memory checks
2026-03-31 15:05:04 +09:00
Saurabh Mishra
90e82fabb3
fix: display model name instead of ID in Telegram model selector ( #56165 ) ( #56175 )
...
* fix: display model name instead of ID in Telegram model selector (#56165 )
* fix(telegram): scope model display names by provider
Signed-off-by: sallyom <somalley@redhat.com >
---------
Signed-off-by: sallyom <somalley@redhat.com >
Co-authored-by: sallyom <somalley@redhat.com >
2026-03-28 09:23:09 -04:00
Peter Steinberger
a18e156316
test: speed up telegram and whatsapp suites
2026-03-24 21:48:07 +00:00
Peter Steinberger
83bb647238
test: speed up telegram extension suites
2026-03-24 15:16:18 +00:00
Peter Steinberger
6bcd9a801a
test: inject thread-safe gateway and ACP seams
2026-03-23 04:34:42 -07:00
Peter Steinberger
fc9739313c
test: harden channel suite isolation
2026-03-23 11:09:12 +00:00
Taras Lukavyi
466debb75c
feat(telegram): auto-rename DM topics on first message ( #51502 )
...
* feat(telegram): auto-rename DM topics on first message
fix(telegram): use bot.api for topic rename to avoid SecretRef resolution
* fix(telegram): address security + test review feedback
- Fix test assertion: DEFAULT_PROMPT_SUBSTRING matches 'very short'
- Use RawBody instead of Body (no envelope metadata to LLM)
- Truncate user message to 500 chars for LLM prompt
- Remove user-derived content from verbose logs
- Remove redundant threadSpec.id null check
- Fix AutoTopicLabelParams type to match generateTopicLabel
* fix(telegram): use effective dm auto-topic config
* fix(telegram): detect direct auto-topic overrides
* fix: auto-rename Telegram DM topics on first message (#51502 ) (thanks @Lukavyi)
---------
Co-authored-by: Ayaan Zaidi <hi@obviy.us >
2026-03-21 16:53:30 +05:30
Saurabh Mishra
4266e260e1
fix: emit message:sent hook on Telegram streaming preview finalization ( #50917 )
...
* fix: emit message:sent hook on Telegram streaming preview finalization
* fix: include messageId in preview-delivered hook callback
* fix: skip message:sent hook for preview-retained paths
* fix: correct JSDoc for onPreviewDelivered callback
* fix: pass visible preview text on regressive-skip path
* fix: remove dead fallbacks and add stopCreatesFirstPreview test
* Update extensions/telegram/src/lane-delivery-text-deliverer.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* fix: align telegram preview sent hooks (#50917 ) (thanks @bugkill3r)
---------
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Ayaan Zaidi <hi@obviy.us >
2026-03-20 22:42:04 +05:30
Josh Avant
68bc6effc0
Telegram: stabilize pairing/session/forum routing and reply formatting tests ( #50155 )
...
* Telegram: stabilize Area 2 DM and model callbacks
* Telegram: fix dispatch test deps wiring
* Telegram: stabilize area2 test harness and gate flaky sticker e2e
* Telegram: address review feedback on config reload and tests
* Telegram tests: use plugin-sdk reply dispatcher import
* Telegram tests: add routing reload regression and track sticker skips
* Telegram: add polling-session backoff regression test
* Telegram tests: mock loadWebMedia through plugin-sdk path
* Telegram: refresh native and callback routing config
* Telegram tests: fix compact callback config typing
2026-03-19 00:01:14 -05:00
Peter Steinberger
83c5bc946d
fix: restore full gate stability
2026-03-19 03:36:03 +00:00
Ayaan Zaidi
f2655e1e92
test(telegram): fix incomplete sticker-cache mocks in tests
2026-03-18 15:37:24 +05:30
ImJarvis by LukeF
8b438a308b
fix(telegram): keep silent error fallback replies quiet
2026-03-16 22:44:10 +11:00
Myeongwon Choi
6a8f5bc12f
feat(telegram): add configurable silent error replies ( #19776 )
...
Port and complete #19776 on top of the current Telegram extension layout.
Adds a default-off `channels.telegram.silentErrorReplies` setting. When enabled, Telegram bot replies marked as errors are delivered silently across the regular bot reply flow, native/slash command replies, and fallback sends.
Thanks @auspic7
Co-authored-by: Myeongwon Choi <36367286+auspic7@users.noreply.github.com >
Co-authored-by: ImLukeF <92253590+ImLukeF@users.noreply.github.com >
2026-03-16 22:18:34 +11:00
scoootscooob
e5bca0832f
refactor: move Telegram channel implementation to extensions/ ( #45635 )
...
* refactor: move Telegram channel implementation to extensions/telegram/src/
Move all Telegram channel code (123 files + 10 bot/ files + 8 channel plugin
files) from src/telegram/ and src/channels/plugins/*/telegram.ts to
extensions/telegram/src/. Leave thin re-export shims at original locations so
cross-cutting src/ imports continue to resolve.
- Fix all relative import paths in moved files (../X/ -> ../../../src/X/)
- Fix vi.mock paths in 60 test files
- Fix inline typeof import() expressions
- Update tsconfig.plugin-sdk.dts.json rootDir to "." for cross-directory DTS
- Update write-plugin-sdk-entry-dts.ts for new rootDir structure
- Move channel plugin files with correct path remapping
* fix: support keyed telegram send deps
* fix: sync telegram extension copies with latest main
* fix: correct import paths and remove misplaced files in telegram extension
* fix: sync outbound-adapter with main (add sendTelegramPayloadMessages) and fix delivery.test import path
2026-03-14 02:50:17 -07:00