Skip to content

Releases: TechNickAI/machina

v1.6.1

12 Jan 04:07

Choose a tag to compare

Documentation Update

Changes

  • Runtime: Updated all docs from Bun to Node.js/tsx (aligns with code change in v1.6.0)
  • WhatsApp: Status updated from "Planned" to "Ready" - fully integrated with Baileys library
  • Architecture: Simplified diagrams to reflect current implementation (built-in AppleScript, no external components)
  • MCP Config: Added transport wrapper with type: "streamable-http" for proper MCP SDK compatibility
  • Tailscale Serve: Standardized on HTTPS via Tailscale serve (port 443, no explicit port in URLs)
  • Auto-detection: /machina command now detects and configures Tailscale serve automatically

Files Updated

  • README.md
  • .claude/commands/machina.md
  • knowledge/setup/* (prerequisites, core-install, tailscale, launchd, verification)
  • knowledge/product/* (architecture, vision)
  • knowledge/maintenance/troubleshooting.md

v1.6.0 - Node.js/tsx for database support

12 Jan 01:36

Choose a tag to compare

What's Changed

Breaking Change: Gateway now requires Node.js 22+ with tsx instead of Bun.

Why?

Bun doesn't support native Node.js addons like better-sqlite3. This was blocking 10 out of 24 operations (42% of functionality):

  • All Messages database operations (read history, search, conversations)
  • All WhatsApp database operations (chats, messages, search, contacts)

Migration

If you have an existing installation:

  1. Install tsx: npm install -g tsx
  2. Update your gateway plist to use tsx instead of bun (see docs)
  3. Grant Full Disk Access to Node.js for Messages database access

New Features

  • Interactive FDA setup: Commands now open System Settings and copy the node path to clipboard
  • Comprehensive verification: /machina-verify tests all 8 core capabilities
  • Better troubleshooting: Clear guidance for FDA and better-sqlite3 issues

Full Changelog

  • Switch from Bun to Node.js/tsx runtime
  • Update package.json scripts and engines
  • Add tsx as devDependency
  • Enhanced setup documentation with interactive flows
  • Expanded verification tests
  • New troubleshooting sections

v1.5.1 - Security & Stability Fixes

12 Jan 00:42

Choose a tag to compare

Security & Stability Fixes

Addresses issues identified by Cursor Bugbot code review.

Security

  • WhatsApp service now localhost-only - Binds to 127.0.0.1 instead of 0.0.0.0
    • Prevents unauthorized network access to /api/send endpoint
    • Gateway handles external access with proper bearer token authentication

Bug Fixes

  • Fixed backslash escaping in LIKE queries - escapeSQL now properly escapes backslashes for SQLite LIKE patterns with ESCAPE '\'

  • Fixed database connection leaks - Both queryMessagesDB and queryWhatsAppDB now use try-finally with conditional close to prevent file descriptor leaks on query errors

  • Preserved error message wrapping - Database constructor errors now properly wrapped in user-friendly messages while still preventing connection leaks

Code Quality

All changes validated by Claude Code Review and Cursor Bugbot with no remaining issues.

v1.5.0 - WhatsApp Integration

12 Jan 00:17

Choose a tag to compare

WhatsApp Integration 🎉

Full WhatsApp support via the Baileys library (WhatsApp Web protocol).

New Features

7 WhatsApp Operations:

  • whatsapp_status - Check connection status
  • whatsapp_send - Send messages
  • whatsapp_chats - List conversations
  • whatsapp_messages - Read chat messages
  • whatsapp_search - Search message content
  • whatsapp_contacts - Find contacts
  • whatsapp_raw_sql - Custom read queries

Architecture:

  • HTTP service wrapper (services/whatsapp/server.ts) runs on port 9901
  • Messages synced to SQLite for fast reads
  • Sends via HTTP to maintain live WebSocket connection
  • LaunchD service for auto-start

Security Improvements

  • Replaced shell-based sqlite3 with better-sqlite3 library
  • All databases opened in read-only mode
  • Comprehensive SQL blocklist (INSERT, UPDATE, DELETE, DROP, ALTER, CREATE, ATTACH, DETACH, PRAGMA, LOAD_EXTENSION, REPLACE)
  • Semicolon blocking prevents statement chaining
  • SQL comment blocking

Documentation

  • Complete setup instructions in .claude/commands/machina.md
  • Architecture diagrams in knowledge/setup/components/whatsapp.md
  • Forked to TechNickAI/whatsapp-mcp-ts for maintenance

Port Standardization

  • Gateway: 9900 (was 8080)
  • WhatsApp service: 9901

v1.4.1 - Verify Tests MCP API

11 Jan 22:02

Choose a tag to compare

Fixed

  • /machina-verify now tests the actual MCP API, not just local AppleScript
  • Verifies the full stack: gateway, auth token, MCP protocol, and each capability
  • Tests the exact flow that cloud AI agents will use

v1.4.0 - Version Sync & Command Fixes

11 Jan 22:00

Choose a tag to compare

Fixed

  • Slash commands now in correct location (.claude/commands/)
  • Health endpoint version synced with releases
  • Documentation now version-agnostic (won't go stale)

Changed

  • /machina and /machina-verify commands work correctly

v1.3.1 - Fix Slash Commands

11 Jan 21:53

Choose a tag to compare

Fixed

  • Moved slash commands from .claude/skills/ to .claude/commands/
  • Skills require directories with SKILL.md; commands are single .md files
  • Added proper YAML frontmatter with description field

/machina and /machina-verify now work correctly.

v1.3.0 - Smart Setup Skill

11 Jan 21:46
5fdc0f8

Choose a tag to compare

What's New

  • /machina skill - Single smart command for setup and update
    • Detects installation state via config file and LaunchD plist
    • Runs setup for fresh installs, update for existing installs
    • Health check used only to determine if restart needed
  • Updated README - Now points to /machina command

Changes

  • Add /machina skill for smart setup/update (#9)
  • Fix detection logic to check installation artifacts instead of health check alone

v1.2.0 - Verification Skill

11 Jan 21:35
9373449

Choose a tag to compare

What's New

/machina-verify Skill

New Claude Code skill for testing all Machina capabilities after setup or update.

Usage: /machina-verify or "verify machina"

Tests:

  • Gateway health endpoint
  • Reminders (create → verify → delete)
  • Notes (create → verify → delete)
  • Messages (read access)
  • Contacts (count access)

Setup Flow Improvement

Claude now offers to run verification after completing setup or update:

"Setup complete! Would you like me to run a quick verification to test all capabilities?"

Full Changelog

v1.1.1...v1.2.0

v1.1.1 - Robustness Fixes

11 Jan 21:13
1b60bfd

Choose a tag to compare

What's Fixed

Security

  • Validate commit hashes before shell interpolation to prevent injection

Reliability

  • Concurrency guard - Prevents simultaneous system_update calls from racing
  • Dirty check - Graceful failure if uncommitted local changes exist
  • Timeouts - Server close (10s) and spawn (5s) now have deadlines
  • Spawn error handling - Exit on failure to let LaunchD restart correctly
  • bun install - Continues with warning on failure instead of crashing

Resilience

  • system_status - Network failure during git fetch doesn't break status query
  • Error wrapping - Meaningful error messages throughout
  • Status reporting - Now includes updateInProgress state

Full Changelog

v1.1.0...v1.1.1