@shopify/cli 3.83.3 → 3.84.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 (88) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-ZE4NKLTB.js → chunk-3R34SLHS.js} +3 -3
  3. package/dist/{chunk-VCN6UBNT.js → chunk-3R5F566Q.js} +3 -3
  4. package/dist/{chunk-45OTXKBK.js → chunk-4R4BTRMH.js} +2 -2
  5. package/dist/{chunk-EYZZIYQJ.js → chunk-5YF6CRHK.js} +4 -4
  6. package/dist/{chunk-YYAMP36W.js → chunk-6JDW32IQ.js} +5 -5
  7. package/dist/{chunk-U7OT774M.js → chunk-75NBQMXN.js} +2 -2
  8. package/dist/{chunk-3EURRQ7K.js → chunk-7KO7T466.js} +9 -8
  9. package/dist/{chunk-S5JEIN5Q.js → chunk-B26QDYDN.js} +2 -2
  10. package/dist/{chunk-JWJ2ZR5V.js → chunk-B6R3QPZT.js} +3 -3
  11. package/dist/{chunk-6QJUUGM2.js → chunk-CW4CYMWP.js} +4 -4
  12. package/dist/{chunk-2MEZBZGZ.js → chunk-ESWT7BGC.js} +2 -2
  13. package/dist/{chunk-UNQM4BV5.js → chunk-F7CACVY7.js} +17 -3
  14. package/dist/{chunk-JEQ7HZCS.js → chunk-HNKVF23P.js} +13 -13
  15. package/dist/{chunk-WHCXZSKH.js → chunk-HVPPS5EU.js} +3 -3
  16. package/dist/{chunk-Q6VEUT5Q.js → chunk-JTM64JML.js} +2 -2
  17. package/dist/{chunk-ZLYK26OR.js → chunk-K4PSDTA7.js} +4 -4
  18. package/dist/{chunk-XFK3CKIN.js → chunk-KV6ENNDU.js} +5 -5
  19. package/dist/{chunk-ZZGNTCPD.js → chunk-L3FIMPVS.js} +3 -3
  20. package/dist/{chunk-WROAVXGY.js → chunk-LV6TZ6RO.js} +3 -3
  21. package/dist/{chunk-DRATBB26.js → chunk-M5CMNHPW.js} +748 -38
  22. package/dist/{chunk-RBL7EMA5.js → chunk-N367MT6A.js} +9 -10
  23. package/dist/{chunk-HFQX4JZY.js → chunk-N3EU6FVY.js} +3 -3
  24. package/dist/{chunk-BXBJI6XD.js → chunk-PJ7QP3SS.js} +5 -5
  25. package/dist/{chunk-FHOKC4TU.js → chunk-SGRODM6N.js} +4 -4
  26. package/dist/{chunk-SBU6S5G7.js → chunk-TA4C3I5Z.js} +2 -2
  27. package/dist/{chunk-FE35FSRC.js → chunk-TP3H2NVV.js} +7 -7
  28. package/dist/{chunk-EG4X7G4K.js → chunk-UMDZGSHP.js} +3 -3
  29. package/dist/{chunk-GGCRQOED.js → chunk-V5KWQR65.js} +3 -3
  30. package/dist/{chunk-WGMFODN6.js → chunk-VM6ZV5T3.js} +3 -3
  31. package/dist/{chunk-MGI52UZC.js → chunk-WGLEUSG3.js} +3 -3
  32. package/dist/{chunk-AQDVU7OK.js → chunk-WHQB5G4I.js} +7 -7
  33. package/dist/{chunk-CC4H7OAW.js → chunk-XGZDNZUX.js} +3 -3
  34. package/dist/{chunk-VRECY72K.js → chunk-XMFLKI5L.js} +2 -2
  35. package/dist/{chunk-VQ6DWYP7.js → chunk-YXCYRXKK.js} +6 -6
  36. package/dist/cli/commands/auth/logout.js +11 -11
  37. package/dist/cli/commands/auth/logout.test.js +12 -12
  38. package/dist/cli/commands/cache/clear.js +10 -10
  39. package/dist/cli/commands/debug/command-flags.js +10 -10
  40. package/dist/cli/commands/docs/generate.js +10 -10
  41. package/dist/cli/commands/docs/generate.test.js +10 -10
  42. package/dist/cli/commands/help.js +10 -10
  43. package/dist/cli/commands/kitchen-sink/async.js +11 -11
  44. package/dist/cli/commands/kitchen-sink/async.test.js +11 -11
  45. package/dist/cli/commands/kitchen-sink/index.js +13 -13
  46. package/dist/cli/commands/kitchen-sink/index.test.js +13 -13
  47. package/dist/cli/commands/kitchen-sink/prompts.js +11 -11
  48. package/dist/cli/commands/kitchen-sink/prompts.test.js +11 -11
  49. package/dist/cli/commands/kitchen-sink/static.js +11 -11
  50. package/dist/cli/commands/kitchen-sink/static.test.js +11 -11
  51. package/dist/cli/commands/notifications/generate.js +11 -11
  52. package/dist/cli/commands/notifications/list.js +11 -11
  53. package/dist/cli/commands/search.js +11 -11
  54. package/dist/cli/commands/upgrade.js +11 -11
  55. package/dist/cli/commands/version.js +11 -11
  56. package/dist/cli/commands/version.test.js +11 -11
  57. package/dist/cli/services/commands/notifications.js +6 -6
  58. package/dist/cli/services/commands/search.js +2 -2
  59. package/dist/cli/services/commands/search.test.js +2 -2
  60. package/dist/cli/services/commands/version.js +3 -3
  61. package/dist/cli/services/commands/version.test.js +4 -4
  62. package/dist/cli/services/kitchen-sink/async.js +2 -2
  63. package/dist/cli/services/kitchen-sink/prompts.js +2 -2
  64. package/dist/cli/services/kitchen-sink/static.js +2 -2
  65. package/dist/cli/services/upgrade.js +3 -3
  66. package/dist/cli/services/upgrade.test.js +4 -4
  67. package/dist/configs/all.yml +4 -4
  68. package/dist/configs/recommended.yml +4 -4
  69. package/dist/{custom-oclif-loader-FOBJVOKU.js → custom-oclif-loader-FOUJADV6.js} +2 -2
  70. package/dist/data/filters.json +10 -10
  71. package/dist/data/latest.json +1 -1
  72. package/dist/data/objects.json +162 -10
  73. package/dist/data/setting.json +7 -2
  74. package/dist/data/shopify_system_translations.json +265 -21
  75. package/dist/data/tags.json +1 -1
  76. package/dist/data/targetted_block_entry.json +2 -2
  77. package/dist/data/theme_block_entry.json +2 -2
  78. package/dist/{error-handler-VBQPBASZ.js → error-handler-65LUJ2S2.js} +8 -8
  79. package/dist/hooks/postrun.js +6 -6
  80. package/dist/hooks/prerun.js +7 -7
  81. package/dist/index.js +161488 -161869
  82. package/dist/{local-3V2H6DEQ.js → local-L7K7ZZ6L.js} +2 -2
  83. package/dist/{node-package-manager-3VOZDWRH.js → node-package-manager-TSNDPDHE.js} +3 -3
  84. package/dist/tsconfig.tsbuildinfo +1 -1
  85. package/dist/{ui-MKD65UA4.js → ui-ZDWJULQO.js} +2 -2
  86. package/dist/{workerd-EQ7HXYPK.js → workerd-Y6MJ3FZI.js} +12 -12
  87. package/oclif.manifest.json +20 -10
  88. package/package.json +7 -7
