picoclaw/pkg/gateway
Andy Lo-A-Foe b12f03be2e
feat(channels): add slack_webhook channel
Add an output-only channel that sends messages to Slack via Incoming
Webhooks using Block Kit formatting.

Features:
- Multiple webhook targets with named routing (requires "default" target)
- Markdown to Slack mrkdwn conversion (bold, italic, strikethrough, links, lists)
- Code block handling with proper fence preservation across chunk splits
- Table rendering with aligned columns in code blocks
- Automatic text chunking at 3000 chars (Slack's text block limit)
- HTTPS-only webhook URL validation

Configuration example:
  channels:
    slack_webhook:
      webhooks:
        default:
          webhook_url: "https://hooks.slack.com/services/..."
          username: "PicoClaw"
          icon_emoji: ":robot_face:"

Co-Authored-By: Claude <noreply@anthropic.com>
2026-05-11 09:54:04 +02:00
..
channel_matrix.go build: add Android arm64 cross-compile support 2026-04-12 17:41:10 +08:00
events.go fix(events): keep runtime observers non-blocking 2026-04-27 13:09:03 +08:00
gateway.go feat(channels): add slack_webhook channel 2026-05-11 09:54:04 +02:00
gateway_test.go fix(events): keep runtime observers non-blocking 2026-04-27 13:09:03 +08:00
listen.go feat(host): complete launcher and gateway multi-host binding support 2026-04-14 14:04:36 +08:00
listen_test.go feat(host): complete launcher and gateway multi-host binding support 2026-04-14 14:04:36 +08:00