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/README.md
CHANGED
|
@@ -459,7 +459,7 @@ Run LLM-based OpenAPI design quality audit. Evaluates path design, module bounda
|
|
|
459
459
|
|--------|-------------|
|
|
460
460
|
| `-c, --config <path>` | Path to config file |
|
|
461
461
|
| `-m, --module <name>` | Module name to audit (default: all) |
|
|
462
|
-
| `-a, --adapter <name>` | SDK adapter (`
|
|
462
|
+
| `-a, --adapter <name>` | SDK adapter (`claude`, `openai`, `gemini`, `mock`) |
|
|
463
463
|
| `--model <name>` | LLM model override |
|
|
464
464
|
| `--show-prompt` | Output the constructed prompt without calling LLM |
|
|
465
465
|
| `--fail-on <level>` | Minimum severity for non-zero exit (`warning`, `error`, `critical`) |
|
|
@@ -474,7 +474,7 @@ Review published API surface for internal type leakage and backward compatibilit
|
|
|
474
474
|
|--------|-------------|
|
|
475
475
|
| `-c, --config <path>` | Path to config file |
|
|
476
476
|
| `-m, --module <name>` | Module name to review (default: all) |
|
|
477
|
-
| `-a, --adapter <name>` | SDK adapter (`
|
|
477
|
+
| `-a, --adapter <name>` | SDK adapter (`claude`, `openai`, `gemini`, `mock`) |
|
|
478
478
|
| `--model <name>` | LLM model override |
|
|
479
479
|
| `--show-prompt` | Output the constructed prompt without calling LLM |
|
|
480
480
|
| `--fail-on <level>` | Minimum severity for non-zero exit |
|
|
@@ -489,7 +489,7 @@ Propose cross-cutting overlay candidates for authentication, tenancy, rate limit
|
|
|
489
489
|
|--------|-------------|
|
|
490
490
|
| `-c, --config <path>` | Path to config file |
|
|
491
491
|
| `-m, --module <name>` | Module name to analyze (default: all) |
|
|
492
|
-
| `-a, --adapter <name>` | SDK adapter (`
|
|
492
|
+
| `-a, --adapter <name>` | SDK adapter (`claude`, `openai`, `gemini`, `mock`) |
|
|
493
493
|
| `--model <name>` | LLM model override |
|
|
494
494
|
| `--show-prompt` | Output the constructed prompt without calling LLM |
|
|
495
495
|
| `--fail-on <level>` | Minimum severity for non-zero exit |
|
|
@@ -504,7 +504,7 @@ Audit guardrails configuration for drift detection and lint rule coverage. File
|
|
|
504
504
|
|--------|-------------|
|
|
505
505
|
| `-c, --config <path>` | Path to config file |
|
|
506
506
|
| `-g, --guardrails <path>` | Path to guardrails.yaml |
|
|
507
|
-
| `-a, --adapter <name>` | SDK adapter (`
|
|
507
|
+
| `-a, --adapter <name>` | SDK adapter (`claude`, `openai`, `gemini`, `mock`) |
|
|
508
508
|
| `--model <name>` | LLM model override |
|
|
509
509
|
| `--show-prompt` | Output the constructed prompt without calling LLM |
|
|
510
510
|
| `--fail-on <level>` | Minimum severity for non-zero exit |
|
package/cli-contract.yaml
CHANGED
|
@@ -819,7 +819,7 @@ command_sets:
|
|
|
819
819
|
usage:
|
|
820
820
|
- micro-contracts audit-openapi
|
|
821
821
|
- micro-contracts audit-openapi -m core
|
|
822
|
-
- micro-contracts audit-openapi --adapter
|
|
822
|
+
- micro-contracts audit-openapi --adapter claude --report-format text
|
|
823
823
|
- micro-contracts audit-openapi --show-prompt
|
|
824
824
|
|
|
825
825
|
options:
|
|
@@ -848,7 +848,7 @@ command_sets:
|
|
|
848
848
|
value_name: name
|
|
849
849
|
schema:
|
|
850
850
|
type: string
|
|
851
|
-
enum: [
|
|
851
|
+
enum: [claude, openai, gemini, mock]
|
|
852
852
|
|
|
853
853
|
- name: model
|
|
854
854
|
description: LLM model override.
|
|
@@ -883,6 +883,12 @@ command_sets:
|
|
|
883
883
|
enum: [json, text, yaml]
|
|
884
884
|
default: text
|
|
885
885
|
|
|
886
|
+
- name: log-file
|
|
887
|
+
aliases: [l]
|
|
888
|
+
description: Write agent progress log to this file path.
|
|
889
|
+
schema:
|
|
890
|
+
type: string
|
|
891
|
+
|
|
886
892
|
exits:
|
|
887
893
|
'0':
|
|
888
894
|
description: Audit completed, no blocking findings.
|
|
@@ -970,7 +976,7 @@ command_sets:
|
|
|
970
976
|
value_name: name
|
|
971
977
|
schema:
|
|
972
978
|
type: string
|
|
973
|
-
enum: [
|
|
979
|
+
enum: [claude, openai, gemini, mock]
|
|
974
980
|
|
|
975
981
|
- name: model
|
|
976
982
|
description: LLM model override.
|
|
@@ -1005,6 +1011,12 @@ command_sets:
|
|
|
1005
1011
|
enum: [json, text, yaml]
|
|
1006
1012
|
default: text
|
|
1007
1013
|
|
|
1014
|
+
- name: log-file
|
|
1015
|
+
aliases: [l]
|
|
1016
|
+
description: Write agent progress log to this file path.
|
|
1017
|
+
schema:
|
|
1018
|
+
type: string
|
|
1019
|
+
|
|
1008
1020
|
exits:
|
|
1009
1021
|
'0':
|
|
1010
1022
|
description: Review completed, no blocking findings.
|
|
@@ -1093,7 +1105,7 @@ command_sets:
|
|
|
1093
1105
|
value_name: name
|
|
1094
1106
|
schema:
|
|
1095
1107
|
type: string
|
|
1096
|
-
enum: [
|
|
1108
|
+
enum: [claude, openai, gemini, mock]
|
|
1097
1109
|
|
|
1098
1110
|
- name: model
|
|
1099
1111
|
description: LLM model override.
|
|
@@ -1128,6 +1140,12 @@ command_sets:
|
|
|
1128
1140
|
enum: [json, text, yaml]
|
|
1129
1141
|
default: json
|
|
1130
1142
|
|
|
1143
|
+
- name: log-file
|
|
1144
|
+
aliases: [l]
|
|
1145
|
+
description: Write agent progress log to this file path.
|
|
1146
|
+
schema:
|
|
1147
|
+
type: string
|
|
1148
|
+
|
|
1131
1149
|
exits:
|
|
1132
1150
|
'0':
|
|
1133
1151
|
description: Proposal generated successfully.
|
|
@@ -1220,7 +1238,7 @@ command_sets:
|
|
|
1220
1238
|
value_name: name
|
|
1221
1239
|
schema:
|
|
1222
1240
|
type: string
|
|
1223
|
-
enum: [
|
|
1241
|
+
enum: [claude, openai, gemini, mock]
|
|
1224
1242
|
|
|
1225
1243
|
- name: model
|
|
1226
1244
|
description: LLM model override.
|
|
@@ -1255,6 +1273,12 @@ command_sets:
|
|
|
1255
1273
|
enum: [json, text, yaml]
|
|
1256
1274
|
default: text
|
|
1257
1275
|
|
|
1276
|
+
- name: log-file
|
|
1277
|
+
aliases: [l]
|
|
1278
|
+
description: Write agent progress log to this file path.
|
|
1279
|
+
schema:
|
|
1280
|
+
type: string
|
|
1281
|
+
|
|
1258
1282
|
exits:
|
|
1259
1283
|
'0':
|
|
1260
1284
|
description: Audit completed, no blocking findings.
|