Commit Graph
8402 Commits
Author SHA1 Message Date
Muhammed Mukhthar CM 7f4e402c4d telegram-user: sync pnpm lockfile 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM a3184b920a telegram-user: load mtcute deps via ESM 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM 525c148959 telegram-user: avoid mtcute signal exit-hook 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM 164c4d3310 telegram-user: hint filePath/media for sends 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM a414f8e7f5 telegram-user: add config directory listing 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM eeeacadb36 telegram-user: add outbound media/capabilities tests 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM 3cb14cf81a telegram-user: align capabilities and media limits 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM 66a64463ab telegram-user: fix plugin deps 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM 39a4627550 Telegram user: add group tool policy + DM open validation 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM 63929bd70c Telegram user: preserve threads and update docs 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM 39d9eb4589 Telegram-user: ignore sends after client destroy 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM 62873a11b7 Telegram-user: skip typing when client destroyed 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM d65ac6af1d Telegram-user: guard typing send errors 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM 4087f875c5 Telegram-user: ignore typing after shutdown 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM af88af01fe Telegram-user: ignore sends after shutdown 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM fb9d36e433 Telegram-user: add threading tool context 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM 8bc17b39eb Telegram-user: add poll hint for agents 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM e1a2a1b9b6 Telegram-user: expose poll action 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM d84d44643a Telegram-user: normalize group targets 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM 0e3ab476ad Telegram-user: add poll sending 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM d621f96be2 Telegram-user: add voice typing cues 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM fe245ffb29 Telegram-user: add group mention adapter 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM 7ce441260b Telegram-user: skip last-route for groups 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM b04142bfd5 Telegram-user: add group skill filters 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM 0eeabe404a Telegram-user: enrich reply and media context 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM f45dca1205 Telegram-user: add location context 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM 9b94a751c8 Telegram-user: handle media groups 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM d7b7242e9e Telegram-user: add group support 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM bd3a8c3c91 deps: add telegram-user lockfile 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM d2b3a5102e Telegram-user: add ack reactions + fix typing 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM c9fe83b3f7 Telegram-user: add login method picker 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM 26ac86cbb5 Telegram-user: prompt login mode 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM a266cd7be4 Telegram-user: add logout support 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM 1a77217ba6 Telegram-user: prompt login during onboarding 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM 055c4f17a5 Telegram-user: fix onboarding parse error 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM b953e0bff8 Telegram-user: add onboarding + docs 2026-01-30 12:19:19 +00:00
Muhammed Mukhthar CM a4bea14162 Telegram-user: add phone code login 2026-01-30 12:19:18 +00:00
Muhammed Mukhthar CM 52e730e090 Channels: add telegram-user plugin 2026-01-30 12:19:18 +00:00
Ayaan Zaidi da71eaebd2 fix: correct telegram html nesting (#4578) (thanks @ThanhNguyxn) 2026-01-30 16:53:39 +05:30
ThanhNguyxn 8e5a684445 style: format test file 2026-01-30 16:53:39 +05:30
ThanhNguyxn b05d57964b fix(telegram): properly nest overlapping HTML tags (#4071)
Unify style and link closing in render.ts to use LIFO order across
both element types, fixing cases where bold/italic spans containing
autolinks produced invalid HTML like <b><a></b></a>.
2026-01-30 16:53:39 +05:30
Ayaan Zaidi fa9ec6e854 fix: add docker ui install changelog entry (#4584) (thanks @obviyus) 2026-01-30 16:25:24 +05:30
Ayaan Zaidi 1168f59890 perf: skip redundant ui install in Dockerfile 2026-01-30 16:25:24 +05:30
Ayaan Zaidi bc432d8435 fix: accept numeric Telegram react ids (#4533) (thanks @Ayush10) 2026-01-30 15:01:18 +05:30
Ayush OjhaandClaude Opus 4.5 f760aa302c fix(telegram): react action accepts numeric messageId and chatId
The react action used readStringParam for messageId and chatId, which
rejected numeric values with a misleading "messageId required" error.
Switched to readStringOrNumberParam to match the delete/edit actions.

Closes #1459

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 14:56:53 +05:30
Ayaan Zaidi 3a85cb1833 fix: honor Telegram proxy dispatcher (#4456) (thanks @spiceoogway) 2026-01-30 14:38:39 +05:30
spiceoogway 7150268f84 fix(telegram): use undici fetch for proxy to fix dispatcher option
Fixes #4038

The global fetch in Node.js doesn't support undici's dispatcher option,
which is required for ProxyAgent to work. This fix imports fetch from
undici directly to enable proper proxy support for Telegram API calls.

Root cause: makeProxyFetch() was using global fetch with { dispatcher: agent },
but Node.js's global fetch ignores the dispatcher option. Using undici.fetch
ensures the ProxyAgent dispatcher is properly respected.

Tested: Build passes, TypeScript compilation successful.
2026-01-30 14:37:47 +05:30
Peter Steinberger 6af205a13a docs: update lore with final form 2026-01-30 07:26:07 +00:00
Ayaan Zaidi 9025da2296 fix: scope telegram skill commands per bot (#4360) (thanks @robhparker) 2026-01-30 12:00:29 +05:30
robhparkerandClaude Opus 4.5 c6ddc95fc0 fix(telegram): scope skill commands to bound agent per bot
registerTelegramNativeCommands() calls listSkillCommandsForAgents()
without passing agentIds, causing ALL agents' skill commands to be
registered on EVERY Telegram bot. When multiple agents share skill
names (e.g. two agents both have a "butler" skill), the shared `used`
Set in listSkillCommandsForAgents causes de-duplication suffixes
(_2, _3) and all commands appear on every bot regardless of agent
binding.

This fix uses the existing resolveAgentRoute() (already imported) to
find the bound agent for the current Telegram accountId, then passes
that agentId to listSkillCommandsForAgents(). The function already
accepts an optional agentIds parameter — it just wasn't wired from
the Telegram registration path.

Before: All agents' skill commands registered on every Telegram bot,
causing /butler_2, /housekeeper_2 dedup suffixes and potential
BOT_COMMANDS_TOO_MUCH errors when total exceeds 100.

After: Each Telegram bot only registers skill commands for its own
bound agent. No cross-agent dedup, no command limit overflow.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 11:58:23 +05:30