Repository navigation
Immutable
release. Only release title and notes can be modified.
Nothing changes in memory.db, and existing llmcache.db entries remain readable with zero migration needed.
Added
- Zero-degradation L2 Cache Engine (
slm_cache_set,slm_cache_get,slm_optimize_stats):- File-backed KV entries (
source_pathorfile:<abs_path>keys) now store an(mtime_ns, size)freshness envelope and register afile:<realpath>invalidation tag automatically. On read, any file modified or removed on disk is auto-evicted immediately and returned as a clean miss (stale_evicted: true) so stale code is never served. - Scoped semantic L2 fallback for non-code keys (
search:,url:,query:,doc:) at cosine similarity>= 0.92when semantic caching is enabled orsemantic_fallback=True. Strictly disabled forfile:,code:,diff:,patch:,ast:, andsymbol:keys. - Durable KV telemetry (
cache_kv_semantic_hits,cache_kv_stale_evictions,tokens_saved_kv, and activekeepalivestatus) persisted inllmcache.dband exposed inslm_optimize_statsandslm cache status.
- File-backed KV entries (
- Automatic Edit-Time Cache Invalidation & Pre-Web L2 Cache Check:
post_tool_outcomehook now invalidates matchingfile:<realpath>entries in<1mswhenever any IDE runsEdit,Write,MultiEdit,NotebookEdit,edit_file,write_file,write_to_file,replace_file_content, ormulti_replace_file_content(fail-open; no-op whenllmcache.dbis absent).before_webhook now checksllmcache.dbfor freshurl:/search:hits alongside recalled memories before issuing a web search or fetch.
- Configurable 3h / 6h / 9h Cache Keep-Alive (
slm cache keepalive 3h|6h|9h|off|status):- Extends active L2 entry TTLs across an unbroken 3-hour, 6-hour, or 9-hour work window at zero API cost, auto-expiring cleanly at window end.
- Optional
--upstream-pingflag for proxy-routed Anthropic sessions (slm proxy): tracks active cacheable prefixes in RAM only (never written to disk) and sends minimal 1-token refresh pings before 5m L1 prompt-cache expiry while inside the chosen window, pausing immediately on any upstream error.
- New
/slm-cacheCommand & Updatedslm-cacheSkill /slm-optimize-advisorAgent: rebuilt across all 8 editor plugin packages (Claude Code, Codex, Antigravity, Cursor, Copilot, VS Code, Hermes, Muse).
Fixed
- Antigravity Plugin Full Parity (
antigravity-plugin/):- Persists session markers under
$SLM_DATA_DIR/.agy_session_markers(default~/.superlocalmemory/.agy_session_markers) withinvocationNum > 1andtranscriptPathguards, and no longer deletes markers onStop(which Antigravity fires after every turn). - Emits Antigravity 2.x
{"injectSteps": [{"systemMessage": {"systemMessage": ...}}]}instead of legacyephemeralMessage. - Forwards
session_id(conversationId),cwd, and normalized Antigravity 2.x + legacy tool names (read_file→Read,write_file→Write,edit_file→Edit,run_command→Bash,search_web→WebSearch,invoke_subagent→Task) topost_tool_outcome,checkpoint,cue,before_web, andstop_outcome(fixing silent"no_session"drops). - Returns
before_web,cue, and turn-2+auto_recallcontext back to Antigravity instead of discarding hook stdout. - Expands root
hooks.jsonmatchers to cover both Antigravity 2.x and legacy tool names.
- Persists session markers under