@shopify/cli 3.87.4 → 3.88.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 (81) hide show
  1. package/dist/{chunk-M4KJ2GMX.js → chunk-4ISFA2N3.js} +6 -8
  2. package/dist/{chunk-2VDLT7AT.js → chunk-4NQZXGUR.js} +4 -4
  3. package/dist/{chunk-MQGJCYOJ.js → chunk-5BHU3PRC.js} +65 -28
  4. package/dist/{chunk-W2TEGSMR.js → chunk-5OVH24W5.js} +6 -6
  5. package/dist/{chunk-B5R7IGPI.js → chunk-6GKJAGTG.js} +2 -2
  6. package/dist/{chunk-TSE5KOHV.js → chunk-6O34ZV3A.js} +4 -4
  7. package/dist/{chunk-VDVVCJPN.js → chunk-6XQFNXU3.js} +19 -3
  8. package/dist/{chunk-MN5WIAIX.js → chunk-7U3KXZYU.js} +3 -3
  9. package/dist/{chunk-5MAMHRHU.js → chunk-CCYDP5TC.js} +5 -5
  10. package/dist/{chunk-E5DVKI4E.js → chunk-DGWEIWJA.js} +4 -6
  11. package/dist/{chunk-NA2JV5GP.js → chunk-GZ3PD27A.js} +4 -4
  12. package/dist/{chunk-OG4B24TL.js → chunk-GZARFYAY.js} +2 -2
  13. package/dist/{chunk-XBNJSXFC.js → chunk-HM34WS7W.js} +3 -3
  14. package/dist/{chunk-UPPP4PEB.js → chunk-HQJPNVYR.js} +6 -6
  15. package/dist/{chunk-5OEN66KU.js → chunk-IVWPL6RQ.js} +3 -3
  16. package/dist/{chunk-6RV7EPXS.js → chunk-J7U35MPX.js} +5 -5
  17. package/dist/chunk-JO4W7S44.js +52891 -0
  18. package/dist/{chunk-CONRF5CQ.js → chunk-K5F7HNJN.js} +3 -3
  19. package/dist/{chunk-DDZ4MRDR.js → chunk-KF76XPVO.js} +3 -3
  20. package/dist/{chunk-ZUMEAETT.js → chunk-KVDUU7LU.js} +2 -2
  21. package/dist/{chunk-SJXCBEPN.js → chunk-LBA6IB72.js} +3 -3
  22. package/dist/{chunk-YLJDEDAN.js → chunk-OUR7YOZK.js} +2 -2
  23. package/dist/{chunk-KKHQITV4.js → chunk-QRIP3SU2.js} +7 -7
  24. package/dist/{chunk-5SE32FSQ.js → chunk-SATLZT2F.js} +2 -2
  25. package/dist/{chunk-73NR2QYO.js → chunk-SMXARNZJ.js} +3 -3
  26. package/dist/{chunk-FXQ465D3.js → chunk-TF4AQQB4.js} +5 -5
  27. package/dist/{chunk-X26FF4KZ.js → chunk-TPVWZRBE.js} +3 -3
  28. package/dist/{chunk-Q5AXWB7V.js → chunk-TQWSBJX3.js} +3 -3
  29. package/dist/{chunk-JAR2WH2P.js → chunk-TZSBI4FY.js} +7 -9
  30. package/dist/{chunk-2DGV6SZL.js → chunk-UBFTWR2L.js} +2 -2
  31. package/dist/{chunk-WKBH3IKR.js → chunk-VH47P2IR.js} +3 -3
  32. package/dist/{chunk-RSS4DZZM.js → chunk-YBRRA3G2.js} +2 -2
  33. package/dist/{chunk-LMREWIO3.js → chunk-ZKOCRU7F.js} +3 -3
  34. package/dist/cli/commands/auth/login.js +8 -10
  35. package/dist/cli/commands/auth/login.test.js +9 -11
  36. package/dist/cli/commands/auth/logout.js +8 -10
  37. package/dist/cli/commands/auth/logout.test.js +9 -11
  38. package/dist/cli/commands/cache/clear.js +8 -10
  39. package/dist/cli/commands/debug/command-flags.js +8 -10
  40. package/dist/cli/commands/docs/generate.js +8 -10
  41. package/dist/cli/commands/docs/generate.test.js +8 -10
  42. package/dist/cli/commands/help.js +8 -10
  43. package/dist/cli/commands/kitchen-sink/async.js +9 -11
  44. package/dist/cli/commands/kitchen-sink/async.test.js +9 -11
  45. package/dist/cli/commands/kitchen-sink/index.js +11 -13
  46. package/dist/cli/commands/kitchen-sink/index.test.js +11 -13
  47. package/dist/cli/commands/kitchen-sink/prompts.js +9 -11
  48. package/dist/cli/commands/kitchen-sink/prompts.test.js +9 -11
  49. package/dist/cli/commands/kitchen-sink/static.js +9 -11
  50. package/dist/cli/commands/kitchen-sink/static.test.js +9 -11
  51. package/dist/cli/commands/notifications/generate.js +9 -11
  52. package/dist/cli/commands/notifications/list.js +9 -11
  53. package/dist/cli/commands/search.js +9 -11
  54. package/dist/cli/commands/upgrade.js +9 -11
  55. package/dist/cli/commands/version.js +9 -11
  56. package/dist/cli/commands/version.test.js +9 -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/{custom-oclif-loader-FGHBF34H.js → custom-oclif-loader-EAWHI4I3.js} +2 -2
  68. package/dist/{error-handler-REZ4JHHT.js → error-handler-WZR7CPYT.js} +6 -8
  69. package/dist/hooks/postrun.js +5 -7
  70. package/dist/hooks/prerun.js +8 -9
  71. package/dist/index.js +1911 -907
  72. package/dist/{local-YIKMWXQ7.js → local-P2SS6AIS.js} +2 -2
  73. package/dist/{node-package-manager-RMBDMVA4.js → node-package-manager-FZWNOAYQ.js} +3 -3
  74. package/dist/tsconfig.tsbuildinfo +1 -1
  75. package/dist/{ui-5WUSNUER.js → ui-5RSPUMJS.js} +2 -2
  76. package/dist/{workerd-H7KWPFBD.js → workerd-K73DK5CH.js} +9 -11
  77. package/oclif.manifest.json +327 -19
  78. package/package.json +6 -6
  79. package/dist/chunk-GBO56MTW.js +0 -16100
  80. package/dist/chunk-GXRCTOFL.js +0 -32171
  81. package/dist/chunk-SE3SBZYH.js +0 -4671
