@hawkeye-xb.com/imprint-cli 0.2.4 → 0.2.5

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 (2) hide show
  1. package/dist/cli.js +7 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -561,9 +561,13 @@ async function switchAccount(_args) {
561
561
  }
562
562
  console.log(`Will re-install for: ${detected.join(", ")}
563
563
  `);
564
- await logout();
565
- console.log("\nLog in with the account you want to switch to.\n");
566
- const creds = await ensureLoggedIn();
564
+ console.log("Log in with the account you want to switch to.");
565
+ console.log(
566
+ '(On the confirmation page, click "Switch Account" if it shows the wrong email.)\n'
567
+ );
568
+ await login();
569
+ const creds = await readCredentials();
570
+ if (!creds) throw new Error("login completed but credentials still missing");
567
571
  const apiBase = await resolveApiBase();
568
572
  for (const tool of detected) {
569
573
  await installToolByName(tool, creds.token, apiBase);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawkeye-xb.com/imprint-cli",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "type": "module",
5
5
  "description": "Imprint CLI — long-term memory for AI coding tools (Claude Code, Cursor, Codex). Installs the imprint MCP server into your tool's settings file via a browser OAuth flow.",
6
6
  "license": "Elastic-2.0",