@depup/vercel 59.1.3-depup.0 → 59.5.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 (132) hide show
  1. package/README.md +6 -5
  2. package/changes.json +9 -5
  3. package/dist/chunks/{add-PP3PJPJV.js → add-MH3WV6PV.js} +14 -10
  4. package/dist/chunks/{add-CUGPQYFW.js → add-W3FFMTX4.js} +17 -13
  5. package/dist/chunks/{add-PRG4KKYH.js → add-Z5FM6TFI.js} +20 -16
  6. package/dist/chunks/{build-T22GMLY6.js → build-VYYFBJL7.js} +15 -12
  7. package/dist/chunks/{chunk-F7OXZLY2.js → chunk-26XDDLXM.js} +2 -2
  8. package/dist/chunks/{chunk-RIB4S2IB.js → chunk-3HZLXCVL.js} +1 -1
  9. package/dist/chunks/{chunk-KTLFN5FV.js → chunk-47VQ6H2S.js} +1 -1
  10. package/dist/chunks/{chunk-DAWJOQF6.js → chunk-4JTF6RD7.js} +8 -8
  11. package/dist/chunks/{chunk-3KNPVXJ3.js → chunk-4KD5BYHB.js} +1 -1
  12. package/dist/chunks/{chunk-XLKFJPMT.js → chunk-57RHXXXG.js} +1 -1
  13. package/dist/chunks/chunk-5GGUB4EO.js +31 -0
  14. package/dist/chunks/chunk-5LX2JDZP.js +34 -0
  15. package/dist/chunks/chunk-7Q45OKWR.js +149 -0
  16. package/dist/chunks/{chunk-7NQLRE5V.js → chunk-7XX4ZEOV.js} +2 -2
  17. package/dist/chunks/{chunk-JKQWQA2T.js → chunk-AINIBIP4.js} +1 -1
  18. package/dist/chunks/{chunk-SOFC4MLS.js → chunk-AWCID36T.js} +8 -568
  19. package/dist/chunks/{chunk-QCVKGY2A.js → chunk-AWSLWAOC.js} +36 -13
  20. package/dist/chunks/chunk-C5HKWXRR.js +18 -0
  21. package/dist/chunks/{chunk-2MF3ZAVW.js → chunk-CJV7J7B5.js} +6 -6
  22. package/dist/chunks/chunk-CQJRLNTX.js +104 -0
  23. package/dist/chunks/{chunk-IKKUCZE7.js → chunk-CSCSGSQG.js} +4 -4
  24. package/dist/chunks/{chunk-NM43FFV6.js → chunk-CV4S27SS.js} +0 -1
  25. package/dist/chunks/{chunk-ECCWJHC6.js → chunk-CYNB6LL4.js} +43 -36
  26. package/dist/chunks/{chunk-3L2YLLHC.js → chunk-DWIC7MRV.js} +2 -2
  27. package/dist/chunks/{chunk-VE545BR3.js → chunk-E6LFKMI2.js} +13663 -14282
  28. package/dist/chunks/{chunk-GFCTRJI5.js → chunk-EZKW5YJ2.js} +1 -1
  29. package/dist/chunks/{chunk-5DVMXOFT.js → chunk-FA3MO56Q.js} +37 -33
  30. package/dist/chunks/{chunk-DEB45ND4.js → chunk-GUWPUX2Y.js} +5 -5
  31. package/dist/chunks/chunk-GY5I4AYD.js +122 -0
  32. package/dist/chunks/chunk-HGRWPPYB.js +18 -0
  33. package/dist/chunks/{chunk-SQGMTRZD.js → chunk-JJQP3PYM.js} +646 -464
  34. package/dist/chunks/{chunk-DOMLWKKZ.js → chunk-JNU3DTEV.js} +25 -26
  35. package/dist/chunks/{chunk-P65EEFTR.js → chunk-KQRVZWJU.js} +1 -0
  36. package/dist/chunks/{chunk-TJLBCLEX.js → chunk-L7CEMAJG.js} +15 -3
  37. package/dist/chunks/{chunk-M34ZRNDQ.js → chunk-LLM3ZNXJ.js} +3 -3
  38. package/dist/chunks/{chunk-TM3F7PLR.js → chunk-M3OSDZPY.js} +7 -5
  39. package/dist/chunks/{chunk-TNKRSTMB.js → chunk-MRMNMFMD.js} +5 -8
  40. package/dist/chunks/{chunk-CSJBZKC5.js → chunk-MTWHQEXI.js} +70 -58
  41. package/dist/chunks/{chunk-WC7IINFV.js → chunk-NFU4XJIR.js} +1 -1
  42. package/dist/chunks/{chunk-XZLI27ES.js → chunk-NSU2BTRS.js} +4 -4
  43. package/dist/chunks/chunk-OHER4DGX.js +451 -0
  44. package/dist/chunks/{chunk-BBSS3XIW.js → chunk-OQ3C5VXZ.js} +1 -1
  45. package/dist/chunks/{chunk-57G6HBJ4.js → chunk-PBHBX6UL.js} +3 -3
  46. package/dist/chunks/{chunk-3BU2UCGV.js → chunk-PIMIKY4X.js} +1 -1
  47. package/dist/chunks/{chunk-M22O6CYY.js → chunk-POOO7W47.js} +1 -1
  48. package/dist/chunks/{chunk-BCZFZETZ.js → chunk-PPUWG2UB.js} +13 -9
  49. package/dist/chunks/chunk-Q2DGFCO7.js +579 -0
  50. package/dist/chunks/{chunk-SOKQBFF7.js → chunk-QG4PCM45.js} +570 -207
  51. package/dist/chunks/{chunk-VAFU7DXZ.js → chunk-RKDCNQ4S.js} +1 -91
  52. package/dist/chunks/{chunk-SJQEGGH7.js → chunk-RZ5NP6HN.js} +3 -3
  53. package/dist/chunks/{chunk-GMWRTZVZ.js → chunk-SLPSPYVR.js} +1 -1
  54. package/dist/chunks/{chunk-43DD2KNM.js → chunk-TAZ5ZAKG.js} +1362 -938
  55. package/dist/chunks/{chunk-4HI7G6KG.js → chunk-TDXNNIZ6.js} +1 -1
  56. package/dist/chunks/{chunk-4JKZ7SRX.js → chunk-TIWAL2YU.js} +7 -7
  57. package/dist/chunks/{chunk-P2QZZ6MR.js → chunk-TVXCXIRO.js} +1 -1
  58. package/dist/chunks/{chunk-ZUVJISHS.js → chunk-UUVMIXT4.js} +5 -5
  59. package/dist/chunks/{chunk-QD5NX7RG.js → chunk-V4YLY44R.js} +3 -17
  60. package/dist/chunks/{chunk-PD7ZUXE7.js → chunk-VLPLCJZC.js} +0 -9
  61. package/dist/chunks/{chunk-O5GNPPTU.js → chunk-VP5Y3SZG.js} +1 -1
  62. package/dist/chunks/{chunk-LNVZ3T7X.js → chunk-VWYNSJXI.js} +8 -8
  63. package/dist/chunks/{chunk-7QVJTI5H.js → chunk-XDGOOW3K.js} +1 -1
  64. package/dist/chunks/{chunk-UMA66MKW.js → chunk-XM3LOQIX.js} +1 -1
  65. package/dist/chunks/{chunk-VDJN4WKH.js → chunk-XRWOTCDO.js} +1 -1
  66. package/dist/chunks/{chunk-JYEO6OJS.js → chunk-YIHOS3ZF.js} +6 -5
  67. package/dist/chunks/{chunk-QQ6PH4RY.js → chunk-YJUO3EKH.js} +11 -1
  68. package/dist/chunks/chunk-ZKUHCL6O.js +249 -0
  69. package/dist/chunks/{clear-Z4IKUIN7.js → clear-TNGRDA7D.js} +14 -10
  70. package/dist/chunks/{compile-vercel-config-PSVXFAZW.js → compile-vercel-config-ERLXKKWW.js} +9 -6
  71. package/dist/chunks/config-7EDKML5Q.js +122 -0
  72. package/dist/chunks/{config-M5GMZ2X5.js → config-H22EE765.js} +17 -13
  73. package/dist/chunks/{delete-5GRRDJSF.js → delete-LORYIZHY.js} +11 -8
  74. package/dist/chunks/{delete-P4XIBY7T.js → delete-Q4S5F2AI.js} +14 -10
  75. package/dist/chunks/{disable-NT5NYVO7.js → disable-HKWCBDJC.js} +11 -8
  76. package/dist/chunks/{discard-TBNIEAJZ.js → discard-UCCRF2JQ.js} +11 -8
  77. package/dist/chunks/{edit-UF3D2CCH.js → edit-6IM6VRBR.js} +15 -11
  78. package/dist/chunks/{edit-DJ6MT6HA.js → edit-AWL35PYQ.js} +13 -10
  79. package/dist/chunks/{enable-JTQBQMBO.js → enable-GN3D3L3V.js} +11 -8
  80. package/dist/chunks/{export-OKMRGRVM.js → export-HHRVFALV.js} +11 -8
  81. package/dist/chunks/{image-ARUJH4H5.js → image-4DCU4VPP.js} +6 -5
  82. package/dist/chunks/{import-builders-3NTMZM64.js → import-builders-DVG3HOTF.js} +16 -12
  83. package/dist/chunks/{inspect-UXP2HDES.js → inspect-B3OWUFLH.js} +14 -10
  84. package/dist/chunks/{inspect-5NETOGAI.js → inspect-TGOJDKIT.js} +17 -13
  85. package/dist/chunks/{inspect-FXZTQY62.js → inspect-TUW67CFZ.js} +17 -11
  86. package/dist/chunks/{inspect-CHFKZKKP.js → inspect-VLGKNHJW.js} +14 -10
  87. package/dist/chunks/{inspect-PTXIBSYW.js → inspect-VPME6UC7.js} +17 -13
  88. package/dist/chunks/{list-2WMIVJ2R.js → list-2DPKDHRV.js} +17 -11
  89. package/dist/chunks/{list-ADI55WKW.js → list-K552ITMK.js} +17 -13
  90. package/dist/chunks/{list-DYCZA2VX.js → list-TK2JO7BK.js} +14 -10
  91. package/dist/chunks/{login-YCSIQG6B.js → login-HRWEKW5P.js} +17 -13
  92. package/dist/chunks/{ls-PQFDGOJL.js → ls-IOXGXEY4.js} +17 -13
  93. package/dist/chunks/{ls-EOMIQLRH.js → ls-JSV2WZVF.js} +17 -12
  94. package/dist/chunks/{ls-2TKUIUK4.js → ls-M5TYGFP5.js} +17 -12
  95. package/dist/chunks/{ls-VIOMDUGW.js → ls-O2WYF5UL.js} +20 -15
  96. package/dist/chunks/ls-TM6NTZEB.js +176 -0
  97. package/dist/chunks/{ls-RZVTIP5U.js → ls-YIF3KLF3.js} +17 -12
  98. package/dist/chunks/{open-JYPWOXQD.js → open-FWAVEWGU.js} +14 -10
  99. package/dist/chunks/{permissions-SGJWGEVD.js → permissions-DPFYL47Z.js} +9 -8
  100. package/dist/chunks/{publish-ZUQHJAXL.js → publish-63CGFKQR.js} +11 -8
  101. package/dist/chunks/{push-XMVKG5A5.js → push-T5ZTBW3P.js} +15 -12
  102. package/dist/chunks/{query-ZLJZEGZB.js → query-B6O3EMEV.js} +227 -86
  103. package/dist/chunks/{reorder-NVHDWMRU.js → reorder-ANV4NMKH.js} +11 -8
  104. package/dist/chunks/{reply-PUUPUQ3V.js → reply-C73KGOCG.js} +15 -11
  105. package/dist/chunks/{resolve-5U2LJVE6.js → resolve-IHSIVPEE.js} +14 -10
  106. package/dist/chunks/{restore-OXIUY2UI.js → restore-GSUNXP2O.js} +11 -8
  107. package/dist/chunks/{rm-BZNKJRXU.js → rm-4O74PS4Q.js} +14 -10
  108. package/dist/chunks/{rm-OUI4ZB5R.js → rm-M7IJC2WZ.js} +14 -10
  109. package/dist/chunks/{rm-Z2KYJ7XT.js → rm-PRINF4OU.js} +17 -13
  110. package/dist/chunks/rm-RV5SQFQA.js +317 -0
  111. package/dist/chunks/{rm-3IOCBNPE.js → rm-YDTK5ESZ.js} +15 -11
  112. package/dist/chunks/{routes-JP2CNQ5J.js → routes-SZI2G4SE.js} +2 -2
  113. package/dist/chunks/{rule-inspect-ZBJJCDQV.js → rule-inspect-ZZC53FLP.js} +17 -13
  114. package/dist/chunks/{rules-HEGAXXUN.js → rules-SAOSSGFI.js} +10 -9
  115. package/dist/chunks/{schema-ZYIJYA2E.js → schema-23ZFAKDU.js} +8 -6
  116. package/dist/chunks/{schema-7GVL3BNP.js → schema-2Q3QRMRO.js} +29 -16
  117. package/dist/chunks/set-L47ZCZBJ.js +243 -0
  118. package/dist/chunks/{tags-3SCWCMNQ.js → tags-2TWLM77N.js} +5 -4
  119. package/dist/chunks/{types-AJHILHO5.js → types-G3PEUIJH.js} +11 -7
  120. package/dist/chunks/{update-YR2GCCJN.js → update-SZH2VBD6.js} +18 -14
  121. package/dist/commands/build/index.js +3106 -2522
  122. package/dist/commands/deploy/index.js +42 -33
  123. package/dist/commands/dev/index.js +96 -46
  124. package/dist/commands/env/index.js +189 -255
  125. package/dist/commands/link/index.js +26 -21
  126. package/dist/commands/list/index.js +20 -13
  127. package/dist/commands-bulk.js +4984 -2308
  128. package/dist/help.js +1 -1
  129. package/dist/index.js +49 -31
  130. package/dist/runtime-assets/node-preloads/next-dev-websocket.cjs +5 -1
  131. package/dist/version.mjs +1 -1
  132. package/package.json +68 -61
package/README.md CHANGED
@@ -13,10 +13,10 @@ npm install @depup/vercel
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [vercel](https://www.npmjs.com/package/vercel) @ 59.1.3 |
17
- | Processed | 2026-08-16 |
16
+ | Original | [vercel](https://www.npmjs.com/package/vercel) @ 59.5.0 |
17
+ | Processed | 2026-08-23 |
18
18
  | Smoke test | failed |
19
- | Deps updated | 10 |
19
+ | Deps updated | 11 |
20
20
 
21
21
  ## Dependency Changes
22
22
 
@@ -26,11 +26,12 @@ npm install @depup/vercel
26
26
  | @vercel/prepare-flags-definitions | 0.3.0 | ^0.4.0 |
27
27
  | chokidar | 4.0.0 | ^5.0.0 |
28
28
  | esbuild | 0.27.0 | ^0.28.2 |
29
- | jose | 5.9.6 | ^6.2.9 |
29
+ | jose | 5.9.6 | ^6.2.10 |
30
30
  | luxon | ^3.4.0 | ^3.7.2 |
31
- | sandbox | 3.4.0 | ^4.0.0 |
31
+ | sandbox | 4.0.0 | ^4.1.0 |
32
32
  | smol-toml | 1.5.2 | ^1.8.0 |
33
33
  | undici | 5.29.0 | ^8.10.0 |
34
+ | uuid | 14.0.1 | ^14.0.2 |
34
35
  | zod | 4.1.11 | ^4.4.3 |
35
36
 
36
37
  ---
package/changes.json CHANGED
@@ -18,15 +18,15 @@
18
18
  },
19
19
  "jose": {
20
20
  "from": "5.9.6",
21
- "to": "^6.2.9"
21
+ "to": "^6.2.10"
22
22
  },
23
23
  "luxon": {
24
24
  "from": "^3.4.0",
25
25
  "to": "^3.7.2"
26
26
  },
27
27
  "sandbox": {
28
- "from": "3.4.0",
29
- "to": "^4.0.0"
28
+ "from": "4.0.0",
29
+ "to": "^4.1.0"
30
30
  },
31
31
  "smol-toml": {
32
32
  "from": "1.5.2",
@@ -36,11 +36,15 @@
36
36
  "from": "5.29.0",
37
37
  "to": "^8.10.0"
38
38
  },
39
+ "uuid": {
40
+ "from": "14.0.1",
41
+ "to": "^14.0.2"
42
+ },
39
43
  "zod": {
40
44
  "from": "4.1.11",
41
45
  "to": "^4.4.3"
42
46
  }
43
47
  },
