@tempo-ai/visual-review 0.0.130 → 0.0.131-staging.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.
package/dist/bin.js CHANGED
@@ -7,7 +7,7 @@ async function main(argv = process.argv.slice(2)) {
7
7
  const [command, ...commandArgs] = argv;
8
8
  switch (command) {
9
9
  case "capture":
10
- return await (await import("./cli-FCFVTSGK.js")).main(commandArgs);
10
+ return await (await import("./cli-L4IPMJZ7.js")).main(commandArgs);
11
11
  case "claim":
12
12
  return await (await import("./claim-C5UVLSMX.js")).main(commandArgs);
13
13
  case "report":
@@ -41519,7 +41519,7 @@ function matchClass(line) {
41519
41519
  hint: "A native dependency binary in node_modules is locked by another process. Close running dev servers/editors using it and retry; Tempo will avoid unnecessary root reinstalls."
41520
41520
  };
41521
41521
  }
41522
- if (/npm ci|frozen-lockfile|immutable|ERR_PNPM_OUTDATED_LOCKFILE|package-lock\.json.*out of sync/i.test(
41522
+ if (/ERR_PNPM_OUTDATED_LOCKFILE|ERR_PNPM_FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE|YN0028|package-lock\.json.*out of sync|npm ci.*(?:in sync|can only install)|lockfile would have been modified|cannot install with.*frozen-lockfile/i.test(
41523
41523
  line
41524
41524
  )) {
41525
41525
  return {
@@ -52795,7 +52795,8 @@ var TempoDevServer = class _TempoDevServer {
52795
52795
  try {
52796
52796
  await this.prepareManagedDependencies({
52797
52797
  signal: options?.signal,
52798
- onOutput: options?.onInstallOutput
52798
+ onOutput: options?.onInstallOutput,
52799
+ onInstallStart: options?.onInstallStart
52799
52800
  });
52800
52801
  if (this.state.dependenciesInstalled) {
52801
52802
  const [tempoInstallReady, rootInstallReady] = await Promise.all([
@@ -52820,7 +52821,8 @@ var TempoDevServer = class _TempoDevServer {
52820
52821
  await this.installDependenciesForStart(
52821
52822
  options?.forceInstall === true,
52822
52823
  options?.signal,
52823
- options?.onInstallOutput
52824
+ options?.onInstallOutput,
52825
+ options?.onInstallStart
52824
52826
  );
52825
52827
  }
52826
52828
  throwIfLaunchAborted(options?.signal);
@@ -52837,6 +52839,7 @@ var TempoDevServer = class _TempoDevServer {
52837
52839
  sdkUpgradeResult = preparedSdkUpgrade ?? await ensureTempoSdkChannelSpec(this.commandCwd, options?.signal, {
52838
52840
  updateCommand: this.config.scripts.updateSdk,
52839
52841
  runCommand: async (command, cwd, signal) => {
52842
+ options?.onInstallStart?.();
52840
52843
  const affectedRoots = this.config.scripts.updateSdk?.trim() || (await resolveTempoSdkUpgradePlan(cwd)).governedByAncestorWorkspace ? installRoots : [this.tempoRoot];
52841
52844
  sdkInstallReceipts = /* @__PURE__ */ new Map();
52842
52845
  this.state.dependenciesInstalled = false;
@@ -52899,7 +52902,8 @@ var TempoDevServer = class _TempoDevServer {
52899
52902
  }
52900
52903
  const self = this;
52901
52904
  this.restartHostForFlutter = async () => {
52902
- if (self.disposed || !self.flutterHostActive || restartingForFlutter) return;
52905
+ if (self.disposed || !self.flutterHostActive || restartingForFlutter)
52906
+ return;
52903
52907
  restartingForFlutter = true;
52904
52908
  try {
52905
52909
  self.stopUrlHealthProbe();
@@ -53156,6 +53160,7 @@ var TempoDevServer = class _TempoDevServer {
53156
53160
  ),
53157
53161
  signal: options.signal,
53158
53162
  runCommand: async (command, cwd, signal, pm) => {
53163
+ options.onInstallStart?.();
53159
53164
  options.onOutput?.("Updating Tempo dependency lockfile...\n");
53160
53165
  return runShellCommand(
53161
53166
  await buildSafeInstallCommand({ pm, installCmd: command }, cwd),
@@ -53212,7 +53217,7 @@ var TempoDevServer = class _TempoDevServer {
53212
53217
  });
53213
53218
  this.checkedLegacyDependencyLock = true;
53214
53219
  }
53215
- async installDependenciesForStart(forceInstall, signal, onOutput) {
53220
+ async installDependenciesForStart(forceInstall, signal, onOutput, onInstallStart) {
53216
53221
  const installTimer = devTimer("supervisor:install", {
53217
53222
  tempoRoot: this.tempoRoot,
53218
53223
  commandCwd: this.commandCwd,
@@ -53225,6 +53230,7 @@ var TempoDevServer = class _TempoDevServer {
53225
53230
  if (steps.length === 0) {
53226
53231
  return;
53227
53232
  }
53233
+ onInstallStart?.();
53228
53234
  this.state.dependenciesInstalled = false;
53229
53235
  await this.persistStatus();
53230
53236
  try {
@@ -63636,4 +63642,4 @@ export {
63636
63642
  buildBaselineCaptureArgs,
63637
63643
  main
63638
63644
  };
63639
- //# sourceMappingURL=chunk-3YSVFPQE.js.map
63645
+ //# sourceMappingURL=chunk-JEFUWIZL.js.map