traderclaw-cli 1.0.87 → 1.0.89

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.
@@ -748,6 +748,12 @@ async function establishSession(orchestratorUrl, pluginConfig, walletPrivateKeyI
748
748
  }
749
749
 
750
750
  pluginConfig.refreshToken = tokens.refreshToken;
751
+ // If the server returned a recovery secret alongside the session (e.g. for existing accounts
752
+ // that completed a wallet-proof challenge), store it so the gateway can re-authenticate via
753
+ // recover-secret when the refresh token expires — without needing TRADERCLAW_WALLET_PRIVATE_KEY.
754
+ if (tokens.recoverySecret) {
755
+ pluginConfig.recoverySecret = tokens.recoverySecret;
756
+ }
751
757
  printSuccess(" Session established");
752
758
  printInfo(` Tier: ${tokens.session?.tier || "unknown"}`);
753
759
  printInfo(` Scopes: ${(tokens.session?.scopes || []).join(", ")}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "traderclaw-cli",
3
- "version": "1.0.87",
3
+ "version": "1.0.89",
4
4
  "description": "Global TraderClaw CLI (install --wizard, setup, precheck). Installs solana-traderclaw as a dependency for OpenClaw plugin files.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -17,7 +17,7 @@
17
17
  "node": ">=22"
18
18
  },
19
19
  "dependencies": {
20
- "solana-traderclaw": "^1.0.87"
20
+ "solana-traderclaw": "^1.0.89"
21
21
  },
22
22
  "keywords": [
23
23
  "traderclaw",