openclaw-vainplex/src
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
..
acp refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
agents feat: add Kimi K2.5 model to synthetic catalog (#4407) 2026-01-30 07:17:42 +01:00
auto-reply refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
browser refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
canvas-host refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
channels refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
cli Update ASCII art banners for CLI and wizard header 2026-01-29 23:29:47 -05:00
commands feat: add Kimi K2.5 model to synthetic catalog (#4407) 2026-01-30 07:17:42 +01:00
compat refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
config feat: add Kimi K2.5 model to synthetic catalog (#4407) 2026-01-30 07:17:42 +01:00
cron refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
daemon fix: detect legacy gateway launchd labels 2026-01-30 05:01:46 +01:00
discord refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
docs bugfix:The Mintlify navbar (logo + search bar with ⌘K) scrolls away w… (#2445) 2026-01-26 17:39:10 -08:00
gateway refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
hooks refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
imessage refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
infra fix: migrate symlinked legacy state dirs 2026-01-30 04:48:04 +01:00
line refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
link-understanding refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
logging refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
macos refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
markdown refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
media refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
media-understanding refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
memory refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
node-host refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
pairing refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
plugin-sdk refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
plugins fix: update config types 2026-01-30 03:20:28 +01:00
process refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
providers refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
routing refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
scripts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
security refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
sessions refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
shared/text fix: preserve reasoning tags inside code blocks (#4118) (thanks @vinaygit18) 2026-01-29 18:53:05 +00:00
signal refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
slack refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
telegram fix(telegram): use undici fetch for proxy to fix dispatcher option 2026-01-30 14:37:47 +05:30
terminal refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
test-helpers refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
test-utils feat: Add Line plugin (#1630) 2026-01-25 12:22:36 +00:00
tts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
tui refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
types TTS: gate auto audio on inbound voice notes (#1667) 2026-01-25 04:35:20 +00:00
utils refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
web refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
whatsapp refactor: prune legacy group prefixes 2026-01-17 08:47:25 +00:00
wizard refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
channel-web.barrel.test.ts refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
channel-web.ts refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
docker-setup.test.ts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
entry.ts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
git-hooks.test.ts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
globals.test.ts chore: format to 2-space and bump changelog 2025-11-26 00:53:53 +01:00
globals.ts CLI: streamline startup paths and env parsing 2026-01-18 23:10:39 +00:00
index.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
index.ts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
logger.test.ts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
logger.ts refactor(logging): split config + subsystem imports 2026-01-19 00:15:44 +00:00
logging.ts fix: unblock bundled plugin load 2026-01-18 19:34:21 +00:00
polls.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
polls.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
postinstall-patcher.test.ts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
runtime.ts perf: speed up memory batch polling 2026-01-18 03:55:14 +00:00
utils.test.ts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
utils.ts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
version.ts refactor: rename to openclaw 2026-01-30 03:16:21 +01:00