vercel 56.3.0 → 56.3.2

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 (62) hide show
  1. package/dist/chunks/{add-DMRGZN3Z.js → add-2ITAPI7M.js} +3 -3
  2. package/dist/chunks/{add-CF5SQESQ.js → add-DVEAUH7N.js} +2 -2
  3. package/dist/chunks/{chunk-I2IICWBW.js → chunk-2CEGMXO6.js} +14 -2
  4. package/dist/chunks/{chunk-4YOCOUDN.js → chunk-3OZQ7KHZ.js} +2 -2
  5. package/dist/chunks/{chunk-KXKQQIUS.js → chunk-573XYQ3D.js} +4 -3
  6. package/dist/chunks/{chunk-HUKYQKVQ.js → chunk-5FF4WXVM.js} +4 -4
  7. package/dist/chunks/{chunk-22G26AIX.js → chunk-5POUHPEH.js} +1 -1
  8. package/dist/chunks/{chunk-ICSIFPXG.js → chunk-AVJRWFTM.js} +1 -1
  9. package/dist/chunks/{chunk-DZHRFBKE.js → chunk-BFFE4FAO.js} +1 -1
  10. package/dist/chunks/{chunk-EYNXG3FO.js → chunk-BZXHF66T.js} +1 -1
  11. package/dist/chunks/{chunk-ERPZJ4SX.js → chunk-FPMWXL3R.js} +1 -1
  12. package/dist/chunks/{chunk-G4PG5HVE.js → chunk-GB3QQGZU.js} +1 -1
  13. package/dist/chunks/{chunk-2MXGTALG.js → chunk-HZAINEXG.js} +36 -5
  14. package/dist/chunks/{chunk-SDK7R4WO.js → chunk-JQBH4QTB.js} +1 -1
  15. package/dist/chunks/{chunk-NP32PAKT.js → chunk-O3UHQI3T.js} +1 -1
  16. package/dist/chunks/{chunk-2C2JJTAM.js → chunk-OK6EYKRX.js} +1 -1
  17. package/dist/chunks/{chunk-ZDCS54ZZ.js → chunk-QW4XUBC3.js} +1 -1
  18. package/dist/chunks/{chunk-Q5ADSH7D.js → chunk-SRIA62TV.js} +4 -4
  19. package/dist/chunks/{chunk-QP3C5YS5.js → chunk-TVLLFY7M.js} +4 -4
  20. package/dist/chunks/{chunk-PRO4S2KV.js → chunk-WQN52QMS.js} +2 -2
  21. package/dist/chunks/{chunk-A6LE5VAN.js → chunk-ZKKJEOQT.js} +1 -1
  22. package/dist/chunks/{compile-vercel-config-RPPL7W56.js → compile-vercel-config-P3KRRAC6.js} +1 -1
  23. package/dist/chunks/{delete-QBVZ5X6B.js → delete-OXEMVOQE.js} +2 -2
  24. package/dist/chunks/{disable-YYGXPXBI.js → disable-DZA53CJA.js} +2 -2
  25. package/dist/chunks/{discard-X2MSUFGI.js → discard-3E7Z7CKD.js} +2 -2
  26. package/dist/chunks/{edit-3ABZQYUU.js → edit-UM6TWX2Z.js} +3 -3
  27. package/dist/chunks/{enable-HUMYCGKA.js → enable-3SH6X23Z.js} +2 -2
  28. package/dist/chunks/{export-KGHH4WAT.js → export-TLQERLQP.js} +2 -2
  29. package/dist/chunks/{image-OO3WWKZV.js → image-YKGEEC2A.js} +3 -3
  30. package/dist/chunks/{inspect-FNUCB7Y3.js → inspect-34OE66PO.js} +2 -2
  31. package/dist/chunks/{inspect-Z6SSD2SR.js → inspect-652QJ33O.js} +2 -2
  32. package/dist/chunks/{inspect-5TNHHD2M.js → inspect-QW6RSV7Z.js} +2 -2
  33. package/dist/chunks/{inspect-KSSQEAW7.js → inspect-S6X6PCGS.js} +2 -2
  34. package/dist/chunks/{list-X2AD3HCX.js → list-IWXFZBH7.js} +2 -2
  35. package/dist/chunks/{list-TXNYRVJG.js → list-OVWTXBSN.js} +1 -1
  36. package/dist/chunks/{login-SLPCZ2OF.js → login-S77F2DLW.js} +2 -2
  37. package/dist/chunks/{ls-C7MNQ4IK.js → ls-FQIWFI4K.js} +2 -2
  38. package/dist/chunks/{ls-QLTOY23G.js → ls-J4HHGSFU.js} +3 -3
  39. package/dist/chunks/{ls-2YSINRJ3.js → ls-PQPRURTJ.js} +2 -2
  40. package/dist/chunks/{ls-4QMJLQQL.js → ls-SAY4VQIT.js} +2 -2
  41. package/dist/chunks/{publish-GV4LLLXP.js → publish-LWCEDLGX.js} +2 -2
  42. package/dist/chunks/{query-3AHRMAPA.js → query-K2TJKOAL.js} +1 -1
  43. package/dist/chunks/{reorder-VSVOPNM4.js → reorder-J6OONT76.js} +2 -2
  44. package/dist/chunks/{restore-FKYCF73P.js → restore-3ME4ZHFW.js} +2 -2
  45. package/dist/chunks/{rm-4QCXZRC2.js → rm-63AGQFIQ.js} +2 -2
  46. package/dist/chunks/{rm-UTFG42FN.js → rm-EHEJRXQJ.js} +2 -2
  47. package/dist/chunks/{rm-YV5WQKQM.js → rm-XOUHC6CU.js} +3 -3
  48. package/dist/chunks/{rule-inspect-IONN4MTP.js → rule-inspect-3PRCEXIB.js} +3 -3
  49. package/dist/chunks/{rules-S2KPV7HY.js → rules-UBSIW5ZQ.js} +6 -6
  50. package/dist/chunks/{schema-3LX3V2HE.js → schema-I4SXEWLS.js} +1 -1
  51. package/dist/chunks/{tags-CQ4FRIJ4.js → tags-HF2YOQ4V.js} +2 -2
  52. package/dist/chunks/{update-U7OGHCP5.js → update-RRMAOQDP.js} +3 -3
  53. package/dist/commands/build/index.js +8 -8
  54. package/dist/commands/deploy/index.js +13 -11
  55. package/dist/commands/dev/index.js +7 -7
  56. package/dist/commands/env/index.js +4 -4
  57. package/dist/commands/link/index.js +6 -6
  58. package/dist/commands/list/index.js +2 -2
  59. package/dist/commands-bulk.js +221 -60
  60. package/dist/index.js +7 -7
  61. package/dist/version.mjs +1 -1
  62. package/package.json +10 -10
