@thinkai/tai-api-contract 2.84.0 → 2.85.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.84.0
4
+ version: 2.85.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}/...`.
@@ -5484,10 +5484,11 @@ paths:
5484
5484
  (issues plus optional remediation from `criteriaDetails`).
5485
5485
 
5486
5486
  The Markdown is grouped **by readiness dimension** (catalog order). Each dimension section
5487
- lists matching issues sorted by severity. Default filter is outstanding issues
5488
- (`open` + `pr-pending`). Optional query params narrow the set. When `includeCriteria` is
5489
- true (default), each issue includes a Remediation section from the matching criterion when
5490
- available.
5487
+ lists matching issues sorted by severity. Issue sections include severity in the heading
5488
+ and do not emit per-issue `Fix status` / `Fix tier` lines. Default filter is outstanding
5489
+ issues (`open` + `pr-pending`). Optional query params narrow the set. When `includeCriteria`
5490
+ is true (default), each issue includes a Remediation section from the matching criterion when
5491
+ available. Timestamps use the optional `timeZone` query (IANA; default `UTC`).
5491
5492
 
5492
5493
  The response sets `Content-Disposition: attachment` with filename
5493
5494
  `readiness-issues-{providerSlug}-{date}.md`.
@@ -5522,6 +5523,16 @@ paths:
5522
5523
  schema:
5523
5524
  type: boolean
5524
5525
  default: true
5526
+ - name: timeZone
5527
+ in: query
5528
+ required: false
5529
+ description: >
5530
+ IANA time zone for human-readable `Last analyzed` / `Exported` timestamps and the
5531
+ calendar date in the attachment filename (e.g. `Europe/Berlin`). Defaults to `UTC`.
5532
+ schema:
5533
+ type: string
5534
+ maxLength: 64
5535
+ example: Europe/Berlin
5525
5536
  responses:
5526
5537
  "200":
5527
5538
  description: Markdown file of readiness issues
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkai/tai-api-contract",
3
- "version": "2.84.0",
3
+ "version": "2.85.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -2133,7 +2133,7 @@ export interface paths {
2133
2133
  /**
2134
2134
  * Export repository readiness issues as Markdown
2135
2135
  * @description Download outstanding readiness issues for one repository as a Markdown (`.md`) attachment for local IDE workflows. Reuses the same scorecard as `GET .../readiness/repos/{repoId}` (issues plus optional remediation from `criteriaDetails`).
2136
- * The Markdown is grouped **by readiness dimension** (catalog order). Each dimension section lists matching issues sorted by severity. Default filter is outstanding issues (`open` + `pr-pending`). Optional query params narrow the set. When `includeCriteria` is true (default), each issue includes a Remediation section from the matching criterion when available.
2136
+ * The Markdown is grouped **by readiness dimension** (catalog order). Each dimension section lists matching issues sorted by severity. Issue sections include severity in the heading and do not emit per-issue `Fix status` / `Fix tier` lines. Default filter is outstanding issues (`open` + `pr-pending`). Optional query params narrow the set. When `includeCriteria` is true (default), each issue includes a Remediation section from the matching criterion when available. Timestamps use the optional `timeZone` query (IANA; default `UTC`).
2137
2137
  * The response sets `Content-Disposition: attachment` with filename `readiness-issues-{providerSlug}-{date}.md`.
2138
2138
  */
2139
2139
  get: operations["exportReadinessRepoIssuesMarkdown"];
@@ -13925,6 +13925,8 @@ export interface operations {
13925
13925
  severity?: "critical" | "high" | "medium" | "low";
13926
13926
  /** @description Include remediation from criteriaDetails (default true). */
13927
13927
  includeCriteria?: boolean;
13928
+ /** @description IANA time zone for human-readable `Last analyzed` / `Exported` timestamps and the calendar date in the attachment filename (e.g. `Europe/Berlin`). Defaults to `UTC`. */
13929
+ timeZone?: string;
13928
13930
  };
13929
13931
  header?: never;
13930
13932
  path: {