openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
4 lines • 778 B
JavaScript
import{t as formatCliCommand}from"./command-format-D7KhNLP0.mjs";import{t as quoteCliArg}from"./quote-cli-arg-BUHoGELl.mjs";import{t as note}from"./note-e4DtVgg2.mjs";import{n as countFailedChannelIngressQueueEntries}from"./ingress-queue-health-2A2AjdY9.mjs";
//!src/commands/doctor-channel-ingress.ts
async function noteChannelIngressDeadLetters(){const e=await countFailedChannelIngressQueueEntries();const t=e[0];if(!t)return;const n=e.map(e=>`- ${e.channelId}/${e.accountId}: ${e.count} dead-lettered ingress event${e.count===1?``:`s`}.`);n.push(`- Inspect with ${formatCliCommand(`openclaw channels dead-letters list --channel ${quoteCliArg(t.channelId)} --account ${quoteCliArg(t.accountId)}`)}.`);note(n.join(`
`),`Channel ingress`)}export{noteChannelIngressDeadLetters};