@@ -9,8 +9,8 @@ import {
9
9
  handleRulesApiError,
10
10
  parseRulesFlagsAndScope,
11
11
  rulesCollectionPath
12
- } from "./chunk-ICSIFPXG.js";
13
- import "./chunk-2C2JJTAM.js";
12
+ } from "./chunk-AVJRWFTM.js";
13
+ import "./chunk-OK6EYKRX.js";
14
14
  import "./chunk-BUZRVER7.js";
15
15
  import {
16
16
  validateJsonOutput
@@ -18,7 +18,7 @@ import {
18
18
  import {
19
19
  rulesAddSubcommand
20
20
  } from "./chunk-STJJ3DFO.js";
21
- import "./chunk-2MXGTALG.js";
21
+ import "./chunk-HZAINEXG.js";
22
22
  import {
23
23
  AGENT_REASON,
24
24
  buildCommandWithGlobalFlags,
@@ -9,7 +9,7 @@ import {
9
9
  handleVcrApiError,
10
10
  resolveVcrScope,
11
11
  validateVcrJsonOutput
12
- } from "./chunk-G4PG5HVE.js";
12
+ } from "./chunk-GB3QQGZU.js";
13
13
  import {
14
14
  outputError
15
15
  } from "./chunk-BUZRVER7.js";
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-3VS4DTAU.js";
20
20
  import "./chunk-GIL3VAUR.js";
21
21
  import "./chunk-FYQPTH5C.js";
22
- import "./chunk-2MXGTALG.js";
22
+ import "./chunk-HZAINEXG.js";
23
23
  import {
24
24
  AGENT_REASON,
25
25
  buildCommandWithGlobalFlags,
@@ -28,10 +28,10 @@ import {
28
28
  import {
29
29
  buildCommand,
30
30
  pullCommand
31
- } from "./chunk-EYNXG3FO.js";
31
+ } from "./chunk-BZXHF66T.js";
32
32
  import {
33
33
  envCommand
34
- } from "./chunk-2MXGTALG.js";
34
+ } from "./chunk-HZAINEXG.js";
35
35
  import {
36
36
  confirmOption,
37
37
  deploymentOption,
@@ -1023,6 +1023,14 @@ var setupSubcommand = {
1023
1023
  deprecated: false,
1024
1024
  description: "Shell rc file to write the env exports into"
1025
1025
  },
1026
+ {
1027
+ name: "apply",
1028
+ shorthand: null,
1029
+ type: String,
1030
+ argument: "MODE",
1031
+ deprecated: false,
1032
+ description: "How to apply non-interactively: edit (write files, default) or prompt (emit an agent prompt on stdout; requires the macOS Keychain)"
1033
+ },
1026
1034
  yesOption
1027
1035
  ],
1028
1036
  examples: [
@@ -1030,6 +1038,10 @@ var setupSubcommand = {
1030
1038
  name: "Connect all detected coding agents (creates a key)",
1031
1039
  value: `${packageName} ai-gateway coding-agents setup`
1032
1040
  },
1041
+ {
1042
+ name: "Emit a prompt to hand to a coding agent instead of writing files",
1043
+ value: `${packageName} ai-gateway coding-agents setup --apply prompt --yes`
1044
+ },
1033
1045
  {
1034
1046
  name: "Connect specific agents with a budgeted key",
1035
1047
  value: `${packageName} ai-gateway coding-agents setup --agent claude-code --budget 500 --refresh-period monthly`
@@ -11,7 +11,7 @@ import {
11
11
  PromptBackError,
12
12
  PromptCanceledError,
13
13
  getLocalPathConfig
14
- } from "./chunk-ZDCS54ZZ.js";
14
+ } from "./chunk-QW4XUBC3.js";
15
15
  import {
16
16
  DEFAULT_VERCEL_CONFIG_FILENAME,
17
17
  VERCEL_CONFIG_EXTENSIONS,
@@ -38,7 +38,7 @@ import {
38
38
  useKeypress,
39
39
  usePrefix,
40
40
  useState
41
- } from "./chunk-2MXGTALG.js";
41
+ } from "./chunk-HZAINEXG.js";
42
42
  import {
43
43
  require_load_json_file
44
44
  } from "./chunk-ECCWJHC6.js";
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  setupAndLink
9
- } from "./chunk-PRO4S2KV.js";
9
+ } from "./chunk-WQN52QMS.js";
10
10
  import {
11
11
  detectExplicitScope,
12
12
  getLinkedProject,
13
13
  param,
14
14
  printProjectNotFoundError,
15
15
  resolveProjectCwd
16
- } from "./chunk-2MXGTALG.js";
16
+ } from "./chunk-HZAINEXG.js";
17
17
  import {
18
18
  buildCommandWithYes,
19
19
  outputActionRequired
@@ -40,7 +40,8 @@ async function ensureLink(commandName, client, cwd, opts = {}) {
40
40
  cwd,
41
41
  projectName: opts.projectName,
42
42
  projectNameIsExplicit: Boolean(opts.projectName && opts.failIfNotFound),
43
- scopeIsExplicit: detectExplicitScope(client)
43
+ scopeIsExplicit: detectExplicitScope(client),
44
+ allowOwnerLookupFallback: opts.allowOwnerLookupFallback
44
45
  });
