@palmyr/cli 1.8.0 → 1.8.1

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/cli.js CHANGED
@@ -3858,7 +3858,7 @@ async function main() {
3858
3858
  kv('Pay chain', report.payChain);
3859
3859
  kv('Wallet ID', report.walletId || `${t.muted}(none)${t.reset}`);
3860
3860
  kv('Address', report.walletAddress || `${t.muted}(unknown)${t.reset}`);
3861
- kv('Can sign', report.canSign ? `${t.success}yes${t.reset}` : `${t.error}no${t.reset}`);
3861
+ kv('Can decrypt', report.canDecrypt ? `${t.success}yes${t.reset}` : `${t.error}no${t.reset}`);
3862
3862
  if (report.usdc) {
3863
3863
  const bal = report.usdc.balance;
3864
3864
  kv('USDC balance', bal === null ? `${t.muted}(unknown)${t.reset}` : `${bal.toFixed(6)} USDC`);
@@ -6723,8 +6723,12 @@ async function main() {
6723
6723
  hint = 'Check your API token or session';
6724
6724
  }
6725
6725
  else if (rawMsg.includes('session secret') || rawMsg.includes('credential store')) {
6726
+ // Don't synthesize a hint here — pay.ts / pay-preflight.ts now throw with
6727
+ // an actionable multi-path message already in `rawMsg` (restore session
6728
+ // secret / set passphrase / re-import). Adding our own "Create a wallet
6729
+ // first" hint on top contradicts that message and pushes agents toward
6730
+ // the wrong fix (recreating a wallet that already exists).
6726
6731
  exitCode = EXIT.NOT_FOUND;
6727
- hint = 'Create a wallet first: palmyr wallet create';
6728
6732
  }
6729
6733
  else if (rawMsg.includes('not found')) {
6730
6734
  exitCode = EXIT.NOT_FOUND;