package/README.md CHANGED
@@ -41,7 +41,7 @@ To work with themes, the CLI needs to be installed globally with:
41
41
 
42
42
  You can also use do it through Homebrew on macOS: `brew tap shopify/shopify && brew install shopify-cli`
43
43
 
44
- Learn more in the docs: [Shopify CLI for themes](https://shopify.dev/docs/themes/tools/cli)
44
+ Learn more in the docs: [Shopify CLI for themes](https://shopify.dev/docs/storefronts/themes/tools/cli)
45
45
 
46
46
  <p>&nbsp;</p>
47
47
 
@@ -4,7 +4,7 @@ import {
4
4
  findUpAndReadPackageJson,
5
5
  getPackageManager,
6
6
  usesWorkspaces
7
- } from "./chunk-WHCXZSKH.js";
7
+ } from "./chunk-HVPPS5EU.js";
8
8
  import {
9
9
  AbortError,
10
10
  exec,
@@ -15,7 +15,7 @@ import {
15
15
  outputSuccess,
16
16
  outputToken,
17
17
  outputWarn
18
- } from "./chunk-UNQM4BV5.js";
18
+ } from "./chunk-F7CACVY7.js";
19
19
  import {
20
20
  dirname,
21
21
  joinPath,
@@ -139,4 +139,4 @@ function usingPackageManager({ env } = { env: process.env }) {
139
139
  export {
140
140
  upgrade
141
141
  };
142
- //# sourceMappingURL=chunk-ZE4NKLTB.js.map
142
+ //# sourceMappingURL=chunk-3R34SLHS.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generate
3
- } from "./chunk-XFK3CKIN.js";
3
+ } from "./chunk-KV6ENNDU.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-BXBJI6XD.js";
6
+ } from "./chunk-PJ7QP3SS.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var Generate = class extends base_command_default {
25
25
  export {
26
26
  Generate
27
27
  };
