← Blog
VS Code · Release 0.7.8 · May 2026

Your AI lessons are now saved even when you're offline

cachly Brain 0.7.8 — offline lesson queue that auto-syncs when the connection returns.

The problem: lessons lost in silence

Picture this: your AI assistant fixes a nasty Docker healthcheck bug on an airplane. It calls learn_from_attempts(). The request fails silently — no network. The lesson is gone. Next week, same bug, same research from scratch.

Until now, this was the default behavior. If the Brain API wasn't reachable, the lesson simply wasn't stored. No error, no retry, no queue. 0.7.8 changes that.

What the offline queue does

When the Brain API is unreachable, lessons are stored locally in VS Code's globalState — a persistent key-value store that survives editor restarts and reboots.

AI calls learn_from_attempts(...)
  → Brain API unreachable (offline / timeout)
    → Lesson saved to globalState["cachly.offlineLessonQueue"]
    → Status bar: "🧠 Brain: OFFLINE · 3 offline"
    → No error thrown

Connection returns:
  → flushOfflineQueue() called (activation or 5-min timer)
  → Each lesson POSTed to Brain API
  → Success → removed from queue
  → Status bar: "🧠 Brain: 47 lessons"
  → Notification: "🧠 synced 3 offline lessons"

What gets queued

FieldExample
topicfix:docker-healthcheck-ipv6
outcomesuccess
what_workedUse 127.0.0.1 not localhost
severitycritical
tags["docker", "ipv6"]
sourcevscode-offline-queue
savedAt2026-05-09T14:23:00.000Z

Queue cap: 500 lessons max. FIFO — oldest drop first.

When this matters most

The status bar tells you

🧠 Brain: 47 lessonsConnected, everything synced
🧠 Brain: OFFLINE · 3 offlineDisconnected, 3 lessons queued
🧠 Brain: OFFLINEDisconnected, queue empty

Update

Search “Cachly Brain” in the VS Code marketplace and update to 0.7.8. Or:

code --install-extension cachly-dev.cachly-brain

cachly is a managed AI Brain for developers — persistent memory, team knowledge sharing, and semantic cache for Claude Code, Cursor, GitHub Copilot & Windsurf. One MCP server. 51 tools. Free tier, EU servers, no credit card.

Your AI is forgetting everything right now.

Every session starts blank. Every bug re-discovered. Every deploy procedure re-explained. cachly fixes that in 30 seconds — your AI remembers every lesson, every fix, every teammate's hard-won knowledge. Forever.

🇪🇺 EU servers · GDPR-compliant🆓 Free tier — forever, no credit card⚡ 30-second setup via npx🔌 Claude Code · Cursor · Copilot · Windsurf
VS CodeOfflineAI Memory0.7.8cachly BrainQueue