@@ -3,18 +3,16 @@ import {
3
3
  } from "./chunk-EFOOQV72.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-FXQ465D3.js";
7
- import {
8
- fanoutHooks
9
- } from "./chunk-GBO56MTW.js";
6
+ } from "./chunk-TF4AQQB4.js";
10
7
  import {
11
8
  businessPlatformRequest,
12
9
  ensureAuthenticatedAdmin,
13
10
  ensureAuthenticatedBusinessPlatform,
11
+ fanoutHooks,
14
12
  graphqlRequest,
15
13
  logout,
16
14
  normalizeStoreFqdn
17
- } from "./chunk-SE3SBZYH.js";
15
+ } from "./chunk-JO4W7S44.js";
18
16
  import {
19
17
  findUpAndReadPackageJson,
20
18
  getPackageManager,
@@ -22,7 +20,7 @@ import {
22
20
  packageManagerFromUserAgent,
23
21
  readAndParsePackageJson,
24
22
  writePackageJSON
25
- } from "./chunk-OG4B24TL.js";
23
+ } from "./chunk-GZARFYAY.js";
26
24
  import {
27
25
  AbortError,
28
26
  BugError,
@@ -62,7 +60,7 @@ import {
62
60
  runWithTimer,
63
61
  source_default,
64
62
  writeFile
65
- } from "./chunk-MQGJCYOJ.js";
63
+ } from "./chunk-5BHU3PRC.js";
66
64
  import {
67
65
  require_ansi_escapes,
68
66
  require_ansi_styles,
@@ -153037,4 +153035,4 @@ export {
153037
153035
  getDebugBannerLine,
153038
153036
  getUtilityBannerlines
153039
153037
  };
153040
- //# sourceMappingURL=chunk-M4KJ2GMX.js.map
153038
+ //# sourceMappingURL=chunk-4ISFA2N3.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-FXQ465D3.js";
3
+ } from "./chunk-TF4AQQB4.js";
4
4
  import {
5
5
  logout
6
- } from "./chunk-SE3SBZYH.js";
6
+ } from "./chunk-JO4W7S44.js";
7
7
  import {
8
8
  outputSuccess
9
- } from "./chunk-MQGJCYOJ.js";
9
+ } from "./chunk-5BHU3PRC.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-2VDLT7AT.js.map
28
+ //# sourceMappingURL=chunk-4NQZXGUR.js.map
@@ -23134,6 +23134,7 @@ var environmentVariables = {
23134
23134
  themeKitAccessDomain: "SHOPIFY_CLI_THEME_KIT_ACCESS_DOMAIN",
23135
23135
  json: "SHOPIFY_FLAG_JSON",
23136
23136
  neverUsePartnersApi: "SHOPIFY_CLI_NEVER_USE_PARTNERS_API",
23137
+ usePartnersApi: "SHOPIFY_CLI_USE_PARTNERS_API",
23137
23138
  skipNetworkLevelRetry: "SHOPIFY_CLI_SKIP_NETWORK_LEVEL_RETRY",
23138
23139
  maxRequestTimeForNetworkCalls: "SHOPIFY_CLI_MAX_REQUEST_TIME_FOR_NETWORK_CALLS"
23139
23140
  }, defaultThemeKitAccessDomain = "theme-kit-access.shopifyapps.com", systemEnvironmentVariables = {
@@ -23402,6 +23403,22 @@ function normalizeDelimitedString(delimitedString, delimiter2 = ",") {
23402
23403
  let sortedItems = delimitedString.split(delimiter2).map((value) => value.trim()).filter((value) => value !== "").sort();
23403
23404
  return [...new Set(sortedItems)].join(delimiter2);
23404
23405
  }
23406
+ function timeAgo(from, to) {
23407
+ let seconds = Math.floor((to.getTime() - from.getTime()) / 1e3);
23408
+ if (seconds < 60)
23409
+ return `${formatTimeUnit(seconds, "second")} ago`;
23410
+ let minutes = Math.floor(seconds / 60);
23411
+ if (minutes < 60)
23412
+ return `${formatTimeUnit(minutes, "minute")} ago`;
23413
+ let hours = Math.floor(minutes / 60);
23414
+ if (hours < 24)
23415
+ return `${formatTimeUnit(hours, "hour")} ago`;
23416
+ let days = Math.floor(hours / 24);
23417
+ return `${formatTimeUnit(days, "day")} ago`;
23418
+ }
23419
+ function formatTimeUnit(count, unit) {
23420
+ return `${count} ${unit}${count === 1 ? "" : "s"}`;
23421
+ }
23405
23422
 
23406
23423
  // ../../node_modules/.pnpm/fs-extra@11.1.0/node_modules/fs-extra/lib/esm.mjs
23407
23424
  init_cjs_shims();
@@ -24560,7 +24577,7 @@ minimatch.unescape = unescape2;
24560
24577
  // ../cli-kit/dist/public/node/fs.js
24561
24578
  var import_fast_glob = __toESM(require_out());
24562
24579
  import { mkdirSync as fsMkdirSync, readFileSync as fsReadFileSync, writeFileSync as fsWriteFileSync, appendFileSync as fsAppendFileSync, statSync as fsStatSync, createReadStream as fsCreateReadStream, createWriteStream as fsCreateWriteStream, constants as fsConstants, existsSync as fsFileExistsSync, unlinkSync as fsUnlinkSync, accessSync, statSync } from "fs";
24563
- import { mkdir as fsMkdir, writeFile as fsWriteFile, readFile as fsReadFile, realpath as fsRealPath, appendFile as fsAppendFile, mkdtemp as fsMkdtemp, stat as fsStat, lstat as fsLstat, chmod as fsChmod, access as fsAccess, rename as fsRename, unlink as fsUnlink, readdir as fsReaddir } from "fs/promises";
24580
+ import { mkdir as fsMkdir, writeFile as fsWriteFile, readFile as fsReadFile, realpath as fsRealPath, appendFile as fsAppendFile, mkdtemp as fsMkdtemp, stat as fsStat, lstat as fsLstat, chmod as fsChmod, access as fsAccess, rename as fsRename, unlink as fsUnlink, readdir as fsReaddir, symlink as fsSymlink } from "fs/promises";
24564
24581
  async function inTemporaryDirectory(callback) {
24565
24582
  return temporaryDirectoryTask(callback);
24566
24583
  }
@@ -24607,6 +24624,15 @@ async function removeFile(path8) {
24607
24624
  async function renameFile(from, to) {
24608
24625
  outputDebug(outputContent`Renaming file from ${outputToken.path(from)} to ${outputToken.path(to)}...`), await fsRename(from, to);
24609
24626
  }
24627
+ async function symlink(target, path8) {
24628
+ outputDebug(outputContent`Creating symbolic link from ${outputToken.path(path8)} to ${outputToken.path(target)}...`);
24629
+ let type = "file";
24630
+ try {
24631
+ (await fsLstat(target)).isDirectory() && (type = "junction");
24632
+ } catch {
24633
+ }
24634
+ await fsSymlink(target, path8, type);
24635
+ }
24610
24636
  function removeFileSync(path8) {
24611
24637
  outputDebug(outputContent`Sync-removing file at ${outputToken.path(path8)}...`), removeSync(path8);
24612
24638
  }
@@ -24712,17 +24738,6 @@ function matchGlob(key, pattern, options) {
24712
24738
  function readdir(path8) {
24713
24739
  return fsReaddir(path8);
24714
24740
  }
24715
- async function copyDirectoryContents(srcDir, destDir) {
24716
- if (!await fileExists(srcDir))
24717
- throw new Error(`Source directory ${srcDir} does not exist`);
24718
- await fileExists(destDir) || await mkdir(destDir);
24719
- let items = await glob(joinPath(srcDir, "**/*")), filesToCopy = [];
24720
- for (let item of items) {
24721
- let relativePath = item.replace(srcDir, "").replace(/^[/\\]/, ""), destPath = joinPath(destDir, relativePath);
24722
- filesToCopy.push(copyFile(item, destPath));
24723
- }
24724
- await Promise.all(filesToCopy);
24725
- }
24726
24741
 
24727
24742
  // ../cli-kit/dist/public/node/system.js
24728
24743
  init_cjs_shims();
@@ -25710,6 +25725,7 @@ function makeUsernameFromId(userId) {
25710
25725
 
25711
25726
  // ../cli-kit/dist/public/node/system.js
25712
25727
  var import_which = __toESM(require_lib2());
25728
+ import { fstatSync } from "fs";
25713
25729
  async function openURL(url) {
25714
25730
  let externalOpen = await import("./open-BHIF7E3E.js");
25715
25731
  try {
@@ -25794,6 +25810,23 @@ function isCI() {
25794
25810
  async function isWsl() {
25795
25811
  return (await import("./is-wsl-YAJ3DFN7.js")).default;
25796
25812
  }
25813
+ function isStdinPiped() {
25814
+ try {
25815
+ let stats = fstatSync(0);
25816
+ return stats.isFIFO() || stats.isFile();
25817
+ } catch {
25818
+ return !1;
25819
+ }
25820
+ }
25821
+ async function readStdinString() {
25822
+ if (!isStdinPiped())
25823
+ return;
25824
+ let data = "";
25825
+ process.stdin.setEncoding("utf8");
25826
+ for await (let chunk of process.stdin)
25827
+ data += String(chunk);
25828
+ return data.trim();
25829
+ }
25797
25830
 
25798
25831
  // ../../node_modules/.pnpm/is-interactive@2.0.0/node_modules/is-interactive/index.js
25799
25832
  init_cjs_shims();
@@ -30238,7 +30271,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
30238
30271
  try {
30239
30272
  await getAndSet();
30240
30273
  } catch (error) {
30241
- let { sendErrorToBugsnag } = await import("./error-handler-REZ4JHHT.js");
30274
+ let { sendErrorToBugsnag } = await import("./error-handler-WZR7CPYT.js");
30242
30275
  await sendErrorToBugsnag(error, "unexpected_error");
30243
30276
  }
30244
30277
  }, durationStack = [];
@@ -31654,7 +31687,10 @@ function Tasks({ tasks, silent = isUnitTest(), onComplete = noop3, abortSignal,
31654
31687
  }
31655
31688
  }), useExitOnCtrlC();
31656
31689
  let { isAborted } = useAbortSignal(abortSignal);
31657
- return silent ? null : state === TasksState.Loading && !isAborted ? import_react53.default.createElement(LoadingBar, { title: currentTask.title, noColor, noProgressBar }) : null;
31690
+ if (silent)
31691
+ return null;
31692
+ let title = typeof currentTask.title == "string" ? currentTask.title : currentTask.title.value;
31693
+ return state === TasksState.Loading && !isAborted ? import_react53.default.createElement(LoadingBar, { title, noColor, noProgressBar }) : null;
31658
31694
  }
31659
31695
 
31660
31696
  // ../cli-kit/dist/private/node/ui/components/TextPrompt.js
@@ -31796,15 +31832,15 @@ function AutocompletePrompt({ message, choices, infoTable, onSubmit, search, has
31796
31832
  // ../cli-kit/dist/private/node/ui/components/SingleTask.js
31797
31833
  init_cjs_shims();
31798
31834
  var import_react56 = __toESM(require_react(), 1);
31799
- var SingleTask = ({ taskPromise, title, noColor }) => {
31800
- let [isDone, setIsDone] = (0, import_react56.useState)(!1), { exit: unmountInk } = use_app_default();
31835
+ var SingleTask = ({ task, title, onComplete, noColor }) => {
31836
+ let [status, setStatus] = (0, import_react56.useState)(title), [isDone, setIsDone] = (0, import_react56.useState)(!1), { exit: unmountInk } = use_app_default();
31801
31837
  return useExitOnCtrlC(), (0, import_react56.useEffect)(() => {
31802
- taskPromise.then(() => {
31803
- setIsDone(!0), unmountInk();
31838
+ task(setStatus).then((result) => {
31839
+ setIsDone(!0), onComplete?.(result), unmountInk();
31804
31840
  }).catch((error) => {
31805
31841
  setIsDone(!0), unmountInk(error);
31806
31842
  });
31807
- }, [taskPromise, unmountInk]), isDone ? null : import_react56.default.createElement(LoadingBar, { title, noColor });
31843
+ }, [task, unmountInk, onComplete]), isDone ? null : import_react56.default.createElement(LoadingBar, { title: status.value, noColor });
31808
31844
  };
31809
31845
 
31810
31846
  // ../cli-kit/dist/public/node/ui.js
@@ -31897,15 +31933,13 @@ async function renderTasks(tasks, { renderOptions, noProgressBar } = {}) {
31897
31933
  }).catch(reject);
31898
31934
  });
31899
31935
  }
31900
- async function renderSingleTask({ title, taskPromise }, { renderOptions } = {}) {
31901
- let promise = typeof taskPromise == "function" ? taskPromise() : taskPromise, [_renderResult, taskResult] = await Promise.all([
31902
- render2(import_react57.default.createElement(SingleTask, { title, taskPromise: promise }), {
31936
+ async function renderSingleTask({ title, task, renderOptions }) {
31937
+ return new Promise((resolve, reject) => {
31938
+ render2(import_react57.default.createElement(SingleTask, { title, task, onComplete: resolve }), {
31903
31939
  ...renderOptions,
31904
31940
  exitOnCtrlC: !1
31905
- }),
31906
- promise
31907
- ]);
31908
- return taskResult;
31941
+ }).catch(reject);
31942
+ });
31909
31943
  }
31910
31944
  async function renderTextPrompt({ renderOptions, ...props }, uiDebugOptions = defaultUIDebugOptions) {
31911
31945
  return throwInNonTTY({ message: props.message, stdin: renderOptions?.stdin }, uiDebugOptions), runWithTimer("cmd_all_timing_prompts_ms")(async () => {
@@ -32071,6 +32105,7 @@ export {
32071
32105
  joinWithAnd,
32072
32106
  pascalize,
32073
32107
  normalizeDelimitedString,
32108
+ timeAgo,
32074
32109
  useAbortSignal,
32075
32110
  require_baseForOwn,
32076
32111
  require_baseEach,
@@ -32116,6 +32151,7 @@ export {
32116
32151
  terminalSupportsPrompting,
32117
32152
  isCI,
32118
32153
  isWsl,
32154
+ readStdinString,
32119
32155
  localCLIVersion,
32120
32156
  globalCLIVersion,
32121
32157
  isPreReleaseVersion,
@@ -32123,6 +32159,7 @@ export {
32123
32159
  installGlobalShopifyCLI,
32124
32160
  installGlobalCLIPrompt,
32125
32161
  inferPackageManagerForGlobalCLI,
32162
+ TokenizedString,
32126
32163
  outputToken,
32127
32164
  formatPackageManagerCommand,
32128
32165
  outputContent,
@@ -32155,6 +32192,7 @@ export {
32155
32192
  mkdirSync,
32156
32193
  removeFile,
32157
32194
  renameFile,
32195
+ symlink,
32158
32196
  removeFileSync,
32159
32197
  rmdir,
32160
32198
  isDirectory,
@@ -32179,7 +32217,6 @@ export {
32179
32217
  findPathUp,
32180
32218
  matchGlob,
32181
32219
  readdir,
32182
- copyDirectoryContents,
32183
32220
  isTerminalInteractive,
32184
32221
  homeDirectory,
32185
32222
  isDevelopment,
@@ -32292,4 +32329,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
32292
32329
  * LICENSE file in the root directory of this source tree.
32293
32330
  *)
32294
32331
  */
32295
- //# sourceMappingURL=chunk-MQGJCYOJ.js.map
32332
+ //# sourceMappingURL=chunk-5BHU3PRC.js.map
@@ -2,15 +2,15 @@ import {
2
2
  fetch,
3
3
  jsonOutputEnabled,
4
4
  z
5
- } from "./chunk-GXRCTOFL.js";
5
+ } from "./chunk-JO4W7S44.js";
6
6
  import {
7
7
  cacheRetrieve,
8
8
  cacheStore,
9
9
  versionSatisfies
10
- } from "./chunk-OG4B24TL.js";
10
+ } from "./chunk-GZARFYAY.js";
11
11
  import {
12
12
  CLI_KIT_VERSION
13
- } from "./chunk-B5R7IGPI.js";
13
+ } from "./chunk-6GKJAGTG.js";
14
14
  import {
15
15
  AbortSilentError,
16
16
  exec,
@@ -19,7 +19,7 @@ import {
19
19
  renderError,
20
20
  renderInfo,
21
21
  renderWarning
22
- } from "./chunk-MQGJCYOJ.js";
22
+ } from "./chunk-5BHU3PRC.js";
23
23
  import {
24
24
  init_cjs_shims
25
25
  } from "./chunk-PKR7KJ6P.js";
@@ -87,7 +87,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
87
87
  throw new AbortSilentError();
88
88
  let errorMessage = `Error showing notifications: ${error.message}`;
89
89
  outputDebug(errorMessage);
90
- let { sendErrorToBugsnag } = await import("./error-handler-REZ4JHHT.js");
90
+ let { sendErrorToBugsnag } = await import("./error-handler-WZR7CPYT.js");
91
91
  await sendErrorToBugsnag(errorMessage, "unexpected_error");
92
92
  }
93
93
  }
@@ -200,4 +200,4 @@ export {
200
200
  fetchNotificationsInBackground,
201
201
  stringifyFilters
202
202
  };
203
- //# sourceMappingURL=chunk-W2TEGSMR.js.map
203
+ //# sourceMappingURL=chunk-5OVH24W5.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.87.4";
7
+ var CLI_KIT_VERSION = "3.88.0";
8
8
 
9
9
  export {
10
10
  CLI_KIT_VERSION
11
11
  };
12
- //# sourceMappingURL=chunk-B5R7IGPI.js.map
12
+ //# sourceMappingURL=chunk-6GKJAGTG.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cliInstallCommand
3
- } from "./chunk-CONRF5CQ.js";
3
+ } from "./chunk-K5F7HNJN.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-FXQ465D3.js";
6
+ } from "./chunk-TF4AQQB4.js";
7
7
  import {
8
8
  renderInfo
9
- } from "./chunk-MQGJCYOJ.js";
9
+ } from "./chunk-5BHU3PRC.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-TSE5KOHV.js.map
37
+ //# sourceMappingURL=chunk-6O34ZV3A.js.map
@@ -1,7 +1,11 @@
1
1
  import {
2
+ TokenizedString,
3
+ outputContent,
4
+ outputToken,
2
5
  renderConcurrent,
6
+ renderSingleTask,
3
7
  renderTasks
4
- } from "./chunk-MQGJCYOJ.js";
8
+ } from "./chunk-5BHU3PRC.js";
5
9
  import {
6
10
  init_cjs_shims
7
11
  } from "./chunk-PKR7KJ6P.js";
@@ -37,10 +41,22 @@ async function asyncTasks() {
37
41
  await new Promise((resolve) => setTimeout(resolve, 2e3));
38
42
  }
39
43
  }
