v13.11.0

tokio-rs/axumv13.11.0Jul 13, 2026by thedotmack

AI Summary

Introduces a worker-native cloud sync system, retiring the standalone daemon, with new flusher logic, status monitoring endpoints, and fixes for prompt-to-session mapping.

Key Highlights

  • Worker-native cloud sync replaces standalone `cloud-sync.mjs` daemon
  • New `GET /api/sync/status` endpoint for monitoring pending counts and errors
  • Fixed prompt-to-session views (Summary ⇄ Prompt toggle, Replay) to find prompts correctly
  • Schema v40 self-repair re-queues legacy prompts through a fixed mapper
  • Automatic migration from legacy `.cloud-sync.env` configuration

New Features

  • CloudSync flusher with write-site nudges and coalescing
  • Sync status API
  • /cloud-sync skill for credential migration and status checks

Full Release Notes

## Worker-native cloud sync (PR #3182)

The standalone `cloud-sync.mjs` daemon is retired. The worker now syncs memories itself — every local write nudges a background flusher that drains unsynced rows to cmem.ai, with no separate process to install or babysit.

**New:**
- `CloudSync` flusher: write-site nudges, 1.5s debounce coalescing write bursts, single-flight flush, 200-row/2MB pages, 30s request timeout, capped exponential backoff on failure
- `GET /api/sync/status` — pending counts per kind, last flush time, last error
- `/cloud-sync` skill — status checks, first-run credential migration from the legacy `.cloud-sync.env`, daemon retirement, and worker restart runbook

**Fixed:**
- Prompts now join through `sdk_sessions` to push their real `memory_session_id`/`project` instead of an unresolvable fallback — cloud-side prompt-to-session views (Summary ⇄ Prompt toggle, Replay) can now actually find their prompt
- Schema v40 self-repair: on upgrade, every previously-synced prompt (including ones uploaded by the legacy daemon) is re-queued and re-pushed through the fixed mapper; a backfill lane header suppresses realtime broadcast storms during that re-push
- Closed a race where a session's memory id registering while its prompt's upload was still in flight could leave that prompt permanently mis-keyed in the cloud — the stamp is now guarded per row and re-pushes with the corrected mapping instead

**Migration:** fully automatic and backward compatible. Existing standalone cloud-sync users are migrated on first `/cloud-sync` run after upgrading; installs with no cloud sync configured are unaffected.