Cursor is an AI-powered code editor available as both an IDE and a command-line agent. Entire integrates with Cursor through its hook system, capturing sessions and checkpoints across both interfaces. The Cursor integration is in preview and may contain bugs.Documentation Index
Fetch the complete documentation index at: https://docs.entire.io/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Entire CLI installed
- Cursor IDE or Cursor CLI installed
- A Git repository with Entire enabled
Enable
How it works
How it works
Entire integrates with Cursor through hook configuration in
.cursor/hooks.json. Both Cursor IDE and Cursor CLI are supported — choose the IDE for traditional development workflows or the CLI for scripted tasks, parallel processing, or terminal-first development.The hooks track the full session lifecycle:- Session Start — fires when Cursor launches, creating a new Entire session.
- Prompt Tracking —
before-submit-prompthook captures each prompt submission. - Subagent Tracking —
subagent-startandsubagent-stophooks track nested agent operations. - Session End — fires when Cursor exits, finalizing the session.
- Compaction —
pre-compacthook triggers before session data compaction. - Transcript Capture — session transcript is read from Cursor’s JSONL log files.
- Session Storage — data saved to the
entire/checkpoints/v1branch.
What gets captured
What gets captured
| Data | Description |
|---|---|
| Conversation | Full transcript of prompts and responses |
| File changes | All files modified during the session |
| Subagent calls | Nested agent invocations and operations |
| Timestamps | Session, message, and checkpoint timing |
Features
Features
Session capture. Entire automatically captures the conversation flow and file modifications when Cursor launches. Run
entire status from a separate terminal to see active sessions.Explain commits. Inspect any commit or checkpoint with entire checkpoint explain. See the explain command reference for full flag documentation.Rewind and resume are not supported — see the warning above and the caveats below.Caveats and limitations
Caveats and limitations
No rewind or resume. Cannot restore to previous checkpoints; cannot resume previous sessions.No token accounting. Cursor transcripts do not include token usage data (unlike Claude Code). You can still see the conversation and file changes, but not the computational cost.File detection via
git status. Cursor’s transcript format lacks detailed tool invocation records, so modified file detection relies on git status instead of transcript analysis. This means files must be committed or staged to be tracked, file modifications not in git are not captured in transcripts, and the file change detection is accurate but less granular than Claude Code.Context attachment differences (CLI). When using Cursor CLI, the @ syntax for attaching files/folders as context does not behave identically to the IDE. The IDE’s @ mentions work through the AI chat interface for context selection; the CLI may require different handling — check Cursor CLI documentation for current behavior.No detailed tool records. Tool invocation details are limited compared to Claude Code.Preview integration. May contain rough edges or undocumented behavior.Best practices
Best practices
Commit at logical points. Create checkpoints at natural stopping points: after implementing a feature, before making major changes, or when you’d want to document progress. Especially important since rewind is not available.Review sessions in PRs. Commits include
Entire-Checkpoint trailers. Reviewers can click through to view session details — understanding why code was written helps with review.Example workflow
Example workflow
With Cursor IDE:With Cursor CLI:
Troubleshooting
Session not being captured
Session not being captured
- Verify Entire is enabled:
entire status - Check that hooks are installed:
cat .cursor/hooks.json - Ensure Cursor is running from within the repository
- For Cursor CLI, verify the process exits cleanly to trigger session-end hook
No checkpoints created
No checkpoints created
- Checkpoints require file changes — ensure Cursor is modifying files
- Changes must be staged or committed (git status is used for detection)
- Check your settings in
.entire/settings.json - Verify the
.cursor/hooks.jsonhooks are present
Transcript not captured
Transcript not captured
- Ensure Cursor’s session storage exists (check
~/.cursor/directory) - Verify JSONL transcript files are being written by Cursor
- Check that the session completed normally (session-end hook must fire)
- Look for errors in Entire hook output with
entire doctor
File changes not showing in transcript
File changes not showing in transcript
This is expected behavior for Cursor. Since transcripts lack tool_use blocks, file detection relies on
git status. Make sure to:- Stage or commit your changes with
git addandgit commit - Run
entire statusto verify files are detected - Review actual file changes in
git diffif transcript shows nothing
Context not attached (CLI)
Context not attached (CLI)
When using Cursor CLI, @ mentions for file context may not work identically to the IDE:
- Check Cursor CLI documentation for current context attachment syntax
- Consider using environment variables or configuration files for context
- Include relevant files in your initial prompt text instead of @ mentions