44
- "timestamp": "2026-08-16T00:28:44.655Z",
45
- "totalUpdated": 10
48
+ "timestamp": "2026-08-23T00:28:28.506Z",
49
+ "totalUpdated": 11
46
50
  }
@@ -17,35 +17,39 @@ import {
17
17
  emitVcrArgParseError,
18
18
  resolveVcrScope,
19
19
  validateVcrJsonOutput
20
- } from "./chunk-TM3F7PLR.js";
20
+ } from "./chunk-M3OSDZPY.js";
21
21
  import "./chunk-G75NFPIT.js";
22
22
  import {
23
23
  outputError
24
- } from "./chunk-P65EEFTR.js";
24
+ } from "./chunk-KQRVZWJU.js";
25
25
  import "./chunk-KXDWXXJH.js";
26
26
  import {
27
27
  permissionsAddSubcommand
28
- } from "./chunk-GFCTRJI5.js";
28
+ } from "./chunk-EZKW5YJ2.js";
29
29
  import "./chunk-R6IGDGX3.js";
30
- import "./chunk-VE545BR3.js";
31
- import "./chunk-ECCWJHC6.js";
30
+ import "./chunk-E6LFKMI2.js";
31
+ import "./chunk-OHER4DGX.js";
32
+ import "./chunk-CYNB6LL4.js";
32
33
  import {
33
34
  AGENT_REASON,
34
35
  buildCommandWithGlobalFlags,
35
36
  outputAgentError
36
- } from "./chunk-TJLBCLEX.js";
37
+ } from "./chunk-L7CEMAJG.js";
37
38
  import "./chunk-GGP5R3FU.js";
