telegram-native-8787

oleh vercel

Alur kerja spesialis saluran Telegram: debug /api/channels/telegram/webhook, port native 8787 /telegram-webhook, webhookSecret, pembersihan boot, dan post-accept…

npx skills add https://github.com/vercel-labs/vercel-openclaw --skill telegram-native-8787

Telegram Native 8787

Use after channel-debug-core for Telegram issues.

Files

  • src/app/api/channels/telegram/webhook/route.ts
  • src/server/channels/telegram/**
  • src/server/workflows/channels/drain-channel-workflow.ts
  • src/server/openclaw/config.ts
  • src/server/admin/why-not-ready.ts
  • src/app/api/channels/summary/route.ts

Runtime Path

Telegram update -> /api/channels/telegram/webhook -> secret header validation -> dedup -> fast path to sandbox port 8787 /telegram-webhook OR workflow -> local/public native handler probe -> OpenClaw Telegram provider -> Telegram user-visible reply

Parallel Lane Inputs To Consume

Before proposing a Telegram fix, consume:

  • Vercel/app logs lane: accepted webhook, planner event, fast-path result, workflow handoff, requestId/deliveryId/update_id, and project targeting proof.
  • Sandbox runtime lane: actual sandboxId, port 8787 listener, local/public /telegram-webhook probe, sanitized config has channels.telegram, webhookSecret presence without value.
  • Workflow lane: drainChannelWorkflow run state and whether 8787 not-listening/ECONNREFUSED triggered reconciliation, with verified project targeting when .vercel/project.json differs from the incident target.
  • Prior-fix comparison: webhookSecret flow, suspicious_empty_200, stale 8787 URL refresh, boot-message cleanup.

Special Checks

  • Port 8787 is not port 3000.
  • Native handler registered evidence is local/public probe behavior, especially local 401 on invalid secret.
  • Fast, empty 200 is suspicious; do not call it accepted.
  • lastRestoreMetrics.telegramListenerReady is evidence, not the whole truth.
  • webhookSecret must flow through config build, restore assets, dynamic resume files, and config hash.
  • Accepted forward does not prove a visible Telegram reply.
  • Boot message send/update/delete behavior is user-visible evidence.

Lebih banyak skill dari vercel

benchmark-sandbox
vercel
Jalankan skenario evaluasi vercel-plugin di Vercel Sandbox, bukan di panel WezTerm lokal. Menyediakan microVM sementara dengan Claude Code + plugin yang sudah terinstal sebelumnya,…
official
emil-design-eng
vercel
Skill ini mengodekan filosofi Emil Kowalski tentang polesan UI, desain komponen, keputusan animasi, dan detail tak terlihat yang membuat perangkat lunak terasa hebat.
official
vercel-react-best-practices
vercel
Panduan optimasi performa React dan Next.js dari Vercel Engineering. Skill ini harus digunakan saat menulis, meninjau, atau merefaktor kode React/Next.js…
official
vercel-react-best-practices
vercel
Panduan optimasi performa React dan Next.js dari Vercel Engineering. Skill ini harus digunakan saat menulis, meninjau, atau merefaktor kode React/Next.js…
official
write-guide
vercel
Hasilkan panduan teknis yang mengajarkan kasus penggunaan dunia nyata melalui contoh-contoh progresif. Konsep diperkenalkan hanya saat pembaca membutuhkannya.
official
release
vercel
Release vercel-plugin — jalankan gates, naikkan versi, hasilkan artefak, commit, dan push. Gunakan saat diminta untuk "release", "ship", "bump and push", atau "cut a release".
official
deepsec
vercel
Jalankan DeepSec terhadap pemeriksaan proyek Vercel dari dev3000. Gunakan untuk pengaturan DeepSec satu klik, bootstrap konteks proyek, pemrosesan awal terbatas, dan…
official
backport-pr
vercel
Melakukan backport pull request Next.js yang sudah digabung dari canary ke cabang rilis sebelumnya seperti next-16-2. Gunakan saat pengguna meminta untuk backport, cherry-pick, atau membuka…
official