@depup/vercel 58.4.4-depup.0 → 58.9.0-depup.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/README.md +7 -7
  2. package/changes.json +6 -6
  3. package/dist/chunks/{add-245XOFJO.js → add-EN4KBTT6.js} +7 -7
  4. package/dist/chunks/{add-XH24V5VU.js → add-HFK7NUGY.js} +5 -5
  5. package/dist/chunks/{add-P7WBQMBW.js → add-ZVQJE6BF.js} +45 -10
  6. package/dist/chunks/{build-M7NJYJPE.js → build-IDCBAC3R.js} +7 -7
  7. package/dist/chunks/{chunk-2WILSD7J.js → chunk-2PPATWD6.js} +1 -1
  8. package/dist/chunks/{chunk-WR7JTCGL.js → chunk-3BU2UCGV.js} +1 -1
  9. package/dist/chunks/{chunk-MAHXF73X.js → chunk-3L2YLLHC.js} +1 -1
  10. package/dist/chunks/{chunk-M5NOLAJ4.js → chunk-766B6IIX.js} +1 -1
  11. package/dist/chunks/{chunk-CPFNFVCL.js → chunk-7AB6QOKM.js} +1 -1
  12. package/dist/chunks/chunk-7N26744Z.js +1337 -0
  13. package/dist/chunks/{chunk-4CCY5OPH.js → chunk-BX4IGDGM.js} +349 -228
  14. package/dist/chunks/{chunk-XE5VSQ25.js → chunk-CKIZU3CI.js} +1 -1
  15. package/dist/chunks/{chunk-IEDUCUDV.js → chunk-DDUZ2VME.js} +39 -14
  16. package/dist/chunks/{chunk-YDUINEII.js → chunk-DQXBNALU.js} +6 -4
  17. package/dist/chunks/{chunk-ZGBBPJ6B.js → chunk-E3DRV4WI.js} +92 -1377
  18. package/dist/chunks/{chunk-AW5YINX6.js → chunk-ELA5VN3A.js} +36 -3
  19. package/dist/chunks/{chunk-HSYF5SI3.js → chunk-F45WFNLZ.js} +1 -1
  20. package/dist/chunks/{chunk-YCPUAG77.js → chunk-FBG4AMAX.js} +1 -1
  21. package/dist/chunks/chunk-G2S2QKKF.js +96 -0
  22. package/dist/chunks/{chunk-NJUPUGOE.js → chunk-HT2XWSAJ.js} +1 -1
  23. package/dist/chunks/chunk-I2XE3GMB.js +21 -0
  24. package/dist/chunks/{chunk-AQDWMAPM.js → chunk-KES53W3V.js} +11 -9
  25. package/dist/chunks/{chunk-XPKWKPWA.js → chunk-KXDWXXJH.js} +27 -1
  26. package/dist/chunks/chunk-MXLA3VQS.js +20 -0
  27. package/dist/chunks/{chunk-2FMPLU44.js → chunk-N22RS64U.js} +4 -3
  28. package/dist/chunks/{chunk-3QAUXPIR.js → chunk-NFZHW6HH.js} +224 -52
  29. package/dist/chunks/{chunk-UE3JUVUZ.js → chunk-PNSWZSLC.js} +2 -2
  30. package/dist/chunks/{chunk-2LBVX2H3.js → chunk-Q6OJHDZK.js} +2 -2
  31. package/dist/chunks/{chunk-Y5GTPWXB.js → chunk-QRRCK6VX.js} +2 -2
  32. package/dist/chunks/{chunk-EBLH23AQ.js → chunk-TEQKKTJQ.js} +4 -7
  33. package/dist/chunks/{chunk-62MH5KPX.js → chunk-TIBP3CPZ.js} +6 -6
  34. package/dist/chunks/{chunk-NJ6QXKQD.js → chunk-U6CTW37A.js} +1 -1
  35. package/dist/chunks/{chunk-4UYKSYKQ.js → chunk-UMA66MKW.js} +66 -2
  36. package/dist/chunks/chunk-WWPV6Z24.js +2910 -0
  37. package/dist/chunks/{chunk-4BUPRO5B.js → chunk-YTIUSEWE.js} +1 -1
  38. package/dist/chunks/{chunk-SJYAUEZR.js → chunk-YUISINFV.js} +3 -15
  39. package/dist/chunks/{clear-HWIKQ4NC.js → clear-W4AEVUND.js} +5 -5
  40. package/dist/chunks/{compile-vercel-config-U5NRIMZ2.js → compile-vercel-config-Q45PSZDQ.js} +2 -2
  41. package/dist/chunks/config-MZ3KLGOK.js +159 -0
  42. package/dist/chunks/{constants-3FSSR6E7.js → constants-T6BULVX6.js} +1 -1
  43. package/dist/chunks/{delete-NVMGVD5Z.js → delete-7NADCRED.js} +3 -3
  44. package/dist/chunks/{delete-FZCOUFGN.js → delete-NAZTL2IK.js} +5 -5
  45. package/dist/chunks/{disable-ERM2BWEQ.js → disable-SB224IIS.js} +3 -3
  46. package/dist/chunks/{discard-KM5OLEN4.js → discard-MME6PI7B.js} +3 -3
  47. package/dist/chunks/{edit-TOSB2EMI.js → edit-HKQEFIOY.js} +6 -6
  48. package/dist/chunks/{edit-HT3UTATZ.js → edit-NW4YBUR6.js} +4 -4
  49. package/dist/chunks/{enable-BQL6AOQV.js → enable-QEL5CXVD.js} +3 -3
  50. package/dist/chunks/{export-UOWQHOG3.js → export-XDOZTLG3.js} +3 -3
  51. package/dist/chunks/{image-F5SC6Q7Y.js → image-AJMRAAOW.js} +3 -3
  52. package/dist/chunks/import-builders-7UG32FQA.js +28 -0
  53. package/dist/chunks/{inspect-LGKOLH2O.js → inspect-4YTOMOOP.js} +6 -6
  54. package/dist/chunks/{inspect-5J5GSTOB.js → inspect-DGBKWCS4.js} +5 -5
  55. package/dist/chunks/{inspect-PZJM2CWT.js → inspect-JPZFHGAF.js} +8 -8
  56. package/dist/chunks/{inspect-GKJ6T5H4.js → inspect-T6HYEMLA.js} +5 -5
  57. package/dist/chunks/{inspect-35FU5R62.js → inspect-TW5DENBM.js} +7 -7
  58. package/dist/chunks/{list-ITFJYYQ2.js → list-ESW6P765.js} +10 -10
  59. package/dist/chunks/{list-2IIE7CAP.js → list-T7LXP6VX.js} +6 -6
  60. package/dist/chunks/{list-KZETH3ZE.js → list-YQ4LADLW.js} +4 -4
  61. package/dist/chunks/{login-BQPJCJEZ.js → login-VJESL6WK.js} +7 -7
  62. package/dist/chunks/{ls-7GHDK4MD.js → ls-2DYO6E4E.js} +14 -14
  63. package/dist/chunks/{ls-UXUEP54B.js → ls-4A6CGBPD.js} +5 -5
  64. package/dist/chunks/{ls-DL2LA35C.js → ls-5AQBMBOG.js} +5 -5
  65. package/dist/chunks/{ls-ZZFLH7PK.js → ls-5I2W7LZQ.js} +7 -7
  66. package/dist/chunks/{ls-YSFWSM6J.js → ls-Y46O3BCS.js} +5 -5
  67. package/dist/chunks/{open-ADNJQN5E.js → open-SZDSII6L.js} +4 -4
  68. package/dist/chunks/{permissions-72SZCBIY.js → permissions-HRR47E2L.js} +4 -4
  69. package/dist/chunks/{publish-OOAGSEBM.js → publish-D2QWFUP4.js} +3 -3
  70. package/dist/chunks/{push-B6TZDXNF.js → push-75R5ZZIW.js} +7 -7
  71. package/dist/chunks/{query-LZWS5TDH.js → query-LL2GMJWQ.js} +4 -4
  72. package/dist/chunks/{reorder-MRHFKPMK.js → reorder-GNCRV6CV.js} +3 -3
  73. package/dist/chunks/{reply-BKTJXO3B.js → reply-S3UUI6C6.js} +6 -6
  74. package/dist/chunks/{resolve-BKVGSGPN.js → resolve-PCBDK47N.js} +5 -5
  75. package/dist/chunks/{restore-USR7SKWV.js → restore-SXI5SHGJ.js} +3 -3
  76. package/dist/chunks/{rm-37MKKV3I.js → rm-574XTDSM.js} +5 -5
  77. package/dist/chunks/{rm-KUWPNZIS.js → rm-BEIAUTSF.js} +7 -7
  78. package/dist/chunks/{rm-VY3OHKFH.js → rm-YK2EGEPB.js} +5 -5
  79. package/dist/chunks/{rm-2UO6BT3A.js → rm-ZFWVI6JE.js} +7 -7
  80. package/dist/chunks/{rule-inspect-JVDOOTWK.js → rule-inspect-QDQUU3EO.js} +14 -21
  81. package/dist/chunks/{rules-NTBFZBIF.js → rules-FNA3NXZZ.js} +9 -6
  82. package/dist/chunks/{schema-6EZ72OVH.js → schema-5CASPRP6.js} +3 -3
  83. package/dist/chunks/schema-ZNPIMQL5.js +426 -0
  84. package/dist/chunks/{tags-HNPC63QA.js → tags-SRHDQUF6.js} +2 -2
  85. package/dist/chunks/{types-QTOA2BTQ.js → types-UWI4HETD.js} +1 -1
  86. package/dist/chunks/{update-LUYWNZP3.js → update-FSTNM3OX.js} +39 -7
  87. package/dist/commands/build/index.js +271 -2923
  88. package/dist/commands/deploy/index.js +35 -23
  89. package/dist/commands/dev/index.js +41 -18
  90. package/dist/commands/env/index.js +92 -153
  91. package/dist/commands/link/index.js +11 -11
  92. package/dist/commands/list/index.js +6 -6
  93. package/dist/commands-bulk.js +4953 -2881
  94. package/dist/index.js +22 -16
  95. package/dist/vc.js +11 -14
  96. package/dist/version.mjs +1 -1
  97. package/package.json +71 -65
  98. package/dist/chunks/chunk-2MAPZXVV.js +0 -206
  99. package/dist/chunks/{chunk-BUZRVER7.js → chunk-P65EEFTR.js} +3 -3
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  vcrCommand
9
- } from "./chunk-AW5YINX6.js";
9
+ } from "./chunk-ELA5VN3A.js";
10
10
  import {
11
11
  metricsCommand
12
12
  } from "./chunk-CSJBZKC5.js";
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-3KNPVXJ3.js";
22
22
  import {
23
23
  alertsCommand
24
- } from "./chunk-MAHXF73X.js";
24
+ } from "./chunk-3L2YLLHC.js";
25
25
  import {
26
26
  devCommand
27
27
  } from "./chunk-7QVJTI5H.js";
