Skip to content

feat(cursor): add Hindsight memory plugin for Cursor#866

Draft
DK09876 wants to merge 2 commits intomainfrom
feat/cursor-integration
Draft

feat(cursor): add Hindsight memory plugin for Cursor#866
DK09876 wants to merge 2 commits intomainfrom
feat/cursor-integration

Conversation

@DK09876
Copy link
Copy Markdown
Contributor

@DK09876 DK09876 commented Apr 3, 2026

Summary

  • Adds a complete Cursor integration using the plugin architecture (hooks, skills, rules)
  • Auto-recall via beforeSubmitPrompt hook injects relevant memories as additionalContext
  • Auto-retain via stop hook captures conversation transcripts to Hindsight
  • Includes on-demand hindsight-recall skill and hindsight-memory rule
  • Full lib/ directory (config, bank, state, daemon, client, content, llm) — modeled after claude-code
  • 41 tests covering config loading, bank derivation, content processing, hook behavior, and manifest validation
  • CI job (test-cursor-integration) with change detection
  • Added to VALID_INTEGRATIONS in release script

Test plan

  • All 41 tests pass locally (python -m pytest tests/ -v)
  • CI passes on this PR
  • Manual smoke test: install plugin in Cursor, verify recall/retain work end-to-end

🤖 Generated with Claude Code

DK09876 and others added 2 commits April 3, 2026 11:42
Adds a complete Cursor integration using the plugin architecture
(hooks, skills, rules). Automatically recalls relevant memories
before each prompt and retains conversation transcripts on task
completion. Modeled after the claude-code integration with
Cursor-specific adaptations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant