@thinkai/tai-api-contract 2.34.0-pr.810.e54f7dcd → 2.35.0-pr.811.d57af044

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.
@@ -395,7 +395,7 @@ export interface paths {
395
395
  };
396
396
  /**
397
397
  * Productivity insights — contributor drilldown
398
- * @description Weekly and daily activity rollups for a single contributor on `/phase-c/c4/contributors/:id`. Distributes weekly merged PR counts from precomputed person metrics across weekdays; includes fail-rate signals and period-over-period summary deltas. Accepts org-chart person ids (typically email) and synthetic GitHub scopes (`__github:{login}`) for contributors not in the org chart.
398
+ * @description Weekly and daily activity rollups for a single contributor on `/insights/productivity/contributors/:loginOrId`. Accepts GitHub login slugs (preferred public URL), org-chart person ids (typically email), and synthetic GitHub scopes (`__github:{login}`) for contributors not in the org chart.
399
399
  */
400
400
  get: operations["getProductivityInsightsContributor"];
401
401
  put?: never;
@@ -642,7 +642,7 @@ export interface paths {
642
642
  put?: never;
643
643
  /**
644
644
  * Create GitHub App installation URL
645
- * @description Creates a GitHub App installation URL scoped to the workspace and caller. Body is optional; when omitted, defaults to `/phase-a/p4` return path. Optional `pickerSession` (from user OAuth org picker) recovers `returnPath` from the server-side picker snapshot when the multi-hop authorize→install flow should return to the page where OAuth started.
645
+ * @description Creates a GitHub App installation URL scoped to the workspace and caller. Body is optional; when omitted, defaults to `/onboarding/integrations` return path. Optional `pickerSession` (from user OAuth org picker) recovers `returnPath` from the server-side picker snapshot when the multi-hop authorize→install flow should return to the page where OAuth started.
646
646
  */
647
647
  post: operations["postGithubInstallUrl"];
648
648
  delete?: never;
@@ -1121,6 +1121,26 @@ export interface paths {
1121
1121
  patch?: never;
1122
1122
  trace?: never;
1123
1123
  };
1124
+ "/workspaces/{workspaceId}/readiness/repos/by-slug/{providerSlug}": {
1125
+ parameters: {
1126
+ query?: never;
1127
+ header?: never;
1128
+ path?: never;
1129
+ cookie?: never;
1130
+ };
1131
+ /**
1132
+ * Single repo readiness by provider slug
1133
+ * @description Returns one stored repository scorecard keyed by `providerSlug` (`owner/repo`). Same response as `GET .../readiness/repos/{repoId}`. Unknown slug returns `404`.
1134
+ */
1135
+ get: operations["getReadinessRepoBySlug"];
1136
+ put?: never;
1137
+ post?: never;
1138
+ delete?: never;
1139
+ options?: never;
1140
+ head?: never;
1141
+ patch?: never;
1142
+ trace?: never;
1143
+ };
1124
1144
  "/workspaces/{workspaceId}/readiness/repos/{repoId}": {
1125
1145
  parameters: {
1126
1146
  query?: never;
@@ -1195,7 +1215,7 @@ export interface paths {
1195
1215
  };
1196
1216
  /**
1197
1217
  * Workspace activity log (paginated)
1198
- * @description Paginated, chronological feed of workspace-scoped lifecycle events: repository add/remove/re-add and GitHub integration add/remove. Inactive repos remain visible in this log. Filter by `eventType`, `actorUserId`, or date range (`since`/`until`).
1218
+ * @description Paginated, chronological feed of workspace-scoped lifecycle events: repository add/remove/re-add and GitHub integration add/remove. Inactive repos remain visible in this log. Filter by a single `eventType`, a coarse `eventCategory`/`productArea`, an `eventSubcategory` (a dotted event-type prefix that matches a whole lifecycle subgroup in one call, e.g. `integrations.cursor.execution_key`), `actorUserId`, or date range (`since`/`until`).
1199
1219
  */
1200
1220
  get: operations["listWorkspaceActivity"];
1201
1221
  put?: never;
@@ -1206,6 +1226,26 @@ export interface paths {
1206
1226
  patch?: never;
1207
1227
  trace?: never;
1208
1228
  };
1229
+ "/workspaces/{workspaceId}/activity/export": {
1230
+ parameters: {
1231
+ query?: never;
1232
+ header?: never;
1233
+ path?: never;
1234
+ cookie?: never;
1235
+ };
1236
+ /**
1237
+ * Export workspace activity log as CSV
1238
+ * @description Export the workspace activity log as an RFC 4180 CSV file (one row per event). Accepts the same filters as `GET /workspaces/{workspaceId}/activity` (`eventType`, `eventCategory`, `eventSubcategory`, `productArea`, `actorUserId`, `since`, `until`, `search`, `sort`, `order`); `limit`/`offset` are ignored — the export returns up to 50000 matching rows within the sort. Columns: occurredAt, eventType, eventCategory, actorType, actorName, actorEmail, repoName, integrationType, metadata. Opaque internal identifiers (actorUserId, repoId, integrationId, fixRequestId, issueId, readinessRunId) are omitted — the human-readable equivalents are already present and the IDs carry no value in a user-facing export. The response sets `Content-Disposition: attachment` with a `.csv` filename.
1239
+ */
1240
+ get: operations["exportWorkspaceActivity"];
1241
+ put?: never;
1242
+ post?: never;
1243
+ delete?: never;
1244
+ options?: never;
1245
+ head?: never;
1246
+ patch?: never;
1247
+ trace?: never;
1248
+ };
1209
1249
  "/workspaces/{workspaceId}/readiness/score-history": {
1210
1250
  parameters: {
1211
1251
  query?: never;
@@ -1550,6 +1590,50 @@ export interface paths {
1550
1590
  patch?: never;
1551
1591
  trace?: never;
1552
1592
  };
1593
+ "/workspaces/{workspaceId}/repo-eligibility": {
1594
+ parameters: {
1595
+ query?: never;
1596
+ header?: never;
1597
+ path?: never;
1598
+ cookie?: never;
1599
+ };
1600
+ /**
1601
+ * Get repo-sync eligibility gate (defaults + per-workspace overrides)
1602
+ * @description Returns the effective repo-sync eligibility gate (archived / fork / size / count) for the workspace: the global `defaults`, any per-workspace `overrides`, the merged `effective` values, and whether the caller can edit without platform-admin (`canEditUnrestricted`). Member-level read access.
1603
+ */
1604
+ get: operations["getWorkspaceRepoEligibility"];
1605
+ /**
1606
+ * Set per-workspace repo-sync eligibility overrides
1607
+ * @description Set (or clear, with an empty `overrides`) the per-workspace repo-sync eligibility overrides. **Platform admins** may set any value (raise caps, `0` = unlimited, include archived/forks). **Workspace admins** may only make the gate *more restrictive* than the platform defaults (lower caps, exclude archived/forks) — exceeding a platform limit returns `403` (`repo_eligibility_bound_exceeded`). Requires workspace admin or platform admin.
1608
+ */
1609
+ put: operations["putWorkspaceRepoEligibility"];
1610
+ post?: never;
1611
+ delete?: never;
1612
+ options?: never;
1613
+ head?: never;
1614
+ patch?: never;
1615
+ trace?: never;
1616
+ };
1617
+ "/workspaces/{workspaceId}/repo-eligibility/refresh-languages": {
1618
+ parameters: {
1619
+ query?: never;
1620
+ header?: never;
1621
+ path?: never;
1622
+ cookie?: never;
1623
+ };
1624
+ get?: never;
1625
+ put?: never;
1626
+ /**
1627
+ * Force a language/stack re-detection on the next sync
1628
+ * @description Admin maintenance action: invalidate the cached language/stack freshness marker so the next GitHub repo sync re-fetches `GET /repos/{owner}/{repo}/languages` and recomputes the per-language breakdown and supported stacks. Use after adding a newly-supported language to a repo, or when a repo's stack detection looks stale. Optionally scope to a single repo via `repoSlug` (`owner/name`); omit it to reset every repo in the workspace. Requires workspace admin or platform admin. The refresh itself happens on the next sync (e.g. when the GitHub repo list is loaded with `refresh=true`); the readiness scan also refreshes the breakdown on each successful run.
1629
+ */
1630
+ post: operations["refreshWorkspaceRepoLanguages"];
1631
+ delete?: never;
1632
+ options?: never;
1633
+ head?: never;
1634
+ patch?: never;
1635
+ trace?: never;
1636
+ };
1553
1637
  "/workspaces/{workspaceId}/readiness/cursor-key-usage": {
1554
1638
  parameters: {
1555
1639
  query?: never;
@@ -1837,7 +1921,7 @@ export interface paths {
1837
1921
  };
1838
1922
  /**
1839
1923
  * Workspace journey step completion
1840
- * @description Returns the workspace-scoped journey progress state. Returns an empty `completedSteps` list with a synthetic `updatedAt` if no row exists yet. Covers issue #271.
1924
+ * @description Returns the workspace-scoped journey progress state. Returns an empty `completedStepIds` array when no row exists yet (updatedAt is synthetic in that case). Values are canonical step IDs (see `JourneyStepId`); legacy route strings are accepted on PUT and normalized. Covers issue #271.
1841
1925
  */
1842
1926
  get: operations["getYourAiJourneyProgress"];
1843
1927
  /**
@@ -2310,12 +2394,7 @@ export interface components {
2310
2394
  /** @description Short label for the week column (MM/DD), aligned with Measure charts. */
2311
2395
  weekLabel?: string;
2312
2396
  mergedPrCount: number;
2313
- /** @description DORA change failure rate (deployments/incidents), not CI build failures. */
2314
2397
  failRatePercent: number;
2315
- /** @description GitHub Actions / Checks CI build failure rate for the week bucket (failed runs / (failed + passed) * 100). Zero when GitHub Actions CI is disabled. */
2316
- ciFailRatePercent?: number;
2317
- /** @description Count of build.failed events in the week bucket when CI ingest is enabled. */
2318
- ciBuildFailuresCount?: number;
2319
2398
  /** @description Mean hours from PR creation to first review in this week bucket. */
2320
2399
  avgReviewWaitHours?: number;
2321
2400
  /** @description Mean hours from first review to first approval in this week bucket. */
@@ -2348,8 +2427,6 @@ export interface components {
2348
2427
  scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
2349
2428
  /** Format: date-time */
2350
2429
  generatedAt: string;
2351
- /** @description True when the workspace has opted in to GitHub Actions CI ingest. */
2352
- githubActionsCiEnabled?: boolean;
2353
2430
  teams: components["schemas"]["ProductivityInsightsAggregatedTeamRowDto"][];
2354
2431
  };
2355
2432
  ProductivityInsightsMergedPrTrendWeekDto: {
@@ -2394,16 +2471,11 @@ export interface components {
2394
2471
  periodAvgMergedPrs: number;
2395
2472
  /** @description Average change failure rate over the range when available. */
2396
2473
  avgFailRatePercent?: number;
2397
- /** @description Average GitHub Actions CI build failure rate over the range when CI ingest is enabled. */
2398
- avgCiFailRatePercent?: number;
2399
2474
  };
2400
2475
  ProductivityInsightsTeamSummaryDto: {
2401
2476
  totalMergedPrs: number;
2402
2477
  avgMergedPrsPerWeek: number;
2403
- /** @description Average DORA change failure rate over the range when available. */
2404
2478
  avgFailRatePercent: number;
2405
- /** @description Average GitHub Actions CI build failure rate over the range when CI ingest is enabled. */
2406
- avgCiFailRatePercent?: number;
2407
2479
  headcount: number;
2408
2480
  };
2409
2481
  ProductivityInsightsTeamDetailDto: {
@@ -2430,8 +2502,6 @@ export interface components {
2430
2502
  scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
2431
2503
  /** Format: date-time */
2432
2504
  generatedAt: string;
2433
- /** @description True when the workspace has opted in to GitHub Actions CI ingest. */
2434
- githubActionsCiEnabled?: boolean;
2435
2505
  /** @description Present when `teamId` query is omitted — top-ranked teams. */
2436
2506
  items?: components["schemas"]["ProductivityInsightsTeamLeaderItemDto"][];
2437
2507
  /** @description Present when `teamId` query is set — single-team drilldown. */
@@ -2479,16 +2549,11 @@ export interface components {
2479
2549
  totalMergedPrs: number;
2480
2550
  avgMergedPrsPerWeek: number;
2481
2551
  totalAbsenceDays: number;
2482
- /** @description Average DORA change failure rate over the range when available. */
2483
2552
  avgFailRate: number;
2484
- /** @description Average GitHub Actions CI build failure rate over the range when CI ingest is enabled. */
2485
- avgCiFailRate?: number;
2486
2553
  mergedPrDelta: number;
2487
2554
  avgMergedPrsPerWeekDelta: number;
2488
2555
  totalAbsenceDaysDelta: number;
2489
2556
  avgFailRateDelta: number;
2490
- /** @description Change in average CI build failure rate vs the prior comparison window. */
2491
- avgCiFailRateDelta?: number;
2492
2557
  };
2493
2558
  ProductivityInsightsContributorDetailDto: {
2494
2559
  /** Format: uuid */
@@ -2500,8 +2565,6 @@ export interface components {
2500
2565
  scope: components["schemas"]["ProductivityInsightsAggregatedTeamsScopeDto"];
2501
2566
  /** Format: date-time */
2502
2567
  generatedAt: string;
2503
- /** @description True when the workspace has opted in to GitHub Actions CI ingest. */
2504
- githubActionsCiEnabled?: boolean;
2505
2568
  contributor: components["schemas"]["ProductivityInsightsContributorProfileDto"];
2506
2569
  weeks: components["schemas"]["ProductivityInsightsContributorActivityWeekDto"][];
2507
2570
  summary: components["schemas"]["ProductivityInsightsContributorActivitySummaryDto"];
@@ -2520,8 +2583,6 @@ export interface components {
2520
2583
  periodAvgMergedPrs: number;
2521
2584
  /** @description Mean weekly change-failure rate when available. */
2522
2585
  avgFailRatePercent?: number;
2523
- /** @description Mean weekly GitHub Actions CI build failure rate when CI ingest is enabled. */
2524
- avgCiFailRatePercent?: number;
2525
2586
  };
2526
2587
  ProductivityInsightsNeedsAttentionDto: {
2527
2588
  /** Format: uuid */
@@ -2532,8 +2593,6 @@ export interface components {
2532
2593
  entityType: "teams" | "contributors";
2533
2594
  /** Format: date-time */
2534
2595
  generatedAt: string;
2535
- /** @description True when GitHub Actions CI ingest is enabled for this workspace. */
2536
- githubActionsCiEnabled?: boolean;
2537
2596
  items: components["schemas"]["ProductivityInsightsNeedsAttentionItemDto"][];
2538
2597
  };
2539
2598
  AiUsageSpendAggregatedTeamWeekDto: {
@@ -2802,6 +2861,83 @@ export interface components {
2802
2861
  * @description Last push or metadata update from GitHub when available.
2803
2862
  */
2804
2863
  updatedAt?: string | null;
2864
+ /** @description True when the repository is archived (read-only on GitHub). */
2865
+ archived?: boolean | null;
2866
+ /** @description True when the repository is a fork of another repository. */
2867
+ fork?: boolean | null;
2868
+ /** @description True when the repository is disabled on GitHub. */
2869
+ disabled?: boolean | null;
2870
+ /** @description Repository size in KB as reported by GitHub. */
2871
+ size?: number | null;
2872
+ /** @description Hard structural reasons this repo cannot be analyzed (archived, disabled, too-large, workspace repo cap). Each entry is a human-readable explanation (e.g. "This repo is archived"). Empty or absent means no hard block. Forks and unsupported-language repos are NOT listed here — they are advisory `warnings` (#729) and remain analyzable. */
2873
+ ineligibleReasons?: string[] | null;
2874
+ /** @description Non-blocking advisories shown alongside an otherwise-analyzable repo (#729). Includes forks ("results reflect the forked code") and repos with no v1-supported stack, where the message embeds the GitHub language mix in percent. Absent/empty when there are no warnings. Unlike `ineligibleReasons`, warnings do NOT disable analyze/score/fix actions. */
2875
+ warnings?: string[] | null;
2876
+ /**
2877
+ * @description Whether the repo can be analyzed (issue #44/#729). `ineligible` only for HARD structural gates (archived, disabled, too-large, workspace repo cap) — such repos render read-only in the AF list. A repo with no supported stack or that is a fork is `eligible` and carries a non-blocking `warnings` entry instead of being blocked.
2878
+ * @enum {string|null}
2879
+ */
2880
+ eligibilityStatus?: "eligible" | "ineligible" | null;
2881
+ /** @description Human-readable explanation when `eligibilityStatus` is `ineligible` (e.g. "This repo is archived"). For advisory language/fork notices see `warnings`, not this field. */
2882
+ eligibilityReason?: string | null;
2883
+ /** @description Dominant supported stack (by GitHub language bytes), one of backend_jvm | ios_app | web_spa | backend_go | backend_python. Null when no supported stack was detected. */
2884
+ primaryStack?: string | null;
2885
+ /** @description Second supported stack for a multi-stack repo, or null. */
2886
+ secondaryStack?: string | null;
2887
+ /** @description All supported stacks detected for the repo (ordered, primary first). Empty/null when no supported stack is present. Drives multi-stack scanning and the orange mixed-monorepo box in the AF UI. */
2888
+ supportedStacks?: string[] | null;
2889
+ /** @description Per-language share of the repo from GitHub's `GET /repos/{owner}/{repo}/languages` byte counts, ordered by share descending (#729). Powers the "language mix" shown in the unsupported-stack warning. Absent/null until the repo has been synced with a language resolver. */
2890
+ languageBreakdown?: {
2891
+ /** @description GitHub language name (e.g. "TypeScript", "Go"). */
2892
+ language: string;
2893
+ /**
2894
+ * Format: float
2895
+ * @description Share of total language bytes, rounded to four decimal places (e.g. 64.2153). The extra precision keeps small/near-tied languages distinguishable for a hover tag; render it rounded for compact labels. May not sum to exactly 100 due to rounding.
2896
+ */
2897
+ percent: number;
2898
+ /** @description True when this language maps to a v1-supported stack; false when the language is not supported. Lets the UI flag exactly which languages are not (fully) supported in a mixed/monorepo. */
2899
+ supported: boolean;
2900
+ /** @description The supported stack this language maps to (backend_jvm | ios_app | web_spa | backend_go | backend_python), or null when the language is unsupported. */
2901
+ stack?: string | null;
2902
+ }[] | null;
2903
+ };
2904
+ /** @description Resolved repo-sync eligibility gate (defaults or effective). All fields present. */
2905
+ RepoEligibilityConfigDto: {
2906
+ /** @description Skip archived repos during GitHub repo sync. */
2907
+ excludeArchived: boolean;
2908
+ /** @description Skip forked repos. Forks are included by default. */
2909
+ excludeForks: boolean;
2910
+ /** @description Max repo size in KB (GitHub-reported). 0 = no limit. */
2911
+ maxRepoSizeKb: number;
2912
+ /** @description Max repos materialized per workspace per sync. 0 = no limit. */
2913
+ maxReposPerWorkspace: number;
2914
+ };
2915
+ /** @description Per-workspace overrides for the repo-sync eligibility gate. Any field present wins over the global default; omit a field to inherit the default. An empty object clears all overrides. */
2916
+ RepoEligibilityOverridesDto: {
2917
+ excludeArchived?: boolean | null;
2918
+ excludeForks?: boolean | null;
2919
+ maxRepoSizeKb?: number | null;
2920
+ maxReposPerWorkspace?: number | null;
2921
+ };
2922
+ WorkspaceRepoEligibilityDto: {
2923
+ defaults: components["schemas"]["RepoEligibilityConfigDto"];
2924
+ overrides: components["schemas"]["RepoEligibilityOverridesDto"];
2925
+ effective: components["schemas"]["RepoEligibilityConfigDto"];
2926
+ /** @description True when the caller is a platform admin (may set any value, incl. raising caps). */
2927
+ canEditUnrestricted: boolean;
2928
+ };
2929
+ /** @description Effective repo-eligibility limits applied to the GitHub repo list, plus the current count of eligible repos. Lets the UI render per-repo "size / limit" (compare each repo's `size` in `GithubInstalledRepoDto` to `maxRepoSizeKb`) and workspace "N / cap" usage (`eligibleRepoCount` / `maxReposPerWorkspace`). */
2930
+ RepoEligibilityLimitsDto: {
2931
+ /** @description Per-repo size cap in KB (GitHub-reported). 0 = no limit. */
2932
+ maxRepoSizeKb: number;
2933
+ /** @description Max repos that can be eligible per workspace. 0 = no limit. */
2934
+ maxReposPerWorkspace: number;
2935
+ /** @description Whether archived repos are treated as a hard block. */
2936
+ excludeArchived: boolean;
2937
+ /** @description Whether forked repos are excluded by the sync gate (forks are a warning, not a block). */
2938
+ excludeForks: boolean;
2939
+ /** @description Repos currently counting as eligible (eligibilityStatus != "ineligible"), i.e. those that count toward `maxReposPerWorkspace`. */
2940
+ eligibleRepoCount: number;
2805
2941
  };
2806
2942
  GithubMissingPermissionDto: {
2807
2943
  /** @description GitHub App permission key (e.g. contents, pull_requests). */
@@ -2890,6 +3026,8 @@ export interface components {
2890
3026
  account?: components["schemas"]["GithubAccountDto"] | null;
2891
3027
  /** @description Paginated merged installation repositories when `installed` is true. */
2892
3028
  repos?: components["schemas"]["GithubInstalledRepoListDto"] | null;
3029
+ /** @description Effective size/count limits and current eligible-repo usage for the repo list. Present when `installed` is true. Pair with each repo's `size` and `eligibilityStatus` to show "size / limit" and "N / cap" in the UI. */
3030
+ eligibilityLimits?: components["schemas"]["RepoEligibilityLimitsDto"] | null;
2893
3031
  /**
2894
3032
  * Format: uri
2895
3033
  * @description User accounts: github.com/settings/installations/<id>. Organizations: github.com/organizations/<login>/settings/installations/<id>.
@@ -3200,7 +3338,7 @@ export interface components {
3200
3338
  scorePercent?: number;
3201
3339
  /** @description Per-criterion status counts from the latest successful scan */
3202
3340
  criteriaSummary?: components["schemas"]["ReadinessCriteriaSummaryDto"] | null;
3203
- /** @description Individual rubric criterion outcomes from the latest successful scan. Always present on the single-repo detail endpoint. When the repo has a succeeded scan but a dimension was not evaluated (e.g. Section I on older runs), the API returns full rubric placeholders with status `blocked`. Empty array only when the repo has no succeeded scan yet. */
3341
+ /** @description Individual rubric criterion outcomes from the latest successful scan. Always present on the single-repo detail endpoint; empty array when no scan has completed yet for this dimension. */
3204
3342
  criteriaDetails: components["schemas"]["CriterionDetailDto"][];
3205
3343
  issues: components["schemas"]["ReadinessIssueDto"][];
3206
3344
  };
@@ -3294,6 +3432,34 @@ export interface components {
3294
3432
  * @enum {string|null}
3295
3433
  */
3296
3434
  archivedReason?: "github_removed" | "installation_disconnected" | "installation_replaced" | "superseded" | null;
3435
+ /**
3436
+ * @description Whether the repo can be analyzed (#44/#729). Language support no longer makes a repo `ineligible` — a missing v1-supported stack is surfaced via `warnings` and the repo stays analyzable. It becomes `ineligible` when the most recent scan hit a hard size/file-count limit (e.g. code-size or file-count exceeded): the repo is then restricted here too so this surface matches the GitHub connect list's size gate after the scan. Null until the first sync/scan computes it.
3437
+ * @enum {string|null}
3438
+ */
3439
+ eligibilityStatus?: "eligible" | "ineligible" | null;
3440
+ /** @description Human-readable explanation when `eligibilityStatus` is `ineligible` (e.g. the size / file-count limit message from the last scan). For advisory language notices see `warnings`. */
3441
+ eligibilityReason?: string | null;
3442
+ /** @description Non-blocking advisories for an analyzable repo (#729): no v1-supported stack (with the language mix), and hard-limit run outcomes (code size / file count exceeded) carried from the last run. Absent/empty when there are no warnings. */
3443
+ warnings?: string[] | null;
3444
+ /** @description Dominant supported stack — backend_jvm | ios_app | web_spa | backend_go | backend_python. Null when no supported stack/uncomputed. */
3445
+ primaryStack?: string | null;
3446
+ /** @description Second supported stack for a multi-stack repo, or null. */
3447
+ secondaryStack?: string | null;
3448
+ /** @description All supported stacks detected (ordered, primary first). Empty/null when none. */
3449
+ supportedStacks?: string[] | null;
3450
+ /** @description Per-language share from GitHub languages (#729), ordered by share descending. Each entry has `supported`/`stack` so the UI can tag which languages are (not) supported. Absent until the repo has been synced with a language resolver. */
3451
+ languageBreakdown?: {
3452
+ language: string;
3453
+ /**
3454
+ * Format: float
3455
+ * @description Share of total language bytes, rounded to four decimal places (e.g. 64.2153).
3456
+ */
3457
+ percent: number;
3458
+ supported: boolean;
3459
+ stack?: string | null;
3460
+ }[] | null;
3461
+ /** @description GitHub-reported repository size in KB (includes git history), refreshed on each readiness scan (#729). Compare against `eligibilityLimits.maxRepoSizeKb` on the list response to show per-repo "size / limit". When the size exceeds the limit the latest scan is recorded as `partial_failed` with `lastRunErrorCode = exceeded_repo_size_limit` and the repo is marked `ineligible`. Null until a scan has populated it. */
3462
+ sizeKb?: number | null;
3297
3463
  };
3298
3464
  /** @description Single-repo detail response. Identical to RepoReadinessScoreDto except dimensions use DimensionScoreDetailDto (criteriaDetails required per dimension). */
3299
3465
  RepoReadinessScoreDetailDto: {
@@ -3321,6 +3487,30 @@ export interface components {
3321
3487
  archivedAt?: string | null;
3322
3488
  /** @enum {string|null} */
3323
3489
  archivedReason?: "github_removed" | "installation_disconnected" | "installation_replaced" | "superseded" | null;
3490
+ /**
3491
+ * @description See RepoReadinessScoreDto.eligibilityStatus. Language support is advisory (#729) and surfaced via `warnings`.
3492
+ * @enum {string|null}
3493
+ */
3494
+ eligibilityStatus?: "eligible" | "ineligible" | null;
3495
+ eligibilityReason?: string | null;
3496
+ /** @description Non-blocking advisories (no v1-supported stack, hard-limit run outcomes). See RepoReadinessScoreDto.warnings. */
3497
+ warnings?: string[] | null;
3498
+ primaryStack?: string | null;
3499
+ secondaryStack?: string | null;
3500
+ supportedStacks?: string[] | null;
3501
+ /** @description Per-language share with `supported`/`stack` tags. See RepoReadinessScoreDto.languageBreakdown. */
3502
+ languageBreakdown?: {
3503
+ language: string;
3504
+ /**
3505
+ * Format: float
3506
+ * @description Share of total language bytes, rounded to four decimal places (e.g. 64.2153).
3507
+ */
3508
+ percent: number;
3509
+ supported: boolean;
3510
+ stack?: string | null;
3511
+ }[] | null;
3512
+ /** @description GitHub-reported repository size in KB, refreshed on each scan. See RepoReadinessScoreDto.sizeKb. */
3513
+ sizeKb?: number | null;
3324
3514
  };
3325
3515
  AgenticFoundationDashboardSummaryDto: {
3326
3516
  repoCount: number;
@@ -3345,8 +3535,20 @@ export interface components {
3345
3535
  limit: number;
3346
3536
  offset: number;
3347
3537
  };
3538
+ /** @description Effective size/code limits enforced by readiness scans (#729). Lets the UI render per-repo "size / limit" (compare each repo's `sizeKb` to `maxRepoSizeKb`) and explain why a repo is `ineligible` due to a hard size/file-count limit. A repo over `maxRepoSizeKb` is skipped on the next scan (recorded `partial_failed` with `exceeded_repo_size_limit`); code-line/file counts are evaluated post-clone via `cloc`. */
3539
+ ReadinessEligibilityLimitsDto: {
3540
+ /** @description Per-repo GitHub size cap in KB (includes git history). 0 = no limit. */
3541
+ maxRepoSizeKb: number;
3542
+ /** @description Max total lines of code (cloc) before a scan is skipped. 0 = no limit. */
3543
+ maxLinesOfCode: number;
3544
+ /** @description Max source file count (cloc) before a scan is skipped. 0 = no limit. */
3545
+ maxFileCount: number;
3546
+ /** @description Max repos that can be eligible per workspace. 0 = no limit. */
3547
+ maxReposPerWorkspace: number;
3548
+ };
3348
3549
  ReadinessRepoListDto: components["schemas"]["PageMetaDto"] & {
3349
3550
  items: components["schemas"]["RepoReadinessScoreDto"][];
3551
+ eligibilityLimits?: components["schemas"]["ReadinessEligibilityLimitsDto"];
3350
3552
  };
3351
3553
  /** @description Paginated list of repo readiness scores where each dimension includes criteriaDetails. Used by dimension-slice endpoints (agentic-foundation pillars). */
3352
3554
  ReadinessRepoDetailListDto: components["schemas"]["PageMetaDto"] & {
@@ -3581,14 +3783,31 @@ export interface components {
3581
3783
  AiStrategyPlanDto: {
3582
3784
  phases: components["schemas"]["AiStrategyPhaseBlockDto"][];
3583
3785
  };
3786
+ /**
3787
+ * @description Canonical journey step identifier (stable across URL reshuffles).
3788
+ * @enum {string}
3789
+ */
3790
+ JourneyStepId: "onboarding.workspace" | "onboarding.ai_readiness" | "onboarding.integrations" | "readiness.dashboard" | "readiness.fix_queue" | "readiness.activity" | "insights.productivity" | "insights.productivity.by_user" | "insights.productivity.by_team" | "insights.ai_usage" | "insights.ai_usage.by_user" | "insights.ai_usage.by_team" | "insights.ai_usage.by_model";
3584
3791
  JourneyProgressDto: {
3585
- completedSteps: string[];
3792
+ /** @description Canonical completed journey step IDs. */
3793
+ completedStepIds: components["schemas"]["JourneyStepId"][];
3794
+ /**
3795
+ * @deprecated
3796
+ * @description Deprecated alias of completedStepIds (legacy clients). Omitted on new responses when empty.
3797
+ */
3798
+ completedSteps?: string[];
3586
3799
  /** Format: date-time */
3587
3800
  updatedAt: string;
3588
3801
  };
3589
3802
  JourneyProgressUpdateDto: {
3590
- completedSteps: string[];
3591
- };
3803
+ /** @description Idempotent replace-all of completed step IDs. */
3804
+ completedStepIds?: components["schemas"]["JourneyStepId"][];
3805
+ /**
3806
+ * @deprecated
3807
+ * @description Deprecated input alias — route strings and legacy `/phase-*` paths are normalized to step IDs.
3808
+ */
3809
+ completedSteps?: string[];
3810
+ } | unknown | unknown;
3592
3811
  /** @enum {string} */
3593
3812
  ThemePreference: "light" | "dark" | "system";
3594
3813
  NotificationPreferencesDto: {
@@ -3710,7 +3929,9 @@ export interface components {
3710
3929
  /** Format: date-time */
3711
3930
  windowEnd: string;
3712
3931
  journey: {
3713
- completedSteps: string[];
3932
+ completedStepIds: components["schemas"]["JourneyStepId"][];
3933
+ /** @deprecated */
3934
+ completedSteps?: string[];
3714
3935
  /** Format: date-time */
3715
3936
  updatedAt: string | null;
3716
3937
  };
@@ -3783,7 +4004,7 @@ export interface components {
3783
4004
  * @description Type of workspace lifecycle event.
3784
4005
  * @enum {string}
3785
4006
  */
3786
- ActivityLogEventTypeDto: "repo.added" | "repo.removed" | "repo.readded" | "integration.github.added" | "integration.github.updated" | "integration.github.removed" | "integration.github.permissions_changed" | "integration.github.repo_added" | "integration.github.repo_removed" | "fix.requested" | "fix.generating" | "fix.pr_created" | "fix.merged" | "fix.failed" | "readiness.scan_started" | "readiness.scan_completed" | "readiness.scan_failed" | "readiness.scan_partial" | "config.cursor.added" | "config.cursor.updated" | "config.cursor.removed" | "config.cursor.platform_key_enabled" | "config.cursor.platform_key_disabled" | "config.claude.added" | "config.claude.updated" | "config.claude.removed" | "config.agent_execution.provider_changed" | "member.invited" | "member.role_changed" | "member.removed";
4007
+ ActivityLogEventTypeDto: "repo.added" | "repo.removed" | "repo.readded" | "integration.github.added" | "integration.github.updated" | "integration.github.removed" | "integration.github.permissions_changed" | "integration.github.repo_added" | "integration.github.repo_removed" | "fix.requested" | "fix.generating" | "fix.pr_created" | "fix.merged" | "fix.failed" | "readiness.scan_started" | "readiness.scan_completed" | "readiness.scan_failed" | "readiness.scan_partial" | "integrations.agent_execution.provider_changed" | "integrations.repo_eligibility.overrides_changed" | "integrations.repo_eligibility.languages_refresh_requested" | "integrations.cursor.platform_key_enabled" | "integrations.cursor.platform_key_disabled" | "member.invited" | "member.role_changed" | "member.removed" | "hris.personio.sync_started" | "hris.personio.sync_completed" | "hris.personio.sync_failed" | "hris.sync_started" | "hris.sync_completed" | "hris.sync_failed" | "repo.sync_skipped" | "integrations.cursor.execution_key.added" | "integrations.cursor.execution_key.updated" | "integrations.cursor.execution_key.removed" | "integrations.cursor.execution_key.check_failed" | "integrations.cursor.admin_key.added" | "integrations.cursor.admin_key.updated" | "integrations.cursor.admin_key.removed" | "integrations.claude.execution_key.added" | "integrations.claude.execution_key.updated" | "integrations.claude.execution_key.removed" | "integrations.claude.execution_key.check_failed" | "integrations.claude.admin_key.added" | "integrations.claude.admin_key.updated" | "integrations.claude.admin_key.removed" | "readiness.scan_precheck_failed" | "productivity.ingest.completed" | "productivity.ingest.failed" | "productivity.ingest.skipped";
3787
4008
  ActivityLogActorDto: {
3788
4009
  /** Format: uuid */
3789
4010
  userId: string;
@@ -4033,6 +4254,8 @@ export interface components {
4033
4254
  parameters: {
4034
4255
  WorkspaceId: string;
4035
4256
  RepoId: string;
4257
+ /** @description Provider repository slug in `owner/repo` form (GitHub). Used for shareable public URLs; resolves to the same row as `repoId` UUID internally. */
4258
+ ProviderSlug: string;
4036
4259
  ProjectId: string;
4037
4260
  NotificationId: string;
4038
4261
  /** @description Workspace member user id (`tai_users.id`). */
@@ -4154,6 +4377,10 @@ export type CreateWorkspaceBodyDto = components['schemas']['CreateWorkspaceBodyD
4154
4377
  export type CompanyProfileDto = components['schemas']['CompanyProfileDto'];
4155
4378
  export type GithubAccountDto = components['schemas']['GithubAccountDto'];
4156
4379
  export type GithubInstalledRepoDto = components['schemas']['GithubInstalledRepoDto'];
4380
+ export type RepoEligibilityConfigDto = components['schemas']['RepoEligibilityConfigDto'];
4381
+ export type RepoEligibilityOverridesDto = components['schemas']['RepoEligibilityOverridesDto'];
4382
+ export type WorkspaceRepoEligibilityDto = components['schemas']['WorkspaceRepoEligibilityDto'];
4383
+ export type RepoEligibilityLimitsDto = components['schemas']['RepoEligibilityLimitsDto'];
4157
4384
  export type GithubMissingPermissionDto = components['schemas']['GithubMissingPermissionDto'];
4158
4385
  export type GithubInstallationSummaryDto = components['schemas']['GithubInstallationSummaryDto'];
4159
4386
  export type GithubPendingApprovalDto = components['schemas']['GithubPendingApprovalDto'];
@@ -4206,6 +4433,7 @@ export type RepoReadinessScoreDto = components['schemas']['RepoReadinessScoreDto
4206
4433
  export type RepoReadinessScoreDetailDto = components['schemas']['RepoReadinessScoreDetailDto'];
4207
4434
  export type AgenticFoundationDashboardSummaryDto = components['schemas']['AgenticFoundationDashboardSummaryDto'];
4208
4435
  export type PageMetaDto = components['schemas']['PageMetaDto'];
4436
+ export type ReadinessEligibilityLimitsDto = components['schemas']['ReadinessEligibilityLimitsDto'];
4209
4437
  export type ReadinessRepoListDto = components['schemas']['ReadinessRepoListDto'];
4210
4438
  export type ReadinessRepoDetailListDto = components['schemas']['ReadinessRepoDetailListDto'];
4211
4439
  export type ReadinessFixListDto = components['schemas']['ReadinessFixListDto'];
@@ -4237,6 +4465,7 @@ export type AiStrategyRecommendBodyDto = components['schemas']['AiStrategyRecomm
4237
4465
  export type AiStrategyTaskRecommendationDto = components['schemas']['AiStrategyTaskRecommendationDto'];
4238
4466
  export type AiStrategyPhaseBlockDto = components['schemas']['AiStrategyPhaseBlockDto'];
4239
4467
  export type AiStrategyPlanDto = components['schemas']['AiStrategyPlanDto'];
4468
+ export type JourneyStepId = components['schemas']['JourneyStepId'];
4240
4469
  export type JourneyProgressDto = components['schemas']['JourneyProgressDto'];
4241
4470
  export type JourneyProgressUpdateDto = components['schemas']['JourneyProgressUpdateDto'];
4242
4471
  export type ThemePreference = components['schemas']['ThemePreference'];
@@ -4274,6 +4503,7 @@ export type ResponseUnauthorized = components['responses']['Unauthorized'];
4274
4503
  export type ResponseForbidden = components['responses']['Forbidden'];
4275
4504
  export type ParameterWorkspaceId = components['parameters']['WorkspaceId'];
4276
4505
  export type ParameterRepoId = components['parameters']['RepoId'];
4506
+ export type ParameterProviderSlug = components['parameters']['ProviderSlug'];
4277
4507
  export type ParameterProjectId = components['parameters']['ProjectId'];
4278
4508
  export type ParameterNotificationId = components['parameters']['NotificationId'];
4279
4509
  export type ParameterWorkspaceMemberId = components['parameters']['WorkspaceMemberId'];
@@ -5323,7 +5553,7 @@ export interface operations {
5323
5553
  header?: never;
5324
5554
  path: {
5325
5555
  workspaceId: components["parameters"]["WorkspaceId"];
5326
- /** @description Org-chart person id or synthetic GitHub scope id (`__github:{login}`). */
5556
+ /** @description GitHub login slug, org-chart person id, or synthetic `__github:{login}` scope id. */
5327
5557
  contributorId: string;
5328
5558
  };
5329
5559
  cookie?: never;
@@ -7132,6 +7362,50 @@ export interface operations {
7132
7362
  };
7133
7363
  };
7134
7364
  };
7365
+ getReadinessRepoBySlug: {
7366
+ parameters: {
7367
+ query?: never;
7368
+ header?: never;
7369
+ path: {
7370
+ workspaceId: components["parameters"]["WorkspaceId"];
7371
+ /** @description Provider repository slug in `owner/repo` form (GitHub). Used for shareable public URLs; resolves to the same row as `repoId` UUID internally. */
7372
+ providerSlug: components["parameters"]["ProviderSlug"];
7373
+ };
7374
+ cookie?: never;
7375
+ };
7376
+ requestBody?: never;
7377
+ responses: {
7378
+ /** @description Repo score */
7379
+ 200: {
7380
+ headers: {
7381
+ [name: string]: unknown;
7382
+ };
7383
+ content: {
7384
+ "application/json": components["schemas"]["RepoReadinessScoreDetailDto"];
7385
+ };
7386
+ };
7387
+ /** @description Malformed providerSlug */
7388
+ 400: {
7389
+ headers: {
7390
+ [name: string]: unknown;
7391
+ };
7392
+ content: {
7393
+ "application/json": components["schemas"]["ErrorMessageDto"];
7394
+ };
7395
+ };
7396
+ 401: components["responses"]["Unauthorized"];
7397
+ 403: components["responses"]["Forbidden"];
7398
+ /** @description Workspace or repository not found */
7399
+ 404: {
7400
+ headers: {
7401
+ [name: string]: unknown;
7402
+ };
7403
+ content: {
7404
+ "application/json": components["schemas"]["ErrorMessageDto"];
7405
+ };
7406
+ };
7407
+ };
7408
+ };
7135
7409
  getReadinessRepo: {
7136
7410
  parameters: {
7137
7411
  query?: never;
@@ -7343,6 +7617,10 @@ export interface operations {
7343
7617
  offset?: components["parameters"]["PaginationOffset"];
7344
7618
  /** @description Sort direction. */
7345
7619
  order?: components["parameters"]["PaginationOrder"];
7620
+ /** @description Server-side sort column (the activity "5 W's"). Combined with `order` (asc/desc). Defaults to `when` (occurredAt). `occurredAt`/`id` is always the tiebreaker. */
7621
+ sort?: "when" | "who" | "what" | "why" | "where";
7622
+ /** @description Coarse product-area grouping filter (#156). `integration` = GitHub + AI-tool key events; `agentic_foundation` = repos, readiness scans, fixes; `workspace_team` = members + HRIS; `productivity` = productivity ingest lifecycle events. Omit (or pass `all`) for every area. */
7623
+ productArea?: "integration" | "agentic_foundation" | "workspace_team" | "productivity" | "all";
7346
7624
  /** @description Filter to a specific event type. */
7347
7625
  eventType?: components["schemas"]["ActivityLogEventTypeDto"];
7348
7626
  /** @description Filter to events performed by a specific user (UUID). */
@@ -7353,6 +7631,8 @@ export interface operations {
7353
7631
  until?: string;
7354
7632
  /** @description Filter by event namespace prefix (e.g. "fix", "repo", "integration", "readiness", "config", "member"). */
7355
7633
  eventCategory?: string;
7634
+ /** @description Filter by a dotted event-type *subgroup* (#156): a strict prefix of an event type with one or more segments (shorter than the full event type), matching every lifecycle event under it in a single call. Single-segment values (e.g. `fix`, `readiness`, `repo`, `productivity`) overlap with `eventCategory` so the same control can filter at any depth. Example: `integrations.cursor.execution_key` returns `integrations.cursor.execution_key.added`, `.updated`, `.removed`, and `.check_failed`; `integrations.cursor` returns all Cursor key events; `fix` returns all fix lifecycle events. Must be one of the known subcategories or the request is rejected (400). */
7635
+ eventSubcategory?: string;
7356
7636
  /** @description Case-insensitive substring filter applied across repo name, integration type, actor email, and actor display name. */
7357
7637
  search?: string;
7358
7638
  };
@@ -7395,6 +7675,61 @@ export interface operations {
7395
7675
  };
7396
7676
  };
7397
7677
  };
7678
+ exportWorkspaceActivity: {
7679
+ parameters: {
7680
+ query?: {
7681
+ sort?: "when" | "who" | "what" | "why" | "where";
7682
+ /** @description Sort direction. */
7683
+ order?: components["parameters"]["PaginationOrder"];
7684
+ productArea?: "integration" | "agentic_foundation" | "workspace_team" | "productivity" | "all";
7685
+ eventType?: components["schemas"]["ActivityLogEventTypeDto"];
7686
+ eventCategory?: string;
7687
+ /** @description Dotted event-type subgroup prefix (see the activity list endpoint). */
7688
+ eventSubcategory?: string;
7689
+ actorUserId?: string;
7690
+ since?: string;
7691
+ until?: string;
7692
+ search?: string;
7693
+ };
7694
+ header?: never;
7695
+ path: {
7696
+ workspaceId: components["parameters"]["WorkspaceId"];
7697
+ };
7698
+ cookie?: never;
7699
+ };
7700
+ requestBody?: never;
7701
+ responses: {
7702
+ /** @description CSV file of activity log entries */
7703
+ 200: {
7704
+ headers: {
7705
+ [name: string]: unknown;
7706
+ };
7707
+ content: {
7708
+ "text/csv": string;
7709
+ };
7710
+ };
7711
+ /** @description Invalid query parameters */
7712
+ 400: {
7713
+ headers: {
7714
+ [name: string]: unknown;
7715
+ };
7716
+ content: {
7717
+ "application/json": components["schemas"]["ErrorMessageDto"];
7718
+ };
7719
+ };
7720
+ 401: components["responses"]["Unauthorized"];
7721
+ 403: components["responses"]["Forbidden"];
7722
+ /** @description Workspace does not exist */
7723
+ 404: {
7724
+ headers: {
7725
+ [name: string]: unknown;
7726
+ };
7727
+ content: {
7728
+ "application/json": components["schemas"]["ErrorMessageDto"];
7729
+ };
7730
+ };
7731
+ };
7732
+ };
7398
7733
  getReadinessScoreHistory: {
7399
7734
  parameters: {
7400
7735
  query?: {
@@ -8286,6 +8621,124 @@ export interface operations {
8286
8621
  403: components["responses"]["Forbidden"];
8287
8622
  };
8288
8623
  };
8624
+ getWorkspaceRepoEligibility: {
8625
+ parameters: {
8626
+ query?: never;
8627
+ header?: never;
8628
+ path: {
8629
+ workspaceId: components["parameters"]["WorkspaceId"];
8630
+ };
8631
+ cookie?: never;
8632
+ };
8633
+ requestBody?: never;
8634
+ responses: {
8635
+ /** @description Effective repo-eligibility configuration */
8636
+ 200: {
8637
+ headers: {
8638
+ [name: string]: unknown;
8639
+ };
8640
+ content: {
8641
+ "application/json": components["schemas"]["WorkspaceRepoEligibilityDto"];
8642
+ };
8643
+ };
8644
+ 401: components["responses"]["Unauthorized"];
8645
+ 403: components["responses"]["Forbidden"];
8646
+ };
8647
+ };
8648
+ putWorkspaceRepoEligibility: {
8649
+ parameters: {
8650
+ query?: never;
8651
+ header?: never;
8652
+ path: {
8653
+ workspaceId: components["parameters"]["WorkspaceId"];
8654
+ };
8655
+ cookie?: never;
8656
+ };
8657
+ requestBody: {
8658
+ content: {
8659
+ "application/json": {
8660
+ overrides: components["schemas"]["RepoEligibilityOverridesDto"];
8661
+ };
8662
+ };
8663
+ };
8664
+ responses: {
8665
+ /** @description Overrides saved */
8666
+ 200: {
8667
+ headers: {
8668
+ [name: string]: unknown;
8669
+ };
8670
+ content: {
8671
+ "application/json": {
8672
+ overrides: components["schemas"]["RepoEligibilityOverridesDto"];
8673
+ effective: components["schemas"]["RepoEligibilityConfigDto"];
8674
+ };
8675
+ };
8676
+ };
8677
+ /** @description Invalid request body */
8678
+ 400: {
8679
+ headers: {
8680
+ [name: string]: unknown;
8681
+ };
8682
+ content: {
8683
+ "application/json": components["schemas"]["ErrorMessageDto"];
8684
+ };
8685
+ };
8686
+ 401: components["responses"]["Unauthorized"];
8687
+ /** @description Forbidden, or a workspace-admin value exceeds a platform limit (`repo_eligibility_bound_exceeded`) */
8688
+ 403: {
8689
+ headers: {
8690
+ [name: string]: unknown;
8691
+ };
8692
+ content: {
8693
+ "application/json": components["schemas"]["ErrorMessageDto"];
8694
+ };
8695
+ };
8696
+ };
8697
+ };
8698
+ refreshWorkspaceRepoLanguages: {
8699
+ parameters: {
8700
+ query?: never;
8701
+ header?: never;
8702
+ path: {
8703
+ workspaceId: components["parameters"]["WorkspaceId"];
8704
+ };
8705
+ cookie?: never;
8706
+ };
8707
+ requestBody?: {
8708
+ content: {
8709
+ "application/json": {
8710
+ /** @description Optional `owner/name` to scope the refresh to a single repo. Omit to reset all repos. */
8711
+ repoSlug?: string;
8712
+ };
8713
+ };
8714
+ };
8715
+ responses: {
8716
+ /** @description Freshness invalidated; languages will be re-detected on the next sync. */
8717
+ 200: {
8718
+ headers: {
8719
+ [name: string]: unknown;
8720
+ };
8721
+ content: {
8722
+ "application/json": {
8723
+ ok: boolean;
8724
+ /** @description Number of repo rows whose language/stack cache was invalidated. */
8725
+ reposReset: number;
8726
+ };
8727
+ };
8728
+ };
8729
+ /** @description Invalid request body */
8730
+ 400: {
8731
+ headers: {
8732
+ [name: string]: unknown;
8733
+ };
8734
+ content: {
8735
+ "application/json": components["schemas"]["ErrorMessageDto"];
8736
+ };
8737
+ };
8738
+ 401: components["responses"]["Unauthorized"];
8739
+ 403: components["responses"]["Forbidden"];
8740
+ };
8741
+ };
8289
8742
  getCursorKeyUsage: {
8290
8743
  parameters: {
8291
8744
  query?: never;
@@ -8543,7 +8996,7 @@ export interface operations {
8543
8996
  };
8544
8997
  requestBody?: never;
8545
8998
  responses: {
8546
- /** @description Progress (empty completedSteps when no row exists yet; updatedAt is synthetic in that case) */
8999
+ /** @description Progress (empty completedStepIds when no row exists yet; updatedAt is synthetic in that case) */
8547
9000
  200: {
8548
9001
  headers: {
8549
9002
  [name: string]: unknown;