Cursor Collaboration Extension
Installation
- Install dependencies:
npm install
- Build the extension:
npm run compile
- Package the extension:
vsce package
- Install in Cursor:
- Open Cursor
- Go to Extensions (Ctrl+Shift+X)
- Click "Install from VSIX..."
- Select the generated
.vsix file
Development
For development with watch mode:
npm run watch
Then press F5 in Cursor to launch a new Extension Development Host window.
Configuration
The extension can be configured through Cursor's settings:
cursor-collaboration.relayServerUrl - WebSocket URL for the collaboration server
cursor-collaboration.autoShareDirectories - Directories to automatically share
cursor-collaboration.enablePresence - Show presence indicators
cursor-collaboration.enableSecretRedaction - Automatically redact sensitive patterns
cursor-collaboration.secretPatterns - Patterns to redact from shared files
Usage
- Start a Session: Use
Ctrl+Shift+P and search for "Start Collaboration Session"
- Join a Session: Use
Ctrl+Shift+P and search for "Join Collaboration Session"
- Invite Collaborators: Use
Ctrl+Shift+P and search for "Invite Collaborator"
- End Session: Use
Ctrl+Shift+P and search for "End Collaboration Session"
Features
- Real-time collaborative editing using CRDT (Conflict-free Replicated Data Types)
- Presence indicators showing who's online
- Permission-based access control
- Secure secret sharing with encryption
- Command execution with owner approval
- Session management and invitations
Security
- All communication is encrypted in transit
- Secrets are encrypted at rest
- Permission-based access control
- Rate limiting and abuse prevention
- Session-based authentication
| |