@thinkai/tai-api-contract 2.79.0-pr.976.2077d2a6 → 2.80.0-pr.976.4c124f8a

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.
@@ -7597,15 +7597,15 @@ export interface components {
7597
7597
  /** @enum {string} */
7598
7598
  CodeInsightsFindingSeverity: "critical" | "high" | "medium" | "low";
7599
7599
  /**
7600
- * @description v1 deterministic categories. The v2 LLM pass adds `anemic_domain`, `context_leak`, `tx_boundary`, `error_handling` (contract bump).
7600
+ * @description Deterministic categories (`duplication`, `complexity`, `proliferation`, `coverage`) plus LLM semantic detectors (`anemic_domain`, `context_leak`, `tx_boundary`, `error_handling`).
7601
7601
  * @enum {string}
7602
7602
  */
7603
- CodeInsightsFindingCategory: "duplication" | "complexity" | "proliferation" | "coverage";
7603
+ CodeInsightsFindingCategory: "duplication" | "complexity" | "proliferation" | "coverage" | "anemic_domain" | "context_leak" | "tx_boundary" | "error_handling";
7604
7604
  /**
7605
- * @description v1 ships deterministic findings only; the v2 LLM pass adds `llm`.
7605
+ * @description `deterministic` = measured Code Insights rules; `llm` = AI-detected semantic findings (separate agent pass; never blended in scoring).
7606
7606
  * @enum {string}
7607
7607
  */
7608
- CodeInsightsFindingSource: "deterministic";
7608
+ CodeInsightsFindingSource: "deterministic" | "llm";
7609
7609
  CodeInsightsMetricsDto: {
7610
7610
  /** @description Readiness run that produced this metrics row. */
7611
7611
  runId: string;
@@ -11715,7 +11715,10 @@ export interface operations {
11715
11715
  };
11716
11716
  getCodeInsightsRepoDetail: {
11717
11717
  parameters: {
11718
- query?: never;
11718
+ query?: {
11719
+ /** @description Optional filter for findings by source. Omit to return both deterministic and llm findings. */
11720
+ source?: components["schemas"]["CodeInsightsFindingSource"];
11721
+ };
11719
11722
  header?: never;
11720
11723
  path: {
11721
11724
  workspaceId: components["parameters"]["WorkspaceId"];