Changelog

What's new in Mug — platform updates, CLI releases, and new features.

Feature Improvement Fix Breaking
Jun 26, 2026

0.1.10 Agent reliability & error visibilityGitHub release

AgentsSurfacesMugCLI
  • Slack agents now resolve short model names (claude-haiku, claude-sonnet, claude-opus) — previously failed silently with no response
  • Agent query tool defaults to workspace database — agents no longer need to guess the database name to query synced data
  • Agent AI failures trigger email notifications to workspace owners, admins, and platform operator
  • Portal surfaces show inline error banners when a section query fails instead of silently returning empty results
  • Slack agent errors show the actual failure reason instead of generic error message
  • Agent AI errors logged with full details in workspace admin logs
  • CLI deploy validation catches unresolvable agent model names as errors instead of silent warnings
Jun 26, 2026

0.1.9 Table schema introspection & dev server fixesGitHub release

MugCLI
  • mug tables --schema shows column names, types, and row counts from the running dev server; --sample adds sample data rows
  • Dev server hot reload now works reliably for second and subsequent connector or workflow additions mid-session
  • mug query <source> now routes through the dev server when the local database file hasn't synced yet
Jun 26, 2026

0.1.7 Auto-create workflow tables & portal debuggingGitHub release

MugCLIPlatformSurfacesAgents
  • Workflow tables auto-created at deploy time from INSERT INTO column lists — no separate CREATE TABLE needed
  • Portal query errors now surface in the browser console as [mug] messages for easier debugging
  • Agent close phase no longer crashes when Durable Object restarts on alarm
Jun 26, 2026

0.1.6 Slack agent setup & dev server reliabilityGitHub release

MugCLIWorkflows
  • Slack setup — flag-driven mode for AI agents with --json state, --create-app, --install-url, --manifest, and --admin-instructions for guided admin setup
  • CLI — dev server port auto-discovery via .mug/dev.pid; sync response includes working data access commands
  • Dev server no longer hangs when wrangler becomes unresponsive — all internal requests now have timeouts
  • Deploy detects unregistered workspaces early instead of failing with a bare Unauthorized error
  • ctx.ai, ctx.notify, and other workflow methods now work on non-default dev server ports
  • Workflow /run/ endpoint correctly maps nested params to ctx.params
  • mug status displays workflow error details instead of [object Object]
Jun 25, 2026

0.1.5 Remote-first portals and deploy safetyGitHub release

MugCLISurfacesWorkflowsPlatform
  • Dev server portals show production data by default — no more empty tables during surface development. Falls back to local automatically for tables that only exist locally
  • Workflow tables auto-migrate — adding columns to a CREATE TABLE IF NOT EXISTS statement automatically adds them to existing production tables without data loss
  • Workflow errors in production now email the workspace owner and admins within seconds, with error details and the failed step
  • TypeScript type-checking runs automatically during mug deploy and mug validate — catches invalid ctx.* method calls before they hit production
  • ctx.credential() works as an alias for ctx.secret() in workflows
  • Dev server logs table registry summary at startup and surfaces portal query errors in the console instead of silently returning empty results
  • Deploy warns when local databases fail to upload to production, with instructions to push manually
  • Deploy now uploads all source databases as prefixed tables to the unified workspace database — cross-source portal queries no longer return empty on production
  • Workflow-created tables no longer get destroyed when deploying — deploy now preserves tables not managed by connectors
  • Portal queries with CTEs (WITH clauses) no longer fail silently when used in paginated table sections
  • Portal query errors on the dev server now return a 500 error page instead of hanging the browser indefinitely
  • mug query _workspace now auto-routes through the dev server — no more "Database not found" error for cross-source queries
  • Workspace names with spaces or capitals no longer cause deploy to fail
Jun 24, 2026

0.1.4 Clone fix and dev polishGitHub release

MugCLISurfacesPlatform
  • Dev server auto-initializes tables from workflow code — CREATE TABLE statements are detected and run at startup, so portals show empty states instead of crashing before the first form submission
  • mug login accepts email as a positional argument — mug login user@example.com
  • Dev server hot reload messaging — scaffolding commands and dev server output confirm new objects are picked up automatically without restart
  • mug clone no longer blocks on subdomain conflict when cloning your own workspace
  • mug init auto-slugifies workspace names — spaces and special characters convert to valid identifiers instead of breaking deploy
  • mug query --dev connects to the dev server correctly
  • Portal cross-source queries work in production — portals querying multiple data sources no longer return empty results
  • mug push --all no longer wipes data between databases
  • Portal pages no longer crash when a queried table is missing — individual query failures return empty results instead of taking down the page
Jun 23, 2026

0.1.3 Unified databaseGitHub release

MugCLIConnectorsPlatform
  • Unified workspace database — all connector data lives in one database with cross-source JOINs. Table names auto-resolve across sources. New mug tables command lists all tables with resolution status. Large sources can opt out with isolated: true
  • Dev server auto-detects new connectors and workflows — no restart needed when adding files
  • mug login supports non-interactive mode with --email and --code flags for AI agent authentication
  • Deploy auto-fixes invalid workspace names in mug.json — slugifies spaces, underscores, and uppercase instead of failing
  • Slack manifest sync errors during deploy show a soft warning instead of a hard failure when the app is still working
  • Workspace explorer removes non-functional Local/Cloud data toggle — ops data source is now determined automatically by deploy state
  • Connector skill now configures sync schedule in mug.json automatically — fixes synced data not appearing in workspace explorer
  • Workspace explorer shows synced data immediately after first sync — no longer requires dev server restart
Jun 23, 2026

0.1.2 Platform SMS liveGitHub release

PlatformMugCLI
  • SMS notifications work out of the box — platform toll-free number, no setup required. BYOK Twilio optional for custom caller ID.
  • Simplified SMS to Twilio-only — cleaner codebase, updated docs and agent instructions
  • Deploy command prints success confirmation
Jun 19, 2026

0.1.0 Public betaGitHub release

MugCLISurfacesConnectorsAgentsWorkflows
  • CLI Agent Kit — build locally with Claude, Codex, or Cursor. Workspaces are git repos, deploy to Cloudflare
  • Headless surfaces — forms, portals, dashboards on branded subdomains. Email, SMS, and Slack notifications built in
  • Connectors — sync external APIs into queryable SQLite with OAuth, pagination, rate limiting, and cross-source JOINs
  • AI agents — durable multi-turn execution with context compaction, scratch databases, cost controls, and human-in-the-loop
  • Workflows — scheduled and triggered automation with step-level durability, retry, and branching
  • Smart AI routing across providers via Cloudflare AI Gateway, with BYOK API keys at every tier
  • Per-workspace V8 isolation — scoped bindings, storage, and credentials. One workspace never touches another
  • Demo mode for safe client presentations with notification interception and synthetic data