awaitly-analyze 0.23.4 → 0.24.1
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 +8 -1
- package/dist/cli.js +27 -22
- package/dist/index.cjs +29 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -1
- package/dist/index.d.ts +18 -1
- package/dist/index.js +29 -29
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -31,6 +31,12 @@ awaitly-analyze ./src/workflows/checkout.ts --html
|
|
|
31
31
|
|
|
32
32
|
# Custom HTML output path
|
|
33
33
|
awaitly-analyze ./src/workflows/checkout.ts --html --html-output=./docs/checkout.html
|
|
34
|
+
|
|
35
|
+
# Doctor mode: strict diagnostics with concrete fix guidance
|
|
36
|
+
awaitly-analyze ./src/workflows/checkout.ts --doctor
|
|
37
|
+
|
|
38
|
+
# Doctor mode JSON for AI/tooling pipelines
|
|
39
|
+
awaitly-analyze ./src/workflows/checkout.ts --doctor --format=json
|
|
34
40
|
```
|
|
35
41
|
|
|
36
42
|
### CLI Options
|
|
@@ -44,9 +50,10 @@ awaitly-analyze ./src/workflows/checkout.ts --html --html-output=./docs/checkout
|
|
|
44
50
|
| `--direction=<dir>` | `TB` | Diagram direction: `TB`, `LR`, `BT`, `RL` |
|
|
45
51
|
| `--output-adjacent`, `-o` | - | Write output file next to source file |
|
|
46
52
|
| `--suffix=<value>` | `workflow` | Configurable suffix for output file |
|
|
47
|
-
| `--no-stdout` | - | Suppress stdout when writing to file (requires `-o`) |
|
|
53
|
+
| `--no-stdout` | - | Suppress stdout when writing to file (requires `-o` or `--html`) |
|
|
48
54
|
| `--dsl-output=<value>` | `off` | Write DSL: `off`, `.awaitly`, or custom path (for visualization) |
|
|
49
55
|
| `--write-dsl` | - | Shorthand for `--dsl-output=.awaitly` |
|
|
56
|
+
| `--doctor` | - | Print strict diagnostics with fix suggestions |
|
|
50
57
|
| `--help`, `-h` | - | Show help message |
|
|
51
58
|
|
|
52
59
|
### Output File Naming
|