28
- //# sourceMappingURL=chunk-VCN6UBNT.js.map
28
+ //# sourceMappingURL=chunk-3R5F566Q.js.map
@@ -7,7 +7,7 @@ import {
7
7
  renderSuccess,
8
8
  renderTable,
9
9
  renderWarning
10
- } from "./chunk-UNQM4BV5.js";
10
+ } from "./chunk-F7CACVY7.js";
11
11
  import {
12
12
  init_cjs_shims
13
13
  } from "./chunk-PKR7KJ6P.js";
@@ -203,4 +203,4 @@ async function staticService() {
203
203
  export {
204
204
  staticService
205
205
  };
206
- //# sourceMappingURL=chunk-45OTXKBK.js.map
206
+ //# sourceMappingURL=chunk-4R4BTRMH.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  logout
3
- } from "./chunk-RBL7EMA5.js";
3
+ } from "./chunk-N367MT6A.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-BXBJI6XD.js";
6
+ } from "./chunk-PJ7QP3SS.js";
7
7
  import {
8
8
  outputSuccess
9
- } from "./chunk-UNQM4BV5.js";
9
+ } from "./chunk-F7CACVY7.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var Logout = class extends base_command_default {
25
25
  export {
26
26
  Logout
27
27
  };
28
- //# sourceMappingURL=chunk-EYZZIYQJ.js.map
28
+ //# sourceMappingURL=chunk-5YF6CRHK.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  prompts
3
- } from "./chunk-Q6VEUT5Q.js";
3
+ } from "./chunk-JTM64JML.js";
4
4
  import {
5
5
  staticService
6
- } from "./chunk-45OTXKBK.js";
6
+ } from "./chunk-4R4BTRMH.js";
7
7
  import {
8
8
  asyncTasks
9
- } from "./chunk-SBU6S5G7.js";
9
+ } from "./chunk-TA4C3I5Z.js";
10
10
  import {
11
11
  base_command_default
12
- } from "./chunk-BXBJI6XD.js";
12
+ } from "./chunk-PJ7QP3SS.js";
13
13
  import {
14
14
  init_cjs_shims
15
15
  } from "./chunk-PKR7KJ6P.js";
