@lovable.dev/sdk 0.1.8 → 0.1.9

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.
package/dist/index.d.ts CHANGED
@@ -285,6 +285,26 @@ interface paths {
285
285
  patch?: never;
286
286
  trace?: never;
287
287
  };
288
+ "/v1/projects/{project_id}/collaborators": {
289
+ parameters: {
290
+ query?: never;
291
+ header?: never;
292
+ path?: never;
293
+ cookie?: never;
294
+ };
295
+ /**
296
+ * List project collaborators
297
+ * @description Returns the users with direct access to this project. Each entry reports the user's ID, access level (owner, admin, write, read), invitation timestamps, and the inviter's user ID. Pending email invites for users who do not yet have an account are not included. Requires an Enterprise workspace plan. When using a workspace-scoped API key, the project must belong to the key's scoped workspace.
298
+ */
299
+ get: operations["get-v1-projects-project_id-collaborators"];
300
+ put?: never;
301
+ post?: never;
302
+ delete?: never;
303
+ options?: never;
304
+ head?: never;
305
+ patch?: never;
306
+ trace?: never;
307
+ };
288
308
  "/v1/projects/{project_id}/database": {
289
309
  parameters: {
290
310
  query?: never;
@@ -496,7 +516,11 @@ interface paths {
496
516
  path?: never;
497
517
  cookie?: never;
498
518
  };
499
- get?: never;
519
+ /**
520
+ * List messages
521
+ * @description Returns recent messages in the project, newest first. Use limit to control page size (default 30, max 100) and before with the oldest message_id from the previous page to fetch older messages. User messages include the prompt text; assistant messages include the agent's reply and the associated edit_id when present. When using a workspace-scoped API key, the project must belong to the key's scoped workspace.
522
+ */
523
+ get: operations["get-v1-projects-project_id-messages"];
500
524
  put?: never;
501
525
  /**
502
526
  * Send message
@@ -529,6 +553,26 @@ interface paths {
529
553
  patch?: never;
530
554
  trace?: never;
531
555
  };
556
+ "/v1/projects/{project_id}/pii-labels": {
557
+ parameters: {
558
+ query?: never;
559
+ header?: never;
560
+ path?: never;
561
+ cookie?: never;
562
+ };
563
+ /**
564
+ * List PII labels
565
+ * @description Returns PII labels detected for the project, newest first. Requires the PII data labeling feature flag, an Enterprise workspace with PII scanning enabled, projects:read scope, and project edit access. When using a workspace-scoped API key, the project must belong to the key's scoped workspace.
566
+ */
567
+ get: operations["get-v1-projects-project_id-pii-labels"];
568
+ put?: never;
569
+ post?: never;
570
+ delete?: never;
571
+ options?: never;
572
+ head?: never;
573
+ patch?: never;
574
+ trace?: never;
575
+ };
532
576
  "/v1/projects/{project_id}/remix/init": {
533
577
  parameters: {
534
578
  query?: never;
@@ -609,6 +653,46 @@ interface paths {
609
653
  patch?: never;
610
654
  trace?: never;
611
655
  };
656
+ "/v1/projects/{project_id}/skills": {
657
+ parameters: {
658
+ query?: never;
659
+ header?: never;
660
+ path?: never;
661
+ cookie?: never;
662
+ };
663
+ /**
664
+ * List project skills
665
+ * @description Returns project skills from the project repo, including whether each skill is enabled for agent runs. When using a workspace-scoped API key, the project must belong to the key's scoped workspace.
666
+ */
667
+ get: operations["get-v1-projects-project_id-skills"];
668
+ put?: never;
669
+ post?: never;
670
+ delete?: never;
671
+ options?: never;
672
+ head?: never;
673
+ patch?: never;
674
+ trace?: never;
675
+ };
676
+ "/v1/projects/{project_id}/skills/{skill_name}/enabled": {
677
+ parameters: {
678
+ query?: never;
679
+ header?: never;
680
+ path?: never;
681
+ cookie?: never;
682
+ };
683
+ get?: never;
684
+ /**
685
+ * Enable or disable project skill
686
+ * @description Enables or disables a project skill for agent runs without removing it from the project repo. When using a workspace-scoped API key, the project must belong to the key's scoped workspace.
687
+ */
688
+ put: operations["put-v1-projects-project_id-skills-skill_name-enabled"];
689
+ post?: never;
690
+ delete?: never;
691
+ options?: never;
692
+ head?: never;
693
+ patch?: never;
694
+ trace?: never;
695
+ };
612
696
  "/v1/projects/{project_id}/visibility": {
613
697
  parameters: {
614
698
  query?: never;
@@ -937,6 +1021,54 @@ interface paths {
937
1021
  patch?: never;
938
1022
  trace?: never;
939
1023
  };
1024
+ "/v1/workspaces/{workspace_id}/skills": {
1025
+ parameters: {
1026
+ query?: never;
1027
+ header?: never;
1028
+ path?: never;
1029
+ cookie?: never;
1030
+ };
1031
+ /**
1032
+ * List workspace skills
1033
+ * @description Returns workspace skills from the workspace repo. When using a workspace-scoped API key, the workspace_id must match the key's scoped workspace.
1034
+ */
1035
+ get: operations["get-v1-workspaces-workspace_id-skills"];
1036
+ put?: never;
1037
+ post?: never;
1038
+ delete?: never;
1039
+ options?: never;
1040
+ head?: never;
1041
+ patch?: never;
1042
+ trace?: never;
1043
+ };
1044
+ "/v1/workspaces/{workspace_id}/skills/{skill_name}": {
1045
+ parameters: {
1046
+ query?: never;
1047
+ header?: never;
1048
+ path?: never;
1049
+ cookie?: never;
1050
+ };
1051
+ /**
1052
+ * Get workspace skill
1053
+ * @description Returns a workspace skill's SKILL.md contents, metadata, and files. When using a workspace-scoped API key, the workspace_id must match the key's scoped workspace.
1054
+ */
1055
+ get: operations["get-v1-workspaces-workspace_id-skills-skill_name"];
1056
+ /**
1057
+ * Update workspace skill
1058
+ * @description Updates a workspace skill by committing a replacement SKILL.md to the workspace repo. Only workspace admins and owners can manage workspace skills.
1059
+ */
1060
+ put: operations["put-v1-workspaces-workspace_id-skills-skill_name"];
1061
+ /**
1062
+ * Create workspace skill
1063
+ * @description Creates a workspace skill by committing skills/{skill_name}/SKILL.md to the workspace repo. Only workspace admins and owners can manage workspace skills.
1064
+ */
1065
+ post: operations["post-v1-workspaces-workspace_id-skills-skill_name"];
1066
+ delete: operations["delete-v1-workspaces-workspace_id-skills-skill_name"];
1067
+ options?: never;
1068
+ head?: never;
1069
+ patch?: never;
1070
+ trace?: never;
1071
+ };
940
1072
  }
941
1073
  interface components {
942
1074
  schemas: {
@@ -956,12 +1088,12 @@ interface components {
956
1088
  created_by?: components["schemas"]["APIKeyCreatedBy"];
957
1089
  /**
958
1090
  * Format: double
959
- * @description Credit limit for this key (null means unlimited)
1091
+ * @description Monthly hard-block credit limit for this key (null = no monthly hard-block configured via this surface)
960
1092
  */
961
1093
  credit_limit?: number;
962
1094
  /**
963
1095
  * Format: double
964
- * @description Total credits consumed by this key
1096
+ * @description Credits consumed by this key in the current calendar month. Always returned (zero when no usage yet). Computed over the same applicability + period the hard-block limit is evaluated against, so the number on this row matches the threshold the alert evaluator will fire on.
965
1097
  */
966
1098
  credits_consumed: number;
967
1099
  /**
@@ -986,6 +1118,16 @@ interface components {
986
1118
  */
987
1119
  revoked_at?: string;
988
1120
  };
1121
+ AbandonmentSettingsResponse: {
1122
+ /**
1123
+ * Format: uri
1124
+ * @description A URL to the JSON Schema for this object.
1125
+ * @example https://example.com/AbandonmentSettingsResponse.json
1126
+ */
1127
+ readonly $schema?: string;
1128
+ /** Format: int64 */
1129
+ threshold_days?: number;
1130
+ };
989
1131
  AcceptWorkspaceInviteLinkOutputBody: {
990
1132
  /**
991
1133
  * Format: uri
@@ -1232,6 +1374,12 @@ interface components {
1232
1374
  status: string;
1233
1375
  transaction_id: string;
1234
1376
  };
1377
+ AgentAddress: {
1378
+ agent_kind?: string;
1379
+ project_id?: string;
1380
+ thread_id?: string;
1381
+ workspace_id?: string;
1382
+ };
1235
1383
  AgentDCRInputBody: {
1236
1384
  /**
1237
1385
  * Format: uri
@@ -1641,6 +1789,16 @@ interface components {
1641
1789
  readonly $schema?: string;
1642
1790
  success: boolean;
1643
1791
  };
1792
+ CancelTransferInOutputBody: {
1793
+ /**
1794
+ * Format: uri
1795
+ * @description A URL to the JSON Schema for this object.
1796
+ * @example https://example.com/CancelTransferInOutputBody.json
1797
+ */
1798
+ readonly $schema?: string;
1799
+ /** @description Outcome of the cancel request: cancel_requested or already_canceling */
1800
+ status: string;
1801
+ };
1644
1802
  CastleEventRequest: {
1645
1803
  /**
1646
1804
  * Format: uri
@@ -1722,6 +1880,7 @@ interface components {
1722
1880
  files?: components["schemas"]["UnscopedFile"][];
1723
1881
  from_agent: boolean;
1724
1882
  from_agent_kind?: string;
1883
+ from_agent_source?: string;
1725
1884
  from_queue: boolean;
1726
1885
  headless: boolean;
1727
1886
  id: string;
@@ -1739,7 +1898,9 @@ interface components {
1739
1898
  model?: string;
1740
1899
  network_requests?: components["schemas"]["TmpNetworkRequest"][];
1741
1900
  noop_mode: boolean;
1901
+ parent_agent?: components["schemas"]["AgentAddress"];
1742
1902
  pii_action?: string;
1903
+ pii_findings?: components["schemas"]["PIIFinding"][] | null;
1743
1904
  prev_session_id?: string;
1744
1905
  project_migration_ids?: string[];
1745
1906
  prompt_overrides?: {
@@ -2047,7 +2208,7 @@ interface components {
2047
2208
  readonly $schema?: string;
2048
2209
  /**
2049
2210
  * Format: double
2050
- * @description Optional credit limit for this key
2211
+ * @description Optional monthly hard-block credit limit for this key
2051
2212
  */
2052
2213
  credit_limit?: number;
2053
2214
  /**
@@ -2270,6 +2431,17 @@ interface components {
2270
2431
  name: string;
2271
2432
  url: string;
2272
2433
  };
2434
+ CreateMCPRegistryInputBody: {
2435
+ /**
2436
+ * Format: uri
2437
+ * @description A URL to the JSON Schema for this object.
2438
+ * @example https://example.com/CreateMCPRegistryInputBody.json
2439
+ */
2440
+ readonly $schema?: string;
2441
+ bearer_token?: string;
2442
+ display_name?: string;
2443
+ url: string;
2444
+ };
2273
2445
  CreateOrgInputBody: {
2274
2446
  /**
2275
2447
  * Format: uri
@@ -2333,6 +2505,7 @@ interface components {
2333
2505
  write_key: string;
2334
2506
  };
2335
2507
  CreateProjectBody: {
2508
+ agent?: string;
2336
2509
  category?: string;
2337
2510
  deployment_target?: string;
2338
2511
  description: string;
@@ -2505,6 +2678,34 @@ interface components {
2505
2678
  /** @description The title of the thread */
2506
2679
  title: string;
2507
2680
  };
2681
+ CreateTransferInCheckoutInputBody: {
2682
+ /**
2683
+ * Format: uri
2684
+ * @description A URL to the JSON Schema for this object.
2685
+ * @example https://example.com/CreateTransferInCheckoutInputBody.json
2686
+ */
2687
+ readonly $schema?: string;
2688
+ /** @description Auth/EPP code provided by the losing registrar */
2689
+ auth_code: string;
2690
+ /** @description URL to redirect to if payment is cancelled */
2691
+ cancel_url: string;
2692
+ /** @description The domain name to transfer in */
2693
+ domain_name: string;
2694
+ /** @description Project ID to auto-connect the domain to after the transfer completes */
2695
+ project_id: string;
2696
+ /** @description URL to redirect to after successful payment */
2697
+ success_url: string;
2698
+ };
2699
+ CreateTransferInCheckoutOutputBody: {
2700
+ /**
2701
+ * Format: uri
2702
+ * @description A URL to the JSON Schema for this object.
2703
+ * @example https://example.com/CreateTransferInCheckoutOutputBody.json
2704
+ */
2705
+ readonly $schema?: string;
2706
+ /** @description Stripe checkout session URL */
2707
+ checkout_url: string;
2708
+ };
2508
2709
  CreateVariantInputBody: {
2509
2710
  /**
2510
2711
  * Format: uri
@@ -2599,6 +2800,25 @@ interface components {
2599
2800
  name: string;
2600
2801
  url: string;
2601
2802
  };
2803
+ CustomBrandedDomainStatusResponse: {
2804
+ /**
2805
+ * Format: uri
2806
+ * @description A URL to the JSON Schema for this object.
2807
+ * @example https://example.com/CustomBrandedDomainStatusResponse.json
2808
+ */
2809
+ readonly $schema?: string;
2810
+ cname_target?: string;
2811
+ dcv_records?: components["schemas"]["CustomBrandedDomainTXTRecord"][] | null;
2812
+ domain?: string;
2813
+ enabled: boolean;
2814
+ failure_reason?: string;
2815
+ ownership_verification_txt?: components["schemas"]["CustomBrandedDomainTXTRecord"];
2816
+ status?: string;
2817
+ };
2818
+ CustomBrandedDomainTXTRecord: {
2819
+ txt_name: string;
2820
+ txt_value: string;
2821
+ };
2602
2822
  DNSRecordMutation: {
2603
2823
  /**
2604
2824
  * Format: uri
@@ -2676,6 +2896,17 @@ interface components {
2676
2896
  created_at: string;
2677
2897
  name: string;
2678
2898
  };
2899
+ DebugSecretRow: {
2900
+ /** Format: date-time */
2901
+ created_at: string;
2902
+ /** @description Storage Integration field: "" for legacy unstamped, "secrets" for user-owned, integration name otherwise */
2903
+ integration: string;
2904
+ name: string;
2905
+ sandbox_matches: boolean;
2906
+ supabase_matches: boolean;
2907
+ /** @description Obfuscated — last 4 chars after asterisks */
2908
+ value: string;
2909
+ };
2679
2910
  DeleteComponentOutputBody: {
2680
2911
  /**
2681
2912
  * Format: uri
@@ -2736,6 +2967,17 @@ interface components {
2736
2967
  /** @description Whether the disconnection was successful */
2737
2968
  success: boolean;
2738
2969
  };
2970
+ DeleteMCPRegistryOutputBody: {
2971
+ /**
2972
+ * Format: uri
2973
+ * @description A URL to the JSON Schema for this object.
2974
+ * @example https://example.com/DeleteMCPRegistryOutputBody.json
2975
+ */
2976
+ readonly $schema?: string;
2977
+ children_deleted: boolean;
2978
+ deleted: boolean;
2979
+ remaining_children_ids: string[] | null;
2980
+ };
2739
2981
  DeleteObjectRequest: {
2740
2982
  /**
2741
2983
  * Format: uri
@@ -3063,6 +3305,15 @@ interface components {
3063
3305
  allowed_domains: string[] | null;
3064
3306
  enabled: boolean;
3065
3307
  };
3308
+ EnableCustomBrandedDomainRequest: {
3309
+ /**
3310
+ * Format: uri
3311
+ * @description A URL to the JSON Schema for this object.
3312
+ * @example https://example.com/EnableCustomBrandedDomainRequest.json
3313
+ */
3314
+ readonly $schema?: string;
3315
+ domain: string;
3316
+ };
3066
3317
  EnsureAndSendMessageInputBody: {
3067
3318
  /**
3068
3319
  * Format: uri
@@ -3256,6 +3507,27 @@ interface components {
3256
3507
  /** @description Display bucket: billing, rollover, topup, commitment, cashback, or granted */
3257
3508
  grant_type: string;
3258
3509
  };
3510
+ ExportDataRequest: {
3511
+ /**
3512
+ * Format: uri
3513
+ * @description A URL to the JSON Schema for this object.
3514
+ * @example https://example.com/ExportDataRequest.json
3515
+ */
3516
+ readonly $schema?: string;
3517
+ userIdentifier: string;
3518
+ };
3519
+ ExportStatusResponse: {
3520
+ /**
3521
+ * Format: uri
3522
+ * @description A URL to the JSON Schema for this object.
3523
+ * @example https://example.com/ExportStatusResponse.json
3524
+ */
3525
+ readonly $schema?: string;
3526
+ download_url?: string;
3527
+ error?: string;
3528
+ status: string;
3529
+ steps?: components["schemas"]["Progress"];
3530
+ };
3259
3531
  FeatureDescription: {
3260
3532
  body?: string;
3261
3533
  items: string[] | null;
@@ -3310,17 +3582,27 @@ interface components {
3310
3582
  required?: boolean;
3311
3583
  value: string;
3312
3584
  };
3585
+ FilePIIFinding: {
3586
+ pii_types: string[] | null;
3587
+ url: string;
3588
+ would_block: boolean;
3589
+ };
3313
3590
  FindingFixMetadata: {
3314
3591
  base_commit_sha?: string;
3315
3592
  deployment_url?: string;
3316
3593
  evidence: string;
3317
3594
  head_commit_sha?: string;
3318
3595
  health_check_finding_id?: string;
3596
+ health_check_id?: string;
3319
3597
  project_name?: string;
3320
3598
  severity: string;
3321
3599
  summary: string;
3322
3600
  title: string;
3323
3601
  };
3602
+ FindingImportResult: {
3603
+ finding_id: string;
3604
+ fingerprint: string;
3605
+ };
3324
3606
  FixErrorMetadata: {
3325
3607
  errors: components["schemas"]["FixErrorMetadataEntry"][] | null;
3326
3608
  };
@@ -3330,6 +3612,17 @@ interface components {
3330
3612
  error_message: string;
3331
3613
  error_type: string;
3332
3614
  };
3615
+ FixPIIChatMessageOutputBody: {
3616
+ /**
3617
+ * Format: uri
3618
+ * @description A URL to the JSON Schema for this object.
3619
+ * @example https://example.com/FixPIIChatMessageOutputBody.json
3620
+ */
3621
+ readonly $schema?: string;
3622
+ /** Format: int64 */
3623
+ finding_count: number;
3624
+ payload_overwritten: boolean;
3625
+ };
3333
3626
  FolderCollaboratorResponse: {
3334
3627
  /**
3335
3628
  * Format: uri
@@ -3341,6 +3634,8 @@ interface components {
3341
3634
  accepted_at?: number;
3342
3635
  /** @enum {string} */
3343
3636
  access_level: "owner" | "admin" | "write" | "read" | "none";
3637
+ display_name?: string;
3638
+ email?: string;
3344
3639
  /** Format: int64 */
3345
3640
  invited_at?: number;
3346
3641
  user_id: string;
@@ -3394,7 +3689,6 @@ interface components {
3394
3689
  * @example https://example.com/FullProjectSecurityScan.json
3395
3690
  */
3396
3691
  readonly $schema?: string;
3397
- is_scanning: boolean;
3398
3692
  project_id: string;
3399
3693
  results: {
3400
3694
  [key: string]: components["schemas"]["SecurityScanResult"];
@@ -3503,6 +3797,25 @@ interface components {
3503
3797
  /** @description List of archived project events (messages) */
3504
3798
  events: unknown[] | null;
3505
3799
  };
3800
+ GetAutoTopupCycleSpendResponse: {
3801
+ /**
3802
+ * Format: uri
3803
+ * @description A URL to the JSON Schema for this object.
3804
+ * @example https://example.com/GetAutoTopupCycleSpendResponse.json
3805
+ */
3806
+ readonly $schema?: string;
3807
+ /** @description Workspace billing currency */
3808
+ currency: string;
3809
+ /** @description Current calendar month reset date */
3810
+ cycle_end: string;
3811
+ /** @description Current calendar month start date */
3812
+ cycle_start: string;
3813
+ /**
3814
+ * Format: double
3815
+ * @description Auto top-up cash spend in the workspace currency
3816
+ */
3817
+ spent: number;
3818
+ };
3506
3819
  GetAvailableLibraryProjectsOutputBody: {
3507
3820
  /**
3508
3821
  * Format: uri
@@ -3896,8 +4209,19 @@ interface components {
3896
4209
  expires_at?: string;
3897
4210
  /** @description Registrar domain ID */
3898
4211
  id: string;
4212
+ /** @description Free-text detail for the most recent terminal or attention error */
4213
+ last_error?: string;
4214
+ /** @description Categorical code for the most recent terminal or attention error */
4215
+ last_error_code?: string;
4216
+ /** @description Whether transfers are locked at the registrar. Absent if the registrar lookup failed. */
4217
+ locked?: boolean;
3899
4218
  /** @description Purchase workflow state */
3900
4219
  purchase_state: string;
4220
+ /**
4221
+ * Format: date-time
4222
+ * @description When the domain was registered at the registry. Anchors ICANN's 60-day transfer lock. Absent if the registrar lookup failed.
4223
+ */
4224
+ registered_at?: string;
3901
4225
  /** @description Stored registrant contact details */
3902
4226
  registrant_contact?: {
3903
4227
  [key: string]: unknown;
@@ -3916,6 +4240,10 @@ interface components {
3916
4240
  renewal_years: number;
3917
4241
  /** @description Registrar ownership status */
3918
4242
  status: string;
4243
+ /** @description Transfer-in lifecycle (present only on transfer-in records) */
4244
+ transfer_in?: components["schemas"]["TransferInOutput"];
4245
+ /** @description Outbound transfer lifecycle. Present once Name.com reports a transfer-out has started; remains as historical record after a terminal state. */
4246
+ transfer_out?: components["schemas"]["TransferOutOutput"];
3919
4247
  /**
3920
4248
  * Format: date-time
3921
4249
  * @description When contact verification must be completed
@@ -3963,6 +4291,15 @@ interface components {
3963
4291
  /** @description Verification token for Paddle partner embed */
3964
4292
  token: string;
3965
4293
  };
4294
+ GetStandardConnectionPermissionsResponse: {
4295
+ /**
4296
+ * Format: uri
4297
+ * @description A URL to the JSON Schema for this object.
4298
+ * @example https://example.com/GetStandardConnectionPermissionsResponse.json
4299
+ */
4300
+ readonly $schema?: string;
4301
+ data: components["schemas"]["StandardConnectionPermissionsResponseData"];
4302
+ };
3966
4303
  GetStandardConnectionResponse: {
3967
4304
  /**
3968
4305
  * Format: uri
@@ -4320,6 +4657,16 @@ interface components {
4320
4657
  next_cursor?: components["schemas"]["ProjectMetaCursorResponse"];
4321
4658
  projects: components["schemas"]["ProjectResponse"][] | null;
4322
4659
  };
4660
+ GetWorkspaceRepoSkillSettingsOutputBody: {
4661
+ /**
4662
+ * Format: uri
4663
+ * @description A URL to the JSON Schema for this object.
4664
+ * @example https://example.com/GetWorkspaceRepoSkillSettingsOutputBody.json
4665
+ */
4666
+ readonly $schema?: string;
4667
+ /** @description Skills disabled for this workspace */
4668
+ disabled_skills: components["schemas"]["DisabledSkillRef"][] | null;
4669
+ };
4323
4670
  GetWorkspaceUsageInputBody: {
4324
4671
  /**
4325
4672
  * Format: uri
@@ -4794,24 +5141,77 @@ interface components {
4794
5141
  */
4795
5142
  readonly $schema?: string;
4796
5143
  };
4797
- ImportWorkspaceSkillsGitHubInputBody: {
5144
+ ImportFinding: {
5145
+ /** Format: double */
5146
+ confidence: number;
5147
+ evidence: string;
5148
+ fingerprint: string;
5149
+ metadata?: {
5150
+ [key: string]: unknown;
5151
+ };
5152
+ project_id: string;
5153
+ severity: string;
5154
+ summary: string;
5155
+ title: string;
5156
+ };
5157
+ ImportRequest: {
4798
5158
  /**
4799
5159
  * Format: uri
4800
5160
  * @description A URL to the JSON Schema for this object.
4801
- * @example https://example.com/ImportWorkspaceSkillsGitHubInputBody.json
5161
+ * @example https://example.com/ImportRequest.json
4802
5162
  */
4803
5163
  readonly $schema?: string;
4804
- /** @description Public GitHub repository URL (owner/repo or https://github.com/owner/repo) */
4805
- source_url: string;
5164
+ /** @description Error-log findings to persist and notify */
5165
+ findings: components["schemas"]["ImportFinding"][] | null;
5166
+ /** @description Stable caller-provided ID for this import batch */
5167
+ import_id: string;
5168
+ /**
5169
+ * Format: date-time
5170
+ * @description End of the log window used to produce these findings
5171
+ */
5172
+ window_end: string;
5173
+ /**
5174
+ * Format: date-time
5175
+ * @description Start of the log window used to produce these findings
5176
+ */
5177
+ window_start: string;
4806
5178
  };
4807
- ImportWorkspaceSkillsOutputBody: {
5179
+ ImportResponse: {
4808
5180
  /**
4809
5181
  * Format: uri
4810
5182
  * @description A URL to the JSON Schema for this object.
4811
- * @example https://example.com/ImportWorkspaceSkillsOutputBody.json
5183
+ * @example https://example.com/ImportResponse.json
4812
5184
  */
4813
5185
  readonly $schema?: string;
4814
- commit_shas: {
5186
+ /** Format: int64 */
5187
+ emails_queued: number;
5188
+ /** Format: int64 */
5189
+ finding_count: number;
5190
+ import_id: string;
5191
+ project_results: components["schemas"]["ProjectImportResult"][] | null;
5192
+ /** Format: date-time */
5193
+ window_end: string;
5194
+ /** Format: date-time */
5195
+ window_start: string;
5196
+ };
5197
+ ImportWorkspaceSkillsGitHubInputBody: {
5198
+ /**
5199
+ * Format: uri
5200
+ * @description A URL to the JSON Schema for this object.
5201
+ * @example https://example.com/ImportWorkspaceSkillsGitHubInputBody.json
5202
+ */
5203
+ readonly $schema?: string;
5204
+ /** @description Public GitHub repository URL (owner/repo, https://github.com/owner/repo, or a /tree/ref/path or /blob/ref/path/SKILL.md skill URL) */
5205
+ source_url: string;
5206
+ };
5207
+ ImportWorkspaceSkillsOutputBody: {
5208
+ /**
5209
+ * Format: uri
5210
+ * @description A URL to the JSON Schema for this object.
5211
+ * @example https://example.com/ImportWorkspaceSkillsOutputBody.json
5212
+ */
5213
+ readonly $schema?: string;
5214
+ commit_shas: {
4815
5215
  [key: string]: string;
4816
5216
  };
4817
5217
  skills: components["schemas"]["RepoSkillDTO"][] | null;
@@ -5265,6 +5665,24 @@ interface components {
5265
5665
  readonly $schema?: string;
5266
5666
  options: components["schemas"]["MCPNetworkTransportOption"][] | null;
5267
5667
  };
5668
+ ListMCPRegistriesOutputBody: {
5669
+ /**
5670
+ * Format: uri
5671
+ * @description A URL to the JSON Schema for this object.
5672
+ * @example https://example.com/ListMCPRegistriesOutputBody.json
5673
+ */
5674
+ readonly $schema?: string;
5675
+ registries: components["schemas"]["MCPRegistryDTO"][] | null;
5676
+ };
5677
+ ListMCPRegistryServersOutputBody: {
5678
+ /**
5679
+ * Format: uri
5680
+ * @description A URL to the JSON Schema for this object.
5681
+ * @example https://example.com/ListMCPRegistryServersOutputBody.json
5682
+ */
5683
+ readonly $schema?: string;
5684
+ servers: components["schemas"]["RegistryServerDTO"][] | null;
5685
+ };
5268
5686
  ListObjectsResponse: {
5269
5687
  /**
5270
5688
  * Format: uri
@@ -5445,6 +5863,16 @@ interface components {
5445
5863
  /** @description List of workspace registrar domains */
5446
5864
  domains: components["schemas"]["RegistrarDomainOutput"][] | null;
5447
5865
  };
5866
+ ListRepoSkillNamesOutputBody: {
5867
+ /**
5868
+ * Format: uri
5869
+ * @description A URL to the JSON Schema for this object.
5870
+ * @example https://example.com/ListRepoSkillNamesOutputBody.json
5871
+ */
5872
+ readonly $schema?: string;
5873
+ /** @description Skill names present in the workspace repo */
5874
+ skills: components["schemas"]["RepoSkillNameDTO"][] | null;
5875
+ };
5448
5876
  ListRepoSkillsOutputBody: {
5449
5877
  /**
5450
5878
  * Format: uri
@@ -5634,6 +6062,7 @@ interface components {
5634
6062
  is_connected?: boolean;
5635
6063
  is_enabled_for_workspace: boolean;
5636
6064
  launched: boolean;
6065
+ parent_registry_id?: string;
5637
6066
  platform_availability?: string[] | null;
5638
6067
  /** Format: int64 */
5639
6068
  refresh_failures?: number;
@@ -5661,12 +6090,48 @@ interface components {
5661
6090
  profile_id: string;
5662
6091
  type: string;
5663
6092
  };
6093
+ MCPRegistryDTO: {
6094
+ /**
6095
+ * Format: uri
6096
+ * @description A URL to the JSON Schema for this object.
6097
+ * @example https://example.com/MCPRegistryDTO.json
6098
+ */
6099
+ readonly $schema?: string;
6100
+ child_connection_ids: string[] | null;
6101
+ display_name: string;
6102
+ has_bearer_token: boolean;
6103
+ id: string;
6104
+ url: string;
6105
+ };
5664
6106
  MCPSuggestion: {
5665
6107
  auth_type: string;
5666
6108
  /** Format: int64 */
5667
6109
  num_users: number;
5668
6110
  url: string;
5669
6111
  };
6112
+ McpOAuthClaimInputBody: {
6113
+ /**
6114
+ * Format: uri
6115
+ * @description A URL to the JSON Schema for this object.
6116
+ * @example https://example.com/McpOAuthClaimInputBody.json
6117
+ */
6118
+ readonly $schema?: string;
6119
+ /** @description Single-use claim token returned by the loopback redirect */
6120
+ claim_token: string;
6121
+ /** @description PKCE verifier whose S256 hash matches the original challenge */
6122
+ code_verifier: string;
6123
+ };
6124
+ McpOAuthClaimOutputBody: {
6125
+ /**
6126
+ * Format: uri
6127
+ * @description A URL to the JSON Schema for this object.
6128
+ * @example https://example.com/McpOAuthClaimOutputBody.json
6129
+ */
6130
+ readonly $schema?: string;
6131
+ connection_id: string;
6132
+ warning?: string;
6133
+ warning_code?: string;
6134
+ };
5670
6135
  MessageIntentMetadata: {
5671
6136
  comment_feedback_metadata?: components["schemas"]["CommentFeedbackMetadata"];
5672
6137
  finding_fix_metadata?: components["schemas"]["FindingFixMetadata"];
@@ -5968,10 +6433,43 @@ interface components {
5968
6433
  /** @description Workspace details */
5969
6434
  workspace: components["schemas"]["Workspace"];
5970
6435
  };
6436
+ PIIFinding: {
6437
+ file_id?: string;
6438
+ info_type: string;
6439
+ likelihood: string;
6440
+ quote: string;
6441
+ source: string;
6442
+ };
5971
6443
  Page: {
5972
6444
  name: string;
5973
6445
  path: string;
5974
6446
  };
6447
+ PatchProjectAbandonmentSettingsInputBody: {
6448
+ /**
6449
+ * Format: uri
6450
+ * @description A URL to the JSON Schema for this object.
6451
+ * @example https://example.com/PatchProjectAbandonmentSettingsInputBody.json
6452
+ */
6453
+ readonly $schema?: string;
6454
+ /**
6455
+ * Format: int64
6456
+ * @description Abandonment threshold in days. Null clears the project override.
6457
+ */
6458
+ threshold_days?: number;
6459
+ };
6460
+ PatchWorkspaceAbandonmentSettingsInputBody: {
6461
+ /**
6462
+ * Format: uri
6463
+ * @description A URL to the JSON Schema for this object.
6464
+ * @example https://example.com/PatchWorkspaceAbandonmentSettingsInputBody.json
6465
+ */
6466
+ readonly $schema?: string;
6467
+ /**
6468
+ * Format: int64
6469
+ * @description Abandonment threshold in days. Null clears the workspace override.
6470
+ */
6471
+ threshold_days?: number;
6472
+ };
5975
6473
  PendingDisputeAdjustment: {
5976
6474
  currency: string;
5977
6475
  /** Format: int64 */
@@ -5981,6 +6479,11 @@ interface components {
5981
6479
  voided_grants: components["schemas"]["DisputeVoidedGrant"][] | null;
5982
6480
  };
5983
6481
  PendingRefundAdjustment: Record<string, never>;
6482
+ PerPlatformStrings: {
6483
+ android: string;
6484
+ "desktop-app": string;
6485
+ ios: string;
6486
+ };
5984
6487
  PlanGrantConfigEntry: {
5985
6488
  /**
5986
6489
  * Format: double
@@ -6018,6 +6521,40 @@ interface components {
6018
6521
  upgradeAvailable: boolean;
6019
6522
  upgradeRequired: boolean;
6020
6523
  };
6524
+ PostConnectionTestCredentialsInputBody: {
6525
+ /**
6526
+ * Format: uri
6527
+ * @description A URL to the JSON Schema for this object.
6528
+ * @example https://example.com/PostConnectionTestCredentialsInputBody.json
6529
+ */
6530
+ readonly $schema?: string;
6531
+ /** @description Standard connector ID */
6532
+ connector_id: string;
6533
+ /** @description Credential fields to validate */
6534
+ credentials: {
6535
+ [key: string]: unknown;
6536
+ };
6537
+ };
6538
+ PostConnectionTestCredentialsOutputBody: {
6539
+ /**
6540
+ * Format: uri
6541
+ * @description A URL to the JSON Schema for this object.
6542
+ * @example https://example.com/PostConnectionTestCredentialsOutputBody.json
6543
+ */
6544
+ readonly $schema?: string;
6545
+ /** @description True when credentials are valid */
6546
+ success: boolean;
6547
+ };
6548
+ PostDisableOutputBody: {
6549
+ /**
6550
+ * Format: uri
6551
+ * @description A URL to the JSON Schema for this object.
6552
+ * @example https://example.com/PostDisableOutputBody.json
6553
+ */
6554
+ readonly $schema?: string;
6555
+ /** @description True when the connector was disabled */
6556
+ success: boolean;
6557
+ };
6021
6558
  PostDisableStandardConnectorOutputBody: {
6022
6559
  /**
6023
6560
  * Format: uri
@@ -6028,6 +6565,16 @@ interface components {
6028
6565
  /** @description True when the connector was disabled */
6029
6566
  success: boolean;
6030
6567
  };
6568
+ PostEnableOutputBody: {
6569
+ /**
6570
+ * Format: uri
6571
+ * @description A URL to the JSON Schema for this object.
6572
+ * @example https://example.com/PostEnableOutputBody.json
6573
+ */
6574
+ readonly $schema?: string;
6575
+ /** @description True when the connector was enabled */
6576
+ success: boolean;
6577
+ };
6031
6578
  PostEnableStandardConnectorOutputBody: {
6032
6579
  /**
6033
6580
  * Format: uri
@@ -6075,6 +6622,57 @@ interface components {
6075
6622
  /** @description Per-item replay outcomes */
6076
6623
  results: components["schemas"]["BatchOutcome"];
6077
6624
  };
6625
+ PostStandardConnectionUnlinkOutputBody: {
6626
+ /**
6627
+ * Format: uri
6628
+ * @description A URL to the JSON Schema for this object.
6629
+ * @example https://example.com/PostStandardConnectionUnlinkOutputBody.json
6630
+ */
6631
+ readonly $schema?: string;
6632
+ locked_project_ids?: string[] | null;
6633
+ success: boolean;
6634
+ };
6635
+ PostStandardConnectionUnlinkRequest: {
6636
+ /**
6637
+ * Format: uri
6638
+ * @description A URL to the JSON Schema for this object.
6639
+ * @example https://example.com/PostStandardConnectionUnlinkRequest.json
6640
+ */
6641
+ readonly $schema?: string;
6642
+ project_ids: string[];
6643
+ };
6644
+ PostStandardConnectorOAuthStartInputBody: {
6645
+ /**
6646
+ * Format: uri
6647
+ * @description A URL to the JSON Schema for this object.
6648
+ * @example https://example.com/PostStandardConnectorOAuthStartInputBody.json
6649
+ */
6650
+ readonly $schema?: string;
6651
+ app_flow?: boolean;
6652
+ app_flow_challenge?: string;
6653
+ app_flow_redirect_uri?: string;
6654
+ code_challenge_method?: string;
6655
+ connection_id?: string;
6656
+ connector_id: string;
6657
+ /** @enum {string} */
6658
+ creation_context?: "chat" | "project" | "workspace" | "remix";
6659
+ credentials_configuration?: {
6660
+ [key: string]: unknown;
6661
+ };
6662
+ display_name?: string;
6663
+ handoff_nonce?: string;
6664
+ permissions?: components["schemas"]["StandardConnectorPermissionsDefinition"];
6665
+ };
6666
+ PostStandardConnectorOAuthStartOutputBody: {
6667
+ /**
6668
+ * Format: uri
6669
+ * @description A URL to the JSON Schema for this object.
6670
+ * @example https://example.com/PostStandardConnectorOAuthStartOutputBody.json
6671
+ */
6672
+ readonly $schema?: string;
6673
+ authorization_url: string;
6674
+ session_id: string;
6675
+ };
6078
6676
  PostStandardConnectorStepsInputBody: {
6079
6677
  /**
6080
6678
  * Format: uri
@@ -6209,6 +6807,14 @@ interface components {
6209
6807
  tax_code?: string;
6210
6808
  tax_code_label?: string;
6211
6809
  };
6810
+ Progress: {
6811
+ assemble_zip: components["schemas"]["StepStatus"];
6812
+ collect_intercom: components["schemas"]["StepStatus"];
6813
+ collect_memories: components["schemas"]["StepStatus"];
6814
+ collect_prompts: components["schemas"]["StepStatus"];
6815
+ collect_stripe: components["schemas"]["StepStatus"];
6816
+ resolve_user: components["schemas"]["StepStatus"];
6817
+ };
6212
6818
  ProjectAccessEntry: {
6213
6819
  /** Format: date-time */
6214
6820
  accepted_at?: string;
@@ -6263,6 +6869,22 @@ interface components {
6263
6869
  period: string;
6264
6870
  project_id: string;
6265
6871
  };
6872
+ ProjectDataPrivacySummary: {
6873
+ /** Format: int64 */
6874
+ connector_count: number;
6875
+ has_pii: boolean;
6876
+ is_published: boolean;
6877
+ /** Format: date-time */
6878
+ last_finding_at?: string;
6879
+ /** Format: int64 */
6880
+ open_pii_finding_count: number;
6881
+ project_id: string;
6882
+ project_name: string;
6883
+ /** @enum {string} */
6884
+ publish_visibility?: "public" | "private";
6885
+ /** Format: int64 */
6886
+ total_pii_finding_count: number;
6887
+ };
6266
6888
  ProjectDeleteRepoSkillOutputBody: {
6267
6889
  /**
6268
6890
  * Format: uri
@@ -6376,6 +6998,15 @@ interface components {
6376
6998
  /** @description Project IDs */
6377
6999
  project_ids: string[] | null;
6378
7000
  };
7001
+ ProjectImportResult: {
7002
+ email_finding_id?: string;
7003
+ email_status: string;
7004
+ email_workflow_id?: string;
7005
+ findings: components["schemas"]["FindingImportResult"][] | null;
7006
+ invocation_id: string;
7007
+ project_id: string;
7008
+ run_id: string;
7009
+ };
6379
7010
  ProjectLabelDTO: {
6380
7011
  /**
6381
7012
  * Format: date-time
@@ -6417,19 +7048,36 @@ interface components {
6417
7048
  sensitivity?: string;
6418
7049
  };
6419
7050
  ProjectPIIFindingDTO: {
7051
+ /** @description Trajectory event ID for chat-source labels */
6420
7052
  chat_message_id?: string;
7053
+ /** @description Uploaded file ID for upload-source labels */
6421
7054
  chat_upload_id?: string;
7055
+ /** @description Connector ID for connector labels */
6422
7056
  connector_id?: string;
6423
- /** Format: date-time */
7057
+ /**
7058
+ * Format: date-time
7059
+ * @description When the label was recorded
7060
+ */
6424
7061
  found_at: string;
7062
+ /** @description PII label ID */
6425
7063
  id: string;
7064
+ /** @description DLP info type, such as EMAIL_ADDRESS */
6426
7065
  info_type?: string;
7066
+ /** @description DLP likelihood: VERY_UNLIKELY, UNLIKELY, POSSIBLE, LIKELY, or VERY_LIKELY */
6427
7067
  likelihood?: string;
7068
+ /** @description Masked sample of the detected value */
6428
7069
  quote?: string;
7070
+ /** @description Workflow scan run ID that recorded the label */
7071
+ scan_id?: string;
7072
+ /** @description Sensitivity bucket: low, mid, or high */
6429
7073
  sensitivity?: string;
7074
+ /** @description Where the PII was detected: chat, upload, cloud_storage, cloud_sql, or connector */
6430
7075
  source: string;
7076
+ /** @description Database location for cloud_sql labels */
6431
7077
  sql_location?: string;
7078
+ /** @description Label status: open, ignored, or fixed */
6432
7079
  status: string;
7080
+ /** @description Cloud storage object path for cloud_storage labels */
6433
7081
  storage_path?: string;
6434
7082
  };
6435
7083
  ProjectPromoteRepoSkillInputBody: {
@@ -6439,8 +7087,8 @@ interface components {
6439
7087
  * @example https://example.com/ProjectPromoteRepoSkillInputBody.json
6440
7088
  */
6441
7089
  readonly $schema?: string;
6442
- /** @description Project repo commit SHA to promote from; defaults to latest */
6443
- commit_sha?: string;
7090
+ /** @description Project repo commit SHA containing the candidate skill proposal */
7091
+ commit_sha: string;
6444
7092
  /** @description Project repo skill directory to promote from */
6445
7093
  source_dir?: string;
6446
7094
  };
@@ -6472,6 +7120,12 @@ interface components {
6472
7120
  name: string;
6473
7121
  };
6474
7122
  ProjectResponse: {
7123
+ /** Format: date-time */
7124
+ abandoned_at?: string;
7125
+ /** Format: date-time */
7126
+ abandoned_dismissed_at?: string;
7127
+ /** Format: int64 */
7128
+ abandoned_threshold_days?: number;
6475
7129
  active_deployment_id?: string;
6476
7130
  /** Format: date-time */
6477
7131
  active_deployment_started_at?: string;
@@ -6605,6 +7259,26 @@ interface components {
6605
7259
  readonly $schema?: string;
6606
7260
  message: string;
6607
7261
  };
7262
+ ProjectSecuritySummary: {
7263
+ enabled_auth_providers?: ("email" | "phone" | "google" | "apple" | "microsoft" | "lovable" | "sso")[];
7264
+ /** Format: int64 */
7265
+ error_count: number;
7266
+ /** Format: int64 */
7267
+ info_count: number;
7268
+ is_published: boolean;
7269
+ /** Format: date-time */
7270
+ last_edited_at?: string;
7271
+ /** Format: date-time */
7272
+ last_scan_at?: string;
7273
+ project_id: string;
7274
+ project_name: string;
7275
+ /** @enum {string} */
7276
+ publish_visibility?: "public" | "private";
7277
+ publish_visibility_restriction?: boolean;
7278
+ scan_contexts?: components["schemas"]["ScanContext"][];
7279
+ /** Format: int64 */
7280
+ warning_count: number;
7281
+ };
6608
7282
  ProjectSetRepoSkillDisabledInputBody: {
6609
7283
  /**
6610
7284
  * Format: uri
@@ -6634,6 +7308,26 @@ interface components {
6634
7308
  readonly $schema?: string;
6635
7309
  skill: components["schemas"]["ProjectRepoSkillDTO"];
6636
7310
  };
7311
+ ProjectSupplyChainSummary: {
7312
+ /** Format: int64 */
7313
+ critical_count: number;
7314
+ /** Format: int64 */
7315
+ high_count: number;
7316
+ is_published: boolean;
7317
+ /** Format: date-time */
7318
+ last_scan_at?: string;
7319
+ /** Format: int64 */
7320
+ low_count: number;
7321
+ /** Format: int64 */
7322
+ medium_count: number;
7323
+ project_id: string;
7324
+ project_name: string;
7325
+ /** @enum {string} */
7326
+ publish_visibility?: "public" | "private";
7327
+ scan_contexts?: components["schemas"]["ScanContext"][];
7328
+ /** Format: int64 */
7329
+ total_count: number;
7330
+ };
6637
7331
  ProjectTheme: {
6638
7332
  library_id: string;
6639
7333
  name: string;
@@ -6690,6 +7384,16 @@ interface components {
6690
7384
  enabled: boolean;
6691
7385
  store_id?: string;
6692
7386
  };
7387
+ PublicPlatformConfig: {
7388
+ /**
7389
+ * Format: uri
7390
+ * @description A URL to the JSON Schema for this object.
7391
+ * @example https://example.com/PublicPlatformConfig.json
7392
+ */
7393
+ readonly $schema?: string;
7394
+ minVersion: components["schemas"]["PerPlatformStrings"];
7395
+ notifyBelowVersion: components["schemas"]["PerPlatformStrings"];
7396
+ };
6693
7397
  PublicProfileBody: {
6694
7398
  /**
6695
7399
  * Format: uri
@@ -6725,59 +7429,111 @@ interface components {
6725
7429
  /** @description Username */
6726
7430
  username?: string;
6727
7431
  };
6728
- PublishedAccessResponse: {
6729
- /**
6730
- * Format: uri
6731
- * @description A URL to the JSON Schema for this object.
6732
- * @example https://example.com/PublishedAccessResponse.json
6733
- */
6734
- readonly $schema?: string;
6735
- granted_at: string;
6736
- granted_by: string;
6737
- target_id: string;
6738
- target_name?: string;
6739
- target_type: string;
6740
- };
6741
- PublishedAccessTarget: {
6742
- /** @description Group ID or User ID */
6743
- target_id: string;
6744
- /**
6745
- * @description Type: group or user
6746
- * @enum {string}
6747
- */
6748
- target_type: "group" | "user";
6749
- };
6750
- PutRepoSkillInputBody: {
6751
- /**
6752
- * Format: uri
6753
- * @description A URL to the JSON Schema for this object.
6754
- * @example https://example.com/PutRepoSkillInputBody.json
6755
- */
6756
- readonly $schema?: string;
6757
- /** @description Full SKILL.md contents (frontmatter + body) */
6758
- markdown: string;
6759
- };
6760
- PutRepoSkillOutputBody: {
6761
- /**
6762
- * Format: uri
6763
- * @description A URL to the JSON Schema for this object.
6764
- * @example https://example.com/PutRepoSkillOutputBody.json
6765
- */
6766
- readonly $schema?: string;
6767
- /** @description Pierre commit SHA produced by this write */
6768
- commit_sha: string;
6769
- skill: components["schemas"]["RepoSkillDTO"];
6770
- };
6771
- QueryInputBody: {
7432
+ PublicProjectResponse: {
6772
7433
  /**
6773
7434
  * Format: uri
6774
7435
  * @description A URL to the JSON Schema for this object.
6775
- * @example https://example.com/QueryInputBody.json
7436
+ * @example https://example.com/PublicProjectResponse.json
6776
7437
  */
6777
7438
  readonly $schema?: string;
6778
- /** @description When true, run DLP-based PII anonymization before returning results */
6779
- pii_removal?: boolean;
6780
- /** @description BTQL query to execute */
7439
+ category?: string;
7440
+ /** Format: date-time */
7441
+ created_at: string;
7442
+ created_by?: string;
7443
+ /** Format: date-time */
7444
+ deleted_at?: string;
7445
+ display_name?: string;
7446
+ /** Format: int64 */
7447
+ edit_count?: number;
7448
+ /** Format: int64 */
7449
+ feature_rank?: number;
7450
+ feature_source?: string;
7451
+ featured?: boolean;
7452
+ /** Format: date-time */
7453
+ featured_at?: string;
7454
+ /** Format: int64 */
7455
+ gen_count?: number;
7456
+ git_on_pierre?: boolean;
7457
+ git_on_s3?: boolean;
7458
+ id: string;
7459
+ is_github?: boolean;
7460
+ is_profile_published?: boolean;
7461
+ is_published: boolean;
7462
+ is_supabase_enabled?: boolean;
7463
+ is_template?: boolean;
7464
+ latest_screenshot_url?: string;
7465
+ name?: string;
7466
+ og_image_url?: string;
7467
+ preview_build_commit_sha?: string;
7468
+ public_remixing_enabled?: boolean;
7469
+ /** Format: int64 */
7470
+ remix_count: number;
7471
+ status: string;
7472
+ /** Format: date-time */
7473
+ updated_at: string;
7474
+ url?: string;
7475
+ user_display_name?: string;
7476
+ user_id: string;
7477
+ /** Format: int64 */
7478
+ user_message_count?: number;
7479
+ user_photo_url?: string;
7480
+ /** @enum {string} */
7481
+ visibility?: "public" | "private" | "draft";
7482
+ workspace_id?: string;
7483
+ };
7484
+ PublishedAccessResponse: {
7485
+ /**
7486
+ * Format: uri
7487
+ * @description A URL to the JSON Schema for this object.
7488
+ * @example https://example.com/PublishedAccessResponse.json
7489
+ */
7490
+ readonly $schema?: string;
7491
+ granted_at: string;
7492
+ granted_by: string;
7493
+ target_id: string;
7494
+ target_name?: string;
7495
+ target_type: string;
7496
+ };
7497
+ PublishedAccessTarget: {
7498
+ /** @description Group ID or User ID */
7499
+ target_id: string;
7500
+ /**
7501
+ * @description Type: group or user
7502
+ * @enum {string}
7503
+ */
7504
+ target_type: "group" | "user";
7505
+ };
7506
+ PutRepoSkillInputBody: {
7507
+ /**
7508
+ * Format: uri
7509
+ * @description A URL to the JSON Schema for this object.
7510
+ * @example https://example.com/PutRepoSkillInputBody.json
7511
+ */
7512
+ readonly $schema?: string;
7513
+ /** @description Full SKILL.md contents (frontmatter + body) */
7514
+ markdown: string;
7515
+ };
7516
+ PutRepoSkillOutputBody: {
7517
+ /**
7518
+ * Format: uri
7519
+ * @description A URL to the JSON Schema for this object.
7520
+ * @example https://example.com/PutRepoSkillOutputBody.json
7521
+ */
7522
+ readonly $schema?: string;
7523
+ /** @description Pierre commit SHA produced by this write */
7524
+ commit_sha: string;
7525
+ skill: components["schemas"]["RepoSkillDTO"];
7526
+ };
7527
+ QueryBody: {
7528
+ /**
7529
+ * Format: uri
7530
+ * @description A URL to the JSON Schema for this object.
7531
+ * @example https://example.com/QueryBody.json
7532
+ */
7533
+ readonly $schema?: string;
7534
+ /** @description PII replacement mode. Defaults to random. Use redacted for REDACTED_* placeholders. */
7535
+ mode?: string;
7536
+ /** @description BTQL query to execute */
6781
7537
  query: string;
6782
7538
  };
6783
7539
  QueryResult: {
@@ -6792,6 +7548,7 @@ interface components {
6792
7548
  data: {
6793
7549
  [key: string]: unknown;
6794
7550
  }[] | null;
7551
+ file_pii_findings?: components["schemas"]["FilePIIFinding"][] | null;
6795
7552
  };
6796
7553
  ReadinessCheck: {
6797
7554
  agent_fixable: boolean;
@@ -6865,6 +7622,8 @@ interface components {
6865
7622
  */
6866
7623
  readonly $schema?: string;
6867
7624
  custom_token: string;
7625
+ display_name?: string;
7626
+ email: string;
6868
7627
  };
6869
7628
  RegisterFCMTokenInputBody: {
6870
7629
  /**
@@ -6926,8 +7685,19 @@ interface components {
6926
7685
  expires_at?: string;
6927
7686
  /** @description Registrar domain ID */
6928
7687
  id: string;
7688
+ /** @description Free-text detail for the most recent terminal or attention error */
7689
+ last_error?: string;
7690
+ /** @description Categorical code for the most recent terminal or attention error */
7691
+ last_error_code?: string;
7692
+ /** @description Whether transfers are locked at the registrar. Absent if the registrar lookup failed. */
7693
+ locked?: boolean;
6929
7694
  /** @description Purchase workflow state */
6930
7695
  purchase_state: string;
7696
+ /**
7697
+ * Format: date-time
7698
+ * @description When the domain was registered at the registry. Anchors ICANN's 60-day transfer lock. Absent if the registrar lookup failed.
7699
+ */
7700
+ registered_at?: string;
6931
7701
  /**
6932
7702
  * Format: int64
6933
7703
  * @description Renewal price in cents for the minimum renewal period
@@ -6942,12 +7712,31 @@ interface components {
6942
7712
  renewal_years: number;
6943
7713
  /** @description Registrar ownership status */
6944
7714
  status: string;
7715
+ /** @description Transfer-in lifecycle (present only on transfer-in records) */
7716
+ transfer_in?: components["schemas"]["TransferInOutput"];
7717
+ /** @description Outbound transfer lifecycle. Present once Name.com reports a transfer-out has started; remains as historical record after a terminal state. */
7718
+ transfer_out?: components["schemas"]["TransferOutOutput"];
6945
7719
  /**
6946
7720
  * Format: date-time
6947
7721
  * @description When contact verification must be completed
6948
7722
  */
6949
7723
  verification_deadline_at?: string;
6950
7724
  };
7725
+ RegistryRemoteDTO: {
7726
+ type: string;
7727
+ url: string;
7728
+ };
7729
+ RegistryServerDTO: {
7730
+ already_connected_as?: string;
7731
+ description: string;
7732
+ has_packages: boolean;
7733
+ is_connectable: boolean;
7734
+ name: string;
7735
+ remotes?: components["schemas"]["RegistryRemoteDTO"][] | null;
7736
+ title?: string;
7737
+ version: string;
7738
+ website_url?: string;
7739
+ };
6951
7740
  RemixJobStepInfo: {
6952
7741
  integration_name?: string;
6953
7742
  status?: string;
@@ -7069,6 +7858,10 @@ interface components {
7069
7858
  /** @description Skill name; matches the directory under skills/ in the workspace repo */
7070
7859
  name: string;
7071
7860
  };
7861
+ RepoSkillNameDTO: {
7862
+ /** @description Skill name; matches the directory under skills/ in the workspace repo */
7863
+ name: string;
7864
+ };
7072
7865
  RequestPAMSessionInputBody: {
7073
7866
  /**
7074
7867
  * Format: uri
@@ -7124,6 +7917,8 @@ interface components {
7124
7917
  * @example https://example.com/RevertTrajectoryInputBody.json
7125
7918
  */
7126
7919
  readonly $schema?: string;
7920
+ /** @description Thread being reverted (e.g. 'main' or a variant thread id) */
7921
+ agent_id?: string;
7127
7922
  /** @description Trajectory event ID to revert to */
7128
7923
  event_id: string;
7129
7924
  };
@@ -7537,6 +8332,12 @@ interface components {
7537
8332
  name_matches: components["schemas"]["GroupResponse"][] | null;
7538
8333
  };
7539
8334
  SearchProjectItem: {
8335
+ /** Format: date-time */
8336
+ abandoned_at?: string;
8337
+ /** Format: date-time */
8338
+ abandoned_dismissed_at?: string;
8339
+ /** Format: int64 */
8340
+ abandoned_threshold_days?: number;
7540
8341
  access_level?: string;
7541
8342
  activity_group?: string;
7542
8343
  /** Format: int64 */
@@ -7655,7 +8456,8 @@ interface components {
7655
8456
  action_context?: string;
7656
8457
  finding?: components["schemas"]["SecurityFindingPatch"];
7657
8458
  internal_id?: string;
7658
- operation: string;
8459
+ /** @enum {string} */
8460
+ operation: "update" | "delete";
7659
8461
  scanner_name?: string;
7660
8462
  };
7661
8463
  SecurityFindingOperationResponse: {
@@ -7670,28 +8472,8 @@ interface components {
7670
8472
  results: string[] | null;
7671
8473
  };
7672
8474
  SecurityFindingPatch: {
7673
- category?: string;
7674
- connector_id?: string;
7675
- /** Format: date-time */
7676
- created_at?: string;
7677
- /** Format: date-time */
7678
- deleted_at?: string;
7679
- description?: string;
7680
- details?: string;
7681
- id?: string;
7682
8475
  ignore?: boolean;
7683
8476
  ignore_reason?: string;
7684
- /** Format: date-time */
7685
- ignored_at?: string;
7686
- ignored_by?: string;
7687
- internal_id?: string;
7688
- level?: string;
7689
- link?: string;
7690
- metadata?: {
7691
- [key: string]: unknown;
7692
- };
7693
- name?: string;
7694
- remediation_difficulty?: string;
7695
8477
  };
7696
8478
  SecurityMemoryBody: {
7697
8479
  /**
@@ -7721,6 +8503,7 @@ interface components {
7721
8503
  SecurityScanResult: {
7722
8504
  commit: string;
7723
8505
  findings: components["schemas"]["SecurityFinding"][] | null;
8506
+ metadata_hash?: string;
7724
8507
  scanner_name: string;
7725
8508
  /** Format: date-time */
7726
8509
  timestamp: string;
@@ -7810,7 +8593,33 @@ interface components {
7810
8593
  readonly $schema?: string;
7811
8594
  success: boolean;
7812
8595
  };
8596
+ SetWorkspaceRepoSkillDisabledInputBody: {
8597
+ /**
8598
+ * Format: uri
8599
+ * @description A URL to the JSON Schema for this object.
8600
+ * @example https://example.com/SetWorkspaceRepoSkillDisabledInputBody.json
8601
+ */
8602
+ readonly $schema?: string;
8603
+ /** @description Whether this skill should be disabled for the workspace */
8604
+ disabled: boolean;
8605
+ };
8606
+ SetWorkspaceRepoSkillDisabledOutputBody: {
8607
+ /**
8608
+ * Format: uri
8609
+ * @description A URL to the JSON Schema for this object.
8610
+ * @example https://example.com/SetWorkspaceRepoSkillDisabledOutputBody.json
8611
+ */
8612
+ readonly $schema?: string;
8613
+ /** @description Skills disabled for this workspace */
8614
+ disabled_skills: components["schemas"]["DisabledSkillRef"][] | null;
8615
+ };
7813
8616
  SharedSearchProjectItem: {
8617
+ /** Format: date-time */
8618
+ abandoned_at?: string;
8619
+ /** Format: date-time */
8620
+ abandoned_dismissed_at?: string;
8621
+ /** Format: int64 */
8622
+ abandoned_threshold_days?: number;
7814
8623
  access_level?: string;
7815
8624
  activity_group?: string;
7816
8625
  /** Format: int64 */
@@ -7916,6 +8725,14 @@ interface components {
7916
8725
  updated_at: string;
7917
8726
  user_id: string;
7918
8727
  };
8728
+ StandardConnectionPermissionUser: {
8729
+ email?: string;
8730
+ id: string;
8731
+ };
8732
+ StandardConnectionPermissionsResponseData: {
8733
+ type: string;
8734
+ users?: components["schemas"]["StandardConnectionPermissionUser"][] | null;
8735
+ };
7919
8736
  StandardConnectionProjectInfo: {
7920
8737
  display_name: string;
7921
8738
  id: string;
@@ -7966,10 +8783,32 @@ interface components {
7966
8783
  };
7967
8784
  id: string;
7968
8785
  };
8786
+ StandardConnectorOAuthClaimInputBody: {
8787
+ /**
8788
+ * Format: uri
8789
+ * @description A URL to the JSON Schema for this object.
8790
+ * @example https://example.com/StandardConnectorOAuthClaimInputBody.json
8791
+ */
8792
+ readonly $schema?: string;
8793
+ /** @description Single-use claim token returned by the loopback redirect */
8794
+ claim_token: string;
8795
+ /** @description PKCE verifier whose S256 hash matches the original challenge */
8796
+ code_verifier: string;
8797
+ };
8798
+ StandardConnectorOAuthClaimOutputBody: {
8799
+ /**
8800
+ * Format: uri
8801
+ * @description A URL to the JSON Schema for this object.
8802
+ * @example https://example.com/StandardConnectorOAuthClaimOutputBody.json
8803
+ */
8804
+ readonly $schema?: string;
8805
+ connection_id: string;
8806
+ };
7969
8807
  StandardConnectorPermissionsDefinition: {
7970
- emails?: string[] | null;
7971
- list?: string[] | null;
7972
- type: string;
8808
+ emails?: string[];
8809
+ list?: string[];
8810
+ /** @enum {string} */
8811
+ type: "workspace" | "users";
7973
8812
  };
7974
8813
  StandardConnectorPromotion: {
7975
8814
  help_link: string;
@@ -8016,6 +8855,16 @@ interface components {
8016
8855
  /** @description Initial status (pending) */
8017
8856
  status: string;
8018
8857
  };
8858
+ StartExportResponse: {
8859
+ /**
8860
+ * Format: uri
8861
+ * @description A URL to the JSON Schema for this object.
8862
+ * @example https://example.com/StartExportResponse.json
8863
+ */
8864
+ readonly $schema?: string;
8865
+ status: string;
8866
+ workflow_id: string;
8867
+ };
8019
8868
  Stats: {
8020
8869
  /**
8021
8870
  * Format: uri
@@ -8030,6 +8879,9 @@ interface components {
8030
8879
  /** Format: int64 */
8031
8880
  total_blocks: number;
8032
8881
  };
8882
+ StepStatus: {
8883
+ status: string;
8884
+ };
8033
8885
  StoredReadinessCheck: {
8034
8886
  checks: components["schemas"]["ReadinessCheck"][] | null;
8035
8887
  commit_sha: string;
@@ -8099,6 +8951,20 @@ interface components {
8099
8951
  supabase_organization_id: string;
8100
8952
  supabase_project_id: string;
8101
8953
  };
8954
+ SupplyChainVulnerability: {
8955
+ affected_project_ids: string[];
8956
+ /** Format: int64 */
8957
+ affected_projects_count: number;
8958
+ description: string;
8959
+ fixed_version?: string;
8960
+ id: string;
8961
+ link: string;
8962
+ package_name: string;
8963
+ package_version: string;
8964
+ /** @enum {string} */
8965
+ severity: "critical" | "high" | "medium" | "low";
8966
+ title: string;
8967
+ };
8102
8968
  Survey: {
8103
8969
  active: boolean;
8104
8970
  booking_link: string;
@@ -8411,6 +9277,53 @@ interface components {
8411
9277
  /** @description Transactional email previews discovered from the deployed edge function */
8412
9278
  templates: components["schemas"]["TransactionalEmailPreview"][] | null;
8413
9279
  };
9280
+ TransferInOutput: {
9281
+ /** @description Categorical reason the transfer is parked needing attention */
9282
+ attention_required_reason?: string;
9283
+ /**
9284
+ * Format: date-time
9285
+ * @description When the current attention reason was first observed
9286
+ */
9287
+ attention_required_since?: string;
9288
+ /** @description Raw Name.com transfer status */
9289
+ provider_status?: string;
9290
+ /** @description Transfer-in lifecycle state */
9291
+ state: string;
9292
+ };
9293
+ TransferInPricingOutputBody: {
9294
+ /**
9295
+ * Format: uri
9296
+ * @description A URL to the JSON Schema for this object.
9297
+ * @example https://example.com/TransferInPricingOutputBody.json
9298
+ */
9299
+ readonly $schema?: string;
9300
+ /** @description ISO-4217 currency code */
9301
+ currency: string;
9302
+ /**
9303
+ * Format: int64
9304
+ * @description Annual renewal price in cents
9305
+ */
9306
+ renewal_price_cents: number;
9307
+ /**
9308
+ * Format: int64
9309
+ * @description One-year transfer price in cents
9310
+ */
9311
+ transfer_price_cents: number;
9312
+ };
9313
+ TransferOutOutput: {
9314
+ /**
9315
+ * Format: date-time
9316
+ * @description When the initiated webhook was first observed
9317
+ */
9318
+ initiated_at?: string;
9319
+ /** @description initiated | canceled | completed */
9320
+ state: string;
9321
+ /**
9322
+ * Format: date-time
9323
+ * @description When canceled or completed was observed
9324
+ */
9325
+ terminal_at?: string;
9326
+ };
8414
9327
  TransferOwnershipInputBody: {
8415
9328
  /**
8416
9329
  * Format: uri
@@ -8462,9 +9375,22 @@ interface components {
8462
9375
  readonly $schema?: string;
8463
9376
  message?: string;
8464
9377
  run_id?: string;
9378
+ scan_id?: string;
8465
9379
  status?: string;
8466
9380
  workflow_id?: string;
8467
9381
  };
9382
+ TriggerWorkspaceScanScheduleResponse: {
9383
+ /**
9384
+ * Format: uri
9385
+ * @description A URL to the JSON Schema for this object.
9386
+ * @example https://example.com/TriggerWorkspaceScanScheduleResponse.json
9387
+ */
9388
+ readonly $schema?: string;
9389
+ /** @description Temporal run ID for the triggered run */
9390
+ run_id: string;
9391
+ /** @description Temporal workflow ID for the triggered run */
9392
+ workflow_id: string;
9393
+ };
8468
9394
  URLResponse: {
8469
9395
  /**
8470
9396
  * Format: uri
@@ -8513,7 +9439,7 @@ interface components {
8513
9439
  readonly $schema?: string;
8514
9440
  /**
8515
9441
  * Format: double
8516
- * @description Credit limit in credits (null to remove limit)
9442
+ * @description Monthly hard-block credit limit (null removes the monthly hard-block; other rules attached via the alerts-and-limits surface are untouched)
8517
9443
  */
8518
9444
  credit_limit: number | null;
8519
9445
  };
@@ -8678,6 +9604,17 @@ interface components {
8678
9604
  name?: string;
8679
9605
  url?: string;
8680
9606
  };
9607
+ UpdateMCPRegistryInputBody: {
9608
+ /**
9609
+ * Format: uri
9610
+ * @description A URL to the JSON Schema for this object.
9611
+ * @example https://example.com/UpdateMCPRegistryInputBody.json
9612
+ */
9613
+ readonly $schema?: string;
9614
+ bearer_token?: string;
9615
+ display_name?: string;
9616
+ url?: string;
9617
+ };
8681
9618
  UpdateOrgMembershipRoleInputBody: {
8682
9619
  /**
8683
9620
  * Format: uri
@@ -8867,6 +9804,11 @@ interface components {
8867
9804
  pii_live_chat_mode?: "off" | "detect_only" | "prompt" | "block";
8868
9805
  /** @description Require security scan before first publish */
8869
9806
  require_security_scan_before_publish?: boolean;
9807
+ /**
9808
+ * @description Security auto-fix mode
9809
+ * @enum {string}
9810
+ */
9811
+ security_auto_fix_mode?: "off" | "published_projects" | "all_projects";
8870
9812
  /** @description Share sample data with LLMs */
8871
9813
  share_sample_data_with_llms?: boolean;
8872
9814
  /**
@@ -8958,23 +9900,111 @@ interface components {
8958
9900
  */
8959
9901
  workspace_role: "none" | "owner" | "admin" | "member" | "viewer" | "collaborator" | "invited";
8960
9902
  };
8961
- UserAttributes: {
8962
- bio?: string;
8963
- display_name?: string;
8964
- has_submitted_feedback?: boolean;
8965
- link?: string;
8966
- location?: string;
8967
- profile_visibility?: string;
9903
+ UpsertWorkspaceScanScheduleBody: {
9904
+ /**
9905
+ * Format: uri
9906
+ * @description A URL to the JSON Schema for this object.
9907
+ * @example https://example.com/UpsertWorkspaceScanScheduleBody.json
9908
+ */
9909
+ readonly $schema?: string;
9910
+ cron_expression?: string;
9911
+ enabled: boolean;
9912
+ notify_emails?: string[] | null;
9913
+ notify_min_severity?: string;
9914
+ /** @enum {string} */
9915
+ project_selector?: "published_projects" | "all_projects";
9916
+ scanner_configs?: components["schemas"]["ScannerConfig"][] | null;
9917
+ timezone?: string;
8968
9918
  };
8969
- UserMonthlyUsage: {
9919
+ UsageBreakdown: {
8970
9920
  /**
8971
9921
  * Format: uri
8972
9922
  * @description A URL to the JSON Schema for this object.
8973
- * @example https://example.com/UserMonthlyUsage.json
9923
+ * @example https://example.com/UsageBreakdown.json
8974
9924
  */
8975
9925
  readonly $schema?: string;
9926
+ cursor?: string;
9927
+ has_more: boolean;
9928
+ rows: components["schemas"]["UsageBreakdownRow"][] | null;
8976
9929
  /** Format: double */
8977
- max_usage: number | null;
9930
+ workspace_total: number;
9931
+ };
9932
+ UsageBreakdownRow: {
9933
+ /** Format: double */
9934
+ build: number;
9935
+ /** Format: double */
9936
+ cloud_aggregate: number;
9937
+ /** Format: double */
9938
+ database: number;
9939
+ /** Format: double */
9940
+ functions: number;
9941
+ /** Format: double */
9942
+ gateway: number;
9943
+ id: string;
9944
+ /** Format: double */
9945
+ realtime: number;
9946
+ /** Format: double */
9947
+ run: number;
9948
+ /** Format: double */
9949
+ storage: number;
9950
+ /** Format: double */
9951
+ total: number;
9952
+ };
9953
+ UsageGatewayModelRow: {
9954
+ /** Format: double */
9955
+ credits: number;
9956
+ name: string;
9957
+ provider: string;
9958
+ };
9959
+ UsageTimeSeries: {
9960
+ /**
9961
+ * Format: uri
9962
+ * @description A URL to the JSON Schema for this object.
9963
+ * @example https://example.com/UsageTimeSeries.json
9964
+ */
9965
+ readonly $schema?: string;
9966
+ buckets: components["schemas"]["UsageTimeSeriesBucket"][] | null;
9967
+ };
9968
+ UsageTimeSeriesBucket: {
9969
+ /** Format: double */
9970
+ build: number;
9971
+ /** Format: double */
9972
+ cloud_aggregate: number;
9973
+ /** Format: double */
9974
+ database: number;
9975
+ /** Format: double */
9976
+ functions: number;
9977
+ /** Format: double */
9978
+ gateway: number;
9979
+ gateway_models: components["schemas"]["UsageGatewayModelRow"][] | null;
9980
+ period_end: string;
9981
+ period_start: string;
9982
+ /** Format: double */
9983
+ realtime: number;
9984
+ /** Format: double */
9985
+ run: number;
9986
+ /** Format: double */
9987
+ storage: number;
9988
+ /** Format: double */
9989
+ total: number;
9990
+ };
9991
+ UserAttributes: {
9992
+ bio?: string;
9993
+ display_name?: string;
9994
+ has_submitted_feedback?: boolean;
9995
+ link?: string;
9996
+ location?: string;
9997
+ profile_visibility?: string;
9998
+ };
9999
+ UserMonthlyUsage: {
10000
+ /**
10001
+ * Format: uri
10002
+ * @description A URL to the JSON Schema for this object.
10003
+ * @example https://example.com/UserMonthlyUsage.json
10004
+ */
10005
+ readonly $schema?: string;
10006
+ /** Format: double */
10007
+ max_usage: number | null;
8978
10008
  /** Format: double */
8979
10009
  user_monthly_usage: number;
8980
10010
  };
@@ -9126,6 +10156,8 @@ interface components {
9126
10156
  description?: string;
9127
10157
  /** @description Project display name */
9128
10158
  display_name?: string;
10159
+ /** @description Preview URL with a short-lived signed token (?__lovable_token=…) that authenticates an iframe load without an in-iframe Lovable login. Partner integrations should iframe this directly; the token expires after 1h. Uses viewer-level access, which also covers the project's published deployment and custom-domain routes — not only the static-preview host in this URL. */
10160
+ embed_url?: string;
9129
10161
  /** @description Project ID */
9130
10162
  id: string;
9131
10163
  /** @description Whether the project is published */
@@ -9169,6 +10201,16 @@ interface components {
9169
10201
  [key: string]: unknown;
9170
10202
  }[] | null;
9171
10203
  };
10204
+ V1DeleteWorkspaceSkillOutputBody: {
10205
+ /**
10206
+ * Format: uri
10207
+ * @description A URL to the JSON Schema for this object.
10208
+ * @example https://example.com/V1DeleteWorkspaceSkillOutputBody.json
10209
+ */
10210
+ readonly $schema?: string;
10211
+ /** @description Workspace repo commit SHA produced by this deletion */
10212
+ commit_sha: string;
10213
+ };
9172
10214
  V1DeployProjectInputBody: {
9173
10215
  /**
9174
10216
  * Format: uri
@@ -9311,6 +10353,15 @@ interface components {
9311
10353
  scan: components["schemas"]["V1SecurityScanSummary"];
9312
10354
  scanner_runs: components["schemas"]["V1SecurityScannerRun"][] | null;
9313
10355
  };
10356
+ V1GetWorkspaceSkillOutputBody: {
10357
+ /**
10358
+ * Format: uri
10359
+ * @description A URL to the JSON Schema for this object.
10360
+ * @example https://example.com/V1GetWorkspaceSkillOutputBody.json
10361
+ */
10362
+ readonly $schema?: string;
10363
+ skill: components["schemas"]["V1WorkspaceSkillDTO"];
10364
+ };
9314
10365
  V1KnowledgeResponse: {
9315
10366
  /**
9316
10367
  * Format: uri
@@ -9350,6 +10401,50 @@ interface components {
9350
10401
  /** @description Connected connectors */
9351
10402
  connectors: components["schemas"]["V1ConnectorResponse"][] | null;
9352
10403
  };
10404
+ V1ListMessagesOutputBody: {
10405
+ /**
10406
+ * Format: uri
10407
+ * @description A URL to the JSON Schema for this object.
10408
+ * @example https://example.com/V1ListMessagesOutputBody.json
10409
+ */
10410
+ readonly $schema?: string;
10411
+ /** @description Whether there are older messages available beyond this page */
10412
+ has_more: boolean;
10413
+ /** @description Messages in reverse chronological order (newest first) */
10414
+ messages: components["schemas"]["V1MessageListItem"][] | null;
10415
+ };
10416
+ V1ListPIILabelsOutputBody: {
10417
+ /**
10418
+ * Format: uri
10419
+ * @description A URL to the JSON Schema for this object.
10420
+ * @example https://example.com/V1ListPIILabelsOutputBody.json
10421
+ */
10422
+ readonly $schema?: string;
10423
+ /** @description PII labels ordered newest first */
10424
+ labels: components["schemas"]["ProjectPIIFindingDTO"][] | null;
10425
+ /** @description Cursor for the next page; absent on the last page */
10426
+ next_cursor?: string;
10427
+ };
10428
+ V1ListProjectCollaboratorsOutputBody: {
10429
+ /**
10430
+ * Format: uri
10431
+ * @description A URL to the JSON Schema for this object.
10432
+ * @example https://example.com/V1ListProjectCollaboratorsOutputBody.json
10433
+ */
10434
+ readonly $schema?: string;
10435
+ /** @description Users with direct access to this project. Pending email invites (users who do not yet have an account) are not included. */
10436
+ collaborators: components["schemas"]["V1ProjectCollaborator"][] | null;
10437
+ };
10438
+ V1ListProjectSkillsOutputBody: {
10439
+ /**
10440
+ * Format: uri
10441
+ * @description A URL to the JSON Schema for this object.
10442
+ * @example https://example.com/V1ListProjectSkillsOutputBody.json
10443
+ */
10444
+ readonly $schema?: string;
10445
+ /** @description Skills present in the project repo */
10446
+ skills: components["schemas"]["V1ProjectSkillDTO"][] | null;
10447
+ };
9353
10448
  V1ListSecurityScansOutputBody: {
9354
10449
  /**
9355
10450
  * Format: uri
@@ -9362,6 +10457,30 @@ interface components {
9362
10457
  /** @description Scan invocations ordered newest first */
9363
10458
  scans: components["schemas"]["V1SecurityScanSummary"][] | null;
9364
10459
  };
10460
+ V1ListWorkspaceSkillsOutputBody: {
10461
+ /**
10462
+ * Format: uri
10463
+ * @description A URL to the JSON Schema for this object.
10464
+ * @example https://example.com/V1ListWorkspaceSkillsOutputBody.json
10465
+ */
10466
+ readonly $schema?: string;
10467
+ /** @description Skills present in the workspace repo */
10468
+ skills: components["schemas"]["V1WorkspaceSkillDTO"][] | null;
10469
+ };
10470
+ V1MessageListItem: {
10471
+ /** @description Message text content */
10472
+ content: string;
10473
+ /** @description ISO 8601 creation timestamp */
10474
+ created_at: string;
10475
+ /** @description Associated edit ID for assistant messages, if any */
10476
+ edit_id?: string;
10477
+ /** @description Message ID */
10478
+ message_id: string;
10479
+ /** @description Message role (user or assistant) */
10480
+ role: string;
10481
+ /** @description Message status (accepted, running, completed, stopped, error) */
10482
+ status: string;
10483
+ };
9365
10484
  V1MessageResponse: {
9366
10485
  /**
9367
10486
  * Format: uri
@@ -9402,6 +10521,35 @@ interface components {
9402
10521
  /** @description AI-generated summary of changes */
9403
10522
  summary?: string;
9404
10523
  };
10524
+ V1ProjectCollaborator: {
10525
+ /**
10526
+ * Format: date-time
10527
+ * @description When the user accepted the project invitation. Null if the invite is still pending.
10528
+ */
10529
+ accepted_at?: string;
10530
+ /**
10531
+ * @description Access level: owner, admin, write, or read
10532
+ * @enum {string}
10533
+ */
10534
+ access_level: "owner" | "admin" | "write" | "read" | "none";
10535
+ /** @description Human-readable display name. Falls back to the email when the user has not set a display name. */
10536
+ display_name?: string;
10537
+ /** @description Email address of the collaborator. Empty if the user has no resolvable email (e.g. deleted user records that were not filtered out, or service-account-like users without an email on file). */
10538
+ email?: string;
10539
+ /**
10540
+ * Format: date-time
10541
+ * @description When the user was invited to the project. Null for the project owner.
10542
+ */
10543
+ invited_at?: string;
10544
+ /** @description User ID of the inviter. Empty for the project owner. */
10545
+ invited_by?: string;
10546
+ /** @description True when the user is internal to the workspace: either a workspace member, or their email belongs to a domain the workspace has verified (typical SSO / JIT provisioning case). Useful for distinguishing internal vs. external collaborators in security reviews. */
10547
+ is_internal: boolean;
10548
+ /** @description True when the user is a member of the project's workspace. False indicates an ad-hoc project collaborator who has no broader workspace access. */
10549
+ is_workspace_member: boolean;
10550
+ /** @description User ID of the collaborator */
10551
+ user_id: string;
10552
+ };
9405
10553
  V1ProjectFileUploadURLInputBody: {
9406
10554
  /**
9407
10555
  * Format: uri
@@ -9423,6 +10571,8 @@ interface components {
9423
10571
  description?: string;
9424
10572
  /** @description Project display name */
9425
10573
  display_name?: string;
10574
+ /** @description Preview URL with a short-lived signed token (?__lovable_token=…) that authenticates an iframe load without an in-iframe Lovable login. Partner integrations should iframe this directly; the token expires after 1h. Uses viewer-level access, which also covers the project's published deployment and custom-domain routes — not only the static-preview host in this URL. */
10575
+ embed_url?: string;
9426
10576
  /** @description Project ID */
9427
10577
  id: string;
9428
10578
  /** @description Whether the project is published */
@@ -9442,6 +10592,18 @@ interface components {
9442
10592
  /** @description Workspace ID */
9443
10593
  workspace_id: string;
9444
10594
  };
10595
+ V1ProjectSkillDTO: {
10596
+ /** @description Short description from SKILL.md frontmatter */
10597
+ description: string;
10598
+ /** @description Whether this project skill is enabled for agent runs */
10599
+ enabled: boolean;
10600
+ /** @description Optional metadata from SKILL.md frontmatter; values may be nested objects or scalars */
10601
+ metadata?: {
10602
+ [key: string]: unknown;
10603
+ };
10604
+ /** @description Skill name; matches the directory under .agents/skills/ in the project repo */
10605
+ name: string;
10606
+ };
9445
10607
  V1RemixInitInputBody: {
9446
10608
  /**
9447
10609
  * Format: uri
@@ -9453,8 +10615,12 @@ interface components {
9453
10615
  include_custom_knowledge?: boolean;
9454
10616
  /** @description Copy chat history to the new project */
9455
10617
  include_history?: boolean;
10618
+ /** @description Initial headless chat message to send after remix */
10619
+ initial_message?: string;
9456
10620
  /** @description Custom name for the new project */
9457
10621
  project_name?: string;
10622
+ /** @description Suppress the default 'successfully remixed' synthetic chat message — set when the caller will drive the new project itself (e.g. eval/test harnesses) */
10623
+ skip_initial_remix_message?: boolean;
9458
10624
  /** @description Target workspace ID for the new project */
9459
10625
  workspace_id: string;
9460
10626
  };
@@ -9475,6 +10641,8 @@ interface components {
9475
10641
  * @example https://example.com/V1RemixProgressOutputBody.json
9476
10642
  */
9477
10643
  readonly $schema?: string;
10644
+ /** @description Error details when the remix job fails */
10645
+ error_message?: string;
9478
10646
  /** @description Remix result (present when completed) */
9479
10647
  result?: components["schemas"]["V1RemixProgressResult"];
9480
10648
  /** @description Job status: preparing, running, completed, or error */
@@ -9633,6 +10801,25 @@ interface components {
9633
10801
  /** @description Knowledge content (markdown). Max 10,000 characters. */
9634
10802
  content: string;
9635
10803
  };
10804
+ V1SetProjectSkillEnabledInputBody: {
10805
+ /**
10806
+ * Format: uri
10807
+ * @description A URL to the JSON Schema for this object.
10808
+ * @example https://example.com/V1SetProjectSkillEnabledInputBody.json
10809
+ */
10810
+ readonly $schema?: string;
10811
+ /** @description Whether this skill should be enabled for the project */
10812
+ enabled: boolean;
10813
+ };
10814
+ V1SetProjectSkillEnabledOutputBody: {
10815
+ /**
10816
+ * Format: uri
10817
+ * @description A URL to the JSON Schema for this object.
10818
+ * @example https://example.com/V1SetProjectSkillEnabledOutputBody.json
10819
+ */
10820
+ readonly $schema?: string;
10821
+ skill: components["schemas"]["V1ProjectSkillDTO"];
10822
+ };
9636
10823
  V1SetProjectVisibilityInputBody: {
9637
10824
  /**
9638
10825
  * Format: uri
@@ -9676,6 +10863,41 @@ interface components {
9676
10863
  /** @description File type (e.g. user_upload) */
9677
10864
  type?: string;
9678
10865
  };
10866
+ V1WorkspaceSkillDTO: {
10867
+ /** @description Short description from SKILL.md frontmatter */
10868
+ description: string;
10869
+ /** @description Files bundled with the skill, relative to the skill root */
10870
+ files: components["schemas"]["ProjectFileInfo"][] | null;
10871
+ /** @description Full SKILL.md contents (frontmatter + body), included when requested */
10872
+ markdown?: string;
10873
+ /** @description Optional metadata from SKILL.md frontmatter; values may be nested objects or scalars */
10874
+ metadata?: {
10875
+ [key: string]: unknown;
10876
+ };
10877
+ /** @description Skill name; matches the directory under skills/ in the workspace repo */
10878
+ name: string;
10879
+ };
10880
+ V1WriteWorkspaceSkillInputBody: {
10881
+ /**
10882
+ * Format: uri
10883
+ * @description A URL to the JSON Schema for this object.
10884
+ * @example https://example.com/V1WriteWorkspaceSkillInputBody.json
10885
+ */
10886
+ readonly $schema?: string;
10887
+ /** @description Full SKILL.md contents (frontmatter + body) */
10888
+ markdown: string;
10889
+ };
10890
+ V1WriteWorkspaceSkillOutputBody: {
10891
+ /**
10892
+ * Format: uri
10893
+ * @description A URL to the JSON Schema for this object.
10894
+ * @example https://example.com/V1WriteWorkspaceSkillOutputBody.json
10895
+ */
10896
+ readonly $schema?: string;
10897
+ /** @description Workspace repo commit SHA produced by this write */
10898
+ commit_sha: string;
10899
+ skill: components["schemas"]["V1WorkspaceSkillDTO"];
10900
+ };
9679
10901
  ValidateReferralCodeInputBody: {
9680
10902
  /**
9681
10903
  * Format: uri
@@ -9754,12 +10976,16 @@ interface components {
9754
10976
  * @description When the variant was created
9755
10977
  */
9756
10978
  created_at: string;
10979
+ /** @description Most recent refresh failure detail, e.g. 'agent-wait: agent did not finalize within 5m0s'. Cleared on the next start. */
10980
+ failure_reason?: string;
9757
10981
  /** @description The variant's display name */
9758
10982
  label: string;
9759
10983
  /** @description The variant branch's HEAD */
9760
10984
  latest_commit_sha?: string;
9761
10985
  /** @description Most recent commit on the variant's branch that completed a preview build */
9762
10986
  latest_preview_build_sha?: string;
10987
+ /** @description in_progress | failed; empty when settled */
10988
+ refresh_status?: string;
9763
10989
  /** @description creating | ready | merging | merged | rejected */
9764
10990
  status: string;
9765
10991
  /** @description The trajectory thread driving the variant's work */
@@ -9837,6 +11063,8 @@ interface components {
9837
11063
  * @example https://example.com/Workspace.json
9838
11064
  */
9839
11065
  readonly $schema?: string;
11066
+ /** Format: int64 */
11067
+ abandoned_projects_threshold_days?: number;
9840
11068
  aikido_pentest_enabled?: boolean;
9841
11069
  always_redact_pii?: boolean;
9842
11070
  announcement_banner?: components["schemas"]["WorkspaceAnnouncementBanner"];
@@ -9862,6 +11090,12 @@ interface components {
9862
11090
  credits_granted: number;
9863
11091
  /** Format: double */
9864
11092
  credits_used: number;
11093
+ custom_branded_domain?: string;
11094
+ custom_branded_domain_dcv_txt_name?: string;
11095
+ custom_branded_domain_dcv_txt_value?: string;
11096
+ custom_branded_domain_failure_reason?: string;
11097
+ custom_branded_domain_status?: string;
11098
+ custom_branded_hostname_id?: string;
9865
11099
  /** Format: double */
9866
11100
  daily_credits_limit: number;
9867
11101
  /** Format: double */
@@ -9879,6 +11113,8 @@ interface components {
9879
11113
  default_template_id?: string;
9880
11114
  /** Format: date-time */
9881
11115
  deleted_at?: string;
11116
+ deleted_by?: string;
11117
+ deletion_event_id?: string;
9882
11118
  description?: string;
9883
11119
  disable_figma_import?: boolean;
9884
11120
  disable_named_previews?: boolean;
@@ -9897,6 +11133,10 @@ interface components {
9897
11133
  external_publish_permission_level?: string;
9898
11134
  /** Format: int64 */
9899
11135
  followers_count: number;
11136
+ /** Format: date-time */
11137
+ hard_delete_in_progress_at?: string;
11138
+ /** Format: date-time */
11139
+ hard_deleted_at?: string;
9900
11140
  id: string;
9901
11141
  image_url?: string;
9902
11142
  invite_links_disabled?: boolean;
@@ -9961,6 +11201,8 @@ interface components {
9961
11201
  rollover_credits_used: number;
9962
11202
  sandbox_provider_url?: string;
9963
11203
  seamless_connector_settings?: components["schemas"]["SeamlessConnectorSetting"][] | null;
11204
+ /** @enum {string} */
11205
+ security_auto_fix_mode?: "off" | "published_projects" | "all_projects";
9964
11206
  share_sample_data_with_llms?: boolean;
9965
11207
  short_referral_code?: string;
9966
11208
  sso_provider_id?: string;
@@ -10061,6 +11303,8 @@ interface components {
10061
11303
  * @description URL to redirect to on successful payment
10062
11304
  */
10063
11305
  success_url: string;
11306
+ /** @description Ad platform and affiliate tracking data */
11307
+ tracking_data?: components["schemas"]["TrackingData"];
10064
11308
  };
10065
11309
  WorkspaceBuildCreditTopUpOutputBody: {
10066
11310
  /**
@@ -10072,6 +11316,25 @@ interface components {
10072
11316
  /** @description Stripe checkout URL to complete payment */
10073
11317
  checkout_url: string;
10074
11318
  };
11319
+ WorkspaceDataPrivacyResponse: {
11320
+ /**
11321
+ * Format: uri
11322
+ * @description A URL to the JSON Schema for this object.
11323
+ * @example https://example.com/WorkspaceDataPrivacyResponse.json
11324
+ */
11325
+ readonly $schema?: string;
11326
+ projects: components["schemas"]["ProjectDataPrivacySummary"][];
11327
+ summary: components["schemas"]["WorkspaceDataPrivacySummary"];
11328
+ workspace_id: string;
11329
+ };
11330
+ WorkspaceDataPrivacySummary: {
11331
+ /** Format: int64 */
11332
+ total_projects: number;
11333
+ /** Format: int64 */
11334
+ with_connectors: number;
11335
+ /** Format: int64 */
11336
+ with_pii: number;
11337
+ };
10075
11338
  WorkspaceExperimentalFeatures: {
10076
11339
  cloud_ai_in_ledger?: boolean;
10077
11340
  custom_enterprise_git_sync?: boolean;
@@ -10174,6 +11437,101 @@ interface components {
10174
11437
  masked_key?: string;
10175
11438
  send_welcome_email: boolean;
10176
11439
  };
11440
+ WorkspaceScanScheduleBody: {
11441
+ /**
11442
+ * Format: uri
11443
+ * @description A URL to the JSON Schema for this object.
11444
+ * @example https://example.com/WorkspaceScanScheduleBody.json
11445
+ */
11446
+ readonly $schema?: string;
11447
+ /** Format: date-time */
11448
+ readonly created_at: string;
11449
+ /** @description 5-field cron, e.g. '0 8 * * 1' for Mondays 08:00. Most workspaces should use a weekly cron. */
11450
+ cron_expression: string;
11451
+ /** @description When false, the Temporal Schedule is paused and no fires happen until re-enabled. */
11452
+ enabled: boolean;
11453
+ readonly last_error?: string;
11454
+ /** Format: date-time */
11455
+ readonly last_run_at?: string;
11456
+ readonly last_status?: string;
11457
+ /** Format: date-time */
11458
+ readonly last_success_at?: string;
11459
+ /** @description Email recipients for scan summaries. Notifications ship in a follow-up; field is accepted now for forward compatibility. */
11460
+ notify_emails?: string[] | null;
11461
+ /**
11462
+ * @description Minimum severity to notify on. Defaults to 'high'.
11463
+ * @enum {string}
11464
+ */
11465
+ notify_min_severity?: "low" | "medium" | "high" | "critical";
11466
+ /**
11467
+ * @description Which projects to scan. Defaults to published projects.
11468
+ * @enum {string}
11469
+ */
11470
+ project_selector?: "published_projects" | "all_projects";
11471
+ /** @description Override scanner set. Empty/null uses the default scheduled-scan set. */
11472
+ scanner_configs?: components["schemas"]["ScannerConfig"][] | null;
11473
+ /** @description IANA timezone (e.g. 'Europe/Stockholm'). Defaults to UTC. */
11474
+ timezone?: string;
11475
+ /** Format: date-time */
11476
+ readonly updated_at: string;
11477
+ };
11478
+ WorkspaceSecuritySummary: {
11479
+ /** Format: int64 */
11480
+ projects_scanned: number;
11481
+ /** Format: int64 */
11482
+ projects_with_errors: number;
11483
+ /** Format: int64 */
11484
+ projects_with_warnings: number;
11485
+ /** Format: int64 */
11486
+ total_errors: number;
11487
+ /** Format: int64 */
11488
+ total_info: number;
11489
+ /** Format: int64 */
11490
+ total_projects: number;
11491
+ /** Format: int64 */
11492
+ total_warnings: number;
11493
+ };
11494
+ WorkspaceSecuritySummaryResponse: {
11495
+ /**
11496
+ * Format: uri
11497
+ * @description A URL to the JSON Schema for this object.
11498
+ * @example https://example.com/WorkspaceSecuritySummaryResponse.json
11499
+ */
11500
+ readonly $schema?: string;
11501
+ projects: components["schemas"]["ProjectSecuritySummary"][];
11502
+ summary: components["schemas"]["WorkspaceSecuritySummary"];
11503
+ workspace_id: string;
11504
+ };
11505
+ WorkspaceSupplyChainResponse: {
11506
+ /**
11507
+ * Format: uri
11508
+ * @description A URL to the JSON Schema for this object.
11509
+ * @example https://example.com/WorkspaceSupplyChainResponse.json
11510
+ */
11511
+ readonly $schema?: string;
11512
+ projects: components["schemas"]["ProjectSupplyChainSummary"][];
11513
+ summary: components["schemas"]["WorkspaceSupplyChainSummary"];
11514
+ vulnerabilities: components["schemas"]["SupplyChainVulnerability"][];
11515
+ workspace_id: string;
11516
+ };
11517
+ WorkspaceSupplyChainSummary: {
11518
+ /** Format: int64 */
11519
+ critical_count: number;
11520
+ /** Format: int64 */
11521
+ high_count: number;
11522
+ /** Format: int64 */
11523
+ low_count: number;
11524
+ /** Format: int64 */
11525
+ medium_count: number;
11526
+ /** Format: int64 */
11527
+ projects_with_vulnerabilities: number;
11528
+ /** Format: int64 */
11529
+ total_projects: number;
11530
+ /** Format: int64 */
11531
+ total_scans: number;
11532
+ /** Format: int64 */
11533
+ total_vulnerabilities: number;
11534
+ };
10177
11535
  WorkspaceUsage: {
10178
11536
  /**
10179
11537
  * Format: uri
@@ -10185,6 +11543,8 @@ interface components {
10185
11543
  user_usages: components["schemas"]["UserUsage"][] | null;
10186
11544
  };
10187
11545
  WorkspaceWithMembership: {
11546
+ /** Format: int64 */
11547
+ abandoned_projects_threshold_days?: number;
10188
11548
  aikido_pentest_enabled?: boolean;
10189
11549
  always_redact_pii?: boolean;
10190
11550
  announcement_banner?: components["schemas"]["WorkspaceAnnouncementBanner"];
@@ -10210,6 +11570,12 @@ interface components {
10210
11570
  credits_granted: number;
10211
11571
  /** Format: double */
10212
11572
  credits_used: number;
11573
+ custom_branded_domain?: string;
11574
+ custom_branded_domain_dcv_txt_name?: string;
11575
+ custom_branded_domain_dcv_txt_value?: string;
11576
+ custom_branded_domain_failure_reason?: string;
11577
+ custom_branded_domain_status?: string;
11578
+ custom_branded_hostname_id?: string;
10213
11579
  /** Format: double */
10214
11580
  daily_credits_limit: number;
10215
11581
  /** Format: double */
@@ -10227,6 +11593,8 @@ interface components {
10227
11593
  default_template_id?: string;
10228
11594
  /** Format: date-time */
10229
11595
  deleted_at?: string;
11596
+ deleted_by?: string;
11597
+ deletion_event_id?: string;
10230
11598
  description?: string;
10231
11599
  disable_figma_import?: boolean;
10232
11600
  disable_named_previews?: boolean;
@@ -10245,6 +11613,10 @@ interface components {
10245
11613
  external_publish_permission_level?: string;
10246
11614
  /** Format: int64 */
10247
11615
  followers_count: number;
11616
+ /** Format: date-time */
11617
+ hard_delete_in_progress_at?: string;
11618
+ /** Format: date-time */
11619
+ hard_deleted_at?: string;
10248
11620
  id: string;
10249
11621
  image_url?: string;
10250
11622
  invite_links_disabled?: boolean;
@@ -10310,6 +11682,8 @@ interface components {
10310
11682
  rollover_credits_used: number;
10311
11683
  sandbox_provider_url?: string;
10312
11684
  seamless_connector_settings?: components["schemas"]["SeamlessConnectorSetting"][] | null;
11685
+ /** @enum {string} */
11686
+ security_auto_fix_mode?: "off" | "published_projects" | "all_projects";
10313
11687
  share_sample_data_with_llms?: boolean;
10314
11688
  short_referral_code?: string;
10315
11689
  sso_provider_id?: string;
@@ -11026,7 +12400,7 @@ interface operations {
11026
12400
  };
11027
12401
  };
11028
12402
  };
11029
- "get-v1-projects-project_id-database": {
12403
+ "get-v1-projects-project_id-collaborators": {
11030
12404
  parameters: {
11031
12405
  query?: never;
11032
12406
  header?: never;
@@ -11044,7 +12418,7 @@ interface operations {
11044
12418
  [name: string]: unknown;
11045
12419
  };
11046
12420
  content: {
11047
- "application/json": components["schemas"]["V1GetDatabaseStatusOutputBody"];
12421
+ "application/json": components["schemas"]["V1ListProjectCollaboratorsOutputBody"];
11048
12422
  };
11049
12423
  };
11050
12424
  /** @description Error */
@@ -11058,7 +12432,7 @@ interface operations {
11058
12432
  };
11059
12433
  };
11060
12434
  };
11061
- "post-v1-projects-project_id-database-enable": {
12435
+ "get-v1-projects-project_id-database": {
11062
12436
  parameters: {
11063
12437
  query?: never;
11064
12438
  header?: never;
@@ -11076,7 +12450,7 @@ interface operations {
11076
12450
  [name: string]: unknown;
11077
12451
  };
11078
12452
  content: {
11079
- "application/json": components["schemas"]["V1EnableDatabaseOutputBody"];
12453
+ "application/json": components["schemas"]["V1GetDatabaseStatusOutputBody"];
11080
12454
  };
11081
12455
  };
11082
12456
  /** @description Error */
@@ -11090,7 +12464,39 @@ interface operations {
11090
12464
  };
11091
12465
  };
11092
12466
  };
11093
- "post-v1-projects-project_id-database-query": {
12467
+ "post-v1-projects-project_id-database-enable": {
12468
+ parameters: {
12469
+ query?: never;
12470
+ header?: never;
12471
+ path: {
12472
+ /** @description Project ID */
12473
+ project_id: string;
12474
+ };
12475
+ cookie?: never;
12476
+ };
12477
+ requestBody?: never;
12478
+ responses: {
12479
+ /** @description OK */
12480
+ 200: {
12481
+ headers: {
12482
+ [name: string]: unknown;
12483
+ };
12484
+ content: {
12485
+ "application/json": components["schemas"]["V1EnableDatabaseOutputBody"];
12486
+ };
12487
+ };
12488
+ /** @description Error */
12489
+ default: {
12490
+ headers: {
12491
+ [name: string]: unknown;
12492
+ };
12493
+ content: {
12494
+ "application/problem+json": components["schemas"]["ErrorModel"];
12495
+ };
12496
+ };
12497
+ };
12498
+ };
12499
+ "post-v1-projects-project_id-database-query": {
11094
12500
  parameters: {
11095
12501
  query?: never;
11096
12502
  header?: never;
@@ -11415,6 +12821,43 @@ interface operations {
11415
12821
  };
11416
12822
  };
11417
12823
  };
12824
+ "get-v1-projects-project_id-messages": {
12825
+ parameters: {
12826
+ query?: {
12827
+ /** @description Maximum number of messages to return */
12828
+ limit?: number;
12829
+ /** @description Cursor: message ID to fetch messages older than */
12830
+ before?: string;
12831
+ };
12832
+ header?: never;
12833
+ path: {
12834
+ /** @description Project ID */
12835
+ project_id: string;
12836
+ };
12837
+ cookie?: never;
12838
+ };
12839
+ requestBody?: never;
12840
+ responses: {
12841
+ /** @description OK */
12842
+ 200: {
12843
+ headers: {
12844
+ [name: string]: unknown;
12845
+ };
12846
+ content: {
12847
+ "application/json": components["schemas"]["V1ListMessagesOutputBody"];
12848
+ };
12849
+ };
12850
+ /** @description Error */
12851
+ default: {
12852
+ headers: {
12853
+ [name: string]: unknown;
12854
+ };
12855
+ content: {
12856
+ "application/problem+json": components["schemas"]["ErrorModel"];
12857
+ };
12858
+ };
12859
+ };
12860
+ };
11418
12861
  "post-v1-projects-project_id-messages": {
11419
12862
  parameters: {
11420
12863
  query?: never;
@@ -11485,6 +12928,43 @@ interface operations {
11485
12928
  };
11486
12929
  };
11487
12930
  };
12931
+ "get-v1-projects-project_id-pii-labels": {
12932
+ parameters: {
12933
+ query?: {
12934
+ /** @description Page size */
12935
+ limit?: number;
12936
+ /** @description Opaque cursor returned by a previous page; omit for the first page */
12937
+ cursor?: string;
12938
+ };
12939
+ header?: never;
12940
+ path: {
12941
+ /** @description Project ID */
12942
+ project_id: string;
12943
+ };
12944
+ cookie?: never;
12945
+ };
12946
+ requestBody?: never;
12947
+ responses: {
12948
+ /** @description OK */
12949
+ 200: {
12950
+ headers: {
12951
+ [name: string]: unknown;
12952
+ };
12953
+ content: {
12954
+ "application/json": components["schemas"]["V1ListPIILabelsOutputBody"];
12955
+ };
12956
+ };
12957
+ /** @description Error */
12958
+ default: {
12959
+ headers: {
12960
+ [name: string]: unknown;
12961
+ };
12962
+ content: {
12963
+ "application/problem+json": components["schemas"]["ErrorModel"];
12964
+ };
12965
+ };
12966
+ };
12967
+ };
11488
12968
  "post-v1-projects-project_id-remix-init": {
11489
12969
  parameters: {
11490
12970
  query?: never;
@@ -11627,6 +13107,76 @@ interface operations {
11627
13107
  };
11628
13108
  };
11629
13109
  };
13110
+ "get-v1-projects-project_id-skills": {
13111
+ parameters: {
13112
+ query?: never;
13113
+ header?: never;
13114
+ path: {
13115
+ /** @description Project ID */
13116
+ project_id: string;
13117
+ };
13118
+ cookie?: never;
13119
+ };
13120
+ requestBody?: never;
13121
+ responses: {
13122
+ /** @description OK */
13123
+ 200: {
13124
+ headers: {
13125
+ [name: string]: unknown;
13126
+ };
13127
+ content: {
13128
+ "application/json": components["schemas"]["V1ListProjectSkillsOutputBody"];
13129
+ };
13130
+ };
13131
+ /** @description Error */
13132
+ default: {
13133
+ headers: {
13134
+ [name: string]: unknown;
13135
+ };
13136
+ content: {
13137
+ "application/problem+json": components["schemas"]["ErrorModel"];
13138
+ };
13139
+ };
13140
+ };
13141
+ };
13142
+ "put-v1-projects-project_id-skills-skill_name-enabled": {
13143
+ parameters: {
13144
+ query?: never;
13145
+ header?: never;
13146
+ path: {
13147
+ /** @description Project ID */
13148
+ project_id: string;
13149
+ /** @description Skill name */
13150
+ skill_name: string;
13151
+ };
13152
+ cookie?: never;
13153
+ };
13154
+ requestBody: {
13155
+ content: {
13156
+ "application/json": components["schemas"]["V1SetProjectSkillEnabledInputBody"];
13157
+ };
13158
+ };
13159
+ responses: {
13160
+ /** @description OK */
13161
+ 200: {
13162
+ headers: {
13163
+ [name: string]: unknown;
13164
+ };
13165
+ content: {
13166
+ "application/json": components["schemas"]["V1SetProjectSkillEnabledOutputBody"];
13167
+ };
13168
+ };
13169
+ /** @description Error */
13170
+ default: {
13171
+ headers: {
13172
+ [name: string]: unknown;
13173
+ };
13174
+ content: {
13175
+ "application/problem+json": components["schemas"]["ErrorModel"];
13176
+ };
13177
+ };
13178
+ };
13179
+ };
11630
13180
  "put-v1-projects-project_id-visibility": {
11631
13181
  parameters: {
11632
13182
  query?: never;
@@ -12286,6 +13836,185 @@ interface operations {
12286
13836
  };
12287
13837
  };
12288
13838
  };
13839
+ "get-v1-workspaces-workspace_id-skills": {
13840
+ parameters: {
13841
+ query?: {
13842
+ /** @description Include full SKILL.md contents for each skill */
13843
+ include_markdown?: boolean;
13844
+ };
13845
+ header?: never;
13846
+ path: {
13847
+ /** @description Workspace ID */
13848
+ workspace_id: string;
13849
+ };
13850
+ cookie?: never;
13851
+ };
13852
+ requestBody?: never;
13853
+ responses: {
13854
+ /** @description OK */
13855
+ 200: {
13856
+ headers: {
13857
+ [name: string]: unknown;
13858
+ };
13859
+ content: {
13860
+ "application/json": components["schemas"]["V1ListWorkspaceSkillsOutputBody"];
13861
+ };
13862
+ };
13863
+ /** @description Error */
13864
+ default: {
13865
+ headers: {
13866
+ [name: string]: unknown;
13867
+ };
13868
+ content: {
13869
+ "application/problem+json": components["schemas"]["ErrorModel"];
13870
+ };
13871
+ };
13872
+ };
13873
+ };
13874
+ "get-v1-workspaces-workspace_id-skills-skill_name": {
13875
+ parameters: {
13876
+ query?: never;
13877
+ header?: never;
13878
+ path: {
13879
+ /** @description Workspace ID */
13880
+ workspace_id: string;
13881
+ /** @description Skill name */
13882
+ skill_name: string;
13883
+ };
13884
+ cookie?: never;
13885
+ };
13886
+ requestBody?: never;
13887
+ responses: {
13888
+ /** @description OK */
13889
+ 200: {
13890
+ headers: {
13891
+ [name: string]: unknown;
13892
+ };
13893
+ content: {
13894
+ "application/json": components["schemas"]["V1GetWorkspaceSkillOutputBody"];
13895
+ };
13896
+ };
13897
+ /** @description Error */
13898
+ default: {
13899
+ headers: {
13900
+ [name: string]: unknown;
13901
+ };
13902
+ content: {
13903
+ "application/problem+json": components["schemas"]["ErrorModel"];
13904
+ };
13905
+ };
13906
+ };
13907
+ };
13908
+ "put-v1-workspaces-workspace_id-skills-skill_name": {
13909
+ parameters: {
13910
+ query?: never;
13911
+ header?: never;
13912
+ path: {
13913
+ /** @description Workspace ID */
13914
+ workspace_id: string;
13915
+ /** @description Skill name; must match the frontmatter 'name' field */
13916
+ skill_name: string;
13917
+ };
13918
+ cookie?: never;
13919
+ };
13920
+ requestBody: {
13921
+ content: {
13922
+ "application/json": components["schemas"]["V1WriteWorkspaceSkillInputBody"];
13923
+ };
13924
+ };
13925
+ responses: {
13926
+ /** @description OK */
13927
+ 200: {
13928
+ headers: {
13929
+ [name: string]: unknown;
13930
+ };
13931
+ content: {
13932
+ "application/json": components["schemas"]["V1WriteWorkspaceSkillOutputBody"];
13933
+ };
13934
+ };
13935
+ /** @description Error */
13936
+ default: {
13937
+ headers: {
13938
+ [name: string]: unknown;
13939
+ };
13940
+ content: {
13941
+ "application/problem+json": components["schemas"]["ErrorModel"];
13942
+ };
13943
+ };
13944
+ };
13945
+ };
13946
+ "post-v1-workspaces-workspace_id-skills-skill_name": {
13947
+ parameters: {
13948
+ query?: never;
13949
+ header?: never;
13950
+ path: {
13951
+ /** @description Workspace ID */
13952
+ workspace_id: string;
13953
+ /** @description Skill name; must match the frontmatter 'name' field */
13954
+ skill_name: string;
13955
+ };
13956
+ cookie?: never;
13957
+ };
13958
+ requestBody: {
13959
+ content: {
13960
+ "application/json": components["schemas"]["V1WriteWorkspaceSkillInputBody"];
13961
+ };
13962
+ };
13963
+ responses: {
13964
+ /** @description OK */
13965
+ 200: {
13966
+ headers: {
13967
+ [name: string]: unknown;
13968
+ };
13969
+ content: {
13970
+ "application/json": components["schemas"]["V1WriteWorkspaceSkillOutputBody"];
13971
+ };
13972
+ };
13973
+ /** @description Error */
13974
+ default: {
13975
+ headers: {
13976
+ [name: string]: unknown;
13977
+ };
13978
+ content: {
13979
+ "application/problem+json": components["schemas"]["ErrorModel"];
13980
+ };
13981
+ };
13982
+ };
13983
+ };
13984
+ "delete-v1-workspaces-workspace_id-skills-skill_name": {
13985
+ parameters: {
13986
+ query?: never;
13987
+ header?: never;
13988
+ path: {
13989
+ /** @description Workspace ID */
13990
+ workspace_id: string;
13991
+ /** @description Skill name */
13992
+ skill_name: string;
13993
+ };
13994
+ cookie?: never;
13995
+ };
13996
+ requestBody?: never;
13997
+ responses: {
13998
+ /** @description OK */
13999
+ 200: {
14000
+ headers: {
14001
+ [name: string]: unknown;
14002
+ };
14003
+ content: {
14004
+ "application/json": components["schemas"]["V1DeleteWorkspaceSkillOutputBody"];
14005
+ };
14006
+ };
14007
+ /** @description Error */
14008
+ default: {
14009
+ headers: {
14010
+ [name: string]: unknown;
14011
+ };
14012
+ content: {
14013
+ "application/problem+json": components["schemas"]["ErrorModel"];
14014
+ };
14015
+ };
14016
+ };
14017
+ };
12289
14018
  }
12290
14019
 
12291
14020
  type ProjectVisibility = "draft" | "private" | "public";
@@ -12390,6 +14119,12 @@ interface ProjectResponse {
12390
14119
  is_github?: boolean;
12391
14120
  is_supabase_enabled?: boolean;
12392
14121
  url?: string;
14122
+ /**
14123
+ * Preview URL with a short-lived signed token (`?__lovable_token=…`) that
14124
+ * authenticates an iframe load without an in-iframe Lovable login. Use this
14125
+ * to embed the running app inside a partner UI. Token TTL is 1 hour.
14126
+ */
14127
+ embed_url?: string;
12393
14128
  og_image_url?: string;
12394
14129
  latest_screenshot_url?: string;
12395
14130
  user_id?: string;
@@ -12754,6 +14489,45 @@ interface MessageCompletionOptions {
12754
14489
  interface KnowledgeResponse {
12755
14490
  content: string;
12756
14491
  }
14492
+ interface WorkspaceSkillFile {
14493
+ name: string;
14494
+ contents?: string;
14495
+ binary: boolean;
14496
+ sizeExceeded: boolean;
14497
+ sizeBytes: number;
14498
+ }
14499
+ interface WorkspaceSkill {
14500
+ name: string;
14501
+ description: string;
14502
+ metadata?: Record<string, unknown>;
14503
+ markdown?: string;
14504
+ files: WorkspaceSkillFile[];
14505
+ }
14506
+ interface ListWorkspaceSkillsResponse {
14507
+ skills: WorkspaceSkill[];
14508
+ }
14509
+ interface WorkspaceSkillResponse {
14510
+ skill: WorkspaceSkill;
14511
+ }
14512
+ interface WorkspaceSkillWriteResponse {
14513
+ skill: WorkspaceSkill;
14514
+ commit_sha: string;
14515
+ }
14516
+ interface WorkspaceSkillDeleteResponse {
14517
+ commit_sha: string;
14518
+ }
14519
+ interface ProjectSkill {
14520
+ name: string;
14521
+ description: string;
14522
+ metadata?: Record<string, unknown>;
14523
+ enabled: boolean;
14524
+ }
14525
+ interface ListProjectSkillsResponse {
14526
+ skills: ProjectSkill[];
14527
+ }
14528
+ interface ProjectSkillResponse {
14529
+ skill: Pick<ProjectSkill, "name" | "enabled">;
14530
+ }
12757
14531
  interface FileUploadUrlResponse {
12758
14532
  url: string;
12759
14533
  file_id: string;
@@ -13084,6 +14858,22 @@ declare class LovableClient {
13084
14858
  getWorkspaceKnowledge(workspaceId: string): Promise<KnowledgeResponse>;
13085
14859
  /** Set workspace knowledge. Max 10,000 characters. */
13086
14860
  setWorkspaceKnowledge(workspaceId: string, content: string): Promise<KnowledgeResponse>;
14861
+ /** List workspace skills. */
14862
+ listWorkspaceSkills(workspaceId: string, options?: {
14863
+ includeMarkdown?: boolean;
14864
+ }): Promise<ListWorkspaceSkillsResponse>;
14865
+ /** Get a single workspace skill, including SKILL.md contents. */
14866
+ getWorkspaceSkill(workspaceId: string, skillName: string): Promise<WorkspaceSkillResponse>;
14867
+ /** Create a workspace skill from full SKILL.md markdown. */
14868
+ createWorkspaceSkill(workspaceId: string, skillName: string, markdown: string): Promise<WorkspaceSkillWriteResponse>;
14869
+ /** Update a workspace skill by replacing its SKILL.md markdown. */
14870
+ updateWorkspaceSkill(workspaceId: string, skillName: string, markdown: string): Promise<WorkspaceSkillWriteResponse>;
14871
+ /** Delete a workspace skill. */
14872
+ deleteWorkspaceSkill(workspaceId: string, skillName: string): Promise<WorkspaceSkillDeleteResponse>;
14873
+ /** List project skills, including whether each skill is enabled. */
14874
+ listProjectSkills(projectId: string): Promise<ListProjectSkillsResponse>;
14875
+ /** Enable or disable a project skill without removing it from the project repo. */
14876
+ setProjectSkillEnabled(projectId: string, skillName: string, enabled: boolean): Promise<ProjectSkillResponse>;
13087
14877
  /** Get project knowledge (custom instructions for the AI agent). */
13088
14878
  getProjectKnowledge(projectId: string): Promise<KnowledgeResponse>;
13089
14879
  /** Set project knowledge. Max 10,000 characters. */
@@ -13304,4 +15094,4 @@ declare class LovableClient {
13304
15094
  waitForProjectPublished(projectId: string, options?: WaitOptions): Promise<ProjectResponse>;
13305
15095
  }
13306
15096
 
13307
- export { type AddConnectorBody, type AddUserToWorkspaceInputBody, ApiError, type AvailableConnectorEntry, type BatchItemOutcome, type BatchReplayReviewsOutcome, type BatchTracesResult, type ChatMessageOptions, type ChatRequest, type ChatResponse, type ChatResponseOptions, type ConnectionItem, type ConnectorResponse, type ContinuationOverride, type CreateProjectBody, type CreateProjectOptions, type CustomModelConfig, type DatabaseQueryResult, type DatabaseStatus, type DeploymentResponse, type DiffEntry, type DiffHunk, type DiffLine, type EditSummary, type EditsResponse, type EnableDatabaseResult, type FileInput, type FileUploadUrlResponse, type GetMessageResponse, type GetMessageTracesOptions, type GitDiffResponse, type GitFileEntry, type GitFilesResponse, type InviteCollaboratorOptions, type KnowledgeResponse, type LibraryProjectResponse, type ListData, type ListDataPoint, type ListMessagesResponse, type ListProjectItem, type ListProjectsOptions, type ListProjectsResponse, LovableClient, type LovableClientOptions, type LovableError, type MCPConnectorItem, type MeResponse, type MeWorkspace, type MemberRole, type MessageCompletionOptions, type MessageCompletionResult, type MessageSummary, type MessageTracesResponse, type ProjectAnalyticsResponse, type ProjectAnalyticsTrendResponse, type ProjectResponse, type ProjectStatus, type ProjectVisibility, type RemixJobStatus, type RemixJobStep, type RemixJobStepInfo, type RemixMode, type RemixProjectOptions, type RemixResult, type RemixWaitOptions, type ReplayOutcome, type ReplayReviewsItemInput, type ReplayReviewsRequestBody, type ReplayReviewsResponse, type ReviewerRunResult, type SeamlessConnectorItem, type SendMessageResponse, type StandardConnectorItem, type TemplateProjectResponse, type TimeSeriesData, type TimeSeriesDataPoint, type TracePurpose, type TraceQuery, type TraceSpan, type TrendDataPoint, type UnscopedFile, type WaitOptions, type WorkspaceMembership, type WorkspaceMembershipResponse, type WorkspaceWithMembership };
15097
+ export { type AddConnectorBody, type AddUserToWorkspaceInputBody, ApiError, type AvailableConnectorEntry, type BatchItemOutcome, type BatchReplayReviewsOutcome, type BatchTracesResult, type ChatMessageOptions, type ChatRequest, type ChatResponse, type ChatResponseOptions, type ConnectionItem, type ConnectorResponse, type ContinuationOverride, type CreateProjectBody, type CreateProjectOptions, type DatabaseQueryResult, type DatabaseStatus, type DeploymentResponse, type DiffEntry, type DiffHunk, type DiffLine, type EditSummary, type EditsResponse, type EnableDatabaseResult, type FileInput, type FileUploadUrlResponse, type GetMessageResponse, type GetMessageTracesOptions, type GitDiffResponse, type GitFileEntry, type GitFilesResponse, type InviteCollaboratorOptions, type KnowledgeResponse, type LibraryProjectResponse, type ListData, type ListDataPoint, type ListMessagesResponse, type ListProjectItem, type ListProjectsOptions, type ListProjectsResponse, LovableClient, type LovableClientOptions, type LovableError, type MCPConnectorItem, type MeResponse, type MeWorkspace, type MemberRole, type MessageCompletionOptions, type MessageCompletionResult, type MessageSummary, type MessageTracesResponse, type ProjectAnalyticsResponse, type ProjectAnalyticsTrendResponse, type ProjectResponse, type ProjectStatus, type ProjectVisibility, type RemixJobStatus, type RemixJobStep, type RemixJobStepInfo, type RemixMode, type RemixProjectOptions, type RemixResult, type RemixWaitOptions, type ReplayOutcome, type ReplayReviewsItemInput, type ReplayReviewsRequestBody, type ReplayReviewsResponse, type ReviewerRunResult, type SeamlessConnectorItem, type SendMessageResponse, type StandardConnectorItem, type TemplateProjectResponse, type TimeSeriesData, type TimeSeriesDataPoint, type TracePurpose, type TraceQuery, type TraceSpan, type TrendDataPoint, type UnscopedFile, type WaitOptions, type WorkspaceMembership, type WorkspaceMembershipResponse, type WorkspaceWithMembership };