@@ -31,10 +31,10 @@ import {
31
31
  import {
32
32
  buildCommand,
33
33
  pullCommand
34
- } from "./chunk-YCPUAG77.js";
34
+ } from "./chunk-FBG4AMAX.js";
35
35
  import {
36
36
  envCommand
37
- } from "./chunk-4CCY5OPH.js";
37
+ } from "./chunk-BX4IGDGM.js";
38
38
  import {
39
39
  confirmOption,
40
40
  deploymentOption,
@@ -747,6 +747,13 @@ var createSubcommand = {
747
747
  argument: "PERIOD",
748
748
  deprecated: false,
749
749
  description: "Expiry for the key: 7d, 30d, 60d, 90d, 1y, or none (default: none)"
750
+ },
751
+ {
752
+ name: "zdr-exempt",
753
+ shorthand: null,
754
+ type: Boolean,
755
+ deprecated: false,
756
+ description: "Exempt the key from the team's ZDR-only model restriction (team owners only)"
750
757
  }
751
758
  ],
752
759
  examples: [
@@ -761,6 +768,10 @@ var createSubcommand = {
761
768
  {
762
769
  name: "Create a key that expires and alerts on spend",
763
770
  value: `${packageName} ai-gateway api-keys create --budget 500 --alert-thresholds 75,100 --expiration 90d`
771
+ },
772
+ {
773
+ name: "Create a ZDR-exempt key (team owners only)",
774
+ value: `${packageName} ai-gateway api-keys create --name escape-hatch --zdr-exempt --expiration 7d`
764
775
  }
765
776
  ]
766
777
  };
