@usex/mikrotik-mcp 6.7.0 → 6.9.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/dist/cli.js +2 -1
  2. package/dist/index.js +1 -1
  3. package/dist/shared/{cli-y5txdsgq.js → cli-0ckmf678.js} +1 -1
  4. package/dist/shared/{cli-kwsg0vb4.js → cli-7en5gay6.js} +1 -1
  5. package/dist/shared/{cli-w3tjpdhk.js → cli-amd43kc5.js} +1 -1
  6. package/dist/shared/{cli-hp8w45f1.js → cli-fb8k4p45.js} +1 -1
  7. package/dist/shared/{cli-v3ytyep0.js → cli-v5tym2a3.js} +323 -28
  8. package/dist/shared/{library-36y6v8ks.js → library-3hjxj4ph.js} +323 -28
  9. package/dist/shared/{library-aw8wrqbg.js → library-5mbnzvye.js} +1 -1
  10. package/dist/shared/{library-bty0a0n3.js → library-8fxp8mc8.js} +1 -1
  11. package/dist/shared/{library-j5qk3cvp.js → library-j1ptdg4x.js} +1 -1
  12. package/dist/shared/{library-j6pdmv0m.js → library-znv72s94.js} +1 -1
  13. package/dist/ui/observability.html +71 -69
  14. package/package.json +1 -1
  15. package/schemas/README.md +1 -1
  16. package/schemas/devtools-manifest.json +131 -1
  17. package/schemas/tool-catalog.json +445 -5
  18. package/schemas/tools/add_bridge_port.json +4 -0
  19. package/schemas/tools/add_dot1x_server.json +4 -0
  20. package/schemas/tools/add_web_proxy_access_rule.json +25 -0
  21. package/schemas/tools/add_wireguard_peer.json +6 -0
  22. package/schemas/tools/create_bridge.json +21 -0
  23. package/schemas/tools/create_dhcp_server.json +4 -0
  24. package/schemas/tools/create_ipv6_dhcp_server.json +8 -0
  25. package/schemas/tools/create_vlan_interface.json +4 -0
  26. package/schemas/tools/get_device_mode.json +7 -0
  27. package/schemas/tools/get_web_proxy.json +7 -0
  28. package/schemas/tools/list_bgp_instances.json +7 -0
  29. package/schemas/tools/list_web_proxy_access_rules.json +7 -0
  30. package/schemas/tools/monitor_web_proxy.json +7 -0
  31. package/schemas/tools/move_web_proxy_access_rule.json +17 -0
  32. package/schemas/tools/remove_web_proxy_access_rule.json +12 -0
  33. package/schemas/tools/update_bgp_instance_med_comparison.json +22 -0
  34. package/schemas/tools/update_bridge.json +21 -0
  35. package/schemas/tools/update_device_mode_features.json +99 -0
  36. package/schemas/tools/update_dot1x_server.json +4 -0
  37. package/schemas/tools/update_vlan_interface.json +4 -0
  38. package/schemas/tools/update_web_proxy.json +29 -0
  39. package/schemas/tools/update_wireguard_peer.json +17 -3
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "get_device_mode",
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_web_proxy",
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_bgp_instances",
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_web_proxy_access_rules",
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": "monitor_web_proxy",
4
+ "type": "object",
5
+ "properties": {},
6
+ "additionalProperties": false
7
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "move_web_proxy_access_rule",
4
+ "type": "object",
5
+ "properties": {
6
+ "rule_id": {
7
+ "type": "string"
8
+ },
9
+ "destination": {
10
+ "type": "integer",
11
+ "minimum": 0,
12
+ "maximum": 9007199254740991
13
+ }
14
+ },
15
+ "required": ["rule_id", "destination"],
16
+ "additionalProperties": false
17
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "remove_web_proxy_access_rule",
4
+ "type": "object",
5
+ "properties": {
6
+ "rule_id": {
7
+ "type": "string"
8
+ }
9
+ },
10
+ "required": ["rule_id"],
11
+ "additionalProperties": false
12
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "update_bgp_instance_med_comparison",
4
+ "type": "object",
5
+ "properties": {
6
+ "name": {
7
+ "type": "string",
8
+ "minLength": 1,
9
+ "description": "Exact BGP instance name"
10
+ },
11
+ "always_compare_med": {
12
+ "type": "boolean"
13
+ },
14
+ "confirm_routing_change": {
15
+ "type": "boolean",
16
+ "const": true,
17
+ "description": "Operator approved the best-path behavior change"
18
+ }
19
+ },
20
+ "required": ["name", "always_compare_med", "confirm_routing_change"],
21
+ "additionalProperties": false
22
+ }
@@ -79,6 +79,27 @@
79
79
  "description": "Enable DHCP snooping",
80
80
  "type": "boolean"
81
81
  },
