Documentation
Browse documentation

Reference and help

Release notes

What changed in each MemIndex release, newest first. Every entry comes from the product's own changelog.

1.8.1: Windows keeps saving memory when its port is reserved, and installs use the tested dependencies

Fixed

  • Plugin runtime dependencies now use the versions shipped with the release during installs, updates and repairs. If those dependencies cannot be installed, setup explains what failed and stops instead of reporting success.

  • On Windows, MemIndex now finds and remembers another available port when Windows reserves its usual one, so memory keeps saving after a restart. Ports you set yourself are kept, and a session-start notice explains when a port problem prevents memory from saving.

1.8.0: Snapshot and queue recovery, private text kept out of manual notes, and Codex as a backup note writer

Added

  • Use your existing Codex ChatGPT sign-in as the quota fallback while your main note writer is on hold. Select Codex in settings and check its readiness with doctor.

Fixed

  • Start server and worker processes with automatic package installation disabled so missing native dependencies fail promptly instead of loading incompatible replacements.

  • Cache cleanup keeps versions used by any live recorded session, even when process start timestamps disagree. Removal logs, installation output and prune previews now identify why each version was removed and which expired session records were considered.

  • Chroma verifies collection removal after an uncertain deletion response before rebuilding, avoiding repeated destructive deletes and preserving bounded recovery retries.

  • Chroma recovers after a timed-out read without interrupting a write that is still committing, and cancels waiting calls during shutdown.

  • Apply the search deadline while initializing Chroma collections so cold or reconnecting searches can reach the keyword fallback on time.

  • Explain when the memory observer cannot read your Claude Code sign-in, name the credential store it checked, and offer setup-token guidance for a different signed-in profile.

  • Knowledge questions find Chinese and Japanese terms within unspaced observations, including kana vowel marks and supplementary Han characters, while preferring exact words.

  • Knowledge questions select relevant observations using Unicode words, preserving vowel marks and matching equivalent spellings without changing the saved notes.

  • Distill preserves symbolic links such as AGENTS.md pointing to CLAUDE.md, updates their targets inside the repository, and tells you which target changed. It checks instruction and skill destinations before writing and refuses links outside the repository or broken links without changing any files.

  • Use word search while the embedding model is still loading so memory searches do not wait indefinitely.

  • Stop embedding work between reads and retries when the server shuts down, without writing a partial batch.

  • Link an event to its session when a repeated delivery supplies a previously missing session, while preserving the first established link.

  • Stop polling generation status when the waiting HTTP client disconnects, while keeping its captured events and queued work.

  • Keep the configured note writer model when a gateway is set through the process environment.

  • Discard late note-generation replies and failures after another attempt takes over the job, so a stalled worker cannot overwrite its replacement.

  • Count usage once for each completed note generation, including session summaries, without charging redeliveries again.

  • Keep generated notes linked to the correct session when a repeated event delivery supplies a previously missing session.

  • Count note generation tokens when a compatible provider reports input and output usage without a combined total.

  • Installation and runtime checks now give a local model observer the same one-second response window, so a slow valid observer is detected consistently.

  • Installation and updates remove old shell aliases that shadow the launcher; doctor identifies aliases that need attention, and worker status warns when it runs from another installation. Multiline shell definitions are left intact for manual removal.

  • Summaries requested by legacy clients now include the session's final answer, including sessions with no earlier tool calls. Repeated requests reuse the captured answer and summary job, and private text stays excluded.

  • Plugin installations include the packages needed by local sign-in routes, and those routes prepare missing authentication tables before first use. Concurrent first requests share initialization, and a failed attempt can be retried without losing existing users.

  • Windows process cleanup recognizes already-exited processes across display languages and still reports processes that remain alive.

  • Keep manually saved memories in their supplied platform when no session is linked. Platform filtering now treats them consistently in keyword search, search by meaning, branch counts, and viewer feeds.

  • Marketplace installs no longer risk receiving stale code when a documentation update lands during a build.

  • Preserve native event receipt identifiers and metadata when validating captured events, so replays return the original event instead of creating duplicates.

  • Repeated note-writing turns reuse SQLite statements, reducing native memory growth in long sessions.

  • Show the worker's rendered results in OpenClaw search, recent context, and timeline commands.

  • OpenCode refreshes session memory when you change whether it includes memories from other agents.

  • Serialize operator retries and cancellations with generation so simultaneous requests cannot replay completed work or cancel a job that already finished.

  • Pending vector cleanup now survives restarts for every project name.

  • Discard broken Postgres connections after a failed rollback while preserving the original write error.

  • Keyword search on hosted PostgreSQL now finds Chinese, Japanese, Korean and other unsegmented-script terms inside stored text, while preserving project and team access scopes.

  • Deleting a project's memory also removes notes committed by generation that was already in progress.

  • Keep server health checks responsive during Redis outages and share outstanding queue reads across repeated checks.

  • Server events accepted during a queue outage now recover automatically when the queue returns. Retrying a queued job also restores its missing message, so accepted events no longer stay waiting indefinitely after a failed publish.

  • Queued memories recover in bounded batches across server instances, keeping database connections available while the queue responds and ensuring later missing messages are reached.

  • Retry note writing without the reasoning setting when a gateway says the field cannot be represented.

  • Worker startup now resolves relative MEMINDEX_WORKER_SCRIPT_PATH overrides before launching the detached worker from another directory.

  • Label token and dollar savings as estimates and explain the assumption that reading each note replaces repeating its recorded work. Clarify that the report does not measure reuse, avoided work or net spending reductions.

  • Keep Claude note generation compatible with models that reject temperature settings, disable thinking by default, and give enabled thinking its own token allowance.

  • Apply context mode type and concept filters before selecting or limiting server memories, including search by meaning. Empty filters exclude observations while preserving the requested session summaries.

  • Preserve each memory's originating session platform through server search and context responses, so prior replies are selected from the correct agent.

  • Keep Unicode characters intact when shortening generation evidence and server error details.

  • Retry an empty answer cut off by reasoning once with reasoning disabled, retaining the tokens and cost reported for both requests.

  • Keep reasoning corrections within the note generation job's paid request allowance.

  • Finish closing server resources when any shutdown phase fails, while preserving the original error.

  • Memories captured without a session retain their agent's platform in the server viewer, its filters and the project picker.

  • Manual memories without a session keep their selected platform in the server viewer and its project picker. A linked session's platform remains authoritative.

  • The server viewer now lists projects correctly when an agent's platform name matches a built-in object property.

  • The server's memory viewer now loads its observations, summaries, sessions and processing status using the same team and project permissions as memory search. Shared server logs remain unavailable to customer keys.

  • The server viewer displays recovered summary text when a generated summary has no structured fields, instead of showing an empty card.

  • Retain strings, arrays, numbers, and other supported event payloads when generating session summaries.

  • Preserve generation progress when session creation is repeated without an explicit generation state.

  • Accepted session summaries now survive a worker restart without being stored twice. Interrupted paid requests are preserved for review instead of being sent again automatically.

    Summaries saved for recovery now remove private-tag text and recognized secrets before they reach disk, using your configured secret-redaction settings. Recovery files and their folder have owner-only permissions.

  • Apply privacy filtering once at each capture, transport and server write boundary, and preserve existing redacted text when editing other memory fields.

  • Release a provider quota cooldown when a recovery probe returns a valid skipped summary, including before the memory session is known.

  • Restoring a snapshot now recovers notes uploaded afterward, including those from the same device, before accepting new notes. Cloud sync keeps existing note ownership and prevents new notes from reusing published identities. If cloud access fails, startup pauses new writes and reports the problem; start MemIndex again after restoring access to resume recovery.

  • Keep pending project-wide moves applied to session metadata when restoring a cloud-synced snapshot.

  • Preserve session deletion barriers when merging restored snapshot data, including related tool history and pending uploads.

  • Keep SQLite server API-key verification and first-use upgrades off the request loop. A bounded crypto queue returns a retryable response when full, and keys revoked, expired or changed during verification cannot authorize requests.

  • Render useful context from a note's text, title, subtitle, facts, or concepts when its narrative is empty.

  • Finish stale job recovery and held-note release before closing the database during server shutdown.

  • Timeline file labels use forward slashes consistently on Windows and other platforms.

  • Bulk vector rebuilds yield between rows so live indexing and foreground work stay responsive. External Chroma processes start at a lower CPU priority on Linux and macOS when available.

  • Slow vector searches fall back to keyword results within a shared search budget, while healthy background reads continue warming the index.

  • The memory feed keeps loading older history when the browser batches multiple scroll intersection events after a refresh.

  • Update, start, and restart now wait while your memory is being prepared, with a brief progress message. A slow safety copy or one-time upgrade no longer makes an update incorrectly report that the worker is not running.

  • MemIndex can write notes with Claude Code installed through WinGet on Windows, including when its shortcut is missing or an older copy is first on your PATH.

  • Give each Windows user a stable server port by default while preserving explicitly configured ports.

  • Report queue worker startup failures without leaving an unhandled promise rejection that can terminate the server.

  • The worker now finishes route registration with JSON error and not-found handlers, including after a failed startup, while keeping search, corpus and sync routes reachable. Late route registration now fails visibly instead of silently returning a not-found response.

