v0.1.5 — session-save awareness (/tm-save, statusline, tips)
Session-save awareness
A host end-of-session hook can't capture memory — it runs after the agent is gone and never sees the conversation. If an agent forgets to store, or you hit /exit, the session's context is lost silently. 0.1.5 adds four LLM-free surfaces to close that gap:
/tm-save— a Claude Code slash command (installed bytrailmem integrate) that tells the still-running agent to store this session's decisions, lessons, and open tasks. Run it before/exit.trailmem statusline— prints🧠 trailmem: N saved this session, or an amber⚠ 0 saved · /tm-save before exitwhen nothing's captured yet. Read-only, always exits 0 — wire it into your host statusline.- Welcome tip — the briefing now ends with a
/tm-savereminder (universal across hosts). - Next-session flag — if the prior session stored nothing, the next welcome opens with a loud reminder.
None auto-generate memory content — capture stays the agent's job; these only surface the gap and give a one-command way to act on it.
Upgrade: uv tool upgrade trailmem (or pipx upgrade trailmem / pip install --upgrade trailmem). Re-run trailmem integrate to install the /tm-save command.