82
+ "arp_inspection": {
83
+ "description": "RouterOS 7.25+ validate ARP against DHCP snooping bindings",
84
+ "type": "boolean"
85
+ },
86
+ "ip_source_guard": {
87
+ "description": "RouterOS 7.25+ validate IPv4 source against DHCP snooping bindings",
88
+ "type": "boolean"
89
+ },
90
+ "mlag_init_delay": {
91
+ "description": "RouterOS 7.25+ MLAG LACP initialization delay",
92
+ "type": "string"
93
+ },
94
+ "mlag_lacp_fallback": {
95
+ "description": "RouterOS 7.25+ MLAG LACP fallback after peer loss",
96
+ "type": "boolean"
97
+ },
98
+ "confirm_security_disruption": {
99
+ "description": "Required when enabling ARP inspection or IP source guard; DHCP bindings may be cleared and traffic interrupted",
100
+ "type": "boolean",
101
+ "const": true
102
+ },
82
103
  "igmp_snooping": {
83
104
  "description": "Enable IGMP/MLD snooping",
84
105
  "type": "boolean"
@@ -0,0 +1,99 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "update_device_mode_features",
4
+ "type": "object",
5
+ "properties": {
6
+ "mode": {
7
+ "description": "Changes the entire mode and resets prior per-feature overrides; include any overrides to keep in this request.",
8
+ "type": "string",
9
+ "enum": ["home", "basic", "advanced", "rose"]
10
+ },
11
+ "scheduler": {
12
+ "type": "boolean"
13
+ },
14
+ "socks": {
15
+ "type": "boolean"
16
+ },
17
+ "fetch": {
18
+ "type": "boolean"
19
+ },
20
+ "pptp": {
21
+ "type": "boolean"
22
+ },
23
+ "l2tp": {
24
+ "type": "boolean"
25
+ },
26
+ "bandwidth_test": {
27
+ "type": "boolean"
28
+ },
29
+ "traffic_gen": {
30
+ "type": "boolean"
31
+ },
32
+ "sniffer": {
33
+ "type": "boolean"
34
+ },
35
+ "ipsec": {
36
+ "type": "boolean"
37
+ },
38
+ "romon": {
39
+ "type": "boolean"
40
+ },
41
+ "proxy": {
42
+ "type": "boolean"
43
+ },
44
+ "hotspot": {
45
+ "type": "boolean"
46
+ },
47
+ "smb": {
48
+ "type": "boolean"
49
+ },
50
+ "email": {
51
+ "type": "boolean"
52
+ },
53
+ "zerotier": {
54
+ "type": "boolean"
55
+ },
56
+ "container": {
57
+ "type": "boolean"
58
+ },
59
+ "install_any_version": {
60
+ "type": "boolean"
61
+ },
62
+ "partitions": {
63
+ "type": "boolean"
64
+ },
65
+ "routerboard": {
66
+ "type": "boolean"
67
+ },
68
+ "activation_timeout": {
69
+ "description": "Physical confirmation window, 10 seconds to 1 day (RouterOS duration, e.g. 5m or 00:05:00).",
70
+ "type": "string",
71
+ "minLength": 1,
72
+ "maxLength": 20
73
+ },
74
+ "flagging_enabled": {
75
+ "type": "boolean"
76
+ },
77
+ "flagged": {
78
+ "description": "Set false only after a security audit of the router configuration.",
79
+ "type": "boolean"
80
+ },
81
+ "confirm_mode_resets_overrides": {
82
+ "description": "Required with mode: existing per-feature overrides will be reset unless included in this request.",
83
+ "type": "boolean",
84
+ "const": true
85
+ },
86
+ "confirm_flagged_audit_complete": {
87
+ "description": "Required to clear flagged after auditing configuration, passwords, and RouterOS version.",
88
+ "type": "boolean",
89
+ "const": true
90
+ },
91
+ "physical_confirmation_available": {
92
+ "type": "boolean",
93
+ "const": true,
94
+ "description": "Operator is physically present and has authorized the device-mode change."
95
+ }
96
+ },
97
+ "required": ["physical_confirmation_available"],
98
+ "additionalProperties": false
99
+ }
@@ -33,6 +33,10 @@
33
33
  "reauth_timeout": {
34
34
  "type": "string"
35
35
  },
36
+ "reauth_period": {
37
+ "description": "RouterOS 7.25+ re-authentication period",
38
+ "type": "string"
39
+ },
36
40
  "comment": {
37
41
  "type": "string"
38
42
  },
@@ -31,6 +31,10 @@
31
31
  "minimum": -9007199254740991,
32
32
  "maximum": 9007199254740991
33
33
  },
34
+ "forced_mac_address": {
35
+ "description": "RouterOS 7.25+ forced VLAN interface MAC address",
36
+ "type": "string"
37
+ },
34
38
  "use_service_tag": {
35
39
  "type": "boolean"
36
40
  },
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "update_web_proxy",
4
+ "type": "object",
5
+ "properties": {
6
+ "enabled": {
7
+ "type": "boolean"
8
+ },
9
+ "port": {
10
+ "type": "integer",
11
+ "minimum": 1,
12
+ "maximum": 65535
13
+ },
14
+ "src_address": {
15
+ "type": "string"
16
+ },
17
+ "anonymous": {
18
+ "type": "boolean"
19
+ },
20
+ "max_cache_size": {
21
+ "type": "string"
22
+ },
23
+ "confirm_firewall_ready": {
24
+ "description": "Required when enabling: IPv4 and IPv6 input firewall access has been verified.",
25
+ "type": "boolean"
26
+ }
27
+ },
28
+ "additionalProperties": false
29
+ }
@@ -57,10 +57,24 @@
57
57
  "type": "string"
58
58
  },
59
59
  "client_listen_port": {
60
- "description": "listen-port written into the generated client config",
60
+ "description": "Client listen port; empty string unsets it on RouterOS 7.25+",
61
+ "anyOf": [
62
+ {
63
+ "type": "integer",
64
+ "minimum": -9007199254740991,
65
+ "maximum": 9007199254740991
66
+ },
67
+ {
68
+ "type": "string",
69
+ "const": ""
70
+ }
71
+ ]
72
+ },
73
+ "client_mtu": {
74
+ "description": "RouterOS 7.25+ MTU in generated client configuration",
61
75
  "type": "integer",
62
- "minimum": -9007199254740991,
63
- "maximum": 9007199254740991
76
+ "minimum": 576,
77
+ "maximum": 65535
64
78
  },
65
79
  "comment": {
66
80
  "type": "string"