4 Commits

  • feat: persistent self-learning memory + curiosity engine
    - New memory.js: JSON-backed MemoryStore with 5 categories (lesson, pattern, preference, discovery, gotcha)
    - Memory injected into system prompt — bot sees past learnings every session
    - Curiosity engine: auto-detects errors/fixes, corrections, successful patterns, new tool discoveries
    - New commands: /memory (stats), /remember (save), /recall (search), /forget (delete)
    - Runs AFTER response delivery — zero latency impact
    - 500 memory cap with smart eviction (keeps gotchas/lessons, evicts old discoveries)
    - data/ directory gitignored (memory is local to each deployment)
  • feat: Complete zCode CLI X with Telegram bot integration
    - Add full Telegram bot functionality with Z.AI API integration
    - Implement 4 tools: Bash, FileEdit, WebSearch, Git
    - Add 3 agents: Code Reviewer, Architect, DevOps Engineer
    - Add 6 skills for common coding tasks
    - Add systemd service file for 24/7 operation
    - Add nginx configuration for HTTPS webhook
    - Add comprehensive documentation
    - Implement WebSocket server for real-time updates
    - Add logging system with Winston
    - Add environment validation
    
    🤖 zCode CLI X - Agentic coder with Z.AI + Telegram integration