45
46
  }
46
47
  opts.link = link;
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  writeProjectSettings
9
- } from "./chunk-A6LE5VAN.js";
9
+ } from "./chunk-ZKKJEOQT.js";
10
10
  import {
11
11
  autoInstallVercelPlugin
12
12
  } from "./chunk-NJUPUGOE.js";
@@ -15,10 +15,10 @@ import {
15
15
  } from "./chunk-64IF634X.js";
16
16
  import {
17
17
  ensureLink
18
- } from "./chunk-KXKQQIUS.js";
18
+ } from "./chunk-573XYQ3D.js";
19
19
  import {
20
20
  pullCommand
21
- } from "./chunk-EYNXG3FO.js";
21
+ } from "./chunk-BZXHF66T.js";
22
22
  import {
23
23
  help
24
24
  } from "./chunk-DMSLNAVH.js";
@@ -28,7 +28,7 @@ import {
28
28
  envPullCommandLogic,
29
29
  humanizePath,
30
30
  parseTarget
31
- } from "./chunk-2MXGTALG.js";
31
+ } from "./chunk-HZAINEXG.js";
32
32
  import {
33
33
  TelemetryClient
34
34
  } from "./chunk-ECCWJHC6.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  resolveProjectContext
9
- } from "./chunk-2MXGTALG.js";
9
+ } from "./chunk-HZAINEXG.js";
10
10
  import {
11
11
  AGENT_REASON,
12
12
  AGENT_STATUS,
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  resolveAlertsScope
9
- } from "./chunk-2C2JJTAM.js";
9
+ } from "./chunk-OK6EYKRX.js";
10
10
  import {
11
11
  handleValidationError,
12
12
  outputError,
@@ -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-2MXGTALG.js";
9
+ } from "./chunk-HZAINEXG.js";
10
10
  import {
11
11
  isNativeBinaryInstall
12
12
  } from "./chunk-ECCWJHC6.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getEnvTargetPlaceholder
