Skip to content

Merge develop to main#42

Merged
wrxck merged 4 commits intomainfrom
develop
Feb 21, 2026
Merged

Merge develop to main#42
wrxck merged 4 commits intomainfrom
develop

Conversation

@wrxck
Copy link
Owner

@wrxck wrxck commented Feb 21, 2026

Merge develop to main

Matt Hesketh and others added 4 commits February 21, 2026 00:55
chore: move old rockspecs to rockspecs/
Middleware: api.use(fn) for global middleware, api.middleware.on_message.use(fn)
for scoped middleware. Onion model with (ctx, next) signature. Zero overhead
when no middleware registered.

MCP: JSON-RPC 2.0 server over stdio with 23 curated Telegram Bot API tools
(send_message, ban_chat_member, etc.) and telegram://bot/info resource.
Compatible with Claude Code, Cursor, and other MCP clients.

CLI: bin/tgbot with subcommands (send, info, updates, chat, ban, unban, mcp,
run). Reads BOT_TOKEN from env.

Includes 45 new tests and v3.4-0 rockspec.
feat: middleware, MCP server, and CLI tool for v3.4
@wrxck wrxck self-assigned this Feb 21, 2026
@wrxck wrxck merged commit f345bf9 into main Feb 21, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant