@usex/mikrotik-mcp 5.19.0 → 5.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/README.md +172 -8
  2. package/dist/cli.js +2751 -679
  3. package/dist/index.js +148 -27
  4. package/dist/shared/{library-7wcv2ckk.js → library-73y8qdjr.js} +2231 -540
  5. package/dist/shared/{library-tqrvrykj.js → library-76naf20r.js} +1 -1
  6. package/dist/shared/{library-ppnv0f07.js → library-81amv3az.js} +1 -1
  7. package/dist/shared/{library-z7qsdq88.js → library-krajvnj9.js} +1 -1
  8. package/dist/shared/{library-f3be6g03.js → library-y9tt30y1.js} +1 -1
  9. package/dist/ui/aaa.html +8 -8
  10. package/dist/ui/connected-devices.html +8 -8
  11. package/dist/ui/dashboard.html +16 -16
  12. package/dist/ui/fabric.html +11 -11
  13. package/dist/ui/firewall-audit.html +8 -8
  14. package/dist/ui/firewall.html +9 -9
  15. package/dist/ui/interfaces.html +8 -8
  16. package/dist/ui/investigations.html +11 -11
  17. package/dist/ui/observability.html +63 -61
  18. package/dist/ui/operations.html +11 -11
  19. package/dist/ui/records.html +12 -12
  20. package/dist/ui/reports.html +11 -11
  21. package/dist/ui/round-trip.html +11 -11
  22. package/dist/ui/service-health.html +11 -11
  23. package/package.json +22 -22
  24. package/prompts/audit-routeros-containers.md +27 -0
  25. package/prompts/audit-vlan-segmentation.md +31 -0
  26. package/prompts/setup-guest-wifi.md +23 -24
  27. package/prompts/setup-routeros-container.md +36 -0
  28. package/prompts/setup-v2ray-container-proxy.md +68 -194
  29. package/prompts/setup-vlan-network.md +27 -33
  30. package/schemas/README.md +1 -1
  31. package/schemas/devtools-manifest.json +287 -16
  32. package/schemas/tool-catalog.json +785 -109
  33. package/schemas/tools/add_container.json +42 -30
  34. package/schemas/tools/add_container_env.json +3 -4
  35. package/schemas/tools/add_container_mount.json +10 -4
  36. package/schemas/tools/apply_service_routing.json +23 -0
  37. package/schemas/tools/arm_service_routing.json +23 -0
  38. package/schemas/tools/configure_flight_recorder.json +30 -0
  39. package/schemas/tools/create_service_routing.json +78 -0
  40. package/schemas/tools/design_network_segment.json +22 -6
  41. package/schemas/tools/destroy_recovery_lab.json +18 -0
  42. package/schemas/tools/export_network_incident.json +14 -0
  43. package/schemas/tools/freeze_network_incident.json +14 -0
  44. package/schemas/tools/get_container.json +11 -4
  45. package/schemas/tools/get_flight_recorder.json +7 -0
  46. package/schemas/tools/get_recovery_lab.json +7 -0
  47. package/schemas/tools/get_routeros_container_guide.json +22 -0
  48. package/schemas/tools/get_vlan_segmentation_guide.json +14 -0
  49. package/schemas/tools/list_container_envs.json +1 -1
  50. package/schemas/tools/list_container_mounts.json +7 -2
  51. package/schemas/tools/list_containers.json +2 -4
  52. package/schemas/tools/list_service_routing.json +7 -0
  53. package/schemas/tools/poll_recovery_lab.json +14 -0
  54. package/schemas/tools/prepare_recovery_lab.json +23 -0
  55. package/schemas/tools/preview_service_routing.json +23 -0
  56. package/schemas/tools/probe_service_routing.json +14 -0
  57. package/schemas/tools/recovery_lab_inventory.json +7 -0
  58. package/schemas/tools/remove_container.json +11 -4
  59. package/schemas/tools/remove_container_env.json +7 -3
  60. package/schemas/tools/remove_container_mount.json +18 -2
  61. package/schemas/tools/service_routing_inventory.json +7 -0
  62. package/schemas/tools/set_container_config.json +4 -6
  63. package/schemas/tools/start_container.json +11 -4
  64. package/schemas/tools/start_recovery_lab.json +18 -0
  65. package/schemas/tools/stop_container.json +11 -4
  66. package/schemas/tools/update_container.json +46 -6
  67. /package/dist/shared/{cli-j07tbrke.js → cli-426pkqe9.js} +0 -0
  68. /package/dist/shared/{cli-y00nwzxx.js → cli-6wdstvdq.js} +0 -0
  69. /package/dist/shared/{cli-s0rxncz4.js → cli-cvt06346.js} +0 -0
  70. /package/dist/shared/{cli-gtq5bw8q.js → cli-z1kavk0z.js} +0 -0
@@ -3,91 +3,103 @@
3
3
  "title": "add_container",
4
4
  "type": "object",
5
5
  "properties": {
6
- "name": {
7
- "description": "Container name (recommended for management)",
8
- "type": "string"
9
- },
10
- "remote_image": {
11
- "description": "Registry image, e.g. 'library/alpine:latest'",
12
- "type": "string"
13
- },
14
- "file": {
15
- "description": "Local Docker-v1 tar on the device (alternative to remote_image)",
16
- "type": "string"
17
- },
18
6
  "interface": {
19
- "description": "VETH interface name",
20
- "type": "string"
7
+ "type": "string",
8
+ "minLength": 1,
9
+ "description": "Previously configured VETH"
21
10
  },
22
11
  "root_dir": {
23
- "description": "Filesystem root, e.g. 'disk1/myapp'",
24
- "type": "string"
12
+ "type": "string",
13
+ "minLength": 1,
14
+ "description": "Dedicated root path on verified storage"
25
15
  },
26
16
  "env": {
27
- "description": "Inline env vars: 'K=v,K2=v2' (7.21+)",
17
+ "description": "Sensitive inline environment; verify support on the target",
28
18
  "type": "string"
29
19
  },
30
20
  "envlists": {
31
- "description": "Named env list name(s) (add_container_env)",
21
+ "description": "Current CLI named environment lists",
22
+ "type": "string"
23
+ },
24
+ "envlist": {
25
+ "description": "Legacy singular envlist; exclusive with envlists",
32
26
  "type": "string"
33
27
  },
34
28
  "mount": {
35
- "description": "Inline mount: 'src=disk1/data,dst=/data' (7.21+)",
29
+ "description": "Inline mount expression supported by the target; not Docker syntax",
36
30
  "type": "string"
37
31
  },
38
32
  "mountlists": {
39
- "description": "Named mount name(s) (add_container_mount)",
33
+ "description": "Current CLI named mount lists",
34
+ "type": "string"
35
+ },
36
+ "mounts": {
37
+ "description": "Legacy mounts reference; exclusive with mountlists",
40
38
  "type": "string"
41
39
  },
42
40
  "cmd": {
43
- "description": "Override container CMD",
41
+ "description": "Command override; may contain secrets",
44
42
  "type": "string"
45
43
  },
46
44
  "entrypoint": {
47
- "description": "Override container ENTRYPOINT",
45
+ "description": "Entrypoint override; may contain secrets",
48
46
  "type": "string"
49
47
  },
50
48
  "workdir": {
51
- "description": "Override working directory",
52
49
  "type": "string"
53
50
  },
54
51
  "hostname": {
55
52
  "type": "string"
56
53
  },
57
54
  "dns": {
58
- "description": "DNS server for the container",
59
55
  "type": "string"
60
56
  },
61
57
  "user": {
62
58
  "type": "string"
63
59
  },
64
60
  "stop_signal": {
65
- "description": "Signal used to stop the container",
66
61
  "type": "string"
67
62
  },
68
63
  "devices": {
69
- "description": "Pass-through physical devices (7.20+)",
64
+ "description": "Device passthrough; extra privilege requires explicit review",
70
65
  "type": "string"
71
66
  },
72
67
  "cpu_list": {
73
- "description": "CPU core affinity",
74
68
  "type": "string"
75
69
  },
76
70
  "memory_high": {
77
- "description": "RAM limit, e.g. '256M'",
71
+ "description": "Soft memory pressure threshold, not a hard cap",
72
+ "type": "string"
73
+ },
74
+ "memory_max": {
75
+ "description": "Hard memory limit only where supported; can terminate processes",
78
76
  "type": "string"
79
77
  },
80
78
  "logging": {
81
- "description": "Send stdout/stderr to the RouterOS log",
82
79
  "type": "boolean"
83
80
  },
84
81
  "start_on_boot": {
85
- "description": "Auto-start on device boot",
86
82
  "type": "boolean"
87
83
  },
88
84
  "comment": {
89
85
  "type": "string"
86
+ },
87
+ "name": {
88
+ "type": "string",
89
+ "minLength": 1,
90
+ "description": "Unique name for read-back and ambiguous-write recovery"
91
+ },
92
+ "remote_image": {
93
+ "description": "Reviewed architecture-compatible image with pinned version/digest",
94
+ "type": "string",
95
+ "minLength": 1
96
+ },
97
+ "file": {
98
+ "description": "Uploaded Docker/Podman saved image archive supported by the target",
99
+ "type": "string",
100
+ "minLength": 1
90
101
  }
91
102
  },