@@ -34,4 +34,4 @@ var KitchenSinkAll = class extends base_command_default {
34
34
  export {
35
35
  KitchenSinkAll
36
36
  };
37
- //# sourceMappingURL=chunk-YYAMP36W.js.map
37
+ //# sourceMappingURL=chunk-6JDW32IQ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clearCollectedLogs,
3
3
  collectedLogs
4
- } from "./chunk-UNQM4BV5.js";
4
+ } from "./chunk-F7CACVY7.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-PKR7KJ6P.js";
@@ -33,4 +33,4 @@ function mockAndCaptureOutput() {
33
33
  export {
34
34
  mockAndCaptureOutput
35
35
  };
36
- //# sourceMappingURL=chunk-U7OT774M.js.map
36
+ //# sourceMappingURL=chunk-75NBQMXN.js.map
@@ -2,16 +2,16 @@ import {
2
2
  getEnvironmentData,
3
3
  getLastSeenUserIdAfterAuth,
4
4
  getSensitiveEnvironmentData
5
- } from "./chunk-FHOKC4TU.js";
5
+ } from "./chunk-SGRODM6N.js";
6
6
  import {
7
7
  fetch
8
- } from "./chunk-DRATBB26.js";
8
+ } from "./chunk-M5CMNHPW.js";
9
9
  import {
10
10
  CLI_KIT_VERSION
11
- } from "./chunk-S5JEIN5Q.js";
11
+ } from "./chunk-B26QDYDN.js";
12
12
  import {
13
13
  runWithRateLimit
14
- } from "./chunk-WHCXZSKH.js";
14
+ } from "./chunk-HVPPS5EU.js";
15
15
  import {
16
16
  alwaysLogAnalytics,
17
17
  alwaysLogMetrics,
@@ -28,7 +28,7 @@ import {
28
28
  outputDebug,
29
29
  outputToken,
30
30
  reportingRateLimit
31
- } from "./chunk-UNQM4BV5.js";
31
+ } from "./chunk-F7CACVY7.js";
32
32
  import {
33
33
  __commonJS,
34
34
  __esm,
@@ -15477,7 +15477,7 @@ init_cjs_shims();
15477
15477
 
15478
15478
  // ../cli-kit/dist/public/node/monorail.js
15479
15479
  init_cjs_shims();
15480
- var url = "https://monorail-edge.shopifysvc.com/v1/produce", MONORAIL_COMMAND_TOPIC = "app_cli3_command/1.18", publishedCommandNames = /* @__PURE__ */ new Set();
15480
+ var url = "https://monorail-edge.shopifysvc.com/v1/produce", MONORAIL_COMMAND_TOPIC = "app_cli3_command/1.19", publishedCommandNames = /* @__PURE__ */ new Set();
15481
15481
  async function publishMonorailEvent(schemaId, publicData, sensitiveData) {
15482
15482
  let commandName = publicData.command;
15483
15483
  if (commandName && typeof commandName == "string") {
@@ -15656,7 +15656,8 @@ var instrumentationScope = "opentelemetry-js-shopify-web", BaseOtelService = cla
15656
15656
  // ensures an new object is created so we don't mutate the original
15657
15657
  { ...labels }
15658
15658
  );
15659
- "record" in instrument ? instrument.record(finalValue, finalLabels) : instrument.add(finalValue, finalLabels), this.meterProvider.forceFlush({});
15659
+ "record" in instrument ? instrument.record(finalValue, finalLabels) : instrument.add(finalValue, finalLabels), this.meterProvider.forceFlush({}).catch(() => {
15660
+ });
15660
15661
  };
15661
15662
  record(firstValue, firstLabels), this.metrics.set(metricName, record);
15662
15663
  });
@@ -15930,4 +15931,4 @@ export {
15930
15931
  requestIdsCollection,
15931
15932
  reportAnalyticsEvent
15932
15933
  };
15933
- //# sourceMappingURL=chunk-3EURRQ7K.js.map
15934
+ //# sourceMappingURL=chunk-7KO7T466.js.map
@@ -4,9 +4,9 @@ import {
4
4
 
5
5
  // ../cli-kit/dist/public/common/version.js
6
6
  init_cjs_shims();
7
- var CLI_KIT_VERSION = "3.83.3";
7
+ var CLI_KIT_VERSION = "3.84.0";
8
8
 
9
9
  export {
10
10
  CLI_KIT_VERSION
11
11
  };
12
- //# sourceMappingURL=chunk-S5JEIN5Q.js.map
12
+ //# sourceMappingURL=chunk-B26QDYDN.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CLI_KIT_VERSION
3
- } from "./chunk-S5JEIN5Q.js";
3
+ } from "./chunk-B26QDYDN.js";
4
4
  import {
5
5
  outputResult
6
- } from "./chunk-UNQM4BV5.js";
6
+ } from "./chunk-F7CACVY7.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -17,4 +17,4 @@ async function versionService() {
17
17
  export {
18
18
  versionService
19
19
  };