38
39
  import {
39
40
  printError
40
- } from "./chunk-VAFU7DXZ.js";
41
+ } from "./chunk-CQJRLNTX.js";
41
42
  import {
42
43
  parseArguments
43
- } from "./chunk-XLKFJPMT.js";
44
+ } from "./chunk-57RHXXXG.js";
45
+ import "./chunk-RKDCNQ4S.js";
46
+ import {
47
+ isAPIError
48
+ } from "./chunk-AWCID36T.js";
44
49
  import {
45
50
  getFlagsSpecification,
46
- isAPIError,
47
51
  packageName
48
- } from "./chunk-SOFC4MLS.js";
52
+ } from "./chunk-Q2DGFCO7.js";
49
53
  import "./chunk-P4QNYOFB.js";
50
54
  import "./chunk-52QYYTM5.js";
51
55
  import {
@@ -9,38 +9,42 @@ import {
9
9
  handleVcrApiError,
10
10
  resolveVcrScope,
11
11
  validateVcrJsonOutput
12
- } from "./chunk-TM3F7PLR.js";
12
+ } from "./chunk-M3OSDZPY.js";
13
13
  import "./chunk-G75NFPIT.js";
14
14
  import {
15
15
  outputError
16
- } from "./chunk-P65EEFTR.js";
16
+ } from "./chunk-KQRVZWJU.js";
17
17
  import "./chunk-KXDWXXJH.js";
