vercel 54.12.2 → 54.14.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-SYDJV2T4.js → add-PVEKZBHH.js} +4 -4
- package/dist/chunks/{chunk-4643KU3X.js → chunk-4KAFHBYE.js} +1 -1
- package/dist/chunks/{chunk-EF7I74B3.js → chunk-5UCWXYNH.js} +86 -2
- package/dist/chunks/{chunk-TUDFOYDC.js → chunk-6D6CSOSK.js} +3 -3
- package/dist/chunks/{chunk-OBN3CMNI.js → chunk-6K3WJDFA.js} +4 -4
- package/dist/chunks/{chunk-HFZBZ5RL.js → chunk-7CJZCFLW.js} +2 -2
- package/dist/chunks/{chunk-KY27SDWY.js → chunk-7OZWGXPA.js} +1 -1
- package/dist/chunks/{chunk-VX2CL5SM.js → chunk-ABOX5TXU.js} +2 -2
- package/dist/chunks/{chunk-H2V3VLCZ.js → chunk-C3VH3X5Y.js} +2 -2
- package/dist/chunks/{chunk-S6JBHRRQ.js → chunk-FPRA7U2P.js} +1 -1
- package/dist/chunks/{chunk-AYYWS2SR.js → chunk-G7QWUIGS.js} +1 -1
- package/dist/chunks/{chunk-MPJHH4XH.js → chunk-KJ5O7JQQ.js} +236 -19
- package/dist/chunks/{chunk-BKBME5J7.js → chunk-OEM7RB3X.js} +1 -1
- package/dist/chunks/{chunk-MVNPVHFE.js → chunk-RWJORLQP.js} +4 -4
- package/dist/chunks/{chunk-RWBYP6J5.js → chunk-S4VHXL2Y.js} +1 -1
- package/dist/chunks/{chunk-HZCLVVUY.js → chunk-TH555JND.js} +4 -4
- package/dist/chunks/{chunk-EWCHYBUM.js → chunk-V2WFM23D.js} +1 -1
- package/dist/chunks/{chunk-4XUOV2X3.js → chunk-V4GROAUJ.js} +1 -1
- package/dist/chunks/{chunk-2OG4XEO7.js → chunk-Y76J3TGD.js} +1 -1
- package/dist/chunks/{chunk-X4M2XSJZ.js → chunk-Z7KOKD2G.js} +1 -1
- package/dist/chunks/{compile-vercel-config-ANNU2HBR.js → compile-vercel-config-MD37D2F7.js} +1 -1
- package/dist/chunks/{delete-CSL7GQUM.js → delete-6EMDCXSA.js} +2 -2
- package/dist/chunks/{disable-WRZTPAJJ.js → disable-FLJ27NHG.js} +2 -2
- package/dist/chunks/{discard-L2YVL23C.js → discard-KEIII6RM.js} +2 -2
- package/dist/chunks/{edit-VXYNQVBR.js → edit-DOL2ZJPG.js} +3 -3
- package/dist/chunks/{enable-OWXV2G3V.js → enable-PZWZIETT.js} +2 -2
- package/dist/chunks/{export-6KAIMGH6.js → export-2PFHAELC.js} +2 -2
- package/dist/chunks/{inspect-UZ5CC3HV.js → inspect-WPWOZJ2K.js} +3 -3
- package/dist/chunks/{list-PHVOL64I.js → list-4R5DCLTB.js} +2 -2
- package/dist/chunks/{list-7BYAGN5B.js → list-ZT7QK2H7.js} +3 -3
- package/dist/chunks/{ls-5QIP5PDC.js → ls-4JTXQXMQ.js} +4 -4
- package/dist/chunks/{publish-6KB6TNYM.js → publish-JV4J3SOA.js} +2 -2
- package/dist/chunks/{query-2PCHFFUA.js → query-N22EYSZZ.js} +2 -2
- package/dist/chunks/{reorder-AN4IH7VE.js → reorder-TG53BKW4.js} +2 -2
- package/dist/chunks/{restore-CA72EKHV.js → restore-U7O4VESA.js} +2 -2
- package/dist/chunks/{rm-ZEX7PISI.js → rm-XA4LYZXI.js} +4 -4
- package/dist/chunks/{rule-inspect-ZMHGGEUM.js → rule-inspect-HC745CYT.js} +4 -4
- package/dist/chunks/{rules-XNQ4LDXH.js → rules-RMN72YHN.js} +6 -6
- package/dist/chunks/{schema-Q2JNER6Z.js → schema-CZVKUXM6.js} +2 -2
- package/dist/chunks/{update-WMWLJRV2.js → update-PU3WLIA7.js} +4 -4
- package/dist/commands/build/index.js +9 -9
- package/dist/commands/deploy/index.js +10 -10
- package/dist/commands/dev/index.js +8 -8
- package/dist/commands/env/index.js +4 -4
- package/dist/commands/link/index.js +7 -7
- package/dist/commands/list/index.js +3 -3
- package/dist/commands-bulk.js +2401 -1665
- package/dist/index.js +8 -8
- package/dist/version.mjs +1 -1
- package/package.json +16 -16
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
handleRulesApiError,
|
|
10
10
|
parseRulesFlagsAndScope,
|
|
11
11
|
rulesCollectionPath
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-7OZWGXPA.js";
|
|
13
|
+
import "./chunk-ABOX5TXU.js";
|
|
14
14
|
import "./chunk-5SYDEK2N.js";
|
|
15
15
|
import {
|
|
16
16
|
validateJsonOutput
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
AGENT_REASON
|
|
23
23
|
} from "./chunk-LJ5WXXG6.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-Z7KOKD2G.js";
|
|
25
|
+
import "./chunk-5UCWXYNH.js";
|
|
26
26
|
import "./chunk-J5273CSE.js";
|
|
27
27
|
import {
|
|
28
28
|
buildCommandWithGlobalFlags,
|
|
@@ -16043,8 +16043,7 @@ var require_frameworks = __commonJS({
|
|
|
16043
16043
|
value: ".output"
|
|
16044
16044
|
}
|
|
16045
16045
|
},
|
|
16046
|
-
getOutputDirName: async () => ".output"
|
|
16047
|
-
experimental: true
|
|
16046
|
+
getOutputDirName: async () => ".output"
|
|
16048
16047
|
},
|
|
16049
16048
|
{
|
|
16050
16049
|
name: "Sanity",
|
|
@@ -17852,6 +17851,91 @@ var require_frameworks = __commonJS({
|
|
|
17852
17851
|
}
|
|
17853
17852
|
]
|
|
17854
17853
|
},
|
|
17854
|
+
{
|
|
17855
|
+
name: "Bun",
|
|
17856
|
+
slug: "bun",
|
|
17857
|
+
runtimeFramework: true,
|
|
17858
|
+
experimental: true,
|
|
17859
|
+
supersedes: ["node"],
|
|
17860
|
+
logo: "https://api-frameworks.vercel.sh/framework-logos/bun.svg",
|
|
17861
|
+
tagline: "Bun is a fast all-in-one JavaScript runtime, bundler, and package manager.",
|
|
17862
|
+
description: "A Bun application deployed as a serverless function.",
|
|
17863
|
+
website: "https://bun.com",
|
|
17864
|
+
useRuntime: { src: "package.json", use: "@vercel/backends" },
|
|
17865
|
+
ignoreRuntimes: ["@vercel/node"],
|
|
17866
|
+
detectors: {
|
|
17867
|
+
every: [
|
|
17868
|
+
{
|
|
17869
|
+
path: "bun.lock"
|
|
17870
|
+
}
|
|
17871
|
+
],
|
|
17872
|
+
some: [
|
|
17873
|
+
{
|
|
17874
|
+
path: "server.cjs"
|
|
17875
|
+
},
|
|
17876
|
+
{
|
|
17877
|
+
path: "server.js"
|
|
17878
|
+
},
|
|
17879
|
+
{
|
|
17880
|
+
path: "server.mjs"
|
|
17881
|
+
},
|
|
17882
|
+
{
|
|
17883
|
+
path: "server.mts"
|
|
17884
|
+
},
|
|
17885
|
+
{
|
|
17886
|
+
path: "server.ts"
|
|
17887
|
+
},
|
|
17888
|
+
{
|
|
17889
|
+
path: "server.cts"
|
|
17890
|
+
},
|
|
17891
|
+
{
|
|
17892
|
+
path: "src/server.cjs"
|
|
17893
|
+
},
|
|
17894
|
+
{
|
|
17895
|
+
path: "src/server.js"
|
|
17896
|
+
},
|
|
17897
|
+
{
|
|
17898
|
+
path: "src/server.mjs"
|
|
17899
|
+
},
|
|
17900
|
+
{
|
|
17901
|
+
path: "src/server.mts"
|
|
17902
|
+
},
|
|
17903
|
+
{
|
|
17904
|
+
path: "src/server.ts"
|
|
17905
|
+
},
|
|
17906
|
+
{
|
|
17907
|
+
path: "src/server.cts"
|
|
17908
|
+
}
|
|
17909
|
+
]
|
|
17910
|
+
},
|
|
17911
|
+
settings: {
|
|
17912
|
+
installCommand: {
|
|
17913
|
+
value: "bun install",
|
|
17914
|
+
placeholder: "bun install"
|
|
17915
|
+
},
|
|
17916
|
+
buildCommand: {
|
|
17917
|
+
placeholder: "None",
|
|
17918
|
+
value: null
|
|
17919
|
+
},
|
|
17920
|
+
devCommand: {
|
|
17921
|
+
placeholder: "`bun dev`, `bun run dev`, or `bun --hot server.ts`",
|
|
17922
|
+
value: null
|
|
17923
|
+
},
|
|
17924
|
+
outputDirectory: {
|
|
17925
|
+
value: "N/A"
|
|
17926
|
+
}
|
|
17927
|
+
},
|
|
17928
|
+
getOutputDirName: async () => "public",
|
|
17929
|
+
defaultRoutes: [
|
|
17930
|
+
{
|
|
17931
|
+
handle: "filesystem"
|
|
17932
|
+
},
|
|
17933
|
+
{
|
|
17934
|
+
src: "/(.*)",
|
|
17935
|
+
dest: "/"
|
|
17936
|
+
}
|
|
17937
|
+
]
|
|
17938
|
+
},
|
|
17855
17939
|
{
|
|
17856
17940
|
name: "Node",
|
|
17857
17941
|
slug: "node",
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
} from "./chunk-LJ5WXXG6.js";
|
|
11
11
|
import {
|
|
12
12
|
getLocalPathConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-V2WFM23D.js";
|
|
14
14
|
import {
|
|
15
15
|
getScope
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-Z7KOKD2G.js";
|
|
17
17
|
import {
|
|
18
18
|
VERCEL_DIR_PROJECT,
|
|
19
19
|
VERCEL_DIR_README,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
selectAndParseRemoteUrl,
|
|
48
48
|
selectOrg,
|
|
49
49
|
writeServicesConfig
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-5UCWXYNH.js";
|
|
51
51
|
import {
|
|
52
52
|
buildCommandWithGlobalFlags,
|
|
53
53
|
outputAgentError,
|
|
@@ -6,13 +6,13 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeProjectSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FPRA7U2P.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureLink
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7CJZCFLW.js";
|
|
13
13
|
import {
|
|
14
14
|
pullCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OEM7RB3X.js";
|
|
16
16
|
import {
|
|
17
17
|
help
|
|
18
18
|
} from "./chunk-VNUNCNPE.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
envPullCommandLogic,
|
|
24
24
|
humanizePath,
|
|
25
25
|
parseTarget
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-5UCWXYNH.js";
|
|
27
27
|
import {
|
|
28
28
|
TelemetryClient
|
|
29
29
|
} from "./chunk-J5273CSE.js";
|
|
@@ -7,12 +7,12 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
printProjectNotFoundError,
|
|
9
9
|
setupAndLink
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6D6CSOSK.js";
|
|
11
11
|
import {
|
|
12
12
|
getLinkedProject,
|
|
13
13
|
param,
|
|
14
14
|
resolveProjectCwd
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5UCWXYNH.js";
|
|
16
16
|
import {
|
|
17
17
|
buildCommandWithYes,
|
|
18
18
|
outputActionRequired
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
} from "./chunk-LJ5WXXG6.js";
|
|
13
13
|
import {
|
|
14
14
|
getScope
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Z7KOKD2G.js";
|
|
16
16
|
import {
|
|
17
17
|
getLinkedProject,
|
|
18
18
|
getProjectByNameOrId
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5UCWXYNH.js";
|
|
20
20
|
import {
|
|
21
21
|
buildCommandWithGlobalFlags,
|
|
22
22
|
outputAgentError
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-V5P25P7F.js";
|
|
10
10
|
import {
|
|
11
11
|
getLocalPathConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-V2WFM23D.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_VERCEL_CONFIG_FILENAME,
|
|
15
15
|
VERCEL_CONFIG_EXTENSIONS,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
useKeypress,
|
|
37
37
|
usePrefix,
|
|
38
38
|
useState
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-5UCWXYNH.js";
|
|
40
40
|
import {
|
|
41
41
|
require_load_json_file
|
|
42
42
|
} from "./chunk-J5273CSE.js";
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
buildCommand,
|
|
27
27
|
pullCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OEM7RB3X.js";
|
|
29
29
|
import {
|
|
30
30
|
envCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-5UCWXYNH.js";
|
|
32
32
|
import {
|
|
33
33
|
confirmOption,
|
|
34
34
|
forceOption,
|
|
@@ -562,12 +562,173 @@ var apiKeysSubcommand = {
|
|
|
562
562
|
options: [],
|
|
563
563
|
examples: []
|
|
564
564
|
};
|
|
565
|
+
var rulesAddSubcommand = {
|
|
566
|
+
name: "add",
|
|
567
|
+
aliases: [],
|
|
568
|
+
description: "Add an AI Gateway routing rule",
|
|
569
|
+
arguments: [],
|
|
570
|
+
options: [
|
|
571
|
+
{
|
|
572
|
+
name: "type",
|
|
573
|
+
shorthand: null,
|
|
574
|
+
type: String,
|
|
575
|
+
argument: "TYPE",
|
|
576
|
+
deprecated: false,
|
|
577
|
+
description: "Rule type: rewrite or deny"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
name: "source",
|
|
581
|
+
shorthand: null,
|
|
582
|
+
type: String,
|
|
583
|
+
argument: "MODEL",
|
|
584
|
+
deprecated: false,
|
|
585
|
+
description: "Model the rule matches (e.g. anthropic/claude-sonnet-4.5)"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
name: "destination",
|
|
589
|
+
shorthand: null,
|
|
590
|
+
type: String,
|
|
591
|
+
argument: "MODEL",
|
|
592
|
+
deprecated: false,
|
|
593
|
+
description: "Target model a rewrite rule routes to"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
name: "reason",
|
|
597
|
+
shorthand: null,
|
|
598
|
+
type: String,
|
|
599
|
+
argument: "TEXT",
|
|
600
|
+
deprecated: false,
|
|
601
|
+
description: "Reason surfaced when the rule applies"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
name: "description",
|
|
605
|
+
shorthand: null,
|
|
606
|
+
type: String,
|
|
607
|
+
argument: "TEXT",
|
|
608
|
+
deprecated: false,
|
|
609
|
+
description: "Human-readable description of the rule"
|
|
610
|
+
},
|
|
611
|
+
formatOption
|
|
612
|
+
],
|
|
613
|
+
examples: [
|
|
614
|
+
{
|
|
615
|
+
name: "Rewrite one model to another",
|
|
616
|
+
value: `${packageName} ai-gateway rules add --type rewrite --source anthropic/claude-fable-5 --destination anthropic/claude-opus-4.8`
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
name: "Deny a model",
|
|
620
|
+
value: `${packageName} ai-gateway rules add --type deny --source openai/gpt-4o`
|
|
621
|
+
}
|
|
622
|
+
]
|
|
623
|
+
};
|
|
624
|
+
var rulesListSubcommand = {
|
|
625
|
+
name: "list",
|
|
626
|
+
aliases: ["ls"],
|
|
627
|
+
description: "List AI Gateway routing rules",
|
|
628
|
+
arguments: [],
|
|
629
|
+
options: [
|
|
630
|
+
{
|
|
631
|
+
name: "include-disabled",
|
|
632
|
+
shorthand: null,
|
|
633
|
+
type: Boolean,
|
|
634
|
+
deprecated: false,
|
|
635
|
+
description: "Include disabled rules"
|
|
636
|
+
},
|
|
637
|
+
formatOption
|
|
638
|
+
],
|
|
639
|
+
examples: [
|
|
640
|
+
{
|
|
641
|
+
name: "List routing rules",
|
|
642
|
+
value: `${packageName} ai-gateway rules ls`
|
|
643
|
+
}
|
|
644
|
+
]
|
|
645
|
+
};
|
|
646
|
+
var rulesEditSubcommand = {
|
|
647
|
+
name: "edit",
|
|
648
|
+
aliases: [],
|
|
649
|
+
description: "Edit an AI Gateway routing rule",
|
|
650
|
+
arguments: [{ name: "ruleId", required: true }],
|
|
651
|
+
options: [
|
|
652
|
+
{
|
|
653
|
+
name: "enable",
|
|
654
|
+
shorthand: null,
|
|
655
|
+
type: Boolean,
|
|
656
|
+
deprecated: false,
|
|
657
|
+
description: "Enable the rule"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
name: "disable",
|
|
661
|
+
shorthand: null,
|
|
662
|
+
type: Boolean,
|
|
663
|
+
deprecated: false,
|
|
664
|
+
description: "Disable the rule"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
name: "destination",
|
|
668
|
+
shorthand: null,
|
|
669
|
+
type: String,
|
|
670
|
+
argument: "MODEL",
|
|
671
|
+
deprecated: false,
|
|
672
|
+
description: "Target model a rewrite rule routes to"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
name: "reason",
|
|
676
|
+
shorthand: null,
|
|
677
|
+
type: String,
|
|
678
|
+
argument: "TEXT",
|
|
679
|
+
deprecated: false,
|
|
680
|
+
description: "Reason surfaced when the rule applies"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
name: "description",
|
|
684
|
+
shorthand: null,
|
|
685
|
+
type: String,
|
|
686
|
+
argument: "TEXT",
|
|
687
|
+
deprecated: false,
|
|
688
|
+
description: "Human-readable description of the rule"
|
|
689
|
+
},
|
|
690
|
+
formatOption
|
|
691
|
+
],
|
|
692
|
+
examples: [
|
|
693
|
+
{
|
|
694
|
+
name: "Disable a rule",
|
|
695
|
+
value: `${packageName} ai-gateway rules edit rule_123 --disable`
|
|
696
|
+
}
|
|
697
|
+
]
|
|
698
|
+
};
|
|
699
|
+
var rulesRemoveSubcommand = {
|
|
700
|
+
name: "remove",
|
|
701
|
+
aliases: ["rm", "delete"],
|
|
702
|
+
description: "Remove an AI Gateway routing rule",
|
|
703
|
+
arguments: [{ name: "ruleId", required: true }],
|
|
704
|
+
options: [yesOption, formatOption],
|
|
705
|
+
examples: [
|
|
706
|
+
{
|
|
707
|
+
name: "Remove a rule",
|
|
708
|
+
value: `${packageName} ai-gateway rules rm rule_123`
|
|
709
|
+
}
|
|
710
|
+
]
|
|
711
|
+
};
|
|
712
|
+
var rulesSubcommand = {
|
|
713
|
+
name: "rules",
|
|
714
|
+
aliases: [],
|
|
715
|
+
description: "Manage AI Gateway routing rules (Beta).\n\nAI Gateway routing rules are in beta and may change before general availability. Avoid relying on them in production.",
|
|
716
|
+
arguments: [],
|
|
717
|
+
subcommands: [
|
|
718
|
+
rulesAddSubcommand,
|
|
719
|
+
rulesListSubcommand,
|
|
720
|
+
rulesEditSubcommand,
|
|
721
|
+
rulesRemoveSubcommand
|
|
722
|
+
],
|
|
723
|
+
options: [],
|
|
724
|
+
examples: []
|
|
725
|
+
};
|
|
565
726
|
var aiGatewayCommand = {
|
|
566
727
|
name: "ai-gateway",
|
|
567
728
|
aliases: [],
|
|
568
729
|
description: "Manage AI Gateway resources",
|
|
569
730
|
arguments: [],
|
|
570
|
-
subcommands: [apiKeysSubcommand],
|
|
731
|
+
subcommands: [apiKeysSubcommand, rulesSubcommand],
|
|
571
732
|
options: [],
|
|
572
733
|
examples: []
|
|
573
734
|
};
|
|
@@ -3083,7 +3244,7 @@ var ipBlocksSubcommand = {
|
|
|
3083
3244
|
}
|
|
3084
3245
|
]
|
|
3085
3246
|
};
|
|
3086
|
-
var
|
|
3247
|
+
var rulesListSubcommand2 = {
|
|
3087
3248
|
name: "list",
|
|
3088
3249
|
aliases: ["ls"],
|
|
3089
3250
|
description: "List all custom firewall rules, including any unpublished draft changes",
|
|
@@ -3140,7 +3301,7 @@ var rulesInspectSubcommand = {
|
|
|
3140
3301
|
}
|
|
3141
3302
|
]
|
|
3142
3303
|
};
|
|
3143
|
-
var
|
|
3304
|
+
var rulesAddSubcommand2 = {
|
|
3144
3305
|
name: "add",
|
|
3145
3306
|
aliases: [],
|
|
3146
3307
|
description: "Create a new custom firewall rule using AI, an interactive builder, JSON, or command-line flags. Stages a draft change \u2014 run `publish` to make it live",
|
|
@@ -3276,7 +3437,7 @@ var rulesAddSubcommand = {
|
|
|
3276
3437
|
}
|
|
3277
3438
|
]
|
|
3278
3439
|
};
|
|
3279
|
-
var
|
|
3440
|
+
var rulesEditSubcommand2 = {
|
|
3280
3441
|
name: "edit",
|
|
3281
3442
|
aliases: [],
|
|
3282
3443
|
description: "Edit an existing custom firewall rule using AI, an interactive editor, JSON, or command-line flags. Stages a draft change \u2014 run `publish` to make it live",
|
|
@@ -3452,7 +3613,7 @@ var rulesDisableSubcommand = {
|
|
|
3452
3613
|
}
|
|
3453
3614
|
]
|
|
3454
3615
|
};
|
|
3455
|
-
var
|
|
3616
|
+
var rulesRemoveSubcommand2 = {
|
|
3456
3617
|
name: "remove",
|
|
3457
3618
|
aliases: ["rm", "delete"],
|
|
3458
3619
|
description: "Remove a custom firewall rule. Stages a draft change \u2014 run `publish` to make it live",
|
|
@@ -3505,19 +3666,19 @@ var rulesReorderSubcommand = {
|
|
|
3505
3666
|
}
|
|
3506
3667
|
]
|
|
3507
3668
|
};
|
|
3508
|
-
var
|
|
3669
|
+
var rulesSubcommand2 = {
|
|
3509
3670
|
name: "rules",
|
|
3510
3671
|
aliases: [],
|
|
3511
3672
|
description: "Manage custom firewall rules that control how traffic is handled based on conditions",
|
|
3512
3673
|
arguments: [],
|
|
3513
3674
|
subcommands: [
|
|
3514
|
-
|
|
3675
|
+
rulesListSubcommand2,
|
|
3515
3676
|
rulesInspectSubcommand,
|
|
3516
|
-
|
|
3517
|
-
|
|
3677
|
+
rulesAddSubcommand2,
|
|
3678
|
+
rulesEditSubcommand2,
|
|
3518
3679
|
rulesEnableSubcommand,
|
|
3519
3680
|
rulesDisableSubcommand,
|
|
3520
|
-
|
|
3681
|
+
rulesRemoveSubcommand2,
|
|
3521
3682
|
rulesReorderSubcommand
|
|
3522
3683
|
],
|
|
3523
3684
|
options: [],
|
|
@@ -3651,7 +3812,7 @@ var firewallCommand = {
|
|
|
3651
3812
|
publishSubcommand,
|
|
3652
3813
|
discardSubcommand,
|
|
3653
3814
|
ipBlocksSubcommand,
|
|
3654
|
-
|
|
3815
|
+
rulesSubcommand2,
|
|
3655
3816
|
systemBypassSubcommand,
|
|
3656
3817
|
attackModeSubcommand,
|
|
3657
3818
|
systemMitigationsSubcommand
|
|
@@ -5249,7 +5410,17 @@ var discoverSubcommand = {
|
|
|
5249
5410
|
required: false
|
|
5250
5411
|
}
|
|
5251
5412
|
],
|
|
5252
|
-
options: [
|
|
5413
|
+
options: [
|
|
5414
|
+
{
|
|
5415
|
+
name: "category",
|
|
5416
|
+
shorthand: "c",
|
|
5417
|
+
type: [String],
|
|
5418
|
+
deprecated: false,
|
|
5419
|
+
argument: "CATEGORY",
|
|
5420
|
+
description: "Filter integrations by category (can be repeated; e.g., -c storage -c authentication). Run `vercel integration categories` for valid slugs."
|
|
5421
|
+
},
|
|
5422
|
+
formatOption
|
|
5423
|
+
],
|
|
5253
5424
|
examples: [
|
|
5254
5425
|
{
|
|
5255
5426
|
name: "Discover marketplace integrations",
|
|
@@ -5262,12 +5433,51 @@ var discoverSubcommand = {
|
|
|
5262
5433
|
`${packageName} integration discover aws`
|
|
5263
5434
|
]
|
|
5264
5435
|
},
|
|
5436
|
+
{
|
|
5437
|
+
name: "Filter integrations by category",
|
|
5438
|
+
value: [
|
|
5439
|
+
`${packageName} integration discover --category storage`,
|
|
5440
|
+
`${packageName} integration discover -c authentication`
|
|
5441
|
+
]
|
|
5442
|
+
},
|
|
5443
|
+
{
|
|
5444
|
+
name: "Filter by multiple categories at once (repeat the flag)",
|
|
5445
|
+
value: [
|
|
5446
|
+
`${packageName} integration discover --category storage --category authentication`,
|
|
5447
|
+
`${packageName} integration discover -c commerce -c payments -c authentication`
|
|
5448
|
+
]
|
|
5449
|
+
},
|
|
5450
|
+
{
|
|
5451
|
+
name: "List available category slugs to use with --category",
|
|
5452
|
+
value: [`${packageName} integration categories`]
|
|
5453
|
+
},
|
|
5265
5454
|
{
|
|
5266
5455
|
name: "Discover marketplace integrations as JSON",
|
|
5267
5456
|
value: [`${packageName} integration discover --format=json`]
|
|
5268
5457
|
}
|
|
5269
5458
|
]
|
|
5270
5459
|
};
|
|
5460
|
+
var categoriesSubcommand = {
|
|
5461
|
+
name: "categories",
|
|
5462
|
+
aliases: [],
|
|
5463
|
+
description: "List marketplace integration categories (slugs valid for `integration discover --category`)",
|
|
5464
|
+
arguments: [],
|
|
5465
|
+
options: [formatOption],
|
|
5466
|
+
examples: [
|
|
5467
|
+
{
|
|
5468
|
+
name: "List marketplace categories",
|
|
5469
|
+
value: [`${packageName} integration categories`]
|
|
5470
|
+
},
|
|
5471
|
+
{
|
|
5472
|
+
name: "List categories as JSON",
|
|
5473
|
+
value: [`${packageName} integration categories --format=json`]
|
|
5474
|
+
},
|
|
5475
|
+
{
|
|
5476
|
+
name: "Use a category slug to filter discover results",
|
|
5477
|
+
value: [`${packageName} integration discover --category storage`]
|
|
5478
|
+
}
|
|
5479
|
+
]
|
|
5480
|
+
};
|
|
5271
5481
|
var balanceSubcommand = {
|
|
5272
5482
|
name: "balance",
|
|
5273
5483
|
aliases: [],
|
|
@@ -5486,6 +5696,7 @@ var integrationCommand = {
|
|
|
5486
5696
|
addSubcommand7,
|
|
5487
5697
|
acceptTermsSubcommand,
|
|
5488
5698
|
balanceSubcommand,
|
|
5699
|
+
categoriesSubcommand,
|
|
5489
5700
|
discoverSubcommand,
|
|
5490
5701
|
guideSubcommand,
|
|
5491
5702
|
installationsSubcommand,
|
|
@@ -8632,6 +8843,11 @@ export {
|
|
|
8632
8843
|
agentCommand,
|
|
8633
8844
|
createSubcommand,
|
|
8634
8845
|
apiKeysSubcommand,
|
|
8846
|
+
rulesAddSubcommand,
|
|
8847
|
+
rulesListSubcommand,
|
|
8848
|
+
rulesEditSubcommand,
|
|
8849
|
+
rulesRemoveSubcommand,
|
|
8850
|
+
rulesSubcommand,
|
|
8635
8851
|
aiGatewayCommand,
|
|
8636
8852
|
setSubcommand,
|
|
8637
8853
|
listSubcommand,
|
|
@@ -8719,15 +8935,15 @@ export {
|
|
|
8719
8935
|
ipBlocksBlockSubcommand,
|
|
8720
8936
|
ipBlocksUnblockSubcommand,
|
|
8721
8937
|
ipBlocksSubcommand,
|
|
8722
|
-
|
|
8938
|
+
rulesListSubcommand2,
|
|
8723
8939
|
rulesInspectSubcommand,
|
|
8724
|
-
|
|
8725
|
-
|
|
8940
|
+
rulesAddSubcommand2,
|
|
8941
|
+
rulesEditSubcommand2,
|
|
8726
8942
|
rulesEnableSubcommand,
|
|
8727
8943
|
rulesDisableSubcommand,
|
|
8728
|
-
|
|
8944
|
+
rulesRemoveSubcommand2,
|
|
8729
8945
|
rulesReorderSubcommand,
|
|
8730
|
-
|
|
8946
|
+
rulesSubcommand2,
|
|
8731
8947
|
attackModeEnableSubcommand,
|
|
8732
8948
|
attackModeDisableSubcommand,
|
|
8733
8949
|
attackModeSubcommand,
|
|
@@ -8776,6 +8992,7 @@ export {
|
|
|
8776
8992
|
installationsSubcommand,
|
|
8777
8993
|
listSubcommand11,
|
|
8778
8994
|
discoverSubcommand,
|
|
8995
|
+
categoriesSubcommand,
|
|
8779
8996
|
balanceSubcommand,
|
|
8780
8997
|
updateSubcommand4,
|
|
8781
8998
|
removeSubcommand10,
|
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
getUpdateCommandInfo,
|
|
9
9
|
isGlobal,
|
|
10
10
|
isNativeBinaryInstall
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-V4GROAUJ.js";
|
|
12
12
|
import {
|
|
13
13
|
getGlobalPathConfig,
|
|
14
14
|
writeToConfigFile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-C3VH3X5Y.js";
|
|
16
16
|
import {
|
|
17
17
|
apiCommand,
|
|
18
18
|
listSubcommand2 as listSubcommand,
|
|
19
19
|
loginCommand
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KJ5O7JQQ.js";
|
|
21
21
|
import {
|
|
22
22
|
help
|
|
23
23
|
} from "./chunk-VNUNCNPE.js";
|
|
24
24
|
import {
|
|
25
25
|
login
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-5UCWXYNH.js";
|
|
27
27
|
import {
|
|
28
28
|
TelemetryClient
|
|
29
29
|
} from "./chunk-J5273CSE.js";
|