Commit Graph

6 Commits

Author SHA1 Message Date
Kyle Fang
b09a2042e2 feat: ensure bot-data directory exists before starting server
- Check for the existence of the 'bot-data' directory and create it if it doesn't exist when the server starts.
- This ensures that the server can store session data without encountering errors.
v1.0.2
2025-06-29 21:22:35 +08:00
Kyle Fang
9354e397be feat: improve wait_for_reply to check multiple key formats
- Check for chat ID, username, and @username when matching incoming messages
- Use array of possible keys for cleaner implementation
- Delete all possible key variations after resolving
- Remove unused variables

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-29 21:19:24 +08:00
Kyle Fang
7a28f17092 chore: bump version to 1.0.1 v1.0.1 2025-06-29 14:52:08 +08:00
Kyle Fang
926bbc2e8e feat: add wait_for_reply tool and improve telegram-mcp
- Add wait_for_reply tool to wait for incoming messages in specific chats
- Implement proper mtcute Dispatcher pattern for message handling
- Add @mtcute/dispatcher dependency
- Update server to show storage path clearly during setup
- Improve README with detailed setup instructions
- Add support for TELEGRAM_STORAGE_PATH environment variable
- Decouple wait functionality from message sending for better flexibility

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-29 14:50:29 +08:00
Kyle Fang
7e1877f41c feat: init commit v1.0.0 2025-06-29 11:59:58 +08:00
Kyle Fang
966f4d1e03 Initial commit 2025-06-29 10:02:42 +08:00