18
18
  import {
19
19
  addSubcommand
20
- } from "./chunk-2MF3ZAVW.js";
21
- import "./chunk-WC7IINFV.js";
22
- import "./chunk-RIB4S2IB.js";
23
- import "./chunk-GFCTRJI5.js";
20
+ } from "./chunk-CJV7J7B5.js";
21
+ import "./chunk-EZKW5YJ2.js";
22
+ import "./chunk-NFU4XJIR.js";
23
+ import "./chunk-3HZLXCVL.js";
24
24
  import "./chunk-R6IGDGX3.js";
25
- import "./chunk-VE545BR3.js";
26
- import "./chunk-ECCWJHC6.js";
25
+ import "./chunk-E6LFKMI2.js";
26
+ import "./chunk-OHER4DGX.js";
27
+ import "./chunk-CYNB6LL4.js";
27
28
  import {
28
29
  AGENT_REASON,
29
30
  buildCommandWithGlobalFlags,
30
31
  outputAgentError
31
- } from "./chunk-TJLBCLEX.js";
32
+ } from "./chunk-L7CEMAJG.js";
32
33
  import "./chunk-GGP5R3FU.js";
33
34
  import {
34
35
  printError
35
- } from "./chunk-VAFU7DXZ.js";
36
+ } from "./chunk-CQJRLNTX.js";
36
37
  import {
37
38
  parseArguments
38
- } from "./chunk-XLKFJPMT.js";
39
+ } from "./chunk-57RHXXXG.js";
40
+ import "./chunk-RKDCNQ4S.js";
41
+ import {
42
+ isAPIError
43
+ } from "./chunk-AWCID36T.js";
39
44
  import {
40
45
  getFlagsSpecification,
41
- isAPIError,
42
46
  packageName
43
- } from "./chunk-SOFC4MLS.js";
47
+ } from "./chunk-Q2DGFCO7.js";
44
48
  import "./chunk-P4QNYOFB.js";
45
49
  import "./chunk-52QYYTM5.js";
46
50
  import {
@@ -8,48 +8,52 @@ import {
8
8
  parseCustomAlertQueryBody,
9
9
  resolveCustomAlertProjectName,
10
10
  setMissingCustomAlertProjectScope
11
- } from "./chunk-IKKUCZE7.js";
11
+ } from "./chunk-CSCSGSQG.js";
12
12
  import {
13
13
  emitRulesArgParseError,
14
14
  handleRulesApiError,
15
15
  parseRulesFlagsAndScope,
16
16
  rulesCollectionPath
17
- } from "./chunk-57G6HBJ4.js";
17
+ } from "./chunk-PBHBX6UL.js";
18
18
  import {
19
19
  isCustomAlertRule
20
- } from "./chunk-F7OXZLY2.js";
21
- import "./chunk-XZLI27ES.js";
20
+ } from "./chunk-26XDDLXM.js";
21
+ import "./chunk-NSU2BTRS.js";
22
22
  import "./chunk-A3NYPUKZ.js";
23
- import "./chunk-P65EEFTR.js";
23
+ import "./chunk-KQRVZWJU.js";
24
24
  import "./chunk-FGDKMNEN.js";
25
- import "./chunk-DAWJOQF6.js";
26
- import "./chunk-JKQWQA2T.js";
27
- import "./chunk-VDJN4WKH.js";
25
+ import "./chunk-4JTF6RD7.js";
26
+ import "./chunk-AINIBIP4.js";
27
+ import "./chunk-XRWOTCDO.js";
28
28
  import {
29
29
  validateJsonOutput
30
30
  } from "./chunk-KXDWXXJH.js";
31
31
  import {
32
32
  rulesAddSubcommand
33
- } from "./chunk-UMA66MKW.js";
34
- import "./chunk-VE545BR3.js";
35
- import "./chunk-ECCWJHC6.js";
33
+ } from "./chunk-XM3LOQIX.js";
34
+ import "./chunk-E6LFKMI2.js";
35
+ import "./chunk-OHER4DGX.js";
36
+ import "./chunk-CYNB6LL4.js";
36
37
  import {
37
38
  AGENT_REASON,
38
39
  buildCommandWithGlobalFlags,
39
40
  outputAgentError
40
- } from "./chunk-TJLBCLEX.js";
41
+ } from "./chunk-L7CEMAJG.js";
41
42
  import "./chunk-GGP5R3FU.js";
