micro-contracts 0.17.2 → 0.17.5
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 -4
- package/cli-contract.yaml +29 -5
- package/dist/micro-contracts.bundle.mjs +365 -304
- package/dist/micro-contracts.bundle.mjs.map +4 -4
- package/docs/cli-reference.md +5 -1
- package/package.json +2 -2
package/docs/cli-reference.md
CHANGED
|
@@ -581,7 +581,7 @@ micro-contracts audit-openapi
|
|
|
581
581
|
micro-contracts audit-openapi -m core
|
|
582
582
|
```
|
|
583
583
|
```
|
|
584
|
-
micro-contracts audit-openapi --adapter
|
|
584
|
+
micro-contracts audit-openapi --adapter claude --report-format text
|
|
585
585
|
```
|
|
586
586
|
```
|
|
587
587
|
micro-contracts audit-openapi --show-prompt
|
|
@@ -598,6 +598,7 @@ micro-contracts audit-openapi --show-prompt
|
|
|
598
598
|
| `--fail-on` | | No | `"error"` | Minimum severity that causes a non-zero exit. |
|
|
599
599
|
| `--output` | -o | No | | Write result to a file instead of stdout. |
|
|
600
600
|
| `--report-format` | | No | `"text"` | Output format for the audit report. |
|
|
601
|
+
| `--log-file` | -l | No | | Write agent progress log to this file path. |
|
|
601
602
|
|
|
602
603
|
#### Exit Codes
|
|
603
604
|
|
|
@@ -665,6 +666,7 @@ micro-contracts review-published --adapter claude --report-format json
|
|
|
665
666
|
| `--fail-on` | | No | `"error"` | Minimum severity that causes a non-zero exit. |
|
|
666
667
|
| `--output` | -o | No | | Write result to a file instead of stdout. |
|
|
667
668
|
| `--report-format` | | No | `"text"` | Output format for the review report. |
|
|
669
|
+
| `--log-file` | -l | No | | Write agent progress log to this file path. |
|
|
668
670
|
|
|
669
671
|
#### Exit Codes
|
|
670
672
|
|
|
@@ -732,6 +734,7 @@ micro-contracts propose-overlays --adapter openai --report-format json
|
|
|
732
734
|
| `--fail-on` | | No | `"error"` | Minimum severity that causes a non-zero exit. |
|
|
733
735
|
| `--output` | -o | No | | Write result to a file instead of stdout. |
|
|
734
736
|
| `--report-format` | | No | `"json"` | Output format for the proposal report. |
|
|
737
|
+
| `--log-file` | -l | No | | Write agent progress log to this file path. |
|
|
735
738
|
|
|
736
739
|
#### Exit Codes
|
|
737
740
|
|
|
@@ -796,6 +799,7 @@ micro-contracts audit-guardrails --adapter mock --report-format json
|
|
|
796
799
|
| `--fail-on` | | No | `"error"` | Minimum severity that causes a non-zero exit. |
|
|
797
800
|
| `--output` | -o | No | | Write result to a file instead of stdout. |
|
|
798
801
|
| `--report-format` | | No | `"text"` | Output format for the audit report. |
|
|
802
|
+
| `--log-file` | -l | No | | Write agent progress log to this file path. |
|
|
799
803
|
|
|
800
804
|
#### Exit Codes
|
|
801
805
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "micro-contracts",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.5",
|
|
4
4
|
"description": "Contract-first OpenAPI toolchain that keeps TypeScript UI and microservices aligned via code generation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@types/node": "^20.11.0",
|
|
73
73
|
"agent-contracts": "^0.33.1",
|
|
74
74
|
"agent-contracts-analyzer": "file:vendor/agent-contracts-analyzer-0.1.1.tgz",
|
|
75
|
-
"agent-contracts-runtime": "^0.
|
|
75
|
+
"agent-contracts-runtime": "^0.36.0",
|
|
76
76
|
"chalk": "^5.3.0",
|
|
77
77
|
"cli-contracts": "^0.32.0",
|
|
78
78
|
"commander": "^12.1.0",
|