Skip to content

v3.1.0

Latest

Choose a tag to compare

@wd006 wd006 released this 11 Jan 20:30
b12301c

🌍 v3.1.0: Weather, Translation & Tools

This release expands the bot's capabilities with real-time world knowledge (Weather) and language skills (Translation), along with major improvements to the developer experience.

✨ New Features

  • 🌤️ Advanced Weather Service:

    • Powered by wttr.in (No API Key required).
    • Current: !weather Istanbul returns a detailed text report (Temp, Wind, Humidity, UV).
    • Forecast: !weather Istanbul 3 returns a 3-day forecast chart as an Image.
  • 🗣️ Translation System:

    • Added !translate command using google-translate-api-x.
    • Supports auto-detection: !translate en Hola.
    • Supports explicit direction: !tr es en Hola.
    • Integrated with AI to handle natural language requests (e.g., "How do you say Hello in German?").
  • 🛠️ Developer Experience:

    • Simulator (sim): You can now simulate incoming WhatsApp messages directly from the terminal to test bot logic without a phone connection.
    • Clear (clear): Added a command to clean the REPL terminal.

⚙️ Under the Hood

  • Updated prompts to teach AI about weather days and translation directions.
  • The src/config.js structure has been improved. All service settings are now located under SERVICES.

🔮 Roadmap & Upcoming Features

We are just getting started! Here is what's cooking for the next major updates:

  • 🧠 Conversational Memory: Implementing a history context window so the AI remembers previous messages and maintains a fluid conversation.
  • 💾 Persistent Storage: Integrating a lightweight database (SQLite) to save user preferences, default locations, and custom settings.
  • 🌑 Advanced Astronomy: Expanding the !moon command to support historical moon phases (e.g., !moon 1990-05-12).
  • 🎙️ Voice Interaction: Adding Speech-to-Text capabilities to allow the bot to understand and reply to audio notes.
  • ⚡ Hot Reload: Improving developer experience with auto-restart workflows.

Want to see these features? Hit the Watch button to get notified!


chore(release): 3.1.0

Full Changelog: v3.0.0...v3.1.0