42
43
  import {
43
44
  printError
44
- } from "./chunk-VAFU7DXZ.js";
45
+ } from "./chunk-CQJRLNTX.js";
45
46
  import {
46
47
  parseArguments
47
- } from "./chunk-XLKFJPMT.js";
48
+ } from "./chunk-57RHXXXG.js";
49
+ import "./chunk-RKDCNQ4S.js";
50
+ import {
51
+ isAPIError
52
+ } from "./chunk-AWCID36T.js";
48
53
  import {
49
54
  getFlagsSpecification,
50
- isAPIError,
51
55
  packageName
52
- } from "./chunk-SOFC4MLS.js";
56
+ } from "./chunk-Q2DGFCO7.js";
53
57
  import "./chunk-P4QNYOFB.js";
54
58
  import "./chunk-52QYYTM5.js";
55
59
  import {
@@ -23,36 +23,39 @@ import {
23
23
  runEngine,
24
24
  splitPassthrough,
25
25
  validateVcrChoice
26
- } from "./chunk-TM3F7PLR.js";
26
+ } from "./chunk-M3OSDZPY.js";
27
27
  import "./chunk-G75NFPIT.js";
28
28
  import {
29
29
  outputError
30
- } from "./chunk-P65EEFTR.js";
30
+ } from "./chunk-KQRVZWJU.js";
31
31
  import "./chunk-KXDWXXJH.js";
32
32
  import {
33
33
  buildSubcommand
34
- } from "./chunk-2MF3ZAVW.js";
35
- import "./chunk-WC7IINFV.js";
36
- import "./chunk-RIB4S2IB.js";
37
- import "./chunk-GFCTRJI5.js";
34
+ } from "./chunk-CJV7J7B5.js";
35
+ import "./chunk-EZKW5YJ2.js";
36
+ import "./chunk-NFU4XJIR.js";
37
+ import "./chunk-3HZLXCVL.js";
38
38
  import "./chunk-R6IGDGX3.js";
39
- import "./chunk-VE545BR3.js";
40
- import "./chunk-ECCWJHC6.js";
39
+ import "./chunk-E6LFKMI2.js";
40
+ import "./chunk-OHER4DGX.js";
41
+ import "./chunk-CYNB6LL4.js";
41
42
  import {
42
43
  AGENT_REASON,
43
44
  buildCommandWithGlobalFlags,
44
45
  outputAgentError
45
- } from "./chunk-TJLBCLEX.js";
46
+ } from "./chunk-L7CEMAJG.js";
46
47
  import "./chunk-GGP5R3FU.js";
47
48
  import {
48
49
  printError
49
- } from "./chunk-VAFU7DXZ.js";
50
+ } from "./chunk-CQJRLNTX.js";
50
51
  import {
51
52
  parseArguments
52
- } from "./chunk-XLKFJPMT.js";
53
+ } from "./chunk-57RHXXXG.js";
54
+ import "./chunk-RKDCNQ4S.js";
55
+ import "./chunk-AWCID36T.js";
53
56
  import {
54
57
  getFlagsSpecification
55
- } from "./chunk-SOFC4MLS.js";
58
+ } from "./chunk-Q2DGFCO7.js";
56
59
  import "./chunk-P4QNYOFB.js";
57
60
  import "./chunk-52QYYTM5.js";
58
61
  import {
@@ -12,10 +12,10 @@ import {
12
12
  } from "./chunk-FGDKMNEN.js";
13
13
  import {
14
14
  truncateMiddle
15
- } from "./chunk-VDJN4WKH.js";
15
+ } from "./chunk-XRWOTCDO.js";
16
16
  import {
17
17
  table
18
- } from "./chunk-VAFU7DXZ.js";
18
+ } from "./chunk-RKDCNQ4S.js";
19
19
 
20
20
  // src/commands/alerts/format.ts
21
21
  function renderAlertTable(rows, hsep = 3) {
@@ -11,7 +11,7 @@ import {
11
11
  packageName,
12
12
  projectOption,
13
13
  yesOption
14
- } from "./chunk-SOFC4MLS.js";
14
+ } from "./chunk-Q2DGFCO7.js";
15
15
 
16
16
  // src/commands/vcr/image/command.ts
17
17
  var projectScopeOption = {
@@ -8,7 +8,7 @@ import {
8
8
  formatCondition,
9
9
  formatTransform,
10
10
  isTargetTransform
11
- } from "./chunk-ZUVJISHS.js";
11
+ } from "./chunk-UUVMIXT4.js";
12
12
  import {
13
13
  output_manager_default
14
14
  } from "./chunk-OX7KI3LF.js";
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getGlobalPathConfig,
9
9
  highlight