20
- //# sourceMappingURL=chunk-JWJ2ZR5V.js.map
20
+ //# sourceMappingURL=chunk-B6R3QPZT.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cliInstallCommand
3
- } from "./chunk-WROAVXGY.js";
3
+ } from "./chunk-LV6TZ6RO.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-BXBJI6XD.js";
6
+ } from "./chunk-PJ7QP3SS.js";
7
7
  import {
8
8
  renderInfo
9
- } from "./chunk-UNQM4BV5.js";
9
+ } from "./chunk-F7CACVY7.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-PKR7KJ6P.js";
@@ -34,4 +34,4 @@ var Upgrade = class extends base_command_default {
34
34
  export {
35
35
  Upgrade
36
36
  };
37
- //# sourceMappingURL=chunk-6QJUUGM2.js.map
37
+ //# sourceMappingURL=chunk-CW4CYMWP.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-BXBJI6XD.js";
3
+ } from "./chunk-PJ7QP3SS.js";
4
4
  import {
5
5
  require_lib
6
6
  } from "./chunk-3FBDJEGD.js";
@@ -46,4 +46,4 @@ var HelpCommand = class _HelpCommand extends base_command_default {
46
46
  export {
47
47
  HelpCommand
48
48
  };
49
- //# sourceMappingURL=chunk-2MEZBZGZ.js.map
49
+ //# sourceMappingURL=chunk-ESWT7BGC.js.map
@@ -24528,6 +24528,17 @@ function matchGlob(key, pattern, options) {
24528
24528
  function readdir(path8) {
24529
24529
  return fsReaddir(path8);
24530
24530
  }
24531
+ async function copyDirectoryContents(srcDir, destDir) {
24532
+ if (!await fileExists(srcDir))
24533
+ throw new Error(`Source directory ${srcDir} does not exist`);
24534
+ await fileExists(destDir) || await mkdir(destDir);
24535
+ let items = await glob(joinPath(srcDir, "**/*")), filesToCopy = [];
24536
+ for (let item of items) {
24537
+ let relativePath = item.replace(srcDir, "").replace(/^[/\\]/, ""), destPath = joinPath(destDir, relativePath);
24538
+ filesToCopy.push(copyFile(item, destPath));
24539
+ }
24540
+ await Promise.all(filesToCopy);
24541
+ }
24531
24542
 
24532
24543
  // ../cli-kit/dist/private/node/constants.js
24533
24544
  init_cjs_shims();
@@ -30293,7 +30304,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
30293
30304
  try {
30294
30305
  await getAndSet();
30295
30306
  } catch (error) {
30296
- let { sendErrorToBugsnag } = await import("./error-handler-VBQPBASZ.js");
30307
+ let { sendErrorToBugsnag } = await import("./error-handler-65LUJ2S2.js");
30297
30308
  await sendErrorToBugsnag(error, "unexpected_error");
30298
30309
  }
30299
30310
  }, durationStack = [];
@@ -32008,6 +32019,8 @@ export {
32008
32019
  Static,
32009
32020
  use_stdin_default,
32010
32021
  use_input_default,
32022
+ use_stdout_default,
32023
+ measure_element_default,
32011
32024
  figures_default,
32012
32025
  useConcurrentOutputContext,
32013
32026
  ConcurrentOutput,
@@ -32015,6 +32028,7 @@ export {
32015
32028
  render2 as render,
32016
32029
  handleCtrlC,
32017
32030
  Link,
32031
+ TabularData,
32018
32032
  Alert,
32019
32033
  require_stacktracey,
32020
32034
  require_eq,
@@ -32042,7 +32056,6 @@ export {
32042
32056
  require_getTag,
32043
32057
  require_baseIsEqual,
32044
32058
  require_arrayMap,
32045
- require_toString,
32046
32059
  require_castPath,
32047
32060
  require_toKey,
32048
32061
  require_baseGet,
@@ -32178,6 +32191,7 @@ export {
32178
32191
  findPathUp,
32179
32192
  matchGlob,
32180
32193
  readdir,
32194
+ copyDirectoryContents,
32181
32195
  envPaths,
32182
32196
  logsFolder,
32183
32197
  environmentVariables,
@@ -32307,4 +32321,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
32307
32321
  * LICENSE file in the root directory of this source tree.
32308
32322
  *)
32309
32323
  */
32310
- //# sourceMappingURL=chunk-UNQM4BV5.js.map
32324
+ //# sourceMappingURL=chunk-F7CACVY7.js.map
@@ -5,19 +5,19 @@ import {
5
5
  ensureAuthenticatedAdmin,
6
6
  ensureAuthenticatedBusinessPlatform,
7
7
  logout
8
- } from "./chunk-RBL7EMA5.js";
8
+ } from "./chunk-N367MT6A.js";
9
9
  import {
10
10
  base_command_default
11
- } from "./chunk-BXBJI6XD.js";
11
+ } from "./chunk-PJ7QP3SS.js";
12
12
  import {
13
13
  fanoutHooks,
14
14
  requestIdsCollection
15
- } from "./chunk-3EURRQ7K.js";
15
+ } from "./chunk-7KO7T466.js";
16
16
  import {
17
17
  businessPlatformFqdn,
18
18
  normalizeStoreFqdn,
19
19
  partnersFqdn
20
- } from "./chunk-FHOKC4TU.js";
20
+ } from "./chunk-SGRODM6N.js";
21
21
  import {
22
22
  ClientError,
23
23
  GraphQLClient,
@@ -31,10 +31,10 @@ import {
31
31
  retryAwareRequest,
32
32
  sanitizeURL,
33
33
  sanitizedHeadersOutput
34
- } from "./chunk-DRATBB26.js";
34
+ } from "./chunk-M5CMNHPW.js";
35
35
  import {
36
36
  CLI_KIT_VERSION
37
- } from "./chunk-S5JEIN5Q.js";
37
+ } from "./chunk-B26QDYDN.js";
38
38
  import {
39
39
  cacheRetrieveOrRepopulate,
40
40
  findUpAndReadPackageJson,
@@ -44,7 +44,7 @@ import {
44
44
  readAndParsePackageJson,
45
45
  timeIntervalToMilliseconds,
46
46
  writePackageJSON
47
- } from "./chunk-WHCXZSKH.js";
47
+ } from "./chunk-HVPPS5EU.js";
48
48
  import {
49
49
  AbortError,
50
50
  BugError,
@@ -83,7 +83,7 @@ import {
83
83
  source_default,
84
84
  stringifyMessage,
85
85
  writeFile
86
- } from "./chunk-UNQM4BV5.js";
86
+ } from "./chunk-F7CACVY7.js";
87
87
  import {
88
88
  basename,
89
89
  cwd,
@@ -136546,12 +136546,12 @@ async function createGraphQLClient({ url, addedHeaders, token }) {
136546
136546
  };
136547
136547
  }
