@usex/mikrotik-mcp 6.10.0 → 6.12.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 (69) hide show
  1. package/README.md +47 -1078
  2. package/dist/cli.js +649 -132
  3. package/dist/index.d.ts +15 -2
  4. package/dist/index.js +1 -1
  5. package/dist/shared/{cli-81s63cts.js → cli-cbs63p0r.js} +5477 -5220
  6. package/dist/shared/{cli-b4kkd56k.js → cli-frg1ynaw.js} +1 -1
  7. package/dist/shared/{cli-0srgjr3v.js → cli-rbe7s4mf.js} +1 -1
  8. package/dist/shared/{cli-chcn79z7.js → cli-s9k59ne8.js} +1 -1
  9. package/dist/shared/{cli-twafzgn3.js → cli-zhfcf33s.js} +1 -1
  10. package/dist/shared/{library-x66xvb3s.js → library-5qaxx124.js} +1 -1
  11. package/dist/shared/{library-f89nvhan.js → library-9sjsjtd1.js} +1 -1
  12. package/dist/shared/{library-thv5s4bs.js → library-he7xy22v.js} +495 -293
  13. package/dist/shared/{library-sxxt02xq.js → library-je5saqvp.js} +1 -1
  14. package/dist/shared/{library-2kk6k7zh.js → library-vtet3w1h.js} +1 -1
  15. package/dist/ui/observability.html +222 -89
  16. package/package.json +37 -28
  17. package/schemas/config.schema.json +16 -0
  18. package/schemas/devtools-manifest.json +1 -1
  19. package/schemas/tool-catalog.json +416 -9
  20. package/schemas/tools/apply_plan.json +6 -1
  21. package/schemas/tools/update_bandwidth_server.json +34 -0
  22. package/schemas/tools/update_bfd_configuration.json +8 -0
  23. package/schemas/tools/update_bgp_connection.json +8 -0
  24. package/schemas/tools/update_bridge.json +8 -0
  25. package/schemas/tools/update_dns_static.json +8 -0
  26. package/schemas/tools/update_dot1x_client.json +8 -0
  27. package/schemas/tools/update_dot1x_server.json +8 -0
  28. package/schemas/tools/update_filter_rule.json +8 -0
  29. package/schemas/tools/update_igmp_proxy_interface.json +8 -0
  30. package/schemas/tools/update_ip_pool.json +8 -0
  31. package/schemas/tools/update_ipsec_peer.json +8 -0
  32. package/schemas/tools/update_ipsec_profile.json +8 -0
  33. package/schemas/tools/update_ipsec_proposal.json +8 -0
  34. package/schemas/tools/update_ipv6_filter_rule.json +8 -0
  35. package/schemas/tools/update_ipv6_mangle_rule.json +8 -0
  36. package/schemas/tools/update_ipv6_nat_rule.json +8 -0
  37. package/schemas/tools/update_ipv6_nd.json +8 -0
  38. package/schemas/tools/update_ipv6_pool.json +8 -0
  39. package/schemas/tools/update_ipv6_raw_rule.json +8 -0
  40. package/schemas/tools/update_mangle_rule.json +8 -0
  41. package/schemas/tools/update_nat_rule.json +8 -0
  42. package/schemas/tools/update_ospf_instance.json +8 -0
  43. package/schemas/tools/update_ovpn_server.json +8 -0
  44. package/schemas/tools/update_ppp_profile.json +8 -0
  45. package/schemas/tools/update_ppp_secret.json +8 -0
  46. package/schemas/tools/update_queue_interface.json +8 -0
  47. package/schemas/tools/update_queue_tree.json +8 -0
  48. package/schemas/tools/update_queue_type.json +8 -0
  49. package/schemas/tools/update_radius_server.json +8 -0
  50. package/schemas/tools/update_rip_instance.json +8 -0
  51. package/schemas/tools/update_route.json +8 -0
  52. package/schemas/tools/update_routing_filter_rule.json +8 -0
  53. package/schemas/tools/update_routing_id.json +8 -0
  54. package/schemas/tools/update_routing_rule.json +8 -0
  55. package/schemas/tools/update_routing_table.json +8 -0
  56. package/schemas/tools/update_rpki_session.json +8 -0
  57. package/schemas/tools/update_simple_queue.json +8 -0
  58. package/schemas/tools/update_switch.json +8 -0
  59. package/schemas/tools/update_switch_port.json +8 -0
  60. package/schemas/tools/update_switch_port_isolation.json +8 -0
  61. package/schemas/tools/update_switch_rule.json +8 -0
  62. package/schemas/tools/update_traffic_monitor.json +8 -0
  63. package/schemas/tools/update_user_manager_user.json +8 -0
  64. package/schemas/tools/update_vlan_interface.json +8 -0
  65. package/schemas/tools/update_wireguard_interface.json +8 -0
  66. package/schemas/tools/update_wireguard_peer.json +8 -0
  67. package/schemas/tools/update_wireless_interface.json +8 -0
  68. package/scripts/service.ts +618 -0
  69. package/scripts/upgrade.ts +7 -0
@@ -3,6 +3,14 @@
3
3
  "title": "update_switch",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "switch_id": {
7
15
  "type": "string",
8
16
  "description": "Switch name (e.g. 'switch1') or RouterOS '.id'"
@@ -3,6 +3,14 @@
3
3
  "title": "update_switch_port",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "port_id": {
7
15
  "type": "string",
8
16
  "description": "Port name (e.g. 'ether1') or RouterOS '.id'"
@@ -3,6 +3,14 @@
3
3
  "title": "update_switch_port_isolation",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "isolation_id": {
7
15
  "type": "string",
8
16
  "description": "Source port name or RouterOS '.id'"
@@ -3,6 +3,14 @@
3
3
  "title": "update_switch_rule",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "rule_id": {
7
15
  "type": "string"
8
16
  },
@@ -3,6 +3,14 @@
3
3
  "title": "update_traffic_monitor",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string"
8
16
  },
@@ -3,6 +3,14 @@
3
3
  "title": "update_user_manager_user",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string",
8
16
  "description": "Current name of the user to update"
@@ -3,6 +3,14 @@
3
3
  "title": "update_vlan_interface",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string",
8
16
  "description": "Current name of the VLAN interface to update"
@@ -3,6 +3,14 @@
3
3
  "title": "update_wireguard_interface",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string"
8
16
  },
@@ -3,6 +3,14 @@
3
3
  "title": "update_wireguard_peer",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "peer_id": {
7
15
  "type": "string",
8
16
  "description": "\"*N\" or \"N\" from list output e.g. \"*2\""
@@ -3,6 +3,14 @@
3
3
  "title": "update_wireless_interface",
4
4
  "type": "object",
5
5
  "properties": {
6
+ "unset": {
7
+ "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string",
11
+ "pattern": "^[a-z][a-z0-9_-]*$"
12
+ }
13
+ },
6
14
  "name": {
7
15
  "type": "string"
8
16
  },