Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ Run LLM-based OpenAPI design quality audit. Evaluates path design, module bounda
|--------|-------------|
| `-c, --config <path>` | Path to config file |
| `-m, --module <name>` | Module name to audit (default: all) |
| `-a, --adapter <name>` | SDK adapter (`cursor`, `claude`, `openai`, `gemini`, `mock`) |
| `-a, --adapter <name>` | SDK adapter (`claude`, `openai`, `gemini`, `mock`) |
| `--model <name>` | LLM model override |
| `--show-prompt` | Output the constructed prompt without calling LLM |
| `--fail-on <level>` | Minimum severity for non-zero exit (`warning`, `error`, `critical`) |
Expand All @@ -474,7 +474,7 @@ Review published API surface for internal type leakage and backward compatibilit
|--------|-------------|
| `-c, --config <path>` | Path to config file |
| `-m, --module <name>` | Module name to review (default: all) |
| `-a, --adapter <name>` | SDK adapter (`cursor`, `claude`, `openai`, `gemini`, `mock`) |
| `-a, --adapter <name>` | SDK adapter (`claude`, `openai`, `gemini`, `mock`) |
| `--model <name>` | LLM model override |
| `--show-prompt` | Output the constructed prompt without calling LLM |
| `--fail-on <level>` | Minimum severity for non-zero exit |
Expand All @@ -489,7 +489,7 @@ Propose cross-cutting overlay candidates for authentication, tenancy, rate limit
|--------|-------------|
| `-c, --config <path>` | Path to config file |
| `-m, --module <name>` | Module name to analyze (default: all) |
| `-a, --adapter <name>` | SDK adapter (`cursor`, `claude`, `openai`, `gemini`, `mock`) |
| `-a, --adapter <name>` | SDK adapter (`claude`, `openai`, `gemini`, `mock`) |
| `--model <name>` | LLM model override |
| `--show-prompt` | Output the constructed prompt without calling LLM |
| `--fail-on <level>` | Minimum severity for non-zero exit |
Expand All @@ -504,7 +504,7 @@ Audit guardrails configuration for drift detection and lint rule coverage. File
|--------|-------------|
| `-c, --config <path>` | Path to config file |
| `-g, --guardrails <path>` | Path to guardrails.yaml |
| `-a, --adapter <name>` | SDK adapter (`cursor`, `claude`, `openai`, `gemini`, `mock`) |
| `-a, --adapter <name>` | SDK adapter (`claude`, `openai`, `gemini`, `mock`) |
| `--model <name>` | LLM model override |
| `--show-prompt` | Output the constructed prompt without calling LLM |
| `--fail-on <level>` | Minimum severity for non-zero exit |
Expand Down
10 changes: 5 additions & 5 deletions cli-contract.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ command_sets:
usage:
- micro-contracts audit-openapi
- micro-contracts audit-openapi -m core
- micro-contracts audit-openapi --adapter cursor --report-format text
- micro-contracts audit-openapi --adapter claude --report-format text
- micro-contracts audit-openapi --show-prompt

options:
Expand Down Expand Up @@ -848,7 +848,7 @@ command_sets:
value_name: name
schema:
type: string
enum: [cursor, claude, openai, gemini, mock]
enum: [claude, openai, gemini, mock]

- name: model
description: LLM model override.
Expand Down Expand Up @@ -976,7 +976,7 @@ command_sets:
value_name: name
schema:
type: string
enum: [cursor, claude, openai, gemini, mock]
enum: [claude, openai, gemini, mock]

- name: model
description: LLM model override.
Expand Down Expand Up @@ -1105,7 +1105,7 @@ command_sets:
value_name: name
schema:
type: string
enum: [cursor, claude, openai, gemini, mock]
enum: [claude, openai, gemini, mock]

- name: model
description: LLM model override.
Expand Down Expand Up @@ -1238,7 +1238,7 @@ command_sets:
value_name: name
schema:
type: string
enum: [cursor, claude, openai, gemini, mock]
enum: [claude, openai, gemini, mock]

