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/index.js CHANGED
@@ -10077,10 +10077,16 @@ var V2_OPERATIONS = {
10077
10077
  responseMode: "json",
10078
10078
  summary: "Compare workflow versions",
10079
10079
  query: {
10080
- base: { kind: "integer", required: true, describe: "Deployment version to compare from." },
10080
+ base: {
10081
+ kind: "integer",
10082
+ required: true,
10083
+ maximum: 2147483647,
10084
+ describe: "Deployment version to compare from."
10085
+ },
10081
10086
  target: {
10082
10087
  kind: "integer",
10083
10088
  required: true,
10089
+ maximum: 2147483647,
10084
10090
  describe: "Deployment version to compare to, in the same workflow."
10085
10091
  }
10086
10092
  }
@@ -10343,7 +10349,12 @@ var V2_OPERATIONS = {
10343
10349
  },
10344
10350
  name: { kind: "string", required: true, describe: "File name, including its extension." },
10345
10351
  contentType: { kind: "string", required: true, describe: "MIME type of the uploaded file." },
10346
- size: { kind: "integer", required: true, describe: "Exact file size in bytes." },
10352
+ size: {
10353
+ kind: "integer",
10354
+ required: true,
10355
+ maximum: 5368709120,
10356
+ describe: "Exact file size in bytes."
10357
+ },
10347
10358
  folderPath: {
10348
10359
  kind: "string",
10349
10360
  describe: "Canonical destination folder path. Omit for the workspace root."
@@ -10463,6 +10474,7 @@ var V2_OPERATIONS = {
10463
10474
  syncIntervalMinutes: {
10464
10475
  kind: "integer",
10465
10476
  default: 1440,
10477
+ maximum: 525600,
10466
10478
  describe: "Scheduled synchronization interval in minutes; zero disables scheduling."
10467
10479
  }
10468
10480
  }
@@ -10490,7 +10502,12 @@ var V2_OPERATIONS = {
10490
10502
  required: true,
10491
10503
  describe: "Supported MIME type for the document."
10492
10504
  },
10493
- size: { kind: "integer", required: true, describe: "Exact file size in bytes." },
10505
+ size: {
10506
+ kind: "integer",
10507
+ required: true,
10508
+ maximum: 104857600,
10509
+ describe: "Exact file size in bytes."
10510
+ },
10494
10511
  tag1: { kind: "string", describe: "Value for tag slot 1." },
10495
10512
  tag2: { kind: "string", describe: "Value for tag slot 2." },
10496
10513
  tag3: { kind: "string", describe: "Value for tag slot 3." },
@@ -10683,11 +10700,13 @@ var V2_OPERATIONS = {
10683
10700
  timeout: {
10684
10701
  kind: "integer",
10685
10702
  default: 30000,
10703
+ maximum: 300000,
10686
10704
  describe: "Per-request timeout in milliseconds. Defaults to 30000 on creation."
10687
10705
  },
10688
10706
  retries: {
10689
10707
  kind: "integer",
10690
10708
  default: 3,
10709
+ maximum: 10,
10691
10710
  describe: "Number of retries per request. Defaults to 3 on creation."
10692
10711
  },
10693
10712
  enabled: {
@@ -10831,7 +10850,12 @@ var V2_OPERATIONS = {
10831
10850
  body: {
10832
10851
  name: { kind: "string", required: true, describe: "File name, including its extension." },
10833
10852
  contentType: { kind: "string", required: true, describe: "MIME type of the uploaded file." },
10834
- size: { kind: "integer", required: true, describe: "Exact file size in bytes." },
10853
+ size: {
10854
+ kind: "integer",
10855
+ required: true,
10856
+ maximum: 5368709120,
10857
+ describe: "Exact file size in bytes."
10858
+ },
10835
10859
  folderPath: {
10836
10860
  kind: "string",
10837
10861
  describe: "Canonical destination folder path. Specify either folderId or folderPath, not both."
@@ -11620,7 +11644,7 @@ var V2_OPERATIONS = {
11620
11644
  kind: "unknown",
11621
11645
  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`."
11622
11646
  },
11623
- limit: { kind: "integer", describe: "Maximum matching rows to delete." },
11647
+ limit: { kind: "integer", maximum: 1000, describe: "Maximum matching rows to delete." },
11624
11648
  rowIds: { kind: "array", describe: "Explicit row identifiers to delete." }
11625
11649
  }
11626
11650
  },
@@ -11795,6 +11819,7 @@ var V2_OPERATIONS = {
11795
11819
  limit: {
11796
11820
  kind: "integer",
11797
11821
  default: 50,
11822
+ maximum: 100,
11798
11823
  describe: "Maximum access items to return per page. Must be a whole number from 1 to 100. Defaults to 50."
11799
11824
  },
11800
11825
  cursor: {
@@ -11851,6 +11876,7 @@ var V2_OPERATIONS = {
11851
11876
  limit: {
11852
11877
  kind: "integer",
11853
11878
  default: 50,
11879
+ maximum: 100,
11854
11880
  describe: "Maximum access items to return per page. Must be a whole number from 1 to 100. Defaults to 50."
11855
11881
  },
11856
11882
  cursor: {
@@ -11979,6 +12005,7 @@ var V2_OPERATIONS = {
11979
12005
  },
11980
12006
  timeoutSeconds: {
11981
12007
  kind: "integer",
12008
+ maximum: 300,
11982
12009
  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."
11983
12010
  }
11984
12011
  }
@@ -12006,10 +12033,12 @@ var V2_OPERATIONS = {
12006
12033
  },
12007
12034
  executionTimeoutSeconds: {
12008
12035
  kind: "integer",
12036
+ maximum: 604800,
12009
12037
  describe: "Maximum duration of an asynchronous run, in seconds, capped by the plan's execution timeout. Requires `async: true` or `waitTimeoutSeconds`; otherwise returns `400`."
12010
12038
  },
12011
12039
  waitTimeoutSeconds: {
12012
12040
  kind: "integer",
12041
+ maximum: 604800,
12013
12042
  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`."
12014
12043
  },
12015
12044
  stream: {
@@ -12037,6 +12066,7 @@ var V2_OPERATIONS = {
12037
12066
  },
12038
12067
  base64MaxBytes: {
12039
12068
  kind: "integer",
12069
+ maximum: 16777216,
12040
12070
  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."
12041
12071
  }
12042
12072
  },
@@ -12403,6 +12433,7 @@ var V2_OPERATIONS = {
12403
12433
  segmentCount: {
12404
12434
  kind: "integer",
12405
12435
  default: 72,
12436
+ maximum: 500,
12406
12437
  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."
12407
12438
  },
12408
12439
  includeEmpty: {
@@ -12553,6 +12584,7 @@ var V2_OPERATIONS = {
12553
12584
  limit: {
12554
12585
  kind: "integer",
12555
12586
  default: 50,
12587
+ maximum: 100,
12556
12588
  describe: "Maximum ranked groups to return. Remaining usage is summarized in other. Must be a whole number from 1 to 100. Defaults to 50."
12557
12589
  }
12558
12590
  }
@@ -12847,6 +12879,10 @@ var V2_OPERATIONS = {
12847
12879
  "planetscale.branches",
12848
12880
  "planetscale.backups",
12849
12881
  "planetscale.deployRequests",
12882
+ "planetscale.savedDatabases",
12883
+ "planetscale.savedBranches",
12884
+ "planetscale.savedBackups",
12885
+ "planetscale.savedDeployRequests",
12850
12886
  "cloudwatch.logGroups",
12851
12887
  "cloudwatch.logStreams",
12852
12888
  "cloudwatch.savedLogGroups",
@@ -13094,6 +13130,7 @@ var V2_OPERATIONS = {
13094
13130
  },
13095
13131
  base64MaxBytes: {
13096
13132
  kind: "integer",
13133
+ maximum: 16777216,
13097
13134
  describe: "Per-file inline ceiling, lowering but never raising the server limit of 16 MiB."
13098
13135
  }
13099
13136
  }
@@ -13166,6 +13203,7 @@ var V2_OPERATIONS = {
13166
13203
  limit: {
13167
13204
  kind: "integer",
13168
13205
  default: 50,
13206
+ maximum: 100,
13169
13207
  describe: "Maximum items to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13170
13208
  },
13171
13209
  cursor: {
@@ -13300,6 +13338,7 @@ var V2_OPERATIONS = {
13300
13338
  limit: {
13301
13339
  kind: "integer",
13302
13340
  default: 50,
13341
+ maximum: 100,
13303
13342
  describe: "Maximum audit entries to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13304
13343
  },
13305
13344
  cursor: {
@@ -13357,6 +13396,7 @@ var V2_OPERATIONS = {
13357
13396
  limit: {
13358
13397
  kind: "integer",
13359
13398
  default: 50,
13399
+ maximum: 100,
13360
13400
  describe: "Maximum usage events per page. Must be a whole number from 1 to 100. Defaults to 50."
13361
13401
  },
13362
13402
  cursor: {
@@ -13415,6 +13455,7 @@ var V2_OPERATIONS = {
13415
13455
  limit: {
13416
13456
  kind: "integer",
13417
13457
  default: 50,
13458
+ maximum: 100,
13418
13459
  describe: "Maximum blocks to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13419
13460
  },
13420
13461
  cursor: {
@@ -13452,6 +13493,7 @@ var V2_OPERATIONS = {
13452
13493
  limit: {
13453
13494
  kind: "integer",
13454
13495
  default: 50,
13496
+ maximum: 100,
13455
13497
  describe: "Maximum chat deployments to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13456
13498
  },
13457
13499
  cursor: {
@@ -13485,6 +13527,7 @@ var V2_OPERATIONS = {
13485
13527
  limit: {
13486
13528
  kind: "integer",
13487
13529
  default: 25,
13530
+ maximum: 100,
13488
13531
  describe: "Maximum connector types to return per page. Must be a whole number from 1 to 100. Defaults to 25."
13489
13532
  },
13490
13533
  cursor: {
@@ -13510,6 +13553,7 @@ var V2_OPERATIONS = {
13510
13553
  limit: {
13511
13554
  kind: "integer",
13512
13555
  default: 50,
13556
+ maximum: 100,
13513
13557
  describe: "Maximum credential members to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13514
13558
  },
13515
13559
  cursor: {
@@ -13588,6 +13632,7 @@ var V2_OPERATIONS = {
13588
13632
  limit: {
13589
13633
  kind: "integer",
13590
13634
  default: 50,
13635
+ maximum: 100,
13591
13636
  describe: "Maximum credentials to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13592
13637
  },
13593
13638
  cursor: {
@@ -13627,6 +13672,7 @@ var V2_OPERATIONS = {
13627
13672
  limit: {
13628
13673
  kind: "integer",
13629
13674
  default: 50,
13675
+ maximum: 100,
13630
13676
  describe: "Maximum custom tools to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13631
13677
  },
13632
13678
  cursor: {
@@ -13693,6 +13739,7 @@ var V2_OPERATIONS = {
13693
13739
  },
13694
13740
  depth: {
13695
13741
  kind: "integer",
13742
+ maximum: 64,
13696
13743
  describe: "Deepest level below parentPath to include when recursive is true."
13697
13744
  }
13698
13745
  }
@@ -13788,6 +13835,7 @@ var V2_OPERATIONS = {
13788
13835
  limit: {
13789
13836
  kind: "integer",
13790
13837
  default: 50,
13838
+ maximum: 100,
13791
13839
  describe: "Maximum versions to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13792
13840
  },
13793
13841
  cursor: {
@@ -13837,6 +13885,7 @@ var V2_OPERATIONS = {
13837
13885
  limit: {
13838
13886
  kind: "integer",
13839
13887
  default: 50,
13888
+ maximum: 100,
13840
13889
  describe: "Maximum knowledge bases to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13841
13890
  },
13842
13891
  cursor: {
@@ -13887,6 +13936,7 @@ var V2_OPERATIONS = {
13887
13936
  limit: {
13888
13937
  kind: "integer",
13889
13938
  default: 50,
13939
+ maximum: 100,
13890
13940
  describe: "Maximum chunks to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13891
13941
  },
13892
13942
  cursor: {
@@ -13919,6 +13969,7 @@ var V2_OPERATIONS = {
13919
13969
  limit: {
13920
13970
  kind: "integer",
13921
13971
  default: 50,
13972
+ maximum: 100,
13922
13973
  describe: "Maximum connector documents to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13923
13974
  },
13924
13975
  cursor: {
@@ -13956,6 +14007,7 @@ var V2_OPERATIONS = {
13956
14007
  limit: {
13957
14008
  kind: "integer",
13958
14009
  default: 50,
14010
+ maximum: 100,
13959
14011
  describe: "Maximum connectors to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13960
14012
  },
13961
14013
  cursor: {
@@ -13980,6 +14032,7 @@ var V2_OPERATIONS = {
13980
14032
  limit: {
13981
14033
  kind: "integer",
13982
14034
  default: 50,
14035
+ maximum: 100,
13983
14036
  describe: "Maximum documents to return per page. Must be a whole number from 1 to 100. Defaults to 50."
13984
14037
  },
13985
14038
  search: {
@@ -14122,18 +14175,22 @@ var V2_OPERATIONS = {
14122
14175
  },
14123
14176
  minDurationMs: {
14124
14177
  kind: "integer",
14178
+ maximum: 2147483647,
14125
14179
  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."
14126
14180
  },
14127
14181
  maxDurationMs: {
14128
14182
  kind: "integer",
14183
+ maximum: 2147483647,
14129
14184
  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."
14130
14185
  },
14131
14186
  minCost: {
14132
14187
  kind: "number",
14188
+ maximum: 1e6,
14133
14189
  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."
14134
14190
  },
14135
14191
  maxCost: {
14136
14192
  kind: "number",
14193
+ maximum: 1e6,
14137
14194
  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."
14138
14195
  },
14139
14196
  model: { kind: "string", describe: "AI model used during execution." },
@@ -14226,6 +14283,7 @@ var V2_OPERATIONS = {
14226
14283
  limit: {
14227
14284
  kind: "integer",
14228
14285
  default: 50,
14286
+ maximum: 100,
14229
14287
  describe: "Maximum MCP servers to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14230
14288
  },
14231
14289
  cursor: {
@@ -14283,6 +14341,7 @@ var V2_OPERATIONS = {
14283
14341
  limit: {
14284
14342
  kind: "integer",
14285
14343
  default: 50,
14344
+ maximum: 100,
14286
14345
  describe: "Maximum access requests to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14287
14346
  },
14288
14347
  cursor: {
@@ -14320,6 +14379,7 @@ var V2_OPERATIONS = {
14320
14379
  limit: {
14321
14380
  kind: "integer",
14322
14381
  default: 50,
14382
+ maximum: 100,
14323
14383
  describe: "Maximum access requests to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14324
14384
  },
14325
14385
  cursor: {
@@ -14357,6 +14417,7 @@ var V2_OPERATIONS = {
14357
14417
  limit: {
14358
14418
  kind: "integer",
14359
14419
  default: 50,
14420
+ maximum: 100,
14360
14421
  describe: "Maximum access requests to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14361
14422
  },
14362
14423
  cursor: {
@@ -14383,6 +14444,7 @@ var V2_OPERATIONS = {
14383
14444
  limit: {
14384
14445
  kind: "integer",
14385
14446
  default: 50,
14447
+ maximum: 100,
14386
14448
  describe: "Maximum domain claims to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14387
14449
  },
14388
14450
  cursor: {
@@ -14436,6 +14498,7 @@ var V2_OPERATIONS = {
14436
14498
  limit: {
14437
14499
  kind: "integer",
14438
14500
  default: 50,
14501
+ maximum: 100,
14439
14502
  describe: "Maximum invitations to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14440
14503
  },
14441
14504
  cursor: {
@@ -14475,6 +14538,7 @@ var V2_OPERATIONS = {
14475
14538
  limit: {
14476
14539
  kind: "integer",
14477
14540
  default: 50,
14541
+ maximum: 100,
14478
14542
  describe: "Maximum workspaces to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14479
14543
  },
14480
14544
  cursor: {
@@ -14511,6 +14575,7 @@ var V2_OPERATIONS = {
14511
14575
  limit: {
14512
14576
  kind: "integer",
14513
14577
  default: 50,
14578
+ maximum: 100,
14514
14579
  describe: "Maximum members to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14515
14580
  },
14516
14581
  cursor: {
@@ -14546,6 +14611,7 @@ var V2_OPERATIONS = {
14546
14611
  limit: {
14547
14612
  kind: "integer",
14548
14613
  default: 50,
14614
+ maximum: 100,
14549
14615
  describe: "Maximum organizations to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14550
14616
  },
14551
14617
  cursor: {
@@ -14601,6 +14667,7 @@ var V2_OPERATIONS = {
14601
14667
  limit: {
14602
14668
  kind: "integer",
14603
14669
  default: 50,
14670
+ maximum: 100,
14604
14671
  describe: "Maximum usage events per page. Must be a whole number from 1 to 100. Defaults to 50."
14605
14672
  },
14606
14673
  cursor: {
@@ -14649,6 +14716,7 @@ var V2_OPERATIONS = {
14649
14716
  limit: {
14650
14717
  kind: "integer",
14651
14718
  default: 50,
14719
+ maximum: 100,
14652
14720
  describe: "Maximum workspaces to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14653
14721
  },
14654
14722
  cursor: {
@@ -14657,6 +14725,46 @@ var V2_OPERATIONS = {
14657
14725
  }
14658
14726
  }
14659
14727
  },
14728
+ listPausedRuns: {
14729
+ method: "GET",
14730
+ path: "/api/v2/workflows/runs/paused",
14731
+ pathParams: [],
14732
+ responseMode: "json",
14733
+ summary: "List paused workflow runs",
14734
+ query: {
14735
+ workspaceId: {
14736
+ kind: "string",
14737
+ required: true,
14738
+ describe: "Workspace whose paused runs should be listed."
14739
+ },
14740
+ includeOutput: {
14741
+ kind: "boolean",
14742
+ describe: "Include each pause point's reviewer `display` content when true."
14743
+ },
14744
+ limit: {
14745
+ kind: "integer",
14746
+ default: 10,
14747
+ maximum: 25,
14748
+ 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."
14749
+ },
14750
+ cursor: {
14751
+ kind: "string",
14752
+ 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."
14753
+ },
14754
+ sortBy: {
14755
+ kind: "enum",
14756
+ values: ["pausedAt"],
14757
+ default: "pausedAt",
14758
+ describe: "Field used to sort the result."
14759
+ },
14760
+ sortOrder: {
14761
+ kind: "enum",
14762
+ values: ["asc", "desc"],
14763
+ default: "desc",
14764
+ describe: "Sort direction."
14765
+ }
14766
+ }
14767
+ },
14660
14768
  listPermissionGroupMembers: {
14661
14769
  method: "GET",
14662
14770
  path: "/api/v2/organizations/[organizationId]/permission-groups/[groupId]/members",
@@ -14684,6 +14792,7 @@ var V2_OPERATIONS = {
14684
14792
  limit: {
14685
14793
  kind: "integer",
14686
14794
  default: 50,
14795
+ maximum: 100,
14687
14796
  describe: "Maximum group members to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14688
14797
  },
14689
14798
  cursor: {
@@ -14720,6 +14829,7 @@ var V2_OPERATIONS = {
14720
14829
  limit: {
14721
14830
  kind: "integer",
14722
14831
  default: 50,
14832
+ maximum: 100,
14723
14833
  describe: "Maximum permission groups to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14724
14834
  },
14725
14835
  cursor: {
@@ -14801,6 +14911,7 @@ var V2_OPERATIONS = {
14801
14911
  limit: {
14802
14912
  kind: "integer",
14803
14913
  default: 100,
14914
+ maximum: 1000,
14804
14915
  describe: "Maximum files per page. Must be a whole number from 1 to 1000. Defaults to 100."
14805
14916
  },
14806
14917
  cursor: {
@@ -14836,6 +14947,7 @@ var V2_OPERATIONS = {
14836
14947
  limit: {
14837
14948
  kind: "integer",
14838
14949
  default: 50,
14950
+ maximum: 100,
14839
14951
  describe: "Maximum versions to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14840
14952
  },
14841
14953
  cursor: {
@@ -14871,6 +14983,7 @@ var V2_OPERATIONS = {
14871
14983
  limit: {
14872
14984
  kind: "integer",
14873
14985
  default: 50,
14986
+ maximum: 100,
14874
14987
  describe: "Maximum sandboxes to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14875
14988
  },
14876
14989
  cursor: {
@@ -14916,6 +15029,7 @@ var V2_OPERATIONS = {
14916
15029
  limit: {
14917
15030
  kind: "integer",
14918
15031
  default: 50,
15032
+ maximum: 100,
14919
15033
  describe: "Maximum secrets to return per page. Must be a whole number from 1 to 100. Defaults to 50."
14920
15034
  },
14921
15035
  cursor: {
@@ -15048,6 +15162,10 @@ var V2_OPERATIONS = {
15048
15162
  "planetscale.branches",
15049
15163
  "planetscale.backups",
15050
15164
  "planetscale.deployRequests",
15165
+ "planetscale.savedDatabases",
15166
+ "planetscale.savedBranches",
15167
+ "planetscale.savedBackups",
15168
+ "planetscale.savedDeployRequests",
15051
15169
  "cloudwatch.logGroups",
15052
15170
  "cloudwatch.logStreams",
15053
15171
  "cloudwatch.savedLogGroups",
@@ -15082,6 +15200,7 @@ var V2_OPERATIONS = {
15082
15200
  limit: {
15083
15201
  kind: "integer",
15084
15202
  default: 50,
15203
+ maximum: 100,
15085
15204
  describe: "Maximum options per page, from 1 to 100. Defaults to 50."
15086
15205
  }
15087
15206
  }
@@ -15112,6 +15231,7 @@ var V2_OPERATIONS = {
15112
15231
  limit: {
15113
15232
  kind: "integer",
15114
15233
  default: 50,
15234
+ maximum: 100,
15115
15235
  describe: "Maximum skill editors to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15116
15236
  },
15117
15237
  cursor: {
@@ -15147,6 +15267,7 @@ var V2_OPERATIONS = {
15147
15267
  limit: {
15148
15268
  kind: "integer",
15149
15269
  default: 50,
15270
+ maximum: 100,
15150
15271
  describe: "Maximum skills to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15151
15272
  },
15152
15273
  cursor: {
@@ -15169,6 +15290,7 @@ var V2_OPERATIONS = {
15169
15290
  limit: {
15170
15291
  kind: "integer",
15171
15292
  default: 50,
15293
+ maximum: 100,
15172
15294
  describe: "Maximum identity providers to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15173
15295
  },
15174
15296
  cursor: {
@@ -15246,6 +15368,7 @@ var V2_OPERATIONS = {
15246
15368
  limit: {
15247
15369
  kind: "integer",
15248
15370
  default: 100,
15371
+ maximum: 1000,
15249
15372
  describe: "Maximum rows to return per page. Must be a whole number from 1 to 1000. Defaults to 100."
15250
15373
  },
15251
15374
  cursor: {
@@ -15358,6 +15481,7 @@ var V2_OPERATIONS = {
15358
15481
  limit: {
15359
15482
  kind: "integer",
15360
15483
  default: 50,
15484
+ maximum: 100,
15361
15485
  describe: "Maximum tools to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15362
15486
  },
15363
15487
  cursor: {
@@ -15439,6 +15563,7 @@ var V2_OPERATIONS = {
15439
15563
  limit: {
15440
15564
  kind: "integer",
15441
15565
  default: 50,
15566
+ maximum: 100,
15442
15567
  describe: "Maximum workflow-MCP servers to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15443
15568
  },
15444
15569
  cursor: {
@@ -15481,6 +15606,7 @@ var V2_OPERATIONS = {
15481
15606
  limit: {
15482
15607
  kind: "integer",
15483
15608
  default: 50,
15609
+ maximum: 100,
15484
15610
  describe: "Maximum workflow runs to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15485
15611
  },
15486
15612
  cursor: {
@@ -15524,6 +15650,7 @@ var V2_OPERATIONS = {
15524
15650
  limit: {
15525
15651
  kind: "integer",
15526
15652
  default: 50,
15653
+ maximum: 100,
15527
15654
  describe: "Maximum workflows to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15528
15655
  },
15529
15656
  cursor: {
@@ -15567,6 +15694,7 @@ var V2_OPERATIONS = {
15567
15694
  limit: {
15568
15695
  kind: "integer",
15569
15696
  default: 50,
15697
+ maximum: 100,
15570
15698
  describe: "Maximum deployment versions to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15571
15699
  },
15572
15700
  cursor: {
@@ -15587,6 +15715,7 @@ var V2_OPERATIONS = {
15587
15715
  limit: {
15588
15716
  kind: "integer",
15589
15717
  default: 50,
15718
+ maximum: 100,
15590
15719
  describe: "Maximum items to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15591
15720
  },
15592
15721
  cursor: {
@@ -15619,6 +15748,7 @@ var V2_OPERATIONS = {
15619
15748
  limit: {
15620
15749
  kind: "integer",
15621
15750
  default: 50,
15751
+ maximum: 100,
15622
15752
  describe: "Maximum items to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15623
15753
  },
15624
15754
  cursor: {
@@ -15664,6 +15794,7 @@ var V2_OPERATIONS = {
15664
15794
  limit: {
15665
15795
  kind: "integer",
15666
15796
  default: 50,
15797
+ maximum: 100,
15667
15798
  describe: "Maximum members to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15668
15799
  },
15669
15800
  cursor: {
@@ -15683,6 +15814,7 @@ var V2_OPERATIONS = {
15683
15814
  limit: {
15684
15815
  kind: "integer",
15685
15816
  default: 50,
15817
+ maximum: 100,
15686
15818
  describe: "Maximum items to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15687
15819
  },
15688
15820
  cursor: {
@@ -15717,6 +15849,7 @@ var V2_OPERATIONS = {
15717
15849
  limit: {
15718
15850
  kind: "integer",
15719
15851
  default: 25,
15852
+ maximum: 100,
15720
15853
  describe: "Maximum workspaces to return per page. Must be a whole number from 1 to 100. Defaults to 25."
15721
15854
  },
15722
15855
  cursor: {
@@ -15740,6 +15873,7 @@ var V2_OPERATIONS = {
15740
15873
  limit: {
15741
15874
  kind: "integer",
15742
15875
  default: 50,
15876
+ maximum: 100,
15743
15877
  describe: "Maximum schedules to return per page. Must be a whole number from 1 to 100. Defaults to 50."
15744
15878
  },
15745
15879
  cursor: {
@@ -16095,6 +16229,7 @@ var V2_OPERATIONS = {
16095
16229
  sort: { kind: "array", describe: "Ordered table-row sort specification." },
16096
16230
  limit: {
16097
16231
  kind: "integer",
16232
+ maximum: 1000,
16098
16233
  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."
16099
16234
  },
16100
16235
  cursor: { kind: "string", describe: "Opaque cursor returned by the previous query page." },
@@ -16133,14 +16268,17 @@ var V2_OPERATIONS = {
16133
16268
  workspaceId: { kind: "string", required: true, describe: "Workspace that owns the file." },
16134
16269
  maxBytes: {
16135
16270
  kind: "integer",
16271
+ maximum: 26214400,
16136
16272
  describe: "Optional ceiling on the source bytes fed to the parser, lowering but never raising the server limit."
16137
16273
  },
16138
16274
  offset: {
16139
16275
  kind: "integer",
16276
+ maximum: 9007199254740991,
16140
16277
  describe: "First line to return, 1-based; 0 also starts at the first line. Absent starts at the first line."
16141
16278
  },
16142
16279
  limit: {
16143
16280
  kind: "integer",
16281
+ maximum: 9007199254740991,
16144
16282
  describe: "How many lines to return from `offset`. Absent reads to the end."
16145
16283
  }
16146
16284
  }
@@ -16156,14 +16294,17 @@ var V2_OPERATIONS = {
16156
16294
  workspaceId: { kind: "string", required: true, describe: "Workspace that owns the file." },
16157
16295
  maxBytes: {
16158
16296
  kind: "integer",
16297
+ maximum: 26214400,
16159
16298
  describe: "Optional ceiling on the source bytes fed to the parser, lowering but never raising the server limit."
16160
16299
  },
16161
16300
  offset: {
16162
16301
  kind: "integer",
16302
+ maximum: 9007199254740991,
16163
16303
  describe: "First line to return, 1-based; 0 also starts at the first line. Absent starts at the first line."
16164
16304
  },
16165
16305
  limit: {
16166
16306
  kind: "integer",
16307
+ maximum: 9007199254740991,
16167
16308
  describe: "How many lines to return from `offset`. Absent reads to the end."
16168
16309
  }
16169
16310
  }
@@ -16369,6 +16510,7 @@ var V2_OPERATIONS = {
16369
16510
  expectedRevision: {
16370
16511
  kind: "integer",
16371
16512
  required: true,
16513
+ maximum: 9007199254740991,
16372
16514
  describe: "Permission revision read before exporting the grants."
16373
16515
  },
16374
16516
  permissions: {
@@ -16498,6 +16640,7 @@ var V2_OPERATIONS = {
16498
16640
  },
16499
16641
  newLimitCredits: {
16500
16642
  kind: "integer",
16643
+ maximum: 9007199254740991,
16501
16644
  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."
16502
16645
  },
16503
16646
  reason: {
@@ -16521,6 +16664,7 @@ var V2_OPERATIONS = {
16521
16664
  },
16522
16665
  newLimitCredits: {
16523
16666
  kind: "integer",
16667
+ maximum: 9007199254740991,
16524
16668
  describe: "Required only for a usage-limit request: a whole-number credit cap greater than the current cap. Omit for permission requests."
16525
16669
  }
16526
16670
  },
@@ -16682,6 +16826,7 @@ var V2_OPERATIONS = {
16682
16826
  workspaceId: { kind: "string", required: true, describe: "Workspace that owns the file." },
16683
16827
  expectedCurrentVersion: {
16684
16828
  kind: "integer",
16829
+ maximum: 2147483647,
16685
16830
  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."
16686
16831
  },
16687
16832
  expectedRevision: {
@@ -16705,6 +16850,7 @@ var V2_OPERATIONS = {
16705
16850
  body: {
16706
16851
  expectedCurrentVersion: {
16707
16852
  kind: "integer",
16853
+ maximum: 2147483647,
16708
16854
  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."
16709
16855
  },
16710
16856
  expectedRevision: {
@@ -16767,6 +16913,7 @@ var V2_OPERATIONS = {
16767
16913
  body: {
16768
16914
  version: {
16769
16915
  kind: "integer",
16916
+ maximum: 2147483647,
16770
16917
  describe: "Deployment version to reactivate. Omit to select the previous active version."
16771
16918
  }
16772
16919
  }
@@ -17073,7 +17220,12 @@ var V2_OPERATIONS = {
17073
17220
  default: "regex",
17074
17221
  describe: "How `query` is read."
17075
17222
  },
17076
- maxResults: { kind: "integer", default: 50, describe: "Maximum matching lines to return." },
17223
+ maxResults: {
17224
+ kind: "integer",
17225
+ default: 50,
17226
+ maximum: 200,
17227
+ describe: "Maximum matching lines to return."
17228
+ },
17077
17229
  folderPaths: {
17078
17230
  kind: "string",
17079
17231
  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."
@@ -17122,6 +17274,7 @@ var V2_OPERATIONS = {
17122
17274
  topK: {
17123
17275
  kind: "number",
17124
17276
  default: 10,
17277
+ maximum: 100,
17125
17278
  describe: "Maximum number of search results to return. Must be a whole number between 1 and 100."
17126
17279
  },
17127
17280
  tagFilters: {
@@ -17144,6 +17297,7 @@ var V2_OPERATIONS = {
17144
17297
  },
17145
17298
  rerankerInputCount: {
17146
17299
  kind: "integer",
17300
+ maximum: 100,
17147
17301
  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."
17148
17302
  }
17149
17303
  }
@@ -17168,7 +17322,12 @@ var V2_OPERATIONS = {
17168
17322
  default: "regex",
17169
17323
  describe: "How `query` is read."
17170
17324
  },
17171
- maxResults: { kind: "integer", default: 50, describe: "Maximum matching lines to return." },
17325
+ maxResults: {
17326
+ kind: "integer",
17327
+ default: 50,
17328
+ maximum: 200,
17329
+ describe: "Maximum matching lines to return."
17330
+ },
17172
17331
  folderPaths: {
17173
17332
  kind: "string",
17174
17333
  describe: "Comma-separated folder paths within the Project. Omit to search the entire Project; index coverage applies to the selected folders."
@@ -17529,6 +17688,7 @@ var V2_OPERATIONS = {
17529
17688
  },
17530
17689
  syncIntervalMinutes: {
17531
17690
  kind: "integer",
17691
+ maximum: 525600,
17532
17692
  describe: "New scheduled synchronization interval in minutes."
17533
17693
  },
17534
17694
  status: {
@@ -17675,11 +17835,13 @@ var V2_OPERATIONS = {
17675
17835
  timeout: {
17676
17836
  kind: "integer",
17677
17837
  default: 30000,
17838
+ maximum: 300000,
17678
17839
  describe: "Per-request timeout in milliseconds. Defaults to 30000 on creation."
17679
17840
  },
17680
17841
  retries: {
17681
17842
  kind: "integer",
17682
17843
  default: 3,
17844
+ maximum: 10,
17683
17845
  describe: "Number of retries per request. Defaults to 3 on creation."
17684
17846
  },
17685
17847
  enabled: {
@@ -17830,7 +17992,11 @@ var V2_OPERATIONS = {
17830
17992
  kind: "string",
17831
17993
  describe: "New parent folder identifier; null moves to the root, omission leaves the parent unchanged."
17832
17994
  },
17833
- sortOrder: { kind: "integer", describe: "New manual position; omit to leave unchanged." }
17995
+ sortOrder: {
17996
+ kind: "integer",
17997
+ maximum: 9007199254740991,
17998
+ describe: "New manual position; omit to leave unchanged."
17999
+ }
17834
18000
  }
17835
18001
  },
17836
18002
  updateProjectFileShare: {
@@ -17884,7 +18050,7 @@ var V2_OPERATIONS = {
17884
18050
  required: true,
17885
18051
  describe: "Row-data patch applied to every matching row."
17886
18052
  },
17887
- limit: { kind: "integer", describe: "Maximum matching rows to update." }
18053
+ limit: { kind: "integer", maximum: 1000, describe: "Maximum matching rows to update." }
17888
18054
  }
17889
18055
  },
17890
18056
  updateSandbox: {
@@ -21097,6 +21263,16 @@ var CLI_CONTRACT = {
21097
21263
  { header: "run", path: "runId" }
21098
21264
  ]
21099
21265
  },
21266
+ listPausedRuns: {
21267
+ command: "workflows runs paused",
21268
+ describe: "List runs waiting on human input across the workspace",
21269
+ columns: [
21270
+ { header: "paused at", path: "pausedAt", format: "timestamp" },
21271
+ { header: "workflow", path: "workflowName" },
21272
+ { header: "waiting points", path: "points", format: "count" },
21273
+ { header: "run", path: "runId" }
21274
+ ]
21275
+ },
21100
21276
  cancelWorkflowRun: {
21101
21277
  command: "workflows runs cancel",
21102
21278
  pathFlags: WORKFLOW_RUN_SCOPE,
@@ -22535,6 +22711,7 @@ async function executeOperation(operation, commandSpec, operationSpec, invocatio
22535
22711
  throw new SimApiError("--cursor must be a non-empty string", 0);
22536
22712
  }
22537
22713
  const limit = pagedLimit === 0 ? Number.POSITIVE_INFINITY : pagedLimit;
22714
+ const maxPageSize = Math.min(DEFAULT_PAGE_SIZE, operationSpec[paging]?.limit?.maximum ?? Number.POSITIVE_INFINITY);
22538
22715
  const rows = [];
22539
22716
  const seenCursors = new Set(initialCursor ? [initialCursor] : []);
22540
22717
  const progress = pageProgress();
@@ -22542,7 +22719,7 @@ async function executeOperation(operation, commandSpec, operationSpec, invocatio
22542
22719
  let envelope;
22543
22720
  try {
22544
22721
  do {
22545
- const pageSize = Math.min(DEFAULT_PAGE_SIZE, limit - rows.length);
22722
+ const pageSize = Math.min(maxPageSize, limit - rows.length);
22546
22723
  const pageLimit = "limit" in (operationSpec[paging] ?? {}) ? { limit: pageSize } : {};
22547
22724
  const page = await client.request(operation, {
22548
22725
  params: request.params,