Prerequisites
- Entire CLI installed
- Cursor IDE or Cursor CLI installed
- A Git repository with Entire enabled
How It Works
Entire integrates with Cursor through hook configuration in.cursor/hooks.json. When you enable Entire with Cursor, hooks are installed automatically:
- 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
Captured Data
| 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 |
Cursor IDE vs Cursor CLI
Entire supports both Cursor interfaces. Choose Cursor IDE for traditional development workflows and Cursor CLI for scripted tasks, parallel processing, or terminal-first development.Features
Session Capture
Entire automatically captures both the conversation flow and file modifications:Explain Commits
View or generate explanations of how code was written:| Flag | Description |
|---|---|
-c, --checkpoint <id> | Explain a specific checkpoint (ID or prefix) |
--commit <sha> | Explain a specific commit (SHA or ref) |
--full | Show full parsed transcript (all prompts/responses) |
-s, --short | Show summary only (omit prompts and files) |
Important Caveats
No Rewind/resume Support
Rewind and resume are not available for Cursor sessions. You can use other Entire commands (status, doctor, explain, disable), but cannot restore to previous checkpoints. Plan your commits carefully as you cannot undo changes via entire rewind.
No Token Accounting
Cursor transcripts do not include token usage data (unlike Claude Code). Token calculation is unavailable for Cursor sessions. 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 ongit 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
- The file change detection is accurate but less granular than Claude Code
Context Attachment Differences
When using Cursor CLI, the@ syntax for attaching files/folders as context does not behave identically to the IDE:
- IDE: @ mentions work through the AI chat interface for context selection
- CLI: @ syntax may require different handling; check Cursor CLI documentation for current behavior
Best Practices
Commit at Logical Points
Create checkpoints at natural stopping points:- After implementing a feature
- Before making major changes
- When you’d want to document progress
Review Sessions in PRs
Share session context in pull request reviews:- Create a PR
- Commits include
Entire-Checkpointtrailers - Reviewers can click to view session details
- Understanding why code was written helps with review
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
Limitations
- Rewind is not available - cannot restore to previous checkpoints
- No token accounting - transcripts don’t include token usage data
- File detection is git-based - relies on
git statusrather than transcript analysis - No detailed tool records - unlike Claude Code, tool invocation details are limited
- Integration is in preview - may contain rough edges or undocumented behavior