@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.
Files changed (50) hide show
  1. package/README.md +4 -4
  2. package/defaults/.visor.yaml +86 -6
  3. package/dist/ai-review-service.d.ts +1 -1
  4. package/dist/ai-review-service.d.ts.map +1 -1
  5. package/dist/check-execution-engine.d.ts +5 -0
  6. package/dist/check-execution-engine.d.ts.map +1 -1
  7. package/dist/cli.d.ts +1 -0
  8. package/dist/cli.d.ts.map +1 -1
  9. package/dist/commands.d.ts.map +1 -1
  10. package/dist/config.d.ts +9 -2
  11. package/dist/config.d.ts.map +1 -1
  12. package/dist/defaults/.visor.yaml +86 -6
  13. package/dist/failure-condition-evaluator.d.ts.map +1 -1
  14. package/dist/footer.d.ts +25 -0
  15. package/dist/footer.d.ts.map +1 -0
  16. package/dist/github-check-service.d.ts.map +1 -1
  17. package/dist/github-comments.d.ts.map +1 -1
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +1074 -472
  20. package/dist/output/code-review/schema.json +0 -23
  21. package/dist/providers/command-check-provider.d.ts.map +1 -1
  22. package/dist/providers/log-check-provider.d.ts.map +1 -1
  23. package/dist/providers/memory-check-provider.d.ts.map +1 -1
  24. package/dist/reviewer.d.ts +11 -0
  25. package/dist/reviewer.d.ts.map +1 -1
  26. package/dist/sdk/{check-execution-engine-RORGGGGP.mjs → check-execution-engine-NMPXJ7FQ.mjs} +2 -2
  27. package/dist/sdk/{chunk-Z47UECAT.mjs → chunk-Q4S5A5TO.mjs} +314 -111
  28. package/dist/sdk/chunk-Q4S5A5TO.mjs.map +1 -0
  29. package/dist/sdk/sdk.d.mts +11 -2
  30. package/dist/sdk/sdk.d.ts +11 -2
  31. package/dist/sdk/sdk.js +398 -152
  32. package/dist/sdk/sdk.js.map +1 -1
  33. package/dist/sdk/sdk.mjs +57 -24
  34. package/dist/sdk/sdk.mjs.map +1 -1
  35. package/dist/sdk.d.ts +11 -2
  36. package/dist/sdk.d.ts.map +1 -1
  37. package/dist/traces/{run-2025-10-15T11-54-04-087Z.ndjson → run-2025-10-18T18-27-25-085Z.ndjson} +8 -1
  38. package/dist/traces/{run-2025-10-15T11-54-14-046Z.ndjson → run-2025-10-18T18-27-35-400Z.ndjson} +8 -1
  39. package/dist/traces/{run-2025-10-15T11-54-14-575Z.ndjson → run-2025-10-18T18-27-35-937Z.ndjson} +8 -1
  40. package/dist/traces/{run-2025-10-15T11-54-15-082Z.ndjson → run-2025-10-18T18-27-36-428Z.ndjson} +8 -1
  41. package/dist/types/cli.d.ts +3 -2
  42. package/dist/types/cli.d.ts.map +1 -1
  43. package/dist/types/config.d.ts +0 -2
  44. package/dist/types/config.d.ts.map +1 -1
  45. package/dist/utils/diff-processor.d.ts +6 -0
  46. package/dist/utils/diff-processor.d.ts.map +1 -0
  47. package/package.json +2 -2
  48. package/dist/sdk/chunk-Z47UECAT.mjs.map +0 -1
  49. /package/dist/sdk/{check-execution-engine-RORGGGGP.mjs.map → check-execution-engine-NMPXJ7FQ.mjs.map} +0 -0
  50. /package/dist/traces/{run-2025-10-15T11-54-15-561Z.ndjson → run-2025-10-18T18-27-36-917Z.ndjson} +0 -0
@@ -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
- /** Load a Visor config from path, or discover defaults if path is omitted. */
664
- declare function loadConfig(configPath?: string): Promise<VisorConfig>;
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
- /** Load a Visor config from path, or discover defaults if path is omitted. */
664
- declare function loadConfig(configPath?: string): Promise<VisorConfig>;
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
  /**