claudemesh-cli 1.0.0-alpha.25 → 1.0.0-alpha.26

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.
@@ -4898,10 +4898,19 @@ async function invite(email, opts = {}) {
4898
4898
  console.log(JSON.stringify({ schema_version: "1.0", ...result, copied }, null, 2));
4899
4899
  } else {
4900
4900
  if (email) {
4901
- console.log(`
4901
+ if (result.emailed) {
4902
+ console.log(`
4902
4903
  ${green(icons.check)} Invite sent to ${bold(email)}`);
4903
- if (copied)
4904
- console.log(` ${green(icons.check)} Link also copied to clipboard`);
4904
+ if (copied)
4905
+ console.log(` ${green(icons.check)} Link also copied to clipboard`);
4906
+ } else {
4907
+ console.log(`
4908
+ ${icons.cross} Email to ${bold(email)} was NOT sent (server did not send).`);
4909
+ console.log(` ${dim("Share the link manually:")}`);
4910
+ console.log(` ${result.url}`);
4911
+ if (copied)
4912
+ console.log(` ${green(icons.check)} Link copied to clipboard`);
4913
+ }
4905
4914
  } else {
4906
4915
  console.log(`
4907
4916
  ${green(icons.check)} Invite link${copied ? " copied to clipboard" : ""}:`);
@@ -10269,4 +10278,4 @@ main().catch((err) => {
10269
10278
  process.exit(EXIT.INTERNAL_ERROR);
10270
10279
  });
10271
10280
 
10272
- //# debugId=1610C6DD0978105264756E2164756E21
10281
+ //# debugId=3B0AB051A285774164756E2164756E21