Initial agent-news: Dart Telegram bot + Claude Code runner + MCP bridge

/news spawns claude-code as a local subprocess (single pod, no cross-container
exec on K3s); Claude delivers the digest itself via the send_to_telegram MCP tool.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-21 20:40:32 +03:00
commit be09de2ad7
15 changed files with 764 additions and 0 deletions

10
bot/pubspec.yaml Normal file
View File

@@ -0,0 +1,10 @@
name: agent_news_bot
description: Telegram-бот — по /news запускает Claude Code для ресёрча по ИИ
version: 0.1.0
publish_to: none
environment:
sdk: ^3.11.0
dependencies:
http: ^1.2.0