@@ -1070,6 +1081,13 @@ var setupSubcommand = {
1070
1081
  deprecated: false,
1071
1082
  description: "Do not write .bak backups of changed files"
1072
1083
  },
1084
+ {
1085
+ name: "no-session-migration",
1086
+ shorthand: null,
1087
+ type: Boolean,
1088
+ deprecated: false,
1089
+ description: "Do not copy existing Codex Desktop sessions for use with the Vercel AI Gateway provider."
1090
+ },
1073
1091
  {
1074
1092
  name: "no-keychain",
1075
1093
  shorthand: null,
@@ -2277,10 +2295,10 @@ var certsCommand = {
2277
2295
  var createSubcommand2 = {
2278
2296
  name: "create",
2279
2297
  aliases: [],
2280
- description: "Create a new connector",
2298
+ description: "Create a new connector\n\nAccepts a known service (slack, notion, okta) or the URL of an OAuth or MCP server (mcp.notion.com/mcp). Run `create <service> --help` to see how a specific service can be connected to.",
2281
2299
  arguments: [
2282
2300
  {
2283
- name: "type",
2301
+ name: "service",
2284
2302
  required: true
2285
2303
  }
2286
2304
  ],
@@ -2300,6 +2318,74 @@ var createSubcommand2 = {
2300
2318
  deprecated: false,
2301
2319
  description: "Enable webhook triggers for this connector"
2302
2320
  },
2321
+ {
2322
+ name: "trigger-event",
2323
+ shorthand: null,
2324
+ type: [String],
2325
+ argument: "EVENT",
2326
+ deprecated: false,
2327
+ description: "Webhook event to receive. Repeatable. Requires --triggers and replaces the provider's default events."
2328
+ },
2329
+ {
2330
+ name: "trigger-project",
2331
+ shorthand: null,
2332
+ type: String,
2333
+ argument: "PROJECT",
2334
+ deprecated: false,
2335
+ description: "Target a project by name or ID instead of the linked project. Requires --triggers."
2336
+ },
2337
+ {
2338
+ name: "trigger-path",
2339
+ shorthand: null,
2340
+ type: String,
2341
+ argument: "PATH",
2342
+ deprecated: false,
2343
+ description: "Set the path on the destination project that receives forwarded webhooks. Requires --triggers."
2344
+ },
2345
+ {
2346
+ name: "trigger-branch",
2347
+ shorthand: null,
2348
+ type: String,
2349
+ argument: "BRANCH",
2350
+ deprecated: false,
2351
+ description: "Target a specific git branch for the trigger destination. Requires --triggers."
2352
+ },
2353
+ {
2354
+ name: "trigger-environment",
2355
+ shorthand: null,
2356
+ type: String,
2357
+ argument: "ENV",
2358
+ deprecated: false,
2359
+ description: "Target a custom environment by slug or stable ID. Mutually exclusive with --trigger-branch and requires --triggers."
2360
+ },
2361
+ {
2362
+ name: "connection-method",
2363
+ shorthand: null,
2364
+ type: String,
2365
+ argument: "METHOD",
2366
+ deprecated: false,
2367
+ description: "How to connect to the service (e.g. oauth, mcp, api-key). Run without it to choose interactively; the error lists the valid values for a service."
2368
+ },
2369
+ {
2370
+ name: "target",
2371
+ shorthand: null,
2372
+ type: String,
2373
+ argument: "TARGET",
2374
+ deprecated: false,
2375
+ description: "Which of the service's products to connect to (e.g. api, mcp). Only needed when a service exposes more than one."
2376
+ },
2377
+ {
2378
+ name: "param",
2379
+ shorthand: null,
2380
+ type: [String],
2381
+ argument: "KEY=VALUE",
2382
+ deprecated: false,
2383
+ description: "Value for a connection method template field (e.g. domain=acme.okta.com). Repeatable."
2384
+ },
2385
+ {
2386
+ ...yesOption,
2387
+ description: "Skip the single-connection-method confirmation prompt"
2388
+ },
2303
2389
  {
2304
2390
  name: "data",
2305
2391
  shorthand: null,
@@ -2356,10 +2442,42 @@ var createSubcommand2 = {
2356
2442
  name: "Create with webhook triggers enabled",
2357
2443
  value: `${packageName} connect create slack --name my-bot --triggers`
2358
2444
  },
2445
+ {
2446
+ name: "Create with selected webhook events",
2447
+ value: `${packageName} connect create linear --name linear --triggers --trigger-event Issue --trigger-event Comment --trigger-event Project`
2448
+ },
2449
+ {
2450
+ name: "Create with a custom trigger path",
2451
+ value: `${packageName} connect create github --name github --triggers --trigger-path /eve/v1/github`
2452
+ },
2453
+ {
2454
+ name: "Create with branch-specific trigger routing",
2455
+ value: `${packageName} connect create github --name github --triggers --trigger-path /api/webhooks --trigger-branch main`
2456
+ },
2457
+ {
2458
+ name: "Create with trigger routing on another project",
2459
+ value: `${packageName} connect create github --name github --triggers --trigger-project my-api --trigger-path /api/webhooks`
2460
+ },
2359
2461
  {
2360
2462
  name: "Create with branding (icon and colors)",
2361
2463
  value: `${packageName} connect create slack --name my-bot --icon ./logo.png --background-color '#1A2B3C' --accent-color '#FF0066'`
2362
2464
  },
2465
+ {
2466
+ name: "Create with a specific connection method",
2467
+ value: `${packageName} connect create notion --connection-method mcp --name notion-mcp`
2468
+ },
2469
+ {
2470
+ name: "Create with an API key, reading it from a file",
2471
+ value: `${packageName} connect create notion --connection-method api-key --name notion --data @key.json`
2472
+ },
2473
+ {
2474
+ name: "Create from a connection method that needs template values",
2475
+ value: `${packageName} connect create okta --connection-method custom-server --param domain=acme.okta.com --param auth_server_id=default --name okta --data @creds.json`
2476
+ },
2477
+ {
2478
+ name: "Target a specific product of a service",
2479
+ value: `${packageName} connect create notion --target api --connection-method oauth --name notion --data @creds.json`
2480
+ },
2363
2481
  {
2364
2482
  name: "Create a non-managed connector from explicit data",
2365
2483
  value: `${packageName} connect create mcp.linear.app --name linear --data '{"clientId":"abc123"}'`
@@ -3605,6 +3723,13 @@ var domainsCommand = {
3605
3723
  };
3606
3724
 
3607
3725
  // src/commands/firewall/command.ts
3726
+ var teamLevelOption = {
3727
+ name: "team-level",
3728
+ shorthand: null,
3729
+ type: Boolean,
3730
+ deprecated: false,
3731
+ description: "Operate on the team-level firewall configuration, which applies to every project in the team. No linked project required. Cannot be combined with --project"
3732
+ };
3608
3733
  var overviewSubcommand = {
3609
3734
  name: "overview",
3610
3735
  aliases: [],
@@ -3634,6 +3759,7 @@ var diffSubcommand = {
3634
3759
  arguments: [],
3635
3760
  options: [
3636
3761
  projectOption,
3762
+ teamLevelOption,
3637
3763
  {
3638
3764
  name: "json",
3639
3765
  shorthand: null,
@@ -3646,6 +3772,10 @@ var diffSubcommand = {
3646
3772
  {
3647
3773
  name: "Show unpublished changes",
3648
3774
  value: `${packageName} firewall diff`
3775
+ },
3776
+ {
3777
+ name: "Show unpublished team-level changes",
3778
+ value: `${packageName} firewall diff --team-level`
3649
3779
  }
3650
3780
  ]
3651
3781
  };
@@ -3654,7 +3784,7 @@ var publishSubcommand = {
3654
3784
  aliases: [],
3655
3785
  description: "Publish all draft firewall changes to production, making them live immediately",
3656
3786
  arguments: [],
3657
- options: [projectOption, yesOption],
3787
+ options: [projectOption, teamLevelOption, yesOption],
3658
3788
  examples: [
3659
3789
  {
3660
3790
  name: "Publish draft changes",
@@ -3663,6 +3793,10 @@ var publishSubcommand = {
3663
3793
  {
3664
3794
  name: "Publish without confirmation",
3665
3795
  value: `${packageName} firewall publish --yes`
3796
+ },
3797
+ {
3798
+ name: "Publish team-level draft changes",
3799
+ value: `${packageName} firewall publish --team-level`
3666
3800
  }
3667
3801
  ]
3668
3802
  };
@@ -3671,7 +3805,7 @@ var discardSubcommand = {
3671
3805
  aliases: [],
3672
3806
  description: "Permanently discard all unpublished draft changes, reverting to the current production configuration",
3673
3807
  arguments: [],
3674
- options: [projectOption, yesOption],
3808
+ options: [projectOption, teamLevelOption, yesOption],
3675
3809
  examples: [
3676
3810
  {
3677
3811
  name: "Discard draft changes",
@@ -3795,6 +3929,7 @@ var ipBlocksListSubcommand = {
3795
3929
  arguments: [],
3796
3930
  options: [
3797
3931
  projectOption,
3932
+ teamLevelOption,
3798
3933
  {
3799
3934
  name: "json",
3800
3935
  shorthand: null,
@@ -3817,6 +3952,7 @@ var ipBlocksBlockSubcommand = {
3817
3952
  arguments: [{ name: "ip", required: true }],
3818
3953
  options: [
3819
3954
  projectOption,
3955
+ teamLevelOption,
3820
3956
  {
3821
3957
  name: "hostname",
3822
3958
  shorthand: null,
@@ -3855,6 +3991,7 @@ var ipBlocksUnblockSubcommand = {
3855
3991
  arguments: [{ name: "id-or-ip", required: true }],
3856
3992
  options: [
3857
3993
  projectOption,
3994
+ teamLevelOption,
3858
3995
  {
3859
3996
  name: "hostname",
3860
3997
  shorthand: null,
@@ -3912,6 +4049,7 @@ var rulesListSubcommand2 = {
3912
4049
  arguments: [],
3913
4050
  options: [
3914
4051
  projectOption,
4052
+ teamLevelOption,
3915
4053
  {
3916
4054
  name: "expand",
3917
4055
  shorthand: "e",
@@ -3935,6 +4073,10 @@ var rulesListSubcommand2 = {
3935
4073
  {
3936
4074
  name: "List rules with full condition details",
3937
4075
  value: `${packageName} firewall rules list --expand`
4076
+ },
4077
+ {
4078
+ name: "List team-level rules",
4079
+ value: `${packageName} firewall rules list --team-level`
3938
4080
  }
3939
4081
  ]
3940
4082
  };
@@ -3945,6 +4087,7 @@ var rulesInspectSubcommand = {
3945
4087
  arguments: [{ name: "name-or-id", required: true }],
3946
4088
  options: [
3947
4089
  projectOption,
4090
+ teamLevelOption,
3948
4091
  {
3949
4092
  name: "json",
3950
4093
  shorthand: null,
@@ -3971,6 +4114,7 @@ var rulesAddSubcommand2 = {
3971
4114
  arguments: [{ name: "name", required: false }],
3972
4115
  options: [
3973
4116
  projectOption,
4117
+ teamLevelOption,
3974
4118
  {
3975
4119
  name: "ai",
3976
4120
  shorthand: null,
@@ -4108,6 +4252,7 @@ var rulesEditSubcommand2 = {
4108
4252
  arguments: [{ name: "name-or-id", required: true }],
4109
4253
  options: [
4110
4254
  projectOption,
4255
+ teamLevelOption,
4111
4256
  {
4112
4257
  name: "ai",
4113
4258
  shorthand: null,
@@ -4257,7 +4402,7 @@ var rulesEnableSubcommand = {
4257
4402
  aliases: [],
4258
4403
  description: "Enable a disabled custom firewall rule. Stages a draft change \u2014 run `publish` to make it live",
4259
4404
  arguments: [{ name: "name-or-id", required: true }],
4260
- options: [projectOption, yesOption],
4405
+ options: [projectOption, teamLevelOption, yesOption],
4261
4406
  examples: [
4262
4407
  {
4263
4408
  name: "Enable a rule",
@@ -4270,7 +4415,7 @@ var rulesDisableSubcommand = {
4270
4415
  aliases: [],
4271
4416
  description: "Disable a custom firewall rule without removing it. Stages a draft change \u2014 run `publish` to make it live",
4272
4417
  arguments: [{ name: "name-or-id", required: true }],
4273
- options: [projectOption, yesOption],
4418
+ options: [projectOption, teamLevelOption, yesOption],
4274
4419
  examples: [
4275
4420
  {
4276
4421
  name: "Disable a rule",
@@ -4283,7 +4428,7 @@ var rulesRemoveSubcommand2 = {
4283
4428
  aliases: ["rm", "delete"],
4284
4429
  description: "Remove a custom firewall rule. Stages a draft change \u2014 run `publish` to make it live",
4285
4430
  arguments: [{ name: "name-or-id", required: true }],
4286
- options: [projectOption, yesOption],
4431
+ options: [projectOption, teamLevelOption, yesOption],
4287
4432
  examples: [
4288
4433
  {
4289
4434
  name: "Remove a rule",
@@ -4298,6 +4443,7 @@ var rulesReorderSubcommand = {
4298
4443
  arguments: [{ name: "name-or-id", required: true }],
4299
4444
  options: [
4300
4445
  projectOption,
4446
+ teamLevelOption,
4301
4447
  {
4302
4448
  name: "position",
4303
4449
  shorthand: null,
@@ -5608,6 +5754,34 @@ var archiveSubcommand = {
5608
5754
  }
5609
5755
  ]
5610
5756
  };
5757
+ var unarchiveSubcommand = {
5758
+ name: "unarchive",
5759
+ aliases: [],
5760
+ description: "Unarchive a feature flag",
5761
+ arguments: [
5762
+ {
5763
+ name: "flag",
5764
+ required: true
5765
+ }
5766
+ ],
5767
+ options: [
5768
+ projectOption,
5769
+ {
5770
+ ...yesOption,
5771
+ description: "Skip the confirmation prompt when unarchiving a flag"
5772
+ }
5773
+ ],
5774
+ examples: [
5775
+ {
5776
+ name: "Unarchive a feature flag",
5777
+ value: `${packageName} flags unarchive my-feature-flag`
5778
+ },
5779
+ {
5780
+ name: "Unarchive without confirmation",
5781
+ value: `${packageName} flags unarchive my-feature-flag --yes`
5782
+ }
5783
+ ]
5784
+ };
5611
5785
  var disableSubcommand = {
5612
5786
  name: "disable",
5613
5787
  aliases: [],
@@ -6138,6 +6312,7 @@ var flagsCommand = {
6138
6312
  rolloutSubcommand,
6139
6313
  removeSubcommand8,
6140
6314
  archiveSubcommand,
6315
+ unarchiveSubcommand,
6141
6316
  disableSubcommand,
6142
6317
  enableSubcommand,
6143
6318
  rulesSubcommand3,
@@ -7678,7 +7853,7 @@ var CommandTimeout = "5 minutes";
7678
7853
  var logsCommand = {
7679
7854
  name: "logs",
7680
7855
  aliases: ["log"],
7681
- description: "Display request logs for a project.\n\nWith --follow, stream live runtime logs from a deployment. When no deployment is specified, resolves in order: latest deployment on the current git branch, then your latest deployment, then the latest production deployment. Use --environment production to always stream the latest production deployment.\n\nSource types: \u03BB = serverless, \u03B5 = edge/middleware, \u25C7 = static/external",
7856
+ description: "Display request logs for a project.\n\nUse --follow to stream live runtime logs from a deployment. By default, --follow prefers the active production deployment and falls back to your latest READY deployment.\n\nSource types: \u03BB = serverless, \u03B5 = edge/middleware, \u25C7 = static/external",
7682
7857
  arguments: [
7683
7858
  {
7684
7859
  name: "url|deploymentId",
@@ -7699,7 +7874,7 @@ var logsCommand = {
7699
7874
  shorthand: null,
7700
7875
  type: String,
7701
7876
  deprecated: false,
7702
- description: "Filter by environment: production or preview. With --follow, selects which environment to stream (production always streams the latest production deployment)"
7877
+ description: "Filter by environment: production or preview; with --follow, select the active production deployment or your latest preview deployment"
7703
7878
  },
7704
7879
  {
7705
7880
  name: "level",
@@ -7755,7 +7930,7 @@ var logsCommand = {
7755
7930
  shorthand: "f",
7756
7931
  type: Boolean,
7757
7932
  deprecated: false,
7758
- description: "Stream live runtime logs. Without a deployment, follows the latest deployment on the current git branch, then your latest deployment, then the latest production deployment"
7933
+ description: "Stream live runtime logs from a deployment"
7759
7934
  },
7760
7935
  {
7761
7936
  name: "no-follow",
@@ -7797,80 +7972,68 @@ var logsCommand = {
7797
7972
  shorthand: "b",
7798
7973
  type: String,
7799
7974
  deprecated: false,
7800
- description: "Filter by git branch (defaults to current branch for a linked project)"
7975
+ description: "Filter by Git branch; with --follow, require a matching READY deployment"
7801
7976
  },
7802
7977
  {
7803
7978
  name: "no-branch",
7804
7979
  shorthand: null,
7805
7980
  type: Boolean,
7806
- deprecated: false,
7807
- description: "Disable auto-detection of git branch"
7981
+ deprecated: true,
7982
+ description: "Deprecated no-op; use --branch to filter by branch"
7808
7983
  }
7809
7984
  ],
7810
7985
  examples: [
7811
7986
  {
7812
- name: "Stream live logs for your most recent deployment",
7813
- value: `${packageName} logs --follow`
7814
- },
7815
- {
7816
- name: "Stream live logs for the latest production deployment",
7817
- value: `${packageName} logs --follow --environment production`
7818
- },
7819
- {
7820
- name: "Stream live logs for a deployment URL",
7821
- value: `${packageName} logs https://my-app-xxxxx.vercel.app --follow`
7822
- },
7823
- {
7824
- name: "Stream live logs for a deployment ID",
7825
- value: `${packageName} logs dpl_xxxxx --follow`
7987
+ name: "Display recent request logs for the linked project",
7988
+ value: `${packageName} logs`
7826
7989
  },
7827
7990
  {
7828
- name: "Stream logs for a specific project",
7829
- value: `${packageName} logs --project my-app --follow`
7991
+ name: "Display request logs for a specific project",
7992
+ value: `${packageName} logs --project my-app`
7830
7993
  },
7831
7994
  {
7832
- name: "Display recent logs for the linked project",
7833
- value: `${packageName} logs`
7834
- },
7835
- {
7836
- name: "Display error logs from the last hour",
7995
+ name: "Display request error logs from the last hour",
7837
7996
  value: `${packageName} logs --level error --since 1h`
7838
7997
  },
7839
7998
  {
7840
- name: "Display logs for a specific deployment (historical)",
7999
+ name: "Display request logs for a specific deployment",
7841
8000
  value: `${packageName} logs dpl_xxxxx`
7842
8001
  },
7843
8002
  {
7844
- name: "Filter logs by status code and output as JSON",
8003
+ name: "Filter request logs by status code and output as JSON",
7845
8004
  value: `${packageName} logs --status-code 500 --json`
7846
8005
  },
7847
8006
  {
7848
- name: "Search logs and pipe to jq",
7849
- value: `${packageName} logs --query "timeout" --json | jq '.message'`
7850
- },
7851
- {
7852
- name: "Use advanced search query with filters",
8007
+ name: "Search request logs by status and message",
7853
8008
  value: `${packageName} logs --query 'status:500 error' --json | jq '.message'`
7854
8009
  },
7855
8010
  {
7856
- name: "Display production logs only",
8011
+ name: "Display request logs from production",
7857
8012
  value: `${packageName} logs --environment production`
7858
8013
  },
7859
8014
  {
7860
- name: "Display logs for a specific request",
8015
+ name: "Display request logs for a specific request",
7861
8016
  value: `${packageName} logs --request-id req_xxxxx`
7862
8017
  },
7863
8018
  {
7864
- name: "Display logs with full message details",
8019
+ name: "Display request logs with full message details",
7865
8020
  value: `${packageName} logs --expand`
7866
8021
  },
7867
8022
  {
7868
- name: "Display logs for a specific branch",
8023
+ name: "Display request logs for a specific branch",
7869
8024
  value: `${packageName} logs --branch feature-x`
7870
8025
  },
7871
8026
  {
7872
- name: "Display logs for all branches (disable auto-detection)",
7873
- value: `${packageName} logs --no-branch`
8027
+ name: "Stream runtime logs for the active production deployment",
8028
+ value: `${packageName} logs --follow`
8029
+ },
8030
+ {
8031
+ name: "Stream runtime logs for your latest preview deployment",
8032
+ value: `${packageName} logs --follow --environment preview`
8033
+ },
8034
+ {
8035
+ name: "Stream runtime logs for a specific deployment",
8036
+ value: `${packageName} logs dpl_xxxxx --follow`
7874
8037
  }
7875
8038
  ]
7876
8039
  };
@@ -8409,12 +8572,20 @@ var updateSubcommand5 = {
8409
8572
  description: "Set the output directory",
8410
8573
  deprecated: false
8411
8574
  },
8575
+ {
8576
+ name: "root-directory",
8577
+ shorthand: null,
8578
+ type: String,
8579
+ argument: "DIR",
8580
+ description: "Set the project root directory",
8581
+ deprecated: false
8582
+ },
8412
8583
  {
8413
8584
  name: "auto-detect",
8414
8585
  shorthand: null,
8415
8586
  type: [String],
8416
8587
  argument: "SETTING",
8417
- description: "Reset a setting to automatic detection; repeat for build-command, dev-command, install-command, or output-directory",
8588
+ description: "Reset a setting to automatic detection; repeat for build-command, dev-command, install-command, output-directory, or root-directory",
8418
8589
  deprecated: false
8419
8590
  },
8420
8591
  formatOption,
@@ -11091,6 +11262,7 @@ export {
11091
11262
  rulesSubcommand3,
11092
11263
  removeSubcommand8,
11093
11264
  archiveSubcommand,
11265
+ unarchiveSubcommand,
11094
11266
  disableSubcommand,
11095
11267
  enableSubcommand,
11096
11268
  segmentsListSubcommand,
@@ -8,7 +8,7 @@ import {
8
8
  getLocalPathConfig,
9
9
  isPromptBackError,
10
10
  isPromptCanceledError
11
- } from "./chunk-CPFNFVCL.js";
11
+ } from "./chunk-7AB6QOKM.js";
12
12
  import {
13
13
  table
14
14
  } from "./chunk-KT4XXKJK.js";
@@ -46,7 +46,7 @@ import {
46
46
  selectAndParseRemoteUrl,
47
47
  selectOrg,
48
48
  writeServicesConfig
49
- } from "./chunk-4CCY5OPH.js";
49
+ } from "./chunk-BX4IGDGM.js";
50
50
  import {
51
51
  printError
52
52
  } from "./chunk-KBEX5MYS.js";
@@ -6,12 +6,12 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  outputError
9
- } from "./chunk-BUZRVER7.js";
9
+ } from "./chunk-P65EEFTR.js";
10
10
  import {
11
11
  getLinkedProject,
12
12
  getProjectByNameOrId,
13
13
  getScope
14
- } from "./chunk-4CCY5OPH.js";
14
+ } from "./chunk-BX4IGDGM.js";
15
15
  import {
16
16
  printError
17
17
  } from "./chunk-KBEX5MYS.js";
@@ -6,12 +6,12 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  resolveAlertsScope
9
- } from "./chunk-YDUINEII.js";
9
+ } from "./chunk-DQXBNALU.js";
10
10
  import {
11
11
  handleValidationError,
12
12
  outputError,
13
13
  validateAllProjectMutualExclusivity
14
- } from "./chunk-BUZRVER7.js";
14
+ } from "./chunk-P65EEFTR.js";
15
15
  import {
16
16
  AGENT_REASON,
17
17
  buildCommandWithGlobalFlags,
@@ -65,21 +65,18 @@ function humanizeReference(value, opts = {}) {
65
65
  return opts.case === "title" ? label : label.toLowerCase();
66
66
  }).join(" / ");
67
67
  }
68
- function formatRuleScope(projectId, {
68
+ function formatRuleScope(rule, {
69
69
  projectIdMaxLength = 48,
70
70
  filterMaxLength = 80
71
71
  } = {}) {
72
+ const { projectId } = rule;
72
73
  if (!projectId) {
73
74
  return "team-wide";
74
75
  }
75
- const projectIdMatch = projectId.match(/^projectId eq '([^']+)'$/);
76
- if (projectIdMatch?.[1]) {
77
- return `project: ${truncateMiddle(projectIdMatch[1], projectIdMaxLength)}`;
78
- }
79
- if (!/\s/.test(projectId)) {
76
+ if (isCustomAlertRule(rule)) {
80
77
  return `project: ${truncateMiddle(projectId, projectIdMaxLength)}`;
81
78
  }
82
- return `project filter: ${truncateMiddle(projectId, filterMaxLength)}`;
79
+ return truncateMiddle(projectId, filterMaxLength);
83
80
  }
84
81
  function isCustomAlertRule(rule) {
85
82
  return Boolean(rule.customAlert) || Boolean(
@@ -9,10 +9,10 @@ import {
9
9
  } from "./chunk-G75NFPIT.js";
10
10
  import {
11
11
  outputError
12
- } from "./chunk-BUZRVER7.js";
12
+ } from "./chunk-P65EEFTR.js";
13
13
  import {
14
14
  validateJsonOutput
15
- } from "./chunk-XPKWKPWA.js";
15
+ } from "./chunk-KXDWXXJH.js";
16
16
  import {
17
17
  require_execa
18
18
  } from "./chunk-R6IGDGX3.js";
@@ -20,12 +20,15 @@ import {
20
20
  getLinkedProject,
21
21
  getProjectByNameOrId,
22
22
  getScope
23
- } from "./chunk-4CCY5OPH.js";
23
+ } from "./chunk-BX4IGDGM.js";
24
24
  import {
25
25
  AGENT_REASON,
26
26
  buildCommandWithGlobalFlags,
27
27
  outputAgentError
28
28
  } from "./chunk-TJJ562C5.js";
29
+ import {
30
+ require_ms
31
+ } from "./chunk-GGP5R3FU.js";
29
32
  import {
30
33
  ProjectNotFound,
31
34
  isAPIError,
@@ -35,9 +38,6 @@ import {
35
38
  import {
36
39
  output_manager_default
37
40
  } from "./chunk-OX7KI3LF.js";
38
- import {
39
- require_ms
40
- } from "./chunk-GGP5R3FU.js";
41
41
  import {
42
42
  __toESM
43
43
  } from "./chunk-TZ2YI2VH.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_lib
9
- } from "./chunk-4CCY5OPH.js";
9
+ } from "./chunk-BX4IGDGM.js";
10
10
  import {
11
11
  isNativeBinaryInstall
12
12
  } from "./chunk-ECCWJHC6.js";