Skip to content

feat(use-case): Cursor agent hooks for local EverOS memory - #319

Open
Ayush7614 wants to merge 1 commit into
EverMind-AI:mainfrom
Ayush7614:feat/use-case-cursor-agent-memory
Open

Ayush7614 wants to merge 1 commit into
EverMind-AI:mainfrom
Ayush7614:feat/use-case-cursor-agent-memory

Conversation

@Ayush7614

@Ayush7614 Ayush7614 commented Jun 30, 2026 •

Copy link
Copy Markdown

Summary

  • Add use-cases/cursor-agent-memory/ — a minimal Cursor Agent hooks integration for the EverOS 1.0 local HTTP API.
  • sessionStart: search EverOS and inject recalled memory as additional_context.
  • stop: read the composer transcript and append the latest turn via POST /api/v1/memory/add.
  • sessionEnd: POST /api/v1/memory/flush to extract the session into Markdown-backed memory.
  • Includes stdlib-only hooklib/ helpers, install.sh, env.example, README, and 9 unit tests.

Closes #318.

Test plan

  • uv run pytest tests/unit/test_use_cases/ -q (9 passed)
  • make ci (lint + unit + integration + package)

Notes

  • Uses EverOS 1.0 routes (/api/v1/memory/*), not the legacy cloud plugin API.
  • Per-prompt recall is limited by Cursor hook capabilities today; recall runs at session start. Documented in the README.
Introduce use-cases/cursor-agent-memory with sessionStart recall,
stop save, and sessionEnd flush hooks against the EverOS 1.0 HTTP API,
plus unit tests for the shared hooklib helpers.

Closes EverMind-AI#318.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant