@usex/mikrotik-mcp 6.4.0 → 6.5.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 (39) hide show
  1. package/README.md +10 -4
  2. package/dist/cli.js +1694 -65856
  3. package/dist/index.js +1 -1
  4. package/dist/shared/{cli-qc7ckbhk.js → cli-0bdzn6kc.js} +1 -1
  5. package/dist/shared/{cli-j9nrx9mk.js → cli-37e58eme.js} +1 -1
  6. package/dist/shared/{cli-pmy050a0.js → cli-704wwgnc.js} +1 -1
  7. package/dist/shared/cli-89y0ykq1.js +65248 -0
  8. package/dist/shared/{cli-wpshhzhr.js → cli-fvjmfzab.js} +1 -1
  9. package/dist/shared/{library-2m4as43g.js → library-3wpdmsen.js} +1 -1
  10. package/dist/shared/{library-g661a57q.js → library-9c5k05ge.js} +1 -1
  11. package/dist/shared/{library-akf94mf2.js → library-djammhn2.js} +1 -1
  12. package/dist/shared/{library-ttgvk8a6.js → library-e2gm3ta5.js} +5189 -4441
  13. package/dist/shared/{library-hykdpvnj.js → library-ys83rjgm.js} +1 -1
  14. package/dist/ui/aaa.html +16 -16
  15. package/dist/ui/client-check.html +8 -8
  16. package/dist/ui/connected-devices.html +16 -16
  17. package/dist/ui/dashboard.html +12 -12
  18. package/dist/ui/fabric.html +19 -19
  19. package/dist/ui/firewall-audit.html +12 -12
  20. package/dist/ui/firewall.html +13 -13
  21. package/dist/ui/interfaces.html +12 -12
  22. package/dist/ui/investigations.html +19 -19
  23. package/dist/ui/observability.html +83 -80
  24. package/dist/ui/operations.html +19 -19
  25. package/dist/ui/records.html +13 -13
  26. package/dist/ui/reports.html +19 -19
  27. package/dist/ui/round-trip.html +19 -19
  28. package/dist/ui/service-health.html +19 -19
  29. package/package.json +27 -27
  30. package/schemas/README.md +1 -1
  31. package/schemas/devtools-manifest.json +87 -2
  32. package/schemas/tool-catalog.json +338 -3
  33. package/schemas/tools/apply_address_set.json +23 -0
  34. package/schemas/tools/compose_address_set.json +52 -0
  35. package/schemas/tools/create_address_set.json +52 -0
  36. package/schemas/tools/get_flow_collector_health.json +7 -0
  37. package/schemas/tools/list_address_sets.json +7 -0
  38. package/schemas/tools/preview_address_set.json +52 -0
  39. package/schemas/tools/verify_filter_policy.json +74 -0