10
- } from "./chunk-JKQWQA2T.js";
10
+ } from "./chunk-AINIBIP4.js";
11
11
  import {
12
12
  DEFAULT_VERCEL_CONFIG_FILENAME,
13
13
  PromptBackError,
@@ -37,20 +37,20 @@ import {
37
37
  useKeypress,
38
38
  usePrefix,
39
39
  useState
40
- } from "./chunk-VE545BR3.js";
40
+ } from "./chunk-E6LFKMI2.js";
41
41
  import {
42
42
  require_load_json_file
43
- } from "./chunk-ECCWJHC6.js";
44
- import {
45
- require_strip_ansi
46
- } from "./chunk-VAFU7DXZ.js";
43
+ } from "./chunk-CYNB6LL4.js";
47
44
  import {
48
45
  parseArguments
49
- } from "./chunk-XLKFJPMT.js";
46
+ } from "./chunk-57RHXXXG.js";
47
+ import {
48
+ require_strip_ansi
49
+ } from "./chunk-RKDCNQ4S.js";
50
50
  import {
51
51
  APIError,
52
52
  NowError
53
- } from "./chunk-SOFC4MLS.js";
53
+ } from "./chunk-AWCID36T.js";
54
54
  import {
55
55
  pkg_default
56
56
  } from "./chunk-P4QNYOFB.js";
@@ -11,7 +11,7 @@ import {
11
11
  nextOption,
12
12
  packageName,
13
13
  projectOption
14
- } from "./chunk-SOFC4MLS.js";
14
+ } from "./chunk-Q2DGFCO7.js";
15
15
 
16
16
  // src/commands/activity/command.ts
