@usex/mikrotik-mcp 6.6.0 → 6.8.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 (40) hide show
  1. package/README.md +134 -0
  2. package/dist/cli.js +158 -43
  3. package/dist/index.js +10 -1
  4. package/dist/shared/{cli-w3tjpdhk.js → cli-4a4dxv04.js} +1 -1
  5. package/dist/shared/{cli-kwsg0vb4.js → cli-ksq2qr7d.js} +1 -1
  6. package/dist/shared/{cli-v3ytyep0.js → cli-mh3kf1gx.js} +237 -16
  7. package/dist/shared/{cli-hp8w45f1.js → cli-pan4hpjf.js} +1 -1
  8. package/dist/shared/{cli-y5txdsgq.js → cli-qszw8tv2.js} +1 -1
  9. package/dist/shared/{library-j6pdmv0m.js → library-5ejy1n1c.js} +1 -1
  10. package/dist/shared/{library-aw8wrqbg.js → library-g8fvds7b.js} +1 -1
  11. package/dist/shared/{library-bty0a0n3.js → library-qdh9kmg5.js} +1 -1
  12. package/dist/shared/{library-36y6v8ks.js → library-qwkp17zf.js} +237 -16
  13. package/dist/shared/{library-j5qk3cvp.js → library-r8m6ftrj.js} +1 -1
  14. package/dist/ui/aaa.html +8 -8
  15. package/dist/ui/connected-devices.html +8 -8
  16. package/dist/ui/dashboard.html +8 -8
  17. package/dist/ui/fabric.html +11 -11
  18. package/dist/ui/firewall-audit.html +8 -8
  19. package/dist/ui/firewall.html +9 -9
  20. package/dist/ui/interfaces.html +8 -8
  21. package/dist/ui/investigations.html +11 -11
  22. package/dist/ui/observability.html +72 -70
  23. package/dist/ui/operations.html +11 -11
  24. package/dist/ui/records.html +9 -9
  25. package/dist/ui/reports.html +11 -11
  26. package/dist/ui/round-trip.html +11 -11
  27. package/dist/ui/service-health.html +11 -11
  28. package/package.json +14 -10
  29. package/schemas/README.md +1 -1
  30. package/schemas/devtools-manifest.json +109 -1
  31. package/schemas/tool-catalog.json +299 -2
  32. package/schemas/tools/add_web_proxy_access_rule.json +25 -0
  33. package/schemas/tools/get_device_mode.json +7 -0
  34. package/schemas/tools/get_web_proxy.json +7 -0
  35. package/schemas/tools/list_web_proxy_access_rules.json +7 -0
  36. package/schemas/tools/monitor_web_proxy.json +7 -0
  37. package/schemas/tools/move_web_proxy_access_rule.json +17 -0
  38. package/schemas/tools/remove_web_proxy_access_rule.json +12 -0
  39. package/schemas/tools/update_device_mode_features.json +99 -0
  40. package/schemas/tools/update_web_proxy.json +29 -0
@@ -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
+ }
@@ -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
+ }