@usex/mikrotik-mcp 3.14.0 → 3.15.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.
- package/dist/cli.js +2274 -1965
- package/dist/index.d.ts +6 -0
- package/dist/index.js +2270 -1961
- package/package.json +1 -1
- package/schemas/README.md +1 -1
- package/schemas/tool-catalog.json +405 -7
- package/schemas/tools/create_mangle_rule.json +126 -0
- package/schemas/tools/disable_mangle_rule.json +12 -0
- package/schemas/tools/enable_mangle_rule.json +12 -0
- package/schemas/tools/get_mangle_rule.json +13 -0
- package/schemas/tools/list_mangle_rules.json +33 -0
- package/schemas/tools/move_mangle_rule.json +18 -0
- package/schemas/tools/remove_mangle_rule.json +12 -0
- package/schemas/tools/update_mangle_rule.json +93 -0
package/dist/index.d.ts
CHANGED
|
@@ -178,6 +178,12 @@ declare class SafeModeManager {
|
|
|
178
178
|
/** Close the session to trigger MikroTik's automatic safe-mode revert. */
|
|
179
179
|
rollback(): Promise<string>;
|
|
180
180
|
status(): string;
|
|
181
|
+
/**
|
|
182
|
+
* Read from the channel until `isDone(cleaned)` is satisfied or the timeout
|
|
183
|
+
* elapses. Defaults to "any RouterOS prompt appeared". Mode transitions pass a
|
|
184
|
+
* stricter predicate so they wait for the prompt that reflects the NEW state
|
|
185
|
+
* (safe-mode marker present/absent), not merely the first prompt-shaped line.
|
|
186
|
+
*/
|
|
181
187
|
private readUntilPrompt;
|
|
182
188
|
private extractOutput;
|
|
183
189
|
private cleanup;
|