@probelabs/visor 0.1.93 → 0.1.95
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/defaults/.visor.yaml +86 -6
- package/dist/ai-review-service.d.ts +1 -1
- package/dist/ai-review-service.d.ts.map +1 -1
- package/dist/check-execution-engine.d.ts +5 -0
- package/dist/check-execution-engine.d.ts.map +1 -1
- package/dist/cli.d.ts +1 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/commands.d.ts.map +1 -1
- package/dist/config.d.ts +9 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/defaults/.visor.yaml +86 -6
- package/dist/failure-condition-evaluator.d.ts.map +1 -1
- package/dist/footer.d.ts +25 -0
- package/dist/footer.d.ts.map +1 -0
- package/dist/github-check-service.d.ts.map +1 -1
- package/dist/github-comments.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1074 -472
- package/dist/output/code-review/schema.json +0 -23
- package/dist/providers/command-check-provider.d.ts.map +1 -1
- package/dist/providers/log-check-provider.d.ts.map +1 -1
- package/dist/providers/memory-check-provider.d.ts.map +1 -1
- package/dist/reviewer.d.ts +11 -0
- package/dist/reviewer.d.ts.map +1 -1
- package/dist/sdk/{check-execution-engine-RORGGGGP.mjs → check-execution-engine-NMPXJ7FQ.mjs} +2 -2
- package/dist/sdk/{chunk-Z47UECAT.mjs → chunk-Q4S5A5TO.mjs} +314 -111
- package/dist/sdk/chunk-Q4S5A5TO.mjs.map +1 -0
- package/dist/sdk/sdk.d.mts +11 -2
- package/dist/sdk/sdk.d.ts +11 -2
- package/dist/sdk/sdk.js +398 -152
- package/dist/sdk/sdk.js.map +1 -1
- package/dist/sdk/sdk.mjs +57 -24
- package/dist/sdk/sdk.mjs.map +1 -1
- package/dist/sdk.d.ts +11 -2
- package/dist/sdk.d.ts.map +1 -1
- package/dist/traces/{run-2025-10-15T11-54-04-087Z.ndjson → run-2025-10-18T18-27-25-085Z.ndjson} +8 -1
- package/dist/traces/{run-2025-10-15T11-54-14-046Z.ndjson → run-2025-10-18T18-27-35-400Z.ndjson} +8 -1
- package/dist/traces/{run-2025-10-15T11-54-14-575Z.ndjson → run-2025-10-18T18-27-35-937Z.ndjson} +8 -1
- package/dist/traces/{run-2025-10-15T11-54-15-082Z.ndjson → run-2025-10-18T18-27-36-428Z.ndjson} +8 -1
- package/dist/types/cli.d.ts +3 -2
- package/dist/types/cli.d.ts.map +1 -1
- package/dist/types/config.d.ts +0 -2
- package/dist/types/config.d.ts.map +1 -1
- package/dist/utils/diff-processor.d.ts +6 -0
- package/dist/utils/diff-processor.d.ts.map +1 -0
- package/package.json +2 -2
- package/dist/sdk/chunk-Z47UECAT.mjs.map +0 -1
- /package/dist/sdk/{check-execution-engine-RORGGGGP.mjs.map → check-execution-engine-NMPXJ7FQ.mjs.map} +0 -0
- /package/dist/traces/{run-2025-10-15T11-54-15-561Z.ndjson → run-2025-10-18T18-27-36-917Z.ndjson} +0 -0
package/dist/sdk/sdk.d.mts
CHANGED
|
@@ -659,9 +659,18 @@ interface RunOptions extends VisorOptions {
|
|
|
659
659
|
output?: {
|
|
660
660
|
format?: 'table' | 'json' | 'markdown' | 'sarif';
|
|
661
661
|
};
|
|
662
|
+
/** Strict mode: treat config warnings (like unknown keys) as errors (default: false) */
|
|
663
|
+
strictValidation?: boolean;
|
|
662
664
|
}
|
|
663
|
-
/**
|
|
664
|
-
|
|
665
|
+
/**
|
|
666
|
+
* Load and validate a Visor config.
|
|
667
|
+
* @param configOrPath - Config object, file path, or omit to discover defaults
|
|
668
|
+
* @param options - Validation options
|
|
669
|
+
* @returns Validated config with defaults applied
|
|
670
|
+
*/
|
|
671
|
+
declare function loadConfig(configOrPath?: string | Partial<VisorConfig>, options?: {
|
|
672
|
+
strict?: boolean;
|
|
673
|
+
}): Promise<VisorConfig>;
|
|
665
674
|
/** Expand check IDs by including their dependencies (shallow->deep). */
|
|
666
675
|
declare function resolveChecks(checkIds: string[], config: VisorConfig | undefined): string[];
|
|
667
676
|
/**
|
package/dist/sdk/sdk.d.ts
CHANGED
|
@@ -659,9 +659,18 @@ interface RunOptions extends VisorOptions {
|
|
|
659
659
|
output?: {
|
|
660
660
|
format?: 'table' | 'json' | 'markdown' | 'sarif';
|
|
661
661
|
};
|
|
662
|
+
/** Strict mode: treat config warnings (like unknown keys) as errors (default: false) */
|
|
663
|
+
strictValidation?: boolean;
|
|
662
664
|
}
|
|
663
|
-
/**
|
|
664
|
-
|
|
665
|
+
/**
|
|
666
|
+
* Load and validate a Visor config.
|
|
667
|
+
* @param configOrPath - Config object, file path, or omit to discover defaults
|
|
668
|
+
* @param options - Validation options
|
|
669
|
+
* @returns Validated config with defaults applied
|
|
670
|
+
*/
|
|
671
|
+
declare function loadConfig(configOrPath?: string | Partial<VisorConfig>, options?: {
|
|
672
|
+
strict?: boolean;
|
|
673
|
+
}): Promise<VisorConfig>;
|
|
665
674
|
/** Expand check IDs by including their dependencies (shallow->deep). */
|
|
666
675
|
declare function resolveChecks(checkIds: string[], config: VisorConfig | undefined): string[];
|
|
667
676
|
/**
|