Security

  • Apply configured secret redaction to captured session and event metadata before storing it.

  • Capture keys with write permission receive identifiers and status without saved prompts, event content, or metadata. Keys with read permission keep full responses.

  • Keep Codex sign-in and token refresh writable while MemIndex uses your ChatGPT subscription, including Windows installations without symlink permissions.

  • Folder context updates normalize absolute paths before checking project boundaries and preserve context files being edited through another path spelling.

  • Keep Gemini API keys out of request URLs so they do not appear in access logs.

  • Remove private and injected memory text from generated note metadata as well as its displayed content.

  • Stop retrying note generation when its queued scope is invalid or its API key has been revoked.

  • Legacy memory capture and summary requests now honor the server's configured rate limits, request and token quotas, and usage metering before starting generation work.

  • Manually saved server memories now remove private sections and filter recognized secrets from content and nested metadata before storage, using the same rules as captured events. Memories with no content left after filtering are rejected.

  • Refuse unusable Host headers in MCP connect commands before creating a key or redeeming an invite. Docker names, fully qualified names, valid IP addresses and ports remain supported; MEMINDEX_PUBLIC_URL still supplies the public address when configured.

  • Store newly issued Postgres API keys as salted scrypt hashes and verify them off the request loop with bounded work. Existing SHA-256 keys keep signing in without rehashing or changing their stored digest, preserving their use after a rollback. Newly issued scrypt keys require the new server and will not work on the previous SHA-256-only version.

  • Postgres TLS policy from the explicit setting, URL sslmode, or PGSSLMODE remains effective when the driver reparses URL certificate options. Certificate paths and other connection settings are preserved; plain URLs with no TLS settings keep TLS off.

  • Postgres connections honor all supported TLS modes, including certificate verification, with explicit settings taking precedence over the database URL and environment defaults.

  • Create memory data and hook spool directories with owner-only permissions, and tighten directories left readable by earlier installations.

  • Hosted health checks expose readiness and queue counts without publishing authentication details, backend addresses or executable paths. Detailed diagnostics remain available to local administrators.

  • Limit unauthenticated server info to identity, readiness, boundary status and queue counts. Omit authentication configuration, schema version, connection details and raw queue errors.

  • Require read and write access when an owner or admin creates a read-only recall key. A write-only capture key cannot delegate access to existing notes.

  • Reject job listing offsets beyond 10,000 instead of allowing an expensive database scan or returning the same capped page repeatedly.

  • Server viewer pages stop at the newest 10,000 items and explain when that limit is reached. Invalid page offsets are rejected before querying stored notes.

  • Private-tag text and recognized secrets are removed before tool captures reach either local capture queue, including temporary files and saved replay progress. Secret redaction follows your configured settings. Queue files and folders have owner-only permissions.

    On first use after updating, existing pending and archived JSON captures are cleaned while keeping their replay order and identity. This includes expired captures and captures held for previously used hosted destinations. Unreadable captures and unfinished temporary writes are removed.

  • Remove private-tagged content and redact recognized secrets before SQLite server notes reach storage or search indexes. Private-only writes cannot create an empty note or clear its last searchable field. Secret redaction follows the existing setting (on by default); private tags are always removed.

