export declare const schemas: { readonly Error: { readonly type: "object"; readonly required: readonly ["code", "message"]; readonly properties: { readonly code: { readonly type: "string"; }; readonly message: { readonly type: "string"; }; readonly details: { readonly type: "object"; readonly additionalProperties: true; }; }; }; readonly InitResult: { readonly type: "object"; readonly required: readonly ["contractFile"]; readonly properties: { readonly contractFile: { readonly type: "string"; readonly description: "Path to the generated cli-contract.yaml."; }; readonly configFile: { readonly type: "string"; readonly description: "Path to the generated cli-contracts.config.yaml (if --with-config)."; }; }; }; readonly ValidateResult: { readonly type: "object"; readonly required: readonly ["valid", "errorCount", "warningCount", "errors", "warnings"]; readonly properties: { readonly valid: { readonly type: "boolean"; }; readonly errorCount: { readonly type: "integer"; readonly minimum: 0; }; readonly warningCount: { readonly type: "integer"; readonly minimum: 0; }; readonly errors: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["path", "message", "rule"]; readonly properties: { readonly path: { readonly type: "string"; readonly description: "JSON pointer to the problematic location (e.g. /commandSets/foo/commands/init)."; }; readonly message: { readonly type: "string"; }; readonly rule: { readonly type: "string"; readonly description: "Validation rule ID (e.g. duplicate-command-id, invalid-exit-code)."; }; readonly severity: { readonly type: "string"; readonly enum: readonly ["error", "warning"]; }; }; }; }; readonly warnings: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["path", "message", "rule"]; readonly properties: { readonly path: { readonly type: "string"; readonly description: "JSON pointer to the problematic location (e.g. /commandSets/foo/commands/init)."; }; readonly message: { readonly type: "string"; }; readonly rule: { readonly type: "string"; readonly description: "Validation rule ID (e.g. duplicate-command-id, invalid-exit-code)."; }; readonly severity: { readonly type: "string"; readonly enum: readonly ["error", "warning"]; }; }; }; }; }; }; readonly Diagnostic: { readonly type: "object"; readonly required: readonly ["path", "message", "rule"]; readonly properties: { readonly path: { readonly type: "string"; readonly description: "JSON pointer to the problematic location (e.g. /commandSets/foo/commands/init)."; }; readonly message: { readonly type: "string"; }; readonly rule: { readonly type: "string"; readonly description: "Validation rule ID (e.g. duplicate-command-id, invalid-exit-code)."; }; readonly severity: { readonly type: "string"; readonly enum: readonly ["error", "warning"]; }; }; }; readonly GenerateResult: { readonly type: "object"; readonly required: readonly ["generators"]; readonly properties: { readonly generators: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["name", "status", "files"]; readonly properties: { readonly name: { readonly type: "string"; readonly description: "Generator name (e.g. typescript, rust, markdown)."; }; readonly status: { readonly type: "string"; readonly enum: readonly ["success", "skipped", "failed"]; }; readonly files: { readonly type: "array"; readonly items: { readonly type: "string"; }; readonly description: "List of generated file paths."; }; readonly error: { readonly type: "string"; readonly description: "Error message if status is failed."; }; }; }; }; }; }; readonly GeneratorOutput: { readonly type: "object"; readonly required: readonly ["name", "status", "files"]; readonly properties: { readonly name: { readonly type: "string"; readonly description: "Generator name (e.g. typescript, rust, markdown)."; }; readonly status: { readonly type: "string"; readonly enum: readonly ["success", "skipped", "failed"]; }; readonly files: { readonly type: "array"; readonly items: { readonly type: "string"; }; readonly description: "List of generated file paths."; }; readonly error: { readonly type: "string"; readonly description: "Error message if status is failed."; }; }; }; readonly TestResult: { readonly type: "object"; readonly required: readonly ["total", "passed", "failed", "skipped", "cases"]; readonly properties: { readonly total: { readonly type: "integer"; readonly minimum: 0; }; readonly passed: { readonly type: "integer"; readonly minimum: 0; }; readonly failed: { readonly type: "integer"; readonly minimum: 0; }; readonly skipped: { readonly type: "integer"; readonly minimum: 0; }; readonly durationMs: { readonly type: "integer"; readonly minimum: 0; }; readonly cases: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["id", "status"]; readonly properties: { readonly id: { readonly type: "string"; readonly description: "Test case ID."; }; readonly status: { readonly type: "string"; readonly enum: readonly ["passed", "failed", "skipped"]; }; readonly durationMs: { readonly type: "integer"; readonly minimum: 0; }; readonly violations: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["type", "message"]; readonly properties: { readonly type: { readonly type: "string"; readonly enum: readonly ["exit_code_mismatch", "stdout_schema_mismatch", "stderr_schema_mismatch", "stdout_format_mismatch", "stderr_format_mismatch", "file_missing", "file_schema_mismatch"]; }; readonly message: { readonly type: "string"; }; readonly expected: { readonly description: "Expected value or schema excerpt."; }; readonly actual: { readonly description: "Actual value received."; }; }; }; }; }; }; }; }; }; readonly TestCaseResult: { readonly type: "object"; readonly required: readonly ["id", "status"]; readonly properties: { readonly id: { readonly type: "string"; readonly description: "Test case ID."; }; readonly status: { readonly type: "string"; readonly enum: readonly ["passed", "failed", "skipped"]; }; readonly durationMs: { readonly type: "integer"; readonly minimum: 0; }; readonly violations: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["type", "message"]; readonly properties: { readonly type: { readonly type: "string"; readonly enum: readonly ["exit_code_mismatch", "stdout_schema_mismatch", "stderr_schema_mismatch", "stdout_format_mismatch", "stderr_format_mismatch", "file_missing", "file_schema_mismatch"]; }; readonly message: { readonly type: "string"; }; readonly expected: { readonly description: "Expected value or schema excerpt."; }; readonly actual: { readonly description: "Actual value received."; }; }; }; }; }; }; readonly ContractViolation: { readonly type: "object"; readonly required: readonly ["type", "message"]; readonly properties: { readonly type: { readonly type: "string"; readonly enum: readonly ["exit_code_mismatch", "stdout_schema_mismatch", "stderr_schema_mismatch", "stdout_format_mismatch", "stderr_format_mismatch", "file_missing", "file_schema_mismatch"]; }; readonly message: { readonly type: "string"; }; readonly expected: { readonly description: "Expected value or schema excerpt."; }; readonly actual: { readonly description: "Actual value received."; }; }; }; readonly ExtractResult: { readonly type: "object"; readonly required: readonly ["cli_contracts", "info", "command_sets"]; readonly description: "A self-contained contract subset with all $ref resolved inline. When --include-meta is true, a _meta property is included."; readonly properties: { readonly _meta: { readonly type: "object"; readonly required: readonly ["source", "type", "extractedAt", "commands"]; readonly properties: { readonly source: { readonly type: "string"; readonly description: "Path to the source contract file."; }; readonly type: { readonly type: "string"; readonly const: "cli-contracts/extract"; }; readonly extractedAt: { readonly type: "string"; readonly format: "date-time"; readonly description: "ISO 8601 timestamp of extraction."; }; readonly specVersion: { readonly type: "string"; readonly description: "CLI Contracts spec version from the source."; }; readonly commands: { readonly type: "array"; readonly items: { readonly type: "string"; }; readonly description: "List of command IDs that were extracted."; }; }; }; readonly cli_contracts: { readonly type: "string"; readonly description: "Spec version from the source contract."; }; readonly info: { readonly type: "object"; readonly description: "Info block from the source contract."; }; readonly command_sets: { readonly type: "object"; readonly description: "Subset of command sets containing only the requested commands."; }; readonly components: { readonly type: "object"; readonly description: "Only the schemas referenced by extracted commands."; }; }; }; readonly ExtractMeta: { readonly type: "object"; readonly required: readonly ["source", "type", "extractedAt", "commands"]; readonly properties: { readonly source: { readonly type: "string"; readonly description: "Path to the source contract file."; }; readonly type: { readonly type: "string"; readonly const: "cli-contracts/extract"; }; readonly extractedAt: { readonly type: "string"; readonly format: "date-time"; readonly description: "ISO 8601 timestamp of extraction."; }; readonly specVersion: { readonly type: "string"; readonly description: "CLI Contracts spec version from the source."; }; readonly commands: { readonly type: "array"; readonly items: { readonly type: "string"; }; readonly description: "List of command IDs that were extracted."; }; }; }; readonly DiffResult: { readonly type: "object"; readonly required: readonly ["hasBreakingChanges", "changes"]; readonly properties: { readonly hasBreakingChanges: { readonly type: "boolean"; }; readonly breakingCount: { readonly type: "integer"; readonly minimum: 0; }; readonly nonBreakingCount: { readonly type: "integer"; readonly minimum: 0; }; readonly changes: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["type", "path", "breaking", "description"]; readonly properties: { readonly type: { readonly type: "string"; readonly enum: readonly ["added", "removed", "changed"]; }; readonly path: { readonly type: "string"; readonly description: "JSON pointer to the changed location."; }; readonly breaking: { readonly type: "boolean"; }; readonly description: { readonly type: "string"; }; }; }; }; }; }; readonly DiffChange: { readonly type: "object"; readonly required: readonly ["type", "path", "breaking", "description"]; readonly properties: { readonly type: { readonly type: "string"; readonly enum: readonly ["added", "removed", "changed"]; }; readonly path: { readonly type: "string"; readonly description: "JSON pointer to the changed location."; }; readonly breaking: { readonly type: "boolean"; }; readonly description: { readonly type: "string"; }; }; }; }; export declare const initExitCodes: readonly [0, 1, 2, 4]; export declare const validateExitCodes: readonly [0, 1, 2, 9]; export declare const resolveExitCodes: readonly [0, 1, 2]; export declare const generateExitCodes: readonly [0, 1, 2, 3, 5]; export declare const docsExitCodes: readonly [0, 1, 2, 3]; export declare const testExitCodes: readonly [0, 1, 2, 3, 6]; export declare const diffExitCodes: readonly [0, 1, 2, 7]; export declare const proposeAgentPolicyExitCodes: readonly [0, 1, 2, 3, 10, 11, 12]; export declare const auditExitCodes: readonly [0, 1, 2, 3, 10, 11, 12]; export declare const extractExitCodes: readonly [0, 1, 2, 3, 8]; export declare const proposeTestsExitCodes: readonly [0, 1, 2, 3, 10, 11, 12]; export declare const explainDiffExitCodes: readonly [0, 1, 2, 3, 10, 11, 12]; export declare const checkReferenceExitCodes: readonly [0, 1, 2, 3, 10, 11, 12]; export declare const suggestExitCodes: readonly [0, 1, 2, 3, 10, 11, 12]; export declare const bundleExitCodes: readonly [0, 1, 2, 10, 11, 12]; export declare const agentsExitCodes: readonly [0, 1]; //# sourceMappingURL=schemas.d.ts.map