File size: 1,405 Bytes
2a2730a
 
 
 
 
4e47b4d
0d9ba62
 
 
 
 
 
 
 
2a2730a
 
 
 
 
 
 
 
 
 
b149c75
 
bded2d7
0d9ba62
 
 
 
 
 
 
 
 
bded2d7
 
 
 
 
 
 
 
 
2a2730a
 
b149c75
 
 
 
 
 
 
 
2a2730a
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
  "id": "headroom",
  "uiHints": {
    "proxyUrl": {
      "label": "Proxy URL",
      "help": "Optional. URL of a Headroom proxy on localhost (example: http://127.0.0.1:8787). If omitted, plugin auto-detects defaults."
    },
    "proxyPort": {
      "label": "Proxy Port",
      "help": "Default port used for auto-detect/auto-start when proxyUrl is not set (default: 8787)."
    },
    "pythonPath": {
      "label": "Python Path",
      "help": "Optional explicit python executable for python fallback launcher (for example: python, python3, py, or full path)."
    }
  },
  "configSchema": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "enabled": {
        "type": "boolean"
      },
      "proxyUrl": {
        "type": "string",
        "pattern": "^http:\\/\\/(localhost|127\\.0\\.0\\.1)(:\\d+)?$"
      },
      "proxyPort": {
        "type": "integer",
        "minimum": 1,
        "maximum": 65535,
        "default": 8787
      },
      "pythonPath": {
        "type": "string"
      },
      "autoStart": {
        "type": "boolean",
        "default": true
      },
      "startupTimeoutMs": {
        "type": "integer",
        "minimum": 1000,
        "maximum": 120000,
        "default": 20000
      }
    }
  },
  "capabilities": {
    "network": {
      "allow": [
        "http://localhost:*",
        "http://127.0.0.1:*"
      ]
    }
  }
}