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