shellmail 1.0.2 → 1.0.3

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/index.js +15 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -102,18 +102,26 @@ program
102
102
  address: result.address,
103
103
  });
104
104
  console.log(chalk.green("\n✓ Config saved!\n"));
105
- console.log(chalk.bold("Next steps:\n"));
106
- console.log(` ${chalk.cyan("shellmail inbox")} Check your inbox`);
107
- console.log(` ${chalk.cyan("shellmail otp -w 30")} Wait for an OTP code`);
108
- console.log(` ${chalk.cyan("shellmail status")} Verify setup\n`);
109
105
  }
110
106
  else {
111
107
  console.log(chalk.gray("\nSet SHELLMAIL_TOKEN env var to use the CLI:\n"));
112
108
  console.log(chalk.cyan(` export SHELLMAIL_TOKEN="${result.token}"\n`));
113
- console.log(chalk.bold("Then try:\n"));
114
- console.log(` ${chalk.cyan("shellmail inbox")} Check your inbox`);
115
- console.log(` ${chalk.cyan("shellmail otp -w 30")} Wait for an OTP code\n`);
116
109
  }
110
+ // Show OpenClaw integration snippet
111
+ console.log(chalk.bold("─".repeat(50)));
112
+ console.log(chalk.bold("\nOpenClaw Integration\n"));
113
+ console.log(chalk.gray("Add this to your openclaw.json:\n"));
114
+ console.log(chalk.cyan(`"shellmail": {
115
+ "apiUrl": "https://shellmail.ai",
116
+ "token": "${result.token}"
117
+ }`));
118
+ console.log(chalk.gray("\n(inside skills.entries)\n"));
119
+ // Show CLI commands
120
+ console.log(chalk.bold("─".repeat(50)));
121
+ console.log(chalk.bold("\nCLI Commands\n"));
122
+ console.log(` ${chalk.cyan("shellmail inbox")} Check your inbox`);
123
+ console.log(` ${chalk.cyan("shellmail otp -w 30")} Wait for an OTP code`);
124
+ console.log(` ${chalk.cyan("shellmail status")} Verify setup\n`);
117
125
  });
118
126
  // ── Inbox Command ────────────────────────────────────────
119
127
  program
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shellmail",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "CLI for ShellMail - Email for AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",