40
- ]);
44
+ ]), await renderSingleTask({
45
+ title: new TokenizedString("Importing data"),
46
+ task: async (updateStatus) => {
47
+ for (let i = 1; i <= 10; i++) {
48
+ await new Promise((resolve) => setTimeout(resolve, 500));
49
+ let status = outputContent`Importing data ${outputToken.italic(
50
+ outputContent`(${outputToken.green(i.toString())} complete)`
51
+ )}`;
52
+ updateStatus(status);
53
+ }
54
+ return "completed";
55
+ }
56
+ });
41
57
  }
42
58
 
43
59
  export {
44
60
  asyncTasks
45
61
  };
46
- //# sourceMappingURL=chunk-VDVVCJPN.js.map
62
+ //# sourceMappingURL=chunk-6XQFNXU3.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-FXQ465D3.js";
3
+ } from "./chunk-TF4AQQB4.js";
4
4
  import {
5
5
  mkdir,
6
6
  outputInfo,
7
7
  rmdir,
8
8
  writeFile
9
- } from "./chunk-MQGJCYOJ.js";
9
+ } from "./chunk-5BHU3PRC.js";
10
10
  import {
11
11
  cwd,
12
12
  joinPath
@@ -118,4 +118,4 @@ export {
118
118
  writeCommandFlagInterface,
119
119
  writeCommandUsageExampleFile
120
120
  };
121
- //# sourceMappingURL=chunk-MN5WIAIX.js.map
121
+ //# sourceMappingURL=chunk-7U3KXZYU.js.map
@@ -2,13 +2,13 @@ import {
2
2
  fetchNotifications,
3
3
  getNotifications,
4
4
  stringifyFilters
5
- } from "./chunk-W2TEGSMR.js";
5
+ } from "./chunk-5OVH24W5.js";
6
6
  import {
7
7
  randomUUID
8
- } from "./chunk-GXRCTOFL.js";
8
+ } from "./chunk-JO4W7S44.js";
9
9
  import {
10
10
  CLI_KIT_VERSION
11
- } from "./chunk-B5R7IGPI.js";
11
+ } from "./chunk-6GKJAGTG.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-MQGJCYOJ.js";
19
+ } from "./chunk-5BHU3PRC.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-5MAMHRHU.js.map
106
+ //# sourceMappingURL=chunk-CCYDP5TC.js.map
@@ -1,15 +1,13 @@
1
1
  import {
2
+ getNextDeprecationDate,
2
3
  reportAnalyticsEvent
3
- } from "./chunk-GBO56MTW.js";
4
- import {
5
- getNextDeprecationDate
6
- } from "./chunk-SE3SBZYH.js";
4
+ } from "./chunk-JO4W7S44.js";
7
5
  import {
8
6
  addSensitiveMetadata,
9
7
  getAllSensitiveMetadata,
10
8
  outputDebug,
11
9
  renderWarning
12
- } from "./chunk-MQGJCYOJ.js";
10
+ } from "./chunk-5BHU3PRC.js";
13
11
  import {
14
12
  init_cjs_shims
15
13
  } from "./chunk-PKR7KJ6P.js";