9
- } from "./chunk-2MXGTALG.js";
9
+ } from "./chunk-HZAINEXG.js";
10
10
  import {
11
11
  packageName,
12
12
  projectOption,
@@ -19,7 +19,7 @@ import {
19
19
  require_lib,
20
20
  require_minimatch,
21
21
  require_pluralize
22
- } from "./chunk-2MXGTALG.js";
22
+ } from "./chunk-HZAINEXG.js";
23
23
  import {
24
24
  CantParseJSONFile,
25
25
  cmd,
@@ -14,7 +14,7 @@ import {
14
14
  getLinkedProject,
15
15
  getProjectByNameOrId,
16
16
  getScope
17
- } from "./chunk-2MXGTALG.js";
17
+ } from "./chunk-HZAINEXG.js";
18
18
  import {
19
19
  AGENT_REASON,
20
20
  buildCommandWithGlobalFlags,
@@ -45650,9 +45650,9 @@ var require_out4 = __commonJS({
45650
45650
  }
45651
45651
  });
45652
45652
 
45653
- // ../../node_modules/.pnpm/@vercel+microfrontends@1.2.2_next@16.2.6_@opentelemetry+api@1.9.1_react-dom@18.3.1_reac_dafed8485844cbf4d92e1fbe0bf15d03/node_modules/@vercel/microfrontends/dist/microfrontends/utils.cjs
45653
+ // ../../node_modules/.pnpm/@vercel+microfrontends@1.2.2_next@16.2.6_@babel+core@7.24.4_@opentelemetry+api@1.9.1_re_fa32ee5de0d684b82ca1c937ce3b2ece/node_modules/@vercel/microfrontends/dist/microfrontends/utils.cjs
45654
45654
  var require_utils8 = __commonJS({
45655
- "../../node_modules/.pnpm/@vercel+microfrontends@1.2.2_next@16.2.6_@opentelemetry+api@1.9.1_react-dom@18.3.1_reac_dafed8485844cbf4d92e1fbe0bf15d03/node_modules/@vercel/microfrontends/dist/microfrontends/utils.cjs"(exports, module) {
45655
+ "../../node_modules/.pnpm/@vercel+microfrontends@1.2.2_next@16.2.6_@babel+core@7.24.4_@opentelemetry+api@1.9.1_re_fa32ee5de0d684b82ca1c937ce3b2ece/node_modules/@vercel/microfrontends/dist/microfrontends/utils.cjs"(exports, module) {
45656
45656
  "use strict";
45657
45657
  var __create = Object.create;
45658
45658
  var __defProp = Object.defineProperty;
@@ -54921,7 +54921,7 @@ function getScopeOrTeamFromArgv(argv) {
54921
54921
  }
54922
54922
  return null;
54923
54923
  }
54924
- async function selectOrg(client, question, autoConfirm, searchable = false, meta) {
54924
+ async function selectOrg(client, question, autoConfirm, searchable = false, meta, description) {
54925
54925
  const {
54926
54926
  config: { currentTeam }
54927
54927
  } = client;
@@ -55023,9 +55023,11 @@ async function selectOrg(client, question, autoConfirm, searchable = false, meta
55023
55023
  printAlignedLabel("Team", choices[0].value.slug);
55024
55024
  return choices[0].value;
55025
55025
  }
55026
+ const descriptionLine = description ? `
55027
+ ${import_chalk6.default.dim(` ${description}`)}` : "";
55026
55028
  if (!searchable) {
55027
55029
  return await client.input.select({
55028
- message: question,
55030
+ message: `${question}${descriptionLine}`,
55029
55031
  choices,
55030
55032
  default: choices[defaultChoiceIndex].value
55031
55033
  });
@@ -55035,7 +55037,7 @@ async function selectOrg(client, question, autoConfirm, searchable = false, meta
55035
55037
  const pageSize = 15;
55036
55038
  const countHint = choices.length > pageSize ? ` ${import_chalk6.default.dim(`(${choices.length} teams)`)}` : "";
55037
55039
  return await client.input.search({
55038
- message: `${question}${countHint}`,
55040
+ message: `${question}${countHint}${descriptionLine}`,
55039
55041
  pageSize,
55040
55042
  source: (term) => {
55041
55043
  const searchTerm = term?.trim().toLowerCase();
@@ -58694,6 +58696,12 @@ var VERCEL_DIR_FALLBACK = ".now";
58694
58696
  var VERCEL_DIR_README = "README.txt";
58695
58697
  var VERCEL_DIR_PROJECT = "project.json";
58696
58698
  var VERCEL_DIR_REPO = "repo.json";
58699
+ function isOwnerLookupUnavailableLink(link) {
58700
+ return "ownerLookupUnavailable" in link && link.ownerLookupUnavailable === true;
58701
+ }
58702
+ function isOwnerLookupUnavailableError(error) {
58703
+ return isAPIError(error) && error.status === 403 && error.code === "team_unauthorized";
58704
+ }
58697
58705
  var linkSchema = {
58698
58706
  type: "object",
58699
58707
  required: ["projectId", "orgId"],
@@ -58932,6 +58940,7 @@ async function getLinkedProject(client, options = {}) {
58932
58940
  output_manager_default.spinner("Retrieving project\u2026", 1e3);
58933
58941
  let org = null;
58934
58942
  let project = null;
58943
+ let ownerLookupUnavailable = false;
58935
58944
  try {
58936
58945
  const [orgResult, projectResult] = await Promise.allSettled([
58937
58946
  getOrgById(client, link.orgId),
@@ -58941,6 +58950,8 @@ async function getLinkedProject(client, options = {}) {
58941
58950
  org = orgResult.value;
58942
58951
  } else if (isAPIError(orgResult.reason) && (orgResult.reason.status === 404 || orgResult.reason.code === "not_found" || orgResult.reason.code === "mock_unimplemented")) {
58943
58952
  org = null;
58953
+ } else if (options.allowOwnerLookupFallback && isOwnerLookupUnavailableError(orgResult.reason)) {
58954
+ ownerLookupUnavailable = true;
58944
58955
  } else {
58945
58956
  throw orgResult.reason;
58946
58957
  }
@@ -58970,6 +58981,25 @@ async function getLinkedProject(client, options = {}) {
58970
58981
  } finally {
58971
58982
  output_manager_default.stopSpinner();
58972
58983
  }
58984
+ if (ownerLookupUnavailable) {
58985
+ if (project && !(project instanceof ProjectNotFound)) {
58986
+ const ownerId = project.accountId || link.orgId;
58987
+ const ownerLookupUnavailableLink = {
58988
+ status: "linked",
58989
+ org: {
58990
+ type: ownerId.startsWith("team_") ? "team" : "user",
58991
+ id: ownerId,
58992
+ slug: ownerId
58993
+ },
58994
+ project,
58995
+ repoRoot: link.repoRoot,
58996
+ projectRootDirectory: link.projectRootDirectory,
58997
+ orgId: link.orgId,
58998
+ ownerLookupUnavailable: true
58999
+ };
59000
+ return ownerLookupUnavailableLink;
59001
+ }
59002
+ }
58973
59003
  if (!org || !project || project instanceof ProjectNotFound) {
58974
59004
  if (shouldUseEnvContext) {
58975
59005
  output_manager_default.error(
@@ -59528,6 +59558,7 @@ export {
59528
59558
  VERCEL_DIR,
59529
59559
  VERCEL_DIR_README,
59530
59560
  VERCEL_DIR_PROJECT,
59561
+ isOwnerLookupUnavailableLink,
59531
59562
  getVercelDirectory,
59532
59563
  getProjectLink,
59533
59564
  getLinkFromDir,
@@ -8,7 +8,7 @@ import {
8
8
  formatCondition,
9
9
  formatTransform,
10
10
  isTargetTransform
11
- } from "./chunk-22G26AIX.js";
11
+ } from "./chunk-5POUHPEH.js";
12
12
  import {
13
13
  output_manager_default
14
14
  } from "./chunk-OX7KI3LF.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  STANDARD_ENVIRONMENTS
9
- } from "./chunk-2MXGTALG.js";
9
+ } from "./chunk-HZAINEXG.js";
10
10
  import {
11
11
  getCommandName,
12
12
  require_lib
@@ -11,7 +11,7 @@ import {
11
11
  getLinkedProject,
12
12
  getProjectByNameOrId,
13
13
  getScope
14
- } from "./chunk-2MXGTALG.js";
14
+ } from "./chunk-HZAINEXG.js";
15
15
  import {
16
16
  AGENT_REASON,
17
17
  buildCommandWithGlobalFlags,
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  VERCEL_DIR,
9
9
  isVercelTomlEnabled
10
- } from "./chunk-2MXGTALG.js";
10
+ } from "./chunk-HZAINEXG.js";
11
11
  import {
12
12
  parseArguments
13
13
  } from "./chunk-SZXT3PDQ.js";
@@ -10,13 +10,13 @@ import {
10
10
  progress,
11
11
  require_dist as require_dist2,
12
12
  sleep
13
- } from "./chunk-4YOCOUDN.js";
13
+ } from "./chunk-3OZQ7KHZ.js";
14
14
  import {
15
15
  suggestNextCommands
16
16
  } from "./chunk-XBN2O34P.js";
17
17
  import {
18
18
  CommandTimeout
19
- } from "./chunk-I2IICWBW.js";
19
+ } from "./chunk-2CEGMXO6.js";
20
20
  import {
21
21
  showPluginTipIfNeeded
22
22
  } from "./chunk-NJUPUGOE.js";
@@ -33,7 +33,7 @@ import {
33
33
  require_dist as require_dist3,
34
34
  require_pluralize,
35
35
  ua_default
36
- } from "./chunk-2MXGTALG.js";
36
+ } from "./chunk-HZAINEXG.js";
37
37
  import {
38
38
  require_strip_ansi,
39
39
  responseError
@@ -2027,7 +2027,7 @@ async function processDeployment({
2027
2027
  aliasAssignedController.abort(event);
2028
2028
  };
2029
2029
  const clientOptions = {
2030
- teamId: org.type === "team" ? org.id : void 0,
2030
+ teamId: now.currentTeam ?? void 0,
2031
2031
  apiUrl: now._apiUrl,
2032
2032
  token,
2033
2033
  debug: output_manager_default.isDebugEnabled(),
@@ -7,17 +7,17 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getUpdateCommandInfo,
9
9
  isGlobal
10
- } from "./chunk-DZHRFBKE.js";
10
+ } from "./chunk-BFFE4FAO.js";
11
11
  import {
12
12
  getGlobalPathConfig,
13
13
  progress,
14
14
  writeToConfigFile
15
- } from "./chunk-4YOCOUDN.js";
15
+ } from "./chunk-3OZQ7KHZ.js";
16
16
  import {
17
17
  apiCommand,
18
18
  listSubcommand3 as listSubcommand,
19
19
  loginCommand
20
- } from "./chunk-I2IICWBW.js";
20
+ } from "./chunk-2CEGMXO6.js";
21
21
  import {
22
22
  require_semver
23
23
  } from "./chunk-IB5L4LKZ.js";
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk-DMSLNAVH.js";
27
27
  import {
28
28
  login
29
- } from "./chunk-2MXGTALG.js";
29
+ } from "./chunk-HZAINEXG.js";
30
30
  import {
31
31
  TelemetryClient,
32
32
  isNativeBinaryInstall
@@ -8,7 +8,7 @@ import {
8
8
  getLocalPathConfig,
9
9
  isPromptBackError,
10
10
  isPromptCanceledError
11
- } from "./chunk-ZDCS54ZZ.js";
11
+ } from "./chunk-QW4XUBC3.js";
12
12
  import {
13
13
  table
14
14
  } from "./chunk-NZRWTCRM.js";
@@ -46,7 +46,7 @@ import {
46
46
  selectAndParseRemoteUrl,
47
47
  selectOrg,
48
48
  writeServicesConfig
49
- } from "./chunk-2MXGTALG.js";
49
+ } from "./chunk-HZAINEXG.js";
50
50
  import {
51
51
  printError
52
52
  } from "./chunk-SZXT3PDQ.js";
@@ -8,7 +8,7 @@ import {
8
8
  VERCEL_DIR,
9
9
  VERCEL_DIR_PROJECT,
10
10
  require_lib
11
- } from "./chunk-2MXGTALG.js";
11
+ } from "./chunk-HZAINEXG.js";
12
12
  import {
13
13
  require_dist
14
14
  } from "./chunk-OX7KI3LF.js";
@@ -11,7 +11,7 @@ import {
11
11
  findSourceVercelConfigFile,
12
12
  getVercelConfigPath,
13
13
  normalizeConfig
14
- } from "./chunk-2MXGTALG.js";
14
+ } from "./chunk-HZAINEXG.js";
15
15
  import "./chunk-UDWRZXIT.js";
16
16
  import "./chunk-ECCWJHC6.js";
17
17
  import "./chunk-SZXT3PDQ.js";
@@ -15,7 +15,7 @@ import {
15
15
  requireProjectContext,
16
16
  resolveRoutes,
17
17
  withGlobalFlags
18
- } from "./chunk-22G26AIX.js";
18
+ } from "./chunk-5POUHPEH.js";
19
19
  import {
20
20
  deleteSubcommand
21
21
  } from "./chunk-VZSZBD4V.js";
@@ -23,7 +23,7 @@ import {
23
23
  stamp_default
24
24
  } from "./chunk-64IF634X.js";
25
25
  import "./chunk-VXYGCOKL.js";
26
- import "./chunk-2MXGTALG.js";
26
+ import "./chunk-HZAINEXG.js";
27
27
  import {
28
28
  AGENT_REASON,
29
29
  AGENT_STATUS,
@@ -17,7 +17,7 @@ import {
17
17
  requireProjectContext,
18
18
  resolveRoute,
19
19
  withGlobalFlags
20
- } from "./chunk-22G26AIX.js";
20
+ } from "./chunk-5POUHPEH.js";
21
21
  import {
22
22
  disableSubcommand
23
23
  } from "./chunk-VZSZBD4V.js";
@@ -25,7 +25,7 @@ import {
25
25
  stamp_default
26
26
  } from "./chunk-64IF634X.js";
27
27
  import "./chunk-VXYGCOKL.js";
28
- import "./chunk-2MXGTALG.js";
28
+ import "./chunk-HZAINEXG.js";
29
29
  import {
30
30
  outputAgentError
31
31
  } from "./chunk-UDWRZXIT.js";
@@ -17,7 +17,7 @@ import {
17
17
  printDiffSummary,
18
18
  requireProjectContext,
19
19
  withGlobalFlags
20
- } from "./chunk-22G26AIX.js";
20
+ } from "./chunk-5POUHPEH.js";
21
21
  import {
22
22
  discardSubcommand
23
23
  } from "./chunk-VZSZBD4V.js";
@@ -25,7 +25,7 @@ import {
25
25
  stamp_default
26
26
  } from "./chunk-64IF634X.js";
27
27
  import "./chunk-VXYGCOKL.js";
28
- import "./chunk-2MXGTALG.js";
28
+ import "./chunk-HZAINEXG.js";
29
29
  import {
30
30
  outputAgentError
31
31
  } from "./chunk-UDWRZXIT.js";
@@ -19,7 +19,7 @@ import {
19
19
  printRouteConfig,
20
20
  routingRuleToCurrentRoute,
21
21
  runInteractiveEditLoop
22
- } from "./chunk-SDK7R4WO.js";
22
+ } from "./chunk-JQBH4QTB.js";
23
23
  import {
24
24
  getRouteVersions
25
25
  } from "./chunk-AHU7WNL2.js";
@@ -31,7 +31,7 @@ import {
31
31
  resolveRoute,
32
32
  shellQuoteRouteIdentifierForSuggestion,
33
33
  withGlobalFlags
34
- } from "./chunk-22G26AIX.js";
34
+ } from "./chunk-5POUHPEH.js";
35
35
  import {
36
36
  editSubcommand
37
37
  } from "./chunk-VZSZBD4V.js";
@@ -39,7 +39,7 @@ import {
39
39
  stamp_default
40
40
  } from "./chunk-64IF634X.js";
41
41
  import "./chunk-VXYGCOKL.js";
42
- import "./chunk-2MXGTALG.js";
42
+ import "./chunk-HZAINEXG.js";
43
43
  import {
44
44
  outputAgentError
45
45
  } from "./chunk-UDWRZXIT.js";
@@ -17,7 +17,7 @@ import {
17
17
  requireProjectContext,
18
18
  resolveRoute,
19
19
  withGlobalFlags
20
- } from "./chunk-22G26AIX.js";
20
+ } from "./chunk-5POUHPEH.js";
21
21
  import {
22
22
  enableSubcommand
23
23
  } from "./chunk-VZSZBD4V.js";
@@ -25,7 +25,7 @@ import {
25
25
  stamp_default
26
26
  } from "./chunk-64IF634X.js";
27
27
  import "./chunk-VXYGCOKL.js";
28
- import "./chunk-2MXGTALG.js";
28
+ import "./chunk-HZAINEXG.js";
29
29
  import {
30
30
  outputAgentError
31
31
  } from "./chunk-UDWRZXIT.js";
@@ -9,11 +9,11 @@ import {
9
9
  parseSubcommandArgs,
10
10
  requireProjectContext,
11
11
  withGlobalFlags
12
- } from "./chunk-22G26AIX.js";
12
+ } from "./chunk-5POUHPEH.js";
13
13
  import {
14
14
  exportSubcommand
15
15
  } from "./chunk-VZSZBD4V.js";
16
- import "./chunk-2MXGTALG.js";
16
+ import "./chunk-HZAINEXG.js";
17
17
  import {
18
18
  outputAgentError
19
19
  } from "./chunk-UDWRZXIT.js";
@@ -56,11 +56,11 @@ async function image(client, argv, telemetry) {
56
56
  }
57
57
  switch (subcommand) {
58
58
  case "ls":
59
- return (await import("./ls-4QMJLQQL.js")).default(client, args, telemetry);
59
+ return (await import("./ls-SAY4VQIT.js")).default(client, args, telemetry);
60
60
  case "inspect":
61
- return (await import("./inspect-FNUCB7Y3.js")).default(client, args, telemetry);
61
+ return (await import("./inspect-34OE66PO.js")).default(client, args, telemetry);
62
62
  case "rm":
63
- return (await import("./rm-UTFG42FN.js")).default(client, args, telemetry);
63
+ return (await import("./rm-EHEJRXQJ.js")).default(client, args, telemetry);
64
64
  default:
65
65
  output_manager_default.error(`Unhandled image subcommand: ${subcommand}`);
66
66
  return 1;
@@ -20,13 +20,13 @@ import {
20
20
  requireVcrRepositoryAndImageId,
21
21
  resolveVcrScope,
22
22
  validateVcrJsonOutput
23
- } from "./chunk-G4PG5HVE.js";
23
+ } from "./chunk-GB3QQGZU.js";
24
24
  import "./chunk-BUZRVER7.js";
25
25
  import "./chunk-XPKWKPWA.js";
26
26
  import {
27
27
  imageInspectSubcommand
28
28
  } from "./chunk-FYQPTH5C.js";
29
- import "./chunk-2MXGTALG.js";
29
+ import "./chunk-HZAINEXG.js";
30
30
  import "./chunk-UDWRZXIT.js";
31
31
  import "./chunk-ECCWJHC6.js";
32
32
  import {
@@ -20,13 +20,13 @@ import {
20
20
  requireVcrRepositoryAndTag,
21
21
  resolveVcrScope,
22
22
  validateVcrJsonOutput
23
- } from "./chunk-G4PG5HVE.js";
23
+ } from "./chunk-GB3QQGZU.js";
24
24
  import "./chunk-BUZRVER7.js";
25
25
  import "./chunk-XPKWKPWA.js";
26
26
  import {
27
27
  tagsInspectSubcommand
28
28
  } from "./chunk-GIL3VAUR.js";
29
- import "./chunk-2MXGTALG.js";
29
+ import "./chunk-HZAINEXG.js";
30
30
  import "./chunk-UDWRZXIT.js";
31
31
  import "./chunk-ECCWJHC6.js";
32
32
  import {
@@ -16,7 +16,7 @@ import {
16
16
  requireVcrRepository,
17
17
  resolveVcrScope,
18
18
  validateVcrJsonOutput
19
- } from "./chunk-G4PG5HVE.js";
19
+ } from "./chunk-GB3QQGZU.js";
20
20
  import "./chunk-BUZRVER7.js";
21
21
  import "./chunk-XPKWKPWA.js";
22
22
  import {
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-3VS4DTAU.js";
25
25
  import "./chunk-GIL3VAUR.js";
26
26
  import "./chunk-FYQPTH5C.js";
27
- import "./chunk-2MXGTALG.js";
27
+ import "./chunk-HZAINEXG.js";
28
28
  import "./chunk-UDWRZXIT.js";
29
29
  import "./chunk-ECCWJHC6.js";
30
30
  import {