[
  {
    "id": "skip-main",
    "label": "Skip to main content",
    "selector": "[data-testid=\"skip-main\"]",
    "method": "CLIENT",
    "endpoint": "#main",
    "params": [],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "view-switch-human",
    "label": "Human canvas",
    "selector": "[data-testid=\"view-switch-human\"]",
    "method": "GET",
    "endpoint": "/app",
    "params": ["ccai.view"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "view-switch-agent",
    "label": "Agent view",
    "selector": "[data-testid=\"view-switch-agent\"]",
    "method": "GET",
    "endpoint": "/agent",
    "params": ["ccai.view"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "nav-computers",
    "label": "Computers",
    "selector": "[data-testid=\"menu-computers\"]",
    "method": "GET",
    "endpoint": "/agent#computers",
    "params": [],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "nav-launch",
    "label": "Launch computer",
    "selector": "[data-testid=\"menu-launch\"]",
    "method": "GET",
    "endpoint": "/agent#launch",
    "params": [],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "nav-templates",
    "label": "Templates",
    "selector": "[data-testid=\"menu-templates\"]",
    "method": "GET",
    "endpoint": "/agent#templates",
    "params": [],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "nav-backups",
    "label": "Backups",
    "selector": "[data-testid=\"menu-backups\"]",
    "method": "GET",
    "endpoint": "/agent#backups",
    "params": [],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "nav-billing",
    "label": "Billing/Usage",
    "selector": "[data-testid=\"menu-billing\"]",
    "method": "GET",
    "endpoint": "/agent#billing",
    "params": [],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "nav-settings",
    "label": "Settings",
    "selector": "[data-testid=\"menu-settings\"]",
    "method": "GET",
    "endpoint": "/agent#settings",
    "params": [],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "nav-api",
    "label": "API & tokens",
    "selector": "[data-testid=\"menu-api\"]",
    "method": "GET",
    "endpoint": "/agent#api",
    "params": [],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "nav-activity",
    "label": "Activity log",
    "selector": "[data-testid=\"menu-activity\"]",
    "method": "GET",
    "endpoint": "/agent#activity",
    "params": [],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "nav-help",
    "label": "Help/llms.txt",
    "selector": "[data-testid=\"menu-help\"]",
    "method": "GET",
    "endpoint": "/agent#help",
    "params": [],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "computer-open",
    "label": "Open desktop",
    "selector": "[data-testid^=\"computer-open-\"]",
    "method": "GET",
    "endpoint": "/agent#desktop/:id",
    "params": ["id"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "computer-start",
    "label": "Start",
    "selector": "[data-testid^=\"computer-start-\"]",
    "method": "POST",
    "endpoint": "/api/computers/:id/start",
    "params": ["id"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "computer-stop",
    "label": "Stop",
    "selector": "[data-testid^=\"computer-stop-\"]",
    "method": "POST",
    "endpoint": "/api/computers/:id/stop",
    "params": ["id"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "computer-screenshot",
    "label": "Screenshot",
    "selector": "[data-testid^=\"computer-screenshot-\"]",
    "method": "GET",
    "endpoint": "/api/computers/:id/screenshot",
    "params": ["id"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "computer-delete",
    "label": "Delete",
    "selector": "[data-testid^=\"computer-delete-\"]",
    "method": "DELETE",
    "endpoint": "/api/computers/:id",
    "params": ["id"],
    "destructive": true,
    "requiresConfirmation": true
  },
  {
    "id": "confirm-cancel",
    "label": "Cancel delete",
    "selector": "[data-testid=\"confirm-cancel\"]",
    "method": "CLIENT",
    "endpoint": null,
    "params": [],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "confirm-delete",
    "label": "Confirm delete",
    "selector": "[data-testid=\"confirm-delete\"]",
    "method": "DELETE",
    "endpoint": "/api/computers/:id",
    "params": ["id"],
    "destructive": true,
    "requiresConfirmation": true
  },
  {
    "id": "launch-submit",
    "label": "Launch",
    "selector": "[data-testid=\"launch-submit\"]",
    "method": "POST",
    "endpoint": "/api/computers",
    "params": ["name", "templateId", "provider", "size", "vcpu", "memoryMb", "ttlHours", "disclosureAck", "services"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "list_services",
    "label": "List services",
    "selector": "[data-testid=\"list-services\"]",
    "method": "GET",
    "endpoint": "/api/services",
    "params": ["id"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "add_service",
    "label": "Add service",
    "selector": "[data-testid=\"add-service-btn\"]",
    "method": "POST",
    "endpoint": "/api/computers/:id/services",
    "params": ["id", "serviceId"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "template-launch",
    "label": "Launch this template",
    "selector": "[data-testid^=\"template-launch-\"]",
    "method": "GET",
    "endpoint": "/agent#launch",
    "params": ["templateId"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "backups-refresh",
    "label": "Refresh backup status",
    "selector": "[data-testid=\"backups-refresh\"]",
    "method": "GET",
    "endpoint": "/api/computers/:id/backup-status",
    "params": ["id"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "billing-refresh",
    "label": "Refresh billing",
    "selector": "[data-testid=\"billing-refresh\"]",
    "method": "GET",
    "endpoint": "/api/workspace",
    "params": [],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "settings-view-human",
    "label": "Prefer human canvas",
    "selector": "[data-testid=\"settings-view-human\"]",
    "method": "CLIENT",
    "endpoint": "localStorage:ccai.view",
    "params": ["ccai.view"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "settings-view-agent",
    "label": "Prefer agent view",
    "selector": "[data-testid=\"settings-view-agent\"]",
    "method": "CLIENT",
    "endpoint": "localStorage:ccai.view",
    "params": ["ccai.view"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "api-human-settings",
    "label": "Open human canvas settings",
    "selector": "[data-testid=\"api-human-settings\"]",
    "method": "GET",
    "endpoint": "/app?view=human",
    "params": [],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "desktop-refresh",
    "label": "Refresh screenshot",
    "selector": "[data-testid=\"desktop-refresh\"]",
    "method": "GET",
    "endpoint": "/api/computers/:id/screenshot",
    "params": ["id"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "desktop-open-tab",
    "label": "Open in new tab",
    "selector": "[data-testid=\"open-desktop-new-tab\"]",
    "method": "GET",
    "endpoint": "/api/computers/:id/stream",
    "params": ["id"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "desktop-screen-text",
    "label": "Refresh text",
    "selector": "[data-testid=\"screen-text-refresh\"]",
    "method": "GET",
    "endpoint": "/api/computers/:id/screen-text",
    "params": ["id"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "desktop-screen-text-copy",
    "label": "Copy screen text",
    "selector": "[data-testid=\"screen-text-copy\"]",
    "method": "CLIENT",
    "endpoint": null,
    "params": [],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "desktop-click",
    "label": "Click at",
    "selector": "[data-testid=\"desktop-click-submit\"]",
    "method": "POST",
    "endpoint": "/api/computers/:id/click",
    "params": ["id", "x", "y", "button"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "desktop-type",
    "label": "Type text",
    "selector": "[data-testid=\"desktop-type-submit\"]",
    "method": "POST",
    "endpoint": "/api/computers/:id/type",
    "params": ["id", "text"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "desktop-key",
    "label": "Send key",
    "selector": "[data-testid=\"desktop-key-submit\"]",
    "method": "POST",
    "endpoint": "/api/computers/:id/key",
    "params": ["id", "key"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "desktop-scroll",
    "label": "Scroll",
    "selector": "[data-testid=\"desktop-scroll-submit\"]",
    "method": "POST",
    "endpoint": "/api/computers/:id/scroll",
    "params": ["id", "direction", "amount"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "desktop-bash",
    "label": "Run command",
    "selector": "[data-testid=\"desktop-bash-submit\"]",
    "method": "POST",
    "endpoint": "/api/computers/:id/bash",
    "params": ["id", "command"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "desktop-novnc",
    "label": "Open interactive desktop (noVNC) in human canvas",
    "selector": "[data-testid=\"desktop-novnc\"]",
    "method": "GET",
    "endpoint": "/app?view=human",
    "params": [],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "signin-link",
    "label": "Sign in on the human canvas",
    "selector": "[data-testid=\"signin-link\"]",
    "method": "GET",
    "endpoint": "/app",
    "params": [],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "mcp",
    "label": "MCP server",
    "selector": "[data-testid=\"menu-api\"]",
    "method": "POST",
    "endpoint": "/mcp",
    "params": ["Authorization"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "openapi",
    "label": "OpenAPI",
    "selector": "[data-testid=\"api-doc-openapi\"]",
    "method": "GET",
    "endpoint": "/openapi.json",
    "params": [],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "list-services",
    "label": "List services",
    "selector": "[data-testid=\"list-services\"]",
    "method": "GET",
    "endpoint": "/api/services",
    "params": ["id"],
    "destructive": false,
    "requiresConfirmation": false
  },
  {
    "id": "add-service-btn",
    "label": "Add service",
    "selector": "[data-testid=\"add-service-btn\"]",
    "method": "POST",
    "endpoint": "/api/computers/:id/services",
    "params": ["id", "serviceId"],
    "destructive": false,
    "requiresConfirmation": false
  }
]
