@sage-protocol/cli 0.6.3 → 0.6.4

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.
@@ -620,13 +620,15 @@ class PrivyAuthWalletManager {
620
620
 
621
621
  if (!ready) return <div className="card"><div className="loader"></div><p>Loading Privy...</p></div>;
622
622
 
623
+ // Don't show our card when not authenticated - let Privy modal be the only UI
624
+ if (!authenticated) {
625
+ return null;
626
+ }
627
+
623
628
  return (
624
629
  <div className="card">
625
630
  <h1>Sage CLI Login</h1>
626
- {!authenticated ? (
627
- <p>Please log in to continue.</p>
628
- ) : (
629
- <div>
631
+ <div>
630
632
  <p>Logged in as {user?.email?.address || 'User'}</p>
631
633
  {status && (
632
634
  <div className={"status " + (status.includes('Error') || status.includes('Failed') ? 'error' : 'success')}>
@@ -646,8 +648,7 @@ class PrivyAuthWalletManager {
646
648
  </button>
647
649
  </div>
648
650
  )}
649
- </div>
650
- )}
651
+ </div>
651
652
  </div>
652
653
  );
653
654
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sage-protocol/cli",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "description": "Sage Protocol CLI for managing AI prompt libraries",
5
5
  "bin": {
6
6
  "sage": "./bin/sage.js"