vercel 58.4.4 → 58.7.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.
- package/dist/chunks/{add-245XOFJO.js → add-I7X6NXYD.js} +4 -4
- package/dist/chunks/{add-P7WBQMBW.js → add-KMRFKOPJ.js} +44 -9
- package/dist/chunks/{add-XH24V5VU.js → add-USFLACJX.js} +4 -4
- package/dist/chunks/{build-M7NJYJPE.js → build-GNX3QE6Q.js} +4 -4
- package/dist/chunks/{chunk-WR7JTCGL.js → chunk-3BU2UCGV.js} +1 -1
- package/dist/chunks/{chunk-MAHXF73X.js → chunk-3L2YLLHC.js} +1 -1
- package/dist/chunks/{chunk-ZGBBPJ6B.js → chunk-4XKF7JOF.js} +92 -1377
- package/dist/chunks/{chunk-2LBVX2H3.js → chunk-5SZ6VX2H.js} +2 -2
- package/dist/chunks/{chunk-2MAPZXVV.js → chunk-62SBYAED.js} +5 -5
- package/dist/chunks/{chunk-UE3JUVUZ.js → chunk-74XVGG52.js} +2 -2
- package/dist/chunks/{chunk-2FMPLU44.js → chunk-7KUQ7BHI.js} +2 -2
- package/dist/chunks/{chunk-YDUINEII.js → chunk-7SXWLTXT.js} +6 -4
- package/dist/chunks/{chunk-M5NOLAJ4.js → chunk-BIGFTNW6.js} +1 -1
- package/dist/chunks/{chunk-YCPUAG77.js → chunk-CDYBV7YA.js} +1 -1
- package/dist/chunks/{chunk-4BUPRO5B.js → chunk-D6SC2UJH.js} +1 -1
- package/dist/chunks/{chunk-62MH5KPX.js → chunk-DHTB5D3E.js} +5 -5
- package/dist/chunks/{chunk-NJ6QXKQD.js → chunk-H3KETQAA.js} +1 -1
- package/dist/chunks/{chunk-NJUPUGOE.js → chunk-HT2XWSAJ.js} +1 -1
- package/dist/chunks/chunk-I2XE3GMB.js +21 -0
- package/dist/chunks/chunk-LC5BYUUP.js +1337 -0
- package/dist/chunks/{chunk-SJYAUEZR.js → chunk-MNZUPMZZ.js} +3 -15
- package/dist/chunks/chunk-MXLA3VQS.js +20 -0
- package/dist/chunks/{chunk-XE5VSQ25.js → chunk-NI4DNP3D.js} +1 -1
- package/dist/chunks/{chunk-Y5GTPWXB.js → chunk-NOMQUVGM.js} +2 -2
- package/dist/chunks/{chunk-AQDWMAPM.js → chunk-NYKWLQQM.js} +10 -8
- package/dist/chunks/{chunk-4CCY5OPH.js → chunk-NZ6GDMPB.js} +306 -217
- package/dist/chunks/chunk-TE5MIANG.js +96 -0
- package/dist/chunks/{chunk-EBLH23AQ.js → chunk-TEQKKTJQ.js} +4 -7
- package/dist/chunks/{chunk-2WILSD7J.js → chunk-TNTJXJSE.js} +1 -1
- package/dist/chunks/{chunk-IEDUCUDV.js → chunk-UAVZOOOL.js} +10 -8
- package/dist/chunks/{chunk-4UYKSYKQ.js → chunk-UMA66MKW.js} +66 -2
- package/dist/chunks/{chunk-CPFNFVCL.js → chunk-UME4MVFU.js} +1 -1
- package/dist/chunks/{chunk-HSYF5SI3.js → chunk-YR6M7ZIU.js} +1 -1
- package/dist/chunks/{chunk-3QAUXPIR.js → chunk-ZZZEJXHD.js} +172 -51
- package/dist/chunks/{clear-HWIKQ4NC.js → clear-ERVHWAHX.js} +4 -4
- package/dist/chunks/{compile-vercel-config-U5NRIMZ2.js → compile-vercel-config-PM5ID4CV.js} +2 -2
- package/dist/chunks/{constants-3FSSR6E7.js → constants-T6BULVX6.js} +1 -1
- package/dist/chunks/{delete-NVMGVD5Z.js → delete-GMVIUCQV.js} +3 -3
- package/dist/chunks/{delete-FZCOUFGN.js → delete-XB24AZGV.js} +4 -4
- package/dist/chunks/{disable-ERM2BWEQ.js → disable-JJZZQ4IZ.js} +3 -3
- package/dist/chunks/{discard-KM5OLEN4.js → discard-CGAS2MSK.js} +3 -3
- package/dist/chunks/{edit-HT3UTATZ.js → edit-RKUUUBQF.js} +4 -4
- package/dist/chunks/{edit-TOSB2EMI.js → edit-TFZDCJTL.js} +5 -5
- package/dist/chunks/{enable-BQL6AOQV.js → enable-UXRVQO6C.js} +3 -3
- package/dist/chunks/{export-UOWQHOG3.js → export-WQE3UU4V.js} +3 -3
- package/dist/chunks/{image-F5SC6Q7Y.js → image-HV7N6RTK.js} +3 -3
- package/dist/chunks/import-builders-IEVZ7KYP.js +28 -0
- package/dist/chunks/{inspect-PZJM2CWT.js → inspect-4BXZOMC2.js} +7 -7
- package/dist/chunks/{inspect-35FU5R62.js → inspect-DT2PX6LB.js} +4 -4
- package/dist/chunks/{inspect-5J5GSTOB.js → inspect-E3YSH5BV.js} +4 -4
- package/dist/chunks/{inspect-GKJ6T5H4.js → inspect-NADJYMSZ.js} +4 -4
- package/dist/chunks/{inspect-LGKOLH2O.js → inspect-VDQEM3E6.js} +5 -5
- package/dist/chunks/{list-KZETH3ZE.js → list-5PLKF2GL.js} +3 -3
- package/dist/chunks/{list-ITFJYYQ2.js → list-ARM4RM22.js} +9 -9
- package/dist/chunks/{list-2IIE7CAP.js → list-RVE2NAC5.js} +5 -5
- package/dist/chunks/{login-BQPJCJEZ.js → login-VHGNOKBB.js} +4 -4
- package/dist/chunks/{ls-7GHDK4MD.js → ls-4QRIPSBC.js} +13 -13
- package/dist/chunks/{ls-DL2LA35C.js → ls-IVVP4H24.js} +4 -4
- package/dist/chunks/{ls-UXUEP54B.js → ls-OTCUUI4L.js} +4 -4
- package/dist/chunks/{ls-YSFWSM6J.js → ls-QBKFZC52.js} +4 -4
- package/dist/chunks/{ls-ZZFLH7PK.js → ls-YME2AL47.js} +4 -4
- package/dist/chunks/{open-ADNJQN5E.js → open-KYVW2GTM.js} +4 -4
- package/dist/chunks/{permissions-72SZCBIY.js → permissions-BLHKOJDO.js} +4 -4
- package/dist/chunks/{publish-OOAGSEBM.js → publish-4BKTL25X.js} +3 -3
- package/dist/chunks/{push-B6TZDXNF.js → push-IJFWOWD7.js} +4 -4
- package/dist/chunks/{query-LZWS5TDH.js → query-VIV66DLZ.js} +3 -3
- package/dist/chunks/{reorder-MRHFKPMK.js → reorder-C44IJZNE.js} +3 -3
- package/dist/chunks/{reply-BKTJXO3B.js → reply-M6WBMKBN.js} +5 -5
- package/dist/chunks/{resolve-BKVGSGPN.js → resolve-44ICWDRT.js} +4 -4
- package/dist/chunks/{restore-USR7SKWV.js → restore-ACDVNSTC.js} +3 -3
- package/dist/chunks/{rm-2UO6BT3A.js → rm-K2FDC5CL.js} +6 -6
- package/dist/chunks/{rm-37MKKV3I.js → rm-P2ILGP4I.js} +4 -4
- package/dist/chunks/{rm-VY3OHKFH.js → rm-Q7VXI345.js} +4 -4
- package/dist/chunks/{rm-KUWPNZIS.js → rm-RO3R3MZT.js} +4 -4
- package/dist/chunks/{rule-inspect-JVDOOTWK.js → rule-inspect-JGKJXOUD.js} +13 -20
- package/dist/chunks/{rules-NTBFZBIF.js → rules-BRTF5HJP.js} +9 -6
- package/dist/chunks/schema-T7RNRNKT.js +426 -0
- package/dist/chunks/{schema-6EZ72OVH.js → schema-Z3L5ZOEE.js} +2 -2
- package/dist/chunks/{tags-HNPC63QA.js → tags-BPHVFK53.js} +2 -2
- package/dist/chunks/{update-LUYWNZP3.js → update-5KQU4HCK.js} +38 -6
- package/dist/commands/build/index.js +65 -24
- package/dist/commands/deploy/index.js +24 -17
- package/dist/commands/dev/index.js +41 -18
- package/dist/commands/env/index.js +89 -150
- package/dist/commands/link/index.js +9 -9
- package/dist/commands/list/index.js +5 -5
- package/dist/commands-bulk.js +3183 -2199
- package/dist/index.js +12 -11
- package/dist/vc.js +11 -14
- package/dist/version.mjs +1 -1
- package/package.json +54 -48
- package/dist/chunks/{chunk-BUZRVER7.js → chunk-P65EEFTR.js} +3 -3
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-3KNPVXJ3.js";
|
|
22
22
|
import {
|
|
23
23
|
alertsCommand
|
|
24
|
-
} from "./chunk-
|
|
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-
|
|
34
|
+
} from "./chunk-CDYBV7YA.js";
|
|
35
35
|
import {
|
|
36
36
|
envCommand
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-NZ6GDMPB.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
|
};
|
|
@@ -2277,10 +2288,10 @@ var certsCommand = {
|
|
|
2277
2288
|
var createSubcommand2 = {
|
|
2278
2289
|
name: "create",
|
|
2279
2290
|
aliases: [],
|
|
2280
|
-
description: "Create a new connector",
|
|
2291
|
+
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
2292
|
arguments: [
|
|
2282
2293
|
{
|
|
2283
|
-
name: "
|
|
2294
|
+
name: "service",
|
|
2284
2295
|
required: true
|
|
2285
2296
|
}
|
|
2286
2297
|
],
|
|
@@ -2300,6 +2311,42 @@ var createSubcommand2 = {
|
|
|
2300
2311
|
deprecated: false,
|
|
2301
2312
|
description: "Enable webhook triggers for this connector"
|
|
2302
2313
|
},
|
|
2314
|
+
{
|
|
2315
|
+
name: "trigger-event",
|
|
2316
|
+
shorthand: null,
|
|
2317
|
+
type: [String],
|
|
2318
|
+
argument: "EVENT",
|
|
2319
|
+
deprecated: false,
|
|
2320
|
+
description: "Webhook event to receive. Repeatable. Requires --triggers and replaces the provider's default events."
|
|
2321
|
+
},
|
|
2322
|
+
{
|
|
2323
|
+
name: "connection-method",
|
|
2324
|
+
shorthand: null,
|
|
2325
|
+
type: String,
|
|
2326
|
+
argument: "METHOD",
|
|
2327
|
+
deprecated: false,
|
|
2328
|
+
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."
|
|
2329
|
+
},
|
|
2330
|
+
{
|
|
2331
|
+
name: "target",
|
|
2332
|
+
shorthand: null,
|
|
2333
|
+
type: String,
|
|
2334
|
+
argument: "TARGET",
|
|
2335
|
+
deprecated: false,
|
|
2336
|
+
description: "Which of the service's products to connect to (e.g. api, mcp). Only needed when a service exposes more than one."
|
|
2337
|
+
},
|
|
2338
|
+
{
|
|
2339
|
+
name: "param",
|
|
2340
|
+
shorthand: null,
|
|
2341
|
+
type: [String],
|
|
2342
|
+
argument: "KEY=VALUE",
|
|
2343
|
+
deprecated: false,
|
|
2344
|
+
description: "Value for a connection method template field (e.g. domain=acme.okta.com). Repeatable."
|
|
2345
|
+
},
|
|
2346
|
+
{
|
|
2347
|
+
...yesOption,
|
|
2348
|
+
description: "Skip the single-connection-method confirmation prompt"
|
|
2349
|
+
},
|
|
2303
2350
|
{
|
|
2304
2351
|
name: "data",
|
|
2305
2352
|
shorthand: null,
|
|
@@ -2356,10 +2403,30 @@ var createSubcommand2 = {
|
|
|
2356
2403
|
name: "Create with webhook triggers enabled",
|
|
2357
2404
|
value: `${packageName} connect create slack --name my-bot --triggers`
|
|
2358
2405
|
},
|
|
2406
|
+
{
|
|
2407
|
+
name: "Create with selected webhook events",
|
|
2408
|
+
value: `${packageName} connect create linear --name linear --triggers --trigger-event Issue --trigger-event Comment --trigger-event Project`
|
|
2409
|
+
},
|
|
2359
2410
|
{
|
|
2360
2411
|
name: "Create with branding (icon and colors)",
|
|
2361
2412
|
value: `${packageName} connect create slack --name my-bot --icon ./logo.png --background-color '#1A2B3C' --accent-color '#FF0066'`
|
|
2362
2413
|
},
|
|
2414
|
+
{
|
|
2415
|
+
name: "Create with a specific connection method",
|
|
2416
|
+
value: `${packageName} connect create notion --connection-method mcp --name notion-mcp`
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
name: "Create with an API key, reading it from a file",
|
|
2420
|
+
value: `${packageName} connect create notion --connection-method api-key --name notion --data @key.json`
|
|
2421
|
+
},
|
|
2422
|
+
{
|
|
2423
|
+
name: "Create from a connection method that needs template values",
|
|
2424
|
+
value: `${packageName} connect create okta --connection-method custom-server --param domain=acme.okta.com --param auth_server_id=default --name okta --data @creds.json`
|
|
2425
|
+
},
|
|
2426
|
+
{
|
|
2427
|
+
name: "Target a specific product of a service",
|
|
2428
|
+
value: `${packageName} connect create notion --target api --connection-method oauth --name notion --data @creds.json`
|
|
2429
|
+
},
|
|
2363
2430
|
{
|
|
2364
2431
|
name: "Create a non-managed connector from explicit data",
|
|
2365
2432
|
value: `${packageName} connect create mcp.linear.app --name linear --data '{"clientId":"abc123"}'`
|
|
@@ -3605,6 +3672,13 @@ var domainsCommand = {
|
|
|
3605
3672
|
};
|
|
3606
3673
|
|
|
3607
3674
|
// src/commands/firewall/command.ts
|
|
3675
|
+
var teamLevelOption = {
|
|
3676
|
+
name: "team-level",
|
|
3677
|
+
shorthand: null,
|
|
3678
|
+
type: Boolean,
|
|
3679
|
+
deprecated: false,
|
|
3680
|
+
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"
|
|
3681
|
+
};
|
|
3608
3682
|
var overviewSubcommand = {
|
|
3609
3683
|
name: "overview",
|
|
3610
3684
|
aliases: [],
|
|
@@ -3634,6 +3708,7 @@ var diffSubcommand = {
|
|
|
3634
3708
|
arguments: [],
|
|
3635
3709
|
options: [
|
|
3636
3710
|
projectOption,
|
|
3711
|
+
teamLevelOption,
|
|
3637
3712
|
{
|
|
3638
3713
|
name: "json",
|
|
3639
3714
|
shorthand: null,
|
|
@@ -3646,6 +3721,10 @@ var diffSubcommand = {
|
|
|
3646
3721
|
{
|
|
3647
3722
|
name: "Show unpublished changes",
|
|
3648
3723
|
value: `${packageName} firewall diff`
|
|
3724
|
+
},
|
|
3725
|
+
{
|
|
3726
|
+
name: "Show unpublished team-level changes",
|
|
3727
|
+
value: `${packageName} firewall diff --team-level`
|
|
3649
3728
|
}
|
|
3650
3729
|
]
|
|
3651
3730
|
};
|
|
@@ -3654,7 +3733,7 @@ var publishSubcommand = {
|
|
|
3654
3733
|
aliases: [],
|
|
3655
3734
|
description: "Publish all draft firewall changes to production, making them live immediately",
|
|
3656
3735
|
arguments: [],
|
|
3657
|
-
options: [projectOption, yesOption],
|
|
3736
|
+
options: [projectOption, teamLevelOption, yesOption],
|
|
3658
3737
|
examples: [
|
|
3659
3738
|
{
|
|
3660
3739
|
name: "Publish draft changes",
|
|
@@ -3663,6 +3742,10 @@ var publishSubcommand = {
|
|
|
3663
3742
|
{
|
|
3664
3743
|
name: "Publish without confirmation",
|
|
3665
3744
|
value: `${packageName} firewall publish --yes`
|
|
3745
|
+
},
|
|
3746
|
+
{
|
|
3747
|
+
name: "Publish team-level draft changes",
|
|
3748
|
+
value: `${packageName} firewall publish --team-level`
|
|
3666
3749
|
}
|
|
3667
3750
|
]
|
|
3668
3751
|
};
|
|
@@ -3671,7 +3754,7 @@ var discardSubcommand = {
|
|
|
3671
3754
|
aliases: [],
|
|
3672
3755
|
description: "Permanently discard all unpublished draft changes, reverting to the current production configuration",
|
|
3673
3756
|
arguments: [],
|
|
3674
|
-
options: [projectOption, yesOption],
|
|
3757
|
+
options: [projectOption, teamLevelOption, yesOption],
|
|
3675
3758
|
examples: [
|
|
3676
3759
|
{
|
|
3677
3760
|
name: "Discard draft changes",
|
|
@@ -3795,6 +3878,7 @@ var ipBlocksListSubcommand = {
|
|
|
3795
3878
|
arguments: [],
|
|
3796
3879
|
options: [
|
|
3797
3880
|
projectOption,
|
|
3881
|
+
teamLevelOption,
|
|
3798
3882
|
{
|
|
3799
3883
|
name: "json",
|
|
3800
3884
|
shorthand: null,
|
|
@@ -3817,6 +3901,7 @@ var ipBlocksBlockSubcommand = {
|
|
|
3817
3901
|
arguments: [{ name: "ip", required: true }],
|
|
3818
3902
|
options: [
|
|
3819
3903
|
projectOption,
|
|
3904
|
+
teamLevelOption,
|
|
3820
3905
|
{
|
|
3821
3906
|
name: "hostname",
|
|
3822
3907
|
shorthand: null,
|
|
@@ -3855,6 +3940,7 @@ var ipBlocksUnblockSubcommand = {
|
|
|
3855
3940
|
arguments: [{ name: "id-or-ip", required: true }],
|
|
3856
3941
|
options: [
|
|
3857
3942
|
projectOption,
|
|
3943
|
+
teamLevelOption,
|
|
3858
3944
|
{
|
|
3859
3945
|
name: "hostname",
|
|
3860
3946
|
shorthand: null,
|
|
@@ -3912,6 +3998,7 @@ var rulesListSubcommand2 = {
|
|
|
3912
3998
|
arguments: [],
|
|
3913
3999
|
options: [
|
|
3914
4000
|
projectOption,
|
|
4001
|
+
teamLevelOption,
|
|
3915
4002
|
{
|
|
3916
4003
|
name: "expand",
|
|
3917
4004
|
shorthand: "e",
|
|
@@ -3935,6 +4022,10 @@ var rulesListSubcommand2 = {
|
|
|
3935
4022
|
{
|
|
3936
4023
|
name: "List rules with full condition details",
|
|
3937
4024
|
value: `${packageName} firewall rules list --expand`
|
|
4025
|
+
},
|
|
4026
|
+
{
|
|
4027
|
+
name: "List team-level rules",
|
|
4028
|
+
value: `${packageName} firewall rules list --team-level`
|
|
3938
4029
|
}
|
|
3939
4030
|
]
|
|
3940
4031
|
};
|
|
@@ -3945,6 +4036,7 @@ var rulesInspectSubcommand = {
|
|
|
3945
4036
|
arguments: [{ name: "name-or-id", required: true }],
|
|
3946
4037
|
options: [
|
|
3947
4038
|
projectOption,
|
|
4039
|
+
teamLevelOption,
|
|
3948
4040
|
{
|
|
3949
4041
|
name: "json",
|
|
3950
4042
|
shorthand: null,
|
|
@@ -3971,6 +4063,7 @@ var rulesAddSubcommand2 = {
|
|
|
3971
4063
|
arguments: [{ name: "name", required: false }],
|
|
3972
4064
|
options: [
|
|
3973
4065
|
projectOption,
|
|
4066
|
+
teamLevelOption,
|
|
3974
4067
|
{
|
|
3975
4068
|
name: "ai",
|
|
3976
4069
|
shorthand: null,
|
|
@@ -4108,6 +4201,7 @@ var rulesEditSubcommand2 = {
|
|
|
4108
4201
|
arguments: [{ name: "name-or-id", required: true }],
|
|
4109
4202
|
options: [
|
|
4110
4203
|
projectOption,
|
|
4204
|
+
teamLevelOption,
|
|
4111
4205
|
{
|
|
4112
4206
|
name: "ai",
|
|
4113
4207
|
shorthand: null,
|
|
@@ -4257,7 +4351,7 @@ var rulesEnableSubcommand = {
|
|
|
4257
4351
|
aliases: [],
|
|
4258
4352
|
description: "Enable a disabled custom firewall rule. Stages a draft change \u2014 run `publish` to make it live",
|
|
4259
4353
|
arguments: [{ name: "name-or-id", required: true }],
|
|
4260
|
-
options: [projectOption, yesOption],
|
|
4354
|
+
options: [projectOption, teamLevelOption, yesOption],
|
|
4261
4355
|
examples: [
|
|
4262
4356
|
{
|
|
4263
4357
|
name: "Enable a rule",
|
|
@@ -4270,7 +4364,7 @@ var rulesDisableSubcommand = {
|
|
|
4270
4364
|
aliases: [],
|
|
4271
4365
|
description: "Disable a custom firewall rule without removing it. Stages a draft change \u2014 run `publish` to make it live",
|
|
4272
4366
|
arguments: [{ name: "name-or-id", required: true }],
|
|
4273
|
-
options: [projectOption, yesOption],
|
|
4367
|
+
options: [projectOption, teamLevelOption, yesOption],
|
|
4274
4368
|
examples: [
|
|
4275
4369
|
{
|
|
4276
4370
|
name: "Disable a rule",
|
|
@@ -4283,7 +4377,7 @@ var rulesRemoveSubcommand2 = {
|
|
|
4283
4377
|
aliases: ["rm", "delete"],
|
|
4284
4378
|
description: "Remove a custom firewall rule. Stages a draft change \u2014 run `publish` to make it live",
|
|
4285
4379
|
arguments: [{ name: "name-or-id", required: true }],
|
|
4286
|
-
options: [projectOption, yesOption],
|
|
4380
|
+
options: [projectOption, teamLevelOption, yesOption],
|
|
4287
4381
|
examples: [
|
|
4288
4382
|
{
|
|
4289
4383
|
name: "Remove a rule",
|
|
@@ -4298,6 +4392,7 @@ var rulesReorderSubcommand = {
|
|
|
4298
4392
|
arguments: [{ name: "name-or-id", required: true }],
|
|
4299
4393
|
options: [
|
|
4300
4394
|
projectOption,
|
|
4395
|
+
teamLevelOption,
|
|
4301
4396
|
{
|
|
4302
4397
|
name: "position",
|
|
4303
4398
|
shorthand: null,
|
|
@@ -5608,6 +5703,34 @@ var archiveSubcommand = {
|
|
|
5608
5703
|
}
|
|
5609
5704
|
]
|
|
5610
5705
|
};
|
|
5706
|
+
var unarchiveSubcommand = {
|
|
5707
|
+
name: "unarchive",
|
|
5708
|
+
aliases: [],
|
|
5709
|
+
description: "Unarchive a feature flag",
|
|
5710
|
+
arguments: [
|
|
5711
|
+
{
|
|
5712
|
+
name: "flag",
|
|
5713
|
+
required: true
|
|
5714
|
+
}
|
|
5715
|
+
],
|
|
5716
|
+
options: [
|
|
5717
|
+
projectOption,
|
|
5718
|
+
{
|
|
5719
|
+
...yesOption,
|
|
5720
|
+
description: "Skip the confirmation prompt when unarchiving a flag"
|
|
5721
|
+
}
|
|
5722
|
+
],
|
|
5723
|
+
examples: [
|
|
5724
|
+
{
|
|
5725
|
+
name: "Unarchive a feature flag",
|
|
5726
|
+
value: `${packageName} flags unarchive my-feature-flag`
|
|
5727
|
+
},
|
|
5728
|
+
{
|
|
5729
|
+
name: "Unarchive without confirmation",
|
|
5730
|
+
value: `${packageName} flags unarchive my-feature-flag --yes`
|
|
5731
|
+
}
|
|
5732
|
+
]
|
|
5733
|
+
};
|
|
5611
5734
|
var disableSubcommand = {
|
|
5612
5735
|
name: "disable",
|
|
5613
5736
|
aliases: [],
|
|
@@ -6138,6 +6261,7 @@ var flagsCommand = {
|
|
|
6138
6261
|
rolloutSubcommand,
|
|
6139
6262
|
removeSubcommand8,
|
|
6140
6263
|
archiveSubcommand,
|
|
6264
|
+
unarchiveSubcommand,
|
|
6141
6265
|
disableSubcommand,
|
|
6142
6266
|
enableSubcommand,
|
|
6143
6267
|
rulesSubcommand3,
|
|
@@ -7678,7 +7802,7 @@ var CommandTimeout = "5 minutes";
|
|
|
7678
7802
|
var logsCommand = {
|
|
7679
7803
|
name: "logs",
|
|
7680
7804
|
aliases: ["log"],
|
|
7681
|
-
description: "Display request logs for a project.\n\
|
|
7805
|
+
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
7806
|
arguments: [
|
|
7683
7807
|
{
|
|
7684
7808
|
name: "url|deploymentId",
|
|
@@ -7699,7 +7823,7 @@ var logsCommand = {
|
|
|
7699
7823
|
shorthand: null,
|
|
7700
7824
|
type: String,
|
|
7701
7825
|
deprecated: false,
|
|
7702
|
-
description: "Filter by environment: production or preview
|
|
7826
|
+
description: "Filter by environment: production or preview; with --follow, select the active production deployment or your latest preview deployment"
|
|
7703
7827
|
},
|
|
7704
7828
|
{
|
|
7705
7829
|
name: "level",
|
|
@@ -7755,7 +7879,7 @@ var logsCommand = {
|
|
|
7755
7879
|
shorthand: "f",
|
|
7756
7880
|
type: Boolean,
|
|
7757
7881
|
deprecated: false,
|
|
7758
|
-
description: "Stream live runtime logs
|
|
7882
|
+
description: "Stream live runtime logs from a deployment"
|
|
7759
7883
|
},
|
|
7760
7884
|
{
|
|
7761
7885
|
name: "no-follow",
|
|
@@ -7797,80 +7921,68 @@ var logsCommand = {
|
|
|
7797
7921
|
shorthand: "b",
|
|
7798
7922
|
type: String,
|
|
7799
7923
|
deprecated: false,
|
|
7800
|
-
description: "Filter by
|
|
7924
|
+
description: "Filter by Git branch; with --follow, require a matching READY deployment"
|
|
7801
7925
|
},
|
|
7802
7926
|
{
|
|
7803
7927
|
name: "no-branch",
|
|
7804
7928
|
shorthand: null,
|
|
7805
7929
|
type: Boolean,
|
|
7806
|
-
deprecated:
|
|
7807
|
-
description: "
|
|
7930
|
+
deprecated: true,
|
|
7931
|
+
description: "Deprecated no-op; use --branch to filter by branch"
|
|
7808
7932
|
}
|
|
7809
7933
|
],
|
|
7810
7934
|
examples: [
|
|
7811
7935
|
{
|
|
7812
|
-
name: "
|
|
7813
|
-
value: `${packageName} logs
|
|
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`
|
|
7826
|
-
},
|
|
7827
|
-
{
|
|
7828
|
-
name: "Stream logs for a specific project",
|
|
7829
|
-
value: `${packageName} logs --project my-app --follow`
|
|
7936
|
+
name: "Display recent request logs for the linked project",
|
|
7937
|
+
value: `${packageName} logs`
|
|
7830
7938
|
},
|
|
7831
7939
|
{
|
|
7832
|
-
name: "Display
|
|
7833
|
-
value: `${packageName} logs`
|
|
7940
|
+
name: "Display request logs for a specific project",
|
|
7941
|
+
value: `${packageName} logs --project my-app`
|
|
7834
7942
|
},
|
|
7835
7943
|
{
|
|
7836
|
-
name: "Display error logs from the last hour",
|
|
7944
|
+
name: "Display request error logs from the last hour",
|
|
7837
7945
|
value: `${packageName} logs --level error --since 1h`
|
|
7838
7946
|
},
|
|
7839
7947
|
{
|
|
7840
|
-
name: "Display logs for a specific deployment
|
|
7948
|
+
name: "Display request logs for a specific deployment",
|
|
7841
7949
|
value: `${packageName} logs dpl_xxxxx`
|
|
7842
7950
|
},
|
|
7843
7951
|
{
|
|
7844
|
-
name: "Filter logs by status code and output as JSON",
|
|
7952
|
+
name: "Filter request logs by status code and output as JSON",
|
|
7845
7953
|
value: `${packageName} logs --status-code 500 --json`
|
|
7846
7954
|
},
|
|
7847
7955
|
{
|
|
7848
|
-
name: "Search logs
|
|
7849
|
-
value: `${packageName} logs --query "timeout" --json | jq '.message'`
|
|
7850
|
-
},
|
|
7851
|
-
{
|
|
7852
|
-
name: "Use advanced search query with filters",
|
|
7956
|
+
name: "Search request logs by status and message",
|
|
7853
7957
|
value: `${packageName} logs --query 'status:500 error' --json | jq '.message'`
|
|
7854
7958
|
},
|
|
7855
7959
|
{
|
|
7856
|
-
name: "Display
|
|
7960
|
+
name: "Display request logs from production",
|
|
7857
7961
|
value: `${packageName} logs --environment production`
|
|
7858
7962
|
},
|
|
7859
7963
|
{
|
|
7860
|
-
name: "Display logs for a specific request",
|
|
7964
|
+
name: "Display request logs for a specific request",
|
|
7861
7965
|
value: `${packageName} logs --request-id req_xxxxx`
|
|
7862
7966
|
},
|
|
7863
7967
|
{
|
|
7864
|
-
name: "Display logs with full message details",
|
|
7968
|
+
name: "Display request logs with full message details",
|
|
7865
7969
|
value: `${packageName} logs --expand`
|
|
7866
7970
|
},
|
|
7867
7971
|
{
|
|
7868
|
-
name: "Display logs for a specific branch",
|
|
7972
|
+
name: "Display request logs for a specific branch",
|
|
7869
7973
|
value: `${packageName} logs --branch feature-x`
|
|
7870
7974
|
},
|
|
7871
7975
|
{
|
|
7872
|
-
name: "
|
|
7873
|
-
value: `${packageName} logs --
|
|
7976
|
+
name: "Stream runtime logs for the active production deployment",
|
|
7977
|
+
value: `${packageName} logs --follow`
|
|
7978
|
+
},
|
|
7979
|
+
{
|
|
7980
|
+
name: "Stream runtime logs for your latest preview deployment",
|
|
7981
|
+
value: `${packageName} logs --follow --environment preview`
|
|
7982
|
+
},
|
|
7983
|
+
{
|
|
7984
|
+
name: "Stream runtime logs for a specific deployment",
|
|
7985
|
+
value: `${packageName} logs dpl_xxxxx --follow`
|
|
7874
7986
|
}
|
|
7875
7987
|
]
|
|
7876
7988
|
};
|
|
@@ -8409,12 +8521,20 @@ var updateSubcommand5 = {
|
|
|
8409
8521
|
description: "Set the output directory",
|
|
8410
8522
|
deprecated: false
|
|
8411
8523
|
},
|
|
8524
|
+
{
|
|
8525
|
+
name: "root-directory",
|
|
8526
|
+
shorthand: null,
|
|
8527
|
+
type: String,
|
|
8528
|
+
argument: "DIR",
|
|
8529
|
+
description: "Set the project root directory",
|
|
8530
|
+
deprecated: false
|
|
8531
|
+
},
|
|
8412
8532
|
{
|
|
8413
8533
|
name: "auto-detect",
|
|
8414
8534
|
shorthand: null,
|
|
8415
8535
|
type: [String],
|
|
8416
8536
|
argument: "SETTING",
|
|
8417
|
-
description: "Reset a setting to automatic detection; repeat for build-command, dev-command, install-command, or
|
|
8537
|
+
description: "Reset a setting to automatic detection; repeat for build-command, dev-command, install-command, output-directory, or root-directory",
|
|
8418
8538
|
deprecated: false
|
|
8419
8539
|
},
|
|
8420
8540
|
formatOption,
|
|
@@ -11091,6 +11211,7 @@ export {
|
|
|
11091
11211
|
rulesSubcommand3,
|
|
11092
11212
|
removeSubcommand8,
|
|
11093
11213
|
archiveSubcommand,
|
|
11214
|
+
unarchiveSubcommand,
|
|
11094
11215
|
disableSubcommand,
|
|
11095
11216
|
enableSubcommand,
|
|
11096
11217
|
segmentsListSubcommand,
|
|
@@ -13,21 +13,22 @@ import {
|
|
|
13
13
|
requireVcrRepository,
|
|
14
14
|
resolveVcrScope,
|
|
15
15
|
validateVcrJsonOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DHTB5D3E.js";
|
|
17
17
|
import "./chunk-G75NFPIT.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-P65EEFTR.js";
|
|
19
19
|
import "./chunk-XPKWKPWA.js";
|
|
20
20
|
import {
|
|
21
21
|
permissionsClearSubcommand
|
|
22
22
|
} from "./chunk-J6LK45HT.js";
|
|
23
23
|
import "./chunk-R6IGDGX3.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-NZ6GDMPB.js";
|
|
25
25
|
import "./chunk-ECCWJHC6.js";
|
|
26
26
|
import {
|
|
27
27
|
AGENT_REASON,
|
|
28
28
|
buildCommandWithYes,
|
|
29
29
|
outputAgentError
|
|
30
30
|
} from "./chunk-TJJ562C5.js";
|
|
31
|
+
import "./chunk-GGP5R3FU.js";
|
|
31
32
|
import {
|
|
32
33
|
printError
|
|
33
34
|
} from "./chunk-KBEX5MYS.js";
|
|
@@ -43,7 +44,6 @@ import "./chunk-52QYYTM5.js";
|
|
|
43
44
|
import {
|
|
44
45
|
output_manager_default
|
|
45
46
|
} from "./chunk-OX7KI3LF.js";
|
|
46
|
-
import "./chunk-GGP5R3FU.js";
|
|
47
47
|
import "./chunk-S7KYDPEM.js";
|
|
48
48
|
import "./chunk-TZ2YI2VH.js";
|
|
49
49
|
|
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
findSourceVercelConfigFile,
|
|
12
12
|
getVercelConfigPath,
|
|
13
13
|
normalizeConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NZ6GDMPB.js";
|
|
15
15
|
import "./chunk-ECCWJHC6.js";
|
|
16
16
|
import "./chunk-TJJ562C5.js";
|
|
17
|
+
import "./chunk-GGP5R3FU.js";
|
|
17
18
|
import "./chunk-KBEX5MYS.js";
|
|
18
19
|
import "./chunk-XLKFJPMT.js";
|
|
19
20
|
import "./chunk-SOFC4MLS.js";
|
|
20
21
|
import "./chunk-P4QNYOFB.js";
|
|
21
22
|
import "./chunk-52QYYTM5.js";
|
|
22
23
|
import "./chunk-OX7KI3LF.js";
|
|
23
|
-
import "./chunk-GGP5R3FU.js";
|
|
24
24
|
import "./chunk-S7KYDPEM.js";
|
|
25
25
|
import "./chunk-TZ2YI2VH.js";
|
|
26
26
|
export {
|
|
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import "./chunk-TZ2YI2VH.js";
|
|
8
8
|
|
|
9
9
|
// src/util/constants.ts
|
|
10
|
-
var SENTRY_DSN = "https://26a24e59ba954011919a524b341b6ab5@sentry.io/1323225";
|
|
10
|
+
var SENTRY_DSN = "https://26a24e59ba954011919a524b341b6ab5@o205439.ingest.us.sentry.io/1323225";
|
|
11
11
|
export {
|
|
12
12
|
SENTRY_DSN
|
|
13
13
|
};
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
requireProjectContext,
|
|
16
16
|
resolveRoutes,
|
|
17
17
|
withGlobalFlags
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-D6SC2UJH.js";
|
|
19
19
|
import {
|
|
20
20
|
deleteSubcommand
|
|
21
21
|
} from "./chunk-M22O6CYY.js";
|
|
@@ -23,13 +23,14 @@ import {
|
|
|
23
23
|
stamp_default
|
|
24
24
|
} from "./chunk-64IF634X.js";
|
|
25
25
|
import "./chunk-VXYGCOKL.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-NZ6GDMPB.js";
|
|
27
27
|
import "./chunk-ECCWJHC6.js";
|
|
28
28
|
import {
|
|
29
29
|
AGENT_REASON,
|
|
30
30
|
AGENT_STATUS,
|
|
31
31
|
outputAgentError
|
|
32
32
|
} from "./chunk-TJJ562C5.js";
|
|
33
|
+
import "./chunk-GGP5R3FU.js";
|
|
33
34
|
import "./chunk-KBEX5MYS.js";
|
|
34
35
|
import "./chunk-XLKFJPMT.js";
|
|
35
36
|
import "./chunk-SOFC4MLS.js";
|
|
@@ -38,7 +39,6 @@ import "./chunk-52QYYTM5.js";
|
|
|
38
39
|
import {
|
|
39
40
|
output_manager_default
|
|
40
41
|
} from "./chunk-OX7KI3LF.js";
|
|
41
|
-
import "./chunk-GGP5R3FU.js";
|
|
42
42
|
import {
|
|
43
43
|
require_source
|
|
44
44
|
} from "./chunk-S7KYDPEM.js";
|
|
@@ -13,22 +13,23 @@ import {
|
|
|
13
13
|
resolveCommentsScope,
|
|
14
14
|
threadNotFoundMessage,
|
|
15
15
|
toApiErrorParts
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5SZ6VX2H.js";
|
|
17
17
|
import {
|
|
18
18
|
canPrompt
|
|
19
19
|
} from "./chunk-2473DUBR.js";
|
|
20
20
|
import {
|
|
21
21
|
outputError
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-P65EEFTR.js";
|
|
23
23
|
import {
|
|
24
24
|
validateJsonOutput
|
|
25
25
|
} from "./chunk-XPKWKPWA.js";
|
|
26
26
|
import {
|
|
27
27
|
deleteSubcommand
|
|
28
28
|
} from "./chunk-4LDQIDRM.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-NZ6GDMPB.js";
|
|
30
30
|
import "./chunk-ECCWJHC6.js";
|
|
31
31
|
import "./chunk-TJJ562C5.js";
|
|
32
|
+
import "./chunk-GGP5R3FU.js";
|
|
32
33
|
import "./chunk-KBEX5MYS.js";
|
|
33
34
|
import {
|
|
34
35
|
parseArguments
|
|
@@ -42,7 +43,6 @@ import "./chunk-52QYYTM5.js";
|
|
|
42
43
|
import {
|
|
43
44
|
output_manager_default
|
|
44
45
|
} from "./chunk-OX7KI3LF.js";
|
|
45
|
-
import "./chunk-GGP5R3FU.js";
|
|
46
46
|
import {
|
|
47
47
|
require_source
|
|
48
48
|
} from "./chunk-S7KYDPEM.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
requireProjectContext,
|
|
18
18
|
resolveRoute,
|
|
19
19
|
withGlobalFlags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-D6SC2UJH.js";
|
|
21
21
|
import {
|
|
22
22
|
disableSubcommand
|
|
23
23
|
} from "./chunk-M22O6CYY.js";
|
|
@@ -25,11 +25,12 @@ import {
|
|
|
25
25
|
stamp_default
|
|
26
26
|
} from "./chunk-64IF634X.js";
|
|
27
27
|
import "./chunk-VXYGCOKL.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-NZ6GDMPB.js";
|
|
29
29
|
import "./chunk-ECCWJHC6.js";
|
|
30
30
|
import {
|
|
31
31
|
outputAgentError
|
|
32
32
|
} from "./chunk-TJJ562C5.js";
|
|
33
|
+
import "./chunk-GGP5R3FU.js";
|
|
33
34
|
import "./chunk-KBEX5MYS.js";
|
|
34
35
|
import "./chunk-XLKFJPMT.js";
|
|
35
36
|
import "./chunk-SOFC4MLS.js";
|
|
@@ -38,7 +39,6 @@ import "./chunk-52QYYTM5.js";
|
|
|
38
39
|
import {
|
|
39
40
|
output_manager_default
|
|
40
41
|
} from "./chunk-OX7KI3LF.js";
|
|
41
|
-
import "./chunk-GGP5R3FU.js";
|
|
42
42
|
import {
|
|
43
43
|
require_source
|
|
44
44
|
} from "./chunk-S7KYDPEM.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
printDiffSummary,
|
|
18
18
|
requireProjectContext,
|
|
19
19
|
withGlobalFlags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-D6SC2UJH.js";
|
|
21
21
|
import {
|
|
22
22
|
discardSubcommand
|
|
23
23
|
} from "./chunk-M22O6CYY.js";
|
|
@@ -25,11 +25,12 @@ import {
|
|
|
25
25
|
stamp_default
|
|
26
26
|
} from "./chunk-64IF634X.js";
|
|
27
27
|
import "./chunk-VXYGCOKL.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-NZ6GDMPB.js";
|
|
29
29
|
import "./chunk-ECCWJHC6.js";
|
|
30
30
|
import {
|
|
31
31
|
outputAgentError
|
|
32
32
|
} from "./chunk-TJJ562C5.js";
|
|
33
|
+
import "./chunk-GGP5R3FU.js";
|
|
33
34
|
import "./chunk-KBEX5MYS.js";
|
|
34
35
|
import "./chunk-XLKFJPMT.js";
|
|
35
36
|
import "./chunk-SOFC4MLS.js";
|
|
@@ -38,7 +39,6 @@ import "./chunk-52QYYTM5.js";
|
|
|
38
39
|
import {
|
|
39
40
|
output_manager_default
|
|
40
41
|
} from "./chunk-OX7KI3LF.js";
|
|
41
|
-
import "./chunk-GGP5R3FU.js";
|
|
42
42
|
import {
|
|
43
43
|
require_source
|
|
44
44
|
} from "./chunk-S7KYDPEM.js";
|