@claude-sync/cli 0.1.6 → 0.1.8

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/src/index.js CHANGED
@@ -4761,7 +4761,7 @@ async function loginWithBrowser(client) {
4761
4761
  printInfo(`Code: ${brandBold(response.code)}`);
4762
4762
  const spinner = createSpinner("Waiting for browser authorization...").start();
4763
4763
  const pollInterval = 2e3;
4764
- const maxAttempts = 150;
4764
+ const maxAttempts = 900;
4765
4765
  let attempts = 0;
4766
4766
  while (attempts < maxAttempts) {
4767
4767
  await new Promise((resolve) => setTimeout(resolve, pollInterval));
@@ -5719,13 +5719,13 @@ async function runTui() {
5719
5719
  try {
5720
5720
  const { loginCommand: loginCommand2 } = await Promise.resolve().then(() => (init_login(), login_exports));
5721
5721
  await loginCommand2().parseAsync(["", ""]);
5722
- await printStatus();
5723
5722
  } catch {
5724
5723
  printError("Login failed.");
5725
5724
  }
5726
5725
  }
5727
5726
  }
5728
5727
  console.log();
5728
+ await printStatus();
5729
5729
  }
5730
5730
  }
5731
5731
  async function promptDeviceSelection(config) {