github thedotmack/claude-mem v12.3.7

7 hours ago

What's Changed

Refactor: remove bearer auth and platform_source context filter (#2081)

  • Drop bearer-token auth from the worker API. Worker binds localhost-only and CORS restricts origins to localhost — the token added friction for every internal client (hooks, CLI, viewer, sync script) with no real security benefit for single-user local deployments.
  • Drop the unused platform_source query-time filter from the /api/context/inject pipeline (ContextBuilder, ObservationCompiler, SearchRoutes, context handler, transcripts processor). The DB column stays — only the WHERE-clause filter and its plumbing are removed.
  • Replace the removed auth with a simple in-memory rate limiter (300 req/min) as a lightweight compensating control. Limiter normalises IPv4-mapped IPv6, emits Retry-After on 429, and has a size-guarded prune that never runs on localhost.

Cleanup

  • Deleted src/shared/auth-token.ts and all its dependents (worker-utils.ts Authorization header, ViewerRoutes.ts token injection, CORS allowedHeaders: ['Authorization'], sync-marketplace.cjs admin restart header).
  • Stopped tracking .docker-blowout-data/claude-mem.db and added the directory to .gitignore.

Full Changelog

v12.3.6...v12.3.7

Don't miss a new claude-mem release

NewReleases is sending notifications on new releases.