136548
136548
  async function performGraphQLRequest(options2) {
136549
- let { token, addedHeaders, queryAsString, variables, api, url, responseOptions, unauthorizedHandler, cacheOptions } = options2, requestBehaviour = requestMode(options2.preferredBehaviour ?? "default"), { headers, client } = await createGraphQLClient({ url, addedHeaders, token });
136549
+ let { token, addedHeaders, queryAsString, variables, api, url, responseOptions, unauthorizedHandler, cacheOptions } = options2, behaviour = requestMode(options2.preferredBehaviour ?? "default"), { headers, client } = await createGraphQLClient({ url, addedHeaders, token });
136550
136550
  debugLogRequestInfo(api, queryAsString, url, variables, headers);
136551
136551
  let rawGraphQLRequest = async () => {
136552
136552
  let fullResponse;
136553
136553
  try {
136554
- return client.requestConfig.signal = abortSignalFromRequestBehaviour(requestBehaviour), fullResponse = await client.rawRequest(queryAsString, variables), await logLastRequestIdFromResponse(fullResponse), fullResponse;
136554
+ return client.requestConfig.signal = abortSignalFromRequestBehaviour(behaviour), fullResponse = await client.rawRequest(queryAsString, variables), await logLastRequestIdFromResponse(fullResponse), fullResponse;
136555
136555
  } catch (error) {
136556
136556
  throw error instanceof ClientError && await logLastRequestIdFromResponse(error.response), error;
136557
136557
  }
@@ -136566,7 +136566,7 @@ async function performGraphQLRequest(options2) {
136566
136566
  return client = newClient, headers = newHeaders, !0;
136567
136567
  } else
136568
136568
  return !1;
136569
- } : void 0, request = () => retryAwareRequest({ request: rawGraphQLRequest, url, ...requestBehaviour }, responseOptions?.handleErrors === !1 ? void 0 : errorHandler(api)), executeWithTimer = () => runWithTimer("cmd_all_timing_network_ms")(async () => {
136569
+ } : void 0, request = () => retryAwareRequest({ request: rawGraphQLRequest, url, ...behaviour }, responseOptions?.handleErrors === !1 ? void 0 : errorHandler(api)), executeWithTimer = () => runWithTimer("cmd_all_timing_network_ms")(async () => {
136570
136570
  let response;
136571
136571
  try {
136572
136572
  response = await request();
@@ -136959,7 +136959,7 @@ var addCursorAndFiltersToAppLogsUrl = (baseUrl, cursor, filters) => {
136959
136959
  };
136960
136960
 
136961
136961
  // ../cli-kit/dist/public/node/api/partners.js
136962
- var import_bottleneck = __toESM(require_lib2(), 1), limiter = new import_bottleneck.default({
136962
+ var import_bottleneck = __toESM(require_lib2()), limiter = new import_bottleneck.default({
136963
136963
  minTime: 150,
136964
136964
  maxConcurrent: 10
136965
136965
  });
@@ -142434,4 +142434,4 @@ export {
142434
142434
  getDebugBannerLine,
142435
142435
  getUtilityBannerlines
142436
142436
  };
142437
- //# sourceMappingURL=chunk-JEQ7HZCS.js.map
142437
+ //# sourceMappingURL=chunk-HNKVF23P.js.map
@@ -18,7 +18,7 @@ import {
18
18
  require_get_stream,
19
19
  runWithTimer,
20
20
  writeFile
21
- } from "./chunk-UNQM4BV5.js";
21
+ } from "./chunk-F7CACVY7.js";
22
22
  import {
23
23
  dirname,
24
24
  joinPath
@@ -13636,7 +13636,7 @@ async function latestVersion(packageName, options) {
13636
13636
  }
13637
13637
 
13638
13638
  // ../cli-kit/dist/public/node/node-package-manager.js
13639
- var import_semver3 = __toESM(require_semver()), yarnLockfile = "yarn.lock", npmLockfile = "package-lock.json", pnpmLockfile = "pnpm-lock.yaml", bunLockfile = "bun.lockb", pnpmWorkspaceFile = "pnpm-workspace.yaml", lockfiles = [yarnLockfile, pnpmLockfile, npmLockfile, bunLockfile], lockfilesByManager = {
13639
+ var import_semver3 = __toESM(require_semver(), 1), yarnLockfile = "yarn.lock", npmLockfile = "package-lock.json", pnpmLockfile = "pnpm-lock.yaml", bunLockfile = "bun.lockb", pnpmWorkspaceFile = "pnpm-workspace.yaml", lockfiles = [yarnLockfile, pnpmLockfile, npmLockfile, bunLockfile], lockfilesByManager = {
13640
13640
  yarn: yarnLockfile,
13641
13641
  npm: npmLockfile,
13642
13642
  pnpm: pnpmLockfile,
@@ -13948,4 +13948,4 @@ deep-extend/lib/deep-extend.js:
13948
13948
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13949
13949
  *)
13950
13950
  */
13951
- //# sourceMappingURL=chunk-WHCXZSKH.js.map
13951
+ //# sourceMappingURL=chunk-HVPPS5EU.js.map
@@ -5,7 +5,7 @@ import {
5
5
  renderDangerousConfirmationPrompt,
6
6
  renderSelectPrompt,
7
7
  renderTextPrompt
8
- } from "./chunk-UNQM4BV5.js";
8
+ } from "./chunk-F7CACVY7.js";
9
9
  import {
10
10
  init_cjs_shims
11
11
  } from "./chunk-PKR7KJ6P.js";
@@ -175,4 +175,4 @@ async function prompts() {
175
175
  export {
176
176
  prompts
177
177
  };
178
- //# sourceMappingURL=chunk-Q6VEUT5Q.js.map
178
+ //# sourceMappingURL=chunk-JTM64JML.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  list
3
- } from "./chunk-XFK3CKIN.js";
3
+ } from "./chunk-KV6ENNDU.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-BXBJI6XD.js";
6
+ } from "./chunk-PJ7QP3SS.js";
7
7
  import {
8
8
  sendErrorToBugsnag
9
- } from "./chunk-FE35FSRC.js";
9
+ } from "./chunk-TP3H2NVV.js";
10
10
  import {
11
11
  require_lib
12
12
  } from "./chunk-3FBDJEGD.js";
@@ -49,4 +49,4 @@ var List = class _List extends base_command_default {
49
49
  export {
50
50
  List
51
51
  };
52
- //# sourceMappingURL=chunk-ZLYK26OR.js.map
52
+ //# sourceMappingURL=chunk-K4PSDTA7.js.map
@@ -2,13 +2,13 @@ import {
2
2
  fetchNotifications,
3
3
  getNotifications,
4
4
  stringifyFilters
5
- } from "./chunk-VQ6DWYP7.js";
5
+ } from "./chunk-YXCYRXKK.js";
6
6
  import {
7
7
  randomUUID
8
- } from "./chunk-DRATBB26.js";
8
+ } from "./chunk-M5CMNHPW.js";
9
9
  import {
10
10
  CLI_KIT_VERSION
11
- } from "./chunk-S5JEIN5Q.js";
11
+ } from "./chunk-B26QDYDN.js";
12
12
  import {
13
13
  outputInfo,
14
14
  renderSelectPrompt,
@@ -16,7 +16,7 @@ import {
16
16
  renderTable,
17
17
  renderTextPrompt,
18
18
  writeFile
19
- } from "./chunk-UNQM4BV5.js";
19
+ } from "./chunk-F7CACVY7.js";
20
20
  import {
21
21
  init_cjs_shims
22
22
  } from "./chunk-PKR7KJ6P.js";
@@ -103,4 +103,4 @@ export {
103
103
  generate,
104
104
  list
105
105
  };
106
- //# sourceMappingURL=chunk-XFK3CKIN.js.map
106
+ //# sourceMappingURL=chunk-KV6ENNDU.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  searchService
3
- } from "./chunk-VRECY72K.js";
3
+ } from "./chunk-XMFLKI5L.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-BXBJI6XD.js";
6
+ } from "./chunk-PJ7QP3SS.js";
7
7
  import {
8
8
  require_lib
9
9
  } from "./chunk-3FBDJEGD.js";
@@ -48,4 +48,4 @@ var import_core = __toESM(require_lib(), 1), Search = class _Search extends base
48
48
  export {
49
49
  Search
50
50
  };
51
- //# sourceMappingURL=chunk-ZZGNTCPD.js.map
51
+ //# sourceMappingURL=chunk-L3FIMPVS.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  packageManagerFromUserAgent
3
- } from "./chunk-WHCXZSKH.js";
3
+ } from "./chunk-HVPPS5EU.js";
4
4
  import {
5
5
  currentProcessIsGlobal,
6
6
  inferPackageManagerForGlobalCLI,
7
7
  outputContent,
8
8
  outputToken
9
- } from "./chunk-UNQM4BV5.js";
9
+ } from "./chunk-F7CACVY7.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ export {
25
25
  cliInstallCommand,
26
26
  getOutputUpdateCLIReminder
27
27
  };
28
- //# sourceMappingURL=chunk-WROAVXGY.js.map
28
+ //# sourceMappingURL=chunk-LV6TZ6RO.js.map