103
+ "required": ["interface", "root_dir", "name"],
92
104
  "additionalProperties": false
93
105
  }
@@ -5,15 +5,14 @@
5
5
  "properties": {
6
6
  "list": {
7
7
  "type": "string",
8
- "description": "Env-list (group) name, e.g. 'MYAPP'"
8
+ "minLength": 1
9
9
  },
10
10
  "key": {
11
11
  "type": "string",
12
- "description": "Variable name, e.g. 'TZ'"
12
+ "minLength": 1
13
13
  },
14
14
  "value": {
15
- "type": "string",
16
- "description": "Variable value"
15
+ "type": "string"
17
16
  }
18
17
  },
19
18
  "required": ["list", "key", "value"],
@@ -3,19 +3,25 @@
3
3
  "title": "add_container_mount",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "list": {
7
+ "description": "Current CLI mount-list name",
8
+ "type": "string",
9
+ "minLength": 1
10
+ },
6
11
  "name": {
12
+ "description": "Legacy CLI mount name; do not use for current list syntax",
7
13
  "type": "string",
8
- "description": "Mount name, e.g. 'appdata'"
14
+ "minLength": 1
9
15
  },
10
16
  "src": {
11
17
  "type": "string",
12
- "description": "Host source path, e.g. 'disk1/appdata'"
18
+ "minLength": 1
13
19
  },
14
20
  "dst": {
15
21
  "type": "string",
16
- "description": "Container destination path, e.g. '/data'"
22
+ "minLength": 1
17
23
  }
18
24
  },
19
- "required": ["name", "src", "dst"],
25
+ "required": ["src", "dst"],
20
26
  "additionalProperties": false
21
27
  }
