@rogatio/cli 6.14.3 → 6.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/README.md +4 -3
- package/dist/node/index.js +6749 -5955
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ optional local runtime used for response/request body rewriting.
|
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
|
12
|
-
Requires Node.js
|
|
12
|
+
Requires Node.js 26 or newer. Install the CLI globally with your preferred
|
|
13
13
|
package manager:
|
|
14
14
|
|
|
15
15
|
```sh
|
|
@@ -38,6 +38,7 @@ rogatio <command> [options]
|
|
|
38
38
|
| --- | --- |
|
|
39
39
|
| `rogatio edit [path]` | Launch the browser editor. Any filename is accepted; the default is `.rogatio.json` in the current directory. `--port <n>` fixes the port; `--no-open` skips opening a browser. Edits save back to the file that was opened. |
|
|
40
40
|
| `rogatio verify [path]` | Validate a project file (schema + compiler). Any filename is accepted; the default is `.rogatio.json` in the current directory. |
|
|
41
|
+
| `rogatio doctor [path]` | Check Node, the project file, the native host, the device CA, a loopback PAC answer, and optional AI Assist. `--json` prints a stable report. `--check-updates` asks the npm registry about a newer CLI. Release users never pass `--extension-id`. |
|
|
41
42
|
| `rogatio import requestly <export.json>` | Migrate a Requestly export into `.rogatio.json`. `--out <path>` chooses the file (default `.rogatio.json`); `--merge` appends onto an existing project; `--json` prints the report. |
|
|
42
43
|
| `rogatio test [path] [url...]` | Run offline dry-run tests. Any filename is accepted; the default is `.rogatio.json` in the current directory. |
|
|
43
44
|
| `rogatio ai <setup\|ls\|show\|delete\|test>` | AI provider configuration. `setup` interactive; `ls` list; `show` redacted; `delete` remove; `test` connection. |
|
|
@@ -66,8 +67,8 @@ rogatio runtime host .rogatio.json
|
|
|
66
67
|
## Exit codes
|
|
67
68
|
|
|
68
69
|
- `0` — success
|
|
69
|
-
- `1` — invalid project (diagnostics present), test/validation errors,
|
|
70
|
-
`runtime install` / `runtime verify` check
|
|
70
|
+
- `1` — invalid project (diagnostics present), test/validation errors, a failed
|
|
71
|
+
`runtime install` / `runtime verify` check, or a required `rogatio doctor` check
|
|
71
72
|
- `2` — usage or IO error
|
|
72
73
|
|
|
73
74
|
## Local runtime
|