1.7.4: Hundreds of reliability fixes, and private text and secrets kept out of more places

Fixed

  • More than 300 reliability fixes across capture, the worker, search, cloud sync, the viewer and every agent integration. Among them: deleting a memory also removes it from search by meaning, even when the vector store was down at the time; the database connection closes cleanly when startup fails; a damaged spool entry no longer blocks the ones after it; long memory feeds in the viewer stay fast by drawing only the cards on screen; and Postgres connections honour every sslmode.

  • Restored OpenCode tool identities, Qoder capture, Windows setup hooks, merged-project file recall, legacy imported-note updates, and durable sync recovery checkpoints. Fixed Codex timeout cleanup, fork context typing, transcript replacement detection, and macOS temporary-directory handling.

Security

  • The installer only downloads over HTTPS, no longer looks in the current folder when finding programs to run, and creates temporary files under random names that cannot be swapped in beforehand.

  • Text inside <private> tags is now removed from notes saved through the local memory API, from the previous reply shown at session start, and from Pi output before it is shortened, so no half-tag is left behind. Secret filtering now also catches URL passwords (including ones that start with $ or {; a variable such as ${DB_PASS} is left readable), Perplexity, NVIDIA NIM, Runcrate, Slack app-level and refresh, and GitHub user-to-server tokens, AWS session tokens and lowercase secret keys, PGP and encrypted private keys, bearer tokens in header objects, and values under plain token, secret and api_key keys. Cloud sync applies your redaction to session titles and to changes it sets aside.

1.7.3: Search by meaning loads after an update, and Codex trust works on Windows

Fixed

  • Codex hook trust checks and setup commands now work on Windows when Codex was installed through WinGet.

  • Fixed search by meaning staying off after an install or update because the worker started from a folder without its libraries. Worker launchers now prefer an installed folder with the libraries present. Notes waiting for search by meaning are picked up on the next indexing pass, and npx memindex doctor checks the running worker and explains when a restart is needed.

1.7.2: Codex memory survives updates, and usage reporting with an off switch

Changed

  • Anonymous usage reporting is now on by default, with one notice during installation and no extra question. It reports feature use, counts, timings, token use, costs and scrubbed error diagnostics to MemIndex's PostHog project, never your notes, prompts or code. Turn it off with npx memindex telemetry disable, DO_NOT_TRACK=1 or MEMINDEX_TELEMETRY=off; a saved disable choice stays off on later installs. Reporting stays off in CI and tests unless explicitly enabled.

Fixed

  • Codex setup and updates now offer to trust MemIndex's hooks, so memory recording can continue after a release changes them. Run npx memindex codex trust-hooks to trust them later, or add --yes to accept without a prompt. npx memindex doctor now checks Codex hook trust and shows how to fix it when needed.

  • The Jira import, its command and its errors now show how to connect Jira, and the cloud-sync command turns sync on with npx memindex sync connect instead of asking for settings typed by hand.

Security

  • hono, which the MCP SDK brings in, is updated to 4.13.18 for five published security fixes.

1.7.1: Deleted sessions stay deleted

Fixed

  • Deleted sessions stay deleted when old activity is replayed, imported, or synced. A deliberate restore can allow them to be imported again.

  • Code outlines keep complete parameters and return types, including object defaults and destructuring, and leave function bodies out of signatures.

1.7.0: Faster hooks, worktree notes that come home, and knowledge agents on any provider

Added

  • Choose which bundled skills to install with MEMINDEX_SKILLS_DISABLED, a comma-separated list of skill names. Install, repair and update keep the choice; remove a name and run repair to restore that skill.

Changed

  • Hooks start faster and use less memory, with the same activity capture and automatic upgrades for installed agents.
  • The note writer now keeps up to 100,000 conversation characters by default, reducing its token use. Existing settings still on the old 400,000-character default move to the new limit once; customised limits stay unchanged. Set MEMINDEX_OBSERVER_MAX_CONVERSATION_CHARS to choose another limit.
  • The worker now permanently removes old plugin versions from its cache to recover disk space. The newest two usable versions, registered installs and copies still used by a running session or worker are kept.

Fixed

  • Doctor now reads dependency details from the running worker and keeps its worker rows consistent, including on a custom port. An unavailable dependency report no longer calls a responding worker stopped.
  • Keep session context within delivery limits, respect search dates even when semantic search is unavailable, and remove remotely deleted memories from search. Recover cleanly from temporary startup or connection failures, and keep memories about distinct code identifiers separate. Cancelling an API-key prompt now stops installation without changing providers. Improve Cursor transcript discovery and source outlines for annotations, exports, accessors, docstrings, and headings.
  • Knowledge agents answer through your selected provider, so they work without a Claude login. Failed or empty provider replies return an error instead of an answer.
  • Sessions in a main repository folder now recall notes from its worktrees in startup context and folder-scoped search, with the same ranking as the repository's own notes. Worktree sessions still read their own notes plus the parent's, and saved project keys stay unchanged.

1.6.0: A viewer that looks like MemIndex, and secrets kept out by default

Changed

  • Secret redaction is now on by default, including for existing installs through a one-time settings change. To turn it off, set MEMINDEX_REDACT_ENABLED to false in settings.json; that choice is kept. The environment variable MEMINDEX_REDACT_ENABLED=false also turns it off.
  • The memory viewer has the MemIndex look: the owl, our type and blue palette across Timeline, Sessions, Savings and settings, in light and dark. Fonts are bundled so it works offline, and it fits phone screens.
  • The data folder and the worker's listening address can now be changed only in settings.json or the environment, not from the settings page.

Fixed

  • Imported Jira tickets and code-review decisions show clean titles, a useful one-line summary and their real source. Running an import again refreshes older notes without changing their links.
  • Memory writes work with the older SQLite on macOS 12.
  • Unattended updates keep your choice of local or hosted memory.
  • Cache cleanup never removes the version an open session or the running installer is using.
  • An interrupted install or update can no longer leave an agent's config or hook files half written.

Security

  • Secret redaction now catches keys printed at the start of a line, Cookie headers, and Atlassian, Heroku, Grafana, Postman, Pulumi and Doppler tokens.
  • Excluded projects stay out of memories saved by hand, and command exclusions also cover Antigravity.

1.5.0: Safer stops and upgrades, steadier memory capture

Added

  • Language and writing modes can be combined, and session context can include notes from other projects.

Changed

  • Log files older than 30 days are now deleted. Set MEMINDEX_LOG_RETENTION_DAYS to 0 to keep every log, or to another number of days.
  • Notes and session context use a git branch only while it is active. Detached checkouts and branches with no activity for 14 days use project context instead. Set MEMINDEX_BRANCH_ACTIVE_DAYS to change the window. Existing notes keep their branch tags.
  • The OpenClaw installer no longer accepts --api-key. Pass --api-key-file, or set MEMINDEX_GEMINI_API_KEY or MEMINDEX_OPENROUTER_API_KEY.
  • The data and log folders, and the current log file, can now be read only by your own user account.
  • smart_outline and smart_unfold refuse source files over 512 KiB, as search already did. Read a larger file directly.
  • Context updates follow links that stay inside the workspace and refuse links that lead outside it. New context files follow your umask; existing files keep their permissions.
  • Searches with a bad date or paging value now return an error that says what is wrong.

Fixed

  • Notes resume after you sign in again, even when the login change cannot be detected right away. A paused note writer retries after its sign-in cooldown without needing a restart.
  • Codex gets its memory back after compaction, and adopt and cleanup show help without running.
  • Memory capture recovers more reliably from busy queues, interrupted connections and rate limits, and keeps work that can be retried.
  • The memory viewer refreshes its busy status after a lost connection, long searches stay responsive, and Macs find existing logins more reliably.

Security

  • Credentials stay out of process arguments and routine tool logs. Skills and shutdown commands check the worker before sending its secret. Retrieved memory stays inside its data block in search results, and memory sync streams exports without leaving temporary copies.
  • Stopping or upgrading MemIndex no longer sends the worker secret to a program that has taken over the worker's port. A worker that cannot prove it is yours is stopped directly instead, so upgrades from older versions still stop the old worker cleanly.
  • A library the memory search server depends on was updated to close two moderate issues: a dropped connection could crash it, and a path with backslashes could get past its path checks.

1.4.6: Memory skills only, and the branch panel you can see

Changed

  • The plugin now ships only memory skills. Removed 13 workflow skills because they were not memory features: babysit, do, make-plan, design-is, oh-my-issues, pathfinder, standup, what-the, wowerpoint, learn-codebase, smart-explore, agent-cost-report and screenpipe. Six new skills give each memory feature a slash command: import-jira, import-reviews, import-chats, distill, savings and pin.

Fixed

  • Session start shows a compact branch panel with pinned notes and up to five recent branch notes (the project's newest when the branch has none yet), kept under 2,000 bytes so it stays visible in the terminal. The agent still receives its full context.

1.4.5: Distill finds the rule behind your fixes

Fixed

  • Distill groups hosted notes by meaning and words rules from the oldest decision, or a decision stated in the notes' text, using a fix's title only when there is neither. If the server's search fails, the run falls back to shared words and says so in its summary. Rules already applied are not proposed again.

1.4.4: Distill reads hosted notes

Fixed

  • npx memindex distill now reads the notes on a MemIndex server. Before, it looked at none of them, because hosted notes keep their type and title in a different place than local ones.

1.4.3: Every command checks the worker

Security

  • Every command and integration that talks to your local worker now checks it is the real worker before it sends the install secret or your notes. That covers search, savings, pin and unpin, sync status, doctor, distill, the Jira import, the corpus tools and the OpenCode, DSH, Pi and Windsurf integrations. If another program is answering on the worker port, they send it nothing and say the worker could not be verified.

1.4.2: The worker proves who it is

Security

  • Text that a tool, a web page or a teammate wrote is now kept apart from the instructions MemIndex gives to models. The note writer is told that the user's request and tool output are data, and that text cannot close the block it sits in. A prompt that is all private is no longer stored or handed to the note writer; one stored by an older version is stripped again whenever it is read. In Claude Cowork, quoted passwords inside tool fields are now removed before upload, memory added to an agent's task is cleaned of secrets and cannot break out of its wrapper, and the agent call is no longer approved for you, so your own permission rules for agents apply (you may be asked once). The bug-report tool now formats logs with no tools at all and marks them as data.

  • A page on another local port can no longer call the worker from a browser: only the viewer page the worker serves itself and the origins in MEMINDEX_ALLOWED_ORIGINS may. The worker now refuses a work-state folder that is a network share, a device path, relative or missing, and ignores such a folder when it builds context, so a request can no longer make it reach out to another computer. A text full of unclosed private or system tags, or of private-key headers with no end, no longer stalls the worker or the hosted server. CLAUDE.md is now written through a fresh temporary file and never through a link that leads outside the project (a CLAUDE.md that links to AGENTS.md in the same project still works), and observation titles in it stay on one table row. If you open a viewer from another local port, add its origin to MEMINDEX_ALLOWED_ORIGINS. The Windows Bun installer now downloads its script over HTTPS.

  • Hooks, the MCP server and the viewer link now check that the program on the worker port is your own worker before they send it your install secret or any notes. The worker proves it holds the secret by answering a random challenge, so another account on the same computer can no longer collect them by taking the port while the worker is down. Notes wait in the hook spool until the real worker answers. A worker started by an older version cannot answer the challenge, so it is replaced the first time a hook from this version runs. If you set MEMINDEX_WORKER_AUTOSTART=false, run npx memindex restart once after updating.

1.4.1: Safer with cloned repositories and mixed versions

Changed

  • The docs and the install and sync commands now say the hosting key is made in your MemIndex account, shown once, and never sent by email.

Fixed

  • A session started before an update no longer swaps the newer MemIndex worker back for its older one, which used to cut off notes that were being written. The worker is replaced only by a strictly newer plugin; an older or unreadable version leaves the running worker in place and says so once in the log. A session from before 1.4.0 that cannot read memory from a newer worker now sees a line telling it to update, and the worker logs that once.

Security

  • Running memindex inside a cloned repository can no longer run that repository's code. The commands, the hooks, the MCP server and the integration installers now take the worker and MCP scripts from your installed copy and never search the current folder, whatever version it claims. A standalone integration install such as npx memindex kimi install on a machine with no installed copy now stops and asks you to run npx memindex install first. Developers who want their checkout used can set MEMINDEX_DEV_HOOK_SOURCE=1 or MEMINDEX_WORKER_SCRIPT_PATH (see CONTRIBUTING.md).

1.4.0: Locked reads, installs that finish on their own, and past chats in memory

Added

  • See what your memory saves you. A new Savings tab in the viewer and npx memindex savings show the tokens saved and an estimated dollar value per day, per project and in total (last 30 days; --days, --project, --here and --json change what is shown). Both read the same worker answer, GET /api/savings, so they always print the same numbers. The saving for a note is the work tokens it recorded minus the tokens it costs to read back, the same figure the session-start panel shows as a percentage. Dollars use the input price of the model that did the work, and say "estimate"; notes without a recorded or priced model use the Claude Sonnet price and the page says so. Notes that recorded no work tokens are counted separately and left out.
  • A status line that tells you when memory is not being saved. npx memindex install now offers a Claude Code status line (it never replaces one you already have; --status-line turns it on without asking, --no-status-line skips it). It reads "memory: saved 5 min ago" in green, and turns red as "MEMORY NOT SAVING" with the reason when the worker is not ready or saves failed in the last 15 minutes. It only reads, and answers in about 40 ms.
  • The session-start panel opens with a warning when memory is not being saved, naming the reason and the command that fixes it.
  • npx memindex distill reads the decisions and fixes your memory keeps repeating and suggests rules for CLAUDE.md (and AGENTS.md where you have one) and skill files for procedures you keep following. Each suggestion names the notes it came from. It writes nothing until you approve each item with --apply, and only inside one marked section.
  • Secret redaction now also removes Google OAuth client secrets and access tokens, and Databricks, HashiCorp Vault, Supabase, Sentry, Linear, Notion, NVIDIA and Perplexity keys, plus GitLab, Hugging Face, npm, Groq, xAI, Slack and Discord webhooks, Stripe webhook secrets, PyPI, SendGrid, DigitalOcean, Shopify, Docker Hub, temporary AWS keys and session tokens, Basic-auth headers, --auth-token style command flags, passwords inside URLs, and bare token / secret / api_key values in JSON and env lines, from tool output before a note is written or sent to the model provider.
  • A "Built with MemIndex" issue form, so people can suggest their project for the Built with MemIndex page on memindex.ai.
  • Import past code-review decisions into memory. npx memindex import reviews --repo owner/name turns each GitHub review thread that was resolved, or answered by a person, into a decision note: what the reviewer raised, how it was settled, the file, the line and a link to the pull request. When an agent opens that file, the ruling appears in the file's context, even if the file has changed since. Run it again and only new or changed threads are written. --limit, --since YYYY-MM-DD, --project and --dry-run are supported, and it works with the local worker and with MemIndex hosting. The GitHub token comes from GITHUB_TOKEN or from gh auth token; it is never printed, logged or stored in a note. Review text is stored quoted and labelled as untrusted.
  • The worker's save route takes an optional note type and a list of files, so a note can be a decision and can belong to files.
  • npx memindex doctor now checks the note writer. It says plainly when the configured note-writing provider cannot work (no Claude login or key, an expired login, a Claude or Codex command that will not launch, a provider with no key or model and whether Claude can stand in) or has kept failing, and it lists the worker's dependencies (Bun, uv, tree-sitter, a writable data folder, and anything the running worker reports missing). A broken note writer is now a failed required check instead of "all is well".
  • Import past chats from other coding agents into memory. npx memindex import chats --from codex (Codex CLI) and --from gemini (Gemini CLI) read the chats those tools saved on this machine and send them through the same path as live work, so the note writer turns them into notes. --from claude-code does the same as transcript import. --dir points at another folder, --since and --until limit the time window, and --dry-run shows how many chats, prompts, tool uses and summaries would be sent, with an estimate of what writing the notes costs, before anything is spent. Running it again skips chats already imported, and a chat the tool's own hooks already captured is not sent twice. A chat that does not record its working folder is counted and skipped.
  • Control when and how notes are written: MEMINDEX_OBSERVER_ENABLED=false stops all new note-writing model calls while memory, search and the session-start panel keep working; the status line and the session-start line say "notes paused" instead of reporting a failure. MEMINDEX_PROVIDER_BY_SOURCE picks the note writer per agent (for example {"codex":"codex","claude":"claude"}). MEMINDEX_DISABLE_SUMMARY=true skips the end-of-session summary for headless runs. A long-lived Claude token (CLAUDE_CODE_OAUTH_TOKEN in ~/.memindex/.env) keeps capture going when the stored Claude login expires, and sessions paused because Claude was signed out try again within a minute of a different token appearing.

Changed

  • The README now opens with what MemIndex does and the one-line install, lists what you get and which agents work, and has a Modes section with all 29 language modes, code--chill and personal.
  • A database newer than the installed plugin now says so. The worker logs one line and /api/readiness returns it (status failed, with a reason) instead of a bare "initializing". The line names the fix: npx memindex@latest update. /api/readiness also reports lastSavedAt once the worker is ready.
  • Pull requests no longer carry the built files under plugin/. After each merge to main a workflow rebuilds them from the merged source and commits them, and CI refuses a pull request that changes them. Unreleased changelog entries are now one file each under changes/, assembled into CHANGELOG.md at release.
  • Reading your memory from the worker now needs the install secret, like writing does. Before, any program on your computer could read every note over the worker's HTTP API. Now every read route (/api/*, /v1/* and the live /stream) answers 401 unless the request carries the X-Memindex-Secret header; only /api/health and /api/readiness stay open. Hooks, the MCP server, the CLI, the viewer, Observation TV on this machine and the Hermes, OMP, OpenClaw and OpenCode integrations send it for you. The viewer must be opened from the link MemIndex prints when a session starts; a bare localhost page now explains that it was not let in. A script of your own sends the secret from the worker-secret file in your data folder, without putting it on a command line: printf 'X-Memindex-Secret: %s\n' "$(cat ~/.memindex/worker-secret)" | curl -H @- http://127.0.0.1:38701/api/stats (use your own port). Upgrading: an agent or tool that was already running keeps the old behavior until it is restarted; if you see "needs the install secret", restart it or run npx memindex update, and npx memindex doctor now warns when the worker and the command are different versions. /api/health still answers anyone with the version, process id and data folder, but the worker file path, model setup and dependency state now need the secret. A remote Observation TV with MEMINDEX_TV_TOKEN is unchanged.

Fixed

  • Antigravity CLI: MemIndex no longer registers the pre-tool hook, which auto-approved every Antigravity tool call and queued each call twice. Installing or updating removes it from existing installs and leaves other hooks alone.
  • Antigravity CLI: each tool call is recorded once, MCP calls are recorded under their real tool names, and your prompt is recorded once per turn instead of once per model call.
  • The note writer now picks up a proxy (HTTPS_PROXY, HTTP_PROXY, NO_PROXY, in any letter case) and CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS that you set only in the env block of Claude Code's settings.json. Before, a proxy kept only there was ignored, every capture failed to connect and no notes were stored. Nothing else from that file is passed through.
  • Several notes written by hand about one file now all show in that file's context. Before, only one of them did.
  • An agent or script can now install MemIndex with no prompts: npx memindex install --yes takes every default, names the choices it made, starts the worker and waits until it is ready, and exits non-zero with the command to run if it cannot. npx memindex doctor now exits 0 or 1 cleanly on Windows instead of crashing after its checks pass. npx memindex start, stop, restart and status print one plain sentence (add --json for the machine output). The installer no longer prints the viewer link with your sign-in secret; run npx memindex viewer to open it, or npx memindex viewer --print to show the full link.
  • Copilot CLI: the MemIndex memory tools are now registered in ~/.copilot/mcp-config.json (or the folder COPILOT_HOME names), where Copilot CLI reads them, merged with the servers already there. Uninstall removes only our entry, and the old entry in ~/.github/copilot/mcp.json is cleaned up.
  • Notes on OpenRouter and OpenAI-compatible gateways survive reasoning models and gateway quirks. Reasoning is off by default so it cannot eat the output budget and leave a session with no notes. A reply cut off at the output limit is requested once more. A gateway that rejects the reasoning setting is asked again without it. A model that refuses is reported as a refusal in the status panel, not as an outage.
  • Windows: the background worker now starts directly, without PowerShell, so antivirus programs that block PowerShell's encoded commands no longer stop MemIndex from starting. Each Windows user also gets their own default port (the same one every time for that user) instead of one port shared by every account, and Goose is set up in its Windows folder, %APPDATA%\Block\goose\config.

1.3.0: Memory that knows your branch, pins, and Jira import

Added

  • Import Jira tickets into memory. npx memindex import jira --project KEY turns each ticket into one note in the area jira-<key>: key, summary, status, resolution, type, priority, assignee, labels, the description as plain text and the newest five comments. Run it again and it skips tickets that have not changed and replaces the ones that have, by key. --limit, --since YYYY-MM-DD, --jql "..." and --dry-run (counts, a sample note, and how many notes a real run would write) are supported. It works with the local worker and with MemIndex hosting. Your Jira token comes from JIRA_API_TOKEN (with JIRA_EMAIL and JIRA_BASE_URL) or from the new settings MEMINDEX_JIRA_BASE_URL, MEMINDEX_JIRA_EMAIL and MEMINDEX_JIRA_API_TOKEN; it is never printed, logged or stored in a note. GET /api/settings shows only [set] for the token.
  • Jira imports rewrite a changed ticket's note in place (the worker's save route takes a new upsert flag), so its id and pins stay and nothing is deleted before its replacement is stored. Imported text is labelled as untrusted and quoted. A run with no --limit that would write more than 200 notes asks first (or needs --yes), and Jira rate limits are waited out.
  • Memory knows your git branch. Every new note records the branch it was written on, and the first time the worker starts after the update, earlier notes get a branch from your git reflog where one can be found. Notes from the branch you are on rank first in the session-start panel and in search; notes from other branches rank lower and are never hidden.
  • Pins. Pin a note so every session start shows it first, with an optional one-line reason: npx memindex pin <id> --why "...", npx memindex unpin <id> (this branch's pin; --project-wide or --all for the others), or the pin_memory and unpin_memory tools. A pin belongs to the branch you made it on, or to the whole project with --project-wide. When that branch has been merged into your default branch, its pins become project-wide at the next session start.
  • A new session-start panel. The header now reads [memindex] recent context · <branch> · <project> · <time>, followed by how many notes are tagged on the branch and in the project, and a 📌 Pinned on this branch block with each pin's reason. Notes from another branch carry a ⎇ <branch> mark.
  • MemIndex hosting ranks the same way. Hooks send the branch with each event; the server keeps it with the note, ranks search and session-start context by it, and returns the branch counts. Pins are not on hosting yet.
  • New setting MEMINDEX_BRANCH_MEMORY_ENABLED (default true).
  • New setting MEMINDEX_SEND_BRANCH_TO_HOSTING (default true). Set it to false to keep branch names on this machine: ranking by branch still works locally, and MemIndex hosting receives no branch.
  • npx memindex unpromote [--branch <name>] puts pins that moved to the whole project back on the branch they came from, and they stay there.
  • A pin on a branch that was deleted, or squash-merged and then deleted, stays in the panel marked [branch gone: <name>] instead of disappearing.

Changed

  • The session-start header changed from # [<project>] recent context, <time> to the panel header above. Set MEMINDEX_BRANCH_MEMORY_ENABLED to false to keep the old header.
  • A branch counts as merged only on proof: its last commit is in the default branch and either a merge commit brought it in or it had commits of its own. Pins are promoted only when the folder belongs to the same repository the pin was made in, and the move is recorded so it can be undone, for each branch on its own.
  • Removing a pin now names what goes. DELETE /api/pins/:id with a blank branch, or with nothing, is a 400; ?branch=, ?projectWide=true or ?all=true choose. unpin_memory and npx memindex unpin default to the current branch.
  • The first-start branch backfill is tracked per checkout and only counts as done when the reflog was read. A folder that is missing or unmounted, or a git error, is retried at the next start.
  • Branch names and pin reasons in the panel are shown as plain quoted text: control characters and new lines are removed and long values are cut.
  • Session start spends at most about 1.5 seconds on git, caches the answer until the default branch moves, and keeps the rendered-panel cache. Without git installed, branch features are off and everything else works.
  • The database moves to schema version 68, stamped only after the whole migration succeeds, and MemIndex takes a snapshot first. A failed migration leaves the database at its old version and openable by the previous release. An older MemIndex refuses to open a version 68 database, so update every machine that shares one data folder.

Fixed

  • A note written in the same second as a branch switch no longer gets a branch, since which branch it belongs to cannot be told.
  • A search that asks for a sort order keeps that order instead of being re-sorted by branch.
  • unpin_memory refuses conflicting choices such as a branch together with all.
  • Talking to an older server, the plugin drops the branch and retries only when the server says it does not know that field; any other error is reported as an error.

1.2.0: Search by meaning without Python, notes for every session

Added

  • Notes you save under the project global now show up in every session. They appear in the session-start panel whatever folder you open, including a folder with no notes of its own. They take at most a quarter of the slots, so your project's own notes still lead, and a new global note never pushes out the project's last summary.
  • Copilot CLI capture. npx memindex install --ide copilot-cli now sets up hooks in ~/.copilot/hooks/memindex.json (it follows COPILOT_HOME). Copilot CLI sessions are recalled at the start, recorded as you work, and summarized at the end. memindex copilot-cli install, status and uninstall manage it, and a hooks file that is not MemIndex's is never overwritten.

Changed

  • Search by meaning now runs inside MemIndex. It no longer needs uv, Python or a separate chroma-mcp process, the part of an install that broke most often. It uses the same model Chroma used (all-MiniLM-L6-v2). The model is a 23 MB download the first time it is needed, and works offline after that. Your notes get vectors again in the background after the update, a few at a time, and search keeps working by word until they are ready. The old chroma/ folder is left where it is. A Chroma server of your own (MEMINDEX_CHROMA_MODE=remote) or another embedding function still use chroma-mcp.
  • The install is about 175 MB smaller. The search library ships its engine for every operating system and chip; the install now keeps only the files for your own computer.
  • The session-start panel stays current. It is rebuilt when you change a context setting or when the notes it was built from change, instead of being served from an older copy.
  • The hosting offer is easier to spot. At the start of a Claude Code session it now sits right under the "View Observations Live" link, marked with a sparkle and in bold yellow, instead of as a plain line at the very end. It is still one line, and MEMINDEX_HOSTING_OFFER=false still turns it off. It now describes the trial the way memindex.ai does: "from $30 a month, with a 30-day trial".
  • The Community link now opens the MemIndex channel in the Imogen Labs Discord.
  • Dependencies updated: TypeScript 7 for type checking, tree-sitter 0.27.1 for code reading (with checksums for every platform), OpenTelemetry API 1.10 and unist-util-visit 5.2. The unused tsup build tool was removed.

Fixed

  • Endless Mode keeps your messages when you drive Claude Code with claude -p. The session record kept only the agent's replies for sessions started or resumed with claude -p, so after a compaction the agent saw its own answers but not what you asked. Every message you send that way is now kept word for word.

Security

  • The plugin now requires a Zod release with a security fix. It installed Zod 4.4.3, which could run out of memory validating oversized input (GHSA-mrhx-c7xc-m3w5). It now installs 4.6.7.

1.1.1: Endless Mode actually picks up where you were

Fixed

  • Endless Mode now works after a compaction. MemIndex wrote the session record and asked Claude to read it, but Claude Code tells the model to resume straight away, and the request lost every time: in real sessions the record was never opened. The start of the next turn now carries the end of the record itself, up to about 7,000 characters cut at the start of a turn, with the path to the full record for anything earlier.

1.1.0: Recall before every message, Cloud Sync, and four more agents

Your agent now gets related memories before each message without having to search, your memory can follow you between machines, and MemIndex works with Grok Build, Muse Code, Antigravity and Cowork.

Added

  • Recall before every message. Before each prompt, MemIndex adds the most related past work: observations, session summaries and earlier prompts. It is on in personal mode and off in code mode; set MEMINDEX_SEMANTIC_INJECT to true or false to choose.
  • Cloud Sync. npx memindex sync connect, sync status and sync disconnect keep one memory across all your machines through MemIndex hosting.
  • Bring your memory to hosting. npx memindex import can now send existing local memory to a MemIndex hosting project.
  • Nothing lost when hosting is unreachable. If the hosted server can't be reached, prompts, tool use and summaries wait on your computer and are sent when it comes back. You're told once per session while it is down.
  • Automatic snapshots. The worker saves a checked copy of your memory database on a schedule. npx memindex snapshot, snapshot list and snapshot restore manage them.
  • Personal memory. A personal mode that remembers the people, rules, preferences, commitments and decisions in everyday conversations, not just code. Prompt search now matches several words, not just one.
  • Grok Build and Muse Code. npx memindex grok and npx memindex muse install hooks and memory search for each.
  • Antigravity. Install MemIndex from the Antigravity plugin marketplace. When you install with npx memindex install on an Antigravity that supports session start, memory is added once per session instead of on every model call, so its prompt cache keeps working.
  • Cowork. The Cowork plugin now talks to MemIndex hosting.
  • Hosting offer. A new session shows one line about MemIndex hosting. It isn't shown on resumed sessions, in Codex, or if you already use hosting. Set MEMINDEX_HOSTING_OFFER to false to hide it.

Fixed

  • On Windows, hooks no longer flash a console window.
  • A test run with a temporary home can no longer take over your real memory worker and write your sessions into a temporary folder.
  • A memory tool given a wrong argument now says which argument is wrong, instead of returning an empty result that looked like nothing was found.

Removed

  • Running your own MemIndex server. memindex server start, stop, restart and status, memindex server keys rotate, memindex server worker start and memindex server jobs are gone. Use MemIndex hosting to share memory between machines. The local worker is unchanged: memindex worker start|stop|restart|status still work, and memindex server api-key create|list|revoke still manages the API keys of the local worker's REST API.
  • The Redis job queue. MEMINDEX_QUEUE_ENGINE, MEMINDEX_REDIS_URL, MEMINDEX_REDIS_HOST, MEMINDEX_REDIS_PORT, MEMINDEX_REDIS_MODE and MEMINDEX_QUEUE_REDIS_PREFIX are no longer read.
  • The Grok Bot and CCS Align add-ons, with their settings: every MEMINDEX_GROK_BOT_* and MEMINDEX_CCS_ALIGN_* key. These keys are now ignored if they're still in your settings file.

1.0.0: First MemIndex release

MemIndex remembers what an agent did, so later sessions can find its work, decisions and discoveries. This release line starts with MemIndex; the inherited project's release history is not part of this changelog.

  • Record sessions and tool activity through supported agent integrations.
  • Search saved observations, surrounding history and session summaries.
  • Browse and manage memory with the local viewer and command line.

Next steps