Commit Graph

7 Commits (4ed60d950dfc4f2004a6ed7cd1568962ddee156f)

Author SHA1 Message Date
Peter Steinberger e4b5027c5e
refactor(plugins): move extension seams into extensions 8 months ago
Peter Steinberger 856592cf00
fix(outbound): restore generic delivery and security seams 8 months ago
Peter Steinberger 8861cdbb6f
refactor(plugin-sdk): untangle extension test seams 8 months ago
Vincent Koc 2131981230 refactor(plugins): move remaining channel and provider ownership out of src 8 months ago
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>
8 months ago
Peter Steinberger 62ddc9d9e0 refactor: consolidate plugin sdk surface 8 months ago
Peter Steinberger 9ebe38b6e3
refactor: untangle remaining plugin sdk boundaries 8 months ago