@@ -0,0 +1,23 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "apply_service_routing",
4
+ "type": "object",
5
+ "properties": {
6
+ "id": {
7
+ "type": "string",
8
+ "format": "uuid",
9
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
10
+ },
11
+ "planId": {
12
+ "type": "string",
13
+ "format": "uuid",
14
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
15
+ },
16
+ "confirm": {
17
+ "default": false,
18
+ "type": "boolean"
19
+ }
20
+ },
21
+ "required": ["id", "planId", "confirm"],
22
+ "additionalProperties": false
23
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "arm_service_routing",
4
+ "type": "object",
5
+ "properties": {
6
+ "id": {
7
+ "type": "string",
8
+ "format": "uuid",
9
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
10
+ },
11
+ "minutes": {
12
+ "type": "integer",
13
+ "minimum": 0,
14
+ "maximum": 60
15
+ },
16
+ "confirm": {
17
+ "default": false,
18
+ "type": "boolean"
19
+ }
20
+ },
21
+ "required": ["id", "minutes", "confirm"],
22
+ "additionalProperties": false
23
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "configure_flight_recorder",
4
+ "type": "object",
5
+ "properties": {
6
+ "enabled": {
7
+ "type": "boolean"
8
+ },
9
+ "intervalSeconds": {
10
+ "default": 60,
11
+ "type": "integer",
12
+ "minimum": 30,
13
+ "maximum": 300
14
+ },
15
+ "windowMinutes": {
16
+ "default": 60,
17
+ "type": "integer",
18
+ "minimum": 15,
19
+ "maximum": 360
20
+ },
21
+ "retentionDays": {
22
+ "default": 7,
23
+ "type": "integer",
24
+ "minimum": 1,
25
+ "maximum": 30
26
+ }
27
+ },
28
+ "required": ["enabled", "intervalSeconds", "windowMinutes", "retentionDays"],
29
+ "additionalProperties": false
30
+ }
@@ -0,0 +1,78 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "create_service_routing",
4
+ "type": "object",
5
+ "properties": {
6
+ "name": {
7
+ "type": "string",
8
+ "minLength": 1,
9
+ "maxLength": 80
10
+ },
11
+ "target": {
12
+ "type": "string",
13
+ "minLength": 1,
14
+ "maxLength": 64,
15
+ "pattern": "^[a-zA-Z0-9_.-]+$",
16
+ "description": "Approved HTTPS alias in serviceProbes.targets; its exact hostname is routed"
17
+ },
18
+ "family": {
19
+ "type": "string",
20
+ "enum": ["ipv4", "ipv6"]
21
+ },
22
+ "sources": {
23
+ "minItems": 1,
24
+ "maxItems": 8,
25
+ "type": "array",
26
+ "items": {
27
+ "type": "string"
28
+ }
29
+ },
30
+ "tables": {
31
+ "minItems": 1,
32
+ "maxItems": 3,
33
+ "type": "array",
34
+ "items": {
35
+ "type": "string",
36
+ "minLength": 1,
37
+ "maxLength": 64,
38
+ "pattern": "^[a-zA-Z0-9_.-]+$"
39
+ }
40
+ },
41
+ "primary": {
42
+ "type": "string",
43
+ "minLength": 1,
44
+ "maxLength": 64,
45
+ "pattern": "^[a-zA-Z0-9_.-]+$"
46
+ },
47
+ "maxLatencyMs": {
48
+ "default": 5000,
49
+ "type": "integer",
50
+ "minimum": 100,
51
+ "maximum": 15000
52
+ },
53
+ "failuresBeforeSwitch": {
54
+ "default": 3,
55
+ "type": "integer",
56
+ "minimum": 2,
57
+ "maximum": 10
58
+ },
59
+ "cooldownSeconds": {
60
+ "default": 300,
61
+ "type": "integer",
62
+ "minimum": 120,
63
+ "maximum": 3600
64
+ }
65
+ },
66
+ "required": [
67
+ "name",
68
+ "target",
69
+ "family",
70
+ "sources",
71
+ "tables",
72
+ "primary",
73
+ "maxLatencyMs",
74
+ "failuresBeforeSwitch",
75
+ "cooldownSeconds"
76
+ ],
77
+ "additionalProperties": false
78
+ }
@@ -15,11 +15,15 @@
15
15
  },
16
16
  "subnet": {
17
17
  "type": "string",
18
- "description": "CIDR for the segment, e.g. '192.168.30.0/24'"
18
+ "format": "cidrv4",
19
+ "pattern": "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\/([0-9]|[1-2][0-9]|3[0-2])$",
20
+ "description": "Canonical IPv4 network CIDR, e.g. '192.168.30.0/24'"
19
21
  },