@@ -77,4 +75,4 @@ export {
77
75
  postRunHookHasCompleted,
78
76
  hook
79
77
  };
80
- //# sourceMappingURL=chunk-E5DVKI4E.js.map
78
+ //# sourceMappingURL=chunk-DGWEIWJA.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  list
3
- } from "./chunk-5MAMHRHU.js";
3
+ } from "./chunk-CCYDP5TC.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-FXQ465D3.js";
6
+ } from "./chunk-TF4AQQB4.js";
7
7
  import {
8
8
  sendErrorToBugsnag
9
- } from "./chunk-JAR2WH2P.js";
9
+ } from "./chunk-TZSBI4FY.js";
10
10
  import {
11
11
  require_lib
12
12
  } from "./chunk-VLBE545G.js";
@@ -49,4 +49,4 @@ var List = class _List extends base_command_default {
49
49
  export {
50
50
  List
51
51
  };
52
- //# sourceMappingURL=chunk-NA2JV5GP.js.map
52
+ //# sourceMappingURL=chunk-GZ3PD27A.js.map
@@ -20,7 +20,7 @@ import {
20
20
  runWithTimer,
21
21
  unixFileIsOwnedByCurrentUser,
22
22
  writeFile
23
- } from "./chunk-MQGJCYOJ.js";
23
+ } from "./chunk-5BHU3PRC.js";
24
24
  import {
25
25
  require_semver
26
26
  } from "./chunk-HMDWNGIV.js";