17
17
  var typesSubcommand = {
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  arg_common_default
9
- } from "./chunk-SOFC4MLS.js";
9
+ } from "./chunk-Q2DGFCO7.js";
10
10
  import {
11
11
  __commonJS,
12
12
  __toESM
@@ -0,0 +1,31 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __dirname_ } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __dirname_(__filename);
7
+
8
+ // src/commands/traces/scope-resolver.ts
9
+ var MISSING_BOTH_MESSAGE = "No linked project found. Run `vercel link`, pass --cwd to a linked dir, or use --scope <team> and --project <name>.";
10
+ function resolveScope({
11
+ flags = {},
12
+ linkedProject
13
+ }) {
14
+ const flagScope = flags.scope?.trim() || void 0;
15
+ const flagProject = flags.project?.trim() || void 0;
16
+ if (linkedProject.status === "linked") {
17
+ return {
18
+ teamId: flagScope ?? linkedProject.org.id,
19
+ projectId: flagProject ?? linkedProject.project.id
20
+ };
21
+ }
22
+ if (flagScope && flagProject) {
23
+ return { teamId: flagScope, projectId: flagProject };
24
+ }
25
+ return { message: MISSING_BOTH_MESSAGE };
26
+ }
27
+
28
+ export {
29
+ MISSING_BOTH_MESSAGE,
30
+ resolveScope
31
+ };
@@ -0,0 +1,34 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __dirname_ } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __dirname_(__filename);
7
+ import {
8
+ getCommandName
9
+ } from "./chunk-Q2DGFCO7.js";
10
+ import {
11
+ output_manager_default
12
+ } from "./chunk-OX7KI3LF.js";
13
+ import {
14
+ require_source
15
+ } from "./chunk-S7KYDPEM.js";
16
+ import {
17
+ __toESM
18
+ } from "./chunk-TZ2YI2VH.js";
19
+
20
+ // src/util/validate-ls-args.ts
21
+ var import_chalk = __toESM(require_source(), 1);
22
+ function validateLsArgs(options) {
23
+ const { commandName, args, maxArgs = 0, exitCode = 1, usageString } = options;
24
+ if (args.length > maxArgs) {
25
+ const usage = usageString || getCommandName(commandName);
26
+ output_manager_default.error(`Invalid number of arguments. Usage: ${import_chalk.default.cyan(usage)}`);
27
+ return exitCode;
28
+ }
29
+ return 0;
30
+ }
31
+
32
+ export {
33
+ validateLsArgs
34
+ };
@@ -0,0 +1,149 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __dirname_ } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __dirname_(__filename);
7
+ import {
8
+ tracesConfigCommand
9
+ } from "./chunk-GY5I4AYD.js";
10
+ import {
11
+ deploymentOption,
12
+ packageName,
13
+ protectionBypassOption,
14
+ yesOption
15
+ } from "./chunk-Q2DGFCO7.js";
16
+
17
+ // src/commands/traces/command.ts
18
+ var getSubcommand = {
19
+ name: "get",
20
+ aliases: [],
21
+ default: true,
22
+ description: "Fetch a captured trace by request id.",
23
+ arguments: [{ name: "requestId", required: false }],
24
+ options: [
25
+ {
26
+ name: "json",
27
+ shorthand: null,
28
+ type: Boolean,
29
+ deprecated: false,
30
+ description: "Print the raw trace JSON to stdout instead of the markdown summary."
31
+ },
32
+ {
33
+ name: "project",
34
+ shorthand: null,
35
+ type: String,
36
+ argument: "NAME|ID",
37
+ deprecated: false,
38
+ description: "Project name or id to fetch the trace from (overrides the linked project)."
39
+ },
40
+ {
41
+ name: "open",
42
+ shorthand: null,
43
+ type: Boolean,
44
+ deprecated: false,
45
+ description: "Open the trace in the Vercel Dashboard instead of printing it."
46
+ },
47
+ {
48
+ name: "view",
49
+ shorthand: null,
50
+ type: String,
51
+ argument: "timeline|tree|waterfall",
52
+ deprecated: false,
53
+ description: "Dashboard view to open. Only valid with --open. Defaults to timeline."
54
+ }
55
+ ],
56
+ examples: [
57
+ {
58
+ name: "Fetch a trace by request id",
59
+ value: `${packageName} traces get req_1234567890`
60
+ },
61
+ {
62
+ name: "Print the raw trace JSON",
63
+ value: `${packageName} traces get req_1234567890 --json`
64
+ },
65
+ {
66
+ name: "`get` is the default \u2014 this is equivalent to the above",
67
+ value: `${packageName} traces req_1234567890`
68
+ },
69
+ {
70
+ name: "Fetch a trace from a specific team and project",
71
+ value: `${packageName} traces get req_1234567890 --scope my-team --project my-app`
72
+ },
73
+ {
74
+ name: "Open the trace in the Vercel Dashboard",
75
+ value: `${packageName} traces get req_1234567890 --open`
76
+ },
77
+ {
78
+ name: "Open the trace in the Vercel Dashboard with the waterfall view",
79
+ value: `${packageName} traces get req_1234567890 --open --view waterfall`
80
+ }
81
+ ]
82
+ };
83
+ var createSubcommand = {
84
+ name: "create",
85
+ aliases: [],
86
+ description: "Capture a session trace for a request (alias for `vercel curl --trace`).",
87
+ arguments: [{ name: "path", required: true }],
88
+ options: [
89
+ deploymentOption,
90
+ protectionBypassOption,
91
+ {
92
+ name: "json",
93
+ shorthand: null,
94
+ type: Boolean,
95
+ deprecated: false,
96
+ description: "Emit { response, requestId } as JSON on stdout"
97
+ },
98
+ {
99
+ ...yesOption,
100
+ description: "Skip the production confirmation prompt (e.g. in non-interactive mode)"
101
+ }
102
+ ],
103
+ examples: [
104
+ {
105
+ name: "Capture a session trace for a request",
106
+ value: `${packageName} traces create /api/hello`
107
+ },
108
+ {
109
+ name: "Target a specific deployment",
110
+ value: `${packageName} traces create /api/status --deployment https://your-project-abc123.vercel.app`
111
+ },
112
+ {
113
+ name: "Pass curl flags after the separator",
114
+ value: `${packageName} traces create /api/test -- --request POST --data '{"name": "John"}'`
115
+ }
116
+ ]
117
+ };
118
+ var tracesCommand = {
119
+ name: "traces",
120
+ aliases: [],
121
+ description: "Fetch traces captured for a Vercel project.",
122
+ arguments: [{ name: "requestId", required: false }],
123
+ subcommands: [getSubcommand, createSubcommand, tracesConfigCommand],
124
+ options: [],
125
+ examples: [
126
+ {
127
+ name: "Fetch a trace by request id",
128
+ value: `${packageName} traces get req_1234567890`
129
+ },
130
+ {
131
+ name: "Print the raw trace JSON",
132
+ value: `${packageName} traces get req_1234567890 --json`
133
+ },
134
+ {
135
+ name: "Capture a session trace for a request",
136
+ value: `${packageName} traces create /api/hello`
137
+ },
138
+ {
139
+ name: "List the trace sampling rules for a project",
140
+ value: `${packageName} traces config ls`
141
+ }
142
+ ]
143
+ };
144
+
145
+ export {
146
+ getSubcommand,
147
+ createSubcommand,
148
+ tracesCommand
149
+ };
@@ -6,12 +6,12 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getEnvTargetPlaceholder
9
- } from "./chunk-VE545BR3.js";
9
+ } from "./chunk-OHER4DGX.js";
10
10
  import {
11
11
  packageName,
12
12
  projectOption,
13
13
  yesOption
14
- } from "./chunk-SOFC4MLS.js";
14
+ } from "./chunk-Q2DGFCO7.js";
15
15
 
16
16
  // src/commands/build/command.ts
17
17
  var buildCommand = {
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  parseArguments
9
- } from "./chunk-XLKFJPMT.js";
9
+ } from "./chunk-57RHXXXG.js";
10
10
  import {
11
11
  require_source
12
12
  } from "./chunk-S7KYDPEM.js";