20
22
  "gateway": {
21
23
  "type": "string",
22
- "description": "Router's address in the segment, e.g. '192.168.30.1'"
24
+ "format": "ipv4",
25
+ "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$",
26
+ "description": "Usable router address inside the subnet, excluded from the DHCP pool"
23
27
  },
24
28
  "bridge": {
25
29
  "default": "bridge",
@@ -27,7 +31,7 @@
27
31
  "type": "string"
28
32
  },
29
33
  "tagged_ports": {
30
- "description": "Comma-separated trunk/tagged ports (+ the bridge)",
34
+ "description": "Comma-separated verified tagged ports; the bridge/CPU is included once automatically",
31
35
  "type": "string"
32
36
  },
33
37
  "untagged_ports": {
@@ -40,21 +44,33 @@
40
44
  "type": "boolean"
41
45
  },
42
46
  "dhcp_range": {
43
- "description": "Pool range; defaults to .10–.254 of the subnet",
47
+ "description": "Single start-end IPv4 range excluding gateway/network/broadcast. Required outside /24; /24 defaults to .10–.254",
44
48
  "type": "string"
45
49
  },
46
50
  "internet": {
47
51
  "default": true,
48
- "description": "Allow internet access via srcnat masquerade",
52
+ "description": "Add egress-scoped IPv4 masquerade (requires wan_interface); not a firewall allow. Set false to reuse existing NAT",
49
53
  "type": "boolean"
50
54
  },
55
+ "wan_interface": {
56
+ "description": "Verified egress interface for new masquerade. Required when internet=true; never inferred",
57
+ "type": "string",
58
+ "minLength": 1
59
+ },
51
60
  "isolate_from": {
52
61
  "description": "Subnets this segment must NOT reach, e.g. ['192.168.1.0/24']",
53
62
  "type": "array",
54
63
  "items": {
55
- "type": "string"
64
+ "type": "string",
65
+ "format": "cidrv4",
66
+ "pattern": "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\/([0-9]|[1-2][0-9]|3[0-2])$"
56
67
  }
57
68
  },
69
+ "isolation_before": {
70
+ "description": "Current enabled forward rule .id from a fresh read; insert drops before this reviewed rule, not after broad accepts. Required with isolate_from",
71
+ "type": "string",
72
+ "pattern": "^\\*[0-9a-f]+$"
73
+ },
58
74
  "apply": {
59
75
  "default": false,
60
76
  "description": "false = preview (default); true = build",
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "destroy_recovery_lab",
4
+ "type": "object",
5
+ "properties": {
6
+ "id": {
7
+ "type": "string",
8
+ "format": "uuid",
9
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
10
+ },
11
+ "confirm": {
12
+ "default": false,
13
+ "type": "boolean"
14
+ }
15
+ },
16
+ "required": ["id", "confirm"],
17
+ "additionalProperties": false
18
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "export_network_incident",
4
+ "type": "object",
5
+ "properties": {
6
+ "id": {
7
+ "type": "string",
8
+ "format": "uuid",
9
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
10
+ }
11
+ },
12
+ "required": ["id"],
13
+ "additionalProperties": false
14
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "freeze_network_incident",
4
+ "type": "object",
5
+ "properties": {
6
+ "title": {
7
+ "type": "string",
8
+ "minLength": 1,
9
+ "maxLength": 120
10
+ }
11
+ },
12
+ "required": ["title"],
13
+ "additionalProperties": false
14
+ }
@@ -3,13 +3,20 @@
3
3
  "title": "get_container",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "id": {
7
+ "description": "Stable .id from fresh discovery; never a row number",
8
+ "type": "string",
9
+ "pattern": "^\\*[\\da-fA-F]+$"
10
+ },
6
11
  "name": {
7
- "description": "Container name (set via add_container)",
8
- "type": "string"
12
+ "description": "Exact unique container name",
13
+ "type": "string",
14
+ "minLength": 1
9
15
  },