@@ -0,0 +1,52 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "compose_address_set",
4
+ "type": "object",
5
+ "properties": {
6
+ "name": {
7
+ "type": "string",
8
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,39}$"
9
+ },
10
+ "family": {
11
+ "default": "ipv4",
12
+ "type": "string",
13
+ "enum": ["ipv4", "ipv6"]
14
+ },
15
+ "operation": {
16
+ "default": "union",
17
+ "type": "string",
18
+ "enum": ["union", "intersection", "difference"]
19
+ },
20
+ "left": {
21
+ "minItems": 1,
22
+ "maxItems": 2048,
23
+ "type": "array",
24
+ "items": {
25
+ "type": "string",
26
+ "maxLength": 80
27
+ }
28
+ },
29
+ "right": {
30
+ "default": [],
31
+ "maxItems": 2048,
32
+ "type": "array",
33
+ "items": {
34
+ "type": "string",
35
+ "maxLength": 80
36
+ }
37
+ },
38
+ "source": {
39
+ "type": "string",
40
+ "minLength": 1,
41
+ "maxLength": 256,
42
+ "description": "Provenance label, not a URL to fetch"
43
+ },
44
+ "parent": {
45
+ "type": "string",
46
+ "format": "uuid",
47
+ "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)$"
48
+ }
49
+ },
50
+ "required": ["name", "family", "operation", "left", "right", "source"],
51
+ "additionalProperties": false
52
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "create_address_set",
4
+ "type": "object",
5
+ "properties": {
6
+ "name": {
7
+ "type": "string",
8
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{0,39}$"
9
+ },
10
+ "family": {
11
+ "default": "ipv4",
12
+ "type": "string",
13
+ "enum": ["ipv4", "ipv6"]
14
+ },
15
+ "operation": {
16
+ "default": "union",
17
+ "type": "string",
18
+ "enum": ["union", "intersection", "difference"]
19
+ },
20
+ "left": {
21
+ "minItems": 1,
22
+ "maxItems": 2048,
23
+ "type": "array",
24
+ "items": {
25
+ "type": "string",
26
+ "maxLength": 80
27
+ }
28
+ },
29
+ "right": {
30
+ "default": [],
31
+ "maxItems": 2048,
32
+ "type": "array",
33
+ "items": {
34
+ "type": "string",
35
+ "maxLength": 80
36
+ }
37
+ },
38
+ "source": {
39
+ "type": "string",
40
+ "minLength": 1,
41
+ "maxLength": 256,
42
+ "description": "Provenance label, not a URL to fetch"
43
+ },
44
+ "parent": {
45
+ "type": "string",
46
+ "format": "uuid",
47
+ "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)$"
48
+ }
49
+ },
50
+ "required": ["name", "family", "operation", "left", "right", "source"],
51
+ "additionalProperties": false
52
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "get_flow_collector_health",
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": "list_address_sets",
4
+ "type": "object",
5
+ "properties": {},
6
+ "additionalProperties": false
7
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "preview_address_set",
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
+ "references": {
12
+ "default": [],
13
+ "maxItems": 8,
14
+ "type": "array",
15
+ "items": {
16
+ "type": "object",
17
+ "properties": {
18
+ "table": {
19
+ "type": "string",
20
+ "enum": ["filter", "mangle"]
21
+ },
22
+ "id": {
23
+ "type": "string",
24
+ "pattern": "^\\*[0-9A-Fa-f]+$"
25
+ },
26
+ "field": {
27
+ "type": "string",
28
+ "enum": ["src-address-list", "dst-address-list"]
29
+ },
30
+ "expected": {
31
+ "type": "string",
32
+ "minLength": 1,
33
+ "maxLength": 128
34
+ }
35
+ },
36
+ "required": ["table", "id", "field", "expected"],
37
+ "additionalProperties": false
38
+ }
39
+ },
40
+ "rollback": {
41
+ "default": false,
42
+ "type": "boolean"
43
+ },
44
+ "allowLargeChange": {
45
+ "default": false,
46
+ "description": "Explicitly acknowledge /0 or coverage changing by more than 50% of the parent",
47
+ "type": "boolean"
48
+ }
49
+ },
50
+ "required": ["id", "references", "rollback", "allowLargeChange"],
51
+ "additionalProperties": false
52
+ }
@@ -0,0 +1,74 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "verify_filter_policy",
4
+ "type": "object",
5
+ "properties": {
6
+ "config_text": {
7
+ "type": "string",
8
+ "minLength": 1,
9
+ "maxLength": 200000
10
+ },
11
+ "source": {
12
+ "type": "string",
13
+ "maxLength": 64
14
+ },
15
+ "destination": {
16
+ "type": "string",
17
+ "maxLength": 64
18
+ },
19
+ "source_ports": {
20
+ "default": "0-65535",
21
+ "type": "string",
22
+ "maxLength": 64
23
+ },
24
+ "destination_ports": {
25
+ "default": "0-65535",
26
+ "type": "string",
27
+ "maxLength": 64
28
+ },
29
+ "protocol": {
30
+ "default": "tcp",
31
+ "type": "string",
32
+ "enum": ["tcp", "udp"]
33
+ },
34
+ "chain": {
35
+ "default": "forward",
36
+ "type": "string",
37
+ "enum": ["input", "forward", "output"]
38
+ },
39
+ "in_interface": {
40
+ "default": "bridge",
41
+ "type": "string",
42
+ "maxLength": 128
43
+ },
44
+ "out_interface": {
45
+ "default": "ether1",
46
+ "type": "string",
47
+ "maxLength": 128
48
+ },
49
+ "connection_state": {
50
+ "default": "new",
51
+ "type": "string",
52
+ "enum": ["new", "established", "related", "invalid"]
53
+ },
54
+ "expect": {
55
+ "default": "drop",
56
+ "type": "string",
57
+ "enum": ["accept", "drop", "reject"]
58
+ }
59
+ },
60
+ "required": [
61
+ "config_text",
62
+ "source",
63
+ "destination",
64
+ "source_ports",
65
+ "destination_ports",
66
+ "protocol",
67
+ "chain",
68
+ "in_interface",
69
+ "out_interface",
70
+ "connection_state",
71
+ "expect"
72
+ ],
73
+ "additionalProperties": false
74
+ }