v1.7.0 - token-economics preview tier
Highlights (v1.4.0 → v1.7.0)
Token-economics preview tier (v1.7.0)
- Preview mode — the SDK clients (Claude Code recall hook + Hermes provider) request recall with
mode: "preview": non-policy facts render as single lines under the normal section headers;[COMPANY POLICY]cards always render whole. Strictly a server opt-in — the newmode/exclude_idsparams are opt-in per request, and OAuth connector defaults (claude.ai, Claude Desktop, ChatGPT) are frozen/unchanged, locked by a golden test. - Session dedupe via
exclude_ids— fact_ids already delivered this session are sent back asexclude_ids, so repeat turns spend budget on fresh facts instead of re-sending what the model already holds. - Client cache —
~/.ultramemory/cache.json, ejected byultramemory enable(user-editable, chmod 600, LRU-bounded at 500 entries / ~1 MB). Memoizes identical recall queries for 5 minutes (repeat query = zero HTTP calls) and tracks each session's seen fact_ids for 24 h. - Hook budget —
ULTRAMEMORY_HOOK_BUDGET(default2000chars ≈ ~2.8 KB/turn injection) plusULTRAMEMORY_PREVIEW,ULTRAMEMORY_CACHE, andULTRAMEMORY_MIN_CONFIDENCEtunables.
Gemini CLI support (v1.7.0)
- Connect over Streamable HTTP with OAuth:
httpUrlblock in~/.gemini/settings.json, then/mcp auth ultramemory(bearer-header fallback for headless), plus a recall-firstGEMINI.mdsnippet.
Recall hook + Hermes steering (v1.5.0–v1.6.0)
- Gated quiet-on-abstain recall hook with sectioned-briefing injection and latency tiers.
- Claude Code hook sends a
max_characterscap sized to fit the ~10k additionalContext window; Hermes steers policy questions torecall_gated.
Capture fidelity (v1.4.0)
- Full-turn capture (including tool output), whole-session rollup card, wayback-grade session snapshot Skill.
Full changelog: v1.3.0...v1.7.0