10
16
  "tag": {
11
- "description": "Image tag to match (e.g. 'pihole') if no name",
12
- "type": "string"
17
+ "description": "Exact unique image tag, not a regex; prefer id when images are shared",
18
+ "type": "string",
19
+ "minLength": 1
13
20
  }
14
21
  },
15
22
  "additionalProperties": false
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "get_flight_recorder",
4
+ "type": "object",
5
+ "properties": {},
6
+ "additionalProperties": false
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "get_recovery_lab",
4
+ "type": "object",
5
+ "properties": {},
6
+ "additionalProperties": false
7
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "get_routeros_container_guide",
4
+ "type": "object",
5
+ "properties": {
6
+ "topic": {
7
+ "default": "all",
8
+ "type": "string",
9
+ "enum": [
10
+ "all",
11
+ "prerequisites",
12
+ "images",
13
+ "networking",
14
+ "lifecycle",
15
+ "security",
16
+ "troubleshooting"
17
+ ]
18
+ }
19
+ },
20
+ "required": ["topic"],
21
+ "additionalProperties": false
22
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "get_vlan_segmentation_guide",
4
+ "type": "object",
5
+ "properties": {
6
+ "topic": {
7
+ "default": "all",
8
+ "type": "string",
9
+ "enum": ["all", "overview", "discovery", "layer2", "policy", "migration", "verification"]
10
+ }
11
+ },
12
+ "required": ["topic"],
13
+ "additionalProperties": false
14
+ }
@@ -4,7 +4,7 @@
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "list_filter": {
7
- "description": "Partial env-list (group) name match",
7
+ "description": "Exact list name",
8
8
  "type": "string"
9
9
  }
10
10
  },
@@ -3,9 +3,14 @@
3
3
  "title": "list_container_mounts",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "list_filter": {
7
+ "type": "string",
8
+ "minLength": 1
9
+ },
6
10
  "name_filter": {
7
- "description": "Partial mount name match",
8
- "type": "string"
11
+ "description": "Legacy exact name filter",
12
+ "type": "string",
13
+ "minLength": 1
9
14
  }
10
15
  },
11
16
  "additionalProperties": false
@@ -4,20 +4,18 @@
4
4
  "type": "object",
5
5
  "properties": {
6
6
  "name_filter": {
7
- "description": "Partial container name match",
7
+ "description": "RouterOS name regex, escaped as a command value",
8
8
  "type": "string"
9
9
  },
10
10
  "tag_filter": {
11
- "description": "Partial image tag match",
12
11
  "type": "string"
13
12
  },
14
13
  "status_filter": {
15
- "description": "e.g. 'running', 'stopped'",
14
+ "description": "Legacy status regex; newer releases may expose flags instead",
16
15
  "type": "string"
17
16
  },
18
17
  "detail": {
19
18
  "default": false,
20
- "description": "Show the full per-container property block",
21
19
  "type": "boolean"
22
20
  }
23
21
  },
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "list_service_routing",
4
+ "type": "object",
5
+ "properties": {},
6
+ "additionalProperties": false
7
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "poll_recovery_lab",
4
+ "type": "object",
5
+ "properties": {
6
+ "id": {
7
+ "type": "string",
8
+ "format": "uuid",
9
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
10
+ }
11
+ },
12
+ "required": ["id"],
13
+ "additionalProperties": false
14
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "prepare_recovery_lab",
4
+ "type": "object",
5
+ "properties": {
6
+ "snapshotId": {
7
+ "type": "string",
8
+ "minLength": 1,
9
+ "maxLength": 100
10
+ },
11
+ "version": {
12
+ "type": "string",
13
+ "pattern": "^7\\.\\d+(?:\\.\\d+)?(?:beta\\d+|rc\\d+)?$"
14
+ },
15
+ "mode": {
16
+ "default": "restore",
17
+ "type": "string",
18
+ "enum": ["restore", "upgrade"]
19
+ }
20
+ },
21
+ "required": ["snapshotId", "version", "mode"],
22
+ "additionalProperties": false
23
+ }