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