Commit Graph

129 Commits

Author SHA1 Message Date
Alex Newman 2f4de2ba25 chore: bump version to 13.24.15 (#4022)
Package-facing patch bump so 13.24.15 ships #3727 / #3706 (daemon no longer inherits user project cwd). Rebuilds plugin bundles so the injected version matches.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Alex Newman <thedotmack@users.noreply.github.com>
2026-09-11 00:30:03 -07:00
Alex Newman dc36ee7d45 chore: bump version to 13.24.14 (#4020)
Package-facing patch bump so 13.24.14 ships the commits now on main after v13.24.13. Rebuilds plugin bundles so the injected version matches.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Alex Newman <thedotmack@users.noreply.github.com>
2026-09-11 00:10:44 -07:00
Alex Newman c51d62a4db chore: bump version to 13.24.13 (#4013)
Package-facing patch bump so 13.24.13 ships the commits now on main after v13.24.12. Rebuilds plugin bundles so the injected version matches.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Alex Newman <thedotmack@users.noreply.github.com>
2026-09-10 23:35:17 -07:00
Alex Newman ec9e3e32d8 chore: bump version to 13.24.12 (#4007)
Package-facing patch so 13.24.12 ships #4003, #4005, #4006, #3826, and #3773, which landed on main after v13.24.11 was tagged.
2026-09-10 23:12:13 -07:00
Alex Newman 9841dd4120 chore: bump version to 13.24.11 (#4004)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Alex Newman <thedotmack@users.noreply.github.com>
2026-09-10 22:25:56 -07:00
Alex Newman 6f9a73c8ca chore: bump version to 13.24.10 (#3993)
Package-facing patch so 13.24.10 ships #3991 (content flush batch 200→40 + requestTimeout settings), which landed on main after v13.24.9 was tagged.
2026-09-10 21:20:08 -07:00
Alex Newman 50b3efb4fa chore: bump version to 13.24.9 (#3990)
Package-facing security patch for the #3861 / #3985 credential-leak fixes
(unauthenticated /api/settings redaction, MCP workspace containment, host
bind tightening). Publish-ready; do not npm publish from this PR.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Alex Newman <thedotmack@users.noreply.github.com>
2026-09-10 20:57:20 -07:00
Alex Newman 35642e94e3 chore: bump version to 13.24.8
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ah5a7Ygdm3uzBxSFZ8kqx6
2026-09-11 02:11:35 +00:00
Cursor Agent 4890e14c4b chore: bump version to 13.24.7
Co-authored-by: Alex Newman <thedotmack@users.noreply.github.com>
2026-09-11 01:05:17 +00:00
Cursor Agent 9811b0eb78 chore: bump version to 13.24.6
Co-authored-by: Alex Newman <thedotmack@users.noreply.github.com>
2026-09-11 00:27:49 +00:00
Cursor Agent 03eeee7699 feat(grok-bot): Phase 0+1 awareness breathing for LFG and Orifice
Carry agentId from transcript watches through ingest, watch agents that
already have a memory tree, and append needle observations as dated
[awareness] fact lines into the pilot agent's Grok Bot memory log.

Co-authored-by: Alex Newman <thedotmack@users.noreply.github.com>
2026-09-09 03:42:52 +00:00
Alex Newman f6f72747e1 chore: bump version to 13.24.1
Patch release so marketplace and npm installs actually pick up the rebuilt
plugin bundles from #3878. 13.24.0 shipped manifests that claimed 13.24.0
while plugin/scripts/*.cjs still carried 13.23.1 bytes; the artifacts were
corrected in place, but existing 13.24.0 installs have no version change to
trigger an upgrade. 13.24.1 gives them one.

Version bumped across all 11 manifests and the README badge, then
regenerated via `npm run build-and-sync`. All four .cjs bundles are
byte-identical to 13.24.0 after normalizing the version string -- no source
changed since 4da9ffc6, so this is a pure version delta.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Fu9bpdG4AWZNq3m8zkUkYg
2026-09-05 05:22:25 +00:00
Alex Newman be44b6c8e2 docs: night-launch Grok Mem README lockup copy (#3863)
* docs: night-launch Grok Mem README lockup copy

Point the README hero at grok-mem.ai, set lockup alt to Grok Mem, and
add the rename line under the lockup. Package name stays claude-mem.

Co-authored-by: Alex Newman <thedotmack@users.noreply.github.com>

* docs: format package name as code in Grok Mem rename line

Match the Quick Start handout: the package is still `claude-mem`.

Co-authored-by: Alex Newman <thedotmack@users.noreply.github.com>

* docs: add sponsor logos and README hero lockup paths

Add official Greptile green wordmark and SerpApi gradient wordmark
under docs/public. Point the README hero at relative repo paths so
PR 3863 can render them. Keep the Vercel OSS remote badge and the
rename line. Package name stays claude-mem.

Co-authored-by: Alex Newman <thedotmack@users.noreply.github.com>

* docs(readme): Grok Mem lockup + sponsor logos

Co-authored-by: Alex Newman <thedotmack@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Alex Newman <thedotmack@users.noreply.github.com>
2026-09-03 08:33:32 -07:00
Alex Newman 18b3dab766 docs: add npm claude-mem package handout in Grok Mem quick start (#3856) 2026-09-02 18:44:56 -07:00
Alex Newman 8a434bbc27 docs: Grok mem README and install for Grok Bot 2026-09-02 18:37:30 -07:00
Alex Newman 2948cb6e68 fix(promo): advertise the 30-day trial everywhere (#3824)
Every client-side promo link now carries `?trial=30` and every surface
says "30 days" instead of "7". PRO_TRIAL_DAYS is the single knob in
src/shared/pro-promo.ts, mirrored in the viewer's own copy because its
tsconfig pins rootDir and cannot import the shared module.

Also restores the trial link in the installer's Next Steps block. The
'installer' promo source was declared in ProPromoSource but had no
caller after the Next Steps trim, so the last screen of the funnel
never mentioned the offer. It now shows for non-Pro installs only.


Claude-Session: https://claude.ai/code/session_01DD5YMaAiXXeY3zaitbGC6n

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-31 14:26:02 -07:00
Alex Newman 9e14a63cb1 docs: describe sign-in flow, replace price figures with plan-usage framing
README and remaining docs pages now describe the install-then-sign-in flow and
its skip paths, and drop cost/pricing language ("cheap", "free tier", "most
expensive") in favor of off-plan vs on-plan and quality/speed framing. The
viewer's provider tooltip now covers all providers, with the OpenRouter option
labeled "OpenRouter / claude-mem observer".

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012RvdxCVd6XTQUXk6PMEZ1R
2026-08-26 15:12:01 -07:00
Alex Newman 770d7e2851 docs: add cloud sync page, nav entry, and README pointer
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 14:27:02 -07:00
Alex Newman accd986760 docs: refresh release docs and translations 2026-07-06 12:20:58 -07:00
Alex Newman 173ebb26a9 feat: add full Antigravity CLI support (Phase B)
Adds hooks, dual MCP server registration, and GEMINI.md/rules context
injection for Antigravity CLI (Gemini CLI's official successor per
Google, May 19 2026), at feature parity with the removed Gemini CLI
integration. Built and verified against a real live Antigravity CLI
install (agy v1.0.16):

- Hooks share Gemini CLI's proven ~/.gemini/settings.json + 8-event map
  (SessionStart, BeforeAgent, AfterAgent, BeforeTool, AfterTool,
  Notification, PreCompress, SessionEnd), confirmed live on disk.
- MCP registration dual-writes ~/.gemini/antigravity/mcp_config.json
  and ~/.gemini/config/mcp_config.json (both real paths observed in use).
- Detection checks for the `agy` binary alongside the existing
  ~/.gemini/antigravity directory check.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011YMT5iCF1kfikq7fetR6NF
2026-07-03 15:34:05 -07:00
Alex Newman 26fe40a6c1 feat: remove Gemini CLI host integration (Phase A)
Google deprecated Gemini CLI's free/individual tier in favor of Antigravity
CLI (announced May 19, 2026, cutoff June 18, 2026). Removes claude-mem's
Gemini CLI adapter, installer, IDE-detection entry, and docs.

The separate Gemini LLM/observation provider (CLAUDE_MEM_GEMINI_API_KEY,
GeminiProvider.ts, GeminiObservationProvider.ts) is untouched — that's a
different, still-supported Google product.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011YMT5iCF1kfikq7fetR6NF
2026-07-03 14:51:33 -07:00
Alex Newman 786e167b44 Add Vercel OSS Program badge
Added Vercel OSS Program badge to README.

Signed-off-by: Alex Newman <thedotmack@gmail.com>
2026-06-18 14:50:00 -07:00
Alex Newman 1fb848e10c Update CMEM token description in README
Removed the dollar sign from the token name and added the official BASE CA.

Signed-off-by: Alex Newman <thedotmack@gmail.com>
2026-06-11 14:29:01 -07:00
darion-yaphet f3fa5601d5 Keep published docs aligned with release metadata (#2756)
README badges, system requirements, translated README copies, and public docs had drifted from package.json. Align them with version 13.4.0 and the Node >=20 engine requirement, and make the hook overview count explicit as Setup plus five lifecycle events.

Constraint: package.json is the source of truth for current package version and engine requirements

Rejected: Update only the root README | translated README files would still publish stale requirements

Confidence: high

Scope-risk: narrow

Directive: Keep README badges and requirements synchronized with package.json during version or engine bumps

Tested: rg found no remaining version-6.5.0, node >=18 badge, Node 18.0.0 requirement, or Hook System (5 events) references under README.md docs package.json

Not-tested: Full docs build
2026-06-09 15:04:51 -07:00
Alex Newman 36b0929fae Server-beta: Postgres storage + independent runtime + BullMQ queue (Phases 1–3) (#2351)
* Add server beta runtime foundation

* Address server beta review findings

* Resolve server beta review comments

* Tighten server beta review follow-ups

* Harden server beta auth and search

* Avoid unnecessary FTS rebuilds

* Block scoped keys from creating projects

* Release BullMQ claims best effort on close

* Address server beta review blockers

* Reset BullMQ claims best effort

* Add Postgres observation storage foundation

* feat(server-beta): add independent runtime service

Introduce src/server/runtime/ as a self-contained server-beta runtime
that owns its lifecycle, Postgres bootstrap, and HTTP boundary without
depending on WorkerService.

ServerBetaService wraps the existing Server class, exposes
/healthz and /v1/info with runtime="server-beta", and persists state
to dedicated paths (.server-beta.pid|.port|.runtime.json). The four
boundary managers (queue, generation worker, provider registry, event
broadcaster) are intentionally disabled in this phase and report their
status through /v1/info; later phases activate them.

Adds plans/2026-05-07-finish-bullmq-branch-ship-plan.md to track the
remaining work for this branch.

Phase 2 of plans/2026-05-07-server-beta-independent-bullmq-observation-runtime.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(server-beta): route CLI lifecycle and bundle separate runtime

scripts/build-hooks.js now produces plugin/scripts/server-beta-service.cjs
as a separate Node CJS bundle, alongside the existing worker-service
bundle. The server-beta runtime is now installable independently.

src/npx-cli/commands/server.ts routes start|stop|restart|status to the
server-beta lifecycle instead of the legacy worker. The worker keeps its
own start|stop|restart|status under the worker namespace; the two
runtimes can be operated independently.

src/services/worker-service.ts adds a server-* command parser branch
that delegates to the sibling server-beta-service.cjs bundle so
direct worker-service invocations still route to the right runtime.

tests/npx-cli-server-namespace.test.ts updated to expect server-beta
lifecycle routing.

Includes rebuilt plugin/scripts/*.cjs bundles produced by
build-and-sync.

Phase 2 of plans/2026-05-07-server-beta-independent-bullmq-observation-runtime.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(server-beta): add BullMQ job queue primitives

Introduce src/server/jobs/ as the queue-side primitives that Phase 3 of
the server-beta runtime needs to operate.

types.ts defines a discriminated union over the four job kinds (event,
event-batch, summary, reindex) and maps each to a per-kind BullMQ queue
name and deterministic-ID prefix.

job-id.ts builds deterministic, colon-free BullMQ jobIds from
(kind, team, project, source). The colon ban exists because BullMQ uses
':' as a Redis key separator internally; embedding ':' in jobIds
breaks scan and state lookups.

ServerJobQueue.ts is a thin wrapper over BullMQ Queue + Worker that
enforces autorun:false, default concurrency 1, and an attached error
listener — all per BullMQ docs requirements. Test seams accept queue
and worker factories so unit tests do not need Redis.

outbox.ts publishes through the Postgres ObservationGenerationJob
repository as canonical history. enqueueOutbox writes the row first,
then publishes to BullMQ; if BullMQ throws, the row is transitioned to
failed and a failed event is appended. reconcileOnStartup re-enqueues
queued + processing rows after a restart, replacing terminal BullMQ
jobs that may still be holding the deterministic ID slot. markCompleted
and markFailed wrap transitionStatus and append the matching event row.

Includes 20 unit tests covering deterministic ID stability, colon-free
output, queue lifecycle, error-listener attachment, double-start
refusal, idempotent enqueue, BullMQ failure rollback, startup
reconciliation, max-attempts skipping, and completion / failure /
retry transitions.

Phase 3 commit 1 of plans/2026-05-07-server-beta-independent-bullmq-observation-runtime.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* feat(server-beta): activate queue boundary in runtime service

Wire ActiveServerBetaQueueManager into the server-beta runtime graph.
The active manager owns one ServerJobQueue per generation kind (event,
event-batch, summary, reindex) and surfaces lane metadata through
boundary health.

Selection is opt-in and fail-fast: if CLAUDE_MEM_QUEUE_ENGINE is set to
bullmq the active manager is constructed (and any Redis/config error
throws — no silent fallback to SQLite, per Phase 3 anti-pattern guard).
For any other engine the disabled boundary remains so worker-era and
test setups stay compatible.

Widens ServerBetaBoundaryHealth.status to a discriminated union
('disabled' | 'active' | 'errored') with optional details. The disabled
adapter still emits status='disabled', which keeps the existing
server-beta-service test green.

ServerBetaService receives the manager through a new optional
queueManager field on CreateServerBetaServiceOptions so test graphs
and Phase 4 wiring can inject custom managers.

Adds tests/server/runtime/active-queue-manager.test.ts covering bullmq
guard, active health shape, per-kind queue access, close behavior, and
post-close errored health.

Phase 3 commit 2 of plans/2026-05-07-server-beta-independent-bullmq-observation-runtime.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(server-beta): cap /v1/events/batch at 500 events

Prevents unbounded array DoS surface flagged in PR review.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 01:20:07 -07:00
Aviral Arora f44605658d docs: add CLAUDE_MEM_MODE documentation for language and modes (fix #… (#1777)
* docs: add CLAUDE_MEM_MODE documentation for language and modes (fix #1767)

* docs: fix markdown formatting for CLAUDE_MEM_MODE section

* docs: fix markdown code block formatting properly

* docs: fix markdown issues in modes section

* docs: fix markdown spacing and table note formatting

* Update README.md

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* docs: fix markdown

* docs: fix markdown issues in modes

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-04-15 00:58:05 -07:00
Suryansh Rohil d64c252f4d Update: Updated readme for opencode installation (#1765) 2026-04-15 00:57:54 -07:00
Alex Newman c7c68e81f4 fix: address 10 unresolved PR review threads
- README: add language specifier to fenced code block
- paths.ts: guard npmPackageRootDirectory() against bundle structure drift
- OpenCodeInstaller: resolve bundle from import.meta.url, not process.cwd()
- OpenCodeInstaller: log warnings on AGENTS.md injection failures
- WindsurfHooksInstaller: key registry by full workspace path, not basename
- uninstall.ts: poll health endpoint to wait for worker exit before file deletion
- uninstall.ts: call IDE-specific uninstallers (Gemini, Windsurf, OpenCode, OpenClaw, Codex)
- opencode-plugin: cap session tracking Map at 1000 entries with LRU eviction
- GeminiCliHooksInstaller: document intentional JSON double-escaping

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 14:45:53 -07:00
Alex Newman 76a880a3d6 feat: update install CLI, ESM compat, and Gemini CLI docs
Fixes CursorHooksInstaller ESM compatibility, updates install command
with improved path resolution, and refreshes built plugin artifacts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 12:38:45 -07:00
Alex Newman 88636ec012 feat: remove old installer, update docs to npx claude-mem
Removes installer/ directory (16 files) — fully replaced by src/npx-cli/.
Updates install.sh and installer.js to redirect to npx claude-mem.
Adds npx claude-mem as primary install method in docs and README.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 23:02:18 -07:00
Alex Newman 9e7b08445f Add table for project preview and star history 2026-03-17 14:48:16 -07:00
Alex Newman 033c1c4503 Restore Star History section in README
Reintroduced the Star History section with updated HTML structure.
2026-03-17 14:44:23 -07:00
Alex Newman 8d74031213 Remove Star History Chart from README
Removed Star History Chart image from README.
2026-03-17 14:43:38 -07:00
Alex Newman 3bc3697648 Enhance README with star history section
Added star history chart and image to README.
2026-03-17 14:43:07 -07:00
Alex Newman 4d7b29786b Add Star History section to README
Added Star History section with a chart link.
2026-03-17 14:41:54 -07:00
Alex Newman 4c697899e0 Update README to reflect changes in $CMEM information
Removed outdated links and added information about the $CMEM token.
2026-03-16 23:56:17 -07:00
Alex Newman ef0a07f606 Update official links in README.md (#1381) 2026-03-16 23:40:25 -07:00
Alex Newman 7966c6cba9 fix: rename save_memory and fix MCP search instructions + startup hook (#1210)
* fix: rename save_memory to save_observation and fix MCP search instructions

Stop the primary agent from proactively saving memories by renaming
save_memory to save_observation with a neutral description. Remove
"Saving Memories" section from SKILL.md. Update context formatters
and output styles to reference the mem-search skill instead of raw
MCP tool names.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: split SessionStart hooks so smart-install failure doesn't block worker start

smart-install.js and worker-start were in the same hook group, so if
smart-install exited non-zero the worker never started. Split into
separate hook groups so they run independently.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: worker startup waits for readiness before hooks fire

Move initializationCompleteFlag to set after DB/search init (not MCP),
add waitForReadiness() polling /api/readiness, and extract shared
pollEndpointUntilOk helper to DRY up health/readiness checks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 03:30:31 -05:00
Christopher Cupas 8d6581ea13 Add Tagalog (tl) README translation (#1043)
* Add Tagalog (tl) README translation

Add a Tagalog translation of the project README at docs/i18n/README.tl.md and update the top-level README.md to include a link to the new Tagalog entry in the language list. The new file provides a full Tagalog version of the documentation (auto-translation) to make the project more accessible to Tagalog speakers.

* Add separator after French link in READMEs

Add the missing separator (•) after the French language link in README.md and docs/i18n/README.tl.md to keep the language lists consistently formatted and improve readability.
2026-02-16 00:41:00 -05:00
Miguel Carneiro 59169a221d Create pt-pt.md (#1051)
* Create pt-pt.md

* Update and rename pt-pt.md to pt.md

According to Adão pt means portugal, so no need for pt pt, unless it means Portuguese from Porto, Portus Calle

* Update README.md
2026-02-16 00:40:57 -05:00
Glucksberg 8287ad960a docs: clarify that npm global install is SDK-only, not plugin setup (#1103)
Users may assume `npm install -g claude-mem` sets up the full plugin,
but it only installs the SDK/library. Added a note to both the README
and the installation guide making this distinction explicit.

Co-authored-by: Markus <glucksberg89@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 00:25:45 -05:00
Alex Newman f435ae32ce docs: update openclaw install URLs to install.cmem.ai
Replace raw.githubusercontent.com URLs with install.cmem.ai/openclaw.sh
across install script, SKILL.md, and docs. Add OpenClaw section with
install one-liner to README.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 01:46:49 -05:00
Alex Newman 98920bd860 MAESTRO: Merge PR #662 - Add save_memory MCP tool for manual memory storage
Adds save_memory MCP tool allowing users to manually save observations
for semantic search. Source changes cherry-picked from PR #662 by
@darconada (build artifact conflicts resolved by direct application).

Closes #645.

Co-Authored-By: darconadalabarga <darconada@arsys.es>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 04:13:44 -05:00
Kamran Khalid 7b08c94bdb docs: add Windows setup note for npm not recognized error 2026-02-06 02:42:32 -05:00
Yasir Ali 583a76b150 feat: Add Urdu language support 2026-02-06 02:40:14 -05:00
Peter Dave Hello 05d65ed797 i18n: add Traditional Chinese (zh-TW) README translation
- Add docs/i18n/README.zh-tw.md with Taiwan Traditional Chinese translation
- Update language links in README.md and all i18n translations
- Add 🇹🇼 繁體中文 link after 🇨🇳 中文 in language selector
2026-02-06 02:37:42 -05:00
dingben.db@bytedance.com 596f0ad16c docs: update documentation links to official website
- Update documentation links to point to https://docs.claude-mem.ai/
- Localize 'Browse on official website' text in all i18n README files
2026-02-06 02:34:36 -05:00
Leonardo Scappatura c56e0ae7f8 Fix formatting in README for plugin commands 2026-02-06 02:25:29 -05:00
Alex Newman 901cff909e docs: add official X account and Discord link to README 2026-01-15 00:52:01 -05:00
Alex Newman c314946204 Update README with $CMEM links and contract address (#705)
Added official links and contract address for $CMEM.
2026-01-13 21:35:50 -05:00