- name: model
description: LLM model override.
Expand Down
2 changes: 1 addition & 1 deletion docs/cli-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ micro-contracts audit-openapi
micro-contracts audit-openapi -m core
```
```
micro-contracts audit-openapi --adapter cursor --report-format text
micro-contracts audit-openapi --adapter claude --report-format text
```
```
micro-contracts audit-openapi --show-prompt
Expand Down
2 changes: 1 addition & 1 deletion esbuild.bundle.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const minify = process.argv.includes("--minify");
const externalSdks = [
"@anthropic-ai/claude-agent-sdk",
"@anthropic-ai/sdk",
"@cursor/sdk",
"@google/adk",
"@openai/agents",
"@google/genai",
];
Expand Down
6 changes: 3 additions & 3 deletions examples/packages/.generated-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "1.0",
"generatorVersion": "0.17.4",
"generatorVersion": "0.17.5",
"files": {
"contract-published/billing/docs/api-reference.html": {
"sha256": "5b69e88fc9f60578261a8231132678550a40a70eb52dfcc611f48937f448ca44"
Expand Down Expand Up @@ -144,6 +144,6 @@
"sha256": "d791f51b36215aba3e7cf7c5f69fc4b9fd6d4f2cf515718fdc93589fa05e2608"
}
},
"inputHash": "95df5a45d73f3e7848cac5ee5476e947bcc4f0e061b73698aa1638a1bc92d277",
"updatedAt": "2026-06-05T13:56:54.549Z"
"inputHash": "d7ac8685691143a58fe6b86e00cd6f7614b0d667eab79029c1b167ebb3a51a1b",
"updatedAt": "2026-06-05T14:12:29.997Z"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "micro-contracts",
"version": "0.17.4",
"version": "0.17.5",
"description": "Contract-first OpenAPI toolchain that keeps TypeScript UI and microservices aligned via code generation",
"type": "module",
"main": "dist/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/generated/contract.ts

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions src/generated/policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,6 @@ export const commandDefinitions = {
"schema": {
"type": "string",
"enum": [
"cursor",
"claude",
"openai",
"gemini",
Expand Down Expand Up @@ -581,7 +580,6 @@ export const commandDefinitions = {
"schema": {
"type": "string",
"enum": [
"cursor",
"claude",
"openai",
"gemini",
Expand Down Expand Up @@ -675,7 +673,6 @@ export const commandDefinitions = {
"schema": {
"type": "string",
"enum": [
"cursor",
"claude",
"openai",
"gemini",
Expand Down Expand Up @@ -775,7 +772,6 @@ export const commandDefinitions = {
"schema": {
"type": "string",
"enum": [
"cursor",
"claude",
"openai",
"gemini",
Expand Down
8 changes: 4 additions & 4 deletions src/generated/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export type ManifestExitResult =
export interface AuditOpenapiOptions {
config?: string;
module?: string;
adapter?: "cursor" | "claude" | "openai" | "gemini" | "mock";
adapter?: "claude" | "openai" | "gemini" | "mock";
model?: string;
failOn?: "warning" | "error" | "critical";
output?: string;
Expand All @@ -167,7 +167,7 @@ export type AuditOpenapiExitResult =
export interface ReviewPublishedOptions {
config?: string;
module?: string;
adapter?: "cursor" | "claude" | "openai" | "gemini" | "mock";
adapter?: "claude" | "openai" | "gemini" | "mock";
model?: string;
failOn?: "warning" | "error" | "critical";
output?: string;
Expand All @@ -188,7 +188,7 @@ export type ReviewPublishedExitResult =
export interface ProposeOverlaysOptions {
config?: string;
module?: string;
adapter?: "cursor" | "claude" | "openai" | "gemini" | "mock";
adapter?: "claude" | "openai" | "gemini" | "mock";
model?: string;
failOn?: "warning" | "error" | "critical";
output?: string;
Expand All @@ -209,7 +209,7 @@ export type ProposeOverlaysExitResult =
export interface AuditGuardrailsOptions {
config?: string;
guardrails?: string;
adapter?: "cursor" | "claude" | "openai" | "gemini" | "mock";
adapter?: "claude" | "openai" | "gemini" | "mock";
model?: string;
failOn?: "warning" | "error" | "critical";
output?: string;
Expand Down
Loading