@@ -14035,4 +14035,4 @@ deep-extend/lib/deep-extend.js:
14035
14035
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
14036
14036
  *)
14037
14037
  */
14038
- //# sourceMappingURL=chunk-OG4B24TL.js.map
14038
+ //# sourceMappingURL=chunk-GZARFYAY.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  versionService
3
- } from "./chunk-5OEN66KU.js";
3
+ } from "./chunk-IVWPL6RQ.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-FXQ465D3.js";
6
+ } from "./chunk-TF4AQQB4.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -22,4 +22,4 @@ var Version = class extends base_command_default {
22
22
  export {
23
23
  Version
24
24
  };
25
- //# sourceMappingURL=chunk-XBNJSXFC.js.map
25
+ //# sourceMappingURL=chunk-HM34WS7W.js.map
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-FXQ465D3.js";
3
+ } from "./chunk-TF4AQQB4.js";
4
4
  import {
5
5
  ensureAuthenticatedUser,
6
- fetch,
6
+ fetch2 as fetch,
7
7
  findSessionByAlias,
8
8
  getSessionAlias,
9
9
  identityFqdn
10
- } from "./chunk-SE3SBZYH.js";
10
+ } from "./chunk-JO4W7S44.js";
11
11
  import {
12
12
  setCurrentSessionId
13
- } from "./chunk-OG4B24TL.js";
13
+ } from "./chunk-GZARFYAY.js";
14
14
  import {
15
15
  outputCompleted,
16
16
  renderSelectPrompt
17
- } from "./chunk-MQGJCYOJ.js";
17
+ } from "./chunk-5BHU3PRC.js";
18
18
  import {
19
19
  require_lib
20
20
  } from "./chunk-VLBE545G.js";
