This extension also runs in Cursor. Install it from the OpenVSX registry (Cursor's default extension search) or via the .vsix from GitHub releases.
Configuration
Setting
Default
Description
operator.webhookPort
7009
Port for webhook server
operator.autoStart
true
Start server on VS Code launch
operator.terminalPrefix
op-
Prefix for managed terminal names
Commands
Operator: Start Webhook Server - Start the webhook server
Operator: Stop Webhook Server - Stop the webhook server
Operator: Show Server Status - Display server status and terminal count
API Endpoints
The extension exposes a local HTTP API for Operator to manage terminals:
Endpoint
Method
Description
GET /health
GET
Server health check
POST /terminal/create
POST
Create a new terminal
POST /terminal/:name/send
POST
Send command to terminal
POST /terminal/:name/show
POST
Reveal terminal (keep focus)
POST /terminal/:name/focus
POST
Focus terminal (take focus)
DELETE /terminal/:name/kill
DELETE
Dispose terminal
GET /terminal/:name/exists
GET
Check if terminal exists
GET /terminal/:name/activity
GET
Get idle/running state
GET /terminal/list
GET
List all managed terminals
Requirements
VS Code 1.85.0 or later
Operator CLI (for full functionality)
Development
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Watch for changes
npm run watch
# Run linter
npm run lint
# Run tests
npm test
# Package extension
npm run package