@thinkai/tai-api-contract 2.101.0 → 2.102.0

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.
@@ -1,7 +1,7 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ThinkAI API
4
- version: 2.101.0
4
+ version: 2.102.0
5
5
  description: >
6
6
  Contract surface for the AI Driven SDLC backend used by ThinkAI.
7
7
  Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
@@ -18659,6 +18659,22 @@ components:
18659
18659
  type: array
18660
18660
  items: { type: string }
18661
18661
  description: Subset of `god_file`, `high_cc`, `long_params`, `deep_nesting`.
18662
+ peakFunction:
18663
+ type: string
18664
+ nullable: true
18665
+ description: Name of the function that owns `ccMax` (lizard). Null on snapshots taken before peak-function capture.
18666
+ peakStartLine:
18667
+ type: integer
18668
+ nullable: true
18669
+ description: 1-based start line of `peakFunction`.
18670
+ peakEndLine:
18671
+ type: integer
18672
+ nullable: true
18673
+ description: 1-based end line of `peakFunction`.
18674
+ peakParams:
18675
+ type: integer
18676
+ nullable: true
18677
+ description: Parameter count of `peakFunction` (not file-wide `paramsMax`). Null on older snapshots.
18662
18678
 
18663
18679
  CodeInsightsFindingDto:
18664
18680
  type: object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkai/tai-api-contract",
3
- "version": "2.101.0",
3
+ "version": "2.102.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -8178,6 +8178,14 @@ export interface components {
8178
8178
  dupPct?: number | null;
8179
8179
  /** @description Subset of `god_file`, `high_cc`, `long_params`, `deep_nesting`. */
8180
8180
  flags: string[];
8181
+ /** @description Name of the function that owns `ccMax` (lizard). Null on snapshots taken before peak-function capture. */
8182
+ peakFunction?: string | null;
8183
+ /** @description 1-based start line of `peakFunction`. */
8184
+ peakStartLine?: number | null;
8185
+ /** @description 1-based end line of `peakFunction`. */
8186
+ peakEndLine?: number | null;
8187
+ /** @description Parameter count of `peakFunction` (not file-wide `paramsMax`). Null on older snapshots. */
8188
+ peakParams?: number | null;
8181
8189
  };
8182
8190
  CodeInsightsFindingDto: {
8183
8191
  /** Format: uuid */