@@ -84,4 +84,4 @@ export {
84
84
  promptSessionSelect,
85
85
  Login
86
86
  };
87
- //# sourceMappingURL=chunk-UPPP4PEB.js.map
87
+ //# sourceMappingURL=chunk-HQJPNVYR.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CLI_KIT_VERSION
3
- } from "./chunk-B5R7IGPI.js";
3
+ } from "./chunk-6GKJAGTG.js";
4
4
  import {
5
5
  outputResult
6
- } from "./chunk-MQGJCYOJ.js";
6
+ } from "./chunk-5BHU3PRC.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-5OEN66KU.js.map
20
+ //# sourceMappingURL=chunk-IVWPL6RQ.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  asyncTasks
3
- } from "./chunk-VDVVCJPN.js";
3
+ } from "./chunk-6XQFNXU3.js";
4
4
  import {
5
5
  prompts
6
- } from "./chunk-RSS4DZZM.js";
6
+ } from "./chunk-YBRRA3G2.js";
7
7
  import {
8
8
  staticService
9
- } from "./chunk-YLJDEDAN.js";
9
+ } from "./chunk-OUR7YOZK.js";
10
10
  import {
11
11
  base_command_default
12
- } from "./chunk-FXQ465D3.js";
12
+ } from "./chunk-TF4AQQB4.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-6RV7EPXS.js.map
37
+ //# sourceMappingURL=chunk-J7U35MPX.js.map