sim 2.2.25-preview.289.1 → 2.2.25-preview.291.1

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/runtime.js CHANGED
@@ -10126,10 +10126,16 @@ var V2_OPERATIONS = {
10126
10126
  responseMode: "json",
10127
10127
  summary: "Compare workflow versions",
10128
10128
  query: {
10129
- base: { kind: "integer", required: true, describe: "Deployment version to compare from." },
10129
+ base: {
10130
+ kind: "integer",
10131
+ required: true,
10132
+ maximum: 2147483647,
10133
+ describe: "Deployment version to compare from."
10134
+ },
10130
10135
  target: {
10131
10136
  kind: "integer",
10132
10137
  required: true,
10138
+ maximum: 2147483647,
10133
10139
  describe: "Deployment version to compare to, in the same workflow."
10134
10140
  }
10135
10141
  }
@@ -10392,7 +10398,12 @@ var V2_OPERATIONS = {
10392
10398
  },
10393
10399
  name: { kind: "string", required: true, describe: "File name, including its extension." },
10394
10400
  contentType: { kind: "string", required: true, describe: "MIME type of the uploaded file." },
10395
- size: { kind: "integer", required: true, describe: "Exact file size in bytes." },
10401
+ size: {
10402
+ kind: "integer",
10403
+ required: true,
10404
+ maximum: 5368709120,
10405
+ describe: "Exact file size in bytes."
10406
+ },
10396
10407
  folderPath: {
10397
10408
  kind: "string",
10398
10409
  describe: "Canonical destination folder path. Omit for the workspace root."
@@ -10512,6 +10523,7 @@ var V2_OPERATIONS = {
10512
10523
  syncIntervalMinutes: {
10513
10524
  kind: "integer",
10514
10525
  default: 1440,
10526
+ maximum: 525600,
10515
10527
  describe: "Scheduled synchronization interval in minutes; zero disables scheduling."
10516
10528
  }
10517
10529
  }
@@ -10539,7 +10551,12 @@ var V2_OPERATIONS = {
10539
10551
  required: true,
10540
10552
  describe: "Supported MIME type for the document."
10541
10553
  },
10542
- size: { kind: "integer", required: true, describe: "Exact file size in bytes." },
10554
+ size: {
10555
+ kind: "integer",
10556
+ required: true,
10557
+ maximum: 104857600,
10558
+ describe: "Exact file size in bytes."
10559
+ },
10543
10560
  tag1: { kind: "string", describe: "Value for tag slot 1." },
10544
10561
  tag2: { kind: "string", describe: "Value for tag slot 2." },
10545
10562
  tag3: { kind: "string", describe: "Value for tag slot 3." },
@@ -10732,11 +10749,13 @@ var V2_OPERATIONS = {
10732
10749
  timeout: {
10733
10750
  kind: "integer",
10734
10751
  default: 30000,
10752
+ maximum: 300000,
10735
10753
  describe: "Per-request timeout in milliseconds. Defaults to 30000 on creation."
10736
10754
  },
10737
10755
  retries: {
10738
10756
  kind: "integer",
10739
10757
  default: 3,
10758
+ maximum: 10,
10740
10759
  describe: "Number of retries per request. Defaults to 3 on creation."
10741
10760
  },
10742
10761
  enabled: {
@@ -10880,7 +10899,12 @@ var V2_OPERATIONS = {
10880
10899
  body: {
10881
10900
  name: { kind: "string", required: true, describe: "File name, including its extension." },
10882
10901
  contentType: { kind: "string", required: true, describe: "MIME type of the uploaded file." },
10883
- size: { kind: "integer", required: true, describe: "Exact file size in bytes." },
10902
+ size: {
10903
+ kind: "integer",
10904
+ required: true,
10905
+ maximum: 5368709120,
10906
+ describe: "Exact file size in bytes."
10907
+ },
10884
10908
  folderPath: {
10885
10909
  kind: "string",
10886
10910
  describe: "Canonical destination folder path. Specify either folderId or folderPath, not both."
@@ -11669,7 +11693,7 @@ var V2_OPERATIONS = {
11669
11693
  kind: "unknown",
11670
11694
  describe: "One condition or a recursive `all`/`any` group, normalized to a grouped predicate. Limits: 100 members per group, 10 levels, and 500 nodes. The negating operators include nulls and absent cells, multi-select included; combine with `isNotNull` or `isNotEmpty` to exclude them. Pattern operators use `*` as the only wildcard; `%`, `_`, and backslash are literal. Select operators: single-select uses `eq`/`ne`/`in`/`nin`; multi-select uses `contains`/`ncontains`; option names resolve to IDs. Full operand rules are documented on `op`."
11671
11695
  },
11672
- limit: { kind: "integer", describe: "Maximum matching rows to delete." },
11696
+ limit: { kind: "integer", maximum: 1000, describe: "Maximum matching rows to delete." },
11673
11697
  rowIds: { kind: "array", describe: "Explicit row identifiers to delete." }
11674
11698
  }
11675
11699
  },
@@ -11844,6 +11868,7 @@ var V2_OPERATIONS = {
11844
11868
  limit: {
11845
11869
  kind: "integer",
11846
11870
  default: 50,
11871
+ maximum: 100,
11847
11872
  describe: "Maximum access items to return per page. Must be a whole number from 1 to 100. Defaults to 50."
11848
11873
  },
11849
11874
  cursor: {
@@ -11900,6 +11925,7 @@ var V2_OPERATIONS = {
11900
11925
  limit: {
11901
11926
  kind: "integer",
11902
11927
  default: 50,
11928
+ maximum: 100,
11903
11929
  describe: "Maximum access items to return per page. Must be a whole number from 1 to 100. Defaults to 50."
11904
11930
  },
11905
11931
  cursor: {
@@ -12028,6 +12054,7 @@ var V2_OPERATIONS = {
12028
12054
  },
12029
12055
  timeoutSeconds: {
12030
12056
  kind: "integer",
12057
+ maximum: 300,
12031
12058
  describe: "Maximum wait time in seconds; defaults to 120 and cannot exceed 300. Timeout does not guarantee that a third-party side effect was cancelled."
12032
12059
  }
12033
12060
  }
@@ -12055,10 +12082,12 @@ var V2_OPERATIONS = {
12055
12082
  },
12056
12083
  executionTimeoutSeconds: {
12057
12084
  kind: "integer",
12085
+ maximum: 604800,
12058
12086
  describe: "Maximum duration of an asynchronous run, in seconds, capped by the plan's execution timeout. Requires `async: true` or `waitTimeoutSeconds`; otherwise returns `400`."
12059
12087
  },
12060
12088
  waitTimeoutSeconds: {
12061
12089
  kind: "integer",
12090
+ maximum: 604800,
12062
12091
  describe: "Wait at most this many seconds for a synchronous run; `0` waits until it settles. A run still going then continues in the background and the response carries its run receipt instead of its result: `202` on a JSON response, or a closing `detached` frame on an `application/x-ndjson` result stream, which keeps its `200`. The receipt is sent only once the run can be read on the runs resource, where it can also be cancelled. The run is admitted under asynchronous limits, and a dropped connection no longer cancels it. Requires a full-access API key or an OAuth access token with `api:write`. Cannot be combined with `async` or `stream`."
12063
12092
  },
12064
12093
  stream: {
@@ -12086,6 +12115,7 @@ var V2_OPERATIONS = {
12086
12115
  },
12087
12116
  base64MaxBytes: {
12088
12117
  kind: "integer",
12118
+ maximum: 16777216,
12089
12119
  describe: "Maximum total bytes of file content to inline as base64, lowering but never raising the server limit of 16 MiB. Rejected when `async` is true."
12090
12120
  }
12091
12121
  },
@@ -12452,6 +12482,7 @@ var V2_OPERATIONS = {
12452
12482
  segmentCount: {
12453
12483
  kind: "integer",
12454
12484
  default: 72,
12485
+ maximum: 500,
12455
12486
  describe: "Number of equal time buckets to divide the window into, from 1 to 500. It is the ceiling on how many buckets a series carries: with `includeEmpty=true` exactly this many are returned, otherwise only the buckets holding at least one run. Buckets are never narrower than one minute, so on a short window the series extends past the end of the window rather than being compressed, and the trailing buckets are empty."
12456
12487
  },
12457
12488
  includeEmpty: {
@@ -12602,6 +12633,7 @@ var V2_OPERATIONS = {
12602
12633
  limit: {
12603
12634
  kind: "integer",
12604
12635
  default: 50,
12636
+ maximum: 100,
12605
12637
  describe: "Maximum ranked groups to return. Remaining usage is summarized in other. Must be a whole number from 1 to 100. Defaults to 50."
12606
12638
  }
12607
12639
  }
@@ -12896,6 +12928,10 @@ var V2_OPERATIONS = {
12896
12928
  "planetscale.branches",
12897
12929
  "planetscale.backups",
12898
12930
  "planetscale.deployRequests",
12931
+ "planetscale.savedDatabases",
12932
+ "planetscale.savedBranches",
12933
+ "planetscale.savedBackups",
12934
+ "planetscale.savedDeployRequests",
12899
12935
  "cloudwatch.logGroups",
12900
12936
  "cloudwatch.logStreams",
12901
12937
  "cloudwatch.savedLogGroups",
@@ -13143,6 +13179,7 @@ var V2_OPERATIONS = {
13143
13179
  },
13144
13180
  base64MaxBytes: {
13145
13181
  kind: "integer",
13182
+ maximum: 16777216,
13146
13183
  describe: "Per-file inline ceiling, lowering but never raising the server limit of 16 MiB."
13147
13184
  }
13148
13185
  }
@@ -13215,6 +13252,7 @@ var V2_OPERATIONS = {
13215
13252
  limit: {
13216
13253
  kind: "integer",
13217
13254
  default: 50,
13255
+ maximum: 100,
13218
13256
  describe: "Maximum items to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13219
13257
  },
13220
13258
  cursor: {
@@ -13349,6 +13387,7 @@ var V2_OPERATIONS = {
13349
13387
  limit: {
13350
13388
  kind: "integer",
13351
13389
  default: 50,
13390
+ maximum: 100,
13352
13391
  describe: "Maximum audit entries to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13353
13392
  },
13354
13393
  cursor: {
@@ -13406,6 +13445,7 @@ var V2_OPERATIONS = {
13406
13445
  limit: {
13407
13446
  kind: "integer",
13408
13447
  default: 50,
13448
+ maximum: 100,
13409
13449
  describe: "Maximum usage events per page. Must be a whole number from 1 to 100. Defaults to 50."
13410
13450
  },
13411
13451
  cursor: {
@@ -13464,6 +13504,7 @@ var V2_OPERATIONS = {
13464
13504
  limit: {
13465
13505
  kind: "integer",
13466
13506
  default: 50,
13507
+ maximum: 100,
13467
13508
  describe: "Maximum blocks to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13468
13509
  },
13469
13510
  cursor: {
@@ -13501,6 +13542,7 @@ var V2_OPERATIONS = {
13501
13542
  limit: {
13502
13543
  kind: "integer",
13503
13544
  default: 50,
13545
+ maximum: 100,
13504
13546
  describe: "Maximum chat deployments to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13505
13547
  },
13506
13548
  cursor: {
@@ -13534,6 +13576,7 @@ var V2_OPERATIONS = {
13534
13576
  limit: {
13535
13577
  kind: "integer",
13536
13578
  default: 25,
13579
+ maximum: 100,
13537
13580
  describe: "Maximum connector types to return per page. Must be a whole number from 1 to 100. Defaults to 25."
13538
13581
  },
13539
13582
  cursor: {
@@ -13559,6 +13602,7 @@ var V2_OPERATIONS = {
13559
13602
  limit: {
13560
13603
  kind: "integer",
13561
13604
  default: 50,
13605
+ maximum: 100,
13562
13606
  describe: "Maximum credential members to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13563
13607
  },
13564
13608
  cursor: {
@@ -13637,6 +13681,7 @@ var V2_OPERATIONS = {
13637
13681
  limit: {
13638
13682
  kind: "integer",
13639
13683
  default: 50,
13684
+ maximum: 100,
13640
13685
  describe: "Maximum credentials to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13641
13686
  },
13642
13687
  cursor: {
@@ -13676,6 +13721,7 @@ var V2_OPERATIONS = {
13676
13721
  limit: {
13677
13722
  kind: "integer",
13678
13723
  default: 50,
13724
+ maximum: 100,
13679
13725
  describe: "Maximum custom tools to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13680
13726
  },
13681
13727
  cursor: {
@@ -13742,6 +13788,7 @@ var V2_OPERATIONS = {
13742
13788
  },
13743
13789
  depth: {
13744
13790
  kind: "integer",
13791
+ maximum: 64,
13745
13792
  describe: "Deepest level below parentPath to include when recursive is true."
13746
13793
  }
13747
13794
  }
@@ -13837,6 +13884,7 @@ var V2_OPERATIONS = {
13837
13884
  limit: {
13838
13885
  kind: "integer",
13839
13886
  default: 50,
13887
+ maximum: 100,
13840
13888
  describe: "Maximum versions to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13841
13889
  },
13842
13890
  cursor: {
@@ -13886,6 +13934,7 @@ var V2_OPERATIONS = {
13886
13934
  limit: {
13887
13935
  kind: "integer",
13888
13936
  default: 50,
13937
+ maximum: 100,
13889
13938
  describe: "Maximum knowledge bases to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13890
13939
  },
13891
13940
  cursor: {
@@ -13936,6 +13985,7 @@ var V2_OPERATIONS = {
13936
13985
  limit: {
13937
13986
  kind: "integer",
13938
13987
  default: 50,
13988
+ maximum: 100,
13939
13989
  describe: "Maximum chunks to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13940
13990
  },
13941
13991
  cursor: {
@@ -13968,6 +14018,7 @@ var V2_OPERATIONS = {
13968
14018
  limit: {
13969
14019
  kind: "integer",
13970
14020
  default: 50,
14021
+ maximum: 100,
13971
14022
  describe: "Maximum connector documents to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13972
14023
  },
13973
14024
  cursor: {
@@ -14005,6 +14056,7 @@ var V2_OPERATIONS = {
14005
14056
  limit: {
14006
14057
  kind: "integer",
14007
14058
  default: 50,
14059
+ maximum: 100,
14008
14060
  describe: "Maximum connectors to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14009
14061
  },
14010
14062
  cursor: {
@@ -14029,6 +14081,7 @@ var V2_OPERATIONS = {
14029
14081
  limit: {
14030
14082
  kind: "integer",
14031
14083
  default: 50,
14084
+ maximum: 100,
14032
14085
  describe: "Maximum documents to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14033
14086
  },
14034
14087
  search: {
@@ -14171,18 +14224,22 @@ var V2_OPERATIONS = {
14171
14224
  },
14172
14225
  minDurationMs: {
14173
14226
  kind: "integer",
14227
+ maximum: 2147483647,
14174
14228
  describe: "Minimum total execution duration in milliseconds. Whole milliseconds from 0 to 2147483647; the stored duration is a 32-bit integer, so a fractional or out-of-range bound is rejected."
14175
14229
  },
14176
14230
  maxDurationMs: {
14177
14231
  kind: "integer",
14232
+ maximum: 2147483647,
14178
14233
  describe: "Maximum total execution duration in milliseconds. Whole milliseconds from 0 to 2147483647; the stored duration is a 32-bit integer, so a fractional or out-of-range bound is rejected."
14179
14234
  },
14180
14235
  minCost: {
14181
14236
  kind: "number",
14237
+ maximum: 1e6,
14182
14238
  describe: "Minimum execution cost in USD, from 0 to 1000000. A run is never charged a negative amount, so a negative bound is rejected rather than treated as a filter that matches every run."
14183
14239
  },
14184
14240
  maxCost: {
14185
14241
  kind: "number",
14242
+ maximum: 1e6,
14186
14243
  describe: "Maximum execution cost in USD, from 0 to 1000000. A run is never charged a negative amount, so a negative bound is rejected rather than treated as a filter that matches every run."
14187
14244
  },
14188
14245
  model: { kind: "string", describe: "AI model used during execution." },
@@ -14275,6 +14332,7 @@ var V2_OPERATIONS = {
14275
14332
  limit: {
14276
14333
  kind: "integer",
14277
14334
  default: 50,
14335
+ maximum: 100,
14278
14336
  describe: "Maximum MCP servers to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14279
14337
  },
14280
14338
  cursor: {
@@ -14332,6 +14390,7 @@ var V2_OPERATIONS = {
14332
14390
  limit: {
14333
14391
  kind: "integer",
14334
14392
  default: 50,
14393
+ maximum: 100,
14335
14394
  describe: "Maximum access requests to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14336
14395
  },
14337
14396
  cursor: {
@@ -14369,6 +14428,7 @@ var V2_OPERATIONS = {
14369
14428
  limit: {
14370
14429
  kind: "integer",
14371
14430
  default: 50,
14431
+ maximum: 100,
14372
14432
  describe: "Maximum access requests to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14373
14433
  },
14374
14434
  cursor: {
@@ -14406,6 +14466,7 @@ var V2_OPERATIONS = {
14406
14466
  limit: {
14407
14467
  kind: "integer",
14408
14468
  default: 50,
14469
+ maximum: 100,
14409
14470
  describe: "Maximum access requests to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14410
14471
  },
14411
14472
  cursor: {
@@ -14432,6 +14493,7 @@ var V2_OPERATIONS = {
14432
14493
  limit: {
14433
14494
  kind: "integer",
14434
14495
  default: 50,
14496
+ maximum: 100,
14435
14497
  describe: "Maximum domain claims to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14436
14498
  },
14437
14499
  cursor: {
@@ -14485,6 +14547,7 @@ var V2_OPERATIONS = {
14485
14547
  limit: {
14486
14548
  kind: "integer",
14487
14549
  default: 50,
14550
+ maximum: 100,
14488
14551
  describe: "Maximum invitations to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14489
14552
  },
14490
14553
  cursor: {
@@ -14524,6 +14587,7 @@ var V2_OPERATIONS = {
14524
14587
  limit: {
14525
14588
  kind: "integer",
14526
14589
  default: 50,
14590
+ maximum: 100,
14527
14591
  describe: "Maximum workspaces to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14528
14592
  },
14529
14593
  cursor: {
@@ -14560,6 +14624,7 @@ var V2_OPERATIONS = {
14560
14624
  limit: {
14561
14625
  kind: "integer",
14562
14626
  default: 50,
14627
+ maximum: 100,
14563
14628
  describe: "Maximum members to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14564
14629
  },
14565
14630
  cursor: {
@@ -14595,6 +14660,7 @@ var V2_OPERATIONS = {
14595
14660
  limit: {
14596
14661
  kind: "integer",
14597
14662
  default: 50,
14663
+ maximum: 100,
14598
14664
  describe: "Maximum organizations to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14599
14665
  },
14600
14666
  cursor: {
@@ -14650,6 +14716,7 @@ var V2_OPERATIONS = {
14650
14716
  limit: {
14651
14717
  kind: "integer",
14652
14718
  default: 50,
14719
+ maximum: 100,
14653
14720
  describe: "Maximum usage events per page. Must be a whole number from 1 to 100. Defaults to 50."
14654
14721
  },
14655
14722
  cursor: {
@@ -14698,6 +14765,7 @@ var V2_OPERATIONS = {
14698
14765
  limit: {
14699
14766
  kind: "integer",
14700
14767
  default: 50,
14768
+ maximum: 100,
14701
14769
  describe: "Maximum workspaces to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14702
14770
  },
14703
14771
  cursor: {
@@ -14706,6 +14774,46 @@ var V2_OPERATIONS = {
14706
14774
  }
14707
14775
  }
14708
14776
  },
14777
+ listPausedRuns: {
14778
+ method: "GET",
14779
+ path: "/api/v2/workflows/runs/paused",
14780
+ pathParams: [],
14781
+ responseMode: "json",
14782
+ summary: "List paused workflow runs",
14783
+ query: {
14784
+ workspaceId: {
14785
+ kind: "string",
14786
+ required: true,
14787
+ describe: "Workspace whose paused runs should be listed."
14788
+ },
14789
+ includeOutput: {
14790
+ kind: "boolean",
14791
+ describe: "Include each pause point's reviewer `display` content when true."
14792
+ },
14793
+ limit: {
14794
+ kind: "integer",
14795
+ default: 10,
14796
+ maximum: 25,
14797
+ describe: "Maximum runs to return per page. A page also ends early once it holds 100 pause points, so it can return fewer runs while `nextCursor` is set. Must be a whole number from 1 to 25. Defaults to 10."
14798
+ },
14799
+ cursor: {
14800
+ kind: "string",
14801
+ describe: "Opaque cursor from the previous page. Send it back with the same sort and filters; only `limit` may change. Change anything else and pagination must restart without a cursor."
14802
+ },
14803
+ sortBy: {
14804
+ kind: "enum",
14805
+ values: ["pausedAt"],
14806
+ default: "pausedAt",
14807
+ describe: "Field used to sort the result."
14808
+ },
14809
+ sortOrder: {
14810
+ kind: "enum",
14811
+ values: ["asc", "desc"],
14812
+ default: "desc",
14813
+ describe: "Sort direction."
14814
+ }
14815
+ }
14816
+ },
14709
14817
  listPermissionGroupMembers: {
14710
14818
  method: "GET",
14711
14819
  path: "/api/v2/organizations/[organizationId]/permission-groups/[groupId]/members",
@@ -14733,6 +14841,7 @@ var V2_OPERATIONS = {
14733
14841
  limit: {
14734
14842
  kind: "integer",
14735
14843
  default: 50,
14844
+ maximum: 100,
14736
14845
  describe: "Maximum group members to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14737
14846
  },
14738
14847
  cursor: {
@@ -14769,6 +14878,7 @@ var V2_OPERATIONS = {
14769
14878
  limit: {
14770
14879
  kind: "integer",
14771
14880
  default: 50,
14881
+ maximum: 100,
14772
14882
  describe: "Maximum permission groups to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14773
14883
  },
14774
14884
  cursor: {
@@ -14850,6 +14960,7 @@ var V2_OPERATIONS = {
14850
14960
  limit: {
14851
14961
  kind: "integer",
14852
14962
  default: 100,
14963
+ maximum: 1000,
14853
14964
  describe: "Maximum files per page. Must be a whole number from 1 to 1000. Defaults to 100."
14854
14965
  },
14855
14966
  cursor: {
@@ -14885,6 +14996,7 @@ var V2_OPERATIONS = {
14885
14996
  limit: {
14886
14997
  kind: "integer",
14887
14998
  default: 50,
14999
+ maximum: 100,
14888
15000
  describe: "Maximum versions to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14889
15001
  },
14890
15002
  cursor: {
@@ -14920,6 +15032,7 @@ var V2_OPERATIONS = {
14920
15032
  limit: {
14921
15033
  kind: "integer",
14922
15034
  default: 50,
15035
+ maximum: 100,
14923
15036
  describe: "Maximum sandboxes to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14924
15037
  },
14925
15038
  cursor: {
@@ -14965,6 +15078,7 @@ var V2_OPERATIONS = {
14965
15078
  limit: {
14966
15079
  kind: "integer",
14967
15080
  default: 50,
15081
+ maximum: 100,
14968
15082
  describe: "Maximum secrets to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14969
15083
  },
14970
15084
  cursor: {
@@ -15097,6 +15211,10 @@ var V2_OPERATIONS = {
15097
15211
  "planetscale.branches",
15098
15212
  "planetscale.backups",
15099
15213
  "planetscale.deployRequests",
15214
+ "planetscale.savedDatabases",
15215
+ "planetscale.savedBranches",
15216
+ "planetscale.savedBackups",
15217
+ "planetscale.savedDeployRequests",
15100
15218
  "cloudwatch.logGroups",
15101
15219
  "cloudwatch.logStreams",
15102
15220
  "cloudwatch.savedLogGroups",
@@ -15131,6 +15249,7 @@ var V2_OPERATIONS = {
15131
15249
  limit: {
15132
15250
  kind: "integer",
15133
15251
  default: 50,
15252
+ maximum: 100,
15134
15253
  describe: "Maximum options per page, from 1 to 100. Defaults to 50."
15135
15254
  }
15136
15255
  }
@@ -15161,6 +15280,7 @@ var V2_OPERATIONS = {
15161
15280
  limit: {
15162
15281
  kind: "integer",
15163
15282
  default: 50,
15283
+ maximum: 100,
15164
15284
  describe: "Maximum skill editors to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15165
15285
  },
15166
15286
  cursor: {
@@ -15196,6 +15316,7 @@ var V2_OPERATIONS = {
15196
15316
  limit: {
15197
15317
  kind: "integer",
15198
15318
  default: 50,
15319
+ maximum: 100,
15199
15320
  describe: "Maximum skills to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15200
15321
  },
15201
15322
  cursor: {
@@ -15218,6 +15339,7 @@ var V2_OPERATIONS = {
15218
15339
  limit: {
15219
15340
  kind: "integer",
15220
15341
  default: 50,
15342
+ maximum: 100,
15221
15343
  describe: "Maximum identity providers to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15222
15344
  },
15223
15345
  cursor: {
@@ -15295,6 +15417,7 @@ var V2_OPERATIONS = {
15295
15417
  limit: {
15296
15418
  kind: "integer",
15297
15419
  default: 100,
15420
+ maximum: 1000,
15298
15421
  describe: "Maximum rows to return per page. Must be a whole number from 1 to 1000. Defaults to 100."
15299
15422
  },
15300
15423
  cursor: {
@@ -15407,6 +15530,7 @@ var V2_OPERATIONS = {
15407
15530
  limit: {
15408
15531
  kind: "integer",
15409
15532
  default: 50,
15533
+ maximum: 100,
15410
15534
  describe: "Maximum tools to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15411
15535
  },
15412
15536
  cursor: {
@@ -15488,6 +15612,7 @@ var V2_OPERATIONS = {
15488
15612
  limit: {
15489
15613
  kind: "integer",
15490
15614
  default: 50,
15615
+ maximum: 100,
15491
15616
  describe: "Maximum workflow-MCP servers to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15492
15617
  },
15493
15618
  cursor: {
@@ -15530,6 +15655,7 @@ var V2_OPERATIONS = {
15530
15655
  limit: {
15531
15656
  kind: "integer",
15532
15657
  default: 50,
15658
+ maximum: 100,
15533
15659
  describe: "Maximum workflow runs to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15534
15660
  },
15535
15661
  cursor: {
@@ -15573,6 +15699,7 @@ var V2_OPERATIONS = {
15573
15699
  limit: {
15574
15700
  kind: "integer",
15575
15701
  default: 50,
15702
+ maximum: 100,
15576
15703
  describe: "Maximum workflows to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15577
15704
  },
15578
15705
  cursor: {
@@ -15616,6 +15743,7 @@ var V2_OPERATIONS = {
15616
15743
  limit: {
15617
15744
  kind: "integer",
15618
15745
  default: 50,
15746
+ maximum: 100,
15619
15747
  describe: "Maximum deployment versions to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15620
15748
  },
15621
15749
  cursor: {
@@ -15636,6 +15764,7 @@ var V2_OPERATIONS = {
15636
15764
  limit: {
15637
15765
  kind: "integer",
15638
15766
  default: 50,
15767
+ maximum: 100,
15639
15768
  describe: "Maximum items to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15640
15769
  },
15641
15770
  cursor: {
@@ -15668,6 +15797,7 @@ var V2_OPERATIONS = {
15668
15797
  limit: {
15669
15798
  kind: "integer",
15670
15799
  default: 50,
15800
+ maximum: 100,
15671
15801
  describe: "Maximum items to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15672
15802
  },
15673
15803
  cursor: {
@@ -15713,6 +15843,7 @@ var V2_OPERATIONS = {
15713
15843
  limit: {
15714
15844
  kind: "integer",
15715
15845
  default: 50,
15846
+ maximum: 100,
15716
15847
  describe: "Maximum members to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15717
15848
  },
15718
15849
  cursor: {
@@ -15732,6 +15863,7 @@ var V2_OPERATIONS = {
15732
15863
  limit: {
15733
15864
  kind: "integer",
15734
15865
  default: 50,
15866
+ maximum: 100,
15735
15867
  describe: "Maximum items to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15736
15868
  },
15737
15869
  cursor: {
@@ -15766,6 +15898,7 @@ var V2_OPERATIONS = {
15766
15898
  limit: {
15767
15899
  kind: "integer",
15768
15900
  default: 25,
15901
+ maximum: 100,
15769
15902
  describe: "Maximum workspaces to return per page. Must be a whole number from 1 to 100. Defaults to 25."
15770
15903
  },
15771
15904
  cursor: {
@@ -15789,6 +15922,7 @@ var V2_OPERATIONS = {
15789
15922
  limit: {
15790
15923
  kind: "integer",
15791
15924
  default: 50,
15925
+ maximum: 100,
15792
15926
  describe: "Maximum schedules to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15793
15927
  },
15794
15928
  cursor: {
@@ -16144,6 +16278,7 @@ var V2_OPERATIONS = {
16144
16278
  sort: { kind: "array", describe: "Ordered table-row sort specification." },
16145
16279
  limit: {
16146
16280
  kind: "integer",
16281
+ maximum: 1000,
16147
16282
  describe: "Maximum rows per page. `0` requests all matches, subject to a 5 MiB row-data ceiling; larger results return `400` with `TABLE_QUERY_RESULT_TOO_LARGE`. Use paged queries or an export for larger results."
16148
16283
  },
16149
16284
  cursor: { kind: "string", describe: "Opaque cursor returned by the previous query page." },
@@ -16182,14 +16317,17 @@ var V2_OPERATIONS = {
16182
16317
  workspaceId: { kind: "string", required: true, describe: "Workspace that owns the file." },
16183
16318
  maxBytes: {
16184
16319
  kind: "integer",
16320
+ maximum: 26214400,
16185
16321
  describe: "Optional ceiling on the source bytes fed to the parser, lowering but never raising the server limit."
16186
16322
  },
16187
16323
  offset: {
16188
16324
  kind: "integer",
16325
+ maximum: 9007199254740991,
16189
16326
  describe: "First line to return, 1-based; 0 also starts at the first line. Absent starts at the first line."
16190
16327
  },
16191
16328
  limit: {
16192
16329
  kind: "integer",
16330
+ maximum: 9007199254740991,
16193
16331
  describe: "How many lines to return from `offset`. Absent reads to the end."
16194
16332
  }
16195
16333
  }
@@ -16205,14 +16343,17 @@ var V2_OPERATIONS = {
16205
16343
  workspaceId: { kind: "string", required: true, describe: "Workspace that owns the file." },
16206
16344
  maxBytes: {
16207
16345
  kind: "integer",
16346
+ maximum: 26214400,
16208
16347
  describe: "Optional ceiling on the source bytes fed to the parser, lowering but never raising the server limit."
16209
16348
  },
16210
16349
  offset: {
16211
16350
  kind: "integer",
16351
+ maximum: 9007199254740991,
16212
16352
  describe: "First line to return, 1-based; 0 also starts at the first line. Absent starts at the first line."
16213
16353
  },
16214
16354
  limit: {
16215
16355
  kind: "integer",
16356
+ maximum: 9007199254740991,
16216
16357
  describe: "How many lines to return from `offset`. Absent reads to the end."
16217
16358
  }
16218
16359
  }
@@ -16418,6 +16559,7 @@ var V2_OPERATIONS = {
16418
16559
  expectedRevision: {
16419
16560
  kind: "integer",
16420
16561
  required: true,
16562
+ maximum: 9007199254740991,
16421
16563
  describe: "Permission revision read before exporting the grants."
16422
16564
  },
16423
16565
  permissions: {
@@ -16547,6 +16689,7 @@ var V2_OPERATIONS = {
16547
16689
  },
16548
16690
  newLimitCredits: {
16549
16691
  kind: "integer",
16692
+ maximum: 9007199254740991,
16550
16693
  describe: "Required only for a usage-limit request: a whole-number credit cap greater than the current cap. Omit for permission requests. Available when action is apply."
16551
16694
  },
16552
16695
  reason: {
@@ -16570,6 +16713,7 @@ var V2_OPERATIONS = {
16570
16713
  },
16571
16714
  newLimitCredits: {
16572
16715
  kind: "integer",
16716
+ maximum: 9007199254740991,
16573
16717
  describe: "Required only for a usage-limit request: a whole-number credit cap greater than the current cap. Omit for permission requests."
16574
16718
  }
16575
16719
  },
@@ -16731,6 +16875,7 @@ var V2_OPERATIONS = {
16731
16875
  workspaceId: { kind: "string", required: true, describe: "Workspace that owns the file." },
16732
16876
  expectedCurrentVersion: {
16733
16877
  kind: "integer",
16878
+ maximum: 2147483647,
16734
16879
  describe: "Revert only while this is still the current version; otherwise the request fails with `409`. Omit to revert whatever is current. Collaborative edits and repeated workflow writes that fold into the current version keep its number, so prefer `expectedRevision` to guard content."
16735
16880
  },
16736
16881
  expectedRevision: {
@@ -16754,6 +16899,7 @@ var V2_OPERATIONS = {
16754
16899
  body: {
16755
16900
  expectedCurrentVersion: {
16756
16901
  kind: "integer",
16902
+ maximum: 2147483647,
16757
16903
  describe: "Revert only while this is still the current version; otherwise the request fails with `409`. Omit to revert whatever is current. Collaborative edits and repeated workflow writes that fold into the current version keep its number, so prefer `expectedRevision` to guard content."
16758
16904
  },
16759
16905
  expectedRevision: {
@@ -16816,6 +16962,7 @@ var V2_OPERATIONS = {
16816
16962
  body: {
16817
16963
  version: {
16818
16964
  kind: "integer",
16965
+ maximum: 2147483647,
16819
16966
  describe: "Deployment version to reactivate. Omit to select the previous active version."
16820
16967
  }
16821
16968
  }
@@ -17122,7 +17269,12 @@ var V2_OPERATIONS = {
17122
17269
  default: "regex",
17123
17270
  describe: "How `query` is read."
17124
17271
  },
17125
- maxResults: { kind: "integer", default: 50, describe: "Maximum matching lines to return." },
17272
+ maxResults: {
17273
+ kind: "integer",
17274
+ default: 50,
17275
+ maximum: 200,
17276
+ describe: "Maximum matching lines to return."
17277
+ },
17126
17278
  folderPaths: {
17127
17279
  kind: "string",
17128
17280
  describe: "Folders the search is confined to, comma-separated. Absent searches the whole workspace. The scope also narrows `indexStatus`, so `complete` describes the folders searched rather than the workspace."
@@ -17171,6 +17323,7 @@ var V2_OPERATIONS = {
17171
17323
  topK: {
17172
17324
  kind: "number",
17173
17325
  default: 10,
17326
+ maximum: 100,
17174
17327
  describe: "Maximum number of search results to return. Must be a whole number between 1 and 100."
17175
17328
  },
17176
17329
  tagFilters: {
@@ -17193,6 +17346,7 @@ var V2_OPERATIONS = {
17193
17346
  },
17194
17347
  rerankerInputCount: {
17195
17348
  kind: "integer",
17349
+ maximum: 100,
17196
17350
  describe: "How many candidate chunks to retrieve before reranking. Defaults to four times `topK`, capped at 100. A larger pool costs more retrieval work but gives the reranker more to choose from."
17197
17351
  }
17198
17352
  }
@@ -17217,7 +17371,12 @@ var V2_OPERATIONS = {
17217
17371
  default: "regex",
17218
17372
  describe: "How `query` is read."
17219
17373
  },
17220
- maxResults: { kind: "integer", default: 50, describe: "Maximum matching lines to return." },
17374
+ maxResults: {
17375
+ kind: "integer",
17376
+ default: 50,
17377
+ maximum: 200,
17378
+ describe: "Maximum matching lines to return."
17379
+ },
17221
17380
  folderPaths: {
17222
17381
  kind: "string",
17223
17382
  describe: "Comma-separated folder paths within the Project. Omit to search the entire Project; index coverage applies to the selected folders."
@@ -17578,6 +17737,7 @@ var V2_OPERATIONS = {
17578
17737
  },
17579
17738
  syncIntervalMinutes: {
17580
17739
  kind: "integer",
17740
+ maximum: 525600,
17581
17741
  describe: "New scheduled synchronization interval in minutes."
17582
17742
  },
17583
17743
  status: {
@@ -17724,11 +17884,13 @@ var V2_OPERATIONS = {
17724
17884
  timeout: {
17725
17885
  kind: "integer",
17726
17886
  default: 30000,
17887
+ maximum: 300000,
17727
17888
  describe: "Per-request timeout in milliseconds. Defaults to 30000 on creation."
17728
17889
  },
17729
17890
  retries: {
17730
17891
  kind: "integer",
17731
17892
  default: 3,
17893
+ maximum: 10,
17732
17894
  describe: "Number of retries per request. Defaults to 3 on creation."
17733
17895
  },
17734
17896
  enabled: {
@@ -17879,7 +18041,11 @@ var V2_OPERATIONS = {
17879
18041
  kind: "string",
17880
18042
  describe: "New parent folder identifier; null moves to the root, omission leaves the parent unchanged."
17881
18043
  },
17882
- sortOrder: { kind: "integer", describe: "New manual position; omit to leave unchanged." }
18044
+ sortOrder: {
18045
+ kind: "integer",
18046
+ maximum: 9007199254740991,
18047
+ describe: "New manual position; omit to leave unchanged."
18048
+ }
17883
18049
  }
17884
18050
  },
17885
18051
  updateProjectFileShare: {
@@ -17933,7 +18099,7 @@ var V2_OPERATIONS = {
17933
18099
  required: true,
17934
18100
  describe: "Row-data patch applied to every matching row."
17935
18101
  },
17936
- limit: { kind: "integer", describe: "Maximum matching rows to update." }
18102
+ limit: { kind: "integer", maximum: 1000, describe: "Maximum matching rows to update." }
17937
18103
  }
17938
18104
  },
17939
18105
  updateSandbox: {
@@ -21146,6 +21312,16 @@ var CLI_CONTRACT = {
21146
21312
  { header: "run", path: "runId" }
21147
21313
  ]
21148
21314
  },
21315
+ listPausedRuns: {
21316
+ command: "workflows runs paused",
21317
+ describe: "List runs waiting on human input across the workspace",
21318
+ columns: [
21319
+ { header: "paused at", path: "pausedAt", format: "timestamp" },
21320
+ { header: "workflow", path: "workflowName" },
21321
+ { header: "waiting points", path: "points", format: "count" },
21322
+ { header: "run", path: "runId" }
21323
+ ]
21324
+ },
21149
21325
  cancelWorkflowRun: {
21150
21326
  command: "workflows runs cancel",
21151
21327
  pathFlags: WORKFLOW_RUN_SCOPE,
@@ -22584,6 +22760,7 @@ async function executeOperation(operation, commandSpec, operationSpec, invocatio
22584
22760
  throw new SimApiError("--cursor must be a non-empty string", 0);
22585
22761
  }
22586
22762
  const limit = pagedLimit === 0 ? Number.POSITIVE_INFINITY : pagedLimit;
22763
+ const maxPageSize = Math.min(DEFAULT_PAGE_SIZE, operationSpec[paging]?.limit?.maximum ?? Number.POSITIVE_INFINITY);
22587
22764
  const rows = [];
22588
22765
  const seenCursors = new Set(initialCursor ? [initialCursor] : []);
22589
22766
  const progress = pageProgress();
@@ -22591,7 +22768,7 @@ async function executeOperation(operation, commandSpec, operationSpec, invocatio
22591
22768
  let envelope;
22592
22769
  try {
22593
22770
  do {
22594
- const pageSize = Math.min(DEFAULT_PAGE_SIZE, limit - rows.length);
22771
+ const pageSize = Math.min(maxPageSize, limit - rows.length);
22595
22772
  const pageLimit = "limit" in (operationSpec[paging] ?? {}) ? { limit: pageSize } : {};
22596
22773
  const page = await client.request(operation, {
22597
22774
  params: request.params,