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.
- package/dist/index.js +15 -7
- 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
|